[OnePlus 7 Guides, News, & Discussion] themagicalmammal:
Oxygen OS Debloater

This is a debloater for oxygen os. Though it doesn't come with many bloats few bloats could be removed to increase performance and battery life.

Though the performance improvement is not visible the same to me battery life increased by 30+%.

IF YOU LIKE MY WORK PLEASE PRESS THANK BUTTON

Requirments:-

1. Windows/MAC/Linux PC

2. ADB [Working!]

3. OP7/7T/Pro

Note:- This might work on other oxygen os phones please report bugs if you own a OP7/7T/Pro not on a one plus 6.

Instructions:-

1. Connect the phone using ADB.

2. Open command prompt or PowerShell or shell or terminal with admin permissions.

3. Give adb permissions from your phone to your pc. Using -

adb devices

4. Type

adb shell

5. Then type

the scripts given in the source code

OR

V9

pm disable-user --user 0 cn.oneplus.oem_tcma
pm disable-user --user 0 cn.oneplus.photos
pm disable-user --user 0 com.amazon.avod.thirdpartyclient
pm disable-user --user 0 com.amazon.kindle
pm disable-user --user 0 com.amazon.mShop.android.shopping
pm disable-user --user 0 com.android.bookmarkprovider
pm disable-user --user 0 com.android.dreams.basic
pm disable-user --user 0 com.android.hotwordenrollment.okgoogle
pm disable-user --user 0 com.android.hotwordenrollment.xgoogle
pm disable-user --user 0 com.android.providers.partnerbookmarks
pm disable-user --user 0 com.android.stk
pm disable-user --user 0 com.android.traceur
pm disable-user --user 0 com.android.wallpaper.livepicker
pm disable-user --user 0 com.android.wallpaperbackup
pm disable-user --user 0 com.dsl.ant.server
pm disable-user --user 0 com.example.rftuner
pm disable-user --user 0 com.example.wifirftest
pm disable-user --user 0 com.fingerprints.fingerprintsensortest
pm disable-user --user 0 com.google.android.apps.docs
pm disable-user --user 0 com.google.android.apps.maps
pm disable-user --user 0 com.google.android.apps.photos
pm disable-user --user 0 com.google.android.apps.restore
pm disable-user --user 0 com.google.android.apps.tachyon
pm disable-user --user 0 com.google.android.apps.turbo
pm disable-user --user 0 com.google.android.apps.walletnfcrel
pm disable-user --user 0 com.google.android.as
pm disable-user --user 0 com.google.android.calendar
pm disable-user --user 0 com.google.android.feedback
pm disable-user --user 0 com.google.android.gm
pm disable-user --user 0 com.google.android.googlequicksearchbox
pm disable-user --user 0 com.google.android.marvin.talkback
pm disable-user --user 0 com.google.android.music
pm disable-user --user 0 com.google.android.onetimeinitializer
pm disable-user --user 0 com.google.android.printservice.recommendation
pm disable-user --user 0 com.google.android.projection.gearhead
pm disable-user --user 0 com.google.android.setupwizard
pm disable-user --user 0 com.google.android.tts
pm disable-user --user 0 com.google.android.videos
pm disable-user --user 0 com.google.android.youtube
pm disable-user --user 0 com.netflix.mediaclient
pm disable-user --user 0 com.netflix.partner.activation
pm disable-user --user 0 com.oem.autotest
pm disable-user --user 0 com.oem.logkitsdservice
pm disable-user --user 0 com.oem.nfc
pm disable-user --user 0 com.oem.oemlogkit
pm disable-user --user 0 com.oneplus.backuprestore
pm disable-user --user 0 com.oneplus.bttestmode
pm disable-user --user 0 com.oneplus.card
pm disable-user --user 0 com.oneplus.factorymode
pm disable-user --user 0 com.oneplus.factorymode.specialtest
pm disable-user --user 0 com.oneplus.filemanager
pm disable-user --user 0 com.oneplus.gamespace
pm disable-user --user 0 com.oneplus.iconpack.circle
pm disable-user --user 0 com.oneplus.iconpack.oneplus
pm disable-user --user 0 com.oneplus.iconpack.square
pm disable-user --user 0 com.oneplus.note
pm disable-user --user 0 com.oneplus.opbugreportlite
pm disable-user --user 0 com.oneplus.soundrecorder
pm disable-user --user 0 com.qti.snapdragon.qdcm_ff
pm disable-user --user 0 com.qualcomm.uimremoteclient
pm disable-user --user 0 com.tencent.soter.soterserver
pm disable-user --user 0 com.wapi.wapicertmanage
pm disable-user --user 0 in.amazon.mShop.android.shopping
pm disable-user --user 0 net.oneplus.commonlogtool
pm disable-user --user 0 net.oneplus.forums
pm disable-user --user 0 net.oneplus.odm
pm disable-user --user 0 net.oneplus.odm.provider
pm disable-user --user 0 net.oneplus.provider.appcategoryprovider
pm disable-user --user 0 net.oneplus.push
pm disable-user --user 0 net.oneplus.weather
pm disable-user --user 0 net.oneplus.widget

6. Remove the ones you don't need

7. Checkout other scripts like deepsleep script and optional scripts (Please use the safe versions if you are a noob)

8. Enjoy the battery!!!!

Scripts

1. Debloaters

Uninstall Method - https://github.com/themagicalmammal/adbdebloater_opseries/blob/master/debloater.txt (Safe for Op7 Series)

Disable Method - https://github.com/themagicalmammal/adbdebloater_opseries/blob/master/debloater_enable.txt (Recommended)

2. Optional Scripts

Uninstall Method - https://github.com/themagicalmammal/adbdebloater_opseries/blob/master/optional_debloats.txt (Highly Risky)

Disable Method - https://github.com/themagicalmammal/adbdebloater_opseries/blob/master/optional_debloatsenable.txt (Recommended)

3. Deep Sleep Script

Normal - https://github.com/themagicalmammal/adbdebloater_opseries/blob/master/deepsleepscript.txt) (Will break VOLTE on Oneplus 6)

4. Original Sleep Script

Normal - https://github.com/themagicalmammal/adbdebloater_opseries/blob/master/originalsleepscript.txt)

5. Overlay Script (For paranoid people)

Uninstall Method - https://github.com/themagicalmammal/adbdebloater_opseries/blob/master/overlay.txt (Risky)

Disable Method - https://github.com/themagicalmammal/adbdebloater_opseries/blob/master/overlay_enable.txt (Recommended)

What if I want any app back?

Ans - Easy just install it from Play store or Install its Apk file.

What if I want to remove the deep sleep script?

Ans - Reboot

Testing -

1. Me on OP7 on android pie/10 beta & EU.

2. Nicole on OP7 Pro on android 10 stable.

3. haris_94 on OP7 on android stable.

4. Croize on OP7T on android stable.

I am using this debloater for months now and it didn't give me any issues.

Also if you want to be updated please post it or write it to me.

v1

1. Basic User and System Bloatware Removal

2. Deep Sleep Script

v2

1. Chrome Removed from the script

2. Oneplus Gallery Removed from the script

3. Oneplus Account Removed from the script

v3

1. Amazon bloatware

2. Oneplus Icons Packs

3. One plus community apps

v4

1. Removed the failures commands as posted by haris_94

v5

1. Added a few more optional scripts

v6

1. Added a few more optional scripts

v7

1. Removed deep sleep scripts from the script

v8

1. Added with optional debloat enable

v9

1. A lot of things.

v10

1. Added Overlay script

2. A lot of things

v11

1. A lot of things

Note: - If you use it on any other device or make any other threads copying the code from this thread you need permissions.

Stable version - v9.0

Beta version - v11.0

Source Code:- https://github.com/themagicalmammal/adbdebloater_opseries

Thanks for Suggestions :-

haris_94

Kinto

dude_abided

Illuminatus_

RainGater