[RECOVERY][OFFICIAL] TWRP for MIX 2S

Search This thread

notsyncing

Senior Member
May 15, 2018
92
249
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/android_device_xiaomi_polaris

v15 Download: https://drive.google.com/open?id=10jqnlc0sVv0oWH2hYkxUglO5QhJwmnQd
sha256: 508695c7b82933c413cf6521a3deb1b012fe34e155ebf21d2a6f2e69338e9ce4
md5: baf3fa355339e0574b95897ec6a961a7

v14 Download: https://drive.google.com/open?id=1Mhe0BF613HGWwt1gc_95vuXB-ETci6sb
sha256: 16a977900abf77dedf75195239f122e0368d512ba9feb7fe0803823a3585c607
md5: bbb2b7054cd52b72326bf2c39188ebe2

v13 Download: https://drive.google.com/open?id=1nzqC1gKeI-XogjcUX4ZURz0OUT9Rshcg
sha256: dc4c37fdeeaa2a12de9c54c292f0275de02497b0ec0866dca254b625fbc494a7
md5: 404b9d4f22fa22d862c7b60db9d933bc

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

v8 recovery.img:
sha256: 12b864620650ce55efa9971be89c14eb497cc9ca65cea2e5cee3d5e7b623bb9e
md5: 6c55b55b6408111e9b8bbc50b4364317

Thanks:

@Travismills82 for his TWRP tree used as skeleton: https://github.com/travismills82/twrp_android_device_samsung_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
 
Last edited:

Puksom

Senior Member
Oct 9, 2015
217
77
Sorry but this is exactly the same posted with almost the release of the phone. You stating you made it yourself?
 
  • Like
Reactions: tasar

notsyncing

Senior Member
May 15, 2018
92
249
im trying to build it from your source but it just stays at a black screen

You could try adb logcat to see if adb started.
Is there any screen flashing? or just black screen?

Also, check the TARGET_RECOVERY_PIXEL_FORMAT workaround on README, or you could experience black screen with flashing.
 
Last edited:

joemossjr

Senior Member
Feb 14, 2011
2,152
1,951
28
Texas City Texas
Samsung Galaxy S22 Ultra
Can you hit me up on Hangouts? I have made 20 builds today all with the same problem lol my email is joemossjr16@gmail.com

---------- Post added at 04:28 AM ---------- Previous post was at 04:27 AM ----------

It's just a black screen adb does start tho
 

Top Liked Posts

  • There are no posts matching your filters.
  • 75
    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/android_device_xiaomi_polaris

    v15 Download: https://drive.google.com/open?id=10jqnlc0sVv0oWH2hYkxUglO5QhJwmnQd
    sha256: 508695c7b82933c413cf6521a3deb1b012fe34e155ebf21d2a6f2e69338e9ce4
    md5: baf3fa355339e0574b95897ec6a961a7

    v14 Download: https://drive.google.com/open?id=1Mhe0BF613HGWwt1gc_95vuXB-ETci6sb
    sha256: 16a977900abf77dedf75195239f122e0368d512ba9feb7fe0803823a3585c607
    md5: bbb2b7054cd52b72326bf2c39188ebe2

    v13 Download: https://drive.google.com/open?id=1nzqC1gKeI-XogjcUX4ZURz0OUT9Rshcg
    sha256: dc4c37fdeeaa2a12de9c54c292f0275de02497b0ec0866dca254b625fbc494a7
    md5: 404b9d4f22fa22d862c7b60db9d933bc

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

    v8 recovery.img:
    sha256: 12b864620650ce55efa9971be89c14eb497cc9ca65cea2e5cee3d5e7b623bb9e
    md5: 6c55b55b6408111e9b8bbc50b4364317

    Thanks:

    @Travismills82 for his TWRP tree used as skeleton: https://github.com/travismills82/twrp_android_device_samsung_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
    28
    It's official now! People can go to https://twrp.me/xiaomi/xiaomimimix2s.html to download the latest TWRP for MIX 2S.
    13
    TWRP 3.3.1-0 Unofficial v3 by palaych​

    • Add Vendor to the Wipe section
    • Update los kernel sources and compile with clang 9.0.5
    • Update twrp sources

    Download: https://drive.google.com/file/d/1JuD_pDGYoUqxq6ywXGtZbENwiFIsCYbG/view?usp=drivesdk
    13
    TWRP 3.3.1-0 Unofficial v1 by palaych

    Base on official device repo ( https://github.com/TeamWin/android_device_xiaomi_polaris ), tnx official maintainer.
    Update twrp sources.
    Work encryption with Android_r37+.

    Download: https://drive.google.com/file/d/17Mp1QqpNs4W5F9WSqxxM3kfLKy_h_P8a/view?usp=sharing
    10
    v7 is out now. The non-booting issue should be fixed. Please see OP for download.