Skip to content

1deterministic/my-oneui-debloater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My OneUI Debloater

As the name implies, this is the debloat script I use on my Samsung devices.

Before you continue

UAD Next Generation really is a much better debloat tool, you'll probably want to start there. I started using it but at some point I ended up having both it and a separate script removing more stuff, and this project merges them. It also lets me reuse the removal lists easier in a different device.

I don't really know who else this project could end up helping besides myself but I'm publishing it anyway, both hoping it can be of use to someone and also out of spite for both Samsung for removing bootloader unlock, and Google for gatekeeping what we can do with the phones we paid for.

Also, make sure you know how to factory reset your device from the recovery (a stock ROM reflash also works). Even though the script doesn't touch anything outside the userdata, removing some packages can still make the UI crash on boot. I use it exactly as it is in this repo, but your mileage may vary.

You will also need adb and bash.

My Samsung Devices

  • Galaxy A35 5G (A356E, 2025-07 update)
  • Galaxy A06 (A065M, 2025-09 update)

What does it do?

It's a very simple project with the following files:

  • unwanted.txt: is a list of every package id I want purged
  • wanted.txt: is a list of packages I want to keep for any reason (it's a short ignore list so we don't have to edit unwanted.txt directly, since it's much bigger)
  • debloat.sh: the bash script that reads those lists and calls adb removing the specified packages

Basically, you edit wanted.txt with what you want to keep and then run debloat.sh.

These are opinionated lists (once again, as the project name implies), but you can edit them with what's relevant to you.

How does it work?

The script will disable and clear the app data first, and will try to actually uninstall them next.

Some built-in apps are not actually system apps, and you can uninstall those even manually if you wish. These should be uninstalled without any problems.

Some are system apps and we can't remove them without root access. What we can do instead is to disable them for the user, and it's basically indistinguishable (they even disappear from the apps list).

What does it remove?

Basically all that I consider junk except some useful apps like the file manager, clock, calendar, contacts, camera, gallery, etc. You can add them to the unwanted list to remove them too if you prefer some alternatives (although I don't have this list assembled, you'd have to do it yourself). You may need to connect to the internet to download these apps before running the script if you factory reset instead of reflashing the stock ROM userdata.

Both the Play Store and the system update tool are also removed, but you can keep them installed by uncommenting their respective lines in the wanted.txt file. If removing the Play Store, gms is kept (but disabled, at least) because removing it crashes the whole UI on reboot.

Also, it seems that the Samsung account app (com.osp.app.signin) cannot be disabled anymore on the 2025-09 update

A lot of errors will appear in the terminal!

It's ok, it's basically the system apps failing the removal attempt.

I want to make my own lists!

I suggest you take a look at the UAD Next Generation list to see what you want to keep or remove, especially if your phone is from another brand.

About

[MIRROR] As the name implies, this is the debloat script I use on my Samsung devices.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages