[Q] Flashing kernel via adb - HTC Desire S

I used the HTC website to Unlock the Bootloader (still S-ON though) on my 2.02.0002 Hboot Desire S.
I flashed Ext4 Recovery Touch via adb
Created Nandroid backup
Wiped everything
Flashed a custom Cyanogenmod 11, but phone wouldn't start (black screen)
Then I read that on S-ON devices, new custom Kernels have to be flashed. The creator of the ROM provided a Kernel zip file, but on extraction, there is no boot.img file which I can flash through adb
Posting here cause I can't post in the Developer forums.
Any help would be greatly appreciated Thanks

You don't need a custom kernel, you can extract the boot.img from the rom zip file

AliAbela said:
I used the HTC website to Unlock the Bootloader (still S-ON though) on my 2.02.0002 Hboot Desire S.
I flashed Ext4 Recovery Touch via adb
Created Nandroid backup
Wiped everything
Flashed a custom Cyanogenmod 11, but phone wouldn't start (black screen)
Then I read that on S-ON devices, new custom Kernels have to be flashed. The creator of the ROM provided a Kernel zip file, but on extraction, there is no boot.img file which I can flash through adb
Posting here cause I can't post in the Developer forums.
Any help would be greatly appreciated Thanks
Click to expand...
Click to collapse
With S-ON you need to extract boot.img form ROM zip and put it in same folder as fastboot and adb.Then connect your phone and in bootloader choose fastboot ( should be red fastboot usb ).
then open cmd in same folder and write
Code:
fastboot devices
if you get some devices there some numbers then you are connected.Now you go for flashing boot.img with
Code:
fastboot flash boot boot.img
it will say ok if it is good.
Then reboot and CM would boot. It will take some time to boot first time so wait...no more then 10min.
Read this about Fastboot and ADB Fastboot setup.
Everytime you flash new rom you need to do this.Even if you restore backup.BC your phone is S-ON.

Yeah, I learned this shortly after creating the thread.
This was my first time messing around with roots and custom ROMs.
Thanks anyway

Related

[SOLVED] Plz help: my phone can't boot now

Dear all, I need your help ASAP.
My phone (rooted) doesn't boot now, adb does not recognizes, fastboot still ok. And I don't know what to do.
Recently I rooted my Desire S and succeeded with the stock ROM. After a coupe of days I dicided to flash Endymion, from here: http://forum.xda-developers.com/showthread.php?t=1310845
I downloaded Endymion 3.1 into SD, then used Rom Manager to flash it. But then it was not be able to reboot (stucked on splash screen).
After that I rebooted into recovery (4EXT) and formated system, data, cache, boot and retried to install Endymion 3.1.
But then it became worse, now I can't use adb (always says: device not found), normal boots always stucks at splash screen (with green "HTC"). No hard button can be used, I need to reboot by take off the battery, then put it back on.
fastboot still seems working fine if I reboot to fastboot mode, but when I try "fastboot erase ...", I get "remote: not allowed". But other commands (fastboot flash...) still ok.
4EXT recovery is also still working.
Please help me to install some ROM at least. A lot of thanks.
Not quite sure, but could it be a faulty eMMC chip? Since you did mention you pulled out the battery.
http://forum.xda-developers.com/showthread.php?t=1314629
I did have a similar problem before myself.
So can you get into the boot loader? I'm assuming so since u got into fast boot. I would try flashing an update.zip through there, such as a stock from containing recovery.img,system.img...etc.
Sent from my HTC Desire HD using xda premium
Thank you for replies.
@microlah: I think my problem is not eMMC because I did not get those errors.
@stumpyz9: Before trying to flash Endymion 3.1, I made a backup of the rooted Sense 3.0 through Rom Manager -> a collection of *.img files.
I have tried to boot into fastboot, and executed these commands:
fastboot erase boot -> Error: remote not allowed
fastboot erase recovery -> Error: remote not allowed
fastboot flash system system.img -> OK
fastboot flash boot boot.img -> OK
fastboot flash userdata data.img -> OK
fastboot flash recovery recovery.img -> OK
but after this, the phone still does not boot normally.
Please tell me if I did something wrong or not. I dont know how to make update.zip from *.img files, and dont know where to get and choose the right stock rom for my phone.
d_t_kien said:
Dear all, I need your help ASAP.
My phone (rooted) doesn't boot now, adb does not recognizes, fastboot still ok. And I don't know what to do.
Recently I rooted my Desire S and succeeded with the stock ROM. After a coupe of days I dicided to flash Endymion, from here: http://forum.xda-developers.com/showthread.php?t=1310845
I downloaded Endymion 3.1 into SD, then used Rom Manager to flash it. But then it was not be able to reboot (stucked on splash screen).
Click to expand...
Click to collapse
Are you S-OFF or htcdev unlocked ? If you're still S-on you have to manually flash boot.img with fastboot to get Endymion or others custom roms working.
d_t_kien said:
Thank you for replies.
@microlah: I think my problem is not eMMC because I did not get those errors.
@stumpyz9: Before trying to flash Endymion 3.1, I made a backup of the rooted Sense 3.0 through Rom Manager -> a collection of *.img files.
I have tried to boot into fastboot, and executed these commands:
fastboot erase boot -> Error: remote not allowed
fastboot erase recovery -> Error: remote not allowed
fastboot flash system system.img -> OK
fastboot flash boot boot.img -> OK
fastboot flash userdata data.img -> OK
fastboot flash recovery recovery.img -> OK
but after this, the phone still does not boot normally.
Please tell me if I did something wrong or not. I dont know how to make update.zip from *.img files, and dont know where to get and choose the right stock rom for my phone.
Click to expand...
Click to collapse
No font flash the backup .imgs flash a whole update zip through the boot loader. Use a stock rom that contains a bunch of .imgs. reflashing the ones u already have won't help
Sent from my HTC Desire HD using xda premium
Are you on hboot 2.00.002? If yes, did you flash the boot.img from Endymion via fastboot??
Sent from my iPod touch using Tapatalk
I used htcdev to unlock, it's still S-ON and HBOOT 2.00.002.
I did not flash boot.img of Endymion. Can I do that with "fastboot flash..." ?
Does it matter if "fastboot erase boot" makes error? (as I posted above)
Could you give me instructions step-by-step what I need to do, thank you.
hi all,
i have some problem like a d_t_kien (i have htcdev unlock dev. and HBOOT 2.00.002, 4EXT Recovery).... so after flash ROM (i try Reaper V2.0 - CM7mod) device has freeze on white HTC screen....
Please help us... how correctly flash Endymion ROM via fastboost..
Thanks
For both of you, here's the procedure. First, flash the ROM normally. Then, enter fastboot mode and flash the boot.img that came in the ZIP of your ROM.
Reference - http://forum.xda-developers.com/showpost.php?p=19071114&postcount=37
thx for your answer, its my bad, because i dont use search button... so i finf solution in this thread: http://forum.xda-developers.com/showthread.php?t=1314629
thx again .)
shrome99 said:
For both of you, here's the procedure. First, flash the ROM normally. Then, enter fastboot mode and flash the boot.img that came in the ZIP of your ROM.
Reference - http://forum.xda-developers.com/showpost.php?p=19071114&postcount=37
Click to expand...
Click to collapse
Many thanks. That solved my problem.
Edmyrion works great now on my phone.
Glad i helped
Solved
Please marked this thread as solved. Thanks moderator.
d_t_kien said:
Please marked this thread as solved. Thanks moderator.
Click to expand...
Click to collapse
You'll have to do it yourself.... As OP, that's one of your privileges... Just go to the first post, select EDIT, then ADVANCED, and then you can edit the title of your thread and add "SOLVED" to the title.

[Q] htc one s stuck on cm9 bootloop

im not the most experience with rooting and roms but i have never had issues before with my glacier and pyramid, however this HtC one s is pissing me off...ive rooted custom recovery and all but while trying to flash ROM cm9 unofficial (which looks great) i have managed to F it up and am stuck on cm9 bootloop, tried everything dont know what im doing wrong no back ups either for what ever reason
" glacierguy
Yesterday, 11:43 PM
# 781
Originally Posted by mattmann95
cannot get it to boot. wait 5 mins, does not boot. I fastboot boot.img then wipe cache and dilvk cache then flash gapps and rom and it will not boot it takes forever! please help
"Fastboot flash boot boot.img" make sure u type boot twice.
Do factory reset/wipe data and wipe cache. Flash rom. Reboot into bootloader. Fastboot flash boot boot.img. reboot phone. Then reboot back into recovery to flash gapps. Should work "
so did you already flash the (right) boot.img via fastboot?
fipsib said:
so did you already flash the (right) boot.img via fastboot?
Click to expand...
Click to collapse
If you haven't, extract the boot.img file from the .zip and place it where you have adb/fastboot (Android SDK). Then boot into bootloader, go into Fastboot, plug phone in for "Fastboot USB" then type the following in command prompt and reboot.
fastboot flash boot boot.img
brwetz said:
If you haven't, extract the boot.img file from the .zip and place it where you have adb/fastboot (Android SDK). Then boot into bootloader, go into Fastboot, plug phone in for "Fastboot USB" then type the following in command prompt and reboot.
fastboot flash boot boot.img
Click to expand...
Click to collapse
ive tried all that boot.img from zip even another one with the download no luck just stuck on boot with that cm9 rom on loop thanks for your help though guys any other suggestions other then just shooting myself in the head??lol
Try flashing Paranoid/AOKP and then flashing back to CM9.
flash older cm9 rom?
this is my first attempt of any ROM for this phone starting with cm9 alpha 13 does anyone recomend maybe installing a older alpha?? maybe alpha 10 cm9?? idk
Try flashing the latest alpha 14. Maybe you got a bad download of alpha 13.
did you solve your problem?
if not & you're not quite shure about flashing the boot.img properly with fastboot I set up a Tutorial yesterday:
[Tutorial] How to flash a new boot.img via Fastboot
perhaps this might help you if the above one didn't fix your problems:
http://forum.xda-developers.com/showthread.php?t=1667929
I had the same problem. But this worked for me.
wipe all -> flash cm9 14 -> wipe all -> flash gapps -> wipe all -> fastboot flash boot boot.img ( i used the touchfix one ).
then i got in.. but took some time first load. But now i cant get wifi to work and cant see simcontacts. Drives me nuts.
Just reflashed all with no luck.

[Q] one xl stuck

Okay, I tried putting a new rom on my at&t one xl, and it did something horribly wrong. I was able to get to recovery and it told me I had no operating system, the I tried flashing a new rom again. At this point it restarted the phone got stuck at the splash screen and now I cant even get to recovery just the fast boot and boot loader. Any help would greatly appreciated.
You haven't given any of the vital information required to help you. Please provide the following:
hboot/firmware version
S-on or s-off
Recovery version
What ROM(s) you were trying to flash
What you have done to try to recover
Sent from my Evita
timmaaa said:
You haven't given any of the vital information required to help you. Please provide the following:
hboot/firmware version
S-on or s-off
Recovery version
What ROM(s) you were trying to flash
What you have done to try to recover
Sent from my Evita
Click to expand...
Click to collapse
hboot 1.14.002
s is off
cant remember recovery version since I can't access it
I had viper rom and I was going to cyanogen mod 10.1
and I thought I had a titanium backup but my whole sd card go deleted, so I mounted my sd card and got the rom again and flashed it and at that point I couldn't go back to recovery
Did you read the OP for cm10.1? It states in the requirements that you must RUU up to the latest (3.18) to run that ROM. In terms of your recovery, just flash it again from fastboot.
Sent from my Evita
timmaaa said:
Did you read the OP for cm10.1? It states in the requirements that you must RUU up to the latest (3.18) to run that ROM. In terms of your recovery, just flash it again from fastboot.
Sent from my Evita
Click to expand...
Click to collapse
I must of completely overseen that. and sir the only option I have on my boot is fast boot, recovery, factory reset, clear storage, simlock, image crc, and power down. I don't know how to even flash things at this point.
and only options I fast boot are bootloader, reboot, reboot boot loader and powerdown
That's all you need to RUU, it's an exe file that you just run while your phone is connected in fastboot mode. You'll need top flash your recovery again, then you can flash a ROM.
Download the RUU
Run the RUU
Download recovery
Flash recovery
Flash ROM
The fastboot command to flash the recovery is:
fastboot flash recovery "recovery.img"
(The exact recovery filename, without the talking marks)
fastboot erase cache
fastboot reboot-bootloader
Now you can enter recovery on your phone, mount usb storage, copy ROM to phone, flash ROM.
Sent from my Evita
Thanks guys. My kids an idiot and did this today to his phone (my old phone). He got the information from you guys and left it to me to fix when I got home.
timmaaa said:
That's all you need to RUU, it's an exe file that you just run while your phone is connected in fastboot mode. You'll need top flash your recovery again, then you can flash a ROM.
Download the RUU
Run the RUU
Download recovery
Flash recovery
Flash ROM
The fastboot command to flash the recovery is:
fastboot flash recovery "recovery.img"
(The exact recovery filename, without the talking marks)
fastboot erase cache
fastboot reboot-bootloader
Now you can enter recovery on your phone, mount usb storage, copy ROM to phone, flash ROM.
Sent from my Evita
Click to expand...
Click to collapse
Cool glad ur all set
Sent from my HTC One XL using xda premium

Cant boot into recovery or any other place but bootloader

Hi all,
I used some guides to unlock and root my phone which went successfully.
I tried to flash the CM 10.2.
First I tried to flash the boot.img, but I forgot to copy the zip file to the sdcard (yeah, I know, its pretty stupid).
Now the phone boot into bootloader only, not even recovery through bootloader.
cid: HTC__001
Tried to find the original RUU, but without success. I brought this phone from the states.
Any idea what can I do?
Thanks
zhify214 said:
Hi all,
I used some guides to unlock and root my phone which went successfully.
I tried to flash the CM 10.2.
First I tried to flash the boot.img, but I forgot to copy the zip file to the sdcard (yeah, I know, its pretty stupid).
Now the phone boot into bootloader only, not even recovery through bootloader.
cid: HTC__001
Tried to find the original RUU, but without success. I brought this phone from the states.
Any idea what can I do?
Thanks
Click to expand...
Click to collapse
You didn't mention if you flashed a custom recovery
fastboot flash recovery recovery.img (the recovery.img renamed or typing whateverrecovery.img, that you moved to the fastboot folder to flash)
then you can fastboot your boot img
fastboot flash boot boot.img
You will be able to mount usb storage when in recovery and can move a rom.zip and install

[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