Skip to content

Instantly share code, notes, and snippets.

@sandrocarval
Last active April 8, 2020 19:20
Show Gist options
  • Save sandrocarval/160ccf2738fbcdf17d277eadd502557c to your computer and use it in GitHub Desktop.
Save sandrocarval/160ccf2738fbcdf17d277eadd502557c to your computer and use it in GitHub Desktop.
OnePlus 7 cleanup
sudo adb shell pm disable-user com.android.traceur
sudo adb shell pm disable-user com.oneplus.opbugreportlite
sudo adb shell pm disable-user com.oneplus.brickmode
sudo adb shell pm disable-user net.oneplus.odm
sudo adb shell pm disable-user net.oneplus.odm.provider
sudo adb shell pm disable-user com.google.android.apps.wellbeing
# The command below needs to be executed after every reboot
sudo adb shell settings put global device_idle_constants inactive_to=2592000000,motion_inactive_to=2592000000,light_after_inactive_to=3000000,light_max_idle_to=21600000,light_idle_to=3600000,light_idle_maintenance_max_budget=600000,light_idle_maintenance_max_budget=600000,min_light_maintenance_time=30000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment