yashsingh1/xdaforums huggingface dataset:
[Sprint HTC One (M8)] Lussardi:
You are in Lollipop? downgrade to Kit Kat 4.4.4 and repeat steps
[Sprint HTC One (M8)] henhida:
hi im curently running on lolipop 5.0.1

S-0n, unlocked bootloader, root , installed TWRP

is it ok if i flash Viper 3.2.1 rom via TWRP ?
[Sprint HTC One (M8)] Lussardi:
Take a Nandroid Backup Lollipop ROM, flash ViperROM 3.2.1 4.4.4 rename both files HTCOMADM_SPCS .odex and .apk and copy the modified files to system/app , and run the CMD command and perform unlock sim after that restore your Nandroid Lollipop and your HTC M8 its unlock :cowboy:
[Sprint HTC One (M8)] henhida:
hi thx for tutor,

i will try later,

anyway can you more sepicific about "run the CMD command and perform unlock sim "

thanks
[Sprint HTC One (M8)] Lussardi:
read this
[Sprint HTC One (M8)] henhida:
on terminal emulator did you mean??
[Sprint HTC One (M8)] mikebay:
Thanks, I will give it a try. Do I need to do anything with the firmware, Kernal, radio, etc?
[Sprint HTC One (M8)] dabar7:
Is this for T-Mobile US? I want to know the same because the M7 has different steps added along with a radio downgrade
[Sprint HTC One (M8)] mikebay:
Yes, I want to use it for t-mobile. However, I can't get the phone to be unlock.

---------- Post added at 09:44 PM ---------- Previous post was at 09:02 PM ----------

Can one of the expert on here post a detailed guide to unlock this phone? As in, what is the actual step and step and what does the phone needs to be using in order for the unlock to work.

For example, the phone must be in 4.4.4 Kit Kat, rooted, fastboot unlocked, s-off, firmware version xxx.

Actual firmware and ROM that you used is also helpful too since there are sooooo many versions of the ROM, firmware, HTCOMADM_SPCS.apk, etc.

I REAALLLY appreciate whoever help us out. Thanks! http://cdn4.xda-developers.com/images/icons/icon10.gif
[Sprint HTC One (M8)] Lussardi:
nop only flash a ViperROM 3.2.1 follow the steps to unlock and restore your Nandroid Backup Lollipop

---------- Post added at 09:58 PM ---------- Previous post was at 09:55 PM ----------

NO! in CMD via ADB and Fastboot, install minimal ADB and Fastboot in the Forum an launch the command in this , not work in Terminal Emulator
[Sprint HTC One (M8)] mikebay:
I installed Viper 3.2.1 and install root explorer. However, I don't see the .odex file, only the htomadm_spcs.apk file and the htcomadm_settingsplugin_spcs.apk.

should i ignore the .odex file?

---------- Post added at 07:08 PM ---------- Previous post was at 06:59 PM ----------

I installed root explorer and currently on Viper 3.2.1. However, I can't locate the .odex file, only the .apk. Am I missing something here?
[Sprint HTC One (M8)] mikebay:
I finally got the phone to be unlock, however, i see no reception.

I type in *#*#4636#*#* and set the config to be WCDMA preferred. However, when selecting the available GSM network, the option is greyed out. I can't select anything.

I am thinking it has to do with my radio. Is there a preferred one to use? I have an unlocked Sprint HTC M8 and want to use it on t-mobile.
[Sprint HTC One (M8)] Lussardi:
this method unlock is only work to use in OVERSEAS , i not try in US, i live in another country and is working very well :cowboy:
[Sprint HTC One (M8)] dojo8:
I am wondering if anyone has any experience or advice on getting a sprint phone to work on the bell network in Canada? Some background info, the phone is already, rooted, s-off and superCID. The consistent issue is one stating an invalid sim card. Further more I have tried uploading the config.dat file and the other command file with no luck and am now at a crossroads of how to get this pos working. As well when I run sim unlock helper i get a vdm crash. Any help would be greatly appreciated. Thanks
[Sprint HTC One (M8)] Lussardi:
Follow the steps to launch HTCOMADM_SPCS.apk via CMD
[Sprint HTC One (M8)] pratikiitd:
will unlock remain if i flash a new ruu

I wanted to ask that will the SIM unlock work even if I flash a newer RUU ?
[Sprint HTC One (M8)] darksurfr:
CDMA

Any info on CDMA unlock? I though I did a different sim unlock a long time ago but I don't recall.

I have been searching and only find information on the GSM unlock for sprint.

I have done the ADB shell information too and get error 3

Not sure what I should do. I could just call up sprint but I don't want to talk to them. If I have to I will but I would rather do it without them.
[Sprint HTC One (M8)] mhoang2:
I have Viper ROM 3.2.1 installed and rooted, when I tried to run sim unlock helper and click start, nothing happens. Any helps guys?
[Sprint HTC One (M8)] mhoang2:
Hey Mike, I'm having the same problem and stuck at the sim unlock helper, nothing changed after I press the start button. How did you get pass that? I have viper 3.2.1 as well.

Thanks
[Sprint HTC One (M8)] fredydelarocha:
cant sim unlock sprint htc one m8

hi , i want to sim unlock my htc one m8 from sprint , i already unlock the bootloader and s-off . to sim unlock i have tried changing the CID number to 11111111, and also tried the sieempi method and suceeded but when i insert a diferent carrier simcard it just says "invalid simcard" can anyone help? :)
[Sprint HTC One (M8)] Lussardi:
try whith simcard inserted an re-run the steps to unlock when sim lock is done in API reboot your phone and working very well :p
[Sprint HTC One (M8)] dojo8:
I have done as much from these instructions and get stuck with this any ideas?

However, I also did the following before renaming the stock HtcOMADM_SPCS.apk back to its original name (I think it does the same with the unlock helper app, but i didnt verify it, since it did the trick for me):

On a working ADB environment (google this) on a PC/Mac, issue these commands without quotes:

"adb devices" to see if the device is recognised as connected

"adb shell" to gain direct access to phone's cmd

"su"

"am start com.redbend.vdmc/com.htc.omadm.test.TestMainActivity"

A menu pops up, click on API, and then on sim lock option located at the bottom.

Proceed to the rest of the procedure as per instructions, reboot as necessary and boom, signal comes in after that

C:\adb>adb shell

ROM="ViperOne"

@:/ # su

su

ROM="ViperOne"

@:/ # am start com.redbend.vdmc/com.htc.omadm.test.Test.MainActivity

am start com.redbend.vdmc/com.htc.omadm.test.Test.MainActivity

Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.L

AUNCHER] cmp=com.redbend.vdmc/com.htc.omadm.test.Test.MainActivity }

Error type 3

Error: Activity class {com.redbend.vdmc/com.htc.omadm.test.Test.MainActivity} do

es not exist.
[Sprint HTC One (M8)] janocool:
Same result, i got s-on, rooted installed viper rom from 4.4.2 to 5.0.1, sim unlock helper didnt show the pop up window. Can confirm if maybe is because the firmware? just installed viper with android 4.4.2baseband 1.08.20.0916 build number 1.54.401.5 CL325784.

Please need some help here, have 2 htc ones, one the HK edition and other grey. Im using it outside USA, thanks

---------- Post added at 09:17 PM ---------- Previous post was at 09:11 PM ----------

How do you acomplish s-off? sunshine is a little expensive and I have 2 devices here
[Sprint HTC One (M8)] Lussardi:
no need s-off to unlock M8 , don´t use sim unlock helper, use CMD command to launch HTCOMADM_SPCS.apk
[Sprint HTC One (M8)] janocool:
Can you point the post where the instructions are? I think I try it already , but I got something that MainActivity didn't exist
[Sprint HTC One (M8)] janocool:
any solution to this:

Error type 3

Error: Activity class {com.redbend.vdmc/com.htc.omadm.test.Test.MainActivity} do

es not exist.
[Sprint HTC One (M8)] janocool:
Ok finally get it work very simple solution:

1.- you need to unlock bootloader, s-on doesnt matter, and gain root access

2.- a rom with android 4.2.2 (I use a venom variant) with android 5 omad file seems not to work

3.- download file omad (first post attach)

4.- with root explorer rename original omad file found in system/app, then replace with the file you download in 3, give the file permission rw-r-r

5.- dont reboot (it works for me, seems that the orginal omad file restores when you restart the phone)

6.- just run the CMD command or the sim unlock helper, enter in the phone app and dial *#*#4636#*#* and enter in phone information, change network to WCDMA preferred.

I got the problem that the unlock helper didnt show the pop up menu, the problem was doing the reboot after copy the modified omad file.

Hope it works for you.
[Sprint HTC One (M8)] dojo8:
Thanks for the input still getting stuck with this error unfortunately not rebooting didn't work as well.

su

ROM="ViperOne"

@:/ # am start com.redbend.vdmc/com.htc.omadm.test.Test.MainActivity

am start com.redbend.vdmc/com.htc.omadm.test.Test.MainActivity

Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.L

AUNCHER] cmp=com.redbend.vdmc/com.htc.omadm.test.Test.MainActivity }

Error type 3

Error: Activity class {com.redbend.vdmc/com.htc.omadm.test.Test.MainActivity} do

es not exist.
[Sprint HTC One (M8)] janocool:
Has the same error, did you use root Explorer? That app has the advantage that can work with 2 tabs and you can see if the item really pastes in the correct place, the error that you have is because in any way the omad file is not the modified one. Maybe try with other root file manager and be sure to use a rom with Android 4.4.2 or lower
[Sprint HTC One (M8)] Gambitv01:
still not for domestic?

still not for domestic? for t-mobile or AT&T in the states?
[Sprint HTC One (M8)] Lussardi:
Read This....

rename HTCOMADM_SPCS.apk and HTCOMADM_SPCS.odex to .bak via TWRP continue copy the modified HTCOMADM_SPCS.apk via TWRP to system/app reboot and now launch in CMD

com.redbend.vdmc/com.htc.omadm.test.Test.MainActivity
[Sprint HTC One (M8)] dojo8:
It appears that I do not have the odex file if that even matters?
[Sprint HTC One (M8)] janocool:
I didnt have the odex file and it works for me, just replace the apk file, try first rebooting after the change, if it didnt work, just dont reboot the phone, replace the file and run CMD commands or run the sim unlock helper .

Working fine on HK and normal sprint version here in Ecuador, I can get H+ speeds.
[Sprint HTC One (M8)] dojo8:
Jeez I've tried everything and still can't get this damn thing going if it is just me or this is a lost cause.
[Sprint HTC One (M8)] gmzshortys:
check my method

http://xdaforums.com/sprint-htc-one-m8/general/sim-unlock-lollipop-100-t3080782
[Sprint HTC One (M8)] dojo8:
Thank you to everyone here finally got this phone up and running through some combination of these methods not sure what changed but finally got access to the API menu. Up and running like a charm thanks again.
[Sprint HTC One (M8)] pempek:
Hey, I read all the topic and finally went through all the steps. I'm running Kitkat, copied OMADM app, got into that screen and selected "sim lock". My phone connects to network, internet is working through network, but GSM connection says "only emergency calls" allowed. I cannot dial to anyone.

Unfortunately the phone is S-ON with HBOOT 1.61. I tried different radios, but didn't help. It's m7_ul with CID T-MOB101.

What should I do to make it work?
[Sprint HTC One (M8)] Vcek:
wrong forum
[Sprint HTC One (M8)] XDA-NOS:
Very useful topic. Got my M8 HK unlocked.

It works with 4.4.3 and 4.4.4.. not on Lollipop
[Sprint HTC One (M8)] osopol4r:
No s-off needed to gsm unlock!

Again guys, I just got another M8 HK edition, you don't need to S-OFF, since it is only needed for full write access to the system partition.

Anyway, on 4.4.2 (probably 4.4.3, 4.4.4, I haven't tested it) you just need to replace the HtcOMADM_SPCS.apk making sure the apk permissions match the original file and then you perform a HOT REBOOT with the following command.

adb shell su -c setprop ctl.restart zygote

After this, go back to the file manager to MAKE SURE the changed files sticked, then you can use the sim unlock helper app to unlock! :good:

No need to pay $25 for S-OFF if only gsm unlocking is all you want.
[Sprint HTC One (M8)] einsteino:
thanks worked for me. My HTC ONE M8(sprint version) was on lolipop, then i installed kitkat(viperone 1.5) and followed the procedure. Voila "the invalid sim card" notification disappeared and my GSM network came up. I am in Nigeria by the way
[Sprint HTC One (M8)] vangjel0:
hi i have bought on aliexpress a htc one m8 looks is m8 sprint from imei .my phone show bootloader unlocked

m8 whl pvt ship s-off

cid-11111 hboot -3.16.0.000

radio -1.00.20.0.120

running on kitkat 4.4.4

can any one help i try this tutorial but not show gsm network

:(:(:(:(:(
[Sprint HTC One (M8)] arturgig:
Unlock without S-off

I've managed to unlock the HTC One E8 and M8 sprint version without being s-off

The steps are very easy and I've tried this method on 4 different devices.

1.- First you need to unlock the bootloader

2.- Install custom recovery

3.- Install superuser

4.- Flash with recovery a file named SIM_Unlock.zip for the M8 and Bad_Boyz_Sprint_ONE_E8_SIM_unlock.zip for the E8 (sorry I cant attach these files)

5.- Install root browser and terminal emulator on your device (grant superuser on both)

6.- copy HtcOMADM_SPCS.apk to your internal memory, this is the modified apk that allows the sim unlock

5.- Open root browser, go to system>app , rename the original HtcOMADM_SPCS.apk to something like this HtcOMADM_SPCS1.apk. Basically I just added 1 to the name. Do Not remove the original apk nor rename it, otherwise you will get vdm error.

6.- Copy the modified apk to this location. system>app

7.- Open terminal emulator and type "su" hit enter

8.- Now type this: am start com.redbend.vdmc/com.htc.omadm.test.TestMainActivity

9.- You should see a menu with 3 different options, select "API"

10.- Scroll down until you see "sim lock" press it and wait until the gray highlight goes away.

11.- Reboot your phone and you are done
[Sprint HTC One (M8)] vangjel0:
i try this method but show wdm eror
[Sprint HTC One (M8)] arturgig:
Did you delete the original apk? Only rename it, don't add .bak , you must have both apks on your phone when attempting to unlock it
[Sprint HTC One (M8)] vangjel0:
no only i renamed chande the name
[Sprint HTC One (M8)] vangjel0:
thankssss

thanksssssssssssss i solved whith qps method now i came gsm network
[Sprint HTC One (M8)] vip451:
I will pay US$50.00 to anybody who may sim unlock HTC ONE M8

I m willing to pay US$50.00 to anybody who may remote SIM UNLOCK to my HTC ONE M8 Sprint Harman Kardon.

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

My Smartphone it is actually unlocked and s-off.

When I use the HTC Guide, trouble shooting i note that my sim card it is detected

but doesn´t work. In my country we are using only GSM LTE. I try with two different sim cards and doesn´t work

My HTC have only the Sprint sparkle starting logo, but there have not any sprint application. so it is clean

I m willing to pay to $50.00 to anybody who may SIM Unlock remotely.

I will pay US$30.00 to any body who assit me with the sim unlock

please email me.

will pay using PayPal:cowboy::cowboy::cowboy::cowboy::good::good::good::good:

--------------------------------------------------------------------------------------------------
[Sprint HTC One (M8)] arturgig:
Had any luck with that ? Which model do you have ? And which android version you got ?
[Sprint HTC One (M8)] KillTheSprint:
Hey dude

anyway you can help me sim unlock my Sprint HTC One M8?

I wanted to use it on At&t as they seem to have network bands that line up better.

Android 5.0.2

HTC Sense 6
[Sprint HTC One (M8)] arturgig:
I don't think it works on android 5, try flashing a Rom with 4.4 or less
[Sprint HTC One (M8)] jefesala:
Si tu telefono lee la sim card, el problema puede ser otro, tal vez esta "Blacklisted" si es así no va a funcionar con ningún operador, debes verificar el estado del IMEI, hay una buena pagina para eso: swappa punto com, verifica eso y me cuentas. yo tengo un telefono igual y ya lo desbloquee para GSM.
[Sprint HTC One (M8)] james.sir:
Hello, can anybody tell me where to download official 4.4.2 for my HTC M8 harman kardon, I want to unlock the sim card,but I only found the the new rom 4.25.654.14. thank you
[Sprint HTC One (M8)] Lussardi:
update to last oficial Lollipop (Actualizalo hasta la ultima version despues de eso se procede a hacer el back up y al unlock sim )
[Sprint HTC One (M8)] james.sir:
Thanks ,. do you know where to download the official 4.4.2? I am looking for the edition to unlock my sim card.
[Sprint HTC One (M8)] jancarlos1597:
I did help him, and he gave me the 30$,he wasn't joking!
[Sprint HTC One (M8)] Lussardi:
unlock its very easy man! take the last update lo lollipop, take a nandroid backup, TWRP + Root, run in command the unlock HTCOMADM

send me a PM
[Sprint HTC One (M8)] PAKOS-:
Does 4G works?

Does 4g works?I am from france and here are the frequencies

4G LTE SFR 800/2600Mhz

4G LTE Free Mobile 2600Mhz

4G LTE Orange 800/2600Mhz

4G LTE Bouygues 800/1800/2600Mhz

---------- Post added at 04:07 PM ---------- Previous post was at 03:59 PM ----------

does 4g works after unlocking with the frequencies mention below

4G LTE SFR 800/2600Mhz

4G LTE Free Mobile 2600Mhz

4G LTE Orange 800/2600Mhz

4G LTE Bouygues 800/1800/2600Mhz
[Sprint HTC One (M8)] james.sir:
thank you, but the SIM Unlock for my Sprint harman karton M8 does not work following the method mentioned above, the software were downloaded as follows:

Sprint_HTC_One_M8_Harman_1.54.654.15_RUU.zip http://xdaforums.com/showthread.php?t=2729173

sim_unlock_helper_v1.2

openrecovery-twrp-2.7.1.0-m8_whl

HtcOMADM_SPCS

thnak you all the same.
[Sprint HTC One (M8)] dentedilupo:
hi those this metod work with a htc m8 harman kardon locket to sprint with bad esn?

can i gsm unlock to work with him in europe?

thanks

---------- Post added at 11:26 PM ---------- Previous post was at 11:25 PM ----------

can i gsm unlock a bad esn htc m8 harman kardon locked to sprint with this metod?

thanks
[Sprint HTC One (M8)] arturgig:
Yes you can. If your phone is on lollipop flash a kit Kat Rom and do all the steps after flashing.
[Sprint HTC One (M8)] mrMMMichail:
Hey guys!

I got the M8 HK edition with 4.4.4 onboard. I found the guide on Russian forum which resembles guides posted here - flash to 4.4.2 deoxid (I used InsertCoin 3.0.4), then run SIM unlock helper ect.

Looks like the unlock did work because when I inserted SIM card, the "SIM services" popped up. But still I'm unable to switch to WCDMA or GSM/UMTS modes and I get no connection to carrier network . If I do that from settings > mobile data the phone says "no SIM found. Switching to CDMA". If from other menu (dial *#*#4636#*#*), also no luck, and it says "radio off".

As you've already guessed, the situation is weird - I can see SIM services, and at the same time get "no SIM found. Switching to cdma" message and can't make the phone hook up to carrier network.

Bootloader unlocked /rooted

S-ON

HBOOT-3.19.0.0000

RADIO-1.08.20.0916

TWRP 2.8.5.0

Please let me know how to solve the above problem. Or any suggestions - flash older kitkat or switch to lollipop ect.

If you need more info, I'll provide it

.

Thanks in advance!
[Sprint HTC One (M8)] arturgig:
Turn radioON, instead of radio off
[Sprint HTC One (M8)] mrMMMichail:
Thanks for reply, but how?

It doesn't turn on (from *#*#4636#*#* menu). If it was that straightforward I wouldn't even come here asking for help .

Edit.

Here's the link to screenshot that says "Radio Off"

pasteboard.co/2qTxy5Ie.jpg
[Sprint HTC One (M8)] roman5x3:
Does anyone know if after sim unlock I can put a gsm Rom on my hkm8?

XDA Free mobile app
[Sprint HTC One (M8)] arturgig:
If you have done all the steps yes, you can flash any compatible Rom after unlock
[Sprint HTC One (M8)] thirunahari2:
I got my HTC M7 Unlocked , its a great application. Thanks Viperboy Thanks allot.
[Sprint HTC One (M8)] ecobio30:
After clicking back on SIM Unlock Helper the log remains empty. What am I doing wrong?

---------- Post added at 08:35 PM ---------- Previous post was at 08:33 PM ----------

Well I have the same problem and willing to pay another $30 if you can help me.
[Sprint HTC One (M8)] arturgig:
You don't need Sim unlocker app, use terminal emulator instead. I guess nobody has read or seen my method.
[Sprint HTC One (M8)] ecobio30:
Tried with Terminal Emulator and now the phone has a message saying that "vDM stopped working" and after reboot I cannot change the network mode, since the phone says that there is no SIM card.
[Sprint HTC One (M8)] arturgig:
The error means you have modified the htc omadm apk, are you on stock rom ?
[Sprint HTC One (M8)] ecobio30:
Yes I am Stock-rooted 4.4.4 with S-Off
[Sprint HTC One (M8)] arturgig:
You need 4.4.2 for this to work, I don't why but I haven't had any problems with that version
[Sprint HTC One (M8)] ecobio30:
But I thought that is was 4.4.4. No problem 4.4.2 coming up. I will keep you posted. Thanks for your help.

---------- Post added at 09:46 PM ---------- Previous post was at 08:56 PM ----------

By the way does anyone has the 4.4.2 rooted for HK?
[Sprint HTC One (M8)] mrMMMichail:
Hey!

Since the Sim Unlock Helper has been deleted from Play Market I'm unable to download the right one, so I decided to download the file attached to the first post and follow the instructions but using terminal commands.

Did everything as described, but no luck.

I even completely flashed the phone back to 1.54.654.15 firmware with downgrading hboot, radio ect. but haven't flashed the Modified firmware as you recommend here. Will try tomorrow morning.

I'm curious, after you did the whole procedure and rebooted you were able to select WCDMA mode right away? My radio is still off and Gsm options are greyed out. I'm trying to unlock the phone since august 2015 with no luck...

What do you think, if I'm unable to switch modes in settings, maybe risk editing QPST configuration with CDMA Workshop? I don't really understand how that works, but would want to try. I'm really tired of "unlocking" with no result.

Thanks!
[Sprint HTC One (M8)] Cashreedhar:
Is your phone S-OFF? If so, this method should definitely work. S-ON, I am not sure. In my opinion the main issue is you are on stock firmware and it doesn't allow you to modify. Flash the modified firmware and SIM unlocking will be easier. For details on activating WCDMA and switching to gsm mode using network app etc, read my thread http://xdaforums.com/sprint-htc-one-m8/general/enabling-3g-umts-countries-t2847461

Good luck!
[Sprint HTC One (M8)] mrMMMichail:
Thanks for reply!

I'm S-OFF.

Now I'm on InsertCoin_M8_3.0.4 ROM but nothing worked. I attached screenshots. Notice build version.

Downloading ".54.654.15 Modified Firmware....removed boot, hboot & recovery (fastboot flashable)" as you recommended, will try that ROM. Hope that helps.

As for QPST configuration, do you think if I forcefully switch to from LTE/CDMA to WCDMA mode that might work?

Do you know how to manually switch RADIO ON?

Seriously I have no idea whats wrong with the phone...
[Sprint HTC One (M8)] mrMMMichail:
Hey!

I flashed modified firmware and once again tried to unlock. And again no luck... mysterious... Will flash 1.54.654.9 modded firmware and give it a try.
[Sprint HTC One (M8)] Rashid Ashraf:
upgrade it to Marshmallow

I have an Unlocked Sprint M8 with 4.4.2 andriod.

Now I want to upgrade it to Marshmallow, what is the safest way of doing it?

Thanks
[Sprint HTC One (M8)] tclemens:
I guess a few of us have wondered why we can't sim unlock domestically as I was digging around in the firmware files I found a file named rcdata as I was viewing it I came across this line I wonder if there is a way to edit this?
[Sprint HTC One (M8)] ArabSDA Team:
Greats Job
[Sprint HTC One (M8)] Vcek:
How about hex edit the word "rule"? Changing it will make the command invalid.

Or by changing the mcc numbers

Edit: btw where did you find this code? Is it in rcdata.img ?
[Sprint HTC One (M8)] tclemens:
Yep in rcdata I finally gave up and activated my m8 on ting would've much rather use at&t