yashsingh1/xdaforums huggingface dataset:
[OnePlus 12] _MartyMan_:
EXTREME DEBLOAT

Tested with OnePlus 12 running latest OOS 14.

Get the list here if the attachment below does not work.

I am not responsible for bricked devices, dead SD cards,
suffocation due to lack of Oxygen, crashing OnePlus apps,
thermonuclear war, or you getting fired because the alarm app failed.
YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you. But still i'll try to help.

Hi!

First of all, this debloat.txt is heavily based on the work of SirTAVARES, but since his thread is no longer available i thought i might improve it and share. I made this list for the Xiaomi Mi 9, then the OnePlus 9, and now for this OnePlus 12.

This debloat file will wipe out almost every app from your phone. I personally use this debloat for daily usage and i don't see any problems. (I can't say it's 100% stable, so use at your own risk only.)

Don't complain if you removed something and you got bootloop. Search for the package name before if you are unsure.

Features:

- Over 100 apps removed. Contains debloat for Google, OnePlus, and other apps

- Contains debloat for some ROMs. (Not yet available for our phone, but still)

- Lighter CPU/Memory/Battery usage.

Experimental Debloat:

GPS & Location

Always-on Display

Qualcomm apps

Random OnePlus apps

Software updater

Almost everything you need is downloadable from the Play Store if you accidentally removed something.

Also, you can restore an app by using this command:

pm install-existing <package name>

(I recommend using the latest platform-tools for ADB)

MAKE BACKUPS!!!!

Usage:

- Turn on USB Debugging

- In cmd type adb devices, and allow adb authorization on device

- Type adb shell

- (Optional) type su

- Copy & paste the lines starting with "pm uninstall" to the cmd and press Enter. (You can select all or one-by-one too)

- Reboot & Enjoy

*Bugs*

None that i'm aware of. Let me know if you find some.

*Changelog*

v1.0 - Release. Compatible with OxygenOS 14.0.0.802 (EU/GLO tested, i'm 90% sure it'll work on any region)
[OnePlus 12] zelos156:
Can you tell us which apps is deoblate? Any list?
[OnePlus 12] _MartyMan_:
Bruh. There's an attachment and a link to the list in the OP.
[OnePlus 12] eNevin:
Thanks for the list! I've been running everything except degoogle without issue. There's a few broken dependencies here and there but that's for the individual user to figure out.
[OnePlus 12] Mike2030:
Thanks again, highly appreciated.

Have a few simple questions (for you and not for an old man like me), if you'd care to reply.

1. Since I did remove 133 recommended packages using UAD, do I need to factory reset before this extreme debloat...I don't think?

2. How to reinstall a package using the posted command........pm install-existing <package name>?

3. I want to have location services for weather and driving app, which app should I not uninstall?

4. I want OTA updates, these apps as shown in the text, shouldn't be uninstalled.... Correct?

pm uninstall --user 0 com.oplus.sau

pm uninstall --user 0 com.oplus.sauhelper

pm uninstall --user 0 com.oplus.romupdate

pm uninstall --user 0 com.oplus.ota

pm uninstall --user 0 com.oplus.cota

5. Should I leave the Experimental Oneplus stuff and Qualcomm apps?

6. What exactly are these apps in OP12....

pm uninstall --user 0 org.codeaurora.gps.gpslogsave

pm uninstall --user 0 com.google.android.gms.location.history

pm uninstall --user 0 com.qualcomm.location

7. UAD removed AOD, how to get it back?

8. Lastly would finger screen security app remain or be removed too?

9. WebView Removal, shouldn't be uninstalled. Correct?

10. No need to create a backup since some 133+ packages have been removed?

11. Lineage OS debloat isn't for OP12, correct?

Hoping to hear your expert answers, before I perform this extreme debloat on my OP12 tonight.

Thanks again and have a great evening!!
[OnePlus 12] Advanced07:
I tried debloating myself with universal adb debloater and I got some weird idle drain issues
[OnePlus 12] AmirulAndalib:
Your questions are mostly correct (YES). The script uninstalls too many system apps, which will lead to system instability, whether under the hood or not. Instead of fully uninstalling important system apps, it would be better to freeze or disable them, as they are essential. To restore these apps now, you will need to reset the phone and perform a fresh install. I recommend freezing or disabling some apps from the list according to your preference. Running the full script is not a good idea at all.
[OnePlus 12] Mike2030:
With universal android debloater, no battery drain issues rather am getting 8 hrs. of SOT, BUT lost Always on Display feature, and cannot get it back except a factory reset.

Thanks for your input.
[OnePlus 12] Mike2030:
Hi thanks for answering with your expertise. Shall do as you recommend. Using UAD lost AOD......no way to restore it now.

1. Factory reset.

2. Using the script ONLY to remove 3rd part/advertising and google apps. Nothing else, and follow your expert recommendations.

It's difficult for a retired M.D to keep trying new things, checking and multiple factory resets, if somethings gets broken. I don't mind getting a little less time, but a stable Oxygen on a 2 week old phone. Might give it a try, IF someday a stable script is developed....

Thanks again.

Best regards!

Have a great Sunday afternoon.
[OnePlus 12] Mike2030:
I have a 18 months old OP11 16/256 all stock running great.

Battery, SOT after universal android debloater on OP12. Lost AOD....

I'd be happy with even 6 hrs. SOT BUT with all functions working.

Just like with my Xiaomi Redmi Note 9 Pro, only remove 3rd party and Google apps. My bad going in for UAD.View attachment 6113911
[OnePlus 12] Advanced07:
Yeah I believe AoD has many dependencies.

I just disabled what I could and I'm also getting 8 hours of SoT 👍
[OnePlus 12] AmirulAndalib:
your welcome
[OnePlus 12] jkmaxfli:
I think using this extreme debloat is a big piece of crap.

After the update, the deleted applications will be installed again.

It is best to use ADB APPCONTROL and slowly freeze the applications and observe if this has not disturbed the operation of the system somewhere.

Then you will just cry that something is not working for you and at worst you won't even start the system.😉👍
[OnePlus 12] AmirulAndalib:
+1 +1
[OnePlus 12] _MartyMan_:
I uploaded the list because some forum members wanted it, and even though it's a little extreme it won't cause any bootloop or system instability if you don't uninstall those i commented.

I used root to uninstall and the apps did not come back after an update in my case.

I don't want to waste time checking marks one-by one so that's why i use this. If you don't like it don't use it.
[OnePlus 12] _MartyMan_:
Okay so once again, there's a word EXTREME in the title, not by chance. I'm not saying that you should mindlessly delete all apps at once, it's just a guideline for what i uninstall without issues... It won't cause instability if you read it carefully.

Also there's a way for restoring mentioned in the OP...
[OnePlus 12] Mike2030:
@_MartyMan_ ,

Appreciate your uploading the extreme debloat list. Have a few simple questions if you'd care to reply to.

1. My OP12 requires a factory reset, since I used universal android debloater and lost AOD (without creating a backup), though is stable. AOD is my necessity, since OP12 has none notification lights.

2. After a factory reset which is needed anyways, 1st thing should be to to create a backup on external storage?

3. Removing 3rd party/advertising and Google apps is safe, but what if I face an installed app or hardware malfunction after a full debloat i.e. Oxygen, Android, Oneplus app uninstalls?

4. You posted a command to reinstall.....pm install-existing <package name>. Does it restore from the backup?

5. For a noob like me, should I debloat step wise after installing my required apps, else how would I know that which package uninstalled is the culprit and requires reinstalling?

Hoping to hear back from you,

Have a great week.

Best regards!

PS: My OP12 is nonrooted.
[OnePlus 12] Mike2030:
OP12 is approx. 20 gms. heavier than my old Redmi Note 9 Pro, vibration is far less vs it. 9 Pro on vibration literally wakes me on a notification, just like an alarm clock, I need to turn it to DND or airplane mode.
[OnePlus 12] _MartyMan_:
1: Try restoring the AOD package by using

pm install-existing com.oplus.aod

2: Creating a backup before doing any modification is always strongly recommended.

3: Removing a system app is always risky. In my list, i have commented the apps that will cause issues or bootloop. In general, no feature will be lost. Still if you found any issues with anything, you can reinstall any required app what you uninstalled before.

4: No. When you "remove" an app, it does not actually remove it from the system, it just uninstalls it for the user (user 0 aka default user as seen in commands)

When you use the install-existing command, it will restore the removed app to the current user, to the same state before it was uninstalled.

5: Yes, you should debloat step-by-step. If you do that way, you can check every important function before uninstalling the next, so you will know if it was important or not. This is mostly true for uninstalling OnePlus, Qualcomm apps. Also you can google the full package name, so you get an idea what that app is responsible for.
[OnePlus 12] Mike2030:
Thanks @_MartyMan_ , for the very explicit and detailed reply which is highly appreciated. On a lighter note, you are one mobile doc/expert, highly knowledgeable.....A few more simple queries, before I start.

1. Firstly thanks, I got the AOD restored using your posted command.......

pm install-existing com.oplus.aod

What would be my user name as per this restoring command.....

Do I need to add anything to such a command, in place of "0"?

pm uninstall --user 0 com.android.exchange

2. What exactly is the purpose of creating a full backup, if the uninstalls can be reinstalled by connecting the OP12 to my Dell laptop?

3. Yes, after a factory reset, would debloat step wise, 3rd party, Google, Andriod, Oxygen, Oneplus and may be Qualcomm apps.

4. How do I delete backups created on my OP12, after I used UAD, and read your post? And should created backups be always on external storage?

5. Shall keep you posted.

Have a great afternoon.

Best regards.
[OnePlus 12] _MartyMan_:
What does the pm install-existing command gives as an output? Did you reboot after?
[OnePlus 12] eNevin:
I have been running all debloats from OP except for de-Google which I picked from.

I have experienced 0 issues during normal use and conservative screen-on is 3.5%/h with deep sleep around 0.25%/h. I VPN, stream, host a media box for movie nights, browse, torrent Linux distributions, and have several messengers hooked to GMS notifications and no-kill.

Are there any listed packages y'all think might reduce battery consumption, increase performance, or make for a smoother interface IF LEFT ENABLED?

I think I'm about as efficient as it gets but I'm still running 3168x1440@120 forced. No governor tweaks. Rooted with modules in screenshot.
[OnePlus 12] Mike2030:
Hi,

With this pm install-existing command gives as an output? Did you reboot after?

pm install-existing com.oplus.screenrecorder

I got back the screen recorder and correct, I did reboot.

My OP12 debloat history and views:

1. Firstly I was able to remove approx., 133+ packages, using UAD in Recommended section.

2. Removed Other/3rd party/advertising stuff in the list.

3. Lost AOD, your recommended command help restore it.

4. Removed Android apps, and than Google apps. (Rebooted after each).

5. Than Oneplus apps.

6. Lastly Experimental stuff i.e. New Oneplus apps and lastly Qualcomm apps.

Results:

1. OS stable, no boot loops etc.

2. Idle memory usage increased by approx. 2 gigs.

3. Wasn't able to remove Webview, unsuccessful/failure, might have been removed by Android apps earlier?

4. Lost most Live wallpapers. Probably due to this in Experimental New Oneplus apps:

pm uninstall --user 0 com.android.wallpaper.livepicker

5. Wasn't able to remove System Oneplus launcher. Using Nova Prime alongside, at the end Nova was crashing, since was conflicting with unremoved System launcher remnants...or dependencies.

6. In Andriod apps, this "pm uninstall --user 0 com.android.chrome", removes the stock Chrome, which is linked to Photos.

7. In Oneplus apps, these won't remove the photos folder, which is left and loses it's sync to Google photos?

pm uninstall --user 0 cn.oneplus.photos

pm uninstall --user 0 cn.oplus.photos

To sum up after running all debloat list:

1. No instability issues.

2. Idle memory usage increased.

3. SOT didn't check since I performed a factory reset.

4. Nova crashing, not before.

5. Lost wall papers.

6. Photos folder still there without the Internet browser, and won't sync with google photos like earlier.

7. Oneplus Community, Store, YT music, Zen Space, 0 Relax won't get removed.

8. In Settings > Oneplus Account got removed.

The list requires some editing...like I prefer the Oneplus calculator and removed it from Oneplus apps:

pm uninstall --user 0 com.oplus.calculator

Hopefully with some list editing would be able to perform a stable extreme debloat. I use Nova as my default launcher and Yr.no weather app/widget.

At the moment factory rest with Yr. no, Nova and my apps installed. Haven't started debloat again, till I hear back from you.

My biggest concerns:

1. Removing System launcher.

2. Complete removal of Photos.

3. Non removal of wall papers.

Hoping to hear back your expert thoughts.
[OnePlus 12] Mike2030:
Hi @eNevin , what app is this?

Thanks.
[OnePlus 12] _MartyMan_:
Well yes, if you remove an app if could crash something it's true. But i don't use live wallpapers, that's why it's included (and that's why i mentioned to search for package name if unsure, to avoid these issues)

Oneplus Community, Store, YT music, Zen Space, 0 Relax can be removed completely by user (they are user apps, not system apps)

I have no idea why you have increased memory usage. I have ~5.7GB free with this list + Greenify.
[OnePlus 12] Mike2030:
Thanks for the expert comments.

1. Do you have the System Onelpus launcher running OR was able to remove it?

2. Have you run all commands including Experimental, New Onplus, Qualcomm?

3. Is the stock Photos folder still showing on your OP12?

4. Lastly, what good is external backup for...if restoring how does one restore, similar to Windows 11 image restore using Macrium Reflect?

Best regards!
[OnePlus 12] _MartyMan_:
I'm using it, i like it.

Try this if you want to remove it:

pm uninstall --user 0 com.android.launcher
[OnePlus 12] Mike2030:
I'll restart the extreme debloat very carefully from the beginning.......from simpler to advanced and keep you posted.

Thanks again.
[OnePlus 12] Mike2030:
Good evening again @_MartyMan_ ,

After the factory reset, I installed my required apps, like X, Whatsapp, Skype, LinkedIn, Brave, VLC, Nova, Yr.no etc...can I start from here or do I need to perform another reset?

What weather app do you use or recommend?

I want my OP12 to bloat free, responsive like my 4 yrs old Remi 9 Pro, at this moment after a factory reset the ROM feels bloated....

Thanks again.

Best regards!

PS:

2. Have you run all commands including Experimental, New Onplus, Qualcomm?

3. Is the stock Photos folder still showing on your OP12?

4. Lastly, what good is external backup for...if restoring how does one restore, similar to Windows 11 image restore using Macrium Reflect?
[OnePlus 12] Mike2030:
@_MartyMan_

1. How to show memory usage in the status bar, or lower down...

2. Can status bar icons size be increased, like network speed, battery etc.

Thanks.
[OnePlus 12] Mike2030:
Good evening @_MartyMan_

Hope your good. Apologize to be bothering you again. Have a couple of questions, before performing a factory reset.

In the debloat list, Other stuff:

# Other stuff:

pm uninstall --user 0 org.omnirom.omniswitch

pm uninstall --user 0 com.autonavi.minimap

pm uninstall --user 0 com.caf.fmradio

pm uninstall --user 0 com.opera.preinstall

pm uninstall --user 0 com.qualcomm.qti.perfdump

pm uninstall --user 0 com.duokan.phone.remotecontroller

pm uninstall --user 0 com.samsung.aasaservice

pm uninstall --user 0 org.simalliance.openmobileapi.service

pm uninstall --user 0 com.duokan.phone.remotecontroller.peel.plugin

pm uninstall --user 0 com.facemoji.lite.xiaomi

pm uninstall --user 0 com.facebook.appmanager

pm uninstall --user 0 com.facebook.katana

pm uninstall --user 0 com.facebook.services

pm uninstall --user 0 com.facebook.system

pm uninstall --user 0 com.dsi.ant.server

pm uninstall --user 0 com.netflix.partner.activation

pm uninstall --user 0 com.netflix.mediaclient

pm uninstall --user 0 com.amazon.appmanager

pm uninstall --user 0 com.fingerprints.fingerprintsensortest

1. What exactly is the function, significance of:

pm uninstall --user 0 com.fingerprints.fingerprintsensortest

Is this for 12 too?

2. Only these are present on OP12:

pm uninstall --user 0 com.facebook.katana

pm uninstall --user 0 com.facebook.services

pm uninstall --user 0 com.netflix.mediaclient

The rest are not present for 12.

3. 12 wakes on double tap, but screen wont go dark on double tap....is that correct? Isn't it possible for double tap to wake and put the screen back to black?

Hoping to hear your expert views.

Best regards!

PS: I feel this debloat list needs to edited, and refined....
[OnePlus 12] _MartyMan_:
1. Obvious, test of the fingerprint scanner. Removing it does not affect the functionality, at least in my case. It either was not removed because it isn't on the phone, or removed but did nothing (in which case it was a bloat)

2. The default list is by sirtavares, i did not remove anything just added what i found useless.

3. In my case, double tap to show lockscreen, then double tap on lockscreen to sleep works. Double tap on home screen to sleep also works, i dunno what happened in your case.

Yes, a refinement would be a great idea. I thought about it but don't have the time. Maybe someday.
[OnePlus 12] Mike2030:
Appreciate your expert comments.

I did only remove the Other stuff and Google apps.

3, Double tap shows the lock screen, but double tapping on home screen doesn't make it go to sleep....may be in my case some google app is required or am using Nova as default launcher......Nova gestures are all at none.

In Settings > Screen off gestures > Double tap to wake or turn off screen is ON. Strange.

Maybe after the factory reset and staring debloat gain might work.

Thanks anyways,

Best regards!

Added:

Double to wake and turn OFF lock screen has started working......without a factory reset.

I agree that

pm uninstall --user 0 com.fingerprints.fingerprintsensortest

is more of a bloat, and removing it doesn't affect the functionality.

Thanks again.
[OnePlus 12] Mike2030:
@_MartyMan_ ,

Now I don't plan doing a factory reset ATM, since my 12 is running flawlessly without any issues, and is stable.

Question:

My 3rd debloat is Andriod stuff:

# Android apps:

pm uninstall --user 0 com.android.exchange

pm uninstall --user 0 com.android.protips

pm uninstall --user 0 com.android.dynsystem

pm uninstall --user 0 com.android.inputmethod.latin

pm uninstall --user 0 com.android.camera2

pm uninstall --user 0 com.android.providers.partnerbookmarks

pm uninstall --user 0 com.android.emergency

pm uninstall --user 0 com.android.printspooler

pm uninstall --user 0 com.android.apps.tag

pm uninstall --user 0 com.android.dreams.basic

pm uninstall --user 0 com.android.dreams.phototable

pm uninstall --user 0 com.android.magicsmoke

pm uninstall --user 0 com.android.managedprovisioning

pm uninstall --user 0 com.android.noisefield

pm uninstall --user 0 com.android.phasebeam

pm uninstall --user 0 com.android.wallpaper.holospiral

pm uninstall --user 0 com.android.stk

pm uninstall --user 0 com.android.bluetoothmidiservice

pm uninstall --user 0 com.android.browser

pm uninstall --user 0 com.android.cellbroadcastreciever

pm uninstall --user 0 com.android.hotwordenrollment.okgoogle

pm uninstall --user 0 com.android.printservice.recommendation

pm uninstall --user 0 com.android.quicksearchbox

pm uninstall --user 0 com.android.email

pm uninstall --user 0 com.android.bips

pm uninstall --user 0 com.android.hotwordenrollment.xgoogle

pm uninstall --user 0 com.android.chrome

pm uninstall --user 0 com.android.calendar

pm uninstall --user 0 com.android.providers.calendar

pm uninstall --user 0 android.romstats

pm uninstall --user 0 com.android.globalFileexplorer

pm uninstall --user 0 com.android.midrive

pm uninstall --user 0 com.android.calculator2

pm uninstall --user 0 com.android.soundrecorder

pm uninstall --user 0 com.android.musicfx

pm uninstall --user 0 com.android.bookmarkprovider

pm uninstall --user 0 com.android.gallery3d

pm uninstall --user 0 com.android.calllogbackup

pm uninstall --user 0 com.android.traceur

pm uninstall --user 0 com.sec.android.AutoPreconfig

pm uninstall --user 0 com.sec.android.service.health

What If I later find that I lost a function, to reinstall using the earlier recommended command i.e.

pm install-existing (package name) Correct. e.g.

pm uninstall --user 0 com.android.browser

pm install-existing.com.android.browser is this Correct??

Thanks again!

Best regards!
[OnePlus 12] _MartyMan_:
Yes, that will reinstall the specified package.
[OnePlus 12] Mike2030:
Thanks for the confirmation. Appreciated!!
[OnePlus 12] Mike2030:
Hi _MartyMan_ ,

I have a question, since the last update a few days back, 14.0.0.810, now SOT is displayed used in the last 24 hrs. and keeps decreasing after that period. Vs. before the update it kept increasing till was put on charge and after plugging out was restarted...

Any ideas how to show total SOT...

Have a look at the attachment.

Thanks.View attachment 6124116
[OnePlus 12] _MartyMan_:
I heard that the new update changed the SOT for some. I don't know how to detail it, sorry.
[OnePlus 12] Mike2030:
Thanks for sharing your thoughts!!

View attachment 6124195
[OnePlus 12] wonsky21:
Can't remove or disable com.oplus.pantanal.ums, this bastard keeps enabling itself, tried with UAD, ADB AppControl and cmd. Any advice?
[OnePlus 12] Advanced07:
Any idle drain issues? Tried debloating myself and got insane idle drain
[OnePlus 12] Mike2030:
Hi @_MartyMan_ ,

Care to mention how to get Explorer back in Photos? What command to type in cmd? Was it in Other stuff, Google apps or Android aps?

Thanks again.

PS: Before the latest 810 update.

View attachment 6124647

And if you ever get the time kindly update the list, would be appreciated!!
[OnePlus 12] Mike2030:
Hello @_MartyMan_ ,

I have a question and a few things to share.....performed a debloat which included Other stuff, Google, Andriod and Oneplus apps. Did not try Oneplus Experimental, Recording, Shelf and New One plus apps. Though I did try Qualcomm apps, but only this

pm uninstall --user 0 com.qti.qcc

works on 12, with none issues.

In memory usage Andriod OS is the biggest hogger consuming on the average + 4 gigs.

I uninstalled Photos, but still the folder is there without the Explorer. Neither would it all go away or restore...any suggestions?

pm uninstall --user 0 cn.oneplus.photos

pm uninstall --user 0 cn.oplus.photos

pm install-existing com.oneplus.photos

pm install-existing com.oplus.photos

This list needs to be edited big time. Though am no phone doc but would give it a try, if I get some time.

One last thing, my gmail shortcut on the home screen at times is erratic and wont open, till I tap it twice. No issues with any other icon short cuts...any ideas? Could it be the screen protector, but if it was that others would have issues too...

Hoping to hear back.

Best regards!