[Q] Disabling Camera on Motorola DEFY plus? - Defy Q&A, Help & Troubleshooting

Im going to a secure location site and I am wondering on how to disable the camera on my Motorola DEFY plus?
Preferably without a third party app.
Thanks

color it with a pencil XD

If you are rooted and have ADB access you can try:
In Terminal Emulator (which is a third party app, yes) type:
Code:
su
pm disable com.android.camera
Or use ADB shell to use the same command:
Code:
pm disable com.android.camera
Depending on how your ADB is set up your full command would be slightly different than just the "pm disable..." bit.
I just gave this a try and it removed my camera app no problem. Then I restored it with Titanium Backup. Which can do all of this if you have the pro version but it is a thrid party app.
Oh, and to enable you'll need to execute:
Code:
pm enable com.android.camera
If you are not rooted I don't think you can disable the camera app without a third party app.

Ok, Im afraid rooting my phone though....Its too risky, maybe not, but I just dont want to harm anything by doing it.
Is there any good apps out there to disable the camera?
I know that some agencies use a server such as (Good Technology) for this which is centrally managed and they can disable the camera along with other things remotely, but the licenses for this are too much $$$.....
Thanks
stari_alca said:
If you are rooted and have ADB access you can try:
In Terminal Emulator (which is a third party app, yes) type:
Code:
su
pm disable com.android.camera
Or use ADB shell to use the same command:
Code:
pm disable com.android.camera
Depending on how your ADB is set up your full command would be slightly different than just the "pm disable..." bit.
I just gave this a try and it removed my camera app no problem. Then I restored it with Titanium Backup. Which can do all of this if you have the pro version but it is a thrid party app.
Oh, and to enable you'll need to execute:
Code:
pm enable com.android.camera
If you are not rooted I don't think you can disable the camera app without a third party app.
Click to expand...
Click to collapse

Try this
http://forum.xda-developers.com/showpost.php?p=24621292&postcount=26

itsonlyme999 said:
Ok, Im afraid rooting my phone though....Its too risky, maybe not, but I just dont want to harm anything by doing it.
Is there any good apps out there to disable the camera?
I know that some agencies use a server such as (Good Technology) for this which is centrally managed and they can disable the camera along with other things remotely, but the licenses for this are too much $$$.....
Thanks
Click to expand...
Click to collapse
I don't know if its possible to do it without root. The camera app is a system app which is why you can't just uninstall it or freeze it. You can always try an app called SD Maid (free at play store) which will freeze apps but it needs root access. Give that a try and find the camera app within SD Maid and see if it will do it. The option within SD Maid is "freeze app". I doubt it, though.

Related

5.0.5.1 - App Blocking

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

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

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

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

Categories

Resources