[Q] Booting strait to custom recovery *Help* - One (M8) Q&A, Help & Troubleshooting

Hey guys, I think i screwed up big time. I have just received my Htc one M8 from rogers (with no bloatware on it .. weird lol ) And i wanted to root it in order to use titanium back up.
So i followed a guide to root the phone everything went well execpt that now my phone boots straight into philz custom recovery....
When i was entering the fastboot commands to flash the recovery to the phone i made a mistake i wrote :
fastboot flash boot recovery.img
instead of
fastboot flash boot recovery recovery.img
....
So my guess is that i have overwritten the boot.img of the phone with the custom recovery which is bad... now i can't use the phone...
Is there a way to flash the stock boot image back? of to restore the phone like it was brand new?
Thanks for you help

Reflash the both with the correct commands !!!
Fastboot flash recovery recovery.img
and
Fastboot flash boot boot.img

Mr Hofs said:
Reflash the both with the correct commands !!!
Fastboot flash recovery recovery.img
and
Fastboot flash boot boot.img
Click to expand...
Click to collapse
Yeah this is what i wanted to do but i couldn't find a boot.img. I did find it eventually. here it is in case anyone needs it

Straight, just saying.

The boot.img is always in the rom....Most roms contain the stock boot.img. or check my backup collection and download the stock rom. It has the stock boot.img inside

Thanks a lot.

Related

[Q] Problem with booting

Hi, here is the situation. I got one half-broken Desire.
Fully formatted, s-off,cwm 5.0.2.0 with broken volume up and down keys.
So, when I get into the bootloader I can't get into the recovery to flash zip.
Anyone has some rooted image with boot.img, system.img data.img so I can flash it via fastboot?
Thanks.
You can flash .zip ROM through fastboot : http://forum.xda-developers.com/wik...id#Android_Flashing_Guide_.28with_fastboot.29
I think you can also flash rom from Rom Manager
byglet said:
You can flash .zip ROM through fastboot : http://forum.xda-developers.com/wik...id#Android_Flashing_Guide_.28with_fastboot.29
I think you can also flash rom from Rom Manager
Click to expand...
Click to collapse
Thanks didn't know that... But pretty much useless since community roms don't contain android-info.txt file and some other related stuff.
However, I've figured out that after flashing boot.img via fastboot, it shows itself up in adb devices command so I managed to get into recovery by adb reboot recovery and flashed.

[Q] flash boot.img before every boot up

i have a problem with my boot up,
my phones has an bootloop, but i can start it up by booting up in bootloader and flash boot.img manually then it boots up 1 time, if i shut it down and restart it, it has a bootloop again so before every boot up i have to reflash the boot.img can anyone help me?
Are u sure that u typed :
Fastboot flash boot boot.img
MarcelHofs said:
Are u sure that u typed :
Fastboot flash boot boot.img
Click to expand...
Click to collapse
thx, that was the problem i only used the command: fastboot boot boot.img
I was already assuming that

4.4 Bootloader

Hi, tried to install a 4.4 ROM but it failed and then went downhill. Does anyone have the latest image file for the bootloader? Now I am soft bricked trying to go back to stock but all I can find are the old bootloaders and they do not work with the kitkat image file from google. Thanks for the help!
http://forum.xda-developers.com/showthread.php?t=2383146
See post#2
I flashed it from recovery.
hyperxguy said:
http://forum.xda-developers.com/showthread.php?t=2383146
See post#2
I flashed it from recovery.
Click to expand...
Click to collapse
Hi, thanks for that but I already have it. The thing is it's a .zip i need the .img and inside that zip there are multiple files i don't exactly know which one is the bootloader.
Thanks!
th3xeroeagle said:
Hi, tried to install a 4.4 ROM but it failed and then went downhill. Does anyone have the latest image file for the bootloader? Now I am soft bricked trying to go back to stock but all I can find are the old bootloaders and they do not work with the kitkat image file from google. Thanks for the help!
Click to expand...
Click to collapse
You can find many of the kernels/recoveries/bootloaders in the download section of this thread:
http://forum.xda-developers.com/showthread.php?t=2534698
The problem is it might not get you to where you want to be.
What exactly are you calling a "brick"?
If you have a bootloader issue, you won't even see the Google during boot. It is rare to be bricked in that way.
You are probably stuck on the X or bouncing balls animation.
You can get out of that by going to recovery and performing wipe data factory reset.
If you are stuck at "Google", then you need to reflash the factory image (you can choose the nowipe option and possibly keep your user data)
sfhub said:
You can find many of the kernels/recoveries/bootloaders in the download section of this thread:
http://forum.xda-developers.com/showthread.php?t=2534698
The problem is it might not get you to where you want to be.
What exactly are you calling a "brick"?
If you have a bootloader issue, you won't even see the Google during boot. It is rare to be bricked in that way.
You are probably stuck on the X or bouncing balls animation.
You can get out of that by going to recovery and performing wipe data factory reset.
If you are stuck at "Google", then you need to reflash the factory image (you can choose the nowipe option and possibly keep your user data)
Click to expand...
Click to collapse
hey, thanks for the reply. I'm trying to get my tablet to kitkat with the stock image from google. but I hear that with kitkat there is a new bootloader so I want to update that through fastboot (my device is recognized so I call it a soft boot) but the problem is when I erase the boot and reflash the boot.img and try to flash the new .img it doesn't load up. im using these commands
Code:
fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot flash boot
fastboot flash recovery
fastboot flash system
fastboot reboot-bootloader
my current bootloader version says FLO 4.01 not sure how to update it.
th3xeroeagle said:
hey, thanks for the reply. I'm trying to get my tablet to kitkat with the stock image from google. but I hear that with kitkat there is a new bootloader so I want to update that through fastboot (my device is recognized so I call it a soft boot) but the problem is when I erase the boot and reflash the boot.img and try to flash the new .img it doesn't load up. im using these commands
Code:
fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot flash boot
fastboot flash recovery
fastboot flash system
fastboot reboot-bootloader
my current bootloader version says FLO 4.01 not sure how to update it.
Click to expand...
Click to collapse
4.01 is the bootloader that came with kitkat.
you can't just say
fastboot flash boot
you need to say
fastboot flash boot boot.img
and have the boot.img in place.
I suggest you just follow the instructions in this post:
http://forum.xda-developers.com/showthread.php?p=47640458#post47640458
Use the nowipe option and you should be able to keep your user data unless you erased or messed it up earlier.
sfhub said:
4.01 is the bootloader that came with kitkat.
you can't just say
fastboot flash boot
you need to say
fastboot flash boot boot.img
and have the boot.img in place.
I suggest you just follow the instructions in this post:
http://forum.xda-developers.com/showthread.php?p=47640458#post47640458
Use the nowipe option and you should be able to keep your user data unless you erased or messed it up earlier.
Click to expand...
Click to collapse
AH! It was in the general section, I looked everywhere in the development sections. Thank you very much!

Flashing OTA failed. I need help to restore my phone.

Hi,
My phone is rooted and the DPI was customized. I tried to manually flash the OTA but the installation got stuck so I cannot boot into Android anymore. I tried those restore tutorials but when I try to flash using fastboot I get a "FAILED (remote: Permission denied). I tried to clear the cache in the recovery and then it got also stuck and now I can't access recovery.
This is what I can read in the bootloader
---------------------------
FASTBOOT MODE
PRODUCT_NAME - Z00A
VARIANT - ASUS_Z00A
HW_VERSION -
BOOTLOADER VERSION - unknown
IFWI - 0094.0177
SERIAL NUMBER - Xxxxx....
SIGNING - ?
SECURE_BOOT - ?
continue fastboot process
-----------------------------
I just been successful in installing TWRP recovery using the toolkit.
Edit: I installed the latest CM 13 build and it can't boot to Android. It goes straight to TWRP recovery no matter how I turn on the phone. My bootloader still looks the same.
Edit: I tried flashing a prerooted .img and stock recovery and I can go back to recovery but I still can't boot into Android or factory reset or nothing.... I'm desperate!
manlord said:
I just been successful in installing TWRP recovery using the toolkit.
Edit: I installed the latest CM 13 build and it can't boot to Android. It goes straight to TWRP recovery no matter how I turn on the phone. My bootloader still looks the same.
Edit: I tried flashing a prerooted .img and stock recovery and I can go back to recovery but I still can't boot into Android or factory reset or nothing.... I'm desperate!
Click to expand...
Click to collapse
You may need to flash boot.img and droidboot.img for the same version of rom you flashed, ie. if you flashed 139 then you must flash the recovery, boot and droidboot images for 139...
As you found the pre-root rom files, download the whole file and flash these image files too making sure you use the right commands or you will brick your phone...
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash fastboot droidboot.img
fastboot flash system system.img
Just remember, flashing these partitions can, potentially, brick your phone. You do this at your own risk...
Happy flashing....
ultramag69 said:
You may need to flash boot.img and droidboot.img for the same version of rom you flashed, ie. if you flashed 139 then you must flash the recovery, boot and droidboot images for 139...
As you found the pre-root rom files, download the whole file and flash these image files too making sure you use the right commands or you will brick your phone...
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash fastboot droidboot.img
fastboot flash system system.img
Just remember, flashing these partitions can, potentially, brick your phone. You do this at your own risk...
Happy flashing....
Click to expand...
Click to collapse
Thanks for your help. I did that earlier with the latest pre-rooted OTA and now it gets stuck on the splashscreen. I tried going to recovery (stock now) and doing a factory reset after flashing system.img and it still the splashscreen after I reboot. I know the 1st boot after flahing a ROM can be long, but now it's been an hour and I'm still on the splash screen...
The only other thing I can recommend is to flash a RAW rom image. As I have never needed to do this I can't say how this works but if you do a search you should find out the procedure...
This may relock your bootloader so just be aware....

Keeps rebooting into TWRP

Hey guys I think i have a problem
I was trying to flash v4a, and realized that I needed to downgrade twrp from RC2 to RC1. My phone had been rooted by SU.
I proceeded to do the flash and then flashed the v4a mod but now my phone can't get out of TWRP. When I click reboot, it boots into the recovery mode.
Any ideas on how to solve this? I cannot use my phone now
Use fastboot to flash stock boot on both slots
fastboot flash boot_a boot.img
fastboot flash boot_b boot.img
Fastboot boot twrp.img
Then flash twrp and all should be fine
mikaole said:
Use fastboot to flash stock boot on both slots
fastboot flash boot_a boot.img
fastboot flash boot_b boot.img
Fastboot boot twrp.img
Then flash twrp and all should be fine
Click to expand...
Click to collapse
Just wanted to chime in so people in the future can see that this worked, at least for me on my Pixel 2 XL.
hey, I tried this method to boot back into system but lost TWRP recovery... any way to install TWRP without flashing boot.img again? or which boot.img should I be flashing back to slot A and B.. i extracted the boot.img from factory images but i lose TWRP recovery

Categories

Resources