When to flash new boot.img? - One (M7) Q&A, Help & Troubleshooting

so.. simple question but I'm not sure of the answer..
I unlocked my boot loader and flashed my HTC with cyanogenmod and the relevant boot.img that came with it. now I've reinstalled back to android revolution and the sense os to be able to properly back up my contacts and photos without requiring HTC sync manager...however when I went back to android revolution Rom.. I didn't 're flash my boot.img..
when is it actually necessary to flash a new boot.img when changing roms?
also.. could anyone clarify for me... I'm currently s-on so boot.img can only be flashed through fastboot correct?
and if I was s-off.. when I install a custom rom it'll auto install the boot.img yes?
thanks
Owen

bidaum92 said:
so.. simple question but I'm not sure of the answer..
I unlocked my boot loader and flashed my HTC with cyanogenmod and the relevant boot.img that came with it. now I've reinstalled back to android revolution and the sense os to be able to properly back up my contacts and photos without requiring HTC sync manager...however when I went back to android revolution Rom.. I didn't 're flash my boot.img..
when is it actually necessary to flash a new boot.img when changing roms?
also.. could anyone clarify for me... I'm currently s-on so boot.img can only be flashed through fastboot correct?
and if I was s-off.. when I install a custom rom it'll auto install the boot.img yes?
thanks
Owen
Click to expand...
Click to collapse
/boot isn't protected on the M7 so you don't have to flash the boot.img after flashing a rom, its flashed at the same time the rom is flashed from recovery. Won't hurt if you flash it again but its not necessary. If you want to manually flash the boot.img you can do it from fastboot or from twrp recovery. There is an option from twrp to flash .img files to your /boot or /recovery partitions. So yes you can flash boot and recovery from recovery. In both cases, S-OFF isn't required, unlike other HTC phones.

Related

Can't restore stock rom :S help!

I'm not too experienced in flashing roms so please have some patience with me.
I recently installed the ota update from htc and then unlocked the bootloader through the official htcdev site. I then flashed clockworkmod recovery through fastboot and flashed cm7 through CWM. I'm still running cm7 at the moment.
However, I am now not able to restore my phone back to the stock rom. I tried to restore the stock rom through a backup I did on nandroid in CWM. It went through all the steps and told me that the backup has been successfully restored. But after choosing the reboot phone option, the screen shows the white HTC screen, followed by a black screen for a couple of seconds, then the white HTC screen again, and then it finally brings me to CWM.
I'm not sure what I can do to restore my phone to stock rom. I went back to cm7 and tried to restore using ROM manager but it didn't work out too.
Help please!
Hboot 2.00
Radio 3822.10.08.28_M
(I'm not sure what other info might be needed so just let me know and i'll post it on here)
I have the same issue, I have a feeling about the cause but it is just a brainstrom. I could be wrong.
It might have something to do with ext4 vs ext3 file system. Custom roms usually format your phone in ext4 format while the stock rom only supports ext3
I would try and search a a format script that formats in ext3. (zip file format so you can flash it through clockwork or something)
fallenwout said:
I have the same issue, I have a feeling about the cause but it is just a brainstrom. I could be wrong.
It might have something to do with ext4 vs ext3 file system. Custom roms usually format your phone in ext4 format while the stock rom only supports ext3
I would try and search a a format script that formats in ext3. (zip file format so you can flash it through clockwork or something)
Click to expand...
Click to collapse
Awesome if you do manage to find it please post it
crunchyHTC said:
I'm not too experienced in flashing roms so please have some patience with me.
I recently installed the ota update from htc and then unlocked the bootloader through the official htcdev site. I then flashed clockworkmod recovery through fastboot and flashed cm7 through CWM. I'm still running cm7 at the moment.
However, I am now not able to restore my phone back to the stock rom. I tried to restore the stock rom through a backup I did on nandroid in CWM. It went through all the steps and told me that the backup has been successfully restored. But after choosing the reboot phone option, the screen shows the white HTC screen, followed by a black screen for a couple of seconds, then the white HTC screen again, and then it finally brings me to CWM.
I'm not sure what I can do to restore my phone to stock rom. I went back to cm7 and tried to restore using ROM manager but it didn't work out too.
Help please!
Hboot 2.00
Radio 3822.10.08.28_M
(I'm not sure what other info might be needed so just let me know and i'll post it on here)
Click to expand...
Click to collapse
fallenwout said:
I have the same issue, I have a feeling about the cause but it is just a brainstrom. I could be wrong.
It might have something to do with ext4 vs ext3 file system. Custom roms usually format your phone in ext4 format while the stock rom only supports ext3
I would try and search a a format script that formats in ext3. (zip file format so you can flash it through clockwork or something)
Click to expand...
Click to collapse
With the unlocked bootloader, when the device is in recovery mode, it cannot overwrite the boot.img partition. So when you flash a custom ROM in CWM, you must manually extract the boot.img file from the zip file and flash it manually in Fastboot mode using the command:
fastboot flash boot boot.img
In the case when you are attempting to restore a previous backup, the same is true, except in this case you would manually flash the boot.img from the CWM backup folder in Fastboot mode.
This should solve both of the situations you have encountered.
Okay that method worked a charm. Just flashed back the stock rom.
Thanks for much for that!
crunchyHTC said:
Okay that method worked a charm. Just flashed back the stock rom.
Thanks for much for that!
Click to expand...
Click to collapse
Weird, didnt work for me. Dit you manually flashed the boot.img extracted from the nandroid backup?
Yup. So i took the backup from my sd card and put the backup onto my computer. Then I used clockworkmod recovery to restore the backup, and then used fastboot on the computer to manually flash boot.img through usb.
Hope that helps
Cannot restore with the procedure.
I have been trying to restore stock rom but I'm unable to do it.
I flashed boot.img using command prompt.
Restored it via Clockworkmod recovery but after restoring when i reboot the phone, it again takes me to recovery mode.
What should I do?
Maybe it is because you have changed the backup name.. I heard that if you change the stock from backup name you will wreck the md5sum ...
___________________________
Device: HTC Incredible S
Bootloader: S-OFF - ENG
Rom: ARHD 2.2.0
Android for life!
NicOsol said:
Maybe it is because you have changed the backup name.. I heard that if you change the stock from backup name you will wreck the md5sum ...
___________________________
Device: HTC Incredible S
Bootloader: S-OFF - ENG
Rom: ARHD 2.2.0
Android for life!
Click to expand...
Click to collapse
No..I have not changed anything.
I even tried formatting it in ext3 using Touch recovery and then tried to back up..but it didn't work.
It just keeps on taking me to recovery mode when I reboot.
Why don't you guys get s-off? I'll post a link when I'm on my PC on how to do it. That way, you won't have to flash the boot.img each Time you install a new rom...
Sent from my HTC Incredible S using XDA
tpbklake said:
With the unlocked bootloader, when the device is in recovery mode, it cannot overwrite the boot.img partition. So when you flash a custom ROM in CWM, you must manually extract the boot.img file from the zip file and flash it manually in Fastboot mode using the command:
fastboot flash boot boot.img
In the case when you are attempting to restore a previous backup, the same is true, except in this case you would manually flash the boot.img from the CWM backup folder in Fastboot mode.
This should solve both of the situations you have encountered.
Click to expand...
Click to collapse
Hello, I tried with "fastboot flash boot boot.img" took the boot.img from the backup and then I did a restore but it always goes into recovery mode, what else can I do?

Uninstall ROM

Hello. I need help!! I want my htc sense 3.6 back on my phone but I am not sure how to uninstall MIUI ROM. In other words, I wanted what I had right after I rooted my phone, before I installed MIUI ROM. Anyone know how to do this? Thanks!
If you made a recovery file in the recovery then just install the file if not then relock the bootloader and run the Stock ruu file and then just re unlock root ect.
menachemt said:
Hello. I need help!! I want my htc sense 3.6 back on my phone but I am not sure how to uninstall MIUI ROM. In other words, I wanted what I had right after I rooted my phone, before I installed MIUI ROM. Anyone know how to do this? Thanks!
Click to expand...
Click to collapse
I imagine you would have rooted your phone, unlocked bootloader (maybe), and flashed a custom recovery (like clockworkmod or wcx). I don't think any of those things would have changed during your use of MIUI.
Easiest way? Relock your bootloader (if you had unlocked it), and then run the stock RUU for your phone to revert your phone to stock. Then you can unlock bootloader again and then root your stock rom (I believe there is the all-in-one tool that makes rooting quite easy).
Or... if you want to try another custom rom, download the rom zip, copy it on your SDCard, and....
1) Pull the battery, and re-insert
2) Boot phone by holding VOLDOWN and POWER. You are in bootloader. At this screen you can see if you are S-ON or S-OFF (good to know for the later steps)
3) Choose recovery
4) If you're in WCX recovery or ClockWorkMod recovery, then you can do the 4 wipes (Data/Cache/Dalvik/System). ** But if you see you are NOT in a custom recovery, stop now.
5) Then you can flash the custom rom zip.
6) *At this point - if you are S-OFF, then the rom's kernel would have flashed with the rom, so you're done.
*But if you're S-ON, you will now need to flash the rom's kernel manually via fastboot. (on your computer, just extract the boot.img from the rom's zip, put it in the same folder where your fastboot.exe is, and run
Code:
fastboot flash boot boot.img

Incredible S will NOT accept other rom

I am trying to get rid of the CM7.1 on my Incredible S. I have fastboot on my Ubuntu machine and all the android libraries necessary. I tried a lot of commands from fastboot a couple of days ago but nothing happened. Miui got stuck on boot screen, CM7.2 also did the same. I want to wipe my phone. Delete everything. I am sick of the CM7.1 it is old.
My bootloader says this:
***UNLOCKED***
VIVO .. S-ON
HBOOT-2.00.0000
RADIO-3822.10.08.28_M
I want a step by step way to wipe my phone and install the STOCK ROM (but keeping my root), and using Ubuntu. I have been through dozens of tutorials, my phone wont wipe.
OFFICIAL ROMS:
http://www.filefactory.com/f/e45d6fe3dcf51228/
question: which one do I download (which one is the latest) and why do they have 100mb + difference? thanks a lot!
I need your help before I smash the phone on the wall
Since you're s-on still and unlocked, have you flashed the boot.img from the roms are flashed? Its required after a new rom/kernel flash in order to get the rom booting.
Why do I have to flash the boot.img? I download the *.zip file and flash the whole zip file using ROM manager. That should be enough
alrosh7 said:
Why do I have to flash the boot.img? I download the *.zip file and flash the whole zip file using ROM manager. That should be enough
Click to expand...
Click to collapse
With s on you still have to fast boot flash boot.img to get the phone booting
Search how to do it, you probably did it when you flashed CM7
Sent from my Nexus 7
alrosh7 said:
Why do I have to flash the boot.img? I download the *.zip file and flash the whole zip file using ROM manager. That should be enough
Click to expand...
Click to collapse
With the unlocked bootloader, the boot partition only gets mounted as ReadOnly when in Recovery mode, thus when you flash a ROM in recovery mode, the boot.img file does not get written to your phone.
You manually have to flash the boot.img while in FASTBOOT USB mode using the command:
fastboot flash boot [boot.img file]
Also, you stated that you want to install a stock ROM but keep your root. Here are some things to keep in mind:
1. In order to flash an official HTC stock RUU, you must relock your bootloader. If you attempt to flash a RUU on an unlocked bootloader, you will get a 155 error.
2. Depending on which stock RUU you choose to flash, that particular bootloader may or may not be unlockable.
In the Development section there are several IncS stock, rooted ROMs that were built from official RUUs. I would recommend you give those a try. You may also want to look at mike1986's ARHD ROM which is based on the IncS ICS ROM.

[Q] HTC ONE Flashboot boot recovery (no flashing)

Hi all.
On my HTC one hboot 1.44.000, I can run i ADB
fastboot boot boot boot.img
To boot on a custom recovery image without actually flashing the image.
On newer HTC one hboot 1.55.000 this has been disabled.
Does anyone know of any workaround to this problem?
Its a bit of a pain to do the initial backup of the stock recovery, rom and boot when you have to overwrite the stock recovery to do so.
Can the stock recovery be backed up to an img file from the ADB prompt, with stock recovery still loaded somehow?
In fact its a classic CATCH 22
I know you can extract the stock recovery later on from a the latest OAT update, but it would just be a lot more simple, if all you what is root, to boot on the image without flashing, install the super user app, then restore all the needed HTC specific apps you lose when unlocking and then you are back to stock with root.
Does anyone know the exact location of the OAT from where you can extract the stock boot and recovery from firmware.zip, and is this OAT deleted after it has been run, or if its still available to grab later one?
Since the device is not rooted yet, its not possible to check the \cashe folder for the OAT file before you rooted it.
What if its not there? How will you find the original stock recovery that fits your current system, any new OAT may have a different one, that mayl not work.
Again a CATCH 22
Why does HTC support unlocking the bootloader, and then limits it use, not allowing to boot on a recovery without flashing it ?
requa3r0 said:
Hi all.
On my HTC one hboot 1.44.000, I can run i ADB
fastboot boot boot boot.img <---- you mean fastboot boot recovery.img ?
To boot on a custom recovery image without actually flashing the image.
On newer HTC one hboot 1.55.000 this has been disabled.
Does anyone know of any workaround to this problem?
Click to expand...
Click to collapse
Afaik this is no longer possible to use remote recovery booting, htc disabled it.
requa3r0 said:
How will you find the original stock recovery that fits your current system, any new OAT may have a different one, that mayl
Click to expand...
Click to collapse
There is many stock recoveries uploaded here if you can't find yours, then just request it and someone will probably upload it.

[Q] Verizon HTC One Reboot Loop

Hello all, I have a Verizon m7 in which I foolishly tried to install a custom kernel (ElementalX) on the stock rom. I can boot into CWM, so should I use the sideload utility to flash a rom like Cyanogenmod? I'd appreciate any help you may have. If you want, I can post other details about my phone as well.
afang said:
Hello all, I have a Verizon m7 in which I foolishly tried to install a custom kernel (ElementalX) on the stock rom. I can boot into CWM, so should I use the sideload utility to flash a rom like Cyanogenmod? I'd appreciate any help you may have. If you want, I can post other details about my phone as well.
Click to expand...
Click to collapse
you can just reflash the stock kernel... extract it from the ROM.ZIP which is Verizon compatible, and:
fastboot flash boot boot.img

Categories

Resources