yashsingh1/xdaforums huggingface dataset:
[Desire General] MrFastXX:
"Permission denied"

Hi

Quite stupidly I installed the OTA update on my Desire without checking if I can root it later on. Which of course I can not. So I now would like to downgrade back to 2.1 failing in the process miserably.

I have tried with different SD-cards, formatting the SD-card, trying with both 2.1 and 2.3 versions of the download procedure - always with same result

Android 2.2 (froyo) to 2.1 downgrade utility
============================================
v2.3b

For more information, see thread:
h t t p://xdaforums.com/showthread.php?t=768256

Press ctrl-c to exit this utility.

Waiting for device. Ensure USB debugging is enabled.
* daemon not running. starting it now *
* daemon started successfully *

Pushing files.
817 KB/s (0 bytes in 26172.000s)
336 KB/s (0 bytes in 5392.000s)
1321 KB/s (0 bytes in 655360.000s)
19 KB/s (0 bytes in 315.000s)
0 KB/s (0 bytes in 264.001s)
20 KB/s (0 bytes in 334.000s)
25 KB/s (0 bytes in 819.000s)
1429 KB/s (0 bytes in 1120536.000s)
3 KB/s (0 bytes in 55.000s)
19 KB/s (0 bytes in 304.000s)
22 KB/s (0 bytes in 364.000s)
19 KB/s (0 bytes in 625.000s)
Done.

Pushing recovery file to the sdcard.
Please wait, this will take a minute or two.
failed to copy 'PB99IMG.zip' to '/sdcard//PB99IMG.zip': Permission denied
3 KB/s (0 bytes in 54.000s)
Now verifying the downgrade file.

*** Downgrade file not found ***
Please exit the utility by pressing ctrl-c.

Press any key to continue . . .

Android 2.2 (froyo) to 2.1 downgrade utility
============================================
v2.1b

For more information, see thread:
h t t p://xdaforums.com/showthread.php?t=768256

Press ctrl-c to exit this utility.

Waiting for device.

Pushing files.
181 KB/s (0 bytes in 26172.000s)
84 KB/s (0 bytes in 5392.000s)
264 KB/s (0 bytes in 655360.002s)
19 KB/s (0 bytes in 315.000s)
7 KB/s (0 bytes in 250.000s)
5 KB/s (0 bytes in 334.000s)
17 KB/s (0 bytes in 819.000s)
258 KB/s (0 bytes in 1120536.004s)
1 KB/s (0 bytes in 55.000s)
18 KB/s (0 bytes in 304.000s)
22 KB/s (0 bytes in 364.000s)
19 KB/s (0 bytes in 625.000s)
Done.

Pushing recovery image to the sdcard.
Please wait, this will take a minute or two.
failed to copy 'PB99IMG.zip' to '/sdcard//PB99IMG.zip': Permission denied
3 KB/s (0 bytes in 54.000s)
Now verifying the downgrade file.

*** Downgrade file not found ***
Please exit the utility by pressing ctrl-c.

Press any key to continue . . .

"Permission denied"

I tried to find similar symptom from the forums but could not find - can't possibly be only me with this?

Any ideas are highly appreciated, however I am going to try to go for stock RUU as I necessarily need a rooted Desire to make it work here in weird Japan mobile networks.

BR,

-P
[Desire General] teppic74:
Do you have your sdcard inserted? Is it formatted and mounted?

You can ignore the problem if you just want to flash an RUU afterwards.
[Desire General] Sslz:
I have a problem.When i archieve the last stage and must do 4 things i stuck..

Wait for the recovery image to be located and checked..

I get this error : Loading img ...

No img found or wrong image..

Loading PB99IMG.zip .. Error.. Something like this.. The error dissapears so quickly so i can write it exactly..
[Desire General] teppic74:
You need to format your sdcard with FAT32, or try a different card.
[Desire General] MrFastXX:
teppic74, thanks for your reply, mate.

Yeah, I've tried with unformatted, formatted, small and large cards.

How should I go about mounting the card? Just using shell and then run your tool?

Shell can read the card so I think it is properly mounted.

I'm still gonna give it a go on my Ubuntu a home. All the failures were on Windows, though it looks like permission problem is on the Desire end.

Anyway, thought you might wanna know about this.

I can't seem to install any RUU either so looks like I'll be waiting for a procedure to root 2.2 w/ 0.93...

BR,

-P
[Desire General] teppic74:
You don't need to mount the card yourself - it just needs to be mounted on the phone (it will show this in the sdcard settings). Ensure that it's set to 'charge only' under connect to pc as well.

The utility looks like it's behaving as it is supposed to - I think the problem is with your phone.
[Desire General] MrFastXX:
'Charge only' - now that just might be it! :D

I'm at home now, downloading the tool to UbuntuStudio.

Will try it in about half an hour - slower download option...

BR,

-P
[Desire General] teppic74:
It definitely has to be on charge only, otherwise the sdcard isn't mounted by the phone (so it won't be able to access it) and is passed to Linux/Windows as a disk drive.
[Desire General] MrFastXX:
True, true, should've figured that out by myself.

Next I need to weigh the pros and cons of whether to actually downgrade - kinda liking 2.2 now!

But I can't send them MMSs and that makes the wife angry - if I don't message her all the time it means I'm havin' beers in some dodgy hole...

Guess I could go for some of MoDaCos custom Froyo ROMs.

BR,

-P

PS: I need a rooted phone so I can install custom Mms.apk which will allow me to change the messaging user agent to eg. iPhone which in turn will enable MMS messaging in SB network. Tricky, eh?
[Desire General] teppic74:
I released a basic rooted stock ROM myself. I prefer to run something as close to stock as possible and then make my own mods.
[Desire General] Sslz:
Ok.. finally i downgraded my phone.. What must i do next to root it and restore some of my stuff ?
[Desire General] teppic74:
Use unrevoked3 to root.
[Desire General] Sslz:
I run unrevolk3d but it does nothing..I press ./unrevolk3d from ubuntu terminal and i see only a picture that says : detecting phone , but nothing happens..Again in usb debugging?
[Desire General] teppic74:
You need to run it as root (though this is off topic a bit for this thread).
[Desire General] MrFastXX:
teppic74, wouldn't mind trying that ROM at all.

Download link?

We are slipping a bit from the topic here, but any chance of saving my bought apps before downgrading?

Would suck to lose some of those as this method wipes the memory, right?

Did backup my contacts to SD, messages may as well go.

BR,

-P
[Desire General] Sslz:
Must i delete PB99DIAG.zip before rooting ? If i don't ?
[Desire General] teppic74:
Sure, it's here:

http://xdaforums.com/showthread.php?t=773997

I'd recommend the second version.

You can't downgrade without losing everything stored on your phone. I've never bought any paid apps, so I'm not sure about those.
[Desire General] teppic74:
You must remove the PB99IMG.zip file before rooting yes, or it will interfere with the process.
[Desire General] Amaticay:
Thank you! I've registred only to say this.
[Desire General] Chura:
SLCD Support

I've rooted with http://xdaforums.com/showthread.php?t=768256

Then unrevoked3, all was ok. 2.1 with SU.

Then i've upgraded to leedroid 2.0a but i keep getting bootanimation on loop

logcat shows : E/SurfaceFlinger( 503): eglSwapBuffers: EGL error 0x3008 (EGL_BAD_DISPLAY)

http://pastebin.com/cXRgMeEG

What i'm missing ?
[Desire General] EddyOS:
Better posting in the ROM thread as opposed to here as it's nothing to do with this downgrade
[Desire General] schwags:
I am having the same problem here. This is causing me to not be able to re-root my phone using Unrevoked now. I removed the file from my SD card, not sure what i need to do now. Please help
[Desire General] teppic74:
I don't expect people to read all 30 pages, but at least the first post, where the sdcard question is answered.
[Desire General] schwags:
My appologies, I see what you're talking about. thank you!
[Desire General] Sslz:
sd error

I solved this problem by formatting my sd to fat !
[Desire General] hananspark1966:
Rom Version Issue

I did this process and it work fine. After trying few Rom's, I cannot find any one that will work with SLCD. Can I have link to the rom used for this procedure (HTC software version 1.21.405.2, radio 32.41.00.32U_4.08.00.09 in order to install it till SLCD supported rom will be available? All the roms I tried seems start working but then start to rest itself. The problem comes from the screen support.

Thank you for the support.
[Desire General] iamdata:
Hi guys,

i have a question, i rooted my phone last week with the blanking screen process and thumbling in the dark how ever many presses each way thing. i had to take the phone back and i got a new one from vodafone! i did the OTa... opps

now i have HBOOT 0.93 software number 2.10.161.2 baseband 32.44.00.32u_5.09.05.30_2

from looking at the recovery menu this is what i got..

hboot 0.93.0001

radio-5.09.05.30_2

aug 10 2010,17:52:18

seems pretty recent..... here are my questions...

1. the cards a gold card from the other phone, can i use this still without wiping! its a 16gb so lots of data there (i thought it was card id and not the phones identifier...

2.will this process work for me, i have all the drivers installed at the moment, but im sure the old phone had hboot 0.92 and not 0.93, and now im gonna try thing thing out.

3.does this process make u get blank screen at all? wonderful if it doesnt.

4. has anyone with the same versions tried to run this and succeeded?

thanks guys.
[Desire General] teppic74:
The answers, in order, are: yes, yes, no, yes :)
[Desire General] iamdata:
thanks i will try it out now!

cheers :)
[Desire General] iamdata:
oh dear, ive got CID incorrect!

Update Fail!

do you want to reboot device

(I picked yes)

so do i need to wipe mem card again, i noticed this... does it mean gotta make the goldcard then... (thinking about messing witht the 4gb camera card instead of ruin-ing my 16gb file transfers took about 1hour to go over..

phone seems to be untouched running 2.2 as before.

thanks

CID retrieved: VODAP001

Modifying misc partition image.

Flashing misc partition... Flash complete.

If any error occurred here, press ctrl-c and run this utility again.

Testing indicates a goldcard is required to downgrade this phone.

Press any key to continue . . .

===========================================================

Your phone is now ready to be downgraded.

Rebooting to bootloader.

Press any key to continue . . .

Cleaning up.

Complete.

Now wait for the boot screen to appear.

Then press power to select the bootloader option.

Wait for the recovery image to be located and checked.

Press vol-up to start the update.

If you want to cancel the downgrade press vol-down instead.

Once flashed you can root your phone with unrevoked3.

Exiting.

Press any key to continue . . .
[Desire General] teppic74:
Yup, you definitely need a goldcard.
[Desire General] iamdata:
OK thanksI will use the cameras card to do the procedure tomorrow after work. Looks like a brilliant piece of script you gave put together.
[Desire General] MrFastXX:
That got me a bit further, thanks.

But not through.

Next it looked like I need a Goldcard

Checking misc partition.
/data/local/mtd0.img: OK
CID retrieved: HTC__044
Modifying misc partition image.
Flashing misc partition... Flash complete.
If any error occurred here, press ctrl-c and run this utility again.

Testing indicates a goldcard is required to downgrade this phone.
Press any key to continue . . .

Totally thought my phone is not one of those.

So, Goldcard prepared and try again.

That finally got it done, thanks a lot for bearing with me.

See you in the ROM thread, then.

BR,

-P
[Desire General] Chura:
Worked great (OSX 10.6, Desire 0.92 SLCD)
[Desire General] pingy_ping:
it says that bootloader version error, what is causing this?
[Desire General] teppic74:
It means you haven't followed the instructions the utility gave you.
[Desire General] iamdata:
teppic74, u are a legend!!

having done both rooting processes, that was so hassle free! you put together something so perfect on this one fella.

now what rom to have..... any suggestions, i have used Leedroid and Aurasense last week. :)
[Desire General] teppic74:
I'd obviously suggest my own ROM :)
[Desire General] toinux:
worked flawlessly with slcd screen
[Desire General] charsiewbao:
Hi, I have unlocked my phone. Currently 2.09.405.8 / 0.92 hboot, can I use your downgrade method to flash it back to hTC_Asia_WWE_1.19.707.7_Radio_32.36.00.28U_4.06.00.02_2_release_126179_signed?

Thanks.
[Desire General] teppic74:
It's answered in the first post - yes, if you have an AMOLED screen.
[Desire General] charsiewbao:
Tks but I receive OTA update to 2.10, still can use the same method to downgrade?
[Desire General] EddyOS:
Yes as it's ANY HBOOT - the ROM version is irrelevant
[Desire General] charsiewbao:
Thanks pal...
[Desire General] kuknabo:
Thanks a lot for this utility! I used it to downgrade my SLCD Desire, and then rooted it with Unrevoked. The process was smooth and painfree and practically totally automatic! :)
[Desire General] Voormijgeenvfmeer:
This is great!

Downgraded my dutch VF-branded desire with hboot 0.93.0001 and software version 2.10.161.2 without any problems.

I'll buy you some beer :-)

And now for some unrevoked3...
[Desire General] teppic74:
Always appreciated ;)
[Desire General] ravisgf:
I followed all the steps , but update is failing

1) BOOT -- OK

2) BOOTLOADER -- OK

3)RADIO_V2 -- FAILED-PU

4)RADIO_CUST --OK

5)RECOVERY --OK

6)SPLASH --OK

7)SYSTEM --OK

8)USERDATA --OK

Partition Update Fail!

Update Fail!

And the desire gets stuck in the HTC Logo Screen(After multiple vibrates).

BTW mine is an unbranded(unlocked) phone.

Any help please!!!!!

Regards,

Ravi
[Desire General] teppic74:
If an RUU/PB99IMG fails after verification it means your phone has a hardware fault, possibly a bad sector. You should contact HTC. (Though you may want to try flashing the latest Froyo release RUU in case it's an HBOOT problem)
[Desire General] kielkiam:
Downgraded: no problem :)

Used Linux Ubuntu Lucid Linx Netbook remix on Acer Aspire One

Rooted by Unrevoked3 (always Linux): one command!! :D

Installed AuraxTSense v7.6.1

All without problems

Great job !!!
[Desire General] Naproxeno:
Does it work with 2.10.405.2?

Could someone confirm that this works with today's OTA update (2.10.405.2)? It seems this update installs HBOOT 0.93.0001.

Ok, I hadn't search hard enough: yes, it works.
[Desire General] allinger:
worked like a friggin charm

Tep is a hero, not only for saving my bricked SLCD Dezzi from the fate of becoming a very expensive paperweight, but also for putting together this excellent tool.

Kudos!
[Desire General] Miwer:
Successful downgrade

Hi,

Thank you for this great guide and automated downgrade package. I can confirm, that it worked on my unbranded HTC Desire, after I got the OTA upgrade from HTC.

No Goldcard was needed in my case.

For the records, here are my version details:

Model
HTC Desire A8181

Before downgrade:
-----------------
Bravo PVT3 SHIP S-ON
HBOOT-0.92.0001
MICROP-051d
TOUCH PANEL-SYNW0101
RADIO-5.09.00.20
Jul 23 2010,16:46:44

Android version
2.2

Baseband version
32.43.00.32U_5.09.00.20

Kernesystem
2.6.32.15-gf9c0527
htc-kernel@and18-2 #1

Versionnummer
2.09.405.8 CL218634 release-keys

Softwarenummer
2.09.405.8

Browser version
WebKit 3.1

After downgrade:
-----------------
Bravo PVT3 SHIP S-ON
HBOOT-0.83.0001
MICROP-051d
TOUCH PANEL-SYNW0101
RADIO-4.08.00.09
Jun 10 2010,12:12:05

Android version
2.1-update1

Baseband version
32.41.00.32U_4.08.00.09

Kernesystem
2.6.29-0cb9f166
htc-kernel@and18-2 #1

Versionnummer
1.21.405.2 CL174215 release-keys

Softwarenummer
1.21.405.2

Browser version
WebKit 3.1
[Desire General] ravisgf:
Where can i get the latest Froyo release RUU, and how can i start flashing again, because the phone dosent start in normal mode except FBOOT..
[Desire General] Kascara:
Hi All,

Noob question in coming sorry first post and all that..

I have a T-mobile HTC Desire which was unbranded and running 2.2 with no issues, last night an OTA update (via HTC) went on my phone, something to do with better keypad. It all went well, but soon found out its lost the WI-FI all I see on screen now is "Error" next to WI-FI the rest of the phone is fine.

My question.. I want to downgrade and start again, I see from the instructions on p1 that it says I need a gold card for a branded or

previously branded

phone which I understand, I have boot loader version 0.92, so where do I go to get the right gold card for this version? to allow me to continue.

Thanks,

Kas
[Desire General] Kascara:
Ok I have a working gold card confirmed working

Now at the last step I get no image found...

Iv re downloaded the file copied to SD and Nada, is anybody able to assist please?
[Desire General] amri_amin:
HTC Desire Reboot Loop Problem

Hi all,

I installed yesterday's OTA update (2.10.405.2) on a rooted unbranded HTC Desire?

after the update the phone restarts continuously after showing HTC Logo.

Restarting in hboot shows HBOOT-O.93.001

i've tried using the downgrade tool but adb can't get the device on (because of the hboot mode i guess)

Any help?

Thanks
[Desire General] rickead2000:
Should I be able to do OTA updates with this ROM?

I'm just getting "No updates available" why I try. Can anybody shed any light on this?
[Desire General] teppic74:
With debranded phones it seems some people don't get OTA notifications while some do, it may depend in IMEI numbers maybe.

This is the exact same ROM you'd have an a true unbranded phone.
[Desire General] crazyindianza:
Thank you - worked perfectly

Just to say that it worked perfectly using a branded t-mobile UK phone and win7
[Desire General] scott4:
Hello,

You probably know how to unroot a rooted Hong Kong official 2.1 rom? People only know to run an official RUU after executing mtd0.img by cheating the CID. But since there is no Hong Kong official 2.1 RUU, no people know how to unroot to Hong Kong official 2.1.

Some stupid people even ask why need to unroot Desire. Because those people bought their official HK phones at shops, and they want warranty back.

Pls help!

Thanks!
[Desire General] DivineLuckBox:
Hello, I just downloaded your file and when I run it it looks quite the same than on your screen shots, but:

after each file it sends to the Desire it says the row

adb server out of date. killing....

* deamon started successfully *

and one time it says

Unable to chmod /data/local/flash_image: No such file in directory

Is this "normal"?
[Desire General] DivineLuckBox:
Hm, I tried it but when the bootloader checks the image it says:

"Main Version is older!

Update Fail!

Do you want to reboot device?"

with yes/no option

I have a RUU installed of Froyo 2.10.405.2 and now my WiFi is not workling again. I want to downgrade, see if it works again and update via OTA.
[Desire General] DivineLuckBox:
2nd time to tool worked fine...

No idea what was the problem the 1st time.

Hope it works - it is installing right now.
[Desire General] DivineLuckBox:
Hm,

the tool worked well the 2nd time.

However, I still cannot get the WiFi to work. I completely go nutz... It is possible that you can actually destroy the hardware of the phone by debranding it and installing other ROMs?

I have no idea what to you, if anyone who is really into it could help me out on this one, I would appreciate it a lot!
[Desire General] teppic74:
If you're on Orange then try upgrading to Froyo (with a goldcard).
[Desire General] DivineLuckBox:
Well actually I am on a T-Mobile Desire from Germany. I created a gold card using the GoldCard Tool and updated to the HTC WEE 1.21.405.2. Everything was working quite well if I remeber correctly.

Then I updated to Froyo 2.09.405.8 and the wifi stopped working. So I waited to get the update to 2.10.405.2. but still the same problem.

Today I tried to downgrade which was easy thanks to the tool here. But I still had the same problem. Than I installed the 1.21.110.4 (which is the original T-Mobile RUU) and I got a black screen - (seems to be the problem with the SLCD version of the Desire).

I am close to go nutz, anyone out there that could help me? I am even willing to donate some money or something. I just don't want to die on a heart attack today, because it is my birthday... :)
[Desire General] teppic74:
You lost wifi almost certainly because you upgraded without a goldcard. If you upgrade again to froyo but with a goldcard it should return your phone to normal.

You can try the ruu without a working screen. Just start the phone in fastboot mode (back key and power) and run the froyo RUU. Hopefully it'll detect your phone and start the upgrade.
[Desire General] ravisgf:
Hi,

Are u able to solve your problem.. Im also facing the same issue.
[Desire General] Kom-Si:
kudos, man. you're a life-saver. :) I've been stuggling with the downgrade issue (using older downgrade package) for two days until I found this post via 4PDA site. everything worked like a miracle. thnx...
[Desire General] Pitel:
Success

I succesfully downgraded my gf's Desire (unbranded, SLCD, HBOOT 93) from HTC's 2.2 update. Thank you very much, she is now enjoying CynagoenMod :)
[Desire General] CSCAGNELLI:
HI there,

I`m try to downgrade my 2.2 to 2.1 because of WiFi problem after the last ota update, but I`m stack to the last part where the phone suppose to go in recovery mode but nothing happen. can u please advise me what can be wrong?:(

if you can help will be sweet.

Froyo, unrooted, HBOOT 0.75, Radio 4.05.00.11, goldcard
[Desire General] teppic74:
You don't need to go into recovery as part of this process.

In your case I'd recommend you just flash the froyo RUU directly in fastboot with a goldcard inserted, there's no need to downgrade.
[Desire General] peetje53:
Hi work this downgrade tool??

My desire=

unbrandit

HBootloder =0.93

and what I get after downgrate hbootloder ?
[Desire General] reudyfam:
Quick question if I may guys. Can this tool be used to unroot (running OpenDesire 4.0.15) my Desire back to stock, as I'm getting the random reboots so the phone will probably have to go back to HTC to fix. :)
[Desire General] scott4:
same question to mine. especially the unrevoke tool can root Desire, it is just to overwrite some files onto Desire from PC. So I think we can overwrite the original files to Desire again to get it unroot.
[Desire General] reudyfam:
You go first then mate, and let me know if it works! :D
[Desire General] teppic74:
It will restore any phone, no matter which ROM it has (working or broken), back to stock HTC, so long as you can enable USB debugging and transfer the files.
[Desire General] scott4:
Can you tell me what to do on order to unroot my Hong Kong official 2.1 or 2.2? Thanks
[Desire General] teppic74:
You can use this method to downgrade any (GSM) Desire to stock, but you won't get the Asian regional ROM unless you install that RUU directly.
[Desire General] scott4:
what do you mean? teppic74.

I am using Hong Kong official 2.2 ROM rooted, and I have 2.1 ROM rooted, but they are .zip files, not RUU.

Do you mean after I run the downgrade in your thread#1 then it will become to unroot? What result will I get?

Thanks
[Desire General] paxel@tlen.pl:
Many thanks!

Worked great on my HTC Desire - unbranded from T-Mobile UK Android 2.1 using Mac OS X (Leopard 10.5), now installing OTA Android 2.2

One warning: when creating your GOLDCARD make sure that you reverse the numbers correctly (as some on-line services might change the first two digits!) - I did it myself following instructions from this page mapleator.de/?p=19
[Desire General] scott4:
oh my god. that's why you didn't quote my question when you replied. your PB99IMG.zip is a WWE rom. your hboot is 0.93, my original oneis 0.80, after doing your downgrade, my hboot was upgraded to 0.93 from 0.80!

and I don't have a PB99IMG.zip for Hong Kong official 2.1!! that's why you didn't quote my question when you replied. I was trapped
[Desire General] teppic74:
Sorry, I have no idea what you mean. This downgrade installs stock Android 2.1 as explained in the first post.
[Desire General] scott4:
sorry, are you talking to me? 'cos you don't quote any post.

i want my Hong Kong 2.1 stock rom unrooted back. but yours PB99IMG.zip in your downgrade file is not a Hong Knog rom, it is a WWE rom.
[Desire General] teppic74:
The first post tells you very clearly which ROM this installs, and what to do if you don't want that ROM.
[Desire General] scott4:
thanks. but can you quote other's post when you talk to someone specifically pls?