yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Note Pro] Aqq123:
An update is a ZIP archive. In it, there is the file META-INF/com/google/android/updater-script, which has all the instructions what to do during an update. In particular, inside this file there will be a line saying something like:

package_extract_file("firmware-update/NON-HLOS.bin", "/dev/block/bootdevice/by-name/modem");

If you want to stop the modem firmware from being updated, you need to comment out this line by putting the pound sign (#) in front of it, or delete it altogether.

The problem is that updates have a signature which, once you do the above, will become invalid, which means it probably cannot be flashed through the official Updater app. But you will still be able flash the same file though from the TWRP recovery for example, with exactly the same result.

Note that I didn't say that flashing a different version of the file NON-HLOS.bin, which is what the updates generally do, will override the changes you made because I don't know that: whether it does so might even depend on the particular version of the file. What can be said with near certainty though is that anything else other than this done by an update is unlikely to change these NVRAM settings.

The above is for the sake of explanation. I wouldn't worry about this too much now though. If you manage to enable some LTE bands and after an update they stop working, at most you'll need to redo the changes. Only if you noticed that they become disabled with every update, then the file above would be the likely culprit, in which case you can disable it in the script before flashing any further updates.

Two things of note though:

So far I've seen little evidence that bands can actually be unlocked on the Note Pro. (I've done the change myself but in the place where I am there are no networks using the supposedly unlocked bands.) It's harmless to try as long as you make a note of any values you replace so that they can be restored later but if you're considering getting the phone on the assumption that some other bands can be enabled on it, then I'd say the evidence for this is scarce so far: don't be disappointed if it doesn't work out (it's still a nice phone though).

Xiaomi has locked the bootloader starting from their 6.1.14 ROM update, and unlocking it seems to be a tedious process. If I were you I'd stay away from this and any newer updates for the moment, so as not to limit your options.
[Xiaomi Mi Note Pro] umirza85:
Wow, thanks again. I've confirmed with the seller that they are using the Chinese version of the phone and have unlocked the bands and verified that they are unlocked. Dealing with updates (as i dont want to be stuck on 5.x.x forever) was the issue.

Thanks so much for detailing it out. Makes sense about the modem file being the only one to update the NVRAM settings, I'll give it a shot commenting out the line to see if that works.
[Xiaomi Mi Note Pro] Berty3009:
I'm really interested to test it, i live in Germany (much Band 20 ) and have a Xiaomi MI4C. Model number is 2015561 and Baseband is BO.2.6.c1.2-1201_1714_909110d

Very lucky when you can help me with the right "numbers"

Thanks
[Xiaomi Mi Note Pro] Aqq123:
Hi, you only need to look at the lte_bc_config variable, the others are for 2G or 3G. Read whatever value it is set to now (and keep a record of it somewhere just in case). In my phone (Note Pro) it was 2061584302149. Convert it to binary, using Google for example: "2061584302149 to binary". It shows you a sequence of 1's and 0's like this, in my case:

0b11110000000000000000000000000000001000101

In particular, there are 1's at positions #1, #3 and #8 counting

from the right

, which means LTE bands 1, 3, and 8 are enabled. Since you want to try enabling band 20, find the #20 digit

from the right

and change it from 0 to 1. In my example the modified number would be:

0b111100000000000000000

1

0000000000001000101.

When you're done, ask Google again what "0b11110000000000000000010000000000001000101 to decimal" is. That's the new value you want to write into NVRAM (background in this post).

Edit: Google sucks, you need a better binary converter to go back to decimal. Try this one here, and remove the 0b from the beginning (it's just a prefix to tell the computer that this is a binary number and not for example a decimal one just without any 2, 3, 4, 5, 6, 7, 8 or 9 in it). In the example I used the result should be 2061584826437.

Once you know how to do it, you can repeat the procedure just starting with the number you got from your phone.

You can also try to search for a teardown of Mi 4c and see if the photos show what the power amplifier chip is there. You could then look up its specifications on the manufacturer's website and see what additional bands are be possible, and what are out of the question. I posted such an analysis here for the Note Pro, and it seems that there is no hardware support for the 700 MHz bands but for the other ones whether they work or not is just a question of the modem firmware.
[Xiaomi Mi Note Pro] umirza85:
Thanks for all your hard work!! Very much appreciated you taking the time.
[Xiaomi Mi Note Pro] burimii:
i did everything step by step and did not unlocked band 3 i use the latest developer rom ... but when i was searching for networks i saw that i can find 4g network from another company that uses band 20 ... can someone give me a hint or should i change something ?
[Xiaomi Mi Note Pro] EMJI79:
If anyone manages to unlock bands with this tuto PLEASE state it clearly!

Nobody has yet succeeded for sure as far as I know.
[Xiaomi Mi Note Pro] Berty3009:
Ok, tested with the numbers from my phone to activate B20 , didn't work in my Xiaomi MI4C. Model number is 2015561 and Baseband is BO.2.6.c1.2-1201_1714_909110d Software is XiaomiEu Miui from 16 Januar.

Liitle frustrated, but don't think that i made a mistake. All double checked and more. So: B20 isn't software possible i think... ?
[Xiaomi Mi Note Pro] Aqq123:
Just a thought but...

This is a list of other devices with Qualcomm Snapdragon 810 aka MSM8994:

BenQ F52

Coolpad Fengshang C+

Doogee F3 Ltd

Fujitsu Arrows F-04G

Sony Xperia Z3+/Z4

HTC Butterfly 3

HTC One M9 LeTV Le Max

LG G Flex 2

LeTV Le One Pro

Microsoft Lumia 950 XL

Motorola Droid Turbo 2

Nexus 6P

OnePlus 2

Qiku Prime

Qualcomm Snapdragon MDP

Sharp Aquos Pad SH-05G

Sharp Aquos Xx

Sharp Aquos Zeta SH-03G

Sony Xperia Z4 Tablet

Sony Xperia Z5 (-/Compact/Premium)

Vertu Signature Touch

Xiaomi Mi Note Pro

ZTE Nubia Axon (-/Elite/Pro/Lux)

ZTE Nubia Z9 (-/Elite/Exclusive)

ZTE Nubia Z9 Max (-/Elite)

Does anyone know of any other devices with the same MSM8994 SoC not on the list? (The list is from a Wikipedia article.)

Does anyone know if any of those devices supports more LTE bands than the Note Pro?

The reason I am asking is that once the bands are enabled in the NVRAM settings, whether they work or not is up to, in particular, the power amplifier chip and modem firmware (radio). The firmware is contained within the file NON-HLOS.bin, which is typically included with any OTA update ZIP but can also be easily flashed independently with:

fastboot flash modem NON-HLOS.bin

I haven't tried it but I guess it's likely that this file is interchangeable between at least some of the devices sharing the same SoC, unless there's a signature check involved. There is some anecdotal evidence that this could work, and if not, flashing back the original modem firmware should resolve any issues. Thus we could:

Locate another MSM8994 device that supports more bands than the Note Pro.

Obtain the NON-HLOS.bin file for it

Flash it onto the Note Pro to, hopefully, enable more bands.

Comments welcome.
[Xiaomi Mi Note Pro] burimii:
It worked guys after many restarts the other day it just started working !
[Xiaomi Mi Note Pro] Aqq123:
I've just checked the OnePlus 2. According to the official specs there are three versions of it: China, Europe/Asia and North America:

The China (A2001) version supports exactly the same LTE bands as the Note Pro.

The Europe/Asia (A2003) version adds 4G LTE bands 5, 8, 20 (and drops TDD-LTE band 39).

The North America (A2005) version adds 3G UMTS band 4 and 4G UMTS bands 2, 4, 5, 8, 12, 17 (drops LTE band 3 and TDD-LTE support).

More on this from the official forum: OnePlus 2 Regional Versions Explained.

Mirrored official flashable ROM images are available from this thread. The latest one at the moment is OnePlus2Oxygen_14_OTA_011_all_1512111634.zip, and inside it there's firmware-update/NON-HLOS.bin. Of interest there's also the file RADIO/static_nvbk.bin, which appears to be an NVRAM backup that is flashed to the partition /dev/block/bootdevice/by-name/oem_stanvbk: this looks like some OnePlus-specific extension but maybe it could be opened with QXDM?

Has anyone tried flashing this or another modem on the Note Pro?

The question also remains, since there is only one modem firmware but at least two hardware versions (the China version uses different images), when is the distinction made between them?

I've been also trying to find out if there is a known way to decompile the NON-HLOS.bin file but a casual search yields no results. Any thoughts?
[Xiaomi Mi Note Pro] EMJI79:
Which band did you work out? Please share :)
[Xiaomi Mi Note Pro] Berty3009:
And which telephone

do you use please, MI4C, too?

OK, i've seen yet, you habe a Note Pro, so i'll make many restarts and hopefully MI4C works, too...
[Xiaomi Mi Note Pro] burimii:
Band 3 (1800) but its not stable sometimes does connect to 4G and sometimes does not... But the good news it does work ;)

Edit: I use the latest Miui beta Rom no root and locked bootloader ... Still waiting for answer to unlock the phone :(
[Xiaomi Mi Note Pro] MGREX:
Has anyone tried this with t-mobile or some other carrier using Band 4aws? did LTE work?
[Xiaomi Mi Note Pro] agazza:
I gave my girlfriend my European oneplus two and bought another one for myself, but I got scammed and its a Asian a2001 version.

Can someone help me unlock more basebands?

I have flashed oxygen on it so it should have the right radio file.

And wich line controls the second imei? Thinking of duplicateing one from my other phone. (yes, yes, I know, but please help)

Skickat från min ONE A2001 via Tapatalk
[Xiaomi Mi Note Pro] easter_:
Just tried to flash NON-HLOS.bin from OP2 to my MNP via fastboot. Just getting "No SIM"-Message.
[Xiaomi Mi Note Pro] malatest:
Hi. Is this a permanent change? I mean that if I flash a new Rom, have I do all the proccess again? Thanks in advance
[Xiaomi Mi Note Pro] Azlun:
[MENTION=290344]edmondt[/MENTION]

[MENTION=2398510]burimii[/MENTION]

Can you capture some screenshoot of below apps or LTE log to let us know your band and operator info? Apps for your options:

https://play.google.com/store/apps/details?id=net.simplyadvanced.ltediscovery

https://play.google.com/store/apps/details?id=cellmapper.net.cellmapper

https://play.google.com/store/apps/details?id=com.blueline.signalcheck

---------- Post added at 02:01 PM ---------- Previous post was at 01:42 PM ----------

---------- Post added at 02:32 PM ---------- Previous post was at 02:21 PM ----------

[MENTION=1987749]Aqq123[/MENTION]

really good thought to dig into NON-HLOS.bin , in other model, I know NON-HLOS.bin can rename ti NON-HLOS.img/iso and use WinImage to view it; but inside, you will not found much crackable thing;

I have another approch like my NEXUS5 successed story, add more RFNV into EFS to make more bands.

STEP1 collect qcn files from other devices with simular RF frontend design

STEP2 filter out want is lack in MI NOTE Pro nv items, need tools only on me

STEP3 trail some filtered small qcn to adding more missed RFNV on MI NOTE Pro EFS in right network location

in fact I have manage to make 2 set of 6 filtered files attached

, asking help here to B2,B4,B8 coverage users with MI NOTE Pro 2015022 to test them.
[Xiaomi Mi Note Pro] OSM:
Hi,

Do you have QCN with B3 settings?

I am trying to enable B3 on OPT US version.

Thanks
[Xiaomi Mi Note Pro] Azlun:
for OnePlus Two? I do not have, If you have China version qcn and US ver. qcn, send to me azlun.xie@gmail.com, I can try to check any thing I can do.

you may also backup your modemst1 and modemst2, then try others Snapdragon810 qcn with your luck, but chance is depand one RF front end design and layout difference, low chance.
[Xiaomi Mi Note Pro] OSM:
Hi,

Another question I have, is how do you flash/program the partial QCN (with the band information only)?

Do you merge it with full QCN file?

Thanks
[Xiaomi Mi Note Pro] Azlun:
You need to learn by yourself how to use QPST-Software Download-Restore

phone has only one EFS stored including RFNV, it is a kind of file system, any items not exist, it create with my values; any items exist,it overrides;

that is why I strongly said backup your EFS partitions modemst1 modemst2, before your do qcn restoring. then if you have any wrong, you can restore it in TWRP or fastboot flash modemst1...
[Xiaomi Mi Note Pro] OSM:
Thanks for the clarification.
[Xiaomi Mi Note Pro] The_real_Narutoxik:
hello,

many thx for this guide

but i don't understand the 16.10 point

i can't chose 0x380 ? they have 0x3 or 0x80

tanks i am "bloqued"
[Xiaomi Mi Note Pro] EMJI79:
Azlun, did you unlock the Mi Note Pro missing bands for sure?
[Xiaomi Mi Note Pro] TheUltrametricSpace:
Thank you so much!

You helped me, help myself!

I just got a Mi 5 and was stupid enough to change my band mode to "USA Band" ... and so killed my first sim card slot.

After spending one day on the internet, finding the right Qualcomm drivers, I was able to revert my stupid mistake.

Thank you thousand times for this topic and the tools.
[Xiaomi Mi Note Pro] ivofena:
Hey guys,

Has anyone had any luck unlocking any of the LTE US bands, the once I'm mostly interested in are 2, 4, 12. I'm using Mi Note Pro.

Thanks guys!
[Xiaomi Mi Note Pro] zaborek:
its works for me!
[Xiaomi Mi Note Pro] EMJI79:
Did you try "LTE Discovery" app to check new bands are actually unlocked?
[Xiaomi Mi Note Pro] ivofena:
I tried it but no luck, I'm still only able to get 3G and HSPA+. Could it be the version of the phone is different?
[Xiaomi Mi Note Pro] TheUltrametricSpace:
I am trying to do something similar on the Xiaomi Mi 5 and well what you do seems fishy to me.

[MENTION=5456911]Kahun[/MENTION] The preferred and configured values should be the same. .... that's what the band_pref* and rf_bc_config do.

To me, it looks like you enabled more bands in rf_bc_config, but at the same time disabled some with the band_pref* values. What's confusing, why enable more to disabled it a bit later.

The way I get it: All bits out of the 64Bit in rf_bc_config should also be set in the combined band_pref* 64Bits.

So either you didn't do this, or I made a mistake when triple checking your values. Either way, could you please comment on this.
[Xiaomi Mi Note Pro] MerlijnD:
I can confirm that this does

NOT!

work for band 20, i've removed all 4g bands except band 20 and now it only connects to 3G. I've also tried all possible combinations, settings etc, but it simply does not work.
[Xiaomi Mi Note Pro] Kahun:
Guide was not written by myself as it was a share from a fellow MIUI user, if you got any question I suggest you contact him directly here http://en.miui.com/space-uid-3217238.html
[Xiaomi Mi Note Pro] Azlun:
no, I never gotten a chance to try, no phone and no networks on my side now, so, success is waiting for everybody who is like to try my qcn...s.
[Xiaomi Mi Note Pro] Hgneto:
You just made me cry. #Crymuch

Hope another user can manage to unlock band 20 on the mi5..
[Xiaomi Mi Note Pro] mightyvenom:
You can say that again! Cry me a river that is, the missing band 20 is the whole reason I am not purchasing this phone (yet). Looking backwards at the previous Xiaomi devices that ran Qualcomm SOC, and analyzing their attempts of unlocking band 20 (800Mhz), it really doesn't give me that much hope.

But then again, we have a new Snapdragon 820 in town, might just be possible this time. Let's just hope for the best, patiently.
[Xiaomi Mi Note Pro] Kahun:
If you are having troubles with the values I suggest using the NV Calculator app https://play.google.com/store/apps/details?id=org.vndnguyen.nvcalc
[Xiaomi Mi Note Pro] TheUltrametricSpace:
For everyone who knows what Dual, Decimal and Hex is that topic is much better: http://xdaforums.com/showpost.php?p=64675180&postcount=11

It's super simple and explains it perfectly! All you need after reading (and understanding) that topic is a dual to decimal or hex to decimal converter.
[Xiaomi Mi Note Pro] Tun Khant:
I want to unlock more wcdma band. Is that possible?
[Xiaomi Mi Note Pro] derdigga:
So anyone willing to share his NON-HLOS.bin file?
[Xiaomi Mi Note Pro] gikoche:
Help me please. how can I do so that would be on my Xiaomi MI5 , the second SIM card has always been only the GSM?
[Xiaomi Mi Note Pro] TheUltrametricSpace:
I will write a tutorial on the MIUI forum and share the link with you here. Will take a day! I hope I don't forget it again. (Wanted to it this Monday.)
[Xiaomi Mi Note Pro] gikoche:
If Could you , please give a link
[Xiaomi Mi Note Pro] Mr.Nik:
who happened to use the B20, take a screenshot of the program "lte discovery"
[Xiaomi Mi Note Pro] SanguineDrone:
Hello,

I'm trying to enable bands on my Xiaomi Mi5, but it's not showing up in device manager.

USB debugging is enabled.

The 'Other devices' have VID 05C6 and PID90AD; they are my phone.
[Xiaomi Mi Note Pro] koxx:
edit : wrong topic ...
[Xiaomi Mi Note Pro] Obsidian88:
Does this require root or unlock BL for Mi5 ?
[Xiaomi Mi Note Pro] Kahun:
As far as I'm aware no just USB Debugging.
[Xiaomi Mi Note Pro] pmcnano:
This thread is completely misleading. They should change the title as there is not even one confirmation of it working (with screenshot of LTE discovery).

I'm pretty sure the people that "made it work" are using one of the default bands.
[Xiaomi Mi Note Pro] Kahun:
If you do read the replies people did get it working but had problems with Band 20 but they got around it.
[Xiaomi Mi Note Pro] pmcnano:
If you do read my message. I wrote there's not even ONE confirmation with LTE Discovery screenshots. I have read the complete thread.
[Xiaomi Mi Note Pro] SanguineDrone:
Hi we have some screenshots of band 8 on LTE discovery on the mi5 thread, along with some other stuff. But we need more people to try and confirm!
[Xiaomi Mi Note Pro] Azlun:
both of you are right, MI NOTE PRO is lack of a screenshot to prove OP steps or adding my qcn works or not; MI5 maybe already have,while this thread topic is not for MI5
[Xiaomi Mi Note Pro] Aqq123:
A new version of Redmi Note 3 goes on sale in Taiwan tomorrow. It will support 4G LTE bands 1, 2, 3, 4, 5, 7, 8, 20, 28 (newly-added bands in bold). The other hardware specs are the same as the Pro (Snapdragon 650) version. It will be interesting to know which (if any) of the new bands are enabled by a software change only.
[Xiaomi Mi Note Pro] zobex89:
Hello, it is possible to unlock the 900 MHz band in 3g
[Xiaomi Mi Note Pro] afro972:
Hi

Nobody unlock band 20 (800mhz) ?

thx
[Xiaomi Mi Note Pro] xAnubiSx1:
I have a problem trying to enable diag mode. I run the code *#*#717717#*#* the led blink and displays the toast. But in the device manager nothing happens.

I have a Xiaomi Mi Note Pro, MIUI 7.3.2.0 (LXHCNDD) USB debugging is enabled and it's rooted.
[Xiaomi Mi Note Pro] mati69ase:
Working method on Win 10!

Hi! It is doable in Win 10, I made it myself.. I'll tell you how:

You have to do everything as it says until point 7, then you must add the COM port by yourself (what is quite easy actually)

Add new port ---> Serial/USB Ports ---> Port: "COMxx" (put on the name of your port, mine was COM8) ---> Port Label: "COMxx" (same as before) ---> Ok, done..

Now, you refresh and go to QXDM:

Options ---> Communications ----> Port type --- > Click on your COM port

Target port: COMxx ---> Ok, done..

and all set to keep on at point 12!

As I have Claro here at Argentina, I must change my SIM to try if I got it running or not 7/28 (700).. As soon as I get it, I'll do a capture to confirm either if it works or not.
[Xiaomi Mi Note Pro] cervantespepenk:
i cant instal driver for qualcomm. its "driver is not intended for this platform" anyone got the solution for the driver ??

im using win 7 32bit
[Xiaomi Mi Note Pro] Vitalik83:
Hi, by mistake I entered wrong value into 01877 and now I have No service even if I enter old value.. What can I do with it? Any suggestions?
[Xiaomi Mi Note Pro] Igoran:
Reflash LTE modem, or flash whole firmware. It must reset nvram settings to defaults, according to messages above.
[Xiaomi Mi Note Pro] Vitalik83:
Thanks for the reply, but how to flash lte modem? Can't find solution in google
[Xiaomi Mi Note Pro] gersp:
You tell us my friend :fingers-crossed:
[Xiaomi Mi Note Pro] mati69ase:
Didn't work.. :(
[Xiaomi Mi Note Pro] oleht:
Can someone send me qcn backup for mi note pro. I can not repair my imei and baseband. i will be very grateful
[Xiaomi Mi Note Pro] tj_style:
I also need the qcn/xqcn backup for fixing "no signal" problem. thanks..
[Xiaomi Mi Note Pro] otto8:
I'm on E+/O2 in germany. They send on LTE band 20 only. Mod tried on my Xiaomi Mi Max Pro (snapdragon 652): LTE Band 20 does definitively NOT work on THIS phone, maybe on others ... Seems to be hardware related ... Apart from that my Mi Max works normal (gprs, edge, hspa hspa+).
[Xiaomi Mi Note Pro] andrywiranata:
Superb

Thanks. Mi mi5 has 2 SIM Slot. I don't know what happened but both SIM slot cannot read SIM (after I tap some USA LTE 4 option). Now SIM 2 works fine, thanks to you, Still try to figure how to restore the SIM 1. Many Thanks,
[Xiaomi Mi Note Pro] ryuken11221:
Hmmmm so why wouldn't this work on other xiaomi devices
[Xiaomi Mi Note Pro] teampanXDA:
Same case as you. Selected USA Band on SIM 1 and turned into "no service".

And then change sim card to slot 2 and everything going normal.

I've tested this method to my MI5 on sim 1 and now it work perfectly on both sim. I will try to insert "Smartfren 4G" sim card in slot 1 :good:

Greetings from Bandung, INA
[Xiaomi Mi Note Pro] pakidermo5000:
Hi [MENTION=5256159]Azlun[/MENTION] did you get anywhere with the modified qcn ?

I do think it is the solution to make it work. It seems to me that changing the NV values enables the bands if these bands have data (frequencies to look for etc) already in the modem. Oneplusone does not have data on b20, see http://xdaforums.com/oneplus-one/general/discussion-hlos-reverse-engineering-t3292829

so, even if you enable it it will not work. I think that creating a frankestein qcn is the way to go. Just take the original qcn, and add the data from other qcns from phones with the same hardware that have it active.

I would do it myself if I knew how.
[Xiaomi Mi Note Pro] matndoel:
Thanks
[Xiaomi Mi Note Pro] drzhf9:
yes, you're right. without correct firmware, no matter how to change the NVRAM the LTE wont come, anybody do me a favor and give me LTE modem firmware for xiaomi5? thanks a lot!
[Xiaomi Mi Note Pro] mrcesarmx:
Works in snapdragon 808 mi4c?
[Xiaomi Mi Note Pro] sarvesvara.dasa:
I doubt. it might not work !
[Xiaomi Mi Note Pro] chinnat:
I do not see my computer searching for driver under Ports (COM and LPT). Nor is the 'Other - USB Device!' accepting any of the Qualcomm drivers. What am I doing wrong?
[Xiaomi Mi Note Pro] EMJI79:
I have never heard of anyone having this mod work on the Mi Note Pro for more than a year, you're probably wasting your time.
[Xiaomi Mi Note Pro] escotty77:
Mi5 Pro is a no go for this

I have tried this on Mi5 Pro for Band 20 on networks O2 and Vodafone Czech Republic and for 100% it does not work. We have an LTE antenna beside our company that was placed there for our company and I tried it under the antenna.

However thanks for the attemp and hard work.