Hey all, I recently acquired an HTC one m7 and I previously had an xperia z1. I had unlocked the bootloader and rooted my previous phone but coming to m7's page I've found that there are many things new here. First is the S-Off business.
I basically wanted to ask if there's a specific order in which I should go. For example S-off first, then root then unlock bootloader or anything like that.
And secondly, for the xperia line, there was a tool called Flashtool that basically did all the things you need to unlock/root your phone. I was wondering if there's something like that for the One M7 so that I can flash stock firmware if need be.
Also, I'm on kitkat 4.4.3 HBOOT 2.49 so should I keep some things in mind?
Also, what is CID?
Sorry for so many questions, any help is appreciated
Thank you!
uhh, I will tell you what i know here related to your questions.
Firstly, if you want to customize your phone, first thing is to unlock your bootloader which is easy to do. Then you need to flash a custom recovery. After that you can do what you like.as to s-off, if you don't have special requirements,I think it's not a must step.
Secondly,there is indeed a tool for htc one.you may find it in one's development forum.
May that help you!
来自我的 HTC M8Et 上的 Tapatalk
If I unlock bootloader before S-off, will I be able to get back "UNLOCKED" status or will it be "RELOCKED"
ggnoobteam said:
If I unlock bootloader before S-off, will I be able to get back "UNLOCKED" status or will it be "RELOCKED"
Click to expand...
Click to collapse
yeah you can get back to full locked status, but only with s-off, be careful though, theres not alot about for the dual sim really, you can pretty much find everything in the general section for the dual. http://forum.xda-developers.com/showthread.php?t=2495697
I think for your HBOOT, use Rumrunner to s-off. http://rumrunner.us/
EDIT: sorry for your HBOOT version you needed to use firewater s-off tool, but as thats discontinued, you'll have to try sunshine s-off tool which will cost $25 if it can s-off your device, it will run some checks first, if it can then you pay and it proceeds, if it cant it will let you know why and you dont pay: http://theroot.ninja/
if I remember correctly, CID is carrier identification.
the main things that matter, and that you need to take note of it your planning on changing them are CID, MID, HBOOT version and OS or version main (same thing really)
Related
Hey there
So I have been reading a bit about S-OFF and SuperCID because they keep getting mentioned on the forum but I never really took the time to know the importance of them. I was wondering if someone can take the time and briefly explain the benefits of each? From what I understood, S-OFF lets you install RUUs that may be older than the current ROM you have - as in you can install a 1.27 even though you are on 1.29 at the moment. Is that correct? And I read that SuperCID lets you install ROMs from any carrier - it would change your CID to 11111 or something like that which is universal and not locked down to a certain carrier or region. Is that information correct or am I missing something? I'll be looking to change CID when 4.2.2 is officially released for the One because my region always receives it last, so would I need S-OFF and SuperCID for that or just one of the two?
And the last thing is the bootloader. I have always thought that it was not possible to change the bootloader status from unlocked to locked, but rather from unlocked to relocked. I came across this thread, though, and it is confusing me. Is it or is it not possible?
Thank you.
you answered your own questions. as far as locked/relocked. S-off lets us do anything.
Hi, new to HTC here
So I plan to get a HTC One and debranding will bethe first thing I'm gonna do. I've been searching though XDA and Google.
I understand the S-off can be achieved using RevOne's method, and if my device is S-offe I can change it to other (Super)CID
I've got few things I'm not really sure though:
1. Does Revone method (and the whole debranding process) require unlocked bootloader, I wish to remain vanilla if possible
2. Do I have to use SuperCID? can I used other CID? I need CID/RUU containing my native language.
2. After changing CID do I need to flash new RUU or can I just wait for the OTA to arrive and replaced my branded FW?
Well.. at the very least, I will appreciate if anyone can point me where to start.
I have somewhat read through the RevOne and SuperCID threads.. but testimony from those with success would be invaluable.
EDIT: did more research.. so should anyone be interested:
http://forum.xda-developers.com/showthread.php?t=2327586&highlight=debrand
http://forum.xda-developers.com/showthread.php?t=2183023&highlight=debrand
Any opinion and answers will be still appreciated!
Thanks.
Hi Don't know what your native language is, but if it's Dutch I just debranded my HTC One from T-Mobile and received the latest OTA in the Netherlands.
I wrote a tutorial for it on a Dutch forum.
to put it simple
I S-OFFed an unlocked via Revo method
Changed CID to HTC__001 (need to find the best CID for your country)
Ran the proper RUU
Received OTA
You can then proceed to lock the bootloader again with revo method (won't show tampering and stuff)
and even go S-ON again if you want. (I didn't)
This shall give you a vanilla HTC One without branding that shall receive OTA's directly from HTC.
@Rubman
Thanks for chiming in!
No worry, HTC CID Lists are everywhere on Google (I'd like to use the HTC SEA CID for what it's worth).
I see, I also have received confirmation RevOne can be done without unlocking bootloader.
While I generally understand the debrand process I think it'll be handy to also have your tutorial. Can I get a link?
Don't speak Dutch, but I think Gtranslate will do, hehe.
Thanks again.
Sent from my MK16i using xda app-developers app
Sure you can have a link, I plan to write the tutorial over here as well but very busy ATM, but it's basicly just a collection of Revone CID change and then RUU install.
http://gathering.tweakers.net/forum/list_message/40436246#40436246 Just copy the post from the dude with the headbanging dog to Gtranslate and I wish you good luck.
Debranding/CID
WhizzWr said:
Hi, new to HTC here
So I plan to get a HTC One and debranding will bethe first thing I'm gonna do. I've been searching though XDA and Google.
I understand the S-off can be achieved using RevOne's method, and if my device is S-offe I can change it to other (Super)CID
I've got few things I'm not really sure though:
1. Does Revone method (and the whole debranding process) require unlocked bootloader, I wish to remain vanilla if possible
2. Do I have to use SuperCID? can I used other CID? I need CID/RUU containing my native language.
2. After changing CID do I need to flash new RUU or can I just wait for the OTA to arrive and replaced my branded FW?
Well.. at the very least, I will appreciate if anyone can point me where to start.
I have somewhat read through the RevOne and SuperCID threads.. but testimony from those with success would be invaluable.
EDIT: did more research.. so should anyone be interested:
http://forum.xda-developers.com/showthread.php?t=2327586&highlight=debrand
http://forum.xda-developers.com/showthread.php?t=2183023&highlight=debrand
Any opinion and answers will be still appreciated!
Thanks.
Click to expand...
Click to collapse
Did you get the One? What did you discover about CID? Changes GSM band reception? Can this be changed for carrier jumping?
I have a Sprint One. Am no longer with Sprint and wondering what advantage it would be to change CID. I have 2 updates to get and am researching options first. Anyone have knowledge, suggestions?
Rom: Sprint stock 1.29
S-off
Unlocked
T removed
Hboot: 1.44 stock
Twerp 2.6.3
Revone
SuperSU
Hi guys,
just one quick question. I have my phone stuck in S-ON after upgrading into new firmware (HBOOT 1.54). It is clear that revone (the one I used to S-OFF the first time) is currently unable to S-OFF my phone right now. Therefore now I'm considering S-OFF through HTC Dev. Will HTC Dev S-OFF work with 1.54 HBOOT?
Another question would be, apart from getting wiped and lose some application, what disadvantage will S-OFF through HTC Dev brings?
Thanks for the help
you can unlock the bootloader and install custom roms/kernels but no s-off, which might be a problem if you need to send your phone to warranty because they could deny warranty on the re/unlocked status of the bootloader.
flamechamp said:
Hi guys,
just one quick question. I have my phone stuck in S-ON after upgrading into new firmware (HBOOT 1.54). It is clear that revone (the one I used to S-OFF the first time) is currently unable to S-OFF my phone right now. Therefore now I'm considering S-OFF through HTC Dev. Will HTC Dev S-OFF work with 1.54 HBOOT?
Another question would be, apart from getting wiped and lose some application, what disadvantage will S-OFF through HTC Dev brings?
Thanks for the help
Click to expand...
Click to collapse
Why did you s-on in the first place? You can't s-off, you're stuck for now. HTC Dev can only unlock your bootloader.
redbull123 said:
Why did you s-on in the first place? You can't s-off, you're stuck for now. HTC Dev can only unlock your bootloader.
Click to expand...
Click to collapse
I didn't S-ON it on purpose. It went S-ON automatically after firmware update and few resets. I have no slightest idea why it went S-ON. So... it seems I'm doomed for now...
godutch said:
you can unlock the bootloader and install custom roms/kernels but no s-off, which might be a problem if you need to send your phone to warranty because they could deny warranty on the re/unlocked status of the bootloader.
Click to expand...
Click to collapse
how am I suppose to install custom ROMs when I'm S-On now? I can't even flash custom recovery right?
flamechamp said:
how am I suppose to install custom ROMs when I'm S-On now? I can't even flash custom recovery right?
Click to expand...
Click to collapse
with htc dev unlock bootloader method you can, you dont need s-off to flash custom recovery and roms.
I know that could be somewhat confusing, but seems like you did not read enough
flamechamp said:
Hi guys,
just one quick question. I have my phone stuck in S-ON after upgrading into new firmware (HBOOT 1.54). It is clear that revone (the one I used to S-OFF the first time) is currently unable to S-OFF my phone right now. Therefore now I'm considering S-OFF through HTC Dev. Will HTC Dev S-OFF work with 1.54 HBOOT?
Another question would be, apart from getting wiped and lose some application, what disadvantage will S-OFF through HTC Dev brings?
Thanks for the help
Click to expand...
Click to collapse
Yeah the word is devs are workingbpn that but I heard still long time away
SLver said:
with htc dev unlock bootloader method you can, you dont need s-off to flash custom recovery and roms.
I know that could be somewhat confusing, but seems like you did not read enough
Click to expand...
Click to collapse
Any links maybe? Because as far as I know I need custom recovery to flash ROMs and to install custom recovery S-OFF is needed.
99piotrek said:
Yeah the word is devs are workingbpn that but I heard still long time away
Click to expand...
Click to collapse
I do hope the REVOLUTIONARY team finishes their work quickly...
flamechamp said:
Any links maybe? Because as far as I know I need custom recovery to flash ROMs and to install custom recovery S-OFF is needed.
Click to expand...
Click to collapse
With the HTC ONE toolkit you can unlock your bootloader and flash a custom recovery.
Very easy. I'm in the same situation at this moment. hboot 1.54.
I also got a question about this.
When I'm in the toolkit and I want to use the mainver error fix I always get Device not Found. Is this also because i'm on hboot 1.54 or maybe not a correct setting somwhere (adb?).
haenraets said:
With the HTC ONE toolkit you can unlock your bootloader and flash a custom recovery.
Very easy. I'm in the same situation at this moment. hboot 1.54.
I also got a question about this.
When I'm in the toolkit and I want to use the mainver error fix I always get Device not Found. Is this also because i'm on hboot 1.54 or maybe not a correct setting somwhere (adb?).
Click to expand...
Click to collapse
Oh but I must unlock my RELOCKED bootloader to install the recovery right?
flamechamp said:
Oh but I must unlock my RELOCKED bootloader to install the recovery right?
Click to expand...
Click to collapse
Yes... That is correct and once you unlock it you can use the all in one kit to flash a recovery and then you can flash the rom of your choice
Sent from my ViperOne
flamechamp said:
Oh but I must unlock my RELOCKED bootloader to install the recovery right?
Click to expand...
Click to collapse
Yes, and you can do this with the toolkit.
leohdz148 said:
Yes... That is correct and once you unlock it you can use the all in one kit to flash a recovery and then you can flash the rom of your choice
Sent from my ViperOne
Click to expand...
Click to collapse
haenraets said:
Yes, and you can do this with the toolkit.
Click to expand...
Click to collapse
But through the toolkit, the unlocking process will use the HTC Dev method which erases the phone's internal memory and some part which contains some apps right? Any other cons which shouldn't I unlock through HTC Dev?
Here it is but be careful
flamechamp said:
Any links maybe? Because as far as I know I need custom recovery to flash ROMs and to install custom recovery S-OFF is needed.
Click to expand...
Click to collapse
Go there, register an account
http://www.htcdev.com/
after that click on the "developer center" button and right in the middle you will find a "unlock bootloader" button
click on it, follow instructions, but make sure you have a full backup of your storage cause it will be erased
S-OFF is a security flag that gives you permission to "play" with organic partitions of the devices system in a way
you don't need it for having custom recovery, after you unlock you can flash a recovery the exact same way you did with S-OFF or restore a backup you did before reverting to complete stock
S-OFF for most users is only a solution to not losing warranty after unlocking as unlocking actually voids your software warranty and in a way the hardware warranty as HTC can claim that the unofficial software you used actually damaged the device.
If I helped to make you understand in any way I am glad but please if you don't understand what these procedures do or how they work in a general sense it's better not to use/perform them, if you are in any way like me who spent the better part of a salary to buy this phone it would be a shame wasting all that money bricking it out of ignorance, if not, it's still a shame.
flamechamp said:
But through the toolkit, the unlocking process will use the HTC Dev method which erases the phone's internal memory and some part which contains some apps right? Any other cons which shouldn't I unlock through HTC Dev?
Click to expand...
Click to collapse
Yea it wipes everything so I suggest you back up anything important to you before you unlock... And there aren't any other cons except the fact that it will wipe EVERYTHING (apps, contacts synced with phone, music, pictures, etc.), thats the only con to it
Sent from my ViperOne
I think there is some confusion here for the OP.
First, S-off and unlocking your bootloader are 2 completely different things. To install custom recoveries, and therefore custom Roms and kernels, you need an unlocked bootloader (I am not sue what all the talk of relocking was about). The only way for you to unlock at this point is with HTCdev, and this will wipe your device unfortunately. Their are guides to unlocking and rooting your phone in this very forum
dgtiii said:
I think there is some confusion here for the OP.
First, S-off and unlocking your bootloader are 2 completely different things. To install custom recoveries, and therefore custom Roms and kernels, you need an unlocked bootloader (I am not sue what all the talk of relocking was about). The only way for you to unlock at this point is with HTCdev, and this will wipe your device unfortunately. Their are guides to unlocking and rooting your phone in this very forum
Click to expand...
Click to collapse
Yes, I got things mixed up. I got so frustrated with S-ON such that I forgot that the real problem is the RELOCKED status of my phone. Thanks for reminding me
But i do need S-OFF to flash splash screen right?
flamechamp said:
Yes, I got things mixed up. I got so frustrated with S-ON such that I forgot that the real problem is the RELOCKED status of my phone. Thanks for reminding me
Click to expand...
Click to collapse
No problem, glad to help.....
flamechamp said:
Yes, I got things mixed up. I got so frustrated with S-ON such that I forgot that the real problem is the RELOCKED status of my phone. Thanks for reminding me
Click to expand...
Click to collapse
??? There was no talk from anyone about 'relocking'. You were told about 5 times you had to unlock your bootloader.
Sent from my HTC One using xda premium 4
redbull123 said:
??? There was no talk from anyone about 'relocking'. You were told about 5 times you had to unlock your bootloader.
Sent from my HTC One using xda premium 4
Click to expand...
Click to collapse
no, I got it relocked to update my firmware last time. But can't have it unlocked now. But now I know that using HTC Dev method, it will be solved.
But I do need S-OFF to flash splash screen right?
So I read about S-OFF and I can gather that it has something to do with unlocking the bootloader. I'm a little confused since I just went to the HTC website and did the official unlock steps, I'm now rooted with clockworkmod CM10.2, and my bootloader is S-ON.
Basically, I never did S-OFF so I'm confused about why it's so important and why didn't I have to do it?
Stephen304 said:
So I read about S-OFF and I can gather that it has something to do with unlocking the bootloader. I'm a little confused since I just went to the HTC website and did the official unlock steps, I'm now rooted with clockworkmod CM10.2, and my bootloader is S-ON.
Basically, I never did S-OFF so I'm confused about why it's so important and why didn't I have to do it?
Click to expand...
Click to collapse
Its not important at all
Sent from my HTC One using xda app-developers app
With S-off you can flash everything you want on your phone . Downgrade is a most comun reason.
Sent from my HTC 802w
Stephen304 said:
So I read about S-OFF and I can gather that it has something to do with unlocking the bootloader. I'm a little confused since I just went to the HTC website and did the official unlock steps, I'm now rooted with clockworkmod CM10.2, and my bootloader is S-ON.
Basically, I never did S-OFF so I'm confused about why it's so important and why didn't I have to do it?
Click to expand...
Click to collapse
Some carriers are the only users option in their area.
Like for me, that carrier would be Verizon. They have great coverage.
But they also happen to be evil and had HTC block our HTC One's MID from being able to use the HTC Bootloader Unlock bin file.
It will fail the initial checks after getting the token from you.
We also have the 1.54 hboot as stock, so there is no using moonshine, or facepalm, or any other previous method as of yet.
So in order for poor folks with carriers that strongarm smaller companies like HTC into doing things against their wishes and our wishes,
S-off allows us to then change CID,MID, etc,...as well as then go and unlock the bootloader as we should be able to do by choice.
That's why they built it and added in a warranty void warning, so we could make that choice if we so choose.
Anyway, that should make it more clear to you now at least, sorry for the extra carrier rant, lol.
Plus the obvious other advantages of flashing radios, kernels, etc,...without doing fastboot.
Ah okay. So S-off does similar to the HTCDev unlock? If I used S-Off instead could I get rid of the ugly warning text on boot?
Htc dev unlock only needed partitions. S-off unlock ALL
Sent from my HTC 802w
Stephen304 said:
Ah okay. So S-off does similar to the HTCDev unlock? If I used S-Off instead could I get rid of the ugly warning text on boot?
Click to expand...
Click to collapse
Yes you could get ride of the warning text with s-off, with s-on you cannot.
Everything what's said above + more , for example if htc one windows version ever gets ported s-off users can have it , we can also convert our device into ge edition / dev edition / flash whatever comes thru your mind , even splash screens , use modified bootloaders , we can also unlock bootloader without need of HTC official unlock process , we can lock it as well ( s-on can only relock it ) we can also completely hide we ever were rooted / unlocked for warranty reasons while s-on can't.
We can also use super cid which allows us to flash any ruu or use any region / carrier roms.
We can also downgrade bootloader or flash any other.
That's mainly it , also for example us with s-off have writeable partitions while for example s-on users still don't on 3.22 base.
And at the end maybe a good thing for you and some less advanced or less knowledgeable ppl s-on is a good thing since with s-on phone is practically indestructible software-wise , while with s-off small mistake even in fastboot could brick the device.
Sent from my HTC One using XDA Premium 4 mobile app
santod040 said:
Plus the obvious other advantages of flashing radios, kernels, etc,...without doing fastboot.
Click to expand...
Click to collapse
With the HTC One, you can flash radios and kernels in the recovery if you unlock the bootloader...
>> Sent from the abyss <<
Stephen304 said:
So I read about S-OFF and I can gather that it has something to do with unlocking the bootloader. I'm a little confused since I just went to the HTC website and did the official unlock steps, I'm now rooted with clockworkmod CM10.2, and my bootloader is S-ON.
Basically, I never did S-OFF so I'm confused about why it's so important and why didn't I have to do it?
Click to expand...
Click to collapse
To get official OTA with updates to firmware, hboot and everything you have to get them from your carrier, and this depends on your CID. You cannot change this on S-ON. So basically your are bound to your carrier for life, they may but also may not release updates (like for ex. carriers in USA skipped 4.2 if I am not mistaken). You can of course flash custom ROM using dev unlock, but it won't update the firmware.
Ah okay thanks for the info! I have one more question about S-OFF if you don't mind: If I S-OFF and disable the red warning (flashing an unsigned fw), then S-ON again, would the warning come back?
If you do s-on with modified hboot will result an instant and forever brick. Dont do that.
Sent from my HTC 802w
Stephen304 said:
Ah okay thanks for the info! I have one more question about S-OFF if you don't mind: If I S-OFF and disable the red warning (flashing an unsigned fw), then S-ON again, would the warning come back?
Click to expand...
Click to collapse
Why exactly would you want to go back to S-ON?
Sent from my HTC One using Tapatalk 4
I've had many HTC phones in my time, HTC desire, desire hd, one x and one sv, now I have a one m7_ul, it's on the 401 ruu with hboot 1.57, currently running viperone sense 6 Rom, I've just paid to have it s-off by java card, as rumrunner and firewater didn't work for me.
What I would like to do now is remove the red text and also the TAMPERED and UNLOCKED messages from the bootloader screen, not sure how to proceed with this as like I said I am very new to s-off on the m7, but far from a noob with these devices, I know it involves flashing an unsecure hboot, but is there different ones for different versions of these phones, and where do I find them etc.
Tia
Seanie280672 said:
What I would like to do now is remove the red text
Click to expand...
Click to collapse
You can remove the red text by flashing a custom hboot. The custom hboot must match your version. in your case you can use this one, instructions how to flash in the same thread. Be carefull with custom hboot, you can brick your phone in some conditions (i.e turning back s-on on a custom hboot)
imo, you should live with the red text and not flashing a modded hboot
and also the TAMPERED and UNLOCKED messages from the bootloader screen
Click to expand...
Click to collapse
you can use this tool from custom recovery: http://www.htc1guru.com/guides/guru-bootloader-reset/
or you can do it using adb commands:
[how to] lock/unlock your bootloader without htcdev(s-off required)
[how to] remove your "tampered" banner
be careful with dd commands, better to copy/paste them
Seanie280672 said:
I've had many HTC phones in my time, HTC desire, desire hd, one x and one sv, now I have a one m7_ul, it's on the 401 ruu with hboot 1.57, currently running viperone sense 6 Rom, I've just paid to have it s-off by java card, as rumrunner and firewater didn't work for me.
What I would like to do now is remove the red text and also the TAMPERED and UNLOCKED messages from the bootloader screen, not sure how to proceed with this as like I said I am very new to s-off on the m7, but far from a noob with these devices, I know it involves flashing an unsecure hboot, but is there different ones for different versions of these phones, and where do I find them etc.
Tia
Click to expand...
Click to collapse
to remove tampered, you can use this tool: http://forum.xda-developers.com/showthread.php?t=2527194
or scotty1223's adb commands (he has threads in the m7 general section, one for removing the tampered, and another one for locking/unlocking the bootloader)
though i recommend you keep bootloader unlocked
for the red text, you'll need to flash a "no red" modded hboot, for example: http://forum.xda-developers.com/showthread.php?t=2753631
(there are others too, but don't have any links handy, as I usually avoid messing around with hboot)
nkk71 said:
to remove tampered, you can use this tool: http://forum.xda-developers.com/showthread.php?t=2527194
or scotty1223's adb commands (he has threads in the m7 general section, one for removing the tampered, and another one for locking/unlocking the bootloader)
though i recommend you keep bootloader unlocked
for the red text, you'll need to flash a "no red" modded hboot, for example: http://forum.xda-developers.com/showthread.php?t=2753631
(there are others too, but don't have any links handy, as I usually avoid messing around with hboot)
Click to expand...
Click to collapse
funny to see how we both answered to this one, with almost the same exact answer at the same time :laugh:
alray said:
funny to see how we both answered to this one, with almost the same exact answer at the same time :laugh:
Click to expand...
Click to collapse
lol, i didn't see your post above
Thank you guys, I knew I could rely on you lot, don't ask for help very often because as my Mrs would tell you, I'm stubborn, and like to figure things out myself, it's the only way to learn, but when it's something as serious as flashing hboot, it's ask or brick.
I am aware that a custom hboot will instantly brick my phone if I return to s-on, but have no intentions of doing that, I've had to fight for s-off and here it is staying, I hate s-on.
Seanie280672 said:
I've had many HTC phones in my time, HTC desire, desire hd, one x and one sv, now I have a one m7_ul, it's on the 401 ruu with hboot 1.57, currently running viperone sense 6 Rom, I've just paid to have it s-off by java card, as rumrunner and firewater didn't work for me.
What I would like to do now is remove the red text and also the TAMPERED and UNLOCKED messages from the bootloader screen, not sure how to proceed with this as like I said I am very new to s-off on the m7, but far from a noob with these devices, I know it involves flashing an unsecure hboot, but is there different ones for different versions of these phones, and where do I find them etc.
Tia
Click to expand...
Click to collapse
Hi I also hate the s-off already impossible to do both rumrunner and firewater.
Do not understand very well get s-off by paying with java card?
And how is that done? Sorry for my English worked with a translator.
thanks
gorka785 said:
Hi I also hate the s-off already impossible to do both rumrunner and firewater.
Do not understand very well get s-off by paying with java card?
And how is that done? Sorry for my English worked with a translator.
thanks
Click to expand...
Click to collapse
It was a little back street mobile phone shop which I found in an area I visit regular, its kind of a hardware flash rather than software, its like it being reset by HTC themselves.
Java card = hardware reset
firewater / rumrunner = software reset
This is them and exactly what they did, doesn't matter which HBOOT you are on, notice how they plug a lead into the phone, it has a microsd card and reader attached to the other end.
http://www.youtube.com/watch?v=gSrrd-ayphE