[Q] how to flash boot.img from adb ?? - HTC Desire S

hi guys. i want to know how to flash boot.img from adb for dsire s with hboot 2.00.0002.
i unlock this device with htc site , and then root it and flash a custom rom from recovery. as you know now i must flash boot.img from the rom with adb.
how i do this ??
with witch command ???

Use fastboot ;-)
Root folder in cmd
-> cd c:/FolderWhereBoot.imgAndFastbootIs
-> fastboot flash boot.img

For more information about fastboot and using it thread is here
use the command for fastboot
contact me in that thread if something is wrong
http://forum.xda-developers.com/showthread.php?t=1590800

Related

[Q] Need root to return to stock?

Do you need to be rooted to return to stock using this method?
/fastboot flash boot boot.img
/fastboot flash system system.img
/fastboot flash recovery recovery.img
/fastboot flash userdata userdata.img
/fastboot erase cache
or can it be done on an unrooted zoom? (With CMW installed)
Thanks.
these commands need to be done with the files from motorola through command promp on your pc or laptop. If you nned a guide i habe one and a few other ppl that are and have maybe explained it better than me on here. Just got onto the dev thread and u can see a few there on the 1st page
This is my guide
P.s you dont need root!

Bricked phone on flashing wrong Kernel

I htcdev unlocked my phone with the all in one Htc one x program. It all worked fine but i accidentally flashed an htc one x kernel on my sensation! Ive seen people say to just install a new one but when i do that it says an error about the boot.img. Help please!! SON btw
Reatret said:
I htcdev unlocked my phone with the all in one Htc one x program. It all worked fine but i accidentally flashed an htc one x kernel on my sensation! Ive seen people say to just install a new one but when i do that it says an error about the boot.img. Help please!! SON btw
Click to expand...
Click to collapse
Download a ROM, extract its boot.img then use fastboot command:
fastboot flash boot boot.img
Oh and p.s dont use tools designed for other phones in future - why you needed one to htcdev unlock is beyond me though, the instructions are perfectly clear on the htcdev.com website
Jonny said:
Download a ROM, extract its boot.img then use fastboot command:
fastboot flash boot boot.img
Oh and p.s dont use tools designed for other phones in future - why you needed one to htcdev unlock is beyond me though, the instructions are perfectly clear on the htcdev.com website
Click to expand...
Click to collapse
Its a lot easier that way, I found. Anyways, could you pleaselink me to a stable working rom? I dont trust myself on finding one. and what do you mean by "use fastboot command: fastboot flash boot boot.img"
Reatret said:
Its a lot easier that way, I found. Anyways, could you pleaselink me to a stable working rom? I dont trust myself on finding one. and what do you mean by "use fastboot command: fastboot flash boot boot.img"
Click to expand...
Click to collapse
You need the adb/fastboot files to use the fastboot command, there is a link either in the "flashing ROM's with S-ON" guide or in the "Guide to S-OFF, custom recovery and SuperCID" thread - sorry, Im on my phone so cant link it.
Then put the files in C:\adb and open command prompt and type:
cd C:\adb
then press enter
Next you need to extract the boot.img from a Sense ROM zip file - any from the dev thread will do as long as its a Sense ROM - and place boot.img in the C:\adb folder then put phone into bootloader, connect to computer and select "fastboot USB" from the phones bootloader menu and then type the following command into command prompt:
fastboot flash boot boot.img
hit enter then type:
fastboot reboot
press enter and all done
Jonny said:
You need the adb/fastboot files to use the fastboot command, there is a link either in the "flashing ROM's with S-ON" guide or in the "Guide to S-OFF, custom recovery and SuperCID" thread - sorry, Im on my phone so cant link it.
Then put the files in C:\adb and open command prompt and type:
cd C:\adb
then press enter
Next you need to extract the boot.img from a Sense ROM zip file - any from the dev thread will do as long as its a Sense ROM - and place boot.img in the C:\adb folder then put phone into bootloader, connect to computer and select "fastboot USB" from the phones bootloader menu and then type the following command into command prompt:
fastboot flash boot boot.img
hit enter then type:
fastboot reboot
press enter and all done
Click to expand...
Click to collapse
Is there a way to get the adb/fastboot files on a bricked phone? :C
lefiese wilful
Jonny said:
You need the adb/fastboot files to use the fastboot command, there is a link either in the "flashing ROM's with S-ON" guide or in the "Guide to S-OFF, custom recovery and SuperCID" thread - sorry, Im on my phone so cant link it.
Then put the files in C:\adb and open command prompt and type:
cd C:\adb
then press enter
Next you need to extract the boot.img from a Sense ROM zip file - any from the dev thread will do as long as its a Sense ROM - and place boot.img in the C:\adb folder then put phone into bootloader, connect to computer and select "fastboot USB" from the phones bootloader menu and then type the following command into command prompt:
fastboot flash boot boot.img
hit enter then type:
fastboot reboot
press enter and all done
Click to expand...
Click to collapse
Oh nevermind! I got it down, I am downloading ViperS Rom, i understand all your instructions now!! I am very confident this will work, ill reply with results.
Jonny said:
You need the adb/fastboot files to use the fastboot command, there is a link either in the "flashing ROM's with S-ON" guide or in the "Guide to S-OFF, custom recovery and SuperCID" thread - sorry, Im on my phone so cant link it.
Then put the files in C:\adb and open command prompt and type:
cd C:\adb
then press enter
Next you need to extract the boot.img from a Sense ROM zip file - any from the dev thread will do as long as its a Sense ROM - and place boot.img in the C:\adb folder then put phone into bootloader, connect to computer and select "fastboot USB" from the phones bootloader menu and then type the following command into command prompt:
fastboot flash boot boot.img
hit enter then type:
fastboot reboot
press enter and all done
Click to expand...
Click to collapse
By the way, the exact error is 'assert failed: write_raw_image("/tmp/newboot.img","boot")'
Reatret said:
By the way, the exact error is 'assert failed: write_raw_image("/tmp/newboot.img","boot")'
Click to expand...
Click to collapse
Yep, because you are S-ON, the script cant write to the boot partition which is why the fastboot flash boot boot.img workaround is needed
Jonny said:
Yep, because you are S-ON, the script cant write to the boot partition which is why the fastboot flash boot boot.img workaround is needed
Click to expand...
Click to collapse
Do you know where the boot.img is located? I downloaded CoreDrod Sensation and cant seem to find it.
boot.img is located
try to explore or double click the ROM you download ROMname.rar boot.img must in the archive.
Reatret said:
Do you know where the boot.img is located? I downloaded CoreDrod Sensation and cant seem to find it.
Click to expand...
Click to collapse
I dont know where its located in every ROM, just a few. My Sense 3.6 ROM boot.img is located in Extras/Kernel/ but most are just in the root of the file - I do things a little different because of the way my customizations in Aroma Installer work

[S-ON] Root ..

I have UNLOCKED boatloader but S-On
i searched the whole forum to find a way to gain root without s-off , but I didn't find
I tried to flash CWM but it didn't work .. what should I do ???
http://forum.xda-developers.com/showthread.php?t=1452173to
This definitely works. Tested it myself.
Here is the link for recovery used to flash through fastboot: link
Extract recovery.img, put it in a folder where your fastboot tools are, connect your phone to pc in fastboot mode, open cmd, navigate to the folder where your recovery.img is and then execute this command: fastboot flash recovery recovery.img
After that, reboot into recovery and flash su-2.3.6.1-ef-signed.zip from the recovery (install from sd card option).
That's it.
Regards

Big problem with htc desire s ! Mayday !

Hi all,
My phone stucks on HTC logo. I can access to bootloader and fastboot. I've a CWM recovery.
I want reinstall stock rom 2.3.5 for my branded phone (Vodafone FR) . After a week of research of a ruu branded Vodafone FR 2.3.5, I founded nothing for a HBOOT 2.xx.xxxx .
So i understand that i need to downgrade HBOOT to 0.93.xxxx to install a ruu (a lot of ruu for 0.93.xxxx compatible with me)
I've drivers adb and fastboot . Fastboot work because i used it to install CWM recovery.
I found a lot of tutorials to downgrade HBOOT but they need adb comands ! They don't work on bootloader .
Can i use adb comands with bootloader (specials drivers) ? Or downgrade without these comands ?
I need help ! Thanks to all !
Bootloader infos :
S-ON
UNLOCKED
HBOOT 2.00.0002
if you flashed custom rom you need to flash boot.img from rom zip via fastboot
As the guy above me said, if fastboot is working for you, you only have to flash boot.img using:
fastboot flash boot boot.img (there are many guides on this forum, but basically get your phone into bootloader, you just open your rom *.zip and extract boot.img file from there, and you put it to folder where you have fastboot.exe, and execute that command)
Thank's !
To use adb commands, you must be on recovery .

[FLASHING ROM] S-ON devices

Flashing custom ROM on S-on device can be a little tricky. So, here i will teach how to flash custom ROM on S-on devices.
First download a supportable ROM.
Copy it on your phone.
Then on the PC , extract it and copy the boot.img in adb/fastboot directory.
And connect USB.
Then type following commands.
Code:
adb reboot bootloader
After your phone go into bootloader
Code:
fastboot devices
It must show your device.
Code:
fastboot flash boot boot.img
Wait until it's complete.
After that immediately go to Recovery (without a reboot) and flash the zip you copied earlier. Do some installation process.
Congratulation, u flashed custom ROM on your S-ON device.
Thanks dude it helps me a lot.

Categories

Resources