Widget Uninstalled but not forgotten - Java for Android App Development

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>

Related

[CM7] How to run OneTimeInitializer.apk a second time?

After the first boot into CM7, this OneTimeInitializer.apk was launched and I could choose what Google Apps to install. I noticed, that I had an error during the install of one app and just realised that Gmail is missing, so I assume, it somehow failed to download this app.
So I need to run the OneTimeInitializer a second time - how can I do it?
I'm not sure about how to make it run again, but it is unnecessary since it is just a link to the Android market. Just search for 'gmail' in the market and install it that way, since that is all that apk would do anyway.
Thanks, I used MarketEnabler to grab it from the market as its seems to be available only to US ppl.
Oh, I wasn't aware that it wouldn't display for all. Glad I could help though.
I downloaded it and install via adb
But I got error:
FAIL_*_NO_CERTIFICATES
k1337Ultra said:
After the first boot into CM7, this OneTimeInitializer.apk was launched and I could choose what Google Apps to install. I noticed, that I had an error during the install of one app and just realised that Gmail is missing, so I assume, it somehow failed to download this app.
So I need to run the OneTimeInitializer a second time - how can I do it?
Click to expand...
Click to collapse

[Q] Back to old market?

Forgive me if this has been asked, I've searched for an answer and found nothing helpful...
So the new market seems to be problematic, how can I get (and keep) the old market?
IT seems like when I uninstall the updates, its the old market for awhile, then the new market installs?
Also, some items (Netflix and such) don't show up anymore in Market... what gives?
Any help would be great, and I'll click the "thanks button" for anyone who helps me
Edit: this seems to stop the market from updating...
02ranger said:
I found this posted over at the HTC Aria forum by user mtnlion and thought somebody might be interested. You can turn off the market updater (which is responsible for bringing the new market back over and over) by going to terminal emulator and typing:
Code:
$ su
# pm disable com.android.vending.updater
This can be re-enabled by doing the same as above but typing enable instead of disable. I've tested it and it appears to persist after reboot. If you already have the new market you can go to Settings > Applications > Manage Applications > All > Market > Uninstall Updates. This will revert you to the old market. Do it after disabling updater.
This doesn't stop automatic updates of apps according to the other thread. I'm sure some of you already know about this but hopefully it'll help somebody.
Click to expand...
Click to collapse
(I slightly edited the above)
Doesn't fix my issue of the missing apps though
First post...
Are you reverting to the old market because of the constant FC messages? or do you have other complaints?
kjrulz said:
First post...
Are you reverting to the old market because of the constant FC messages? or do you have other complaints?
Click to expand...
Click to collapse
Reverting back to the old market because the new market seems to be missing apps (netflix, etc etc) and the fact that the new market looks (and functions) like crap.
I have no issues with FC's... yet.
OK, well I don't want to stray your thread because I'm having a number of other issues with FC's. I'll start another thread.
Good luck.
Uninstall the market update app. (I used Titanium Backup.) Then uninstall the update and you should remain with the old market.
I can't get any updates. As soon as I start to download an update to any installed app, Market force closes. Any ideas?
Homer
Homer_S_xda said:
I can't get any updates. As soon as I start to download an update to any installed app, Market force closes. Any ideas?
Homer
Click to expand...
Click to collapse
More info Mr. Simpson..... version of CM7? Running off SD card or eMMC? Version of market? Apps with problems?
patruns said:
More info Mr. Simpson..... version of CM7? Running off SD card or eMMC? Version of market? Apps with problems?
Click to expand...
Click to collapse
Nightly 177 from SDcard.
3.0.27
build.prop is as is
Any app I try to update or install new. Here is an example at random: Solitaire by Ken Magic. Tried to install, get the download screen and boom force close.
I'm an inch away from just nuking my card and starting over. It was all happy until I tried updating the Market to the newest one and it's been in a death spiral ever since.
Thanks,
Homer
What I did, was rename marketupdater.apk to marketupdater.apk.bak.
I want to say the file is in /system/app
Then uninstall the market updates.
I don't know if it has anything to do with my market working, but I also did LCD Density to 160 fix. You can find that here on the forums pretty easily... But I read that the LCD Density fix only works a few days.
Mine's been working fine for at least the last week or so with these 2 things.
It was all happy until I tried updating the Market to the newest one and it's been in a death spiral ever since.
Click to expand...
Click to collapse
I think you answered your own question. Uninstall the market updater app. (I used Titanium Backup for this.) Then, go to the settings for the market app and uninstall the update.
I found this but haven't been able to run the linux stuff from terminal emulator (Su fails).
So I can't say if this works or not.
facebookdotcom/note.php?note_id=279479622068267 .... I'm new so I can't hotlink
I'm on SD card to, with CM7. I'd love the old marketplace back, but also settle for having all of the download icons show. (I haven't been able to save edits to my build.prop).

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