yashsingh1/xdaforums huggingface dataset:
[Legend Android Development] sWiftyious:
Hi,

the downgrade process does not work for me.

After the cracking.bat successfully ended, i turned my phone off, put the goldcard in and start the phone again.

Then i doubleclick the ruu-file. after a while the ruu-tool checks my software version and the ruu file starts "patching" but then it says that the connecting to the phone is not established.

can anyone help? I think its a driver problem, but in the first steps of the ruu it has a connection with my phone.
[Legend Android Development] Dabi_212:
Hi everyone,

i can't root my legend and then i try to downgrade it but not work :(

and please can someone answer this question -->is it possible to downgrade Rom 2.05.405.2 ??

my device details as follows:

Firmware version

2.1 - Update 1

Baseband version

47.39.35.09U_7.08.35.21

Kernal version

2.6.29-5f084974 htc-kernel@and18-2#1

Build number

2.05.405.2 CL191838 release-keys

Software number

2.05.405.2

Browser version

webkit 3.1

btw,Sorry for my poor english
[Legend Android Development] kuklux:
help after running crackin.bat

"Copying tools"

cannot stat 'busybox': No such file or directory

cannot stat 'flash_image': No such file or directory

cannot stat 'misc1-2.img': No such file or directory

Unable to chmod /data/local/busybox: No such file or directory

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

"Freeing primary PERM linker"

rm failed for /data/DxDrm/fuse/*, Not a directory

rmdir failed for /data/DxDrm/fuse/, No such file or directory

/data/local/busybox: No such file or directory

"Freeing secondary PERM linker"

rmdir failed for /data/DxDrm/fuse/, Not a directory

rmdir failed for /data/DxDrm, Directory not empty

link failed File exists

"Rebooting to normal mode to unlock CHMOD links"

rmdir failed for /data/dontpanic, Permission denied

rm failed for /data/DxDrm, Permission denied

link failed File exists

link failed File exists

"Rebooting to normal mode to downgrade ROM"

/data/local/busybox: not found

/data/local/flash_image: not found

"Freeing links"

rm failed for /data/DxDrm, Permission denied

rm failed for /data/dontpanic, Permission denied

whats wrong?

gold card issue i figure it out now successfully downgrade at 1.31 now rooting..
[Legend Android Development] ommx:
i got a problem, when i execute the RUU file it said

An error (-5001 : 0x80070002) has occurred while running the setup.

Please make sure you have finished any previous setup and closed other applications.

If the error still occurs, please contact your vendor.

"Error details"

Error Code: -5001 : 0x80070002

Error Information:

>SetupNew\setup.cpp(142)

PAPP:

PVENDOR:

PGUID:

$

@Windows XP Service Pack 3 (2600)

IE Version: 6.0.2900.5512

What did i do wrong? i already run the "crackin.bat" and it showing up fine with the

* daemon started successfully *

crwxrwxrwx 1 0 1007 90, 0 Sep 8 06:03 /dev/mtd/mtd0

"Freeing links"

Please help i want to downgrade my ROM so that i can root it
[Legend Android Development] ommx:
Also using this offical rom, i can run the "hack file" but can't run the RUU not sure if it the reason??
[Legend Android Development] Dabi_212:
My friend i think the problem is that this software can't be rooted and downgrade because i had upgraded OTA.

can someone confirm that this is my problem here :(
[Legend Android Development] AllWin:
Yes, it is possible. Without any additional steps BTW, just follow the guide.
[Legend Android Development] Rushh-786:
hi what is the user name and password for the download link?
[Legend Android Development] yanlong94:
yea same problem

for this file -> RUU 1.31 for Legend

the site requires user name and password. do you have another mirror? thanks in advance.

P.S, I LOVE YOUR THREAD!:p
[Legend Android Development] downunder30:
username shipped

password shipped
[Legend Android Development] Lucas0511:
I had the same problem under Win7 32bit with the Legend running in normal connection to the PC. The RUU process over USB could query the phone but not restart the bootloader, and kept hanging. So I restarted the phone in bootloader mode, connected it to the PC, and started RUU. Then the process would run and downgrade the ROM. You wrote that your RUU process stops in the middle of patching, but I find that hard to believe, because then your Legend must end up bricked.
[Legend Android Development] yanlong94:
thanks so much,

btw if anything bad happened, how am i suppose to unroot it?
[Legend Android Development] downunder30:
Google (unlockr HTC legend how to). you'll get all info about rooting ,unrooting videos.
[Legend Android Development] downunder30:
theunlockr.com/2010/06/07/how-to-unroot-the-htc-legend/
[Legend Android Development] yanlong94:
ok thanks,

now im stuck with this

Have adb in your path, or move the files contained in hack4legend-v5.zip into your sdk/tools directory so your pushes will work properly.

FOR ALL OS's Make sure your phone has Applications->Development->USB Debugging turned on.

Do NOT have your phone in Disk Drive Mode, have it in Charge Only.

Open a terminal window in your /tools/ directory. Type this at the prompt.

whats adb? P.S i have already moved the hack4legend-v5 files

ok its okay, i played around with it and WALA!, completed!!
[Legend Android Development] desiibond:
Hey folks,

I tried to donwgrade my Legend today and the permissions on /dev/mtd/mtd0 looks like this:

cr--rw---- 1 1001 2002 90, 0 Sep 16 05:26 /dev/mtd/mtd0

Please help me out here on what went wront. I am using a latest SDK

OS: Windows 7 x64

Location: India

Firmware Version: 2.1-update1

Baseband: 47.39.35.09U_7.08.35.21

UPdate: got it working the second time :)
[Legend Android Development] Khaniyan:
Edit: I actually managed now. :)
[Legend Android Development] Corra:
I have the same problem :( have you found a solution?
[Legend Android Development] rihui:
try redownloading the RUU file. you should have a 128mb file. If the file is any smaller or bigger than 128mb, then the file isn't properly downloaded, and you will not be able to run the file.

ps : don't use any download manager to download the file, or else you might end up with an incorrectly downloaded file.
[Legend Android Development] Corra:
Yes the ruu was corrupted. Thanks, succesfully downgraded
[Legend Android Development] quitonitura:
Help with downgrade

Hi!

I followed all the steps mentioned in this thread but when it comes to using the downloaded program for downgrading, I get an error message which says that the USB cable is not connected when in fact, it is connected.

How do I fix that?

Thanks!
[Legend Android Development] quitonitura:
This is the error i get when I run the ruu:

ERROR [171]: USB Connection Error

The thing is, its still connected. And all the other steps which needed the phone to be connected worked perfectly fine. I don't think its a driver problem. Or is it?

Any help would be greatly appreciated. Thanks!
[Legend Android Development] quitonitura:
Ok, so now I figured out that it was a driver error. Fixed already!

But now, i get an Error 131. What does that mean and how do I fix it?
[Legend Android Development] majingrim:
I seem to be having exactly the same problem. What was the driver error you had?

I've found that if i have the phone in HTC Sync mode, it shows up as an adb device, but in charge only, it doesn't. Could this be part of the problem?
[Legend Android Development] kleutscher:
got the same 131 error. made several goldcards succesfull so that isnt the problem. becouse one of those cards had been used before as a goldcard and worked before. all the other steps before works just fine as in the how to.

anyone?
[Legend Android Development] cornellalum:
Thank you so much for the thread. Just completed this and it took much more time than I had expected.

Some comments about my experience, hopefully it'll help others.

- creating a GoldCard was easy. I followed directions from MoDaCo using Mac OS X. (I am experienced in Linux). Oh, but I had to switch to my Windows machine to use the hex editor to create the GoldCard.

- running the hack4legend_v5 script was easy. no problems on my mac.

- the last part, downloading and applying the RUU gave me a HEADACHE.

a) I didn't realize until I got to this part that it was a EXE. switch back to Windows 7 64-bit machine.

b) must have downloaded a corrupt file because InstallShield wouldn't pop up. went back to redownload the file.

c) finally the installation prompts pop up but then there's an ERROR 170 USB connection error. turns out i need new drivers. i tried using the Android SDK manager to get the ADB USB Drivers. no-go there. then I downloaded HTC Sync. still no-go. rebooted my phone and then tried again and it worked.

Whew. Now onto the other thread to root my phone.
[Legend Android Development] Phono:
hi board,

i got a v1.32 running and wanna downgrade to 1.31 - thats why i found this thread. i run the crackin.sh and everythink seems fine (permissions are equal to the " how ist should look" command line, but when i looked at my phone (settings - ?phone info? - software information) it still shows a v1.32 build - is that normal (i dont thinks so).

thanks for the support
[Legend Android Development] randy_khoo:
Just wanna say Thank You!

Hi there,

My name is Randy Khoo. I'm from the South East Asia region.

Just wanna say thanks to all of you guys for your help, namely wag3slav3 and Paul.

Just to put down this for the other SEA boys.

1) I started off with my goldcard creation (no problems) and followed Paul's advice at unlockr.com

2) I encountered problems with step 1 -> Remote 43 main check version fail

3) I bumped into this thread and gave your steps a try.

4) I ran crackin and reached

crwxrwxrwx 1 1001 2002 90, 0 Jul 19 16:19 /dev/mtd/mtd0

However, i kept getting permission errors while attempting this.

5) decided at this point to just give the downgrade a try anyway...

RUU_Legend_HTC_WWE_1.31.405.5_R_Radio_47.26.35.04_ 7.05.35.26L_release_126592_signed.exe

6) I succeeded and I continued Paul's instruction for Step 1 and Step 2...

7) Sweet success! Thank you...

Really appreciate this community of dedicated developers making rooting possible on the legend!

However i had a few speed bumps i wanted to run through with anyone else of you here that are experts in this field.

1) I had problems accessing SuperUser after the Step 2 => solved by restarting my phone.

2) ROM Manager / ClockWorkMod -> i've installed this and backed up my ROM. I wish to install Azure 6.0.0, however i am not sure if this requires a goldcard?

3) After the downgrade, i noticed there's an upgrade to 1.31.405.5 (3.89MB) when i do a system update. What will happen when I download this? Will it close up all the root vulnerabilities, letting me start all over to where i began in the first place? Will my phone brick with this update?
[Legend Android Development] IceFreak2000:
I had exactly the same problem with the script as you; I suspected the problem was a timing issue where the script wasn't waiting long enough after the phone had reset during the script execution process.

I fixed this issue by inserting

ping 1.1.1.1 -n 1 -w 60000 > NUL

after every

adb reboot

in the crackin.bat script. 60 seconds is probably overkill, but after making the edits, it worked first time.

Hope this helps.
[Legend Android Development] dc/dc:
If you have any issues downloading the RUU, try this site:

http://www.ilcell.com/nikoan89/ROM/Android/Legend/

I cannot, for the life of me, download from shipped-roms via my Bentley-Walker satellite system here in Afghanistan. They always cut off after 1-10 MB get downloaded even though I have a 1024 Mbps downlink. This is the only site that has worked for me to get the RUU .exes.
[Legend Android Development] colors:
can someone help me? i can´t get crackin.bat to work.. have my phone in chargemode and when i type crackin.bat it says

"copying tools"

error: device not found

error: device not found

error: device not found

error: device not found

error: device not found

"Freeing primary PERM linker"

error: device not found

error: device not found

error: device not found

and then it stops. Nothing more happens.... :S

yes, i have installed sdk. It´s the 3legend i root, no problems with the other 2

EDIT:

It seems to be the adb that doesnt work. When i connect my legend i get a serialnumber, when i connect my friends it it´s blank (it´s his legend we are trying to root).

EDIT2: wierd, all went fine when we did the downgrade using htc sync instead of chargemode. So now the 3legend is succesful rooted=)
[Legend Android Development] Gaillimh_Abú28:
As we say in Irish: Go raibh míle maith agat! A thousand thanks yous!:D
[Legend Android Development] typhoonscotland:
Noob Question

To anyone who can help,

I run crackin' and it says I can continue, however the RUU times out at the bootscreen which says "HTC" on the phone?

Does anyone know why this is happening?

FW Ver: 2.1-update1

Baseband Ver: 47.39.35.09U_7.08.35.21

Kernel Ver: 2.6.29-5f084974

htc-kernel@and18-2 #1

Build No: 2.05.161.1 CL191838 release-keys

Software No: 2.05.161.1

Browser Ver: WebKit 3.1

HBOOT Ver: 0.43.0003

MICROP-0816

Touch Panel - SYN07_0105

Radio - 7.08.35.21

The phone is locked to Vodafone UK, and I got it just a few weeks ago.

I have tried on Windows 7 x86 and Windows XP x86. I have a laptop downstairs running Ubuntu 10 Netbook Remix, if that's any help and I could use that?

EDIT: Realised I didn't need to downgrade, rooted the phone and now using Azure. Thank-you Ali Ba... =]

Thanks,

TS
[Legend Android Development] cowplod:
I get ERROR [171]: USB CONNECTION ERROR

it says that I'm not connected to my PC when I am... tried it a few times... still doesn't work for me...

EDIT: I just clicked exit, didn't reboot my phone or disconnect it then simply ran the programme again, worked fine :) SUCCESS :D thank you!!
[Legend Android Development] PaulKemp:
I got the 170 error at first, but if you get it, dont disconnect phone or reboot. Just start the exe file again and it will work!
[Legend Android Development] sz1a:
Having trouble with the RUU as well, it gets stuck on "waiting for bootloader" and then fails.

Have tried:

1# unplug/replug cable and run the RUU again

2# run it again without unplug/replug

3# make new goldcard and repeating the whole crackin.bat process

4# run the RUU in the android bootloader

Downloading HTC Sync now, lets hope that does it. any other tips? :)
[Legend Android Development] sz1a:
No luck after installing HTC Sync either.. Completely stuck at error 170 & 171: usb connection error.
[Legend Android Development] sz1a:
Sorry for all the posts, found the problem. It tries to install drivers for a device called "Android 1.0" but fails. Where can I get the drivers? Does anyone have a clue?
[Legend Android Development] pepperboy1019:
any one know how to DOWNGRADE on software number 2.02.178.3 or 2 !?? so want to root my HTC legend and get froyo...
[Legend Android Development] hi.jonnywalker:
Hey, I am on Mac OSX. Right, so i have set up adb. I set my path to the tools folder and put the hack4legend contents in there . then i opened up terminal at the tools folder and put in the crackin.sh command it said ' permission denied' so i tried ./crackin.sh but got the same error... what am i doing wrong??? also when it comes to running the RUU it is an exe file is it possible to use it on a mac or will i have to use Parallels ? :D thanks xx
[Legend Android Development] caretaker01:
ok same problem i have an unlocked Htc Legend with vodafone spain brand i i wanna remove it and i cant until i downgrade, goldcard worked perfect, adb perfect, crackin.bat perfect and after last reboot i tryed running the ruu.exe listed after setting the phone to Sync and opening htc sync program on windows and runing the ruu (error 170 usb connection error), and after that reeboot started over same steps but this time after last phone boot opened ruu.exe without anything else same error............bouth of these attempts tryed opening the ruu.exe again after receving the error and hitting exit, a couple of more times same error no change
[Legend Android Development] antonio87:
nothing upgrade OTA, after debrand and downgrade

After debrand and downgrade, the OTA on my legend doesn't work, that is i have to install the updated firmwares manually?

I have installed tihs ROM RUU_Legend_HTC_WWE_2.03.405.3_Radio_47.39.35.09_7.08.35.21_release_130330_signed

but i don't receive the 2.05.405.2 rom....

I have to prove to switch on Wifi for 2 hours.... nothing!

change date to 2011,after restarting ... nothing!

Who help me?

Sorry my bad english... i'am italian ;-)
[Legend Android Development] BlaY0:
That's the latest WWE U have. There's no update for this version

Sent from my HTC Legend
[Legend Android Development] antonio87:
serch this thread "New OTA update for Legend ( netherlands/europe )" Legend>General discussion (i can't post link beacause i'am new user)

in this thread there are some info about update to 2.05.405.2
[Legend Android Development] BlaY0:
This one was pulled off...
[Legend Android Development] Wooven:
Hi

I tried the next couple of days to debrand my Legend unsuccessfully. Everytime i get

link failed File exists

"Rebooting to normal mode to downgrade ROM"

crwxrwxrwx 1 1001 2002 90, 0 Aug 2 16:12 /dev/mtd/dtd0

"Freeing links"

rm failed for /data/DxDrm, Permission denied

rm failed for /data/dontpanic, Permission denied

and error 170 when trying to downgrade.

With 7x32 7x64 and xp.

I struggled with HTC sync drivers, SDK drivers and usb deview, nothing changed.

When plug it in fastboot mod, i got "Android 1.0" device , i applied drivers successfully like says here xdaforums.com/showthread.php?t=737728

My bootloader version is 0.43.0001 and the hardware id is 0fff, so the drivers applies for Android ADB Interface in 0fff

But when i plug it in charge only-debug mode, hardware id is 0c97 and therefore i think that's where the conflict is. USB Deview sees two different usb drivers.

Do i have to change hardware ids to make it right? Is it possible? And most importantly is it the real problem ?

Thanks...:)

img526.imageshack.us/img526/8789/deview.jpg
[Legend Android Development] renotm:
Hello.

Thanks for this How To.

Has someone tested the downgrade from a 3.14 HTC Rom (official HTC Vodafone with Sense Rom)

I cannot apply the crackin.bat

I received a lot of error message and at the end I have

"Rebooting to normal mode to downgrade ROM"
/dev/mtd/mtd0: Permission denied
cr--rw---- 1 1001 2002 90, 0 Nov 15 23:40 /dev/mtd/mtd0

I tested on several PC (XP, XP Pro, Seven 64, Seven 32 ...) and the result is always the same. :confused:
[Legend Android Development] ankit6193:
I also want to know is there any way to downgrade 3.14 froyo sense Rom
[Legend Android Development] renotm:
I don't know if this problem is just for me (my device was rooted before the 3.14 install)

- I Cannot install another RUU directly (HTC or Vodafone) => Error 140

- I Cannot apply the crackin.bat (or uncrackin)

- I Cannot launch the update.zip from the recovery.

I hope that someone will found a workaround in order to downgrade from the 3.14

My little study of script issues:

The /data/DxDrm/ directory does not exists on this ROM.

$ ls -l /data/DxDrm/
/data/DxDrm/: No such file or directory

So the rm doesn't work. ok, we try to delete an unexisting file. no problem.

but after we cat the busybox into this file. it does work because /data/DxDrm does not exists too.

Do you think that I can try to add a

adb shell mkdir /data/DxDrm

(I haven't the rights to make a ls -l /data/ :mad:

$ ls -l /data/
opendir failed, Permission denied
[Legend Android Development] Blindie:
i have the same problem
[Legend Android Development] sarapis:
It's the same for me, but I wonder if someone can do something that allow us to downgrade or root our 3.14 devices. It would be very nice.
[Legend Android Development] renotm:
Paul from modaco is really the king of android !!!

http://android.modaco.com/content/h...3201/downgrading-from-froyo-ota/#entry1476759

I tried, and it works !!! I'm so happy (having a 1.32 :D)
[Legend Android Development] ankit6193:
it works for you Paul method for downgrading and what is the meaning of Su here
[Legend Android Development] Blindie:
Yes, IT WORKS XD
[Legend Android Development] Ozone:
how can i check what firmware i have? 1.31 or .. ?
[Legend Android Development] masterbalby:
Idem for me
[Legend Android Development] wag3slav3:
Oh, right. Do these two individually

/data/local/busybox ls -al /dev/mtd0

/data/local/busybox ls -al /dev/mtd1

for me.
[Legend Android Development] wag3slav3:
new image file

Can I get a test of this file? Unzip and replace recovery.img with it.
[Legend Android Development] Joeball88:
Sorry man, neither of those worked either - 'permission denied'
[Legend Android Development] Joeball88:
huh? I don't follow you.

Edit: the file hadn't uploaded yet. I was confused!!
[Legend Android Development] wag3slav3:
How about

/data/local/busybox ls -al /data/local/rights/mid.txt

hit irc.freenode.net #xda-devs for quicker chat.
[Legend Android Development] tigrou85:
Hello I use the new file and it's say me " error writing recovery ; No space left on device"
[Legend Android Development] casca:
It's a shame that no other DEV whatsoever even reads this post, they could at least try to help us or show some support...after all, aren't we all at XDA for the same reason?

To help and to be helped?

Thank YOU Wag3 for trying what no one else gave a damn! If you need some beta testers, me and I think Joe too are willing to do it mate! Just pm or post here and we'll come running :)

( Since I've been fooled on a Desire business while purchasing it to a fraudlent guy I'm very pleased to see a DEV working on our case btw)

I honestly hope you are the guy that cracks the Legend, simply because it has been YOU the only one gaving Legend users attention, and promptly tried to help us when we requested. :)

regards
[Legend Android Development] casca:
hey guys, I just remembered something...

well, our problem is that version 2.03.405.3 is not rooted right?And we want root...so... in order to have root we have two options:

a) someone cracks the 2.03.405.3 bootloader 43.0003

b) we downgrade through an RUU file to a previous rootable version like 1.31.xx (that at the moment isn't possible simply due to the bootlader version being different i think)

Since we are still doing development on the "a" point...maybe we can develop "b" point also,and who knoe...maybe it's easier...

Does anyone think it's possible to use part of the desire bootloader downgrade process found here http://android.modaco.com/content/htc-desire-desire-modaco-com/310970/how-to-downgrade-hboot/ in order to downgrade our own bootloaders(of the legend that is)?

I think that if we actually could downgrade the bootloader, we could flash a previous RUU version, could we not?

This is just a thought... the objective continues option "a", but maybe we could do this the other way...

(yes I know...too much free time...lol)
[Legend Android Development] casca:
this is the last post on the desire bootloader downgrading process, bu the guy doesn't have root, just followed the guide and when stuck...he changed the final steps of the process...

[quote name='rhedgehog' date='Jul 14 2010, 16:19' post='1343528']

I find that it did not work when I tried using a terminal app on the phone itself, i would get permission denied errors.

However, i instead did it in shell in adb.

so

instead of typing the two commands in a terminal program on the phone, type ' adb shell ' in the same window you issued the previous adb commands

enter the two commands

type exit to exit the shell

carry on with the adb reboot oem-78 command

that worked quite happily on a non-rooted, 1.21 phone.

now downgraded back to 0.75 bootloader allowing me to install the older rom i need for testing at work.

[/quote]

Devs speak up!
[Legend Android Development] wag3slav3:
I pulled the instructions so this thread wouldn't get too crazy. I have another idea that I am pretty certain will work for installing superuser.apk in rooted mode.

It doesn't give the ability to load custom roms, but it's still root. Come back in a few hours and check on the thread again.