yashsingh1/xdaforums huggingface dataset:
[Sprint LG G2] anton wen:
Permanent SIM Unlock for LS980 (OTA, APN) JB 4.2.2

Patiently wait for the tutorial, enjoy your weekend and very appreciate for your contribution ..

Last question, can i flash tot, activate and flash nv then wait for your unlock or just flash tot dont activate and cannot flash CDMA NV..
[Sprint LG G2] evilboygenius:
For the first time in my life, i cant wait for Monday :D
[Sprint LG G2] pvinodnayak:
Flash tot, flash prl & NV, get your CDMA to work first, do not unlock the GSM. I'll hookup the rest tomorrow. Hold your horses. ;) intermission in the theater. Wait for popcorn and coke lol.
[Sprint LG G2] Nikon5400:
on T-Mobile?

Quick question (sorry if it was answered 100 times)

Does it now work on T-Mobile USA?

The OP says it doesn't but I've read somewhere people say it does. If it does, are all data bands supported? if not, what doesn't work?

Thanks
[Sprint LG G2] pvinodnayak:
If you are gonna use GSM only then once you are on KitKat change the value of ro.build.target_operator=SPR to spr & give it a shot.
[Sprint LG G2] Nikon5400:
I don't have a phone yet. I'm considering getting a used one and Sprint is the cheapest. I just don't want to save $100 and get a brick

Thanks.
[Sprint LG G2] pvinodnayak:
I meant it works, just that I live in India and can't try myself.
[Sprint LG G2] janocool:
Hi, im on stock 4.4.2 maybe you can give a hand to unlock the device with teamviewer, thanks
[Sprint LG G2] nukeman239:
After flashing the 4.4 tot are the steps same as given in the OP for unlocking. I just want to use GSM only. No need of CDMA.
[Sprint LG G2] pvinodnayak:
No. Don't. That Will only give you GSM unlock, no roaming & apn menu. Message me your email Id I'll mail you details with new set of files. Out now.
[Sprint LG G2] Bakeo:
Hi bro! With this i can get the H+ icon instead GSM?
[Sprint LG G2] nukeman239:
I want GSM only. Don't care about CDMA. Please help me how to go about this after flashing .tot
[Sprint LG G2] pvinodnayak:
Ok your email address please
[Sprint LG G2] keepah:
I'm on ZVA, stock rom, rooted and unlocked with the permanent unlock method.

I did not backup the original files : "telephony.db" and folder "property" (but I think it was empty, not sure)

Question : Will I run into troubles if I only replace apns-conf.xml with the original one, unroot and do the official zvc (not modified) ota ?

(I understand I will loose sim unlock for now)

Thanks much
[Sprint LG G2] Bakeo:
No, you wont loose the unlock you just have to replace the apn file with the original and you have to unroot the phone thats all
[Sprint LG G2] devo3d:
How do I reverse this without having to reflash the entire ZVA and reroot? I did a backup in TWRP before the changes but didn't like the results and tried to go back but my CDMA reception is just horrible so I think I messed it up and the normal backup won't fix it. Does anyone have a copy of the original files (ZVA) to undo this? It would be much appreciated.
[Sprint LG G2] anton wen:
Waiting for the tutorial fully unlock G2 CDMA & GSM :)
[Sprint LG G2] pvinodnayak:
ALWAYS BACKUP anything that you are replacing in the phone. You never know when you need it.

You have to have to stock apn-conf.xml file to survive ZVC OTA.
[Sprint LG G2] obie992:
Waiting for tutorial
[Sprint LG G2] nukeman239:
Just flashed .tot. But I don't see Roaming in phone settings.

Edit: [MENTION=4487409]pvinodnayak[/MENTION] please help.
[Sprint LG G2] autoprime:
I know that the build.prop edit works... but my original post in this thread was stating that using the method in this thread alone(which emulates the official unlock from Sprint) is not enough to get domestic working.

So I'm confused... did you do the build.prop edit? did you also do the method in this thread?

As for the build.prop edit.. I thought that made the system crash which is why people were flashing a tmobile rom? yours isn't crashing?

And yes you can be on zv7 or zv8 and use CM. I suggest using FreeGee from the play store to install recovery.
[Sprint LG G2] nickeedoo:
Oh, my apologies. I did both. Sorry, I guess I misunderstood what you were asking.

As for the crashing, that stopped when I changed network mode. I have called my voicemail as a test and don't think I've gotten a crash yet in "WCDMA only" mode.
[Sprint LG G2] obie992:
Issue

ok so I was trying to do the process, first I cant open the TC shortcut, it says the path does not exist, but I was able to open through inside the total command folder, when click on ABD I cant see my phone, what do I do now?
[Sprint LG G2] garynsa:
I copied the files onto the sdcard n copied them via root explorer. It works fine for me
[Sprint LG G2] obie992:
ok this was another question i wanted to ask, im unable to paste the property folder, is there another way to do that?
[Sprint LG G2] scottdanpor:
There will be a prompt on your phone allowing TC access, make sure you look at your unlocked screen when doing this.

Drag and drop worked for me.
[Sprint LG G2] obie992:
so I have successfully unlocked my phone, I need one more thing, how do do skip the activation every time you turn on the phone? any help on that?
[Sprint LG G2] patriky:
Did U rename apps ?
[Sprint LG G2] obie992:
I only rename the activation app, do I have to rename all the apps?
[Sprint LG G2] evilboygenius:
OmaDmclient.apk is the one responsible for "Hands-free sprint activation" pop up on every boot. Make sure you freeze it.
[Sprint LG G2] sturmen:
Awesome work. Does Sprint service still work on the phone after you do this (and only this) unlock? I may be going to Europe for vacation, but I want to make sure my phone will work when I get back lol
[Sprint LG G2] scottdanpor:
I'm posting this for anyone who, like me, has everything working except MMS...

In the dialer press ##443336772# -You will get a 6 digit SPC code, remember this

In the dialer, press ##DATA# -This will take you to hidden Data settings

Select MMSC

Hit Edit -You will be prompted for your SPC code (Get this wrong twice and your phone will shut off)

You now have 3 options -Set URL, Gateway, and Set Port. These are all set by Sprint. My Port was ok but URL from my APN settings was not used! Now, set your URL (EG. mine was http://mms.bell.ca/mms/wapenc)

Set your gateway. This is by default a bunch of numbers, but my actual gateway that works is my MMS Proxy (web.wireless.bell.ca)

Your phone may restart

You can now send/receive MMS!

Thanks to chris0160 for posting some Sprint dialer codes!
[Sprint LG G2] ceyo14:
If i revert the build.prop unlock i see the new roaming menu but it says no sim card...?
[Sprint LG G2] pvinodnayak:
You have to be complete stock and no edits anywhere for this unlock to work. It's mentioned in the OP. So revert to complete stock, then use the unlock method and then try.
[Sprint LG G2] ceyo14:
The other unlock is just 3 build.prop edits and selectin the network mode... i reverted that. But still it says no sim
[Sprint LG G2] garynsa:
Hi

Not sure if u already tried

1. Change the network mode to. Gsm

2. Restart the phone
[Sprint LG G2] pvinodnayak:
Yeah and it has few known glitches. Like no APN, can't switch between CDMA and GSM using the stock system settings. No roaming settings. This unlock gives you a complete unlock without any of the above mentioned problems, and also can receive OTA.
[Sprint LG G2] Williek113:
Aww. Touching
[Sprint LG G2] ceyo14:
I get the difference. Im just saying the other one is simple. If you change those settung to what they said, it is reverted. Then i try this and it does not work. I want to make this one work.
[Sprint LG G2] coc014:
it works thanks ! but no 3g icon like on htc one. Any xposed mod to fix this ? ( internet is really fast, hspa, but i get a gsm icon. :D )
[Sprint LG G2] pvinodnayak:
http://xdaforums.com/showthread.php?p=51708816
[Sprint LG G2] devo3d:
Hi, I really screwed up my phones Data trying this and I need the original files that were deleted and written over, like the " Property, .xml. and the telephony.db "... I am on ZVA in case it matters.

COULD SOMEONE PLEASE UPLOAD THESE FILES TO UNDO THIS... THANK YOU !!!
[Sprint LG G2] Bakeo:
Did you setup your APN?
[Sprint LG G2] devo3d:
Yes but I thought this was to unlock the Sprint Sim, apparently I was mistaken. I want to stay CDMA and not go to GSM. Thats why I need the original files.
[Sprint LG G2] Bakeo:
Why did you do this method in first place?
[Sprint LG G2] pyromaniac1:
I live abroad in Asia and I only need gsm unlock to use 3G data.

Once I do this, can I switch to LG 4.4.2 or AOSP roms and still retain unlock?
[Sprint LG G2] manojcitc:
Yes.........
[Sprint LG G2] pitbullmommy45245:
so i just did this and when i go into select my network it takes it about 1 min and then it say's can't connect. try again later.
[Sprint LG G2] Bakeo:
But do you get signal?
[Sprint LG G2] pitbullmommy45245:
no it just says it can't connect and then goes back to the network screen. in the status bar it says no service. selected network unavailable.
[Sprint LG G2] Bakeo:
Zv8 or Zva? Did you delete telephony.db? Copied carrier folder?
[Sprint LG G2] pitbullmommy45245:
no i didn't. but i did copy and paste the properties folder to the carrier folder. i'm so confused lol. can you give me a step by step on what i need to do. one i copied the properties folder to the carrier folder i lost the option for roaming though. and its zva.
[Sprint LG G2] Bakeo:
You are complety stock? You have to delete the "telephony.db" file, you need to read the OriginalPost in page 1
[Sprint LG G2] devo3d:
Because my device is flashed to Boost and it keeps getting a Sim pop up notice so I thought that this might stop it....and apparently I'm a Dumba** :)

So can someone either upload or email the 3 files that had to be overwritten or deleted in a zip? It shouldn't be that large of a file. I know my best option is to just "go back to stock" but I can't download a firmware file that large (2.1 gig) right now and the replacement of those files should be simpler. Thanks a lot if anyone can help.
[Sprint LG G2] pitbullmommy45245:
I deleted it and it still didnt work it gives methe same error. Its rooted and i followed the original post to a t.
[Sprint LG G2] Bakeo:
Are you sure you replaced apn-conf.xml file?
[Sprint LG G2] pitbullmommy45245:
I went into that file and thats already there i didnt mess qith it tho. Thank u for ur help and being patient with me im a noob lol
[Sprint LG G2] Bakeo:
You have to replace it with the one in the folder and put here a screen
[Sprint LG G2] pitbullmommy45245:
i tried that and it keeps saying permission denied. i tried it in es explorer and root explorer.

edit: i got it to go into that folder. now how do i select my network provider. i have my sim card in it. but there's no roaming option so i can't select my network. i still have no service.

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

ok so i just redid everything that's in the op. and i got the roaming option now. in avaiable gsm networks my network pops up but then when i select it after about a min it says it can't connect to that network right now. and then there's a triangle with a exclamation mark in it that says the network is unavailable. i tried selecting automatically and it searches for a network for about 2 min then just cancels out. i know its unlocked bc if it wasn't my network wouldn't even show up.
[Sprint LG G2] Bakeo:
Are you in US? This unlock doesn't work in US... And you have to put Roaming on Home and enable "Allow gsm data"... Install "ES Explorer" do a Root Explorer and copy and paste the apn file
[Sprint LG G2] pitbullmommy45245:
i'm in the us. i'm trying to use cinicinnati bell. in the avaiable gsm networks my network pops up. it just won't connect. i attached two screen shots of what it does when i select my network
[Sprint LG G2] Bakeo:
This unclock doesn't work in US, try the justin's rom to do the unlock, look for it in the forum
[Sprint LG G2] pitbullmommy45245:
i was trying to figure out how to get twrp on it and i couldn't figure it out to save my life. lol
[Sprint LG G2] Bakeo:
Use the Justin's Rom men! And follow the step as the say
[Sprint LG G2] pitbullmommy45245:
can you send me a link to it?
[Sprint LG G2] ansan:
Unlock GSM network?
[Sprint LG G2] Bakeo:
Yeah with the justin's rom you can use other networks
[Sprint LG G2] abced123:
Combine this method ( international gsm unlock ) with build prop editing , it will work for US gsm . Use build prop editor and change these value to :

ro.carrier=spr

ro.build.target_operator=spr

persist.service.crash.enable=1

Justin ROM is nice , but NFC aint work and be careful with the Tmobile OTA update :)
[Sprint LG G2] buracho:
Hey guys,I've read a few posts back you can flash an AOSP rom with out messing up the GSM unlock.

Planning to try Mahdi Rom and I wanted to know if there is anyone who has tried this or if there is any thing I should be aware about??

---------- Post added at 11:23 AM ---------- Previous post was at 11:17 AM ----------

Freegee from Playstore will install it for you. Its easy:):)
[Sprint LG G2] pitbullmommy45245:
so i just did this and now the i have no roaming option. and i can't change my network at all. and when i go to the phone and try to call out it says android.process.phone.stopped
[Sprint LG G2] abced123:
use phoneinfo or telinfo app to change network
[Sprint LG G2] TheMadScientist:
so ive been through all these

Can it be unlocked or not i want to put it on straight talk but how
[Sprint LG G2] NODO-GT:
Is it working on KK 4.4.2 Stock Based ROMs? (Like cloudyflex 2.0)?
[Sprint LG G2] newman_kg:
Is this unlock really permanent? Will it survive system reset or some global firmware update?
[Sprint LG G2] lipak:
Yes, it would survive system restore and OTA update (may not be clean flash) .. If you have root Explorer then whole process would take 5 miss (as long as you are rooted) .

---------- Post added at 05:46 PM ---------- Previous post was at 05:45 PM ----------

I am in Stock kitkat and it works fine

---------- Post added at 05:52 PM ---------- Previous post was at 05:46 PM ----------

Try the CM 11 ROM for straight talk.. This mod is proven to work in network outside USA..

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

Cm11 tmobile gsm working on lg g2 sprint
[Sprint LG G2] skandalous1:
Has anyone had issues with the telephony.db re-writing after being deleted? I followed instructions per the original post and keep seeing the file in root explorer after reboot. Im on stock ZVA.
[Sprint LG G2] pvinodnayak:
Telephony.db is deleted when doing the unlock. It's basically to remove stock settings. With the new apn-conf.xml file it's rewritten by system creating New values for the unlocked GSM.
[Sprint LG G2] lipak:
Hi Anyway I can enable Wi-Fi hotspot. . Followed the procedure mentioned in below thread but no luck. ..

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

Wi-Fi Hotspot/ Tethering For Sprint Non-Activated LG G2 LS980 ZV7/ZV8/ZVA
[Sprint LG G2] skandalous1:
Thanks for the reply. The reason for my question was because I do see the option to change to GSM in network settings but apn settings do not stick at all. I have tried the buildprop method but no luck. I have seen that others have had to flash a different rom for settings to stick. I wonder if I may have to do the same.
[Sprint LG G2] capricapriochka:
It means its unlocked for gsm use, so you can insert gsm sim and sttart using it.

@ Rohan I have also ordered a Sprint lg g2 from USA , however will have to unlcok it upon receipt.

Left you a PM.
[Sprint LG G2] RohanM:
Thanks for the quick response. :good:
[Sprint LG G2] Disillusioned:
The method doesn't seems to be working on update done through ZVC's TOT file.

Total Commander would not allow copying files, deleting files etc.

Using ES File explorer, files can be copied to carrier and apn can also be deleted, however the SIM does not gets detected.

Update:

If the SIM is installed and SIM Unlock is applied, it doesn't work. But if SIM is not installed, the hack is working for sure.

Thanks OP
[Sprint LG G2] AlanVenu:
Well i used the tot file to update to 4.4.2 and followed the instuscions in the OP. It worked for me, have unlocked a few phones this way.

1. You have to paste the property folder to /carrier/

2. Replace the apns-conf.xml in Folder /etc/ and then change the permission to Rw-r-r-

3. Delete the telephony.db in Folder /data/data/com.android.providers.telephony/databases

Then reboot..

Works for me always. Try once again bro.
[Sprint LG G2] illinoissparks18:
TMobile?

Guys, I was wondering if this unlock enables GSM in the US. Is it possible to use this unlock for TMobile? Thank you
[Sprint LG G2] patriky:
I copied property to carrier folder but after reboot is property file empty how to i have set permissions ?

Thanx !!!
[Sprint LG G2] pvinodnayak:
Have you set the network mode to GSM/UMTS ? Sim card inserted? Telephony.db deleted?
[Sprint LG G2] elmy2424:
have someone successfully updated from zva [unlocked with this method] to zvc....????

mine keep saying "authentication error, try later" when i run th firmware update option

if its not possible, can you give me the link of kitkat .tot to flash it and later do the unlock...

thanks so much
[Sprint LG G2] haoleflip:
When going to my device in totalcmd I don't see a property folder. I see a carrier folder, but not a property folder so I am stuck on step 3 in the instructions. Anyone know what I could be doing wrong?
[Sprint LG G2] pvinodnayak:
Back up your phone & do a reset issuing phone settings.

There is a search option on the XDA website, use the correct words to locate what you are looking for.

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

Zvc 4.4.2 tot

---------- Post added at 06:01 AM ---------- Previous post was at 05:57 AM ----------

If you are on KK total commander will not work. You gotta use a root explorer. If you don't see a property folder it does not matter, just continue with the instructions mentioned in the OP. If the OP says replace the carrier folder, he means the whole folder, always mention which baseband you are on. Easier for someone to give you a correct reply.
[Sprint LG G2] haoleflip:
I am on 4.2.2 ZVA and I don't see a property folder.
[Sprint LG G2] jsergan:
Then just copy that folder.
[Sprint LG G2] haoleflip:
You mean copy the carrier folder from the downloaded file and replace it with the existing carrier folder? I don't understand lol
[Sprint LG G2] jsergan:
Yep, just replace 'carrier' folder and it will work! :good:
[Sprint LG G2] haoleflip:
Got it. Thanks.
[Sprint LG G2] jsergan:
Your welcome!
[Sprint LG G2] RohanM:
Hello All,

Just received my LG G2 ( Sprint Unlock) which is on 4.2.2 (pre-rooted) may for unlocking.....

So is there any official 4.4.2 available for this ? Also If yes, Then will it lock the device again ?
[Sprint LG G2] bindaasathar:
Yes surely it would. Use tot method to update to Kitkat, root and then unlock again using this procedure.
[Sprint LG G2] haoleflip:
Well, stuck again.....

This is so irritating that the directions in the OP aren't exact.

I am trying to copy the apns-conf.xml over to the /etc/ file and it's not letting me overwrite it. It keeps giving me an error shown in the picture below. How do I get this file to overwrite the old one? I keep trying to overwrite it in root browser on the device itself and it keeps telling me operation failed. I have root access....
[Sprint LG G2] secret.animal:
Have you tried APN backup and restore
[Sprint LG G2] RohanM:
Well before this I got ZVA yesterday. But the device is still unlocked. :confused: but the root is gone.

Now this morning getting notification for ZVC.. (4.4 may be)

So should I proceed. As per title this is permanent u lock so I guess this OTA will not lock the device. [MENTION=3330181]ysabxe[/MENTION] [MENTION=4487409]pvinodnayak[/MENTION] please shed light on it.
[Sprint LG G2] pvinodnayak:
Total Commander does not work on KK, you can do the same using root explorer.

---------- Post added at 07:53 AM ---------- Previous post was at 07:51 AM ----------

Update to ZVC if you get OTA, don't root now.

---------- Post added at 07:53 AM ---------- Previous post was at 07:53 AM ----------

Device will stay unlocked
[Sprint LG G2] RohanM:
Thanks, last query, since yesterdys zva update my gprs not working. Apn is correct, i skipped that apn stick process while updating is that the reason?

So finally should I proceed for zvc?
[Sprint LG G2] pvinodnayak:
Proceed, you can unlock GSM if it gets locked with ZVC.
[Sprint LG G2] RohanM:
Wow man.. now I am on kitkat, 2g also working but the new icon for it just irritating.... circle spins around gsm name lol
[Sprint LG G2] vijaymalhotra_2007:
Telephony.db file not delet properly after reboot its come back what's going wrong?
[Sprint LG G2] keyro:
the same here update to 4.4.2 and property folder appears empty when rebooted and telephony.db shows up again
[Sprint LG G2] jsergan:
It's normal, don't forget to set Gsm/Wcdma
[Sprint LG G2] patriky:
for me this method is not working since using KK
[Sprint LG G2] sergiob1:
Could someone please help me with a Sprint Lg g flex? its rooted already i just want to get tmobile working on it please.
[Sprint LG G2] chaz411:
What is the issue you are having when trying this method out?
[Sprint LG G2] evilboygenius:
Does the latest update unlock tethering as well?
[Sprint LG G2] elmy2424:
After flashing zvc.tot the unlock proces don´t work.
[Sprint LG G2] juanacevedo:
Used this method + the build.prop unlock edit and I am able to use my LS980 on US T-Mobile with no problems.
[Sprint LG G2] RohanM:
That's not good man..
[Sprint LG G2] pvinodnayak:
It works fine, when you unzip the carrier folder make sure you copy the carrier folder inside the carrier folder.

Carrier.rar -> Unzip -> Carrier/carrier/files

Hope you get what I'm trying to tell you.

---------- Post added at 10:13 AM ---------- Previous post was at 10:13 AM ----------

Yes
[Sprint LG G2] RohanM:
Now that's cool... :D
[Sprint LG G2] brandonbarlow:
I made a walkthrough how I got my ls980 to work with att or tmobile http://xdaforums.com/showthread.php?t=2729370
[Sprint LG G2] elmy2424:
LOL

Sorry for that,

i didn´t noticed that "Permanent SIM Unlock for LS980 (OTA, APN) JB 4.2.2, KK 4.4.2" now has a "Final" versión and the files are different..

cause the thread still mention the old "property" folder::::

3. Copy Folder

property

to /carrier/ (delete folder property if you already have it on your phone)

4. Reboot
[Sprint LG G2] weijoin:
hi,you means use the old "property" can unlock the stock kk?
[Sprint LG G2] zukko:
hi.

i wanted to ask something.

when you do sim unlock.

IMEI changes or stays as it was before unlocking ?
[Sprint LG G2] abhinav.tella:
IMEI of phone NEVER changes and is illegal to do so.
[Sprint LG G2] RohanM:
Will a normal factory reset lock the phone again ?
[Sprint LG G2] elmy2424:
Nope, but i recommend unroot before doing it
[Sprint LG G2] zeal0t:
Does it work for cdma?:)
[Sprint LG G2] shaynethepain:
Is there anyway to get this to work on the custom kernels that are availble here. Thanks.
[Sprint LG G2] zmencicek:
Hi,

So can I buy a cheap CDMA Sprint LG G2 on ebay with bad ESN, do the unlock for GSM and use it in New Zealand with my GSM carriers SIM?

I have been reading through the forums looking for the answer to my question and so far I think there is a positive answer to it. Can anyone disprove it?
[Sprint LG G2] RohanM:
I am using it in India.....
[Sprint LG G2] charlie95113:
Wrong forums buddy you cant even talk about it OpenlY on here man
[Sprint LG G2] elmy2424:
Yes

---------- Post added at 04:51 PM ---------- Previous post was at 04:50 PM ----------

does FinalVersion files work on lg gflex??
[Sprint LG G2] ryan8r:
Will this stick on AOSP based custom roms like CM as well ?!
[Sprint LG G2] MrSaba:
ysabxe can you answer me on pm
[Sprint LG G2] vrythree:
i want to ask, my signal its appear now, but why my GSM data doesn't appear??

i open Acces point names and show No APNs.

whats wrong??
[Sprint LG G2] vrythree:
thanks all my problem solve, we must seting the APN manual, not automatic :good: