after flashing LineageOS when i try to get into recovery mode the phone just reboot the bootloader
DarkshadoW99 said:
after flashing LineageOS when i try to get into recovery mode the phone just reboot the bootloader
Click to expand...
Click to collapse
download latest twrp.img from official website. place it in adb fastboot tool folder. then open command prompt widows in same folder. reboot you device into fastboot mode and connect to pc now run the following command
fastboot erase recovery
fastboot flash recovery "recovery file name"
then reboot recovery mode
sukhwant717 said:
download latest twrp.img from official website. place it in adb fastboot tool folder. then open command prompt widows in same folder. reboot you device into fastboot mode and connect to pc now run the following command
fastboot erase recovery
fastboot flash recovery "recovery file name"
then reboot recovery mode
Click to expand...
Click to collapse
i got an error "Failed(Remote: Unable to format)"
DarkshadoW99 said:
i got an error "Failed(Remote: Unable to format)"
Click to expand...
Click to collapse
this show up when i try to erease recovery
DarkshadoW99 said:
this show up when i try to erease recovery
Click to expand...
Click to collapse
try flash command
sukhwant717 said:
try flash command
Click to expand...
Click to collapse
i did it but still cant get into recovery , the phone just reboot the bootloader
DarkshadoW99 said:
i did it but still cant get into recovery , the phone just reboot the bootloader
Click to expand...
Click to collapse
if you are rooted and able to boot into system. try flashing via terminal. if you are unable to boot into system report back
Related
Ok I've looked everywhere but can't find anything solid to help me.
I installed this
rom http://forum.xda-developers.com/showthread.php?t=1727657
factory reset, put it on sd card, used TWRP to install from zip and install gapps, wiped cache, when I reboot it just loops the HTC splash
What have I missed out? I just can't work it out.
I can still use bootloader and twrp
I've also seen people say go into fastboot and type this and that, how do you type in fastboot?
Thanks in advance for any help
flash the boot.img with "fastboot flash boot boot.img" the "fastboot erase cache" and you should be fine
go into bootloader and connect your phone to your pc and your click fastboot in your phone and it should say FASTBOOT USB the just type the above in CMD
and one more thing your hboot must be 1.31 or higher
Have you repacked an AOSP kernel with the boot.img ??
The5alodi said:
flash the boot.img with "fastboot flash boot boot.img" the "fastboot erase cache" and you should be fine
go into bootloader and connect your phone to your pc and your click fastboot in your phone and it should say FASTBOOT USB the just type the above in CMD
and one more thing your hboot must be 1.31 or higher
Click to expand...
Click to collapse
my hboot is 1.36
cmd doesnt recognise any of those, I don't understand do I have to change the directory to my phone or something?
Vulbastick said:
my hboot is 1.36
cmd doesnt recognise any of those, I don't understand do I have to change the directory to my phone or something?
Click to expand...
Click to collapse
Open cmd from fastboot folder : shift+right click > open command
davidk-il said:
Open cmd from fastboot folder : shift+right click > open command
Click to expand...
Click to collapse
ok thanks. Now when I enter 'fastboot flash boot boot.img' it says error cannot load boot.img
problem solved thanks a lot guys! I just had to erase cache
Vulbastick said:
problem solved thanks a lot guys! I just had to erase cache
Click to expand...
Click to collapse
hello i try to flash a rom and i see in some web
that i can to do this with this command :
fastboot flash boot boot.img
but i confused and write
fastboot boot boot.img
now i try to enter to recovery of twrp and i cant it just show me black screen :crying:
someone help me plz.
You flashed boot.img in the recovery partition.
Download your preferred recovery and flash it with the command:
fastboot flash recovery recovery.img
you will be good to go
tamir20121 said:
hello i try to flash a rom and i see in some web
that i can to do this with this command :
fastboot flash boot boot.img
but i confused and write
fastboot boot boot.img
now i try to enter to recovery of twrp and i cant it just show me black screen :crying:
someone help me plz.
Click to expand...
Click to collapse
stathis95194 said:
You flashed boot.img in the recovery partition.
Download your preferred recovery and flash it with the command:
fastboot flash recovery recovery.img
you will be good to go
Click to expand...
Click to collapse
i succed to flash recovery but now all i try to do its write:
E:Unable to mount '/cache'
tamir20121 said:
i succed to flash recovery but now all i try to do its write:
E:Unable to mount '/cache'
Click to expand...
Click to collapse
Try to fastboot erase cache and reboot
stathis95194 said:
You flashed boot.img in the recovery partition.
Download your preferred recovery and flash it with the command:
fastboot flash recovery recovery.img
you will be good to go
Click to expand...
Click to collapse
I didn't see him mention anything about recovery. He booted the boot.img there by he would only "simulate" a boot so to speak, not?
Kinda like:
Building and booting Nexus 5 kernel
Excerpt from posted link:
Code:
$ adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
$ adb reboot bootloader
$ sudo fastboot boot boot.img
During this commands your phone will reboot to bootloader mode, next using fastboot command you'll copy the new boot image to RAM of the phone and then boot it. YOUR FLASH IS NOT TOUCHED IT'S 100% SAFE! Now just check in settings, what is version of your kernel. When you've done with hacking, and want to have the original just reboot your phone.
Click to expand...
Click to collapse
He could have just restarted the phone and flashed it properly. Maybe doing that is like booting a "virtual" copy of the Kernel on the device for testing purposes?
Either way though, it's just for the sake of interest/education, if anything else. :good:
thx for the help i succed
Hi there,
I have a rooted HTC one M8 in Australia and I'm trying to flash stock recovery with fastboot in command centre. I'm having a problem because it keeps failing to flash the recovery as its more than 18mb and the command centre says "target reported max download size of 1830477824"
Is there a way to make the max file size bigger? so i can flash stock recovery, update the phone and then flash TWRP again?
Im a beginner so even just a little help would be amazing! THANKS SO MUCH!
What command are you typing?
I'm going to guess they're trying to flash it in RUU mode
BenPope said:
What command are you typing?
Click to expand...
Click to collapse
First they said to open the folder 'fast boot'
right click in folder whilst holding shift and click open command window here
then type 'adb reboot bootloader'
then after its in boot mode i typed in 'fastboot flash recovery "stock recovery.img"
after that it starts trying to send to my phone but then says that max file transfer is 18mb and this stock recovery is 24mb.
Rename stock recovery.img to recovery.img
then use command fastboot flash recovery recovery.img
Please help me, i can't flash twrp, adb warn cannot load twrp.img. My hboot mode display unlocked and s on.
wingdrone said:
Please help me, i can't flash twrp, adb warn cannot load twrp.img. My hboot mode display unlocked and s on.
Click to expand...
Click to collapse
adb is not involved in flashing of twrp.
make sure the file is named recovery.img and it's in your adb tools along with with fastboot.exe
command is: fastboot flash recovery twrp.img
wingdrone said:
Please help me, i can't flash twrp, adb warn cannot load twrp.img. My hboot mode display unlocked and s on.
Click to expand...
Click to collapse
In addition to the above mentioned make sure you're booted to download mode. From bootloader this would work with fastboot oem reboot-download. You can't flash TWRP from bootloader mode any longer. This has been the case since the One M9 days.
Sent from my htc_pmeuhl using XDA Labs
michaelbsheldon said:
adb is not involved in flashing of twrp.
make sure the file is named recovery.img and it's in your adb tools along with with fastboot.exe
command is: fastboot flash recovery twrp.img
Click to expand...
Click to collapse
If it's renamed to recovery.img, then using fastboot flash recovery twrp.img isn't going to work.
It would have to be fastboot flash recovery recovery.img
Also to the OP, flash it in download mode as stated above.
Hello whenever i try to use the fastboot boot twrp.img command on adb the img wont load it gets stuck on the fastboot logo.
Try
fastboot flash recovery twrp.img
elwholo said:
Hello whenever i try to use the fastboot boot twrp.img command on adb the img wont load it gets stuck on the fastboot logo.
Click to expand...
Click to collapse
Rename ur boot image file to twrp.img
And then in adb type
1. fastboot devices (see if you are connected or not... If connected type 2nd command)
2. fastboot flash recovery twrp.img
After that by using power up button navigate to RECOVERY MOD and press power key
DONE
U will be running twrp recovery
flash magisk via recovery to maintain root
Enjoy