[unofficial] twrp 3.1.1 Xiaomi Redmi 5A [RIVA] - Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other

Team Win Recovery Project-
This is Not My work all Credit Goes to @XN Logos
1. unlock bootloader -
http://en.miui.com/unlock/
2. Download twrp-
https://androidfilehost.com/?fid=745849072291683816
3. Run toolkit from recovery folder and follow on screen instructions...
4. taken From https://romprovider.com/2017/10/twrp-3-1-1-redmi-5-riva/
How to Root-
1. reboot to twrp.
2. create nandroid backup..
3. flash magisk [added with twrp]
4. flash no verity from twrp folder
5. Done successfully Rooted..
have issue in unlocking use china server during unlocking process...

noted, thank you for the post

nice share

Related

{One thread} Guide Rooting Redmi note 4 SD twrp/SU (video tutorial)

This vide will guide you how to root REDMI NOTE 4(SNAPDRAGON)
***IMPORTANT***
BACKUPDATA
Make sure you have adb installed and you place the twrp file to adb folder & other files to internal memory
Downloads:
1. TWRP- 3.0.3-0
https://www.androidfilehost.com/?fid=457095661767136323
2. phh's SuperSu
https://superuser.phh.me/superuser.zip
3. no-verity-opt-encrypt
https://build.nethunter.com/android-tools/no-verity-opt-encrypt/no-verity-opt-encrypt-5.1.zip
Steps:
1.unlock bootloader
http://en.miui.com/unlock/
or
Google mi unlock
2.download files
3.enable usb debugging
4.boot to fastboot (volume down+power button)
5.connect to pc run cmd in adb folder .
6.use command (fastboot devices) to check fastboot devices
7.use command (fastboot flash recovery {name of recovery}.img)
8.boot device to recovery (Flash Verity file, su ) ***IMPORTANT***
9.wipe caches
10.reboot
This is not my work all credit to:
XDA:
https://forum.xda-developers.com/re...ecovery-twrp-3-0-3-0-redmi-note-4-sd-t3549970
Video:
https://youtu.be/dV4urAIRKZU
Not working in 8.1.15.0
Unfortunately not working in miui 8.1.15.0.. Eagerly waiting for your response
ashokmor007 said:
This vide will guide you how to root REDMI NOTE 4(SNAPDRAGON)
***IMPORTANT***
BACKUPDATA
Make sure you have adb installed and you place the twrp file to adb folder & other files to internal memory
Downloads:
1. TWRP- 3.0.3-0
https://www.androidfilehost.com/?fid=457095661767136323
2. phh's SuperSu
https://superuser.phh.me/superuser.zip
3. no-verity-opt-encrypt
https://build.nethunter.com/android-tools/no-verity-opt-encrypt/no-verity-opt-encrypt-5.1.zip
Steps:
1.unlock bootloader
http://en.miui.com/unlock/
or
Google mi unlock
2.download files
3.enable usb debugging
4.boot to fastboot (volume down+power button)
5.connect to pc run cmd in adb folder .
6.use command (fastboot devices) to check fastboot devices
7.use command (fastboot flash recovery {name of recovery}.img)
8.boot device to recovery (Flash Verity file, su ) ***IMPORTANT***
9.wipe caches
10.reboot
This is not my work all credit to:
XDA:
https://forum.xda-developers.com/re...ecovery-twrp-3-0-3-0-redmi-note-4-sd-t3549970
Video:
https://youtu.be/dV4urAIRKZU
Click to expand...
Click to collapse
twrp titale say its for mtk
amnv said:
Unfortunately not working in miui 8.1.15.0.. Eagerly waiting for your response
Click to expand...
Click to collapse
Wil update you by tmro on the latest version
vikasb32 said:
Not working in 8.1.15.0
Click to expand...
Click to collapse
I did root my device flash custom recovery (TWRP) while running MIUI 8.1.15.0
whats the issue u had? bootloop?
TechRapt said:
I did root my device flash custom recovery (TWRP) while running MIUI 8.1.15.0
whats the issue u had? bootloop?
Click to expand...
Click to collapse
Most of member says this twrp does not work in miui 8.1.15.0, They say after flashing it mi logo flashes for some time and they could not boot into twrp mode
Honestly i haven't flashed it into my device coz most of people facing bugs only in miui 8.1.15.0..
Im miui 8.1.15.0 stable user hope u can help me.
Thank you
Sent from my Redmi Note 4 using Tapatalk
amnv said:
Most of member says this twrp does not work in miui 8.1.15.0, They say after flashing it mi logo flashes for some time and they could not boot into twrp mode
Honestly i haven't flashed it into my device coz most of people facing bugs only in miui 8.1.15.0..
Im miui 8.1.15.0 stable user hope u can help me.
Thank you
Sent from my Redmi Note 4 using Tapatalk
Click to expand...
Click to collapse
I am not sure if this is the same TWRP i used
I used the TWRP version from LA 14.1 thread.
I did face few issues though like long boot time but never had issues with loading TWRP or when the OS booted up completely
I am on 7.3.9 build now let me roll back to stable 8.1.15.0 build tonight and re-try the same flash recovery and root method will let u know the results
Not able to boot to recovery
All the installation went as expected till recovery installation. It is done but using Volume Up & Power button not able to go to recovery. Just MI logo post that nothing.
Everything OK but sim slot 2 does not work after root
chandrash3khar said:
All the installation went as expected till recovery installation. It is done but using Volume Up & Power button not able to go to recovery. Just MI logo post that nothing.
Click to expand...
Click to collapse
Rename your recovery as "recover.img".
After flashing recovery don't disconnect the phone
In fastboot type
"fastboot boot recovery.img"
Your phone will boot into recovery
I have redmi note 4 4g 64gb rom 2017 is not unblock.. plz help
:fingers-crossed:
hadiyalkishan said:
twrp titale say its for mtk
Click to expand...
Click to collapse
I have redmi note 4 4g 64gb rom 2017 is not unblock.. plz help
rajendraDMD said:
:fingers-crossed:
I have redmi note 4 4g 64gb rom 2017 is not unblock.. plz help
Click to expand...
Click to collapse
What do you mean?
Not working on my redmi note 4 sd (stable 8.2.10.0). When i try to flash the img file terminal shows lots of help tips. I installed all drivers carefully, still its happening. Please help..

[Redmi note 4 SD] Guide/Tutorials/ROM's/Reviews/Tweaks (Includes videos)

HI all,
Instead of creating new threads ill be maintaining only one from now in which there will be all types of guides , rom review , tweaks which will include video tutorials so it makes easy for understanding and also will be updating on regular basis , if anyone have any request can pm me or comment below.
Rooting XIAOMI REDMI NOTE 4 SD TWRP/SUPERUSER
***IMPORTANT***
BACKUPDATA
Make sure you have adb installed and you place the twrp file to adb folder & other files to internal memory
Downloads:
1. TWRP- 3.0.3-0
https://www.androidfilehost.com/?fid=457095661767136323
2. phh's SuperSu
https://superuser.phh.me/superuser.zip
3. no-verity-opt-encrypt
https://build.nethunter.com/android-tools/no-verity-opt-encrypt/no-verity-opt-encrypt-5.1.zip
Steps:
1.unlock bootloader
http://en.miui.com/unlock/
or
Google mi unlock
2.download files
3.enable usb debugging
4.boot to fastboot (volume down+power button)
5.connect to pc run cmd in adb folder .
6.use command (fastboot devices) to check fastboot devices
7.use command (fastboot flash recovery {name of recovery}.img)
8.boot device to recovery (Flash Verity file, su ) ***IMPORTANT***
9.wipe caches
10.reboot
HexagonROM V2.3 UNOFFICIAL 7.1.1
How to Flash :-
* Download the Rom
* Boot Into recovery (TWRP recommended)
* Wipe your system, cache,dalvik cache and Data.
* Just flash This Rom & Whichever Gapps you want.
* Reboot into system..!
* Profit.. Enjoy..!
Additional Features:
*Offline Gestures
*Ambient Display with Doze Pulse
Download:
https://www.androidfilehost.com/?w=files&flid=166131
Google apps ARM64 7.1.1
http://opengapps.org/
ashokmor007 said:
HI all,
Instead of creating new threads ill be maintaining only one from now in which there I NOTE 4 SD TWRP/SUPERUSER..
.
.
.
Oops! Snap!
Click to expand...
Click to collapse
This should be in Guides / news & discussions section.
Is this for mtk version also, or is there a different method of fixing it up? I just bought this today, I thought it was the right one to get... Now I am worrying that I made the wrong choice...
Questions
1. What is the purpose of no Verity zip?
2. Can you root and install TWRP, but not install a new ROM. Can you keep Miui stock and get OTA updates like normal?
Thx

TWRP 3.2.1-0 for Xiaomi Redmi Note 4/4X (mido)

Notes About Xiaomi Mi Devices:
Some Xiaomi Mi devices have bootloaders that require additional steps to unlock before you are able to flash custom images. This typically involves filling out an application to have your device unlocked.
You will need to follow the steps on Xiaomi's MIUI website in order to unlock your device.
Understand that unlocking your device will wipe all of your personal data, settings, and apps from its memory.
TWRP Install (Requires TWRP 2.8.4 or higher already installed):
Download the latest TWRP image file (.img) from the download link and boot TWRP. Go to install and find and select the Images... button. Browse to the image that you downloaded and select it. Choose recovery and swipe to flash.
Fastboot Install Method (No Root Required):
You will need the platform-tools from the Android SDK on your computer. Find the Android command line tools section on the page linked and install the SDK tools package. From the SDK Manager, download only the platform-tools to get adb and fastboot binaries.
Windows users will need proper drivers installed on their computer. You can try the simple FWUL adb/fastboot ISO or the Naked ADB drivers or the Universal ADB drivers if you don't already have a working driver installed
On your device, go into Settings -> About and find the Build Number and tap on it 7 times to enable developer settings. Press back and go into Developer Options and enable USB debugging. From your computer, open a command prompt and type:
adb reboot bootloader
You should now be in fastboot mode.
Download the correct image file and copy the file into the same folder as your adb and fastboot binaries. Rename the image to twrp.img and type:
fastboot flash recovery twrp.img
fastboot reboot
Note many devices will replace your custom recovery automatically during first boot. To prevent this, use Google to find the proper key combo to enter recovery. After typing fastboot reboot, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.
dd Install Method (Requires Root):
Download the latest image file (.img) from the download link above. Place it in the root of your /sdcard folder and rename it to twrp.img. Run the following commands via adb shell or a terminal emulator app:
su
dd if=/sdcard/twrp.img of=/dev/block/bootdevice/by-name/recovery
#Download
dl.twrp.me/mido/twrp-3.2.1-0-mido.img
All credit goes to TWRP Devoloper
I am just share the file
abed0203 said:
Notes About Xiaomi Mi Devices:
Some Xiaomi Mi devices have bootloaders that require additional steps to unlock before you are able to flash custom images. This typically involves filling out an application to have your device unlocked.
All credit goes to TWRP Devoloper
I am just share the file
Click to expand...
Click to collapse
Thanks Thanks and once again, Thanks. It works fine with my RN 4 SD!
Please help me how to install twrp and root on redmi note 4x/mido miui 9.5.9.0...help me master...
ungah said:
Please help me how to install twrp and root on redmi note 4x/mido miui 9.5.9.0...help me master...
Click to expand...
Click to collapse
https://forum.xda-developers.com/re...p-step-guide-to-flash-android-n-beta-t3551221
Is it Treble supported?
Rifat Rezwan said:
Is it Treble supported?
Click to expand...
Click to collapse
I think this is a FAQ now. Official TWRP doesn't support Treble. There is a custom Treble version, which you can find a link to on the LOS 15.1 Treble threads.
You can also try OrangeFox TWRP, which supports Treble.

Letv X910 (le max plus/pro 2) twrp/root

Hi guys
its x910 thread created to tell how to flash twrp 3.1.0.0 of leEco le max 2 on x910 and gain root access with Supersu.
1. I M NOT RESPONSIBLE FOR ANY DAMAGE/DATA LOSS IF ANY OCCURES TO YOIR DEVICE
YOU MUST HAVE UNLOCKED BOOTLOADER
2. I HAVE TESTED IT ON MY LETV X910 it is safe however.
3. download twrp-3.1.0-0-x2.img from https://dl.twrp.me/x2/twrp-3.1.0-0-x2.img
4. download fastboot/adb tool from https://www14.zippyshare.com/d/ufYG71o0/8180/adb-setup-1.4.3.exe
boot in fastboot mode using pwr+vl dn
5. set usb drivers (same usb drivers as of le max 2)
6. use pc and create backup of every thing by using this coomand directly from pc. as follow
fastboot boot recovery (twrp name.img)​this will boot twrp without flashing it create backup of every thing before flashing it.
7. now flash recovery using command fastboot flash recovery (trwp name.img)
8. reboot and go to recovery using two finger salute pwr+vl up
9. flash SuperSU from https://s3-us-west-2.amazonaws.com/supersu/download/zip/SuperSU-v2.82-201705271822.zip and flash via twrp
enjoy root+twrp on x910
How did you unlock the boot loader?

[RECOVERY][3.3.1-17][laurel_sprout]Unofficial TWRP recovery for Xiaomi Mi A3 (Test)

Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its 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>
/*
*
* 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:
- TWRP boots
- TWRP seems has problems with external sdcard and otg
- Magisk Flash works
Install guide :
Remember to use the appropriate .img version
https://forum.xda-developers.com/showpost.php?p=80168528&postcount=16
Other Install guide :
1. Follow this guide to root your device
2. Flash the TWRP installer like a magisk module
3. Flashing the TWRP installer you will lose the root, so you will need to flash magisk again from magisk manager before reboot the device or you can reboot the device and flash magisk in twrp
HOW TO UPDATE a ROM and KEEP TWRP and ROOT:
Before all Disable all magisk modules for boths methods
- Put rom.zip, twrp installer.zip and magisk.zip on your internal storage;
- Flash Rom;
- Flash TWRP Installer;
- Flash magisk;
- Reboot.
If you want you can also update a stock rom from phone settings with local upgrade:
- Update the Rom WITHOUT REBOOT;
- Open Magisk Manager;
- Menu/modules/+ button/select the twrp installer.zip and flash it;
- Always in Magisk Manager, click on Install/Install/Direct Install;
- Again in Magisk Manager, click on Install/Install/Inactive Slot;
- Reboot.
Tips:
If you alread have a twrp flashed you can only flash the new installer zip or the new installation method to update your TWRP (remember to flash again magisk or your system will not boot).
If you have some problems with backup, like 255 error or something similar please check this guide: https://forum.xda-developers.com/oneplus-6/how-to/255-error-twrp-backup-restore-999-t3801632
For the Bacups use always "system_image" and "vendor_image" instead of "system" and "vendor".
Download:
TWRP 3.3.1-17 Unofficial by mauronofrio (Guide included in the link)
Source code:
https://github.com/mauronofrio/android_bootable_recovery
https://github.com/mauronofrio/android_device_xiaomi_laurel_sprout
Precompiled Stock Kernel
Donations:
Credits:
Thanks to Jyotiraditya Panda for the help with the tree
Thanks to @mdeejay for the hard testing
Created 2019-08-31
Bug
https://imgur.com/Y83Xhw2installed this TWRP but I'm with this bug, there are a way to fix this?
mauronofrio said:
Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its 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.
Features:
- TWRP boots
- TWRP seems has problems with external sdcard and otg
- Magisk Flash works
Install guide :
1. Follow this guide to root your device
2. Flash the TWRP installer like a magisk module
3. Flashing the TWRP installer you will lose the root, so you will need to flash magisk again from magisk manager before reboot the device or you can reboot the device and flash magisk in twrp
HOW TO UPDATE a ROM and KEEP TWRP and ROOT:
Before all Disable all magisk modules for boths methods
- Put rom.zip, twrp installer.zip and magisk.zip on your internal storage;
- Flash Rom;
- Flash TWRP Installer;
- Flash magisk;
- Reboot.
If you want you can also update a stock rom from phone settings with local upgrade:
- Update the Rom WITHOUT REBOOT;
- Open Magisk Manager;
- Menu/modules/+ button/select the twrp installer.zip and flash it;
- Always in Magisk Manager, click on Install/Install/Direct Install;
- Again in Magisk Manager, click on Install/Install/Inactive Slot;
- Reboot.
Tips:
If you alread have a twrp flashed you can only flash the new installer zip or the new installation method to update your TWRP (remember to flash again magisk or your system will not boot).
If you have some problems with backup, like 255 error or something similar please check this guide: https://forum.xda-developers.com/oneplus-6/how-to/255-error-twrp-backup-restore-999-t3801632
For the Bacups use always "system_image" and "vendor_image" instead of "system" and "vendor".
Download:
TWRP 3.3.1-15 Unofficial by mauronofrio
TWRP 3.3.1-15 Unofficial Installer by mauronofrio
Source code:
https://github.com/omnirom/android_bootable_recovery
https://github.com/mauronofrio/android_device_xiaomi_laurel_sprout
Precompiled Stock Kernel
Donations:
Credits:
Created 2019-08-31
Click to expand...
Click to collapse
Screenshots please
Rajendran Rasa said:
Screenshots please
Click to expand...
Click to collapse
For what, have you never seen TWRP?
nelinthon said:
https://imgur.com/Y83Xhw2installed this TWRP but I'm with this bug, there are a way to fix this?
Click to expand...
Click to collapse
The TWRP asked you for pattern or password when it started?
mauronofrio said:
The TWRP asked you for pattern or password when it started?
Click to expand...
Click to collapse
Can I directly flash twrp in fastboot??
fastboot flash recovery twrp.img
Because some mi devices won't boot to system after entering twrp
Thanks for your work! Is a big start for our phone!
Grazie dall'Italia!
mauronofrio said:
The TWRP asked you for pattern or password when it started?
Click to expand...
Click to collapse
yes
Rajendran Rasa said:
Can I directly flash twrp in fastboot??
fastboot flash recovery twrp.img
Because some mi devices won't boot to system after entering twrp
Click to expand...
Click to collapse
Recovery partition doesn't exist, so you can't flash it. The installation guide is explained in the first post
mauronofrio said:
The TWRP asked you for pattern or password when it started?
Click to expand...
Click to collapse
I fix it, just put the device password, so easy hahaha
nelinthon said:
I fix it, just put the device password, so easy hahaha
Click to expand...
Click to collapse
Yes that is for decryption
mauronofrio said:
Recovery partition doesn't exist, so you can't flash it. The installation guide is explained in the first post
Click to expand...
Click to collapse
That's not a guide
Explain with step 1,2,3
I have downloaded both the files given in op
Then how to flash twrp?? In fastboot
after flashing twrp do I need anything to flash for booting stock ROM
---------- Post added at 04:12 PM ---------- Previous post was at 04:07 PM ----------
Give the detailed step-by-step instructions for flashing twrp with usb drivers and adb fastboot files
Another problem
I tried to flash a GSI rom and STOCK rom but appears an error: UPDATER PROCESS ENDED WITH SIGNAL 4
Pls for cc9e also twrp
Install method explained
Hello!
Since the install steps provided on OP maybe confusing I thought on sharing here the steps I've made in order to get TWRP working....let's call it a "noob friendly guide", ok?
Here he we go:
0 - Your bootloader must be unlocked. If it's not, then follow step 1 of the instructions provided HERE.
1 - Download both twrp-3.3.1-15-laurel_sprout-mauronofrio.img and twrp-3.3.1-15-laurel_sprout-mauronofrio-installer.zip files present on OP
2 - Download latest Magisk Installer, Magisk Uninstaller and Magisk Manager from HERE.
3 - Copy all of the above to your phone internal memory (since current TWRP doesn't allow sdcard nor USB OTG yet...)
4 - Connect the phone to your PC
5 - Reboot to bootloader
Code:
adb reboot bootloader
6 - Check your current active slot
Code:
fastboot getvar current-slot
7 - Flash TWRP image into the current inactive slot (we do this just to leave the current active slot with no changes...at least for now)
If your current active is slot b, then run:
Code:
fastboot --set-active=a
Or, if your current active is slot a, then run:
Code:
fastboot --set-active=b
And afterwards, run:
Code:
fastboot flash boot twrp-3.3.1-15-laurel_sprout-mauronofrio.img
(of course that img file must be on the same path where you have adb and fastboot...)​8 - Reboot to TWRP:
Code:
fastboot reboot
NOTE: Long press Vol+ button before hitting "ENTER" and leave it pressed until you see the Android One logo (just to force boot into recovery)​
Just a heads up:
Now we are on TWRP booted on the "previously inactive slot". The "previously active slot" continues unchanged. Nothing "bad" really happened until what we decide to do next. If we want, we can just make a TWRP backup of the current slot and nothing else. Afterwards, we could always reboot to bootloader, change to the "previously active slot" again and boot system. If we do this, we continue without TWRP and root but we would now have a TWRP backup of the system present on the "inactive slot". Anyway let's presume you really want to permanently install TWRP and ROOT your device....so let's continue.
9 - While on TWRP, install twrp-3.3.1-15-laurel_sprout-mauronofrio-installer.zip
Note that, by doing this, TWRP will be permanently installed into both slots. This means that, if someday, you want to revert to stock, you'll need to reflash stock boot.img on, at least, one of your slots.​10 - After installing TWRP zip, go to reboot menu, change to the active slot (the one you had on the beginning of these steps) and reboot to TWRP
11 - After TWRP reboots, install Magisk installer zip
12 - Finally, reboot to system
13 - Enjoy
Thank you @mauronofrio and Jyotiraditya Panda for your work on bringing TWRP to Mi A3 (laurel_sprout).
I just hope you're able to fix USB OTG and SDCard bugs and, of course, make this TWRP official.
Cheers!
rom.zip
where is rom.zip
I wonder if it can work on Mi CC 9e......
Crosstyan said:
I wonder if it can work on Mi CC 9e......
Click to expand...
Click to collapse
This will not work on Mi CC 9e
Uninstall method explained (aka revert to stock)
Get boot.img, system.img and vendor.img from your stock ROM build type (EU or Global) and store them on the same folder you have adb and fastboot
Uninstall all Magisk Modules you have installed (do the same for Substratum themes, if any)
Reboot to TWRP
While on TWRP, Flash Magisk Uninstaller Zip
Reboot to bootloader
Code:
fastboot getvar current-slot
(just to make sure which slot is currently active)
Code:
fastboot flash boot boot.img
(from your stock ROM build type)
Code:
fastboot set_active [B]b[/B]
(or a, if you were on slot b)
Code:
fastboot erase boot
Code:
fastboot erase system
Code:
fastboot erase vendor
Code:
fastboot flash vendor vendor.img
(from your stock ROM build type)
Code:
fastboot flash system system.img
(from your stock ROM build type)
Code:
fastboot flash boot boot.img
(from your stock ROM build type)
Code:
fastboot reboot
By doing this your phone will now boot to the previously inactive slot, where an older system build is installed, with all your userdata preserved.
Now you just have to wait for the OTA to arrive and install it in order to have the latest stock Rom build installed without TWRP and Magisk.
NOTE:
This procedure is also intended for everyone that want to install latest stock OTA without losing userdata. The Magisk OTA Installation Tutorial could fail if you tampered with system or vendor partitions, that's why I've decided to share this procedure
There's a way to relock the bootloader???

Categories

Resources