How can I uninstall system apps? - OnePlus 6T Questions & Answers

I'm rooted version 9.0.5.l, and I want to uninstall some system apps like contacts. Then replace them with their Google counterparts.

ZaKh10 said:
I'm rooted version 9.0.5.l, and I want to uninstall some system apps like contacts. Then replace them with their Google counterparts.
Click to expand...
Click to collapse
I'd be careful of what you uninstall as some of the system apps are connected to the others and could end up with a big mess.
ADB is your friend it that's the path you want to go down.
1. connect device, make sure ADB is working (check with CMD "adb devices")
2. go to shell, using CMD "adb shell"
3. get list of install packages using CMD "pm list packages" (use google to find out what does each package name means).
4. remove package using CMD "pm uninstall -k --user 0 $packagname" (e.g. pm uninstall -k --user 0 com.android.inputdevices)
5. if correctly typed, you receive message "SUCCESS"
Optionally a reboot might be required.

Wouldn't titanium backup do the same thing?

magnumtripod said:
Wouldn't titanium backup do the same thing?
Click to expand...
Click to collapse
Probably, but if you're going to use android you should know the basics of ADB.

ggrant3876 said:
Probably, but if you're going to use android you should know the basics of ADB.
Click to expand...
Click to collapse
While knowing how to use ADB is very handy, removing apps via TitianiumBackup is by far easier and faster for this purpose.
I use ADB and fastboot for several things, but as for removing the bloatware and OnePlus apps on OOS until LOS is available, TitaniumBackup is much faster/easier.

OhioYJ said:
While knowing how to use ADB is very handy, removing apps via TitianiumBackup is by far easier and faster for this purpose.
I use ADB and fastboot for several things, but as for removing the bloatware and OnePlus apps on OOS until LOS is available, TitaniumBackup is much faster/easier.
Click to expand...
Click to collapse
Which system apps can I uninstall without messing everything up?

if you are asking that question, I would say you should not remove ANY system apps..

ZaKh10 said:
Which system apps can I uninstall without messing everything up?
Click to expand...
Click to collapse
The next update, I'm going to make a list (and post it). As when I went through my phone I tried to search and find a list, and all I could across was tons of post saying this has been covered before. So then all I could find was very out-dated information, or suggestions like don't remove anything. None of which is helpful...
I ended up removing a whole bunch of stuff right off the bat that I've known is safe for a long time. Anything that I was not quite sure about, I chose the freeze option in TitianiumBackup, restarted, and waited to see if I had any issues. If I didn't, I removed it entirely.
Backup your data, what's the worse thing that happens, you make OOS angry, and you have to boot back into Fastboot or TWRP to reflash the ROM, no big deal.

OhioYJ said:
The next update, I'm going to make a list (and post it). As when I went through my phone I tried to search and find a list, and all I could across was tons of post saying this has been covered before. So then all I could find was very out-dated information, or suggestions like don't remove anything. None of which is helpful...
I ended up removing a whole bunch of stuff right off the bat that I've known is safe for a long time. Anything that I was not quite sure about, I chose the freeze option in TitianiumBackup, restarted, and waited to see if I had any issues. If I didn't, I removed it entirely.
Backup your data, what's the worse thing that happens, you make OOS angry, and you have to boot back into Fastboot or TWRP to reflash the ROM, no big deal.
Click to expand...
Click to collapse
Mind posting what you disabled?

ram4ufriends said:
Mind posting what you disabled?
Click to expand...
Click to collapse
The problem is I don't have anything disabled. If I didn't have any problems from freezing, I removed it entirely. The next update they release I'll make a list.

as fast and as smooth as this phone is, why would you want to remove any system apps?
thats usually done to reduce overhead or speed up laggy phones; this phone is NOTHING like that...
I'd leave well enough alone, until something specific happens to your phone that makes you think you need to delete something..

ggrant3876 said:
I'd be careful of what you uninstall as some of the system apps are connected to the others and could end up with a big mess.
ADB is your friend it that's the path you want to go down.
1. connect device, make sure ADB is working (check with CMD "adb devices")
2. go to shell, using CMD "adb shell"
3. get list of install packages using CMD "pm list packages" (use google to find out what does each package name means).
4. remove package using CMD "pm uninstall -k --user 0 $packagname" (e.g. pm uninstall -k --user 0 com.android.inputdevices)
5. if correctly typed, you receive message "SUCCESS"
Optionally a reboot might be required.
Click to expand...
Click to collapse
Does this method require root access? And can the phone be updated with OTA delta update afterwards?
wase4711 said:
as fast and as smooth as this phone is, why would you want to remove any system apps?
thats usually done to reduce overhead or speed up laggy phones; this phone is NOTHING like that...
I'd leave well enough alone, until something specific happens to your phone that makes you think you need to delete something..
Click to expand...
Click to collapse
I deleted Duo, Play Music, Play Movie, Play Books and save about 100MB on my phone. I'd rather spend those storage for apps, music and stuff rather than apps I know I never use

wase4711 said:
as fast and as smooth as this phone is, why would you want to remove any system apps?
thats usually done to reduce overhead or speed up laggy phones; this phone is NOTHING like that...
Click to expand...
Click to collapse
OnePlus has a very bad reputation for sending information back to their servers. So I would say this is a security / privacy issue. Especially until some other alternative to OOS is available.

OhioYJ said:
OnePlus has a very bad reputation for sending information back to their servers. So I would say this is a security / privacy issue. Especially until some other alternative to OOS is available.
Click to expand...
Click to collapse
Every phone mfg/provider sells/steals our personal info, so, at this point in our lives, you cant be that concerned about those things; if you are, dont use your phone for banking/credit card/financial stuff, or anything seriously illegal..

veatesia said:
Does this method require root access? And can the phone be updated with OTA delta update afterwards?
I deleted Duo, Play Music, Play Movie, Play Books and save about 100MB on my phone. I'd rather spend those storage for apps, music and stuff rather than apps I know I never use
Click to expand...
Click to collapse
If it's a real system app you don't have more storage for data... As system is a separated partition it's not the main argument.
The other inconvenient is that you have to remove them at each OTA or make a script to automate this.
Most of the time it's better to just freeze them with titanium as it remains after OTA.

Sd maid pro

I am rooted an I have Magisk. There's a modeule you can download off Magisk manager called "debloater" +terminal emulator that can remove anything off the phone. Reboot to take effect. It's basically my "Aroma".
I use it to debloat a lot of OnePlus stuff such as:
Contacts, messages, gallery, file explorer, Google play movies, etc.
Then I replace those with the Google counterpart and Nova launcher.
And if I "f-up", I can simply reinstall them right back on. No problem.
I love it.

OhioYJ said:
The problem is I don't have anything disabled. If I didn't have any problems from freezing, I removed it entirely. The next update they release I'll make a list.
Click to expand...
Click to collapse
How do I backup so I can flash the rom?

ZaKh10 said:
How do I backup so I can flash the rom?
Click to expand...
Click to collapse
Use the magisk module suggested by the post above yours. When an OTA arrives they will be installed again, just debloat again.

Is this where the normal disclaimer goes, I'm not responsible for anything, including thermonuclear war?........
ZaKh10 said:
How do I backup so I can flash the rom?
Click to expand...
Click to collapse
I'm assuming you don't have the T-Mobile version, if you do there is a different thread with Fastboot images of both the international and T-mobile images.
Here is the official thread for download the regular 6T images (non branded / TMobile) OOS Roms: https://forum.xda-developers.com/oneplus-6t/how-to/official-oxygenos-9-0-4-ota-oneplus-6t-t3860953
I assume you've seen this:
[Guide] OnePlus 6T [Fajita]: Unlock | Flash TWRP | Root | Nandroid & EFS Backup !!
I flashed the ROM, using ADB sideload in TWRP. So make sure you have ADB working on your PC first I've found this is really easiest to do in Linux, so even if you do this just booting from a live USB/CD is fine.
https://forum.xda-developers.com/on...overy-unofficial-twrp-touch-recovery-t3861482
Backup any apps you care about in TitaniumBackup, copy that folder to your PC. Copy any other data to your PC as well just in case (music, photos, etc). Lastly, you will have to copy the Android and Data folders, these two folders will contain data for apps that TitaniumBackup may not have gotten.
If you search you should be able to come across lists, even though dated of programs and what they do, that you can remove. Just read up some, backup your data, make sure you have ADB and Fastboot working on your PC, and you'll should be fine.

Related

Manage Applications List

I've removed some software via adb pull, rm, etc. but my manage applications list, still shows some of these pieces of software.
How can I clear this data to reflect true, current installations?
Thanks.
riggsandroid said:
I've removed some software via adb pull, rm, etc. but my manage applications list, still shows some of these pieces of software.
How can I clear this data to reflect true, current installations?
Thanks.
Click to expand...
Click to collapse
Was this answered? I need to know how to do this too. Searches throughout forum didn't find any results about this for me. Thanks.
I've found that if I open "com.smithmicro.DM" or "Download Manager" in Manage Applications and then "Clear Data" in either one of them, it refreshes the Manage Apps list and all the ghost apps are gone. But after every reboot these ghost apps are in the list again, so that isn't a permanent fix.
chromiumleaf said:
Was this answered? I need to know how to do this too. Searches throughout forum didn't find any results about this for me. Thanks.
I've found that if I open "com.smithmicro.DM" or "Download Manager" in Manage Applications and then "Clear Data" in either one of them, it refreshes the Manage Apps list and all the ghost apps are gone. But after every reboot these ghost apps are in the list again, so that isn't a permanent fix.
Click to expand...
Click to collapse
never got a response, and just sort of let it go. I'm sure there is a .db file somewhere that stores this information.
Anyone have any idea?
Try adb sync.
HeroMeng said:
Try adb sync.
Click to expand...
Click to collapse
Gosh, I can't find anything out there about how to use adb sync, been searching for a good half hour or more. The few hits I found didn't make sense to me.
I enter 'adb sync' and get returned to me: "Product directory not specified; use -p or define ANDROID_PRODUCT_OUT"
Get that even after entering 'adb remount' then 'adb sync'. I have also read 'adb help all' and don't understand what all that means -- it's a little over my head.
Any further help/thoughts? Thanks.
I'm looking through my nandroids .img files and attempting to determine where this information is stored. I found some stuff in the data/data directory which seems to be folders for all the apps we have ever installed on the phone. even ones I know I have removed.
I'm going to nandroid and attempt to remove them and see if that will fix our problem. It is annoying to go into Applications and have it take forever to load with 30-40 apps that aren't even installed anymore.
I'll update you in a bit.
riggsandroid said:
I'm looking through my nandroids .img files and attempting to determine where this information is stored. I found some stuff in the data/data directory which seems to be folders for all the apps we have ever installed on the phone. even ones I know I have removed.
I'm going to nandroid and attempt to remove them and see if that will fix our problem. It is annoying to go into Applications and have it take forever to load with 30-40 apps that aren't even installed anymore.
I'll update you in a bit.
Click to expand...
Click to collapse
well i removed it and it shows 0kb now as the size where before it showed the size of the folder. I'm rebooting to see if it works.
Well...apparently I'm in a bootloop. let me try clearing Dalvik
Now I have my nandroid, but does anyone know why removing a file in /data/data would cause a bootloop? It was leftover from a program that I removed via ADB when I first flashed my current ROM.
Thanks.
riggsandroid said:
Now I have my nandroid, but does anyone know why removing a file in /data/data would cause a bootloop? It was leftover from a program that I removed via ADB when I first flashed my current ROM.
Thanks.
Click to expand...
Click to collapse
Don't know the answer to that. Side question: Did what you do actually remove those ghost apps/pieces from the Manage Apps list? Or I guess maybe you never found out because of the bootloop?
Thanks for trying something.
chromiumleaf said:
Don't know the answer to that. Side question: Did what you do actually remove those ghost apps/pieces from the Manage Apps list? Or I guess maybe you never found out because of the bootloop?
Thanks for trying something.
Click to expand...
Click to collapse
The item was still in the list, but it showed 0.0 kb where as before it showed like 75kb or whatever. I was trying to reboot to see if it would rebuild the file that it sued, but....i got stuck in my bootloop and had to nandroid...
back to the drawing board.
riggsandroid said:
I've removed some software via adb pull, rm, etc. but my manage applications list, still shows some of these pieces of software.
How can I clear this data to reflect true, current installations?
Thanks.
Click to expand...
Click to collapse
chromiumleaf said:
Was this answered? I need to know how to do this too. Searches throughout forum didn't find any results about this for me. Thanks.
I've found that if I open "com.smithmicro.DM" or "Download Manager" in Manage Applications and then "Clear Data" in either one of them, it refreshes the Manage Apps list and all the ghost apps are gone. But after every reboot these ghost apps are in the list again, so that isn't a permanent fix.
Click to expand...
Click to collapse
Any updates on this anyone? Anyone? Bueller?
No biggie, just kinda annoying and would like to get to the bottom of it .
I've been attempting a solution to this annoying issue. Read somewhere in here someone refer to an app on the market capable of doing this...
Try reflashing your recovery. It seemes like your nandroid your restoring may still have the data from the apps you pulled out. So when you delete them and wipe everything but then do a nand restore I think your putting the leftover data back on. In my experience when I pull or delete system apps that I don't use I always do them this way.
Using TB I delete all the apps I don't use. Then in TB I refresh the app list to show current app installed. Then I go into my manage apps settings to force close TB then clear data then unistall Tb. Then I reboot and let the phone settle in. Then I power down and reboot into recovery with power and home. I used to with the volume down and power but Ive always had bootloops and errors that way. Since I started using power and home I've had no problems. Anyways-- Then I wipe cache and dev cache and reboot once more. After that I reboot and then do a nand backup. I know its a lot and I'm not sure if this will help you at all but just thought Id put it on here in case it might. Well good luck and I hope you get it all worked out.
Root-Hack-Mod-Always™
Thank you, i will try what you have suggested. I use TB, and am familiar with the whole process, but have never wiped cache and dev cache.
I completely agree with your statement of "letting the phone settle in", so true...

Getting control of my Desire HD

Hi folks,
I want to be able to uninstall all the bloatware that my DHD came with so I guess I need to root it. However in this regard I don't need a perm root? As I don't need to change the UI etc, just remove a bunch of unecessary apps.
I've tried using the rooting guide here but as an anroid newb the instuctions are too vague for me to follow and my attempts to infer what the authors mean have resulted in failure (no brick tho! ).
So, I have visionary and supersuer both installed and I tried the temp root and perm root function in visionary (which is granted supersuer permissions from the superuser app in the process) but when I go back to "manage applications" the uninstall button for all the bloatware apps is still greyed out.
Any ideas?
EDIT: Typing "su" in terminal emulator results in "#" so that appears to be working correctly. But still no go on uninstalling the apps. I don't care about not getting updates over the air as I value having greater control over my device more. Besides, I can always flash it manually.
dccxviii said:
Hi folks,
I want to be able to uninstall all the bloatware that my DHD came with so I guess I need to root it. However in this regard I don't need a perm root? As I don't need to change the UI etc, just remove a bunch of unecessary apps.
Click to expand...
Click to collapse
Hello 718 ,
I've read something about uninstall unwanted applications
in the adb description "Using ADB.pdf" and "How to install adb.pdf".
Hope it helps you, I'm in the searching and reading phase of owning
the HTC DHD (some weeks ago - and android newbee) -
it's a jungle of information here on xda-developers
WBR peschi
Use titanium backup or root explorer.
sent from my dhd
Thanks for the replies.
So far i've started using titanium backup as it seems easier to use then having to install adb shell. Although I installed that as well and start learning some basic commands.
For now, titanium seems to be the answer to my issue as it allowing me to uninstall a whole heap of useless apps. But I think in the next few days of tinkering i'm gonna come to the conclusion that I want even greater control. Which seems to indicate falshing an entirely defferent rom to HTC sense. Although the keyboard on the sense UI is second to none IMO but smoething tells me that there's a .apk file out there with that in it
So, I've rooted my Desire HD with VISIONary+ and mounted /system as r/w using that "Mount system r/w" app from market, to move some of the stock apps from the Desire HD (and to hopefully solve that Facebook for Android problem I described in another thread). I used Root Explorer to move the apps to a folder on the SD card, turned the phone off and back on, and the apps were back?
Is this because I haven't done that "S-Off" thing, does the quick boot option need to be disabled (even though I turned the phone off entirely) or something else, in order to keep the apps that I moved, from respawning in /system/app?
Thanks in advance (and sorry for borrowing your thread, OP).
I don't think i've got s-off (whatever that means lol) and I was able to uninstall the crapware using titanium backup. My process was somewhat convoluted but I guess it boiled down to 2 things. Visionary and Superuser apps.
Now I don't think my phone is completely rooted because when I go to the default "manage applications" list in the stock UI the uninstall button for the crapware system apps is still greyed out. But for when I run titanium backup, it gets granted superuser acces from the superuser app and is then able to uninstall all the bloatware.
I would like to know of a sure fire way whether my phone is completely rooted or not though. Namely because I think I want to start using completely different roms.
I temprooted using visionary+ then opened titanium back up to uninstall unwanted apps. But which are safe to remove? I want to get rid of Facebook, Friendstream and a few others but Titanium warns me they are system components and my phone may not work after uninstalling them....
Sent from my Desire HD using XDA App
I got rid of all of that (twitter, myspace etc rubbish). Even some native htc ones that I know are ancilliary. You just have to use a bit of logic as to what might require what. Crap like friend stream or whatever wuold most likey rely on such apps. But since I uninstalled that too... you get the idea
I was gonna get rid of sound hound as well but it's actually kinda useful. One of the few apps I left on it from the factory.
EDIT: I've also been using titanium to backup more usefull HTC system apps so that when I do eventually move to a new rom, i can just install them later. Things like the HTC clock, office apps, calender, messaging etc are superior to stock android equivalents.
WTF...
I had to remove my sim card for something and when I reinserted it and turned on the phone all the apps I 'removed' were back as if nothing ever happened!
Did I miss something because I don't remember reading anywhere that that would happen if you rebooted your phone!
Agrrrr...I need some help >.<
If your DHD does not have S-OFF after every reboot it will restore everything you removed.
Ahh, thnaks for that. I've used the S-off radio tool to disable the security now. Hopefully those rubbish apps will stay away (tested with reboot and it seems so). However, now that i've rooted my phone and switched to S-off I am still curious as to why system apps are still unable to be uninstalled through the in-built android app manager.
Also, I attempted to use the clockworkrecovery mod to install new ROMS and so wanted to backup my current ROM install before trying new ones but the phone just goes to a black screen with a pic of a mobile phone with a red exclamation point in a triangle.
...unless of course after all this it STILL isn't rooted. In which case I think I might start looking seriously at the Nexus. *sigh*
The built-in app manager will not let you remove system apps regardless of being rooted. Install Titanium Backup from the market. This will remove it.
Download ROM Manager from the market, and "Flash Recovery" again, some users have issues with it working first time.
That did the trick! Thanks very much
One last question then, if I flash a new ROM e.g. cyanogenMOD, will that completely replace HTC sense and thus allow me to use the built in app manager to remove apps because...there won't be anymore 'system' apps?
andyharney said:
If your DHD does not have S-OFF after every reboot it will restore everything you removed.
Click to expand...
Click to collapse
I have root + Radio S-Off but every restart the phone causes my default Smart Keyboard deactive. Do you have any idea about that, is it spesific for an app or a general problem?
I am asking because I did not do ENG S-Off I have done only Radio S-Off.
With S-ON every reboot will result in ANY change to the system being restored, You make system changes permanent you need S-OFF.
As for your keyboard being disabled, not sure about that. Installing & using an additional keyboard shouldn't make any system changes.
dccxviii said:
That did the trick! Thanks very much
One last question then, if I flash a new ROM e.g. cyanogenMOD, will that completely replace HTC sense and thus allow me to use the built in app manager to remove apps because...there won't be anymore 'system' apps?
Click to expand...
Click to collapse
Even on CM system apps cannot be uninstalled through the Android App Manager. It's the way its designed, why would the system allow you to remove the "Android System" or "Dialer". Imagine the chaos if you uninstalled something you actually needed and Android let you do it.
You need to use 3rd Party apps (Titanium Backup) to do this, or ADB
still scared
so after rooting my HD what ARE the apps which are safe to remove?
Mat Buenaluz said:
so after rooting my HD what ARE the apps which are safe to remove?
Click to expand...
Click to collapse
If you ever want to make use of ota updates (eg to improve camera performance) then none of the 'bloatware' apps are safe to remove as removing them will prevent the ota update installing.
Sent from my HTC HD so may contain typos, bugs and, if the battery lasts, pearls of....(battery 0%)
As the tittle says getting control over your DHD, so this might be the right thread, allthough might be off topic to op's post...
Anyway my last device was a N900 and that was fully rooted with no permission limits. I've learned that the rooted DHD has some limits and i've run into one. On the N900 i used the terminal for allmost anything, flashing, copying, installing, removing etc. and would like to do so here on the DHD. My problem is that i'm trying to flash the kernel/zImage through terminal emulater but get this error - failed with error: -1. -
Any help would be great
Sorry to go off topic...
You cannot flash a kernel using terminal emulator. If you want to flash manually, get android sdk and use fastboot.exe in platform-tools to flash.
1. Reboot your device while holding vol-, it will go to bootloader
2. Select fastboot in bootloader
3. In your PC, type: "fastboot.exe flash zimage c:\any_folder\zImage"
4. Type: "fastboot.exe reboot"
After that you have to remount your DHD's system to rw state: "mount -o remount,rw /dev/block/mmcblk0p25 /system", and manually push wifi module to /system/lib/modules/ using adb. If you do not do that, your wifi does not work. You need ENG S-OFF.

NO ROOT REQUIRED - Manually Uninstall System Apps

***This will NOT work on FireOS 5.4.0.1 If your device hasn't updated to that version, it is advisable to IMMEDIATELY 'uninstall' DeviceSoftwareOTA.apk.***
I can confirm this is working on the Fire HD 8 . Here is the article from XDA with detailed instructions for newbies. Like all other hacks or tricks, I cannot be held responsible for any possible permanent damage you may cause to your devices.
**NOTE**
A factory rest will restore all SYSTEM/Amazon apps you 'uninstalled.' So if you mess your tablet, you can at least start over.
**WARNINGS**
1) If you plan on installing 3rd party apps to replace the Amazon apps you uninstalled, please install and setup your 3rd party apps BEFORE uninstalling Amazon apps. In many cases, installing replacement apps after the uninstalling of Amazon apps, causes some 3rd party apps to malfunction. You will then have to uninstall the 3rd party app or do a reset. Once you uninstall an Amazon app, you CANNOT install it again. Not even from the Google Play Store. The only way to restore any uninstalled system apps is to do a factory reset.
2) Uninstalling Fire Launcher, Retail Demo, and the Oobe settings apps, *WILL* disable your home button. If you uninstall any parental controls, your camera picture roll will not work. Recommend installing replacement camera and gallery before uninstalling Amazon's. As of July 27, 2017 9:20am a *pre uninstall* fix exists to make sure your home button stays functional. If you already uninstalled the apps listed in the following link, you will have to perform a reset and download the tool linked just below, or if you prefer manually uninstalling the apps, *avoid uninstalling*: com.amazon.kor.demo, com.amazon.firelauncher and com.amazon.kindle.otter.oobe. You can also edit the tool's .bat to keep the apps you want. This link lists all the apps you can uninstall, that will NOT affect the home button. The three listed at the top should NOT be uninstalled.
** Gloating **
1) A tool has been created that allows this process to happen automatically. A huge thanks to 'savvytechwinner' for helping for months to get us to this stage and an even bigger thanks for creating the tool, something I have no idea how to do.
2) A little gloating: We've scored a great write up on Liliputing!
You can use an app like App Inspector to view the package name of each app, rather than list all of them in a shell window. Nonetheless, I kept the list command in the code.
Here you go:
Code:
adb shell
$ pm list packages
$ pm uninstall -k --user 0 <name of package>
Example: (this removes Amazon video)
Code:
adb shell
$ pm list packages
$ pm uninstall -k --user 0 com.amazon.avod
Success
Why do you keep the data and cache directories?
This is a good thing, however, as it means that these applications truly aren’t being uninstalled from the device, they are just being uninstalled for the current user (user 0 is the default/main user of the phone). That’s why, if you omit the “–user 0” and “-k” part of the command, the command won’t work. These two commands respectively specify that the system app will only be uninstalled for the current user (and not all users, which is something that requires root access) and that the cache/data of the system application will be preserved (which can’t be removed without root access). Therefore, even if you “uninstall” a system application using this method, you can still receive official OTA updates from your carrier or OEM.
Click to expand...
Click to collapse
Source: https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/
Hallo32 said:
Why do you keep the data and cache directories?
Source: https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/
Click to expand...
Click to collapse
Fine by me. I wonder if the same method can be applied to install apps and if so, into system? This could be the chance to replace Amazon's apps with forever broken ones while we can, if possible.
Work on my Fire 7" Gen7 with 5.4.0.0.
Thank You!
DragonFire1024 said:
Fine by me. I wonder if the same method can be applied to install apps and if so, into system? This could be the chance to replace Amazon's apps with forever broken ones while we can, if possible.
Click to expand...
Click to collapse
Into system should not be possible, because you need root rights to mount /system as write able.
Hasn't there been a few tries to install modified Amazon apps which are broken? I think I have read there something on xda.
--> Firelauncher aplk https://forum.xda-developers.com/am...-remove-default-launcher-amazon-fire-t3288310
Hallo32 said:
Into system should not be possible, because you need root rights to mount /system as write able.
Hasn't there been a few tries to install modified Amazon apps which are broken? I think I have read there something on xda.
Click to expand...
Click to collapse
Yes. Another member and I have been trying to do just that. We've been trying to modify Amazon apps to either bring out block parts of that APKs software, or stop the apps from functioning at all. The closest I got was somehow managing to delete all User AND system app data and storage. Great eh? I thought so too. Until I realized I couldn't download or install anything. I tried, but haven't been able to repeat the process. So far that's as far as we've gotten.
Hallo32 said:
Into system should not be possible, because you need root rights to mount /system as write able.
Hasn't there been a few tries to install modified Amazon apps which are broken? I think I have read there something on xda.
--> Firelauncher aplk https://forum.xda-developers.com/am...-remove-default-launcher-amazon-fire-t3288310
Click to expand...
Click to collapse
That works to an extent. I tried it, replacing launcher with whatever Amazon app. It uninstalls it, but then is immediately reinstalled to another folder...usually from /system/priv-app/ to /data/app and with a different name. Though this might have been how I got all app and system app data erased...by screwing around with the DeviceOTA apk.
See edit above. ^^
But what does this mean in relation to the ota apps? Are the ota updates also deactivated?
Hallo32 said:
See edit above. ^^
But what does this mean in relation to the ota apps? Are the ota updates also deactivated?
Click to expand...
Click to collapse
I would've presumed that to be a yes, given nothing could be downloaded and or installed anymore. Everything worked fine aside from that and being able to uninstall apps. What little bit I could find on the web, no one mentioned the cause and most of them ended up with permanently damaged internal SD cards. I waited a few days after posting a thread and no one replied. So I factory reset it and everything was fine again. I wish I could repeat it.
Can we disable "special offers" using this method? Or is that part of the launcher?
If we "uninstall" the launcher, will it ask if you want to use a different installed launcher to map to the home button?
deepdvd said:
Can we disable "special offers" using this method? Or is that part of the launcher?
If we "uninstall" the launcher, will it ask if you want to use a different installed launcher to map to the home button?
Click to expand...
Click to collapse
I did special offers. Haven't tried the launcher yet.
DragonFire1024 said:
I did special offers. Haven't tried the launcher yet.
Click to expand...
Click to collapse
Does it actually remove them from the lock screen or just make the app not work?
deepdvd said:
Does it actually remove them from the lock screen or just make the app not work?
Click to expand...
Click to collapse
I don't know. I didn't have the ads.
on my kindle fire 7 on 5.3.2.1, this gives the error Failure [DELETE_FAILED_INTERNAL_ERROR].
EDIT: nevermind, i must have missed a step
I have removed most user facing apps. i have not tried the launcher or appstore.
I can confirm that you can remove everything whisperplay and the stock fire keyboard. I install the gboard before i removed the fire keyboard. I have rebooted after removing this.
Does anyone have more than their own profile on their tablet? I'm wondering if this extends to all profiles. So far, Nova, Activity Launcher, Brevent And NetGuard all say all the Amazon apps I uninstalled are gone. Has anyone tried root after nuking Amazon?
If you keep blocking individual Amazon IP addresses like I do with NetGuard, I'd keep a few apps. As long as one app keeps blocking IPs, then your firewall will still work. Otherwise I'm not sure how to block incoming connections.
Is there a list of packages which can be removed without problems?
I will need to restart from a factory reset because now the launcher crashes happily a few times after closing an app.
Hallo32 said:
Is there a list of packages which can be removed without problems?
I will need to restart from a factory reset because now the launcher crashes happily a few times after closing an app.
Click to expand...
Click to collapse
This will list all installed packages. I'm not sure if a safe list has yet been made.
Code:
adb shell
$ pm list packages
It will be a long list. Remove at YOUR own risk. One person's safe list may not be the same as yours.
DragonFire1024 said:
This will list all installed packages. I'm not sure if a safe list has yet been made.
It will be a long list. Remove at YOUR own risk. One person's safe list may not be the same as yours.
Click to expand...
Click to collapse
I've removed quite a bit so far, appstore, freetime, kindle store and app, content management because Amazon has no right to manage any of my content, managed provisions though I'm not sure that did anything, video and Amazon shopping, and a few others i can't recall at this moment. I am hoping removing prime photos later will allow me to use live wallpapers.
If this is the closest we ever get to root or a custom rom, I don't think we could've asked for something better.
@DragonFire1024
You may mention at the first post, that a factory reset will bring back the automatic update stuff if the method has been used to deactivate it.
Worst case:
* factory reset
* enable wlan conection
* tablet gets updates and installs them

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.

Debloating Using adb shell - information thread

i have been unable recently to get the lg debloater app to work. not sure why, looks like it was pulled from the app store? well there is an easier way anyways. here is my list of apps i removed via adb shell. if anyone else would like to add any other apps i think this would be a great information post on what we removed and results. did it break something? can we install an aosp app to replace it? or 3rd party and basically create a less LG device. i am sure there are more apps that can be removed then i did. i know its possible to use google search to see what com.xxx.xxx file is for, but might not give enough information to determine if removing it will break something.
letrain02 said:
i have been unable recently to get the lg debloater app to work. not sure why, looks like it was pulled from the app store?
Click to expand...
Click to collapse
It's back : https://play.google.com/store/apps/details?id=com.lgall.pdppremium
May be for a short time..
letrain02 said:
i have been unable recently to get the lg debloater app to work. not sure why, looks like it was pulled from the app store? well there is an easier way anyways. here is my list of apps i removed via adb shell. if anyone else would like to add any other apps i think this would be a great information post on what we removed and results. did it break something? can we install an aosp app to replace it? or 3rd party and basically create a less LG device. i am sure there are more apps that can be removed then i did. i know its possible to use google search to see what com.xxx.xxx file is for, but might not give enough information to determine if removing it will break something.
Click to expand...
Click to collapse
It worked great thanks, remove the beginning of the commands and the success was all I had to do and then I had to install pixel launcher because it deleted that but it works great.
js.juju said:
It worked great thanks, remove the beginning of the commands and the success was all I had to do and then I had to install pixel launcher because it deleted that but it works great.
Click to expand...
Click to collapse
Glad to hear! Yes it does remove stock home launchers.
To anyone who reads this if you want to know about the apps I have listed and what they do Google is a friend. Or again if anyone knows anything else that can be removed without causing the device to break feel free to list them. I only removed what I felt comfortable removing. I am sure there is more.
letrain02 said:
Glad to hear! Yes it does remove stock home launchers.
To anyone who reads this if you want to know about the apps I have listed and what they do Google is a friend. Or again if anyone knows anything else that can be removed without causing the device to break feel free to list them. I only removed what I felt comfortable removing. I am sure there is more.
Click to expand...
Click to collapse
The signature in LG camera doesn't work
All the Google apps can be safely removed as well
js.juju said:
The signature in LG camera doesn't work
All the Google apps can be safely removed as well
Click to expand...
Click to collapse
I don't use this feature. But all the apps are still on your device in folders in system folder if you need to reinstall them. It was possibly gallery app that was removed?
Use "pm install <path to .apk file> " they are most likely in app and priv-app folders
letrain02 said:
i have been unable recently to get the lg debloater app to work. not sure why, looks like it was pulled from the app store? well there is an easier way anyways. here is my list of apps i removed via adb shell. if anyone else would like to add any other apps i think this would be a great information post on what we removed and results. did it break something? can we install an aosp app to replace it? or 3rd party and basically create a less LG device. i am sure there are more apps that can be removed then i did. i know its possible to use google search to see what com.xxx.xxx file is for, but might not give enough information to determine if removing it will break something.[/QUOTE
Thanks for the post. i got an error for this
adb -d shell pm uninstall -k --user 0 com.mobitv.client.tmobiletvhd
Also, after removing bloat, Always on Display is not working for me. Tried restarting also. Any ideas?
Click to expand...
Click to collapse
Thanks for the post. Most of the commands worked except this one
adb -d shell pm uninstall -k --user 0 com.mobitv.client.tmobiletvhd
Also, after removing bloat, Always on Display is not working for me. Tried restarting also. Any ideas?
Maybe you didn't have TMobile tv on yours. And no idea on the AOD . Did you try reinstalling anything to see what broke it? I don't use AOD.
letrain02 said:
I don't use this feature. But all the apps are still on your device in folders in system folder if you need to reinstall them. It was possibly gallery app that was removed?
Use "pm install <path to .apk file> " they are most likely in app and priv-app folders
Click to expand...
Click to collapse
I used pm uninstall -k --user 0 com.android.calendar and it worked correctly, then to activate it again, what command would I use?
Everyone,
I have been using AcquariOS on my rooted 872, but was going to switch temporarily back to the stock Oreo, but I wanted to get rid of all TMobile and LG crap (except for the camera) and replace with GApps like I have on AcquariOS.
There is a GApps for stock ROM's and I assumed that it de-bloats, but if it doesn't, I am not sure how I would do this. Typically with a custom ROM, you install GApps before first boot and then sign into the phone as if you were a Google Pixel user.
Anyway -- was just wondering if anyone had any guidance on how to proceed as the Oreo stock ROM should be posted and flash-able via TWRP any day.
I guess I'll first try Installing GApps before first boot and then assume I have to do some de-bloating afterwards...
MW

Categories

Resources