Disable system apps without root (even those with disabled Disable button) - G3 General

You can disable all system apps without root even those that cannot be disabled from Settings - like Mcafee an LG Health:
- Install adb
- connect your phone and turn on usb debugging
- find the name of the app you want to block with:
adb shell pm list packages
(You can filter the results on windows by adding | findstr "TERM" or | grep "TERM" on linux / mac where you would replace TERM with the word you are looking for. This would look like:
- adb shell pm list packages | findstr "inputmethod"
adb shell pm list packages | grep "inputmethod"
- "Hide" the app with:
adb shell pm hide "packagename"
(where you would replace "packagename" with the name acquired in step 3)
(https://www.reddit.com/r/Android/comments/3eav7t/get_rid_of_unwanted_system_apps_adb_shell_pm_hide/)
I thought it just hides apps, but I googled it and it seams it really disables apps. I tried it with com.lge.mlt, Mcafee and LG Health and now I get more than 5 hours of SoT compared to 3 hours before.

If you have LG PC Suite installed, you already have working adb in its folder...

Little correction to above manual: Once you run adb shell you don't have to keep running it. You're already in the shell.
adb shell
pm list packages -e (the e will show only ones that are enabled)
pm hide "package.name"
exit

Error: java.lang.SecurityException: Neither user 2000 nor current process has android.permission.MANAGE_USERS.

KuGeL94 said:
Error: java.lang.SecurityException: Neither user 2000 nor current process has android.permission.MANAGE_USERS.
Click to expand...
Click to collapse
It worked when the initial post was made - seems that Android stopped that in an update around August 2016.
However, since this comes up high on a google search (which I just did) I thought I'd post for anyone running across it.
You can achieve similar on even Oreo, at least on a Huawei device, by using "pm uninstall -k --user 0 packagename" (Replace packagename with relevant full package name).
This uninstalls the app for the current user only (user 0) (so doesn't need root) so if you do a factory reset (and I guess an OTA upgrade) the app will return. It does seem to uninstall rather than hide though - so obviously be cautious and take a back up first in case you have to do a factory reset.
Hope that helps the next person finding this thread on a search!

gonzo99 said:
It worked when the initial post was made - seems that Android stopped that in an update around August 2016.
However, since this comes up high on a google search (which I just did) I thought I'd post for anyone running across it.
You can achieve similar on even Oreo, at least on a Huawei device, by using "pm uninstall -k --user 0 packagename" (Replace packagename with relevant full package name).
This uninstalls the app for the current user only (user 0) (so doesn't need root) so if you do a factory reset (and I guess an OTA upgrade) the app will return. It does seem to uninstall rather than hide though - so obviously be cautious and take a back up first in case you have to do a factory reset.
Hope that helps the next person finding this thread on a search!
Click to expand...
Click to collapse
Ha! yeah, I was just doing some research and you are right on all three accounts.
1. This is top in google search
2. The PM Uninstall command works great!
3. Its really really gone so be careful!

gonzo99 said:
It worked when the initial post was made - seems that Android stopped that in an update around August 2016.
However, since this comes up high on a google search (which I just did) I thought I'd post for anyone running across it.
You can achieve similar on even Oreo, at least on a Huawei device, by using "pm uninstall -k --user 0 packagename" (Replace packagename with relevant full package name).
This uninstalls the app for the current user only (user 0) (so doesn't need root) so if you do a factory reset (and I guess an OTA upgrade) the app will return. It does seem to uninstall rather than hide though - so obviously be cautious and take a back up first in case you have to do a factory reset.
Hope that helps the next person finding this thread on a search!
Click to expand...
Click to collapse
should become a sticky. we could make a script for samsung bloatware

gonzo99 said:
It worked when the initial post was made - seems that Android stopped that in an update around August 2016.
However, since this comes up high on a google search (which I just did) I thought I'd post for anyone running across it.
You can achieve similar on even Oreo, at least on a Huawei device, by using "pm uninstall -k --user 0 packagename" (Replace packagename with relevant full package name).
This uninstalls the app for the current user only (user 0) (so doesn't need root) so if you do a factory reset (and I guess an OTA upgrade) the app will return. It does seem to uninstall rather than hide though - so obviously be cautious and take a back up first in case you have to do a factory reset.
Hope that helps the next person finding this thread on a search!
Click to expand...
Click to collapse
Thanks, this is exactly what I was looking for. Even on Marshmallow, the hide and unblock commands don't work, so this is probably the only way to get rid of bloatware. But the uninstall command is a bit dangerous since the changes are permanent, is there a way to get the app back once uninstalled?

Great, the pm uninstall command working perfectly on a MI6 without root, I've successfully removed some annoying apps

This didn't work on my Samsung but I am not surprised.

iloveoreos said:
This didn't work on my Samsung but I am not surprised.
Click to expand...
Click to collapse
I have a galaxy note 9 with Oreo and I do not want to update it to Pie so i was trying to disable com.wssyncmlmd but with no success with the commands in this thread, the problem is that I want to disable it, not uninstall it!
If you want to uninstall bloatware apps you can use:
pm uninstall -k --user 0 "app.name"
I can tell you it works uninstalling system apps like linkedin and facebook
If you could help me figuring out a way to only disable (or at least back up) the system update app I'd be very thankful!

prahladyeri said:
Thanks, this is exactly what I was looking for. Even on Marshmallow, the hide and unblock commands don't work, so this is probably the only way to get rid of bloatware. But the uninstall command is a bit dangerous since the changes are permanent, is there a way to get the app back once uninstalled?
Click to expand...
Click to collapse
Yes just run
adb shell pm unhide "packagename"

Related

Lollipop : Apps to keep, delete, and add other ones

Quick quiz regarding what stock Amazon apps people need to keep, and which ones can be removed.
I am thinking of creating a script for mega-clean up post installation in order to make plenty of room in /system to install bigger GAPPS (something like micro at least). Will there be sufficient interest in this on the forum ?
How many people are using TTS ?
Or is the preference toward the smallest modifications, with pico uni GAPPS, and then other Gapps installed via the PlayStore ? This case is already taken care of with the latest install instructions :
http://forum.xda-developers.com/fire-hd/general/how-to-upgrade-to-lollipop-root-gapps-t3163950
Anyway, let me know what the ideas are!
Good idea and thanks for your work man! I don't really use tts. Their is a bunch of useless bloatware that could probably be removed but I'd have to look through it all
Sent from my KFARWI using Tapatalk
Mark me Undecided. I'd like some spaciousness in /system--who knows what'll be coming down the pike?--on other hand, I'm ok with pico-uni and adding gapps as I need them
What is TTS?
I was looking at this some months' ago (OS 5.0.0) and came up with these lists (some names may still be 5.0.0). Found a lot depends on what people use, so perhaps any script should be easily editable.
YES ( I removed before 5.0.0 install)
(FWIW, somewhere along the line my Settings/All Apps no longer showed any apps. Pretty sure it was unrelated to these, but . . .)
com.amazon.weather.apk
com.amazon.weather.service.apk
com.amazon.geo.client.maps.apk
moffice_6.0.1_default_en00105_multidex_195423.apk
com.amazon.calculator
com.amazon.legalsettings.apk
com.amazon.kcp.tutorial.apk
IDK which of these can be replaced from Play Store. Might be needed to sync to Amazon account if user cares
com.android.calendar
com.android.providers.calendar
com.android.contacts
com.android.providers.contacts
IF DON'T USE (Not tested. Interdependencies?)
com.amazon.unifiedsharefacebook.apk
com.amazon.unifiedsharegoodreads.apk
com.amazon.unifiedsharetwitter.apk
com.amazon.unifiedsharesinaweibo.apk - WHAT'S THIS?
com.audible.application.kindle.apk
com.audible.application.store.apk
com.goodreads.kindle.apk
MAYBE - Might cause problems
com.amazon.cloud9.apk
com.amazon.cloud9.systembrowserprovider.apk
com.amazon.kindle.unifiedSearch.apk - search bar stock launcher
DoLooper said:
Mark me Undecided. I'd like some spaciousness in /system--who knows what'll be coming down the pike?--on other hand, I'm ok with pico-uni and adding gapps as I need them
What is TTS?
I was looking at this some months' ago (OS 5.0.0) and came up with these lists (some names may still be 5.0.0). Found a lot depends on what people use, so perhaps any script should be easily editable.
YES ( I removed before 5.0.0 install)
(FWIW, somewhere along the line my Settings/All Apps no longer showed any apps. Pretty sure it was unrelated to these, but . . .)
com.amazon.weather.apk
com.amazon.weather.service.apk
com.amazon.geo.client.maps.apk
moffice_6.0.1_default_en00105_multidex_195423.apk
com.amazon.calculator
com.amazon.legalsettings.apk
com.amazon.kcp.tutorial.apk
IDK which of these can be replaced from Play Store. Might be needed to sync to Amazon account if user cares
com.android.calendar
com.android.providers.calendar
com.android.contacts
com.android.providers.contacts
IF DON'T USE (Not tested. Interdependencies?)
com.amazon.unifiedsharefacebook.apk
com.amazon.unifiedsharegoodreads.apk
com.amazon.unifiedsharetwitter.apk
com.amazon.unifiedsharesinaweibo.apk - WHAT'S THIS?
com.audible.application.kindle.apk
com.audible.application.store.apk
com.goodreads.kindle.apk
MAYBE - Might cause problems
com.amazon.cloud9.apk
com.amazon.cloud9.systembrowserprovider.apk
com.amazon.kindle.unifiedSearch.apk - search bar stock launcher
Click to expand...
Click to collapse
TTS is text to speech. I think a separate tts engine could be installed from play store though
Sent from my KFARWI using Tapatalk
How do we remove apps from the device?
I am able to disable apps using "adb shell; su; pm disable *", but removing apps the usual way (adb uninstall) throws java exceptions (for system apps).
(I am rooted, on 5.2.2)
Thanks.
astranomina said:
How do we remove apps from the device?
I am able to disable apps using "adb shell; su; pm disable *", but removing apps the usual way (adb uninstall) throws java exceptions (for system apps).
(I am rooted, on 5.2.2)
Click to expand...
Click to collapse
Please read OP. Bibikalka is suggesting creating a script to do this, based on system apps we don't want/use (and those we do)--so submit your list.
@bibikalka Can you please share details on how the apps will be removed? Does the script have to run through adb, etc
List of apps which I have disabled so far without any major issues:
com.amazon.calculator
com.amazon.legalsettings
com.amazon.kcp.tutorial
com.amazon.geo.client.maps
com.android.providers.calendar
com.android.calendar
com.android.contacts
com.android.providers.contacts
com.amazon.unifiedsharefacebook
com.amazon.unifiedsharegoodreads
com.amazon.unifiedsharetwitter
com.amazon.unifiedsharesinaweibo
com.audible.application.store
com.audible.application.kindle
com.goodreads.kindle
com.android.deskclock
com.amazon.calculator
com.android.email
com.amazon.photos
com.amazon.photos.importer
com.amazon.socialplatform
com.amazon.avod
com.amazon.cloud9
com.amazon.ags.app
com.amazon.kindle.kso
com.amazon.h2settingsfortablet
com.amazon.csapp
com.amazon.whisperlink.core.android
com.amazon.tahoe
com.amazon.client.metrics
com.amazon.settings.systemupdates
com.amazon.device.software.ota
com.amazon.zico
com.amazon.legalsettings
com.amazon.parentalcontrols
com.amazon.dp.contacts
com.amazon.do.fbcontacts
com.amazon.kindle
com.android.providers.downloads.ui
com.amazon.webapp
com.amazon.kindle.personal_video
com.android.music
I'm looking to get rid of Amazon apps, but not necessarily to add on more GAPPS. Personally a big fan of the pico size.
BTW is there a reason we cannot use Titanium Backup to remove the Amazon Apps? I haven't tried yet for fear of messing something up, but since you are talking about making a script is it safe to assume TB doesn't work?
argrr101 said:
I'm looking to get rid of Amazon apps, but not necessarily to add on more GAPPS. Personally a big fan of the pico size.
BTW is there a reason we cannot use Titanium Backup to remove the Amazon Apps? I haven't tried yet for fear of messing something up, but since you are talking about making a script is it safe to assume TB doesn't work?
Click to expand...
Click to collapse
The challenge is not to remove these apps in some way, but to do it in the most convenient fashion. It is actually a fairly diverse set of desires as can be seen from different replies
If one sticks to Pico (Uni) GAPPS and does not need more space in /system, then the current script "make_space_v01" in my update thread is adequate.
If not for GAPPS, what would people need space for in /system anyway ?

5.0.5.1 - App Blocking

I've recently been digging in to what is causing launchers from being disabled and wanted to share my findings.
The culprit here is
Code:
/system/priv-app/com.amazon.tv.settings.apk
The service name is
Code:
com.amazon.tv.settings.tv.AppDisableService
There are currently two blacklisted apps in the 5.0.5.1 release:
Code:
com.altusapps.firedtvlauncher
de.belu.firestarter
If you are on 5.0.5.1, you can poke around the system partition by running on your computer:
Code:
adb pull /system
Looks like we have a cat-and-mouse game on our hands...
jkchr1s said:
I've recently been digging in to what is causing launchers from being disabled and wanted to share my findings.
The culprit here is
Code:
/system/priv-app/com.amazon.tv.settings.apk
The service name is
Code:
com.amazon.tv.settings.tv.AppDisableService
There are currently two blacklisted apps in the 5.0.5.1 release:
Code:
com.altusapps.firedtvlauncher
de.belu.firestarter
If you are on 5.0.5.1, you can poke around the system partition by running on your computer:
Code:
adb pull /system
Looks like we have a cat-and-mouse game on our hands...
Click to expand...
Click to collapse
Wow. Those sneaky bastards. I think there is a way to disable individual services.
rbox said:
Wow. Those sneaky bastards. I think there is a way to disable individual services.
Click to expand...
Click to collapse
I was thinking the same thing. I don't have the update so I can't test. But can't we do:
Code:
pm hide com.amazon.tv.settings.tv.AppDisableService
without root, and
Code:
pm disable com.amazon.tv.settings.tv.AppDisableService
with?
wouldn't hurt to try, would it?
rbox said:
Wow. Those sneaky bastards. I think there is a way to disable individual services.
Click to expand...
Click to collapse
Unfortunately the 'pm hide' command doesn't work to disable the service because it's for packages only, so non-rooted owners are out of luck. And yes, I did actually try it anyway. I expect the 'pm disable' command will work with root because it differentiates between packages and components.
Also, it doesn't look like they're doing anything special when disabling the two apps, so once we have a pre-rooted ROM, all we'll have to do is:
Code:
adb shell
su
pm disable com.amazon.tv.settings.tv.AppDisableService
pm enable com.altusapps.firedtvlauncher
pm enable de.belu.firestarter
AFTVnews.com said:
Unfortunately the 'pm hide' command doesn't work to disable the service because it's for packages only, so non-rooted owners are out of luck. And yes, I did actually try it anyway. I expect the 'pm disable' command will work with root because it differentiates between packages and components.
Also, it doesn't look like they're doing anything special when disabling the two apps, so once we have a pre-rooted ROM, all we'll have to do is:
Code:
adb shell
su
pm disable com.amazon.tv.settings.tv.AppDisableService
Click to expand...
Click to collapse
Did you verifiy with:
Code:
pm list packages -d
?
AFTVnews.com said:
Unfortunately the 'pm hide' command doesn't work to disable the service because it's for packages only, so non-rooted owners are out of luck. And yes, I did actually try it anyway. I expect the 'pm disable' command will work with root because it differentiates between packages and components.
Also, it doesn't look like they're doing anything special when disabling the two apps, so once we have a pre-rooted ROM, all we'll have to do is:
Code:
adb shell
su
pm disable com.amazon.tv.settings.tv.AppDisableService
pm enable com.altusapps.firedtvlauncher
pm enable de.belu.firestarter
Click to expand...
Click to collapse
It *IS* a cat and mouse game... but really all that has to happen is the authors of those programs just need to change the name of the package.
I was close. The command to disable the blacklist service is:
Code:
pm disable com.amazon.tv.settings/com.amazon.tv.settings.tv.AppDisableService
It survives a reboot. Here is my detailed guide for those who need it.
I've been playing with this on an unrooted box and found that I can crash the AppDisableService by sending an intent, followed by a force-stop of com.amazon.tv.settings:
Code:
am broadcast -a android.content.action.PERMISSION_RESPONSE_RECEIVED
am force-stop com.amazon.tv.settings
This *seems* to stop the AppDisableService since it never spins back up (since it never receives the BOOT_COMPLETED after it crashes), but this still leaves us with the problem of packages being disabled at boot and no way to enable them.
So, this led me to the idea that you could uninstall the apk and preserve the files, then simply reinstall it after the crash.
I tried to uninstall FireStarter and preserve data:
Code:
pm uninstall -k de.belu.firestarter
but on reinstall, it's still disabled (I'm guessing it preserves the disabled state with -k).
So I guess that's sort-of progress...
jkchr1s said:
I've been playing with this on an unrooted box and found that I can crash the AppDisableService by sending an intent, followed by a force-stop of com.amazon.tv.settings:
Code:
am broadcast -a android.content.action.PERMISSION_RESPONSE_RECEIVED
am force-stop com.amazon.tv.settings
This *seems* to stop the AppDisableService since it never spins back up (since it never receives the BOOT_COMPLETED after it crashes), but this still leaves us with the problem of packages being disabled at boot and no way to enable them.
So, this led me to the idea that you could uninstall the apk and preserve the files, then simply reinstall it after the crash.
I tried to uninstall FireStarter and preserve data:
Code:
pm uninstall -k de.belu.firestarter
but on reinstall, it's still disabled (I'm guessing it preserves the disabled state with -k).
So I guess that's sort-of progress...
Click to expand...
Click to collapse
I wonder what would happen if a device reset was done and your tweak were done?
king200 said:
I wonder what would happen if a device reset was done and your tweak were done?
Click to expand...
Click to collapse
Unfortunately a device reset would restart the AppDisableService. Causing the crash only stops it after you initiate the crash (meaning it would start up on next reboot). That's the problem with this approach...
My thought was to run a process to uninstall the disabled app(s), have a copy of the APK on the filesystem to re-install, and write an app that would initiate the crash and reinstall the apk on BOOT_COMPLETED. This approach is only good for keeping the app during a booted session, it would have to be re-run if the device was rebooted, and all app settings would be lost when the uninstall occurred.
Without initiating the crash, it appears they run an alarm task that essentially does a check every so often to disable any newly installed apps.
So it looks like they do the check on boot, then again at scheduled intervals. Initiating the crash causes the scheduled interval checks to not run, but a reboot means the app becomes disabled.
how about rename the app??? sorry if too stupid...
htchd2fix said:
how about rename the app??? sorry if too stupid...
Click to expand...
Click to collapse
Renaming the app works, but requires the source to be recompiled. Not easily done on device.
on the atvnews(dot)com website is a renamed version from firestarter for downlaod.
CU ulli01

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.

Is there a way to completely disable OTA Updates on Rooted Fire HD 10?

A few days ago, I rooted my Amazon Fire HD 10 OS 5.6.0.0 with kingoroot. I've customized my tablet and removed a lot of the unnecessary Amazon apps. I really like how my Amazon Fire HD 10 looks right now and don't want to see it get messed up because of an update.
Is there any sure way to stop the Amazon Fire HD 10 from updating? I removed the DeviceSoftwareOTA.apk from the device already, but I've read elsewhere that simply removing the DeviceSoftwareOTA won't stop the updates from happening. Is there anything else I can do?
Yes, you also need to remove ForcedOTA (com.amazon.kindle.otter.oobe.forced.ota). With both of these removed, no updates are possible.
From my experience on HD8 (7th Gen) on OS 5.3.3.0 since September :
Even though I could not root HD8, I was able to "pm uninstall" both com.amazon.device.software.ota and com.amazon.kindle.otter.oobe.forced.ota
Since then, with WiFi connected everyday, it had never updated to a new version of Fire OS.
Since it is rooted, use ES File Explorer (change settings to give it root permission and show hidden files) and rename the file /system/etc/security/otacerts.zip. It uses this file to verify the updates. While you are at it, I need a copy of the otacerts.zip file if you don't mind. I am trying to restore mine and lost it during a factory restore.
Dan_firehd said:
From my experience on HD8 (7th Gen) on OS 5.3.3.0 since September :
Even though I could not root HD8, I was able to "pm uninstall" both com.amazon.device.software.ota and com.amazon.kindle.otter.oobe.forced.ota
Since then, with WiFi connected everyday, it had never updated to a new version of Fire OS.
Click to expand...
Click to collapse
what did you set user as I ran this command pm uninstall -k --user 0 com.amazon.otter.oobe.forced.ota and got user not found
ecwebster31 said:
what did you set user as I ran this command pm uninstall -k --user 0 com.amazon.otter.oobe.forced.ota and got user not found
Click to expand...
Click to collapse
I am not sure what you are asking. I did not "set user".
The following were what I typed:
pm uninstall -k --user 0 com.amazon.device.software.ota
pm uninstall -k --user 0 com.amazon.kindle.otter.oobe.forced.ota
69ragtop said:
Since it is rooted, use ES File Explorer (change settings to give it root permission and show hidden files) and rename the file /system/etc/security/otacerts.zip. It uses this file to verify the updates. While you are at it, I need a copy of the otacerts.zip file if you don't mind. I am trying to restore mine and lost it during a factory restore.
Click to expand...
Click to collapse
ES File Explorer has become crapware. Try Amaze file manager... simple, compact, all you need without the unnecessary junk ES tries to foist on you now.
ecwebster31 said:
what did you set user as I ran this command pm uninstall -k --user 0 com.amazon.otter.oobe.forced.ota and got user not found
Click to expand...
Click to collapse
try replacing 0 with current so: -k --user current
pm uninstall -k --user 0 com.amazon.device.software.ota
pm uninstall -k --user 0 com.amazon.kindle.otter.oobe.forced.ota
I tried these two commands and I get a "failed to delete" message which I assume is because I have not rooted the tablet. There is an app called "Settings Database Editor". Does anyone have any experience with that? I used it to successfully disable the lock screen without rooting, but it looks like I'm going to have to take the plunge and root in order to block the OTA updates. (first time working with an android device)
ironlion37 said:
pm uninstall -k --user 0 com.amazon.device.software.ota
pm uninstall -k --user 0 com.amazon.kindle.otter.oobe.forced.ota
I tried these two commands and I get a "failed to delete" message which I assume is because I have not rooted the tablet. There is an app called "Settings Database Editor". Does anyone have any experience with that? I used it to successfully disable the lock screen without rooting, but it looks like I'm going to have to take the plunge and root in order to block the OTA updates. (first time working with an android device)
Click to expand...
Click to collapse
Most of the ability to disable system apps has been patched already. The command you posted above has long been patched. Settings Database Editor is great and powerful. You're lucky you got the lock.disable to work. 9 times out of 10 it doesn't.
So you are correct. Unless you got any of the known tools to work, the only way to truly stop OTA is to destroy the application that handles them. My HD 8 has been on 5.4.0.0 or less for 2 almost 3 years because the commands you posted above, totally disabled the app.
Sent from my Galaxy S4 using XDA Labs
ironlion37 said:
pm uninstall -k --user 0 com.amazon.device.software.ota
pm uninstall -k --user 0 com.amazon.kindle.otter.oobe.forced.ota
Click to expand...
Click to collapse
DragonFire1024 said:
My HD 8 has been on 5.4.0.0 or less for 2 almost 3 years because the commands you posted above, totally disabled the app.
Click to expand...
Click to collapse
Good to know that these two commands is all what's needed. I was just able to successfully execute them on a mtk-su rooted Fire HD 10 "suez" running 5.6.4.0.
Just out of curiosity,
1. Does anybody know what "otter" and "oobe" are supposed to mean, i.e. what com.amazon.kindle.otter.oobe.forced.ota is supposed to do?
2. Some people also recommend to get rid of com.amazon.device.software.ota.override — what does this do?
3. Why do some people also remove com.amazon.settings.systemupdates — this is helpful for checking the current OS version, right?
Thank you very much for all your work @DragonFire1024!
anon/droid said:
Good to know that these two commands is all what's needed. I was just able to successfully execute them on a mtk-su rooted Fire HD 10 "suez" running 5.6.4.0.
Just out of curiosity,
1. Does anybody know what "otter" and "oobe" are supposed to mean, i.e. what com.amazon.kindle.otter.oobe.forced.ota is supposed to do?
2. Some people also recommend to get rid of com.amazon.device.software.ota.override — what does this do?
3. Why do some people also remove com.amazon.settings.systemupdates — this is helpful for checking the current OS version, right?
Thank you very much for all your work @DragonFire1024!
Click to expand...
Click to collapse
The first and second one are applications that grabbed OTA updates sent by Amazon to update the system of your device.vI would assume if one application shuts down the other one takes over. But like most things you need one to work in order for the other to work. If you simply disabled the second one no OTA updates will be sent to your device that will upgrade or change Amazon system like giving you a new version of fire OS.
Removing the third one just disables your ability to tap on the system updates page in the settings application. it will not actually stop any update from taking place on the device if it's disabled. It just removes your ability to get anywhere near the update section or your ability to visually see what's going on there.

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