Fastboot boot img - HTC One S

Hello all. Im new to this particular forum. I own a Galaxy Nexus, but I am unlocking/rooting my buddies One S for him. I have gone through the loops already; unlocked the bootloader, rooted, and installed custom recovery (CWM) with no issues. I was pleasantly surprised to find out that it was a snap compared to his previous HTC Legend. Nightmare.
Anyway, forgive me if this has in fact been answered as I have been searching. After a custom ROM is flashed you still have to flash a boot img via fastboot? I attempted to install CM10 yesterday and get stuck at the HTC boot screen?? Luckily I made a nandroid of the stock ROM and easily reverted. Where do I find the appropriate boot img? Is it just the img that is found in the unpacked ROM? Couldn't find anything pertaining to this in the ROM write up. I know with my Nexus you flash the ROM via recovery and that is it. Strange that you need to also flash the boot img following the ROM flash.
Any help is appreciated.

brunswick000 said:
Hello all. Im new to this particular forum. I own a Galaxy Nexus, but I am unlocking/rooting my buddies One S for him. I have gone through the loops already; unlocked the bootloader, rooted, and installed custom recovery (CWM) with no issues. I was pleasantly surprised to find out that it was a snap compared to his previous HTC Legend. Nightmare.
Anyway, forgive me if this has in fact been answered as I have been searching. After a custom ROM is flashed you still have to flash a boot img via fastboot? I attempted to install CM10 yesterday and get stuck at the HTC boot screen?? Luckily I made a nandroid of the stock ROM and easily reverted. Where do I find the appropriate boot img? Is it just the img that is found in the unpacked ROM? Couldn't find anything pertaining to this in the ROM write up. I know with my Nexus you flash the ROM via recovery and that is it. Strange that you need to also flash the boot img following the ROM flash.
Any help is appreciated.
Click to expand...
Click to collapse
Hello there, since you installed cwm recovery, you have to flash the boot.img via fastboot, if you have the twrp recovery you may not need to flash it via fastboot, it does it for you if you have an hboot under 1.14 but if its over that hboot your going to have to flash the boot.img for any Rom via fastboot. It still wouldn't hurt to flash the boot.img via fastboot but that's just me, well I hope I helped you and if I did then good, and if you wanna know more just ask...
If I helped then just press the thanks button
Sent from my One S

leohdz148 said:
Hello there, since you installed cwm recovery, you have to flash the boot.img via fastboot, if you have the twrp recovery you may not need to flash it via fastboot, it does it for you if you have an hboot under 1.14 but if its over that hboot your going to have to flash the boot.img for any Rom via fastboot. It still wouldn't hurt to flash the boot.img via fastboot but that's just me, well I hope I helped you and if I did then good, and if you wanna know more just ask...
If I helped then just press the thanks button
Sent from my One S
Click to expand...
Click to collapse
Got it to work. Thank you. :good:

brunswick000 said:
Got it to work. Thank you. :good:
Click to expand...
Click to collapse
Hi,
I was using CM10 and now I want to revert back to my previously used stock ROM. However after restoring I'm still unable to boot (I'm using ClockworkMod Touch). Do I need to flash the stock boot.img too? Where I can find it?
Thanks in advance!

TnTonly said:
Hi,
I was using CM10 and now I want to revert back to my previously used stock ROM. However after restoring I'm still unable to boot (I'm using ClockworkMod Touch). Do I need to flash the stock boot.img too? Where I can find it?
Thanks in advance!
Click to expand...
Click to collapse
Its in the rom.zip just extract it. Also look for Flash Image Gui in apps section as enables you too flash a boot.img direct from your phone whilst booted in a rom and will even extract the files for you from the new rom.zip!
Edit: Link to Flash Image Gui - http://forum.xda-developers.com/showthread.php?t=1954121

shadowch31 said:
Its in the rom.zip just extract it. Also look for Flash Image Gui in apps section as enables you too flash a boot.img direct from your phone whilst booted in a rom and will even extract the files for you from the new rom.zip!
Edit: Link to Flash Image Gui - http://forum.xda-developers.com/showthread.php?t=1954121
Click to expand...
Click to collapse
I can't find the zip file for stock HTC ROM
Anyway, I found the boot.img in the nandroid backup folder and it's all good now.
Thank you for the link! ^_^

I would also switch to TWRP. Seems to have less issues, if any, for most folks
Get it thru Goo Manager from PlayStore--

Related

Xoom bricked

Hi there everyone,
I have a huge problem. Last night i bricked my xoom. I was following a tutorial on this forum. and after unlocking the bootloader it told to flash a file called boot.img after doing so and typing fastboot reboot, the device wouldnt start behind the motorola logo. i tried allot of thing and also did flash some other stock android 4.0.4 boot.img files now with the last one mentioned i managed to get the xoom (wifi) to boot a little further. because the ripple movie with the motorola logo is shown. but it stucks at that movie.
Does anyone know if i can flash an image on the xoom that will atleast fix the problem of not rebooting so i can try another tutorial.
I have searched the internet for solutions, many of them linked to threads on this forum. but almost all download links in these tutorials are old and broken.
Can someone please help me unbrick my device? And maybe a link to a good working unroot tutorial for my xoom wifi with android 4.0.4.
Try get back to Stock.
Download from HERE
and do some OTA updates afterwards so everything will be up to date.
Then wipe and try again from scratch..
Worked for me perfectly just a few days ago.
If you can still get into fastboot, then its not bricked.
Get some stock images and flash them via fastboot and you'll be fine.
Cubanluke88 said:
If you can still get into fastboot, then its not bricked.
Get some stock images and flash them via fastboot and you'll be fine.
Click to expand...
Click to collapse
Indeed it worked. i downloaded the official images and flashed them im on android 3.0.1 again and all seems to work just fine now.
Next problem is i cant find a descent tutorial on this forum how to root the xoom. all download links are either removed due to copyright issues or the links are just broken.
How does it work actually?
1. I unlocked the boot loader wich is very easy.
but then? Do i need to flash a rooted image over the existing? i dont really understand how this works. I rooted my Desire HD with a good tutorial in minutes. Not many people seems to really know how to root the Xoom.
Also i would like to know if the different tutorials are for different android versions or can i aply all tutorials of rooting when i stay on android 3.0.1?
I also tried to flash a recovery.img to the recovery partition and press volume down 3 seconds after the moto logo apears but when i do i get an android robot with a big " ! " on his belly and it takes 5 minutes to load the menu. when im in it tells me there is no sdcard present when i try to flash a rooted rom (zip file).
Is there someone reading this thats willin to explain to me how to do a root the easiest way? Please if links are posted be sure everything on that thread is working. Im pretty sure i will pull it off with some push in the right direction.
Thank you!
(edit) omg im stupid, offcourse the sdcard wont work... it never worked at 3.0.1. on the xoom. can i follow this tutorial:
http://rootzwiki.com/topic/451-how-to-root-the-wifi-only-xoom-301/
Could someone read over it and see if this is a good tutorial? last time i flashed a boot.img the whole xoom got stuck... is that because i had the wrong boot.img on the wrong android version? or should boot.img always work?
Do you plan on flashing to a custom rom after rooting? If so, you can just skip rooting altogether.
I say this because I'm not particularly familiar with that rooting method you linked (though reading through it, it makes sense, all its doing is pushing the necessary files for root access to the xoom via adb). I used a rooting script flashed through a custom recovery over a year ago - unfortunately the download link seems to be broken (I might have a copy at home).
So there's a few things you can do:
1. If you just want a custom rom - download the rom zip file and store on your device. Flash TWRP (my preferred recovery) in fastboot. Boot into TWRP and flash the rom zip file.
2. If you want stock OS root access -
a) Follow those steps you linked and see what happens. If things go wrong, you should be able to just flash those stock images again.
b) Wait for me to get home and see if I have the root script. You'll need to flash a custom recovery though in order to use it.
Cubanluke88 said:
Do you plan on flashing to a custom rom after rooting? If so, you can just skip rooting altogether.
I say this because I'm not particularly familiar with that rooting method you linked (though reading through it, it makes sense, all its doing is pushing the necessary files for root access to the xoom via adb). I used a rooting script flashed through a custom recovery over a year ago - unfortunately the download link seems to be broken (I might have a copy at home).
So there's a few things you can do:
1. If you just want a custom rom - download the rom zip file and store on your device. Flash TWRP (my preferred recovery) in fastboot. Boot into TWRP and flash the rom zip file.
2. If you want stock OS root access -
a) Follow those steps you linked and see what happens. If things go wrong, you should be able to just flash those stock images again.
b) Wait for me to get home and see if I have the root script. You'll need to flash a custom recovery though in order to use it.
Click to expand...
Click to collapse
Ok thanks for your answer. Ill try to unroot with that method flashing directly to the recovery.img i also know now what i did wrong. i flashed the recovery.img not to the recovery partition but to the boot partition LOL. thats why the xoom didnt boot anymore
I see allot about Nightlies Eos, 4.1.1. is that a good rom? Does it look like the stock version?
eos 4.1.1 is simply awesome and its also pre rooted' so your bootloader is unlocked, all you gotta do now is install twrp recovery via fastboot ( my preffered recovery) then flash eos via recovery
Sent from my Xoom using XDA Premium App
sygys said:
Ok thanks for your answer. Ill try to unroot with that method flashing directly to the recovery.img i also know now what i did wrong. i flashed the recovery.img not to the recovery partition but to the boot partition LOL. thats why the xoom didnt boot anymore
I see allot about Nightlies Eos, 4.1.1. is that a good rom? Does it look like the stock version?
Click to expand...
Click to collapse
EOS is a pretty AOSP rom. No theme, though you can apply one if you like and change a few colors. There are various toggle additions you can add that make the user experience much better. It also comes with an overclockable kernel and is very very stable (despite being a nightly) The team has been supporting the Xoom for over a year and is very committed to the Xoom.
---------- Post added at 01:15 PM ---------- Previous post was at 01:11 PM ----------
sygys said:
Ok thanks for your answer. Ill try to unroot with that method flashing directly to the recovery.img i also know now what i did wrong. i flashed the recovery.img not to the recovery partition but to the boot partition LOL. thats why the xoom didnt boot anymore
I see allot about Nightlies Eos, 4.1.1. is that a good rom? Does it look like the stock version?
Click to expand...
Click to collapse
As for flashing, just gotta make sure your text is good before hitting the enter key. Recovery flash should look something like this:
fastboot flash recovery recovery.img
Click to expand...
Click to collapse
Some instructions for flashing can be found here
While that page is specifically for locking and flashing to return to stock, the commands are universal for fastboot. Hell, if you wanted to, you could manually restore a nandroid backup via fastboot and flashing images.

US Tmobile One S failed RUU

After unlock, root install recovery, by following
http://www.htconeforum.com/forum/htc-one-s-hacks/385-how-unlock-root-htc-one-s.html
then I put miui.2.8.24 from official website:
http://www.miui.com/extra.php?mod=download/rom&fid=160
after reboot, install miui, then reboot, the screen stays on the boot picture of miui, never changes, I guess that failed, and too bad, I didn't notice there is back up function in recovery, so I didn't notice,
what I have is: fast boot still talks to the phone, but seems can't mount the phone as a drive, so I can't load other ROMs to try it out.
then I try to follow this one:
http://www.htconeforum.com/forum/ht...c-one-s-back-100-stock-relocked.html#post2817
to restore the stock rom, there was any luck, after long time trying, RUU just failed. what should I do now?
I already relock it, can I still unlock it? if so, is there anywhere I can find stock img, and use fast boot to flash the stock img? is that possible?
Thanks.
Did you fastboot the boot.img of say ROM you're flashing?
If using CWM you need to fastboot the boot.img, just extract the boot.img from the ROM
Using fastboot
Code:
fastboot flash boot boot.img
baseballfanz said:
Did you fastboot the boot.img of say ROM you're flashing?
If using CWM you need to fastboot the boot.img, just extract the boot.img from the ROM
Using fastboot
Code:
fastboot flash boot boot.img
Click to expand...
Click to collapse
first of all, thanks for reply,
no, but i did try to flash another boot.img, and wasn't any luck, so each rom has its own boot.img?
Ummm.......Yeah. It should be in the zip of rom you flashed.
T-MobileUS HTC One S running Stock Rooted 2.21.
fmedrano1977 said:
Ummm.......Yeah. It should be in the zip of rom you flashed.
T-MobileUS HTC One S running Stock Rooted 2.21.
Click to expand...
Click to collapse
thanks, I will try it tonight. by the way, after you rooted, you get better battery performance while running stock rom?

[Q] Htc one s telus RUU?

I made the mistake of running a cm10 rom on my htc one s that didnt work on i so now i can only access TWRP and my phones bootloader from my One S so I'm trying to find my phone's stock RUU but there are so many out there! Can anyone tell me how to find one? Or another way to get into my phone using another ROM? My phone is rooted with Twrp recovery, Unlocked bootloader obviously and S-on. All my phone does is show the htc bootscreen and then go black but I can still enter bootloader and the TWRP menu and I can connect it to my computer fine. Any help would be VERY greatly appreciated!
IsaacDroid said:
I made the mistake of running a cm10 rom on my htc one s that didnt work on i so now i can only access TWRP and my phones bootloader from my One S so I'm trying to find my phone's stock RUU but there are so many out there! Can anyone tell me how to find one? Or another way to get into my phone using another ROM? My phone is rooted with Twrp recovery, Unlocked bootloader obviously and S-on. All my phone does is show the htc bootscreen and then go black but I can still enter bootloader and the TWRP menu and I can connect it to my computer fine. Any help would be VERY greatly appreciated!
Click to expand...
Click to collapse
Don't give up. I had the same issue with my telus One S. I think I fixed it by falshing boot image separately and after flashing CM10. I believe this happens if the phone is rooted but is in S-ON mode, whatever that means. I remember it really gave me a hard time and as I was going to give up i flashed the boot image and it worked. You have to do it through a command window on your PC. There should be an all-in-one tool in this forum somewhere to simplify the steps a bit. Good luck!
Thanks!
new_convert said:
Don't give up. I had the same issue with my telus One S. I think I fixed it by falshing boot image separately and after flashing CM10. I believe this happens if the phone is rooted but is in S-ON mode, whatever that means. I remember it really gave me a hard time and as I was going to give up i flashed the boot image and it worked. You have to do it through a command window on your PC. There should be an all-in-one tool in this forum somewhere to simplify the steps a bit. Good luck!
Click to expand...
Click to collapse
Thank you very much! Could you tell me what boot image you flashed and maybe how to get it and also how you flashed it? Thank you so much for the response!
IsaacDroid said:
Thank you very much! Could you tell me what boot image you flashed and maybe how to get it and also how you flashed it? Thank you so much for the response!
Click to expand...
Click to collapse
It is in the zip file that you download to flash, i.e. your new ROM. So when you download CM10, open the zip file. BOOT.IMG will be there. Extract it and flash it to your phone. I believe everything was in One_S_All-In-One_Kit_v3.4. Look it up in the forum and it has all the tools you need. I admit that it was a pain and nothing was straight forward. I always root my android devices and install new ROMs. But HTC One S was particularly tricky.
Good luck!
Hello there! Fellow HTC One S user here! Don't give up on CM10! It's way better than stock on your one S! What you need to remember is that HBoot versions higher than 1.09 can't flash the boot while installing the rom, so you need to do that after flashing a rom! The boot for your version is going to be included in the rom's zip file. Look for the boot.img file located in the zip file's root. Every rom should have this. Place this boot.img file in the kernel folder of the One S all in one kit and flash it. You should be good to after that!
Don't hesitate to ask for more help if needed!
Simon
seoman81 said:
Hello there! Fellow HTC One S user here! Don't give up on CM10! It's way better than stock on your one S! What you need to remember is that HBoot versions higher than 1.09 can't flash the boot while installing the rom, so you need to do that after flashing a rom! The boot for your version is going to be included in the rom's zip file. Look for the boot.img file located in the zip file's root. Every rom should have this. Place this boot.img file in the kernel folder of the One S all in one kit and flash it. You should be good to after that!
Don't hesitate to ask for more help if needed!
Simon
Click to expand...
Click to collapse
When I try to flash a ROM through fastboot it sends it fine but then it says: FAILED (remote: not allowed), and I tried pushing the ROM with adb but when I tried to put it on the sdcard, it said permission denied, do you know why? I am S-ON, would that be a problem? Thanks!

[Q] boot.img

Hey guys!
I´m trying to get the hang of flashing on my HTC One S. From the beginning I just wanted to get a good deodexed ROM with Sense, but after trying 4.2.2 on a Galaxy S2 I would really like to have it on my One S.
Here´s my question...
I have found some great ROMs that I want to try. I have TWRP 2.3.3.0 and I´m S-on. I know that I have to fastboot the boot.img before flashing any ROM. But is the boot.img the one inside every specific custom ROM (the .zip) or what? Do I extract it from the specific ROM (the .zip) or do I go about it any other way?
I have asked this in one specific thread but no answer. This is really Everything I need to know Before I start flashing... I feel I´m rather comfortable with all other info I have...
Thanx in advance!
Well, if there is no mention of a seperate boot.img in the OP, flash the One inside zip file
If you're stuck in a bootloop, choose the appropriate kernels from kernel threads
So I was right? I extract the boot.img from the rom.zip if nothing else is mentioned in the OT? Then I flash it through fastboot?
HTC One S via Tapatalk 2
Manneman32 said:
So I was right? I extract the boot.img from the rom.zip if nothing else is mentioned in the OT? Then I flash it through fastboot?
HTC One S via Tapatalk 2
Click to expand...
Click to collapse
yes
but if your gettin bootloops try kernels from kernel thread
Manneman32 said:
Hey guys!
I´m trying to get the hang of flashing on my HTC One S. From the beginning I just wanted to get a good deodexed ROM with Sense, but after trying 4.2.2 on a Galaxy S2 I would really like to have it on my One S.
Here´s my question...
I have found some great ROMs that I want to try. I have TWRP 2.3.3.0 and I´m S-on. I know that I have to fastboot the boot.img before flashing any ROM. But is the boot.img the one inside every specific custom ROM (the .zip) or what? Do I extract it from the specific ROM (the .zip) or do I go about it any other way?
I have asked this in one specific thread but no answer. This is really Everything I need to know Before I start flashing... I feel I´m rather comfortable with all other info I have...
Thanx in advance!
Click to expand...
Click to collapse
Hi !
Just download from playmarket this app " flash Image gui" , with this app you can easy extract kernel, and modules from your preferred rom, and flash them. All this app does automatically, just choose your zip file.
But you can choose another kernel, and flash it over , I.e. bubba vn 4 on Liquid, or Holo black bean.
Just download kernel from dev. tread and flash with "flash image gui" all this is for a few minutes.
As long as I have a Nandroid backup I can use AllInOne tool to flash stock kernel, recovery and my backup, right?
The Kernel-thread you mention... I actually can´t find it. Or am I missing something.
Can I ask Another question? If I want to flash another Radio with S-on... can I do that while in TWRP recovery? I have seen this: http://forum.xda-developers.com/showthread.php?t=1684477&highlight=flash+radion
I already have openrecovery-twrp-2.3.3.0-ville.img flashed on my phone... so as I understand I can just flash the radion from TWRP-recovery?
Manneman32 said:
As long as I have a Nandroid backup I can use AllInOne tool to flash stock kernel, recovery and my backup, right?
The Kernel-thread you mention... I actually can´t find it. Or am I missing something.
Can I ask Another question? If I want to flash another Radio with S-on... can I do that while in TWRP recovery? I have seen this: http://forum.xda-developers.com/showthread.php?t=1684477&highlight=flash+radion
I already have openrecovery-twrp-2.3.3.0-ville.img flashed on my phone... so as I understand I can just flash the radion from TWRP-recovery?
Click to expand...
Click to collapse
http://xda-developers.com/showthread.php?t=2134535
Here is the tread from "RMBQ"
And, I think you can flash with all in one tool, but I have no experience with.
About S-OFF , please read tread in development section.
Thanx guys for all the help!
All went well and now I have 4.2.2 on my HTC One S... sweet!

Modified Boot Image Android L (5.0.0_LRX21P)

Guys, use this modified boot image to flash the newest Android L (5.0.0_LRX21P)
Flash in Bootloader (this is not a flashable zip)!!!!
Flash the stock root able rom, here available on xda.
Don't worry it's for our FLO device, just a name. Sorry, i was in a hurry.
Have fun
Jerome-X said:
Guys, use this modified boot image to flash the newest Android L (5.0.0_LRX21P)
Flash in Bootloader (this is not a flashable zip)!!!!
Flash the stock root able rom, here available on xda.
Don't worry it's for our FLO device, just a name. Sorry, i was in a hurry.
Have fun
Click to expand...
Click to collapse
Whats modified about it?
use this, if you want to flash the stock rooted rom via twrp etc...
if you use the stock one, your bootloader is locked after flash the stock rom
Jerome-X said:
use this, if you want to flash the stock rooted rom via twrp etc...
if you use the stock one, your bootloader is locked after flash the stock rom
Click to expand...
Click to collapse
Incorrect mate, it's still unlocked after flashing factory images. I flashed factory files yesterday and I only lost root and recovery which I expected to happen.
topgeardave said:
Incorrect mate, it's still unlocked after flashing factory images. I flashed factory files yesterday and I only lost root and recovery which I expected to happen.
Click to expand...
Click to collapse
Correct!
Op tell me exactly what you did here? Your talking about one thing but saying another. I dont get it
scrosler said:
Correct!
Op tell me exactly what you did here? Your talking about one thing but saying another. I dont get it
Click to expand...
Click to collapse
It's just the latest bootloader.img, he thinks if you flash it separately you won't lock your bootloader before flashing the stock rom via recovery.
To my knowledge, nothing locks the bootloader, except you (via fastboot or a toolkit).
So i can install the stock image i downloaded from google and still keep root? What about recovery?
Sorry for noob question, i've only used custom ROMs in the past.
If you flash the stock L image with fastboot, you lose root and recovery but your boot loader stays locked/unlocked (whatever it was before).
To get recovery back, just flash it with fastboot.
To get root back, flash the boot image from the OP or a modified kernel like ElementalX and then flash SuperSU.
Done.
Sent from my LG-D801
Thanks for the answer.

Categories

Resources