[RECOVERY][OFFICIAL][TWRP - 3.3.1-0][Xiaomi Redmi Note 7 PRO]

Search This thread

yakovpol

Senior Member
Sep 23, 2013
267
126
I have installed the latest miui eu using twrp (TWRP 3.3.0, cleared userdata to install it). It seemed to work ok (wiped data and flashed zip). But after the first boot on miui EU whenever i Try to reboot into TWRP (volume up) it stays stuck in the teamwin screen and never boots into recovery. Anyone has passed this? I haven't installed the additional thermal zip, could that be it?

That "thermal zip" is doing much more, it patches fstab file so the mount options for userdata are changed for both system and TWRP. In other words, TWRP cannot work properly with userdata in format which MIUI is using. In order to solve this TWRP deverloper suggests to patch fstab.
The fact that TWRP has issues with MIUI encryption is indicated on the very first page of this thread.
 

PsyCLown89

Senior Member
Oct 11, 2010
219
35
Johannesburg
OnePlus 9RT
That "thermal zip" is doing much more, it patches fstab file so the mount options for userdata are changed for both system and TWRP. In other words, TWRP cannot work properly with userdata in format which MIUI is using. In order to solve this TWRP deverloper suggests to patch fstab.

The fact that TWRP has issues with MIUI encryption is indicated on the very first page of this thread.
Sigh, would have been nice to know that sooner.

It seemed like a dodgy file with possible tweaks.

Gotta wipe phone again to fix this then. Grr

Sent from my Redmi Note 7 Pro using Tapatalk
 

ut31337

New member
Jun 19, 2012
2
2
Kazan
I've install 3.3.0 a week ago, with all wipes and patch from topic guideline. Today it's even not booting. Tried to flash 3.3.1 from fastboot - same crap. Do not name it recovery, it's simply can't even load itself.

Отправлено с моего Redmi Note 7 Pro через Tapatalk
 

PsyCLown89

Senior Member
Oct 11, 2010
219
35
Johannesburg
OnePlus 9RT
I've install 3.3.0 a week ago, with all wipes and patch from topic guideline. Today it's even not booting. Tried to flash 3.3.1 from fastboot - same crap. Do not name it recovery, it's simply can't even load itself.

Отправлено с моего Redmi Note 7 Pro через Tapatalk
Good to know, I'm not gonna wipe my phone to load twrp if it doesn't allow you to boot up into it.

Sent from my Redmi Note 7 Pro using Tapatalk
 

ut31337

New member
Jun 19, 2012
2
2
Kazan

Mr Seshu

Member
Jan 31, 2018
22
0
GUNTUR
Official twrp installed successfully and upgraded my device to xiaomi eu rom 9.5.30, but whenever I want to come to recovery TWRP stuck at the screen, not able run twrp
 

Naveenthemi

Senior Member
means u installed this recovery on official miui n u r able to install ota updates normally? also what's the procedure, dwld the update, click install n thats it? N r u able to install magisk on this recovery?
OTA updates didn't work with this one , but I was able to install Magisk, trying a OTA update got me into a bootloop, so I used another TWRP (https://forum.xda-developers.com/redmi-note-7-pro/development/unofficial-twrp-3-3-1-proper-t3933531) Unofficial but forced the encryption bug and allowed Magisk and OTA update installation ( u just have to flash the .zip through TWRP)
 

Kousei Arima

Senior Member
Dec 2, 2018
627
316
  • Like
Reactions: Naveenthemi

raduser

New member
Jun 5, 2019
2
1
cannot use fastboot to wipe userdata
"Formatting is not supported for filesystem with type 'f2fs' "

There is a thread on xiaomi.eu on the same issue (I can't post the link; new user), which suggests to use
fastboot erase userdata, instead of
fastboot format userdata.
Also it has something to do with using usb 2.0 instead of 3.0. I am not sure. I am still waiting for my bootloader unlock period to be over so can't confirm the same. See if that works for you.
 
  • Like
Reactions: MadhavArora09

r.Ry4N.05

Senior Member
Sep 25, 2017
350
98
There is a thread on xiaomi.eu on the same issue (I can't post the link; new user), which suggests to use
fastboot erase userdata, instead of
fastboot format userdata.
Also it has something to do with using usb 2.0 instead of 3.0. I am not sure. I am still waiting for my bootloader unlock period to be over so can't confirm the same. See if that works for you.
Won't that erase the /data partition entirely, rendering the phone unusable until it is re-formatted properly? I did that by accident on my old phone, and it was stuck in a bootloop.

Sent from my Xiaomi Redmi Note 4 using XDA Labs
 
Last edited:

raduser

New member
Jun 5, 2019
2
1
Won't that erase the /data partition entirely, rendering the phone unusable until it is re-formatted properly? I did that by accident on my old phone, and it was stuck in a bootloop.

Sent from my Xiaomi Redmi Note 4 using XDA Labs

"suggest-twrp-for-redmi-note-7-pro-china-stable-rom.50605"
this is the thread title on xiaomi.eu. Have a look there. (post #7)
Apparently it worked for the user. I have yet to try this.
 
Last edited:

trutta

Senior Member
Nov 22, 2008
176
23
Hello, i read and i read, but what is the right Way to install TWRP and Magisk? I am in Note 7 Pro ch and i will install xiaomi.eu Miui Rom. And i need Rood.

Please tell me, what is the right Way?

Thanks Bro
 
Mar 13, 2015
46
10
dhaka
www.facebook.com
System is not booting after flashing TWRP

I have flashed TWRP 3.3.1 successfully . after that I rebooted into TWRP and it does not enter its recovery UI. After that, I tried to reboot the phone but it goes to recover screen again without entering recovery UI. I can't open my phone now. please help.
At the beginning, after flashing the twrp it was showing only TWRP screen not the options. then i rebooted the system and the phone rebooted without any issue (till now, phone was ok). then I again flashed the twrp but it remained the same. after that i tried different command from the Powershell. (fastboot boot twrp.img) and it showed downloading. after waiting for 5 min, I just closed the PowerShell and tried to reboot. from that time I cannot boot my phone anymore. then i again flashed the recovery but could not boot the phone. when i triy to boot the phone it only shows the recovery screen. I've attached the commands that I used to flash TWRP. Please help me to solve the problem.
 

Attachments

  • Capture.PNG
    Capture.PNG
    48.5 KB · Views: 310

Mr Seshu

Member
Jan 31, 2018
22
0
GUNTUR
I have flashed TWRP 3.3.1 successfully . after that I rebooted into TWRP and it does not enter its recovery UI. After that, I tried to reboot the phone but it goes to recover screen again without entering recovery UI. I can't open my phone now. please help.
At the beginning, after flashing the twrp it was showing only TWRP screen not the options. then i rebooted the system and the phone rebooted without any issue (till now, phone was ok). then I again flashed the twrp but it remained the same. after that i tried different command from the Powershell. (fastboot boot twrp.img) and it showed downloading. after waiting for 5 min, I just closed the PowerShell and tried to reboot. from that time I cannot boot my phone anymore. then i again flashed the recovery but could not boot the phone. when i triy to boot the phone it only shows the recovery screen. I've attached the commands that I used to flash TWRP. Please help me to solve the problem.
Do this process in fastboot erase userdata first then fastboot flash recovery recoveryname.img then it will boot into twrp recovery then wipe(not advanced) type yes to wipe and then flash vbeta file and decrypt, but I am also facing issues like twrp stuck screen in recovery, I am using eu rom 9.6.5,

---------- Post added at 04:38 AM ---------- Previous post was at 03:41 AM ----------

Yesterday I tried to update latest eu rom 9.6.5 with twrp recovery, flahed latest zip file 9.6.5 successful but not booted, when I tapped reboot button after successful installation, device again came to twrp logo screen and stuck, again I have to erase the userdata via fastboot to work twrp normal, but I lost the data, what to do twrp work normally?
 

Naveenthemi

Senior Member
Hello, i read and i read, but what is the right Way to install TWRP and Magisk? I am in Note 7 Pro ch and i will install xiaomi.eu Miui Rom. And i need Rood.

Please tell me, what is the right Way?

Thanks Bro
First unlock the bootloader using the MiUnlock tool, now flash this TWRP(it fixes the encryption bug, use your lock screen passcode to decrypt(https://forum.xda-developers.com/re...pment/unofficial-twrp-3-3-1-proper-t3933531), now once TWRP is installed boot into the device once and download the Magisk 19.3 Zip from the XDA forum, once you do that reboot back into TWRP and flash this, now once u boot you can see the Magisk Manager and root functionality.
 
  • Like
Reactions: trutta

Top Liked Posts

  • There are no posts matching your filters.
  • 24
    teamwin.png

    DISCLAIMER:

    Code:
    /*
     * I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...). 
     * Please do some research if you have any concerns about features included in the products you find here before flashing it! 
     * YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you. 
     * Your warranty will be void if you tamper with any part of your device / software.
     * Same statement for XDA.
     */

    INFORMATION:

    Team Win Recovery Project (TWRP) is an open-source software custom recovery image for Android-based devices. It provides a touchscreen-enabled interface that allows users to install third-party firmware and back up the current system which are functions often unsupported by stock recovery images. It is, therefore, often installed when flashing, installing or rooting Android devices, although it isn't dependent on a device being rooted to be installed.
    Read more about TWRP here: https://twrp.me/about/

    NOTE :

    This build of TWRP is based on the kernel source code and no prebuilt kernel was used for building. Because, it is the first build, testers are very welcome for providing feedback regarding the build.

    CHANGELOG (3.2.3.0) :


    WHAT'S NEW?

    * Fix automatic installing of OTA zips on encrypted devices
    * Remove SuperSU from TWRP
    * Support both md5 and md5sum file extensions when doing MD5 checking for zip files​

    CHANGELOG (3.3.0.0) :

    WHAT'S NEW?

    * Merge AOSP 9.0 r3 (Dees_Troy)
    * Use ANDROID_ROOT variable instead of hard coding to /system (CaptainThrowback)
    * Decrypt FBE on 9.0 and metadata decrypt (Dees_Troy)
    * vold decrypt updates (CaptainThrowback and nijel8)
    * Support vibration on LED class devices (notsyncing)
    * Metadata decrypt support for Pixel 3 (Dees_Troy)
    * Support rotating the display via build flag (vladimiroltean)
    * Reboot to EDL mode button (mauronofrio)
    * Support MTP on FFS devices (bigbiff)
    * Update FDE decrypt to support keymaster 3 and 4 (Dees_Troy)
    * Detect mkfs.f2fs version to properly format on f2fs partitions (Dees_Troy)
    * Allow TWRP to use md5 and sha256 checksums for zip installs (bigbiff)
    * TWRP can use /data/cache/recovery and /persist/cache/recovery on AB devices with no cache partition (bigbiff)
    * Switch part of advanced menus in TWRP to use a listbox of options (Dees_Troy)
    * Use magiskboot to allow repacking boot images for installing TWRP (Dees_Troy with thanks to topjohnwu of course)​

    * Also, there was a major bug with the previous build which prevented the flashing of any file because of the "digest-verification" has been fixed with this release. Enjoy!

    CHANGELOG (3.3.1-0) :


    WHAT'S NEW?
    * Fix selinux issues during formatting - dianlujitao
    * Various fixes for toybox and toolbox builds - CaptainThrowback and bigbiff
    * Flash both A and B partitions when installing a recovery ramdisk - Dees_Troy
    * Add option to uninstall TWRP app from /system - Dees_Troy
    * Create digest for subpartitions - bigbiff​

    DOWNLOAD :

    You can download the latest build of the TWRP from the official site here:​


    BUGS:
    • Encryption (for MIUI)

    INSTRUCTIONS :

    • Download the recovery image and place it in some folder on your desktop and open the Terminal/Command Prompt/Powershell in the said folder.
    • Connect your device to the PC and boot into the fastboot mode using H/W keys or by typing :
      Code:
      adb reboot bootloader
    • Now, type :
      Code:
      fastboot flash recovery twrp-3.3.0-0-violet.img
    OR,

    • Most devices can be updated quickly and easily within TWRP if you already have version 2.8.4.0 or higher installed
    • Download the recovery image from the link.
    • Reboot to TWRP.
    • Hit Install and tap the "Images..." button in the lower right
    • Browse to the location of the TWRP image on your device and select it.
    • Select recovery from the partition list and swipe to flash.

    For users who are running MIUI :

    Thanks to Snehashis Sarkar for a short tutorial.

    • Your data will get wiped before flashing the recovery so take a backup of the internal storage.
    • Reboot to fastboot.
    • Wipe the Userdata via fastboot.
    • Flash this recovery.
    • Boot into the recovery and format the data (just format it, don't go for the "advanced wipe" section .
    • Flash this image file: Patched fstab + vbmeta + thermal configs for better performance
    • Reboot and enjoy.

    CREDITS:

    TwrpBuilder for trees​

    Kernel Source :

    Link: android_kernel_xiaomi_sm6150



    XDA:DevDB Information
    [RECOVERY][OFFICIAL][TWRP - 3.3.1-0][Xiaomi Redmi Note 7 PRO], Tool/Utility for the Xiaomi Redmi Note 7 Pro

    Contributors
    Doomsday101
    Source Code: https://github.com/TeamWin


    Version Information
    Status: Stable
    Current Stable Version: 3.3.1-0
    Stable Release Date: 2019-05-11
    Current Beta Version: 3.3.0-0
    Beta Release Date: 2019-04-03

    Created 2019-04-02
    Last Updated 2019-05-23
    3
    Not able to Boot.

    1. Fastboot boot twrp_violet.img not working.. Phone reboots normally.

    2. So booted TWRP manually (Volume Up + Power) And Phone stuck on TWRP Logo Screen.

    See the attachments for more info.
    3
    I don't know if someone is working on ROMs but it is likely because of the unreliable kernel source ATM by Xiaomeme.
    Ok thank you :eek:
    I had order my device , when i will receive it , i will try to help the community with what i can , i will be glad to test things , and develop them , hopefully we can get more devs , and together we can maintain the development for RN7 Pro alive :)
    3
    Thanks, it works after clearing the userdata before flashing TWRP.

    I am able to flash ROM's with this version of TWRP, although when flashing the stock ROMs you need to delete the "compatibility" file inside the zip (I used 7zip) to avoid getting a treble error.
    2
    ok, so here's an anecdote.
    when i flashed it for the first time using fastboot command, i got it stuck on the logo as well. then i looked it up, and i found this vbmeta thing, which i don't really know what is. got it to flash using platform tools (vbmeta), then flashed the other twrp on this site, and booted into it. (went with the other twrp because that is what the youtube video was using as well, and i just wanted to get over the loop, didn't think to test out)
    so, successfully booted into twrp(OTHER)
    from there i had to flash the lineage vendor patch cuz can't load any roms (that i tried) without it. tried flashing rom and gapps, worked. this works, no problem. (maybe some of you might want to check if the vbmeta thing was required, or if you can straight flash the older twrp from commands.)

    then i went back, wiped out stuff (cache,dalvik, system and data, NOT vendor) and i flashed twrp(THIS) using twrp(OTHER), just to see
    got twrp(THIS) to boot successfully.
    problem here now is that it spits an error on fkin digest verification for any rom. if i can't even flash a rom, i can't get beyond that. error being "digest verification failed" or something like that.
    im tired of this twrp, someone should maybe test things out further, idk where to go from here. this just flat out doesn't work.

    Thank you for trying it out previously. I have released a new build today with the latest TWRP version (3.3.0.0) and now the "digest-verification" bug has been fixed.