yashsingh1/xdaforums huggingface dataset:
[Sprint HTC One (M7)] -viperboy-:
Something appears to have changed on that base that doesn't allow this to work properly. Haven't had time to look into it yet.

What's your output from terminal?
[Sprint HTC One (M7)] dav3wash:
Cool, just wondering. Thanks guys!
[Sprint HTC One (M7)] babymatteo:
Same outcome.
[Sprint HTC One (M7)] im0rtalz:
Are you on the latest radio? It's been known not to work with the latest radio.
[Sprint HTC One (M7)] EPayne123:
I would go ahead and update the thread with information regarding what you stated earlier... The latest FW gives issues while using this. Either way, on .10 it worked flawlessly for me. I was also bone stock rooted .10 just to let you know. Need to go rate for my experience. 5* Easily From My Experience. With FW modifications like this, you MUST read everything before attempting ANYTHING. Good work on app and easy UI.
[Sprint HTC One (M7)] porika:
Does it work on Sense ROM 1.31.651.2

I installed those OTA updates, and Sense ROM version is 1.31.651.2. On this your app does not seem to be working. Nothing in logs either. It just has "The log is empty. Did you run the program first ?". With T-mobile sim and "WCDMA Preferred" option (*#*#4636#*#*) it does not connect to T-mo network.

My HTC One is rooted and s-off. Would switching back to v1.29.651.10 make the unlock work ?
[Sprint HTC One (M7)] EPayne123:
Most likely, yes. The app developer has stated that there are numerous issues that he has seen and encountered himself stating this. .10 worked for me but unsure if .7 works. He stated a page or two back that he recommends updating from .7 to use it.
[Sprint HTC One (M7)] porika:
I actually have the latest version of that ROM. Not .7.

BTW, if I install viper ROM 1.1.0 , does this unlock work ?
[Sprint HTC One (M7)] -viperboy-:
Thanks for the info! So the issue lies with the new radio. That means you'd have to downgrade the radio, which means you'll need to be S-OFF to roll pack to .10 via RUU or other method. Unfortunate, but not surprised that they did that.
[Sprint HTC One (M7)] porika:
Would installed Viper ROM 1.1.0 (earlier on OTA update 1.31.651.2 ) downgrade Radio ?
[Sprint HTC One (M7)] -viperboy-:
No, ROM doesn't contain firmware or radio updates.
[Sprint HTC One (M7)] porika:
Flashed to baseband 1.00.20.0626

VIper,

I have flashed radio/baseband to version 1.00.20.0626.

Flashed to Stock ROM 1.29.651.10 and Factory reset.

When I run the app, it would not show the success message, From the drop down I manually click "sim lock" and click back then it displays success message and asks to reboot. Yet I cannot connected to AT&T or T-Mobile networks.

Would flashing to baseband 1.00.20.0315 work or would it just brick the device ?
[Sprint HTC One (M7)] -viperboy-:
A better question for one of the two threads in the OP.
[Sprint HTC One (M7)] fida10:
similar issues on app with latest software version

Could you explain how you were able to downgrade to 1.29.651.10, or otherwise redirect me to the relevant thread/link?

I have the same problem as porika, been trying to unlock my device using the app but after selecting the sim lock option, the unlock log tells me that the log is empty and asks if i ran the program first, which I did. GSM sims are not working. My current software version is at 1.31.651.2 (latest version, I'm told) and I see from previous posts that there are some issues on that version with the app. Will you be updating the app soon to deal with these issues, and if not, is there any way around these issues?
[Sprint HTC One (M7)] fida10:
Never mind, found the solution in the other thread. sorry about that :silly:
[Sprint HTC One (M7)] mikevillarroel:
Default configuration

Hey -Viperboy- do you know what are the default settings under the API menu?
[Sprint HTC One (M7)] -viperboy-:
Nope, unrelated to this app.
[Sprint HTC One (M7)] mikevillarroel:
Really? Thanks for all your help and support...
[Sprint HTC One (M7)] -viperboy-:
Yes, all the other settings related to the API menu, in an app written by HTC, are unrelated to my app and this thread. As I've stated numerous times, this thread is for support for my app. It gives directions, opens HTC's app, and displays a success message if it works. Outside of that, it doesn't do much more than that.

I really hope this is the last time I have to say this.
[Sprint HTC One (M7)] mikevillarroel:
Whatever you say, thanks anyways!
[Sprint HTC One (M7)] elvisypi:
Hi viperboy. Will I have to redo the unlock if flash another ROM? Is it permanent?
[Sprint HTC One (M7)] -viperboy-:
No, it should be fine.
[Sprint HTC One (M7)] asifali418:
i unlock my htc one but is not working on T-Mobile

I unlock my sprint HTC one the way u show. But its accepted the sim but there is no services should I meed to do some thing else or not I have t mobile sim
[Sprint HTC One (M7)] -viperboy-:
http://xdaforums.com/showthread.php?p=45855764
[Sprint HTC One (M7)] asifali418:
So its mean I need to downgrade the Radio. How I downgrade the radio my phone is already root and soff
[Sprint HTC One (M7)] asifali418:
my htc one is not get services after unlock sim

Wi

Wich radio and firmware u used for this to get the HTC one work mine is not working.I have new Radio
[Sprint HTC One (M7)] -viperboy-:
Ok, I'm done being nice.

NO ONE POST HERE UNLESS YOU'RE GOING TO SPECIFICALLY SAY SOMETHING RELATED TO MY APP!

Everything else belongs in 1 of the 2 threads in the first post.
[Sprint HTC One (M7)] elvisypi:
I want to report that the unlock works fine with the newest radio from 4.3. I am from Europe though. Thank you so much viperboy!!!
[Sprint HTC One (M7)] JONBOY345:
Somehow the quote formatting has screwed up in this thread. Viperboy, I think you mean to report the other guy. ahaha

Don't want to get reported for having your back. lol.

:silly::good:
[Sprint HTC One (M7)] -viperboy-:
Lol, no worries man, you're good :)
[Sprint HTC One (M7)] orangekid:
Guys,

OP has made it crystal clear he wishes ONLY discussion of this particular app in this thread, all other discussion needs to happen elsewhere.

If you have a problem with a post or poster please report it without adding fuel to the fire.
[Sprint HTC One (M7)] j3rmain:
doesnt not work on 4.3 i was too hasty

I want to say thanks to ViperBoy for his ROM and this app, I had my phone happily unlocked with his ROM but decided to try the new Android 4.3 builds and learn the hard way that this method will NOT work so please be warned by my haste :rolleyes:
[Sprint HTC One (M7)] -viperboy-:
I've not tried it on 4.3 yet. What happens when you try to do the unlock?
[Sprint HTC One (M7)] j3rmain:
Android 4.3 Kernel

I am uploading the videos to show you but it basically does nothing and then takes you to the log page saying nothing in logs would you like to run the program. I also did it manually in the terminal emulator and run both the TestMainActivity and the TestMainApi thingy I have a screenshot of the error you get.

Videos - https://dl.dropboxusercontent.com/u/12004129/Videos_forViperBoy.rar

NB Sorry for the unedited videos I am at work and did them from my other HTC ONE which is still on your ROM :( but if you need me to test anything please let me know :cyclops:
[Sprint HTC One (M7)] langtuxyz:
Hi viper i think your app works pretty well as some guys' proofs were shown above. i did try several ways figured out from what ive read above like the phone shouldbe rooted and run sense rom (stock rom) and even more with software ver 1.29.651.10 with which a guy had his phone unlocked successfully. is there something unfulfilled here? btw my log file is as below. could you take a look at it? it appears to be unsuccessful at unlocking...
[Sprint HTC One (M7)] whitetiger2429:
Question

Will this app work with your rom (ViperROM_One_v1.1.0). I have service on it already but i would like to be able to unlock it anyways
[Sprint HTC One (M7)] babymatteo:
On 4.3, when you press start nothing happens.
[Sprint HTC One (M7)] langtuxyz:
Hi folks, just made some tests with ATT and Tmobile simcards which help me realize that Tmobile is totally able to work perfectly while ATT can't. There appears to be something unfulfilled with ATT simcard which doesnt allow it to recognize the signal. Many thanks to viper. :good:
[Sprint HTC One (M7)] -viperboy-:
They have either changed the name of the activity my program called or removed that app it completely. I'll have to investigate that this weekend.

From what others have said, your phone has to be on specific firmware (the radio in particular). If someone has that info or a link to it, please let me know. For now, search the other unlock threads about it or ask them there because I'm not exactly sure.

Please see above, it's dependent on firmware. But if you're firmware is right, it will work on viperROM.

thanks for the info, but I thought I've heard other people using AT&T sim cards?
[Sprint HTC One (M7)] elvisypi:
Maybe this should not go in this topic, but now I'm running android 4.3, latest radio, latest firmware and the unlock works perfectly! Thank you so much! The signal seems improved and I even got faster 3G speed.

(Note I use it in Europe)
[Sprint HTC One (M7)] -viperboy-:
Just looked into this. The app is named the name, but when I decompiled it, they removed TestAPIActivity, TestGUIActivity, TestMainActivity, and all other related files out of the "test" folder (com.htc.omadm.test) and that's why this is failing. The only work around I can think of at the moment (might not work at all, haven't gotten to test it yet) would be to uninstall the 4.3 version of /system/app/HtcOMADM_SPCS.apk and push the older version. You could then try the app again and see if it works. Proceed with caution :)

If that works, I should be able to package HTC's old app with mine and have it remove the old one, install the new one, and ask which you'd like to keep. However, I don't know the legalities on something like that, I have a feeling HTC wouldn't like me packaging an app in the Play Store with their app inside of it.

I'll work toward a solution when I have time to research a few things further. If anyone would like to test what I suggested above (swapping the apps), I'd like to know your results.
[Sprint HTC One (M7)] j3rmain:
Hey where did you get your ROM , radio and firmware from I will try upgrading mine using the same stuff and see what happens
[Sprint HTC One (M7)] d.kiran:
I did what you suggested on Sprint 4.3 (from Stock with goodies 4.3 thread).

1. Get the old HtcOMADM_SPCS.apk from a 4.2 ROM and move it to your phone. I used Sprint_HTC_One_m7wls_1.29.651.10_RUU_decrypted.zip

2. Boot into Recovery (TWRP in my case).

3. Delete the HtcOMADM_SPCS.apk in /system/app.

4. Copy the HtcOMADM_SPCS.apk from 4.2 ROM into /system/apk.

5. Fix Permissions and reboot.

I get a message saying SIM Unlock seems to have been successful.

I will verify after I go home.

Regards,

Kiran
[Sprint HTC One (M7)] j3rmain:
Thanks for that

I did mine via fx file explorer where I moved the current one and placed the old one but mine failed initially till I read your post. Then I booted into recovery after I copied the old file and fixed my permissions and was able to get to the SIMLOCK via the software.

The first reboot was unsuccessful in registering the SIM and I also kept getting a vDM error but a second reboot and WHAM BAM thank you ma'am we're in business :D
[Sprint HTC One (M7)] elvisypi:
The firmware is HERE

The radio only is HERE

As for the ROM you can choose any 4.3 ROM like THIS
[Sprint HTC One (M7)] langtuxyz:
is there anyone trying using with ATT sim card after unlocking the sprint htc one?
[Sprint HTC One (M7)] babymatteo:
Can anyone post that apk? That'd be awesome.
[Sprint HTC One (M7)] j3rmain:
HTCOMADM apk from 4.1.2

Here is the apk
[Sprint HTC One (M7)] KEHT:
Radio & firmware link point to the same location. ?!
[Sprint HTC One (M7)] DJSchmitty:
EDIT: I figured out that I have been putting the 4.2 file in the system/app folder instead of the apk folder. That being said, I cannot find the system/apk folder.

I tried this and still nothing. Do you know another apk like this one?
[Sprint HTC One (M7)] hsingh00:
I tried that on 4.3 as well (Stock w Goodies One 2.04). I did get the successful message but the "reboot" button didn't work. Manually rebooted and tried a AT&T sim card. Forced to GSM only. Been at it for hrs and can't get it working. Everything look OK in the log file?

Thanks
[Sprint HTC One (M7)] langtuxyz:
have you ever got your htc one successfully unlocked with att sim card or seen someone else got that? Admittedly i have tried lots of times with att simcard but so far fail to garner any att signal. However, tmobile counterpart works like a charm.
[Sprint HTC One (M7)] -viperboy-:
Everything looks good there, ask in one of the other threads if you need to do anything else as it looks to be unlocked.
[Sprint HTC One (M7)] saenz4931:
what permisions did you check?
[Sprint HTC One (M7)] DC007:
pls give me the odex too
[Sprint HTC One (M7)] Donmarques72:
I use TWRP 2.6.3 and unfortunately there is only /System/bin only, Can you provide more details how to copy old SPCS to 4.3 one
[Sprint HTC One (M7)] d.kiran:
You will have to go to Mount and turn on the check box next to system if you cannot see system/app
[Sprint HTC One (M7)] Darkshneider:
So, running Bad Boy ROM 4.3, I copied the HtcOADM posted to the system/app folder (I didnt remove the original, just renamed it) and tried running the app and it does nothing. I went back to TWRP, removed the original file, fixed permissions, flashed SuperSU 1.65 and rebooted. Got a vDM error message but I ran the Unlocker app and it worked. Now, to get it working with a TMobile SIM....

Edit: after trying all day and soft bricking my device a few times, still a no go with my TMobile SIM. Ive changed the settings on the phone menu, checked all the APNs and nothing. I guess Ill have to let my HTC One go and use my LG G2...
[Sprint HTC One (M7)] Blackleopord187:
I replaced the new HtcOMADM_SPCS.apk with the old one, fixed permissions and now i get a vDM error every time I try to run the Unlocker

Have you guys found a way around this? I also tried to manually unlock it via terminal. i get the type 3 error even after replacing the HtcOMADM_SPCS.apk file..

im on 4.3 btw
[Sprint HTC One (M7)] vriship:
---------- Post added at 03:11 AM ---------- Previous post was at 03:04 AM ----------

[/COLOR]

same here. updated to 4.3 OTA, unlocked bootloader and installed TWRP and rooted the phone. firstly the unlock helper app wont do anything on clicking start and then on replacing the OMADM apk provided a few pages before, constantly getting vDM error and the API wont launch and the log also remains empty.

Gonna try flashing viper rom (not based on 4.3) and then try using the unlock app/terminal emulator command to unlock.
[Sprint HTC One (M7)] vriship:
Update: it works. I installed BadBoyZ 4.3 ROM and then replaced the OMADM apk using TWRP and fixed permissions. The app then successfully launches the API but i manually had to select the sim unlock option and viola :) it was done. rebooted and got network. Using on Vodafone 3G India currently.

I suspect that the previous attempt to unlock on 4.3 OTA failed since i tried the deodexed apk on stock odexed rom. if someone flashes stock 4.3 deodexed rom and tries the same, might work correclty.

Also please note that if you flash a rom cooked with an older base(non 4.3 base), the touchscreen wouldn't work as HTC has updated the drivers on 4.3 OTA and they are not backward compatible with older Base.
[Sprint HTC One (M7)] dobbs3x:
Anyone know if after using this method of replacing the OMADM,apk on a 4.3 rom if you need or should replace it back to the original one after you unlock successfully? Also is an unlock obsolete once you flash a new rom or new firmware etc? FWIW I am running the bad_boyz_4.3 rom too and want to give this unlock a shot, although I dont need it right now I may need it later, my kid lives in Germany so I might travel there to visit.
[Sprint HTC One (M7)] vriship:
The phone should remain unlocked once you perform the unlock procedure. replacing the omadm apk with the original is not really required. the new apk is similar the the old one minus the test APIs which we need to use in unlocking.
[Sprint HTC One (M7)] Blackleopord187:
Awesome, I'll try the badboy Rom when I get home and I'll let you guys know if it works for me.

Thank you

EDIT: I flashed the BadBoyz rom and the unlock work after getting into TWRP and replacing the file

it is unlocked now, but Im not getting any tmobile signals. Ill keep trying different settings and ill keep you guys posted,
[Sprint HTC One (M7)] dobbs3x:
THX!:good:
[Sprint HTC One (M7)] syedinsane:
I have also unlocked my phone using this method but I am not getting any Tmobile signal. Anyone get that to work? How do I checked if the unlock worked correctly?
[Sprint HTC One (M7)] thorasaurus:
You have to go into Settings-->Mobile Data. Then change the Network mode to GSM/UMTS. Then click Available GSM Networks. Then click Search networks; hopefully it will find T-Mobile. If it does, click T-Mobile, if it doesn't try searching again.

My T-Mobile service drops out regularly if it is at 2 bars or below so you have to reconnect all the time. I think eventually someone will find a fix. I've tried various build.props and so far haven't been able to establish stable service for long periods.
[Sprint HTC One (M7)] robazefa:
i just wanted to report that i ran this SIM unlock app after S-OFF and flash to the 1.00.20.0315 baseband on stockROM, but the app stated in the SIM unlock log "Log is empty. Did you run the program first?"

At this point I thought it failed, but I went ahead and put in my TMOBILE SIM card, changed to wcdma preferred, searched for TMOBILE...

and low and behold i made a call using TMOBILE on 4 bars.

Point is that the log did not work correctly, but the SIM unlock was a complete success.

Edit

After installing ViperROM 1.1.0 and flashing to the latest sprint radio baseband (by OMJ 1.00.20.0913), the SIM unlock app worked perfectly and generated a successful unlock in the log unlike my attempt on stock ROM. I did not find the tmobile signal though and had to flash back to the 1st baseband 1.00.20.0315.
[Sprint HTC One (M7)] hotaru2k3:
the 4.3 update seems to have fixed it... if i put in my t-mobile prepaid sim, reboot, and switch to "gsm/umts only" in the mobile data settings it automatically sets the apn settings how they should be (i always had to set them manually on 4.1.2) and connects and reconnects after losing the signal, which pretty much only happens when i go outside of t-mobile coverage. you do still need to use the old radio for it to work with gsm carriers in the US.
[Sprint HTC One (M7)] SenselessOne:
Tried everything...

Okay so I recently upgraded to 4.3 & I didn't know it would interfere with this app. I replaced the new HtcOMADM_SPCS.apk witth the old one. Fixed permissions through Root explorer & through recovery and I still get the "vDM Client Error." I'd truly appreciate some help :( :fingers-crossed:
[Sprint HTC One (M7)] vriship:
if you used the HtcOMADM_SPCS.apk file from the previous posts on the stock ODEXED rom, you will continue to get the error as the HtcOMADM_SPCS.apk is a deodexed one.

I would recommend flashing a custom de-odexed rom like BAD BOyZ, Insert COIN, etc and then replace the file. At the first instance when you boot, you will get the CDM client error but later on, it will let you launch the unlock API
[Sprint HTC One (M7)] rache91:
I flashed a custom rom- "stock with goodies"- and i replaced the Htc OMADM_SPCS.apk in the old one. When i try to unlock via terminal , i still get the error type 3. When i try via the app - when i tap on 'reboot' it doesn't respond. Any idea why?
[Sprint HTC One (M7)] TriBeard:
I got this error, as well as a persistent Device manager running notification on both Stock w/goodies and insert coin
[Sprint HTC One (M7)] jllabres:
worked for me!!

I had the OTA 4.3 JB from Sprint and I coudn't unlock the sim with the error code 3.

I had tried to replace de Htc_OMADM_SPCS.apk with the old one from 4.2 but it didn't work.

SOLVED!!! How:

Finally I have installed InsertCoin 6.0-3 (chosing deoxeded, I don't know what it means) (http://xdaforums.com/showthread.php?t=2279766)

after that, using root explorer (Play Store) I have moved the 4.3 Htc_OMADM_SPCS.apk to /sdcard/tmp (I have created the folder) to save it. Delete it in /system/app and put the 4.2 Htc_OMADM_SPCS.apk.

Ather that it didn't work the unlocker app but it worked manually with the known method...

After that I have some vDM error cause by the 4.2 Htc_OMADM_SPCS.apk. I hope i will solve putting again the 4.3 Htc_OMADM_SPCS.apk. I will try after working.
[Sprint HTC One (M7)] htconesprint:
Htc one sprint not activated

Hey i need help........ I've installed the badboys rom ..I want to unlock my sprint htc one I've use the htcone sprint unlock app but stuck on start... May it be because it's not activated is their a root app to activate
[Sprint HTC One (M7)] -viperboy-:
When you tried the app with the old apk, what do you mean it didn't work?
[Sprint HTC One (M7)] krnchonnom:
If I unroot and go back to stock sprint Rom, will it relock and will not support other networks? I saw someone saying it will remain unlocked,but it didn't say if it will also stay sim unlocked on stock sprint Rom.
[Sprint HTC One (M7)] elvisypi:
It'll remain unlocked, don't worry. It worjs on all sense ROMs
[Sprint HTC One (M7)] charlymtz:
hi guys how are you? :D

After some process for kill htc one LOL , finished the root buuuut when i going to Unlock with Viper´s Boy´s Apk the program only said

what is the next step?
[Sprint HTC One (M7)] jannmedia:
CAnt make call

After I did all steps mentioned up, then changed the RADIo band to GSM only, then end up with no signal at all?

Also when I will try to make a call it will show me the Sprint logo on top of the call window, and I will hear a message said: "Error number 16"
[Sprint HTC One (M7)] beely061289:
Unlocked

Finally i succes unlock my HTC one...

I used Badboy Rom and after tha put HtcOMADM_SPCS.apk in /System/app

Then i used the unlocked method manually

After i reboot there is vDM error showing up.

But when i tried change to GSM mode, it automaticly working...

Mine is showing up H not gsm...

Update:

After i restore to stock rom 4.3

It is still unlocked without any cDM error..

But the icon turn into gsm..

Not H anymore...
[Sprint HTC One (M7)] CuhThooLoo:
No Network.

I ran this app on my One and now I'm getting no network service from sprint. Tried flashing a different ROM and everything. Nothing is helping.
[Sprint HTC One (M7)] -viperboy-:
Guys, please remember that this doesn't work on the new bases/radios. I'd like to fix this in the future, but I haven't gotten around to it yet.

If anyone has any more information on working methods on the new bases, please let me know.
[Sprint HTC One (M7)] hoomanoid:
Bro, is it ever possible to decomile HTC apk and see what the function "sim lock" actually does?
[Sprint HTC One (M7)] -viperboy-:
Yes and I've looked at it, but it's not simple by any means. Basically, it's directly communicating with the radio via AT commands.
[Sprint HTC One (M7)] elvisypi:
I am curious how the unlock works. It seems like the unlock offered by Sprint, since you can't loose it with a ruu? What does the unlock change??
[Sprint HTC One (M7)] sajilpatel:
Doesnt work for me. Help please

I downgraded to 4.1.2 after s-off. I tried this app and it doesnt work for me. After pressing start and selecting simlock, when i hit back button it doesn't show the log and when i restart and check to its unlock its still locked. I followed the steps exactly as shown but dont know why it doesnt work for me. Please help me on what to do
[Sprint HTC One (M7)] aashishbhargav:
Waiting for your updated app for android 4.3
[Sprint HTC One (M7)] vriship:
please check PM, have messaged you a working method let me know if this helps :)
[Sprint HTC One (M7)] -viperboy-:
Thanks bud, but I'm fully aware of how to make it work. I just need to redesign the app so it's automated.