yashsingh1/xdaforums huggingface dataset:
[Sprint Samsung Galaxy S 4 Android Development] goldenfish:
I fixed that error (using xShortcut => link to Samsung hidden menu and add apn) but need to manual add when insert new sim ? :(

Can you show me how to update prl ??? :crying:

Requirements

+ Root Access
+ APN names of your GSM provider

After you unlock the phone follow the steps mentioned below

1 Use root explorer or any other file explorer and get to system/build.prop

2 Click and hold till you get a popup menu, select open with Text Editor (when you do this superuser

will ask you to grant permissions, click yes, you will get one more popmenu from the phone saying

"the current file system is read only do you want to remount as read-write and continue the operation"

CLICK YES.

3 scroll to the end of build.prop and add to lines mentioned below

ril.sales_code=LOL
ro.csc.sales_code=LOL

Reboot

4.install the xShortcut app (Google play)

5.Open xShotcut app

+ Add the following line in the respective fields

- Shortcut Name and Icon:
Put any name you want here. You can also select an icon.

- Target Component Package:
com.samsung.syncservice

- Target Component Class:
com.samsung.syncservice.dm.hiddenmenu.OMADMHiddenMenu

6. click on OK button, you should have a shortcut on one of your screen.

7. click on it and run it. it should get you into Samsung DM Services menu

8. select APNs

9. press the MENU button which on the left side of you PHONE HOME button.

10. select + New APN, under NAME type whatever you want(ex Airtel or Idea or whichever you are using)

under APN type the Access Point Name of your provider(ex airtelgprs,com for Airtel, Idea_Karnataka gprs for Idea in my state.

11. click on MENU button which is left side of PHONE HOME button and click save.

Remember not to set anything else. you can add multiple APNS for different service providers.

12. dial ##3282# and enter your MSL and click on EDIT/OTHER/LET APN SETTINGS,

all of your APN names which you have saved SHOULD be therem if its not there redo everything from step 10.

It might just show only one APN name, thats because you have a SIM in the slot, if you have a SIM in the slot,

it will show the APN of that provider only.

13.select which ever APN you want as per your service provider, you are good to go,

14. goto build.prop again and add # in front of the 2 lines you added earlier.

#ril.sales_code=LOL
#ro.csc.sales_code=LOL
[Sprint Samsung Galaxy S 4 Android Development] nicotheandroidguy:
Sorry PRLs are for cdma carriers only, for gsm use a apn app like apn manager
[Sprint Samsung Galaxy S 4 Android Development] wildpig1234:
any chance anyone can answer these two questions? thnx

edit: Got my first question answered from first page: "If originally on MF9 rom and don't flash back to MF9 baseband then wifi might not work". Wifi was working while i was on mdc but i changed it back to mf9 anyway just in case.
[Sprint Samsung Galaxy S 4 Android Development] wildpig1234:
Seems to work for me so far. It reads the iccid for an att sim card.... also flashed bk to mf9 baseband afterward did the WiFi tether hack.. everything seems good so far..
[Sprint Samsung Galaxy S 4 Android Development] hbkl:
When i dial ##3424# is shows this( Look the picture) if i put that password wrong three times the phone reboots himself
[Sprint Samsung Galaxy S 4 Android Development] Andr3s:
problem

hello friends, I have this problem, and never goes out of there, I see that everything says CPS_Error
[Sprint Samsung Galaxy S 4 Android Development] autoprime:
select port 5. if its not one Samsung Diagnostic COM port.. its the other.

I gave directions in the OP on how to tell the correct COM port(look for the 9615.. you can see in your screenshot it is just a [] under device name).

Everyone must read each and every step carefully and it should hopefully go smooth.

Those that have used DFS in the past should find this very simple and be able to unlock in under a minute.
[Sprint Samsung Galaxy S 4 Android Development] Andr3s:
Hello, I decided to change computer and I have the same result, it seems a problem of the phone, none is titled the 9615

, it's a shame: (
[Sprint Samsung Galaxy S 4 Android Development] iorange:
Confirmed working here:)

Thank you very much sir!

Also , if I set RUIM Only on DFS, when I insert an CDMA RUIM card (ChinaTelcom), it uses the RUIM data:)
[Sprint Samsung Galaxy S 4 Android Development] ehaalandtluk:
Great post!

Question, is this any different than a Sprint over-air unlock?

Anyways, good job on the post and for all those involved.
[Sprint Samsung Galaxy S 4 Android Development] noahthedominator:
Will this method work for the US cellular version of the s4? Since they are very similar and the us Cellular also has a mdl baseband.
[Sprint Samsung Galaxy S 4 Android Development] autoprime:
Hmmm perhaps try reflashing your phone with odin.. maybe a full stock tar. hopefully that will clear it up. if your phone is getting signal.. Im not sure why it'd do that. Have you tried rebooting the phone? Keep messing with it. If anything comes to mind I will let you know. But this is certainly not typical behavior.

Very good to know! I was wondering this myself but I do not have any CDMA ruim cards to test.

No difference than the result of the OTA unlock.

Not sure. I do not have a USCC GS4 in my hands to confirm. Someone would have to try it themselves.. altho it could have major side effects if its not exactly like the Sprint version. If anyone wants to send me a USCC or Cricket version temporarily I could probably work out an unlock method for both rather quickly.
[Sprint Samsung Galaxy S 4 Android Development] PapaDocta:
click on both ports and whichever gives you the device name at the bottom choose and it will work..

and make sure you have installed the correct drivers and also put the phone in diag mode...

also could you take a screen shot of the device manager?
[Sprint Samsung Galaxy S 4 Android Development] ehaalandtluk:
Understood. Anyways, great work.

Between this and your PRL write shortcut that I have been using, there's little else some one needs to make this a true worldwide phone!
[Sprint Samsung Galaxy S 4 Android Development] Andr3s:
I have restored and remains the same, I'm downloading the entire file L720VPUAMDC to try flashing.

Here I put the phone catches and Device Manager

The only port that names is # 7, but does not say name alone says [] and not 9615 and should say nothing, be sure because I'm in Dominican Republic and have flashed another PRL.
[Sprint Samsung Galaxy S 4 Android Development] galexandr:
For those who successfully unlocked, would you be so kind to answer a few questions:

1. Does it require root?

2. Does data work?

Thank you and thanks AUTO for great write up.
[Sprint Samsung Galaxy S 4 Android Development] PapaDocta:
Everything seems OK.. Try the same steps when you flashed PRL to get the port to work..
[Sprint Samsung Galaxy S 4 Android Development] autoprime:
root is not needed. data should work on international gsm carriers as long s APN is set properly.

APN settings are usually greyed out in the hidden menus but editing your build.prop(needs root) can get around that.

see here - http://xdaforums.com/showpost.php?p=44200619&postcount=58
[Sprint Samsung Galaxy S 4 Android Development] PapaDocta:
If you know your spc then you won't need root because some devices require spc to unlock the diag menu..

Didn't try data as I only use cdma for data.
[Sprint Samsung Galaxy S 4 Android Development] Andr3s:
That does not do it, because it was not me who flashio the phone, I had to pay for this.

Look at this screenshot in CDMA Workshop I see it says Failed, something will have corrupted the phone :(
[Sprint Samsung Galaxy S 4 Android Development] PapaDocta:
I don't think the phone is corrupted.. It's whether the drivers didn't get install correctly or the cable is bad.. Try to remove the drivers and install the one from the first post again and also try another cable as well..
[Sprint Samsung Galaxy S 4 Android Development] sunilj75:
Thanks

Gsm in india worked for me.

Cdma sim doesn't work for me yet.
[Sprint Samsung Galaxy S 4 Android Development] h20wakebum:
I just used this method and can confirm upon booting up (with a T Mobile SIM in the USA) I do not get invalid SIM AND I can see the ICCID number of the T-Mobile SIM.

A few questions...

Now, when I go to the Philippines I should be fine putting in a SIM from there to use (this was confirmed by the above test in USA).

In regards to the DATA... When talking to Sprint international, they mentioned there is a known samsung bug that basically prevents DATA from working on GSM overseas.

They said that if I intend to purchase a GSM chip with voice/text/data, the data won't work. They said samsung is working on fixing this. They also said it is effecting all devices. Does this thread: http://xdaforums.com/showthread.php?p=44854175#post44854175 talking about adding code to the build prop to edit the APN have anything to do with this?

First off... how would i know what to edit my APN to? Is that by region so I'd need to add code effectivly making it working the Philippines?

Thanks ahead of time!

**EDIT**

I found this post on Sprint- will this make it work?

http://community.sprint.com/baw/message/603225
[Sprint Samsung Galaxy S 4 Android Development] E:V:A:
Very interesting thread! This may help many other device unlocks in the future... 2 questions:

1. What is that DFS password you entered. I mean what is its function (since its not SPC), have you seen this used before? In QCN or AT CoP?

2. What exactly are those 7 QMI's doing?

We can use the QXDM scripting engine to write a QMI script to do al this automatically... (Actually, I don't think we need the scripting engine, just someone who knows how to send QMI's down the DIAG port.)
[Sprint Samsung Galaxy S 4 Android Development] pvinodnayak:
DFS password is for the GS4 phone mentioned in the OP will not work for any other model. Rest I don't know.
[Sprint Samsung Galaxy S 4 Android Development] goldenfish:
use adb

adb shell

su

Now! enter 123456 into password box and copy this then paste into adb command line

getprop ril.MSL

then press enter/ok at the phone first and command line latter

you'll get your password.

PS do as quick as you can lolll
[Sprint Samsung Galaxy S 4 Android Development] hbkl:
What is adb shell? i just have "Shell terminal emulator" to put commands on my Cell Phone and Super user

By the way i was trying to do it in the shell terminal and i dont know too much how to do it could you explain to me a little more detail please
[Sprint Samsung Galaxy S 4 Android Development] goldenfish:
At first, you must turn on usb debug and select trust your pc when android ask you on the s4 screen

download adb tool here http://xdaforums.com/attachment.php?attachmentid=2296395&stc=1&d=1380690056

unrar to c:\

then open start => run => cmd => enter => tyep:

cd c:\adb

now you'r working on adb folder

type:

adb shell

now you'll work as Android terminal emulator on android ;) :good:
[Sprint Samsung Galaxy S 4 Android Development] hbkl:
After extrating the files then open start => run => cmd => enter => when i type tyep this is what i see
[Sprint Samsung Galaxy S 4 Android Development] freshkid87:
how do i tell what baseband i have. i have a sch-r970
[Sprint Samsung Galaxy S 4 Android Development] hbkl:
in settings/more/about device there you will see baseband model
[Sprint Samsung Galaxy S 4 Android Development] freshkid87:
r970vxuamf5
[Sprint Samsung Galaxy S 4 Android Development] michaelcaceres:
Are you able to use hotspot when on GSM?

I have successfully unocked GSM and have modified build.prop to enable APN menu. However when in GSM mode the Hotspot menus disappears. Using third party apps like 1 click tether and Fox Fi will flash a message on screen saying Hotspot Not supported. And yes the SIM does allow hotspot when used in any other device. Hotspot does work when I am in CDMA mode.
[Sprint Samsung Galaxy S 4 Android Development] freshkid87:
i can't even dial *#06# it might help if you edited the post to include this doesnt work with firmware 4.2.2
[Sprint Samsung Galaxy S 4 Android Development] autoprime:
it works on the SPH-L720. This thread is for the SPH-L720.

This thread is not for r970. The unlock will not work on that phone. I need a r970 in my hands if i were to make an unlock for that device.
[Sprint Samsung Galaxy S 4 Android Development] hbkl:
Please check my other posts and see if you can help me
[Sprint Samsung Galaxy S 4 Android Development] cwb1231:
Does APN Manager, or similar app do the same thing?
[Sprint Samsung Galaxy S 4 Android Development] goldenfish:
lollll type the contents in the code i give you
[Sprint Samsung Galaxy S 4 Android Development] hbkl:
I do it but it do nothing im tyred of do it
[Sprint Samsung Galaxy S 4 Android Development] goldenfish:
:facepalm:

anyone show him how to use adb please ?
[Sprint Samsung Galaxy S 4 Android Development] hbkl:
After Hours of read it again again again and again i could learn how to use adb :fingers-crossed::fingers-crossed: Thanks ive finally could get the code! now my final problem its that i do all the steps but the program says : completed phone rebooting but i check the cell phone and it is doing nothing it doesnt reboot or doesnt do nothing
[Sprint Samsung Galaxy S 4 Android Development] goldenfish:
Just reboot and do it again without using

setprop sys.usb.config diag,acm,adb

Then insert simcard and enjoy it :victory:

---------- Post added at 05:34 PM ---------- Previous post was at 05:28 PM ----------

i don't know :silly:
[Sprint Samsung Galaxy S 4 Android Development] hbkl:
Thanks really thanks for your help! now i know how to use adb and i have unlocked my cell phone thanks!
[Sprint Samsung Galaxy S 4 Android Development] baydude:
ran the S4 Flasher program and got the completed. Phone rebooting.

After my phone rebooted, when I put in a prepaid GSM simcard, it still make calls w/ my Sprint network. How do I get it to go to GSM mode?
[Sprint Samsung Galaxy S 4 Android Development] Ingenium13:
So it seems Samsung has region locked the Galaxy Note 3 (and international S4s released after July or so). It sounds like it's blocked the same way as Sprint is locking out AT&T and T-Mobile. An app was just released to remove the lock: http://xdaforums.com/showthread.php?t=2470551

This might be helpful in actually removing the domestic GSM lock that Sprint imposes.
[Sprint Samsung Galaxy S 4 Android Development] kalanir:
Yeah, how can we figure out a unlock for the US? There HAS to be a way. If they could do it for the note, why not for the S4? Why not modifying NV Items or this program
[Sprint Samsung Galaxy S 4 Android Development] autoprime:
I was waiting for you to figure that out. :p
[Sprint Samsung Galaxy S 4 Android Development] kalanir:
Lol haha I know the idea bout NV Items for the CDMA portion of the phone (I flash phones to other CDMA carriers) but would this theoretically work thou? Btw autoprime, I love all your work man, u rock
[Sprint Samsung Galaxy S 4 Android Development] nicotheandroidguy:
I just tried the method to remove the note 3 region lock which similar to how sprint locks this phone but it did not work.
[Sprint Samsung Galaxy S 4 Android Development] cj10488:
Sprint did this with the touch pro 2 windows phone. They locked it down within the radio file. Cmonex was able to crack this way back when. More than likely this was locked within the radio file as well. I am not good with disassembling code however. If anyone is I would pull the modem file and look in there.

James
[Sprint Samsung Galaxy S 4 Android Development] hahmad78:
first of all, thanks for all your efforts and hard working.

i need some help.i have unlocked the sim. but on notification bar, there is always written '' preparing network'' with green sign. moreover signals are droping too much. signals are full at one time, and within seconds, gone. while my others mobile show full signals.

i have done something wrong?

waiting for kind response
[Sprint Samsung Galaxy S 4 Android Development] hahmad78:
i have attached the pic for your kind review
[Sprint Samsung Galaxy S 4 Android Development] kalanir:
So I did everything essentially and it did not take my tmobile sim card. The sim card is active also so idk y it isn't working
[Sprint Samsung Galaxy S 4 Android Development] elsokary:
plz help not work with me

i try to all step by step but when press scan and unlock

unlock done rebootingd,+

but the program unlock.exe hang and phone not reboot when reboot manual unlock.exe give me this error

A device attached to the system is not functioning

continue quite

i try in many pc not work all same error

i will do flash modem and diag ok . i get msl code and chose like pic but also same

itry to flash L720VPUAMF9_L720SPTAMF9_SPR

thin flash modem thin chose adb+mdm+modem

but same problem

what can i do now
[Sprint Samsung Galaxy S 4 Android Development] punkerEVO:
If you have already tried different PCs have you tried all the basic fixes? using different cables, uninstalling drivers rebooting and reinstalling etc?
[Sprint Samsung Galaxy S 4 Android Development] bassist82:
anyone know if this method will work on the CDMA GALAXY S4 SCH-r970 from USCELLULAR??? I have searched all over the internet without finding any way to unlock this phone and using it in Europe.
[Sprint Samsung Galaxy S 4 Android Development] ROMANTiC KiD:
This is only for the sprint s4.
[Sprint Samsung Galaxy S 4 Android Development] joeminati:
It seems that the instructions from the initial post needs extra steps included to getting the unlock to work.
[Sprint Samsung Galaxy S 4 Android Development] bassist82:
I know this is for the sprint S4, but the sch-r970 is also a CDMA galaxy s4 which is also the same way locked, so the unlock method could be the same. I get the same error as the sprint s4 users when i insert a gsm sim card ( INVALID SIM) Can anyone help me? I can donate $50 to someone who can release a sim unlock for SCH-R970 !
[Sprint Samsung Galaxy S 4 Android Development] nicotheandroidguy:
sorry the software is a little bit more different than the sprint model.
[Sprint Samsung Galaxy S 4 Android Development] krangineni:
Even I am in a same boat..... I followed every step multiple times carefully. Even I don't have a signal for simple mobile, At&t , T-Mobile and Lycamobile. I am using MDC stock rom ... does it matter??

i think i am very close .. Please help me to get through for domestic GSM and your help is highly appreciated.
[Sprint Samsung Galaxy S 4 Android Development] nicotheandroidguy:
I don't think there is anything else to do then. Other than try again and reboot after you tap the watchdogs 6 times each.
[Sprint Samsung Galaxy S 4 Android Development] krangineni:
When try watchdog ... i hit the SW Watchdog 6 times and immediately i hit the HW watchdog 6 times ...i did correct ?? or should i be starting from the *#0011# again todo second set of HW watchdog 6 times .
[Sprint Samsung Galaxy S 4 Android Development] magndo:
problem

hi there i have 4.2.2 mdl baseband i have circle with line accross ans searching for signal
[Sprint Samsung Galaxy S 4 Android Development] krangineni:
I tried same steps in 2nd sprint phone (my friends phone), his phone is also in same status mine with no entry circle (no signal). both these phone were purchased after July 2013 i guess if that make any difference.

Did any one tried with newer phones?

did any one faced similar problem and got around the issue?

Please throw some light, thanks in advance.:crying:
[Sprint Samsung Galaxy S 4 Android Development] nicotheandroidguy:
I don't know if that makes a difference I got mine in may and you did the watchdogs correctly.
[Sprint Samsung Galaxy S 4 Android Development] AlpineMan:
Sprint did it with the Note 2 as well. It is unlocked out of the box if you have LJ1,LJC, or LK8 modem. Newer modems are locked. But you can always downgrade to the older modems if you're rooted and it would work.

Sent from my SPH-L900 using Xparent SkyBlue Tapatalk 2
[Sprint Samsung Galaxy S 4 Android Development] churchey360:
We need a way too unlock without downgrading to MDC or MDL.
[Sprint Samsung Galaxy S 4 Android Development] copticwalad:
I actually was confused about this initially. If you are on MF9 you do NOT downgrade the Entire ROM,, only the baseband modem. So if you find the right file you simply flash MDL Baseband Modem while staying on MF9 ROM. and when you're done you simply reflash MF9 modem again. No data loss or problems.

In general I think Sprint has some Specific T-Mobile + At&t SIM Blocking somewhere buried in the code. I even attempted many of the HSPDA etc.. changes with no luck. I have Unlocked with Sprint's website properly and confirmed it. I also did this method and still same issues as everyone with the No GSM / WCDMA Signal. Very interestingly even with that 'no signal' it will work with Emergency calls.

I tried this on a May 2013 version and an August version with no luck. I activated a T-Mobile simcard with different phone and it just refuses to work with this phone. Even if we do get it working, I'm afraid my research shows we'll get GSM Voice and only 2G Data. 3G I don't think is support domestically and of course 4G is out of the question. So I am looking for a native T-Mobile version for my dad.
[Sprint Samsung Galaxy S 4 Android Development] ezeuba:
Problems getting this to work...

My L720 was on MDL. I flashed full MDC Odin one click. Baseband and firmware changed to MDC. I put phone in DM mode, ran the unlock tool, phone rebooted. After reboot, I connected to DFS and set to RUIM only, rebooted. Inserted MTN Nigeria SIM from my iPhone 4S, went into Mobile Networks and changed to GSM/UMTS. No signal. Phone now says No SIM, Insert SIM. It used to say Invalid SIM with the original Sprint SIM inside when it was flashed to, and being used on, Visafone CDMA network. I did ##786# to revert back to full CDMA and I am still getting the No SIM error and it's more worrisome because the Mobile Internet can no longer switch on as it asks for me to Insert SIM to access data service, even when I insert the original Sprint SIM it came with and which is necessary for the phone to do Mobile Internet. I flashed back to MF9 and did another ##786# but still getting the NO SIM error. Flashed down to MDC again and did ##786# still same thing. Please how can I restore everything to how it was originally when it was just saying Invalid SIM and I could call and do data on CDMA? Patiently waiting for any response.
[Sprint Samsung Galaxy S 4 Android Development] autoprime:
have you tried multiple sims? it sounds like the sim card or the sim slot is broken.. or not making contact. doesn't seem to be software issue. a 786 plus full stock odin flash would revert any changes the unlocker makes... which you've already done.

also, for future reference, only baseband is needed to be downgraded when unlocking.. you didnt have to downgrade using the full mdc.. that's just waste of time. downgrade baseband to mdc modem linked in OP. unlock. Upgrade baseband to mf9 modem linked in OP. done.
[Sprint Samsung Galaxy S 4 Android Development] PapaDocta:
You don't need to change to RUIM ONLY in dfs.. RUIM is the cdma sim card... Try putting back to NV only and check if you get signal
[Sprint Samsung Galaxy S 4 Android Development] joeminati:
So if I go to setting and return to factory settings, will it remove the unlock?

Or just a Odin and 786 reboot is what removes the unlock?
[Sprint Samsung Galaxy S 4 Android Development] clip3009:
both odin and ##72786# (data reset) will remove the unlock

---------- Post added at 09:14 PM ---------- Previous post was at 09:12 PM ----------

Hey alpine are you saying that you can unlcok the note 2 using the same method? I was thinking of doing mine but i could never figure out how to repartition my bricked note 2
[Sprint Samsung Galaxy S 4 Android Development] AlpineMan:
A Sprint Note 2 can be unlocked by simply downgrading the radio. You will need to replace the sd card/embedded SIM module with an SD card/SIM card slot combo like those found in Verizon Note 2's. Just like the Sprint S4 however, it will work for overseas GSM carriers. Not sure if there's a way to make it work with Tmobile and AT&T.

Sent from my SPH-L900 using Xparent SkyBlue Tapatalk 2