yashsingh1/xdaforums huggingface dataset:
[AT&T, Rogers HTC One X, Telstra One XL] niceppl:
sorry...I thought you were returning cuz you bricked by dd those partitions..

it's ok ...I don't need any s-off partitions...but i do need s-on partitions.
[AT&T, Rogers HTC One X, Telstra One XL] beaups:
No worries. Any other s-off partitions you think would make sense to dd to s-on phone to test? What partition is radio?
[AT&T, Rogers HTC One X, Telstra One XL] JeepFreak:
No luck with 2, 8, or 11?

shell@android:/ $ su

shell@android:/ # cat /proc/emmc

dev: size erasesize name

mmcblk0p23: 000ffa00 00000200 "misc"

mmcblk0p22: 00fffe00 00000200 "recovery"

mmcblk0p21: 01000000 00000200 "boot"

mmcblk0p33: 67fffc00 00000200 "system"

mmcblk0p30: 00140200 00000200 "local"

mmcblk0p34: 0ffffe00 00000200 "cache"

mmcblk0p35: 97fffe00 00000200 "userdata"

mmcblk0p26: 01400000 00000200 "devlog"

mmcblk0p28: 00040000 00000200 "pdata"

mmcblk0p36: 27be00000 00000200 "fat"

mmcblk0p31: 00010000 00000200 "extra"

mmcblk0p17: 02d00000 00000200 "radio"

mmcblk0p18: 00a00000 00000200 "adsp"

mmcblk0p16: 00100000 00000200 "dsps"

mmcblk0p19: 00500000 00000200 "wcnss"

mmcblk0p20: 007ffa00 00000200 "radio_config"

mmcblk0p24: 00400000 00000200 "modem_st1"

mmcblk0p25: 00400000 00000200 "modem_st2"

Billy
[AT&T, Rogers HTC One X, Telstra One XL] kennethpenn:
Bootloader unlock isn't released yet unfortunately. Soon though (hopefully)!
[AT&T, Rogers HTC One X, Telstra One XL] sk806:
Great. I can't wait to test this and get it out, and then actually start on mods/roms (actually starting on power menu and remap of recents/home keys now).

I was getting tired of building the same recovery image over and over again, thinking I messed up, and now we find it's the bootloader that's messing things up...;).

BTW, thanks so much for your work.

Steve
[AT&T, Rogers HTC One X, Telstra One XL] yeeson:
Could you let me test？

My is Hong Kong Version One XL:)
[AT&T, Rogers HTC One X, Telstra One XL] sk806:
I sent you a link, but it won't work if your bootloader checks signatures on every boot...
[AT&T, Rogers HTC One X, Telstra One XL] zytho:
I too would like to try the file. Running a HK version.

Any chance of a link?

Thanks
[AT&T, Rogers HTC One X, Telstra One XL] sk806:
I can send you one, but it won't work, because signature verification is still active on your phone...
[AT&T, Rogers HTC One X, Telstra One XL] JSLEnterprises:
well, he did say on twitter that its ready that its ready with a defeated signature check. So hopefully we'll get it sooner rather than later. :)
[AT&T, Rogers HTC One X, Telstra One XL] sk806:
Yes sir. It's weird not being able to test out your own ROM....
[AT&T, Rogers HTC One X, Telstra One XL] kennethpenn:
Nice job getting it up pre-recovery though! And, nice job working on the recovery. Glad to have you around these parts. Should be a very fun device.
[AT&T, Rogers HTC One X, Telstra One XL] killster:
ftw, this device with the custimization the AOKP roms have, sorry to name drop, but they do have some sick, and by sick i mean customize EVERYTHING.....

i cant stand this dpi! it seems like such a waste for an amazing screen!,

and damnit i want my all my buttons to wake the phone.

soon, i know soon.

ty to the devs with their hard work. if you need an experienced tester for att device, shoot me a pm. i have am currently using the one as a daily driver, but nandroids are made for a few gnexs i own, so a screw up overnight wont leave me hanging...

i did win the sad flash story, but then turned good for the etched gnex backplate, so as asked, not a n00b... :) just ask, ill test when ready.

as of now, rooted, with busybox 1.20

k
[AT&T, Rogers HTC One X, Telstra One XL] ptesmoke:
did u guys happen to catch the two fellas in the general section with s-off and unlocked bootloaders? hopefully theyll fire off a pm to you great devs!
[AT&T, Rogers HTC One X, Telstra One XL] tehh4ck3r:
Here's the two threads, for reference:

http://xdaforums.com/showthread.php?t=1645002 (Rogers One X w/ S-OFF)

http://xdaforums.com/showthread.php?t=1645252 (Unbranded AT&T One X w/ S-OFF)
[AT&T, Rogers HTC One X, Telstra One XL] niceppl:
hey sk8....I flashed the test6 recovery you sent to me.

It flashed fine.

reboot my device.

select recovery from menu enter....

then It's the htc screen.... for like 5 mins...then it reboot....

hope that helps...
[AT&T, Rogers HTC One X, Telstra One XL] JSLEnterprises:
Yeah, we need to crack the bootloader, thats why its not working even with your S-Off'd device.
[AT&T, Rogers HTC One X, Telstra One XL] tehh4ck3r:
Isn't his bootloader already unlocked though? I thought in his thread he said he got S-OFF by unlocking bootloader via HTCdev
[AT&T, Rogers HTC One X, Telstra One XL] ptesmoke:
in his thread his pic clearly shows unlocked bootloader and s-off...so its not the bootloader...he should be good to go for a recovery flash.
[AT&T, Rogers HTC One X, Telstra One XL] sk806:
I pmd you to send me your software info screens from settings. That way, I know what boot img to use. Thanks. If anyone else with s-off wants to try, just pm me the same info. Hopefully this might help in debugging recovery, as were flying blind now, but I think JSL may be right...
[AT&T, Rogers HTC One X, Telstra One XL] JSLEnterprises:
I didnt mean 'unlocked' when i said 'cracked', im talking about the boot process itself... completely dismissing the signature checking as i can flash any signed boot img from the various different at&t builds, the rogers build, and even the htc asia build, they all start normally, no issue... once you remove the sig by using just a repacked stock boot.img it'll boot loop with the 'red message'.

same thing goes for the recovery imges. Something is flat out rejecting them during the booting process. Or our build method is flawed.
[AT&T, Rogers HTC One X, Telstra One XL] niceppl:
hi, sk8 there you go
[AT&T, Rogers HTC One X, Telstra One XL] sk806:
Hi Red, since Paul has released a recovery that seems to work, I believe this thread can be closed. thanks!

Steve
[AT&T, Rogers HTC One X, Telstra One XL] Zarboz:
Radio n radio config
[AT&T, Rogers HTC One X, Telstra One XL] beaups:
no luck with 2/8/11. Device is fine, relock/unlock - still no s off. You sure these partitions are correct? I get the same results with cat command but they don't look consistent with what's we see in /dev/block

ok just did radio and radio config - locked and relocked - s-on still
[AT&T, Rogers HTC One X, Telstra One XL] JeepFreak:
Ooooh, there are some very intersting differences in mmcblk0p3 between S-OFF and S-ON! Several differences around the 'SIMLOCK' reference. I'm not sure if the two are similar enough to just dd the image though, you might have to change it offset by offset, but there are a few. If you're up for it, dd that sucker over and see what happens :D

Billy
[AT&T, Rogers HTC One X, Telstra One XL] niceppl:
i got all the s-off 1-38 dumped with exception of

33 system

22 recovery

34 cache

35 userdata

36 fat

pm your email for dropbox share.

---------- Post added at 01:00 PM ---------- Previous post was at 12:45 PM ----------

have anyone looked up 0p2....alot of information in there...

can someone send me the mmcblk0p2 dd

goodplayer@gmail.com

1.85 ones would be the best...but i dont think it matters..

---------- Post added at 01:16 PM ---------- Previous post was at 01:00 PM ----------

if someone have time and wants to help,

can you dd all partitions except those above

33 system

22 recovery

34 cache

35 userdata

36 fat

on a s-on supercid 11111111 (recommended: 1.85 ruu)

Thanks

Yp
[AT&T, Rogers HTC One X, Telstra One XL] beaups:
Well I went ahead and shipped the device to HTC today, sorry I couldn't be more help. OT - don't break your screen, HTC people don't even think they have parts to fix yet. They don't even know what the price is.
[AT&T, Rogers HTC One X, Telstra One XL] dharani1234:
How do you want the DD to be done ?

will something like this work ? dd if=/dev/block/mmcblk0p8 of=mmcblk0p8MOD.img
[AT&T, Rogers HTC One X, Telstra One XL] beaups:
And my money is on P5 (interestingly a lot like P4) but especially P6. They both seem to contain all the device specific info, serial #, etc. I wonder if we DD 4-6 from soff on to son if we win -
[AT&T, Rogers HTC One X, Telstra One XL] niceppl:
does anyone what is mmcblk0p12... is it the system log?

there are lots of information ....what is

"write_simlock_password: not allowed

alloc failed

write_simlock_password: secure_enc failed (%d)

%s: fail to update simlock password, offset %d, ret = %d

%s: fail to update simlock password

secure_update_simlock ret = %d

update unlock record %d to %x:

get simlock mask failed!

final simlock %x

secure_set_simlock ret = %d

reset password

alloc SECURE_SMEM_STRUCT failed!

SECURE_SMEM_STRUCT %x

%s(%d): %x, %x

invalid simlock magic => reset simlock data

read_simlock_password failed

erase_grpsize: %d

"

"[NAND ERR] could not save CFG0 & CFG1 state

[NAND SCAN] CFG0 = 0x%x, CFG1 = 0x%x

[NAND SCAN] Read NAND_EBI2_ECC_BUF_CFG: %x

Found a supported NAND device

N"

"reading fail

[JAVACARD_ERR] reset javacard error: sd writing fail

[JAVACARD_DBG] select applet successful, SW= %x

[JAVACARD_ERR] select applet fail, SW= %x

[JAVACARD_ERR] verify javacard: get pattern fail, SW= %x

[JAVACARD_ERR] verify javacard: get signature fail, SW= %x

[JAVACARD_DBG] javacard verification: %d

[JAVACARD_DBG] detect device is supercid

[JAVACARD_DBG] Start to get card information

0.03%s(%d)

tahiti_hw_reset_nfc

tahiti_init_nfc_dl

tahiti_init_nfc

%s, SD card power on

%s, SD card already power on

%s %d

SHP_720%s ID %d %d

SONY_QHDSONY QHD panel

HITACHI_QHDHITACHI QHD panel

3201_3202_32ErrError: NFC chip has no response before update!!!!Error: File FW or Chip FW is security locked!!!!Error: NFC FW file < 106!!!!Error: NFC_UNKNOW_ERRError: NFC_RES_ERRError: NFC_I2C_ERRError: NFC_CRC_ERRError: default PVT UNKNOWN SHIP S-ON S-OFFenter recovery_offmod_charging

%s: i2c_gsbi_init 3 error

"

---------- Post added at 01:51 PM ---------- Previous post was at 01:49 PM ----------

yes...

adb shell

su

dd if=/dev/block/mmcblk0p1 of=/sdcard/mmcblk0p1

.....

dd if=/dev/block/mmcblk0p38 of=/sdcard/mmcblk0p38

except those i mentioned above you can skip

---------- Post added at 01:53 PM ---------- Previous post was at 01:51 PM ----------

i dont know beside you....who else is willing to try...

4-6 require changes...like imei ...

flash directly...is kinda dangerous...
[AT&T, Rogers HTC One X, Telstra One XL] JeepFreak:
I was really surprised he didn't brick his in all that hacking!

We could always edit the SOFF partitions to include your IMEI

Billy
[AT&T, Rogers HTC One X, Telstra One XL] beaups:
I think the key would be to backup the partitions and DD the 4-6 partitions to the device AS-IS, without editing imei, wifi mac, etc. Then if that works, jump in and edit. If we edit first and there is some sort of hash check we will never know if it would have worked or not.
[AT&T, Rogers HTC One X, Telstra One XL] warri:
If what you are suggesting meaning S-Off is linked to your IMEI..we might have a problem. Unless S-OFF Sticks after changing the IMEI back...
[AT&T, Rogers HTC One X, Telstra One XL] Adam5400:
12 is hboot.
[AT&T, Rogers HTC One X, Telstra One XL] beaups:
One more question. Has anyone tried to mount these partitions to see if there is some sort of structure instead of just hex editing everything? Maybe a dumb question.
[AT&T, Rogers HTC One X, Telstra One XL] dharani1234:
here are the partitions from an unlocked bootloader ,rooted RUU - 1.85 with superCID.

I changed the IMEI to 000000... just to be safe ...

http://dl.dropbox.com/u/8592319/dds-1.zip

P.S: I just have 36 blocks in my /dev/block directory ..
[AT&T, Rogers HTC One X, Telstra One XL] Adam5400:
There's definitely structure to hboot, there are ARM instructions, I'n just not skilled enough with IDA to make sense of them.
[AT&T, Rogers HTC One X, Telstra One XL] niceppl:
hey i uploaded your dds to my dropbox

hope it's ok for you...

make life easier for other people

http://xdaforums.com/showthread.php?t=1680368

https://www.dropbox.com/sh/tmpa7i7ibjy0ciy/lnAD6aSvBS
[AT&T, Rogers HTC One X, Telstra One XL] dharani1234:
np at all as long as we get the S-OFF :p ( jus' kidding ..)

Would be great if you could edit my device specific info ( I have already o'ed out my IMEI ) , but I am not aware of others... ( like mb )
[AT&T, Rogers HTC One X, Telstra One XL] Adam5400:
Look at offset 00000400-00000430 in p3, I looked at my device's (which is S-ON), the other uploaded S-ON partitions, and the S-OFF partitions. The opening and closing parts are the same on all three, but the inner part (00000420) which looks to be a variable of some type is the same on the S-ON phones but different on the S-OFF one. ("74 B5 01 09 01" vs "0B F8 32 3B 01", S-OFF vs S-ON)
[AT&T, Rogers HTC One X, Telstra One XL] niceppl:
my bet is on mmcblk0p6....if someone willing to test....

they can get my s-off 0p4 0p5 and 0p6..

change all the imei sn mb to their....and dd back...

they are many other difference in those partitions beside those imei...etc..

waitting for someone with hugh balls...

---------- Post added at 03:02 PM ---------- Previous post was at 02:56 PM ----------

maybe change according to my s-off dd is a better idea.....

either way...i may give you a brick.....
[AT&T, Rogers HTC One X, Telstra One XL] JeepFreak:
I don't think S-Off is tied to IMEI, I was just addressing the fact that the IMEI is on quite a few partitions and whoever mentioned it was probably concerned about the IMEI mismatch amongst partitions could cause a brick. In fact, I'm saying that S-Off woulnd't be tied to IMEI, which is why we could change it on the S-Off partitions and use it on an S-On phone. But I'm just thinking out loud. ;)

I got one of the partitions to mount in Ubuntu, but now I can't get it to do it again. Every time I try to mount one, it complains of not knowing the filetype. I've tried ext3, ext4, fat, yaffs2... I can't get it to mount again.

Yeah, that's what I was talking about with mmcblk0p3 a while back. There are two references to SIMLOCK early on, and then some small differnces to follow.

Billy

---------- Post added at 07:12 PM ---------- Previous post was at 07:08 PM ----------

Two more thoughts... have we found any partitions that we're unable to dd back in place? :confused:

Also, has anybody looked at any of the other blocks in /dev/block/? Like loop0 through loop7, platform, and vold?

Thanks,

Billy
[AT&T, Rogers HTC One X, Telstra One XL] niceppl:
look at 0p6 there r many difference... beside imei sn mb...

try mounting them is a good idea....hope you can get a way to mount them again...

hex compare is not easy as spoof cid

since you dont even know what are you looking for.... it maybe as small as a flag value like 0 or 1...or even 3 or 4...who knows...

hope someone with more knowledge and experience with soff jumps in....
[AT&T, Rogers HTC One X, Telstra One XL] dkirchik:
For att folk I don't know about rogers if you DD 4-6 make sure your phone is on airplane or sim card is removed. If att recieves a mismatched imei identifier through the sim it'll take the phones original imei and ban it. As if the phone was/is stolen. To ask att to change it back you'd have to exchange your phone for a new one.
[AT&T, Rogers HTC One X, Telstra One XL] dkirchik:
[/COLOR]Two more thoughts... have we found any partitions that we're unable to dd back in place? :confused:

Also, has anybody looked at any of the other blocks in /dev/block/? Like loop0 through loop7, platform, and vold?

Thanks,

Billy[/QUOTE]

I've looked through loop0-7 and they just run checks. Go over the mmcblk0p** checking almost like debugging or security checks. But you wind up ending where you started with them if that makes any sense.
[AT&T, Rogers HTC One X, Telstra One XL] beaups:
They ban by imei and once you change it I believe you'd be unbanned ;) Anyhow, good point, lets make sure this testing is done simless?

As for as the poster concerned about IMEI mismatch across different partitions, I temporarily flashed P4 from s-off device without imei change (and also no sim) without updating p5, p3, or p6, etc. No issue there.
[AT&T, Rogers HTC One X, Telstra One XL] Adam5400:
It appears that p3 is write-protected. I can't get anything to stick to it -- I can neither flash entire images nor make small edits with dd.
[AT&T, Rogers HTC One X, Telstra One XL] beaups:
Do you get an error or what? You sure you "su" first?
[AT&T, Rogers HTC One X, Telstra One XL] Adam5400:
Well, when I tried to write an entire image I got an I/O error after it appeared to have written half of the image (did this a couple times), I pulled it back off and compared. None of my changes were there.

So then I tried to just change the few bytes, did it on a test image, and they stuck. Then I tried it on the actual /dev/block/mmcblk0p3 and it acted like it wrote them, but then I pulled it back off and it was the same as it was before the write.

And if I don't su I do get an error, it doesn't even try to write.
[AT&T, Rogers HTC One X, Telstra One XL] beaups:
Perhaps you are on to something. Do we have ADB access in CWM yet? Perhaps better luck from there. Why trying p3 and not p5 or p6? Just curious.
[AT&T, Rogers HTC One X, Telstra One XL] Root-Maniac:
sorry to interrupt, heres a link to CWM with working ADB http://xdaforums.com/showthread.php?t=1677304

:D
[AT&T, Rogers HTC One X, Telstra One XL] Adam5400:
I actually did it from CWM.

As for P3, it appears that P3 is pg1fs which is the partition that fastboot modifies with 'fastboot oem writesecureflag 0'

fastboot oem writesecureflag 0
...
(bootloader) [PGFS] partition_update_pgfs: pg1fs_security
OKAY [ 0.035s]
finished. total time: 0.035s

^That's from some thread about the sensation I believe.

I also saw some references in P3 to security followed by what appeared to be a variable that was the same on two S-ON devices but different on a S-OFF one.
[AT&T, Rogers HTC One X, Telstra One XL] beaups:
Makes sense. Did you try toggling that flag?
[AT&T, Rogers HTC One X, Telstra One XL] Adam5400:
Yeah, tried that a while ago, it tries to access an sdcard connected by USB (presumably to look for a smartcard), fails, and then just locks up fastboot.
[AT&T, Rogers HTC One X, Telstra One XL] ThisWasATriumph:
Tried this 2 days ago and the same happened to me. Scared the hell out of me, thought I bricked it.
[AT&T, Rogers HTC One X, Telstra One XL] beaups:
So this is where OTB cable and goldcard comes in, or?
[AT&T, Rogers HTC One X, Telstra One XL] Adam5400:
Maybe, I think we might also need an additional file to be able to do anything.

I was just thinking about partition 3, and it appears to also contain simlock information which is changeable from within the phone. I wonder how it manages to remove the write protection when you enter the sim unlock code...
[AT&T, Rogers HTC One X, Telstra One XL] niceppl:
1. i still feel p6 is somehow related

diff from my s-off p6 and s-on p6

you can see my device is made or w/e create on 2012314, and the s-on one is 2012419

and look this picture 1

starting 00008180 the s-off unit doesn't have a cid...there

maybe you go htcdev unlock, the first place they check is in p4, but maybe that's not the only place they check cid...

it maybe not a big of a deal...but why it is not there... it must mean something...

since both s-off and s-on flashed the same ruu...

2.look at picture 2 i think that is where the flag is ...s-on is 3 and s-off is 0...

can some one change that to verify?
[AT&T, Rogers HTC One X, Telstra One XL] niceppl:
this is worth to try......!!!!!!!!
[AT&T, Rogers HTC One X, Telstra One XL] Adam5400:
For some reason my P6 is completely different. It appears un-encrypted or something, and there are plain text references. Rather than just have the IMEI in a random place, it shows IMEI: XXXXXXXXXXX along with some other stuff. Kinda odd.
[AT&T, Rogers HTC One X, Telstra One XL] ThisWasATriumph:
You must remember, HTCDev doesn't "check" anything. It only provides an unlock bin file, given a certain code. Fastboot does all the partition checking and such. I wish we could somehow snoop the adb process to see what it's doing...
[AT&T, Rogers HTC One X, Telstra One XL] niceppl:
look p12
[AT&T, Rogers HTC One X, Telstra One XL] dkirchik:
Mine look exactly like your s-on's
[AT&T, Rogers HTC One X, Telstra One XL] Root-Maniac:
Agreed!!! That's the same exact thing that caught my eye... If I wasn't such a noob and scared of bricking my phone I would change it and try it.... Maybe I will later tonight when I get home from school good luck and thank you guys for your hard work and commitment...
[AT&T, Rogers HTC One X, Telstra One XL] dkirchik:
I am going to make an OTG host cable connect it through to a usb card reader I have.. see if the phone recognizes it. If it does, I am going to see if I can dump files to it.
[AT&T, Rogers HTC One X, Telstra One XL] Adam5400:
You have to make it an OTG Y-Cable as the phone provides no power whatsoever to the device otherwise.
[AT&T, Rogers HTC One X, Telstra One XL] JeepFreak:
Same here. In fact, my p6 partition AND the S-OFF p6 partition that I've been comparing to (sk806's friend, who has posted here in the last 10 pages) are both different (similar to each other). Neither contain the "HTCU" string at all. :confused:

Billy
[AT&T, Rogers HTC One X, Telstra One XL] Zarboz:
[/COLOR]

C:\Users\IBM_ADMIN\Downloads\onxr>fastboot oem writesecureflag 0

... INFO elite_init_sd, SD card already power on

INFOsdhw_7xxx_open: id=0

INFO[SD_HW_ERR] SD: No device attached

INFO 902910 902E20

FAILED (status read failed (Too many links))

finished. total time: 1.259s

hmmm its all looking familiar
[AT&T, Rogers HTC One X, Telstra One XL] JeepFreak:
What about THIS or THIS? I believe they can be set as a boot "animation" but it's actual live info. It may be too late in the boot process before it comes up though

USB host is disabled at the kernel level unfortunately. I have a couple OTG cables and others have tried with powered hubs. You can also confirm the bad news with Chainfire's USB Host Diagnostics app.

Billy
[AT&T, Rogers HTC One X, Telstra One XL] Zarboz:
why dont you just do

adb logcat > text.txt

this will output all the logcat to a txt file in the folder your terminal is in
[AT&T, Rogers HTC One X, Telstra One XL] beaups:
Have you tried those cables with fastboot? Could be different modules there. Also, let's not forget about the pogo pins.
[AT&T, Rogers HTC One X, Telstra One XL] Adam5400:
I made a USB OTG Y-Cable, and it definitely reads for PJXXIMG/PJXXDIAG.nbh in the bootloader. I put on a version from another phone and it read it and tried to load it, but obviously failed because it was for a different phone.

I will note that it did not work with a powered hub, only with a Y-Cable.
[AT&T, Rogers HTC One X, Telstra One XL] grankin01:
I agree that p3 is probably the big ticket item here as there are too many coincidences. However, we are going to have to figure out how to power cycle the emmc after boot (possibly from the OS itself) much like scotty2 did with the Mytouch 4g, G2, and Desire HD. This will clear the wp flag and allow edits to the wp'd areas to be persistent. On the aforementioned models it was gpio 88 that was controlling the power to the emmc but HTC fixed that security hole pretty quickly after gfree was released apparently.

More digging/coffee is needed here. ;)
[AT&T, Rogers HTC One X, Telstra One XL] niceppl:
:p
[AT&T, Rogers HTC One X, Telstra One XL] JeepFreak:
Yes, I did. Do you have a dock that utilizes the pogo pins?

Billy

---------- Post added at 12:56 AM ---------- Previous post was at 12:52 AM ----------

Oh reaaaaaally? And the other side of the "Y" just went to your computer for a 5v power source???

Thanks,

Billy
[AT&T, Rogers HTC One X, Telstra One XL] dkirchik:
Oh reaaaaaally? And the other side of the "Y" just went to your computer for a 5v power source???

Thanks,

Billy[/QUOTE]

I just made one. Can only do the same that Adam did. I plugged it into the AC charger then to the phone and the Y connection I changed to female connected a micro SD card reader.