How old was the firmware? If the version in question wasn't Android 4.2.2 then none of the unlock methods will work.
Also, you don't need to SIM unlock to use a custom ROM.
Also, you don't need to SIM unlock to use a custom ROM.
It's unlocked. If it wasn't, the moment the AT&T SIM was inserted you would have been prompted to enter an unlock code. So either the reseller got an unlock code, or they used RegionLock Away to remove the SIM lock. Since neither option touches the service menu at all, it's possible to be unlocked yet still have the flag in the service menu set to 1.
I guess searching the thread or at least reading the last 10 pages is too much for you, otherwise you wouldn't be trying to do this on a custom ROM when you must be on a stock ROM.
Finally I managed to sim unlock my phone after 10 days of experiments
I have a Samsung Galaxy S4 GT-i9505 LTE with Android 4.4.2 bought from France (XEF):
- I rooted my phone using CF-Auto-Root
- I flashed with Odin the ME2 modem only (XXUAME2 for my case) using the CP/PHONE bouton - find the list in this thread
- I used RegionLock Away as described in this post
Thanks to all members of XDA
Tested only on Samsung Galaxy I9505
Instructions:
1. Dial *#0011#
![]()
2. press Menu then tap BACK
![]()
3. press the Menu again the tap KEY INPUT then enter 1, press OK button
4. press Menu then tap BACK
Your are now in the SERVICE MODE MAIN MENU
![]()
Tap [1]UMTS
![]()
then [1]DEBUG SCREEN
![]()
then [6]PHONE CONTROL
![]()
then [6]NETWORK LOCK
![]()
then tap [3]PERSO SHA256 OFF
![]()
Go back to the UMTS MAIN MENU by pressing Menu then Back then tap [6]COMMON
![]()
then [6]NV REBUILD
![]()
then tap [4]RESTORE BACK UP
![]()
the device will freeze, black screen, Blue LED Light, Menu and Back key ON. Wait for it to reboot (about a minute).
Your Samsung Galaxy I9505 is now Sim-Unlocked.
![]()
![]()
![]()
![]()
Credits:
royskeyz
djembey