Commented strings outside of the arrays to avoid errors when executing the script

This commit is contained in:
w1nst0n 2020-01-27 01:50:18 +01:00
parent 55e30f1191
commit d6cd0a16ed
4 changed files with 41 additions and 47 deletions

View file

@ -252,82 +252,84 @@ declare -a AOSP_bloat=(
##################### DO NOT REMOVE THIS (will prevent core stuff to work) #####################
"com.android.certinstaller"
#"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"
#"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"
#"com.android.defcontainer"
# Needed during apps installation.
"com.android.documentsui" # Files picker
#"com.android.documentsui" # Files picker
# Interface for apps wishing to access access files outside of their own storage area.
"com.android.musicfx"
#"com.android.musicfx"
# Audio equalizer. Some 3-party music apps can use it to provide you equalizing features.
"com.android.externalstorage"
#"com.android.externalstorage"
# Needed by apps to access external storage (SD card)
"com.android.location.fused"
#"com.android.location.fused"
# Manages the underlying location technologies, such as GPS and Wi-Fi.
"com.android.mms.service"
#"com.android.mms.service"
# Provides support for sending MMS.
"com.android.mtp" #MTP Host
#"com.android.mtp" #MTP Host
# Handle MTP (protocol allowing files to be transferred to and from your PC)
"com.android.phone"
#"com.android.phone"
# AOSP code for dialer app features
# SIM card will also not be detected if deleted.
"com.android.providers.contacts"
#"com.android.providers.contacts"
# Handle interaction with contacts data
"com.android.providers.downloads"
#"com.android.providers.downloads"
# Provider for downloads manager.
"com.android.providers.downloads.ui"
#"com.android.providers.downloads.ui"
# User interface for listing downloads.
"com.android.providers.media"
#"com.android.providers.media"
# Handle access to media files.
"com.android.providers.settings"
#"com.android.providers.settings"
# Handles settings app datas (contentProvider)
# https://android.stackexchange.com/questions/37195/why-are-there-two-settings-apps-settings-and-settings-storage
"com.android.providers.telephony"
#"com.android.providers.telephony"
# [AOSP] Telephony provider. Handle access to telephony database.
"com.android.server.telecom"
#"com.android.server.telecom"
# Management your calls via your network provider or SIM and controls the phone modem.
"com.android.settings"
#"com.android.settings"
# AOSP Settings app features
"com.android.shell"
#"com.android.shell"
# Unix shell to communicate via ADB commands through PC.
"com.android.statementservice"
#"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"
#"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"
#"com.android.systemui"
# Everything you see in Android that's not an app. User interface of Android
"com.android.vpndialogs"
#"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.
# Safe to remove if you don't plan to use a VPN.

View file

@ -430,7 +430,7 @@ declare -a google_bloat=(
##################### DO NOT REMOVE THIS (prevent core stuff to work) #####################
"com.google.android.packageinstaller"
#"com.google.android.packageinstaller"
# Gives ability to install, update or remove applications on the device.
# If you delete this package, your phone will probably bootloop.

View file

@ -1177,14 +1177,6 @@ declare -a samsung_bloat=(
# KMS = Key Management System
# KNOX feature (https://en.wikipedia.org/wiki/Samsung_Knox)
#"com.trustonic.tuiservice"
# The tuiService (Trusted User Interface) is a new security layer implemented by Trustonic.
# Allows a Trusted Application to interact directly with the user via a common display and touch screen, completely isolated from the main device OS.
# Seems like a good idea but it's closed source. I also don't see any real applications. Does dev uses *this* API ?
# Google implemented their own stuff in Android Pie : https://android-developers.googleblog.com/search/label/Trusted%20User%20Interface
# https://www.trustonic.com/news/blog/benefits-trusted-user-interface/
# https://en.wikipedia.org/wiki/Trusted_execution_environment
"com.sec.usbsettings"
# USB Settings seems to manage preferences and permissions for USB devices.
# Run at startup
@ -1211,47 +1203,47 @@ declare -a samsung_bloat=(
##################### DO NOT REMOVE THIS (will prevent core stuff to work) #####################
"com.policydm"
#"com.policydm"
# Samsung security policy update. I don't have this package and I'm not sure if it is really necessary.
# Can someone disable it and test if he/she still receives security updates ?
# https://www.samsung.com/nz/support/mobile-devices/security-policy-updates/
"com.samsung.android.SettingsReceiver"
#"com.samsung.android.SettingsReceiver"
# Samsung overlay of AOSP Settings. It has 39 permissions. I guess it handles interactions with features controled by the settings.
"com.samsung.android.app.soundpicker"
#"com.samsung.android.app.soundpicker"
# Let you select a sound for alarm/ringtone
"com.samsung.android.clipboarduiservice"
#"com.samsung.android.clipboarduiservice"
# User interface for clipboard
"com.samsung.android.communicationservice"
#"com.samsung.android.communicationservice"
# Message Service.
# Needed for SMS/MMS communication
"com.samsung.android.incallui"
#"com.samsung.android.incallui"
# UI when "being called/in call". It's basically the screen that shows you who is calling, lets you answer and hang up, switch to speaker, etc
"com.samsung.android.provider.filterprovider"
#"com.samsung.android.provider.filterprovider"
# FilterProvider dependency to Samsung Camera
# Provides access to filters (when you swipe right from the camera app)
# WARNING : Samsung camera will crash if this package is deleted.
"com.samsung.networkui"
#"com.samsung.networkui"
# User interface of the Mobile Network settings
"com.samsung.android.sm.policy"
#"com.samsung.android.sm.policy"
# SPCM (Striped Phase Change Memory ?) client.
# It kills rarely used apps running in background.
# Surely linked to Smart Manager. I think it can have a very bad impact on battery performance if deleted. I'm testing.
"com.sec.android.RilServiceModeApp"
#"com.sec.android.RilServiceModeApp"
# Samsung RIL. RIL means Radio Interface Layer. It's the bridge between Android phone framework services and the hardware.
# https://wladimir-tm4pda.github.io/porting/telephony.html
# https://stackoverflow.com/questions/11111067/how-does-modem-code-talk-to-android-code
# Samsung RIL is a add on from Samsung : Modem <=> Linux kernel <=> libsamsung-ipc <=> Samsung-RIL <=> Android framework <=> Android applications
"com.sec.android.inputmethod"
#"com.sec.android.inputmethod"
# Samsung keyboard
# Note : used for unlocking the phone after a reboot. Third-parties keyboards cannot be used here.
# DO NOT REMOVE THIS. NEVER !

View file

@ -391,21 +391,21 @@ declare -a xiaomi_bloat=(
####################### DO NOT REMOVE THIS (will prevent core stuff to work) #######################
"com.xiaomi.finddevice"
#"com.xiaomi.finddevice"
# Find My Device feature (in the Settings)
# REMOVING THIS WILL BOOTLOOP YOUR DEVICE !
#
# NOTE : I don't have a Xiaomi phone on hand anymore but maybe only disabling it will work : adb shell 'pm disable-user com.xiaomi.finddevice'
# Can someone try ?
"com.miui.securitycenter"
#"com.miui.securitycenter"
# MIUI Security app
# REMOVING THIS WILL BOOTLOOP YOUR DEVICE !
#
# NOTE : I don't have a Xiaomi phone on hand anymore but maybe only disabling it will work : adb shell 'pm disable-user com.miui.securitycenter'
# Can someone try ?
"com.miui.securityadd"
#"com.miui.securityadd"
# Related to the MIUI Security app
# REMOVING THIS WILL BOOTLOOP YOUR DEVICE !
#