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

Search This thread

Rahat_karim

New member
Apr 20, 2020
1
0
0
same happend to me.can you explain how you fixed it via commandline ? i have to wipe phone and flashed successfully Xiaomi.eu rom . i have global device.
also i flashed now Magisk 19.0 .and it works.
much thx for your work admin

Mine also eu global,but after flashing this twrp,and boot into twrp it automatically back to restart to system.
 

vlouis

Senior Member
Dec 2, 2017
209
78
28
Mine also eu global,but after flashing this twrp,and boot into twrp it automatically back to restart to system.

uhhh, my phone is stuck at an login screen after booting the image
anyone having the same problem or knows how to fix it??

Why do you use this OLD twrp version? If you search a bit will find the OrangeFox recovery thread, based on twrp source and up to date. Orangefox handle better the encryption, but is recommended to FORMAT data partition for clean flash.
 

felcc3

New member
Jul 26, 2016
2
0
0
My bootloader error

good morning, I can't unlock the bootloader, this image error:

* The device is almost 1 year old
* I already added the account and the device in my unluck status
* I have already installed some 7 versions of Miflash Unlock
* I did the fastboot, but there was an error

622****172
UIMLtAl.jpg
 
Last edited:

alanvmathew

Senior Member
Jun 30, 2013
108
64
48
coimbatore
Wait for 3 days

good morning, I can't unlock the bootloader, this image error:

* The device is almost 1 year old
* I already added the account and the device in my unluck status
* I have already installed some 7 versions of Miflash Unlock
* I did the fastboot, but there was an error

622****172
UIMLtAl.jpg

After binding the account with your device. Wait three days and try. If this is your first time unlocking an mi phone. It will take time.
 

Rookie1919

Senior Member
Aug 13, 2016
102
8
0
I cant flash the TWRP.

target didn't report max-download-size
sending 'recovery' (30132 KB)...
FAILED (command write failed (Unknown error))
finished. total time: 0.003s

Its strange bc I use the official TWRP and before refalshing the stock rom I had exactly THIS FILE that I use now installed sucsessfully. Why - out of nowhere - I cant install this now? pls help

EDIT: Now it works. I had to update the stock rom. Who in earth would think about THAT?
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 92
    https%3A%2F%2Fimg.xda-cdn.com%2FpSvihPyfhapF9LoHqaNVoQ9y7kw%3D%2Fhttp%253A%252F%252Flh3.googleusercontent.com%252F2HtVAF5zfNMlmKhF0QYqCSr1rsstB1btNfdKl7WvGTcZkOSKCYNxdXwsSizx9VhiPg%253Dw300

    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_cgVuk6fsRybN0wDoOTbt_Pc-vOiHx&export=download

    Source code:
    https://github.com/omnirom/android_bootable_recovery
    https://github.com/thelazyindian/android_device_xiaomi_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)
    9
    Changelog:

    Build 03/05/19:
    • Add offset for notch
    • Updated prebuilt kernel built from source
    • Option to mount system as system_root to fix GAPPS flash error
    • Enable /vendor wipe option

    Links updated in OP
    6
    If you flashed TWRP, but you can't get into the TWRP recovery screen, this is for you:
    I was having the same issue, but this phone is tricky.
    Just DON'T USE fastboot boot recovery.img

    1. Boot into Fastboot screen
    2. fastboot flash recovery recovery.img
    3. Check if flashed ok in the cmd prompt and remove the usb cable while the fastboot screen is on
    4. Keep pressed Volume UP + POWER until the phone reboots - after the first vibration, remove your finger from power button, but keep Volume UP.
    5. You should boot into TWRP screen.

    If you use "fastboot boot recovery.img" - the old recovery from gets back - DON'T USE IT

    Well, at least that's how it worked for me on two Redmi Note 7 lavender (64gb rom/4gb ram).
    4
    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
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone