[GUIDE] Debloat your Realme X2 to get more free RAM - Realme X2 Guides, News, & Discussion

Install ADB Drivers properly .This is really important
Video Tutorial : Debloat any Realme/Oppo phone
Then open command windows in adb directory and type adb devices,then authorize it from your phone .
After you have done it ,type adb shell ,it should open adb shell.
Then just paste all the text from my script ,it will automatically debloat.
Debloat files :
For ColorOS :- https://drive.google.com/open?id=1JXUjy7O2rOpu55i7jzxIJnPer3idRyv4
For RealmeUI :- https://drive.google.com/file/d/1OUuz6BmKqrNpwrUrQLHK8Inkd6vVRs-Q/view?usp=sharing
Thanks for reading.

Is it necessary to unlock the bootloader for this?

chandruj93 said:
Is it necessary to unlock the bootloader for this?
Click to expand...
Click to collapse
Not necessary, you can debloat with locked bootloader

Thanks

Sorry, doing this void my warranty?

ganadoro said:
Sorry, doing this void my warranty?
Click to expand...
Click to collapse
No, debloating doesn´t void your warranty

anyone tried this? is it safe?

mrYogii said:
anyone tried this? is it safe?
Click to expand...
Click to collapse
I've done this many times since 8 months ago with color os 6, just be careful with what you're removing some of this apps are essential for some part of other software related apps, although there are alternatives like google apps so mostly no problem in removing the whole.

Can we edit the file and delete include apps according to our convience?

I did....and now the "Software updates" in settings is now missing.

did you have any solution ??

I am also missing Software update in settings now. When you search for it, it does display in the list but you can't tap it. Which of the apps in the list is responsible for Software Updates? Is it com.oppo.ota?
Can I restore that app somehow?

I've found a solution for the missing Software Updates in the Youtube comments. Run this in an adb shell to restore the updates:
pm install-existing com.oppo.otaui
pm install-existing com.oppo.ota
It is also noteworthy that the script won't uninstall Market and Themestore. You would need to root your phone and start a shell as SU to be able to do that.

Related

App Locking Without Root for Z4?

Hello All,
Given the fact that Z4 cannot be rooted without sacrificing the DRM keys, I was wondering if anyone knows any programs out there that can lock/disable apps without root. Previously I used Titanium Backup to disable apps on my rooted phone, but now I have switched to Z4 so that won't work anymore. Any suggestions/advices are greatly appreciated!
Thanks for the help!
projectseahorse said:
Hello All,
Given the fact that Z4 cannot be rooted without sacrificing the DRM keys, I was wondering if anyone knows any programs out there that can lock/disable apps without root. Previously I used Titanium Backup to disable apps on my rooted phone, but now I have switched to Z4 so that won't work anymore. Any suggestions/advices are greatly appreciated!
Thanks for the help!
Click to expand...
Click to collapse
1) You should be able to disable apps in the application manager in settings, long press on selected apps then you should have a disable option
2) Else Try this with ADB pm cmd (package manager)
usage: pm [list|path|install|uninstall]
exemple :
Unable USB debugging
launch a dos cmd on your comp and navigate to the folder where you installed adb
type :
adb shell pm list packages -s ---> list only system packages
adb shell pm disable "PACKAGE NAME"'
also :
pm enable to enable a disabled package
pm uninstall to delete package
etc .....
@ibis69 Thank you for the reply. I'm not very tech savvy, is ADB pm cmd a program that will give me the command prompt on the phone?
projectseahorse said:
@ibis69 Thank you for the reply. I'm not very tech savvy, is ADB pm cmd a program that will give me the command prompt on the phone?
Click to expand...
Click to collapse
ok then try solution 1)
@ibis69 Hello. So I'm at Settings/Apps (under device section) and when I'm in Apps, I see downloaded, running, and etc. When I long press an app in there, it takes me to the same place as a short press, which gives me the option to force stop, uninstall, clear data, and clear cache. I did not see a disable option. Am I in the right location?
Thank you for your continued help! I really appreciate it!
only ROM apps can be disabled
@projectseahorse
Am I in the right location?
Click to expand...
Click to collapse
Yes, one click is enough.
You are looking for the option "deactivate/disable"
This shows up only for apps that came with(in) the ROM.
These might be the pesky ones you had to get rid of with Titanium Backup.
The other ones (no button) can be just deinstalled.
Reason:
Playstore app installs apps into user space and can later deinstall them at your will.
ROM apps are on the system partition and this is read only. root can remount it rw.
But at least you can try to deactivate the apps there. Be careful - some apps are necessary to run the system!

uninstall bloatware, method and which application remove

Hi. good day. I am new, I see that it is an excellent community, where they help others.
I received the xz1c a few days ago, the phone is fast, incredible I love it, I had z1c and z5c, I'm from Paraguay.
I want to know how to remove bloatware and tutorial from how to do it and safe applications to remove.
read about the command 'adb uninstall --user 0 <package name>'
but I would like some tutorial to do it right
With regard to many of the 3rd party applications which are installed by default, and which cannot be removed entirely: If you disable them the "stubs" that are left only take up a few KB of space and will not be automatically updated. I believe you run the fewest risks of other problems if you handle it in this way.
Cryte-k said:
read about the command 'adb uninstall --user 0 <package name>'
but I would like some tutorial to do it right
Click to expand...
Click to collapse
In order for you to avoid mistake, here is what I've done on mine:
1) Under your application list, force stop app, then delete cache, delete data and finally deactivate the app
2) If not already done, activate developer option, by tapping 7 time on build version
3) Enable USB debugging only
4) Download android platform tools from official developer website according your OS, unzip tools into a folder, and open a cmd console from there
4) Plug you device, do not select any option
5) Test your connection by typing C:\>adb devices to see if your phone is correctly seen by your computer, accept any prompt from your devices if any, and yours should appear on the list under the console. This tuto is still useful if needed on this step
6) Then enter this following command to get the list of any deactivated application
Code:
C:\Users\baudbox\Downloads\platform-tools>adb shell pm list packages -d
package:com.sonymobile.deqp
package:com.google.android.apps.work.oobconfig
package:com.google.android.webview
package:com.sonyericsson.xhs
package:com.google.android.videos
7) Finally remove each dedicated application, one by one by the following command:
Code:
C:\Users\baudbox\Downloads\platform-tools>adb shell pm uninstall -k --user 0 com.google.android.videos
Success
You should have a Success at the line.
If you have any doubt of the package name, just grab the name and browse either on xda or internet to find out what to which app belongs the package name.
Hope that helps
Does anyone have a full list of which ones they disabled / are safe to disable?
need an access root?
is it root access? or still as an official software?
baudbox said:
In order for you to avoid mistake, here is what I've done on mine:
1) Under your application list, force stop app, then delete cache, delete data and finally deactivate the app
2) If not already done, activate developer option, by tapping 7 time on build version
3) Enable USB debugging only
4) Download android platform tools from official developer website according your OS, unzip tools into a folder, and open a cmd console from there
4) Plug you device, do not select any option
5) Test your connection by typing C:\>adb devices to see if your phone is correctly seen by your computer, accept any prompt from your devices if any, and yours should appear on the list under the console. This tuto is still useful if needed on this step
6) Then enter this following command to get the list of any deactivated application
Code:
C:\Users\baudbox\Downloads\platform-tools>adb shell pm list packages -d
package:com.sonymobile.deqp
package:com.google.android.apps.work.oobconfig
package:com.google.android.webview
package:com.sonyericsson.xhs
package:com.google.android.videos
7) Finally remove each dedicated application, one by one by the following command:
Code:
C:\Users\baudbox\Downloads\platform-tools>adb shell pm uninstall -k --user 0 com.google.android.videos
Success
You should have a Success at the line.
If you have any doubt of the package name, just grab the name and browse either on xda or internet to find out what to which app belongs the package name.
Hope that helps
Click to expand...
Click to collapse
j_rindra said:
is it root access? or still as an official software?
Click to expand...
Click to collapse
Nope, no root access is needed.
Anyone know the package name for whats new? Hate that stupid app and I can't disable it so I can't find it with the above method.
Thanks
Frontier3 said:
Anyone know the package name for whats new? Hate that stupid app and I can't disable it so I can't find it with the above method.
Thanks
Click to expand...
Click to collapse
com.sonymobile.entrance
Here is a list of safe applications to uninstall .. is in German. but it is understood.{
https://www.android-hilfe.de/forum/...pps-bloatware-entfernen-ohne-root.852451.html
pbarrette said:
com.sonymobile.entrance
Click to expand...
Click to collapse
Thank you!
Future update
i mean if i deleted those file, my software still official?
am i still getting update from sony in the future?
baudbox said:
Nope, no root access is needed.
Click to expand...
Click to collapse
j_rindra said:
i mean if i deleted those file, my software still official?
am i still getting update from sony in the future?
Click to expand...
Click to collapse
Regarding your question, yes you'll still get sony updates. For some for which name contains "sony", regarding the list, it worth to check what it does (ie. com.google.android.gm = gmail, so if you use gmail, you should keep it).
Smart move to disable the apps to have something to find them by in adb! :good:
I do wonder however, why would you use the -k option to pm uninstall? Isn't that to preserve app data and cache? Is there any danger in removing it all, ie without -k (hope not, I recently did that for both my and my wife's phones... )?
baudbox said:
Code:
C:\Users\baudbox\Downloads\platform-tools>adb shell pm uninstall -k --user 0 com.google.android.videos
Success
Click to expand...
Click to collapse
is there any way to reinstall this packages? i see you're using -k to preserve the app data. i uninstalled something i just realised i needed.
budiii said:
is there any way to reinstall this packages? i see you're using -k to preserve the app data. i uninstalled something i just realised i needed.
Click to expand...
Click to collapse
by resetting the device
switcher said:
by resetting the device
Click to expand...
Click to collapse
did exactly that. and it worked.
hate to redo all the setup process, so others please be aware.
In my efforts to troubleshoot battery drain, I found that "Advanced Logging" was using a lot of my battery. A quick Google search shows that it's part of the Support app and involved in sending usage data (which I have unchecked and declined consent in the Support app): https://talk.sonymobile.com/t5/Xperia-XZ/Advanced-Logging-Spyware/td-p/1180249
Can this safely be disabled via ADB? Any idea what the package name is? For now I've just Greenified it and will see if that helps.
budiii said:
hate to redo all the setup process, so others please be aware.
Click to expand...
Click to collapse
To save data all you do is flash the system, you'll still have to disable apps and stuff but won't have to start from scratch like you do when you do a full wipe.
jrbmed08 said:
Can this safely be disabled via ADB? Any idea what the package name is?
Click to expand...
Click to collapse
I have done with no issues, - pm uninstall -k --user 0 com.sonymobile.support
jrbmed08 said:
Any idea what the package name is? For now I've just Greenified it and will see if that helps.
Click to expand...
Click to collapse
com.sonymobile.advancedlogging
No need to freeze the support app then. Please give feedback if it works.
shaftenberg said:
com.sonymobile.advancedlogging
No need to freeze the support app then. Please give feedback if it works.
Click to expand...
Click to collapse
The ADB command was successful but it doesn't seem to have solved my wakelock problem. Still, even with the setting for usage stats off and consent declined in the Support app, the Advanced Logging app was reported as using data and battery in the background, so good riddance!
Edit: System Update force closes after doing this and upgrading to .8.49. I'm not sure which one of those actions caused the problem, but reflashing my firmware minus userdata did not fix it, so I'm thinking it's possibly due to removing Advanced Logging.

Help!!! my note 8 stuck in "system ui has stopped

Hi, just now I upgrade to the the last Samsung update and now I got the error.
The AOD is work and I got notification tone but can not enter to the phone.
I enter to safemode and still the same.
I hope there is a way to solved it without erase the phone.
I can't enter to download mode because I can't close the phone
What should I do?
SAME TO MEE... OMG!!! ****ing samsung send me this update|
i even cannot call any one with this phone right now ..
I did a factory reset and now i need to spend hours to download and customized all over again!!
I think it's because the tweaks and system modes of Substratum.
I think that on the next time we should delete all of the system modes.
Hope some one can approve it because I really don't want to get through this again.
What make it to a sad joke is that the update is not what i thought it was, still I don't have the new Samsung VPN.
All for nothing!!!
soilentgreen said:
I did a factory reset and now i need to spend hours to download and customized all over again!!
I think it's because the tweaks and system modes of Substratum.
I think that on the next time we should delete all of the system modes.
Hope some one can approve it because I really don't want to get through this again.
What make it to a sad joke is that the update is not what i thought it was, still I don't have the new Samsung VPN.
All for nothing!!!
Click to expand...
Click to collapse
Correct, you have to uninstall all your layers and substratrum mods before accepting the OTA. I just saw this but you can boot into safe mode while system ui is fc and uninstall all the mods there and you should be good when you boot out of safe mode. No factory data reset needed.
soilentgreen said:
Hi, just now I upgrade to the the last Samsung update and now I got the error.
The AOD is work and I got notification tone but can not enter to the phone.
I enter to safemode and still the same.
I hope there is a way to solved it without erase the phone.
Click to expand...
Click to collapse
I posted this before in another thread...
I was able to fix it without factory resetting my phone. To do it, connect your phone to a pc (pc that you previously connected your phone to and always allowed access), in cmd with adb, run "adb shell pm list packages > whateveryouwanttonameit.txt" and look through the text file for apps you installed that changed your status bar. Then in cmd run "adb uninstall com.appyouwanttouninstall". I did 4 among many, checked my phone, and didn't get the system ui has stopped messages
houboy said:
I posted this before in another thread...
I was able to fix it without factory resetting my phone. To do it, connect your phone to a pc (pc that you previously connected your phone to and always allowed access), in cmd with adb, run "adb shell pm list packages > whateveryouwanttonameit.txt" and look through the text file for apps you installed that changed your status bar. Then in cmd run "adb uninstall com.appyouwanttouninstall". I did 4 among many, checked my phone, and didn't get the system ui has stopped messages
Click to expand...
Click to collapse
Thanks for the tip! Rather than saving to text I just used one window to output the packages to stdout, while I used another to do the uninstalls. Removing these two packages fixed the issue:
com.android.settings.SwiftDark.Android8defaultgrey.SamsungS8
com.android.systemui.SwiftDark.SamsungS8
how can u access to cmd with adb ?
houboy said:
I posted this before in another thread...
I was able to fix it without factory resetting my phone. To do it, connect your phone to a pc (pc that you previously connected your phone to and always allowed access), in cmd with adb, run "adb shell pm list packages > whateveryouwanttonameit.txt" and look through the text file for apps you installed that changed your status bar. Then in cmd run "adb uninstall com.appyouwanttouninstall". I did 4 among many, checked my phone, and didn't get the system ui has stopped messages
Click to expand...
Click to collapse
Hello, give me tutorial, how can i uninstall apk from pc ?
i can access cmd but how can i uninstalled apk ?
please help,,,
Thanks,
Thank you for all the answers.
ggrant3876 said:
Correct, you have to uninstall all your layers and substratrum mods before accepting the OTA. I just saw this but you can boot into safe mode while system ui is fc and uninstall all the mods there and you should be good when you boot out of safe mode. No factory data reset needed.
Click to expand...
Click to collapse
But I did boot into safe mode and the phone continued to stuck on "system ui has stopped"
houboy said:
I posted this before in another thread...
I was able to fix it without factory resetting my phone. To do it, connect your phone to a pc (pc that you previously connected your phone to and always allowed access), in cmd with adb, run "adb shell pm list packages > whateveryouwanttonameit.txt" and look through the text file for apps you installed that changed your status bar. Then in cmd run "adb uninstall com.appyouwanttouninstall". I did 4 among many, checked my phone, and didn't get the system ui has stopped messages
Click to expand...
Click to collapse
enrico.fm08 said:
Hello, give me tutorial, how can i uninstall apk from pc ?
i can access cmd but how can i uninstalled apk ?
please help,,,
Thanks,
Click to expand...
Click to collapse
I never knew how to use adb,
There is any tutorial about it?
soilentgreen said:
Hi, just now I upgrade to the the last Samsung update and now I got the error.
The AOD is work and I got notification tone but can not enter to the phone.
I enter to safemode and still the same.
I hope there is a way to solved it without erase the phone.
Click to expand...
Click to collapse
Edwanzhuang said:
SAME TO MEE... OMG!!! ****ing samsung send me this update|
i even cannot call any one with this phone right now ..
Click to expand...
Click to collapse
Did any of you have substratum installed?
EDIT: i just read up higher.
This also happened to me with substratum. One thing I did before however is I already had adb debugging enabled and trusted with my pc via adb.
I used these instructions found here for adb
https://www.reddit.com/r/GalaxyS8/comments/737y3j/helpfix_substratum_system_ui_has_stopped_issue/
What is the latest version of samsung update?
Mine is N950FXXU2BQKG/N950FOXM2BQKG/N950FXXU2BQKG.
My phone updat 6 days ago, and I don't have the new samsung VPN.
And just to be clear, in the next update after uninstall all the layers and substratrum mods and accepting the OTA, it is safe to install all the layers again after the update?
Thanks again
soilentgreen said:
What is the latest version of samsung update?
Mine is N950FXXU2BQKG/N950FOXM2BQKG/N950FXXU2BQKG.
My phone updat 6 days ago, and I don't have the new samsung VPN.
And just to be clear, in the next update after uninstall all the layers and substratrum mods and accepting the OTA, it is safe to install all the layers again after the update?
Thanks again
Click to expand...
Click to collapse
You should have the VPN under wifi advance settings.
Yes it's safe to install all your layers and substratrum mods I using it on 2BQKG.
Merry Christmas to all!
BluePhnx said:
You should have the VPN under wifi advance settings.
Yes it's safe to install all your layers and substratrum mods I using it on 2BQKG.
Merry Christmas to all!
Click to expand...
Click to collapse
I don't have the VPN, and we on the same version. It's weired.
I need to "open" it somehow?
How do you color your notifaction clock and icons?
hello i just uptdated my software and im stuck with the same thing can somebody walk me thru how to fix this?
houboy said:
I posted this before in another thread...
I was able to fix it without factory resetting my phone. To do it, connect your phone to a pc (pc that you previously connected your phone to and always allowed access), in cmd with adb, run "adb shell pm list packages > whateveryouwanttonameit.txt" and look through the text file for apps you installed that changed your status bar. Then in cmd run "adb uninstall com.appyouwanttouninstall". I did 4 among many, checked my phone, and didn't get the system ui has stopped messages
Click to expand...
Click to collapse
Thanks houboy, you're a lifesaver.
Tried to center the status bar clock and the phone crashed.
Your method worked like a charm
I was reading through the reddit thread posted earlier and found an alternative solution which worked for me.
Log into Samsungs Find My Phone website, unlock your device and then switch on Power Saving Mode, then reboot. Once in Power Saver you will regain control of your phone. Now, switch off power saver and go disable all substratum mods and reboot again.
Happened twice to me while setting up my new Note 8. Resolved to finally wipe through hard reset menu, and setup as new phone. Some Substratum addon was lingering when I did a restore which was likely causing the UI crash.
this happened 3 times to my note 8, the culprit seems to be android pay, once you add a credit card to be specific . To fix the phone you need to put the phone in powersaving mode via Samsung dive then reboot.
once the phone rebooted in power saving mode just put it back to normal , after this procedure all cards are removed from google pay.
davnav899 said:
Did any of you have substratum installed?
EDIT: i just read up higher.
This also happened to me with substratum. One thing I did before however is I already had adb debugging enabled and trusted with my pc via adb.
I used these instructions found here for adb
https://www.reddit.com/r/GalaxyS8/comments/737y3j/helpfix_substratum_system_ui_has_stopped_issue/
Click to expand...
Click to collapse
What's strange is that I have substratum installed but never ran it but I'm still getting the system UI error, thank good it hasn't totally blocked need but still doesn't make sense why this is all happening. I forgot I even installed it honestly.
I just uninstalled it so I'll see if that changes anything.
@squick You could try booting into safe mode to see if its a program causing it, but for me, i updated my phone software(update) with the substratum ui apk installed which caused me to get the force close error where only the screen showed system ui has stopped. I used adb to get a list of packages and remove the substratum system ui apk. A sure way to fix would be to reset the phone, but if you're able to use it, try removing apps you dont need from your applications in the settings. It's possible there could be another app interfering with the system ui

A Complete Guide To Disable JIT Compiler??

I have heard that disabling it can make Oreo ROMs faster. Also, can someone help me with screenshots of using those commands on a computer?? I don't know if I'm doing it right.
Basically, tell me everything bout it.
Regards
@m00nlighter can help, he seems to know bout thjs
Dude, just wait for the Pie ROMs to become mature.
Oreo ROMs for Titan were simply not on par with Nougat ones, and a debloated stock Marshmallow ROM with ZRAM disabled will beat both Nougat and Oreo ROMs in terms of performance and stability.
So for now it's either stock or Pie, Oreo is history.
But I want to use Oreo, they ain't that bad for me. Could you please help me??
Detailed instructions are below. Please don't ask for further explanations, this is as simple as I can make it.
It's somewhat complicated and requires adb access and root permissions, so you have to be rooted.
Moreover, you have to have some free space on /system partition (I'd say around 300 megabytes) because ALL packages (apps) will be recompiled, including system apps. As for the data partition, it is hard to tell, depends on what apps you have. I recommend starting with minimum required apps.
First, disable the JIT compiler
adb root
adb shell stop
adb shell setprop dalvik.vm.usejit false
adb shell start
Click to expand...
Click to collapse
Second, clear profile data and remove compiled code for all packages
adb root
adb shell cmd package compile --reset -a
Click to expand...
Click to collapse
Third, force compile all packages using "speed" compiler profile (AOT-compiles all methods in app code)
adb root
adb shell cmd package compile -m speed -f -a
Click to expand...
Click to collapse
And finally, add/edit the following two properties to system.prop:
dalvik.vm.usejit=false
Click to expand...
Click to collapse
This will permanently disable the JIT compiler.
pm.dexopt.install=everything
Click to expand...
Click to collapse
This will force AOT compilation for apps, including updates and new installs.
After that, reboot and enjoy your FAST Oreo ROM
Why JIT compiler should be disabled on old devices like Titan?
Read the excellent post by Farhan on Stack Overflow here:
https://stackoverflow.com/questions/40336455/difference-between-aot-and-jit-compiler-android#
Where did I get this info from?
Official Android docs. See
https://source.android.com/devices/tech/dalvik/configure
and
https://source.android.com/devices/tech/dalvik/jit-compiler
m00nlighter said:
Detailed instructions are below. Please don't ask for further explanations, this is as simple as I can make it.
It's somewhat complicated and requires adb access and root permissions, so you have to be rooted.
Moreover, you have to have some free space on /system partition (I'd say around 300 megabytes) because ALL packages (apps) will be recompiled, including system apps. As for the data partition, it is hard to tell, depends on what apps you have. I recommend starting with minimum required apps.
First, disable the JIT compiler
Second, clear profile data and remove compiled code for all packages
Third, force compile all packages using "speed" compiler profile (AOT-compiles all methods in app code)
And finally, add/edit the following two properties to system.prop:
This will permanently disable the JIT compiler.
This will force AOT compilation for apps, including updates and new installs.
After that, reboot and enjoy your FAST Oreo ROM
Why JIT compiler should be disabled on old devices like Titan?
Read the excellent post by Farhan on Stack Overflow here:
https://stackoverflow.com/questions/40336455/difference-between-aot-and-jit-compiler-android#
Where did I get this info from?
Official Android docs. See
https://source.android.com/devices/tech/dalvik/configure
and
https://source.android.com/devices/tech/dalvik/jit-compiler
Click to expand...
Click to collapse
Dude, one last question. What is the output of cmd after you type :
adb shell stop
CMKdaGreatest said:
Dude, one last question. What is the output of cmd after you type :
adb shell stop
Click to expand...
Click to collapse
There should be NO output. This command effectively stops the shell.
@m00nlighter
This is the result I'm getting. Please tell me if it is what it is supposed to be
Please answer my question, pleaseeee
If you can't see the pic,
The output to adb shell stop is something like this
"stop:must be root"
Am i doing something wrong?
CMKdaGreatest said:
@m00nlighter
This is the result I'm getting. Please tell me if it is what it is supposed to be
Please answer my question, pleaseeee
If you can't see the pic,
The output to adb shell stop is something like this
"stop:must be root"
Am i doing something wrong?
Click to expand...
Click to collapse
Yes you are doing something wrong. Please go learn how to work with adb, enough info is available, just google it.
Unfortunately I'm not able to work with adb very well. adb root command is failing I think, so adb shell stop is also failing.
Someone help me please @m00nlighter @sapo_joe @Oshmar @thedeadfish59
I use magisk as su. Is that a problem for this?

How To Guide How to debloat Galaxy Tab S8 ♻️

In this guide we will see step by step how to debloat the Galaxy Tab S8​
First of all we have to enable: Developer Options
Settings->About tablet->Software information->(tap 7 times)Build number
After that we will enable: OEM Unlocking & USB Debbuging
Settings->Developer Options->OEM Unlocking(ON) & USB Debbuging(ON)
On the next step we need to download & install : ADB & Fastboot tools
Once you install the tools, connect your {Tablet} - {PC}
Select: USB Debbuging & Open your: Terminal
We are almost there
Now i will make a short explanation in order to understand what are we doing exactly & how we will do it.
What is ADB?
ADB provides us with commands that can be used to debug Android devices,
installing or uninstalling apps and getting information about a connected device.
adb shell
This command activates the remote shell command console on the connected Android smartphone or tablet.
adb shell pm uninstall -k --user 0
Using this, you can easily uninstall the unwanted system apps. To be able to execute it, you must issue 'adb shell' command first.
You can then use 'pm uninstall -k --user 0' followed by the Android app package name as shown below.
pm uninstall -k --user 0 com.whatsapp_2.20.apk
This command can help you if you want to remove all the bloatware from your phone.
Please note that most system apps don't have the 'Uninstall' option on the device but this command works magically.
If you don't know the app package name for the apps you want to remove, you can use adb shell pm list packages to find it out.
adb shell pm list packages
Using the above ADB Shell command, you can print the list of the app package names for all apps installed on your Android device.
You can use this command with different parameters to get a more specific list of app packages.
For instance, if you want to list the system apps only, use
adb shell pm list packages -s
In order to list all third-party apps installed on your Android phone or tablet, you issue the following command.
adb shell pm list packages -3
Do you want ADB Shell to show the list of all enabled or disabled apps on your device,
try the command with '-d' (disabled apps) and '-e' (for enabled apps) parameter.
adb shell pm list packages -d
adb shell pm list packages -e
Now, if pm list command troubles you or you are unsure that you are making the right choice you should stop right there
(uninstalling the wrong app might harm your tablet's operating system) and use another method for identifying which app you want to uninstall.
(GUI method - Graphical User Interface) For example: APK Inspector will provide you with a detailed list of installed packages (plus their icon) on your device, once you select an app, extra details will be shown to you & that's how you will get the correct name.of.the.app
Thanks for your time ❤​
Reserved
I really appreciate this write-up it has been a big help..
I use my OnePlus 9 pro with ADB and fastboot for Android NDK to debloat..
and that application inspector is a God send so again. thank you
I don't know if it was just a fluke or what but when I rebooted after successfully deleting digital well-being my tablet booted up super fast...
either way I'm good.
Awesome thanks for the tip. Is using "install" put the app back if I screw up something?
So it really doesn't uninstall just uninstalls from your app draw?
striker59 said:
So it really doesn't uninstall just uninstalls from your app draw?
Click to expand...
Click to collapse
For the os, it is like it has been uninstalled. But you don't free disk space, as the data of the app are still there. They just been hidden from os. That's why you can have back the app again just with an adb command again.
Man I used this to shut down numerous apps on all of my Android devices. Samsung and Verizon apps. Thanks!
Went back in to uninstall more apps. Device is recognized but adb shell won't load. The last time I used adb it was for my phone.
Figured it out, had to revoke USB debugging on my tablet. Delete on the computer c:user.android and restart (actual path on the computer could be different than what I stated).
Hi there.
Can anyone confirm, if it is save to remove the phone app from the device since it is connected to this samsung feature "calls/ messages on other Galaxy devices"? Actually i fully wanne get rid of this feature and app since i don´t use a galaxy phone.
Can someone share experiences/ideas according this topic?
Stogie87 said:
Hi there.
Can anyone confirm, if it is save to remove the phone app from the device since it is connected to this samsung feature "calls/ messages on other Galaxy devices"? Actually i fully wanne get rid of this feature and app since i don´t use a galaxy phone.
Can someone share experiences/ideas according this topic?
Click to expand...
Click to collapse
I have Debloated it (adb frozen) months ago. Didn't have any problem. You can always enable it again.
Am I right? If i debloat I don't clean up the system space used from the os ?
nofear5888 said:
Am I right? If i debloat I don't clean up the system space used from the os ?
Click to expand...
Click to collapse
You won't earn more free space. Apps are still there after Debloating.
sosimple said:
For the os, it is like it has been uninstalled. But you don't free disk space, as the data of the app are still there. They just been hidden from os. That's why you can have back the app again just with an adb command again.
Click to expand...
Click to collapse
@striker59
You remove the app for the current user but its still inside system's root directory.
You don't gain storage.
What you can achieve tho if you remove/disable the unnecessary services without causing softbrik or error spamming 'service has stop working' is a lightweight $user who uses less ram, your phone's overall performance is better and the battery reduction is slower.

Categories

Resources