If I am S-On, is there a way to set it up so that i don't have to manually flash the boot.img every time? Btw, I am using TWRP
TRWP includes HTC Dumlock which makes it easier, but you'll always have to do some level of extra work when you're s-on. That's just the facts of life with HTC.
gleggie said:
If I am S-On, is there a way to set it up so that i don't have to manually flash the boot.img every time? Btw, I am using TWRP
Click to expand...
Click to collapse
S-off your phone, it's the only way to allow boot.img to be installed automatically along with a rom/kernel installer/etc..
Check out the second section of the TWRP OP: http://forum.xda-developers.com/showthread.php?t=1902381
It basically replaces your bootloader with a copy of recovery that is allowed to flash boot.img files directly, after which you have to replace the default boot again before you can boot. It lets you flash a kernel completely PC free, but it doesn't necessarily make it easier or simpler. There are still extra steps involved if you are s-on.
mjones73 said:
S-off your phone, it's the only way to allow boot.img to be installed automatically along with a rom/kernel installer/etc..
Click to expand...
Click to collapse
If you don't flash often I don't recommend going s-off. It makes it easier to brick the phone.
feralicious said:
If you don't flash often I don't recommend going s-off. It makes it easier to brick the phone.
Click to expand...
Click to collapse
I was just pointing out the only way to avoid manually flashing boot.img is to s-off.
Personally I've been s-off since the day the process was released and I've flashed numerous roms without issue.
Related
So we all know there's going to be people who won't go for s-off due to the nature of the exploit
So I was thinking, since developers are going to eventually migrate to flashing kernels in recovery that wouldn't it be possible for someone to make a script that tells if your s-off or s-on by a txt file placed on the root of your sdcard by the user and then either flashes the kernel in recovery if your s-off or pushes the hboot file to the root of your sdcard?
Sent from my ADR6425LVW using Tapatalk 2
That's a good question man.
My thinking is that since S-On people cannot flash a boot.img in recovery, why can't devs just package the rom/kernel together for everyone to flash? The S-Off people will be able to flash one package for the full rom and since the boot won;t be flashed for S-On users, just provide the boot.img or PH98IMG.zip to flash in bootloader.
The only thing is I don't much of the intricate details on if this would work properly and if S-On users would get an error/have issues if a rom attempted to flash the boot.img.
Marcismo55 said:
That's a good question man.
My thinking is that since S-On people cannot flash a boot.img in recovery, why can't devs just package the rom/kernel together for everyone to flash? The S-Off people will be able to flash one package for the full rom and since the boot won;t be flashed for S-On users, just provide the boot.img or PH98IMG.zip to flash in bootloader.
The only thing is I don't much of the intricate details on if this would work properly and if S-On users would get an error/have issues if a room attempted to flash the boot.img.
Click to expand...
Click to collapse
I don't know the syntax of the updater script but it shouldn't be to hard, maybe a file that says .soff
Then again a separate kernel would fix that as well
Sent from my ADR6425LVW using Tapatalk 2
Flashing the "old" way with s-off shouldn't make a difference though right? So really why change it.
loki993 said:
Flashing the "old" way with s-off shouldn't make a difference though right? So really why change it.
Click to expand...
Click to collapse
My thought was not to kick the s-on people to the curb and tell them either s-off or learn how to flash via a computer
I agree they should posses that knowledge but making it simpler for everyone benefits us in the fact that if it isn't simplified we are going to have a whole bunch of "I flashed this ics Rom and it won't boot" threads
Sent from my ADR6425LVW using Tapatalk 2
Right I understand. I just flashed my first ROM though. It flashed, loaded the PH98IMG on its own rebooted into fastboot and I just had to vol up to flash it. That will work if your s-off or s-on. So I say just write them all like that
Unless Im missing something.
loki993 said:
Right I understand. I just flashed my first ROM though. It flashed, loaded the PH98IMG on its own rebooted into fastboot and I just had to vol up to flash it. That will work if your s-off or s-on. So I say just write them all like that
Unless Im missing something.
Click to expand...
Click to collapse
Very many people including me don't want to bother with hboot zips for a kernel when it can be a one shot flash in recovery if your s-off
If someone has the knowledge could they shoot me a pm on if this is possible? I have an idea but I can't apply it
Sent from my ADR6425LVW using Tapatalk 2
loki993 said:
Right I understand. I just flashed my first ROM though. It flashed, loaded the PH98IMG on its own rebooted into fastboot and I just had to vol up to flash it. That will work if your s-off or s-on. So I say just write them all like that
Unless Im missing something.
Click to expand...
Click to collapse
What superchillpill is saying that if repackaged for s off, it wouldn't goto bootloader at all. Takes out that step altogether. If your point happened to go over my head, my apologies lol
Sent from my ADR6425LVW using Tapatalk 2
What I wil l try and do is provide PH98IMG flashable zips that can flash via HBoot. Let the ROM flash the kernel, its the way its been on other phones and I don't see any reason to change it. Consistency is key no need to learn something new. The kernel guys could just change their scripts and hopefully package boot.img's which are easy to replace in the ROM .zip (along with the WiFi module). It would be great to see init.d supported so we could add some speed tweaks using scripts.
Just have to provide a PH98IMG of the kernel for the ROM is all. Take an extra download for S-On. You can boot into the bootloader by using the recovery option reboot into bootloader in the developer menu.
It's also more convient when you don't have to remove the ph98img off the root of your sd everytime you flash a Rom!
HTC REZOUND
Yeah...I know S-off makes everything easier...but I'm stuck with S-on. I dropped my phone (while plugged in) on the charging port, jarring it to the point of no longer being able to connect it to my computer for ADB communication. I'm assuming s-off isn't possibly without a working usb connection.
So...I'm wondering how to go about flashing a custom kernel from the bootloader while being s-on and unlocked. I've attempted to pull boot.img from within a custom ROM package, rename to PH98IMG.zip, and put it on the root of my SD...but this apparently doesn't work. What do I have to do to avoid being stuck forever with my current setup (aside from abandoning the phone)?? Any advice would be appreciated!
KaceMN said:
Yeah...I know S-off makes everything easier...but I'm stuck with S-on. I dropped my phone (while plugged in) on the charging port, jarring it to the point of no longer being able to connect it to my computer for ADB communication. I'm assuming s-off isn't possibly without a working usb connection.
So...I'm wondering how to go about flashing a custom kernel from the bootloader while being s-on and unlocked. I've attempted to pull boot.img from within a custom ROM package, rename to PH98IMG.zip, and put it on the root of my SD...but this apparently doesn't work. What do I have to do to avoid being stuck forever with my current setup (aside from abandoning the phone)?? Any advice would be appreciated!
Click to expand...
Click to collapse
some roms use wireless adb i.e. viperrez im not sure as to how youd go about doing this for the particular rom your running but thas is the best knowledge i have of using fastboot commands without your usb.. i think its time for a new phone bud:/
It seems to me like my solution lies in the creation of an appropriate PH98IMG.zip file to place in the root of my SD card and flash within the bootloader. I know that early Rezound ROMS would supply this file along with the main download, catering to s-on ...so it is something that can be done. I'm just wondering about the specifics of creating such a file from a boot.img file.
I'm not going to give up on the phone. I'll be able to charge via an inductive pad, its just a matter of being able to keep up-to-date kernels without ADB via USB.
i am also S-ON, and I would like to be able to just flash the kernel in the bootloader using a PH98IMG placed on the sd card. I am used to just flashing a rom in recovery, then booting to the bootloader and flashing the PH98IMG.
My newest rom, ElipticRez has a boot.img posted for S-ON users. So, i have placed the boot.img in a PH98IMG zip that i have used before, but something always seem to go wrong. Either it wont update in the bootloader, or it does update but my wifi wont work.
Any suggestions on how to get a kernel to work using a PH98IMG for S-ON users?
Flyhalf's latest TWRP build has the HTC Dumlock in it, which should allow you to flash boot.img's with S-On. Don't know the real details on it, but it's covered in the thread.
zourn said:
Flyhalf's latest TWRP build has the HTC Dumlock in it, which should allow you to flash boot.img's with S-On. Don't know the real details on it, but it's covered in the thread.
Click to expand...
Click to collapse
or if you dont want to risk re flashing recovery and bricking because you have no charging port, you could flash countershrike 2.2. it has built in s-on flashing. no pc required
What if the charging port works, then is there any way to apply custom kernels to ROMs?
Dogbone737 said:
What if the charging port works, then is there any way to apply custom kernels to ROMs?
Click to expand...
Click to collapse
Yes. Then you can use fastboot to flash using the following command:
fastboot flash boot boot.img
feralicious said:
Yes. Then you can use fastboot to flash using the following command:
fastboot flash boot boot.img
Click to expand...
Click to collapse
What if no boot.img is provided with the kernel. Right now I want to apply snuzzo's funky kernel 1.7 to cm 10. 1.7 does not have a boot.img with it. Do I have to wait until he makes a s-on varient of 1.7 before I can apply it. Or can I take the boot.IMG from another ROM that uses 1.7?
Dogbone737 said:
What if no boot.img is provided with the kernel. Right now I want to apply snuzzo's funky kernel 1.7 to cm 10. 1.7 does not have a boot.img with it. Do I have to wait until he makes a s-on varient of 1.7 before I can apply it. Or can I take the boot.IMG from another ROM that uses 1.7?
Click to expand...
Click to collapse
"fastboot flash zimage zImage(extracted from kernel folder)"
Snuzzo said:
"fastboot flash zimage zImage(extracted from kernel folder)"
Click to expand...
Click to collapse
Thanks for the response. but when I enter the commands this is the error I receive:
http://forum.xda-developers.com/attachment.php?attachmentid=1511055&stc=1&d=1353880347
Damn. So I guess I will have to play with s on installer for it. Grrr
Sent from my ADR6425LVW using Xparent Green Tapatalk 2
So I have s-off, tampered, and am able to get to TWRP recovery. ..but no SU and rooted apps say im not rooted.
Any suggestions? I went throught the Regaraw method but got stuck in the rooting phone process....it wouldnt go forward... is there something I cam flash or something? Any help will be highly appreciated!
How did you get soff if all you did is run regawmod, soff requires hboot 1.12 and lazy panda, if you have anything higher then 1.12 then it requires a whole other set of tools to downgrade the hboot. If you have recovery already just flash any custom rom
om4 said:
How did you get soff if all you did is run regawmod, soff requires hboot 1.12 and lazy panda, if you have anything higher then 1.12 then it requires a whole other set of tools to downgrade the hboot. If you have recovery already just flash any custom rom
Click to expand...
Click to collapse
Yeah I have recovery and this... am I rooted?
Try this, flash it in recovery and then wipe cache and dalvik. It would be easier to just flash a custom rom though
om4 said:
Try this, flash it in recovery and then wipe cache and dalvik. It would be easier to just flash a custom rom though[/QUOTE)
I just noticed that I has S On in that screen shot....dang it!
Sent from the third Galaxy
Click to expand...
Click to collapse
Just flash the superuser.zip I linked for you
om4 said:
Just flash the superuser.zip I linked for you
Click to expand...
Click to collapse
Even with S-ON?
Sent from the third Galaxy
The bootloader is unlocked so it doesn't matter. In the past we had to resort to exploiting the hboot for soff but now the security on the bootloader can be turned off, partially at least. It allows us to write to the partitions except for boot. There are plenty of workarounds for flashing the kernel. Basically fastboot, flash image gui, boot image flasher, HTC dumlock and the kernel installer script. There is an automated script being worked on to allow people to downgrade their hboot but honestly most users should stay away from it until it's stable.
om4 said:
The bootloader is unlocked so it doesn't matter. In the past we had to resort to exploiting the hboot for soff but now the security on the bootloader can be turned off, partially at least. It allows us to write to the partitions except for boot. There are plenty of workarounds for flashing the kernel. Basically fastboot, flash image gui, boot image flasher, HTC dumlock and the kernel installer script. There is an automated script being worked on to allow people to downgrade their hboot but honestly most users should stay away from it until it's stable.
Click to expand...
Click to collapse
Thanks for taking the time to explain this.
Sent from the third Galaxy
hi
I'm trying to flash a custom kernel in specific the one created by SebastianFM on my stock, s-on, rooted htc rezound, but I'm getting an error
read_file() loading "/tmp/boot/zimage" failed: No such file or directorE:Unknown commane [y]
E:error in /sdcard/Overclocked_kernel_v1.4.0_by_SebastianFM.zip
(status 7)
while reading this thread someone mentioned the error is caused because the boot is secured. I don't really want to go s-off at this moment mainly because I cannot afford another expensive paperweight in the case I break something, so I wonder is there is an easy way to unsecure the boot so I can flash the new kernel while still being S-ON on stock rom.
I have flashed recovery-ra 3.14, stock 4.03.605.2 (global hboot 2.27)
thank you
amanuense_ said:
hi
I'm trying to flash a custom kernel in specific the one created by SebastianFM on my stock, s-on, rooted htc rezound, but I'm getting an error
read_file() loading "/tmp/boot/zimage" failed: No such file or directorE:Unknown commane [y]
E:error in /sdcard/Overclocked_kernel_v1.4.0_by_SebastianFM.zip
(status 7)
while reading this thread someone mentioned the error is caused because the boot is secured. I don't really want to go s-off at this moment mainly because I cannot afford another expensive paperweight in the case I break something, so I wonder is there is an easy way to unsecure the boot so I can flash the new kernel while still being S-ON on stock rom.
I have flashed recovery-ra 3.14, stock 4.03.605.2 (global hboot 2.27)
thank you
Click to expand...
Click to collapse
You shouldn't need to unsecure anything. Fastboot is sufficient to flash to the boot partition. From where did you receive this error? (i.e. Command Line on a PC, Recovery, etc.)
VitaminCBold said:
You shouldn't need to unsecure anything. Fastboot is sufficient to flash to the boot partition. From where did you receive this error? (i.e. Command Line on a PC, Recovery, etc.)
Click to expand...
Click to collapse
I got the error from recovery-ra, from the error I think the problem is recovery ra cannot read the information it needs (ramdisk)
amanuense_ said:
I got the error from recovery-ra, from the error I think the problem is recovery ra cannot read the information it needs (ramdisk)
Click to expand...
Click to collapse
I believe that since you're s-on you need to flash the kernel in fastboot, using your pc.
fastboot flash boot boot.img
I don't know if you have to pull the boot.img out of the zip you have or if you can even do that with this kernel. You should check in the kernel's thread and see if there's specific instructions for flashing it on an s-on device.
It does in fact require an unsecure boot.IMG don't confuse such as being a requirement to being s off. They are totally different. Most of our roms include an unsecured boot.IMG already. I know my rom has one. So its all dependent on which rom you're using.
Sent from my ADR6425LVW using Xparent Green Tapatalk 2
thanks for replying,
that is what I though, but in any case is there any way to create/get a boot.img for stock rezound rom? if not possible then I'll need to start taking a look to custom roms, the only thing is I really don't want to make big changes specially to the radio.
Snuzzo said:
It does in fact require an unsecure boot.IMG don't confuse such as being a requirement to being s off. They are totally different. Most of our roms include an unsecured boot.IMG already. I know my rom has one. So its all dependent on which rom you're using.
Sent from my ADR6425LVW using Xparent Green Tapatalk 2
Click to expand...
Click to collapse
amanuense_ said:
thanks for replying,
that is what I though, but in any case is there any way to create/get a boot.img for stock rezound rom? if not possible then I'll need to start taking a look to custom roms, the only thing is I really don't want to make big changes specially to the radio.
Click to expand...
Click to collapse
I have the Global firmware boot.img at http://goo.im/devs/Flyhalf205/Rezound/Recovery/stock_boot_signed.img
If you need the OTA boot.img. try downloading the RUU and pulling it from there.
amanuense_ said:
thanks for replying,
that is what I though, but in any case is there any way to create/get a boot.img for stock rezound rom? if not possible then I'll need to start taking a look to custom roms, the only thing is I really don't want to make big changes specially to the radio.
Click to expand...
Click to collapse
flashing a custom rom wont affect your radios. dont worry and if you mess up, you dont have to worry then either because you're s-on.
cslingerland said:
flashing a custom rom wont affect your radios. dont worry and if you mess up, you dont have to worry then either because you're s-on.
Click to expand...
Click to collapse
This. It's basically impossible to hard-brick S-ON. That's why Chad runs S-ON for his AOSP development.
thank all you for the answers, I'll try with the boot.img flyhalf205 shared. in the worst of the cases I'll check the S-on custom builds as suggested
I just have one question is
fastboot flash boot boot.img
enough or do I need to do a full wipe before? basically I'm asking if there is anything I need to do.
if that doesn't work I'll try a custom S-ON rom as suggested
I installed CM using CWM onto my HTC Deluxe. I tried 4 different nightlies and the 10.2 stable and after installing any of them, I get this... it reboots into the white htc screen with a quick vibrate. Then it goes black for a second and reboots again. No CM screen or anything!
I've tried flashing it multiple times, doing factory resets, clearing cache and dalvaic cache. I am at a loss as to what to do next.
Oh and with the 10.2, instead of rebooting it just gets stuck at the HTC white screen!
If you unlocked the bootloader with htcdev.com and are still S-On, you need to flash the boot.img via fastboot. Common cause of your type of problems.
es0tericcha0s said:
If you unlocked the bootloader with htcdev.com and are still S-On, you need to flash the boot.img via fastboot. Common cause of your type of problems.
Click to expand...
Click to collapse
Well I looked and sure enough it is s-on. So I know the process of flashing an img with flashboot, but where can I aquire the correct boot.img? I am sure it needs to be a trusty source because I would imagine the boot image could really cause damage.
alexander7567 said:
Well I looked and sure enough it is s-on. So I know the process of flashing an img with flashboot, but where can I aquire the correct boot.img? I am sure it needs to be a trusty source because I would imagine the boot image could really cause damage.
Click to expand...
Click to collapse
You just need to extract it from whichever version of CMrom.zip you are trying to use.
es0tericcha0s said:
You just need to extract it from whichever version of CMrom.zip you are trying to use.
Click to expand...
Click to collapse
Okay cool! Easy enough. Question before I do this though... If I flash boot.img with fastboot, will this acheive soff? Neither rumrunner or Firewater works! And if I do this what will have have to do to go back to my stock Rom for any reason using CWM?
alexander7567 said:
Okay cool! Easy enough. Question before I do this though... If I flash boot.img with fastboot, will this acheive soff? Neither rumrunner or Firewater works! And if I do this what will have have to do to go back to my stock Rom for any reason using CWM?
Click to expand...
Click to collapse
No, this will not affect S-On/Off status. This is because the bootloader unlock provided by HTC is really only a partial one. It allows you to install custom roms, themes, mods, etc, but not to allow installation of a custom kernel through recovery. That's why you have to pull it from the rom and flash it separate. Once you do that, then it will behave like normal. You can also use an app like Flashify to install the boot.img, then boot to recovery and flash the rom, if you don't have access to a PC. Just make sure to do a nandroid BEFORE that, otherwise it will back up the new kernel you flashed on top of the older OS, so might not be compatible, especially when switching between stock and CM based things.