T95 TV Box error - Android TV General

I have been battling with the "Not able to set default launcher" issue I have read about.
The Android TV is a T95 6K UHD Smart TV Box, Android 10.0, H616 Quad-Core Cortex-A53, 4GB + 64GB, Support WiFi etc
I have been trying to get TV Launcher 3 to default launcher but it keeps asking to choose, over and over again... mainly on first boot but it does sometime going in and out of the things.
I have done all the setup with enabling usb debugging in developer settings also set the root switch. Now i just get an error trying to disable the default tv launcher.
c:\pt>adb shell pm disable-user --user 0 com.google.android.tvlauncher
Exception occurred while executing:
java.lang.IllegalArgumentException: Unknown package: com.google.android.tvlauncher
at com.android.server.pm.PackageManagerService.setEnabledSetting(PackageManagerService.java:21310)
at com.android.server.pm.PackageManagerService.setApplicationEnabledSetting(PackageManagerService.java:21254)
at com.android.server.pm.PackageManagerShellCommand.runSetEnabledSetting(PackageManagerShellCommand.java:1826)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:214)
at android.os.ShellCommand.exec(ShellCommand.java:104)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:21833)
at android.os.Binder.shellCommand(Binder.java:881)
at android.os.Binder.onTransact(Binder.java:765)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4860)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4044)
at android.os.Binder.execTransactInternal(Binder.java:1021)
at android.os.Binder.execTransact(Binder.java:994)
c:\pt>
I am at a loss where to go now. I had already done a full rest and started from scratch... plus tried other apps to stop it but nothing seemed to work.
Can someone point me towards a previous post or some command line things I can try?

Hey! I don't have the same device but I had the same issue, I tried to uninstall tvlauncher and it said it wasn't installed. In the end, what solved for me was to find which launcher I had. So in adb I wrote pm list packages
And I saw that com.google.android.tvlauncher wasn't there, but com.google.android.leanbacklauncher was. So then I could uninstall/disable it and all went perfectly.
Hope that helps.

Download and install Disable Application [Root]. Disable DGBLuancher.

Related

[How To] Disable System Apps and Services (includes OTA, launcher, Appstore, ads)

Here's how to disable the most troublesome system apps and services.
I use the pm disable command throughout, but unless otherwise noted OS 4 can use "pm block"
To re-enable an app, run the same command replacing "disable" with "enable" (or block with unblock)
See end of post about how to run the commands.
OTA updatesRooted
OS4
pm block com.amazon.otaverifier
Rename /system/priv-app/DeviceSoftwareOTA.apk to DeviceSoftware OTA.apk_
0S5
pm disable com.amazon.otaverifier
Rename /system/priv-app/DeviceSoftwareOTA/DeviceSoftwareOTA.apk to DeviceSoftware OTA.apk_
Unrooted
Run these with: adb shell pm . . .
OS4
pm block com.amazon.otaverifier
pm block com.amazon.dcp
OS5 (below 5.1.1)
pm hide com.amazon.otaverifier
pm hide com.amazon.device.software.ota
OS5 (5.1.1 and above) - OTA can't be prevented on unrooted devices at this time​Amazon launcher
> "pm disable" (or block) the stock launcher to make your custom launcher the default (credit: Powerpoint45).
> "am start" the stock launcher (after re-enabling) to run the Amazon UI.
. . See bibikalka's post about using enable and start in a script to switch launchers with one tap.OS 4 - pm block com.amazon.kindle.otter
am start -n com.amazon.kindle.otter/com.amazon.kindle.otter.Launcher
OS 5 thru July 2015 - pm disable com.android.launcher
am start -n com.android.launcher/com.android.launcher2.Launcher
OS 5 Sept. 2015 and later - pm disable com.amazon.firelauncher
am start -n com.amazon.firelauncher/.Launcher​Amazon appstore
> Stop the prompt to open appstore when you press an in-app link to Play Store.
. . Handy in scripts with the launcher commands. Reminder: When disabled, the system sees the Appstore as uninstalled.
. . > Some apps (es file explorer) will prompt to delete data. Say no!
. . > If you try to open Appstore while disabled, the system throws a freak-out error. Just re-enable it.pm disable com.amazon.venezia​Lockscreen ads
> Replace lockscreen ads with Amazon's stock wallpapers. OS 5
pm disable com.amazon.kindle.kso
OS 4
> Note: The OS 5 command may cause bootloop on tablets using Freetime.
. . JMZ's Fire tool makes perm changes and you get a message with each reboot. This command avoids both issues.
Code:
pm disable com.amazon.kindle.kso/com.amazon.kindle.kso.lockscreen.LockscreenUpdateService
Wifi off (or on)
> "Disable" (or "enable") is required in all versions.
> OS 4 note: Some apps may not run or could go wonky with wifi off; just re-enable if things get weird.svc wifi disable​------------------------------------------------------------------
How to Run the Commands
The OTA verifier, stock launcher and appstore can be disabled/frozen with whatever app you use for that.
If you disable/enable regularly (to use the Appstore, for example), it's easier to do with scripts and launcher shortcuts.
From Fire HD:
Shortcut on launcher (fast and easy for any command) - See bibikalka's post for switching launchers and my post below it.
Terminal emulator app:
su
command
From computer:
GatesJunior's Debloater tool (fast and easy for OTA, launcher, appstore)
Manually with adb: Not all commands require root but most do, so . . .
adb shell
su
command
I was only able to pm enable/disable after going > adb shell > su, but it works. When I had it disabled I couldn't register the device with Amazon until I disabled it again. I'm working with Kindle Fire HD 6 Kids Edition Fire OS 5.2.2, HDXposed enabled, working GAPPS and rooted with Go Launcher EX launcher
---------- Post added at 06:10 PM ---------- Previous post was at 05:54 PM ----------
I did the pm disable com.amazon.venezia and went into Applications > ALL and the App Store (Amazon) didn't show up at all. I enabled it and it's there again. Just wanted to share since I want to use the Amazon App Store and know now that I have this option. I also disabled com.amazon.otaverifier and can use the App Store no problem. Thank you!
I'm running fire HD6 devpreview 5.2.0 +root
Disabled ota verifier
Renamed DevicesoftwareOTA.ask
Automatic update is disabled in Amazon app store.
Still they managed to send and install Washington post app in my device. it was not there earlier.
I'm doubt about how to prevent Amazon altering my device.
Sent from my KFARWI using Tapatalk
llranga said:
I'm running fire HD6 devpreview 5.2.0 +root
Disabled ota verifier
Renamed DevicesoftwareOTA.ask
Automatic update is disabled in Amazon app store.
Still they managed to send and install Washington post app in my device. it was not there earlier.
I'm doubt about how to prevent Amazon altering my device.
Click to expand...
Click to collapse
Changes you made for ota verifier and DevicesoftwareOTA prevent Amazon from forcing an updated OS onto device, which would "break" root. Assuming you're still rooted, this didn't happen and you're seeing the Wash post that got installed when you installed/upgraded Lollipop. You can uninstall it and it will stay gone. If you did get updated, you didn't block OTA before turning on wifi and Amazon installed 5.2.2--build date July 2015 in Device settings--and you're no longer rooted. Better check!
build date is june 13, 2015.
still i have root access.
however i did uninstall it again. let me check if it may get installed again or not.
thanks a lot
Updated for 5.2.2u2, which I'm calling OS 5.0.1, September 2015 release.
Is there anyway to disable the lockscreen itself? I want to use the lockscreen from smart launcher 3 but I need to first disable the system lockscreen first for it to work properly.
rlattin24 said:
Is there anyway to disable the lockscreen itself? I want to use the lockscreen from smart launcher 3 but I need to first disable the system lockscreen first for it to work properly.
Click to expand...
Click to collapse
Nope.
DoLooper said:
Nope.
Click to expand...
Click to collapse
Well that's a bummer . Oh well I'll just to get over dealing with Amazon's random selection of wallpspers lol thanks for the reply
Updated! :good:
HELP ME!!!!!!
Im on KindleFire HD 6, i just updated to OS 5.1.1 newest Fire OS. Whenever i try to do the command pm block com.amazon.fire launcher it says Error: java.lang.SecurityExemption. Someone please tell me how to fix it. I wil include a screenshot to show you what is happeing.
cbcava said:
Im on KindleFire HD 6, i just updated to OS 5.1.1 newest Fire OS. Whenever i try to do the command pm block com.amazon.fire launcher it says Error: java.lang.SecurityExemption. Someone please tell me how to fix it. I wil include a screenshot to show you what is happeing.
Click to expand...
Click to collapse
Please relax!!!
Look at the bottom of the post for instructions on running the commands. You need to be in su. You're rooted, right?
adb shell
su
pm disable com.amazon.firelauncher
If not rooted, try: adb shell pm hide com.amazon.firelauncher
Not working!
I did what you said to do, dolooper, but the launcher isnt disabled. Am I still doing something wrong, I really want to disable the terrible fire launcher.
cbcava said:
I did what you said to do, dolooper, but the launcher isnt disabled. Am I still doing something wrong, I really want to disable the terrible fire launcher.
Click to expand...
Click to collapse
Press the Home key, choose Nova and tap Always. Reboot.
But it doesn't show the option to choose it as default!!
cbcava said:
But it doesn't show the option to choose it as default!!
Click to expand...
Click to collapse
Tap Nova in firelauncher app drawer to go to Nova. Now tap home key. If it takes you back to firelauncher, idk the problem because idk what you did. How about you post whether you're rooted or not, the exact commands you entered, and what the output was.
Dolooper, I don't have root
The command that I entered was pm hide com.amazon.firelauncher.
adb shell pm hide com.amazon.firelauncher
I feel stupid asking this so please forgive my ignorance but I searched around and could find the answer.
Can someone please tell me the command to check the status of a service?
For example, I'd like to be able to check and see if a command I ran like one of the ones above, worked or not. Or to check on a different service. I'd like to be able to run a command that shows a list of services and their status or a single service and check its status.
Would it be something like pm status [process name]?

Disable OTA - Keep SDCard Write Access and Use a Different Launcher *READ BEFORE BOOT

Since root has been obtained and an alternative launcher can be installed, as has been mentioned there is really no need to stay on 5.0.0 anymore. I would recommend updating to 5.0.1. However, this procedure can still be applied to 5.0.1 and hopefully it'll prevent any future updates. (As of writing it 5.0.1 is the latest).
The steps are basically as follows:
Enable ADB by going to Settings> Device Options. Keep tapping on the Serial Number field until the Developer options field appears.
Under Developer options Enable ADB
Hook the Fire up to your computer and do the following commands:
adb shell pm hide com.amazon.otaverifier
adb shell pm hide com.amazon.device.software.ota
adb shell pm hide com.amazon.settings.systemupdates
I don't know which of three is the magic one, But you can not longer go to device options > system update. It also never appears to pull down the update in the background.
Rivethread23 - good work and many thanks for this
I know that you have the original Fire 7 with no system update but I wanted to see if any of your commands will work on 5.01. My device is on 5.01 has been in aeroplane mode since purchase, I have been using OTG Ethernet for connectivity and I have not signed into Amazon. Google Play is installed - basically a standalone device on 5.01 with no association with Amazon.
After running the commands and the ADB shell gave a [True State] after each command. Rebooted the device:
System Updates now gives the following error message: [The requested action is not permitted. Check Parental controls settings and try again]. As my device is not associated with Amazon parental controls have not been configured - so I browsed to a few proxy sites and such to confirm no filtering on web browsing etc
I've tried various launchers from Play store and every time the default Fire Launcher kicks back in again.
SD Card issue is still there.
When you tried the System Update button did you get the same error message as me? If so, I wonder if the Adb Shell command to disable OTA works on 5.01 as well?
Update 1: [adb shell pm hide com.amazon.firelauncher] disables the default Amazon launcher. I picked another launcher at random from Google Play. Halo installed and it worked with the default launcher hidden, however using the minimise middle button on the device forces the Parental Control Popup to appear.
So it is possible to hide the default launcher on 5.01 using ADB but it is causing issues. We need a better work around.
Unfortunately this only blocks the update from occurring. I ran into another issue on the 5.0.0 tablet in that I can't get Google play store working. It just says cannot connect. So I don't know if one of the above things broke it. It was getting late so I went to bed. I'll keep plugging at it and see what I can do.
I might finally take both of mine out of the box today, can more people confirm this is working? @Rivethread23, did you get the play store sorted out?
Couldn't wait, dove in. On an out-of-box Fire, running 5.0.0, these do in-fact keep the OTA updates from firing. I have been online, installing apps and customizing the tablet for over an hour with many reboots, no prompts or attempts of an update.
With this, and ads disabled, and the play store turned on we have a usable tablet!
F-Droid works as well, just sideload their APK to get access to lots of software:
https://f-droid.org/repo/org.fdroid.fdroid_96150.apk
Still stuck on Play Store in 5.0.0 *not working* for now.....same problem as OP
I can confirm that the Google Play Services, Login Services, and Framework are (at least partly) working, even though the Play Store is not. I sideloaded Gmail, and it automatically had my info, and downloaded my email.
Wait, I'm confused. In 1 post you say play store is on and working, then you're saying it's not...
Aside from the play store, it sounds like everything else is working fine! Is that correct. I'm asking because I'm thinking about buying a 2nd one of these, only if I can have it working 100% the way I have it now with my tablet, just with the ability to use a different launcher.
With the original 5.0.0 firmware, if you prevented the OTA update to 5.0.1:
+Can change launcher
+Can write to SD from apps
-Can't get Play Store to work (so far, but can manually side-load GApps (Gmail, Hangouts, etc))
In the other thread, people that have gone to 5.0.1:
-Locked to amazon Launcher when using HOME button
-Manual SD writing is disabled
+Google Play Store can be installed and 90% of the GApps work
--------
The key to take away is that if you get another one, and you do the fix in this thread to prevent OTA updates, you can simply wait til everyone gets things fixed and figured out. You can safely use it and not worry about getting pushed to a firmware that might be even more locked down.
On the other hand, if you're not worried about OTA updates breaking stuff, and want a working store, go to 5.0.1 and follow SD_Shadow's instructions in his thread on that subject.
Hopefully root comes soon and we can fix all these problems properly, but until then it's kinda hit and miss depending on what version you got.
Hope that helps.
Thanks Tufkal was going to post something along those lines but you beat me to it.
Essentially you can prevent updates from further locking down the tablet. Who knows what future updates bring? I'll wait and update as thing warrant.
I have two one on 5.0.0 and another on 5.0.1. While I like being able to use the launcher of my choosing on 5.0.0, the working google store and updated amazon store and apps have me using the 5.0.1 one. I am keeping the other on 5.0.0 until development starts then I'll try my hand at making a ROM.
Your device that is on 5.0.0 Firmware have you signed into Amazon and associated your device? Or is it standalone like mine?
Was on Amazon for a day. Factory reset it and am using it sans Amazon. Mostly using the 5.0.1 one myself.
Yep same here. 5.01 with no amazon sign in.
I've been playing around with the launcher again. Tried changing the hardcoded buttons and also with ADB Shell am force-stop pm disable on com.amazon.firelauncher to stop dependent services, ie hard buttons. All to no avail.
root definitely needed for this
I figured out a way to access some hidden functions within the OS last night. Seeing where this leads after work today Apparently I can cast the screen and access the home function disabled in 5.0.1. Problem is the home function doesn't override the hard coding.
Most interesting is something called Prod and Devo Switch that give "Access Denied" when I try to activate it. Hmmmm........
Here's what I have discovered. It's easier done on 5.0.0 but can be done on 5.0.1. You'll need another launcher like Nova installed. Installed "Anycut" from the google store. It'll let you put a shortcut on the desktop for any "activity". There are alot of items there not normally accessible. You can cast to a Chromcast for example (it works). The reason you need another launcher is the Amazon launcher doesn't support shortcuts I guess as they don't appear. They appear on Nova's desktop when created.
Most interesting is a shortcut called "Prod and Devo Switch" which if you look at the info refers to the "Amazon Device Settings" app.. ( com.amazon.device.settings?). It's separate from the user settings. If you try to access it it will say "Access Denied" on 5.0.1. Or "Permission denied" on 5.0.0. Makes me wonder if what needs to happen the app needs some additional permissions to be run. I was looking through the list of permissions via ADB and there are a number of permission groups that are android.xxxxx. However there are only a few permission groups that are amazon.xxxxx one of which is amazon.permission-group.settings. Listing the settings in the group shows a large list. Maybe using ADB pm grant com.amazon.device.settings the correct permissions could unlock this? Thoughts?
Here's what I got from a logcat when I click on the shortcut in novalauncher:
I/ActivityManager( 454): START u0 {act=android.intent.action.VIEW flg=0x1000000
0 cmp=com.amazon.device.settings/.DevoProdConfigActivity bnds=[300,168][400,310]
} from uid 10017 on display 0
W/ActivityManager( 454): Permission Denial: starting Intent { act=android.inten
t.action.VIEW flg=0x10000000 cmp=com.amazon.device.settings/.DevoProdConfigActiv
ity bnds=[300,168][400,310] } from ProcessRecord{9460965 1138:com.teslacoilsw.la
uncher/u0a17} (pid=1138, uid=10017) requires com.amazon.dcp.permission.DISPLAY_D
EBUG_UI
E/Launcher( 1138): Launcher does not have the permission to launch Intent { act=
android.intent.action.VIEW flg=0x10000000 cmp=com.amazon.device.settings/.DevoPr
odConfigActivity bnds=[300,168][400,310] }. Make sure to create a MAIN intent-fi
lter for the corresponding activity or use the exported attribute for this activ
ity. tag=ShortcutInfo(title=Prod and Devo Switch intent=#Intent;launchFlags=0x10
000000;component=com.amazon.device.settings/.DevoProdConfigActivity;sourceBounds
=300%20168%20400%20310;end id=15 type=Shortcut container=-100 screen=1 rank=-1 c
ellX=3.0 cellY=1.0 spanX=1.0 spanY=1.0 dropPos=null user=UserHandle{0} modelGene
ration=-1) intent=Intent { act=android.intent.action.VIEW flg=0x10000000 cmp=com
.amazon.device.settings/.DevoProdConfigActivity bnds=[300,168][400,310] }
E/Launcher( 1138): java.lang.SecurityException: Permission Denial: starting Inte
nt { act=android.intent.action.VIEW flg=0x10000000 cmp=com.amazon.device.setting
s/.DevoProdConfigActivity bnds=[300,168][400,310] } from ProcessRecord{9460965 1
138:com.teslacoilsw.launcher/u0a17} (pid=1138, uid=10017) requires com.amazon.dc
p.permission.DISPLAY_DEBUG_UI
Tried granting that specific permission to Nova launcher or the Fire launcher but both do the same thing:
com.amazon.firelauncher com.amazon.dcp.permission.DISPLAY_DEBUG_UI <
Operation not allowed: java.lang.SecurityException: Package com.amazon.firelaunc
her has not requested permission com.amazon.dcp.permission.DISPLAY_DEBUG_UI
Maybe someone with more knowledge than I create a program with that permission that calls the intent in question?
Again good work on this
I picked up another new device yesterday morning. OTA updates disabled, Fire OS 5.0, no association to Amazon and connectivity via WiFi. Just like you I got Gmail, YouTube and other Google associated apps to work with the exception of the Play store. It finally let me sign in but comes up every time with the [Connection Retry] error.
I followed your instructions and installed AnyCut - and I have been playing around as I thought it might be possible by using shortcuts to load my Google account onto the device.
Shortcut [Add an account] - and the "Couldn't sign in - google server error" came back so not working for now.
Shortcut [Testing] - allows us to pull up more info on the Fire 7 with the 4 below options
Tablet Information - not working
Battery Information - working
Usage Statistics - working
WiFi Information - working
Shortcut [IP Settings] - gives us advanced WiFi options
A lot of the options try to load or there is a visible presence of starting to load and you can clearly see the device stopping them from loading. Basically we are trying to load Android Apps that are locked down by Fire OS which sits on top of Android.
Other apps with Permission Denied
[Log Manager]
[Crash Manager]
[Metrics Debug UI]
Looks like Amazon do not want us to have access to their inbuilt log files on their device
As I do not have access to Google store I have been using F-Droid for my apps. I have installed APK Extractor and it lists all the current APK's on the Fire 7. What is interesting about this is that there are APK's that where not findable using [AnyCut] but show up in APK Extractor.
Will update more in a bit
Here's an interesting note..... I'm on 5.0.0 and trying to get the Play Store working (I believe that 5.0.0 w/ Play Store is a better avenue to attack than trying to fix the launcher in 5.0.1)
For testing reasons I'm on an older version of the Play Store where the search icon is visible.
On the play store screen where it says no connection with the retry button, I hit the search icon and start typing "clas" It autofilled in clash of clans. Then i did "hang" and I see hangouts dialer. The play store app is communicating it would seem.....
tufkal said:
Here's an interesting note..... I'm on 5.0.0 and trying to get the Play Store working (I believe that 5.0.0 w/ Play Store is a better avenue to attack than trying to fix the launcher in 5.0.1)
For testing reasons I'm on an older version of the Play Store where the search icon is visible.
On the play store screen where it says no connection with the retry button, I hit the search icon and start typing "clas" It autofilled in clash of clans. Then i did "hang" and I see hangouts dialer. The play store app is communicating it would seem.....
Click to expand...
Click to collapse
What is the version of your Play APK please? As I have the latest version with no search - but still on 5.0.0
k3ll0gs said:
What is the version of your Play APK please? As I have the latest version with no search - but still on 5.0.0
Click to expand...
Click to collapse
I'm trying all kinds, the one i was using for that test I got here:
https://onedrive.live.com/redir?res...4&authkey=!AIVXLFXAOWDeM0Q&ithint=folder,.apk
I'm with you I tried some work arounds on the 5.0.1 tablet but if we can get the play store working on 5.0.0 it seems to offer more opportunities.
Yep same here - it makes more sense to get Play store to work.
I think I might know what the issue is causing and I believe it is down to the Google Service Framework (GSF) on 5.0 not installing correctly and causing the sync issue when trying to connect. I installed [Device ID] app on 5.0 and there is no serial listed for GSF at all - on my 5.1 tablet GSF would load up on the screen and you could view settings but on 5.0 it does not.
When trying to open the Google Play some I found the following error in Logcat [.onClick: b/5160617: Reinitialize account] this relates to the GSF serial not being present. Logs also show permissions and api errors as well. The only
Looking into a GSF workaround if possible. It might be on the wrong track but I am going to see what else I can find out.
I thought I had found a back door into Google signin. Using an App calling [Applications Info] which I used to pull up the GoogleServiceFframework apk. From there I started to play around with the launch options for the applicable services.
Selecting launch on [Legal Services] takes you to Google Sign In - keyboard was not working for this so I had to adb shell input text of my gmail & password. Unfortunately the same old Google error was appearing even after I cleared the cache and re-installed Gapps.
The last screengrab shows that the System Updates on installed Google Service Framework is corrupt and not working properly. I have also launched other Gapps dependent activities from the services in [App Info] and again they either fail to load of abundance of errors. So installation issues for all of the Gapps in one way or another on Fire 5.0
Obviously there is a difference between the 5.0 Rom + 5.01 Rom that is stopping Gapps from working. Due to the amount of errors in Logcat and in Application Info and dependent services not working. My gut is saying that when we have root on 5.0 we have a better chance of getting Gapps working as we will have the ability to play around with not only System files but System commands too.
If anyone has any ideas or what else we could try please chip in.
rivethead23 said:
Hook the Fire up to your computer and do the following commands:
adb shell pm hide com.amazon.otaverifier
adb shell pm hide com.amazon.device.software.ota
adb shell pm hide com.amazon.settings.systemupdates
Click to expand...
Click to collapse
running those commands will prevent any future update?
Right now I have 5.0.1 and I'm happy with it, I would like to avoid any bad surprises.
redst said:
running those commands will prevent any future update?
Right now I have 5.0.1 and I'm happy with it, I would like to avoid any bad surprises.
Click to expand...
Click to collapse
yes updates would be blocked until you run the unhide commands.
Sent from my KFFOWI using Tapatalk

Does ADB Bloatware Removal Work on Le Pro 3 x722 and x720?

I ordered the phone from Banggood and plan to use it as a media/gaming device. But I hate LeEco bloatware. My mom's Le 2 is full of it and it's really hampering performance.
Anyway, I figure I can remove all the LeEco apps and services using this simple ADB command:
pm uninstall -k --user 0 <name of package> Do not use this command unless you know exactly which apps to uninstall. If you uninstall certain apps, other apps may stop working. Use pm disable instead, and pm enable to enable apps if something stops working.
Or simply disabling them with the other command (pm disable (package name)).
My question is, does this work on the Le Pro 3 or has Le prevented users from doing so completely? I don't want to root to do this (and then unroot afterwards because I need SafetyNet) because too many people seem to be having issues unlocking the bootloader and rooting here. Don't want to take any chances. I plan on staying on Banggood's vendor ROM forever because, as I said, this is just gonna be a gaming device.
Is it safe to do this, or will LeEco/Banggood ROM throw some idiotic error my way and cause my phone to stop working the moment I reboot it. And has anyone debloated their phone using ADB alone?
Thanks!
Okay, so I tried the "pm uninstall" command with my mom's Le 2 and managed to uninstall A LOT of LeTV bloatware. Still shows up in App management though, but as 0 bytes and as "Not installed for this user". Good riddance. Hopefully I'll be able to do the same with my phone. Then again, the ROMs are different despite being the same version (5.8), since one is Indian and the other will be a Chinese vendor ROM.
Could you help with the procedure?
I have a 727 and also want to stay with a stock rom but want to disable all the Leco TV stuff, care to give any pointers?
Thanks.
bethe said:
Could you help with the procedure?
I have a 727 and also want to stay with a stock rom but want to disable all the Leco TV stuff, care to give any pointers?
Thanks.
Click to expand...
Click to collapse
https://forum.xda-developers.com/le...co-spyware-t3503389/post69712213#post69712213
Basically, just enable USB Debugging and download platform-tools package from somewhere. It's the simple version of the Android SDK. Then connect your phone, enable "trust this computer" on your phone (you'll get a pop-up), then use the Windows or Linux command prompt to enter into the platform-tools directory and start disabling or "uninstalling" apps. List all your packages first using pm list packages
Now, I'm not sure the apps are completely uninstalled using the pm uninstall command. I would not recommend uninstalling apps unless you're sure that the system doesn't rely on them. For example, I idiotically uninstalled some LeTV apps that Facebook, Gmail, and the Google app require on my mom's Le 2 and now she's pissed off at me because none of those apps work. :laugh: I hope they can be restored using pm restore or I'll have to factory reset the phone.
Only use the pm disable command.
The apps will be disabled even after reboot, so no worries. Just make sure you don't update the phone if you ever mysteriously receive an update.
Okay, so using the pm uninstall command? Bad move. Very, very bad move. It turns out that all apps that use Google services on my mom's phone were affected. They all just stopped responding. Eventually Google Account Management itself stopped working, along with the Play Store. Kept getting the "There's a problem with Google servers, try again later" with all Google apps. No amount of data clearing or APK installing worked. I had to backup and factory reset her phone, which was no easy feat without Google Drive (looking at you, Whatsapp) and thank god, all the uninstalled apps came back. Thought I'd borked the system partition for good.
So yeah, never do what I did. ALWAYS USE THE PM DISABLE COMMAND. LeTV bloatware is tied into Google services, unlike other phones. Let this be a lesson to all.
Funnily enough, I use the pm uninstall command freely on my Moto X without issue. Then again, I'm running stock with no Le bloat, just Google bloat.
Could you list the apps that are safe to disable then?
Much appreciated.
bethe said:
Could you list the apps that are safe to disable then?
Much appreciated.
Click to expand...
Click to collapse
Check the link I left in my other post. It's the apps list for the x720 or some other Le phone, can't remember.
OK, a lttle more help please.
Here's the list:
Code:
[email protected] ~> adb shell pm list packages -d
package:com.letv.android.FuseWire
package:com.letv.android.quicksearchbox
package:com.letv.android.agent
package:com.letv.android.zxing
package:com.letv.android.account
package:com.letv.android.wallpaper
package:com.letv.android.wallpaperonline
package:com.letv.leui.sdk.data
package:com.letv.android.letvlive
package:com.lesports.glivesports
package:com.letv.android.note
package:com.le.android.webview
package:com.letv.android.usermanual
package:com.letv.letvshop
package:com.android.browser
package:com.le.share.zl1
package:com.letv.android.personalized
package:com.baidu.input_letv
package:com.letv.app.appstore
package:com.stv.stvpush
package:com.android.mms
package:com.letv.android.backup
package:com.letv.android.client
package:com.letv.android.setupwizard
package:com.android.calendar
package:com.letv.android.backupclient
package:com.letv.walletbiz
package:com.android.VRAdmin
package:com.letv.gallery3d.syncservice
package:com.lvr.wizzard
package:com.android.gallery3d
package:com.letv.agnes
package:com.letv.games
package:com.letv.wihd
package:com.letv.lesophoneclient
package:com.letv.android.fannation
package:com.letv.android.bugreporter
package:com.letv.android.accountinfo
package:com.letv.wallet
package:com.letv.android.filemanager
package:com.letv.android.cloudservice
package:com.android.music
package:sina.mobile.tianqitongletv
package:com.letv.android.videoplayer
package:com.sohu.inputmethod.sogou.leshi
Could you tell me what the -d parameter does?
On my phone when i type it at the end of "pm list packages " command it will list only one package ( some google notifier or such).
But when I do " pm list packages " it does list them all .
Also how do you use "pm disable " ( you have to type "pm disable package:sina.mobiletianqitongletv " for example , and repeat for all the packages that you want to remove ? ) or there is a easier way ?
I understand that you should disable all the "com.letv.xxxxxx " packages but how about these:
package:com.android.mms
package:com.android.browser
package:com.android.music
Should I disable these too? It seems not right , I need to use mms, browser, music etc..
adb shell pm disable (insert package name like com.letv.example). Don't disable anything the spyware list (link in my second response) doesn't list.
Unfortunately I get an error when I type this command : "1|[email protected]_zl1:/ $ pm disable com.letv.android.zxing
Error: java.lang.SecurityException: Permission Denial: attempt to change component state from pid=18860, uid=2000, package uid=10087 "
What I'm doing wrong ?
Doesn't work even with --user 0 parameter " 1|[email protected]_zl1:/ $ pm disable --user 0 com.letv.android.FuseWire
Error: java.lang.SecurityException: Permission Denial: attempt to change component state from pid=22489, uid=2000, package uid=1000
1|[email protected]_zl1:/ $
Do I have to root the phone?
Looks like the disable command doesn't work, I tried uninstall ant that works.
The proper syntax is : pm uninstall -k --user 0 com.letv.example
bethe said:
Looks like the disable command doesn't work, I tried uninstall ant that works.
The proper syntax is : pm uninstall -k --user 0 com.letv.example
Click to expand...
Click to collapse
You should never use the uninstall command unless you're prepared to factory reset your phone if you accidentally uninstall a core service.
I'm surprised that pm disable doesn't work, since it worked for everyone in that LeEco spyware thread. Maybe the new models are different because they're running ROMs that prevent it, which sucks.
I dont know how to disable them, for me the disable command allways errors out.
Anyway I compared list that you linkd with list of the packages on my 727 at eui 021s, here are packages from your list that are also listed in my phone:
Code:
[B][I]package:com.letv.android.FuseWire
package:com.letv.android.agent
package:com.letv.android.zxing
package:com.letv.android.account
package:com.letv.android.wallpaper
package:com.letv.leui.sdk.data
package:com.letv.android.letvlive
package:com.letv.android.note
package:com.le.android.webview
package:com.le.share.zl1
package:com.letv.android.backup
package:com.letv.android.setupwizard
package:com.letv.android.backupclient
package:com.letv.gallery3d.syncservice
package:com.letv.agnes
package:com.letv.wihd
package:com.letv.lesophoneclient
package:com.letv.android.fannation
package:com.letv.android.bugreporter
package:com.letv.android.accountinfo
package:com.letv.android.filemanager
package:com.letv.android.cloudservice
package:com.letv.android.videoplayer[/I][/B]
Since I will have to use uninstall on them, are you sure that the're safe to uninstall? You wrote that you had some issues with google services, account management etc., did you uninstall some other packages or only these above?
bethe said:
I dont know how to disable them, for me the disable command allways errors out.
Anyway I compared list that you linkd with list of the packages on my 727 at eui 021s, here are packages from your list that are also listed in my phone:
Code:
[B][I]package:com.letv.android.FuseWire
package:com.letv.android.agent
package:com.letv.android.zxing
package:com.letv.android.account
package:com.letv.android.wallpaper
package:com.letv.leui.sdk.data
package:com.letv.android.letvlive
package:com.letv.android.note
package:com.le.android.webview
package:com.le.share.zl1
package:com.letv.android.backup
package:com.letv.android.setupwizard
package:com.letv.android.backupclient
package:com.letv.gallery3d.syncservice
package:com.letv.agnes
package:com.letv.wihd
package:com.letv.lesophoneclient
package:com.letv.android.fannation
package:com.letv.android.bugreporter
package:com.letv.android.accountinfo
package:com.letv.android.filemanager
package:com.letv.android.cloudservice
package:com.letv.android.videoplayer[/I][/B]
Since I will have to use uninstall on them, are you sure that the're safe to uninstall? You wrote that you had some issues with google services, account management etc., did you uninstall some other packages or only these above?
Click to expand...
Click to collapse
I was only uninstalling LeTV apps, but on an Le2, so the apps were different. And I must have accidentally disabled a package that managed Google services because all Google apps stopped working and I had to reset the phone. Anyway, it's good to know that the pm disable command doesn't work... which is surprising. I hope it'll work on mine when I receive it. I guess I'm ok with uninstalling the apps, the only problem being that issues may pop up down the road and if something goes wrong I'll have to factory reset the phone.
I uninstalled all the packages on the list that I posted before, will report how it goes.
One thing annoys me though, the LeView screen when you swipe right is still there, how do I disable this thing?
Here's a list of the remaining packages that I found on my phone with the Letv in the name:
Code:
[B][I]package:com.uei.quicksetsdk.letv
package:com.letv.android.theme
package:com.letv.leui.schpwronoff
package:com.letv.android.letvsafe
package:com.letv.internationalsarrs
package:com.letv.android.themesettings
package:com.letv.wihd.sample
package:com.letv.android.remotecontrol
package:com.letv.android.remotedevice
package:com.letv.android.recorder
package:com.letv.bugpostbox
package:com.letv.android.compass
package:com.letv.domain
package:com.letv.android.supermanager
package:com.letv.android.powercontroller
package:com.letv.android.DebugUtils
package:com.irtest.letv
package:com.letv.factorymode
package:com.letv.android.StateInfo
package:com.letv.android.ecoProvider
package:com.letv.android.emojistore
package:com.letv.leui.colormode
package:com.letv.android.privacydata
package:com.letv.bsp.qccrashhandler
package:com.letv.android.ota
package:com.letv.android.LetvShareProvider
package:com.letv.android.phonecontrol
package:com.letv.android.euitransfer[/I][/B]
Any suggestions what is safe to uninstall from here?
Also I did'n uninstall any of these:
Code:
[B][I]package:com.android.browser
package:com.stv.stvpush
package:com.android.mms
package:com.android.calendar
package:com.android.gallery3d
package:com.android.music[/I][/B]
Just didn't seem right, what do you thing?
Um, leave all that stuff. Especially com.letv.android.ecoProvider, which will break everything if you uninstall it.
My mom's Le2 lets me disable and enable apps and uninstall them, so it's weird that other LeEco phones don't allow that. I guess it's due to official versus vendor ROMs. My mom's phone has the official Indian Le2 ROM from Flipkart. The thread I linked (https://forum.xda-developers.com/le...co-spyware-t3503389/post69712213#post69712213) asks users to use the pm disable command, so it's supposed to work. But I guess the x727's Chinese/vendor ROM (I assume you're not running a custom ROM) prevents disabling apps. I had the same issue with my ASUS Zenfone 3 where I couldn't disable anything via ADB due to the same error message you got. Really lame
One thing annoys me though, the LeView screen when you swipe right is still there, how do I disable this thing?
Click to expand...
Click to collapse
IDK what that is. I'll have to check my mom's phone again. Just look for the package name using pm list packages. You're bound to find something.
So far so good, I don't see any problems after uninstaling these apps.
Google apps are working, camera works as before, apps like Viber or Skype also OK.
Let me know if you want to try anything specific.
hi
bethe said:
So far so good, I don't see any problems after uninstaling these apps.
Google apps are working, camera works as before, apps like Viber or Skype also OK.
Let me know if you want to try anything specific.
Click to expand...
Click to collapse
Uninstalling LeEcoProvider didn't bork anything for you? Huh. I'll have to do some testing with my phone when it comes in a few weeks to see how much crap I can remove and get away with.

Oreo home screen sucks!!!!

I thought I found hope. I watched the youtube video, _https://youtu.be/mCzh52p7IwQ_, that gave me directions on how to change the default home screen to a modified leanback launcher. I hate the new home screen that comes with oreo, I tried changing it. I successfully installed both apks on my Shield TV. The Leanback Launcher Fire works great. I am very pleased with it, but the LauncherHijackV3.apk will not work. I tried several times. The Nvidia Shield TV wont let me set my default home screen to the Leanback Launcher Fire. I don't understand it. Can anyone help?
What do I need to do make my default home screen Leanback Launcher Fire?
UPDATE: I found the solution
I FOUND IT!!! I performed the following:
UPDATE: OREO Here are the new commands for the Oreo update a Big ty to BlackoutWorm for posting to this thread so quickly and for testing
Type in the command prompt:
adb shell
pm uninstall -k --user 0 com.google.android.leanbacklauncher
and
pm uninstall -k --user 0 com.google.android.tvlauncher
Works perfectly now with the Leanback on Fire launcher. I am finally happy. I highly recommend doing this if anybody else is unhappy with new Orea home screen.
LoKiP said:
I FOUND IT!!! I performed the following:
UPDATE: OREO Here are the new commands for the Oreo update a Big ty to BlackoutWorm for posting to this thread so quickly and for testing
Type in the command prompt:
adb shell
pm uninstall -k --user 0 com.google.android.leanbacklauncher
and
pm uninstall -k --user 0 com.google.android.tvlauncher
Works perfectly now with the Leanback on Fire launcher. I am finally happy. I highly recommend doing this if anybody else is unhappy with new Orea home screen.
Click to expand...
Click to collapse
Thanks for posting
is this the release of leanback you used ? > https://github.com/rockon999/LeanbackLauncher/releases
Reply
Yes, I went to _https://github.com/rockon999/LeanbackLauncher/releases_, and downloaded the Alpha 2 release. Then I ADBed on to my Shield TV and deleted those built in launcher apks (as directed from those instructions). When I restarted, I get now the Launcher on Fire and it works perfectly.
I did the same thing on Mi box, again it works perfectly.
You no longer have to remove the Leanback launcher in order to use other launchers. I'm not sure when this changed but I'm on v.7.2.2. Now I can set different launchers as the default so whenever I hit the Home button on the remote, it defaults to whichever loader I set as default. You have to make sure you have the latest updates from the Playstore. Android TV Core Services and Android TV Home need to be updated to the latest versions. When you open a third-party launcher, you are asked if you want to set it as the default.

Debloat Samsung A51 (No root) and get crazy performance!

Hello fellow A51 users today i want to share with you a debloat guide so you can get the max performance out of you new smartphone without Samsung clutter.
All credits goes to Khlam and his Samsung Oneui debloat list:
https://github.com/khlam/debloat-samsung-android
I tested it on my device with uninstalling the complete list and it works great.
You do lose some functionality so be careful with what you delete this does only delete the apps one your install of the OS doing a factory reset will reset all apps back to normal this will not void any warranty so i suggest making a backup and trying it on a fresh install and see if you like it.
This guide will strip Oneui to its bare bones so its not for everyone but if you like speed over functionality than give it a try.
Guide:
The following instructions assumes you are familiar with using a command-line interface.
1. On your phone, enable Android's "Developer Options"
2. In "Developer Options", turn on "USB Debugging"
3. On your computer, download Android SDK Platform-Tools for your OS.
https://developer.android.com/studio/releases/platform-tools
4. Extract Android SDK Platform-Tools and start a command-prompt/shell session in the extracted folder's directory.
(The way i do this is putting the platform tools folder in My Documents and en opening the folder then type cmd in the navigation bar and hit enter this will open a command prompt in the folder directory.)
5. Connect your Samsung Android phone to your computer with USB debugging enabled. Verify that adb sees your device and the daemon is running with the following command
adb devices
You should see the device name listed as a "device".
At this point your device should prompt you to accept USB debugging from your computer. Tap "Allow".
6. Enter your device's shell with the following command: adb shell
Once in the device's shell, copy and paste all desired commands from:
https://raw.githubusercontent.com/khlam/debloat-samsung-android/master/commands.txt
(What i do is making a notepad file and copying the whole list in notepad file removing the spaces then copy and paste the whole list in the command prompt.)
Let the script run and when the command prompt reaches the last command you only have to hit enter ones the finish the script.
Thats it you now have a fast bare bone debloated A51 you can close the command prompt and disconnect your phone from your pc.
Enjoy if this all sounds to difficult i suggest you read up on the following articles/guides
https://github.com/khlam/debloat-samsung-android
https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/
They explain it in more depth if you have any questions please put them bellow and im happy to help.
Zoqy :laugh:
Amazing, was looking for this.
Thanks.
very cool... thx for sharing this
I'm not able anymore to access "Sound quality and effects" in the settings.
Anyway to reinstall?
I found out what the solution was.
So when deleting
pm uninstall -k --user 0 com.samsung.aasaservice
And reinstalling
pm install-existing --user 0 com.samsung.aasaservice
How to fix sms app?
pm install-existing --user 0 com.samsung.android.messaging
it's not helping
senq87 said:
How to fix sms app?
pm install-existing --user 0 com.samsung.android.messaging
it's not helping
Click to expand...
Click to collapse
The ADB-Command for reinstalling is:
adb shell pm enable com.samsung.android.messaging
I get a popup message when trying to edit a picture from the gallery app. It asks to download a picture editor but when i click on download it says "no apps availbe to do this action".
edit: got it myself. this fixed it:
pm install-existing --user 0 com.sec.android.mimage.photoretouching
Just found another one today:
upday for Samsung - Zeropage
a51:/ $ pm uninstall -k --user 0 de.axelspringer.yana.zeropage
Success
tried, broke, fixed
ran this script on the sm-a515u verizion. Lost signal, data, and my nova google companion (no edge swipe). Factory reset works as normal again.
this deletes pretty much everything on your phone, including things like image cropping, youtube or the "find my galaxy" thing
some of these functions are much needed so would sort out whatever you need from that list before attempting to do that
I only deinstalled what I really didn't need, what was about 20 apps and services
seems that one of these packages depends on calling and texting. i'm on a spectrum mobile device and after running the entire script i can use mobile data but can't make or recieve phone calls and text messages. of course a factory reset does the trick but i wonder what app is causing this?
EDIT: i finally got around to troubleshooting it. it was most likely these services i had to re-enable again (through adb shell cmd package install-existing <package name>:
com.sec.ims
com.sec.imslogger
com.sec.imsservice
I am getting frequent reboots and will have to factory reset.
FBK2904 said:
The ADB-Command for reinstalling is:
adb shell pm enable com.samsung.android.messaging
Click to expand...
Click to collapse
This did not help, messaging app crashed. But text message retrieval works.
---------- Post added at 20:26 ---------- Previous post was at 20:23 ----------
AOD no longer works.
Frau Son said:
this deletes pretty much everything on your phone, including things like image cropping, youtube or the "find my galaxy" thing
some of these functions are much needed so would sort out whatever you need from that list before attempting to do that
I only deinstalled what I really didn't need, what was about 20 apps and services
Click to expand...
Click to collapse
would you share those 20 apps and services?
settings not opening. what is the solution to that?
albusdanbledore said:
would you share those 20 apps and services?
Click to expand...
Click to collapse
did you get it ?
hhniloy said:
settings not opening. what is the solution to that?
Click to expand...
Click to collapse
Same here, after Update to Android R (11). My Settings still crash. I reinstalled the bloated s***. then settings works again. But I will try which app it caused.
albusdanbledore said:
would you share those 20 apps and services?
Click to expand...
Click to collapse
for me exactly the same question. Please answer.
I suggest using this debloater instead. More recent, covers many more things (not just Samsung specific) and every single setting is documented and tested. The Samsung Debloater uninstalls things that are better left alone if you don't want an unstable device.
chrisimre747 said:
Same here, after Update to Android R (11). My Settings still crash. I reinstalled the bloated s***. then settings works again. But I will try which app it caused.
Click to expand...
Click to collapse
The app which cause the crash is:
com.osp.app.signin
Tested on my Galaxy A51.

Categories

Resources