yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] flyer_andy:
Yeah I'm sure you're right. One last thought (though he's probably thought of this as well)...when I used the adapter on my Nexus 6 I sanded the metal part of the SIM tray down about 0.5mm or so (the part that sits flush against the side) and it helped a bit with the flex ribbon exit. I don't have a Nexus 6P so I could be speaking from a standpoint of ignorance on this but perhaps a good sanding down of the problem surfaces on the SIM tray might help? Again, he's probably thought of that but it really did seem to help with the 6's tray if one is willing to accept some damage to the tray and/or buy a replacement one.
[Nexus 6P General] tenfar:
like this.

Sent from iPhone ,using Tapatalk.

---------- Post added at 05:35 AM ---------- Previous post was at 05:22 AM ----------

I also bought an zuk z1 sim tray

The grey one is for zuk z1 alomost same,but not fit for test

The black one is for Nexus 6p bought on taobao

Sent from iPhone ,using Tapatalk.
[Nexus 6P General] untruestory:
Dude why did you not post this earlier. Does the z1 tray fit flush?
[Nexus 6P General] cliff p:
I think you misunderstand the reason he wants the extender cable. Part of Reverse Engineering is determining at a hardware level, what commands are being sent and received from the sim device. Think 1's and 0's. He intends to snoop the command set sent from/to the active sim, to see exactly what is sent and received so that he can then target the device if need be, to activate the second sim.

The only way to do this, is to either have a sim extender, or open the phone and completely disassemble it so that he can tap the communications directly on the mainboard. I'm okay with mutilation of the device as a last resort, simply because I don't know if everyone will make good on their bounties.

---------- Post added at 15:12 ---------- Previous post was at 15:11 ----------

FWIW, I do appreciate the links to the sim trays though. He's already modified the OEM sim tray, so that a second sim can be inserted when the time comes.
[Nexus 6P General] untruestory:
No, I understand perfectly. I think you misunderstood my question :)
[Nexus 6P General] cliff p:
I wasn't quoting you, I quoted tenfar. ;) He had asked the question about the extender, vs. dual sim tray.
[Nexus 6P General] tenfar:
Ok,I know what you mean,but what i said is there is no hardware different about the device,it's just a software config. I think The only difference is qfuse or cdt, we need someone who is good at Qualcomm RF and modem software to join this,

I 've looking around lots of Qualcomm modem source code,and I have lots of Qualcomm documents,but I am sucks at English and the Qualcomm protocol is too difficult for me to understand.

Also it's not only you need the hardware to work but also the software part.

The nv config for sim two is alread in efs.

Which is uim_hw_config this configure the gpio for sim card 1 and sim card 2.

There are also need carrier policy file needed in efs.

The most important is the the modem firmware need to support dual sim.

I don't know why the sim is not register by the modem for now.too many parameters.

Anyway,thank you for jion this.hope you father can make this happen.

---------- Post added at 06:53 AM ---------- Previous post was at 06:41 AM ----------

A student whom is interesting to make dual sim work exchange his dual sim capable metal simtry with mine OEM black plastic sim tray .so I just use his sim tray for test. Abandoned the zuk z1 sim try.

If you look all my post,you will know,I also try to 3D printing the sim tray also no fit for test.then someone post said that zuk z1 is alomost the same,so I purchase one on taobao.also I have access to meizu MX5 sim tray.also not fit.

Since now I have dualsim capable OEM sim tray.

I start to messing with Qualcomm NV items.learning about Qualcomm documents.

Poking around Qualcomm modem source code.sbl source code. Kernel source code. Now I have a very basic understanding about Qualcomm RF.

But very far away from make this dualsim woking.

Hope someone have progress.
[Nexus 6P General] cliff p:
RE= Attacking software through hardware. If its QC instruction set, it will be easy to locate for him. Can't read low level (Qualcomm proprietary instruction set) without necessary hardware to interface and see what's being sent. He has IDA Pro and JTAG suite, even if its a qfuse bit that's set, its possible he can reset.
[Nexus 6P General] Steb6891:
Keep up the hard work.
[Nexus 6P General] tenfar:
That's great,jtag it and backup full emmc dump with two model,then compare it.figure out which fuse is for control dualsim. Also we need modem software support.
[Nexus 6P General] murso74:
Would there be any reason to stop talking security updates right now?
[Nexus 6P General] cliff p:
Wouldn't be overly concerned with updates to android software just yet. This method would likely be handled by flashing modem RIL, independent of application layer.
[Nexus 6P General] akaHardison:
We might need a prototype dual sim nexus 6p,but we don't have it.

If we get that phone,a full emmc dump will be a great help.

Huawei's engineers are signed NDA,and obviously they don't want to lose their job and being sued.

A phone similar to this phone with dual sim enable might help,in the nexus efs,the uim_hw_config has been configured,which left us policyman,carrier_policy,cdt,ril...

qfuse?I don't think qfuse will change anything,it may just force you use secured image(sbl,radio,etc).qfuse seems is all about image validation.
[Nexus 6P General] i42o:
Today, I flashed dp2 and when I booted up I quickly went into settings where i saw "sim cards" option and when I clicked it booted me out of settings completely. Tried looking for it again and it wasn't there anymore. The option is there but I think there's an internal hardware / software service running that disables the option once it actively runs. I saw it and I tripped out like I've never seen this on a Nexus.
[Nexus 6P General] heorung:
The Xiaomi Mi Note Pro has snapdragon 810 and dual-sim supported. Can we port the modem config and driver from that device?
[Nexus 6P General] Vekhez:
https://www.reddit.com/r/AndroidPre...ard_settings_shown/?ref=share&ref_source=link

I posted a thread about this on Reddit the other day.
[Nexus 6P General] thinkjerm:
I was able to find this setting using Tasker, I am currently running PureNexus with ProjectFi. Unfortunately I can not post pics because this is my first post.

To get to the menu Open Tasker and create a new task. The new task should "Launch Application" and then select the "All" button to see the Android apps. There you should see an app called "SIM cards". When you run the task it should open the SIM card menu. For me, there was no change to the menu whether I had one SIM or two SIMs installed.
[Nexus 6P General] Thealshear:
Just tried this using nova launcher activity widget and this came up
[Nexus 6P General] daniel4653:
You might want to block your cell phone number
[Nexus 6P General] cliff p:
Are you on a stock rom? rooted?

Do you have two sims inserted?
[Nexus 6P General] Thealshear:
Just one sim, I am on pure nexus and rooted with xposed
[Nexus 6P General] cliff p:
Restoring M on my phone, want to see if by sheer chance I can see something populate at all. If ANYTHING populates for the second sim, then it's a matter of writing instructions to RIL to control sim0 + sim1
[Nexus 6P General] Thealshear:
I can always buy a dual sim adapter (the mx5 one) and help you with testing
[Nexus 6P General] thinkjerm:
I am rooted using PureNexus ROM.

I used 1 SIM in slot 1, 2 SIMs using slot 1 and 2,, and 1 SIM in slot 2. Slot 1 always registered and Slot 2 never registered. Interestingly enough no matter how hard I tried to align the SIM card I could not get SIM 1 to work when it was in slot 2 (SIM in slot 2 but only inserted about 5/8 in).
[Nexus 6P General] BaristaBot:
this is actually useful to know about, even if the second slot doesn't work, for people who travel to other places and use prepaid sims. this way we can put our 'home' sim in the second slot so it doesn't get lost while a prepaid is in the first slot.
[Nexus 6P General] cliff p:
No need, my father is still working out some small issues, but rest assured he will begin his testing soon enough.

I don't think the second sim will become active, without the first slot occupied. I remember this methodology from previous dual sim phones I've had. slot 1 would not function without slot 0 being populated.
[Nexus 6P General] cliff p:
Okay, last update in here until I have something else to give you all:

Talked to my dad today (last night, US time), and he said that he had several issues to work through with the software environment and hardware he is interfacing with. He's worked all of those nuances out, and will begin testing the hardware tomorrow.

Once I receive an update, I'll let you all know.
[Nexus 6P General] cliff p:
Got some good news to share in a little while ;) in class so I'll update this post when I have more time.
[Nexus 6P General] tenfar:
what news？

Sent from iPhone ,using Tapatalk.
[Nexus 6P General] cliff p:
His testing makes it seem as though its an XOR function in firmware. I will fill in details when I get back to a computer, but initial testing was promising. Certain configurations he tested allowed for dual sim population. Says its 99.9% firmware related. More testing and firmware decoding/modification needed so should have some updates in 2-3/days' time.
[Nexus 6P General] daniel4653:
Cant wait sir. Thank you for the attempt.
[Nexus 6P General] vivilxw:
that's great news! thanks!
[Nexus 6P General] tsuttie99:
This gives me the goosebumps.... Keep up the great work!!
[Nexus 6P General] cliff p:
Now that I'm back home, I figured I'd give a more detailed explanation of what was tried by him in initial testing.

1. Stock (not upgraded firmware) out of the box Nexus 6p 32gb Gold. US version.

2. Two nano sims, Verizon and unknown second sim.

3. dual sim adapter assembly, to act as an extender for pin testing.

Initial test: Sim in slot 0 (default configuration) - network reachable.

Test 2: Sim in slot 1 only - network reachable (I cannot replicate, however he could replicate this).

Test 3: Sim in slot 0 and slot 1 - only slot 0 network reachable.

Test 4: Sim in slot 0, sim extender in slot 1 with secondary sim attached to extender - network reachable (dual sim)

More research and testing is being conducted to determine whether his theories are correct (XOR function).
[Nexus 6P General] chrcad:
Just that I'm getting it right:

Standard sim in 0, extender in 1 and I get a fully operational dual Sim phone?
[Nexus 6P General] cliff p:
According to his testing, yes. I do not have a dual sim extender to test for repeatability. He is currently disassembling kernel instructions to see how it ties everything together.
[Nexus 6P General] tenfar:
can you let your father show the properties by adb shell getprop
[Nexus 6P General] :
The monetary value of all this testing equates to the purchase of 25 dual sim devices.
[Nexus 6P General] cliff p:
I asked him to provide. Waiting on his return to the house, not sure if he's at home or not this weekend.
[Nexus 6P General] nealed:
I will pledge €15 to you / your father if I can get dual SIM working on my Nexus 6P. I know its not a lot, but Pledging more and then not paying if it is made possible is ridiculous, and I am pledging what I can. (And before anyone suggests that I could pledge more given the price of the phone: I bought a broken N6P and fixed it and ending up getting a 128 GB phone for a very low price €325 all told). I would encourage people to make pledges themselves to show support.

Also if I can help in any way for testing, then please let me know. I'm willing to invest my time also. Due to living and working in a different country, I will soon have to carry around 3 phones: One for work, my N6P for my home country, and another phone for tethering my internet connection in my work country. 2 phones I can live with, but three? Help!! There are no other dual SIM phones on the market at the moment that come close due to the pure Android experience on the N6P.

Thanks for the ongoing efforts.

Neale
[Nexus 6P General] cliff p:
[emoji106]

There's also a bounty thread in this forum. I can add you to the list if you post there.
[Nexus 6P General] alahkel:
This is really great, I hope everything works out nice for good, having dual sim capability on nexus 6p would be great. Well, google could have enabled dual sim functions by default.. What the heck were you thinking about, G? xD

I will donate to the bounty or cliff soon.

Inviato dal mio Redmi Note 3 utilizzando Tapatalk
[Nexus 6P General] nealed:
Now, stop teasing us cliff p, and share some news on your father's progress, even if it is bad news or a lack of progress. The waiting after the recent news is killing me!!!! This is a light hearted comment and not to be taken as a demand or anything else, but I'd love to hear how he's getting on.
[Nexus 6P General] murso74:
Yeah it's time for an update
[Nexus 6P General] untruestory:
We will find you cliff p. You cannot hide ?
[Nexus 6P General] cliff p:
LOL!

I update Telegram regularly, guess I should update here and /r/ more frequently.

Bottom line: No new news. He's still researching the code (kernel, etc) so that he sees how everything jives together.

He's also inundated with his work projects, so as he has time to break away from those commitments, he comes back to the 6p to do more reading and whatnot.

Hope to hear something from him soon.
[Nexus 6P General] pickaso:
Where can we reach you on telegram? Is there a group you are updating to?

Thanks for your effort!
[Nexus 6P General] cliff p:
/r/Nexus6P
[Nexus 6P General] davesidd:
Here is the link for telegram group of r/Nexus6P

https://telegram.me/gnexus6p
[Nexus 6P General] melvinator:
Just a long list of people talking about random that someone has to sift through just to get any good information.

Btw put me down for $50
[Nexus 6P General] murso74:
Better off posting that in the bounty thread
[Nexus 6P General] nealed:
I agree, and that is what I like about XDA. Still a lot to sift through, but compared to most forums, its a lot more manageable. No such thing as a free lunch! cliff p: could we kindly ask you to keep us updated here if there is any information to share about the dual SIM work for the Nexus 6 that you dad is doing for you / us. Would be great if he could find a solution with his years of experience and that all those that pledged came up with the goods to reward him for the results :fingers-crossed: Here's hoping. If not, I'm probably going to sell my N6P 128GB to buy a OnePlus 3 when it comes out (provided it is dual sim of course!!!
[Nexus 6P General] melvinator:
Honestly I would give more if it came out sooner. I really need to use Verizon for SMS and voice and T-Mobile for data.

One is company line while other is personal.
[Nexus 6P General] nealed:
I hear you. I have a personal phone (N6P) with a french SIM card. I work in Switzerland and cannot use my work phone for purposes other than work, but need access to data and a personal telephone number in Switzerland, so I have two android phones an one iPhone to carry around. Going from 3 to 2 is going to be big for me! Three smartphone... this is just getting silly:p
[Nexus 6P General] cliff p:
I will do my best to update here as well. I need to turn on instant notifications for this thread and the bounty thread. Would make it so much easier to remind me to update. :)

To that end, there aren't any real updates to speak of, now. Rest assured I will pass along any information as it is received.
[Nexus 6P General] melvinator:
Just some food for thought. You have around 120,000 views on this thread. Lets say 20,000 actually need this and are willing to pay for it to be 100% functional. Lest say you sell it for 20 bucks and your profit is 10 dollars per unit. You are looking at a profit of $200,000.

As you might notice i am in sales lol. Think of that as some motivation to make it happen.
[Nexus 6P General] JT-on:
I always believed the views count is not unique. I personally check back daily (or multiple times daily) in threads of interest. Each time I go back, it would add a view, wouldn't it?
[Nexus 6P General] galaxys:
Yes, and many views started since September 15, 2015 with the original op. I probably viewed it a hundred times... :D
[Nexus 6P General] Steb6891:
Every time someone posts I end up viewing it! So count me in for 100 odd views
[Nexus 6P General] melvinator:
Lets say for the heck of it its 500 people. That is still $5,000. I honestly posted this to see if it would go up by another hundred by tomorrow morning.
[Nexus 6P General] Timmietje:
I just came upon this thread.

I will back a hardware solution for the dual sim :).

Funny, I do not even own two simcards... But my simcard reader broke down (water) so I am hoping the second one still works!
[Nexus 6P General] cliff p:
Nothing new to publish, just letting y'all know we haven't forgotten.
[Nexus 6P General] nealed:
Thanks for the update cliff p
[Nexus 6P General] cliff p:
Received an update: He reported that he thinks he's getting close, but no details or specifics. He has been working on it though.
[Nexus 6P General] DanielF50:
I don't know if this has been answered before (sorry if it has), but if this is successful could the secondary sim slot potentially take a micro SD? I only ask as I read something about another dual sim phone using one slot for sims and one for storage earlier in the year, but I'm not sure where I read it now.
[Nexus 6P General] tsuttie99:
I read wayyyy back in this thread that it could not be used for microSD. only SIM. Because of how it was wired or something. I could be wrong though.
[Nexus 6P General] galaxys:
A Developer seemed to confirm this 'no' back on post#134

But who knows with the recent testing...
[Nexus 6P General] untruestory:
I don't understand why this question is even asked let alone in this thread. I feel like it's no different than asking if you can plug you headphones in where the power cord goes on your laptop.

If this thread got cleaned up we could fit all the relevant posts on 5 pages instead of 50...
[Nexus 6P General] :
I can plug the headphones where the power cord goes on my laptop?
[Nexus 6P General] cliff p:
1. I don't have the ability to do any thread cleanup, aside from reporting individual posts and asking that a moderator do some pruning.

2. I'm not even remotely concerned with microSD capabilities, even if it were possible. Microsim ≠ microSD.
[Nexus 6P General] nealed:
Thanks for the update. I really hope he can find a solution. The OnePlus 3 release date is a couple of weeks away, and if there is no solution by then, I will be selling my Nexus 6P 128GB... if anyone it interested PM me. cliffp... thank you dad for all his hard work!
[Nexus 6P General] cliff p:
First software-based modification test should begin tomorrow evening.
[Nexus 6P General] cliff p:
Touché! Pretty sure that's not what he meant, but you're a clever soul anyway. ;)
[Nexus 6P General] DanielF50:
1. Quite a few people would like the ability to add expandable memory & there's absolutely no harm in asking a question.

2. It would go in the same slot as a secondary SIM, therefore a pretty relevant subject even if the mechanics are different.

I'm sorry if I offended you by enquiring about the capabilities of this device.
[Nexus 6P General] cliff p:
No harm, no foul.

Honestly, I don't think the hardware supports the possibility of internal MicroSD. I ended up buying a USB-C to USB A adapter and use it for OTG. It's really effortless, honestly. And not very bulky at all.
[Nexus 6P General] Thealshear:
How's the testing going and best of luck!!!!
[Nexus 6P General] cliff p:
Minor update (and possibly another update coming soon):

Kernel was patched and loaded, however no change to device operation. He has another update to provide, so once I talk to him I'll post up those details.
[Nexus 6P General] tenfar:
you should give more information.what is patched? Gpio that controls the sim slot?

Sent from iPhone ,using Tapatalk.
[Nexus 6P General] akaHardison:
I don't think kernel have permission to handle sim gpio,everything about radio is in the radio and rpm.
[Nexus 6P General] tenfar:
there are some gpio that controls the uim function，eg uim reset，uim detect。

Sent from iPhone ,using Tapatalk.
[Nexus 6P General] akaHardison:
gpio only control rgb led,power button,etc.because gpio is connect ed to the msm chip.the radio part is controlled by the mdm chip,which is radio/modem.
[Nexus 6P General] tenfar:
i will show your some document an hour later.

Sent from iPhone ,using Tapatalk.
[Nexus 6P General] akaHardison:
but even the kernel can reset uim,still no way to control data pin.
[Nexus 6P General] tenfar:
this for MSM8939, it shows what the gpio is for . as you can see there are gpio for uim .

NV setttings needed for dual sim.

View attachment 3775917

this is the document about efs nv item 70210

this is the 70210 which is can with angler :

i think the different between angler vn2 and angler row vn1 is CDT infomation and nv items. the rest are the same. even the hardware are the same.

the modem software does not enabled UIM2. so even the efs is enabled ,the uim2 will not work.

and the modem soft is config base on MCFG_HW and MCFG_SW.

modem software will read CDT to determine which software route.

so to enable dualsim we need a working modem software(aka radio). i think this is not possible. unless you can access msm8994 modem source code for this chip.

if we can change CDT we can make vn2 become row-vn1 . maybe this is what we can done.

the CDT is store in physical emmc number 1 .the android system is in physical emmc nubmer 0, by use qfil we can flash CDT.
[Nexus 6P General] cliff p:
I don't have specifics yet. As I said, he did some work with the kernel and no changes were seen. He said he determined that the kernel is not restricting anything so he's moving on to other areas.
[Nexus 6P General] cliff p:
Nothing new yet. Said he's going to look into the bootloader and follow leads from there.
[Nexus 6P General] brukutu:
Surely the modem also used by other devices..

Perhaps we can find one with the modem source available...

Thoughts?
[Nexus 6P General] cliff p:
I have suggested this already, based on the snapdragon processor. He says that he thinks he is getting close. It's ultimately going to be a matter of packaging the exploit/patch depending on the solution he finds. If its a bootloader exploit then we will need to flash a custom bootloader. If radio exploit then flashing a patched radio. Either solution means he needs to develop a twrp based flash solution to keep things simple.
[Nexus 6P General] tenfar:
bootloader is signed with private rsa key whichis verified by sbl and sbl is signed too,sbl is verified by pbl,if we need to flash a modified bootloader,we will need to bypass signature. That needs a exploit in sbl or pbl. I think modem software is also signed with private rsa key. There's documents about the boot process from pbl to HLOS.

Sent from iPhone ,using Tapatalk.
[Nexus 6P General] akaHardison:
Agree,if they do the tricks in radio or bootloader,no solution right now.Only thing we could modified are the CDT,NV.I think they do the trick in radio,so we can't unlock the second slot and the radio band.Huawei is expert on this.:(
[Nexus 6P General] tenfar:
i have try to readback the physical partition number 1 ，and it's empty,also physical number 2,and number 3. All empty no data in it,the one plus 2's cdt is stored in physical partition number 2. You can find the cdt file on the internet.cdt partition is defined in rawprogram2.xml .

Sent from iPhone ,using Tapatalk.
[Nexus 6P General] untruestory:
Has anyone tried something like the link below as a workaround for now?

I'm anxious for a solution that doesn't involve (A) removing my case and changing the SIM, or (B) carrying a second phone.

I've looked around at other phones that are dual sim but haven't found any that support both AT&T and Verizon. If you are aware of any let me know.

http://www.magic-sim.com/product/id/10/MAGICSIM_ELITE_-_NO_CUT_A_DUAL_SIM_ADAPTER.html
[Nexus 6P General] pickaso:
I think that that's what Cliff's dad is using or was using.