yashsingh1/xdaforums huggingface dataset:
[Sprint Samsung Galaxy S 4 Android Development] Dishe:
I actually had Sprint officially unlock my phone a while because I wanted to use an international SIM card in it. I did what they said and followed the instructions, etc, but when it didn't work after a few minutes, I gave up and just used a cheap GSM phone.

Now I'm at a point where I'm considering changing providers to GSM. I'd like to keep my phone until I can afford a new one, and I feel this *should* work, right? I'm not sure what I'm doing wrong, though. The option to switch between CDMA/GSM doesn't exist in the settings menus.

Should I give up and use the methods described here instead? Or if my phone is officially unlocked by Sprint, is there a simpler way to make it work? Also, once unlocked can other ROMs like AOSP roms and CM13 work?
[Sprint Samsung Galaxy S 4 Android Development] Hamza khan2014:
same here

Wifi stopped working and lot of more issues arose
[Sprint Samsung Galaxy S 4 Android Development] Timsux1:
Please how can I get my Samsung s4 sprint unlocked? ?plssssss
[Sprint Samsung Galaxy S 4 Android Development] howardc64:
unlock tool was full of malware for me

Didn't anyone else encounter this when downloading the unlock tool from the link in the original post?
[Sprint Samsung Galaxy S 4 Android Development] potroveloz:
For me too, a lot of malware and the program never install, anyone have the real program??
[Sprint Samsung Galaxy S 4 Android Development] GnatGoSplat:
I was able to successfully unlock for international SIM on newest stock baseband PL1.

Have to be rooted and use Galaxy Tools 3.15, update to 3.18, and unlock.

Then select first GCF as in tutorial.

That's all.
[Sprint Samsung Galaxy S 4 Android Development] HermitDash:
For anyone that's looking for a mirror like I was: http://downloadandroidrom.com/file/GalaxyS4/SPH-L720/unlock/unlock.zip
[Sprint Samsung Galaxy S 4 Android Development] rickpub:
Great... Another questionable crap hosting site with ads and likely malware galore... No thanks
[Sprint Samsung Galaxy S 4 Android Development] rawa.o.ali:
vruse !!!!! full of viruse
[Sprint Samsung Galaxy S 4 Android Development] deepsudeep:
Just used it, of course checked the md5 before using.
[Sprint Samsung Galaxy S 4 Android Development] ryRy:
Please share the link for the Sprint S4 Unlock Tool
[Sprint Samsung Galaxy S 4 Android Development] meanngreen04:
Com Ports
[Sprint Samsung Galaxy S 4 Android Development] gao ming feng:
usc note2 R950 can use this method to unlock sim? R950 can not know what the seven segment command....
[Sprint Samsung Galaxy S 4 Android Development] pvinodnayak:
Can I do the modification on MDL save it and then update to MF9? Will it stick?

---------- Post added at 10:55 AM ---------- Previous post was at 10:52 AM ----------

I did the shortcut, added new APN, default MCC & MNC are 310 & 000, if I edit this in the new APN and try to save, it does not stick.
[Sprint Samsung Galaxy S 4 Android Development] autoprime:
if i have my gsm sim card inserted while doing this... it sets the mcc/mnc as whatever the sim card is.

if that still doesnt work.. maybe try the HiAPN app that [MENTION=3475439]Andr3s[/MENTION] suggested in post #103
[Sprint Samsung Galaxy S 4 Android Development] Ingenium13:
You should be able to use a sqlite editor and manually add the APN (and related settings) with any MCC & MNC to the database /data/data/com.android.providers.telephony/databases/telephony.db
[Sprint Samsung Galaxy S 4 Android Development] pvinodnayak:
Sqlite I have not sure how and where, can you give a detailed go through on how to?
[Sprint Samsung Galaxy S 4 Android Development] Ingenium13:
I use this editor, but any should work https://play.google.com/store/apps/details?id=com.speedsoftware.sqleditor

Basically just open the file, and it's a list of tables. Open the carrier table and it's like Excel, with headings that label each column. Just fill in the information going across. The existing data can be used as a template.

I haven't manually edited mine, so I'm not sure which fields are actually required. But here are some screenshots showing how the APN I added through the settings menu showed up:

I believe you only need to fill in the fields shown in the 1st and 3rd screenshot. The 2nd one shows the MMS settings which aren't required.
[Sprint Samsung Galaxy S 4 Android Development] HeXacTa:
thx for the HiAPN info.. now I can get APN without have to change build.prop (to edit APN still have to do build.prop trick though)

on mine it stick. my carrier APN does not require MCC & MNC only APN without user name and pass.

or simply using HiAPN above. press "Click to AutoSet APNs" on the app and it will give you your carrier's APN automatically
[Sprint Samsung Galaxy S 4 Android Development] Febby:
[MENTION=2684188]autoprime[/MENTION] You should ask a moderator to close the thread in the url below.That user seems to be trying to steal your work. (No credit or link to your work.. Just asking for donations). :p

http://xdaforums.com/showthread.php?t=2420174
[Sprint Samsung Galaxy S 4 Android Development] autoprime:
wow, what an ass. appreciate the heads up.
[Sprint Samsung Galaxy S 4 Android Development] Febby:
No problem man, hard work or easy work, nothing should be stolen like he tried to. :)
[Sprint Samsung Galaxy S 4 Android Development] PapaDocta:
as he didn't include his paypal account.. he should have also copied yours :D
[Sprint Samsung Galaxy S 4 Android Development] lior1262:
connection problem or invalid mmi

what it is?

it hapand whaen i want to dail *777
[Sprint Samsung Galaxy S 4 Android Development] vazovskiiii:
hi i have sprint s4 and i cant get into the Qualcomm USB Setting code is incorrect :( where can i find out what is correct code?
[Sprint Samsung Galaxy S 4 Android Development] PapaDocta:
this is the code ... ##3424# unless you have changed some things in the build.prop
[Sprint Samsung Galaxy S 4 Android Development] dino_mk:
This is my first samsung phone, and first time of using Odin.

Please tell me when I do downgrade baseband to MDC, which options in Odin should be checked (for example "Re-Partition", "Auto Reboot")

Thanks.
[Sprint Samsung Galaxy S 4 Android Development] pvinodnayak:
Check Auto Reboot ONLY, Un check everything else.
[Sprint Samsung Galaxy S 4 Android Development] autoprime:
and remember to use the PDA slot! I guess I should add this stuff to the OP :cyclops:
[Sprint Samsung Galaxy S 4 Android Development] h20wakebum:
Hey Auto,

Do these settings stick with the phone or if i were to nandroid restore to a different rom I'd have to redo them?

I ask because on Friday I Tried to do the build.prop edit to be able to manually add additional APN's and after I'd succesfully added the two lines (which made the APN screen not greyed out if i were to hit add APN) I then manually went back in to the build.prop file and removed the 2 lines...(i removed the 2 lines becuase with them in you cannot get into diag mode).

After doing this, I Was no longer able to boot my phone (so I had to restore a previous rom).

Thanks in advance.

---------- Post added at 05:06 PM ---------- Previous post was at 04:33 PM ----------

Thanks man!!

I am Rooted.

When you added the 2 lines to the build.prop edit... did you then add a new APN and then remove the 2 lines?

I was not able to access diag mode with the 2 lines in.
[Sprint Samsung Galaxy S 4 Android Development] Ingenium13:
I believe I was able to remove them and still have data, but I'm not sure. I was playing around the the APN settings the whole time I was abroad trying different things so I generally just left the build.prop edit in place until I got back. But I definitely took them off for at least a day and data still worked fine.

I think I was still able to access the diagnostics menu as well through a launcher shortcut. But many have reported with with the edits you can't get into the diagnostics menu through the dialer shortcut.

Regarding nandroid, the build.prop edits are in /system, so they won't carry over to a new ROM if you wipe /system (you should). The APN settings themselves are in /data, so if you restore your data partition after changing ROMs then they will still be there.
[Sprint Samsung Galaxy S 4 Android Development] h20wakebum:
I don't get this...

I added the 2 line items to the build.prop, rebooted and now I can succesfully ADD an APN. When I use Offline APN Databse program to obtain the APN settings for SMART (philippines) and start adding them in, it saves fine. The second I change the MCC and MNC settings and hit save, my APN disappears.

To clarify... before i enter those, I'll enter name, APN, MMSC, MMS PROXY, MMS PORT if i hit save, i'll see the APN saved. When i open it back up and try to add mcc or mnc, BOOM it disappears

wtf mate?
[Sprint Samsung Galaxy S 4 Android Development] Ingenium13:
The MNC/MCC combination is unique to every carrier. It's like a carrier ID number. In this case it's acting as a filter. Only the APNs that match your current network's MNC/MCC show up. When you add an APN and leave these fields blank, it's automatically filled in with the current network's MNC/MCC. So manually putting them in will have them stored and ready for when you go to the Philippines. Once the phone connects to that network, then the APNs with a matching MNC/MCC will show up in the list.

Usually a carrier will have one MNC, but they can sometimes have multiple MCCs. I would recommend just waiting until you get to the Philippines and add the APN once you're connected to that network. That way you don't have to worry about messing with the MNC and MCC, it'll just be filled in with the correct values. Unless you need MMS, all you really need to fill in is the APN name.
[Sprint Samsung Galaxy S 4 Android Development] h20wakebum:
Eureka!! So even though i can't see the APN (because i did enter the MNC/MCC) it's saved and when i put in a SMART (the network) chip, it'll show up?

Cool..

Having said that, with the edits I made (manually added the SMART MMS APN info) I should be able to get DATA now?

Seems like Samsung/Sprint have made an effort to make this process DIFFICULT LOL
[Sprint Samsung Galaxy S 4 Android Development] Ingenium13:
Yup, it should work. It'll actually probably work automatically when you put in the SIM since the APN was already added. You can use a Sqlite db viewer and look at the database file that has the APNs to make sure it's there if you're worried it didn't work.

Also, I just wrote a guide on how to get data working: http://xdaforums.com/showthread.php?t=2421436
[Sprint Samsung Galaxy S 4 Android Development] h20wakebum:
You seem knowledgable... perhaps you recall something about this post:

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

I could have sworn recently reading something to this effect... I've got absolutely no response so that makes me feel like i was nuts...

any thoughts?

i forget if it was an app that allowed you to do this but i swear i saw something.
[Sprint Samsung Galaxy S 4 Android Development] Ingenium13:
I don't see how that could be possible. The Sprint phone number is always routed through Sprint for incoming calls. The phone number is sort of similar to an IP address. So there's no way you can receive calls with a local SIM and your Sprint number, unless you had to have it setup with Sprint still and incur roaming fees. I'm actually not sure if Sprint even has GSM roaming agreements.

For making a call, it may be possible to somehow spoof your caller ID (I doubt this is possible on mobile networks though), but what would be the point? It would still be charged to your local SIM as an international call.

It would be possible with Google Voice potentially, using a local google voice number in that country (if it even exists), but that isn't what you're asking. Using your Sprint number without google voice? No, not possible.

Edit: Also, to my knowledge, your phone number isn't even stored on the SIM card. I think when the SIM is activated it's assigned a phone number from the network. When I bought my SIM they wrote down the number for me, and I couldn't find it anywhere in the phone menus. Also, if your prepaid SIM expires (ie you haven't used it in X months), you lose the phone number. Reactivating the SIM gives you a different phone number. So that's all handled at the network level rather than on the phone itself.

Edit2: Actually, I'm sure it's on the network. Because my 3G Nexus 7 came with a SIM card, and I activated it in Ohio but used my address in California for billing. It was assigned a California phone number. So it's definitely enforced by the network and is not something that can be changed.
[Sprint Samsung Galaxy S 4 Android Development] h20wakebum:
Cool man maybe i was just going nuts lol.

So i do have google voice... when i'm over in the Philippines I am going to plan on getting an unlimited DATA SIM with SMS and a few hundred minutes for calls.

With unlimited data... I could use google voice callback to place a call to a person back in the US and have it show my google voice number.

For local calls, I'll just give people the foreign SIM number... does that sound about right.
[Sprint Samsung Galaxy S 4 Android Development] Ingenium13:
Google voice does not use data for voice calls, only texts. So you can do unlimited texting from your Google voice number to and from people in the US. But for voice calls it uses the normal voice network, it just calls a local google voice number (if available) so that you're charged at a local rate rather than an international rate. I don't know if google voice has a number in the Philippines.

That said, there are ways to get Google voice working with voip. I think it involves a hack using Grand Central (google acquired a company called Grand Central and turned it into Google Voice). But I don't know if this still works. I believe it's a fairly involved process.

Google Voice voicemail notifications still come through over data though. So I just made all my calls from my laptop using Gmail (which uses your Google Voice number), but I'm not sure if that still works now that Google converted Talk into Hangouts.
[Sprint Samsung Galaxy S 4 Android Development] h20wakebum:
Sorry, it's an app called google voice callback.

Basically I dial a number (stock phone dialer) and i get a prompt asking if i want to use google voice callback (I say yes) and it uses data to then process an incoming call (shows as though I'm getting a call from my google voice number) then, it starts ringing the call (it connects to my destination person) and they see my google voice number.

make sense?
[Sprint Samsung Galaxy S 4 Android Development] Ingenium13:
Ah, yeah that routes it through a VoIP provider. That will work.
[Sprint Samsung Galaxy S 4 Android Development] dino_mk:
I unlocked the phone with my friends microsim card inside (mine was regular sim at that moment), everything is working fine. When I put my sim card, which is from different operator, data is not working. Everything is set correctly, tried with different sim card from the same operator, data is not working. If I put sim from operator which I used when was unlocking the phone data is working.

Have someone else tried sim cards from different operators and have data working on all of them?!

Give me some suggestions, should I reset my phone and do whole process of unlocking again with my sim inside. What will happen if I do unlocking without sim card inside?
[Sprint Samsung Galaxy S 4 Android Development] pvinodnayak:
Can we flash the MDC modem mentioned in post #1 using mobile odin?
[Sprint Samsung Galaxy S 4 Android Development] autoprime:
sim unlock is sim unlock... shouldnt matter what card is in it.. or if any card is in it. its either disabled.. or still there.

you are positive you set APNs correctly using the various methods people have posted throughout this thread? is there any chance that the sim that isnt working with data is using a different band.. one not supported by the phone?

never tried mobile modin. you should be able to flash it in recovery tho with a flashable zip. mobile modin might work. I know using DD commands thru terminal emulator works as well.
[Sprint Samsung Galaxy S 4 Android Development] dino_mk:
It is strange problem of which I can't think of a logical solution. Because of that I ask if someone tried to use sim cards from different carriers with everything working?

APN is set correctly, checked 20 times. I can chose APNs with that shortcut you suggested (when I put the card from working provider it is choosing his APN automatically). Booth carriers use same bands and frequencies. :confused:
[Sprint Samsung Galaxy S 4 Android Development] PapaDocta:
most carriers can send the APN settings via sms... did you try it?
[Sprint Samsung Galaxy S 4 Android Development] Ingenium13:
Really? Is there a standard way to do this?
[Sprint Samsung Galaxy S 4 Android Development] PapaDocta:
you should check with your carrier... normally it's a message you send to your carrier and they send you back the settings...

i'll try it when i get home and see if the settings will stick...
[Sprint Samsung Galaxy S 4 Android Development] Ingenium13:
Yes, please test it if you have the chance. I'm back in the US right now so I can't try it out. I'm very curious if they apply and stick without the build.prop edits.
[Sprint Samsung Galaxy S 4 Android Development] hydralistor:
does the unlock tool also work for us cellular gs4?

I already enabled the usb debug, diag mode on the gs4.

Is the tool for sprint gs4 only?
[Sprint Samsung Galaxy S 4 Android Development] motoridersd:
Looks like the Sprint blocking of US SIM cards is similar to the iPhone, where a US SIM will just not work, but, using a foreign SIM card, can you roam on AT&T and T-Mobile? This wouldn't be for daily use of course, but if I were to use it with a Mexican SIM card and want service while in the US, will it work? It works on the iPhones.
[Sprint Samsung Galaxy S 4 Android Development] Ingenium13:
No, it will not work. The block is different. They block it based on MNC/MCC (the network's ID number of sorts), so it won't work no matter what SIM you use. From what you describe, I'm guessing the iPhone is actually a block at the SIM level, whereas this is a block at the modem level.

Edit: reread that and realized you were talking about the Sprint iPhone. It might still be modem level as well. But they are different modems, so the block is likely done differently anyway.
[Sprint Samsung Galaxy S 4 Android Development] motoridersd:
Thanks for the reply. That's what I was thinking based on what I read. Yeah, in IOS it's a SIM based block where any US MCC is blocked. So AT&T and T-Mobile US won't even show up in a network search with this block.
[Sprint Samsung Galaxy S 4 Android Development] edlee:
The same thing happened to my phone after playing with hidden service menu. I haven't done so yet, but reflashing ROM will fix issue. I kept it cause its actually use full only way to toggle 4g without restarting device.
[Sprint Samsung Galaxy S 4 Android Development] daniel4653:
Sweet finally got these in in the mail today.
[Sprint Samsung Galaxy S 4 Android Development] xlogix:
Nobody not one time mentioned something along the lines of a Givey SIM....and if it's blocked in the modem one would think that a Givey SIM would do us just the trick
[Sprint Samsung Galaxy S 4 Android Development] Febby:
Try it :p
[Sprint Samsung Galaxy S 4 Android Development] nicotheandroidguy:
That's only for iphones.
[Sprint Samsung Galaxy S 4 Android Development] iaane:
its working!!! thank you very much for this wonderful tutorial:angel:
[Sprint Samsung Galaxy S 4 Android Development] PapaDocta:
ok i tried the push setting from my carrier but the problem is my carrier doesn't recognize the phone model.

note that i had to enabled the push messages in the messaging application to be able to receive the ota setup via sms. ( this can be enabled by editing the features.xml file and need root)

what worked for me and was able to get data is editing the telephony.db (need root and no need to modify the build.prop) and adding the settings manually then dialing ##3282# then going to others> LTE APN Settings and click on my carrier APN. the network i was on only has EDGE.

hope this helps
[Sprint Samsung Galaxy S 4 Android Development] myamex:
won't work with Sprint S4 and HTC one. I ve tried it on both.
[Sprint Samsung Galaxy S 4 Android Development] daniel4653:
Only bought it to test out if my sim card is unlocked. Not to actually activate them.
[Sprint Samsung Galaxy S 4 Android Development] damond:
i try with diffrent roms including stock and i get Completed. Phone rebooting, but phone never reboot
[Sprint Samsung Galaxy S 4 Android Development] osopol4r:
Tried both methods, the one with DFS and the program I had to install. I followed steps carefully and repeated the process several times and still it does not work for me. I'm on FM9 debloated ROM with MDC radio.

When I complete the process and phones restarts, I insert my sim card and the first thing I notice is the message "Invalid SIM Card". I tried different sims but no success. Also when I check the ICCID it shows as unknown. I also restored the radio setting with the 3 digit dialer code posted in this thread and still nothing.

It is important to metion that my S4 is not activated in a CDMA network at the moment. I will try flashing the stock rom and activating the device on the CDMA network, I'll report back the restults.

Thanks!
[Sprint Samsung Galaxy S 4 Android Development] pmcnano:
Just FYI. I unlocked, rooted and install HiAPN and hit "autoset" and was good to go. I think you might not need root, just download the app and use the "Apn" shortcut and set it manually.
[Sprint Samsung Galaxy S 4 Android Development] totalcontrol:
Glad to hear you dont need root and this App did the trick for you.

Do you get 3g Data and can do Wifi hotspot

Thanks
[Sprint Samsung Galaxy S 4 Android Development] autoprime:
Make sure you are not on MF9 baseband. Make sure you have USB Debugging enabled in phone settings. Make sure you have the phone set to diag mode(DM+MODEM+ADB) using the ##3424# dialer code.

last thing to check is to make sure your drivers are correct... check windows device manager to confirm you see Samsung Serial Device listed under the "COM" section.

Being activated on CDMA network should have nothing to do with the unlock. as long as you are 100% sure your baseband says MDC(you did confirm it says that right.. not just flash it and hope it changed?)... usb debugging on... diag mode set.... and no Windows Device Manager issues/conflicts... it should work. Only reason it wouldnt work is if there is another issue with your phone.

Other than confirming you have everything set correctly and running the 1-click unlock app... theres not much else you can do. Perhaps we could try to use USB-Over-Network and I could work on the phone personally... but that service is not free.
[Sprint Samsung Galaxy S 4 Android Development] gao ming feng:
Can you tell me the input 7-segment command, dfs return situation?For example:Request:	0078F07E

Responce:

00446563202035203230313230353A30353A32334F63742033312032303132000000000000000041434546574D415A

3A06FF29040206F1A3A07E

Request:	0078F07E

Responce:

00446563202035203230313230353A30353A32334F63742033312032303132000000000000000041434546574D415A

3A06FF29040206F1A3A07E

Request:	4B1303000000000034507E

Responce:	4B1303000900000057A97E

Request:	4B130F006E766D2F6E756D2F31303132340065047E

Responce:	4B130F0000000000B68100000100000001000000693E1F52693E1F52693E1F52F59E7E

Request:	4B1308006E766D2F6E756D2F31303132340026B67E

Responce:	4B13080000000000117D7E

Request:	4B13020041020000B60100006E766D2F6E756D2F313031323400CA3D7E

Responce:	4B1302000000000000000000046D7E

Request:	4B130500000000000000000031DD367E

Responce:	4B130500000000000000000001000000000000004F647E

Request:	4B1303000000000034507E

Responce:	4B1303000000000034507E
[Sprint Samsung Galaxy S 4 Android Development] pvinodnayak:
Forget all this and download the tool in the first post.