Does the boot signature checked just on flash, or also on boot? - myTouch 3G, Magic Android Development

My device came with verion 1.13.009 of the SHIP SPL.
Using fastboot, I can boot into Amon_RA's recovery, and from there I can flash unsigned images of HTC official system (created by nandroid on my wife's phone.)
As those images are unsigned, they can not be flashed directly from the SPL.
So, does the SHIP SPL only disallows flashing? Or is it only working because I flash an unsigned image of a signed ROM?
If the answer is yes, I don't see why I'd have to replace my SPL with an engineering one, when I could simply boot into the rooted recovery and flash from there.
Or do the boot/system partitions also get verified on boot?

Related

Can I flash the splash1 partition by Recovery mode?

Hi,
I want to change the first screen when I turn on my htc magic(HBOOT-1.33.0008, PVT 32A).
But when I using this command on my PC (Phone have entered fastboot mode):
---------------------------------------
fastboot flash splash1 mysplash.rgb565
---------------------------------------
I got a error, it say:
------------------------
sending 'splash1' (300 KB)... OKAY
writing 'splash1'... INFOsignature checking...
FAILED (remote: signature verify fail)
------------------------
I don't want to flash a modded SPL, so, is there a way to flash the splash1 partition by Recovery mode?
Thanks in advance!
You need an engeneering SPL or HBOOT to do this.
http://forum.xda-developers.com/showthread.php?t=529019
I have the same problem
I thought I had the eng SPL uploaded but stll the same error message. Could it be that im following the G1 method and its different to the G2/magic/sapphire?
HBOOT-1.33.0008 is not a modded or an engenieering SPL.
Cheesebaron said:
HBOOT-1.33.0008 is not a modded or an engenieering SPL.
Click to expand...
Click to collapse
#3 is not me
I know the HBOOT-1.33.0008 is a original SPL. I'd like to know if I can flash the splash1 partition by Recovery mode.
I think you can't apply any update.zip (like roms, recoveries...) unless you change your SPL but I'm not sure.
DBeCe said:
I think you can't apply any update.zip (like roms, recoveries...) unless you change your SPL but I'm not sure.
Click to expand...
Click to collapse
No, you can apply updates and flash recoveries without flashing SPL. You need the updated SPL to flash a nandroid backup, or presumably, the splash1 screen.
bcrook said:
No, you can apply updates and flash recoveries without flashing SPL. You need the updated SPL to flash a nandroid backup, or presumably, the splash1 screen.
Click to expand...
Click to collapse
You can use the pimped out recovery image to flash a nandroid backup, and just start the pimped out recovery image via fastboot. No flashing of SPL or recovery needed for restoring nandroid.

Damn!Reboot again and again after flash the RADIO!

I flashed the new RADIO and SPL,but forgot to flash a new recovery in HBOOT model. The flash was totally succeed (because after fashing,I tap "fastboot reboot-bootloader" command in HBOOT and it could reboot automatically into hboot model and I can see the new RADIO and SPL had been fashed.
But here comes the problem, I try to reboot my phone into recovery model to flash the new ROM, but no matter I press HOME+POWER or BACK+POWER this time, it reboots again and again at first boot screen, and donnot have any response with the key I tapped!
God! is that bricked? No please don't tell me it's true!
so to clarify, you didn't flash a recovery image and now you don't know why you can't boot to recovery?
boot to fastboot, flash the recovery only, reboot to recovery, flash the rom of your choice and enjoy
Of course, but I cannot boot into fastboot or recovery model now.
nabor said:
Of course, but I cannot boot into fastboot or recovery model now.
Click to expand...
Click to collapse
*facepalm*
if you can't get into fastboot and you can't get into recovery you just bricked your phone.
while it's bootlooping, can you adb devices and tell us what you get?
i'm surprised that it's bricked because you forgot to flash a recovery, would have thought you could still access fastboot...
I was surprised too.
I don't know why,but I can boot into fastboot model now, but my recovery and rom are still broken.
So I tried to type "fastboot boot recovery.img" on my computer, so that I can enter recovery temporary, but here comes another trouble, it can't mount sdcard now! Display "Can't mount /dev/block/mmcblk0p1(or /dev/block/mmcblk0)(No such file or directroy) E:Can't mount SDCARD
!"
So can I use adb shell to install a ROM???
calm down bro....
you didn't brick your phone...
i've same problem after I flashed the new radio SPL HBOOT and recovery...
I've used Hero Recovery...
after u flashed your handset with new radio SPL HBOOT and Recovery, the ROM file DELETED....
so, u just download new rom (that have SAME RADIO HBOOT and Recovery with your handset)
after finished the download, put the file into ROOT SDCard... and then flash it from your RECOVERY....
I've used HERO RECOVERY....
my handset is HTC MAGIC 32A
just do that, if the problem same with me....
BRAVO
nabor said:
I flashed the new RADIO and SPL,but forgot to flash a new recovery in HBOOT model. The flash was totally succeed (because after fashing,I tap "fastboot reboot-bootloader" command in HBOOT and it could reboot automatically into hboot model and I can see the new RADIO and SPL had been fashed.
But here comes the problem, I try to reboot my phone into recovery model to flash the new ROM, but no matter I press HOME+POWER or BACK+POWER this time, it reboots again and again at first boot screen, and donnot have any response with the key I tapped!
God! is that bricked? No please don't tell me it's true!
Click to expand...
Click to collapse
the command is
fastboot flash radio Radio_HTC_PVT_32A_6.35.10.18.img
fastboot flash hboot hboot-1.76.2007.img
fastboot flash recovery recovery-RA-hero-v1.5.2.img
fastboot erase system -w
fastboot reboot-bootloader
read from this thread
http://forum.xda-developers.com/showthread.php?t=605239
download all files you need....
better use last recovery.... (1.5.2 isn't last recovery)
I don't recall the OP mentioning what handset they have. If its the MyTouch 3G Limited Edition or 1.2 (has headphone jack on top) a new user to rooting may confuse that with a Magic 32A in which case your instructions without clarifying would surely brick his phone. (Though he's on Fido, so not likely to be a MyTouch, but he didn't even mention of it was a Magic, Hero, G1, or if it was a DVT board instead of a PVT)
LoGaY said:
the command is
fastboot flash radio Radio_HTC_PVT_32A_6.35.10.18.img
fastboot flash hboot hboot-1.76.2007.img
fastboot flash recovery recovery-RA-hero-v1.5.2.img
fastboot erase system -w
fastboot reboot-bootloader
read from this thread
http://forum.xda-developers.com/showthread.php?t=605239
download all files you need....
better use last recovery.... (1.5.2 isn't last recovery)
Click to expand...
Click to collapse
LoGaY said:
the command is
fastboot flash radio Radio_HTC_PVT_32A_6.35.10.18.img
fastboot flash hboot hboot-1.76.2007.img
fastboot flash recovery recovery-RA-hero-v1.5.2.img
fastboot erase system -w
fastboot reboot-bootloader
read from this thread
http://forum.xda-developers.com/showthread.php?t=605239
download all files you need....
better use last recovery.... (1.5.2 isn't last recovery)
Click to expand...
Click to collapse
You shouldn't offer instructions like this. You have no idea what phone he's using. You offer such a high risk of bricking the phone since most members here fail to read instructions before running a bunch of commands.
He's fido like the above guy said which could mean he's using a rogers magic, but it's also unlikely. Fido doesn't have Magic, so he definitely got it off someone. And since it's rootable (it is unlikely that he could get a hands on a rooted magic here since their lame update) it has a high chance that its from tmo or something which = 32B board.
my phone is htc magic with 32A and it's ENG S-ON so I can't flash a recovery through fastboot, so I have to use "fastboot boot recovery.img" to use a recovery temporary just I said above. I do know that I can put a rom into a sdcard to flash it, but it can't mount sdcard now
Try waiting 30-60 seconds before accessing the SD card. Some recovery images take a while to mount the card.

who could help my G2 magic

A few days ago, a friend present a G2 magic to me, it could be used normally.
However, when i want to flash ROM, i found it could not supports SDCARD in system and in recovery mode, only in fastboot mode.
I got the information in fastboot mode:32B ENG S-ON H ; HBOOT-1.33.2010; CPLD-10; RADIO-3.22.20.17;
You know, it is so interesting, because i could not match the RUU in the list. I think 32B is wrong, because i downloaded the 1.6.2g.img recovery and flash in fastboot mode, it is fake. but 1.6.2h.img is right after i boot the recovery.
First of all, I want to edit S-ON to OFF, for i read some articles in much android BBS, once it will be OFF, the G2 could support SDCARD in recovery mode again and flash other ROM.
I made a goldcard and copy the 2.53.707.2 sappimg.zip in the SDCARD, in fastboot mode, the system rebuilded again. i could power on the phone normally, and it could not support SDCARD.
in adb shell and fastboot mode, i try again to cover orginal hboot with the signed hboot.img(spl-1.33.2010) to OFF, but i failed.
what shall i do? i am nearly crying now.
fastboot oem enableqxdm 0
Good thing u reverted to stock SPL. Now the above option might not work.
the 32B is not wrong , the radio is. Flash a 2.xx.xx.xx radio and all will be well.
thanks eyegor
i followed your way, but it was failed. because it showed: signature verify fail.
In fastboot mode, input fastboot erase radio and fastboot flash radio radio.img
is it right?
i think the reason of verify fail is spl-ON.

[Q] Changing cid in RUU then resigning

Hi, after flashing an incorrect version of gapps onto a CM10.1 nightly rom I have worked myself into a very tight corner.
The phone is s-on, wont boot into android and also I am unable to enter any kind of recovery. I have tried fastboot flash recovery and fastboot boot recovery with CWM and TWRP and flashing a stock recovery extracted from an RUU. All I get when trying to enter recovery is a reboot then HTC white screen then boot loop. I am under the impression all I can possibly do at this stage is to flash a stock RUU yet I can only find one RUU that matches my ORANG_001 cid and that gives me the error of "44 hboot version check fail". So I then tried to flash a more recent RUU but they all have different cid numbers. If I attempt to modify the android-info.txt to add my cid I corrupt the zip and get a sign verification failure. I've attempted to make a new zip and then resign it with AutoSign.zip but again I get a "12 signature verify fail."
If anyone could shine any light on altering cid inside RUU or possibly a way of me getting back into recovery it would be greatly appreciated.
guymalpass said:
Hi, after flashing an incorrect version of gapps onto a CM10.1 nightly rom I have worked myself into a very tight corner.
The phone is s-on, wont boot into android and also I am unable to enter any kind of recovery. I have tried fastboot flash recovery and fastboot boot recovery with CWM and TWRP and flashing a stock recovery extracted from an RUU. All I get when trying to enter recovery is a reboot then HTC white screen then boot loop. I am under the impression all I can possibly do at this stage is to flash a stock RUU yet I can only find one RUU that matches my ORANG_001 cid and that gives me the error of "44 hboot version check fail". So I then tried to flash a more recent RUU but they all have different cid numbers. If I attempt to modify the android-info.txt to add my cid I corrupt the zip and get a sign verification failure. I've attempted to make a new zip and then resign it with AutoSign.zip but again I get a "12 signature verify fail."
If anyone could shine any light on altering cid inside RUU or possibly a way of me getting back into recovery it would be greatly appreciated.
Click to expand...
Click to collapse
try to gain s-off.
you can install every ruu then and chaning cid will be much easier then.
guymalpass said:
Hi, after flashing an incorrect version of gapps onto a CM10.1 nightly rom I have worked myself into a very tight corner.
The phone is s-on, wont boot into android and also I am unable to enter any kind of recovery. I have tried fastboot flash recovery and fastboot boot recovery with CWM and TWRP and flashing a stock recovery extracted from an RUU. All I get when trying to enter recovery is a reboot then HTC white screen then boot loop. I am under the impression all I can possibly do at this stage is to flash a stock RUU yet I can only find one RUU that matches my ORANG_001 cid and that gives me the error of "44 hboot version check fail". So I then tried to flash a more recent RUU but they all have different cid numbers. If I attempt to modify the android-info.txt to add my cid I corrupt the zip and get a sign verification failure. I've attempted to make a new zip and then resign it with AutoSign.zip but again I get a "12 signature verify fail."
If anyone could shine any light on altering cid inside RUU or possibly a way of me getting back into recovery it would be greatly appreciated.
Click to expand...
Click to collapse
To run the latest cm hou have to have a hboot of 2.15. What's your current version?
Did you btw flash the boot.img seperatly?
If s-on you have to.
Flash a RUU (cant flash a RUU with a lower hboot than that you already have)
Than do otas till your on jb. Then go back to custom roms.
Verstuurd van mijn HTC One S met Tapatalk
Thanks for the replies, is it possible to s-off when I can only access bootloader though? My hboot is 2.15.0000 and yes I had flashed the boot.img separately, the rom worked perfectly until I flashed the wrong gapps. I would love to flash an RUU but I can only find one that is compatible with my cid and it won't install.
guymalpass said:
[...] and also I am unable to enter any kind of recovery. I have tried fastboot flash recovery and fastboot boot recovery with CWM and TWRP and flashing a stock recovery extracted from an RUU. All I get when trying to enter recovery is a reboot then HTC white screen then boot loop.
Click to expand...
Click to collapse
fastboot erase cache
^-- this often / sometimes / maybe fixes the situation where recovery fails to boot.
guymalpass said:
Hi, after flashing an incorrect version of gapps onto a CM10.1 nightly rom I have worked myself into a very tight corner.
The phone is s-on, wont boot into android and also I am unable to enter any kind of recovery. I have tried fastboot flash recovery and fastboot boot recovery with CWM and TWRP and flashing a stock recovery extracted from an RUU. All I get when trying to enter recovery is a reboot then HTC white screen then boot loop. I am under the impression all I can possibly do at this stage is to flash a stock RUU yet I can only find one RUU that matches my ORANG_001 cid and that gives me the error of "44 hboot version check fail". So I then tried to flash a more recent RUU but they all have different cid numbers. If I attempt to modify the android-info.txt to add my cid I corrupt the zip and get a sign verification failure. I've attempted to make a new zip and then resign it with AutoSign.zip but again I get a "12 signature verify fail."
If anyone could shine any light on altering cid inside RUU or possibly a way of me getting back into recovery it would be greatly appreciated.
Click to expand...
Click to collapse
Have you tried using Hansoons All-in-one toolkit to flash a recovery?

[Q] Flashing kernel via adb

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
You don't need a custom kernel, you can extract the boot.img from the rom zip file
AliAbela said:
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
Click to expand...
Click to collapse
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.
Yeah, I learned this shortly after creating the thread.
This was my first time messing around with roots and custom ROMs.
Thanks anyway

Categories

Resources