Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Flashing kernel via adb

OP AliAbela

3rd May 2014, 12:21 PM   |  #1  
OP Junior Member
Thanks Meter: 2
 
5 posts
Join Date:Joined: May 2013
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
4th May 2014, 03:28 PM   |  #2  
teadrinker's Avatar
Senior Member
Thanks Meter: 485
 
1,122 posts
Join Date:Joined: Jun 2012
More
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: [ View ]
4th May 2014, 03:43 PM   |  #3  
Member
Flag Mostar
Thanks Meter: 29
 
68 posts
Join Date:Joined: Feb 2014
More
Quote:
Originally Posted by AliAbela

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.
The Following User Says Thank You to SKENER For This Useful Post: [ View ]
4th May 2014, 04:08 PM   |  #4  
OP Junior Member
Thanks Meter: 2
 
5 posts
Join Date:Joined: 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
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes