[Q] How can I disable signature checking? - Desire Q&A, Help & Troubleshooting

I want to flash userdata.img, system.img, recovery.img, boot.img files via ADB to my Desire in order to unroot my 2.1, then make it able to upgrade to 2.2 via OTA.
I am using rooted HK 2.1 ROM, have downloaded Asia WWE 2.1 RUU and extracted those .img files.
How can I disable the signature checking? I've got below errors when I tried to flash the img file to my Desire.
C:\r5>fastboot flash userdata userdata.img
sending 'userdata' (2 KB)... OKAY
writing 'userdata'... INFOsignature che
FAILED (remote: signature verify fail)

If you are using a custom recovery like clockwork mod or Amon ra. There is an option called "Toggle Signature".

txitxi2004 said:
If you are using a custom recovery like clockwork mod or Amon ra. There is an option called "Toggle Signature".
Click to expand...
Click to collapse
thanks, but ADB is unable to connect to the device if it is in recovery mode, can only be in fastboot mode. So that I need to disable signature checking in fastboot mode.

scott4 said:
thanks, but ADB is unable to connect to the device if it is in recovery mode, can only be in fastboot mode. So that I need to disable signature checking in fastboot mode.
Click to expand...
Click to collapse
I'm looking the answer for the same problem. I get "signature verification failed" when using fastboot flash method. Any instructions got how to disable signature check?

kekojan said:
I'm looking the answer for the same problem. I get "signature verification failed" when using fastboot flash method. Any instructions got how to disable signature check?
Click to expand...
Click to collapse
i've tried flashing the original recovery.img to Desire, still can't solve the signature check problem. I also have tried doing below:
push flash_image and mtd0.img (what should be the CID of HK 2.1 official rom?) to Desire through ADB, the execute like: flash_image misc mtd0.img
however the upgrade still couldn't pass the signature check... sigh..

kekojan said:
I'm looking the answer for the same problem. I get "signature verification failed" when using fastboot flash method. Any instructions got how to disable signature check?
Click to expand...
Click to collapse
You can't do that with the bootloader on the desire. Our version of fastboot is "S-ON" (security enabled). You need an engineering bootloader (S-OFF) to flash images using fastboot. Hopefully we will get this one day.

st0kes said:
You can't do that with the bootloader on the desire. Our version of fastboot is "S-ON" (security enabled). You need an engineering bootloader (S-OFF) to flash images using fastboot. Hopefully we will get this one day.
Click to expand...
Click to collapse
So, is there any way I can flash the images I build for Desire? (I have rebuild the froyo platform for desire)
Can I flash them via sdcard using for e.g clockwork or similar recovery method?

kekojan said:
So, is there any way I can flash the images I build for Desire? (I have rebuild the froyo platform for desire)
Can I flash them via sdcard using for e.g clockwork or similar recovery method?
Click to expand...
Click to collapse
Pack the contents of out/product/target/bravo/system into a zip fille (just the system directory) along with the boot.img, and flash it using clockwork recovery. Toggle signed files to off to allow this or sign the file using testsign.jar (you can find it on the board here somewhere).
You will have to remove the symlinks in out/product/target/bravo/system/bin and symlink them again during the flashing process using an update-script or you will have a lot of broken stuff (like dhcp), check inside an existing rom like CyanogenMod to see how the update-script is constructed and how get the syntax right.

st0kes said:
Pack the contents of out/product/target/bravo/system into a zip fille (just the system directory) along with the boot.img, and flash it using clockwork recovery. Toggle signed files to off to allow this or sign the file using testsign.jar (you can find it on the board here somewhere).
You will have to remove the symlinks in out/product/target/bravo/system/bin and symlink them again during the flashing process using an update-script or you will have a lot of broken stuff (like dhcp), check inside an existing rom like CyanogenMod to see how the update-script is constructed and how get the syntax right.
Click to expand...
Click to collapse
Currently in order to unroot Desire, is to push flash_image and mtd0.img to Desire through ADB, and then execute like: flash_image misc mtd0.img, then is able to run any RUU to unroot Desire. Since we still do not have RUU 2.1 or 2.2 for official HK rom (not test rom), we have no way to unroot our HK Desire.
I am thinking if there is any trick can mimic a RUU .exe file which is able to change back the CID or signature file to an official Hong Kong one. Then OTA can be done as it check signature during OTA upgrade. Do you think it is workable?

st0kes said:
Pack the contents of out/product/target/bravo/system into a zip fille (just the system directory) along with the boot.img, and flash it using clockwork recovery. Toggle signed files to off to allow this or sign the file using testsign.jar (you can find it on the board here somewhere).
You will have to remove the symlinks in out/product/target/bravo/system/bin and symlink them again during the flashing process using an update-script or you will have a lot of broken stuff (like dhcp), check inside an existing rom like CyanogenMod to see how the update-script is constructed and how get the syntax right.
Click to expand...
Click to collapse
I zipped system.img and boot.img and toggled off the signed files in clockwork and flashed the zipped (50Mb) package. All were installed really way too fast and without errors. After reboot nothing was updated. Next steps? Any ideas?

eh.. delete me

Update to previous post. I did zip the system directory + boot.img. Actually, in a second try I also zipped system.img to same package. And I also removed the symlinks from ../bin directory. And then flashed. I got no errors but again installing (clockwork) was really quick and after reboot nothing changed. The weird thing is that I do not get any errors no matter what I'm zipping.
What can I try next?

kekojan said:
I zipped system.img and boot.img and toggled off the signed files in clockwork and flashed the zipped (50Mb) package. All were installed really way too fast and without errors. After reboot nothing was updated. Next steps? Any ideas?
Click to expand...
Click to collapse
st0kes said:
Pack the contents of out/product/target/bravo/system into a zip fille (just the system directory) along with the boot.img, and flash it using clockwork recovery. Toggle signed files to off to allow this or sign the file using testsign.jar (you can find it on the board here somewhere).
You will have to remove the symlinks in out/product/target/bravo/system/bin and symlink them again during the flashing process using an update-script or you will have a lot of broken stuff (like dhcp), check inside an existing rom like CyanogenMod to see how the update-script is constructed and how get the syntax right.
Click to expand...
Click to collapse
Now I did as per the instructions except the update-script part.
I did zip the system directory + boot.img. Actually, in a second try I also zipped system.img to same package. And I also removed the symlinks from ../bin directory. And then flashed. I got no errors but again installing was really quick and after reboot nothing changed. The weird thing is that I do not get any errors no matter what I'm zipping.
What can I try next?

kekojan said:
Now I did as per the instructions except the update-script part.
I did zip the system directory + boot.img. Actually, in a second try I also zipped system.img to same package. And I also removed the symlinks from ../bin directory. And then flashed. I got no errors but again installing was really quick and after reboot nothing changed. The weird thing is that I do not get any errors no matter what I'm zipping.
What can I try next?
Click to expand...
Click to collapse
The corresponding part of the recovery log below.
- Installing: SDCARD:images_new.zip
I:Set boot command "boot-recovery"
Finding update package...
I:Update location: SDCARD:images_new.zip
Opening update package...
I:Update file path: /sdcard/images_new.zip
Installing update...
I:Trying update-binary.
I:Trying update-script.
Starting recovery on Fri Sep 3 13:03:42 2010
can't open /dev/tty0: No such file or directory
framebuffer: fd 3 (480 x 800)
ClockworkMod Recovery v2.5.0.1
I:Boot command: boot-recovery
I:Got arguments from boot message
I:Set boot command "boot-recovery"
Command: "recovery"
What do you think what is wrong?

st0kes said:
You can't do that with the bootloader on the desire. Our version of fastboot is "S-ON" (security enabled). You need an engineering bootloader (S-OFF) to flash images using fastboot. Hopefully we will get this one day.
Click to expand...
Click to collapse
technically, that is incorrect.
S-ON or S-OFF is a flag that's being interpreted by fastboot/hboot.
The engineering bootloader you talk about, ignores this flag and exposes developer options like flashing through the fastboot protocol directly, without a signature.

scott4 said:
Currently in order to unroot Desire, is to push flash_image and mtd0.img to Desire through ADB, and then execute like: flash_image misc mtd0.img, then is able to run any RUU to unroot Desire. Since we still do not have RUU 2.1 or 2.2 for official HK rom (not test rom), we have no way to unroot our HK Desire.
I am thinking if there is any trick can mimic a RUU .exe file which is able to change back the CID or signature file to an official Hong Kong one. Then OTA can be done as it check signature during OTA upgrade. Do you think it is workable?
Click to expand...
Click to collapse
I like the theory, but you would probably have to fool the RRU so that it thinks your img files have the same checksums as the original img files. I've never heard of anyone being able to repack and flash an RRU file.
kekojan said:
Starting recovery on Fri Sep 3 13:03:42 2010
can't open /dev/tty0: No such file or directory
framebuffer: fd 3 (480 x 800)
ClockworkMod Recovery v2.5.0.1
I:Boot command: boot-recovery
I:Got arguments from boot message
I:Set boot command "boot-recovery"
Command: "recovery"
What do you think what is wrong?
Click to expand...
Click to collapse
I think something is wrong with your update-script.
Btw, forget about your system.img, you can't use it .. you have to work with the contents of the system directory instead

ieftm said:
technically, that is incorrect.
S-ON or S-OFF is a flag that's being interpreted by fastboot/hboot.
The engineering bootloader you talk about, ignores this flag and exposes developer options like flashing through the fastboot protocol directly, without a signature.
Click to expand...
Click to collapse
Are you sure about that? I had always thought that S-OFF meant it was an engineering bootloader.
I didn't think you could get an engineering bootloader that was also S-ON.

st0kes said:
Are you sure about that? I had always thought that S-OFF meant it was an engineering bootloader.
I didn't think you could get an engineering bootloader that was also S-ON.
Click to expand...
Click to collapse
unrevoked 3.2 seems to be able to set to S-OFF!! but waiting it release

st0kes said:
Are you sure about that? I had always thought that S-OFF meant it was an engineering bootloader.
I didn't think you could get an engineering bootloader that was also S-ON.
Click to expand...
Click to collapse
Bootloaders are either ship or eng.
The latter ignores secuflag and allows extended fastboot commands.
So bootloader or s-off are two separate things.
S-off is mainly for unsigned flashing and nand writelocks.
scott4 said:
unrevoked 3.2 seems to be able to set to S-OFF!! but waiting it release
Click to expand...
Click to collapse
only on cdma desire.
For gsm desire you will need to wait for our s-off/eng hboot 0.93 release.
This is a patched hboot to ignore security, and allow extended fastboot commands.
So essentially S-OFF and eng.

scott4 said:
Currently in order to unroot Desire, is to push flash_image and mtd0.img to Desire through ADB, and then execute like: flash_image misc mtd0.img, then is able to run any RUU to unroot Desire. Since we still do not have RUU 2.1 or 2.2 for official HK rom (not test rom), we have no way to unroot our HK Desire.
I am thinking if there is any trick can mimic a RUU .exe file which is able to change back the CID or signature file to an official Hong Kong one. Then OTA can be done as it check signature during OTA upgrade. Do you think it is workable?
Click to expand...
Click to collapse
Flashing the misc partition allows you to bypass (fake, really) version checks with an RUU flash, nothing more. It doesn't affect root nor does it have anything to do with signature checking (which is currently impossible to disable on the GSM Desire).

Related

how to flash a zimage

please if some one knows how to flash a zimage kernel with adb shell????
kaokollaa said:
please if some one knows how to flash a zimage kernel with adb shell????
Click to expand...
Click to collapse
You can't do it with adb. The only way is to use fastboot from the android sdk (same folder that adb is located in) and use:
Code:
fastboot flash zimage zImage (where the second zImage is the filename)
kaokollaa said:
please if some one knows how to flash a zimage kernel with adb shell????
Click to expand...
Click to collapse
To flash a zImage:
1. Place the zImage you want to flash inside your AndroidSDK\tools folder
2. Reboot your phone into FASTBOOT/bootloader mode
3. Run the following commands (from your AndroidSDK\tools PATH):
Code:
fastboot devices -- Should pull up serial #
Code:
fastboot boot zImage -- Your phone will automatically reboot
The command above will only temporarily boot the new zImage, meaning you can test and do whatever you want, but after you reboot your phone again -- your previous zImage will be reloaded, removing the current one you were testing (Recommended method for testing, until you're sure you want to permanently flash).
If you want to make the new zImage you're trying to flash permanent, enter this command instead:
Code:
fastboot flash zimage zImage
Fastboot might hang so just turn the power off on your Evo then put it back into “fastboot” mode by pressing on the Power button WHILE holding down the Volume down button. Then press Power button once more to enter “fastboot” mode. You should see the image flashing now. Just reboot after that.
I'm trying to flash a zImage and I first got this error with the 0.97 bootloader
Code:
writing 'zImage'... FAILED (remote: not allowed)
And with the eng bootloader the error says
Code:
writing 'zImage'... FAILED (remote: unknown fail)
Anybody have any ideas to fix this? I searched for a while and turned up nothing.
do you have eng .76 bootloader? it is the one needed for clockworkmod. also, instead of the second zimage, type the name of your file. are you on a mac or a pc? if you are on a mac, you will need the mac fastboot file. pm me if you need it.
dkdude36 said:
do you have eng .76 bootloader? it is the one needed for clockworkmod. also, instead of the second zimage, type the name of your file. are you on a mac or a pc? if you are on a mac, you will need the mac fastboot file. pm me if you need it.
Click to expand...
Click to collapse
I flashed the eng bootloader and that's when I started getting the "remote: unknown fail" error when trying to flashe the zimage.
The file IS named zImage so that's right.
Plot thickens- now it will only boot into fastboot. I tried restoring my nandroid and it will still only boot into fastboot. I can get into the bootloader and recovery no problem but the phone reboots into fastboot every time.
I tried to flash a stock PC36IMG file and during the install process next to boot it says Fail-PU.
Now it says "Partition update fail!"
Please tell me I didn't just brick my phone.
EDIT: Ok, I flashed the PC36IMG file again and now it's booting again. My question is this- is the kernel stored on the boot partition? Would wiping the boot partiton and then flashing the zImage work? What commands would I use to do that?
http://tinypic.com/r/2q9ifir/7
dont know what to do...
Replay
MishXT said:
****tinypic****/r/2q9ifir/7
dont know what to do...
Click to expand...
Click to collapse
I am a ubuntu user,
but you need root permissions,
Try what you get when you type : fastboot devices
When you get an error with no permissions. Get root acces (in ubuntu sudo -s)
try export the fastboot directory path and run fastboot devices again.
Then when that is working, try your thing again. There will be no errors
Murakuchi said:
I am a ubuntu user,
but you need root permissions,
Try what you get when you type : fastboot devices
When you get an error with no permissions. Get root acces (in ubuntu sudo -s)
try export the fastboot directory path and run fastboot devices again.
Then when that is working, try your thing again. There will be no errors
Click to expand...
Click to collapse
I'm pretty sure he figured this out already as his question is close to 2 years old.
Evilone69tmg said:
I'm pretty sure he figured this out already as his question is close to 2 years old.
Click to expand...
Click to collapse
+1 lolz
HipKat said:
+1 lolz
Click to expand...
Click to collapse
haha bless him he actually thought he was helping rofl hehe xx
KernelDev101 said:
haha bless him he actually thought he was helping rofl hehe xx
Click to expand...
Click to collapse
Hello, another post added to a year old thread.
I am getting trouble trying to flash a custom compiled HTC amaze x715e. (unbranded, S-off, unlocked, SuperCID)
I cross-compiled the kernel source and now have the zImage in my /arch/arm/boot folder.
fastboot flash zimage zImage
results in 'FAILED (remote: not allowed)'
fastboot boot zImage
results in 'FAILED (remote: reproduce boot image with on-flash ramdisk error)'
How am I suppose to flash this?
Is there a thread for this?
Thanks in advance.

[Q] HTC Desire Problem to flash sytem: FAILED (remote: signature verify fail)

Hello,
Finally I can compile the AOSP for HTC Desire (with bravo vendor's files).
The problem is when I try to flash the system through fastboot mode. I get the following error:
sending 'system' (87270 KB) ... OKAY [11.382s]
writing 'system' ... INFOsignature checking...
FAILED (remote: signature verify fail)
The phone has the following config:
BRAVO PVT3 SHIP S-ON
HBOOT-0.83.0001
MICROP-051d
TOUCH PANEL-SYNW0101
RADIO-5.11.05.27
Thanks in advance
Possibly, because you are S-ON.
Use AlphaRev's program to S-OFF.
Sent from my customized HTC Desire using TTP
davebugyi said:
Possibly, because you are S-ON.
Use AlphaRev's program to S-OFF.
Sent from my customized HTC Desire using TTP
Click to expand...
Click to collapse
Thanks for your response.
Actually I read that there are 2 possible solutions:
- Use AlphaRev's program to S-OFF
- create an update.zip for install the system.img from ClockworkMod recovery (I have the version 2.5.0.7)
Is the second option possible too? or is more complicated?
Hope anybody can help me !
It is possible to install it from CWM, yes.
I think The Developement section has toturials on cooking the .zip file.
now problem when I flashing AOSP
Hello, I have a problem when I try to flash the AOSP compiled for the HTC Desire,
I'm using the recovery ClockworkMod 2.5.0.7
and when I flash the update.zip I get the following error:
E: Can't chown/mod /system/keyspa.sh
(No such file or directory)
E:Failure at line 14:
set_perm 0 0 06755 SYSTEM:keyspa.sh
Installation aborted
somebody know what's happening?
Thanks in advance..
Have you tried wiping data and cache?? Don't forget to back up before doing so other wise you'll be romless.. :-(
Sent from my HTC Desire using XDA Premium App
now the problem is the update-script / updater-script
dstephens189 said:
Have you tried wiping data and cache?? Don't forget to back up before doing so other wise you'll be romless.. :-(
Sent from my HTC Desire using XDA Premium App
Click to expand...
Click to collapse
Hey thanks for your response!
yeah I did that. I think the problem is the update-script. Well I try replacing the update-script by a updater-script from customized roms like Oxygen1.04 or CyanogenMod 6. But when I try to apply the update.zip I get the following error:
can't open /dev/tty0: No such file or directory
So I'm using the ClockworkMod recovery 2.5.0.7, and I don't know if that recovery can work with "updater-script" or just update-script.
Hope anybody can help me
how can I generate the update-binary for my updater-script
I figured that maybe the problem is because I dont have a udpate-binary file next to my updater-script.
someone can told how can I generate this file?
Thanks in advance..
the update-binary file?
davebugyi said:
It is possible to install it from CWM, yes.
I think The Developement section has toturials on cooking the .zip file.
Click to expand...
Click to collapse
Hey! thanks for your response, the problem is that I cant find the way for get the update-binary file..do you know how can I do that?
Thanks in advance..
Do you just want to flash a rom?
Did you root your desire?
First start clockworkmod recovery 2.5.0.7
select install zip from sdcard,
troggle signature verification off
select choose update from sdcard.
select the rom
( you can flash a recovery image using unrevoked )
Hope this helps
how is the issue..
Keon91 said:
Do you just want to flash a rom?
Did you root your desire?
First start clockworkmod recovery 2.5.0.7
select install zip from sdcard,
troggle signature verification off
select choose update from sdcard.
select the rom
( you can flash a recovery image using unrevoked )
Hope this helps
Click to expand...
Click to collapse
Thanks for your response!
I have the HTC Desire rooted, with ClockworkMod Recovery 2.5.0.7
Then I started to compile the AOSP (froyo) for my HTC Desire (with vendor's files and propietary files extracted from the phone with Cyanogen Mod 6.1.1 - Android 2.2) and once I had the system.img I tried to flash it over the phone.
The problems started there, I figured that I had the S-ON so I cant use the fastboot mode in order to flash the system.img.
Here I had two ways:
- use the alphaRev 1.8 HBOOT and get the S-OFF
- create an update.zip and flash the rom AOSP with the ClockworkMod Recovery.
So I chose the last option, and I tried to create the update.zip.
First I tried create the update-script and when I flash over the phone I got several problems.
So then I tried with the updater-script but I cant because I got an error:
can't open /dev/tty0: No such file or directory
I figured that I need an update-binary file and put it next to the udpater-script.
The problem that I had is how can I get that update-binary file?
Now one guy told me that file can be obtained when I compile the AOSP, making:
make otapackage..
So I'll try it now.. and hope it works
Did you ever manage to flash a Rom on your phone??
Sent from my HTC Desire using XDA Premium App

[Q] S-ON, non-rooted Z won't boot or go into recovery.

Hi All.
Not my phone, but a friends:
VISION PVT SHIP S-ON
HBOOT-0.85.0013
MICROP-0425
RADIO-26.10.04.03_M
eMMC-boot
Apr 11 2011.23:36:27
If you go into recovery, the phone just vibrates a few times and turns off. If you go Factory Reset, the phone just freezes.
I've tried:
RUU with no luck (get's stuck on Rebooting into Bootloader)
tried putting the .ZIP onto the SD but got "ModelID Incorrect" (can't create a GoldCard as phone won't boot, therefor no ADB)
flashing a recovery through fastboot but got "FAILED (remote: signature verify fail)"
booting into recovery using fastboot boot (FAILED (remote: signature verify fail))
I assume all my issues have been due to S-ON.
I'm stumped - any ideas?
There have been a few folks on here with the same issue in the last few weeks. Not that the phone is terribly old, but I wonder if it can be that some hardware component (eMMC or other) is failing over time?
expza said:
Hi All.
*snip*
RUU with no luck (get's stuck on Rebooting into Bootloader)
tried putting the .ZIP onto the SD but got "ModelID Incorrect" (can't create a GoldCard as phone won't boot, therefor no ADB)
flashing a recovery through fastboot but got "FAILED (remote: signature verify fail)"
booting into recovery using fastboot boot (FAILED (remote: signature verify fail))
?
Click to expand...
Click to collapse
IIRC there is a way to create a GoldCard manually without the phone ... but i'm highly unsure :-s
The last two sounds like an error due to s-on
oelly said:
IIRC there is a way to create a GoldCard manually without the phone ... but i'm highly unsure :-s
The last two sounds like an error due to s-on
Click to expand...
Click to collapse
I was able to create a working GoldCard using my phone, it no longer gives Model-ID Incorrect. HOWEVER, new problem. It's now moaning about Main Version being older, update failed.
I see android-info.txt in the ZIP is:
modelid: PC1010000
cidnum: T-MOB010
mainver: 2.15.531.3
hbootpreupdate:12
However, this phones info is:
VISION PVT SHIP S-ON
HBOOT-0.85.0013
MICROP-0425
RADIO-26.10.04.03_M
eMMC-boot
Apr 11 2011.23:36:27
I assume it's the Radio Version number that is not matching up - however, the one RUU's in Shipped-Roms with that Radio Number are EXE's and not ZIPs.
Does anyone know how I can get a ZIP RUU that would work with this phones current versions?
edit: p.s. ZIP I'm currently using is PC10IMG_Vision_TMOUS_2.15.531.3_Radio_12.52.60.25U_26.08.04.30_M3.zip (renamed when on SDcard to PC10IMG.zip)
double edit: Have found a way to extract zip from EXE. Loaded it to Gold Card and update is currently flashing via HBOOT. Still on Bootloader. Assume this takes a while (10 - 15 minutes), so I'll be patient.
combo edit: should state the the RUU ZIP I extracted was RUU_Vision_Gingerbread_S_HTC_WWE_2.42.405.2_Radio_12.56.60.25_26.10.04.03_M_release_199043_signed.exe
Phone honors the PC10IMG.zip, but gets stuck on BOOTLOADER - Updating.
Any suggestions? Is it safe to delete items out of the RUU .zip? Want to try flash recovery.img only.
edit: looks the the rom.zip I extract is always corrupt (when trying to edit it using WinRAR or something)
You can't edit the zips, they are signed, so anything you do to them will cause them to not flash.
Winrar might be complaining because of the signing.
-Nipqer
Given up on trying to flash the RUU via HBOOT - it just freezes on "Bootloader - Updating" - pulling battery causes no issues so I assume it doesn't even attempt to flash anything.
Next step, using HTCDev to unlock the bootloader? Safe? I worry that the Bootloader not flashing via RUU means that HTCDev Bootloader Unlock won't work, or could possibly break it.
same problem
hi mate, im having the exact same problem as you...did you manage to fix it?
i have found the same ruu for my radio version but it gets stuck on the bootloader as the bar moves but the fone stays on the same screen.
do u think i need to make that goldchip card? how do i make one please?
i had that same problem just 2 days ago so in order to get the ruu to flash right it has to be a radio thats higher than the one you already have ... but if that dosnt work you will have to change it manualy using adb in recovery mode so wat you do is power offf the phone comptley and plug it in your computer via usb then open up adb and type adb devices the phone has to be off and it should show your device id then the word recvery next to it then your gunna wanna pull the misc.img from the phone and edit it with a hex editor i did this method to downgrade my g2 kus my sdcard dosnt read but after you change the misc the ruu shuld flash fine 1.power off phone Connect phone to computer,
2.Open adb cmd and type : adb shell
3.Type su
4. if you get # symbol continue
5.Type : dd if=/dev/block/mmcblk0p24 of=/sdcard/misc.img (YOU CAN COPY THE IMG TO EITHER sdcard, which is internal memory, or sdcard2, which is removal card)
6. Switch to USB mode
7.copy misc.img from the root of the sdcard to your computer
8.Open misc.img with HeX Editor XVI32
9.Find the version and change it. it will be the first area in the the upper right in the screen of the app
10.change the number in whatever you want. (has to be in the form of.. 1.00.000.0
11.Save it and upload it to the root of the sdcard with miscnew.img name
12. Switch to charge mode
13.Type adb shell, su dd if=/sdcard/misc.img of=/dev/block/mmcblk0p24
14.Reboot to fastboot then fastboot reboot to RUU then fastboot flash PC10IMG.zip and it shuld flash fine
---------- Post added at 11:42 PM ---------- Previous post was at 11:37 PM ----------
or yu can try this http://forum.xda-developers.com/showthread.php?t=1526316 and should work its alot easier than the adb method
Never managed to fix this (tried the exact same thing ari3z suggested, but ages ago) - just kept freezing when trying to write anything to flash.
Phone was eventually swapped out in warranty.

[Q] After downgrade touch don't work

My HTC wildfire touch don't work after downgrade from 2.34.186.1 to from 2.34.186.1.
The branding ist 1und1. After this i try to find the original OTA 2.34.186.1 to upgrade
to the old one that was on the phone before. - no way - i don't found
After this i unlocked the bootloader and i think that there is a way to upgrade any firmware
but its not possible.
My bootscreen:
*** UNLOCKED ***
BUZZ PVT SHIP S-ON
HBOOT-1.02.0000
MICROP-0622
RADIO-3.35.15.31
Dec 13 2011,12:08:54
The HTC boot normaly to the lock screen but the touch don't work.
Anyone an idea to solve my problem an install another rom?
Here is another thread that discusses a similar issue.
Hope it'll help.
http://forum.xda-developers.com/showthread.php?t=1056767
Sent from my G9 using Tapatalk
Pretendde said:
My HTC wildfire touch don't work after downgrade from 2.34.186.1 to from 2.34.186.1.
The branding ist 1und1. After this i try to find the original OTA 2.34.186.1 to upgrade
to the old one that was on the phone before. - no way - i don't found
After this i unlocked the bootloader and i think that there is a way to upgrade any firmware
but its not possible.
My bootscreen:
*** UNLOCKED ***
BUZZ PVT SHIP S-ON
HBOOT-1.02.0000
MICROP-0622
RADIO-3.35.15.31
Dec 13 2011,12:08:54
The HTC boot normaly to the lock screen but the touch don't work.
Anyone an idea to solve my problem an install another rom?
Click to expand...
Click to collapse
Hmmm. This is going to be hard to get out of as you upgraded your Hboot. Does the phone still register fastboot commands? Also what downgrade thread did you follow?
Sent from my HTC Sensation using Tapatalk
It dont work at update with ruu shows the version 2.46.0.0 of the divece rom....
The update prozess stops and there is " FEHLER [155] : ABBILD-UPDATE-FEHLER " (IMAGE UPDATE ERROR)
The same with the PC49IMG.zip on microsd card:
RUU
Security fail!
Update Fail!
Pretendde said:
It dont work at update with ruu shows the version 2.46.0.0 of the divece rom....
The update prozess stops and there is " FEHLER [155] : ABBILD-UPDATE-FEHLER " (IMAGE UPDATE ERROR)
The same with the PC49IMG.zip on microsd card:
RUU
Security fail!
Update Fail!
Click to expand...
Click to collapse
That's not what I mean, to unlock your bootloader you would have had to issue the command fastboot OEM unlock, or fastboot flash OEM unlock unlock_token.bin or something similar. These types of commands are the ones I'm interested in I want to see if you can flash clockworkmod recovery pal.
Sent from my HTC Sensation using Tapatalk
I downgraded with the standard buzzdowngrade.zip package, step1 but the goldcard-step fail.....i flashed after hboot downgrade RUU_Buzz_Vodafone_DE_1und1_1.19.186.3_Radio_13.45.55.24_3.35.15.31_release_133745_signed.exe
Than was the problem with the touch ... it dont work.
After this i tryed many ruu's ....no way.
Than i downloaded from htcdev - PC4910000_Buzz_Froyo_hboot_1.02.0000_R3.exe and flashed and unlocked with Unlock_code.bin
I was thinking i would be able to unlock and update every rom
Pretendde said:
I downgraded with the standard buzzdowngrade.zip package, step1 but the goldcard-step fail.....i flashed after hboot downgrade RUU_Buzz_Vodafone_DE_1und1_1.19.186.3_Radio_13.45.55.24_3.35.15.31_release_133745_signed.exe
Than was the problem with the touch ... it dont work.
After this i tryed many ruu's ....no way.
Than i downloaded from htcdev - PC4910000_Buzz_Froyo_hboot_1.02.0000_R3.exe and flashed and unlocked with Unlock_code.bin
I was thinking i would be able to unlock and update every rom
Click to expand...
Click to collapse
Ok so fastboot works, good good. Do you have clockworkmod recovery installed? If not follow my thread for rooting hboot 1.02.0000 and install clockworkmod but go no further.
Also just for your information the ruu will not install because of
1. Your honor is higher than the ones in the RUU,
2 your bootloader is unlocked.
We need to downgrade you to the WWE rom with hboot 1.01.0001 and hopefully that will restore your touch panel to working order
Sent from my HTC Sensation using Tapatalk
Clockworkmod recovery is installed, rooting hboot 1.02.0000 o.k.
and now?
Pretendde said:
Clockworkmod recovery is installed, rooting hboot 1.02.0000 o.k.
and now?
Click to expand...
Click to collapse
ok so what we want to do know is downgrade your hboot to 1.01.0001 so to do that we need your misc partition to be edited. as such i would like you to boot the phone into clockworkmod recovery and connect it to the pc with a usb cable. windows should install the drivers if it has not done so already.
next you will need to set up your command prompt for using adb/fastboot commands.
then we will pull a copy of your misc partition to your sdcard and then copy it into your windows adb folder.
then you will upload that image to me, i will make the necessary changes and then re-upload for you.
then you will flash it to the phone all going well, re-lock your bootloader and then downgrade your hboot and rom and hopefully regain touch input
then as an extra if you want to use a rooted version of that german ruu you were trying to flash i can make you a "safe to flash" version
ok, so....
step 1. Connect your wildfire up to your pc In clockworkmod recovery mode.
step 2. open a command prompt within your adb/fastboot folder. (the same one you used to flash clockworkmod recovery)
step 3. enter the following commands one at a time. copy paste is recommended.
Code:
adb shell
su
cat /dev/mtd/mtd0 > /sdcard/misc.img
exit
exit
adb pull /sdcard/misc.img misc.img
step 4. Upload this file to somewhere like dropbox or media fire and then send me a link to it.
in command prompt
su
/sbin/sh: su: not found
what i do wrong?
Pretendde said:
in command prompt
su
/sbin/sh: su: not found
what i do wrong?
Click to expand...
Click to collapse
OK just skip that and move onto the next bit.
Sent from my Nexus 7 using Tapatalk
I attached this file here, i hope it is o.k.
It takes a while until i found out to mount the SD card before
Pretendde said:
I attached this file here, i hope it is o.k.
It takes a while until i found out to mount the SD card before
Click to expand...
Click to collapse
okey dokey, here is your new misc image. extract it into your adb folder.
i have edited this so it will re-lock your bootloader automatically once you have flashed it. one problem solved
also download this package, it has some tools you will need and the WWE rom you need to flash
lastly we need to make a goldcard. this will be hard given that your touch screen is non-functional. as such you will need a different, working android phone and YOUR sdcard. this trick is sdcard specific so dont swap them about
ok once you are ready with the right stuff, do these steps.
step 5. now we need to make a gold card. if you already have one, you can skip this part. first using your working android phone, download and install Goldcard helper from the android market. Run the app and copy down your SD cards reverse cid. double check it
step 6. now go to this website here and enter in your reverse cid. it will then let you download a goldcard.img.
step 7. now go back to the package you downloaded earlier with the WWE rom (named 1.01.zip) in it and run the goldcardtool.exe, this will flash the goldcard to your sd card. Warning! this will format your card!! in order to achieve this you will have to mount the sdcard from clockworkmod recovery to the computer, use mount usb storage and not mount sdcard.
step 8. once that is done we are now ready for the final push
Now the gold card is ready, i leave al the data on the goldcard, its not been formatted. Goldcard tool says, G: Goldcard is now ready.
The new misc image, must be copy to the phone ?
Pretendde said:
Now the gold card is ready, i leave al the data on the goldcard, its not been formatted. Goldcard tool says, G: Goldcard is now ready.
The new misc image, must be copy to the phone ?
Click to expand...
Click to collapse
ok from here copy the Nmisc.img to your sdcard and do not rename it, leave it on the sd card within no folders.
then connect up the phone in clockworkmod recovery again, and mount the sdcard with mount sdcard and not usb mass storage.
lastly make sure that the 1.01.zip is in your adb folder.
issue the following commands.
Code:
adb shell
(your shell symbol should be a #)
flash_image misc /sdcard/Nmisc.img
exit
(now it should not be a #)
adb reboot bootloader
The phone should not reboot into bootloader and should say at the top locked OOW.
This is ok, if it does not say this then your misc image was not flashed.
if all is well issue these commands.
Code:
fastboot oem rebootRUU
fastboot flash zip 1.01.zip
This will state an error, and that it needs to be reflushed. this is what we want, if any other issue your goldcard may have failed.
repeat the last command to reflush.
Code:
fastboot flash zip 1.01.zip
(this will take a while.)
fastboot reboot
the phone should reboot into the WWE stock rom and hopefully your touch screen will be working again. if it is proceed to s-off with revolutionary here ignore all but revolutionary and then if you want the german ruu as a safe flash rom send me a link to the ruu and I will make it. but it make take a few days.
im at work atm so my replys will be delayed pal, good luck
INFOsignature checking...
INFOzip header checking...
INFOzip info parsing...
INFOchecking model ID...
INFOchecking custom ID...
FAILED (remote: 42 custom id check fail)
finished. total time: 63.656s
i flashed 3 times....
Pretendde said:
INFOsignature checking...
INFOzip header checking...
INFOzip info parsing...
INFOchecking model ID...
INFOchecking custom ID...
FAILED (remote: 42 custom id check fail)
finished. total time: 63.656s
i flashed 3 times....
Click to expand...
Click to collapse
Your gold card has failed. Format the sdcard and then reissue the fastboot commands.
Sent from my HTC Sensation using Tapatalk
Yes the goldcard was bad, now its okay but n ow a new error :
INFOsignature checking...
FAILED (remote: not allowed)
finished. total time: 56.078s
flashed 5 times ...same error
Pretendde said:
Yes the goldcard was bad, now its okay but n ow a new error :
INFOsignature checking...
FAILED (remote: not allowed)
finished. total time: 56.078s
flashed 5 times ...same error
Click to expand...
Click to collapse
Does your bootloader still say locked?
Sent from my HTC Sensation using Tapatalk
heavy_metal_man said:
does your bootloader still say locked?
Sent from my htc sensation using tapatalk
Click to expand...
Click to collapse
yes
*** locked (00w) ***

Soft-bricked D820n a51_ul after upgrading just firmware from OTA

Hello,
i have single sim d820 (europe)
Code:
***************************
Software status: Modified
A51_UL PVT SHIP S-ON
hboot-3.19.0.0000
radio-01.01.010_U10305041_08.01.50512
os-2.10.401.2
***************************
Before i messed it up it was unlocked and rooted and S-ON, then i wanted to install OTA and i flashed firmware.zip extracted from OTA zip file (bad idea). Now i'm unable to get my phone working...
What i can do:
-enter bootloader
-fastboot commands
-enter recovery
What I've tried and didn't work:
-flash stock recovery, lock, flash RUUk44.zip via fastboot (signature verify fail)
-flash stock recovery, lock, flash lollipop OTA (signature verify fail)
-flash TWRP, restore k44 backup (bootloop after reboot from recovery)
The question is, if I would somehow obtain firmware from k44 stock, is it possible to downgrade on S-ON using "fastboot flash zip" and then restore backup or flash RUU?
I cannot find magical RUU.exe for this model there are only zip files...
Guys maybe someone can dump kitkat firmware i would be grateful...
I appreciate any idea, please help me solve it
Look here: http://www.easy-firmware.com/index.php?a=browse&b=category&id=725
The first zip ist the europa version kk 4.4. for 51 ul.
Rename it as OPFJIMG.zip and put it on your external sd car. boot into bootloader and let it run. I hope it works for you!
By the way, is it possible for you to upload and share your complete OTA zip? Would be wonderfull.
Oel said:
The first zip ist the europa version kk 4.4. for 51 ul.
Rename it as OPFJIMG.zip and put it on your external sd car. boot into bootloader and let it run. I hope it works for you!
By the way, is it possible for you to upload and share your complete OTA zip? Would be wonderfull.
Click to expand...
Click to collapse
Zip method does not work for me neither from fastboot nor from sdcard. In fastboot i get "signature verify fail", via sdcard it says sth like "fail due to large image failed".
I'm now downloading exe file from your link.
edit: RUU.exe from link above failed - stuck at 4%(checking header or sth like that)
I will upload OTA zip this night.
Maybe i don't understand something, but i wonder why RUU zip doesn't contain firmware.zip like OTA update package.. ?
Good luck and thank you for the upload bro!
cr3h said:
I will upload OTA zip this night.
Click to expand...
Click to collapse
Do you have the OTA uploaded ?
Today it was possible for me to install the orange version spain from the ruu.zip what i mentioned to you!
I was following this tut:
"You can extract the ROM.zip from any RUU to install via ZIP
Start the RUU and once at the first main screen click Start>Run and type
%temp%
now, find the newest folder and in there will be a ZIP file called Rom.zip - copy this to your desktop and rename it to OPFJIMG.zip Now copy this to your SD card and start the phone in HBOOT (turn it on whilst holding volume down). It will find the file and start the update. Just follow the instructions...
It will wipe your phone, though"
Than with the zip on the sdcard i started fastboot and adb on my computer, i entered the command "fastboot oem lock", the message "Unlocked" and Security Warning" appeared, than i pressed the On/Off button, it changed to bottloadermodus, and voila, it was eating the zip!
Only this zip was good enough, the other zips was not running, not the europe version and not the english orange version. But with the spanish version ist was ok. But only with the extracted Rom.zip. When i started the Ruu.zip it stops the update Process after some %. But the Rom.zip from the same ruu works without bad messages.
Now i have a clean firmware on y desire 820n 51 ul.
The languages in this version are: Deutsch, English, Español, Francais, Portugues.
Oel said:
Do you have the OTA uploaded ?
Today it was possible for me to install the orange version spain from the ruu.zip what i mentioned to you!
I was following this tut:
"You can extract the ROM.zip from any RUU to install via ZIP
Start the RUU and once at the first main screen click Start>Run and type
%temp%
now, find the newest folder and in there will be a ZIP file called Rom.zip - copy this to your desktop and rename it to OPFJIMG.zip Now copy this to your SD card and start the phone in HBOOT (turn it on whilst holding volume down). It will find the file and start the update. Just follow the instructions...
It will wipe your phone, though"
Than with the zip on the sdcard i started fastboot and adb on my computer, i entered the command "fastboot oem lock", the message "Unlocked" and Security Warning" appeared, than i pressed the On/Off button, it changed to bottloadermodus, and voila, it was eating the zip!
Only this zip was good enough, the other zips was not running, not the europe version and not the english orange version. But with the spanish version ist was ok. But only with the extracted Rom.zip. When i started the Ruu.zip it stops the update Process after some %. But the Rom.zip from the same ruu works without bad messages.
Now i have a clean firmware on y desire 820n 51 ul.
The languages in this version are: Deutsch, English, Español, Francais, Portugues.
Click to expand...
Click to collapse
Here is link to uploaded OTA: http://forum.xda-developers.com/des...ta-d820n-single-sim-a51ull50-europe2-t3226897
I'm getting this error, after hboot detects 0PFJIMG.zip: Device halted due to Large Image update fail, and my bootloader is relocked.
Did you flash this onto OS-2.10.401.2??
It looks like i have to wait for lollipop RUU and/or for S-OFF possibility.... am I correct?
Maybe i can try flash separate partition dumps from FW 1.29 (radio, rcdata, etc...)?
cr3h said:
It looks like i have to wait for lollipop RUU and/or for S-OFF possibility.... am I correct?
Maybe i can try flash separate partition dumps from FW 1.29 (radio, rcdata, etc...)?
Click to expand...
Click to collapse
S-OFF would solve the problem, because you can flash (upgrade and downgrade) than every os-version for the desire 820.
Of cource, you can try to flash dumps from 1.29 if this was your original firmware. Maybe it works.
Oel said:
S-OFF would solve the problem, because you can flash (upgrade and downgrade) than every os-version for the desire 820.
Of cource, you can try to flash dumps from 1.29 if this was your original firmware. Maybe it works.
Click to expand...
Click to collapse
If i only have these dumps... :crying:
cr3h said:
Hello,
i have single sim d820 (europe)
Code:
***************************
Software status: Modified
A51_UL PVT SHIP S-ON
hboot-3.19.0.0000
radio-01.01.010_U10305041_08.01.50512
os-2.10.401.2
***************************
Before i messed it up it was unlocked and rooted and S-ON, then i wanted to install OTA and i flashed firmware.zip extracted from OTA zip file (bad idea). Now i'm unable to get my phone working...
What i can do:
-enter bootloader
-fastboot commands
-enter recovery
What I've tried and didn't work:
-flash stock recovery, lock, flash RUUk44.zip via fastboot (signature verify fail)
-flash stock recovery, lock, flash lollipop OTA (signature verify fail)
-flash TWRP, restore k44 backup (bootloop after reboot from recovery)
The question is, if I would somehow obtain firmware from k44 stock, is it possible to downgrade on S-ON using "fastboot flash zip" and then restore backup or flash RUU?
I cannot find magical RUU.exe for this model there are only zip files...
Guys maybe someone can dump kitkat firmware i would be grateful...
I appreciate any idea, please help me solve it
Click to expand...
Click to collapse
Hello. Did you managed to fix your phone? I have exactly the same problem as you. I don't know how to fix it ;d
Hello. Did you managed to fix your phone? I have exactly the same problem as you. I don't know how to fix it ;d
Click to expand...
Click to collapse
No, i did not.
I think there are 2 maybe 3 options:
- Wait for s-off (or pay for it now), then downgrade
- Wait for lollipop RUU for our current firmware
- Try to flash twrp backup of someone's lollipop - but im not sure if twrp works on llpop already, does it?
- Maybe try to flash firmware partitions separately, dumped from someone's d820n, but i don't know if it's even possible to reflash device that way. This can also be a last step to totally brick
I made s-off and cid-11111111 also flash with ( RUU_A51_UL_K44_DESIRE_SENSE60_Orange_ES_1.28.75.2_Radio_01.01.010_U10305041_08.01.41222_2_release_421565_signed 0
this ruu.Flash successful but still hang on logo and restart.
hello, can you share the Orange_es .zip file?
cr3h said:
Hello,
i have single sim d820 (europe)
Code:
***************************
Software status: Modified
A51_UL PVT SHIP S-ON
hboot-3.19.0.0000
radio-01.01.010_U10305041_08.01.50512
os-2.10.401.2
***************************
Before i messed it up it was unlocked and rooted and S-ON, then i wanted to install OTA and i flashed firmware.zip extracted from OTA zip file (bad idea). Now i'm unable to get my phone working...
What i can do:
-enter bootloader
-fastboot commands
-enter recovery
What I've tried and didn't work:
-flash stock recovery, lock, flash RUUk44.zip via fastboot (signature verify fail)
-flash stock recovery, lock, flash lollipop OTA (signature verify fail)
-flash TWRP, restore k44 backup (bootloop after reboot from recovery)
The question is, if I would somehow obtain firmware from k44 stock, is it possible to downgrade on S-ON using "fastboot flash zip" and then restore backup or flash RUU?
I cannot find magical RUU.exe for this model there are only zip files...
Guys maybe someone can dump kitkat firmware i would be grateful...
I appreciate any idea, please help me solve it
Click to expand...
Click to collapse
http://forum.xda-developers.com/des...hip-s-hboot-3-19-0-0000-t3508017#post69879100

Categories

Resources