FORUMS
Remove All Ads from XDA
H10 Turbo

[UNOFFICIAL] TWRP 3.1.1-0 Recovery for Xiaomi Redmi 4 China [PRADA][BUGLESS]

1,025 posts
Thanks Meter: 451
 
By Kizoky, Senior Member on 22nd April 2017, 03:35 PM
Post Reply Email Thread
Unofficial TeamWin Recovery Project

Xiaomi Redmi 4 (prada)

Last update: 11.11.2017

MIUI9 status: Flash ok

Please note:
Redmi 4 China (2/16) = prada
Redmi 4 China Prime (3/32) = markw
Redmi 4 India (2/16) = Redmi 4X = santoni
Redmi 4A (2/16) = rolex

After long hours of pain, trials & errors, I have succesfully built TWRP for Redmi 4 from sources (It's not just a simple port)
Based on latest source of TWRP

Requirements:
-Make sure your bootloader is unlocked!
-ADB tools (for flashing the recovery)
-Patience

Drag the recovery.img to the root folder of ADB (for example: c:\adb\ <---- drag the file here)
Boot your phone into fastboot mode, then enter the following:
fastboot flash recovery recovery.img
Long press the power button to make the phone restart. Press Power + Volume UP to enter into recovery mode
Enjoy

For Stock ROM users, If you need to disable DM-Verify, press INSTALL, then navigate to /!verify/verify.zip
This will patch boot.img for MIUI ROMs




Download link:
https://androidfilehost.com/?fid=889964283620765167


Source:
https://github.com/Kizoky/android_de...omi_prada-TWRP

Note: If you can't mount Internal Storage, you MUST wipe Data, then restart into recovery
The Following 5 Users Say Thank You to Kizoky For This Useful Post: [ View ] Gift Kizoky Ad-Free
 
 
26th May 2017, 09:05 AM |#2  
Member
Flag Siwan
Thanks Meter: 9
 
Donate to Me
More
What do you mean by Can't access (decrypt) internal storage.
3rd June 2017, 04:53 PM |#3  
Kizoky's Avatar
OP Senior Member
Flag Between 2 Castles
Thanks Meter: 451
 
More
Quote:
Originally Posted by Thejayyadav

What do you mean by Can't access (decrypt) internal storage.

You can't access the internal SD (basically the 9-11GB storage on your phone) because an issue with the fstab file
But I fixed it, I just need to make sure it is working, then I'll release a new version
The Following User Says Thank You to Kizoky For This Useful Post: [ View ] Gift Kizoky Ad-Free
3rd June 2017, 06:26 PM |#4  
Member
Thanks Meter: 3
 
More
Good to see you're still working on this
4th June 2017, 05:10 PM |#5  
Kizoky's Avatar
OP Senior Member
Flag Between 2 Castles
Thanks Meter: 451
 
More
Quote:
Originally Posted by soarespt

Good to see you're still working on this

Of course I'am

PS.: Added new link!
Encryption bug fixed, now Internal storage can be accessed!
Added DM-Verify disabler, you can install it from /!verify/verify.zip
The Following 2 Users Say Thank You to Kizoky For This Useful Post: [ View ] Gift Kizoky Ad-Free
10th June 2017, 08:35 PM |#6  
a.cid's Avatar
Recognized Contributor / Retired Mod / Portal Writer
Flag Mumbai
Thanks Meter: 2,741
 
Donate to Me
More
Could you please clarify on the device codenames?
The Redmi 4 sold in India is the Redmi 4X as sold in China, where there is a different Redmi 4. Which of these is Prada, and do you know what the other one is called?
11th June 2017, 07:00 AM |#7  
paultsr's Avatar
Member
Flag Kerala
Thanks Meter: 3
 
More
I have bought Redmi 4 3gb/32 model(indian version).what is the codename? Can I follow the above steps to install twrp?also what is DM verify?is it necessary to install dm-verify before twrp install?
13th June 2017, 04:14 PM |#8  
Kizoky's Avatar
OP Senior Member
Flag Between 2 Castles
Thanks Meter: 451
 
More
Quote:
Originally Posted by a.cid

Could you please clarify on the device codenames?
The Redmi 4 sold in India is the Redmi 4X as sold in China, where there is a different Redmi 4. Which of these is Prada, and do you know what the other one is called?

Redmi 4 China (2/16) = prada
Redmi 4 Prime (3/32) = markw
Redmi 4 India (2/16) = Redmi 4X = santoni (There may be 2/32, 4/64, variations I don't really know)
Redmi 4A (2/16) = rolex

Redmi 4 China isn't sold in India by the way.
The Following User Says Thank You to Kizoky For This Useful Post: [ View ] Gift Kizoky Ad-Free
13th June 2017, 04:17 PM |#9  
Kizoky's Avatar
OP Senior Member
Flag Between 2 Castles
Thanks Meter: 451
 
More
Quote:
Originally Posted by paultsr

I have bought Redmi 4 3gb/32 model(indian version).what is the codename? Can I follow the above steps to install twrp?also what is DM verify?is it necessary to install dm-verify before twrp install?

Your code name is Santoni (Redmi 4X)
Yes you can. (Just don't install this TWRP because it won't work on your device)

DM-Verify is a security measure used by many OEMs to prevent custom ROM or kernel installing if by any chance the phone is stolen, this is basically making the phone less easier to crack open with private data on it.
So for example, If you install an official ROM from Xiaomi, the phone won't boot because the recovery is different, you need to disable DM-verify.
The Following User Says Thank You to Kizoky For This Useful Post: [ View ] Gift Kizoky Ad-Free
13th June 2017, 04:30 PM |#10  
paultsr's Avatar
Member
Flag Kerala
Thanks Meter: 3
 
More
Quote:
Originally Posted by Kizoky

Your code name is Santoni (Redmi 4X)
Yes you can. (Just don't install this TWRP because it won't work on your device)

DM-Verify is a security measure used by many OEMs to prevent custom ROM or kernel installing if by any chance the phone is stolen, this is basically making the phone less easier to crack open with private data on it.
So for example, If you install an official ROM from Xiaomi, the phone won't boot because the recovery is different, you need to disable DM-verify.

Is there any working twrp for santoni?can I root this device?
13th June 2017, 05:03 PM |#11  
Kizoky's Avatar
OP Senior Member
Flag Between 2 Castles
Thanks Meter: 451
 
More
Quote:
Originally Posted by paultsr

Is there any working twrp for santoni?can I root this device?

https://forum.xda-developers.com/and...overy-t3568879

You can with TWRP.
Post Reply Subscribe to Thread

Tags
xiaomi-redmi-4

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

Advanced Search
Display Modes