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

Search This thread

wasay.65

Senior Member
Apr 6, 2018
125
24
karachi
hi, i flashed twrp and when i enter in recovery it shows internal storage 0mb (cant access to storage via twrp)
I also had that problem but it is easy to solve. First go to twrp>wipe>advance wipe>data. From here change the file system to Ext2. Then format it. Then again change file system to Ext4 and then format again. It should be solved.
 

digidad

Senior Member
Jan 14, 2011
71
17
Scratching my head here - perhaps a noob question, but... I successfully unlocked the bootloader on my Redmi 4A

Now I've completed the following:
Code:
C:\adb>fastboot flash recovery recovery.img
target reported max download size of 535822336 bytes
sending 'recovery' (33052 KB)...
OKAY [  1.047s]
writing 'recovery'...
OKAY [  1.134s]
finished. total time: 2.184s
After doing so, I ran:
Code:
adb reboot recovery

When it reboots in recovery, what comes up is Mi-Recovery 3.0 - not TWRP. What am I doing wrong?
 

wasay.65

Senior Member
Apr 6, 2018
125
24
karachi
Scratching my head here - perhaps a noob question, but... I successfully unlocked the bootloader on my Redmi 4A

Now I've completed the following:
Code:
C:\adb>fastboot flash recovery recovery.img
target reported max download size of 535822336 bytes
sending 'recovery' (33052 KB)...
OKAY [  1.047s]
writing 'recovery'...
OKAY [  1.134s]
finished. total time: 2.184s
After doing so, I ran:
Code:
adb reboot recovery

When it reboots in recovery, what comes up is Mi-Recovery 3.0 - not TWRP. What am I doing wrong?
Follow this, it worked for me
Many devices will replace your custom recovery automatically during first boot. To prevent this, use Google to find the proper key combo to enter recovery. After typing fastboot reboot, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.


Or after flashing recovery do not reboot and instead use this command
Code:
fastboot boot recovery.img
Then you will have temporary TWRP. From there wipe DATA and then again flash TWRP. Both these process worked for me.
 
Last edited:

digidad

Senior Member
Jan 14, 2011
71
17
Follow this, it worked for me
Many devices will replace your custom recovery automatically during first boot. To prevent this, use Google to find the proper key combo to enter recovery. After typing fastboot reboot, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.


Or after flashing recovery do not reboot and instead use this command
Code:
fastboot boot recovery.img
Then you will have temporary TWRP. From there again flash TWRP. Both these process worked for me.

Thanks - that worked :)
 

chraso

Senior Member
Jun 20, 2011
87
36
Jamnagar
Xiaomi Redmi 4a
I was on stock miui.
Unlocked bootloader.
rebooted to fastboot
flashed as described
booted to recovery via "fastboot boot twrp"
wiped data+system+cache
flashed twrp image again
flashed Lineageos
now no recovery again!
am i missing anything?

Update:
I have downloaded 3.2.3.0 and somehow it is now resting on to recovery partition successfully.
Though I'm unable to backup the data partition via twrp, I'm still satisfied that at least I have custom recovery now.
Thank you again.
 
Last edited:

jonnyluke

Member
Jun 27, 2021
19
0
Lenovo A7000
Realme 2 pro
The latest version of twrp here, 3.3.1-0 still gives 0 MB internal storage.
The only solution I find is to instal the latest version of PBRP, now it will not show 0 MB internal storage anymore.

Hello, is there TWRP 2.x for Redmi 4a? Where can I find it? Thnx.
It doesn't exist. Even in the official sites of TWRP the oldest version is 3.1.1-0.
Not sure why you need so old version of it.
 

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.