Do we need proper root and custom roms for this device - Samsung Galaxy A51 Guides, News, & Discussion

Okay let me start by saying this " This device has potential " but we need some one to help unleash it
I bought this mobile a week ago and every day I cry myself to sleep regretting for opting this device and adding fuel to the fire they released the M31 with better camera and a massive battery
Do not get me wrong its has good display, nice camera and a battery that lasts almost a day. But performance wise it has been a disaster , at this price range there are other device that are really super at their performance
I tried playing pubg on this and multi task and it has been a nightmare
SO WHAT NOW
Looking into the device threads and activity and it only being a few months old , I hope that some dev will take a little interest and get us some custom roms and proper root
SO DO WE NEED TO ROOT AND CUSTOM ROMS
HELL YEAH
Reason
So i kept checking all the device settings and changing a few hoping to improve performance and battery and in the process i used an app called " ICEBOX " set it up via adb and BOOM
PUBG ran Butter smooth on HDR and high fps settings
Multi tasking was good
Battery lasted for about 36 hours ( Depends and may vary on your personal usage )
imagine what else a good custom rom can do
And then i thought may be this device hardware has been burdened with all this bloatware running in background and crappy settings and performance regulating code stuff
So with a good custom rom may be this device would get a max performance boost and other tweak stuff
I HAVE SEEN Developer ACTIVITY FOR SOME SAMSUNG DEVICES AND YOU KNOW there has been a very little hope

Can you elaborate which settings you changed and what commands you used for installing icebox

Sure
Heads up
1. You need to have the pro version to freeze more than 10 apps
2. Some of your system settings may stop working or disappear depending on the apps frozen
3. If you wish to uninstall the application you first need to defrost all the apps and then proceed to uninstall
4. some times it requires a reset is required for the app to be uninstalled { I DO NOT KNOW WHY }
Now SETUP PROCESS
just go to this page for the app Dev instructions
https://github.com/heruoxin/Ice-Box-Docs/blob/master/Device Owner (Non Root) Setup.md
1.INSTALL THE ICEBOX APP
2.REMOVE ALL YOUR ACCOUNTS { DISCONNECT G MAIL SAMSUNG WHATS APP AND OTHERS APPS }FOR ACCOUNT SETTINGS
3.HAVE USB DEBUGGING SETUP
4.CONNECT IT TO YOUR PC
4.NOW USE THE CMD
adb shell dpm set-device-owner com.catchingnow.icebox/.receiver.DPMReceiver
5.You will receive a prompt saying its activated
Now you can reconnect your accounts and start freezing

Absolutely. OneUI is, in my opinion, more substantial compared to stock in terms of design and usage. However, that experience is bogged down by junk preloaded into devices and poor optimization, despite a setting make specifically for that option. I'd love to have the choice of unlocking and using TWRP to flash custom ROMs specifically designed for this phone. Unfortunately, Samsung has been a b**** about unlocking but maybe we'll find a solution to bypass such measures? If so, that would be incredible and breathe new life into this phone, but I do believe right now we'll have to suffer on OneUI as of this moment.

whiteTee said:
Sure
Heads up
1. You need to have the pro version to freeze more than 10 apps
2. Some of your system settings may stop working or disappear depending on the apps frozen
3. If you wish to uninstall the application you first need to defrost all the apps and then proceed to uninstall
4. some times it requires a reset is required for the app to be uninstalled { I DO NOT KNOW WHY }
Now SETUP PROCESS
just go to this page for the app Dev instructions
https://github.com/heruoxin/Ice-Box-Docs/blob/master/Device Owner (Non Root) Setup.md
1.INSTALL THE ICEBOX APP
2.REMOVE ALL YOUR ACCOUNTS { DISCONNECT G MAIL SAMSUNG WHATS APP AND OTHERS APPS }FOR ACCOUNT SETTINGS
3.HAVE USB DEBUGGING SETUP
4.CONNECT IT TO YOUR PC
4.NOW USE THE CMD
adb shell dpm set-device-owner com.catchingnow.icebox/.receiver.DPMReceiver
5.You will receive a prompt saying its activated
Now you can reconnect your accounts and start freezing
Click to expand...
Click to collapse
I am curious what apps did you freeze to get better performance? I don't want to just start freezing apps willy nilly and end up freezing something that glitches out my phone.

Alfalfalaffa said:
I am curious what apps did you freeze to get better performance? I don't want to just start freezing apps willy nilly and end up freezing something that glitches out my phone.
Click to expand...
Click to collapse
am not able to insert screenshots ! whatever you freeze just do not freeze
payment service kgclient app framework it will lock your device ( and you may have to reset to get it back to normal )
Beside i had no issue of device freezing up
ill try to upload the screenshots if possible ( it says bad request in here )

whiteTee said:
Okay let me start by saying this " This device has potential " but we need some one to help unleash it
I bought this mobile a week ago and every day I cry myself to sleep regretting for opting this device and adding fuel to the fire they released the M31 with better camera and a massive battery
Do not get me wrong its has good display, nice camera and a battery that lasts almost a day. But performance wise it has been a disaster , at this price range there are other device that are really super at their performance
I tried playing pubg on this and multi task and it has been a nightmare
SO WHAT NOW
Looking into the device threads and activity and it only being a few months old , I hope that some dev will take a little interest and get us some custom roms and proper root
SO DO WE NEED TO ROOT AND CUSTOM ROMS
HELL YEAH
Reason
So i kept checking all the device settings and changing a few hoping to improve performance and battery and in the process i used an app called " ICEBOX " set it up via adb and BOOM
PUBG ran Butter smooth on HDR and high fps settings
Multi tasking was good
Battery lasted for about 36 hours ( Depends and may vary on your personal usage )
imagine what else a good custom rom can do
And then i thought may be this device hardware has been burdened with all this bloatware running in background and crappy settings and performance regulating code stuff
So with a good custom rom may be this device would get a max performance boost and other tweak stuff
I HAVE SEEN Developer ACTIVITY FOR SOME SAMSUNG DEVICES AND YOU KNOW there has been a very little hope
Click to expand...
Click to collapse
#####################################################################
Really my language is full Spanish, so forgive me if I write something wrong.
I believe that a root is not necessary to improve the SM-A515F, use the same method of ADB, uninstall garbage apk, gaining space and battery improvement. So until now I have a mobile, super optimized and they could even remove 100% bixby those who do not like that apk, but the method is by ADB, with parameters like:
pm uninstall -k --user 0 'com.android.stk' (this apk is rubbish, and with ADB you can delete it and others more ...)
So really, my opinion is that the phone is super stable and has a good performance. The only thing I found, would be to improve the operation of Dolby and put a better audio with the two speakers, otherwise everything is perfect.

As for your suggestion i looked into this guide of de-bloating bloatware and i found two adb commands
1. first one would be (as you suggested) " adb shell pm uninstall -k --user 0 "
This command does not really uninstall any apps from the storage but it makes it unavailable for the " User 0 "
I used this method and and i found some services running background despite uninstalled ( Dev Options > Running Services )
Apps like ant hal , appstore , device care , wellbeing Hiya .
2. The Second command would be " adb shell pm disable-user --user 0 " Where as this command disables the apps but will still be listed in your apps list " DISABLED "
Here i found that the "device care" and " storage booster " were force enabling some times ( But not all the other apps which i have disabled )
So i think that disable adb cmd would do be better than uninstall adb cmd
-----------------[Adb Cmd vs IceBox]----------------------------------------------------------------------------------
If you are going to use " disable " or " unistall " cmds and if your device goes crazy you can revert it either by factory reset or using cmds " adb shell pm enable "/ " adb shell cmd package install-existing "
Comparing this to "Icebox" 1. Its Easy setup
2. Need pc just for the initial setup
3. Can enable and disable just by selecting and removing them from the list
Again you will have ICEBOX running constantly in the back ground
As for stability it pretty much good , Optimization standards may differ for user to user and the same goes for the performance
so would it be the unarguable
Root alone cannot suffice better performance its the Custom Rom that does all the magic (Again Opinions may be )
I am just frustrated with the amount of bloatware it has and its mediocre performance for its price tag
-----------------------------------------------------------------------------------------------------------------------------------------
Links for " debloat list" and "enable or uninstall adb cmds" ( All thanks to them ) and these are the same apps which i froze in icebox @ Alfalfalaffa user
https://forum.xda-developers.com/galaxy-a50/how-to/heavy-debloat-ui-lag-ota-t3929189
https://forum.xda-developers.com/galaxy-a50/how-to/debloat-phone-uninstall-root-ota-t3964080

disabled more than 250 apk applications via adb
Thailand
2020-03-22
10
A515FXXU3ATC3
A515FOLM3ATC3
Download from the android site platform-tools (adb) you should get a folder with files, put in the root of the disk.
hold shift and right-click in the adb folder select launch powershell
enable usb debugging on the phone
. \\ adb (start)
. \\ adb devices (connected)
. \\ adb shell pm list packages -d (which apk are disabled)
. \\ adb shell pm list packages (which apk are installed)
(example, delete data from apk)
. \\ adb shell pm clear --user 0 com.microsoft ...
(example, remove completely apk)
. \\ adb shell pm uninstall --user 0 com.microsoft ...
(example, delete apk but leave data)
. \\ adb shell pm uninstall -k --user 0 com.microsoft ...
(example, install apk (return as it was))
. \\ adb shell cmd package install-existing com.microsoft ...
(example, disable apk)
. \\ adb shell pm disable-user com.microsoft ... (for all)
. \\ adb shell pm disable-user --user 0 com.microsoft ... (with you)
I personally used
. \\ adb shell pm clear --user 0 com.microsoft ...
. \\ adb shell pm uninstall --user 0 com.microsoft ...
(com.microsoft ... this is an apk example, everywhere)
total. the phone was fully charged after the procedures. Installed programs from fdroid. put on a shelf. exactly a month has passed !!! Now the charge is 52% !!! consumption a little more than 1% per day in a calm state !!! fantastic!!!
I don’t use the phone. I need a root. I need to install a firewall. so that the system and applications that do not need to, do not know about the existence of the network. This is the main reason for getting root should be for everyone. the rest is secondary. give the root. you are welcome. Sorry for my English. all health and good mood!

GuestD2795 said:
Sure
Heads up
1. You need to have the pro version to freeze more than 10 apps
2. Some of your system settings may stop working or disappear depending on the apps frozen
3. If you wish to uninstall the application you first need to defrost all the apps and then proceed to uninstall
4. some times it requires a reset is required for the app to be uninstalled { I DO NOT KNOW WHY }
Now SETUP PROCESS
just go to this page for the app Dev instructions
https://github.com/heruoxin/Ice-Box-Docs/blob/master/Device Owner (Non Root) Setup.md
1.INSTALL THE ICEBOX APP
2.REMOVE ALL YOUR ACCOUNTS { DISCONNECT G MAIL SAMSUNG WHATS APP AND OTHERS APPS }FOR ACCOUNT SETTINGS
3.HAVE USB DEBUGGING SETUP
4.CONNECT IT TO YOUR PC
4.NOW USE THE CMD
adb shell dpm set-device-owner com.catchingnow.icebox/.receiver.DPMReceiver
5.You will receive a prompt saying its activated
Now you can reconnect your accounts and start freezing
Click to expand...
Click to collapse
Hello! PLEASE, I need help - ICEBOX it is a MUST for me.
I have A71 with the latest Firmware ( september U.I. 2.1)
I sign out from all accounts and I delete fingerprint and the login passord, I uncheck or unninstall all ap with admin permission, I check the debug USB in developer menu ....but I get this error:
PS C:\adb> adb shell dpm set-device-owner com.catchingnow.icebox/.receiver.DPMReceiver
java.lang.RuntimeException: Can't set package ComponentInfo{com.catchingnow.icebox/com.catchingnow.icebox.receiver.DPMReceiver} as device owner.
at com.android.commands.dpm.Dpm.runSetDeviceOwner(Dpm.java:204)
at com.android.commands.dpm.Dpm.onRun(Dpm.java:115)
at com.android.internal.os.BaseCommand.run(BaseCommand.java:56)
at com.android.commands.dpm.Dpm.main(Dpm.java:41)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:342)
P.S. I tried even with clean fw after reset the mobile and I get the same error again and again!

Hello,
You can try this
Note:
1. Your phone Unlock Bootloader >> Click here for tutorial Unlock Bootloader
2. TWRP >> Click here to install TWRP for A51
3. Making GSI_Flasher >> Click here how to make GSI Flasher
Link download
Havoc-OS-v3.12-20201230-Official-GApps-arm64-ab.img.xz
All files >> Click here
My thread
https://forum.xda-developers.com/t/...al-android-10-for-samsung-galaxy-a51.4212741/

GuestD2795 said:
Okay let me start by saying this " This device has potential " but we need some one to help unleash it
I bought this mobile a week ago and every day I cry myself to sleep regretting for opting this device and adding fuel to the fire they released the M31 with better camera and a massive battery
Do not get me wrong its has good display, nice camera and a battery that lasts almost a day. But performance wise it has been a disaster , at this price range there are other device that are really super at their performance
I tried playing pubg on this and multi task and it has been a nightmare
SO WHAT NOW
Looking into the device threads and activity and it only being a few months old , I hope that some dev will take a little interest and get us some custom roms and proper root
SO DO WE NEED TO ROOT AND CUSTOM ROMS
HELL YEAH
Reason
So i kept checking all the device settings and changing a few hoping to improve performance and battery and in the process i used an app called " ICEBOX " set it up via adb and BOOM
PUBG ran Butter smooth on HDR and high fps settings
Multi tasking was good
Battery lasted for about 36 hours ( Depends and may vary on your personal usage )
imagine what else a good custom rom can do
And then i thought may be this device hardware has been burdened with all this bloatware running in background and crappy settings and performance regulating code stuff
So with a good custom rom may be this device would get a max performance boost and other tweak stuff
I HAVE SEEN Developer ACTIVITY FOR SOME SAMSUNG DEVICES AND YOU KNOW there has been a very little hope
Click to expand...
Click to collapse
Custom ROM for A51 >> https://forum.xda-developers.com/t/rom-a515x-refinedui-v1-0-oneui2-1-android10.4220373/

Related

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

You can disable all system apps without root even those that cannot be disabled from Settings - like Mcafee an LG Health:
- Install adb
- connect your phone and turn on usb debugging
- find the name of the app you want to block with:
adb shell pm list packages
(You can filter the results on windows by adding | findstr "TERM" or | grep "TERM" on linux / mac where you would replace TERM with the word you are looking for. This would look like:
- adb shell pm list packages | findstr "inputmethod"
adb shell pm list packages | grep "inputmethod"
- "Hide" the app with:
adb shell pm hide "packagename"
(where you would replace "packagename" with the name acquired in step 3)
(https://www.reddit.com/r/Android/comments/3eav7t/get_rid_of_unwanted_system_apps_adb_shell_pm_hide/)
I thought it just hides apps, but I googled it and it seams it really disables apps. I tried it with com.lge.mlt, Mcafee and LG Health and now I get more than 5 hours of SoT compared to 3 hours before.
If you have LG PC Suite installed, you already have working adb in its folder...
Little correction to above manual: Once you run adb shell you don't have to keep running it. You're already in the shell.
adb shell
pm list packages -e (the e will show only ones that are enabled)
pm hide "package.name"
exit
Error: java.lang.SecurityException: Neither user 2000 nor current process has android.permission.MANAGE_USERS.
KuGeL94 said:
Error: java.lang.SecurityException: Neither user 2000 nor current process has android.permission.MANAGE_USERS.
Click to expand...
Click to collapse
It worked when the initial post was made - seems that Android stopped that in an update around August 2016.
However, since this comes up high on a google search (which I just did) I thought I'd post for anyone running across it.
You can achieve similar on even Oreo, at least on a Huawei device, by using "pm uninstall -k --user 0 packagename" (Replace packagename with relevant full package name).
This uninstalls the app for the current user only (user 0) (so doesn't need root) so if you do a factory reset (and I guess an OTA upgrade) the app will return. It does seem to uninstall rather than hide though - so obviously be cautious and take a back up first in case you have to do a factory reset.
Hope that helps the next person finding this thread on a search!
gonzo99 said:
It worked when the initial post was made - seems that Android stopped that in an update around August 2016.
However, since this comes up high on a google search (which I just did) I thought I'd post for anyone running across it.
You can achieve similar on even Oreo, at least on a Huawei device, by using "pm uninstall -k --user 0 packagename" (Replace packagename with relevant full package name).
This uninstalls the app for the current user only (user 0) (so doesn't need root) so if you do a factory reset (and I guess an OTA upgrade) the app will return. It does seem to uninstall rather than hide though - so obviously be cautious and take a back up first in case you have to do a factory reset.
Hope that helps the next person finding this thread on a search!
Click to expand...
Click to collapse
Ha! yeah, I was just doing some research and you are right on all three accounts.
1. This is top in google search
2. The PM Uninstall command works great!
3. Its really really gone so be careful!
gonzo99 said:
It worked when the initial post was made - seems that Android stopped that in an update around August 2016.
However, since this comes up high on a google search (which I just did) I thought I'd post for anyone running across it.
You can achieve similar on even Oreo, at least on a Huawei device, by using "pm uninstall -k --user 0 packagename" (Replace packagename with relevant full package name).
This uninstalls the app for the current user only (user 0) (so doesn't need root) so if you do a factory reset (and I guess an OTA upgrade) the app will return. It does seem to uninstall rather than hide though - so obviously be cautious and take a back up first in case you have to do a factory reset.
Hope that helps the next person finding this thread on a search!
Click to expand...
Click to collapse
should become a sticky. we could make a script for samsung bloatware
gonzo99 said:
It worked when the initial post was made - seems that Android stopped that in an update around August 2016.
However, since this comes up high on a google search (which I just did) I thought I'd post for anyone running across it.
You can achieve similar on even Oreo, at least on a Huawei device, by using "pm uninstall -k --user 0 packagename" (Replace packagename with relevant full package name).
This uninstalls the app for the current user only (user 0) (so doesn't need root) so if you do a factory reset (and I guess an OTA upgrade) the app will return. It does seem to uninstall rather than hide though - so obviously be cautious and take a back up first in case you have to do a factory reset.
Hope that helps the next person finding this thread on a search!
Click to expand...
Click to collapse
Thanks, this is exactly what I was looking for. Even on Marshmallow, the hide and unblock commands don't work, so this is probably the only way to get rid of bloatware. But the uninstall command is a bit dangerous since the changes are permanent, is there a way to get the app back once uninstalled?
Great, the pm uninstall command working perfectly on a MI6 without root, I've successfully removed some annoying apps
This didn't work on my Samsung but I am not surprised.
iloveoreos said:
This didn't work on my Samsung but I am not surprised.
Click to expand...
Click to collapse
I have a galaxy note 9 with Oreo and I do not want to update it to Pie so i was trying to disable com.wssyncmlmd but with no success with the commands in this thread, the problem is that I want to disable it, not uninstall it!
If you want to uninstall bloatware apps you can use:
pm uninstall -k --user 0 "app.name"
I can tell you it works uninstalling system apps like linkedin and facebook
If you could help me figuring out a way to only disable (or at least back up) the system update app I'd be very thankful!
prahladyeri said:
Thanks, this is exactly what I was looking for. Even on Marshmallow, the hide and unblock commands don't work, so this is probably the only way to get rid of bloatware. But the uninstall command is a bit dangerous since the changes are permanent, is there a way to get the app back once uninstalled?
Click to expand...
Click to collapse
Yes just run
adb shell pm unhide "packagename"

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.

[TIPS] [HOW TO] [NO ROOT] [ADB] [6.0+] Better Battery Life & Multitasking

Yo guys! Today I’m gonna share to you some lil’ tips for better battery life WITHOUT ROOT.
If your device already rooted I’m pretty sure you won’t get profit that much by using below tips (Greenify already done those jobs or find another thread you can do with it).
By following this may disrupt your apps function so I don’t care, you are fully responsible of your device.
Consider the big cons for this whole tips is you have to run below apps server from ADB once after your device reboot.
(I can live with that cz I’m rarely reboot my device )
D.W.Y.O.R​
Click to expand...
Click to collapse
This thread aim for better battery life (of course) through stopping unnecessary wakelock & useless running background apps this may give you more available free RAM.
HIGHER ANDROID API = BETTER COMPATIBILITY
(I’m highly recommends minimum Android 6.0+)​
Preparation & Explanation
ADB: Download from HERE and setup as insctructed.
You can skip if ADB already install in your pc, however in case ADB can’t detect your device it may require driver depending on model manufacturer
Brevent: Download from playstore HERE
IMO this app works better than Greenify for NON ROOT user, provides us to custom brevent method, how long we want put apps to background mode or standby mode. EZ step below:
Install Brevent from playstore link above
Plug your device to pc with usb debugging enabled
Open cmd / terminal within adb folder (shift + right click)
Type
Code:
adb -d shell sh /data/data/me.piebridge.brevent/brevent.sh
Open brevent
Setting as your need
If you rebooted device then repeat step 2 to 4
Note: If you dislike this way choose Greenify. Don’t disable usb debugging on Android 8.0+. Repeat step above once you restart device. Original thread here.
AppOps: Download from playstore HERE
Missing appops xposed module? Here we go just install from PS link above. Read description carefully I think even noob like me will understand.
Shizuku Manager: Download from playstore HERE
Familiar with Magisk or Xposed? So you won’t face any difficult using this one which is needed by AppOps to run. Full setup steps are in the description within app:
Install Shizuku from playstore link above
Plug your device to pc with usb debugging enabled
Open cmd / terminal within ADB folder (shift + right click)
Type
Code:
adb -d shell sh /sdcard/Android/data/moe.shizuku.privileged.api/files/start.sh
Open Shizuku app
Tap on authorized to get token and allow AppOps
If you rebooted device then repeat step 2 to 4
Since here, you can use AppOps as you wish nearly the same as AppOps xposed module did alongside Brevent. Shizuku are safe to brevented while AppOps not, so you have to whitelist it.
Another tips is disable carrier / manufacturer’s bloatware as much possible using script
Code:
adb -d shell pm uninstall -k --user 0 <name of package>
​
Tested with:
Xperia XZ1 Compact - 8.0 Non Rooted
Samsung S7 Edge - 7.0 Non Rooted​
ryandxter said:
Yo guys! Today I’m gonna share to you some lil’ tips for better battery life WITHOUT ROOT.
If your device already rooted I’m pretty sure you won’t get profit that much by using below tips (Greenify already done those jobs or find another thread you can do with it).
This thread aim for better battery life (of course) through stopping unnecessary wakelock & useless running background apps this may give you more available free RAM.
HIGHER ANDROID API = BETTER COMPATIBILITY
(I’m highly recommends minimum Android 6.0+)
Preparation & Explanation
Install Brevent from playstore link above
Open cmd / terminal within adb folder (shift + right click)
Open brevent
If you rebooted device then repeat step 2 to 4
Note: If you dislike this way choose Greenify. Don’t disable usb debugging on Android 8.0+. Repeat step above once you restart device. Original thread here.
[/LIST]
Install Shizuku from playstore link above
Open cmd / terminal within ADB folder (shift + right click)
Open Shizuku app
If you rebooted device then repeat step 2 to 4
[/LIST]
Since here, you can use AppOps as you wish nearly the same as AppOps xposed module did alongside Brevent. Shizuku are safe to brevented while AppOps not, so you have to whitelist it.
Another tips is disable carrier / manufacturer’s bloatware as much possible using script
Tested with:
Xperia XZ1 Compact - 8.0 Non Rooted
Samsung S7 Edge - 7.0 Non Rooted
Click to expand...
Click to collapse
Why's is there no communication on this lol, decent thread.
Thank you!!!! This not only helped me save battery, also showed me a new app that I desperately been looking for (Shizulu Manager)
ryandxter said:
Yo guys! Today I’m gonna share to you some lil’ tips for better battery life WITHOUT ROOT.
If your device already rooted I’m pretty sure you won’t get profit that much by using below tips (Greenify already done those jobs or find another thread you can do with it).
This thread aim for better battery life (of course) through stopping unnecessary wakelock & useless running background apps this may give you more available free RAM.
HIGHER ANDROID API = BETTER COMPATIBILITY
(I’m highly recommends minimum Android 6.0+)​
Preparation & Explanation
ADB: Download from HERE and setup as insctructed.
You can skip if ADB already install in your pc, however in case ADB can’t detect your device it may require driver depending on model manufacturer
Brevent: Download from playstore HERE
IMO this app works better than Greenify for NON ROOT user, provides us to custom brevent method, how long we want put apps to background mode or standby mode. EZ step below:
Install Brevent from playstore link above
Plug your device to pc with usb debugging enabled
Open cmd / terminal within adb folder (shift + right click)
Type
Code:
adb -d shell sh /data/data/me.piebridge.brevent/brevent.sh
Open brevent
Setting as your need
If you rebooted device then repeat step 2 to 4
Note: If you dislike this way choose Greenify. Don’t disable usb debugging on Android 8.0+. Repeat step above once you restart device. Original thread here.
AppOps: Download from playstore HERE
Missing appops xposed module? Here we go just install from PS link above. Read description carefully I think even noob like me will understand.
Shizuku Manager: Download from playstore HERE
Familiar with Magisk or Xposed? So you won’t face any difficult using this one which is needed by AppOps to run. Full setup steps are in the description within app:
Install Shizuku from playstore link above
Plug your device to pc with usb debugging enabled
Open cmd / terminal within ADB folder (shift + right click)
Type
Code:
adb -d shell sh /sdcard/Android/data/moe.shizuku.privileged.api/files/start.sh
Open Shizuku app
Tap on authorized to get token and allow AppOps
If you rebooted device then repeat step 2 to 4
Since here, you can use AppOps as you wish nearly the same as AppOps xposed module did alongside Brevent. Shizuku are safe to brevented while AppOps not, so you have to whitelist it.
Another tips is disable carrier / manufacturer’s bloatware as much possible using script
Code:
adb -d shell pm uninstall -k --user 0 <name of package>
​
Tested with:
Xperia XZ1 Compact - 8.0 Non Rooted
Samsung S7 Edge - 7.0 Non Rooted​
Click to expand...
Click to collapse
Thank You
I'm having trouble with the app. it doesn't seem to be Force stopping any of the applications

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.

Fossil gen5 trying de-bloat

Hi to everyone, i'm new with adb and all this things, but not new on modding my phone throw custom recovery.
I have a fossil gen5, and I was trying to install ticwatch apps throw adb by pushing the apk in the storage of my watch and then install them. Some apps i installed them, like ticsleep and ticpulse, but tichealt was showing like i have it already on my watch, so I googled and find that i had to de-bloat my watch because of this ****ty apps. So i was trying some guide, but all of the guides was showing that i had to use "pm uninstall --user 0 com.mobvoi.wear.health.aw" all fine, if it goes well, but it doesn't, my error is "Failure not installed for 0". So i pm the enabled and disabled packages, and they don't figured out in this list, but usign "adb -s 192.168.1.24:5555 shell pm list packages -u" they shows up... My guess is, what can I do? I really want to remove this apps from my watch!
I tried to do the same, but noticed that article is a couple years old, and all the apps he warns against are not in the newest version of the Gen 5 (I have a Carlyle HR a few days old now).
So it seems they already debloated possibly to improve battery life in the long run.
I mainly did the steps to turn off things like tilt to wake etc etc.
Long story short, that guide you're referring to is outdated and no longer relevant because you'll notice none of those apps are present on the installed package list.
Ps the way I did it, since the watch can connect to wifi and have wireless debugging, I just connected adb direct to the watch rather than going thru the phone.

Categories

Resources