yashsingh1/xdaforums huggingface dataset:
[Desire Q&A, Help & Troubleshooting] vdude_1:
If I forget to say thanks later, I apologise. Here it is in advance:

Thanks, Paul, really appreciate all the hard work :)
[Desire Q&A, Help & Troubleshooting] attn1:
Paul, awesome job!
[Desire Q&A, Help & Troubleshooting] blackfox888:
GREAT job Paul, Big thanks you in advance!
[Desire Q&A, Help & Troubleshooting] 0644hunt:
carnt wait to try it out, will it work on the UK Orange Rom ? well done paul

Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
[Desire Q&A, Help & Troubleshooting] claudefrog:
Can we get the instructions up then please.

Sitting here waiting to test this out.
[Desire Q&A, Help & Troubleshooting] mtbmtbmtb:
I think a goldcard will be needed, so might as well do that while we wait
[Desire Q&A, Help & Troubleshooting] mrshark:
what is a "gold card"? some on modaco are saying that it's needed to achieve the root... :confused:
[Desire Q&A, Help & Troubleshooting] marksyzm:
Absolutely enormous thank you to Paul for doing this, well done!
[Desire Q&A, Help & Troubleshooting] claudefrog:
Device is already using goldcard and has been flashed with Generic ROM, can we get the instructions please........
[Desire Q&A, Help & Troubleshooting] mtbmtbmtb:
A guide from Paul on how to create a GoldCard

This guide explains how to create a GoldCard. A GoldCard is a special SD card which, when inserted into your device, allows you to flash RUU files with a different CID to your own device. For example, if you own a T-Mobile branded device, this will allow you to flash a generic ROM.

Requirements

Spare microSD card

Windows PC (recommended)

ADB (part of the tools folder of the SDK, available for download here

HxD Hex Editor, available for download here

Step by step instructions

Format the microSD card to FAT32 format.

Put the microSD card in your device and boot it.

Ensure you have unzipped the SDK, then open a command prompt to the extract location. Change to the 'tools directory.

Enter 'adb shell cat /sys/class/mmc_host/mmc1/mmc1:*/cid' and press enter. You should get a very long number which looks like this: 532600bd227d9c0347329407514d5402.

Visit this page, paste in your number and reverse it. In our example the result would be 00544d5107943247039c7d22bd002653.

Visit this page, enter your reversed number and create your goldcard image, which will be e-mailed to you.

Open the HxD hex editor. If you are using Windows Vista or Windows 7, you must run the application as administrator.

Go to the 'Extra' menu and select 'Open Disk'. Under physical disk, select Removable Disk (your microSD card), uncheck 'Open as Readonly' and click OK. Note that you should select physical disk NOT the logical disk. This is important!

Go to the 'Extra' menu again and select 'Open Disk Image'. Open the goldcard image that you received by email.

You should now have two tabs - one is your removable disk, the other is your goldcard image. Press OK when prompted for 'Sector Size' (selecting 512 (Hard disks/Floppy disks)) and click OK.

Click on the goldcard image tab. Go to the 'Edit' menu, choose 'Select All' then select the 'Edit' menu again and select 'Copy'.

Click on the 'Removable Disk' tab. Highlight offset (line) 00000000 to offset (line) 00000170 (including the 00000170 line), then click on the 'Edit' menu and select 'Paste Write'.

Click on the 'File' menu and select 'Save', accepting the warning.

You now have a goldcard! :)

P

Thanks to MiSSigNNo!
[Desire Q&A, Help & Troubleshooting] zaphyr:
I can use a spare card for creating the gold card, then flash the phone, and when it's done I can use the old card again? I only need to have the gold card in the phone when I'm flashing? Correct?

I'd rather not format my card, if I don't have to... :)
[Desire Q&A, Help & Troubleshooting] mrshark:
thanks for the guide! How to test our goldcard to see if we have made all right?
[Desire Q&A, Help & Troubleshooting] Nokiolina:
Excuse me: I can wait the guide here or there will be another post with the guide?

Thanks :p
[Desire Q&A, Help & Troubleshooting] vdude_1:
Try flashing a generic ROM while you wait :)

Yes, you can switch back to your old SD Card. I used the 4GB card that came with the phone to create a gold card and now use a spare 8GB I had lying around.
[Desire Q&A, Help & Troubleshooting] DocRambone:
Is there a rooting guide out?

Gold card is not rooting without the ruu as i know it
[Desire Q&A, Help & Troubleshooting] EddyOS:
I don't get this bit, command prompt on your PC or on the Desire? Do you install the SDK on the phone or PC?
[Desire Q&A, Help & Troubleshooting] lukaswat:
Install android SDK to pc, go to tools folder and execute that adb shell command on your pc in the commandline :)
[Desire Q&A, Help & Troubleshooting] Ceased2Be:
Thanks for the how-to. I misplaced my old goldcard and was looking for a way to replace it.

Now I just have to wait for the instructions on how to root my Desire :)
[Desire Q&A, Help & Troubleshooting] abc27:
Can you reformat the card and re use it again as a regular card?
[Desire Q&A, Help & Troubleshooting] lukaswat:
You can use it as a regular card when its a goldcard. :)
[Desire Q&A, Help & Troubleshooting] EddyOS:
Nice one my friend - appreciate it! :D
[Desire Q&A, Help & Troubleshooting] MasDroid:
Basically, yes. To root means to gain Super User access to your phone. It allows you to flash custom ROMs, install custom themes, lock screens and more. It basically gives you complete and full control over your phone.

Apparently, this feature is available to us as of yesterday, Apps2SD has been confirmed to be working with the Desire, which allows you to access/install apps to the SD card.

This should be possible when the original leaked stock ROMs are made available. You will require the original RUU application to restore your phone back to factory settings.
[Desire Q&A, Help & Troubleshooting] kimjor:
*Oh and just to catch the question up front.

When connecting your phone to retrieve the number, set the connection type to 'HTC Sync' not as disk drive.
[Desire Q&A, Help & Troubleshooting] paulobrien:
What time is it? Root O'Clock! ;-)

http://android.modaco.com/content/h...om/307365/28-apr-r1-htc-desire-rooting-guide/

P
[Desire Q&A, Help & Troubleshooting] lexi1986:
Hell Yeah :D Thanks man your the Best :cool:
[Desire Q&A, Help & Troubleshooting] Nit3m4re:
Surely an RUU update from your carrier will mean that it would be able to revert back the SPL and ROM to a branded version should the need arise? I am only speculating but since Vodafone released a new branded ROM for my HD2, I now have a fallback on my HSPL should i need to send it in for repair, just goldcard the rom. Job done, so am I right in assuming that this would also be the case on the desire come that time? Or even if the original branded ROM for example, a Vodafone desire are extracted, then taking off the Root would be possible? Or is it way more complicated than it is for WinMo devices :)
[Desire Q&A, Help & Troubleshooting] EddyOS:
You don't have to do what you've done with your HD2 either - you can flash the stock ROM using HSPL2 then remove HSPL2 using the HSPL2 install file...a lot easier than the SD card method (for reference)
[Desire Q&A, Help & Troubleshooting] :
Insufficiant Permissions for device

I get this error when running the linux command
[Desire Q&A, Help & Troubleshooting] Nit3m4re:
Ahhh I was wondering what those other options were in the HSPL2 installer. I never really thought much about that. Thanks for that, its actually made things a lot easier haha :)
[Desire Q&A, Help & Troubleshooting] jtech:
me too.. damm
[Desire Q&A, Help & Troubleshooting] Kevin_seymer:
Excuse my ignorance but when, where, how?? I want to install my apps 2 SD =)
[Desire Q&A, Help & Troubleshooting] jtech:
the adb server needs to be run as root

./adb-linux kill-server

sudo ./adb-linux start-server

sudo ./recovery-linux.sh

goodluck
[Desire Q&A, Help & Troubleshooting] MasDroid:
He stated A2SD update zip is in the works, either later today or tomorrow morning :)
[Desire Q&A, Help & Troubleshooting] blackfox888:
HAIL Pual the GREAT!

how would I rip or obtain the T-Mobile stock Rom?

Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
[Desire Q&A, Help & Troubleshooting] PaulW21781:
Well I have just managed to root my desire so I'm happy :)

Used the existing 4gb SD Card which came with it for the Gold Card, and just glad I dual boot both Win7 and Ubuntu!

Happy days :) Roll on Apps2SD :)
[Desire Q&A, Help & Troubleshooting] zaphyr:
will I get access to paid apps after rooting?

Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
[Desire Q&A, Help & Troubleshooting] paulobrien:
I took a copy already, i'll post is as an update zip in due course.

P
[Desire Q&A, Help & Troubleshooting] mtbmtbmtb:
How do I check if Goldcard was successfully made?

It works fine in sdcard reader but is there any way to check on my phone

THANKS
[Desire Q&A, Help & Troubleshooting] Lord_Phoenix:
that's an awesome news! don't need anything except app to SD and market enabler, but you never know :)

Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
[Desire Q&A, Help & Troubleshooting] :
Thanks

Worked perfectly
[Desire Q&A, Help & Troubleshooting] watercool:
now there is a radio update also.

Can please someone explain shortly what the radio update does? (and what does asia mean in this context?)

thx.. first root attempt in my life :)
[Desire Q&A, Help & Troubleshooting] sindrefyrn:
When running the recovery-linux.sh, I'm getting this error:

- exec '/system/bin/sh' failed: Permission denied (13) -

Anyone help, please?
[Desire Q&A, Help & Troubleshooting] svirre26:
Nice work Mr O'Brien.

Good work Paul, and thank you for sharing it with the community. Hope you are enjoying your time of pride :)

That said, I've got two questions to the community regarding using my SD-card as a goldcard.

1. In the guides it suggest I should use a spare SD-card? Does this suggest that playing around with my SD-card would render it unusable? Or can I make it into a goldcard, and when root-prosess is finished I can still load it up with all my stuff?

2. I'm trying not to present this as a request, cos theres enough needy folks flooding the threads with requests, but I guess I could for once allow myself to join the masses..it's actually sorts of a request/question; Is it possible, now that the root prosess is public, to make it into something more "softwareable"? Ipod/phone has got its quickpwn, the hero got flashrec. Maybe something less "technical" (in lack of other words) so all the "whats root?" people can do it simple without flooding the threads.

Thank you for your time!
[Desire Q&A, Help & Troubleshooting] blackfox888:
Thanks Paul, I will look out for that in due course then:D
[Desire Q&A, Help & Troubleshooting] DocRambone:
I did it this way:

Booted up a linux live cd 32bit

Open up command window

Set sudo password by: sudo passwd root

Enter: su

Copied the extracted folder to home

Enter cd /(your home dir.)

./recovery-linux.sh
[Desire Q&A, Help & Troubleshooting] AdamLC:
Probably cause your not running it as root :)
[Desire Q&A, Help & Troubleshooting] paulobrien:
1. I use my main microSD. ;)

2. At this time no, as it's effectively impossible to root from Windows alone - a major hurdle. I will refine and 'pretty' the process over the coming days / weeks though.

P
[Desire Q&A, Help & Troubleshooting] sindrefyrn:
I am running as root. Here's what I typed in terminal:

martin@ubuntu:~/Dokumenter/pushfiles$ sudo su
root@ubuntu:/home/martin/Dokumenter/pushfiles# ./recovery-linux.sh
push: files/etc/fstab -> /etc/fstab
push: files/etc/mtab -> /etc/mtab
push: files/sbin/busybox -> /sbin/busybox
push: files/sbin/fs -> /sbin/fs
push: files/sbin/um -> /sbin/um
push: files/sbin/parted -> /sbin/parted
push: files/sbin/reboot -> /sbin/reboot
push: files/sbin/flash_image -> /sbin/flash_image
push: files/sbin/log2sd -> /sbin/log2sd
push: files/sbin/sdparted -> /sbin/sdparted
push: files/sbin/unyaffs -> /sbin/unyaffs
push: files/sbin/mke2fs -> /sbin/mke2fs
push: files/sbin/fix_permissions -> /sbin/fix_permissions
push: files/sbin/tune2fs -> /sbin/tune2fs
push: files/sbin/nandroid-mobile.sh -> /sbin/nandroid-mobile.sh
push: files/sbin/dump_image -> /sbin/dump_image
push: files/sbin/backuptool.sh -> /sbin/backuptool.sh
push: files/sbin/e2fsck -> /sbin/e2fsck
push: files/sbin/mkyaffs2image -> /sbin/mkyaffs2image
push: files/sbin/toolbox -> /sbin/toolbox
push: files/sbin/recovery -> /sbin/recovery
push: files/sbin/ums_toggle -> /sbin/ums_toggle
push: files/sbin/wipe -> /sbin/wipe
push: files/sbin/adbd -> /sbin/adbd
push: files/system/lib/liblog.so -> /system/lib/liblog.so
push: files/system/lib/libc.so -> /system/lib/libc.so
push: files/system/lib/libcutils.so -> /system/lib/libcutils.so
push: files/system/lib/libm.so -> /system/lib/libm.so
push: files/system/lib/libstdc++.so -> /system/lib/libstdc++.so
push: files/system/bin/sh -> /system/bin/sh
push: files/system/bin/linker -> /system/bin/linker
31 files pushed. 0 files skipped.
1702 KB/s (3709881 bytes in 2.128s)
- exec '/system/bin/sh' failed: Permission denied (13) -
root@ubuntu:/home/martin/Dokumenter/pushfiles# - exec '/system/bin/sh' failed: Permission denied (13) -

It's stuck there.
[Desire Q&A, Help & Troubleshooting] jayshah:
Will it work if your card is partitioned? I don't have an adaptor handy so I have a 8GB card with a half-gig ext3.
[Desire Q&A, Help & Troubleshooting] paulobrien:
Try 'chmod -R 4755 files' then try again.

P
[Desire Q&A, Help & Troubleshooting] jtech:
damn your too quick.. i was like 80% almost worked that out :/

On a side note.. (ignore if its stupid, am learning)

I tried to remount the system as rw ((busybox is cat'd to /data/local/rights/ then +x))

"./busybox mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system" when running normally and it seems to be ok (rw) (no ro error)..

but when I "cat busybox > /system/bin/busybox" it just fails "out of memory" then if i "ls /system" the phone reboots..

lol (way over my head)
[Desire Q&A, Help & Troubleshooting] paulobrien:
That's the protection system kicking in. You can only modify system when you're in the patched recovery.

P
[Desire Q&A, Help & Troubleshooting] jtech:
cool thanks & interesting :)
[Desire Q&A, Help & Troubleshooting] Epedemic:
Got root. Thank you Paul :)
[Desire Q&A, Help & Troubleshooting] choccy31:
at this point, plug it into your Linux or OSX computer.

How do I get one of these?

Can't root without.
[Desire Q&A, Help & Troubleshooting] jtech:
use a livecd.. http://www.ubuntu.com/getubuntu/download
[Desire Q&A, Help & Troubleshooting] choccy31:
Thanks dude
[Desire Q&A, Help & Troubleshooting] DocRambone:
Its possible to do a bit in system folders, any pushed apps in system/app can be deleted by root explorer, but not the built in apps.
[Desire Q&A, Help & Troubleshooting] EddyOS:
stupid n00b question, but to make the gold card i take it I need the Desire plugged into my PC? Doesn't say so on the guide...
[Desire Q&A, Help & Troubleshooting] MasDroid:
Yes mate, have it connected. I had it connected as a Removable disk (Disk Drive) and it worked fine.
[Desire Q&A, Help & Troubleshooting] EddyOS:
I'm now getting this:

C:\Users\me\Desktop\android-sdk-windows\tools>adb shell cat /sys/class/mmc_host/mmc1/mmc1:*/cid

error: device not found

this is with Desire set as disk drive
[Desire Q&A, Help & Troubleshooting] MasDroid:
Have you tried this connected with the HTC Sync option instead?

If i remember correctly, I may have changed it to Disk Drive a few steps afterwards.
[Desire Q&A, Help & Troubleshooting] EddyOS:
got it, nice one!
[Desire Q&A, Help & Troubleshooting] MasDroid:
No worries, sorry about that little hiccup matey ;)
[Desire Q&A, Help & Troubleshooting] svirre26:
Not sure about the formatting of this post, but all below the line is my last post & Pauls reply. added for info. Again, this is not ONLY for Paul, but open to replies from the community.

Concerning 2.; Just a thought..Wouldnt it be possible to use Qemu ( https://help.ubuntu.com/community/WindowsXPUnderQemuHowTo ) to emulate the linux part of the prosess, as well as using a script which does the hexedit for you? Put in the rest of the prosess, and youve got something. Not sure how to do this, but surely there has to be a software dev somewhere on this forum?

Oh well, I'll leave it there. Might root or might wait, so far happy with my device. But probably "adventourism" will get the better of me sooner or later ;) Again, well done lad :)

-------------------

Quote:

Originally Posted by svirre26

Good work Paul, and thank you for sharing it with the community. Hope you are enjoying your time of pride

That said, I've got two questions to the community regarding using my SD-card as a goldcard.

1. In the guides it suggest I should use a spare SD-card? Does this suggest that playing around with my SD-card would render it unusable? Or can I make it into a goldcard, and when root-prosess is finished I can still load it up with all my stuff?

2. I'm trying not to present this as a request, cos theres enough needy folks flooding the threads with requests, but I guess I could for once allow myself to join the masses..it's actually sorts of a request/question; Is it possible, now that the root prosess is public, to make it into something more "softwareable"? Ipod/phone has got its quickpwn, the hero got flashrec. Maybe something less "technical" (in lack of other words) so all the "whats root?" people can do it simple without flooding the threads.

Thank you for your time!

P
[Desire Q&A, Help & Troubleshooting] Ramedge:
going to root my Desire soon, the last phone I did was my G1 within weeks of having it nearly 19 months ago now!

Just a quick question - once rooted does the device still benefit from OTA updates?
[Desire Q&A, Help & Troubleshooting] oshun:
I have a few questions:

1. Will market enabler work?

2. Does the rom contain german language?

3. When rooting the phone i see that the current rom i have is newer than the rom which would be flashed. Is this a problem?
[Desire Q&A, Help & Troubleshooting] InspectorFrost:
Hi...

Alittle help please for a stuck novice !!

Ive followed the root instructions to the letter and for the most part its gone well.....

Im now stuck on this bit

"Now you need to unzip the 'push files' zip that you downloaded above. When you have done so, you'll see a file called 'recovery-linux.sh' or 'recovery-mac.sh'. Run the one appropriate to your operating system and the screen of your device should change to display the green recovery image menu."

Ive plugged it in to the mac, unzipped the push files and launched recovery-mac.sh, it just opened a window with the below text in and nothing more, the phone screen is still on the red triangle....what have i done wrong !?

chmod +x ./adb-mac

./adb-mac push files /

./adb-mac shell busybox --install /sbin

./adb-mac shell recovery &

HELP!
[Desire Q&A, Help & Troubleshooting] InspectorFrost:
ok, found out i'm supposed to type "sudo ./recovery-mac.sh" into terminal.

it then asks me for my password, i type it in, then it tells me that "sudo: ./recovery-mac.sh: command not found" !!!

Looks like my phone is staying at home tomorrow !!!

Please help a dunce !
[Desire Q&A, Help & Troubleshooting] MasDroid:
Yay, just started and finished rooting, going to try Apps2SD now :D

Big thanks to Paul.
[Desire Q&A, Help & Troubleshooting] Lord_Phoenix:
Awesome! Thank you very much for your work!
[Desire Q&A, Help & Troubleshooting] haruryu:
Help

Am I doing something wrong? i got the red triangle, now i cannot start a recovery because i use Windows. I only see for MAC and Linux :S

do i miss something or do something wrong? i cannot get the recovery screen :(

i did everything step by step.
[Desire Q&A, Help & Troubleshooting] jtech:
You **need** to use Linux or Mac to finish it.

Download ubuntu liveccd and you can then use linux without installing etc.

http://www.ubuntu.com/getubuntu/download

From the guide: Now you need to unzip the 'push files' zip that you downloaded above. When you have done so, you'll see a file called 'recovery-linux.sh' or 'recovery-mac.sh'. Run the one appropriate to your operating system and the screen of your device should change to display the green recovery image menu.
[Desire Q&A, Help & Troubleshooting] zaphyr:
You have to use mac or linux as well
[Desire Q&A, Help & Troubleshooting] haruryu:
aahh crap what am i getting myself into :( dont have any idea how to use those systems :D but i will try if i HAVE to :p hehe. thanks for a quick reply !
[Desire Q&A, Help & Troubleshooting] zaphyr:
Or, you could wait. I'm sure there will come an updated procedure for windows at some time.
[Desire Q&A, Help & Troubleshooting] magicdroid:
what?.. are you guys still running Windows?! :eek:
[Desire Q&A, Help & Troubleshooting] haruryu:
Yes Sorry i am hehe.

i use the Live cd of Ubuntu. here i cannot start recovery-linux.sh

is that correct, MUST I install Ubuntu to use the file? Must i install drivers? oh sorry to bother you guys with this :S really not a linux user :S perhaps i should start learning
[Desire Q&A, Help & Troubleshooting] jtech:
You dont need to install it.

save the pushfiles.zip to a memory card

1.) Boot live cd

2.) once you are in Ubuntu

3.) Click PLACES --> HOME FOLDER

4.) insert memory card, copy the pushfiles.zip to the HOMEFOLDER

5.) Right click and extract the pushfiles

6.) Click Applications-->Terminal

6a.) Plug in phone via cable

7.) type

sudo su

cd pushfiles

./recovery-linux.sh

8.) you should see green text on your phone.
[Desire Q&A, Help & Troubleshooting] haruryu:
Thats why i love you guys! thank you so much for your help JTECH!!!

it worked, learned and stored in my knowlegde
[Desire Q&A, Help & Troubleshooting] zaphyr:
First off, "i cannot start recovery-linux.sh" doesn't say much.

You have to provide exact information. What steps have you done, what kind of output do you get when you try to run the command, etc.

It is one thing you learn by using linux, and asking for help. Provide information. Lots. Take it from a long time Gentoo user ;)
[Desire Q&A, Help & Troubleshooting] haruryu:
yep, you are right. Jtech told me to use the terminal with commands. it worked. its rooted now. i just double clicked on recovery-linux.sh it didnt start correctly. just said that deamon started. but didnt got in to the recovery image. now all is fine. next time if i ask for help. i will be more specific about the problem and provide more info :D thank you all!
[Desire Q&A, Help & Troubleshooting] minivag:
Will MArket Enabler work or not ?

As I can see, you wont get Market Enabler to work, because there is no root access after Phone is in "normal" condition. Please tell me i'm wrong and Market Enabler will work.
[Desire Q&A, Help & Troubleshooting] paulobrien:
Eh?

Phone is rooted after you root. :P

Hence Market Enabler works.

P
[Desire Q&A, Help & Troubleshooting] assangflexx:
Just rooted my HTC Desire, thanks for the quick root.

Guide totally worked. Now running app2sd and rootedupdate.zip ;)
[Desire Q&A, Help & Troubleshooting] blackfox888:
My desire is rooted:D apps2sd installed and Radio updated:D:D

Follow guide to the tee, but was stuck on the Linux stage, got it working in terminal. I'm really happy! btw I can confirm Linux in VMWare worked:)

Massive thanks you to Paul!
[Desire Q&A, Help & Troubleshooting] gandalf027:
You are wrong.

Market Enabler, Setcpu, N1 Torch .. etc all work.
[Desire Q&A, Help & Troubleshooting] primaxx:
Does anyone know which locales are included in this rom?

(Are there any Norwegians that have rooted it yet?)
[Desire Q&A, Help & Troubleshooting] haruryu:
I didnt see Norwegian language while doing the setup. i Think there is only Dutch, English, French and German language.
[Desire Q&A, Help & Troubleshooting] assangflexx:
English, French and German are default languages, your setup should!! show Norwegian. (It uses the SIM-card for this).
[Desire Q&A, Help & Troubleshooting] Torhac:
It does :)