yashsingh1/xdaforums huggingface dataset:
[HTC 10 Questions & Answers] desiregeek:
Does this actually work though?
[HTC 10 Questions & Answers] sbong:
Tried the following adb shell commands to put the phone in Diag mode but didn't work:

echo 1 > /sys/devices/virtual/android_usb/android0/f_diag/func_en

echo 1 > /sys/devices/virtual/android_usb/android0/f_diag/on

Was trying the steps from the M9 forum:

http://xdaforums.com/one-m9/general/how-to-change-network-bands-gsm-devices-t3135401
[HTC 10 Questions & Answers] WalterCool:
Did you get something about this finally? Sorry of being a lazy douchebag, but I don't want to root my phone for now, unless someone can confirm this. I also have the problem with LTE currently with some bands (specially 1700/2100 due non-US phone)
[HTC 10 Questions & Answers] jackzhouyongxiao:
dude, it is very sad that this method does not work on htc 10. i was trying this several days ago. neither this command nor ##3424# works on htc 10. it seems like htc 10 blocked this diagnostic mode:mad::mad: I AM waiting for someone to find a new hacking method!!
[HTC 10 Questions & Answers] BizzaBoy:
"*#*#3424#*#*"
[HTC 10 Questions & Answers] michaelbsheldon:
Hooray!, something changed with Verizon's last OTA. I'm on US unlocked version, S-0ff, unlocked, converted to Verizon.

##3424# didn't work on original OTA, but the 1.19.605.22 update now allows ##3424# to get into diagnostic mode and CHANGE YOUR BANDS with DFS Tool.

Now on 2-4-13 like I want to be.
[HTC 10 Questions & Answers] KainanMaki:
Were you using Verizon on CDMA while on US Unlocked before converting? (I assume that´s the case when you converted to Verizon).
[HTC 10 Questions & Answers] michaelbsheldon:
No, it's the US Unlocked version that needs to be converted with Verizon's current OTA before it will connect.
[HTC 10 Questions & Answers] KainanMaki:
Thanks, that´s what I imagined.

I found a way of activating DIAG mode on HTC 10 but every time and method I tried (I`ll detail it on the next post) to change the LTE bands, the changes were lost after rebooting the phone. More on that in a minute.
[HTC 10 Questions & Answers] motojef:
What Method?? Please help me with the tutorial

Enviado desde mi iPhone utilizando Tapatalk
[HTC 10 Questions & Answers] KainanMaki:
So...like I said before, I found a way of activating DIAG mode.

I had the very same problem of ##4232# not getting the job done (I suppose the code only works on CDMA).

We knew that using ADB Shell, opening the DIAG was possible on the M8 and M9.

But those commands didn't work on the 10, and I didn't find any clue on the F_DIAG folder (it changed on the 10).

Googling outside XDA, found that inputting "setprop sys.usb.config diag,adb" should open the DIAG on Android. But it didn't work too. But, also found that checking the /init.htc.usb.rc file on the phone could help devising the correct command.

Opening the file I discovered that these commands are like presets for choosing mtp, ums, and the ones you do find every time you plug the usb and the 10 ask you which method do you prefer for (just charging, transfer files, etc).

After some hit and miss, I found that opening ADB Shell with su and the following line did the job:

"setprop sys.usb.config adb,diag,acm"

That activated Diag Mode, I didn't even need to install the drivers (W10), looking at device manager I found the COM devices needed to perform band changes.

I have yet to get results, I'll detail more on the next post.
[HTC 10 Questions & Answers] mnguyen127:
Interested to see if this goes anywhere.
[HTC 10 Questions & Answers] KainanMaki:
Before starting, let me note that a custom kernel is needed for this procedure.

On the guide I'm following (link a few lines below), explains that stock kernels include some lines from Qualcomm to avoid tampering, that's technically the reason why the modifications are lost on every reboot.

Link to the guide:

http://xdaforums.com/galaxy-s5/general/how-to-add-rf-lte-frequency-bands-to-t2886059

The guide doesn't help us too much with the DIAG stuff, we are on our own there.

The most complicated part of the guide ask us to "Change USB from AP to CP. And USB settings from MTP + ADB to RNDIS + DM + Modem mode"

I think I almost clinched the RNDIS+DM+Modem part. It is related to the adb shell line I commented on other posts. I'm no coder at all (never wrote a single line) so if you see something ridiculous in my comments you are free to freak out and single it.

To achieve RNDIS+DM+Modem we have to enter on ADB:

adb shell
su
setprop sys.usb.config rndis,diag,modem

I have yet to find the AP to CP part for USB (Application Processor to Cellular Processor).

Any ideas are welcome.
[HTC 10 Questions & Answers] Haldi4803:
I think someone in the M9 Thread mentioned that changes on GSM (not CDMA) Phones are lost on Boot if you use DSF Tools, if you use the Qualcomm tool it will stay.

P.S

The phone can only be Connected to one LTE Band at a time.

The App Signal Check Lite Shows the current Band.

Is there any way to show all Frequencies currently available? There might also be a 2100mhz Band close by or not?

P.S anyone tried to change stuff in *#*#4636#*#* Mode?
[HTC 10 Questions & Answers] KainanMaki:
So far I tried 4 methods:

1) QXDM Method - Doesn't resist reboot.

2) DFS Tools - Same as 1)

3) NV Items Reader - Same as 1)

4) QSPT - It could work with GSM/3G but not with LTE

I still have tons of doubt regarding to the correct way of doing this for several reason:

1) Do we have a kernel for HTC 10 that's really built from scratch? Because if we don't, we're screwed.

I tried with ElementalX and Cleanslate.

2) The other part I'm not entirely sure is if we have to conect to the COM of the HTC Modem or to the COM of Diag Mode (you can check both numbers on device manager in windows).

3) With Diag COM you can read the NV values and try to make changes (even if they don't stay) but I couldn't while connecting to the Modem COM. Maybe to get this to work we need that "AP to CP" change in USB settings that we`re lacking.

Another interesting point is that if I use NV Items Reader or DFS Tools, when I choose the write the NV value, the signal is lost that exact moment. Which means that something is really happen over there. All guides explain that the signal loss is normal and after reboot everything should work as expected. But no, is resets. I hope it is the kernel, cause' I'm running out of ideas.

It's absolutely safe to use it.

You can choose with radio preset to apply, I use it to force the phone in LTE only.

Since I can't make the phone to connect to LTE 4, I'm getting no signal.

It takes 20-30 seconds sometimes to take the change so be patient.
[HTC 10 Questions & Answers] KainanMaki:
I have considered converting the firmware to Verizon (even if it´s CDMA) so I could try same process (which worked for you).

Problem is, I can't get pass the Setup Wizard after flashing the Verizon RUU. And of course I don't have a Verizon SIM. I can boot normally but it starts with that fricking Wizard just activating the phone and doin' nothing.

Do you know any way to get past that? I'd to try appling the changes over there and afterwards flashing the GSM radio from the international version.

I read that GSM users could change the LTE NV value for CDMA (because it's useless) and the same for CDMA users while changing LTE NV value for GSM. Maybe I could use that in our favor and then flash the radio afterwards .

I have another ace up my sleeve but depends on another user´s collabotarion.
[HTC 10 Questions & Answers] michaelbsheldon:
Don't know of any other way :-{
[HTC 10 Questions & Answers] KainanMaki:
But at least it worked...right?

Remember if you changed the values of 6828 or 6829 to add and remove bands?
[HTC 10 Questions & Answers] michaelbsheldon:
I used 6828, because nothing happens when I use 6829.

Yes, it holds the bands saved through reboots and rom flashes.

However, if another radio or RUU is flashed, the bands get changed.
[HTC 10 Questions & Answers] KainanMaki:
Perfect, I imagined something like that, thanks!

Reading the process for other phones, seems that we need a modified RMT_Storage file to keep the changes (at least on GSM).

I'll keep investigating.
[HTC 10 Questions & Answers] KainanMaki:
Well...I'm close to failure.

I managed to change bands porting to Verizon, but I can't with a GSM radio, so it's useless.

No LTE changes. So back to the US Unlocked version...but still with the Asia LTE bands.

What I'm failing to understand is why flashing a RUU or a radio from a different region won't allow me have those LTE bands, the hardware is absolutely the same. Those should have the correct bands by default.

Would love to understand why it doesn´t fix it.
[HTC 10 Questions & Answers] Yotat18:
Estimado pudiste arreglar algo despues de esto?, me pasa lo mismo con mi htc que compre por amazon era el internacional en lugar del usa unlocked (se suponia que me vendian el de usa pero bue).
[HTC 10 Questions & Answers] axelroll:
I bought the phone from Europe, I'm in México and I can't get 4g (Band 4) only 3g. The Rom is the 1.80.401.1, would converting it to the US unlocked version work? Or what can I do to get 4g?
[HTC 10 Questions & Answers] KainanMaki:
Por ahora vengo de fracaso en fracaso :confused: y sin entender por que.
[HTC 10 Questions & Answers] stifilz:
Nevermind. Didn't read entire post... :(
[HTC 10 Questions & Answers] fidanhGPE:
Hi Guys,

I have the same problem but from the opposite perspective. I have a US unlocked and it does not support the 3G bands in Europe. I am not technically skilled to do it through the methods described. Is there any easier way to do it, or step by step guide for it. I tried installing CDMA DSF Tool, but could not manager to get my phone connected to it.

I would appreciate you help as the city I am in is mostly covered by 3G and hardly LTE, so I am left with EDGE (2G).
[HTC 10 Questions & Answers] Cakeor314:
After tinkering with the 10 for a few months, I noticed that certain RUUs will connect to other LTE bands. This tells me the bands are not locked, but certain bands are preferred over others. I can see a few others here noticed the same thing.

In your case, I would try a European RUU, it should have all the required settings in it. All you have to do is set up your APN if it's not done automatically.
[HTC 10 Questions & Answers] fidanhGPE:
Thank you buddy, but what do I need for that, a WWE RUU straight forward, without Bootloader Unlock and S-Off???

I tried one guide on XDA and I think I screwed up my phone, currently it only start to Boatloader and nothing else. I have Bootloader relocked and System there anymore :(((.
[HTC 10 Questions & Answers] Jaws4God:
I read through this thread and not sure i fully understand... but I wanted to give my dad my old S3 phone.. but found out its a CDMA phone and AT&T is GSM..

I am curious if I want to use my Verizon HTC10 on another service, maybe one that is GSM.. would it work or is my phone limited to CDMA service only?

Thanks!
[HTC 10 Questions & Answers] Tikerz:
Has anyone figured out a way to unlock GSM LTE bands on a Sprint HTC 10?
[HTC 10 Questions & Answers] jauhien:
Sprint model is a different hardware.. no way it would be fully functional on 'typical' GSM networks..

Sent from quite brutal hTc 10 ..
[HTC 10 Questions & Answers] Tikerz:
I thought all the HTC 10 hardware was the same just had bands locked.
[HTC 10 Questions & Answers] jauhien:
Apparently you're mistaken, there are 5 types of hardware..

The first line shows WWE, the second line in US Unlocked, the third line is SPRINT, etc..

You may see what your model is in Download Mode..

Sent from quite brutal hTc 10 ..
[HTC 10 Questions & Answers] Tikerz:
Well, managed to enable the LTE bands I need for AT&T on this Sprint HTC 10 using QXDM. The changes persist through reboots, but I can't get a data connection. at all. Before, could get HSPA+ with my AT&T SIM.
[HTC 10 Questions & Answers] surge27:
Where did you get QXDM from? Link?
[HTC 10 Questions & Answers] Tikerz:
I found it here:

https://drive.google.com/file/d/0B-0Lr302nDVcbXhsSWxWdktOZGM/view?usp=sharing

Only download QXDM though. The other files are for another phone.

You'll need QPST also as it has to run in the background.

I used this post as a guide for QXDM. I started at step 21 as I needed to add LTE bands.

http://xdaforums.com/showpost.php?p=64745491&postcount=202

After it didn't work, I just ran the Sprint HTC 10 RUU.exe to revert the changes.
[HTC 10 Questions & Answers] surge27:
So, it didn't work for you at all?
[HTC 10 Questions & Answers] Tikerz:
I unlocked the bands but lost any data connection.
[HTC 10 Questions & Answers] surge27:
You have to readd apn?

Reboot?

What firmware? Radio? Mid/cid?
[HTC 10 Questions & Answers] Tikerz:
I was on stock Sprint firmware and it did ask me what carrier I was on so I chose AT&T and the correct APN was added. Still no data even after reboot. I was super CID and Sprint MID 2PS640000.
[HTC 10 Questions & Answers] surge27:
If at&t, try flashing the US unlocked radio
[HTC 10 Questions & Answers] Tikerz:
I tried that too. I flashed the PMEWL firmware and don't get any signal at all. The IMEI and baseband are blank.
[HTC 10 Questions & Answers] Tikerz:
HOLY CRAP it works!! Sheesh I'm trying to calm down to write this. I've spent all weekend trying to figure this out.

After stock Sprint ROM didn't work (no data) I decided to flash LeeDroid with the included CleanSlate kernel and when it booted I got data! I didn't get LTE though so I took a look at *#*#4636#*#* Phone Info menu and changed the bands to preferred network type to "CDMA/EvDo/GSM/WCDMA/LTE Auto". After the usual 20 second delay the LTE icon popped up! I was trying to check what band I was on with LTE Discovery but the screen goes blank when I open it (this is a key point later on). Then I tried OpenSignal and it does the same thing. SignalCheck Lite is the only one that works. I opened that and it showed I was on LTE 700 AT&T band 17!! I just got back from driving around town. Phoenix uses AT&T bands 2, 4, 17 and 30. Sprint HTC 10 supported 2 and 4 but not 17 and 30. While driving I was hitting 2, 4, and 17 towers the entire way. While connected to 17 I ran a speedtest and was getting 20Mbps down!

It definitely has to do with the kernel as I have read. The stock Sprint kernel has some anti-tamper protection I gather. I flashed ElementalX kernel but no LTE. I also flashed CleanSlate Sprint version from the developer thread but no LTE again. I can tell it wouldn't work because LTE Discovery app and OpenSignal app opened just fine, no blank screen. Then I dirty flashed LeeDroid ROM again and the blank screen was back . I don't get LTE until I change preferred network type in phone menu!

So summary of what I did.

I am S-OFF and bootloader unlocked obviously

Started from Sprint RUU.exe

Flash TWRP and SU

Turn on ADB debugging

Turn on DM mode ##3424#

SIM unlock using NV method

Used QXDM to change 06828 and 06829 values to the correct decimal values for the bands I wanted to unlock

Flashed LeeDroid ROM

Go to *#*#4636#*#* phone info menu

Change preferred network type to "CDMA/EvDo/GSM/WCDMA/LTE Auto"

Profit!

Things I need to figure out next:

1 - I need to figure out what makes the CleanSlate kernel in LeeDroid ROM work. (Edit: LeeDroid installs the kernal version depending on which carrier is selected in aroma. I selected US Unlocked so it installed the non-Sprint kernel. That would explain why CleanSlate Sprint kernel did not work)

2 - Do I have to stay on the Sprint radio? Or can flash US Unlocked radio and still makes this work.

3 - Can I flash the latest 1.96 firmware US Unlocked and still keep the bands unlocked?

So as of right now, I'm on the latest Sprint HTC 10 RUU.exe firmware (1.80.651.6) CID SPCS_001, MID 2PS640000.

OMG, I can go to sleep now.
[HTC 10 Questions & Answers] surge27:
Congrats! Wonder if this method will work on the EMEA variant as well.
[HTC 10 Questions & Answers] stifilz:
If it helps.... I have the T-Mobile version 10. I can flash Sprint and Verzion firmware and phone still works. No matter what I tried bands would not stay on the US unlocked firmware. ....

I'm currently running the Verizon firmware to enabl the bands I need and a custom r (ViperOne) on top so it is much nicer :)
[HTC 10 Questions & Answers] surge27:
Are you using a vzw sim?
[HTC 10 Questions & Answers] Tikerz:
Ok, well it doesn't work as well as I thought. Whenever I receive an incoming call the screen won't wake up. I give up.
[HTC 10 Questions & Answers] stifilz:
Try Verizon base firmware under your custom rom
[HTC 10 Questions & Answers] Tikerz:
Would flashing something like Viper and choosing Verizon as my carrier work?
[HTC 10 Questions & Answers] stifilz:
Nope. I'm in New Zealand I've added 3G 900mhz and a couple LTE bands which seem to be working
[HTC 10 Questions & Answers] axelroll:
So if I'm using the international version, I should convert to US unlocked, then flash LeeDroid rom and I'd be able to get the 4, 17, etc bands?

Thanks :)
[HTC 10 Questions & Answers] meats:
I have an HTC m10h and orginally I thought i was SoL with US LTE bands since my old Nexus 5 was showing LTE in my apt, but my HTC m10h was not.

However, since flashing the US Unlocked I was driving around in another part of the country and began seeing the 4GLTE icon in my taskbar. In LTE Discovery it's telling me that I was picking up LTE Band 4. Since I'm on T-mobile, I'm guessing that the phone doesnt supports band 2 and 12, since Tmobile is 2/4/12.

Anyway, just wanted to post that data point. If anyone knows how to unlock those other bands, I'm incredibly interested.

UPDATE: It looks like I'm also picking up band 12 in LTE discovery, so the only T-mob band I haven't seen is Band 2.
[HTC 10 Questions & Answers] :
I dont know if you would want 2 and 12 anyway. Im in Chicagoland on Tmobile and i drop calls like crazy. Every since i fully converted my phone to WWE (Bands 3,7,and 20 supported only), my reception has been excellent in the same spots i would usually drop. So i have to look more into why that happens.

Some more useless knowledge:

http://www.phonearena.com/news/Chea...on-T-Mobile-and-Sprint-use-in-the-USA_id77933
[HTC 10 Questions & Answers] valvaher:
Hello such, although there is nothing to unlock HTC LTE bands 10 and tried the processes of the previous pages without success ..... any solution?
[HTC 10 Questions & Answers] quattro527:
Bump.

Has anybody figured this out yet? It seems like any Nougat 2.28.x.x+ firmware would completely my phone's (International 2PS6200/10h) ability to pickup Band 4 and the only LTE band it would pick up is Band 12. With a Marshmallo 1.8x and 1.9x firmware, the phone would pick up Band 4 without issues AS LONG AS I was running an older Kernel (3.18.20x). Any newer ROM's supporting Nougat/Marshmallow with a newer kernel (3.18.31x+), Band 4 disappears.

I've also flashed the following radios to confirm Band 4 (via RUU):

1.0.U010141a@60419.3_xx.xx_F (1.53.617.1) - Band 4 works (with proper firmware/kernel as mentioned above)

1.0.U010141a@60527.2_51.01_F (1.80.617.1) - Band 4 works (with proper firmware/kernel as mentioned above)

1.0.U010141a@60714.2_59.06_F (1.91.617.1) - Band 4 works (with proper firmware/kernel as mentioned above)

1.0.U010241a@61107_76.02_F (2.28.617.8) - CAN NOT VERIFY, as going to a 2.28.x+ firmware to run this radio based on the mentioned above would kill Band 4.

It does seem like the International 10h would PREFER Band 12 over Band 4. I have another 2PS6500 US Unlocked HTC 10 to conduct my tests, and the US phone would pick up Bands 2, 4, 17, etc without any issues as well as "LTE+" over AWS/Band 4.

With all these parameters given, it DOES appear that something in the hardware would need to be hacked at the modem level. I remember back in the Samsung Galaxy S4 days, we could grab a GSM modem and use the Qualcomm tools to flash and "enable" the AWS Band 4 bands to allow the phone to work on T-Mobile.

Has anything figured this out yet?

Thanks
[HTC 10 Questions & Answers] NickKG81:
Have you tried this...

https://xdaforums.com/one-m9/general/how-to-change-network-bands-gsm-devices-t3135401
[HTC 10 Questions & Answers] quattro527:
Yes I have tried this. Managed to get both QXDM as well as DFS to get into the NV values. My bands are indeed turned off at 06828, but I can NOT manage to write nor change these values at all. The values simply revert after I re-read or simply reboot. I have tested this on the following phones: M8, M9 and M10... my last missing piece of the puzzle is getting the NV values to actually STICK and SAVE.

I also have a US-Unlocked PMEWL HTC 10, in which I even tried to backup the NV tables in QPST Software Download as a *.qnc file--and tried simply RESTORING that backed up *qnc file into my International 10h (PMEUHL) in hopes it would simply enable the bands--but the restore efforts seem to complete, but changes are still reverted.

Anybody have a clue? Is it a kernel or firmware issue that is preventing the NV changes? I have tried firmware 1.5x, 1.8x, 1.9x, and 2.2x, with various ROM's and kernels (ElementalX and CleanSlate)

I am "this" close... anybody? :(
[HTC 10 Questions & Answers] Mario_Orva:
Have you figured out a way to get Band 4 working on 2.xx firmware? Also, where did you find the latest radio? I'd like to download it and give it a go
[HTC 10 Questions & Answers] Quadrider10:
Ok so I'm trying to get a couple bands to work. I'm currently on US unlocked RUU with Leedroid us unlocked edition. I have a Japanese sim card (DoCoMo). I have LTE and everything, but my signal is very weak to non existent when indoors. Officially the us unlocked supports 2 of their bands. But DoCoMo has 4 LTE bands.

What are my options here?
[HTC 10 Questions & Answers] gamer765:
I'm also curious to this band 4 issue. Back on MM, I was able to connect to LTE band 4 no problem and speeds were blazing. Now after Nougat, my speeds have slowed to a crawl and I can't connect to band 4 anymore, only band 12. Stock HTC 10 on latest firmware.
[HTC 10 Questions & Answers] xunholyx:
SELinux is set to permissive?
[HTC 10 Questions & Answers] quattro527:
SELinux results via shell:

/#: getenforce

Permissive

Using stock Kernel built-in with Viper 5.9.0. I do not have this issue with the M9. Should I try a different kernel?
[HTC 10 Questions & Answers] vijn:
So, has anyone found a way after all to GSM unlock the Spring variant so that it works well internationally for 2g, 3g, 4g/lte?
[HTC 10 Questions & Answers] xunholyx:
No.

And I don't think it is possible or someone would have figured it out by now.
[HTC 10 Questions & Answers] vijn:
Fair enough. That's what I wanted to know. Thanks for your help.
[HTC 10 Questions & Answers] jblparisi:
Yes, possible.
[HTC 10 Questions & Answers] heorung:
can you guide me to unlock gsm bands for htc 10 sprint?
[HTC 10 Questions & Answers] jblparisi:
Sorry for the delay,

this will point you into the right direction: https://xdaforums.com/htc-10/help/unlock-lte-bands-t3375736/page2

Basically as long as your Sprint and Android 7 you should not run into issues, only thing I could never get to work is WiFi Calling. Everything else is 100% spot on, I tested LTE bands here in Phoenix ,AZ (on AT&T)

If you get stuck or have any questions feel free to ask.
[HTC 10 Questions & Answers] heorung:
So basically , i'll have to debrand the sprint variant to Verizon variant , and enter diag mode to unlock missing LTE bands?
[HTC 10 Questions & Answers] jblparisi:
No, forget about Verizon. lol

In a nut shell: Update to Android 7.0 Stock. S-OFF, Custom Recovery, SIM Unlock the phone if needed, Flash a custom room (I recommend Viper Latest) pick your carrier of your choice EX: ATT for custom Apps and APN settings, then put the phone on DIAG phone as discusses on that link, enable the bands. Reboot and test it.

You should not need to change the firmware or base coming from Sprint stock Android. 7.0.

Simply update the phone to 7.0 Sprint, get everything up to date OS and Firmware Stock Sprint. Then go ahead and flash Viper picking your carrier during Aroma install, then you should go ahead and follow the steps to unlock the bands. It's pretty straight forward once you get the hang of it.

Any questions simply ask.
[HTC 10 Questions & Answers] heorung:
does changing to AT&T will erase IMEI and lock Sim?