Fixed wrong color in screenshots (thanks @wzsx150 for reporting)
Disabled USB MTP mode.
Note: This version has disabled USB MTP mode to take a try to fix the non-responsive problem as @TimesLeader suggested. If you need MTP feature, please stick to v5 and wait for TWRP fixing it.
Synced with latest omni and TWRP code (git-25b850d to git-ff9d097).
touch vibration now works.
removed the TW_BLANK_SCREEN_ON_BOOT option.
note: If you encountered the non-responsive problem, please try to get me some logs (adb logcat, dmesg, etc). Reboot will recover from it.
Synced with latest TWRP code (git-72638b6 to git-bf4f24f, reverted 34ad728).
Thanks @simonsmh for various fixes and cleanups!
No longer laggy UI! Thanks TWRP for their fix!
Also thanks @joemossjr for a stuck-in-blank-screen problem.
Fixed the keystore problem. Now you can safely decrypt the /data partition.
Use this at your own risk!
Decryption of /data
Screen brightness settings
Reboot to fastboot mode (unplug, poweroff, vol-dn+power until fastboot appears), then execute:
fastboot boot recovery.img
If your phone got stuck in "Downloading boot.img...", just reboot phone (long press power button) and try again.
Flash to recovery partition (thanks for @sytayeth for testing):
fastboot flash recovery recovery.img
Source code and compile guide:
v6 Download 1: https://we.tl/pXP4wEZzj6
v6 Download 2: https://drive.google.com/open?id=1W6...Ef0GUQXUaTWZUE
sha256: ca4e0e8401e48d59062bc7c9e82afeeceebbd04831a4181815 f36b0b7878e96f
v5 Download: https://drive.google.com/open?id=1H4...vQMSS_kw1BiIph
sha256: ccafa41a0020b4d5b16ec342f07d0ddb775d63869bb27580b6 79ee48892e6500
@Travismills82 for his TWRP tree used as skeleton: https://github.com/travismills82/twr...g_star2qltechn
@teamwin for sagit TWRP tree used for partial decryption works: https://github.com/TeamWin/android_device_xiaomi_sagit
宅科技_zecoki (or wx_pmZ7777t in the inner link), used for ADB works: https://blog.csdn.net/u010880477/art...tails/80285813