[OnePlus 10 Pro] Tilde88:
Hey guys. I know no one asked. And I know there are 13,126 different threads across different sites for debloating your phone. Of course, none of those are universal, and none of them are tailored to the device in-question.

My device details : [NE2215 Android 13.1 - Oneplus update : EX01. This should be fine for the other models, and other update versions, but just wanted it to be understood that this is what I used, tested, and confirmed stable.

Here is my debloat thread. It breaks no core functions of the phone, but it may remove a niche thing or two that a very small percent of people use. I was not going to initially write anything up like this, I mostly do what I do for myself nowadays. I recently made a comment somewhere here showing the list of things I debloated. I will not be held responsible for any issues you may face, but I will tell you that I have run this phone with these packages removed with no issues, and only update this list after extensive testing to confirm no crashing or weirdness.

Also know, you can disable the update package (included in the .zip or 2nd preset). com.oplus.ota cannot be uninstalled, but it can be disabled. The other 2 packages that are relevant to updates are com.oplus.sau and com.oplus.romupdate, but these cannot be disabled or uninstalled.

Be advised - Always-On Display needs a TON of extra stuff which I personally do not like having enabled. Just know if you run my debloat thing, AOD won't work unless you restore the AOD dependencies. There is a spoiler at the bottom to try and help you get this back if you want. Not recommended.

On the latest 13.1 update (13.1.0.522(EX01)), OnePlus actually removed some of the bloat. So you will notice only like 130 or so from the 154 packages are "selected", but that is because a lot of the crap was removed from the system by OnePlus. I left the list with all the old stuff, just in case someone is on an older version. No harm to anyone either way.

In 13.1, they only added like 7 packages worth removing from whatever the last update was. Info on the packages in the spoiler "Info" below

Latest debloat. as of 6/17/23. No AOD as usual

There is a .bat file attached. Assuming you have ADB working, just have to double-click the .bat.

Alternatively, if you have or use ADB AppControl (basically ADB with a GUI and pretty icons) there is a .txt preset you can use. The same text can be used to "rebloat"/undo.

There is a "rebloat" batch file if you want to undo and restore everything. As usual, AOD (Always On Display) is debloated. There are instructions on how to re-enable AOD stuff, but it was a while back, and idk if still useful (OP version of AOD requires a TON of crap, be advised). But know I won't support AOD, sorry. Shouldn't be hard to fix if you read the instructions, maybe have to add/edit something, maybe not.

Below, is only a list of things removed, this is only informational, and my understanding of what those things are/do. If the section is blank, I either don't know and/or it isn't worth mentioning. This list is likely missing a few packages, but meh, nothing too major i imagine. You can compare the preset/batch file to check if/what something is missing. Currently, it tries to remove up to 154 packages (if installed). Or just ask if you have a question on a specific package.

Spoiler content hidden.

AOD will not work. This is not a bug/glitch, AOD was removed on purpose. Read all the way below to restore AOD functionality (not recommended).

Now, these apps are not actually uninstalled. The APK resides within /system somehwere, and it is not possible to remove files from SAR without breaking the OS. So instead, these are uninstalled from the user profile. Most phones only have 1 user account. Most people do not share with other people like a PC that use multiple users. In addition, I choose to use the user uninstall instead of disable because disabled packages can actually run without you knowing. Not to mention via updates or other methods, a disabled app can be re-enabled.

The apps if you choose to remove them, can actually be re-added, since they are not actually deleted. For example, if I wanted to restore the oneplus file manager, the command would be adb shell pm install-existing com.oneplus.filemanager .Simply change the package name [from the list above] you want to re-install. Let me know if anyone has any questions or concerns.

Also, I highly recommend everyone go into Developer Options, and enable the setting that says "Disable Permission Monitoring". I am not going to turn this into a "tune-up your phone thread", but I strongly advise that one thing.

Important : I do not recommend removing this package : com.oplus.athena. Removing Athena breaks the "close all" button, it also screws up some actual memory management which can lead to the system freezing and you have to force turn it off with button combo. ( I do not touch it in the script )

Notable Mention : com.oplus.eyeprotect --removing this breaks the special color modes (brilliant vibrant, cinematic). doesnt actually change colorations. ( I do not touch it in the script )

AOD =

Below you will find the commands to try enable AOD and all its dependencies (it is a LOT of crap just for AOD. There is a way to have only stock android AOD, but it's not worth it for me.) [also, there may be new things needed as of new updates, i haven't kept up with this and will no longer support it]

Here are the things you need to restore if you want AOD. Keep in mind, I restored ALL functions for ALL things related to AOD. This pretty much makes the debloat useless, because the services used are atrocious (deepthinker, cosa, and smartengine. plus the weather services). If you really want to restore AOD and all its features you need this :

Spoiler content hidden.