yashsingh1/xdaforums huggingface dataset:
[Sprint HTC One (M9)] be free:
First you need to know what is root.

Root is to attain privileged control over various Android subsystems. The root privilege allows you to modify your system as needed.

Second my app (dm.apk) uses this privilege to call something called activity from the hidden menu, this activity opens a port(Qualcomm port) between the device and the PC so the PC can gain access to the device memory (NV Memory -Non-Volatile Memory-) in order to write that nv-item to unlock the network.

To gain root - YOU MUST BE AWARE OF WHAT YOU ARE DOING, I'M NOT RESPONSIBLE FOR ANY DAMAGE THAT MAY HAPPENS TO YOUR DEVICE - you need first to unlock the Bootloader (will wipe all your personal data), then flash a custom recovery like TWRP, after that creates a backup for your current ROM (system and boot), finally flash the attached file.

But first you need to make sure that your device actually needs root, cuz some devices accept the ##3424# without asking for the SPC.

I'm sorry for the late respond i'm having exams nowadays and I'll not be able to be here for a while - wish me luck :p

BTW I still can contact you on my telegram

@CrFre
[Sprint HTC One (M9)] Flghtlss:
It's perfectly fine. Exams are important and I DO wish you luck! I know more about Root, Bootload, Flash (in my day that was called streaking, lol),TWRP and Supersu I ever cared to. My hats are off to you guy and gals that do this kind of stuff all the time. I have way less hair now and I'm due to sign in to the mental institution on Monday! I rooted it and installed TWRP recovery but I needed it s-off so I could Flash the Verizon Radio (See... I have learned a few things. ;)). Once I had Sunshine make it s-off the Supersu was no longer there and I had lost root so I tried to do it again. It gives me an error now when I try to Flash Supersu so I emailed the guys at Sunshine and they said I needed Magisk instead but Magisk give an error saying I need to restore stock boot image. If you haven't already seen the word TROUBLE written throughout my reply... this is where the TROUBLE comes in. LOL I didn't have an SD card to do a backup. :eek: Does this mean I am totally screwed or is it at all possible to find a boot image floating around somewhere? OR is there a work-a-round of some sort? Are you thinking "Dumb Female" yet? Because I would have been thinking it 5 lines ago. :p

BTW, did I say good luck on the exams? Never hurts to say it twice!
[Sprint HTC One (M9)] DaveedDB:
I think you need this thread

https://xdaforums.com/one-m9/general/stock-nand-backup-ota-update-collection-t3132698/page200
[Sprint HTC One (M9)] Flghtlss:
[MENTION=5540329]DaveedDB[/MENTION] Thank you. I actually went back and just downloaded the Supersu app from Google Play Store and installed it. Once I finished the root was still intact. I do have a question that maybe you know the answer to. I need to flash the phone for Verizon. Before I do that I would like to know if I can still use things like my banking app safely with Supersu or should I really reverse it and flash Magisk? Any thoughts?
[Sprint HTC One (M9)] DaveedDB:
I think magisk is better for that stuff I think that it's actually a feature of magisk ,I was hesitant at first about magisk as well but it really is better than supersu and supersu isn't in development anymore as far as I recall while magisk is very much everywhere and is in active development,so yes I would say go with magisk
[Sprint HTC One (M9)] Flghtlss:
[MENTION=5540329]DaveedDB[/MENTION] That's what I was thinking also. Just trying to figure out how to complete the change-over process now. I'm definitely NOT in my usual environment! Thank you! :D
[Sprint HTC One (M9)] me_three:
After giving up on another rom because of battery life I reflashed a sprint rom and now my unlocked device is now locked. I don't have access to a windows pc, so I tried to sim unlock using this method and VMWare, but NV Writer won't run under a virtual machine. I don't have my original sim card anymore, so I can't call sprint. Any other suggestions?
[Sprint HTC One (M9)] me_three:
Never mind, I finally figured it out. For anyone else in the same situation add this line to your .vmx file: monitor_control.restrict_backdoor = "true"
[Sprint HTC One (M9)] Patosynthesis:
Somebody please help, the website to download the NV_read_writer can no longer be reached, what do I do? Where can I download it?.
[Sprint HTC One (M9)] Ahmed Xperia p:
Hope your exams went well bro

in the process of getting lte on my unlocked sprint htc 10 i sim locked it

i want to try your method but link for nv items reader writer leads to down website. Will appreciate alot if you upload rar to google drive and share link

thanks in advance
[Sprint HTC One (M9)] frankymix:
Not sure if anyone still alive in this thread, but need help getting this done on my htc u11.

Got unlocked bootloader

Rooted

Dm on

For some odd reason basicflasher gets deleted by my antivirus. Cant use it. Anyone know of another program i can use to get msl? Also my com doesn't connect, tried deleting it from device manager and reinstall. Help!
[Sprint HTC One (M9)] Castle2k:
Hi.... What antivirus how u using... Normally this kind of program are false-positive, and often being seen as viruses while they are not... If u're using Microsoft Security App. Just give access to the folder where Basic Flasher is located...
[Sprint HTC One (M9)] frankymix:
Using norton internet security
[Sprint HTC One (M9)] Icyman:
The Link for the "unlock" file is broken.

Is there another location or does anyone have it and can send it to me?
[Sprint HTC One (M9)] cigarpill:
htc 10 sprint user here

is there a way to gain 4g?

i only have g

did i do something wrong?

please

please

please

i ve been 10 hours in front of my monitor
[Sprint HTC One (M9)] kile112:
I've managed to unlock my bootloader and to root my HTC 10 Evo

For some reason when trying to turn on DM Mode it just opens DMCommandsomething without any options, basically a blank screen

I've managed to turn it on using HTC DM Caller Method 2

'Use for media transfer?' Yes

Basic flasher - scan "No devices found".

CdmaDevTerm "No com devices found"

I can see the device on my PC.

I install HTC Sync manager and open it

Then I find it as HTC Sync Manager Serial Interface (COM7)

I connect

But when I try to read SPC I get

*Error Write

*Tx errors

*Command interrupted

Restarted the phone

Scanned COM8 HTC Diagnostic Interface

000000 SPC read

NV reader connected

"Phone does not accept SPC. SPC is not correct."

-------------------------------

Before I managed to root the phone I managed to go trouh the process but I was unsure if it worked, I got this

https://imgur.com/8STbftC

And I think I managed to write it to the phone.

But when I put a new European SIM card inside it's not working.

In the settings I've set it to LTE/CDMA

Vipnet has LTE since forever (Croatia)

So I believe I have failed the first time?

I can't seem to get through the process again.
[Sprint HTC One (M9)] kile112:
I will pay someone 20$ to help me with the decoding.

Because I have 4 HTC 10 Evo that are Sprint locked.
[Sprint HTC One (M9)] DaveedDB:
Maybe you should check eBay or one of those unlocking websites that send you the unlock code
[Sprint HTC One (M9)] kile112:
I need to pay 4 times then I believe?

This method would allow me unlock all of them
[Sprint HTC One (M9)] DaveedDB:
I unlocked a s7 plus for $2 last month on eBay
[Sprint HTC One (M9)] arturgig:
What do you mean with decoding?
[Sprint HTC One (M9)] kile112:
I'm stuck on Hands Free Activation

With Wi-fi

Your activation could not be completed.

To try again, choose 'Update Porfile' in the System updates area of Settings. If the problem persists, you may need to contact Customer Service. Error code:407.

Without Wi-fi

Your activation could not be completed to try again choose update profile in the system updates area of settings error code 1012

When I'm in the bootloader it says it's unlocked

I'm also stuck on the Hands Free Activation screen, I can only access emergency call.

I meant unlocking.
[Sprint HTC One (M9)] cannabiscure:
I am unable to locate the file NV-items_reader_writer.rar no good links, anyone got it please upload to google drive?
[Sprint HTC One (M9)] NSH021:
Can I use this method to unlock, and use this device in India,

Please reply
[Sprint HTC One (M9)] thanhlongtb91:
Thanks you very much!
[Sprint HTC One (M9)] roadkill42:
cant get acuess to files
[Sprint HTC One (M9)] romka.t:
Thanks for pointing out, though the guy has a m8...

I'm quite sure CDMA doesn't use any sim cards. The sim card in your phone is to be used outside CDMA network or for data.
[Sprint HTC One (M9)] ankurcshah:
In India, its used with a Sim card.
[Sprint HTC One (M9)] batsuuri:
Yes, I was on Marshmallow
[Sprint HTC One (M9)] batsuuri:
Aahhh,

When phone battery is running out and phone is power off, then connect to charger and power on: Simlock error appear again.

I think simlock is permanently, but this case don't understood why simlock error appear again.

Any ideas what is going on?

Tanks, Batsuuri
[Sprint HTC One (M9)] romka.t:
I'm pretty sure this thread is aimed for Sprint HTC M9 devices, and you have a M8. Maybe that's one of the reasons...
[Sprint HTC One (M9)] DhavalPanchal:
Yes u can use it with Ril, tata, Mts but it needs to be unlocked for cdma sim to work...
[Sprint HTC One (M9)] ankurcshah:
How do i unlock the sim
[Sprint HTC One (M9)] be free:
You need to change your phone network CONFIG from NV_ONLY to RUIM > you can do it using DFS cdmatool
[Sprint HTC One (M9)] siulmagic:
I did everything and it seems to be working. i wil let you know in a few days when i switch to metro pcs.
[Sprint HTC One (M9)] romka.t:
Also managed to unlock my M9, seems to work fine. Though there's one issue (I'm not sure whether it's rom related or just sprint devices related), my SIM card has a default SIM PIN lock, there's no option to remove/change it from the menu. So supposedly if I need to change my PIN code, i have to do it on another device...
[Sprint HTC One (M9)] sethishivam5:
I'm s-off and accidentally I reset it from ##786# now It's sim locked I'm using marshmallow I'm unable to follow the first step to get msl code

How can I root my device?
[Sprint HTC One (M9)] OMJ:
flash supersu v2.65 in twrp....this will give u root

https://download.chainfire.eu/921/SuperSU/UPDATE-SuperSU-v2.65-20151226141550.zip?retrieve_file=1
[Sprint HTC One (M9)] ntluan:
Basic flasher didnt recognize my device, im already install HTC driver 4.2. and when i scan my device using basic flasher which mode should i put my phone on? normal or bootloader?
[Sprint HTC One (M9)] romka.t:
You need to be booted in android, also you need to have your device rooted (or try to ##3424# from dialer). If you have it, put your phone into diagnostic mode (the commands are written on the first page under CODE). Install the drivers (diag drivers), detect your diagnostic Serial port and idicate it in the software your are using. Or just follow the steps on the first page...
[Sprint HTC One (M9)] ntluan:
Thank you. I solved it. I missed the part in hidden content. Lol.
[Sprint HTC One (M9)] vip7070:
I have Sprint HTC One M9 with 2.6.651.11 ROM (Android 5.1) officially unlocked by Sprint. I know that upgrading this phone via official RUU void this unlock. I have no chance to unlock it officially again.

How to do to save this phone unlocked and flash to the Android 6 (M)? Maybe copy nv data? If so, how to do it? Thanks in advance, geeks.
[Sprint HTC One (M9)] vip7070:
Strange thing, guys. While reading my officialy unlocked HTC One M9 (Sprint) it gives me the following output:

[NV items]

[Complete items - 1, Items size - 128]

30159 (0x75CF) - OK

02 1E 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
[Sprint HTC One (M9)] siulmagic:
Just reporting that the unlock worked fine, i was able to activate on family mobile, decided to go with these guys, for 40$ unlimited text+voice, 5gb of high speeds data, and i get the unreputable tmobile bing on(this is an asshole service but it actually helps me).
[Sprint HTC One (M9)] vip7070:
Does it wotk fine with Marshmallow?
[Sprint HTC One (M9)] siulmagic:
Has any one had this issue, my phone recognizes my family mobile sim card, and i get signal, but when i try to make a call , i lose signal and the phone trows a message call has been lost, im watting for my previous carrier to deactivate,to see if that will fix my problem, i previously was on ting (cdma activated)
[Sprint HTC One (M9)] siulmagic:
It seems this is international unlock and not domestic, i could not get my phone to make calls on gsm, it would always lose signal. and sprint wont unlock it till 2017.
[Sprint HTC One (M9)] be free:
Try to flash stock RUU rom , it may fix that .
[Sprint HTC One (M9)] igorya79:
It will continue to work this way to unlock after a reset to factory defaults, or after a firmware update?
[Sprint HTC One (M9)] lordnihilusmd:
Man, it works like champ thank you.
[Sprint HTC One (M9)] arturgig:
This is faster and easier than trying to get your phone unlocked by stifilz.

Thank you be free for this great guide!!
[Sprint HTC One (M9)] bibbin:
Thanks for this step-by-step guide. Having followed the steps, I've encountered a snag or two. Here's what I'm working with:

- Sprint branded HTC One M9

- Stock/Rooted/S-On

- Android version 5.0.2

- Software version 132.651.30

FWIW, prior to trying this guide, my M9 was active on Sprint and I'd already obtained my MSL and unlock code (via 3rd party service). The unlock code I bought requires the M9 be stock/unrooted. I suppose that's so the code request could populate. Didn't want to go through all that reversion, without giving this method a try first. After replacing my Sprint SIM with my T-Mobile SIM, I can get data and texts, but voice is buggy and doesn't work.

As for data, although it works, Weird things are occurring with the data readings (icons, network indicators etc). Despite having an active T-Mobile SIM in the phone, the preferred network in Phone Info (*#*#4636#*#*) constantly defaults to "CDMA/EvDo/GSM/WCDMA/LTE auto" with T-Mobile listed as the Current network and no phone number. In this state, even though I'm using a TMO SIM, the LTE indicator along with the Sprint Spark star are present. When data is active the star spins. SMS/MMS (sending/receiving) works. Voice is nonexistent. Attempts to call out hang at "Dialing" and then shuts down.

When I change the preferred network to "LTE, WCDMA" or "GSM/WCDMA/LTE," data works and in Phone info, phone number and TMobile network is shown properly, but still can't make/receive calls. Sprint's data icons disappear and "GSM" with a circle around it shows on top of screen. The circle revolves around the letters "GSM" when data is active. If I try to make a call, I have to go in and reconfigure the data settings to get it working again. Icon shows an "x" on top of signal bars.

Any thoughts on what's going on with voice? Also, why is data bouncing back and forth between Sprint and T-Mobile when the SIM is T-Mo?

Also, apparently there's a system update awaiting installation. I keep getting the notification, but I'm not ready to install yet. How to get rid of the notice? I tried to block it by holding down on notice etc., but that doesn't work.
[Sprint HTC One (M9)] ArabSDA Team:
Greats job
[Sprint HTC One (M9)] bibbin:
I'm in the same boat as siulmagic. Everything works except for calling. I'm on a stock ROM, any ideas how to fix?
[Sprint HTC One (M9)] be free:
Flash stock RUU rom , it may fix that .
[Sprint HTC One (M9)] yaser199:
Hi

Thanks works for me
[Sprint HTC One (M9)] bibbin:
Flashed stock, still not able to make/receive calls. FWIW, The M9 is currently activated on a Sprint line, but has a T-Mobile SIM inserted. Might that be affecting voice ability?
[Sprint HTC One (M9)] Tech_Savvy:
[MENTION=5901467]be free[/MENTION] would you know if this works for domastic unlock?
[Sprint HTC One (M9)] sirbrent503:
I am also trying to interpret if this is sim unlock for international, domestic, or both. Perhaps the answer can be added to the OP. I am also curious, being new to sim unlock on CDMA phones, if this is permanent, or would an RUU reset the simlock?

---------- Post added at 08:34 PM ---------- Previous post was at 08:23 PM ----------

I read that if the device is paid off and not financed they will give you DSU (which also allows International) after 50 days of Sprint service. https://www.sprint.com/legal/unlocking_policy.html

I am trying to get DSU on my M9, but it has never been on Sprint. Apparently part of the DSU unlocking process from Sprint pushes an update to your phone. Perhaps that is the missing element for you? I read this requirement on another forum, but cant find the source at the moment.

It would be my guess that having the phone actively provisioned on Sprint may override some aspects of your Tmo service.

Might I recommend Ting service, they use both Sprint's CDMA network and Tmo's GSM. I pay a lot less than I did on Sprint. Also, I have contacted them about switching my Sprint M9 to the GSM network and they say I can do it quickly (once DSU), they say they would deactivate my CDMA service and setup my GSM SIM all within a day.

The Sprint M9 does not support all of the LTE bands used by Tmo, at least not by default, but there is a thread on here about how to hack that.
[Sprint HTC One (M9)] bibbin:
My M9 is supposedly DSU'ed by Sprint. I don't know what's supposed to occur when they unlock, but I was never given a code or anything. I removed the M9 from Sprint service, so it's running solely on T-Mobile, yet still can't use voice or text.
[Sprint HTC One (M9)] sirbrent503:
Did you go to settings>system updates>uicc unlock?

Apparently that updates the phone after an unlock by Sprint. Sorry, I am trying to figure this out too, but have different circumstances.
[Sprint HTC One (M9)] sirbrent503:
I contacted sprint to complete an international sim unlock, after it was complete my photo reads 02 1E, have you observed this before?
[Sprint HTC One (M9)] ankurcshah:
100% sure this doesn't work
[Sprint HTC One (M9)] be free:
Sorry for the delay guys I'm very busy nowadays, I,m not sure about the Domestic .

As I read above some guys said that they unlocked there phone by Sprint it self , and it seems to be 02 1E while mine was 00 1E so try that change, if there is still problem with the unlock try ##786# then reset *this will wipe all your data* and also relock you phone .

If this didn't work it means that you have to wait.

I was having the same problem that you mentioned but for me there was a signal with no sending it was fixed by updating to 6.0
[Sprint HTC One (M9)] sethishivam5:
f - Make a backup for your current nv item

Where is Range (Dec): you will see two boxes, write in them both this number which is the number of the item that

will be changed 30159 , now click Read and save it

i am confused at this step do we need to write up n down box please somebody post a screen shot

and second that last h step im not getting any reboot option in mode
[Sprint HTC One (M9)] be free:
like this .
[Sprint HTC One (M9)] sai444:
Hai.

I followed your steps but with gsm I not getting network

before following your steps I use to get notification about Simlock being enabled now I am not getting that notification so I believe I was doing it right to some extent

can you help me to get it to work?
[Sprint HTC One (M9)] be free:
Try to chose your network manually > setting >mobile data > network mode to GSM/UMTS Only then Available GSM networks and chose your carrier .
[Sprint HTC One (M9)] sai444:
I have done that. I am getting my carrier listed but when I select that its giving a toast that Sim card doesn't allow for registration on that network
[Sprint HTC One (M9)] v_2ryann:
Thanks for the screen shot. For some reason the app doesn't have the ranges as shown in your screenshot. What version of .Net are you using? It gave me an error when I first installed it, saying it wanted .Net 4.0.30319. I installed that, but it still doesn't show any high and low ranges. The only thing that shows is this:

No matter what method I select, those boxes stay the same.

EDIT:

Nevermind, figured it out. Didn't realize you were using two different programs.

To get SPC use Basic-Flasher.

To edit/unlock needed to use NV-items_reader_writer.rar found here:

http://phonegeek.us/NV-items_reader_writer.rar

Or at the top of the OP's post.

Thanks!
[Sprint HTC One (M9)] v_2ryann:
Ok, this is interesting.

The OP found the following:

UNLOCK:

30159 (0x75CF) - OK

00 1E 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................

LOCK:

30159 (0x75CF) - OK

01 1E 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................

From another post by vip7070 that was officially unlocked by Sprint:

30159 (0x75CF) - OK

02 1E 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................

I read a phone that was unlocked with a popular unlock dongle. It says:

30159 (0x75CF) - OK

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................

This phone works on Sprint and also on T-Mobile depending on the SIM that is plugged into it. The SIM lock is gone. However, it drops all calls at around the 27-30min mark, no matter if it is on T-Mobile or Sprint.

I would like to test if re-locking the phone with 01 1E will solve the dropped calls problem. Has anyone been able to unlock using 00 1E or 02 1E and still place calls on Sprint? Are you able to hold a call longer than 30min?

###UPDATE###

Ok. The dropped calls are being cause by setting security to S-OFF and have nothing to do with the SIM lock. We have several Sprint M9's and all of them have had problems with dropped calls around the 27-30min mark. Setting security to S-ON solves this problem.

Was able to use a dongle to re-lock my phone's SIM slot, and when I read the NV items they match the ones above. But in order for it to actually lock the phone I had to wipe it after, and then flash stock back on to the phone and then set security to S-ON. Doing this actually re-locked the sim lock. So for those of you trying to unlock your SIM slot, and are having network issues, you may need to wipe, reflash with stock and set security to S-ON for it to stick. S-ON/S-OFF seems to update something in the firmware in relation to locking/unlocking the SIM slot.

Also heads up with the S-ON, make sure your running stock hboot, stock firmware, etc...or you can brick your phone from what I've read in other posts.
[Sprint HTC One (M9)] freighter2298:
how do you get the msl/spc
[Sprint HTC One (M9)] Kendosis:
Worked perfectly, just bought a brand new sprint m9 for $200 and used this unlock method on it straight out the box :)
[Sprint HTC One (M9)] ezeuba:
It works

Hey, thanks for this. It works. Even after an RUU update.
[Sprint HTC One (M9)] hdanovich1:
Dude I love u. Not only did this really work but I was able to get full 4g LTE on cricket usa aka att
[Sprint HTC One (M9)] HermitDash:
Everything is in working order.

Thank you OP!
[Sprint HTC One (M9)] leonardojt:
i followed your instruction port connected then i receive a message SPC/MSL not supported on this phone and my phone is m9 sprint on firmware 5.1. what do i do?
[Sprint HTC One (M9)] ezeuba:
Do you see the Sprint logo on phone boot screen? Just asking to confirm it's really Sprint.
[Sprint HTC One (M9)] leonardojt:
yes it has, plus sprint apps on it:eek:
[Sprint HTC One (M9)] ezeuba:
Check if you've put it in GSM mode already. SPC/MSL and some other diagnostic stuff may not work in GSM mode.
[Sprint HTC One (M9)] leonardojt:
thanks for your quick response. i should set it in which mode?

:rolleyes::rolleyes::rolleyes:
[Sprint HTC One (M9)] ezeuba:
Put it back to CDMA mode and try again. After unlocking then put it in GSM mode.