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] Do I need to flash boot.img via fastboot?

OP noam_el

1st July 2014, 10:51 AM   |  #1  
OP Member
Thanks Meter: 16
 
30 posts
Join Date:Joined: Dec 2010
More
I've been using the HTC Desire HD for a long time, and I was wondering if things I've learnt with that phone are still relevant.

With the DHD, if the phone was S-ON (but with an unlocked bootloader and a custom recovery), whenever flashing a new ROM it was necessary to extract the boot.img file from the zip and flash it manually by using: fastboot flash boot boot.img.
That was because a custom recovery couldn't flash a custom kernel while the device was S-ON.

Is that also the case with an M8 device that stays S-ON?
Or is a custom recovery now able to write any custom kernel regardless of being S-ON/S-OFF?

Thanks!
Last edited by noam_el; 1st July 2014 at 11:11 AM.
1st July 2014, 11:07 AM   |  #2  
Recognized Contributor / Themer
Thanks Meter: 8,846
 
14,376 posts
Join Date:Joined: Sep 2011
Donate to Me
Indeed

s-on = Flash kernel via fastboot
s-off = kernel is flashed via rom/recovery

The Following User Says Thank You to Mr Hofs For This Useful Post: [ View ]
1st July 2014, 11:12 AM   |  #3  
OP Member
Thanks Meter: 16
 
30 posts
Join Date:Joined: Dec 2010
More
Thank you for the quick reply!
21st November 2014, 07:16 AM   |  #4  
Member
Thanks Meter: 9
 
91 posts
Join Date:Joined: Oct 2014
quick question..if what you say is true..if s on flash kernal in fastboot..if s off just flash normally threw recovery...why in captins thread with his GPE rom..says s off users must flash boot.img in fastboot?...i was about to try his rom ,before i got to that part..i am s off and ive never had to flash a boot.img threw fastboot before flashing the rom....next question..do i need to unpack the rom zip ,extract the boot.img flash it in fastboot..then repack the zip and flash again in recovery?ive never had to do this..i thought i would see a boot.img zip as a seperate download wouldve been lot easier...ive never unpacked a zip to extract a boot.img before...so i had to back out for now..can someone plz give me step by step directions how to flash captins GPE rom..really appreciate it..and i know im in the correct section to ask such a newbie question..thanks in advance
Post Reply Subscribe to Thread

Tags
boot, boot.img, fastboot, flash, s-on
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes