Advertisement
Guest User

Unihertz Jelly 2

a guest
Nov 29th, 2021
304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 6.51 KB | None | 0 0
  1. #!/usr/bin/env bash
  2.  
  3. adb wait-for-device
  4.  
  5.  
  6. # Google apps
  7.  
  8. # Drive
  9. adb shell pm uninstall --user 0 com.google.android.apps.docs
  10.  
  11. # Google Assistant
  12. adb shell pm uninstall --user 0 com.google.android.apps.googleassistant
  13.  
  14. # Maps
  15. adb shell pm uninstall --user 0 com.google.android.apps.maps
  16.  
  17. # Messages
  18. adb shell pm uninstall --user 0 com.google.android.apps.messaging
  19.  
  20. # Files
  21. adb shell pm uninstall --user 0 com.google.android.apps.nbu.files
  22.  
  23. # Photos
  24. adb shell pm uninstall --user 0 com.google.android.apps.photos
  25.  
  26. # Android Setup
  27. adb shell pm uninstall --user 0 com.google.android.apps.restore
  28.  
  29. # Duo
  30. adb shell pm uninstall --user 0 com.google.android.apps.tachyon
  31.  
  32. # Digital Wellbeing
  33. adb shell pm uninstall --user 0 com.google.android.apps.wellbeing
  34.  
  35. # YouTube Music
  36. adb shell pm uninstall --user 0 com.google.android.apps.youtube.music
  37.  
  38. # Calendar
  39. adb shell pm uninstall --user 0 com.google.android.calendar
  40.  
  41. # CaptivePortalLogin
  42. adb shell pm uninstall --user 0 com.google.android.captiveportallogin
  43.  
  44. # ConfigUpdater
  45. adb shell pm uninstall --user 0 com.google.android.configupdater
  46.  
  47. # Android Shared Library
  48. adb shell pm uninstall --user 0 com.google.android.ext.shared
  49.  
  50. # Market Feedback Agent
  51. adb shell pm uninstall --user 0 com.google.android.feedback
  52.  
  53. # Gmail
  54. adb shell pm uninstall --user 0 com.google.android.gm
  55.  
  56. # Google Play services
  57. adb shell pm uninstall --user 0 com.google.android.overlay.gmsconfig.common
  58. adb shell pm uninstall --user 0 com.google.android.overlay.gmsconfig.gsa
  59. adb shell pm uninstall --user 0 com.google.android.overlay.gmsconfig.photos
  60. adb shell pm uninstall --user 0 com.google.android.overlay.gmsconfig.searchlauncherqs
  61. adb shell pm uninstall --user 0 com.google.android.gms.location.history
  62. adb shell pm uninstall --user 0 com.google.android.gms
  63.  
  64. # Google
  65. adb shell pm uninstall --user 0 com.google.android.googlequicksearchbox
  66.  
  67. # Google Services Framework
  68. adb shell pm uninstall --user 0 com.google.android.gsf
  69.  
  70. # Carrier Services
  71. adb shell pm uninstall --user 0 com.google.android.ims
  72.  
  73. # Gboard
  74. adb shell pm uninstall --user 0 com.google.android.inputmethod.latin
  75.  
  76. # Keep Notes
  77. adb shell pm uninstall --user 0 com.google.android.keep
  78.  
  79. # Android Accessibility Suite
  80. adb shell pm uninstall --user 0 com.google.android.marvin.talkback
  81.  
  82. # NetworkPermissionConfig
  83. adb shell pm uninstall --user 0 com.google.android.networkstack.permissionconfig
  84.  
  85. # Google One Time Init
  86. adb shell pm uninstall --user 0 com.google.android.onetimeinitializer
  87.  
  88. # Overlays
  89. adb shell pm uninstall --user 0 com.google.android.overlay.modules.documentsui
  90. adb shell pm uninstall --user 0 com.google.android.overlay.modules.ext.services
  91. adb shell pm uninstall --user 0 com.google.android.overlay.modules.permissioncontroller
  92. adb shell pm uninstall --user 0 com.google.android.overlay.modules.permissioncontroller.forframework
  93. adb shell pm uninstall --user 0 com.google.android.overlay.modules.modulemetadata.forframework
  94.  
  95. # Google Partner Setup
  96. adb shell pm uninstall --user 0 com.google.android.partnersetup
  97.  
  98. # Print Service Recommendation Service
  99. adb shell pm uninstall --user 0 com.google.android.printservice.recommendation
  100.  
  101. # Android Auto
  102. adb shell pm uninstall --user 0 com.google.android.projection.gearhead
  103.  
  104. # Android Setup
  105. adb shell pm uninstall --user 0 com.google.android.setupwizard
  106.  
  107. # Google Location History
  108. adb shell pm uninstall --user 0 com.google.android.syncadapters.contacts
  109.  
  110. # Tags
  111. adb shell pm uninstall --user 0 com.google.android.tag
  112.  
  113. # Google Text-to-speach Engine
  114. adb shell pm uninstall --user 0 com.google.android.tts
  115.  
  116. # Google Play Movies & TV
  117. adb shell pm uninstall --user 0 com.google.android.videos
  118.  
  119. # YouTube
  120. adb shell pm uninstall --user 0 com.google.android.youtube
  121.  
  122. # Google Play Store
  123. adb shell pm uninstall --user 0 com.android.vending
  124.  
  125. # Chrome
  126. adb shell pm uninstall --user 0 com.android.chrome
  127.  
  128. # GoogleNetworkStackResOverlay
  129. adb shell pm uninstall --user 0 com.google.android.networkstack.overlay
  130.  
  131. # Cell Broadcast Service
  132. adb shell pm uninstall --user 0 com.google.android.cellbroadcastservice
  133.  
  134. # Wireless emergency alerts
  135. adb shell pm uninstall --user 0 com.google.android.cellbroadcastreceiver
  136. adb shell pm uninstall --user 0 com.google.android.overlay.modules.cellbroadcastreceiver
  137.  
  138. # TetheringResOverlay
  139. adb shell pm uninstall --user 0 com.google.android.networkstack.tethering.overlay
  140.  
  141. # Support components
  142. adb shell pm uninstall --user 0 com.google.mainline.telemetry
  143.  
  144.  
  145. # Google apps that should stay.
  146.  
  147. # Android System WebView (com.google.android.webview).
  148. # May be used by other apps.
  149.  
  150. # Tethering (com.google.android.networkstack.tethering).
  151. # Removing prevents Settings from loading (blank app)
  152.  
  153. # Media Storage (com.google.android.providers.media.module).
  154. # Removing breaks open file dialog.
  155.  
  156. # Files (com.google.android.documentsui).
  157. # Open/save files activity. Other apps may crash without it.
  158.  
  159. # Main Components (com.google.android.modulemetadata).
  160. # Uninstalling breaks app properties.
  161.  
  162. # NetworkStack (com.google.android.networkstack).
  163. # Uninstalling breaks wifi.
  164.  
  165.  
  166. # Google apps that must stay. Removing any of those
  167. # will prevent phone from booting.
  168.  
  169. # Android Services Library (com.google.android.ext.services).
  170. # Package installer (com.google.android.packageinstaller).
  171. # Permission controller (com.google.android.permissioncontroller).
  172.  
  173.  
  174. # Non Google apps
  175.  
  176. # Network Manager
  177. # Network Manager Service
  178. adb shell pm uninstall --user 0 com.agold.networkmanager.ui
  179. adb shell pm uninstall --user 0 com.agold.networkmanager.service
  180.  
  181. # NoteBook
  182. adb shell pm uninstall --user 0 com.mediatek.notebook
  183.  
  184. # Remote
  185. # A lot of background activity. There are better remote apps.
  186. adb shell pm uninstall --user 0 com.tiqiaa.remote
  187.  
  188. # Scan
  189. adb shell pm uninstall --user 0 com.scanning.agold.agoldscanning
  190.  
  191. # SOS
  192. adb shell pm uninstall --user 0 com.agui.newsos
  193.  
  194. # Student mode
  195. adb shell pm uninstall --user 0 com.agui.studentmodel
  196.  
  197. # Game mode
  198. adb shell pm uninstall --user 0 com.agui.game
  199.  
  200. # Wireless Update
  201. adb shell pm uninstall --user 0 com.agui.update
  202.  
  203.  
  204. # Not sure if these should be removed.
  205.  
  206. # They doesn't seem to be needed and
  207. # some of them run after the boot.
  208. # Omacp
  209. adb shell pm uninstall --user 0 com.mediatek.omacp
  210. # SimProcessor
  211. adb shell pm uninstall --user 0 com.mediatek.simprocessor
  212.  
  213. # Verizon activation
  214. adb shell pm uninstall --user 0 com.mediatek.ims.pco
  215.  
  216.  
  217. # Quickstep (com.android.launcher3).
  218. # is the sole provider of Recents activity,
  219. # i.e. app switching. It must stay.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement