• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

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

Search This thread

Doomsday101

Senior Member
Oct 24, 2016
65
208
Gwalior
AdarshKushwah.gitlab.io
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
 

Attachments

  • Screenshot_2019-05-06-22-49-54.png
    Screenshot_2019-05-06-22-49-54.png
    73.1 KB · Views: 4,704
Last edited:

Vatumb

Senior Member
May 31, 2009
334
100
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.
 

Attachments

  • 9291b186-a79f-4ce5-ad98-cd6e602d218d.jpg
    9291b186-a79f-4ce5-ad98-cd6e602d218d.jpg
    38.6 KB · Views: 4,052
  • 75b51aa8-019d-4b1c-87e8-ec9b9ff2135a.jpg
    75b51aa8-019d-4b1c-87e8-ec9b9ff2135a.jpg
    79.2 KB · Views: 4,052

diamantik

Senior Member
Apr 20, 2017
211
90
Chisinau
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 :)
 

talk2indrajit

Senior Member
Aug 2, 2016
658
385
It will boot, try fastboot erase userdata, but you can't flash any ROM (MIUI) atm, as it has encryption bug, which needs to be fixed by the OP!


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.
 
  • Like
Reactions: nkrishna
G

GuestK00155

Guest
Has anyone else tested this and does it seem to be working fine? I'm quite scared in flashing recoveries :/

---------- Post added at 09:28 PM ---------- Previous post was at 08:34 PM ----------

twrp's stuck on the twrp logo btw
 

Doomsday101

Senior Member
Oct 24, 2016
65
208
Gwalior
AdarshKushwah.gitlab.io
Has anyone else tested this and does it seem to be working fine? I'm quite scared in flashing recoveries :/

---------- Post added at 09:28 PM ---------- Previous post was at 08:34 PM ----------

twrp's stuck on the twrp logo btw

The recovery has the encryption bug atm as stated by @talk2indrajit in the last post. So, you will have to erase userdata via fastboot first. I suggest you take a backup, get rid of Miui and continue with the said process and flash the newly built LOS16 by @Dyneteve (if you seek to flash a custom ROM).
 
Last edited:

Aj51

Member
Sep 11, 2018
39
8
Utter Pradesh
Not able to flash vbmeta.img fastboot mode..

Is any other way to flash vbmeta without fastboot mode because my platform tools fastboot not work gives error unknown fastboot command.. Please replay..
 

kuhru

Member
Jan 7, 2019
9
4
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.
 

Doomsday101

Senior Member
Oct 24, 2016
65
208
Gwalior
AdarshKushwah.gitlab.io
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.
 
  • Like
Reactions: kuhru and njaya95

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.