Jump to content


Photo

No ADB & No SD

- - - - -

  • Please log in to reply
104 replies to this topic

#21
Pawnda

Pawnda

    Newbie

  • Members
  • Pip
  • 36 posts
  • Devices:HTC Hero
Well... I'm amazed... None of my friends has a card reader that supports MicroSD...

So i ordered one... will be here thursday...

Will write back when i have tried the goldcard+RUU method :)

  • 0

#22
pulser

pulser

    Diehard

  • Members
  • PipPipPipPip
  • 432 posts
  • Gender:Male
  • Location:/dev/null

Well... I'm amazed... None of my friends has a card reader that supports MicroSD...

So i ordered one... will be here thursday...

Will write back when i have tried the goldcard+RUU method :)


Aww. Pity about the wait.

Did you give the oem-78 thing a shot? I think there is a very small chance it 'could' work without a goldcard. Either way, a card reader is useful to have for 'emergencies' like this.

I would try flashing the rom.zip from the temp folder (inside two other folders with random names- sort by data modified to find it), as it should either work or be rejected for 'lack of goldcard' reasons.

Will check back on Thurs.

  • 0

#23
Pawnda

Pawnda

    Newbie

  • Members
  • Pip
  • 36 posts
  • Devices:HTC Hero
I tried the "reboot oem-78" and "su reboot oem-78".

Just gives me "not permited!"...

  • 0

#24
pulser

pulser

    Diehard

  • Members
  • PipPipPipPip
  • 432 posts
  • Gender:Male
  • Location:/dev/null

I tried the "reboot oem-78" and "su reboot oem-78".

Just gives me "not permited!"...


Typical... I guess the goldcard is needed.

  • 0

#25
Pawnda

Pawnda

    Newbie

  • Members
  • Pip
  • 36 posts
  • Devices:HTC Hero
Yeah well... Not much else to do xD

If im lucky (VERY lucky) i will have the cardreader in the mail tomorrow.

Sometimes the mail in denmark is faster when you order it to a business address :)

  • 0

#26
Pawnda

Pawnda

    Newbie

  • Members
  • Pip
  • 36 posts
  • Devices:HTC Hero
Well... i tried running the RUU with the GoldCard inside...

But it gives me the same error... Error [170] or something... USB-CONNECTION ERROR

I'm not sure i made the goldcard the right way... are there some way to check it?

  • 0

#27
Pawnda

Pawnda

    Newbie

  • Members
  • Pip
  • 36 posts
  • Devices:HTC Hero
Does the size of the SD card matter?

Im currently using a 16 GB card.

  • 0

#28
Pawnda

Pawnda

    Newbie

  • Members
  • Pip
  • 36 posts
  • Devices:HTC Hero
Ah sorry. i know what the problem is... i got the CID using linux.. but i got the CID of another SD card inserted into the computer..

Is there a way to get the CID through a USB card reader?

  • 0

#29
pulser

pulser

    Diehard

  • Members
  • PipPipPipPip
  • 432 posts
  • Gender:Male
  • Location:/dev/null

Ah sorry. i know what the problem is... i got the CID using linux.. but i got the CID of another SD card inserted into the computer..

Is there a way to get the CID through a USB card reader?


Try these instructions instead(step by step) with card in the phone UNTIL YOU DOWNLOAD GOLDCARD.IMG AND ARE READY TO FLASH IT TO THE CARD. PUT THE CARD IN THE READER AT THAT POINT! (sorry for caps, just to clarify when to switch the card)

Credit to theunlockr.com

1. Put the memory card you want to use for the GoldCard into your phone.

2. With the memory card in your phone, click on Settings, SD and Phone storage, then click Unmount SD card. Once it unmounts, click Format SD card. (Please keep in mind that some memory cards don’t work, and this will erase all data on your SD Card so back all the data up first to your computer)

3. On the Phone, goto Settings, Applications, Development and then make sure USB Debugging is checked.

4. *Make sure you have installed the SDK and Fastboot correctly from Section I!!!
Plug the phone into the computer and then open the Command Prompt (goto the start menu and type in cmd in the search box). Then type the following with hitting enter at the end of each line.

cd\
cd\AndroidSDK\tools\
adb devices

(wait for the it to show a serial number underneath, if it doesn’t then reinstall the drivers from section I). Then type:

adb shell
cat /sys/class/mmc_host/mmc1/mmc1:*/cid

5. A code will display, write the code down (MAKE SURE TO WRITE IT DOWN EXACTLY!)

6. Now, on your computer, goto http://revskills.de/...s/download.html and download QMAT 4.36. Extract the file to your computer somewhere and double click on the qmat.exe to open the program (THIS IS A DEMO VERSION SO IT WILL ONLY STAY OPEN FOR 10 MINUTES, SO TRY AND NOT LINGER WHILE DOING THE NEXT STEPS).

7. Click on Cryptoanalysis Tools then Crypto Toolbox

8. Scroll down till you see a text box with a button titled, “Reverse String”, next to it. Put the CID you wrote down earlier into the text box (DOUBLE CHECK IT!) and then click the Reverse String button. It should reverse the CID you put in, write this down now (AND AGAIN DOUBLE CHECK IT!).

9. Now, on your computer, goto http://revskills.de/...s/goldcard.html 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!

10. Click continue and then you will receive your goldcard.img via email. Once it arrives save it to your computer.

11. Now, goto http://download.cnet...0...&tag=button to download the HxD Hex Editor. Save it and install it to your computer.

12. Take your SD card out of your phone and put it into the SD adapter it came with. Then put that into your computer so it shows up on your computer as Removable Disk.

13. Open the Hex Editor (Run as Administrator if one Vista or Windows 7) and click on the Extra tab, then click on Open Disk. Under Physical Disk select Removable Disk (your SD card you just put into the computer). Make sure to UNcheck “Open as ReadOnly”. Click OK.

14. Goto the Extra tab again and click Open Disk Image. Open up the goldcard.img that you saved from your email. You should now have two tabs, one is the SD card (Removable Disk) and the other is the goldcard.img
Press OK when prompted for Sector Size 512 (Hard Disks/Floppy Disks).

15. Click on the Goldcard.img tab and click on the Edit tab and click Select All. Then click on the Edit tab again and click Copy.

16. Click on the Removable Disk tab (Your SD Card) and select offset 00000000 to 00000170 then click on the Edit tab and click Paste Write.

17. Click on File then click Save.

18. Close the Hex Editor.

19. Test what we’ve done:

Take out the memory card from the computer, then put it back in.
Try to open the memory card on the computer (Removable Disk), if it lets you, you are all set. If it asks/tells you to reformat the card, then try steps 13 – 19 again. If it gives you the same error again, then try a different memory card (Erlern said it didn’t work for him until he finally went and bought a Kingston 2GB card, then it worked on that card only).

20. Put the GoldCard into your phone and reboot the phone with the GoldCard inside.




<h3 style="font-size: 1.17em;">III. Downgrade the Hero using the Goldcard</h3> 1.Download and install

HTC Sync

2. Plug in your phone via USB cable to your computer (make sure the GoldCard is in the phone).

3. Once HTC Sync is installed and your phone is plugged in, pull down the notification bar on the phone and select HTC Sync. Make sure it connects to HTC Sync on the computer.

4. Download the Original HTC Hero RUU (use the link I gave you earlier on in the process. I think you've got the exe already)


5. Double click the RUU you downloaded while the phone is plugged in with the GoldCard in it and follow the on screen procedure.





Try that and let me know how it goes. If you get the output from
adb shell
  cat /sys/class/mmc_host/mmc1/mmc1:*/cid
and post it here, I will try reversing the string myself and making the Goldcard.img myself for you.

Edited by pulser, 07 January 2010 - 12:15 PM.

  • 0

#30
Pawnda

Pawnda

    Newbie

  • Members
  • Pip
  • 36 posts
  • Devices:HTC Hero
Well... as i stated earlier in this topic... the phone can't see the SD, and i don't have ADB access... only fastboot...

*sadface*

Guess i need another phone to get the CID then...

  • 0

#31
pulser

pulser

    Diehard

  • Members
  • PipPipPipPip
  • 432 posts
  • Gender:Male
  • Location:/dev/null

Well... as i stated earlier in this topic... the phone can't see the SD, and i don't have ADB access... only fastboot...

*sadface*

Guess i need another phone to get the CID then...


Oops! Forgot about that. Give me 2 seconds to get other instructions...

Hold on... you have ubuntu or another linux distro on your PC. I'm pretty sure that it should have been able to read the CID correctly. You mentioned

Ah sorry. i know what the problem is... i got the CID using linux.. but i got the CID of another SD card inserted into the computer..


Is there any way you could remove that card reader and get your microSD in there?

Or, longshot. Do you have an old Windows Mobile device with microSD reader. QMat can supposedly read the CID using some forensics option?

Edited by pulser, 07 January 2010 - 12:30 PM.

  • 0

#32
Pawnda

Pawnda

    Newbie

  • Members
  • Pip
  • 36 posts
  • Devices:HTC Hero
I've been looking for a way all morning xD

What i found was only possible with an internal card reader, not a usb reader...

  • 0

#33
pulser

pulser

    Diehard

  • Members
  • PipPipPipPip
  • 432 posts
  • Gender:Male
  • Location:/dev/null

I've been looking for a way all morning xD

What i found was only possible with an internal card reader, not a usb reader...


Yup. Do you know anyone with a microSD to SD adaptor (they've probably got them coming out their ears, and I've actually ended up giving some away I had so many :).

Either that or Windows Mobile device. Or a friend's device. I think it is quite easy to do that way.

Or, another android device like a hero, g1 or other one. We can read it from there!

  • 0

#34
Pawnda

Pawnda

    Newbie

  • Members
  • Pip
  • 36 posts
  • Devices:HTC Hero
I got a classmate with a HTC Magic. But hes skipping school today... and will propably do the same tomorrow...

Is it possible to do this from a symbian device?

  • 0

#35
pulser

pulser

    Diehard

  • Members
  • PipPipPipPip
  • 432 posts
  • Gender:Male
  • Location:/dev/null

I got a classmate with a HTC Magic. But hes skipping school today... and will propably do the same tomorrow...

Is it possible to do this from a symbian device?


Apparently so!

You could give this a shot (will need to sign the .sis yourself. I presume you have your own certificate?

http://discussion.fo...ad.php?t=110621

It would probably depend on what device you have. And which version of symbian it runs. Let me know what you've got and I'll take a look.

  • 0

#36
pulser

pulser

    Diehard

  • Members
  • PipPipPipPip
  • 432 posts
  • Gender:Male
  • Location:/dev/null

Apparently so!

You could give this a shot (will need to sign the .sis yourself. I presume you have your own certificate?

http://discussion.fo...ad.php?t=110621

It would probably depend on what device you have. And which version of symbian it runs. Let me know what you've got and I'll take a look.


I have had an idea. I'm off for lunch for a bit, but I think you can use HxD Windows hex editor to access these sectors of the card, being as it can write to them. Give me a few minutes, and I'll get back to you with details.

  • 0

#37
Pawnda

Pawnda

    Newbie

  • Members
  • Pip
  • 36 posts
  • Devices:HTC Hero
thanks B)

ill wait impatiently :)

  • 0

#38
pulser

pulser

    Diehard

  • Members
  • PipPipPipPip
  • 432 posts
  • Gender:Male
  • Location:/dev/null

thanks B)

ill wait impatiently :)


I'm back and downloading it...

Unfortunately, doesn't look promising ;)

Don't think I can access the CID through sector 0 of the card. ;)

  • 0

#39
Pawnda

Pawnda

    Newbie

  • Members
  • Pip
  • 36 posts
  • Devices:HTC Hero
I tried to look at it too, i think you are right...

Well... i may be able to get ahold of another android device later today.

  • 0

#40
pulser

pulser

    Diehard

  • Members
  • PipPipPipPip
  • 432 posts
  • Gender:Male
  • Location:/dev/null

I tried to look at it too, i think you are right...

Well... i may be able to get ahold of another android device later today.


Yeah. Grab yourself another Android device and get the CID out it. Be sure to post the CID here (because after all this hassle, you wouldn't want to lose it :)) AFAIK there is nothing sensitive in the CID Number (it is the serial number of the SD card, and what use is that to anyone malicious???)

Alternatively, you could try (if you can get hold of a microSD ->SD adaptor from somewhere) to get the CID from the laptop/computer you used earlier (but ended up with the CID of the wrong card. That should work.

The CID should look like '1b534d3030303030771060c2c8009834', ie. 32 hex digits. That's my CID for my microSD card I've got in right now.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users