[RN3P Kenzo] Bootloader unlocked but unable to get into TWRP - Xiaomi Redmi Note 3 Questions & Answers

RN3P Kenzo, ROM is Global Dev 6.8.18.
I unlocked the bootloader officially (using the code and the MiFlashUnlock tool). I then used ADB to flash Cofface TWRP which did not work. These are the steps I used:
First I booted into fastboot.
Then I did this in Minimal ADB 'fastboot flash recovery twrp.img'.
The message was
sending 'recovery'
OKAY
writing 'recovery'
OKAY
finished.
Next I did 'fastboot reboot'.
Then I tried to get into TWRP recovery using the MIUI update app. Didn't work. Any help? Thanks in advance.

monsieurazizx said:
RN3P Kenzo, ROM is Global Dev 6.8.18.
I unlocked the bootloader officially (using the code and the MiFlashUnlock tool). I then used ADB to flash Cofface TWRP which did not work. These are the steps I used:
First I booted into fastboot.
Then I did this in Minimal ADB 'fastboot flash recovery twrp.img'.
The message was
sending 'recovery'
OKAY
writing 'recovery'
OKAY
finished.
Next I did 'fastboot reboot'.
Then I tried to get into TWRP recovery using the MIUI update app. Didn't work. Any help? Thanks in advance.
Click to expand...
Click to collapse
Try this, "fastboot boot twrp.img" NOT fastboot flash boot, just "fastboot boot twrp.img"

andersonaragao said:
Try this, "fastboot boot twrp.img" NOT fastboot flash boot, just "fastboot boot twrp.img"
Click to expand...
Click to collapse
OK. It boots into TWRP. But my question is, will I have to use "fastboot boot twrp.img" every time to boot into TWRP? That would be a hassle, but if that's the only way, I'll just deal with it.
Thanks though, it was nice to know the recovery image was working.

monsieurazizx said:
OK. It boots into TWRP. But my question is, will I have to use "fastboot boot twrp.img" every time to boot into TWRP? That would be a hassle, but if that's the only way, I'll just deal with it.
Thanks though, it was nice to know the recovery image was working.
Click to expand...
Click to collapse
No. You dont need to fastboot everytime. As you once booted into TWRP from "fastboot boot twrp.img" your recovery is perminantly TWRP. You can boot into by pressing the key combination or from the updater app..
Happy Flashing

Try fastboot reboot recovery but if not boot into recovery don't boot into system and reboot recovery via key combination. If you reboot system stock recovery erase twrp.
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.
https://twrp.me/devices/xiaomiredminote3.html

"fastboot reboot" hold volume up until you see mi logo
Wipe:
/data
Then flash:
http://forum.xda-developers.com/redmi-note-3/how-to/modified-twrp-deleting-emmcappsboot-t3371667
@Up disables dm-verity and encryption on /data partition[that's why we wipe it inorder to format it].

By SharkcpN(Newbie Guide)
B) Prevent TWRP From Getting Over-written
After the TWRP gets flashed, disconnect the cable from the phone.
Hold power button + volume up buttons till phone gets restarted.
When the Mi Logo shows up, release the power button & keep holding the volume up button.
Release the Volume Up button after TWRP logo shows up.
If the language is in Chinese, select the right box, & select English.
Check the box & swipe to allow modifications.
it worked for me

Related

Twrp issue

I have been trying to install twrp on my new lgv10. I have oem unlocked and I did the command "fastboot flash recovery recovery.img" and then "fastboot boot recovery.img". This boots up twrp recovery, but when I reboot and go back to recovery with "adb reboot recovery" it shows me the fastboot instructions again. How can I get twrp to stay as my recovery? Also, I can't boot recovery from the phone itself it only works from adb. Whenever I try holding the power and volume it just keeps doing the reboot animation over and over.

[Q] Problem with flashing twrp on Snapdragon RM3

I downloaded the twrp .img from the official website and flashed it using 'fastboot flash recovery twrp.img' and everything was shown Okay in cmd. Then I did 'fastboot reboot' and then after phone rebooted I went to recovery mode using volume up and power button but there was no TWRP there, only stock recovery was there. What went wrong? I flashed many times but same result
I had the same result like yours several weeks ago. And finally choose another method to install TWRP. Try below thread , it is easier.
http://en.miui.com/thread-296053-1-1.html
Your stock rom is replacing stock recovery every time you boot it.
TWRP needs a modified boot image flashed to make it permanent when used with official roms.
http://forum.xda-developers.com/red...official-twrp-3-0-2-0-recovery-redmi-t3352966
If you don't have the modified boot, make sure to boot into TWRP first after flashing it.
Handy way to get TWRP booted is to temporarily boot it using "fastboot boot <name of twrp.img>"
Once booted this way, use it to flash the TWRP image, then reboot into TWRP recovery you just flashed.
Once I had that done, after making a backup, I flashed a custom rom (xiaomi.eu) and TWRP remained permanent for me.
If your wanting to stay on an official rom, see this thread which has an Universal Boot Img Patcher.
Is Your Bootloader Unlocked? Cant flash on a locked BL buddy...
To unlock, follow the Guide y Nivu
http://en.miui.com/forum.php?mod=viewthread&tid=280561&extra=&highlight=no%2Bmore%2Bverify%2Bdevice&page=41
also read reply no. 408
2. DO NOT install the official, unmodified TWRP...
select a TWRP from here
http://forum.xda-developers.com/redmi-note-3/how-to/guide-redmi-note-3-available-twrps-t3406708
I Used the cofface TWRP
3. COPY Twrp.img to internal storage.....
fastboot boot TWRP.img
4. TWRP boots automatically... Press the button on Right to change device language....
Swipe right to allow modifications
5. Go to install... > flash Image. select TWRP.img
tap on reboot.... somewhere there, you will be asked to
1. install SuperSU
2. prevent phone from reverting to original recovery...
Swipe right on both.
Cheers!
When you do the "fastboot reboot" command, you should right away , press the volume + and power buttons together, so the phone boots into TWRP and not into the system. If you just execute the command and let it go , the stock recovery overwrites TWRP.
after entering "fastboot flash recovery twrp.IMG" don't reboot and don't entre "fastboot reboot"....you have to directly press power + vol up...you will able to boot into twrp

Soft brick while trying to flash TWRP

Hello to all !
In order to install Lineage OS on my Xiaomi Redmi Note 5, I was trying to flash TWRP as recovery. I was able to run successfully command 'fastboot flash antirbpass dummy.img' to skirt anti rollback, then i execute successfully 'fastboot flash recovery recovery.img' command to flash TWRP, but no way to boot on TWRP.
I tried also to run command 'fastboot boot recovery.img' but while booting it stays stucked on MI logo.
While searching for a solution I inconveniently run command 'fastboot flash boot recovery.img', so now I'm in a bootloop on fastboot mode if I press volume down and power button, or MI logo if I start in normal mode.
I still have access to fastboot commands, do you know how I can do to fix it (and maybe a way to install TWRP correctly) ?
And I can not stop my phone, does it exist a command which allows to do this in fastboot or I have to wait for my phone to be without battery ?
Thanks in advance for your help !
Ivanov93 said:
Hello to all !
In order to install Lineage OS on my Xiaomi Redmi Note 5, I was trying to flash TWRP as recovery. I was able to run successfully command 'fastboot flash antirbpass dummy.img' to skirt anti rollback, then i execute successfully 'fastboot flash recovery recovery.img' command to flash TWRP, but no way to boot on TWRP.
I tried also to run command 'fastboot boot recovery.img' but while booting it stays stucked on MI logo.
While searching for a solution I inconveniently run command 'fastboot flash boot recovery.img', so now I'm in a bootloop on fastboot mode if I press volume down and power button, or MI logo if I start in normal mode.
I still have access to fastboot commands, do you know how I can do to fix it (and maybe a way to install TWRP correctly) ?
And I can not stop my phone, does it exist a command which allows to do this in fastboot or I have to wait for my phone to be without battery ?
Thanks in advance for your help !
Click to expand...
Click to collapse
I guess you have Redmi note 5 - codename: Whyred (Snapdragon 636 and with dual rear camera) so Redmi 5 plus doesn´t have ARB.
If the next recommendation doesn´t work you will find better guidance in the thread for your specific device https://forum.xda-developers.com/redmi-note-5-pro so is slightly different.
Flash again your stock boot image , reboot and check that USB debugging is enabled and start again the process:
Put TWRP in your sdcard and a copy with this name in your adb folder into pc, reboot to fastboot and first just boot to TWRP, don´t flash it in fastboot, use code
Code:
fastboot boot TWRP.img
then in TWRP flash TWRP file and flash dummy.img ARB. In the case that your counter is up to 4 here you will find the file to enable again fastboot mode https://forum.xda-developers.com/redmi-note-5-pro/how-to/index-everything-anti-roll-t3816219
Ivanov93 said:
I still have access to fastboot commands, do you know how I can do to fix it (and maybe a way to install TWRP correctly) ?
Click to expand...
Click to collapse
I will assume that you have the correct TWRP build for your device (do you have vince, or whyred?).
If you have the correct TWRP, then did you flash magisk or lazyflasher after installing TWRP?
MAAAN
Do like this: once you flashed type
Fastboot boot recoveryname.img

Mi A3 Fastboot Loop

Hello I'm stuck at fastboot loop with my Mi A3 after flashing TWRP
Here is what I did:
1. unlocked bootloader
2. downloaded TWRP from here: dl. twrp. me/ laurel_sprout/twrp-3.3.1-0-laurel_sprout.img.html (cant post links, sorry)
3. installed it with fastboot flash boot twrp-3.3.1-0-laurel_sprout.img
After that the reboot is always goes into fastboot
I found the advice to change the partition - it was B and I set it to A and it could load the stock recovery, so I tried to flash TWRP again and it went to Fastboot loop again, on both partitions. No I don't know what to do.
command 'fastboot devices' - shows the device.
but I cannot boot into recovery, I tried holding power and volume up buttons many times, it always boots into Fastboot (screen with bunny and robot)
Please help!
Vsider said:
Hello I'm stuck at fastboot loop with my Mi A3 after flashing TWRP
Here is what I did:
1. unlocked bootloader
2. downloaded TWRP from here: dl. twrp. me/ laurel_sprout/twrp-3.3.1-0-laurel_sprout.img.html (cant post links, sorry)
3. installed it with fastboot flash boot twrp-3.3.1-0-laurel_sprout.img
After that the reboot is always goes into fastboot
I found the advice to change the partition - it was B and I set it to A and it could load the stock recovery, so I tried to flash TWRP again and it went to Fastboot loop again, on both partitions. No I don't know what to do.
command 'fastboot devices' - shows the device.
but I cannot boot into recovery, I tried holding power and volume up buttons many times, it always boots into Fastboot (screen with bunny and robot)
Please help!
Click to expand...
Click to collapse
Flash the boot.img of your current firmware version in twrp to both slots and flash twrp installer.zip afterwards then reboot. Now you will be able to boot as normal and have twrp installed also
Vsider said:
Hello I'm stuck at fastboot loop with my Mi A3 after flashing TWRP
Here is what I did:
1. unlocked bootloader
2. downloaded TWRP from here: dl. twrp. me/ laurel_sprout/twrp-3.3.1-0-laurel_sprout.img.html (cant post links, sorry)
3. installed it with fastboot flash boot twrp-3.3.1-0-laurel_sprout.img
After that the reboot is always goes into fastboot
I found the advice to change the partition - it was B and I set it to A and it could load the stock recovery, so I tried to flash TWRP again and it went to Fastboot loop again, on both partitions. No I don't know what to do.
command 'fastboot devices' - shows the device.
but I cannot boot into recovery, I tried holding power and volume up buttons many times, it always boots into Fastboot (screen with bunny and robot)
Please help!
Click to expand...
Click to collapse
Don't use twrp
It'll break userdata partition
Use shrp recovery
For Android 9
https://sourceforge.net/projects/mi...RP_P-v2.2-laurel_sprout-official.img/download
For Android 10
https://sourceforge.net/projects/mi...HR_Q-v2.2-laurel_sprout-official.img/download
Shrp installer Flashable zip after flashing ROM
https://sourceforge.net/projects/mi...ller-v2.2-laurel_sprout-official.zip/download
Rajendran Rasa said:
Don't use twrp
It'll break userdata partition
Use shrp recovery
For Android 9
https://sourceforge.net/projects/mi...RP_P-v2.2-laurel_sprout-official.img/download
For Android 10
https://sourceforge.net/projects/mi...HR_Q-v2.2-laurel_sprout-official.img/download
Shrp installer Flashable zip after flashing ROM
https://sourceforge.net/projects/mi...ller-v2.2-laurel_sprout-official.zip/download
Click to expand...
Click to collapse
TWRP breaks down? ? Man!! Everyone using it.
All the youtubers.
There is a stable twrp for a3

Z5C refuses to load TWRP

Hey all,
I have a new z5c running 32.4.A.1.54 stock.
I flash TWRP (I have tried a few different versions) using Fastboot on Ubuntu20.04, it all runs fine no errors, and appears to flash as it should.
But the phone will not load TWRP, from the phone itself, I have tried a million different ways.
The only way it loads is by
fastboot boot twrp.img
But when I do this .. android will not then start .. hangs on Sony logo
I have to reflash the stock rom to get it to work again
If I run
fastboot reboot recovery
I get:
fastboot: usage: unknown reboot target recovery
even tho:
fastboot devices
correctly identifies the device
I would like to root and use custom rom, but have not yet been able to get past this TWRP hurdle
Has anyone experience of this, or any ideas?
You've flashed TWRP in a wrong way! Please search for help in my several ROM threads.
Well, thanks for your answer, really, I appreciate it
But I have flashed it again and again and followed your threads and other threads
I'm not a newbie, i have flashed TWRP and roms to a few phones, inc Z1C and a couple of Z3Cs
I have adb, and fastboot installed
Bootloader unlocked
USB debugging
Recommended stock
I have downloaded multiple .img files, including your 3.6.1 version
I run fastboot
and
fastboot flash recovery twrp.img
The phone will not reboot into TWRP, using buttons nor fastboot, only into android, unless I then run
fastboot boot twrp.img
Then TWRP runs, but when I then reboot, I just hit the SONY logo if I have not flashed a ROM or a bootloop if I have.
And from there will not return to TWRP at all.
What am I missing?
I'm very confused as everything you're talking about is working here and for other users flawlessly.
Really, I don't know what's wrong at your side.
Berni-0815 said:
I'm very confused as everything you're talking about is working here and for other users flawlessly.
Really, I don't know what's wrong at your side.
Click to expand...
Click to collapse
Yes, that makes 2 of us!
Ugh.
Did you try what I told you in this post?
With that, LineageOS 19.1 MUST boot up!
If not, I don't know further...
Berni-0815 said:
Did you try what I told you in this post?
With that, LineageOS 19.1 MUST boot up!
If not, I don't know further...
Click to expand...
Click to collapse
I did try that as recommended, thanks
I am flashtool-ing back to the stock again, after being again stuck on boot with TWRP inaccessible
I will give it one last go
Thanks, man
How do I buy you a coffee?
That's all really weird; since it works here since years.
From a fresh fully-functional stock install
Following this simple process exactly
Devices with only TWRP.IMG​
If your device only has the IMG file, then execute the below command: fastboot flash recovery twrp.img
Now execute the below command to boot your device to the TWRP recovery. fastboot boot twrp.img
Once it boots to TWRP, you could then boot it to the OS, via the Reboot > System option in TWRP.
From here;
https://www.getdroidtips.com/flash-twrp-recovery-android/
After 3. it gets to SONY logo and hangs
Same every time
Obviously not a problem with your or any other custom ROM
The only way out from here is to Flashtool the stock again
Geez
I'm giving up on TWRP and custom ROM
I'll go for the rooted, debloated, degoogled stock as best as I can get it
Thanks v much for the support!
I've NEVER used the command
Code:
fastboot boot twrp.img
I've always flashed TWRP like this:
Shutting down device
Waiting some time
Pressing volume up and plugging usb cable
Enter this command in a terminal window:
Code:
fastboot flash recovery TWRP_3.6.1_9-0-recovery_suzuran_2022-03-09.img
After unplugging the usb cable and waiting some time I rebooted into TWRP by pressing power and volume down simultaneously.
That worked since years flawlessly!
Berni-0815 said:
I've NEVER used the command
Code:
fastboot boot twrp.img
I've always flashed TWRP like this:
Shutting down device
Waiting some time
Pressing volume up and plugging usb cable
Enter this command in a terminal window:
Code:
fastboot flash recovery TWRP_3.6.1_9-0-recovery_suzuran_2022-03-09.img
After unplugging the usb cable and waiting some time I rebooted into TWRP by pressing power and volume down simultaneously.
That worked since years flawlessly!
Click to expand...
Click to collapse
That command is the only way that twrp has loaded for me
Right .. deep breath ... one last go at this using yr suggestion,
thanks
Nope
Same again
All goes as it should
Power and volume down simultaneously
Boots into Android
adb reboot recovery
Also boots into android
If I was now to run
fastboot boot twrp.img
It would run TWRP the one time, but just hang on SONY logo when rebooted
Ho hum.
kaivalyam said:
Power and volume down simultaneously
Boots into Android
Click to expand...
Click to collapse
That SHOULD NOT happen if you've flashed TWRP in the only right way.
I'm sorry, but I don't believe that...
Berni-0815 said:
That SHOULD NOT happen if you've flashed TWRP in the only right way.
I'm sorry, but I don't believe that...
Click to expand...
Click to collapse
Well, its not a particularly complicated process
I have described exactly what I have done
I have done it multiple times
And that is what happens
As I said: I've never seen that and that's not reported very often by other users.
And if, then it has been an error in flashing.
Highly unlikely that you're devices so called FOTA partition is damaged so that the command
Code:
fastboot flash recovery <name of the recovery image>
fails.
Code:
fastboot flash boot <name of the boot image>
flashes the boot partition and that's not the same as the FOTA partition.
I have to believe you but somehow I can't.
I understand
fastboot flash recovery <name of the recovery image>
Doesn't fail exactly ... it runs fine .. no errors
Code:
~/Dev/Z5/twrp/3.6.1$ fastboot flash recovery TWRP_3.6.1_9-0-recovery_suzuran_2022-03-09.img
target reported max download size of 536870912 bytes
sending 'recovery' (22668 KB)...
OKAY [ 0.570s]
writing 'recovery'...
OKAY [ 0.395s]
finished. total time: 0.965s
But then the phone will only boot android
~~~
Unless
I run;
fastboot flash boot <name of the boot image>
Again, runs fine .. no errors
Code:
~/Dev/Z5/twrp/3.6.1$ fastboot boot twrp.img
downloading 'boot.img'...
OKAY [ 0.552s]
booting...
OKAY [ 0.561s]
finished. total time: 1.113s
This boots TWRP but then after that the phone hangs at boot and will neither start Android or TWRP
It is indeed very strange.
Look at your own code:
Code:
~/Dev/Z5/twrp/3.6.1$ fastboot boot twrp.img
downloading 'boot.img'...
From where is boot.img downloaded? And where is it stored internally?
Have you flashed system.img too?
There goes something terribly wrong at your side.
Thanks for your patience
Yes I'm sure you're right, probably user error, although I am having trouble seeing what that is exactly ...
So, using Ubuntu, I am in the directory that contains the twrp.img file (most times I have renamed it this)
Is that correct so far?
From there I run
fastboot flash recovery twrp.img
All good, as above, but TWRP does not load, ever, using buttons or adb, unless I then run
fastboot boot twrp.img
TWRP then runs
But the phone will not boot into anything from there
Yes, I thought that was a little odd ...
"downloading" : I assumed it meant it was transferring the file across, or accessing it, from my pc to the device
"'boot.img" : I assumed fastboot had changed the filename to what it needed it to be ...
Is the problem around this?
You can name the recovery image file as you like it to be named.
Have you disconnected the USB cable after flashing?
Have you waited some time before trying to boot anything?
If you can boot TWRP, you can fetch a LOG file at the "Advanced" menu. Please send me this LOG file via PM (it may contain personell data!).

Categories

Resources