Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #these notes are on minifying a stock install for the moto G stylus
- #although most of this will work on many phones
- #there will still be some Google and Motorola apps installed
- #but this will get rid of most of them and still leave you with a working system
- #stock firmware can be downloaded here: https://mirrors.lolinet.com/firmware/moto/sofiap/
- #get a simple keyboard and launcher
- #there are newer versions of lawnchair, this is just the easiest to grab with a script
- #https://lawnchair.app/
- wget "https://f-droid.org/repo/rkr.simplekeyboard.inputmethod_92.apk"
- adb install rkr.simplekeyboard.inputmethod_92.apk
- wget "https://f-droid.org/repo/ch.deletescape.lawnchair.plah_2001.apk"
- adb install ch.deletescape.lawnchair.plah_2001.apk
- #uninstall unwanted packages
- adb shell pm uninstall --user 0 com.google.android.apps.walletnfcrel #google wallet
- adb shell pm uninstall --user 0 com.google.android.apps.chromecast.app # google home
- adb shell pm uninstall --user 0 com.google.android.apps.docs.editors.sheets
- adb shell pm uninstall --user 0 com.google.android.apps.docs.editors.slides
- adb shell pm uninstall --user 0 com.google.android.apps.magazines
- adb shell pm uninstall com.android.chrome || adb shell pm uninstall --user 0 com.android.chrome
- adb shell pm uninstall com.google.android.apps.docs || adb shell pm uninstall --user 0 com.google.android.apps.docs
- adb shell pm uninstall com.google.android.apps.googleassistant || adb shell pm uninstall --user 0 com.google.android.apps.googleassistant
- adb shell pm uninstall com.google.android.apps.nbu.files || adb shell pm uninstall --user 0 com.google.android.apps.nbu.files
- adb shell pm uninstall com.google.android.apps.photos || adb shell pm uninstall --user 0 com.google.android.apps.photos
- adb shell pm uninstall com.google.android.apps.tachyon || adb shell pm uninstall --user 0 com.google.android.apps.tachyon
- adb shell pm uninstall com.google.android.apps.wellbeing || adb shell pm uninstall --user 0 com.google.android.apps.wellbeing
- adb shell pm uninstall com.google.android.apps.youtube.music || adb shell pm uninstall --user 0 com.google.android.apps.youtube.music
- adb shell pm uninstall com.google.android.apps.youtube.music.setupwizard || adb shell pm uninstall --user 0 com.google.android.apps.youtube.music.setupwizard
- adb shell pm uninstall com.google.android.calculator || adb shell pm uninstall --user 0 com.google.android.calculator
- adb shell pm uninstall com.google.android.calendar || adb shell pm uninstall --user 0 com.google.android.calendar
- adb shell pm uninstall com.google.android.contacts || adb shell pm uninstall --user 0 com.google.android.contacts
- adb shell pm uninstall com.google.android.deskclock || adb shell pm uninstall --user 0 com.google.android.deskclock
- adb shell pm uninstall com.google.android.documentsui || adb shell pm uninstall --user 0 com.google.android.documentsui
- adb shell pm uninstall com.google.android.googlequicksearchbox || adb shell pm uninstall --user 0 com.google.android.googlequicksearchbox
- adb shell pm uninstall com.google.android.keep || adb shell pm uninstall --user 0 com.google.android.keep
- adb shell pm uninstall com.google.android.marvin.talkback || adb shell pm uninstall --user 0 com.google.android.marvin.talkback
- adb shell pm uninstall com.google.android.overlay.modules.documentsui || adb shell pm uninstall --user 0 com.google.android.overlay.modules.documentsui
- adb shell pm uninstall com.google.android.projection.gearhead || adb shell pm uninstall --user 0 com.google.android.projection.gearhead
- adb shell pm uninstall com.google.android.setupwizard || adb shell pm uninstall --user 0 com.google.android.setupwizard
- adb shell pm uninstall com.google.android.videos || adb shell pm uninstall --user 0 com.google.android.videos
- adb shell pm uninstall com.google.android.youtube || adb shell pm uninstall --user 0 com.google.android.youtube
- adb shell pm uninstall com.motorola.actions || adb shell pm uninstall --user 0 com.motorola.actions
- adb shell pm uninstall com.motorola.android.fmradio || adb shell pm uninstall --user 0 com.motorola.android.fmradio
- adb shell pm uninstall com.motorola.android.fota || adb shell pm uninstall --user 0 com.motorola.android.fota
- adb shell pm uninstall com.motorola.brapps || adb shell pm uninstall --user 0 com.motorola.brapps
- adb shell pm uninstall com.motorola.camera2 || adb shell pm uninstall --user 0 com.motorola.camera2
- adb shell pm uninstall com.motorola.ccc.notification || adb shell pm uninstall --user 0 com.motorola.ccc.notification
- adb shell pm uninstall com.motorola.ccc.ota || adb shell pm uninstall --user 0 com.motorola.ccc.ota
- adb shell pm uninstall com.motorola.demo || adb shell pm uninstall --user 0 com.motorola.demo
- adb shell pm uninstall com.motorola.dolby.dolbyui || adb shell pm uninstall --user 0 com.motorola.dolby.dolbyui
- adb shell pm uninstall com.motorola.easyprefix || adb shell pm uninstall --user 0 com.motorola.easyprefix
- adb shell pm uninstall com.motorola.fmplayer || adb shell pm uninstall --user 0 com.motorola.fmplayer
- adb shell pm uninstall com.motorola.gamemode || adb shell pm uninstall --user 0 com.motorola.gamemode
- adb shell pm uninstall com.motorola.genie || adb shell pm uninstall --user 0 com.motorola.genie
- adb shell pm uninstall com.motorola.gesture || adb shell pm uninstall --user 0 com.motorola.gesture
- adb shell pm uninstall com.motorola.help || adb shell pm uninstall --user 0 com.motorola.help
- adb shell pm uninstall com.motorola.livewallpaper3 || adb shell pm uninstall --user 0 com.motorola.livewallpaper3
- adb shell pm uninstall com.motorola.moto || adb shell pm uninstall --user 0 com.motorola.moto
- adb shell pm uninstall com.motorola.motocare || adb shell pm uninstall --user 0 com.motorola.motocare
- adb shell pm uninstall com.motorola.motodisplay || adb shell pm uninstall --user 0 com.motorola.motodisplay
- adb shell pm uninstall com.motorola.nfwlocationattribution || adb shell pm uninstall --user 0 com.motorola.nfwlocationattribution
- adb shell pm uninstall com.motorola.photoeditor || adb shell pm uninstall --user 0 com.motorola.photoeditor
- adb shell pm uninstall com.motorola.setup || adb shell pm uninstall --user 0 com.motorola.setup
- adb shell pm uninstall com.motorola.stylus || adb shell pm uninstall --user 0 com.motorola.stylus
- adb shell pm uninstall com.google.android.apps.fitness|| adb shell pm uninstall --user 0 om.google.android.apps.fitness
- adb shell pm uninstall com.google.android.apps.docs.editors.docs || adb shell pm uninstall --user 0 com.google.android.apps.docs.editors.docs
- adb shell pm uninstall com.google.android.apps.subscriptions.red || adb shell pm uninstall --user 0 com.google.android.apps.subscriptions.red
- adb shell pm uninstall com.motorola.gamemode || adb shell pm uninstall --user 0 com.motorola.gamemode
- adb shell pm uninstall --user 0 com.motorola.timeweatherwidget
- adb shell pm uninstall --user 0 com.motorola.stylus
- adb shell pm uninstall --user 0 com.motorola.moto
- adb shell pm uninstall --user 0 com.motorola.securityhub
- adb shell pm uninstall --user 0 com.swishme.moto
- adb shell pm uninstall --user 0 com.motorola.ccc.notification
- adb shell pm uninstall --user 0 com.motorola.audiorecorder
- #others
- adb shell pm uninstall com.google.android.apps.maps || adb shell pm uninstall --user 0 com.google.android.apps.maps
- adb shell pm uninstall com.google.android.apps.messaging || adb shell pm uninstall --user 0 com.google.android.apps.messaging
- adb shell pm uninstall com.android.vending || adb shell pm uninstall --user 0 com.android.vending
- adb shell pm uninstall com.google.android.dialer || adb shell pm uninstall --user 0 com.google.android.dialer
- # Google Fi
- adb shell pm uninstall com.google.android.apps.tycho || adb shell pm uninstall --user 0 com.google.android.apps.tycho
- #Google Play
- adb shell pm uninstall com.google.android.gms || adb shell pm uninstall --user 0 com.google.android.gms
- adb shell pm uninstall com.google.android.gm || adb shell pm uninstall --user 0 com.google.android.gm
- adb shell pm uninstall com.google.android.inputmethod.latin || adb shell pm uninstall --user 0 com.google.android.inputmethod.latin
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement