• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROOT, NON-ROOT] [Android 10, 11] Debloat Script - v1.0

Search This thread

zrzhu

Senior Member
Oct 22, 2011
336
36
Just open the Google app page in the Play Store, you'll see either install or enable button. If you don't see it, try read the first post on how to restore debloated app
I see "install" button. what does it mean?
I don't know the package name for Google App to restore. I know the command to use. Thanks.
 

zrzhu

Senior Member
Oct 22, 2011
336
36
I see "install" button. what does it mean?
I don't know the package name for Google App to restore. I know the command to use. Thanks.
Just in case someone else has similar question. The APK name is com.google.android.googlequicksearchbox for Google App. Use the command in the instruction to enable it instead of downloading from play store.
 
Jul 16, 2021
24
6
# My Device: Samsung Galaxy A31
# My OS: Android 10 Version
# OneUI Version: 2.1
# Number of packages debloated: 183
# Testing phased:
  1. Wifi: Work
  2. Bluetooth: Work.
  3. Mobile Network: Work
  4. Sim card manager: Work
  5. Mobile hotspot,tehering, bluetooth tethering, wifi sharing: Work
  6. VPN: Work (Tested with 1.1.1.1 with WRAP)
  7. Sound settings: Ringtone, Notification, System sound picker work.
  8. Sound advanced: Equalizer and DoblyAtmos work.
  9. Remove Adapt Sound
  10. Notification Settings: Work
  11. Wallaper and lockscreen settings: Work
  12. Remove samsung galaxy store, galaxy theme
  13. Keep useful feautures like: Samsung capture, Cooktailbar (Edge screen, edge lightning, AOD, Dynamic LockScreen, Reminder, Device Care)
  14. Remove NFC (Sorry) beacuse i don't use it
  15. Camera Work
  16. Voice Recorder work
  17. Contacts Work
  18. Messagin work

#Tool to Debloat: Minimal ADB & FastBoot _ ADB App Control 1.6.5 &
apktool (To decrypt some apk file from samsung system) and read AndroidMainfest.xml for more information ....
# Command to check which app is running: adb shell top (Like Taskmanager on Windows)
# In progress search, try and failed (bootloop, camera stop, mobile signal lost), But now, I was reach the goal to make my phone smooth.
#Thanks for everyone in Github, XDA in a lot of threads.
 

Attachments

  • SpeedUp_OneUI2.0_2.1_Finally.txt
    10.6 KB · Views: 64

TurricanM3

Senior Member
Feb 4, 2015
858
219
Awesome script. Thanks a lot.
I have a few problems:

asdasdasdasdasdasdasdasd.png


Why can't i uninstall gmail & chrome etc (OneUI3.1 / S20 Ultra)?
 

serajr

Recognized Developer / Recognized Themer
Apr 21, 2011
5,024
18,622
São Paulo - SP
With what kind of program do you even run this?

It says RUN, but with what? Flash it?
Run .bat file on Windows

With ADB.

What about debloating Chrome, Gamil and Samsung calender? Not recommended?

Awesome script. Thanks a lot.
I have a few problems:

View attachment 5425543

Why can't i uninstall gmail & chrome etc (OneUI3.1 / S20 Ultra)?
Thank you!
Try to uninstall updated system apps first (Settings > Apps > "APP" > Uninstall update), then run the script again. About the error, just ignore it.
 
  • Like
Reactions: obamaforever

bassini

Senior Member
Feb 13, 2012
457
461
Poznań
After run full script bookmarks in incognito mode crash whole system (samsung browser). How to make it work ?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 11
    AT YOUR OWN RISK!!!

    Requeriments (commom):
    - Windows/Linux computer
    - USB debugging enabled (Developer settings)


    Linux users:

    COMMON
    Code:
    adb push debloat_list.sh /data/local/tmp
    adb push aapt_arm_pie /data/local/tmp
    adb shell chmod 777 /data/local/tmp/debloat_list.sh
    adb shell chmod 755 /data/local/tmp/aapt_arm_pie
    NON-ROOT
    Code:
    adb shell /data/local/tmp/debloat_list.sh
    ROOT
    Code:
    adb shell
    su -l
    /data/local/tmp/debloat_list.sh
    (su -l opens a login shell as root on the android phone)



    ROOT - REMOVE APPS - How to:
    1. Download always the latest version available (attached below)
    2. Disable any Magisk Module installed and reboot (IMPORTANT STEP, DO NOT SKIP IT)
    3. Unpack and run debloat-remove.bat (run it at least twice!)
    4. Enable Magisk Modules again
    5. Done!

    ROOT Notes:
    - Before run the debloat script, you have a change to take a look on its "unwanted apps list " at \files\debloat_list.sh
    - Root debloat script does not remove the bloatwares folders, instead, it moves them to a backup folder, located at /system/_debloat_backup
    - /system/_debloat_backup stores all "removed" apps folders, and before you manually delete this folder (and if you want to), you have a chance to revert back the changes made by the script
    - Updated bloatwares: They'll need to be uninstalled/disabled manually



    NON-ROOT - UNINSTALL APPS ONLY - How to:
    1. Download always the latest version available (attached below)
    2. Unpack and run debloat-uninstall.bat (run it at least twice!)
    3. Done!

    NON-ROOT Notes:
    - Before run the debloat script, you have a change to take a look on its "unwanted apps list " at \files\debloat_list.sh
    - debloat_list.sh: Commented out lines (starting with #) will be ignored (their respective apps will not be uninstalled)
    - Debloat script does not remove apps containers (apk files/folders)
    - Updated bloatwares: They'll need to be uninstalled manually (Settings > Apps > "APP" > Uninstall/Deactivate)



    Retrieving installed apps info (PACKAGE | APK LOCATION | LABEL):
    1. Download v1.0_List_Installed_Apps_Info_By_Serajr.zip (attached below)
    2. Unpack and run list_installed_apps_info.bat and wait a minute or two (ignore errors, if any)
    3. installed-apps-info.txt file will be created
    4. Done!


    Special thanks:
    - @hmy65 (Debloat list, used as base)


    Enjoy it!
    3
    Guys you don't have to wipe data to bring back packages.

    Commands:

    adb shell
    - this will connect your device after you confirmed the connection on your phone

    cmd package install-existing package.name.example
    - this will reinstall the uninstalled package

    example Bixby package names:
    "com.samsung.android.app.settings.bixby"
    "com.samsung.android.app.routines"
    "com.samsung.android.bixby.service"
    "com.samsung.android.bixby.agent"
    "com.samsung.android.bixbyvision.framework"
    "com.samsung.android.bixby.wakeup"
    "com.samsung.android.bixby.agent.dummy"
    "com.samsung.android.visionintelligence"
    "com.samsung.systemui.bixby2"

    WITHOUT QUOTES

    All package names attached to this post btw

    I've run your tool without modification but now I have 2 major issues:
    1. My phone keeps rebooting randomly every 5 minutes
    2. There's a few apps that Id want back (Spotify, Netflix, Linkedin, Bixby routines). When i run the ADB command I get Package com.spotify.music new state: default instead of state enabled

    Can you help please
    2
    I ran this Debloat script on OneUI 2.5 and now upgraded to OneUI 3.0 and I thought we should re run this script but it was not necessary. Everything working fine. Just wanted to let ppl know.

    I don't know if it is a placebo effect but after debloating, autofocus in the stock camera improved significantly, like there is no AF problem anymore.
    I guess AF bug culprit is Bixby?
    Thank you for your feedback!

    It's good to have a master like Serajr here (I remember xperia period too ... or old HTC HD2 ? ^^)

    I'm afraid to try this on android 11 non-root, I checked debloat-list and I'm not sure to understand

    E.g : if I want to keep Facebook, I write "##" before and if I want to remove I let only "#" in the list ?
    If I want to keep apps on this list, do I remove the entire line or just put ## before it?
    Thanks mate!
    You can either mark out with "#" (single is enough) or delete the line from the script, so corresponding app won't be touched.

    So I did a fresh install of OneUI 3.0 and ran the script directly after. Works wonderfully.
    Thanks a lot 😀
    Glad to know that!
    2
    So I did a fresh install of OneUI 3.0 and ran the script directly after. Works wonderfully.
    Thanks a lot 😀
    1
    Changelog

    v1.0 - 27/Sep/2020
    - Initial release

    v1.0.1 - 22/Oct/2020
    - Added instructions for Linux users ( thanks @HemanthJabalpuri )