Not sure if I’m on-topic here or not, but here goes... I am responsible for the setup/configuration of WiFi routers in various restaurants and venues. We are simply using the built-in splash page functionality of the router to, upon connection, present a simple marketing message and daily special offer via an extremely simple, static external HTML page, rather than the login page that many venues present (airports, coffee shops, McDonalds, etc.).
After connecting to our SSID with a PC or mobile device, users are presented with a customized splash page where our venue’s latest “offer of the day” banner ad is presented, which links via a standard hyperlink out to a PDF coupon for them to redeem said offer. There are also a couple of other simple items on the page, such as a menu with links to other offers, and an embedded Google Map to the venue in question.
All seems to be OK on PCs and iPad/iPhone devices. However, we are running into a problem on Android devices – specifically, Android devices using newer/more recent versions of the Android OS.
The problem is that Google has made a change to newer versions of Android so that WiFi connection login/splash/confirmation pages no longer come up in the default Web browser of the phone/tablet in question. Instead, they seem to come up in some kind of built-in notification window simply titled “Sign-in to network” – it does not seem to be a full-blown, feature-compliant browser, but rather a panel of sorts built into Android. And when our basic, mainly static HTML page loads within this alert window, none of the standard HTML features (such as hyperlinks) seem to work. A window appears with the title “Sign-in to network”, and our splash page appears on within it, but the standard HTML hyperlink from our special offer graphic (to a PDF file) does not work. Clicking it has no effect. Our menu underneath that does not seem to open (it’s automatically collapsed on mobile devices), and none of the links within it work properly, and our embedded Google Map does not appear at all. It’s as if this alert window or whatever we call it does not support the basic features of HTML pages in any way.
There appears to be no way for me to programmatically force the Android client to “escape” from this proprietary panel and open up a page in their default browser. I’ve tried placing various forms of client and server side “push/redirect” code on the page in an effort to escape from this alert window and cue the default browser to open, with no luck. No matter what I do, it seems that they Android phones always load the splash page within a “sign-in to network” notification page rather than a browser, and that this notification panel is not fully functional for even basic HTML features such as <a> hyperlinks, javascript, or embedded items.
It’s possible that Android’s proprietary “sign-in to network” panel is apparently seeking some sort of acknowledgement of a successful "login" in order to proceed with any subsequent browsing. But if so, I don’t know what constitutes “acknowledgement”. Perhaps there some way to force a hidden form submission or link click programmatically to force the Android device to accept/acknowledge the connection just as if the user had logged in normally, so that we can then proceed to subsequent Web browsing?
Has anyone experienced this problem, or have any ideas as to whether there’s a work-around or coding-based solution to this difficulty?
Thanks very much for your help in advance.
UPDATE: I've been in touch with the Google developers of the sign-in panel... they indicated that "captive portal sign-in pages are displayed in an Android WebView, which uses much of the same code as the Chrome browser. The sign-in app is very simple, you can see all of its source code here.
One second after each navigation (including the initial page load), the app probes to see if the user has successfully signed into the network. This probe is done by fetching a URL that should give back a 204 response."
Based on this, I am making the assumption that until captive portal sign-in app probes to see if the user is successfully signed in, all other navigation and many other features on the page are disabled, and that the full functionality of the WebView panel is restored after a successful sign-in to the network. But if so how can I successfully "signal" to the sign-in app that the user is, in fact, signed in (or rather, that no sign is in necessary or desired)? Is there something programmatically that I can do in the page code to ensure this, so that the viewer can then proceed to normal Web navigation within the panel, and so forth?
Any insight into how this works from anyone here would be greatly appreciated!
Thanks!
General informations
I have returned to miui xiaomi.eu 10.3.17 10.3.16 PIE (care your sensors break from downgrading) as i get really good results for battery and performance. I propably will stay on this rom until i get a new device, because of that i wasted a lot of hours to debloat my device as good as possible and i want to share my results with you (im not a pro so take all with a grain of salt).
Remember this debloat list is highly customized at my own usage, some services could stop working for you and you could end up in bootloop when you have logged into mi account and remove related services for example. I advice a fresh install and dont open/ log in into a single app/service. You should check each row by yourself if you want to remove that app or not, i have added to almost each row a description (from own research and other research lists now only from universal debloater)
EDIT 02.02.2022: unluckily i just came now across with this insane universal debloater , here you can find all descriptions and by far better and more accurate than mines.
Code:
I am not responsible you breaking your phone with this list, all the modifications are done by you.
How to install my list:Root via magisk is required. For debloating i have used the magisk module "Debloater - Debloat Systemlessly" and you need a root file explorer.
Copy with the root file explorer one of the files to /data/adb and rename it to "deblaot-backup.txt", than install the module. After reboot all apps from the list should be removed (but i have not tested it like that by myself)
To remove your own apps or reinstall some of the removed apps you can simply install a terminal like termux and follow the instructions on the link above.
In Short:
Code:
su
deblaot
and choose your option from delete app or delete priv-app or reinstall app.
You stuck in bootloop:Go to your recovery and simply delete the module at /data/adb/modules/terminal_debloater. All apps will return.
Safe debloat list:I have noticed that debloating some apps/services can cause more battery drain, even some spyware crap (check old thread edits at the bottom), because routines start looping infinity to restart the debloated service. So i started from 0 again and this time i add only stuff which shouldnt affect battery negativly. To make this happen i need to test all changes for a longer time period so the list will grow with time slowly starting from 05.02.2022.
03.03.2022 New list on xiaomi.eu miui 10.3.16, unluckily i dont have time to copy all the descriptions and make the still running services list (but its quite similar). This time i have debloated almost everything stock related and i havent noticed any drawback as my sot is 10h+ and idle 0% and i couldnt found any annoying errors in the background, so eveything might be ok. [you need to replace contacts, gallery, keyboard (playstore), sms, telefon app...before debloating i am using the "simple" ones from f-droid]
NEW 03.03.2022
Code:
/system/app/Calculator
/system/app/CatchLog
/system/app/CloudPrint2
/system/app/MiuiCompass
/system/app/BuiltInPrintService
/system/app/BugReport
/system/app/GoogleKeyboard
/system/app/Joyose
/system/app/KSICibaEngine
/system/app/Lens
/system/app/Email
/system/app/MarkupGoogle
/system/app/PaymentService
/system/app/MiDrive
/system/app/MiuiVideoGlobal
/system/app/NextPay
/system/app/Notes
/system/app/PlayAutoInstallStubApp
/system/app/GooglePrintRecommendationService
/system/app/PrintSpooler
/system/app/TouchAssistant
/system/app/MiuiScreenRecorder
/system/app/SoterService
/system/app/MiLinkService
/system/priv-app/PersonalAssistant
/system/priv-app/Browser
/system/priv-app/Calendar
/system/priv-app/CleanMaster
/system/priv-app/Contacts
/system/priv-app/WellbeingPrebuilt
/system/priv-app/MiuiGallery
/system/priv-app/Velvet
/system/priv-app/GoogleFeedback
/system/priv-app/MiRecycle
/system/priv-app/Music
/system/priv-app/HotwordEnrollmentOKGoogleWCD9340
/system/priv-app/SoundRecorder
/system/priv-app/MiuiScanner
/system/priv-app/QuickSearchBox
/system/priv-app/Updater
/system/priv-app/Weather
/system/priv-app/HotwordEnrollmentXGoogleWCD9340
/system/app/MiRadio
/system/app/XiaomiSimActivateService
/system/app/XiaomiServiceFramework
/system/app/WMService
/system/app/SmsExtra
/system/app/PowerChecker
/system/app/MiWallpaper
/system/app/GoogleTTS
/system/app/PowerKeeper
/system/app/MiuiDaemon
/system/app/VsimCore
/system/app/XiaomiAccount
/system/app/CloudService
/system/app/MiCloudSync
/system/app/Stk
/system/priv-app/MiWebView
/system/priv-app/CloudBackup
/system/priv-app/GoogleOneTimeInitializer
/system/priv-app/FindDevice
/system/priv-app/Backup
/system/priv-app/CloudServiceSysbase
/system/app/XMCloudEngine
/system/app/PartnerBookmarksProvider
/system/app/MiGalleryLockscreen
/system/app/FileExplorer
/system/priv-app/Mms
/system/app/greenguard
/system/app/UpnpService
/system/priv-app/CNEService
/system/app/LiveWallpapersPicker
/system/app/Qmmi
/system/app/atfwd
/system/app/AutoRegistration
/system/app/xdivert
There are still a few ones which i like to debloat like:
com.miui.guardprovider (antivirus scam) [probably break app install]
com.miui.catcherpatch (no clue)
com.android.wallpaperbackup
org.simalliance.openmobileapi.service
com.xiaomi.tproxy
com.miui.vpnsdkmanager
com.android.providers.userdictionary
com.android.emergency
com.miui.dmregservice
com.miui.extraphoto
com.miui.audioeffect
...
but im at the moment very happy with the result so i dont try further. You can also try to freeze them with greenify or superfreezz if you are using one of them anyway to limit your user apps like me.
OLD
Code:
/system/app/BugReport (miui.bugreport) [Recommended] //Mi Feedback\nUsed to seend bug report to devs
/system/app/MiRadio (miui.fm) [Recommended] //MIUI FM Radio app
/system/app/Joyose (xiaomi.joyose) [Recommended] //Joyse Analytics and advertising\nRun in background and can't be stopped.
/system/app/Lens (google.ar.lens) [Recommended] // Google Lens (for AR too) (https://play.google.com/store/apps/details?id=com.google.ar.lens)
/system/app/Email (android.email) [Recommended] // Xiaomi closed-source email app based on the AOSP version. Really confusing package name.
/system/app/PartnerBookmarksProvider (android.providers.partnerbookmarks) [Recommended] // Provides bookmarks about partners of Google in Chrome
/system/app/SmsExtra (miui.smsextra) [Recommended] //Dependency for MIUI Messaging (MIUI SMS app misleadingly called com.android.mms)\nYou can remove it if you don't use the default SMS app (and you should)\nRun in background once the phone is booted, has access to internet and interact with Cloud Manager\n",
/system/app/SoterService (tencent.soter.soterserver) [Recommended] // Soter is a biometric authentication standard and platform in Android held by Tencent.\nhttps://github.com/Tencent/soter#a-quick-look-at-tencent-soter\nFYI : Tencent is a Chinese multinational conglomerate holding company (https://en.wikipedia.org/wiki/Tencent#Controversies)\n",
/system/app/XiaomiSimActivateService (xiaomi.simactivate.service) [Recommended] // Xiaomi SIM Activation Service\nOnly used to activate the Find My Device feature\nFor the activation to work you need to send a international SMS to China.\nYour carrier may block this by default and/or you'll probably need to pay extra for this.\n",
/system/app/WMService (miui.wmsvc) [Advanced] // WMService\nRun at boot, has access to internet + GPS\nI quickly looked at the decompiled code and I saw some unsanitized SQL inputs which is BAD! (vulnerable to SQL injection)\nTry to get your android unique Google advertising ID from Google Play Services.\nFeed and launch the spying/analytics app \"com.miui.hybrid\"\nThis app doesn't seems to do essential things except for tracking.\nWARNING: Some people said removing this app causes bootloop, others said it's not. \nI'd like someone to check this. I think it should be okay if you remove all other linked Xiaomi crapwares (like the script does)\n",
/system/app/MiLinkService (milink.service) [Recommended] // UniPlay Service\nMIUI screen casting service. \nIf removed, you'll have to use Android's native casting services which can be accessed through a 3rd party app.\n",
/system/app/TouchAssistant (miui.touchassistant) [Recommended] // Quick Ball/Touch Assistant\nTouch assistant with a combination of five unique shortcuts which aimed to give easy and quick access to functions and apps you use frequently.\n",
/system/app/NextPay (miui.nextpay) [Recommended]
/system/app/MiuiDaemon (miui.daemon) [Recommended] // MIUI daemon\nCollect a lot of data and send them to China.\nSee : https://nitter.net/fs0c131y/status/938872347087564800?lang=en
/system/app/VsimCore (miui.vsimcore) [Recommended] // Virtual Sim core service
/system/app/MiDrive (android.midrive) [Recommended] // Mi Drive \nMisleading package name. It is indeed a closed-source Xiaomi application.\nAllow for cloud storage (on Mi Cloud) and syncing across multiple Android devices.\n",
/system/app/MiCloudSync (miui.micloudsync) [Recommended] // Mi Cloud Sync\nNeeded for Cloud syncronisation
/system/app/CloudService (miui.cloudservice) [Recommended] // Mi Cloud Services needed for Mi Cloud
/system/app/CatchLog (bsp.catchlog) [Recommended] // bsp = Board support package\nUsed to catch log files obviously.
/system/priv-app/Weather (miui.weather2) [Recommended] // Mi Weather app
/system/priv-app/PersonalAssistant (miui.personalassistant) [Recommended] // Seems to be App Vault on some phones (https://play.google.com/store/apps/details?id=com.mi.android.globalpersonalassistant)\nhttps://c.mi.com/thread-1017547-1-0.html\n",
/system/priv-app/Backup (miui.backup) [Recommended] //MIUI Backup\nLocal Backup/Restore feature (Settings > Additional Settings > Local backups)\nIt seems this app can communicate with Mi Drop\nThis app has 73 permissions and can obviously do everything it want.\n",
/system/priv-app/Browser (android.browser) [advanced] // Mi Browser\nYou really should use something else.\nFYI https://www.xda-developers.com/xiaomi-mi-web-browser-pro-mint-collecting-browsing-data-incognito-mode/\n",
/system/priv-app/CleanMaster (miui.cleanmaster) [Recommended] // Mi Cleaner\nClean useless files\
/system/priv-app/GoogleFeedback (google.android.feedback) [Recommended] // When an app crashes, this is the app that briefly asks you if you want to feedback the crash on the market, Google Play Store.
/system/priv-app/CloudServiceSysbase (miui.cloudservice.sysbase) [Recommended] // Another Mi Cloud dependency
/system/priv-app/CloudBackup (miui.cloudbackup) [Recommended] // Mi Cloud backup\nNeeded for Xiaomi cloud backup.
/system/priv-app/MiWebView (mi.webkit.core) [Recommended] // MI WebView\nXiaomi alternative to Google WebView\nREMINDER : It is a system component for the Android operating system that allows Android apps to display content \nfrom the web directly inside an application. It's based on Chrome.\nOn open-source privacy oriented Webview is Bromite (https://www.bromite.org/system_web_view)\n",
/system/priv-app/MiuiScanner (xiaomi.scanner) [Recommended] // Mi Scanner\nLets you scan documents, crop, adjust grayscale and OCR.
/system/priv-app/QuickSearchBox (android.quicksearchbox) [Recommended] // Google quick search box.
/system/priv-app/MiRecycle (xiaomi.mirecycle) [Recommended] // Mi Recycle \nXiaomi has extended its partnership with Cashify to launch the 'Mi Recycle' feature through its MIUI Security app. \nIt will let Xiaomi phone users check the health of their smartphone and get their resale value directly from Cashify, \nthe online re-commerce company based out of New Delhi.\nSource : https://gadgets.ndtv.com/mobiles/news/xiaomi-mi-recycle-cashify-miui-security-app-2018024\n",
/system/app/XMCloudEngine (miui.translation.xmcloud) [Recommended] // Translation stuff. Does not impact global translation for non-chinesse users.
/system/app/MiWallpaper (miui.miwallpaper) [Recommended] // Mi Wallpaper
/system/app/MiGalleryLockscreen (mfashiongallery.emag) [Recommended] // Wallpapers by Xiaomi
/system/app/PaymentService (xiaomi.payment) [Recommended] // Old package name for Mi Credit (https://play.google.com/store/apps/details?id=com.micredit.in.gp)\nMi Credit is a personal loan platform from Xiaomi.\n",
/system/priv-app/Velvet (google.android.googlequicksearchbox) [Recommended] // Google Search box (https://play.google.com/store/apps/details?id=com.google.android.googlequicksearchbox)
/system/app/KSICibaEngine (miui.translation.kingsoft) [Recommended] // Translation stuff by Kingsoft (https://en.wikipedia.org/wiki/Kingsoft)
/system/app/Notes (miui.notes) [Recommended] // Mi Notes
/system/app/MiuiScreenRecorder (miui.screenrecorder) [Recommended] // Mi Screen Recorder
/system/app/FM (miui.fmservice) [Recommended] //FM Radio Service\nNeeded by com.miui.fm to work correctly
/system/app/MiuiVideoGlobal (miui.videoplayer) [Recommended] // Mi Video (https://play.google.com/store/apps/details?id=com.miui.videoplayer)
/system/priv-app/Music (miui.player) [Recommended] //Mi Music (https://play.google.com/store/apps/details?id=com.miui.player)
/system/priv-app/Updater (com.android.updater) [unsafe] // Mi Updater\nProvide system updates\nREMOVING THIS WILL BOOTLOOP YOUR DEVICE! // For me it does not cause bootloop xiaomi.eu
OLD Services which are still running in the background:
Code:
Battery & Performance (miui.powerkeeper) [advanced] // Battery and Performance\n(aggressive) MIUI power management (https://dontkillmyapp.com/xiaomi)\nThat's a weird app that also contains a DRM Manager and a service related to Cloud Backup\nHas obviously a lot of dangerous permissions.\nI guess removing this package will decrease the battery performance. Is it that noticeable? Can someone try?\n"
Android Service Library (google.android.ext.services) [unsafe] // The ExtServices module updates framework components for core OS functionality such as notification ranking, autofill text-matching strategies, storage cache, package watchdog, and other services that run continually. This module is updatable, meaning it can receive updates to functionality outside of the normal Android release cycle.
Android System Webview (google.android.webview) [advanced] // AOSP webview\nIt's a system component for the Android operating system (OS) that allows Android apps to display content \nfrom the web directly inside an application. \nThis package is no longer used in recent phones as it was replaced by com.google.android.webview\n#\nOn open-source privacy oriented Webview is Bromite (https://www.bromite.org/system_web_view)\n)\n",
Android-Einrichtung (google.android.setupwizard) [Recommended] //It's the basic configuration setup guides you through the basics of setting up Google features on your device.\nThe second package is only present on Pixel phones.",
Android system (android) [no]
Anrufverwaltung (android.server.telecom) [unsafe] //? Management your calls via your network provider or SIM and controls the phone modem.
application extension service (miui.contentcatcher) [Recommended] // Application Extension Service\nI don't have a Xiaomi device so I can't test. A lot of people delete this package but I'd like to know its purpose.\nIMO it's related to web browsing from a xiaomi app\n"
blocked numbers storage (android.providers.blockednumber) [advanced] //Handles blocked numbers storage\nOn some devices this packages seems to be tied to recent apps menu (see https://gitlab.com/W1nst0n/universal-android-debloater/-/issues/6)\n",
CarrierDefaultApp (android.carrierdefaultapp) [Recommended] //Allows carrier customization. Carrier action upon specific signal.
com.android.smspush (android.smspush) [advanced] // This service is used to push/send specially formatted SMS messages that display an alert message to the user, \nand give the user the option of connecting directly to a particular app.\nFor instance, a SMS notifying the user he as a new e-mail, with a URL link to connect directly to the e-mail application\nhttps://web.archive.org/web/20200915164901/https://www.nowsms.com/doc/submitting-sms-messages/sending-wap-push-messages\n",
?XiaomiModemDebugService (com.modemdebug)
com.qti.dpmserviceapp [Recommended] //Data Power Manager for the radio\nUsed to improve energy efficiency\
com.qti.qualcomm.datastatusnotification [Recommended] //Can read/send SMS\nAllows to cap data when you've reached the limit of your plan (not 100% sure)
com.qualcomm.atfwd [Recommended] //
Used to send AT command messages from/to the modem\nAttention commands commands are a collection of short-string commands developed in the early 1980s \nthat were designed to be transmitted via phone lines and control modems. Different AT command strings can be merged together \nto tell a modem to dial, hang up, or change connection parameters. \nSmartphones include a basic modem component inside them, which allows the smartphone to connect to the Internet \nvia its telephony function.\nThis can be abused. It's been known for many years that Android devices are vulnerable to attacks carried out via AT commands:\nhttps://www.bleepingcomputer.com/news/security/smartphones-from-11-oems-vulnerable-to-attacks-via-hidden-at-commands/\n",
com.qualcomm.qcrilmsgtunnel [Recommended] // Tunnel between modem and android framework. Related to SMS ? \nFYI : ril = Radio Interface layer. It's the bridge between Android phone framework services and the hardware.\nThere is no noticeable immediate consequences after disabling it but it'd better to know more about.\n",
com.qualcomm.qti.autoregistration [Recommended] //Collect device activation data to remotely activate a phone’s warranty\nFYI : In 2019 this package was sending private data (IMEI, CELLID , CCID) in CLEAR text to zzhc.vnet.cn (chinese server). \nAccording to HMD (Nokia) it was a mistake : \nhttps://www.androidauthority.com/nokia-7-plus-user-info-967901/\n",
?smcinvokepkgmgr (com.qualcomm.qti.smcinvokepkgmgr)
com.qualcomm.qti.telephonyservice [unsafe] //Sound processing during phonecalls\nYou absolutely need this package.
com.qualcomm.qti.workloadclassifier [expert]
com.qualcomm.timeservice [Recommended] // Qualcomm Time Service\nIt maybe keeps the real time clock in the Qualcomm processor synchronised with Android time.\nSeems not safe to remove. \n",
com.quicinc.cne.CNEService [Recommended] // Qualcomm Connectivity Engine\nAllow seamless calls between VoLTE and VoWiFi\nhttps://www.qualcomm.com/news/onq/2013/07/02/qualcomms-cne-bringing-smarts-3g4g-wi-fi-seamless-interworking\nhttps://programmersought.com/article/35091829299/\n",
Einstellungen (android.settings) [unsafe] //AOSP Settings app features
FusedlocationProvider (android.location.fused) [advanced] //FusedLocationProvider\nIt uses a combination of a device’s GPS, Wi-Fi and internal sensors to improve geolocation performance.\nThe thing is there is also a Fused Location Provider embeded in 'com.google.android.gms'\nThis Xiaomi location provider obviously has as much tracking as the Google one but if you can remove one tracking source\nit's still better than nothing.\nCan someone try to remove this package and give feedback please?\n",
Gboard (google.android.inputmethod.latin) [Recommended] //Google Keyboard (https://play.google.com/store/apps/details?id=com.google.android.inputmethod.latin)
Gerät finden (xiaomi.finddevice) [unsafe] //Find My Device feature (in the Settings)\nEnables you to locate your lost phone and erase your data remotely. \nYour phone needs to be connected to internet (Wifi/mobile data) for this feature to work. \nREMOVING THIS PACKAGE WILL BOOTLOOP YOUR DEVICE!\n\nNOTE : You cannot disable it via adb\nAccording some sources, disabling MIUI optimizations in the Developer\nsettings and removing the apk file in a custom recovery does not cause a\nbootloop, but I didn't test this.\n",
Google Partner Setup (google.android.partnersetup) [Recommended] //Enables applications to perform functionality that requires access to your Google account information\nSafe to remove if you don't have a Google account\n",
Google Play Store (android.vending) {use connections}
Google Play-Dienste (google.android.gms)
Google-Dienste-Framework (google.android.gsf) {use connections}
?In-Display Fingerprint (goodix.fingerprint.setting) // might be some debug tool - propably breaks fingerprint
Kalenderspeicher (com.android.providers.calendar) [Recommended] //Necessary to sync stock Calendar app and lets it work correctly.
Kontaktspeicher (com.android.providers.contacts) [unsafe] //Handle interaction with contacts data
Leistungsmesser (xiaomi.powerchecker) [advanced] //Power Detector \nSecurity> Battery> Activity Control. \nDetects abnormal power usage by apps (not all. Some Xiaomi apps are whitelisted)\nNeeded for 'com.miui.powerkeeper' to work.\n",
LocationServices (qualcomm.location) [Recommended] //May enable your device to determine its location more quickly and accurately, even when your device is unable to get a strong GPS signal. \n**May** also help your device conserve battery power when you use applications or services requiring location data\nIt will periodically downloads data to your device regarding the locations of nearby cellular towers and WiFi access points\n#\nQualcomm Location periodically sends a unique software ID, the location of your device (longitude, latitude and altitude, and its uncertainty) \nand nearby cellular towers and Wi-Fi hotspots, signal strength, and time (collectively, “Location Data”) to Qualcomm servers. \nAs with any Internet communication, they also receive the IP address your device uses. \nhttps://www.qualcomm.com/site/privacy/services\n",
Medienspeicher (android.providers.media) [unsafe] //Handle access to media files.
Miui SDK (miui.core) [unsafe] //MIUI SDK\nIt is obiously needed for MIUI to work correctly. FYI, it manages the MIUI Analytics service.\nWill cause bootloop if removed.\nI read you can freeze it without issue. I'm... a bit dubious about this.\nIf someone want to try et report the result:\nadb shell am force-stop com.miui.core && adb shell pm disable-user com.miui.core && adb shell pm clear com.miui.core\n",
MiuiNiometric (miui.face) [advanced] //MIUI Biometric\nFace Unlock feature
Nfc Service (android.nfc) [advanced] //NFC service
Notfallmeldungen (android.cellbroadcastreceiver) [advanced] //Cell broadcast has been designed to deliver messages to multiple users in an area.\nThis is notably used by ISP to send Emergency/Government alerts. This package handles the situation on occurence of this event.\nRuns at boot time and is also triggered after exiting airplane mode.\nhttps://en.wikipedia.org/wiki/Cell_Broadcast\nhttps://www.androidcentral.com/amber-alerts-and-android-what-you-need-know\nhttps://android.googlesource.com/platform/packages/apps/CellBroadcastReceiver/+/refs/heads/master/src/com/android/cellbroadcastreceiver\n",
org.codeaurora.ims
Rechtemanager (lbe.security.miui) [unsafe] //Permission manager\nLets you monitor apps permission requests.
Secure Ui Service (qualcomm.qti.services.secureui) [expert] //Qualcomm Secure UI Service.\nUncertain role...
Secureelementapplication (android.se) [advanced] // Underlying implementation for Open Mobile API SEService (OMAPI SE)\nEnables apps to use the OMAPI API to access secure elements (SE) to enable smart-card payments and other secure services.\n\nA SE is a special chip (e.g SIM-card) whose the main purpose is to store cryptographic secrets in such a way \nthat illicit use is hard or impossible to do.\n#\nFYI : The Open Mobile Alliance (OPA) is a standards organization which develops open standards for the mobile phone industry.\n",
Setting Storage (android.providers.settings) [unsafe] //Handles settings app datas (contentProvider)\nhttps://android.stackexchange.com/questions/37195/why-are-there-two-settings-apps-settings-and-settings-storage\n",
Sicherheit (miui.securitycenter) [unsafe] //MIUI Security app\nProvides \"protection and optimization tools\" \nApp lock, Data usage, Security scan, Cleaner, Battery saver, Blocklist and other features.\nThis package is mostly the front-end (UI).\nhttps://beta.pithus.org/report/f8c24ccfc526389ff9084505c60fba3d3463565f92e2015190e2974b370e7c4e\nREMOVING THIS WILL BOOTLOOP YOUR DEVICE!\n\nNOTE : 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'\nCan someone try?\n",
Sim-Toolkit (android.stk) [Recommended] //SIM toolkit \nSIM toolkit app. Enable carriers to make SIM cards initiate \"value-added services\" (== some crappy stuff)\nBasically, Some operators give SIMs which has applications installed in it. \nhttps://en.wikipedia.org/wiki/SIM_Application_Toolkit#cite_note-CellularZA-1\nHas already be abused : \n- SimJacker : https://thehackernews.com/2019/09/simjacker-mobile-hacking.html\n- WIBattack : https://www.zdnet.com/article/new-sim-card-attack-disclosed-similar-to-simjacker/\n",
Smart-Divert (qti.xdivert) [Recommended] //Smart-Divert\nIf enabled, diverts your calls to another number.\nYou can choose to divert all calls, divert on no reply or divert when the line is busy.\nWhere can you enable/disable this feature? \n",
GoogleTTS (google.android.tts) [Recommended] //
Text-to-speech (https://play.google.com/store/apps/details?id=com.google.android.tts)\nPowers apps to read text on your scream aloud, in many languages\n",
System Ui (android.systemui) [unsafe] //Everything you see in Android that's not an app. User interface of Android\
Systemlauncher (miui.home) [advanced] // MIUI System Launcher\nIt's basically the home screen, the way icons apps are organized and displayed.\nDON'T REMOVE THIS IF YOU DIDN'T INSTALL ANOTHER LAUNCHER !\n",
Telefon- und SMS-Speicher (android.providers.telephony) [unsafe] Telephony provider. Controls and stores phone-related data such as text messages, APN list, operation, etc.
Telefondienste (android.phone) [no]
?Tproxy (xiaomi.tproxy) // no clue
uceShimService (qualcomm.qti.uceShimService) [expert]
User Dictionary (android.providers.userdictionary) [advanced] //Handles user dictionary for keyboard apps.
Xiaomi Serviceframework (xiaomi.xmsf) {use connections} [Recommended] //Xiaomi Service Framework Keeper\nLogger service for 'com.xiaomi.xmsf
System Service Plugin (miui.securityadd) [unsafe] // Related to the MIUI Security app\nREMOVING THIS WILL BOOTLOOP YOUR DEVICE!\n\nNOTE : I don't have a Xiaomi phone on hand anymore but maybe only disabling it will work : adb shell 'pm disable-user com.miui.securityadd'\nCan someone try ?\n",
Themen (android.thememanager) [advanced] //MIUI Themes (manager)\nXiaomi seems to love confusing package name\nThis package lets you select and apply themes provided by Xiaomi. \nThere is a strong likelihood that removing this package will disable the ability to change wallpapers. \nCan someone test?\n",
Sicherheitskomponente (miui.securitycore) [unsafe] //Core features of the \"com.miui.securitycenter\"\nRemoving com.miui.securitycenter will cause your device to bootlop so I guess you should not remove this package neither.\n(Can someone try just in case?)\n",
Mi Konto (xiaomi.account) [Recommended] //Mi Account
System tracing (android.traceur) [Recommended] //System Tracing\nRecording device activity over a short period of time is known as system tracing. System tracing produces a trace file that can be used to generate \na system report.\nNot useful if you're not a developer.\n",
SecCamService (com.qualcomm.qti.seccamservice) {use connections maybe} [expert] // pending
Old Thread:
Safe "Xiaomi ADB/Fastboot Tools" list:I have translated the removal options from ADB/Fastboot Tools to the magisk debloater module as you can remove much more apps with the magisk module. Not all apps are included (calendar, calculator, compass, file manager, soundrecorder, clock, gboard) because i prefer to keep them. You can still remove them by using the module.
Code:
/system/app/BugReport // Feedback app
/system/app/MiRadio // Radio app
/system/app/Joyose // Joyse Analytics and advertising\nRun in background and can't be stopped.
/system/app/Lens // Related to camera app ?\nSafe to remove (according to a lot of users)
/system/app/Email // email app
/system/app/PowerChecker // Power Detector CARE people have reported it may break ~battery app optimization // Power Detector This is located under Security> Battery> Activity Control. Which you put under the "lock" so that they are not unloaded from memory. But on the other hand, they won’t start. Since this is a stray from xiaomi and in android there is a service on this subject. But since this is Miui and there are eternal troubles, with the application settings configured in the background.
/system/app/PartnerBookmarksProvider // Bookmark Provider Bookmark manager stock browser i think
/system/app/SmsExtra // Dependency for MIUI Messaging // according universal deblaoter it seems to be necessary but everything working for me witouth
/system/app/SoterService // Soter is a biometric authentication standard and platform in Android held by Tencent.
/system/app/XiaomiServiceFramework // Xiaomi Service Framework\nSet of API's that Xiaomi apps can used (to put it simply a lot of Xiaomi apps used the same functions which are centralized here)\nI first thought removing this will absolutely break everything but it seems not.\nI don't know the situation now but in 2016 this app constantly tried to do tcp connections in background\nRemoving this big boy will definitively break Mi Cloud and Mi account (and all features needing these 2 things) but you should\nbe okay if you don't use most of Xiaomi apps (what's probably the case if you use this script)\n\nCan someone try to remove this and give feedback? \nCheck if alarms (from Xiaomi Clock & 3-party apps) still work if the phone is in sleep-mode.
/system/app/XiaomiSimActivateService // Xiaomi SIM Activation Service\nOnly used to activate the Find My Device feature
/system/app/WMService // WMService\nRun at boot, has access to internet + GPS\nI quickly looked at the decompiled code and I saw some unsanitized SQL inputs which is BAD! (vulnerable to SQL injection)\nTry to get your android unique Google advertising ID from Google Play Services.\nFeed and launch the spying/analytics app \"com.miui.hybrid\"\nThis app doesn't seems to do essential things except for tracking.\nWARNING: Some people said removing this app causes bootloop, others said it's not. \nI'd like someone to check this. I think it should be okay if you remove all other linked Xiaomi crapwares (like the script does)
/system/app/MiLinkService // UniPlay Service\nMIUI screen casting service. \nIf removed, you'll have to use Android's native casting services which can be accessed through a 3rd party app.
/system/app/TouchAssistant // Quick Ball/Touch Assistant\nTouch assistant with a combination of five unique shortcuts which aimed to give easy and quick access to functions and apps you use frequently.
/system/app/NextPay // miui next pay
/system/app/Notes // note app
/system/app/MiuiDaemon // MIUI daemon\nCollect a lot of data and send them to China.\nSee : https://nitter.net/fs0c131y/status/938872347087564800?lang=en\
/system/app/VsimCore // Virtual Sim core service
/system/app/MiDrive // Mi Drive (Chinese version)\nLets you upload and sync your files on the (Mi) Cloud.\nAlways run in background
/system/app/MiCloudSync // Mi cloud
/system/app/CloudService // Mi cloud
/system/app/CatchLog // catch log
/system/priv-app/Weather // weather app
/system/priv-app/PersonalAssistant // mi vault
/system/priv-app/Backup // miui backup
/system/priv-app/Browser // stock browser
/system/priv-app/CleanMaster // cleaner from security app
/system/priv-app/DownloadProvider // download app
/system/priv-app/MiuiFreeformService // Floating window\nI think the name app is pretty straightforward\nYou can make apps appear above other applications
/system/priv-app/GoogleFeedback // google feedback
/system/priv-app/CloudServiceSysbase // mi cloud
/system/priv-app/CloudBackup // Mi cloud
/system/priv-app/MiWebView // mi webview
/system/priv-app/MiuiScanner // scanner app
/system/priv-app/QuickSearchBox // google search box
/system/priv-app/MiRecycle // Mi Recycle \nXiaomi has extended its partnership with Cashify to launch the 'Mi Recycle' feature through its MIUI Security app.
/system/app/XMCloudEngine // Translation
/system/app/MiWallpaper // mi wallpaper
/system/app/MiGalleryLockscreen // mi wallpaper carousel
/system/app/PaymentService // mi credit
/system/priv-app/Velvet // google app
/system/priv-app/DownloadProviderUi // Downlaod app
/system/app/KSICibaEngine // King soft translation
/system/app/MiuiScreenRecorder // Screen Recorder
/system/app/MiuiVideoGlobal // video player
/system/priv-app/Music // music player
Further extreme debloat list:I have done a lot more debloating, but i have skipped a lot of app/services because there are so many (endless list) and if the apps dont actually run in the background, waste battery like (CIT (com.miui.cit) testtool) or im not sure about its better to keep... Anyway i have added the list of all remaining installed apps in the attachment.
Code:
CloudPrint2 (com.google.android.apps.cloudprint) // official Android app for printing to Google Cloud Print
WallpaperBackup (com.android.wallpaperbackup) // backup of images (either in the gallery, or wallpaper)
Updater // Updater app
HotwordEnrollmentOkGoogleWCD9340 (com.android.hotwordenrollment.okgoogle) // OK google voice registration
BluetoothMidiService (com.android.bluetoothmidiservice) // Bluetooth midi devices support
BookmarkProvider (com.android.bookmarkprovider) // Bookmark Provider Bookmark manager stock browser
com.miui.qr // test qr cit (testing tool) // or Qr code scanner
XiaomiAccount (com.xiaomi.account) // Mi account Xiaomi account service. Used in all MIUI applications.
GooglePrintRecommendationService (com.google.android.printservice.recommendation) // Print Service Recommendation Service Allegedly, it provides the implementation of the android print service ... but I still do not understand why this application really exists.
PrintSpooler (com.android.printspooler) // Print Spooler Another component for sending documents to print. Choice according to needs.
Greenguard (com.miui.greenguard) // Family Guard - Family Tracker (gps) app
Stk (com.android.stk) // Sim Toolkit
MusicFX (com.android.musicfx) // Equilizer
CallLogBackup (com.android.calllogbackup) // Call Log Backup / Restore Backup and call log recovery.
HowordEnrollmentXGoogleWCD9340 (com.android.hotwordenrollment.okgoogle) // OK google voice registration
PlayAutoInstallStubApp (android.autoinstalls.config.Xiaomi.qssi) // Can force install apps pushed by xiaomi
BuiltInPrintService (com.android.bips) // Default Print Service Print
UserDictionaryProvider (com.android.providers.userdictionary) // User Dictionary The component used by the keyboard
BlockedNumberProvider (com.android.providers.blockednumber) // anti-spam (number and SMS filter) (running permanently)
FindDevice (com.xiaomi.finddevice) // miui find device, google find still work (running permanently)
GoogleTTS (com.google.android.tts) // speech service by google (running permanently)
CellbroadcastReciever (com.google.android.cellbroadcastreceiver) // google emergency and non-emergency alerts (running permanently)
miuibiometrics (miui.face) // miui face unlock (running permanently)
WAPPushManager (android.smspush) // it is used the inform the device for an incoming and outgoing sms (running permanently)
qualcomm.atfwd // mirror screen to a smart TV // not for wireless display, but for AT command messages from/to the modem (running permanently)
quicinc.cne.cneservice // is something related to mobile and Wi-Fi traffic or switching between wifi and mobile data. // this is an IPSec client to allow seamless calls between VoLTE and VoWiFi (running permanently)
IMS (org.codeaurora.ims) // code required to provide upstream enablement for a novel, performance-optimized network connectivity and related ecosystems to support system on a chip (SoC) technologies. // it is required to acquire IMS (VoLTE, Wifi Calling APN settings.) (running permanently)
smart divert (qti.xdivert) // accept an incoming call to the second SIM, if at the same time you are already talking from the first SIM card (running permanently)
uceshimservice (qualcomm.qti.uceshimservice) // RCSService RCS (Rich Communication Service). Should be some kind of replacement to sms service ? (running permanently)
AutoRegistration (com.qualcomm.qti.autoregistration) //Collect device activation data to remotely activate a phone’s warranty\nFYI : In 2019 this package was sending private data (IMEI, CELLID , CCID) in CLEAR text to zzhc.vnet.cn (chinese server). \nAccording to HMD (Nokia) it was a mistake : \nhttps://www.androidauthority.com/nokia-7-plus-user-info-967901/\n
datastatusnotification (com.qti.qualcomm.datastatusnotification) //Can read/send SMS\nAllows to cap data when you've reached the limit of your plan (not 100% sure)\n
TProxy //im not sure exactly but its from miui and i dont use proxy at all
Traceur (com.android.traceur) //System Tracing\nRecording device activity over a short period of time is known as system tracing. System tracing produces a trace file that can be used to generate \na system report.\nNot useful if you're not a developer.
xdivert (com.qti.xdivert) //Smart-Divert\nIf enabled, diverts your calls to another number.\nYou can choose to divert all calls, divert on no reply or divert when the line is busy.\nWhere can you enable/disable this feature?
UpnpService (com.xiaomi.upnp) //UpnpService\nUPnP = Universal Plug and Play\nIt’s a protocol that lets UPnP-enabled devices on your network automatically discover and communicate with each other\nFor exemple it works with the Xiaomi Network Speaker (and probably a lot more Xiaomi IoT stuff)\nUPnP have a lot of security issue and you proably should disable it on your router.\nhttps://nakedsecurity.sophos.com/2020/06/10/billions-of-devices-affected-by-upnp-vulnerability/\nThis package is the Xiaomi implementation on Android (no AOSP support)
FM (com.miui.fmservice or com.miui.fm) // MIUI FM Radio app or miui fm service
GuardProvider (com.miui.guardprovider) // Guard Provider security app\nThe app includes 3 different antivirus brands built in that the user can choose (Avast, AVL and Tencent). \nThis app notably perform a virus scan of any apps you want to install. \nA serious vulnerability was found in 2019\nWorth reading : https://research.checkpoint.com/2019/vulnerability-in-xiaomi-pre-installed-security-app/\nYou may want to remove this app from a privacy stance.\nhttps://beta.pithus.org/report/797a7e405bc8e767deebbbcab3e06a19b05156de44292c918b582dff3078d7b8\nNOTE: It's seems removing this package break app installation.
MiuiContentCatcher (com.miui.contentcatcher) //Application Extension Service\nI don't have a Xiaomi device so I can't test. A lot of people delete this package but I'd like to know its purpose.\nIMO it's related to web browsing from a xiaomi app
WapiCertManage (com.wapi.wapicertmanage) // WAPI certificate manager\nWAPI = WLAN Authentication and Privacy Infrastructure. \nIt's a Chinese National Standard for Wireless LAN (local area network : within a limited area such as a home)\nNot very useful if you don't live in China.\nFYI : https://en.wikipedia.org/wiki/WLAN_Authentication_and_Privacy_Infrastructure\n#\nDigital certificates identify computers, phones, and apps for security. Just like you'd use your driver’s license \nto show that you can legally drive, a digital certificate identifies your device and confirms that it should be able to access something.\nFYI : https://security.stackexchange.com/questions/102550/what-are-wifi-certificates-used-for-what-are-they
VpnDialogs (com.android.vpndialogs) // Provide VPN support to Android\nhttps://en.wikipedia.org/wiki/Dialog_(software)\nSafe to remove if you don't plan to use a VPN.
Qmmi (com.qualcomm.qti.qmmi) //QMMI is a test app made by Qualcomm. It is used by service center to test the working of the various device components.\nMore info: https://community.phones.nokia.com/discussion/52566/android-10-on-nokia-8-1/p19\nUseless for end-users.
quicinc.cne.cneservice //Qualcomm Connectivity Engine\nAllow seamless calls between VoLTE and VoWiFi\nhttps://www.qualcomm.com/news/onq/2013/07/02/qualcomms-cne-bringing-smarts-3g4g-wi-fi-seamless-interworking\nhttps://programmersought.com/article/35091829299/
Services which are still running in the background:This are all services which are still running on my phone in the background.
Code:
battery & performance (miui.powerkeeper) // miui battery hardcoded app // may removable tough
android system webview (google.android.webview) // may break app function // A component for viewing web content. Provides a web rendering engine for use in native applications. Used by many applications. For example, in email clients or VK, when the page opens inside the application.
Androidsystem (android) // necessary
Call management (android.server.telecom) // necessary manages audio calls and video calls
qualcomm.qcrilmsgtunnel // Something related to switching communications, between 2G / 3G / 4G standards.
qualcomm.qti.telephonyservice // necessary send or receive calls, sms, mms, data services, and network management.
settings (android.settings) // necessary
fusedlocationprovider (android.location.fused) // necessary gps history
gboard (google.android.inputmethod.latin) // one keyboard is needed
google play store // necessary
google play services (google.android.gms) // necessary
google service framework // necessary
indisplay fingerprint (goodix.fingerprint.settings) // unlock fingerprint
calendarstorage (com.android.providers.calendar) // necessary for calendar apps
key chain (com.android.keychain) // may necessary password storage ?? //provides access to private keys and their corresponding certificate chains
contactstorage (com.android.providers.contacts) // necessary for storing contacts
locationservice (qualcomm.location) // necessary for gps
nfcservice (android.nfc) // nfc service running even while disabled nfc
auth manager (lbe.security.miui) // Permission app may necessary
secure element application (android.se) // may necessary // store data securely in dedicated hardware ?
settings storage (android.providers.settings) // necessary storage for settings
security app (miui.securitycenter) // hardcoded miui app unluckily necessary
system ui (android.systemui) // necessary
systemlauncher (miui.home) // one launcher is necessary
telephone & sms storage (android.providers.telephony) // necessary
telephon services (android.phone) // necessary
Those apps/services running in the background i couldnt find enough informations. Maybe some of you more experienced members can help to understand if we can remove them or why not:
Code:
?secure ui service (qualcomm.qti.services.secureui) // Gathers events from the Android framework and forwards them to the native SecureUI entities. Blocks WFD when a secure UI session is starting, and resumes it when it's done.
?Android service library (google.android.ext.services) // Notification Ranking Service" and it sorts notifications by "importance" // notification ranking, autofill text-matching strategies, storage cache, package watchdog, and other services that run continually
?qualcomm.qti.workloadclassifier ???
?qualcomm.qti.smcinvokepkgmgr ???
?qti.dpmserviceapp // Service for playing content with DRM protection. // not DRM or policy related, but "data power manager" for the radio // Data Power Manager for the radio\nUsed to improve energy efficiency
?com.modemdebug ??? some kind of routine to test gsm and if wifi running ?
Edit:
01.02.2022 added MiuiScreenRecorder
02.02.2022
- tproxy, autoregistration, datastatusnotification maybe removable
- quicinc.cne.cneservice propably should not be removed
- i have removed miui music, video and replaced with an external service
- i have added a few more from the list of all installed apps marked with a - infront (also added in extreme debloat list above)
03.02.2022 updated the txt files in attachments and post few and few descriptions from universal debloater
04.02.2022 readded quicinc.cne.cneservice
05.02.2022 while i did more debloating i found out one of the latest "recommanded" debloat (not included in this list so far) might be the culprit of my device started to drain a lot. In the logs i found an error "securitydevicecredentialmanager NULL binder retry" this error occured every 500ms. It looks like it stopped some ****ty spyware https://github.com/amirzaidi/MIUIAn...edential/SecurityDeviceCredentialManager.java but this routine looped infinity and caused even more battery drain probably.
After i have noticed this i have readdded all of my debloat and it seems that even the safe debloat list was causing more battery idle drain. So i am trying to find out what is causing the drain and will make a new "super safe list" at my own.
Click to expand...
Click to collapse
Hello! One question, do you have any idea where I can get that firmware? on the original website just that version (10.3.16 does not appear, only a chinese version but not from eu)
Mr.Brownstone97 said:
Hello! One question, do you have any idea where I can get that firmware? on the original website just that version (10.3.16 does not appear, only a chinese version but not from eu)
Click to expand...
Click to collapse
Xiaomi.eu is not Xiaomi ROM for EEA region
Moreover, Xiaomi eu is not official ROM - but custom ROM although based on Xiaomi ROMs. As such, you would need to unlock Bootloader...
Find more info on Xiaomi.eu forun
zgfg said:
Xiaomi.eu no es una ROM de Xiaomi para la región del EEE
Además, Xiaomi eu no es una ROM oficial, sino una ROM personalizada, aunque basada en las ROM de Xiaomi. Como tal, necesitarías desbloquear Bootloader...
Encuentre más información en el foro Xiaomi.eu
Click to expand...
Click to collapse
Thanks, I had no idea, I never installed a modified version of miui This is my last attempt to try to make the battery last all day, there is no way as much as I do everything like lowering the processor frequencies to 300 mhz the phone simply does not last, not even with the new battery I bought (what which doesn't make sense) So thank you very much, I will try this method and I hope it works well
Mr.Brownstone97 said:
Thanks, I had no idea, I never installed a modified version of miui This is my last attempt to try to make the battery last all day, there is no way as much as I do everything like lowering the processor frequencies to 300 mhz the phone simply does not last, not even with the new battery I bought (what which doesn't make sense) So thank you very much, I will try this method and I hope it works well
Click to expand...
Click to collapse
Good luck.
Im still on it and running pretty fine. Tough i have installed tons of apps and my battery performamce slightly reduced in comparison to the start with 10h sot+. (Dual apps on a different account is kicking hard probably.)
There might be a fix for that (blocking wakelocks etc from specific apps), but im to lazy to work on. Overall im pretty happy as i easily get through the day and sometimes have to charge each second day.
Care about your sensors, you need to make a backup of a partition i forgot the name off before downgrading.