yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
The impedance matching of the antennae is to the output of the RF switches, and the differential in the matching between a 700-2600MHz antenna compared to 850-2600MHz antenna is very small.

I cannot confirm it at present, but I am confident that the antenna bandwidth used in the Mi5 will be matched to the PA bandwidth, not to the arbitrary band sub-set(s) designated.

As to your three points on the calibration, I suggest that you study the full set of NV RAM values for multiple phones that use the WTR3925/77646 combination, and you will see in the main transmitter, receiver, PA and LNA settings, a wide disparity and variance between manufacturers and also devices from the same manufacturer.

It is not as simple as setting a PA max current, as there is no settings for the PA max current, only for the calibration current constraint.

The max current is determined by the network power control loop that runs between the UE and the base-station in use, to drive the RF Power setting to achieve the level needed for the call at that Instant. If there is a poor calibration set, the UE will drive harder in response the the UL Power control request.
[Xiaomi Mi 5 Guides, News, & Discussion] fredda88:
What do you mean? B20 is in use in many countries, Norway being one of them.
[Xiaomi Mi 5 Guides, News, & Discussion] ALDOGIULIANI:
To unlock band4 is the sale problem with banda 20?

Enviado desde mi MI 5s mediante Tapatalk
[Xiaomi Mi 5 Guides, News, & Discussion] pakidermo5000:
Yes.
[Xiaomi Mi 5 Guides, News, & Discussion] sergey1977:
https://www.change.org/p/millet-tec...utm_source=share_petition&utm_medium=copylink
[Xiaomi Mi 5 Guides, News, & Discussion] Arnova8G2:
I do not understand why on the model LeEco there is any 4g is that mi5 no, But it has the same specifications.

LeEco (LeTV) Le Max 2 : https://www.kimovil.com/en/letv-max-2-x820/lte-4g

Xiaomi Mi5 : https://www.kimovil.com/en/xiaomi-mi5-32gb/lte-4g

So I sign : https://www.change.org/p/millet-technology-co-ltd-xiaomi-mi-phones-band-20-unlock
[Xiaomi Mi 5 Guides, News, & Discussion] fabioplata:
What about band 4? if possible modify the request to unlock band 20 and band 4 :fingers-crossed:
[Xiaomi Mi 5 Guides, News, & Discussion] pakidermo5000:
We have tried too, and it did not work. There is a thread dedicated to it.

For the change.org,i doubt any will work, but still worth a try.
[Xiaomi Mi 5 Guides, News, & Discussion] dunamos:
Hi,

Thanks a lot for your work, I'm following your steps like a great TV show !

Hope you can get this sacred B20 to work !
[Xiaomi Mi 5 Guides, News, & Discussion] notanybodyspecial:
Official Mi5 band 20

Sorry in advance for just posting an idea and not a solution, but Xiaomi now has an official distributor in Poland and you can get the Redmi 3S, Redmi Note 3 and Mi5 all with working B20 from a number of stores (at a much higher price than straight from China...). Unfortunately I don't have either of these (nor am I sufficiently technically inclined), but maybe you have some contacts that could send you the needed files from those phones?
[Xiaomi Mi 5 Guides, News, & Discussion] fredda88:
Can you provide an adress to a polish store that sells Mi5 with working B20?

Looked around and found none...
[Xiaomi Mi 5 Guides, News, & Discussion] notanybodyspecial:
Stores and distributor

As a new user I am apparently not allowed to post links, but please search "xiaomi xkom" or "xiaomi morele" (possibly add "polska" to that search) and Google should give you the links. The distributor is ABC Data, but that's wholesale only and only brings up a corporate relations page...
[Xiaomi Mi 5 Guides, News, & Discussion] fredda88:
Found nothing at those stores supporting your claim about Mi5 and B20, Redmi 3S and Note 3 Pro supports B20 but not Mi5.

Sad but unfortunately true!

From morele.net regarding Mi5 (google translated):

Anyway......Merry Christmas!
[Xiaomi Mi 5 Guides, News, & Discussion] notanybodyspecial:
Wow, sorry about that... I assumed that since they're officially distributed all would have B20. You're right, Mi5 is missing the band, the others do have it.

Sorry and Merry Christmas to you too
[Xiaomi Mi 5 Guides, News, & Discussion] dn*:
I'm new to this notion of modifying to get new bands - I'm thinking about picking up a Mi5 to use in Japan with a network that supports 1/3/19/28 (NTT Docomo) and it would be great if I could get it to support 19 (especially for indoor reception)

Is there a mod that works to enable B19? I'm seen a lot of Japanese blogs making the change, but there's rarely little follow up as to whether or not it works!
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
Hi,

At present the team has not tackled B19, the focus has been on B20, and towards B28 (AU/Pacific) and B4 (US/Americas).

Having a quick look at B19, it is in the same filter band as B5, which is functional, so would expect it may be quite easy, but having said that, we have not yet had any success with B20/28/4 yet, so I may be talking out my ****.

I have seen a few of the blogs on the B19 work, and as you say, there is no feedback as to the success or otherwise.

Some advantages we have found with the Mi5 versus other phones of similar design is that the ability to modify the NV parameters with the Qualcomm tools is straight-forward, without any security locks or other issues.

It will require (at a minimum) disabling the B5 parameters, enable the relevant B19 ones and writing to NV RAM. It was also found that the rffe_scan filters need to have an additional one enabled to get the best performance from B5.

WIth Xmas and other family events ongoing, it will be a week or two before any progress might be made - if you decide to go ahead with getting an Mi5, have it unlocked & rooted, as well as being familiar with Qualcomm RF tools, you would be welcome to join the "crash-test dummy" program:)

Cheers,

GM.
[Xiaomi Mi 5 Guides, News, & Discussion] glogal:
mumble mumble a bifrons question

...in the english section of the MIUI official fora there is a thread that talks about xyz bands available but "switched off", the guy worked to successfully activate the 850mhz (what he needed); and at some point of the thread there is the statement that the mi5 does not have the B20 in the very-important-umpa-dumpa-point-1 so even if you put the correct values where are needed ... nothing will happen ... ):

in many other places the strilli* are the opposite: i did it! i have it! it is possible!! i'm trying!!! etc etc

And for this scenario: Io tifo per voi!**

in others, a few, the question is not a technical one (the SoC, the umpa, the dumpa, etc) because is in the realm of the codex and the Law; and here the answer is, almost always, a full negative. )):

strilli* = ancient form of marketing from Italy (:

a famous one is: DONNE! è arrivato l'arrotino!!

Io tifo per voi!** = Go! Go! Go!
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
I can only agree, a lot of people saying it is done, etc, etc.

What we have found thus far is that the hardware devices support both B20 and B28, and have derived the majority of the calibration data, but at present we have not found the "magic key" to enable these bands.

It is something that some of the team will continue working on, more for personal learning and interest than through any absolute necessity.

Ciao

GM.
[Xiaomi Mi 5 Guides, News, & Discussion] iHack13:
Hi,

can someone help me out with this?

I want to know if unlocking bands with this method will work for devices like the Yotaphone 2.

In contrast to the Mi5 there is an international Version of this Phone YD201 (Band20) and a chinese version YD206 Without Band 20. (There is also another YD205 version with different bands)

I plan to get the chinese version. The devices are as far as I know identical. You can flash the international ROM on the chinese device and it will work. (It will turn YD206 to YD201) However it will still not support Band 20.

Maybe someone can have a look into this? I will try to get the correct files for the experiment if you tell me what you need.

Since these two Models are identical it may even be an easier and a first attempt with this method with a successful result. And maybe you gain knowledge from this experiment for further testing on the more difficult cases like the Xiaomis.

UPDATE:

I found the ROMs with NON-HLOS.bin

ftp://fw.ydevices.com/YotaPhone2/

Unpack the .zip and go to the folder "radio". There you will find the NON-HLOS.bin for each ROM.

If this is promising I can download all roms for you (fast connection) and then extract all the NON-HLOS.bin that are different according to their md5 hash and re upload them for you in one single archive.
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
So far we have not identified the way to get the Mi5 to "see" the other bands of interest, such as B20, B4 and B28.

The calibration data is required to get a good performance from the phone, which we have worked out, but so far we have not found the "magic key" parameter to achieve the band enabling.

The non-HLOS.bin files are difficult as we do not have the Qualcomm software tools to read them.

They can be mounted as a disk on Windows machines, and the file can be opened, but very little sense can be made from them. Qualcomm do not release the source code files for the Modem binaries, so there is a bit of a dead-end.

Shall keep digging around and see what can be found, but I am not overly optimistic for a B20-ful New Year....
[Xiaomi Mi 5 Guides, News, & Discussion] iHack13:
I thought that you can reverse engineer the modem drivers with IDA? At least I thought that this is what this guy has been doing, as he describes it: http://community.oppo.com/en/forum.php?mod=viewthread&tid=14596
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
Interesting, I had a brief look at the quoted post, but not being a software guru I would need to play around a lot - may have time later in January to look at it.

The first thing will be to identify the hooks where the NVRAM information is called, particularly that related to the UE_Scan for the active frequencies/technologies.

Being from the network side of the mobile world, it is assumed that the UE will scan the highest ranked RAT first (normally LTE), from lowest EARFCN to highest, then to the next highest RAT, from lowest to highest UARFCN, etc.

From what I have observed with the Mi5 thus far is that there appears to be some sort of limitation on this behaviour, so it may be band-locked from within the Modem software, causing it to only look at specific frequency bands within LTE (non-HLOS.bin is LTE-only Modem).

Cheers,

GM.
[Xiaomi Mi 5 Guides, News, & Discussion] matonka007:
One dude on thi forum talking that he did it (unlocked band 20 sucesfully):

https://xdaforums.com/mi-5/how-to/unlock-band-20success-t3530756
[Xiaomi Mi 5 Guides, News, & Discussion] sys01:
Guys B20 with the lastest update 6.12.29 work

Xiaomi updated modem

try with that value 2061584892127
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
Hi,

The poster the referenced thread is talking rubbish, definitely not working using only NV6828.

That is simply the first step, as the RF Cal values are not written, the transmitter is not enabled, etc.

---------- Post added at 11:18 PM ---------- Previous post was at 11:13 PM ----------

I am not in a B20 region at present, so cannot confirm it, though I have 6.12.29 ROM installed.

Will run a compare on the Modem SW files between this and the previous release, 6.12.22 to see if I can also enable B28 for APAC region.
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
Have you been able to get B20 to work on the Vodafone Italy network, or other B20 networks? Please share a Network Signal Guru screenshot if possible.

Cheers,

GM.
[Xiaomi Mi 5 Guides, News, & Discussion] zanone:
ROM: 6.12.29

lte_bc_config : 2061584892127

Network: O2 , Germany

B20 is *not* working
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
Thanks, as I expected. I have extracted the non-hlos.bin for .22 and .29 ROM's, need to mount them as drives and pick them to pieces to find the differences.

There is no changes in the NVRAM data between the two versions, so even if the non-hlos.bin is modified to enable B20, the calibration values for the Tx, Rx, PA and LNA are still required.
[Xiaomi Mi 5 Guides, News, & Discussion] tndb:
Told it before but was a bit unsure about it earlier but apparently with most (if not all) 7.x cm/aosp roms, I dont get band8 reception/signal at all when I have sim in slot 1 but as soon as I swap over to sim slot 2 then *bing* b8 signal. (I only have regular 3g anyway without b8 support so its evident that it works with 4g and b8 :) ) Not sure why thats the case but might be worth to keep in mind when testing b20 support
[Xiaomi Mi 5 Guides, News, & Discussion] victoryo:
Hi, is this change in nvram permanent or do You need to do this after every new rom installation?
[Xiaomi Mi 5 Guides, News, & Discussion] victoryo:
Is followed this guide on 6.12.29 and network guru Listed B20 as supported now.....
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
On Mi5's the NVRAM change is normally permanent, with no encryption or other issues seen on phones like the OP3.

---------- Post added at 10:14 PM ---------- Previous post was at 10:10 PM ----------

Thanks for the screenshot, but due to my inattention, I did not say which page.... This shows that the NVRAM6828 value has been activated, but unfortunately this has worked for many months - it does not show that Band 20 is actually working.

If you can see Band 20 showing as the active cell on the first page of Network signal Guru, then you have B20 as active and working, otherwise you are still in the mud with the rest of us :(

Cheers,

GM.
[Xiaomi Mi 5 Guides, News, & Discussion] Arnova8G2:
Can you make a capture like this, please.
[Xiaomi Mi 5 Guides, News, & Discussion] victoryo:
I would love to.

But I dont know how I can let my provider try to use

band B20....
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
Yes please - I am assuming that screenshot is NOT from a Mi5?

Cheers,

GM.
[Xiaomi Mi 5 Guides, News, & Discussion] Arnova8G2:
You provider uses the band 20 ?

Whats is your provider ?

---------- Post added at 11:07 PM ---------- Previous post was at 11:04 PM ----------

Is a moto G4 with the rom MIUI8
[Xiaomi Mi 5 Guides, News, & Discussion] victoryo:
I am not sure. But my provider is Ziggo from the Netherlands.

I didnt follow this guide for B20 but just noticed it was in the supported list :)
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
OK, thanks.
[Xiaomi Mi 5 Guides, News, & Discussion] Arnova8G2:
Your provider ziggo use B7 https://www.frequencycheck.com/carriers/ziggo-netherlands

100% compatible with MI5

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

I get my MI5 in two days, I will do the test with full screenshots.
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
There are no differences in the modems in the 6.12.22 and 6.12.29.

Both software builds have the identical modem software package, "modem": "MPSS.TH.2.0.c1.9-00078-M8996FAAAANAZM-1"

Cheers,

GM.
[Xiaomi Mi 5 Guides, News, & Discussion] pakidermo5000:
As it seems from xioami's teasers, mi6 (to be presented on 14 Feb) will be a downsided Note 2,so probably it will have a "global" version. I expect it to be overly priced.

It would make no sense to issue a new modem for mi5 that allows B20, it would just reduce sales of mi6.

So, i don't expect any movement from xiaomi to activate allow B20 on phones that did not have it already.
[Xiaomi Mi 5 Guides, News, & Discussion] hitardo:
Nice effort!

I really hope you achieve your goal, despite me not having a Mi5.

Good luck.
[Xiaomi Mi 5 Guides, News, & Discussion] Arnova8G2:
The mi5 disassemble : http://cq.qq.com/a/20160317/015662.htm

POWER AMPLIFIER MODULE：SKYWORKS, 77646-51，Multimode Multiband Power Amplifier Module for Quad-Band GSM/EDGE – Bands1, 25, 3, 4, 26, 8, 13, 12, 20, 28, 34, and39,WCDMA/HSDPA/HSUPA/HSPA/LTE 。

RF TRANSCEIVERS：高通WTR3925，支持所有蜂窝模式和2G、3G 及4G/LTE频段；同

https://www.qualcomm.com/products/snapdragon/rf-transceivers

It is compatible for all bands ?
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
Please read through the thread, you will see extensive discussion on the PA and many other RF components of the Mi5.

I know the whole subject is long, but many valuable insights may be gained, and saving further unnecessary "bloating" of the thread for the many silent participants who are not actively engaged.

Cheers,

GM.
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
Perhaps I am mis-understanding your sentence, but if your provider has a B20 licence to transmit and a registered frequency allocation (and suitable network equipment), they will be transmitting on Band 20 - it is a matter of whether your phone has Band 20 enabled and functional, and also if your SIM & attached Service Profile will support operation on LTE Bands.

Cheers,

GM.
[Xiaomi Mi 5 Guides, News, & Discussion] n4m3less:
I try but not work...band 20 not connect
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
OK, thanks for the feedback.

It is as expected, since the original poster's information about the modem change is NOT CORRECT, as highlighted in https://xdaforums.com/showpost.php?p=70383576&postcount=653

Cheers,

GM.
[Xiaomi Mi 5 Guides, News, & Discussion] gamesky:
successfully unlocked using one of the guide and now it detects lte band 5

http://imgur.com/a/hQGkM
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
Yes, LTE Band 5 is fully configured and all the calibration curves are in the NVRAM, so addition of B5 in the NVRAM at NV6828 will bring it to life.

B20, 28 & 4 are completely different set of circumstances
[Xiaomi Mi 5 Guides, News, & Discussion] vega1977:
# rez
[Xiaomi Mi 5 Guides, News, & Discussion] n4m3less:
Thanks for your work.

how can I check my version of the modem? if i go in setting/Device Information my modem version is TH20c1.9-1221_1824_4ca3be1
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
Unzip the ROM package, extract the non-HLOS.bin file, then mount the binary as a disk drive.

From there you need to open the drive and find the packaging information, which will give the modem package details, amongst others.

I do not have the exact details to hand at present, but will try to post it in the next day or so.

Cheers,

GM.
[Xiaomi Mi 5 Guides, News, & Discussion] fkloznica:
Maybe band20 would be easier to unlock on mi 5s ?
[Xiaomi Mi 5 Guides, News, & Discussion] chan200606:
I just came across http://gadget.hrksv.com/2017/01/05/post-858/ which was posted in the last 24 hr. According to the Google translate of the page, this fellow appears to claim that he has successfully unlocked Band 8 in Japan. While he has used DFS Evolution instead of QPST/QXDM, the approach seems to be the same. So if his claim is real, then either Band 8 is already fully defined but disabled in the phone like Band 5, or DFS somehow can do more than QPST/QXDM?
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
Band 8 is already provisioned in the Mi5, it only requires enabling the bit in NVRAM 6828.

The calibration values for LTE Band 1, 3, 5, 7, 8, 38, 39, 40 and 41 are loaded in the phone, some (B5 and 8) are not enabled in NV6828.
[Xiaomi Mi 5 Guides, News, & Discussion] chan200606:
I see. So we can safely enable 1, 3, 5, 7 and 8, but other bands are probably not that easy.
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
Yes, I have been using B5 (850MHz) on Smart network in Manila and B8 (900MHz) with Telstra in Australia in the past two months on my Mi5.
[Xiaomi Mi 5 Guides, News, & Discussion] chan200606:
Good to know some actual experience. BTW you would have been lucky to get band 8 on Telstra, as less than 1% of their towers use this band. The majority of Australian 4G is on bands 3 and 28.
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
Was at Maleny, QLD, if I remember correctly. On Sunshine Coast is all B3.
[Xiaomi Mi 5 Guides, News, & Discussion] Arnova8G2:
This tutorial is easier to understand.

http://gadget.hrksv.com/2017/01/05/post-858/
[Xiaomi Mi 5 Guides, News, & Discussion] iHack13:
alright. I ended up not getting the Yotaphone. I ordered the Mi 5S instead.

If you need any data from this phone, let me know. Maybe there is some calibration data for B20. (I expect these phones to be fairly identical)

They also finally released a global rom a week ago. Doesnt add any B20 or so. But maybe there are some changes. You never know.
[Xiaomi Mi 5 Guides, News, & Discussion] skeetzor:
Unlocking b28 possible?
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
Experimenting with it, will be a week or three until I know, as I am back to the grind of work on Monday. The hardware devices in the RF front-end support B28, so there is a possibility.....

Cheers,

GM.

---------- Post added at 11:37 PM ---------- Previous post was at 11:33 PM ----------

This thread is NOT a tutorial, it is a "work in progress" discussion.

If you need a step-by-step tutorial on how to do the basics of using the tools to connect a device and enable test mode, then I suggest that one should not be playing around in NVRAM, but reading and learning what to do.

---------- Post added at 11:38 PM ---------- Previous post was at 11:37 PM ----------

OK, thanks, for the offer.:)
[Xiaomi Mi 5 Guides, News, & Discussion] stephendt0:
Also very interested - another Sunshine Coast resident here, B28 would be awesome.
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
I was just visiting this time, but my father grew up at Maroochydore, and many relatives still live thoughout the area.

Back in Manila now for work, but home is in Spain for myself and my family. It will take a while to find time to finish the B28 calibration files, but am hoping to finish them in two weeks.
[Xiaomi Mi 5 Guides, News, & Discussion] sergey1977:
there is global ver of mi note 2 with b20. maybe take qsn from here. i hope there is not big differences between snap 821 and 820 in modem
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
Yes, there has been one announced, but I have not found any places it is available for purchase - lots of e- shops claim to have it, but then they say they are out of stock.

If you know of anyone with the global Note2 who will provide their .qcn file (with IMEI deleted) for research purposes, please send me a PM.

Cheers

GM.
[Xiaomi Mi 5 Guides, News, & Discussion] iHack13:
I will help you find a store that has it.

Btw. I do not have a 4G carrier nor do I plan to get one. I am just here for the fun :D

edit:

First hit:

https://tradingshenzhen.com/mi-note-2/715-xiaomi-minote2-6gb-128gb-globalversion.html

kinda expensive though. gonne keep looking..

edit2: second honorbuy

spemall

source & proof

another edit:

this guy already received his global version. maybe you can get in touch with him and ask for the file. source
[Xiaomi Mi 5 Guides, News, & Discussion] Hank87:
Why we don't ask in the mi note 2 section of xda, I'm sure there is a developer that can help to provide the file.
[Xiaomi Mi 5 Guides, News, & Discussion] iHack13:
I am not a pro at this but as far as I understand the phone checks the partitions when its booting.

It was mentioned earlier in this thread that the bootloader will reject it if it notices a change in size or hash. not sure.

It's kind of qualcomms way to protect their lack of bands.

This is why people requested a bootloader unlock from xiaomi to bypass this check. Someone correct me if I am wrong.

As for the nvram dump. I would try another method to dump it. Let me look it up.

edit: source
[Xiaomi Mi 5 Guides, News, & Discussion] supercowz:
Of course my and my friend have mi note 2 bootloader unlocked ....

Envoyé de mon Mi Note 2 en utilisant Tapatalk
[Xiaomi Mi 5 Guides, News, & Discussion] iHack13:
can you share the files over pm?
[Xiaomi Mi 5 Guides, News, & Discussion] PJF16:
[MENTION=2470600]supercowz[/MENTION]

We would be also very interested in the files for the Xiaomi Mi Mix: https://xdaforums.com/mi-mix/help/xiaomi-mi-mix-chance-to-unlock-lte-band-t3504539/page2