yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 5 Guides, News, & Discussion] TEEEEEEEEED:
Gonna visit Norway in summer with my mom... She has a Huawei Mate 9 MHA-AL10 which lacks band 20 too... I'm trying to enable it too...
[Xiaomi Mi 5 Guides, News, & Discussion] gingerboy92:
hey i just found out about this. https://xdaforums.com/lenovo-p2/how-to/enabled-4g-ca-p2-t3707584

it works for b3/b7 pairs. but not for b5/b40. i'm just wondering, my carrier also supports intraband CA for one their their band(B5), i've already enabled B5, and also modified the value for "RFNV LTE B5 CA BC CONFIG" to include B5, but it still doesn't work. does anyone have any idea what else i need to change to enable intraband for B5?

---------- Post added at 06:04 PM ---------- Previous post was at 05:54 PM ----------

hey, how do you extract the parameters. i'm trying out how to unlock intraband for B5, i think it needs a few more parameters modified than just " RFNV LTE B5 CA BC CONFIG ". no idea where to start
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
Not with Mi5.

There is a clear hardware limitation, i.e. the PCB has no pin connection or tracks for the B20 connections to the WTR & PA chips.

If you read through the thread you would understand that all you're proposing has been done, plus a lot more.
[Xiaomi Mi 5 Guides, News, & Discussion] findrome:
I'm not clear on that hardware. Is that a modular component that could be sourced and swapped for one with the required support? Would current device drivers/kernels be sufficient?
[Xiaomi Mi 5 Guides, News, & Discussion] th3cr0w:
If I remember it correctly: SoC pin responsible for connectivity on B20 is not connected anywhere.

Possibly you would need to design full antena / amp circuit that will fit between battery and case to think about adding B20 support to Mi5.
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
The hardware mentioned is soldered onto the main printed-circuit board of the phone.

It cannot be swapped out - far easier (and probably cheaper) to go and buy a Xaiomi Mi Mix 2, then you have all the LTE Bands one could want.
[Xiaomi Mi 5 Guides, News, & Discussion] findrome:
New information

https://xdaforums.com/mi-a1/how-to/enable-lte-bands-t3681214/post76897540

https://xdaforums.com/mi-a1/how-to/enable-lte-bands-t3681214/post76897904
[Xiaomi Mi 5 Guides, News, & Discussion] Tauroka:
Unlocking band 3

Hi Everyone,

There may be some clue to the missing 'piece' if you try to unlock band 3.

My scenario was that I was trying to determine which band 40 cells where available in my area but was struggling to detect them due to the overwhelming strength of a band 3 tower in my area.

So I used QPST/QXDM to change the band mask to exclude band 3.

After a reboot, sure enough band 3 was no longer used and I could see the device move between 1, 7 and 40.

After my testing I used QPST/QXDM again to turn band 3 back on as described in this thread for band 20, then rebooted.

Panic! No band 3!

I then restored a xqcn backup; reboot; still no band 3.

Sinking feeling, now I've ruined it.

Wiped phone, installed China ROM, QXDM again, xqcn backup again.

Still no band 3.

I then restored a qcn backup; reboot; band 3 is back.

Returned to Global ROM.

I tried this again to see if the result is reproducible and I had the same sequence with global ROM.

So, at least for my phone (Mi5 Pro), if band 3 is removed from the band mask and the phone is rebooted, band 3 cannot be restored without using the qcn backup.

Given that many Mi5 phones must be at end of life, hopefully a few people would be willing to test their old phone where they weren't 3 years ago.

1. Make a qcn backup with XPST

2. Make a xqcn backup

3. Use QXDM to change the band mask to exclude band 3

4. Reboot

5. Test in a band 3 dominant area that band 3 is gone.

6. Use QXDM to change the band mask to include band 3

7. Reboot

8. Test in a band 3 dominant area that band 3 has not been restored (or it is just me/my phone).

9. Restore with xqcn file.

10. Reboot and test again

11. Restore with qcn file.

12. Reboot and test again

Now if this turns out to be the case for multiple users, whatever locks out band 3 could also be preventing activation of other bands whose supporting files are present.

Hope that helps.
[Xiaomi Mi 5 Guides, News, & Discussion] guillerg01:
I need to change the band of my samsung sm-s550tl phone for the 1800Hz band I live in Cuba my number is 5355545028
[Xiaomi Mi 5 Guides, News, & Discussion] sys01:
[MENTION=1068496]tndb[/MENTION] i've alredy typed and enabled Diag Mode, but either can't recognize my phone with QPST, maybe is win10 fault?
[Xiaomi Mi 5 Guides, News, & Discussion] Radeon89:
[MENTION=5825602]sys01[/MENTION] In the doubt, you can try with a different machine and see the results, preferably with Win7 on board.
[Xiaomi Mi 5 Guides, News, & Discussion] tndb:
Nah it works with windows 10 x64

Is your phone detected in device manager under ports? Your phone should have been assigned a comport number, if thats already taken care of and you have com4 for example then you might need to manually add it in QPST. My redmi 3 wasn´t found automaticly so I added it manually while my Lenovo Zuk Z1 was automaticly added so it can differ a bit I guess..
[Xiaomi Mi 5 Guides, News, & Discussion] sys01:
[MENTION=1068496]tndb[/MENTION] yeah my phone is recognized from the device manager

And it has it's com port but i don't know how to add it manually

if you can explain me it would be great :)
[Xiaomi Mi 5 Guides, News, & Discussion] tndb:
Alright

Just click the "add new port..." button and there you have "Port" and "Port Label"

If your phone got assigned COM4 then you type COM4 in both fields and then press OK and you should be good to go
[Xiaomi Mi 5 Guides, News, & Discussion] sys01:
Which of them? [MENTION=1068496]tndb[/MENTION]
[Xiaomi Mi 5 Guides, News, & Discussion] tndb:
COM5 as thats the diagnostics one (might work with the other one aswell since its the same device id but not totally sure) Go with COM5 :)
[Xiaomi Mi 5 Guides, News, & Discussion] sys01:
[MENTION=1068496]tndb[/MENTION]

I dunno what it is wrong

As you can see i 've enabled from QPST the COM5 port (COM6 is not working, so COM5 is the only option)

But if i go in QXDM in NV Browser all is in grey, as not clickable

I've also enabled the communication in the tab setting

See below, i forgot this ss:
[Xiaomi Mi 5 Guides, News, & Discussion] tndb:
Can you take a printscreen of QPST on the Ports tab if you havent solved the problem already?

Also in QXDM you need to select the com5 port by using the "Target port" dropdown menu (Communication section). Target port dropdown menu is the one selecting the currrent phone that you want to use but QPST must be setup correctly first before this works

edit: Saw you added the port printscreen, the phone should work I guess so you prob only need to select it from the target port menu in QXDM. The reason the phone is having a questionmark is prob becuase its so new and no proper id´s or something (my guessing)
[Xiaomi Mi 5 Guides, News, & Discussion] sys01:
[MENTION=1068496]tndb[/MENTION] screenshot of the ports tab is in my answer, below

Now i ll try as you said, and report again
[Xiaomi Mi 5 Guides, News, & Discussion] Pistachio20:
he will probably need root for the settings to stick though
[Xiaomi Mi 5 Guides, News, & Discussion] sys01:
[MENTION=1068496]tndb[/MENTION] okay well, your method worked perfectly

I changed ONLY lte_bc_config, from

2061584302149

to

2061719111903

that should open 12345.78 12 17 20 28 38-41 bands

and i've rebooted, but nothing changed, before i could't connect to 4G (Where my G2 was able to) and now i cant connect too

maybe should i modify also 3g/2g values? Or i forgot something?

maybe as [MENTION=6173338]Pistachio20[/MENTION] said, i need root to stick settings applied
[Xiaomi Mi 5 Guides, News, & Discussion] tndb:
Nah you´ve prob done everything right, ive tried the same thing on redmi 3 and lenovo zuk z1 (both which doesnt have band20 but hardware supports it) and I didnt get any band20 coverage on either of em so you basicly confimed that the same thing applies to Mi5. Im sure we need something else to activate band20 and my guess is a prepped NON-HLOS.bin but I cant say for sure but thats my guess.. (dont experiement with that yourself unless you are willing to make your phone a brick)

I didnt try to change any of the other 2g/3g values (or any other value for that matter) but I think [MENTION=6908205]TheUltrametricSpace[/MENTION] was gonna try some of that out.

edit btw you can doublecheck to see if the value sticks. Just reboot your phone if you havent already and read your lte_bc_config again to see if it says 2061719111903. Then you know if it was saved permanently or not
[Xiaomi Mi 5 Guides, News, & Discussion] sys01:
[MENTION=1068496]tndb[/MENTION]

As you can see values sticked after reboot, so no root nedeed

Maybe i need to write with the same values also the second parameter, but it is 0 even if i click read

Thank's a lot

^^
[Xiaomi Mi 5 Guides, News, & Discussion] J-A-J-O:
Hi

I was having problems with reception with mi5 also at gsm bands in Poland. I've played a little with nv editing and *#*#INFO#*#* settings. By default I have only USA Band option in INFO menu, I managed to add all GSM bands for USA, EUR, AUS and ASIA so now SIM 1 slot works great. But I lost signal on my SIM 2 slot. No matter if it's default card or not. No reception on SIM 2. Could anybody know how get work sim 2 also?
[Xiaomi Mi 5 Guides, News, & Discussion] j2002:
I will be very happy if you end unlocking that band but, do you realize there are similar threads in different forums (Oneplus One, Mi4, Redmi, Nexus 4...) that, at the end, the conclusion is the antenna doesn't allow it to work?

Again, I have the best wishes for this work and I hope no Mi5 will fall in a brick.
[Xiaomi Mi 5 Guides, News, & Discussion] sys01:
[MENTION=268846]J-A-J-O[/MENTION]

Hi

Can u explain me at all every single steps that did you done for get sim 1 works?

Also how i can into the INFO menù

Thanks
[Xiaomi Mi 5 Guides, News, & Discussion] tndb:
Chasing all the info I can and I found something interesting

http://xdaforums.com/oneplus-one/general/discussion-hlos-reverse-engineering-t3292829

And this brings me to the next point, dont flash non-hlos from another similar phone. Found my answer in the thread in the quote below

Pretty sure we have the solution in NON-HLOS but we need some major help if we are gonna progress and for starters we need to somehow disable the verification and if that works then we could possibly grab files from another phone with similar AMP and RF (if that matters) which already supports band20..

edit: License cost is the most probable cause which this post makes a good example of http://androidforums.com/threads/support-for-different-radio-frequencies-bands.909831/#post-6918680 and if the manufacturers can lock it by containing the allowed bands inside NON-HLOS.bin and protect it so you cant replace it easily due to bootloader verification of the modem file. Quick, secure and easy solution and no need to change any hardware. Makes perfect sense for me anyways
[Xiaomi Mi 5 Guides, News, & Discussion] Pistachio20:
if thats the case wouldn't an unlocked bootloader help our situation?
[Xiaomi Mi 5 Guides, News, & Discussion] juanchopl87:
lg g5 has hardware similar than xiaomi mi5
[Xiaomi Mi 5 Guides, News, & Discussion] J-A-J-O:
Hi, I did not get LTE B20 working, but get working GSM/3G bands wchich were previously lock. To get to info menu you press *#*#4636#*#*. Does anybody could provide me original values for 01877, 00946, 02954, 00441, 06828 in nv browser for mi5?
[Xiaomi Mi 5 Guides, News, & Discussion] fredda88:
We need to recruit this guy! http://bits-please.blogspot.se/ :)
[Xiaomi Mi 5 Guides, News, & Discussion] tndb:
We can already unlock bootloader so thats not the issue here, but we need to know how we can modify it so modifications to non-hlos can be done without getting the phone into bootloop due to verification process. Thats what my gutfeeling is telling me :)
[Xiaomi Mi 5 Guides, News, & Discussion] fredda88:
Yes , and that guy found and delivered a Full TrustZone exploit for MSM8974 :D

http://bits-please.blogspot.se/2015/08/full-trustzone-exploit-for-msm8974.html
[Xiaomi Mi 5 Guides, News, & Discussion] Joboy13:
The weekend is over and I'm curious about the tests from [MENTION=6908205]TheUltrametricSpace[/MENTION]. He was going to test it, but we haven't heard of him since.
[Xiaomi Mi 5 Guides, News, & Discussion] TheUltrametricSpace:
So, tested it and nobody can complain now. (Will document a bit better later.)

Changing the NVRAM values alone does not enable band 20.
[Xiaomi Mi 5 Guides, News, & Discussion] Joboy13:
Hmm. I don't know if anyone has read this thread (step 3), but what [MENTION=1068496]tndb[/MENTION] sais seems about right.

There is a verification process, added by qualcomm, so we can't tamper with the bands.

So, we might need to get a custom rom (or swap the kernel) or make one of our own. And that's a whole different project...
[Xiaomi Mi 5 Guides, News, & Discussion] J-A-J-O:
Nv Values for Mi5

Could anybody can provide me original values for 01877, 00946, 02954, 00441, 06828, 06828 in nv browser for mi5?
[Xiaomi Mi 5 Guides, News, & Discussion] Termynat0r:
I think we can find the piece of code which does that. I can try to do this in the next couple days.

But I don't know if we can simply modify the bootloader, even when it's unlocked.
[Xiaomi Mi 5 Guides, News, & Discussion] TheUltrametricSpace:
First post was updated and the information added: NVRAM values are not enough to unlock bands.
[Xiaomi Mi 5 Guides, News, & Discussion] TheUltrametricSpace:
ID Name orig. Value
00441 band_pref 0xFFFF
00946 band_pref_16_31 0xBFFF
02954 band_pref_32_63 131072
01877 rf_bc_config 562950035734915
06828 lte_bc_config 2061584302149
[Xiaomi Mi 5 Guides, News, & Discussion] J-A-J-O:
Thanks, could you provide me value for 06829 also? It seems I lost my second sim permamently...
[Xiaomi Mi 5 Guides, News, & Discussion] crazyazid:
do other nvram settings need to change?

hmm...does anyone have access to a phone with snapdragon 820 that has band 20 enabled (LG G5, Samsung S7, etc.. ). I don't otherwise I would check. I'm curious as to what values that phone has for 00441, 00946, 02954, 01877. Maybe the other settings need to be changed so the phone will use band 20 once its unlocked in the lte configuration (06828). Unlocking it may allow the radio firmware to use it, but perhaps the software won't use it since its not specified as a preference? Just a thought.

edit: Found this: http://xdaforums.com/galaxy-s5/general/how-to-add-rf-lte-frequency-bands-to-t2886059 they edited 6 values in the NVRAM to unlock the bands they wanted. They edited 00441, 00946, 01877, 02954, 06828, 06829
[Xiaomi Mi 5 Guides, News, & Discussion] Pistachio20:
he clearly states you need a custom kernal for this to work (he said rom and kernal but most likely only kernal) because qualcomm knows of this mod and put a verification in the kernal. i don't know if xiaomi added a verification into their bootloader as well but it seems we need at least a kernal for this to work properly.

i think this is a compatible custom rom but encryption needs to be removed first (please make sure you do your own research before flashing anything to your phone.)

http://xiaomi.eu/community/threads/6-3-17.30633/#post-280614
[Xiaomi Mi 5 Guides, News, & Discussion] crazyazid:
I wasn't sure if the anti tamper code mentioned in the Samsung S5 post is Qualcomm's or Samsung's. I know in phone's older than the S6, Samsung had enabled their KNOX security center by default. The anti tamper mentioned could be the KNOX system and not something Qualcomm implemented. If so, Xiaomi might not have this issue. I'm just speculating since I really don't know.
[Xiaomi Mi 5 Guides, News, & Discussion] Pistachio20:
i don't think its an s5 only thing since that thread is placed in the s5 forum BUT it is a general info thread attempting to explain how to do the mod on any qualcomm phone.

there is most definitely a check going on now question is whether it is kernal or bootloader or both. i hope some devs get on this so we can find a resolution.
[Xiaomi Mi 5 Guides, News, & Discussion] Joboy13:
The topic clearly mentioned that qualcomm added the anti-tamper code.

I really hope we can modify the bootloader when it's unlocked. The alternative is starting from scratch, and that's going to take some time...
[Xiaomi Mi 5 Guides, News, & Discussion] Termynat0r:
I took a lookat the xbl.elf file (I honestly have no idea if that's the bootloader or not)

There are several links to the non-hlos file, but in the code it looks more like a folder, consisting of ram images, flash configs, boot images, c-sourcecode.... ?

But I am not an expert at decompiling arm binaries...

Will keep looking

EDIT: Seems like hlos is a folder at runtime, I can't explain this, sorry :(

Also I found a huge block (~900mb) of data inside the xbl.elf file which I extracted, but I don't know the format
[Xiaomi Mi 5 Guides, News, & Discussion] tndb:
Not sure if you peeked into this thread before but this dude "unpacked" the hlos package and it might be of some good intel for peeking into the xbl perhaps? http://xdaforums.com/oneplus-one/general/discussion-hlos-reverse-engineering-t3292829
[Xiaomi Mi 5 Guides, News, & Discussion] airwebber:
Being in America, I would need you guys to figure out how to unlock the bands. I have my fingers crossed!

---------- Post added at 07:03 AM ---------- Previous post was at 06:49 AM ----------

I wonder if getting a look at the 5i's NVRAM values will help you guys. As that version will have other bands working and some of your bands disabled.
[Xiaomi Mi 5 Guides, News, & Discussion] veladem:
Just wondering, what tasks do you do that you need 4G for? Just wondering cause on a bunch of my other phones I'd keep 4G disabled cause I found it useless. (Downloaded big files on wifi.)

Thanks.
[Xiaomi Mi 5 Guides, News, & Discussion] airwebber:
I spend a lot of time on the road and actually sometimes sleep in my vehicle, so having LTE comes in handy.
[Xiaomi Mi 5 Guides, News, & Discussion] veladem:
You use 4G LTE to go to sleep? I'm confused now x'D
[Xiaomi Mi 5 Guides, News, & Discussion] tndb:
Where 3G as technology is mostly fine for most tasks on your phone it doesnt have the same coverage. LTE band 20 (800MHz) has an easier time penetrating walls etc where you normally only get 2G/GSM coverage and thats exactly my issue. On some places im at, there is zero 3G connection and I have to rely on 2G/Edge data connection which is painfully slow and most of the time nothing happens when trying to look something up, on that same place, 4G on band 20 covers that spot and keep my internet connection fluid.
[Xiaomi Mi 5 Guides, News, & Discussion] TheUltrametricSpace:
Just wondering, what do you need a new phone? Why doesn't the Nokia 3210 suffice? Do you need the internet wherever you are? Do you need a car, isn't it good enough to walk? Do you need a TV, isn't it much better and healthier for the mind to read a book?

What you ask is a philosophical question, and may be asked at the wrong place.
[Xiaomi Mi 5 Guides, News, & Discussion] veladem:
My old phone was sadly broken by someone. I do need internet wherever I am though, since it is necessary for my job. I don't "need" 4G however as it would be a luxury for me, 10mbps +/- is fine for me. I don't need a car, I actually bicycle. I have a TV, but just one, I keep my TV in my entertainment room, bedroom has a small bookshelf as does the garage.

Philosophical perhaps, but why not have informed discussions, it clears the air and helps people understand others reasoning. Further, if this isn't the place for informed, logic backed, discussions where is?

?
[Xiaomi Mi 5 Guides, News, & Discussion] TheUltrametricSpace:
I am happy that you took it in a good way :) thanks
[Xiaomi Mi 5 Guides, News, & Discussion] airwebber:
I am here to see if the other bands can be opened on the Mi5, not have a informed discussion with you regarding why I need/would like to be able to get LTE/4G on my cell phone. I am happy for you that you can get by with slower speeds, but that is not the case for myself and I would assume others and we should't have to explain in detail why we wish to have faster speeds.

Thank you to those that came to my defense. Sorry this briefly changed the topic of this thread.
[Xiaomi Mi 5 Guides, News, & Discussion] juanchopl87:
Something new of tests?
[Xiaomi Mi 5 Guides, News, & Discussion] tndb:
I have an idea of using an old z1 compact phone which has band 20.

Ive been trying to push to investigate this more but quite a few people just give up and say that the antenna in the affected phone doesnt support band20. I call BS on that and and easy way is to attach the antenna from z1 compact onto a phone with correct nvram values and then see the results to proove them wrong but I also dont wanna break apart my redmi 3 just yet and im selling my old zuk z1 so I need to get my hands on a device I can tamper with which preferably isnt glued together.
[Xiaomi Mi 5 Guides, News, & Discussion] juanchopl87:
I think, if anyone has one smartphone of those:

http://www.kimovil.com/en/list-smartphones-by-processor/qualcomm-snapdragon-820-msm8996

Compare with xiaomi mi5 with nvram.

All those smartphones has snapdragon 820.

LeTv Le Max Pro

LG G5

Samsung Galaxy S7

Samsung Galaxy S7 Edge

Xiaomi Mi 5 Pro or xiaomi mi5 64gb

HTC One M10

Sony Xperia X Performance

HP Elite X3

Vivo Xplay5

With snapdragon 820 and qualcomm x12 modem I think xiaomi mi5 can open other band.

See drivers, nvram values etc etc...
[Xiaomi Mi 5 Guides, News, & Discussion] tndb:
Im not sure the cpu is the big part here, you have AMP and RF chip aswell to take into consideration

mi5 has skyworks sky77646 as AMP and qualcomm WTR3925 as RF which I believe is the ones you need to find another phone with same or very similar components and then that way one could possibly try and exchange files from a phone with band20 onto a phone without band20
[Xiaomi Mi 5 Guides, News, & Discussion] juanchopl87:
Anyone smartphone has this too then?:

http://www.skyworksinc.com/Product/3070/SKY77646

https://www.qualcomm.com/products/snapdragon/rf-transceivers
[Xiaomi Mi 5 Guides, News, & Discussion] Joboy13:
I don't think the components are the problem. It's like I said before: qualcomm uses an anti tamper code, so we can't really do something untill we get another kernel or a complete custom rom. (as I've said before)
[Xiaomi Mi 5 Guides, News, & Discussion] tndb:
No both components does support band 20, the reason I mention them is IF you find another phone with similar components, then you Most probably can grab code from that phone and use it in a xiaomi phone with similar componens (after bootloader->modem verification is gone that is).

Why would xiaomi for example put any effort at all to support additional bands when it will only cost them more money in dev time? There surely needs to be some calibration data for each band for it to work regardless and thats prob why xiaomi are cheap but still packs quite some good hardware for its price since they dont spend that extra money on additional certificates to allow other bands and other stuff ofc
[Xiaomi Mi 5 Guides, News, & Discussion] juanchopl87:
I disagree

Oneplus 2 4gb ram and 64gb has band 20 and that smartphone is not expensive.