Post Reply

[Q] How to check if the kernel is flashed

12th June 2014, 08:52 PM   |  #1  
OP Junior Member
Thanks Meter: 4
 
21 posts
Join Date:Joined: May 2012
Hi,

Since CM is now stable enough to use on a HTC One S I'd like to start using it finally. I'd like to keep things as clean and simple as possible, so it's HTCdev unlock for me. There is, however, one issue not clear to me and I'd like to be prepared on that one first.

The CM HTC One S instructions, as well as other guides, mention that at least pre-2013 One S devices will need the kernel to be flashed manually. My device might just fall into that category as well.

How does one check, either beforehand or after flashing CM, if the kernel still needs to be flashed manually?
The only way I found was to actually boot into CM, which might not even happen when it failed to flash it automatically. Yes I could just flash it manually either way, just to be on the safe side, but it would be interesting to learn if it's really needed in the first place. This would eliminate the step in subsequent CM updates.

My device with all stock updates installed:
HBOOT-2.13.0000
RADIO-1.15.50.05.29
15th June 2014, 03:53 PM   |  #2  
tivofool's Avatar
Senior Member
Thanks Meter: 178
 
576 posts
Join Date:Joined: Jun 2012
More
Unless you s off your phone you will need to fastboot flash boot.img

(unless there is a new way I haven't learned)

Sent from my HTC One S using Tapatalk
15th June 2014, 04:04 PM   |  #3  
OP Junior Member
Thanks Meter: 4
 
21 posts
Join Date:Joined: May 2012
Quote:
Originally Posted by tivofool

Unless you s off your phone you will need to fastboot flash boot.img

Doesn't HTCdev unlock imply s off? Guides like the one on the CM wiki still talk about a manual boot.img flash despite s off.

I went ahead with installing CM on my phone and performed the manual flash just in case. I guess the only way to find out of it's required or not is to not perform the manual flash at the next milestone update and see if it boots and check it in CM if it does.
15th June 2014, 06:27 PM   |  #4  
Senior Member
Thanks Meter: 53
 
443 posts
Join Date:Joined: Jan 2014
Quote:
Originally Posted by Forage81

Doesn't HTCdev unlock imply s off? Guides like the one on the CM wiki still talk about a manual boot.img flash despite s off.

I went ahead with installing CM on my phone and performed the manual flash just in case. I guess the only way to find out of it's required or not is to not perform the manual flash at the next milestone update and see if it boots and check it in CM if it does.

HTCDev unlock is not S-OFF. You will need to run something like moonshine to get S-OFF. Until then, you need to manually flash boot.img. HTCDev unlock simply unlocks the boot loader.
17th June 2014, 04:25 PM   |  #5  
OP Junior Member
Thanks Meter: 4
 
21 posts
Join Date:Joined: May 2012
Quote:
Originally Posted by 808phone

HTCDev unlock is not S-OFF. You will need to run something like moonshine to get S-OFF. Until then, you need to manually flash boot.img. HTCDev unlock simply unlocks the boot loader.

You're right, HTCDev unlock is not S-OFF, my bad.

Since the CM wiki does imply you don't need S-OFF to have boot.img flashed automatically in all cases I'll see what happens when I update again. Would be interesting to learn if it works or not. I'll just boot the phone and see what happens, checking the kernel version in CM when it boots at all.

I do think it would still be handy to have a way to determine what the actual kernel is without having to boot into Android but I guess that's not possible then?
17th June 2014, 07:41 PM   |  #6  
Senior Member
Thanks Meter: 53
 
443 posts
Join Date:Joined: Jan 2014
> Since the CM wiki does imply you don't need S-OFF to have boot.img flashed automatically in all cases

If you are not S-OFF you will have to flash boot.img manually or else you will probably get the dreaded boot loop. AFAIK it's never flashed automatically with S-ON.

I see what you are looking at. I don't know why they don't make this crucial part of installation really hilighted since it will render your phone useless. Read below.

This device, if unlocked with HTCDev Unlock, must have its kernel flashed via fastboot. Extract boot.img from the CyanogenMod .zip package and flash it from the bootloader with: fastboot flash boot boot.img

This part is so important and if you don't do this with S-ON you will probably get a boot loop!!!!!
Last edited by 808phone; 17th June 2014 at 07:45 PM.
9th July 2014, 04:29 PM   |  #7  
OP Junior Member
Thanks Meter: 4
 
21 posts
Join Date:Joined: May 2012
Confirmation: Trying to update CM using the build in CM updater will not flash the kernel when still being on S-ON. Couldn't resist trying it for myself

A manual flash and reflashing gapps was required to get a functioning phone again.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes