FORUMS
Remove All Ads from XDA

[RECOVERY][OFFICIAL] TWRP for MIX 2S

90 posts
Thanks Meter: 245
 
By notsyncing, Member on 15th May 2018, 04:09 PM
Post Reply Email Thread
Self-made TWRP 3.2.3-0 recovery for MIX 2S

It's official now!
Please go to https://twrp.me/xiaomi/xiaomimimix2s.html to download.

Updates:

v15 (2019-01-09):
Built against latest omni-9.0 tree and lineage-16.0 polaris kernel
This should fix the decryption issue on android 9.0 roms with 2019-01 security patches. If v14 works for you, then no need to flash this.

v14 (2018-12-09):
Built against latest omni-9.0 tree
This should fix the decryption issue on latest android 9.0 roms. If v13 works for you, then no need to flash this.

v13 (2018-11-21):
Fixed wiping issue

v12 (2018-11-16):
Built against latest omni-9.0 tree
This should fix the decryption issue on latest android 9.0 roms. If v11 works for you, then no need to flash this.

v11 (2018-10-12):
Built against latest omni-9.0 tree
This should fix the decryption issue on latest android 9.0 roms

v10 (2018-09-25):
Fixed wiping issue

v9 (2018-09-24):
Built against omni-9.0 tree, updated blobs from MIUI 10 Pie
Fixed android 9.0 decryption
NOTE: If you are on android 8.0/8.1, please use v8, I don't know if v9 would work with oreo

v8 (2018-08-03):
Synced with latest twrp code, version number now 3.2.3-0

v7 (2018-07-20):
Updated kernel and blobs to MIUI 10 8.7.19, fixed the non-booting issue after 8.7.16. Thanks for @simonsmh for fixing!
Synced with latest twrp code, version number now 3.2.2-0
Re-enabled MTP mode. If you have problems like crashing, please detach your device from usb.

v6 (2018-06-09):
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.

v5 (2018-06-06):
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.

v4 (2018-06-03):
Synced with latest TWRP code (git-72638b6 to git-bf4f24f, reverted 34ad728).
Thanks @simonsmh for various fixes and cleanups!

v3 (2018-05-26):
No longer laggy UI! Thanks TWRP for their fix!
Also thanks @joemossjr for a stuck-in-blank-screen problem.

v2 (2018-05-21):
Fixed the keystore problem. Now you can safely decrypt the /data partition.

Disclaimer:

Use this at your own risk!

Works:

ADB
Decryption of /data
Screen brightness settings
Smooth UI
Touch vibration


Usage:

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:

https://github.com/notsyncing/androi...xiaomi_polaris

v15 Download: https://drive.google.com/open?id=10j...xUglO5QhJwmnQd
sha256: 508695c7b82933c413cf6521a3deb1b012fe34e155ebf21d2a 6f2e69338e9ce4
md5: baf3fa355339e0574b95897ec6a961a7

v14 Download: https://drive.google.com/open?id=1Mh...95vuXB-ETci6sb
sha256: 16a977900abf77dedf75195239f122e0368d512ba9feb7fe08 03823a3585c607
md5: bbb2b7054cd52b72326bf2c39188ebe2

v13 Download: https://drive.google.com/open?id=1nz...ZURz0OUT9Rshcg
sha256: dc4c37fdeeaa2a12de9c54c292f0275de02497b0ec0866dca2 54b625fbc494a7
md5: 404b9d4f22fa22d862c7b60db9d933bc

v8 Download: https://drive.google.com/open?id=1Ge...CtK2kGihHDE8Pm

v8 recovery.img:
sha256: 12b864620650ce55efa9971be89c14eb497cc9ca65cea2e5ce e3d5e7b623bb9e
md5: 6c55b55b6408111e9b8bbc50b4364317

Thanks:

@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
@TimesLeader for dipper TWRP tree used for adb works:android_device_xiaomi_dipper
@wuxianlin for enchilada TWRP tree used for init.rc works:android_device_oneplus_enchilada
The Following 72 Users Say Thank You to notsyncing For This Useful Post: [ View ] Gift notsyncing Ad-Free
 
 
15th May 2018, 08:20 PM |#2  
Senior Member
Thanks Meter: 98
 
More
Do you think this recovery can be flashed from the other one that we have???

Sorry, I just read now that it's not tested.
The Following User Says Thank You to sytayeth For This Useful Post: [ View ] Gift sytayeth Ad-Free
16th May 2018, 04:43 AM |#3  
Junior Member
Thanks Meter: 0
 
More
Cool thx!
16th May 2018, 11:39 AM |#4  
Junior Member
Thanks Meter: 1
 
More
why does it so lag?lol
The Following User Says Thank You to ghost_nup For This Useful Post: [ View ] Gift ghost_nup Ad-Free
16th May 2018, 12:55 PM |#5  
OP Member
Thanks Meter: 245
 
More
Quote:
Originally Posted by sytayeth

Do you think this recovery can be flashed from the other one that we have???

Sorry, I just read now that it's not tested.

it should work, but I didn't try it, because on reboot it will be replaced by MIUI recovery
The Following User Says Thank You to notsyncing For This Useful Post: [ View ] Gift notsyncing Ad-Free
16th May 2018, 01:00 PM |#6  
OP Member
Thanks Meter: 245
 
More
Quote:
Originally Posted by ghost_nup

why does it so lag?lol

Yes, it lags, but at this moment, I don't know why and have no clue to resolve it
16th May 2018, 02:04 PM |#7  
Senior Member
Thanks Meter: 321
 
Donate to Me
More
Quote:
Originally Posted by notsyncing

Yes, it lags, but at this moment, I don't know why and have no clue to resolve it

The one posted in xiaomi.eu thread lags too, there it has not been resolved until now too
16th May 2018, 02:28 PM |#8  
Junior Member
Thanks Meter: 0
 
More
Cool!
16th May 2018, 04:25 PM |#9  
Senior Member
Thanks Meter: 63
 
More
Sorry but this is exactly the same posted with almost the release of the phone. You stating you made it yourself?
The Following User Says Thank You to Puksom For This Useful Post: [ View ] Gift Puksom Ad-Free
16th May 2018, 05:40 PM |#10  
Member
Thanks Meter: 59
 
More
Quote:
Originally Posted by Puksom

Sorry but this is exactly the same posted with almost the release of the phone. You stating you made it yourself?

The other release doesn't support /data decryption
16th May 2018, 06:13 PM |#11  
Senior Member
Thanks Meter: 98
 
More
Quote:
Originally Posted by notsyncing

it should work, but I didn't try it, because on reboot it will be replaced by MIUI recovery

Yes, It works.
The Following User Says Thank You to sytayeth For This Useful Post: [ View ] Gift sytayeth Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes