Mi Mix 4
TWRP + Recovery ROM
You need to know a few things:
- it's a recovery image (not a fastboot image - fastboot images need to be flashed using the fastboot command on a PC every time there's an update, recovery images can be flashed using TWRP)
- It has an encrypted A/B partition scheme. Not all versions of TWRP can decrypt and mount these partitions
- you need drivers and the sdk installed and the bootloader unlocked.
Instructions to install everything are https://xiaomi.eu/community/threads/howto-install-recovery-image.66211/
Get twrp image from https://xiaomi.eu/community/threads/howto-install-recovery-image.66211/ (skkk) - you will need to change the language afterwards from Chinese :)
Do NOT get it from https://twrp.me/xiaomi/xiaomimimix4.html as it can't decrypt the data directory or connect the USB.
rename it (after unzipping) to twrp.img
In a command prompt cd wherever the image is on the pc and reboot the phone in fastboot mode (power off, then power on + volume down button - should be an orange fastboot text) then type:
fastboot boot twrp.img
now you can copy the eu rom and twrp.img. Then flash the image and afterwards use the advanced tab to Install Recovery Ramdisk with twrp.img. After this you need to wipe -> format data or you get stuck in a bootloop.
DONT FLASH THE TWRP! - it's an A/B device, so you have to use the "install recovery ramdisk" option
Good links
https://www.getdroidtips.com/twrp-recovery-xiaomi-mi-mix-4-root/
Root
If all goes wrong, download stock from https://flashxiaomi.com/download-install-miui-rom-for-xiaomi-mix-4-all-miui-firmwares/
Get magisk from https://github.com/topjohnwu/Magisk
Rename the .apk to .zip and copy this to the phone storage, then install with TWRP using the Install button. Reboot and use rootchecker to see if you are rooted.
Open the magisk app and go to settings (top right). Enable zygisk and enforce denylist. Under configure denylist you can put things like banking apps that don't like rooted phones.
To get rid of navbar + include gestures
Install FoxMagiskModuleManager https://github.com/Fox2Code/FoxMagiskModuleManager
in order to install Fullscreen Immersive Gestures HideNavBar https://github.com/Magisk-Modules-Alt-Repo/HideNavBar
I put spacing under the keyboard to around 1000.
you need something like T Swipe Pro Gestures to perform the actual gestures though, because Xiaomi
Option 2
Install G-VisualMod https://github.com/Magisk-Modules-Repo/G-VisualMod#g-visual-mod
which allows loads of control over the visuals
adb
ensure usb debugging is on for adb
adb shell settings put global force_fsg_nav_bar 1
(there's still a small bar at the bottom of the screen)
adb shell cmd overlay enable com.android.internal.systemui.navbar.gestural
(just puts a black block over the buttons)
Terminal shortcut allows you to run the command after reboot (was not necessary for me)
Phone not showing contact names when called
https://www.youtube.com/watch?app=desktop&v=1dSrbTFh4Ns
In apps -> manage apps search for phone services (and manage calls), force stop them and then clear data.
contacts + contacts storage
If you also clear data from phone, open the phone app as it will require becoming default again and want some permissions.
Contact names not showing in WhatsApp
https://www.techbout.com/contact-names-not-appearing-in-whatsapp-27252/
refresh contacts
1. Open WhatsApp and tap on New Chat Icon located at the bottom right corner of your screen.
2. On the next screen, tap on the 3-dots Menu icon located at the top right corner of your screen.
3. From the menu that appears, tap on the Refresh option
This will Refresh your WhatsApp Contacts list and if this fix has worked, you should now be able to see WhatsApp displaying Contact Names.
Try to sync the account
I usually get a sync error though
WhatsApp official website recommends that you may have to Reset WhatsApp Sync process, in case WhatsApp continues to display Numbers instead of Contact Names, even after Refreshing the Contacts.
1. Open Settings on your Android Phone > scroll down and tap on Accounts.
2. On the Accounts Screen, tap on WhatsApp.
3. On the next screen, tap on WhatsApp.
On WhatsApp Sync screen, make sure that Contacts is toggled ON and tap on More (or 3-dots icon)
5. In the little Menu that appears, tap on the Sync Now option.
Manually Sync WhatsApp Settings On Android Phone
check phone book permissions
In order to display Contact Names, WhatsApp needs to be provided with permission to access the Address book on your Android Phone.
Follow the steps below to make sure that WhatsApp has access to the Address book on your device.
1. Open Settings > scroll down and tap on Applications. (Apps in case of Stock Android Phones)
2. On the next screen, tap on Application Manager.
Note: This step is not required on Stock Android Phones
3. On the Application Manager screen, scroll down and tap on WhatsApp.
4. On the App Info screen, tap on Permissions.
5. On WhatsApp permissions Screen, move the toggle next to Contacts to ON position
This will ensure that WhatsApp is able to get Contact Names from the Address book on your phone.
Update WhatsApp Messenger
It is possible that WhatsApp is going through a glitch and has come up with an Update to fix the problem of WhatsApp Not Showing Contact Numbers.
Follow the steps below to make sure that you have the latest version of WhatsApp installed on your Android Phone or Tablet.
1. Open Google Play Store on your Android Phone or Tablet
2. Once you are on Google Play, tap on the 3-line Menu Icon located at the top left corner of your screen.
3-line Menu Icon in Google Play Store on Android Phone
3. From the drop-down menu that appears, tap on My apps & Games option.
4. On My Apps & Games screen, tap on the Updates Tab and then tap on the Update button located next to WhatsApp Messenger.
Note: WhatsApp will only be listed on this screen, if an Update is available. Related
Wallpaper engine won't start up after reboot
https://www.reddit.com/r/wallpaperengine/comments/r576jv/wallpaper_engine_on_xiaomi_devices_fix_for/
Step 1 Go to your stock xiaomi themes app, click on wallpapers tab, then click live wallpapers button on centre of screen.
Step 2 Select any live wallpaper (this is temporary) and apply it to BOTH HOME AND LOCK SCREEN. It must be both or it doesn't work.
Step 3 Open WPE and set your wallpaper. Done
Step 4 - Optional
To set a standard wallpaper on lock screen and wpe on home screen, apply any other image to lock screen only. Note this cannot be a different live/animated wallpaper.