[WARNING] Flashing boot.img on S-ON devices

mike1986.

Senior Member
Mar 11, 2009
38,830
77,116
0
XDA-Developers
android-revolution-hd.blogspot.com
ROMs developers and ROMs users - be aware!

I know this thread doesn't contain any "created" thing, but it's quite important to let every developer here know, that their boot.img flashing commands in updater-script doesn't work with S-ON devices. We didn't realize it quickly because there are no custom kernels yet. But no matter if you use package_extract_file or write_raw_image or dd command - this wont work for most users here with just htcdev.com unlocked devices.

So the only solution for now is to download custom ROM, extract boot.img from inside it if developer didn't provide it separately (like I did) and flash it in fastboot mode using following command:

fastboot flash boot <boot_name.img>

f.g.

fastboot flash boot boot.img
fastboot flash boot boot_2.0.0.img
etc...

Also keep in mind that fastboot flash is the only way to use custom boot.img because fastboot boot doesn't work yet either.

I really hope we'll get S-OFF possibility soon!
 
Last edited:

sumeshd

Senior Member
Nov 5, 2010
1,392
559
0
Mumbai
Thank you mike for being with us and guiding the development..what would it be without you!!!

Sent from my HTC One X using Tapatalk 2 Beta-6
 

Willieumm

Senior Member
Oct 4, 2010
1,542
125
0
How can it be s-off when he states that there aint anny s-off for Hox...

Skickat från min HTC One X via Tapatalk 2
There are some very lucky few people who just so happen to get a factory s-off device, it's very much possible. Just highly unlikely for most people.
 

ShyamSasi

Senior Member
Dec 10, 2010
3,031
1,914
0
CLASSIFIED
I had the same question because when I flashed the ROM it doesn't seem like changing the kernel name under about. Thanks for clearing that up.

Sent from my HTC One X using XDA
 

ShyamSasi

Senior Member
Dec 10, 2010
3,031
1,914
0
CLASSIFIED
Hmmm ... Seems like there is no change in name under Kernel version after flashing the kernel (fastboot flash boot boot.img). Is it that the developer hasn't changed the name of the kernel or is it not flashed properly?
 

nteeb

Senior Member
Jun 29, 2010
416
75
0
Kaposvar
Sorry for the noob question...but as he got s-off and a diffrerent hboot version(1.01.000):can it be useful for all the develpoers who are working on gaining s-off???
 

Evil-Dragon

Senior Member
Dec 15, 2010
735
405
0
Solihull
www.rooted.me.uk
Sorry for the noob question...but as he got s-off and a diffrerent hboot version(1.01.000):can it be useful for all the develpoers who are working on gaining s-off???
No, it's not as easy as that. He's just got the security flag set to off. We won't be able to push any different hboot's while we're S-ON. It's just a case of finding an exploit to push the security flag to off while getting around all the protection that is surrounding it.

Sent from my HTC One X using Tapatalk 2
 

jotha

Retired Forum Moderator
Sep 5, 2006
4,720
7,940
263
Bavaria, close to Munich
Hmmm ... Seems like there is no change in name under Kernel version after flashing the kernel (fastboot flash boot boot.img). Is it that the developer hasn't changed the name of the kernel or is it not flashed properly?
As there are no customized kernels up to now, the devs have no reason to change name of the kernel. It's still stock kernel after all ;).