[Sprint HTC One (M9)] stifilz:
Edit: My other method is working for AT&T (should be other GSM too) byt not CDMA. http://xdaforums.com/one-m9/general/sim-unlock-method-t3143333/post61539075

Hi all, I'm a long time member here at XDA. First time posting here in the Sprint M9 forums :).

Anyway, I have found a possible way to SIM UNLOCK our Sprint M9's. :)

Thanks to [MENTION=6420972]jbfountain[/MENTION] from this post http://xdaforums.com/showpost.php?p=60927525&postcount=29 for the idea. Thanks for the pic too. :)

Firstly with a bit of research, I learnt how to access hTC FTM mode (perhaps factoy test mode??)

With the phone off. Simply Hold down Power and Voume Up buttons for about 7seconds until the screen below has shown.

You will see:

Reboot

Reboot Bootlader

Simlock Tool

Device Info

[IMG="hTC FTM"]http://xdaforums.com/attachment.php?attachmentid=3360253&stc=1&d=1434180086[/IMG]

ADB IS available in this mode so I was able to grab this info from an 'ADB logcat' command.

Test 1.

No SD Card inserted

I Pressed 'simlock tool

From logcat:

W/ftm_lib_device_info( 483): Storage not available

I pressed device info tool

From logcat:

W/ftm_lib_device_info( 483): Storage not available

Test 2.

SD Card Inserted - No files on SD Card

I Pressed 'simlock tool'

Phone said

'chosen_item2

Loading simlock tool....

Failed to enable SIMLOCK'

From logcat:

E/ftm_lib_device_info( 486): can not stat /mnt/media_rw/ext_sd/config.dat: No such file or directory
E/ftm_lib_device_info( 486): Failed, simlock update not completed, ret=2

I pressed 'device info tool'

Phone said

'chosen_item3

Loading device info tool...

Device info updated'

From logcat:

E/ftm_lib_device_info( 486): can not stat /mnt/media_rw/ext_sd/cid.txt: No such file or directory
E/ftm_lib_device_info( 486): can not stat /mnt/media_rw/ext_sd/imei.txt: No such file or directory
E/ftm_lib_device_info( 486): can not stat /mnt/media_rw/ext_sd/sf.txt: No such file or directory

Pretty much Simlock tool is looking for config.dat which you can get from here https://www.sieempi.ro/blog/2011/09/22/universal-sim-unlock-for-s-offed-htc-devices-536 thanks to sieempi

Which I tried and did not work for me :(, but as above it says 'Failed to ENABLE simlock'.... so that is confusing, is Sprint not SIMLOCKED? I sure can't us my New Zealand sim on it...

If you use a 'dummy' config.dat it will fail and not try to read it and it will say invalid imei in the logcat.

As for the 'device info tool' when you load the files, i.e cid.txt, imei.txt (DO NOT DO THIS IT IS MOST LIKELY ILLEGAL IN YOU COUNTRY) and sf.txt (not sure what this is) it loads and changed the values.

These are loaded onto the EXTERNAL SD Card as seen above '/mnt/media_rw/ext_sd/'

For example cid.txt would ONLY contain

SPCS_001

Nothing else would be in the file. Likewise for IMEI and I assume for sf (any idea what SF is??)

This is not really anything new as CID can be changed in download mode using 'fastboot oem writecid SPCS_001'.

Likewise with that other thing that can be changed but shouldn't :p DO NOT DO THIS IT IS MOST LIKELY ILLEGAL IN YOU COUNTRY

Any feedback would be greatly appreciated.

Just some food for thought here guys :)

Really need to get this sim unlocked, so I can make sure it goes before messing around with enabling bands through QPST.

Thanks

Stifilz

Thanks to all those involved with testing:

[MENTION=1916024]crikev2[/MENTION] from here unlocked International version - latest firmware