yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 General] toterkeks:
no, i did not because of the fear of braking my phone.
[Galaxy S 4 General] matthias1203:
Hi. I have stock rom. Phone model i9505 and have no root.

Am I good to proceed the process of sim unlock.

In case of fail what can happen to phone?
[Galaxy S 4 General] Strephon Alkhalikoi:
[MENTION=4276482]matthias1203[/MENTION]: There's a lot to take in on this thread. That's what happens when you're on one of the most popular threads in the forums. Here's a quick summary of the available options, keeping in mind the following. You must be on a stock ROM, and downgrading the device modem to an Android 4.2.2 version is mandatory. Otherwise the methods will not work.

Service Menu Methods: See the opening post. The advantage to this method is that root is not required, but the downside is that the process is somewhat intricate. In addition, a successful unlock can be reverted on a firmware update. Success is not 100% guaranteed and the process has on occasion made updates to the device difficult due to the changed settings.

RegionLock Away Method: Root the device with CF-Autoroot (will trip Knox). Find and install RegionLock Away. Run RegionLock Away. Uninstall the app and unroot if desired. The advantages of this method are that you don't have to mess around in the service menus and risk screwing up a setting unexpectedly. This method also is more robust in that it can survive firmware updates. The app is also required if using the device out of region, for example, using an I9505 in the United States on a United States carrier. The downsides to this method is that root is required and its success is not 100% guaranteed.

Purchasing An Unlock Code: If either of the above methods do not work, this is your last option, assuming your carrier does not provide you one. The advantage is that it's quick and painless since all you're doing is entering a code. The disadvantage, naturally, is cost.

Of these three methods, the safest method is to purchase an unlock code. There's no software to install and no settings to alter. You simply enter the code and you're done. Not quite as safe but still easier and safer than the Service Menu method is the RegionLock Away method. Since you're rooting the device and modifying system firmware there's always a possibility that you could irrevocably damage the device.

So, depending on how you choose to unlock the device, you either can do it with the S4 in its current state, or else you would need to root. What is unknown is what happens should you fail. You'll have to decide whether the risk is worth the reward. As an example, I used RegionLock Away to unlock my S4 after the device, having been originally unlocked using the Service Menu, locked itself up again a month after I had bought it due to a glitch. In my case, the risk was inconsequential compared to the reward, but your mileage may vary.
[Galaxy S 4 General] sleepingscorpion:
[MENTION=2807229]Strephon Alkhalikoi[/MENTION], thanks for the above. I have purchased an unlock code from my carrier (EE/T-mobile Uk) but it doesn't work and the carrier doesn't know what to do about it!

I'm. On CM12.1 nightlies, baseband I9505XXUHOE2.

Any ideas, info, suggestions welcomed!

Thanks
[Galaxy S 4 General] Strephon Alkhalikoi:
Get back to stock, and then try your code. If that doesn't work, use RegionLock Away to blow away your SIM lock. Then ask EE for a refund.
[Galaxy S 4 General] sleepingscorpion:
Tried Region Lock Away just before I saw your response, it says cannot locate CSC data, you can try flashing a CSC package to correct this'.

I'll try as you suggest going back to stock and flashing the 422 modem.
[Galaxy S 4 General] Strephon Alkhalikoi:
I'll have to add the fact you need to be on a stock ROM to the post.
[Galaxy S 4 General] fraydz:
You need to run a stock firmware to use the unlock code
[Galaxy S 4 General] B.R.Denton:
you are good to go, just follow my step-by-step... if it fails, you can always flash any stock rom through that ODIN program
[Galaxy S 4 General] RitchRTR:
yes it looks like nothing happens, but carry on

then press menu, key input 1
[Galaxy S 4 General] B.R.Denton:
trying to do it through menu didn't work for me either, but using the method of rom change, root, modem change, RegionLockAway works perfectly fine on i9505...
[Galaxy S 4 General] jbrou27:
After reading through various posts, I found the "input code" to be "Q0" and not "1".
[Galaxy S 4 General] charos:
for 9505 looks like downgrading to a XXUAME2_MODEM and UHOB7 rom solves the issue. But what about 9506? Since roms are not compatible. Just downgrade to stock kit kat?
[Galaxy S 4 General] Murshad007:
I am getting error that SHA256_Enable_FLAG [0]

SHA256_OFF=> Not change

Also in NV Rebuild it says

Backup not exist

[First, You must make back-up

by using [3] menu
[Galaxy S 4 General] sellman18:
Just flash international stock Rom without branding = SIMLOCK free
[Galaxy S 4 General] pinktheater:
Which one did you get? I've tried 3 already and still getting SIM locked.
[Galaxy S 4 General] jeffjames:
hi the menu doesn't appear on the screen even if i wait for a couple of seconds or tap back... please help..
[Galaxy S 4 General] pinktheater:
Is this process exclusively for 9505? I ask because when i try to do it on a 9500 the menu options are totally different.
[Galaxy S 4 General] Markaveli25:
I cannot get to the UMTS MAIN MENU screen, it just stays in service mode?
[Galaxy S 4 General] pacods61:
region lock

I have a 1337m for sim unlocking all i did was odin back to stock kitkat. Rooted it with with cf autoroot installed 4.2.2 mdj modem threw odin flashed twice to make sure it stuck. Installed regionlock voila sim unlocked. Then flashed lollipop threw odin.rooted again with cf autoroot. Installed twrp and still sim unlocked. Tks to this thread for all the info i needed.
[Galaxy S 4 General] pinktheater:
Where did you get the modem? I have tried all the modems available and nothing seems to work.
[Galaxy S 4 General] pacods61:
modem

U extracted the modem from the bell 4.2.2 firmware from Sam mobile

---------- Post added at 08:58 PM ---------- Previous post was at 08:54 PM ----------

Also make sure u are on pure stock firware I found it wouldn't work if I wasnt
[Galaxy S 4 General] pinktheater:
Do you have an example of "pure stock"? I have tried different versions of the samsung's official site and nothing works.

I extracted the modem of a 4.2.2 stock ROM and yet the SIM is luck. I am seriously thinking on better sending it to a store and see if they can fix it.
[Galaxy S 4 General] pacods61:
well

I see u have a 9500 i have a 1337m look for a stock rom on same mobile for your variant. Install it threw odin. Then extract the 4.2.2 modem from a 4.2.2 firmware download the whole firmware and extract modem. I dont have to downgrade the firmare ro jb just the modem. Flash it twice threw odin. Make sure auto reboot is not tocked. Flash once when its says done reboot into download mode again and flash it again the reboot manually. Root it then use regionlock. The whole process took me like 40min after i had both firmwares downloaded. Hope that helps.
[Galaxy S 4 General] bobbyak:
I had to downgrade to I think it was 4.4.1? Or earlier to use the international unlock apk and then do a reset for the sim unlock gold key and then reinstall the original ROM for it to unlock the sim. You will see on boot Samsung Custom. The regional unlock only works with certain versions. Sorry I can't tell you what it is of the top of my head. So downgrade to compatible version for unlock apk with odin. Keep the stock rom too as you may need to use it to root as I found I couldn't do so and keep the unlock and root.
[Galaxy S 4 General] planky:
I will try to flash to 4.2.2 (GT-I9505-DBT-I9505XXUBMEA). How do you think, will it work?
[Galaxy S 4 General] pacods61:
no need

There is no need to flash the jb firware just the modem is needed. Quote me if I'm wrong but don't think u can downgrade to 4.2.2 firmware if u are on 4.4.2 or above u might brick it.
[Galaxy S 4 General] planky:
ok. I didn't know it's possible to flash modems etc. But it's done. I flashed to XXUAME2. But this method of unlock does not work. Very pitty. I will try DXUMAE2 though, di hope it will work. Maybe it depends on what network it is locked? Mine was locked to swedish Telenor. But now i have flashed from 5.0.1 to 4.4.2, and flashd modem too. Why for some works, and some not? IIs it only a software problem (modem etc) or more secret things like carrier?

EDIT: SOLVED. Used 1 post 1'st method, then downloaded regionlock away by chainfire. Rooted phone with King root. Regionlock away not responded 1'st time, but second was successfull. So i am unlocked off Sweden Telenor.
[Galaxy S 4 General] noraida:
plaess elf my upgrede 5.0.1
[Galaxy S 4 General] lockwoodfolly:
rooting Samsung I337 running lollipop

I'm new to this forum and don't really know where to post but for you guys looking to root your Samsung I337 running 5.0.1 I have just found the answer after exhausting research. Just download latest trial version of wondershare and click root and in about two minutes your device will show rooted:D.
[Galaxy S 4 General] Azelc1:
Hey guys. I've been trying to figure out how to Sim-Unlock my Galaxy S 4 GT-I9506 for I don't even know how many hours now. I figured I'd try my luck here.

I've read about the method in the OP, but I do not have any kind of SHA256 OFF/ON - Only SHA256 info.

Now I gather that this is because my Android version is 4.3 and not 4.2.2 or earlier.

My phone is rooted and I've messed about with a lot of apps and read a lot of posts, but haven't found any method of SIM-unlocking except for this one that is unavailable to me due to version number.

So I kinda figured I would downgrade my Android version to 4.2 to do this and then upgrade again - But I am at a loss as to whether or not this is a good idea at all or if it would even work. Would a full factory reset bring my version back to 4.2? I am pretty sure this was the stock version when I got the phone.

Basically, what I'm asking is if there is any hope at all to unlock my phone or if I should give in and pay the carrier to unlock it for me?

Thanks for any help, and I really hope I didn't repost anything. I find these forums a little confusing to navigate.
[Galaxy S 4 General] alperi:
thanks for information
[Galaxy S 4 General] prosta:
Hi I have tried pretty much everything as well including downgrade modem by flashing 4.2.2 with odin and still no luck. I have the GT-I9506 as well. I tried to flash unbranded stock version also without any success. The only comforting is that as per 1st of July 2014 IF you bought your phone after that and is livling in the EU the mobile company has to provide the unlock code free of chargé. That is when your contract is ended and mine is in some months ? The thing is it is not totally risk free to mess around with the modem..I ruined a Samsung galaxy young 6310 trying to unlock...never got the modem to work again..flashed stock several times with none so ever effect...and odin saved me a lot before..anyway...IF I get any new ideas I let you know...good luck
[Galaxy S 4 General] lammebn:
The procudere to unlock the S4 is valid on every android version? I'm on 5.0.1 and I not able to see the main service menu
[Galaxy S 4 General] audit13:
This unlock procedure only works with certain versions of he samsung dialler and Samsung altered the dialler with each new release.
[Galaxy S 4 General] lammebn:
ok i'll try with 4.2.2 stock rom.

My phone is H3G (ita) brand, can I flash a standard ita 4.2.2 rom?
[Galaxy S 4 General] audit13:
You can look for the phone's stock ROM at sammobile.com.
[Galaxy S 4 General] Janushh:
Worked for me also. Had to change modem to I9505_XXUAME2_MODEM be able to switch SHA256 OFF. Did't work anyway. He!
[Galaxy S 4 General] Adrian Dennis:
i9505 on Android version 5.0.1 Locked To EE UK, Unlock successful

1. Root phone using CF-Auto-Root

2. Flashed with Odin the ME2 modem only (XXUAME2)

3. Used RegionLock Away, Reboot Later and Power Down Device
[Galaxy S 4 General] sleonard2323666:
kabayan does it work on galaxy note II korean variant SHV-E250L???i've tried doing your instruction step by step but it didn't work..pls help..thanks in advance..
[Galaxy S 4 General] jioleight:
Unlocked on custom rom Astra Note 5 port

Globe locked (PH)

followed exactly the guide.

flashed modem me2

install region_lockaway by chainfire

reboot later instead of reboot now.

power off

insert a different carrier sim

turn on

be surprised!

this saved me lots of money.

(tested sim: sun and smart)
[Galaxy S 4 General] martisa06:
I have a unlock code but Im on CM 13 and dasnt work, Yes I know that I must be on official samy but dont know if is it necessary this one from carrier, or any officcial(stock)?

And in the second case which one is suggegted to flash ( no Carrier)
[Galaxy S 4 General] vlase_2:
Take a look at this one

Found this website: www.unlockradar.com , they say they don't lie about their delivery times. Gave it a try and it unlocked my Galaxy S4 , but i had to wait a little longer than expected. Anyways, it worked so you may give it a try.
[Galaxy S 4 General] dragonlady1964:
s4 mini missing step

HI,

I got all excited at being to able to finally unlock my S4 mini but got stuck. I got to the service mode main menu but could not get to the next screen you show so i can tap 1(UMTS)??

How do I get to that screen? I tried pressing menu and back quite a few times but didn't seem to get anywhere.

Any help please would be apppreciated.......... :o

Thank you.
[Galaxy S 4 General] swalker23:
What is a good reason for unlocking the sim? I know you could possible use another carriers sim card to work on your phone.
[Galaxy S 4 General] nintendolinky:
Just a headsup guys after a lot of messing about I think I rebuilt my NVdata, I managed to get the SHA256_ENABLED_FLAG[1] tuned back on and saved it as a backup, rebooted and then restored it just for safe keeping, I then put an OrangeUK sim in and inputted the official unlock code and it worked, Yippie.

---------- Post added at 04:31 PM ---------- Previous post was at 04:30 PM ----------

Thats the only reason, to use another carriers sim.
[Galaxy S 4 General] swalker23:
Thanks, I'll give it a try later and post my results.

I followed the instructions and everything went fine but have no way to check if unlocked. Gonna purchase a sim card cutter from amazon and cut one of my old sim cards so it will fit will update when I do it.
[Galaxy S 4 General] michael owns:
hi mate how did you rebuild you nv data
[Galaxy S 4 General] nintendolinky:
have you still got your phone mate or did 3 give you another. I managed to get the SHA256_ENABLED_FLAG[1] back to 1 from 0 by repeatedly going back into the three options, SHA256 info, SHA256 on and SHA256 off. i then clicked on the top title of each option, it eventually changed back. I then deleted the efs 123 an then made a backup. Some of the options might name be word for word as i dont currently have my phone and im just trying to remember what i did, good luck anyways.
[Galaxy S 4 General] Aphang22:
Works for AT&T i337

Thanks, worked for AT&T i337
[Galaxy S 4 General] swalker23:
I put in my old ATT sim card and got invalid sim message. Enter lock code message did not show up and I am able to go to the dialer. Is my phone unlocked?
[Galaxy S 4 General] artnada:
Um..not sure. lol If you can, try a different sim from another carrier. Usually when you get the Invalid Sim message, you get the unlock code request box too.

Maybe the old AT&T sim is dead now.
[Galaxy S 4 General] swalker23:
I know that what has me scratching my head lol. Only other sim card that is in the house is from my mother's old att phone and it is the same period as mines. I'm not going to worry to much about it now. Thanks for the reply.
[Galaxy S 4 General] chavxxx:
For the freedom to try the services from another network. Like me, I got my s4 from another network for a cheaper price but I have a postpaid sim from another network. I unlocked my device, ditched the sim that came with my S4(actually my wife is using it now) and inserted my old sim. All is well...

Devices:

Samsung Galaxy S4 i9505

Samsung Galaxy Note II N7100

Motorola Droid RaZr XT910

iPhone 4
[Galaxy S 4 General] XTCrefugee:
Like others here, this doesn't appear to be working for me. Tried about half a dozen times now, with 3 sim, no sim, etc. and my Orange PAYG sim is still shown as invalid :(

The strange thing is I am also on 3, MDC baseband which others have successfully unlocked...? The only thing I can think of is that not all the NV backups on these phones are the same.
[Galaxy S 4 General] Talel:
Didn't work on my i337 with canadian Koodoo.

All works fine until the last step where it ends always with an error when I try the NV RESTORE.

I tried Default NV and it's an error too.

Any help/ideas ?
[Galaxy S 4 General] EmoJay0812:
Samsung Galaxy S4

I can't unlock my S4 it is locked to Smart. whenever i press *#0011# it automatically shows service mode can't seem to move after that. hit the menu button then i'm back outside. please help. :(
[Galaxy S 4 General] DevilS4:
Read the guide again and you should see where your going wrong!
[Galaxy S 4 General] chavxxx:
You've got it all wrong! Left side of the Home Center button.

Devices:

Samsung Galaxy S4 i9505

Samsung Galaxy Note II N7100

Motorola Droid RaZr XT910

iPhone 4
[Galaxy S 4 General] MIKE PH:
Same for me just got stuck on the service mode, pressing menu and back doesn't help. I'm on a locked globe sim. Maybe root is needed for this?
[Galaxy S 4 General] EmoJay0812:
Left side is for the key input right? Menu button is the one in the center. After *#0011# I'm already in the service mode when going to the UMTS selection that's where the problem starts. It says there press the menu button but when I did that I'll just be in the homescreen.
[Galaxy S 4 General] luisbeltranh:
When I enter code *#0011# I get this screen

UMTS: HOME

RCC STATE: IDLE

.

.

.

and when i pres MENU->back it takes me to the service screen

[1]BASIC INFORMATION

[2]MM INFORMATION

.

.

[8]PHONE CONTROL

I enter to this menu [8] and then to NETWORK LOCK, and the it shows a screen that says:

MENU NOT EXIST

PRESS BACK KEY

Current command is 186

I have international I9500.

It would be better explained with pics, but i can't upload pics.

Thanks.
[Galaxy S 4 General] wholly1:
Your phone is unlocked ;)
[Galaxy S 4 General] chavxxx:
Follow the instructions step by step. Did you enter 1?

My Devices:

Samsung Galaxy S4 i9505

Samsung Galaxy Note 2 N7100

Motorola Droid Razr XT910

iPhone 4
[Galaxy S 4 General] hasan291:
Can confirm this works 100% on my i9505 was locked to O2 UK

Now working perfectly on a three uk sim :good:
[Galaxy S 4 General] dragonlady1964:
Thank you for the reply. However, I do not want to have to root my phone. And no nothing about flashing. All I want to be able to do is unlock it for free (if that is at all possible).

Following the instructions I never SEE a page with UMTS on it so can't get any further. I can get into the service mode main menu but then that's it. There is NO UMTS no matter where i look. :crying:

If nobody has any idea how I can get there so I can continue with the insturctions then I guess I will have to pay T-Mobile (EE) for the pleasure of leaving them and going elsewhere...frustrating! :mad:

Thanks anyway. :)
[Galaxy S 4 General] hasan291:
That too was my intention to not root as on this s4 i had knox 0x0. First mine did the same thing, could not see the UMTS menu. So i tried to just flash XXUME2 modem, then I could see the UMTS menu and do the NV rebuild etc...but it did not remove sim lock (probably because i was on 5.0.1)

My option then was to do the root method + regionlock away. There are ways I think to get root without tripping knox but its rather long, and I didnt think its worth it so just used cf-auto root :)

Then region lock away...and unlocked :fingers-crossed:

You can even unroot after if you wish
[Galaxy S 4 General] dragonlady1964:
Simply wanted to unlock

Thank you for the reply. I didn't understand a word of that!!! Sorry :o

I know nothing of rooting or flashing.

I simply want to unlock my t-mobile phone so I can go elsewhere and get a better deal with another provider but it seems as though this is not the right place for me as its all too technical. I am sorry and I thank everyone for trying to help but feel like I am wasting everyones time.

Again, thank you anyway. :good:
[Galaxy S 4 General] shortee81:
juhu

Hi All, i have read this and many more topic on XDA and all over internet but it seems like i can not unlock my device to use local Serbian networks.It can see them when i insert SIM card ,but i am getting error can not register to network,

What i did.: i have tried with *#0011# ,then put Q1 and then i got to UMTS menu but i have problem when i got to step 6 network lock ,it says no such menu,and some error 186

I have tried also with Odin,then flashed over it cf auto root,but again no luck,phone keep refusing to cooperate.:)

maybe this with flashing modem thing will help and unlock my phone?

Device is S4 I9500,with 4.4.2 Android,and i can put all other relevant information if someone have some clue and time to help my ass

Cheers,
[Galaxy S 4 General] Rekesz:
Hi guys!

I'd like to ask for help. I tried unlocking my I9505. I reinstalled the most recent official firmware from sammobile.com and tried using regionlockaway, but that did not work. My baseband version at the moment is XXUHOJ2. I also tried the code entering thing in phone, but that did not work as well as I cannot get to the service menu. I am thinking about paying someone to do it just to be sure that it happens, however, I am using custom ROM (JDCTeam's AOSP 5.1.1) and I am not sure if it would.

Any advice is welcome. Thank you!
[Galaxy S 4 General] shortee81:
Hi all again.i was able to put new system on my S4 but now i have a strange issue that when i put some sim card inside device and try to call that number it is ringing but who knows where as device is not reacting at all !!...strange issue very strange..please some help guys
[Galaxy S 4 General] juracybsj:
sansung galaxy s4 i9515

anyway unlock galaxy s4 i9515?
[Galaxy S 4 General] Lilmoma077:
Cant get 2 srvc menu after endless hrs. Please help

T-mobile s4 m919 daughters old t-mobile phone. Can't seem 2 get to main menu after hours of suffering. Please help. In meantime daughter is emailing t-mobile for code. Could take days. Anyone have any ideas? I'm flat broke waiting 4 soc sec to be approved thank u in advance
[Galaxy S 4 General] audit13:
Here's a dedicated thread to sim unlock T-Mo s4: http://xdaforums.com/showthread.php?t=2283068
[Galaxy S 4 General] Tass1lo:
Hey. I am not able to go into the Service Main Menu. After pressing back and enter 1 I end up on the same screen. No options to chose from
[Galaxy S 4 General] sicran19:
EE 5.0.1 i9505 Unlock Success

Hi all,

I want to share my unlock success on EE network, Samsung Galaxy i9505 running android 5.0.1 stock.

-No Sim inserted part-

First I tried downgrading from android 5.0.1 to 4.2.2, also EE original ROM but with no success, Odin failed, so you can discard this step.

1. Restarted in Odin Mode. Flashed I9505_XXUAME2_MODEM.tar.md5 (mediafire link) with Odin (CP/Phone button) Rebooted, checked if the new modem firmware was in place and it was.

2. I copied RegionLockAway-v1.3.apk on the phone's memory while it was powered on.

3. Restarted in Odin Mode. Flashed CF-Auto-Root-jflte-jfltexx-gti9505.tar.md5 with Odin. (AP/PDA button) Rebooted. Then powered down to insert the new sim.

-Inserted new network Sim-

4. Powered up. Installed RegionLockAway and ran it with root privileges. Rebooted. I have to mention I have experienced some network disconnects in the first few minutes.

5. Searched for the newest modem/baseband for my build number in this post . (You need to have the last 5 characters of the modem/baseband, the same as or inferior/lower comparing to your last 5 characters of the Build number)

6. Restarted in Odin Mode. Flashed the GSM_Modem_xxx_and_LTE_Modem_xxx with Odin. (CP/Phone button) Rebooted.

Now my phone is unlocked. Thank you XDA.