[RECOVERY] [OFFICIAL] TWRP 3.2.1-0 for Xiaomi Redmi 4A [rolex] [20171210]

Search This thread

darshan1205

Senior Member
Apr 23, 2015
275
1,503
Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

CHANGELOG for 3.2.1-0:
  • minui fixes (cryptomilk)
  • Better android-8.0 compatibility in ROM trees (Dees_Troy)
  • Fix missing library in android-8.0 (nkk71)
  • Fix inconsistent SDCard naming (DevUt)
  • Default to TWRP restore instead of adb backup restore to fix restore on fresh TWRP boot (jlask)

CHANGELOG for 3.1.1-0:
  • Backups will now include adopted storage keys (Dees_Troy)
  • Fixed an adb restore issue (bigbiff)
  • Fixed rebooting when no OS is present (Dees_Troy)
  • Fixed line wrapping in the GUI terminal (_that)
  • Updated TWRP source code to AOSP 7.1.2 (Dees_Troy)Updated TWRP source code to AOSP 7.1.2

CHANGELOG for 3.1.0-0:
  • vold decrypt on a few select HTC devices, TWRP will now attempt to use the system partition's vold and vdc binaries and libraries to decrypt the data partition (nkk71 and CaptainThrowback)
  • adb backup to stream a backup directly to or from your PC, see documentation here (bigbiff)
  • tweak MTP startup routines (mdmower)
  • support new Android 7.x xattrs for backup and restore to fix loss of data after a restore (Dees_Troy)
  • support POSIX file capabilities backup and restore to fix VoLTE on HTC devices and possibly other issues (Dees_Troy)
  • better indicate to users that internal storage is not backed up (Dees_Troy)
  • improve automatic determination of TW_THEME (mdmower)
  • minimal getcap and setcap support (_that)
  • try mounting both ext4 and f2fs during decrypt (jcadduono and Dees_Troy)
  • shut off backlight with power key (mdmower)
  • timeout during FDE decrypt (Dees_Troy and nkk71)
  • support for FBE decrypt and backing up and restoring FBE policies (Dees_Troy)
  • boot slot support (Dees_Troy)
  • TWRP app install prompt during reboot (Dees_Troy)
  • support for AB OTA zips (Dees_Troy)
  • support new Android 7.x log command (Dees_Troy)
  • update recovery sources to AOSP 7.1 (Dees_Troy)
  • numerous bugfixes and improvements by too many people to mention

DOWNLOADS: twrp-3.2.1-0-rolex.img

HOW TO FLASH:
  • Fastboot Method :
    Code:
    fastboot flash recovery twrp-3.2.1-0-rolex.img
  • Boot to OLD TWRP > INSTALL > Select Image > Navigate to twrp-3.2.1-0-rolex.img > Select it & Swipe to Flash

CREDITS:
  • TeamWin
  • CyanogenMod/Lineage Android
  • Hyper

XDA:DevDB Information
[RECOVERY] [OFFICIAL] TWRP 3.2.1-0 for Xiaomi Redmi 4A [rolex] [20171210], Tool/Utility for the Android General

Contributors
darshan1205
Source Code: http://github.com/omnirom


Version Information
Status: Stable

Created 2017-03-20
Last Updated 2017-12-10
 
Last edited:

darshan1205

Senior Member
Apr 23, 2015
275
1,503
This build of TWRP uses prebuilt kernel from latest global stable rom so that is mentioned as kernel source
 

void23

Senior Member
Apr 21, 2012
167
181
Ah ok, I see. And thanks for the recovery! :good:

EDIT: Oh well, after flashing this one, system doesn't boot anymore in my case. I came from cofface-recovery (3.0.2-0), which worked fine.
Now, booting system just hangs on the screen with the 3 moving dots and apparently never finishes. Hmmm, any idea?

EDIT2: To fix it, I had to re-install 8.2.1.0 global rom. Also, I had downgraded TWRP to 3.0.2-0 again, but maybe this wouldn't have been necessary.
 
Last edited:

darshan1205

Senior Member
Apr 23, 2015
275
1,503
Ah ok, I see. And thanks for the recovery! :good:

EDIT: Oh well, after flashing this one, system doesn't boot anymore in my case. I came from cofface-recovery (3.0.2-0), which worked fine.
Now, booting system just hangs on the screen with the 3 moving dots and apparently never finishes. Hmmm, any idea?

EDIT2: To fix it, I had to re-install 8.2.1.0 global rom. Also, I had downgraded TWRP to 3.0.2-0 again, but maybe this wouldn't have been necessary.

Flash LazyFlasher zip to disable forced encryption after flashing recovery if you are using MIUI
 
  • Like
Reactions: TockTockTicky

TockTockTicky

Senior Member
Oct 16, 2016
52
3
Samsung Galaxy S7 Edge
Thanks man ! But a line is missing for TWRP intall : after you enter this line :
- fastboot flash recovery twrp-3.1.0-0-20170318-UNOFFICIAL-rolex.img
you need to enter this : fastboot boot twrp-3.1.0-0-20170318-UNOFFICIAL-rolex.img
 
  • Like
Reactions: waliuxd

BryanByteZ

Senior Member
Apr 30, 2014
1,126
840
Guys if isn't asking too much when Xiaomi release the source of Rolex (our device) anyone can quote me or send a pm? I plan to do a custom kernel for it. Thanks advanced!

Sent from my Xiaomi Redmi 4A using XDA Labs
 

dcclark01

Senior Member
Dec 10, 2015
53
5
Hello, will i used to flash the recovery every time i needed? I am not able to boot to recovery. Only Mi Logo appears at cold boot. By using the extended power button menu it works flawless

Gesendet von meinem Redmi 4A mit Tapatalk
 
Last edited:

darshan1205

Senior Member
Apr 23, 2015
275
1,503
Can u tell me how to fix that I have compiled a tarp for 4A working fine, but only showing decrypted data, but your recovery working fine

Source: https://github.com/AndroiableDroid/android_device_xiaomi_rolex

Please checkout this repository and tell me mistake:)
Add drm blobs

i'm using cofface's version and it doesn't support USB-OTG. Does your version support it?
Yup

Sent from my Redmi 3S using Tapatalk
 

Schmuppes

Senior Member
Sep 27, 2015
105
31
i'm using cofface's version and it doesn't support USB-OTG. Does your version support it?

I had to format the USB key as exFAT, and it worked in cofface's version without any problem.

---------- Post added at 01:43 PM ---------- Previous post was at 01:30 PM ----------

MIUI seems to overwrite TWRP and flash its own recovery again. I recall that I had the same issue at first with my Note 4X (mido), but I don't remember how I made TWRP persistent. For now, I don't want to flash a custom ROM on my dad's rolex, but I'd like TWRP to remain on the device. Any help would be appreciated.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 19
    Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

    CHANGELOG for 3.2.1-0:
    • minui fixes (cryptomilk)
    • Better android-8.0 compatibility in ROM trees (Dees_Troy)
    • Fix missing library in android-8.0 (nkk71)
    • Fix inconsistent SDCard naming (DevUt)
    • Default to TWRP restore instead of adb backup restore to fix restore on fresh TWRP boot (jlask)

    CHANGELOG for 3.1.1-0:
    • Backups will now include adopted storage keys (Dees_Troy)
    • Fixed an adb restore issue (bigbiff)
    • Fixed rebooting when no OS is present (Dees_Troy)
    • Fixed line wrapping in the GUI terminal (_that)
    • Updated TWRP source code to AOSP 7.1.2 (Dees_Troy)Updated TWRP source code to AOSP 7.1.2

    CHANGELOG for 3.1.0-0:
    • vold decrypt on a few select HTC devices, TWRP will now attempt to use the system partition's vold and vdc binaries and libraries to decrypt the data partition (nkk71 and CaptainThrowback)
    • adb backup to stream a backup directly to or from your PC, see documentation here (bigbiff)
    • tweak MTP startup routines (mdmower)
    • support new Android 7.x xattrs for backup and restore to fix loss of data after a restore (Dees_Troy)
    • support POSIX file capabilities backup and restore to fix VoLTE on HTC devices and possibly other issues (Dees_Troy)
    • better indicate to users that internal storage is not backed up (Dees_Troy)
    • improve automatic determination of TW_THEME (mdmower)
    • minimal getcap and setcap support (_that)
    • try mounting both ext4 and f2fs during decrypt (jcadduono and Dees_Troy)
    • shut off backlight with power key (mdmower)
    • timeout during FDE decrypt (Dees_Troy and nkk71)
    • support for FBE decrypt and backing up and restoring FBE policies (Dees_Troy)
    • boot slot support (Dees_Troy)
    • TWRP app install prompt during reboot (Dees_Troy)
    • support for AB OTA zips (Dees_Troy)
    • support new Android 7.x log command (Dees_Troy)
    • update recovery sources to AOSP 7.1 (Dees_Troy)
    • numerous bugfixes and improvements by too many people to mention

    DOWNLOADS: twrp-3.2.1-0-rolex.img

    HOW TO FLASH:
    • Fastboot Method :
      Code:
      fastboot flash recovery twrp-3.2.1-0-rolex.img
    • Boot to OLD TWRP > INSTALL > Select Image > Navigate to twrp-3.2.1-0-rolex.img > Select it & Swipe to Flash

    CREDITS:
    • TeamWin
    • CyanogenMod/Lineage Android
    • Hyper

    XDA:DevDB Information
    [RECOVERY] [OFFICIAL] TWRP 3.2.1-0 for Xiaomi Redmi 4A [rolex] [20171210], Tool/Utility for the Android General

    Contributors
    darshan1205
    Source Code: http://github.com/omnirom


    Version Information
    Status: Stable

    Created 2017-03-20
    Last Updated 2017-12-10
    5
    TWRP UPDATED!

    Change log:
    • Backups will now include adopted storage keys (Dees_Troy)
    • Fixed an adb restore issue (bigbiff)
    • Fixed rebooting when no OS is present (Dees_Troy)
    • Fixed line wrapping in the GUI terminal (_that)
    • Updated TWRP source code to AOSP 7.1.2 (Dees_Troy)Updated TWRP source code to AOSP 7.1.2
    • Official branding :p

    Download links in Post #1
    5
    TWRP updated!

    Changelog:
    * Update to N kernel.

    Downloads: https://twrp.me/xiaomi/xiaomiredmi4a.html

    Note: Use twrp-3.1.1-1-rolex.img for MIUI N or Custom Roms based on it & use twrp-3.1.1-0-rolex.img for MIUI M or Custom Roms based on it.