AOSP documentation

This commit is contained in:
w1nst0n 2020-01-09 22:20:05 +01:00
parent 185ff7cd85
commit e77ff5a2a6
6 changed files with 333 additions and 105 deletions

View file

@ -1,78 +1,305 @@
#!/bin/bash
declare -a AOSP_bloat=(
"com.android.sharedstoragebackup"
"com.android.apps.tag" #Still unclear how it acts with system, but should be safe to remove...
"com.android.backupconfirm"
"com.android.bips" #Built-in Print Service. Safe to remove.
"com.android.bluetoothmidiservice" #Provides classes for sending and receiving messages using the MIDI event protocol over Bluetooth LE.
"com.android.bookmarkprovider" #Found on Xiaomi Note 5
"com.android.browser" #Stock Browser
"com.android.calculator2" #Stock calculator app.
"com.android.calllogbackup"
"com.android.carrierconfig" #Provides access to telephony configuration values that are carrier-specific.
"com.android.carrierdefaultapp" # Found on Xiaomi Note 5
"com.android.cellbroadcastreceiver" #Alerts for Broadcasts.
"com.android.deskclock" #Clock app, plus alarm function.
"com.android.dreams.basic" #Support for screensaver mode.
"com.android.dreams.phototable" #Photographic screensavers.
"com.android.egg" #Android build's easter egg feature.
"com.android.exchange" #Needed for email app to work correctly if you use a mail different from Gmail.
"com.android.hotwordenrollment.okgoogle" #"OK Google" detection service (used when you wanna enroll Assistant by the hotword.
"com.android.htmlviewer" #In-built HTML viewer.
"com.android.inputdevices" #Manages the input devices.
"com.android.keychain" #Should provide access to private keys plus their certificate chains in storage.
"com.android.magicsmoke" #Live wallpaper.
"com.android.managedprovisioning" #For corporate restritctions on phones with Google Workplace.
"com.android.mediacenter" #EMUI music app.
"com.android.noisefield" #Live wallpaper.
"com.android.pacprocessor" #PAC stands for proxy auto-config, and this file defines how web browsers and other agents can automatically define the correct proxy server for fetching an URL. Removable, if you don't use proxies on your phone.
"com.android.partnerbrowsercustomizations.chromeHomepage"
"com.android.phasebeam" #Wallpaper.
"com.android.printservice.recommendation" #Keep it, if you need to print directly via your phone.
"com.android.printspooler" #Keep it, if you need to print directly via your phone.
"com.android.providers.partnerbookmarks" #Provides bookmarks about partners of Google in Chrome.
"com.android.soundrecorder" #Sound recorder, obviously.
"com.android.spul" #SUPL20SERVICES, seems related to GPS in Huawei devices. Should be safe to remove.
"com.android.stk" #SIM toolkit app.
"com.android.voicedialer" #Voice search.
"com.android.wallpaper.holospiral" #Live wallpaper.
"com.android.wallpaper.livepicker" #Wallpaper picker.
"com.android.wallpapercropper" #Wallpaper cropper.
"com.example.android.notepad" #Notepad app.
"com.qualcomm.atfwd"
"com.qualcomm.qti.qms.service.telemetry"
"com.LogiaGroup.LogiaDeck"
"com.vcast.mediamanager"
"com.sec.android.service.health"
"com.lookout"
##################### SAFE TO DEBLOAT (useless features) #####################
"com.android.apps.tag"
# NFC Tagging (5 permissions : Contacts/Phone On by default).
# https://en.wikipedia.org/wiki/TecTile
# It will NOT prevent you to use NFC devices (like speakers)
"com.android.bips"
# Default print Service.
# Safe to remove if you don't plan to print from your phone.
"com.android.bluetoothmidiservice"
# Provides classes for using the MIDI protocol over Bluetooth. Safe to remove if you don't plan to connect MIDI devices.
# (Seriously, use a PC if you want to do this !)
"com.android.bookmarkprovider"
# Only exist for compatibility reasons to prevent apps querying it from getting null cursors they do not expect and crash.
"com.android.carrierconfig"
# Provides access to telephony configuration values that are carrier-specific.
"com.android.carrierdefaultapp"
# Allows carrier customization. Carrier action upon specific signal.
"com.android.dreams.basic"
# Daydream (not Google Daydream VR) is an interactive screensaver mode built into Android.
# When you dock your Android phone or tablet or charge it, its screen normally stays off.
# When you enable Daydream mode, the devices screen will stay on and display the Daydream app you choose.
# You can use this to display the time, weather, quotes, photos, news, tweets, or anything else that developers write a Daydream app for.
# https://developer.android.com/reference/android/service/dreams/DreamService
"com.android.dreams.phototable"
# Photographic screensavers (Daydream stuff, see above)
"com.android.egg"
# Android build's easter egg feature (when you click 5 times on the android version in the settings)
"com.android.htmlviewer"
# In-built HTML viewer. Basically lets you read HTML files stored on your device.
# REMINDER : A web-browser can also read HTML files...
"com.android.inputdevices"
# Empty package ?
# https://android.googlesource.com/platform/frameworks/base/+/master/packages/InputDevices/src/com/android/inputdevices/InputDeviceReceiver.java
"com.android.magicsmoke"
# "Magic smoke" Live wallpaper.
"com.android.managedprovisioning"
# Manage separate profile on devices. The typical example is setting up a corporate profile that is controlled by their employer on a
# users personal device to keep personal and work data separate.
# Safe to remove
"com.android.noisefield"
# "Noise filed" live wallpaper.
"com.android.phasebeam"
# "Phase beam" live wallpaper
"com.android.printservice.recommendation"
# Keep it, if you need to print directly via your phone.
"com.android.printspooler"
# Print spooler. Manage the printing process.
# Safe to remove if you don't plan to print from your phone
"com.android.providers.partnerbookmarks"
# Provides bookmarks about partners of Google in Chrome.
"com.android.soundrecorder"
# Sound recorder, obviously.
"com.android.stk"
# SIM toolkit app. Enable carriers to make SIM cards initiate "value-added services" (== some crappy stuff)
# Basically, Some operators give SIMs which has applications installed in it.
# https://en.wikipedia.org/wiki/SIM_Application_Toolkit#cite_note-CellularZA-1
# Has already be abused :
# - SimJacker : https://thehackernews.com/2019/09/simjacker-mobile-hacking.html
# - WIBattack : https://www.zdnet.com/article/new-sim-card-attack-disclosed-similar-to-simjacker/
"com.android.wallpaper.holospiral"
# "Holo spiral" Live wallpaper.
"com.android.wallpaper.livepicker"
# Enable you to pick live wallpaper.
"com.android.wallpapercropper"
# Wallpaper cropper.
"com.example.android.notepad"
# (Bad) notepad app.
"org.simalliance.openmobileapi.service"
# Smart Card Service by Simalliance
# https://simalliance.org/about-us/mission-objectives/
#
# The SmartCard API is a reference implementation of the SIMalliance Open Mobile API specification that enables Android applications
# to communicate with Secure Elements, (SIM card, embedded Secure Elements, Mobile Security Card or others)
# https://github.com/seek-for-android/pool/wiki/SmartcardAPI
# Safe to remove if you don't think you need this
#******** ADVANCED DEBLOAT ********#
"com.android.quicksearchbox" #Search box.
"com.qualcomm.qti.qms.service.connectionsecurity" #CURRENTLY IN TEST / MAY NOT BE SAFE
"com.qualcomm.qti.services.secureui"
"com.qualcomm.qti.auth.fidocryptoservice"
"com.qualcomm.qti.perfdump"
"com.android.musicfx" #Audio Equalizer
"com.android.providers.calendar" #Stock calendar app
"com.android.calendar" #Stock calendar app.
"com.android.contacts" #Stock contacts app.
"com.android.providers.downloads.ui" #Stock download app
"com.android.email" #Stock Email app (not Gmail).
#"com.android.emergency" #Emergency Contacts. Remove it if you don't use this feature.
"com.android.facelock" #Essential if you wanna use Face Unlock features, removable if you don't want to.
"com.android.gallery3d" #Gallery app.
#"com.android.inputmethod.latin" #AOSP keyboard.
"com.android.mms" #Stock SMS app.
#"com.android.phone" #Dialer app (!!! WARNING No SIM with a Xiaomi Note 5 Phone !!! Seems NOT to be safe)
#"com.android.providers.blockednumber" #Storage of blocked numbers.
#"com.android.browser.provider" # ???????????????
#"com.android.vpndialogs" #VPN system.
#"com.android.phone.recorder" #Call recorder function.
#"com.android.providers.userdictionary" #User dictionary for keyboard apps.
"contacts.com.android.providers.calendar" #Necessary to sync stock Calendar app and let it work correctly.
#"com.android.backupconfirm" #Restore google settings with Google Backup restore function. Essential package for ADB backup !!
#******** DEBLOAT AVANCE ********#
##################### UP TO YOU (can be useful features but safe to remove) #####################
"com.android.backupconfirm"
# Restore google settings with Google Backup restore function.
# Also display confirmation popup when doing ADB backup. If you remove this package you couldn't do ADB Backup.
"com.android.bluetooth"
# Bluetooth service
"com.android.browser"
# Stock Browser
"com.android.browser.provider"
# Strange package. It is old (2014) and there is a Picasa URL hardcoded.
# https://android.googlesource.com/platform/packages/apps/Browser/+/refs/heads/master/src/com/android/browser/provider/BrowserProvider.java
# Related to bookmarks but removing it doesn't seems to affect anything visible.
"com.android.calendar"
# Access to events from the calendar.
# Safe to remove if you don't use built-in calendar
"com.android.calculator2"
# Stock calculator app.
"com.android.calllogbackup"
# Call Logs Backup/Restore
"com.android.captiveportallogin"
# Take care of redirecting to the web page that the user of a public access network is obliged to view and interect with, before access is granted.
"com.android.cellbroadcastreceiver"
# == EMERGENCY ALERTS ==
# This service manages enabling and disabling ranges of message identifiers that the radio should listen for.
# It operates independently of the other services and runs at boot time and after exiting airplane mode.
# https://www.androidcentral.com/amber-alerts-and-android-what-you-need-know
"com.android.contacts"
# Stock contacts app (it is not Google contact)
"com.android.cts.ctsshim"
"com.android.cts.priv.ctsshim"
# Compatibilty Test Service. The CTS shim is a package that resides on a device's /system partition in order
# to verify certain upgrade scenarios. Could mess up OTA.
# Don't really know what happens with custom ROM if disabled. Should be safe.
# https://android.googlesource.com/platform/frameworks/base/+/51e458e/packages/CtsShim
#"com.android.deskclock"
# Clock stock app
"com.android.email"
# AOSP Email app (it is NOT gmail).
"com.android.emergency"
# Emergency informations. Safe to remove if you don't want this feature.
# com.android.exchange"
# The ExchangeService handles all aspects of starting, maintaining, and stopping the various sync adapters for email.
# [WARNING] I need to know to test if it only concerns stock mail app.
"com.android.facelock"
# Essential if you wanna use Face Unlock features, removable if you don't want to.
"com.android.gallery3d"
# AOSP Gallery app.
#"com.android.inputmethod.latin"
# AOSP keyboard. (This is not Google Keyboard).
"com.android.keychain"
# Enable apps to use system wide credential KeyChain (shared credentials between apps)
# https://security.stackexchange.com/questions/216716/android-keychain-what-is-a-system-wide-credential
#"com.android.mms"
# Stock SMS app.
#"com.android.nfc"
# NFC service
"com.android.pacprocessor"
# A PAC (Proxy Auto-Config) is a file which defines how an app can automatically define the correct proxy server for fetching an URL.
# Should be safe to remove if you don't use Auto-proxy (with PAC file config)
# https://en.wikipedia.org/wiki/Proxy_auto-config
#"com.android.phone.recorder"
# Call recorder function.
"com.android.providers.blockednumber"
# Handle blocked number storage
# Useful stuff but safe to remove if wanted
"com.android.providers.calendar"
# Necessary to sync stock Calendar app and let it work correctly.
"com.android.providers.userdictionary"
# Handle user dictionary for keyboard apps.
"com.android.proxyhandler"
# Handle proxy config
# Safe to remove if you don't use a proxy.
"com.android.quicksearchbox"
# Google quick search box.
"com.android.sharedstoragebackup"
# Used during backup. Fetch shared storage (files accessible by every apps with STORAGE permission)
# Things have changed with Android 10. Don't know if this package is still relevant.
# https://blog.mindorks.com/understanding-the-scoped-storage-in-android.
"com.android.voicedialer"
# Voice search.
"com.android.wallpaperbackup"
# Backup your wallapaper and load this backup instead of the original file in case you delete it.
# Safe to remove but it's not worth it.
)
##################### DO NOT REMOVE THIS (prevent core stuff to work) #####################
"com.android.certinstaller"
# Certificate installer. Digital certificates identify computers, phones, and apps for security. Just like you'd use your drivers license
# to show that you can legally drive, a digital certificate identifies your device and confirms that it should be able to access something.
# Here it is used for accepting and revoking of Internet certificates. Break wifi if removed.
"com.android.companiondevicemanager"
# Companion Device Manager that comes by default in every Oreo+ device.
# This handles connections to other devices, like Bluetooth Headphones, desktop Operative Systems, ecc.
"com.android.defcontainer"
# Needed during apps installation.
"com.android.documentsui" # Files picker
# Interface for apps wishing to access access files outside of their own storage area.
"com.android.musicfx"
# Audio equalizer. Some 3-party music apps can use it to provide you equalizing features.
"com.android.externalstorage"
# Needed by apps to access external storage (SD card)
"com.android.location.fused"
# Manages the underlying location technologies, such as GPS and Wi-Fi.
"com.android.mms.service"
# Provides support for sending MMS.
"com.android.mtp" #MTP Host
# Handle MTP (protocol allowing files to be transferred to and from your PC)
"com.android.phone"
# AOSP code for dialer app features
# SIM card will also not be detected if deleted.
"com.android.providers.contacts"
# Handle interaction with contacts data
"com.android.providers.downloads"
# Provider for downloads manager.
"com.android.providers.downloads.ui"
# User interface for listing downloads.
"com.android.providers.media"
# Handle access to media files.
"com.android.providers.settings"
# Handle settings app datas (contentProvider)
# https://android.stackexchange.com/questions/37195/why-are-there-two-settings-apps-settings-and-settings-storage
"com.android.providers.telephony"
# [AOSP] Telephony provider. Handle access to telephony database.
"com.android.server.telecom"
# Management your calls via your network provider or SIM and controls the phone modem.
"com.android.settings"
# AOSP Settings app features
"com.android.shell"
# Unix shell to communicate via ADB commands through PC.
"com.android.statementservice"
# Intent Filter Verification Service
# Intent : https://developer.android.com/reference/android/content/Intent
# Intent Filters : https://developer.android.com/guide/components/intents-filters
# https://android.stackexchange.com/questions/191163/what-does-the-intent-filter-verification-service-app-from-google-do
"com.android.storagemanager"
# Storage manager (Maintenance/Storage panel in the settings)
# Clean up unused files, show size of files regrouped by categories...
"com.android.systemui"
# Everything you see in Android that's not an app. User interface of Android
"com.android.vpndialogs"
# Handle VPN dialogs (UI boxes)
# https://en.wikipedia.org/wiki/Dialog_(software)
# Safe to remove if you don't plan to use a VPN.

View file

@ -14,9 +14,11 @@ declare -a US_carrier_bloat=(
"asurion.android.verizon.vms"
"com.asurion.android.verizon.vms"
"com.customermobile.preload.vzw"
"com.LogiaGroup.LogiaDeck"
"com.motorola.vzw.phone.extensions"
"com.securityandprivacy.android.verizon.vms"
"com.telecomsys.directedsms.android.SCG"
"com.vcast.mediamanager" # Verizon Cloud (https://play.google.com/store/apps/details?id=com.vcast.mediamanager)
"com.verizon.llkagent"
"com.verizon.messaging.vzmsgs"
"com.verizon.mips.services"

View file

@ -1,7 +1,8 @@
#!/bin/bash
declare -a google_bloat=(
"com.android.hotwordenrollment.okgoogle" #OK Google
"com.android.hotwordenrollment.okgoogle" # "OK Google" detection service.
"com.android.partnerbrowsercustomizations.chromeHomepage" # Horrible stuff for Google Chrome. This package bypass your DNS settings (for letting pass Google ads)
"com.chrome.beta" #Google Chrome Beta (https://play.google.com/store/apps/details?id=com.chrome.beta)
"com.chrome.canary" #Google Chrome Canary (Nightly build) (https://play.google.com/store/apps/details?id=com.chrome.canary)
"com.chrome.dev" #Google Chrome (developer) (https://play.google.com/store/apps/details?id=com.chrome.dev)

View file

@ -53,6 +53,7 @@ declare -a huawei_bloat=(
"com.nuance.swype.emui " #Huawei Swype functions.
#******** ADVANCED DEBLOAT ********#
"com.android.mediacenter" # Huawei music app. (yeah they messed up with the package name)
#"com.hisi.mapcon " #Don't disable/remove this if you use WiFi Calling, or it'll kill the app. If you don't use WiFi Calling, this is safe to remove. (Thanks @mj084 !)
#"com.huawei.hidisk " #Huawei File Manager app.
)

View file

@ -1,7 +1,5 @@
#!/bin/bash
declare -a brands=("Asus" "Huawei" "LG" "Nokia" "Samsung" "Sony" "Xiaomi")
declare -a amazon_bloat=(
"com.amazon.mShop.android"
"com.sec.android.app.dictionary"
@ -14,11 +12,6 @@ declare -a amazon_bloat=(
"com.amazon.mShop.android.shopping"
"com.amazon.clouddrive.photo"
"com.amazon.avod.thirdpartyclient"
"amazon.venezia"
"amazon.mp3"
"amazon.mShop.android"
"amazon.fv"
"amazon.kindle"
)
declare -a facebook_bloat=(
@ -46,23 +39,23 @@ declare -a microsoft_bloat=(
)
declare -a misc_bloat=(
"audible.application"
"cequint.ecid"
"com.audible.application"
"com.audible.application" # Cover Audible Audiobooks (https://play.google.com/store/apps/details?id=com.audible.application)
"com.blurb.checkout"
"com.booking"
"com.cequint.ecid"
"com.ebay.mobile"
"com.enhance.gameservice"
"com.evernote"
"com.gotv.nflgamecenter.us.lite"
"com.gotv.nflgamecenter.us.lite" #Football NFL (https://play.google.com/store/apps/details?id=com.gotv.nflgamecenter.us.lite)
"com.hancom.office.editor.hidden"
"com.imdb.mobile"
"com.infraware.polarisoffice5"
"com.linkedin.android"
"com.lookout" # Lookout Security & Antivirus (https://play.google.com/store/apps/details?id=com.lookout)
"com.micredit.in"
"com.netflix.mediaclient"
"com.netflix.partner.activation"
"com.niksoftware.snapseed" #Snapseed (https://play.google.com/store/apps/details?id=com.niksoftware.snapseed)
"com.nuance.swype.input"
"com.opera.app.news"
"com.opera.branding"
@ -73,15 +66,21 @@ declare -a misc_bloat=(
"com.til.timesnews"
"com.tripadvisor.tripadvisor"
"com.UCMobile.intl"
"flipboard.app"
"com.yahoo.mobile.client.android.liveweather" # Yahoo Weather (https://play.google.com/store/apps/details?id=com.yahoo.mobile.client.android.weather)
"flipboard.app" # Flipboard App (https://play.google.com/store/apps/details?id=flipboard.app)
"flipboard.boxer.app" #Briefing app (https://play.google.com/store/apps/details?id=flipboard.boxer.app)
"gotv.nflgamecenter.us.lite"
"in.mohalla.sharechat"
"yahoo.mobile.client.android.liveweather"
"in.mohalla.sharechat" #ShareChat (https://play.google.com/store/apps/details?id=in.mohalla.sharechat)
#### QUALCOMM ####
"com.qualcomm.qti.rcsbootstraputil"
"com.qualcomm.qti.rcsimsbootstraputil"
"com.qualcomm.qti.qms.service.connectionsecurity" #CURRENTLY IN TEST / MAY NOT BE SAFE
"com.qualcomm.qti.services.secureui"
"com.qualcomm.qti.auth.fidocryptoservice"
"com.qualcomm.qti.perfdump"
"com.qualcomm.atfwd"
"com.qualcomm.qti.qms.service.telemetry"
"com.qualcomm.timeservice"
"com.niksoftware.snapseed" #Snapseed (https://play.google.com/store/apps/details?id=com.niksoftware.snapseed)
)

View file

@ -15,7 +15,6 @@ declare -a samsung_bloat=(
"com.osp.app.signin" # Samsung Account
"com.policydm"
"com.samsung.aasaservice"
"com.sec.android.AutoPreconfig"
"com.samsung.advp.imssettings"
"com.samsung.android.allshare.service.mediashare"
"com.samsung.android.app.appsedge"
@ -30,6 +29,7 @@ declare -a samsung_bloat=(
"com.samsung.android.app.mirrorlink"
"com.samsung.android.app.news"
"com.samsung.android.app.notes"
"com.samsung.android.app.pinboard"
"com.samsung.android.app.reminder"
"com.samsung.android.app.routines"
"com.samsung.android.app.sbrowseredge"
@ -47,6 +47,7 @@ declare -a samsung_bloat=(
"com.samsung.android.asksmanager"
"com.samsung.android.authfw"
"com.samsung.android.bbc.bbcagent"
"com.samsung.android.bbc.fileprovider"
"com.samsung.android.beaconmanager"
"com.samsung.android.bixby.agent"
"com.samsung.android.bixby.agent.dummy"
@ -75,6 +76,9 @@ declare -a samsung_bloat=(
"com.samsung.android.samsungpass"
"com.samsung.android.samsungpassautofill"
"com.samsung.android.scloud" # Samsung Cloud
"com.samsung.android.scloud.auth"
"com.samsung.android.scloud.sync"
"com.samsung.android.sconnect"
"com.samsung.android.securitylogagent"
"com.samsung.android.service.livedrawing"
"com.samsung.android.service.peoplestripe"
@ -97,14 +101,22 @@ declare -a samsung_bloat=(
"com.samsung.desktopsystemui"
"com.samsung.ecomm"
"com.samsung.groupcast"
"com.samsung.helphub"
"com.samsung.klmsagent"
"com.samsung.knox.knoxtrustagent"
"com.samsung.knox.kss"
"com.samsung.knox.securefolder"
"com.samsung.mdl.radio"
"com.samsung.oh"
"com.samsung.safetyinformation"
"com.samsung.sdm"
"com.samsung.sdm.sdmviewer"
"com.samsung.SMT"
"com.samsung.svoice.sync"
"com.samsung.systemui.bixby"
"com.samsung.tmovvm"
"com.samsung.voiceserviceplatform"
"com.samsung.vvm"
"com.sec.allsharecastplayer"
"com.sec.android.app.billing"
"com.sec.android.app.gamehub"
@ -122,6 +134,7 @@ declare -a samsung_bloat=(
"com.sec.android.app.translator"
"com.sec.android.app.voicenote"
"com.sec.android.app.withtv"
"com.sec.android.AutoPreconfig"
"com.sec.android.cover.ledcover"
"com.sec.android.daemonapp"
"com.sec.android.desktopmode.uiservice"
@ -132,6 +145,7 @@ declare -a samsung_bloat=(
"com.sec.android.mimage.avatarstickers"
"com.sec.android.mimage.photoretouching"
"com.sec.android.provider.snote"
"com.sec.android.service.health"
"com.sec.android.sidesync30"
"com.sec.android.uibcvirtualsoftkey"
"com.sec.android.widgetapp.diotek.smemo"
@ -166,22 +180,6 @@ declare -a samsung_bloat=(
"com.vlingo.midas"
"com.wsomacp"
"net.sharewire.parkmobilev2"
"samsung.android.app.galaxyfinder"
"samsung.android.app.pinboard"
"samsung.android.bbc.bbcagent"
"samsung.android.bbc.fileprovider"
"samsung.android.scloud.auth"
"samsung.android.scloud.sync"
"samsung.android.sconnect"
"samsung.android.securitylogagent"
"samsung.helphub"
"samsung.klmsagent"
"samsung.knox.knoxtrustagent"
"samsung.knox.kss"
"samsung.mdl.radio"
"samsung.sdm"
"samsung.sdm.sdmviewer"
"samsung.vvm"
"tv.peel.samsung.app"
###### ADVANCED DEBLOAT ######