Thursday, June 25, 2009

usbdump huh? how?

Apple has added a new layer of security to the iPhone 3GS. I mentioned it several posts earlier; it's the ECID field. When iTunes starts the restore process, they contact Apple servers to generate signatures just for your device. It's important you get these signatures for your phone before a new version of the software comes out. I had previously suggested doing this by dumping usb while the iPhone restores. But this is complicated.

Fortunately, the good folks at purplera1n are here for you, the end user who wants a jailbreak. Follow these instructions to generate a unique certificate for your phones iBSS. And don't delay, Apple may change their minds. To clarify, this is instead of a usb dump. Do this, and you are good!

1. Put your phone into recovery mode and connect it to your computer.
2. Using usbview on Windows(enable Config Descriptors), System Profiler on Mac, or lsusb on Linux, read your phones ECID. It's the 16 digit hex number after "ECID:"
3. Go to purplera1n, type it, and hit enter
4. Save the generated file for a purplera1nyday...

97 comments:

Lilskata said...

Thanks man for the info!

BenM said...
This post has been removed by the author.
BenM said...

nice! maybe we should slaught a goat to embrace the god of purplera1n!

dan holmstock said...

THANKS MAN, cant wait to get my phone next week!

danest said...
This post has been removed by the author.
danest said...
This post has been removed by the author.
Arthur said...

Where exactly in USBview widows i have to look for ECID

Volcomskater214 said...

dude WHAAAT im so lost.. when i plug my phone in then what??

hawaiitrader said...

great thanks! quick question for you....can i kick it out of recovery mode without restoring. I dont have access to my home computer?

yozh said...

Are we going to be able to kick the phone out of recovery mode ? Or do we have to restore ?

Young Hegelian said...

Thanks for the instructions,,, Just done that, I was wondering how do i get out of recovery mode? my 3gs is stuck there? do i need to restore again?

Arthur said...

No, dont need to restore, hold power and home for ten seconds...I done it to..thanks GeoHot

Tycoon said...

I just did that on the 3gs it worked to get out of recovery mode i just turned the phone off by holding the power key and turned it back on and it was out of recovery.

Volcomskater214 said...

im lost help after i plug it in then what..

esJ said...

http://www.hackint0sh.org/forum/f203/76672.htm

Instructions that are a little more clear.

Volcomskater214 said...

how do you put it in recovery mode my lord guys help im sorry

M.G. said...

Thanks a lot everything worked perfectly.

Volcomskater214 said...

HOW DO I PUT IT IN RECOVERY MODE

Saleh said...

Job done. Thanks
for people who do not know follow these:
1. download USBView from here http://www.ftdichip.com/Resources/Utilities/usbview.zip
2. put your iphone into DFU mode (hold the power and home for 10s then home for 30s)
3. start USBView and go to options select config descritors
4. go to file> refresh
5. find your iphone ECID
to recover your iphone from DFU just hold power+home for a munite until the phone starts again.

Volcomskater214 said...

dude it wont let me in dfu mode do i have to have a sim? what do i do

Saleh said...

Turn off your phone first then follow these steps.

Volcomskater214 said...

shilea that url dosent work either im geting pissed help!!!

yozh said...

Yeah just did it, to get out of the recovery mode just hold power+home it will shut off then press power it will go back to normal, man I cant wait till jailbreak for this thing!!!!!!!!

Saleh said...

http://www.ftdichip.com/Resources/Utilities/usbview.zip

Saleh said...

usbview on rapishare
http://rapidshare.com/files/248696663/usbview.zip.html

hawaiitrader said...

woot! easy, thanks geohot! looking forward to jb on my 3GS...

Saleh said...DFU, it should be recovery mode

to enter recovery mode, make sure iphone is off, hold home button, and plug it into computer, dont release home until you see itunes image on the iphone.

x said...

and then what? should the purplera1n file be saved somewhere specific to make a difference?

Volcomskater214 said...

i still cant get to dfu mode ?? how do i know im there??

Saleh said...

Just save the file for the future. it might be needed for jailbreaking

x said...

for me, it showed a sign of a usb cable going into itunes on the actual iphone screen. then itunes had a yellow triangle sign saying that I was in recovery mode, and I clicked ok. I didn't do anything else in itunes itself.

x said...

thanks saleh, I think my excitement jumped the gun a bit, oh well.

Volcomskater214 said...

need help how to get tooo dfu mode i cant get there and if i do how do i knooo

Tycoon said...

@Volcomskater214
http://www.iclarified.com/entry/index.php?enid=367

Saleh said...

Volcomskater214
Watch this please.

http://www.youtube.com/watch?v=-KmHNSE3CZI

Volcomskater214 said...

thank you that helped alllott but now my itunes wont RUN WHAT IS WRONG WITH ME

ian said...

that was super easy. thanks!

matesola said...

to Volcomskater -
You are trying to discover new problems and don´t listen to advices and solutions. THATS WHAT WRONG WITH U :))

to Saleh - thanks, that was easy with your step by step

to geohot - thanks a lot :)

Volcomskater214 said...

GUYS I GOT IT what do i do now?? i have the code??

Volcomskater214 said...

so what was the point for that?? nothing?? cause i have it now

matesola said...

to Volcomskater
Now you need to wait quietly, patiently and invisibly :)

Volcomskater214 said...

oh o was i supposed to save it on my comp?? cause i freaking wrote down the number

iexpert said...

Thanks GEOHOT! Are you back on the Dev-Team? We want you BACK!!!

Volcomskater214 said...

guys im getting scared.. whats wrong with my 3G S if you go to general and go to usage you see time after fully charged.. its not picking it up whats wrong

ADMIN said...

thanks to geohotz and saleh

Angad said...

aite so in order for our 3GS to be jailbroken in the future we need to perform a usb dump?

tsuehpsyde said...

Thanks for the method to get the cert, George. =) Glad you posted this up before anything got changed. Cert sitting and anxiously awaiting some ra1n...

Volcomskater214 said...

guys can i restore my iphone 3G S is it safe?? HELP QUICK

Joel said...

Guide can be found here: http://www.ipodtouchfans.com/forums/showthread.php?t=207134

Volcomskater214 said...

can someone tell me if its safe to restore my 3G S since they havent come out with anything new yet

tsuehpsyde said...

Okay, so to summarize for the people that have posted so far that seem extremely confused:

YOU CANNOT UNLOCK YOUR iPHONE 3GS YET. PERIOD.

So, if you're all anxious and giddy thinking you're going to jailbreak your phone, calm down and learn to read.

The post is how to get a PIECE OF INFO YOU NEED off of your iPhone.

The reason it's posted NOW is that Apple may REMOVE the ability to pull this data off of the USB "string" when the iPhone is in recovery mode.

So in summary, you are

1. Putting your phone into rescue mode (BUT NOT RESTORING IT!)

2. Finding the ECID section in the usb info

3. Copy/pasting that into the purplera1n.com link and saving the file until the jailbreak comes out.

Again, we may not even need this file. This is just a safeguard in case Apple tries to stop us from jailbreaking our phones with a software update to the phone.

Volcomskater214 said...

WOW YOUR NOT undERSTANDING I JUST WANT TO RESTORE IT CAUSE ITS FUCKING UP IS IT SAFE TOO????

Volcomskater214 said...

NEED help seriously

lost said...

It's safe to restore. The issue is updating firmware which is not an issue at the moment since there is no new firmware

Jim said...

@geohot @Saleh Thanks guys! /jab

ta_mobile said...

I've got it hehe.

ECID:00000076720C430E

Tks geohot ;)

abayne5 said...

VERY SIMPLE!

Henning Hünteler said...
This post has been removed by the author.
Max said...

Is this just for 3GS or do I have to do it with my 3G, too when I want to JB in the future?

Oxymoron said...

@Volcomskater214 enough already and try reading some guides. Its not as hard as your making it out to be. Reading instead of bitching and crying will get you farther.

Nyx said...

Got it!

Thanks for the guide...and all your amazing work!!

Kalsifer said...

HELLO ALL !!! thanks george for the good work !!!
I will have my iphone 3gs here in a week ... or at least i hope so ... will it be a problem for that reason ? i mean the new itunes version ?

Padraig said...

I cant see ECID anywhere

Laurence said...

May good KARMA follow you for eternity! Thank You :L

Brannon said...

Thanks, Geo! Hopefully we won't need this, but I like having the insurance!

Florin said...

Are "we" making pregress, hum?Keep going Geo, excelent job!All the world are waiting for your purplera1n tool ;)

Evan said...

I have a 3GS shipping to me right now, will arrive next week. Shall I do this as soon as I get it? Or can I do that anytime before I upgrade?

philipp.eierund said...

Hi George,

worked fine the first time I did this. However, I had to get my 3GS replaced and now it doesn't work anymore. Did Apple close this down already?

jlanger said...

Also doesn't work for me. After hitting enter on the purplera1n page, nothing happens.

philipp.eierund said...

Hmmm.... works again...

Daniel said...

Same to me. But if you look into the sourcecode of purplera1n, you see, that an iframe is loaded from http://theiphonewiki.com/purplera1n/

If you go directy to http://theiphonewiki.com/purplera1n/ and enter my code, I get a download file.

sesesergiosrl said...

this is only for 3GS, right? so, we 3G people are ok, right?

ritchie said...

**********************************

it works with explorer/opera/firefox NOT SAFARI

**********************************

Ron said...

Just try to highlight the page, you will see where to paste your ECID. Then hit enter and it will ask you to save the document. All Done!

abcdefghij said...

Followed every detail...
but stuck whenever I hit "refresh"

It Freeze (program does not responding)

Help!?!?!?!?!?!?

rand0mher0 said...
This post has been removed by the author.
3ash Wagef said...

i have done this but the generated file size is small , is this right & what is the expected file size

thank you in advance

KOMI said...

One question !

Should i save ECID from my iPod Touch 2nd Gen 32gb too ?

I got mine 3GS ECID saved already !

Thnx!

Microphone said...

OK, so I couldn't get it to work, but if you type this into your address bar:

http://purplera1nyday.appspot.com/controller?ecid=

And then append your ecid to it, it will give you the file!

Mick

googleuser said...

hrm... is there any reason you might not want someone else to know your phones ECID?

Kai said...
This post has been removed by the author.
Darren said...

Thanks for all your help! I have done the ECID, received and saved the file! But can’t open the file as my computer does not recognize it? What is the file type?? Does anyone know???

Darren said...
This post has been removed by the author.
Stephen said...

Seems to be throwing python errors for me. Any advice?

Traceback (most recent call last):
File "/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 501, in __call__
handler.get(*groups)
File "/base/data/home/apps/purplera1nyday/1.334464174619186709/main.py", line 73, in get
request.put();
File "/base/python_lib/versions/1/google/appengine/ext/db/__init__.py", line 696, in put
return datastore.Put(self._entity)
File "/base/python_lib/versions/1/google/appengine/api/datastore.py", line 166, in Put
raise _ToDatastoreError(err)
File "/base/python_lib/versions/1/google/appengine/api/datastore.py", line 2055, in _ToDatastoreError
raise errors[err.application_error](err.error_detail)
Timeout

dmtelf said...

I have my ECID number, but I am unfortunately having the same problems as Stephen (July 2, 2009 11:12 AM) - lots of Python errors after I paste the number in the purplera1n website ECID text entry box.

I tried again about 15 minutes later, and nothing happens i.e. no python errors, I just don't get prompted to save the ECID file :-(

I've also tried http://purplera1nyday.appspot.com/controller?ecid=(my 16 digit ECID number) but I then got python errors again.

evil5826 said...

Same problem here. FF and IE both not giving file. FF shows Python errors.

dmtelf said...

purplera1n website now works - I just got my ECID file!

Gon said...

Hello,
I've got a problem. I didn't made the ECID recovery and now I couldn't do it because the web has changed. I've tried with the ECID grabber but it says that I should go to the purplea1n web for making the recovery. I don't know how to make to get the ECID,and I don't want to make the jailbrake till I've it.
Hope someone could help me.
Thank you

madmilkman86 said...

can this be done after a jailbreak?

borset said...

thanks for this nice blog

and i'll take a copy for me please

egyption stocks market

egyption stocks market

http://www.borsaegypt.com

http://www.borsaegypt.com/forumdisplay.php?f=7

Alfonso said...

Looks like I will need to use this information. I had to restore the iphone 3GS and now purplera1n does no work anymore. Any update of the software ?

Alfonso said...

solved my problem via several blogs. Purplera1n worked but Freeze did no show up because it was put in Catalog (icon hidden). So, one need to go to Settings and Reset All Settings and voila Freeze shows up.

Also, when you run Purplera1n, a notepad file is created which interestingly shows the ECID number.

joshua said...

Forms Processing applications let you recognize forms filled in by hand in order to automate data entry tasks. Handprint recognition has come a long way in the past few years. Cost and complexity have gone down while accuracy gets increasingly higher. This has finally made this technology available to small and mid-sized businesses.

joshua said...

Forms Processing applications let you recognize forms filled in by hand in order to automate data entry tasks. Handprint recognition has come a long way in the past few years. Cost and complexity have gone down while accuracy gets increasingly higher. This has finally made this technology available to small and mid-sized businesses.

Malims said...

i've got a problem, i put my ECID but i didn't get the iBSS certificat ! how can i do ?

pimpedalil said...

can the iphone 3gs fw 3.1 be jailbreaked with purplerain

Balivo said...

"can the iphone 3gs fw 3.1 be jailbreaked with purplerain"

Not at all! Will work only with 3.0 firmware - nor 3.0.1

Sébastien said...

I put my ECID by hand typing then hit Enter key, but nothing's happen...
Is this still working yet?