yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] nwnwnw:
Downgrade from RUU_Ace_Gingerbread_S_SoftBank_JP_2.37.762.2_Radio _12.54.60.25_26...

Hi,

I have try some guides, and nothing work for my. My DHD is not sim-locked, but I have installed a wrong ROM from Japan from here http://xdaforums.com/showthread.php?t=1056549

Message:

C:\DHDDoungrade>adb push psneuter /data/local/tmp

1661 KB/s <557962 bytes in 0.328s>

C:\DHDDowngrade>adb push misc_version /data/local/tmp

736 KB/s <15837 bytes in 0.021s>

C:\DHDDowngrade>adb shell chmod 777 /data/local/tmp/psneuter

C:\DHDDowngrade>adb shell chmod 777 /data/local/tmp/misc_version

C : \DHDDowngrade>adb shell /data/local/tmp/psneuter

Failed to set prot mask <Inappropriate ioctl for device)

C:\DHDDowngrade>adb shell

$ cd /data/local/tmp

cd /data/local/tmp

$ ./misc_version 1.31.405.6

./misc_version 1.31.405.6

Patching and backing up partition 17...

Error opening input file.

Can anyone help me ? Thanks
[Desire HD Android Development] niathan:
also here , many thx
[Desire HD Android Development] jkoljo:
No wonder it does not work, you failed to read the guide properly. The section 2a is for Froyo ROMs, and you are using Gingerbread. You could also have read the troubleshooting section, where you would have found the answer.
[Desire HD Android Development] nteeb:
OK, thanks, I believe U.

Just thought that this number(1.31.405.6) must be the same like the version number(1.32.405.6) of the firmware we are gonna downgrade to.
[Desire HD Android Development] nwnwnw:
OK, now I have undestand and sucessfully downgraded from this RUU_Ace_Gingerbread_S_SoftBank_JP_2.37.762.2_Radio _12.54.60.25_26...

Many thanks !
[Desire HD Android Development] jkoljo:
Nope, actually the trick is to write a lower version number to the phone, so that your phone treats the 1.32.405.6 as an upgrade :)

Great job! This is also a confirmation for me that the steps in the guide are correct. And thanks a lot for the donation! :)
[Desire HD Android Development] nteeb:
Now I got it, thanks everything is clear now...:D
[Desire HD Android Development] minibillgates:
hi i have download PD98IMG.zip from all miror but when i try to open its say file is currupt

is it okay to go with this file or i try download other file ot it is normal ??
[Desire HD Android Development] jkoljo:
You should not open it. It is a digitally signed file, that is why you get that error.

Just check the MD5 sum if you want to confirm the integrity of the file.
[Desire HD Android Development] minibillgates:
thank you,

i get this checksum B6EE21651F846DAC03B0DDCC217D33C6

but i dont have the orignal md5 sum code please verify.
[Desire HD Android Development] jkoljo:
The correct checksum, C3D244A9F056E48EE3851A14FF52204C, can be found in second post :)
[Desire HD Android Development] minibillgates:
thank you

checksum is not matching where can i find the file with proper integrity

i tried all the links and mirrors
[Desire HD Android Development] jkoljo:
Hmm, I will upload the PD98IMG.zip to a new mirror tomorrow. You can just try to download again..

I will check the correct PD98IMG.zip MD5 sum again just to be sure. I am not 100% whether I updated it when I jumped from a ROM version to another.. :)

edit: The md5 sum is indeed correct, so your download is faulty. I will make a new mirror tomorrow.
[Desire HD Android Development] kuceens007:
Thanks now i understood. I wiil try to downgrade

Sent from my Desire HD
[Desire HD Android Development] dnlilas:
Yes, and with MyBackup free version you have apps and data backuped and could be restored.

I assume you have to re-enter your Google email, rebuild your screens and icons/widgets etc... ?
[Desire HD Android Development] BlackTigerX:
imho a backup of the sms is enough using "SMS Backup & Restore", the Market downloads all apps again, all contacts are stored at google aswell - so all I loose is the data (f.e. savegames) of the apps.

But yes, MyBackup Root (free) should do the job you need.
[Desire HD Android Development] klaudino3:
I've been trying all day but I always get "Error opening input file"
[Desire HD Android Development] jkoljo:
Well, did you connect Charge only? It is SD card related problem.
[Desire HD Android Development] klaudino3:
Yes I connect in charge only mode.

Is there any thing that i could make?

Maybe is because SD Card is protected?

It was already protected when i bought DHD and i dont know how to unprotect it.
[Desire HD Android Development] thorfr:
Tried it but same pb as others with CID error and i have done goldcard, and all steps without pb

(SFR)

and third test with another sd same pb

after the second bar in orange : CID incorrect! update failed! ...

i am asking if it s not linked to the step

7. Now, on your computer, goto http://psas.revskills.de/?q=goldcard and enter your email in the appropriate field and for CID enter the reversed CID you just copied down BUT REPLACE THE FIRST 2 DIGITS WITH 2 ZEROS! (i.e. 12345678910 becomes 00345678910). *Thanks to Viper for providing these Goldcards for FREE!

beacause my 2 first digits are 00
[Desire HD Android Development] jkoljo:
Well, if it is protected, there is your problem then. Try to format it.
[Desire HD Android Development] :
Pm sent jkoljo
[Desire HD Android Development] s0m3r:
hey, i have probrem with downgrade. when i reboot my phone i have a bug.

i see something like this:

HBOOT

SD Checking...

Loading...[PD98DIAG.zip]

No image!

Loading...[PD98DIAG.nbh]

No image or wrong image!

Loading...[PD98IMG.zip]

and then screen change to something like this:

HBOOT

Parsing... [SD ZIP]

[1] BOOTLOADER

[2] BOOT

[3] RECOVERY

[4] SYSTEM

[5] USERDATA

[6] SPLASH1

[7] SPLASH2

[8] TP

[9] TP

[10] TP

[11] TP

[12] RADIO_V2

[13] RADIO_CUST

Cancel update!

Press <POWER> to reboot.

is there something that could went wrong?
[Desire HD Android Development] kuceens007:
i have mesagge adb shell without #
[Desire HD Android Development] jkoljo:
s0m3r: Maybe you could try to download it again, it seems that for some reason your device does not accept the file, but neither does it show any error message..

kuceens, what do you mean? Do you have $ or #? If neither of those, you are in the wrong place or something.
[Desire HD Android Development] tadasi:
THANKYOU~~~~~ I JUST DONE IT

BUT IM USE THIS COMMAND "adb shell cat /sys/class/mmc_host/mmc2/mmc2:*/cid" TO CREATE GOLDCARD

HAHAA....IM FREE
[Desire HD Android Development] kuceens007:
Microsoft Windows XP [Version 5.1.2600]

(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Ina>cd "c:\Downgrade

C:\downgrade>adb push psneuter /data/local/tmp

adb server is out of date. killing...

* daemon started successfully *

1453 KB/s (0 bytes in 557962.000s)

C:\downgrade>adb push misc_version /data/local/tmp

989 KB/s (0 bytes in 15837.000s)

C:\downgrade>adb shell chmod 777 /data/local/tmp/psneuter

C:\downgrade>adb shell chmod 777 /data/local/tmp/misc_version

C:\downgrade>adb shell /data/local/tmp/psneuter

mmap() failed. Operation not permitted

C:\downgrade>adb shell
[Desire HD Android Development] tolis626:
First off,awesome work jkoljo!

But just to get this straight,I already have radio s-off(yes,did it with your tool),so what's the deal for me?The way I get it I just flash the ruu(or the PB** blah blah image) and am downgraded?I wanted to wait for a new way to root the 1.72 and backup everything before I install a custom rom,but I just can't wait so whatever,I'm gonna do it! :D

So,this guide is not for me I presume but for those that didn't s-off?

Thanks and keep on rocking! :)
[Desire HD Android Development] s0m3r:
it show error mesage on 1. screen it say

HBOOT

SD Checking...

Loading...[PD98DIAG.zip]

No image!

Loading...[PD98DIAG.nbh]

No image or wrong image!

Loading...[PD98IMG.zip]

but it goes along to next screen and then i can't do anything only <POWER OFF>
[Desire HD Android Development] klaudino3:
After format sd card was unprotected but still gives me the same error..:(
[Desire HD Android Development] kuceens007:
now it says daemon started sucesfully and ends with #

i did like it shown on your first post and after last text it shows # again

its correct now?
[Desire HD Android Development] ALPTEKİN_:
CID incorrect

Update fail

Press<POWER> to reboot

Fails to.Not update OTA ,Board official rom 1.72 .Help!!

sorry bad english
[Desire HD Android Development] jkoljo:
kuceens: Yeah, it is OK!

ALPTEKİN_: You have to make a Goldcard.

You are right, this is for those who previously were stuck.

That is not a real error, because it is just searching for files. Try to download PD98IMG.zip again.
[Desire HD Android Development] Prodelin:
I have GB stock ROM and have major problems with changing USB connection from charging to disk drive after i have done:

cd /data/local/tmp

./misc_version -s 1.31.405.6

I can see the SD card and contents with Astro File manager but i can't see it in Settings, it just says the SD card is not available and everything greyed out.

Should i reboot the phone to make it come back or will i brick it?
[Desire HD Android Development] jkoljo:
Did the misc version finish successfully? If it did, you do not have to run it ever again. There is no danger of bricking, feel free to reboot and do whatever you want to fix your issue with SD.
[Desire HD Android Development] jkoljo:
Try the new mirror, I just updated the first post :)
[Desire HD Android Development] Kaljo:
Stuck with 2.3.3?

It doesn't work for me:(

When running GingerBreak it stops: Something went wrong..............manually reboot......

I think cause I have Ship S-ON, that's why I want to downgrade

When the message appears I connect via USB to a PC as described in 2a

Tap the commands and when entering su it hangs, don't get the su-screen on the phone cause the error message is still there and I can't get rid of it

after a little while the phone reboots by itself

So no downgrade for me?? or is there a solution
[Desire HD Android Development] jkoljo:
This guide is NOT for people with S-OFF, but for people with

stock

DHDs.

For you, downgrading is way easier. Just download the PD98IMG.zip, put it to SD, reboot to bootloader and accept the flash :p
[Desire HD Android Development] Kaljo:
Sorry I meant I have Ship S-ON and stock rom
[Desire HD Android Development] jkoljo:
Just try it again mate, the guide works. It may take a few tries, rooting works by attacking the system, so it is not the most stable process.
[Desire HD Android Development] mesut19:
The Gingerbreak broke my SD card? wtf

Edit: I freaked out man I needed to uninstall Gingerbreak so my SD card would work again.
[Desire HD Android Development] NobodY2k10:
it feeled like 20 trys -

but after 21st. Bootloading worked :)

THANKS! Great work - keep going!
[Desire HD Android Development] Duncank:
I Fail at step 2

First; thanks for your tutorial on how to do this,

second; it fails at my phone (or I fail at something). I have a stock unbranded DHD with the latest Gingerbread OTA update applied and want to downgrade.

I've downloaded GingerBreak (v1.20) and tapped the Root button. GingerBreak starts working and in contrary to what almost everyone is writing here, it doesn't fail. It seems to end correctly and reboots my phone.

I assume it went well and continue with the cmd-section of the tutorial but when I navigate to the downloaded folder (...\Downloads\PD98IMG) and execute "su" I get (translated from Dutch) "su is not recognized as an internal or external command, program or batchfile."

Where have I gone wrong?

(ps, I tried the next step, but executing "adb ..." in cmd-prompt gives me the same error. HTC Sync installed)

(pps, after the GingerBreak reboot when I open Android Terminal and type "su", it sais "permission denied")
[Desire HD Android Development] mesut19:
Lol how do you get the: adb shell chmod 777 /data/local/tmp/misc_version

command right? I am stuck there xD
[Desire HD Android Development] jkoljo:
Issues with Gingerbreak can usually be resolved with a simple reboot.

How are you stuck with chmod, mesut?
[Desire HD Android Development] Duncank:
I don't get to that point, "su" doesnt work, but anything after "adb" doesnt work either...
[Desire HD Android Development] jkoljo:
Could you guys take a screenshot of your problems? Then I can help.
[Desire HD Android Development] Duncank:
Ofcourse: http://cl.ly/6XDy

My phone is connected in charging mode, USB Debugging enabled.

Translations: HTC Sync tells me "No phone connected" and cmd-prompt shows the error I've reported before: "no known command".
[Desire HD Android Development] mesut19:
Well.... Like this.

http://img222.imageshack.us/img222/3299/naamloospmn.jpg

I btw really appreciate your help. This is the first time I am trying to flash a custom rom
[Desire HD Android Development] jkoljo:
Duncank, Go check your PD98IMG folder, do you have adb.exe there? I think not ;)

Mesut, do you have psneuter in the folder you are currently in? It does not seem like it. Make sure that the folder structure is not like /downgrade/downgrade.
[Desire HD Android Development] Duncank:
You're psychic :O Do I have to redownload the file?

Edit, I see now I've missed a step *emberassing* I've overlooked the downgrade.zip.

I'm going to start again and if new problems come up, you'll here from me. Thanks for your quick responses!
[Desire HD Android Development] jkoljo:
You have to download the downgrade zip from first post, extract it, and go to it's location. It contains adb exe and so on.
[Desire HD Android Development] mesut19:
You were right about the folder with the downgrade/downgrade but now I got this:

http://img27.imageshack.us/img27/3930/hihihaha.jpg

I atleast got one step further after 4 hours ffs XD Thanks by the way :)
[Desire HD Android Development] jkoljo:
Ok, that is the time when you have to have Gingerbreak running, and finished with error. Then leave that open in your phone, and try su again. Please note that when you run su command, a superuser request pops up on your phone, and you have to allow it.
[Desire HD Android Development] mesut19:
Ok so If I am right I need to run GingerBreak when I am supposed to do the 'Su' command in the cmd?

I will do it tommorow it is getting to late xD
[Desire HD Android Development] jkoljo:
Well, check the guide in the first post. First run Gingerbreak, leave it open, then use su.
[Desire HD Android Development] Duncank:
I've tried it again, this time the good way. All the steps seem to succeed, except when I have to enter "adb shell" (Gingerbread method), I just get "$". When I execute "su" I get "permission denied".
[Desire HD Android Development] mesut19:
I don't get any kind of error or Force closed thing. It succeeds and reboots my phone.

not sure what happened here. Either the exploit failed or the reboot failed. Please reboot manually and see if you have superuser!

That's the message i get and then it reboot's.
[Desire HD Android Development] Duncank:
The same thing happens here...
[Desire HD Android Development] Antonios76:
Do we need to install superuser from the market also , before we proceed with the gingerbreak ?
[Desire HD Android Development] Kaljo:
So that makes 3 people with the same problem:(
[Desire HD Android Development] Aniquibobo:
Thanks jkoljo

Working nice...

/Ani
[Desire HD Android Development] Kaljo:
make that 2:D

Did try so many things but it had todo with the sd-card what I can remeber:

pulled out the sd-card and run GB, after 10 min still nothing

put the sd-card back in and tried to mount it but it didn't

run GB again and got an error I hadn't seen before, typed su in the PC and the phone asked permission et voila

Thx
[Desire HD Android Development] Duncank:
I've just tried that, but that doesn't work for me. When I remove the SD-card I get an error after a while in GB, and it tells me something went wrong and that I have to restart and see if I have superuser-access.. but I don't. When I put the SD card back in, it mounts like usual and GB seems to succeed again and restart my phone like before.

note, when the SD-card is pulled out, GB succeeds in about 1-2 minutes, not 10.
[Desire HD Android Development] Duncank:
Question, when GB reboots my phone, is it okay to start Android Terminal and just type "su" in order to figure out if it worked? Or does it have to be done from the command-prompt?
[Desire HD Android Development] jkoljo:
You can do it like that.
[Desire HD Android Development] mesut19:
I give it up, after almost 2 days of work this ain't working for me. I will stay with the stockrom tbh
[Desire HD Android Development] Duncank:
I've got the same feeling here.. tried it quite a lot of times now but it turns out the same everytime, can't get gingerbreak to give errors and not reboot my phone...
[Desire HD Android Development] arkanovios:
I got it working after roughly 4 hours and countless combinations and repetitions :/

I think it didn't like much...

Sent from my Desire HD
[Desire HD Android Development] Duncank:
What made it work for you? Was there a specific method? Hopefully you have some steps to follow for me.
[Desire HD Android Development] keridel:
i'm just stuck on the gingerbreak. all it is doinng is showing a screen saying:

rooting:

running exploit

this ,ay take a few minutes

device will reboot on success

it has been on that screen for 2 episodes of family guy so far.

sucks
[Desire HD Android Development] skanino:
Hi :)

thanks for this tuto :)

But I have a problem.

I made the method 2b

but when i finished, I have super user that's great but I can't use Titanium Backup, it is not recognized by root :/

Sorry, I am french.

But I hope you can help me :)
[Desire HD Android Development] Tobleto_danillo:
I have this problem too and its p*ssing me off as this is all I want atm lol
[Desire HD Android Development] skanino:
Yes :/

I try to found a solution with a goldcard but I am waiting for a new SD...

so if anybody have an answer We are agree :D
[Desire HD Android Development] I'm TheQuest:
Hi skanino, Tobleto_danillo

Do either of you and ClockworkMod Recovery and [or] Rom Manager Installed, you could use either of them to Fix permissions to see if that helps fix your problem.

Or try unlnstalling Titanium Backup and reinstalling it, to see if that fixs it.

Take Care

TheQuest :cool:

PS: skanino you should never have be sorry or apologize for your place of Birth or Nationality. :)

PS: Be Proud.
[Desire HD Android Development] jkoljo:
You cannot use titanium backup properly with Gingerbreak root. Try MyBackup Pro, it can backup your stuff without root.
[Desire HD Android Development] fshami:
Guys, a bit out of the topic but if anyone can help me get rid of my confusion..

Is there any difference between the OTA Gingerbread update & the leaked ROM available at XDA?

If the answer is No then i dont need to downgrade & install OTA.

Thanksss
[Desire HD Android Development] Jorge Sullivan:
When I get to the step 3 (after put the code), I just can't put the file into my SD card.

There's no option to access it anymore!

If I put the file before I make the the steps, nothing happens at the bootloader.

If I remove the SD card to put the file, same thing: nothing happens at the bootloader
[Desire HD Android Development] jkoljo:
No. OTA does not wipe your data, that is the only diff.

Format your SD card to FAT32 using full format, and then try again.
[Desire HD Android Development] krill78:
i know this might be answered in the first FAQ post, but i'm still so new to all this, and was hoping someone could give me some guidance regarding the following (please)?

i've recently upgraded to a custom rom after rooting etc my bloatware telco device. a great, easy experience, and i was having a lot of fun. the problem arose when i went to use bluetooth yesterday, and realised it wouldn't turn on (it tries, but goes straight back to off after 10 secs).

question - if i want to restore my previous bloatware version, in case i need to go back to dealer (a second time) for warranty... am i simply able to restore my backup (or use the zip file on xda) thru clockwork, and flash from within device, or do i need to use the tools/instructions in first post?

i know the FAQ says i can just jump between builds, but i want to be sure that includes bloatware builds? (really sorry) :o
[Desire HD Android Development] jkoljo:
If you made a nandroid backup, you can restore your device to stock condition with it. Use the instructions in my radio s-off tool's thread, how to restore a branded backup.
[Desire HD Android Development] krill78:
Yeah, I was quietly hoping I might be able to avoid the cmd stuff, but in hindsight, I realise that was overly optimistic. Thanks for your help. Really appreciate it. Will have another look at the post when I get near a laptop again, and hopefully I won't have to bother you again.
[Desire HD Android Development] krill78:
Ok, managed to restore the bloatware version, and got the cmd prompts (and the tools) under control. I'm not sure if I didn't give enough time between commands (about 5 secs each - the line had appeared beneath)... but when I go into bootloader, and system info, I still have everything off, and cid 11111... bit of a worry, but contemplating taking it back now, and hoping for the best. Any last suggestions by any chance?
[Desire HD Android Development] qiuness:
just a quick question. for CID Error (tried 2GB and 8GB mSD cards) you need to try other smaller cards for it to work, or what is the usual cause of the CID error? (running 2.2.1 on DHD)
[Desire HD Android Development] Danielfr:
Section 2b [For Gingerbread ROMs, 2.x]

•Download Gingerbreak, and install it. Then tap root button.

•You might get force close errors, just click the force close button and let Gingerbreak do it's job

•Gingerbreak will, in the end, usually say that something went wrong. Just leave it open in your phone, and connect your phone to a PC. Charge only, USB Debugging enabled!

•Open up a cmd and go to Downgrade folder, execute commands: (after command "su", allow SuperUser in phone)

Code:

adb push misc_version /data/local/tmp

adb shell chmod 777 /data/local/tmp/misc_version

adb shell

su

When I run Gingerbreak, it reboots my device after 30 sec but my device is still not rooted.

I am just receiving a message : "SD card safe to remove " and a few seconds later my device is rebooting.
[Desire HD Android Development] skanino:
Thanks all,

but I save my datas with Titanium Backup so I want use it to backup...

I can't use MyBackup pro to backup this save... you understand? It's the same for a nAndroid I haven't do it because I don't think I am blocked on the Gingerbread :/

I want to come back at a 1.32 RUU if it's possible... but I can't :/

If I could, maybe when I am in FRANCE... ;( 2months again, I will take a movie for show you.
[Desire HD Android Development] jkoljo:
The SD has not been formatted to FAT32 with full format, or CID has been taken from mmc1/mmc0, or the CID has not been reversed properly.

Try to run Gingerbreak without USB cable plugged to the phone. It might take a few tries.

Well you cannot do anything but backup data in Gingerbread anyway, so just move to MyBackup Pro.
[Desire HD Android Development] Danielfr:
Try to run Gingerbreak without USB cable plugged to the phone. It might take a few tries.

I have tried but it doesn't work.

My biggest concern is that I have lost the S-OFF after having upgraded to Gingerbread and I can't downgrade anymore.
[Desire HD Android Development] jkoljo:
One guy got it working after seven tries, just keep on trying. I will do some research on alternative methods when I have time, maybe next weekend.
[Desire HD Android Development] jkoljo:
I decided to have time now :D

First post UPDATED! Everyone having trouble with GingerBreak, try the updated guide.
[Desire HD Android Development] :
NOW it works :D .. thanks a lot !!!