Debloating Using adb shell - information thread - T-Mobile LG G6 Guides, News, & Discussion

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

Related

Widget Uninstalled but not forgotten

Hello,
I've been trying to create a widget, and i've been using my phone to do the testing.
For some reason the phone keeps rembering an old version of the widget.
I uninstall the widget every time i re-deploy it but it still remembers the old one.
the only way i've found to get it to work is to change the package name and then install it and then it works fine.
Anybody else come across this issue ? or dose any body know how to stop this from happening ?
bobs79 said:
Hello,
I've been trying to create a widget, and i've been using my phone to do the testing.
For some reason the phone keeps rembering an old version of the widget.
I uninstall the widget every time i re-deploy it but it still remembers the old one.
the only way i've found to get it to work is to change the package name and then install it and then it works fine.
Anybody else come across this issue ? or dose any body know how to stop this from happening ?
Click to expand...
Click to collapse
Don't know if this if any help but worth trying:
I've had problems like yours when I had a multiuser setup. Uninstalling my developped app that was installed signed with the debug keystore didn't really uninstall: Playstore couldn't install the officially signed variant that was on the playstore, even though I unstalled the test app.
The only way to properly uninstall the test-app and allow the playstore to install the official one was:
Code:
adb uninstall my.package.name
. Uninstalling from the phones settings-apps-uninstall appearently was not a full uninstall
Yes, @Zatta is right. It is no full install. However, you can do that from the settings app:
Use the first user you have created when you got your phone. Then open the settings of the app. In the action bar there should be an icon. If you click it, there should be an option to uninstall it for all users.
nikwen said:
Yes, @Zatta is right. It is no full install. However, you can do that from the settings app:
Use the first user you have created when you got your phone. Then open the settings of the app. In the action bar there should be an icon. If you click it, there should be an option to uninstall it for all users.
Click to expand...
Click to collapse
unforchantly this isnt the case for me, i dont have a multi profile set up. It is really strange tho.
But implimenting the pageange name each time is annoying.
could it be somthing to do with eclipse ? is there an altertive compiler i could use ?
any suggests are welcome
Did you try uninstalling with adb? Do you van any reminants in /data/data?
is your app still present in the PackageManager?:
Code:
PackageManager mPm;
List apps = mPm.getInstalledApplications(PackageManager.GET_UNINSTALLED_PACKAGES | PackageManager.GET_DISABLED_COMPONENTS);
If you are rooted, there will also be the method to uninstall it in an adb shell or in Terminal emulator:
Code:
su
pm uninstall <package>

Changing Launcher?

I bought one of these for my mom hoping it wouldn't be so well locked down. Has anyone managed to change their launcher from the default Amazon(Ad-laden) launcher? Sideloaded Nova but no dice there.
While Nova runs fine you can't replace the amazon launcher. I believe it was possible on pre 5.1.1 fire OS. Until we get root we'll just have make do.
If you're interested in changing the default firelauncher without rooting your device, please take a quick peak at my thread discussing the possibilties.
http://forum.xda-developers.com/hd8...zon-fire-hd-8-10-remove-firelauncher-t3286646
If you are currently rooted, which as of today is not possible on HD 8 & HD 10, you simply delete the com.amazon.firelauncher.apk in /system/priv-apps/com.amazon.firelauncher/, you will need to boot into fastboot and remount the system as rw if I am correct.
I hope this helps . Again, please check my thread for non-root information, it is currently unfinished.
Here is an updated tutorial on how to change the default launcher without rooting!
http://forum.xda-developers.com/hd8-hd10/general/tut-remove-default-launcher-amazon-fire-t3288192
Edit: Found a second method that is even better!
nyln said:
Here is an updated tutorial on how to change the default launcher without rooting!
http://forum.xda-developers.com/hd8-hd10/general/tut-remove-default-launcher-amazon-fire-t3288192
Click to expand...
Click to collapse
while you're method may work, it's far from optimal.
it's not possible to just rename another launcher and replace the FireOs launcher? i suppose that would be too easy.
if it were my tablet, i'd be more inclined to play around with it. unfortunately, my mom is content enough with it how it is, though i can see it being a beast and would **** around more if it were mine.
hopefully root comes soon. unfortunately, i can't help work towards it.
when all of that is said and done, i'll build a rom and kernel for it, np.
technope said:
while you're method may work, it's far from optimal.
it's not possible to just rename another launcher and replace the FireOs launcher? i suppose that would be too easy.
if it were my tablet, i'd be more inclined to play around with it. unfortunately, my mom is content enough with it how it is, though i can see it being a beast and would **** around more if it were mine.
hopefully root comes soon. unfortunately, i can't help work towards it.
when all of that is said and done, i'll build a rom and kernel for it, np.
Click to expand...
Click to collapse
I found a new method that actually works very very well, just run this in adb shell:
Code:
#!/bin/bash
am monitor | while read -r line; do
if [[ $line == *"firelauncher"* ]]
then
[B]am start com.newlauncher.launcher[/B]
fi
done
nyln said:
I found a new method that actually works very very well, just run this in adb shell:
Code:
#!/bin/bash
am monitor | while read -r line; do
if [[ $line == *"firelauncher"* ]]
then
[B]am start com.newlauncher.launcher[/B]
fi
done
Click to expand...
Click to collapse
Little bash script like that. I'll give it a try when I have time. Sleek enough, and if effective it's great.
technope said:
Little bash script like that. I'll give it a try when I have time. Sleek enough, and if effective it's great.
Click to expand...
Click to collapse
The only downside to the script is when you press the home button, there is a delay of 500ms or so, you see the firelauncher for that time.
It is not nohup or anything so it will stop working when you close adb shell (easy to do yourself, but I am preoccupied at the moment).
Why not root?
So I was actually able to ROOT my kindle fire hd 8 with the kingroot method.
After installing the apk.
Loaded it up let it try to find a root solution and it will not but you can try rooting with the other method and it WORKED for me. Never been so happy!
So after that I loaded adb shell in command prompt and typed "su" to see if I had root and it WORKED again, so I am even more happier!
Now after typing in "su" into command prompt I then typed in,
Code:
pm disable com.amazon.firelauncher
and it was successful..
NOTE: you must have another launcher installed before you do this! I had GOLauncher.
The End <3
P.S. I had installed the necessary files from rootjunky's "Amazon Fire Tablet Tool" or also known as installing google play store method..
Any questions hit me up, I have rebooted and still have root and things intact. Haven't had any problems as of yet. WOOT for ROOT
kanderson88 said:
So I was actually able to ROOT my kindle fire hd 8 with the kingroot method.
After installing the apk.
Loaded it up let it try to find a root solution and it will not but you can try rooting with the other method and it WORKED for me. Never been so happy!
So after that I loaded adb shell in command prompt and typed "su" to see if I had root and it WORKED again, so I am even more happier!
Now after typing in "su" into command prompt I then typed in,
Code:
pm disable com.amazon.firelauncher
and it was successful..
NOTE: you must have another launcher installed before you do this! I had GOLauncher.
The End <3
P.S. I had installed the necessary files from rootjunky's "Amazon Fire Tablet Tool" or also known as installing google play store method..
Any questions hit me up, I have rebooted and still have root and things intact. Haven't had any problems as of yet. WOOT for ROOT
Click to expand...
Click to collapse
After messing around the go launcher ex is a little buggy. I might try another, currently trying to figure out how to get widgets to work and once I do ill let you know the system file.
Any ideas what I should add to the fire os? Current goal is widgets
So after doing some research I believe it won't be possible on the fire cause the system files are missing. From what I've seen I feel like the new 5 the gen tablets are all the same, can't confirm it yet but if so you should be able to follow the instruction given on the kindle 7 5th gen able about booting up into twrp or cm and installing a new Rom. I'm not sure if I want to do this though. Adw launcher feels empty without widgets though
---------- Post added at 10:39 AM ---------- Previous post was at 10:37 AM ----------
kanderson88 said:
So after doing some research I believe it won't be possible on the fire cause the system files are missing. From what I've seen I feel like the new 5 the gen tablets are all the same, can't confirm it yet but if so you should be able to follow the instruction given on the kindle 7 5th gen able about booting up into twrp or cm and installing a new Rom. I'm not sure if I want to do this though. Adw launcher feels empty without widgets though
Click to expand...
Click to collapse
But do not follow my advice unless you know what your doing. Always back up everything.
kanderson88 said:
After messing around the go launcher ex is a little buggy. I might try another, currently trying to figure out how to get widgets to work and once I do ill let you know the system file.
Any ideas what I should add to the fire os? Current goal is widgets
Click to expand...
Click to collapse
I can confirm that with the latest KingRoot apk on my HD8 (5th Generation) the rooting worked. As a launcher I had before Nova and Google Now via Play Store installed. I prefer the Google Now Launcher. The Home button, the Wallpaper and the Widgets are working. Thanks for the hot rooting tip.
schr01 said:
I can confirm that with the latest KingRoot apk on my HD8 (5th Generation) the rooting worked. As a launcher I had before Nova and Google Now via Play Store installed. I prefer the Google Now Launcher. The Home button, the Wallpaper and the Widgets are working. Thanks for the hot rooting tip.
Click to expand...
Click to collapse
Does your google play store actually work? I can get it to load but once the front page is loaded, I can't search or get anything else to load on google play. It's just a continuous load. Could you let me know what framework you have. Also I cant get widgets to work on mine. Have Adw and cant get google now to work. If you can I think you should make a posts on the HD 8 and 10 thread letting us know what you did to get where you are now. Anyways I'm going to message you in a lil bit.
So I got google launcher installed and moved it to system app and now widgets work. Only problem I'm facing now is getting google play to stay working. Sometimes log me out or just stops loading traffic to the app. Any ideas? I've uninstalled it and reinstalled it but still no.
kanderson88 said:
So I got google launcher installed and moved it to system app and now widgets work. Only problem I'm facing now is getting google play to stay working. Sometimes log me out or just stops loading traffic to the app. Any ideas? I've uninstalled it and reinstalled it but still no.
Click to expand...
Click to collapse
I had in the past the same problems. After I had uninstalled the complet apk's and reinstalled the following apk's:
Google Account Manager_4.0.3-239410.apk,
Google Play services_4.0.34 (924341-38).apk,
Google Services Framework 4.0.4-338691.apk ,
and
Google Play Store 4.4.21.apk,
I had no trouble. The Google Play Store worked now fine on my HD8 with firmware 5.1.1.
Remark: You can download the apk' from this link: https://drive.google.com/file/d/0B3yLoupCwoyrSzJEMHc3UTkzam8/edit?pref=2&pli=1
schr01 said:
I had in the past the same problems. After I had uninstalled the complet apk's and reinstalled the following apk's:
Google Account Manager_4.0.3-239410.apk,
Google Play services_4.0.34 (924341-38).apk,
Google Services Framework 4.0.4-338691.apk ,
and
Google Play Store 4.4.21.apk,
I had no trouble. The Google Play Store worked now fine on my HD8 with firmware 5.1.1.
Remark: You can download the apk' from this link: https://drive.google.com/file/d/0B3yLoupCwoyrSzJEMHc3UTkzam8/edit?pref=2&pli=1
Click to expand...
Click to collapse
Thanks. I'm gonna have to try this once I get off work. Thank you again
kanderson88 said:
After messing around the go launcher ex is a little buggy. I might try another, currently trying to figure out how to get widgets to work and once I do ill let you know the system file.
Any ideas what I should add to the fire os? Current goal is widgets
Click to expand...
Click to collapse
Please try nova.
schr01 said:
I had in the past the same problems. After I had uninstalled the complet apk's and reinstalled the following apk's:
Google Account Manager_4.0.3-239410.apk,
Google Play services_4.0.34 (924341-38).apk,
Google Services Framework 4.0.4-338691.apk ,
and
Google Play Store 4.4.21.apk,
I had no trouble. The Google Play Store worked now fine on my HD8 with firmware 5.1.1.
Remark: You can download the apk' from this link: https://drive.google.com/file/d/0B3yLoupCwoyrSzJEMHc3UTkzam8/edit?pref=2&pli=1
Click to expand...
Click to collapse
Thanks for supplying the APKs. This should help me as right now infos are jumbled all across this forum and need to be cleaned up a bit.
I'd love to do a nice/clean .bin people can flash after the dust has settled. Hopefully without kingroot. Wish I knew the kingroot devs.
Also, everyone needs to slow down. We have root in a way, but we need to make sure everyone is on the same page. Don't let this forum become a mess.
Right now, it is a huge mess.. The original root thread is smart to post on and maybe the tips and tricks thread. Stop spreading things out too much. We need it all in one place, really
technope said:
Also, everyone needs to slow down. We have root in a way, but we need to make sure everyone is on the same page. Don't let this forum become a mess.
Right now, it is a huge mess.. The original root thread is smart to post on and maybe the tips and tricks thread. Stop spreading things out too much. We need it all in one place, really
Click to expand...
Click to collapse
Yeah sorry I'm trying my best to clean up my thread a little and easy to read as much as possible. Also I figured out how to fix google play if it isn't working. Look at tips,Tricks, and the Root thread if anyone is wondering.

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.

How can I uninstall system apps?

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.

Categories

Resources