Hi, I'm new and I have a question regarding twrp,
i.e. I can enter to TWRP only from the command line when tel is connected to a PC. so it has to be?
on videos on YT I've seen that people go to TWRP when they are in fastboot by the vol + and power keys combination, in my case
when the phone is disconnected from the PC and off I can only enter the fastboot mode (Vol- and power), when I am in fastboot and I click whether it is vol- and power or vol + and power, the phone reboots and enters in eui.
I did everything like this:
Code:
C:\adb>adb devices
List of devices attached
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
c4ce1cd4 device
C:\adb>adb reboot bootloader
C:\adb>fastboot devices
c4ce1cd4 fastboot
C:\adb>fastboot oem device-info
...
(bootloader) Device product name: [le_x2_india]
(bootloader) Device tampered: false
(bootloader) Device unlocked: true
(bootloader) Device critical unlocked: true
(bootloader) Charger screen enabled: false
(bootloader) Serial console enabled: false
(bootloader) Display panel:
OKAY [ 0.078s]
finished. total time: 0.078s
C:\adb>fastboot flash recovery twrp-3.2.1-2-x2.img
target reported max download size of 536870912 bytes
sending 'recovery' (31780 KB)...
OKAY [ 0.693s]
writing 'recovery'...
OKAY [ 0.234s]
finished. total time: 0.927s
C:\adb>fastboot boot twrp-3.2.1-2-x2.img
downloading 'boot.img'...
OKAY [ 0.694s]
booting...
OKAY [ 0.375s]
finished. total time: 1.069s
the twrp file has copied it to the main phone folder where there are movies, android etc.
It also created a TWRP folder to which I made a system backup.
By PC, the phone is detected once as x2 when it is in TWRP and once as normal le max2 when it is not in TWRP
I also installed a SUper SU.
I did something wrong?
-------------
ok, I've done it right now, I do not know if it's something that gave me or just went wrong but it works.
I went to TWRP via PC without re-uploading it only with the command Fastboot boot twrp.img and I did it as I read on one of the forums.
When you flash twrp you, do not boot your phone as the system as it will overwrite the recovery. You have to boot first to TWRP and after that you can boot the OS
and now I am entering normally.
My fault could also be based on the fact that I tried enter from the bootloader (power + Vol-) directly to twrp, and then only the combination (power + Vol +) to TWRP and therefore it did not come.
Now with the power off the Power + Vol + immediately off and enters elegantly
Heyyo, yeah pretty much from bootloader you always do..
fastboot flash recovery TWRP.img
And then use volume up with power button and keep holding that button combination until the phone reboots and shows the word "recovery" on the screen. Then it will Boot to TWRP. :good:
zimon85 said:
Hi, I'm new and I have a question regarding twrp,
i.e. I can enter to TWRP only from the command line when tel is connected to a PC. so it has to be?
on videos on YT I've seen that people go to TWRP when they are in fastboot by the vol + and power keys combination, in my case
when the phone is disconnected from the PC and off I can only enter the fastboot mode (Vol- and power), when I am in fastboot and I click whether it is vol- and power or vol + and power, the phone reboots and enters in eui.
I did everything like this:
the twrp file has copied it to the main phone folder where there are movies, android etc.
It also created a TWRP folder to which I made a system backup.
By PC, the phone is detected once as x2 when it is in TWRP and once as normal le max2 when it is not in TWRP
I also installed a SUper SU.
I did something wrong?
-------------
ok, I've done it right now, I do not know if it's something that gave me or just went wrong but it works.
I went to TWRP via PC without re-uploading it only with the command Fastboot boot twrp.img and I did it as I read on one of the forums.
When you flash twrp you, do not boot your phone as the system as it will overwrite the recovery. You have to boot first to TWRP and after that you can boot the OS
and now I am entering normally.
My fault could also be based on the fact that I tried enter from the bootloader (power + Vol-) directly to twrp, and then only the combination (power + Vol +) to TWRP and therefore it did not come.
Now with the power off the Power + Vol + immediately off and enters elegantly
Click to expand...
Click to collapse
Could you plz send me procedure to install twrp
Dharmendra.k said:
Could you plz send me procedure to install twrp
Click to expand...
Click to collapse
https://forum.xda-developers.com/le-max-2/development/test-twrp-3-2-1-0-leeco-le-max-2-t3734209
Related
Sure its maybe asked before but followed all the treads but can't come any further.
I did all what was written but it does not work.
In CMD message cannot load twrp_mido.img all is on place on my PC (Windows 10) and the files in my phone.
tried again and again, my phone is not locked and in developer USB debug is also checked.
Superuser is installed
Even tried with flashify and starting it tells You don't have ROOT/Superuser access on your device, which is strange as i have a Root unlocked.
So maybe someone has any idea what to do next?
target reported max download size of 536870912 bytes
sending 'recovery' (29604 KB)...
OKAY [ 0.667s]
writing 'recovery'...
OKAY [ 0.168s]
finished. total time: 0.842s
ok well finally I got a ok with fastboot flash recovery twrp_mido.img but rebooting will not start the TWRP recovery but the Redmi recovery.
so whats next?
fastboot boot twrp_mido.img
Sent from my Redmi Note 4 using Tapatalk
Unetwork said:
target reported max download size of 536870912 bytes
sending 'recovery' (29604 KB)...
OKAY [ 0.667s]
writing 'recovery'...
OKAY [ 0.168s]
finished. total time: 0.842s
ok well finally I got a ok with fastboot flash recovery twrp_mido.img but rebooting will not start the TWRP recovery but the Redmi recovery.
so whats next?
Click to expand...
Click to collapse
after flashing twrp recovery.(on fastboot screen) press volume up+power butten until restart and shows mi logo.when mi logo appears release power button only(hold volume+ button) you will be able to boot twrp recovery
1, flash twrp.img with your PC.
2, DON'T reboot now. Because MIUI will recover it's original recovery.img when reboot. After flashing twrp.img, try this command in cmd:
fastboot boot yourTwrpImgName
e.g. fastboot boot twrp_mido.img
or, press power key and volume up for a long time until it shows Mi logo. And then release volume up only.
3, wait a moment.
4, reboot by twrp. It will ask you if want to prevent recovering stock recovery image. Slide this block.
5, enjoy it.
Sorry for my bad English.
Hi all,
First of all, sorry for my english...
I've got a problem to root a phone.
I followed this guide :
https://forum.xda-developers.com/android/development/root-ulefone-armor-2-easy-rooting-t3780055
But I just realized, it's for ulefone Armor 2, while I try to root a Armor 2S..
I followed instructions, but I've got a problem on the point 2.
Code:
C:\Users\greg\Downloads\root\platform-tools>fastboot.exe flashing unlock
(bootloader) Start unlock flow
OKAY [ 5.301s]
Finished. Total time: 5.305s
C:\Users\greg\Downloads\root\platform-tools>fastboot.exe flash recovery recovery.img
Sending 'recovery' (15218 KB) OKAY [ 0.405s]
Writing 'recovery' OKAY [ 0.356s]
Finished. Total time: 0.777s
C:\Users\greg\Downloads\root\platform-tools>fastboot boot recovery.img
Downloading 'boot.img' OKAY [ 0.392s]
booting FAILED (remote: 'invalid ramdisk address: overlap with the download image')
Finished. Total time: 0.417s
After few test, who doesn't work at all, I've decide to reboot my phone.
Now, It's stuck on the main screen with this text :
Code:
Orange State
Your device has been unlocked and can't be trusted
Your device will boot in 5 seconds.
And after 5 seconds, the screen go black for one second and return to the message.
And I can't go to recovery mode anymore. Volume+ and Power button don't do anythong but show this "Orange state" screen.
Please tell me there is a solution to unbrick this phone..
Thanks in advance
Try to relock again bootloader with command : fastboot oem lock maybe it can fix that issue but do at your own risk !!!
Thank you for your answer, but the phone is not recognized by the computer at this point.
I can not send command from the PC (adb or fastboot)
Try some key combination keys like :
hold Vol + and plug usb
hold Vol - and plug usb
hold Vol + ; Vol - and plug usb
If that doesn't work , let your battery to be completely empty 0% and repeat process . Good luck
Hey guys,
I have an European LG G5 H850 with an unlocked bootloader. It is my first time rooting, and after unlocking the bootloader, I wanted to boot TWRP once, but I didn't want to install it, but instead keep the stock recovery untouched. So I booted into the bootloader, entered "fastboot boot twrp.img" and I got this message:
downloading 'boot.img'...
OKAY [ 0.462s]
booting...
FAILED (remote: unknown command)
finished. total time: 0.482s
I have absolutely no idea what I'm doing wrong. I made sure twrp.img is referring to the correct file, and I tried both the Android SDK platform tools and the 15 seconds ADB installer, but none of them worked. When I try flashing the recovery with "fastboot flash recovery twrp.img", it seems to work because this appears:
target reported max download size of 536870912 bytes
sending 'recovery' (20900 KB)...
OKAY [ 0.471s]
writing 'recovery'...
OKAY [ 0.198s]
finished. total time: 0.670s
But when I try to boot into the bootloader again, it just gives me the option to do a factory reset, nothing else. So I assume that something went wrong. I have absolutely no idea what it could be, so please help me. I also asked on reddit, but didn't get any answers so far. Any help would be greatly appreciated!
Thanks in advance!
JonSchnee777 said:
Hey guys,
I have an European LG G5 H850 with an unlocked bootloader. It is my first time rooting, and after unlocking the bootloader, I wanted to boot TWRP once, but I didn't want to install it, but instead keep the stock recovery untouched. So I booted into the bootloader, entered "fastboot boot twrp.img" and I got this message:
downloading 'boot.img'...
OKAY [ 0.462s]
booting...
FAILED (remote: unknown command)
finished. total time: 0.482s
I have absolutely no idea what I'm doing wrong. I made sure twrp.img is referring to the correct file, and I tried both the Android SDK platform tools and the 15 seconds ADB installer, but none of them worked. When I try flashing the recovery with "fastboot flash recovery twrp.img", it seems to work because this appears:
target reported max download size of 536870912 bytes
sending 'recovery' (20900 KB)...
OKAY [ 0.471s]
writing 'recovery'...
OKAY [ 0.198s]
finished. total time: 0.670s
But when I try to boot into the bootloader again, it just gives me the option to do a factory reset, nothing else. So I assume that something went wrong. I have absolutely no idea what it could be, so please help me. I also asked on reddit, but didn't get any answers so far. Any help would be greatly appreciated!
Thanks in advance!
Click to expand...
Click to collapse
The "fastboot boot twrp.img" command didn't work for me either, but the keystroke to do a "factory reset" -- which is really a keystroke to enter recovery -- did work. Specifically, I
powered down the LG G5 completely (nothing attached to the USB-C port, or battery pull)
with the power off (preferably via battery pulled), held down the Volume Down and Power/Fingerprint buttons
As soon as the LG logo appeared, released and re-pressed the Power/Fingerprint button, all the while continuing to hold down Volume Down
Held down both while the LG logo showed, releasing them after the white screen appeared asking whether you want to do a full erase. Answer yes (Press and release Volume Down until the Yes is grey, then press Power/Fingerprint button)
It prompts you once again. Answer yes again the same way.
At this point after a few seconds, TWRP starts. It hasn't actually done an erase.
This is important: after fastboot flash recovery twrp.img, you need to pull the battery to power down, and then follow the instructions above to enter TWRP. Do not boot into system with the stock ROM after fastboot. It will replace TWRP with the stock recovery at boot time, and in that scenario, the full erase mentioned above actually does erase data and internal storage.
TWRP will on first start change the system image (once you "allow modification") so that the stock ROM stops replacing it at boot time.
If you did boot up the stock ROM after fastboot, you will need to re-enter fastboot and flash TWRP again (power down with USB-C port clear, hold down Volume Up, insert USB-C cable, fastboot flash recovery twrp.img). Then pull the battery with fastboot still running, then boot into TWRP as above.
Unfortunately most writeups aren't crystal clear about the correct sequence of steps. Most cover some steps and gloss over others.
You aren't doing anything wrong.
LG did not put the typical Fastboot commands into the bootloader.
Fastboot flash does not work either.
You need to follow the other methods available on xda to get TWRP on your device.
Edit: woops. That's only with H830. Follow the instructions in the H850 TWRP thread.
Sent from my LG-H830 using Tapatalk
I have a Moto G Play 2021 (XT2093-4) (another one), that I made a mistake to relock the bootloader after I had it unlocked. I don't have access to the OS on the phone anymore. Previously I had the treble floss installed on it. I don't have TWRP installed. The only thing I have access to is fastboot. I realise I might have completely bricked this phone but I thought I ask here to see if there is any way to unlock the OEM again just using the fastboot.
the fastboot screen on the phone has a menu option to go into recovery mode. stock recovery might be able to restore your phone to working condition.
volume-down + power buttons > fastboot mode > volume button to 'recovery' option > power button to execute. if your recovery screen is broken with the 'no command' message, hold down the power button and quickly press and release the volume-up button. that should get you to the working recovery screen where you can try to factory reset your phone.
strumcat said:
the fastboot screen on the phone has a menu option to go into recovery mode. stock recovery might be able to restore your phone to working condition.
volume-down + power buttons > fastboot mode > volume button to 'recovery' option > power button to execute. if your recovery screen is broken with the 'no command' message, hold down the power button and quickly press and release the volume-up button. that should get you to the working recovery screen where you can try to factory reset your phone.
Click to expand...
Click to collapse
Thanks, but I think my phone is completely messed up now. If you can believe it, I can't even get to recovery mode. I can get to fastboot and then find the recovery mode and click to go to it but then it just starts the fastboot again. I'm basically stuck in fastboot forever. It's just weird cause there's nothing wrong with the hardware. Thanks again.
if you have nothing working on your phone but fastboot mode, that might still be enough to rescue your phone. boot it to the fastboot screen, connect it to a pc that has the fastboot program installed, open a terminal window on the pc wherever fastboot is, and type 'fastboot devices'. if your phone answers with its serial number, you'rr probably able to flash a whole stock rom to it piece by piece. get a stock rom from somewhere like lenovo, using their lmsa program, or just download the right one from lolinet or somewhere. unzip it. then, for instance, to flash the boot.img to your phone you would type 'fastboot flash boot boot.img'. that would replace your possibly broken boot partition with a known good one. then 'fastboot reboot' to see if that helped. there are tutorials on the net for flashing the rest of the rom. be sure to read one, because all of the flash commands aren't that straightforward.
strumcat said:
if you have nothing working on your phone but fastboot mode, that might still be enough to rescue your phone. boot it to the fastboot screen, connect it to a pc that has the fastboot program installed, open a terminal window on the pc wherever fastboot is, and type 'fastboot devices'. if your phone answers with its serial number, you'rr probably able to flash a whole stock rom to it piece by piece. get a stock rom from somewhere like lenovo, using their lmsa program, or just download the right one from lolinet or somewhere. unzip it. then, for instance, to flash the boot.img to your phone you would type 'fastboot flash boot boot.img'. that would replace your possibly broken boot partition with a known good one. then 'fastboot reboot' to see if that helped. there are tutorials on the net for flashing the rest of the rom. be sure to read one, because all of the flash commands aren't that straightforward.
Click to expand...
Click to collapse
Sorry for the really late reply. I tried what you said, but it fails right at the (fastboot flash partition gpt.bin) command and the output I get is:
Sending 'partition' (37 KB) OKAY [ 0.002s]
Writing 'partition' (bootloader) Validating 'gpt.default.xml'
(bootloader) flash permission denied
(bootloader) Cancelling 'gpt.default.xml'
FAILED (remote: '')
fastboot: error: Command failed
It keeps saying flash permission denied. I have another exact same phone with an unlocked bootloader and I did the same on that one and I was able to flash a stock ROM to it. I've tried every RETCA and RETUS on this site: https://mirrors.lolinet.com/firmware/motorola/guamna/official/ but it fails with the same error. I'm going to try all the rest later but it's a lot to download for now.
Thanks again for the help!
Hello, I'm a new user here. Lately I've been trying to root my Redmi Note 8 Pro. Following the standard procedure, I unlocked bootloader in the first place. Then, I downloaded usb and adb/fastboot drivers, searched for a twrp image compatible with my device and placed it in the adb folder. My problem is that after flashing the recovery, my phone sometimes goes into a bootloop, sometimes just boots normally and won't let me get in recovery. What am I doing wrong? I tried everything to make it work, even different versions of twrp and orangefox. Thanks :3 (if you need further information I'll kindly provide it to you).
read the instructions
https://twrp.me/xiaomi/xiaomiredminote8pro.html
aIecxs said:
read the instructions
https://twrp.me/xiaomi/xiaomiredminote8pro.html
Click to expand...
Click to collapse
Thanks for the response. I tried disabling avb before flashing twrp, but still, there's no way I'm booting into recovery after the device reboots. I also tried to temporarily boot twrp but it shows me an error:
Sending 'boot.img' (29152 KB) OKAY [ 0.641s]
Booting FAILED (Status read failed (Too many links))
fastboot: error: Command failed
fastboot boot can't work for SAR that's expected. flash TWRP recovery + vbmeta again, then press and keep holding Vol+ up button, type fastboot reboot, once you see TWRP release Vol button, swipe to allow modifications
aIecxs said:
fastboot boot can't work for SAR that's expected. flash TWRP recovery + vbmeta again, then press and keep holding Vol+ up button, type fastboot reboot, once you see TWRP release Vol button, swipe to allow modifications
Click to expand...
Click to collapse
Nothing seem to work. Holding the vol button just makes my phone bootloop. I really don't know what I'm doing wrong.
if the flashed custom recovery just bootloops then try another recovery
I believe there is a typo at TWRP page, try (reboot with holding Volume Up)
Code:
fastboot flash --disable-verity --disable-verification vbmeta vbmeta.img
fastboot flash recovery twrp-3.7.0_9-0-begonia.img
fastboot reboot