FORUMS

[RECOVERY][lavender][UNOFFICIAL] TWRP touch recovery for Redmi Note 7

92 posts
Thanks Meter: 422
 
By thelazyindian, Member on 15th April 2019, 01:32 PM
Post Reply Email Thread
twrp

Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. It's 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.

Code:
#include <std_disclaimer.h>

/*
 * Your warranty is now void.
 *
 * We are not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at us for messing up your device, we will laugh at you.
 *
 */

Features:
  • All function in a normal TWRP
  • Multi-language support
  • Supports MTP
  • Support decrypt /data!

Install guide:
1. Install fastboot tools from google's sdk on your PC
2. Enter fastboot mode
3. Unlock your bootloader
4. Run "fastboot flash recovery recovery.img" in command line
5. Reboot and enjoy it

Download:
https://drive.google.com/uc?id=1rp_c...xport=download

Source code:
https://github.com/omnirom/android_bootable_recovery
https://github.com/thelazyindian/and..._lavender-twrp

Note:
  • Due to a bug in android pie, the recovery may ask for pattern if you have set PIN/password for encryption (and vice-versa). Unfortunately, to fix this you need to format your data partition and ask the developer of ROM to include this commit.
  • When you flash twrp for the first time in MIUI you need to goto Wipe > Format Data otherwise you won't be able to boot to system as it will ask for password.
  • GAPPS FIX: In TWRP, goto Mount > system_root and try reflashing.

FAQ:
How is it different from other TWRPs available for lavender ?
This build uses standalone decryption which is better than the recoveries using vold decrypt as vold decrypt will fail if system ROM is corrupt or wiped

Credits:
Huge thanks to @abhishek987 and @vasishath for helping
@tufadorin @faraz shafi (For testing)
The Following 90 Users Say Thank You to thelazyindian For This Useful Post: [ View ] Gift thelazyindian Ad-Free
15th April 2019, 01:38 PM |#2  
OP Member
Flag Puri
Thanks Meter: 422
 
More
Reserved
The Following 15 Users Say Thank You to thelazyindian For This Useful Post: [ View ] Gift thelazyindian Ad-Free
15th April 2019, 02:50 PM |#4  
Member
Thanks Meter: 25
 
More
This is working with Global Variant ? greatz ...
15th April 2019, 05:29 PM |#5  
jimgsey's Avatar
Member
Thanks Meter: 156
 
More
It works well. Just one detail. You can not see the clock, because it appears in the same place as the camera.
Thank you for everything.
15th April 2019, 06:05 PM |#6  
Member
Thanks Meter: 18
 
More
Just 5 more days left to test this 🥴
The Following User Says Thank You to QuinNExotic For This Useful Post: [ View ] Gift QuinNExotic Ad-Free
15th April 2019, 07:31 PM |#7  
Member
Thanks Meter: 5
 
More
Can you install official miui ota zip after installing twrp and magisk?
Would it brick the device?
15th April 2019, 08:06 PM |#8  
Junior Member
Flag Kochi
Thanks Meter: 3
 
More
Nice built.. I think official build arrives soon
The Following User Says Thank You to Ashnetn For This Useful Post: [ View ] Gift Ashnetn Ad-Free
15th April 2019, 11:27 PM |#9  
Junior Member
Thanks Meter: 4
 
More
strange behaviour: TWRP is asking for pattern decryption when PIN is used and vice versa.

Decryption via command line works fine.
16th April 2019, 01:29 AM |#10  
Enddo's Avatar
Senior Member
Flag Atlanta, Ga.
Thanks Meter: 869
 
Donate to Me
More
Quote:
Originally Posted by vkmcondor

Can you install official miui ota zip after installing twrp and magisk?
Would it brick the device?

It won't brick the device, but no you can't install them.
The update will just fail and reboot you back into MIUI. Everything working as usual.

If you want TWRP/Magisk installed and get updates then you'll have to manually download the 'Recovery ROM' to the update you want to update to. Then flash it in TWRP like you would a custom ROM.
You'll want to reinstall Magisk after you flash the Recovery ROM to get root back.

TWRP remains intact
The Following 4 Users Say Thank You to Enddo For This Useful Post: [ View ] Gift Enddo Ad-Free
16th April 2019, 06:42 AM |#11  
Member
Thanks Meter: 5
 
More
Quote:
Originally Posted by Enddo

It won't brick the device, but no you can't install them.
The update will just fail and reboot you back into MIUI. Everything working as usual.

If you want TWRP/Magisk installed and get updates then you'll have to manually download the 'Recovery ROM' to the update you want to update to. Then flash it in TWRP like you would a custom ROM.
You'll want to reinstall Magisk after you flash the Recovery ROM to get root back.

TWRP remains intact

Do I need to format or wipe data?
Post Reply Subscribe to Thread

Tags
lavender, twrp

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

Advanced Search
Display Modes