yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 5 Guides, News, & Discussion] caruandroid:
Band 5 working after unlocking. Sorry b no b 20 here to test
[Xiaomi Mi 5 Guides, News, & Discussion] Ch0rus:
That's just a lie. There's no Mi5 with support for B20, and there is no official Xiaomi sales in Poland.
[Xiaomi Mi 5 Guides, News, & Discussion] matonka007:
You are wrong. The sales in Poland are official http://www.mi.com/pl/ and confrimed by CEO of Xiaomi. Official distributor to Europe (Poland) is company ABC Data http://www.abcdata.com.pl/. Everything is official and Xiaomi officialy arrives to Europe. But about Mi5 with band 20 you are right there is no one. Yes Poland get official Mi5 Global distribution but the difference is only with informations on stickers on box, charger is for EU and owner guide is in PL language. Only Redmi Note 3 and Redmi 3S with band 20 confrimed.
[Xiaomi Mi 5 Guides, News, & Discussion] schledi:
Great Progress! How you did that?
[Xiaomi Mi 5 Guides, News, & Discussion] caruandroid:
There's a guide posted in mi 5 forum. I followed it and it is pretty much straight forward. To get the full function of the network GURU and LTE discovery. Your phone needs to be rooted.
[Xiaomi Mi 5 Guides, News, & Discussion] schledi:
Thanks for your answer. Do you have a link for us?
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
Congrats on getting B5 working. It is relatively straightforward as the phone by default has the RF band (CLR 850MHz) enabled for UMTS.

B20 is more of a challenge, with the requirement to first enable the RF section to work in the EU Digital Dividend / 800 MHz band.

If anyone has experience of editing the EFS and getting the properties and links set correctly, I would be interested - there are a couple of files that look interesting possibilities to enable the relevant bands.

G.M.
[Xiaomi Mi 5 Guides, News, & Discussion] sydeu:
I can't install the drivers, not sure what I'm doing wrong. I have activated diag via *#*#717717*#*# (it said activated I know these numbers here might be wrong) but it doesn't show up under ports instead just as non working devices called mi 5 and when manually trying to install drivers for all it doesn't work.
[Xiaomi Mi 5 Guides, News, & Discussion] caruandroid:
http://xdaforums.com/mi-5/how-to/mi5-mi-max-unlocked-bands-successfully-t3420808
[Xiaomi Mi 5 Guides, News, & Discussion] caruandroid:
Did you try different ports / another cable?

---------- Post added at 12:41 PM ---------- Previous post was at 12:40 PM ----------

Did you try another cable or switch ports?
[Xiaomi Mi 5 Guides, News, & Discussion] sydeu:
I've used different ports, cables and computers. In device manager it just says Mi 5 on 4 places and no idea which should have which driver. I've tried to randomly install drivers on them and getting them to show up under ports but still with yellow exclamation marks and none working.
[Xiaomi Mi 5 Guides, News, & Discussion] X-Nerd:
Band 4 doesnot work by now using this post instructions.

You con unlock Band 4 on your phone's software, but it doesnot connect to carrier's LTE Band 4.
[Xiaomi Mi 5 Guides, News, & Discussion] pakidermo5000:
wrong post. sorry

813098[/url]
[Xiaomi Mi 5 Guides, News, & Discussion] smartpal:
i believe even if you theoretically enable B20 you must have calibration data for that band to work. While going through efs explorer on my M8 i found a lot of calibration files for various bands.

I could help. Though i dont have much experience. Today i tried editing nv backup(.qxcn file) and tried to add Band 40 on my HTC M8. I could successfully change the values but unfortunately they don't stick even with modified nv backup. no luck so far.
[Xiaomi Mi 5 Guides, News, & Discussion] pakidermo5000:
Hi I made some findings.

Taking the Nexus 5 example. They use the QCN file of the Nexus D820 to activate band 3 in the D821. Important point is that the D821 does not have the band data in its EFS. They use the data from the D820 as it is the optimal device from which to take the parameters as it is almost the same device.

You can see how they did it here:

http://xdaforums.com/google-nexus-5/general/radio-enable-lte-band-3-nexus-5-d820-t2928561

Well, basically what they do is to write in the NV, basically they write NVItems relative to the bands that want to activate. See the details in the post above. So, they write NVitem 6828 and 6829 to activate the bands (up to here is what the OP has done). This just tells the phone to search on this bands too. But, they also have to add the information (data, settings, whatever you wanna call it) of how to do it, how to scan what frequencies to look for etc; and this is found in other Items. In the case of Nexus 5 in 20278, 20279, ... and more importantly Item 24228, which I think is the multiplex band (if I am not wrong, some bands share frequencies).

-- Update --

They did also the same for Nexus 6 http://xdaforums.com/nexus-6/general/how-to-enable-nexus6-xt1103-4g-lte-t3042373

---

I have found and old thread where they explain the Items, http://xdaforums.com/showthread.php?p=33234706#post33234706

This can be useful somehow, because probably Qualcomm has already cahnged them. But is a good reference.

Then, most importantly, here I saw that some people used QCNs from LG G2 to activate the bands in Nexus 5. https://translate.google.com/transl.../2014/03/n5bandchange.html&edit-text=&act=url

So, it means that the parameters are transferable from one phone to the other. Of course, the more similar the phone the higher the chances it works, and works properly. Using the wrong parameters can lead to bad reception, more battery consumption, overheating... etc.

THe nice thing about it is that they take 2 QCN files, one from your device and another one from a device with similar hardware and with activated bands. They do the difference between the two files and see which are the NVItems that need to be included in order to unlock the bands (always, hardware permitting).

Since the phones are different, many Items will be different. But then, using the tables of NVItems or QXDM it should be possible to figure out which Items are the ones corresponding to LTE B20.

Next step is to copy the values of the NVItems for LTE B20 from the QCN of the phone with active band to our phone. This is, to make a new QCN adding the bands that are missing. Which is what they did from Nexus 5 D820 in the post above.

I think we are almost there.

I will try to work on this (I do not promise anything, as I am a complete noob), but first I will need the QCN of a similar device with active B20. So, oneplus 3, Zuk Z2 Pro, to name some.

Then, do the difference and look for the Items of LTE_B20.

THird, build the modified QCN (still do not know how), but I can build the xml file with the instructions for QPST.

Any help is more than welcome.
[Xiaomi Mi 5 Guides, News, & Discussion] pakidermo5000:
Some more progress,

Program to generate QCN files from xml files. In principle is a freeware of QRCT. It also does diff of two QCN files

https://github.com/linneman/orct

In this hub there is also an example of LTE volte, and a file with all NVItems explained. There are like 100 Items with B20.

Program to do diff of QCN files transformed to .txt

https://github.com/dl12345/qcn

a program to read write nv efs

http://cdmatool.com/download
[Xiaomi Mi 5 Guides, News, & Discussion] pakidermo5000:
Guys I need your help here.

1- I need a QCN file from one of the phones with SD820 and B20 active. That is any of:

LeTv Le Max Pro

LG G5

Samsung Galaxy S7

Samsung Galaxy S7 Edge

Oneplus 3

Zuk Z2 Pro

...

With this, I will try generate a file like the one for Azlun, that includes lte data not only lte config

http://xdaforums.com/google-nexus-5/general/radio-enable-lte-band-3-nexus-5-d820-t2928561

and then generate a qcn file that with QPST will be used to write to NV and EFS.

Without this, we cannot do anything.

Please if you have one, send the QCN to me.
[Xiaomi Mi 5 Guides, News, & Discussion] sydeu:
Maybe you could ask in the op3 forum? They should be very helpful it's a very nice community!
[Xiaomi Mi 5 Guides, News, & Discussion] smartpal:
[MENTION=4339055]pakidermo5000[/MENTION]

I wish i had one of the phones you mentioned so that i could help you.

And :good: for all the effort you are putting in. Surely you are so close to unlocking B20.

I almost lost hope trying to unlock B40 but your recent posts was a booster for me :D .

May be i could also try and unlock band 40 on my M8 the same way you would be doing it on Mi5.

Any how i would be ready to help in which ever way i could. You could count on me. ;)
[Xiaomi Mi 5 Guides, News, & Discussion] nikolaus2007:
I know it's the wrong forum for this question:

If this is possible on the Mi5, will it be possible for Mi5s as well?

Guess: Nobody knows? But is the hardware even capable of these bands?
[Xiaomi Mi 5 Guides, News, & Discussion] smartpal:
I would love to do the same with my M8. Requested some one to send me his qcn. waiting for it. Hope your approach works.

---------- Post added at 05:25 PM ---------- Previous post was at 05:12 PM ----------

if other Mi5s models support the bands that you are trying to unlock then sure it should work unless there is difference in hardware.
[Xiaomi Mi 5 Guides, News, & Discussion] :
When you do a manual network scan, you can also see if 4G Networks from other operators are found. Perhaps there is a provider that uses 800Mhz at your home. In Germany, for example, o2 uses nearly in every city Band 20.
[Xiaomi Mi 5 Guides, News, & Discussion] TheUltrametricSpace:
Sadly no.

Link: https://en.wikipedia.org/wiki/List_of_LTE_networks_in_Europe

Image:
[Xiaomi Mi 5 Guides, News, & Discussion] TheUltrametricSpace:
Whoop Whoop! I will do it as you wrote :p

SuperSU (Rooted device) didn't help me to see the LTE bands.

Screenshots:
[Xiaomi Mi 5 Guides, News, & Discussion] kylemd:
Interesting - maybe it doesn't support your Telco yet?

Was just reading the app description:
[Xiaomi Mi 5 Guides, News, & Discussion] TheUltrametricSpace:
Someone said the same before. I am on a sub-brand of Netcom... what's part of the TeliaSonera group. Guess the small sub-brand isn't supported.
[Xiaomi Mi 5 Guides, News, & Discussion] Radeon89:
I have a LG G2 and on my phone there is a hidden menu where you can see the LTE band where you are connected.

I have no idea if on Xiaomi phones there is something similar!
[Xiaomi Mi 5 Guides, News, & Discussion] TheUltrametricSpace:
Nice, what's the menu? How do you get there?
[Xiaomi Mi 5 Guides, News, & Discussion] Radeon89:
You have to dial 3845#*802# and press the green button like a normal call.

Then do the following steps:

- Click on WCDMA-Only

- Click on Modem Settings

- Clink on Engineering Mode

- Clink on Previous

- Read the LTE band

BUT AGAIN, this method works for my LG G2, I really dunno if Xiaomi phones have a similar hidden menu!
[Xiaomi Mi 5 Guides, News, & Discussion] rojocapo:
You can try to scan for engineering codes using this https://play.google.com/store/apps/details?id=fr.simon.marquis.secretcodes. You might have to change the dialer app if Xiaomi is blocking codes from the stock dialer.
[Xiaomi Mi 5 Guides, News, & Discussion] fredda88:
Try dialing *#*#64663#*#* that is the code for Test/Service menu on some other Xiaomi devices or try Settings >about phone>tap 5 times of Kernel version option.
[Xiaomi Mi 5 Guides, News, & Discussion] stothy862:
Looking into it it seems the Snapdragon 820 should support band 20 as it has the antenna built in, would be interested if I works! Good luck :)
[Xiaomi Mi 5 Guides, News, & Discussion] Oehr:
Thanks a lot for investigating this. I sure hope it pans out!
[Xiaomi Mi 5 Guides, News, & Discussion] Pistachio20:
i'd like to help but i didn't settle and am waiting for my mi5 pro so by the time i get mine this will either most likely be confirmed solved or confirmed impossible. i'm rooting for solved as it seems more than likely that with some troubleshooting this is more then possible.
[Xiaomi Mi 5 Guides, News, & Discussion] TheUltrametricSpace:
Just because you stated rooting.

You can root from the Security Center in the future :)
[Xiaomi Mi 5 Guides, News, & Discussion] Pistachio20:
thats awesome info but i said it as in cheering for your success ;)

but again really great to know
[Xiaomi Mi 5 Guides, News, & Discussion] p1nky:
which ROM has root included?
[Xiaomi Mi 5 Guides, News, & Discussion] idranoel:
the China developper.... but I think you have to unlock it first......

TheUltrametricSpace can explain it better
[Xiaomi Mi 5 Guides, News, & Discussion] TheUltrametricSpace:
Updated the second post with the following information:

What hardware is inside of the phone?

(Just another wild guess, be careful)

I googled a bit, instead of learning Norwegian and found the following. Link: Intrinsyc Introduces Qualcomm Snapdragon 820 Cortex-A72-Class Development Board, SoM and MDPs

How did I stumble upon this, I read on en.miui.com that the SD 820 has Qualcomm WCD9335 audio codec, and so found that link.

In the link a as connectivity the following hardware is stated: Qualcomm IZat Gen 8C GPS (WGR7640); and googling for this brought up that the same chip (WGR7640) is used in the SD 410.

One phone that has the SD 410 is the MOTO G (2015); so that allows us the very wild guess that the SD 820 will support at least all the bands of the SD 410.

Please share your opinion on this matter. (And consider the possibility that I am 100% wrong with the here stated assumptions.)
[Xiaomi Mi 5 Guides, News, & Discussion] fredda88:
Inside the Mi5 you will also find the skyworks 77646 power amplifier module and listed under it's 4G features is: LTE supports output power bandwidth bands 1, 25, 3, 4, 39, 26, 8, 20, 12, 17 (and sub-bands 9, 10, 18, 19)

http://www.skyworksinc.com/Product/3070/SKY77646
[Xiaomi Mi 5 Guides, News, & Discussion] TheUltrametricSpace:
Thank you for this information! This is great
[Xiaomi Mi 5 Guides, News, & Discussion] pakidermo5000:
Well, there are few issues to solve right now.

mi5 32Gb mi564Gb and mi5 128Gbhave different capabilities. The 128Gb allows CArrier aggregation (CA) up to three, while the other two only allow 2. This means that the values in the RFNV of the 128Gb and of the other two will be different. More info about CA, here http://www.androidauthority.com/lte-advanced-176714/

THus, I need:

- QCN file of a mi5 32Gb

- QCN file of a mi5 128Gb

Besides this it would be nice to have the QDART software to generate xml and QCN files. I think the OCRT that I posted above will work, but QDART is the official one from qualcomm.

It would also be nice to have the QRCT software. Please help me find it. So, I need:

- QCRT

- QDART

Then, we have to find out which of the other phones with SD820 and modem xl12 has carrier aggregation of 2 or 3, in order to get QCN from the phone that is more similar.

If everything is like the Nexus 5, we would just need to add:

RFNV_LTE_B20_CXXX_RX_GAIN_XXX_XXX,

RFNV_LTE_B20_RX_GAIN_XXX_XXX,

RFNV_LTE_B20_TX_MULTI_LIN_VXXX_DATA_XXX
[Xiaomi Mi 5 Guides, News, & Discussion] smartpal:
I hope you managed to get the required tools. Hopefully you are more closer to unlock B20.

Cheers Mate.
[Xiaomi Mi 5 Guides, News, & Discussion] nikolaus2007:
Maybe this helps: [MENTION=4339055]pakidermo5000[/MENTION]

http://en.miui.com/thread-311977-1-1.html

What's the actual state with band 20?

When changing lte_bc_config isn't enough, what else is needed, or isn't that clear until now?

What do you plan to do else? :)

Isn't QCN the file which holds lte_bc_config, so that wouldn't change anything also?
[Xiaomi Mi 5 Guides, News, & Discussion] pakidermo5000:
Thanks for the post.

Well, this is exactly what everybody has been trying, change lte_bc_config, and while it is a necessary step, it is not enough.

Then, there is the matter to know if mi5 is hardware capable of using band b20 ...
[Xiaomi Mi 5 Guides, News, & Discussion] xecuttor:
I'm about to buy Mi5 despite missing B20 bcs I like the phone so much! It would be so wonderful to have B20, would be a perfect phone!!

Let me know if I can help in any way without being a developer.
[Xiaomi Mi 5 Guides, News, & Discussion] pakidermo5000:
Help me find a qcn from Oneplus 3 (OP3) (european version) or Zuk Z2 Pro.

If you have a friend or someone you know with an OP3, would be great.
[Xiaomi Mi 5 Guides, News, & Discussion] fredda88:
Found a QCN for LG G5!
[Xiaomi Mi 5 Guides, News, & Discussion] RBSonic:
Which Band Specific Filers are used in Mi5?
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
Band-specific Filters?

Good question, up to now I have not seen any reference to them in any of the detailed teardown reports I have been able to access.

One interesting thought on this is that whilst Xiaomi are using Qualcomm devices in their RF stages (Transceiver & Envelope Tracker), they appear to studiously be avoiding the total RF360 solution from Qualcomm (with it's region-specific filter set), by using third party PAM's, such as the Skyworks 77646-51 PAM device (and AE switches) which uses a switch matrix for band selection, driven using a MIPI interface.

This suggests to me that they are using the inbuilt filters within the PAM, so with luck there is no external hardware filters.
[Xiaomi Mi 5 Guides, News, & Discussion] RBSonic:
we need fotos to see all chips. Specifications of chips can help us to find a solution. If only one of them has not band 20, that's all, the unlock is impossible.

---------- Post added at 02:31 PM ---------- Previous post was at 02:14 PM ----------

So i can understand, AE switches are Band Specific Filers. If you switch filters, you switsh bands, then signal goes to amplifier -> RF trasmitter->CPU/Modem.
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
Hardware Identification

So far this is what we have got thus far (please feel free to add any further links to technical references):

Xiaomi Mi5 Mainboard side 1

http://www.ewisetech.com/Device/Mobile/Xiaomi-MI-5全网通标准版_id2277/Part-Collection/Substrate-11698

Xiaomi Mi5 Mainboard side 2

http://www.ewisetech.com/Device/Mobile/Xiaomi-MI-5全网通标准版_id2277/Part-Collection/Substrate-11699

Skyworks PAM 77646-51 (Low/mid-band Power Amplifier)

http://www.skyworksinc.com/uploads/documents/SKY77646_203426D.pdf

Avago PAM ACPM-9407 (LTE Band 7 Power Amplifier)

http://docs.avagotech.com/docs/AV02-4858EN

The ACPM device appears to be wide-band enough for the 2.3 - 2.5Ghz B40 & B41 and 2.6GHz B38 which are all actively supported by the Mi5.

Qualcomm WTR3925 (RF Transceiver) Device is widely used in Samsung Galaxy S6 and iPhone 6s, definitely supports B20 and many others.

The QFE1100 (Envelope Tracker) is for power amplifier power-supply optimisation, and is not a frequency-dependant component.

The antenna switching is primarily handled by the Skyworks 13492, whilst no information is available on the RFMD device.

http://www.skyworksinc.com/uploads/documents/SKY13492_202826C.pdf

Cheers.
[Xiaomi Mi 5 Guides, News, & Discussion] RBSonic:
So I can see, antenna switcher is a simple switcher without filters.

Filters are may be in power amplifier.

So each band must have own port on amplifier.

I can not find datasheet for SKY77646 with details (ports, connectors, data interface etc.)

SKY77646 must have input port for band 20. This port must be connected to antenna switcher. If there is no connection, unlock impossible.

Antenna switcher is controlled with MIPI Decoder. We need config data and software for antenna switcher, amplifier, RF transmitter and CPU/Modem. Next question: where we can find all this? Is there this in Rom or NVRAM values?
[Xiaomi Mi 5 Guides, News, & Discussion] pakidermo5000:
As I understand the problem is not WRCT3925, but what is before it. This chip accepts all bands, but the phone will only get some bands depending on the filters, duplexers, amplifiers that each brand installed in the phone.

I do not have a lot of time today, but I am comparing the NV values of band B7 of the mi5 and the LG G5, and they are identical. This makes me think, that other band are also identical... I am wondring if the QCN only configures the WRCT3925 chip, which anyway is Qualcomm and it is found in many phones, and therefore will share same specs...

Lets hope...

In the end, the only way to check if it works, is testing it.

I think we are very close...
[Xiaomi Mi 5 Guides, News, & Discussion] RBSonic:
Antenna switcher -> Power Amplifier->RF Transmitter->CPU/Modem.

All this things need software changing.

Not only CPU and RF Transmitter must be same in another phone, AS and PA must be too. Then you can 100% copy software and past it in mi5.

We must know which part of sotware we copy. In your test you can may be update only CPU/Modem, but not AF, PA and RF. And mi5 will not work with band20.
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
The WTR3925 and SKY77646 appear to not have different outputs/inputs for each band - they are both MIPI bus devices, using this standard interface for setting the devices the requested band. The filtering appears to be incorporated in the I/O of the RF devices.

In terms of settings for the RFNV values, the idea of copying the values from a different phone is fraught with risk, unless ALL the RF devices the same as the Mi5 (I have not found one yet).

My approach is to plot the values for all the bands for each parameter, essentially characterising the RF devices in the individual phone, then extrapolate/interpolate each characterisation to determine a value for each band to be added.

This is not the easiest way, but having reviewed the RFNV data for B1, B3 and B5, the values are quite critical for the RF device performance, leading to battery and overheating issues.
[Xiaomi Mi 5 Guides, News, & Discussion] RBSonic:
"The WTR3925 and SKY77646 appear to not have different outputs/inputs for each band"

It must have! Because Antenna switcher has different outputs for GSM and LTE Bands.

---------- Post added at 09:45 AM ---------- Previous post was at 09:23 AM ----------

We must find phones (with active band 20) with same Antenna Switcher, Power Amplifier, RF Transmitter and CPU/Modem. All this must not be in one phone. For each device (AS, PA, RF, CPU) we must find part of sotware, which controll these devices and copy in Mi5.

But before, we must check a connection between AS and PA for band 20. And between PA and RF too. If we have not wires for band 20, unlock impossible.
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
My apologies if I was not clear, I was referring to intra-RAT bands, as the discussion was relating to LTE bands, not other RAT's.
[Xiaomi Mi 5 Guides, News, & Discussion] pakidermo5000:
You are absolutely right, if there are no wires, we are hardware limited. The problem is that we have no photos of the board, so we cannot check it.

What I try to do is set it in the software and check if it works. One way to know if the components between two phones are the same i checking the configuration. If they are identical like for some Items in the mi5, it probably means that the components are the same, if they are different, then no.

I have collected all the B20 Items from G5 and I am analysing them one by one. I will post my findings this afternoon. THere are some items that are 100% compatible with mi5, but other not. The biggest problem I have seen so far is that there is one item RFNV_LTE_B20_TX_MULTI_LIN_V3_DATA_

that has more bits in the mi5 than in the LG... so, 100% incompatible I would say. BUt, LG G5 and mi5 are not so close hardwarewise as the OP3, so I have hope that the OP3 QCN can help us in this, otherwise we will hit a wall.
[Xiaomi Mi 5 Guides, News, & Discussion] RBSonic:
"RFNV_LTE_B20_TX_MULTI_LIN_V3_DATA_"

I think it is CPU/Modem configaration, but how about AS, PA and RF? They must be configurated too.