Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,778,311 Members 48,872 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Flashing kernel via adb

Tip us?
 
AliAbela
Old
#1  
Junior Member - OP
Thanks Meter 1
Posts: 5
Join Date: May 2013
Default [Q] Flashing kernel via adb

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
 
teadrinker
Old
#2  
teadrinker's Avatar
Senior Member
Thanks Meter 485
Posts: 1,122
Join Date: Jun 2012
You don't need a custom kernel, you can extract the boot.img from the rom zip file
The Following User Says Thank You to teadrinker For This Useful Post: [ Click to Expand ]
 
SKENER
Old
#3  
Member
Thanks Meter 28
Posts: 68
Join Date: Feb 2014
Location: Mostar
Quote:
Originally Posted by AliAbela View Post
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

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.
HTC Desire S SAGA PVT SHIP S-OFF RL (via Revolutionary)
Rom: Unofficial "Nightly" CM11.0 - 4.4.4_r1 [20140622] for Saga by devil-kin
Hboot: 7.00.1002
Radio: 20.76.30.0835U_3831.19.00.110
Recovery: 4EXT Recovery Touch v1.0.0.6 RC1
CID: VODA102
The Following User Says Thank You to SKENER For This Useful Post: [ Click to Expand ]
 
AliAbela
Old
#4  
Junior Member - OP
Thanks Meter 1
Posts: 5
Join Date: May 2013
Yeah, I learned this shortly after creating the thread.

This was my first time messing around with roots and custom ROMs.

Thanks anyway
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes