MIUI. Securing and configuring
This is only recommendations, it's up to you to skip any step.
We also provides setting equivalents for LOS (LineageOS) when possible.
We also provides setting equivalents for LOS (LineageOS) when possible.
DEVELOPER
MIUI: Settings -> About Phone -> tap x10 times on MIUI Verstion; LOS: Settings -> About Phone -> tap x10 times on Build Number (developer). Settings -> Additional settings -> {System} -> Developer options -> Stay awake -> ON Settings -> Additional settings -> {System} -> Developer options -> OEM unlocking -> ON Settings -> Additional settings -> {System} -> Developer options -> Install via USB -> ON #<-- THIS WILL NEED AUTH TO MI ACCOUNT, useful for titanium backup -DELAY_UNTIL_NET Settings -> Additional settings -> {System} -> Developer options -> USB debugging -> ON #<-- THIS WILL NEED AUTH TO MI ACCOUNT -DELAY_UNTIL_NET Settings -> Additional settings -> {System} -> Developer options -> Verify apps over USB -> OFF *re-check 'Verify apps over USB' if you get 'App not installed.' message on app installation from source (.apk file), *or if you get 'INSTALL_FAILED_VERIFICATION_FAILURE' on 'pm install' / 'adb install'. Settings -> Additional settings -> {System} -> Developer options -> WebView implementation -> set 'Android System WebView' or other you prefer. Settings -> Additional Settings -> Privacy -> turn ON Unknown sources ; Settings -> Additional settings -> {System} -> Developer options -> Turn on MIUI optimization -> turn OFF *This will reset all granted permissions. #+ Settings -> Additional settings -> {System} -> Developer options -> Notify about hight-risk features -> turn OFF
UPDATES
Settings -> Additional settings -> {System} -> Developer options -> Automatic system updates -> OFF Settings -> Additional Settings -> Authorization & revocation -> turn OFF 'Updates' ; turn OFF 'msa' ; turn OFF 'System app updater' ; turn OFF 'Feedback' #Revoking authorization -DELAY_UNTIL_NET (dont work without Internet access) Settings -> About Phone -> System update -> select "NO" Settings -> About phone -> System update -> ... -> Update settings -> turn OFF Download automatically ; turn OFF 'Install automatically' ; Settings -> About Phone -> System update -> fast tap on "menu" button, long tap on Updater app image, turn OFF backgroud data in permission. if no data - they dont allow it. #open app 'Link2SD' -> Updater -> Manage -> Notifications -> Updater -> turn OFF App icon badge ; turn OFF Floating notifications ; turn OFF lock screen notifications ; turn OFF Sound, Vibration, Notification light, Ringtone ; Settings -> System apps -> System app updater -> Auto updates -> set 'Dont update' . Settings -> System apps -> System app updater -> Show update notifications -> turn OFF. open app 'Google play' -> ... -> Auto-update Google apps -> turn OFF LOS:Settings -> About phone -> LineageOS updates -> Preferences -> turn off Auto updates check, turn ON Delete updates when installed ;
STANDARD MIUI APP PROPERTY PAGE (Autostart, Restrict data usage, Battery saver, Notifications)
Settings -> Installed apps -> ... -> Show all Apps -> ANY_APP (Analytics|System app updater|Browser|msa|ETC) -> turn OFF / ON what needed (Autostart, Restrict data usage, Battery saver, Notifications). ; --OR-- "Settings -> Installed apps ->" ===== is equal to ===== "open app 'Security' -> Manage apps ->" open app 'Security' -> Manage apps -> [same here] ; Settings -> Installed apps -> ... -> Settings -> turn OFF 'Notify about updates', turn OFF 'Recommendations';
NETWORK / DATA USAGE
Settings -> System apps -> Security -> Data usage -> trun OFF 'Report data usage stats', turn ON 'Data usage notifications', turn ON 'Show network speed' ; Android user layer:: Settings -> Data usage -> scroll down to System apps -> Updater -> turn OFF Mobile data ; *no search capability. --OR-- --AND-- (looks like this two is independent) MIUI user layer:: Settings -> Installed apps -> ... -> Show all Apps -> ANY_APP (Analytics|System app updater|Browser|msa|ETC) -> Restrict data usage -> Mobile data -> turn OFF ; *have search capability. --OR-- open app 'Security' (scroll down) -> Data usage -> Restrict data usage -> ... -> New apps' default settins -> Mobile data | Wi-Fi -> ON|OFF ; *useful, grouped by mobile / wifi and enabled / disabled, do have search capability. open app 'Security (scroll down) -> Data usage -> Restrict data usage -> ... -> Backgroud connection -> ANY_APP (Analytics|System app updater|Browser|msa|ETC) ; *useful, grouped enabled / disabled , do have search capability. #+ open app 'Security' (scroll down) -> Data usage -> Restrict data usage -> scroll down (Mobile data tab) -> System apps -> ANY_APP (Analytics|System app updater|Browser|msa|ETC) ;
BATTERY SAVER
Settings -> Battery & performance -> Choose apps -> ... -> Show system apps -> ANY_USER_APP -> Restrict background activity ; *very useful, grouped by 'custom' and 'Battery saver'. --OR-- (in old MIUI ver) Settings -> Battery & performance -> Power -> App battery saver -> ... -> Show system apps -> ANY_APP (Analytics|System app updater|Browser|msa|ETC) -> Battery saver -> Restrict background activity ; --OR-- (same here) open app 'Security' -> Battery -> App battery saver -> [same here] ;
CLEANUP
Settings -> Battery & performance -> Power -> Settings -> Clear cache when device is locked -> Never -> change to in 30 minutes ; * [same here] Settings -> Battery & performance -> Power -> ===== is equal to ===== open app 'Security' -> Battery -> Setting -> System apps -> Security (old: Security app) -> Cleaner -> Remind to clean turn OFF ; Scan app memory turn OFF ; Update automatically turn OFF ; Recieve recommendations turn OFF ;
AUTOSTART
Settings -> Installed apps -> Permissions -> Autostart -> ON / OFF what needed ; --OR-- "Settings -> Installed apps ->" ===== is equal to ===== "open app 'Security' -> Manage apps ->" open app 'Security' -> Manage apps -> [same here] ;
PERMISSIONS
Android user layer:: Settings -> Installed apps -> Permissions -> Permissions -> PERMISSION_NAME -> ANY_APP -> check/uncheck ANY ; --OR-- "Settings -> Installed apps ->" ===== is equal to ===== "open app 'Security' -> Manage apps ->" open app 'Security' -> Manage apps -> [same here] ; *useful, apps grouped by permission name. --AND-- Settings -> Installed apps -> Other permissions -> TAB: Apps -> ANY_APP -> check/uncheck ANY ; --AND-- Settings -> Installed apps -> Other permissions -> TAB: Permissions tab -> PERMISSION_NAME -> ANY_APP -> check/uncheck ANY ;
LOCKED APPS
Settings -> System apps -> Security -> Boost speed -> Lock apps -> check ANY_APP ; *useful, grouped in list with checkboxes.
SYSTEM CACHE
Settings -> System apps -> Security -> Boost speed -> Clear cache when device is locked -> in 30 minutes (default: Never) ; Settings -> System apps -> Security -> Boost speed -> Recieve recommendations -> turn OFF ;
SECURITY SCAN AND PRIVACY
Setting -> System apps -> Security (old: Security app) -> turn OFF Recive recommendations (in the bottom of list) ; turn ON Load using only Wi-Fi ; Setting -> System apps -> Security (old: Security app) -> Security Scan -> turn OFF Scan before installing ; turn OFF Auto Updates: Avast ; turn OFF Root ; turn OFF System updates ; Settings -> Additional Settings -> {Privacy} -> Google Pay Protect -> Scan device for security threats -> turn OFF ; --OR-- Settings -> Security status -> Google Play Protect -> Scan device for security threats -> OFF LOS:Settings -> Privacy -> Privacy Guard -> list down till 'Trebuchet' (universal) and uncheck it. ; Settings -> Additional Settings -> {Privacy} -> Send diagnostic data automatically -> turn OFF ;
ADVERTISING
Settings -> Additional Settings -> Privacy -> Ad services -> Personalized Ad Recommendation -> turn OFF ;
FIND DEVICE
#Make sure you should to turn it OFF? - Probably you shouldn't. MIUI: Settings -> Additional Settings -> Privacy -> {Special app access} -> Device admin apps (old: Device administrators) -> uncheck 'Find My Device' ; LOS: Settings -> Secuity -> Device administrators -> uncheck 'Find My Device' ; Settings -> Google -> Security -> Find My Device -> turn ON.
SYNC
Settings -> Sync -> Auto-sync data -> turn OFF. *This will conserve data and battery usage, *but you'll need to sync each account manually to collect recent information. *And you won't receive notifications when updates occur.
LOCATION SETTINGS
#Improve location by allowing system apps and services to detect networks AT ANY TIME. MIUI: Settings -> Additional Settings -> Privacy -> Location -> More ... -> Scanning -> turn OFF 'Wi-Fi scanning' ; turn OFF 'Bluetooth scanning' ; #Let Google's location service and other apps scan for networks, even when WLAN is off MIUI: Settings -> WLAN -> Additional Settings -> turn OFF 'Scanning always available' ;
ADVERTISEMENT
MIUI: Settings -> Additional Settings -> Privacy -> Ad services -> turn OFF 'Personalized Ad Recommendation' ;
SIM CARD AND MOBILE
Settings -> SIM cards & mobile networks -> turn OFF Always recieve MMS Settings -> SIM cards & mobile networks -> MOBILE OPERATOR NAME -> Preferred network type -> set Prefer 3G (save power, speed up Internet and allow to receive calls, since LTE blocks incoming calls sometime when in LTE mode) NOTE*-- Network Mode settings: 2G/3G (auto) is GSM/WCDMA (auto mode) ; 3G only is WCDMA only ; 2G only is GSM only ;
NOTIFICATIONS AND STATUS BAR
Settings -> Notifications & status bar -> Show carrier when device is locked -> turn OFF MIUM:Settings -> Notifications & status bar -> Toggle positions -> Mobile data, Wi-Fi, Bluetooth, Flashlight (old: Torch), Mute (old: Silent), Vibrate, DND, GPS, {Auto} Brightness, Read{ing} mode, Hotspot | Airplane, Battery saver, Rotate off, Sync, Buttons, Lock {screen}, Screenshot LOS: Settings of Slider, user photos from drand-mobile to arrange spoiler icons: Wifi, Cellular data, Battery, Do not Disturb, Location, Flashlight, Portrait, Airplain mode, Hotspot, Bluetooth, Invert colors, LiveDisplay, Data Saver, Cast, Ambient display, Caffeine, Heads up, Sync, System profiles, Volume panel. LOS:Slider -> turn off Location, select Night in LiveDisplay, turn ON Ambient display, turn OFF Sync.
DATE AND TIME AND REGION
Settings -> Additional Settings -> Region -> United states Settings -> Additional Settings -> Date & time (Settings -> Date & time) -> turn OFF Automatic time zone and Automatic date & time, set ON User 24-hour format, search London (timzone +0) and set current date and time. Settings -> Additional Settings -> Date & time -> Region -> United States Settings -> Additional Settings -> Date & time -> Time Zone -> Los Angeles
DISPLAY AND SCREEN
Settings -> Display -> turn OFF Auto-rotate screen Settings -> Display -> turn ON Double tap screen to wake Settings -> Display -> Dark mode -> turn ON #old Settings -> Display -> Contrast & colors -> set Warm, set Automatic contrast Settings -> Display -> Reading mode -> Reading mode -> turn ON, slide adjust to right. Settings -> Lock screen & password -> turn ON Launch Camera Settings -> Lock screen & password -> Sleep -> After XX minute(s) of inactivity. *You can't set inactivity from Settings -> Display -> Sleep -> .. ; MIUI:Settings -> Lock screen & password -> Advanced settings -> On lock screen -> set Dont show notifications at all ; LOS:Settings -> Notifications -> tap Gear for Settings -> On the lock screen - set Don't show notifications at all.
DISPLAY AND SCREEN 2 - VAULT / Your Feed
Settings -> Home screen & Recents -> Fill cells of uninstalled apps -> turn OFF Settings -> Home screen & Recents -> App vault -> turn OFF --OR-- / --AND-- Settings -> Google -> Search -> Your feed -> turn OFF Show feed
LEDS
Settings -> Additional Settings -> Notiicaton light - set it how you want.
KEYBOARD
Settings -> Sound & vibration -> Also vibrate for calls -> turn ON, Vibrate in silent mode -> turn ON, Dial pad tones -> turn OFF, Screen locking sounds -> turn OFF, Screenshot sound -> turn OFF, Delete sound -> turn OFF Settings -> Sound & vibration -> set Vibrate on tap -> set OFF Settings -> Additional Settings -> Language & input -> Virtual keyboard -> Manage Keyboards -> turn OFF SwiftKey Keyboard, turn ON Google voice typing Settings -> Additional Settings -> Language & input -> Languages -> English (United States) Settings -> Additional Settings -> Language & input -> Gboard -> Languages -> Add keyboard -> YOUR_LOCAL_LANG -> YOUR_LOCAL_LANG. Settings -> Additional Settings -> Language & input -> Gboard -> Preferences -> turn OFF vibrate on keypress, turn ON Popup on keypress, turn ON Voice input key ; turn ON show language switch key ; Settings -> Additional Settings -> Language & input -> Gboard -> Text correction -> turn OFF Block offensive words, turn OFF Auto-correction, turn OFF Auto capitalization , turn OFF Double-space period Settings -> Additional Settings -> Language & input -> Gboard -> Advanced -> turn OFF Share usage statistics, turn OFF Share snippets Settings -> Additional Settings -> Language & input -> Google voice typing -> turn OFF Block/Hide offensive words. Settings -> Additional Settings -> Language & input -> Google voice typing -> Languages -> check and HOLD on already checked English (US), check English (UK), check YOUR_LOCAL_LANG (YOUR_LOCAL_LANG), save. Settings -> Additional Settings -> Language & input -> Google voice typing -> Offline speech recognition -> tab AUTO-UPDATE select Do not auto-update languages. Settings -> Additional Settings -> Language & input -> Google voice typing -> Offline speech recognition -> tab ALL, tap and download English (US) -> Download, YOUR_LOCAL_LANG (YOUR_LOCAL_LANG). -DELAY_UNTIL_NET Settings -> Additional Settings -> Language & input -> Text-to-speech output -> Preferred (old: Text-to-speech) Engine options -> Setting for Google Text-tospeech Engine -> turn OFF Anonymous usage reports Settings -> Additional Settings -> Language & input -> Text-to-speech output -> Preferred (old: Text-to-speech) Engine options -> Install voice data -> English (United States) -Female, English (UK) - Voice set 1 + voice set 2, YOUR_LOCAL_LANG - Voice set1 download it. -DELAY_UNTIL_NET
DIAL
open app 'Phone' -> Settings -> Call recording -> turn ON Record calls automatically ; turn ON Call recording notification ;
MESSAGING
open app 'Phone' -> Settings -> Additional settings -> turn OFF Download MMS content automatically ; turn OFF Allow WAP push messages (SI/SL) (Allow messages to load content from websites) ; select Send via vCard ;
PLUS
Settings -> Themes -> long tap on settings -> turn OFF Recommendations ; turn OFF Automatic updates ; turn ON save to sd card. --OR-- launch app Themes -> tap menu to options, -