Hi everyone,
I've followed a tutorial that i've seen in a thread to unlock sim my HTC One S S4 (Rooted & with LeeDroid rom), but it doesn't work for me :crying:. I can't find the UNLOCK_CODE when i've done this command "strings -n 8 /dev/block/mmcblk0p6". This is what a i got as an output
mac-addr-............................
20120907
419L527903138
HT23WW417040
1.75.997.1
EBR_Update
Is there a some others ways to find the unlock code?
Thank you in advance
Have you tried method 3 in this thread? http://forum.xda-developers.com/showthread.php?t=1693491
Goatshocker said:
Have you tried method 3 in this thread? http://forum.xda-developers.com/showthread.php?t=1693491
Click to expand...
Click to collapse
Yes, but i can't move the bash script to the /system/ neither with the file explorer nor with the unix command "su mv unlock.sh /system/"
Same problem. I tried the script but does not give me the un_lock_code.. sigh
Sent from my HTC VLE_U using Tapatalk 2
Do u have root access
Sent from my HTC One S using xda app-developers app
k1llacanon said:
Do u have root access
Click to expand...
Click to collapse
Yes my htc is rooted, i've installed a custom rom, and i can execute UNIX commands with su privilege but all 3 methods to unlock sim don't work for me. There's no line in the mmcblk0p6 that contains the Unlock_code
I'm also having the same problem. Was this resolved?
flash backup ROM
Richard1322 said:
I'm also having the same problem. Was this resolved?
Click to expand...
Click to collapse
Had similar problem. Found unlock code in /dev/mmcblk... after rooting but didn't have a foreign SIM to test resulting unlock code until after flashing Cyanogen ROM. Finally bought a PureTalk prepaid SIM prior to traveling abroad to test and unlock code did not work. Before full on panic, flashed nandroid backup of TMO ROM and unlock code worked (whew!) Flashed back to CM10.1 and still unlocked. Now I can travel with phone assurance.
Apparently, you need to be running a SENSE ROM in order for the unlock code to actually work.
--
HTC One S, rooted, SIM unlocked
TWRP recovery
CM10.1
20 years with T-Mobile (formerly VoiceStream)
Related
Hi,
I tried to use the one-click bootloader unlock at http://forum.xda-developers.com/showthread.php?t=1734558 several times, but it did not work with my phone (Telstra HTC One XL) due to an invalid token, so I ended up going through HTCDev.
Problem is, although the bootloader is now unlocked, I now have the same problem as this person: http://forum.xda-developers.com/showpost.php?p=28045161&postcount=42.
Is there any way to fix this or am I screwed? The phone works fine, except I no longer have 4G/LTE. I have already tried to restore my original partitions that I backed up, but it doesn't re-enable 4G.
Sounds like a bug HTC needs to know about.
Why not try rooting then unlocking directly at HTCDev.com without using this script?
the_scotsman said:
Why not try rooting then unlocking directly at HTCDev.com without using this script?
Click to expand...
Click to collapse
I've already done this.
Try the RUU.
Hunt3r.j2 said:
Try the RUU.
Click to expand...
Click to collapse
Reflashed RUU, same problem. I've convinced the telco to send it in to HTC for a repair... doubt they'll do anything as the bootloader clearly says "Relocked" and I logged into HTCDev.
khellific said:
Hi,
I tried to use the one-click bootloader unlock at http://forum.xda-developers.com/showthread.php?t=1734558 several times, but it did not work with my phone (Telstra HTC One XL) due to an invalid token, so I ended up going through HTCDev.
Problem is, although the bootloader is now unlocked, I now have the same problem as this person: http://forum.xda-developers.com/showpost.php?p=28045161&postcount=42.
Is there any way to fix this or am I screwed? The phone works fine, except I no longer have 4G/LTE. I have already tried to restore my original partitions that I backed up, but it doesn't re-enable 4G.
Click to expand...
Click to collapse
you check your imei # in the software and make sure it matches what it should be (it's physically etched into your sim tray)?
I have an unlocked bootloader and 4g/lte is working fine with cleanrom 4.1 and the 1.88 radio here in nyc area. Got 45/11 in flushing queens on lte.
Sent from my HTC One X using xda app-developers app
Same prob as OP.
EDIT: Removed sooking lol
++
Does anyone know of ANYTHING that can be done? :crying:
Maybe someone can post their backup (original) partition files??
Sent from my HTC One X using xda app-developers app[/QUOTE]
It's been rooted and S-Off, and I currently have ICS installed (IceColdSandwich 8.2).
But does that mean that it's SIM unlocked, in that this phone can be used on any carrier?
I don't have a non-AT&T SIM card to test it on hand.
Printerscape said:
It's been rooted and S-Off, and I currently have ICS installed (IceColdSandwich 8.2).
But does that mean that it's SIM unlocked, in that this phone can be used on any carrier?
I don't have a non-AT&T SIM card to test it on hand.
Click to expand...
Click to collapse
If you used the hack kit then it's unlocked
Sent from my SGH-I777 using Tapatalk 2
Printerscape said:
It's been rooted and S-Off, and I currently have ICS installed (IceColdSandwich 8.2).
But does that mean that it's SIM unlocked, in that this phone can be used on any carrier?
I don't have a non-AT&T SIM card to test it on hand.
Click to expand...
Click to collapse
Like Nick says...if you used the Hack Kit and u are S-OFF then you are sim unlocked. But if you want to verify, u can use this (Point 5):
http://forum.xda-developers.com/wiki/HTC_Vision#Rooting_the_Vision_.28G2.2FDZ.29_and_DHD
Take into consieration that sim unlock does not work with all sims....mine works perfectly in Argentina with my company but not all companies work.
Nick281051 said:
If you used the hack kit then it's unlocked
Sent from my SGH-I777 using Tapatalk 2
Click to expand...
Click to collapse
glevitan said:
Like Nick says...if you used the Hack Kit and u are S-OFF then you are sim unlocked.
Click to expand...
Click to collapse
I don't quite remember if I used the hack kit... any recourse if I run the hack kit right now, despite my phone already being S-OFF and Rooted, just to make sure that it's SIM unlocked?
^ Assuming running gfree_verify_v01.zip using ADB Shell shows that simlock has failed.
Printerscape said:
I don't quite remember if I used the hack kit... any recourse if I run the hack kit right now, despite my phone already being S-OFF and Rooted, just to make sure that it's SIM unlocked?
^ Assuming running gfree_verify_v01.zip using ADB Shell shows that simlock has failed.
Click to expand...
Click to collapse
That is weird, from what I knew (that is not a warranty..:cyclops if you are S-OFF you have to be sim unlock....If you want to re run the S-OFF and root, you can revert back to stock and S-ON and then run the Hack Kit...:good:
Printerscape said:
I don't quite remember if I used the hack kit... any recourse if I run the hack kit right now, despite my phone already being S-OFF and Rooted, just to make sure that it's SIM unlocked?
^ Assuming running gfree_verify_v01.zip using ADB Shell shows that simlock has failed.
Click to expand...
Click to collapse
Don't re run the hack kit if you're already rooted, bad things will happen. Set it back to stock and then reroot
Sent from my SGH-I777 using Tapatalk 2
Hi Guys,
I have an HTC doubleshot running CM 9.1.0 stable.
I grabbed a SIM unlock code from tmobile and popped in a SIM from AT&T, got the unlock prompt just fine.
I enter the code and even though the device accepts it, it doesn't actually unlock the phone.
Restarting the phone or turning airplane mode on/off produces the same prompt to unlock again.
After much investigation I realized that I may need to go back to the stock ROM to be able to successfully unlock this phone. (or maybe I'm wrong here but i've read numerous reports of the SIM unlock not working with CM)
I'm on hboot 1.45.0013 with S-ON and I can't seem to get back to stock no matter what PG59IMG i download.
I've tried every signed image i can, including all of the ones here:
http://forum.xda-developers.com/showthread.php?t=1878329
So my question is either:
1) How do i get back to a stock image (even if still rooted and on cwm recovery) so that i can unlock
or
2) How can i unlock the phone without flashing a different image
Silly me, i had forgotten to re-lock the device via fastboot before applying stock image.
SOLVED
In case this helps anyone else out there:
Confirmed that SIM unlock does not work in Cyanogen Mod.
Reloaded factory image, unlocked SIM using code received from tmobile.
Re-rooted, took the opportunity to gain s-off via juopunutbear which also needs the factory image.
Reloaded nandroid backup and now i'm back in business running cm9.1.0 with unlock and S-off as a bonus
itsluy said:
In case this helps anyone else out there:
Confirmed that SIM unlock does not work in Cyanogen Mod.
Reloaded factory image, unlocked SIM using code received from tmobile.
Re-rooted, took the opportunity to gain s-off via juopunutbear which also needs the factory image.
Reloaded nandroid backup and now i'm back in business running cm9.1.0 with unlock and S-off as a bonus
Click to expand...
Click to collapse
You could have just flashed MikTouch to sim unlock. But your done now welcome to s-off
Sent from my myTouch_4G_Slide using Tapatalk 2
One thing I've been wondering for a while though, is there any way to unlock the phone without buying the code?
Nas Escobar said:
One thing I've been wondering for a while though, is there any way to unlock the phone without buying the code?
Click to expand...
Click to collapse
Maybe one of these methods. I unlocked using this thread
http://forum.xda-developers.com/showthread.php?t=1868936
Sent from my myTouch_4G_Slide using Tapatalk 2
^ this. Same here. Worked like a charm.
Hastily spouted for your befuddlement
All right, Thanks!
I have 2 HTC One SV LTE phones. One of them I was able to unlock the bootloader, root, and grab the MSL while it was running ICS. After an OTA JB update everything is running fine and I can still grab the MSL using MSL reader.
My second phone is identical but got the OTA JB update prior to me unlocking the bootloader and rooting. When I try to grab the MSL I get nothing. I've tried every method I could find including running "getprop ril.MSL" directly from adb shell which returns an empty line.
Code:
[email protected]:/ # getprop ril.MSL
getprop ril.MSL
[email protected]:/ #
MSL reader's error log spits out:
Code:
Diagnostic output:
Running as root.
Stopping rild...
Asking for MSL...
0
1.12.50.0516
0
0
Starting rild...
Done.
Diagnostic error:
Does anyone have a method I could employ to get the MSL for my second phone? Or since I know the MSL for one device is there a way to transfer that to my other phone?
I'd appreciate any advice.
Ha! So that is why I kept receiving a blank line! I was on JB before I rooted and unlocked my bootloader. Have you tried reverting back to ICS? I would, but too lazy and at this point I don't need my MSL anymore.
Sent from my C525c using XDA Premium 4 mobile app
yerp01 said:
I have 2 HTC One SV LTE phones. One of them I was able to unlock the bootloader, root, and grab the MSL while it was running ICS. After an OTA JB update everything is running fine and I can still grab the MSL using MSL reader.
My second phone is identical but got the OTA JB update prior to me unlocking the bootloader and rooting. When I try to grab the MSL I get nothing. I've tried every method I could find including running "getprop ril.MSL" directly from adb shell which returns an empty line.
Code:
[email protected]:/ # getprop ril.MSL
getprop ril.MSL
[email protected]:/ #
MSL reader's error log spits out:
Code:
Diagnostic output:
Running as root.
Stopping rild...
Asking for MSL...
0
1.12.50.0516
0
0
Starting rild...
Done.
Diagnostic error:
Does anyone have a method I could employ to get the MSL for my second phone? Or since I know the MSL for one device is there a way to transfer that to my other phone?
I'd appreciate any advice.
Click to expand...
Click to collapse
Hi!! You solved this problem?? I have a HTC One SV from Boost Mobile and the same thing happens to me, can you help me?
If you know any ICS rom to this device please let me know
deltha1791 said:
Hi!! You solved this problem?? I have a HTC One SV from Boost Mobile and the same thing happens to me, can you help me?
If you know any ICS rom to this device please let me know
Click to expand...
Click to collapse
There is an app on the play store called, MSL Reader. Must be rooted to use it. It will display your MSL, but ONLY if you are properly rooted.
Sent from my C525c using Tapatalk
Modding.MyMind said:
There is an app on the play store called, MSL Reader. Must be rooted to use it. It will display your MSL, but ONLY if you are properly rooted.
Sent from my C525c using Tapatalk
Click to expand...
Click to collapse
I used it but throws a wrong code, I'm rooted and bootloader unlocked, S-OFF, TWRP recovery, etc... I think that I need a ICS rom
deltha1791 said:
I used it but throws a wrong code, I'm rooted and bootloader unlocked, S-OFF, TWRP recovery, etc... I think that I need a ICS rom
Click to expand...
Click to collapse
Has nothing to do with the Rom. Works on ICS and JB. Only thing I can think of is either you are making a typo when entering the msl code or the msl is invalid due to a blacklist or your device being inactive.
Sent from my C525c using Tapatalk
Modding.MyMind said:
Has nothing to do with the Rom. Works on ICS and JB. Only thing I can think of is either you are making a typo when entering the msl code or the msl is invalid due to a blacklist or your device being inactive.
Sent from my C525c using Tapatalk
Click to expand...
Click to collapse
Blacklist? Noooo, how I fix that? I'm in México and I dont know nothing of boost mobile or if they can solve this problem, any idea?
Thanks for yours answers
deltha1791 said:
Blacklist? Noooo, how I fix that? I'm in México and I dont know nothing of boost mobile or if they can solve this problem, any idea?
Thanks for yours answers
Click to expand...
Click to collapse
I would assume because you have a device which is a US product over in Mexico. So I also assume your phone isn't even activated which may be your problem there. Not much you can do about that. You would have to settle it with Boost Mobile.
Sent from my C525c using Tapatalk
Modding.MyMind said:
I would assume because you have a device which is a US product over in Mexico. So I also assume your phone isn't even activated which may be your problem there. Not much you can do about that. You would have to settle it with Boost Mobile.
Sent from my C525c using Tapatalk
Click to expand...
Click to collapse
The phone has already been activated in the U.S., I have to communicate with Boost Mobile :/ thanks!!
I attached a picture
deltha1791 said:
The phone has already been activated in the U.S., I have to communicate with Boost Mobile :/ thanks!!
I attached a picture
Click to expand...
Click to collapse
Good luck
Sent from my C525c using Tapatalk
Q&A for [S4][Hack][Root] SIM Unlock for FREE
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [S4][Hack][Root] SIM Unlock for FREE. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Hi can i use this method for all android devices?
Hi, I tried to unlock my HTC One S on 4 differents paid websites, but all say "unfortunately your unlock code cannot be calcuted, please double check your IMEI blabla" ). Since yestarday I kept trying these methods with NO SUCCESS.
Terminal emulator and ADB Shell say String not Fount / No IMEI
I try the method with ES file explorer. The bad news is The file "mmcblk0p6" is crypted when i opened as text. but when i open with notepad++ on my laptop THE IMEI in the file "mmcblk0p6" is completely different when I type *#06#
I calculate the NCK code with both IMEI, phone says "incorrect password" I pay for the IMEI i find in the file, the server send me the same NCK with the app in method 2.
All necessary information about IMEI, model, carrier are in the attachment
Please anyone have an idea?
dwayne_1907 said:
Hi can i use this method for all android devices?
Click to expand...
Click to collapse
No, you can only use this method for HTC One S S4 processor
/system
Exactly where is this location in android ?
/system
simple but very confusing. Everything is /android/device etc.. Thanks
Need unlock code again after reboot
benJX said:
Thanks for your great and very useful work !
I'm actually on Orange FR carrier.
When I insert a sim from another carrier the phone asked me & I wrote the combination.
It said it was now unlocked and when I press "Reboot" the phone freeze instead of rebooting
Any idea ? The CID perhaps ?
Device : hTC One S
About : Facepalm S-OFF -- Hboot 2.16 -- CID HTC__203 -- Radio 1.20
Rom : MaximusHD -- SENSE 5.0 ANDROID 4.2.2
Kernel : ElementalX v6.1
Thx in advance
Edit : I get this error while running the script :
sh: /system/unlock.sh[65]: length: not found
Click to expand...
Click to collapse
I think I have a similar problem.
I have an HTC One S (I think S4 - 1.5Ghz). It is locked to ORange. I unlocked bootloader, rooted and finally managed to get busybox etc installed.
Method 1 and 2 provide the same code-
IMEI: 2547014 (last 7 digits)
Un lock code: 062975078
(sim unlock 61522531)
Method 3 didn't work as I got stuck after loading grep etc via busybox.
When I entered the unlock code I calculated the phone said unlock successful and that a reboot was necessary, but when it rebooted it asked for the unlock code again! I tried a different recovery (was using clockwork, went to twrp but still asked for the code on reboot.
I am scared to re-enter the code as I know I have limited tries - so far I have only entered it the once. I have factory resetted the phone - should I try and enter the code again?
I have now lost the boot screen after the factory reset so I don't think I can check the hboot.
As far as I am aware I did not install a new ROM at any point.
Thankyou thankyou and thankyou :->
We cannot thank you enough for sharing this brief 'tutuorial'. It worked like a charm once we had rooted the phone (which was the tricky part).
In case of it being helpful to anyone else, our device was prepared using:-
- CWM Ville with Touch Recovery ROM image.
- Chainfire SuperSU.
- BusyBox (must use Team Trickster's 'on Rails' initially so as to install from ZIP/SD storage,) followed by an immediate upgrade using the stericson version).
After installing that little lot, the acquisition of the sim unlock code was was a breeze. Thank you again.
Tested on HTC One S (S4)
Locked to Spanish vodafone
Worked like a charm
Had a little trouble installing busybox so installed viper S rom 2 and things went straight
Thank you very much
Cincinatti Bell Wireless
SIM unlock worked great after my crashcourse on rooting, recovery, and the bootloader all last night. But even customer support with HTC and T Mobile told me since it's from Cincinatti Bell Wireless, T Mobiles internet service WILL NOT WORK. :crying:
There's gotta be a work-around. Any way to move a Cincinatti Bell Wireless exclusive phone to T Mobile? There ought to be considering their wireless service is ending in a month. That carrier wasn't even in my area.
asking for unlock sim for different android phone
sir good day this method of unlocking sim is this compatible with other types of android phone? i am trying to use this method but the terminal emulator doesn't appears any of the following as what i can see on the method how can use this method for my phone? any suggestion about my concern more power thanks...... my phone model huawei G526 lte phone....
worked perfectly
thanks so much guyz, i chose method one
Tried all methods, outputting wrong IMEI
Hi guys, I've tried all the methods and I'm ending up at the same unlock code which doesn't work. I noticed the stated IMEI in the bash script is different to my actual IMEI, and so I guess the Un_Lock Code is wrong as well. I've checked the mmcblk0 files using a hex editor and the correct IMEI is in there. Does anyone have any ideas?
I am unlocked, S-off, SuperCID, clockwork Mod recovery, busybox installed, running the Stock ROM from factory reset.
Thanks
hi,
so i can't get unlock code with this command
su [enter]
strings -n 8 /dev/block/mmcblk0p6 [enter]
but it work well with this one
1. Note IMEI *#06#
2. adb shell
dd if=/dev/block/mmcblk0p6 of=/sdcard/mmcp6.dump
3. Open mmcp6.dump on SDCARD
4. Look for in this file your IMEI
5. Just in front of your IMEI a 8-digit code which corresponds to the unlock code
may help some one
with regards
Htc one s root
I'm trying to root my one s but need a unlocked bootloader I would like to use method #1. Because have no computer but you need root. How do I get root without unlocked bootloader. So than I can unlock my phone