Skip to content

Instantly share code, notes, and snippets.

@bruvv
Last active December 4, 2024 01:09
Show Gist options
  • Save bruvv/f2adc0492ddc00348ca961390453f218 to your computer and use it in GitHub Desktop.
Save bruvv/f2adc0492ddc00348ca961390453f218 to your computer and use it in GitHub Desktop.

How to use this?

  1. Install the USB drivers for your device (Google has a list of some universal USB drivers here)
  2. Download the ADB binary for your particular OS (Windows, Mac, Linux)
  3. Extract the zip file into a folder that you can quickly access.
  4. On your phone, go to Settings and tap on About Phone. Find the Build Number and tap on it 7 times to enable Developer Options.
  5. Now enter Developer Options and find USB Debugging. Enable it.
  6. On your computer, browse to the directory where you extracted the ADB binary.
  7. Launch a Command Prompt in your ADB folder. For Windows users, this can be done by holding Shift and Right-clicking then selecting the “open command prompt here” option.
  8. Once you’re in the command prompt/terminal, enter the following command: adb devices
  9. You will see that the system is starting the ADB daemon. If this is your first time running ADB, you will see a prompt on your phone asking you to authorize a connection with the computer. Grant it.
  10. Now if you re-run the adb devices command, the terminal will print the serial number of your device. If so, then you’re ready to move on.
  11. Enter the following command: adb shell
  12. You should now see on the far left: OnePlus7Pro:/ $ when using a OnePlus 7 Pro for example.
  13. Then copy past any of the following lines and hit enter. That particaler app will now be disabled. NOTE: It is still installed. If you want to completly remove it use: pm uninstall -k --user 0 <name of package>
Note: this has to be redone after a system update (OTA)

To disable oneplus analytics disable the follow app for sure: (connects to: open.oneplus.net)

pm disable-user --user 0 net.oneplus.odm

OPTIONAL

oneplus test apps

pm disable-user --user 0 com.oneplus.bttestmode
pm disable-user --user 0 com.oneplus.factorymode.specialtest
pm disable-user --user 0 com.oneplus.opbugreportlite
pm disable-user --user 0 com.oneplus.ses

Disable oneplus buds app (NEEDED IF YOU USE THE BUDS!)

pm disable-user --user 0 com.oneplus.twspods

Disable logkit (needed for enable volte and vowifi for example)

pm disable-user --user 0 com.oem.oemlogkit
pm disable-user --user 0 com.oneplus.factorymode

removes Shot on OnePlus

pm disable-user --user 0 cn.oneplus.photos

removes oneplus account syncing

pm disable-user --user 0 com.oneplus.account

disables work account options

pm disable-user --user 0 com.android.managedprovisioning

Soter Is kinda like Google pay but used in China to authorize payment inside WeChat and other Chinese services. so not needed outside of china

pm disable-user --user 0 com.tencent.soter.soterserver

enable call recording: (resets after a reboot)

settings put global op_voice_recording_supported_by_mcc 1

older apps for older oneplus phones but not found on OxygenOS 10 and higher

pm disable-user --user 0 cn.oneplus.oem_tcma
pm disable-user --user 0 com.oneplus.diagnoseManager

To enable anything use:

pm enable PACKAGE

not sure what this does so I place it all the way here. It looks a lot like the telemtry app.

pm disable-user --user 0 net.oneplus.odm.provider

All installed oneplus apps

Used command: pm list packages | grep oneplus to get all the apps installed on a fresh installation of OxygenOS 10.0.8:

package:com.oneplus.calculator
package:net.oneplus.weather
package:com.oneplus.note.black.overlay
package:com.oneplus.gamespace
package:com.oneplus.card.black.overlay
package:com.oneplus.soundrecorder.black.overlay
package:com.oneplus.asti
package:com.oneplus.card
package:com.oneplus.note
package:net.oneplus.weather.basiccolorwhite.overlay
package:com.oneplus.account
package:com.oneplus.geoiptime
package:com.oneplus.soundrecorder
package:com.oneplus.camera.resources
package:com.oneplus.overlay
package:com.oneplus.aod.basiccolorwhite.overlay
package:com.oneplus.chargingpilar.black.overlay
package:cn.oneplus.photos
package:com.oneplus.wallpaper
package:com.oneplus.opbackup.white.overlay
package:net.oneplus.wallpaperresources
package:com.oneplus.twspods
package:com.oneplus.gamespace.black.overlay
package:com.oneplus.opsports.white.overlay
package:com.oneplus.screenshot
package:com.oneplus.brickmode
package:com.oneplus.deskclock
package:com.oneplus.setupwizard
package:com.oneplus.sdcardservice
package:com.oneplus.security
package:net.oneplus.weather.basiccolorblack.overlay
package:cn.oneplus.nvbackup
package:com.oneplus.factorymode.specialtest
package:com.oneplus.wifiapsettings
package:com.oneplus.iconpack.circle
package:com.oneplus.aod.basiccolorblack.overlay
package:net.oneplus.odm
package:com.oneplus.aodnotification.overlay.purple
package:com.oneplus.opbackup.black.overlay
package:com.oneplus.coreservice
package:com.oneplus.applocker
package:com.oneplus.gallery
package:com.oneplus.sms.smscplugger
package:com.oneplus.opsports.black.overlay
package:com.oneplus.telephonyoptimization
package:com.oneplus.factorymode
package:com.oneplus.opwlb.white.overlay
package:com.oneplus.iconpack.square
package:com.oneplus.camera.service
package:cn.oneplus.opmms
package:com.oneplus.wifiapsettings.basiccolorwhite.overlay
package:net.oneplus.odm.provider
package:com.oneplus.simcontacts
package:net.oneplus.push
package:com.oneplus.aodnotification.overlay.red
package:com.oneplus.cloud.basiccolorwhite.overlay
package:com.oneplus.account.basiccolorwhite.overlay
package:com.oneplus
package:com.oneplus.opwlb.black.overlay
package:com.oneplus.sound.tuner
package:com.oneplus.mms.basiccolorwhite.overlay
package:com.oneplus.iconpack.oneplus
package:com.oneplus.deskclock.white.overlay
package:com.oneplus.aodnotification.overlay.gold
package:com.oneplus.wifiapsettings.basiccolorblack.overlay
package:com.oneplus.contacts.basiccolorwhite.overlay
package:net.oneplus.launcher.white.overlay
package:net.oneplus.widget
package:cn.oneplus.oemtcma
package:com.oneplus.filemanager
package:com.oneplus.diagnosemanager
package:com.oneplus.filemanager.white.overlay
package:com.oneplus.houston
package:com.oneplus.faceunlock
package:com.oneplus.sound.tuner.basiccolorwhite.overlay
package:com.oneplus.cloud.basiccolorblack.overlay
package:com.oneplus.opbugreportlite
package:com.oneplus.account.basiccolorblack.overlay
package:com.oneplus.calendar.white.overlay
package:com.oneplus.screenrecord
package:com.oneplus.mms.basiccolorblack.overlay
package:com.oneplus.deskclock.black.overlay
package:com.oneplus.bttestmode
package:com.oneplus.backuprestore.remoteservice
package:com.oneplus.contacts.basiccolorblack.overlay
package:net.oneplus.launcher.black.overlay
package:net.oneplus.commonlogtool
package:com.oneplus.aod
package:com.oneplus.mms
package:com.oneplus.ses
package:com.oneplus.ifaaservice
package:com.oneplus.filemanager.black.overlay
package:com.oneplus.screenrecord.white.overlay
package:com.oneplus.sound.tuner.basiccolorblack.overlay
package:com.oneplus.appupgrader
package:com.oneplus.calendar.black.overlay
package:com.oneplus.simcontacts.basiccolorwhite.overlay
package:com.oneplus.security.white.overlay
package:android.autoinstalls.config.oneplus
package:com.oneplus.opbackup
package:com.oneplus.contacts
package:net.oneplus.provider.appcategoryprovider
package:com.oneplus.note.white.overlay
package:com.oneplus.card.white.overlay
package:com.oneplus.soundrecorder.white.overlay
package:com.oneplus.screenrecord.black.overlay
package:com.oneplus.camera
package:com.oneplus.config
package:net.oneplus.launcher
package:com.oneplus.chargingpilar.white.overlay
package:com.oneplus.simcontacts.basiccolorblack.overlay
package:com.oneplus.security.black.overlay
package:com.oneplus.gamespace.white.overlay
package:com.oneplus.calculator.basiccolorblack.overlay

Enable VOLte on Oneplus:

https://forum.xda-developers.com/t/guide-activate-volte-and-vowifi-simple-and-clear.4116051/

https://drive.google.com/drive/folders/1ViCQfjAOHGKthytj51LmAHhu6BwOVIwJ

@DardanRamadani
Copy link

bro can you tell me which app is for data usage because i need it but know i dont know with system apps deleted that app in this list ?

@bruvv
Copy link
Author

bruvv commented Jan 18, 2022

@DardanRamadani it does nothing with the data usage apps unless you ran the list that is at the end. Then you will delete way too much.

@Mz69rz
Copy link

Mz69rz commented Jan 27, 2023

How can I reset back to normal Android system

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment