yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 5 Guides, News, & Discussion] pakidermo5000:
Yes, totally true. And I know it is more about trying it, which I have had fun and learnt a lot, than actually getting it. Getting it is just the cherry on top. And, I have to say it is not only me trying. Others like greasymonkey or tndb have done even more than me.

What pisses me off is the fact that because of a stupid thing like band B20, a great phone like mi5 falls far way behind a lower end phone like a Jiayu S3, which has B20. In my area there is only 4G through B20. Try to browse anything with H+ and you will won't to throw your phone 200m down a valley. Webpages timing out... radio not streaming, tapatalk not loading, etc. In 4G (at 800Mhz) it is immediate. I understand that if you live in a big city, with coverage in other bands, you do not have these problems. But spending 250-300eur for a phone that can turn out to run slower than others that cost 1/3 is ridiculous and to me nonsense. Because come on, what we want from a phone is that it runs smooth, gets nice shots, has a good battery life, a nice screen, and allows us to run some games. If one of these conditions does not hold, it does not make sense.

I would not buy an S7, it is just too expensive and too main stream.

Ok, enough off-topic for today. ;)
[Xiaomi Mi 5 Guides, News, & Discussion] laueugen:
Nice said [MENTION=344039]paki[/MENTION]dermo.i totally agree with Your point of view ,i am în same situații and that is the only thing is bother me.sorry for off topic :)

Mi 5 Tapatalk
[Xiaomi Mi 5 Guides, News, & Discussion] fabioplata:
hello, Sorry i am not speak english so, for me its hard to read all post, I would like unlock band 4, i made all steps, using an app the phone show me that the band 4 its unlocked but dont conect, Im only change the number like the post say. need more.. thanks
[Xiaomi Mi 5 Guides, News, & Discussion] pakidermo5000:
if you follow post 1 probably won-t work. You need to add parameters into the NVRAM. You need that someone (or yourself) provides you a qcn with these parameters.

If you wait a bit... maybe you will find a qcn for B4 posted here...
[Xiaomi Mi 5 Guides, News, & Discussion] anarsoul:
I compared B4 with B7 and as far as I understand the only thing we're missing for B4 is RFNV_LTE_B4_TX_MULTI_LIN_V3_DATA_I

Correct me if I'm wrong, but TX is uplink, and B4 is 1710 – 1755 MHz which is very close to B3 - 1710 – 1785 MHz. Can we use a part of RFNV_LTE_B3_TX_MULTI_LIN_V3_DATA_I as RFNV_LTE_B4_TX_MULTI_LIN_V3_DATA_I? Does anyone understand format of this NvItem?
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
Hi, there are more than just MULTI_LIN missing, so far four others are identified.

In answer to your question about using B3 data, I am working on that direction, and yes, I know the format and role of each of the parameters. Myself, Pakidermo and some others are working on preparing a test .qcn file for B4, but it takes time and all of us have "real jobs" and family to fit in.... :)
[Xiaomi Mi 5 Guides, News, & Discussion] anarsoul:
Could you please share some documentation (or a link to forum post) on format and role of the parameters? I'm just trying to understand how much work it would be to add B4 support before buying mi5.
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
Hi,

I don't have specific documentation on these parameters, it is based on 40 years of RF engineering experience in labs, field and consultancy work with operators, suppliers and utilities.

The MULTI_LIN values relate to the transmitter and PA test conditions. They define the results for calibration and correction of signals to match the baseband signal to transmitter/PA pair to ensure the device emits a linear, undistorted signal.

The work is not so extensive, HOWEVER, it is reverse-engineering and without the complete information such as schematics, specifications, so there is no guarantee of success.

I would not be basing my decision to buy a device or not on work done for free and published on the internet.

If B4 availability is a "must-have", I would suggest some other device.
[Xiaomi Mi 5 Guides, News, & Discussion] djmajino:
oneplus 3 hw

Hi Guys, I'm not quiet sure if this info is already in this thread, but still I am going to write it.

I did some google mumbo jumbo again and find this pages

https://www.slashgear.com/oneplus-3-teardown-part-ii-whats-inside-28446199/amp/

http://www.myfixguide.com/manual/xiaomi-mi5-teardown/

those are both the teardowns of OnePlus 3 and Xiaomi Mi5

Accordind to the first page, the OnePlus 3 has this HW:

Qualcomm Snapdragon 820 MSM8996 as CPU

Qualcomm WTR3925 as RF Transceiver

Skyworks SKY77646 as Multimode Multiband Power Amplifier Module For Quad-Band GSM/EDGE – Bands (1, 25, 3, 4, 26, 8, 13, 12, 20, 28, 34, And 39) WCDMA / HSDPA / HSUPA / HSPA+ / LTE

and you probably know that theese pieces of hardware are used in Our precious Xiaomi MI 5 too.

Then I compared both of these phones on gsmarena

http://www.gsmarena.com/compare.php3?idPhone1=7995&&idPhone2=6948

and guess what?

by the gsmarena the OnePlus 3 supports Band 20(800) LTE

Hope, that this info is usefull.

Cheers
[Xiaomi Mi 5 Guides, News, & Discussion] im8a:
http://en.miui.com/thread-311977-1-1.html

There was some one able to figure it out. Just follow that post and you will be all good. Unfortunately, band 20 could not band unlocked
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
That method (changing NV6828 value) ONLY works for B5 (850MHz) and possibly B8 (900MHz) as all the other NV Items are already in place. Other bands need some or all NV Items to be configured, and possibly additional actions as well - the latter point is still an "item under study".
[Xiaomi Mi 5 Guides, News, & Discussion] djmajino:
Do you think, that it might help, that the oneplus3 has the same hardware responsible for LTE? As I noticed there was mentioned only cpu, rf trasmitter and amplifier. So if all of them are the same on OP3 as well as on MI5, it could be much easier to make it work somehow on MI5 ..
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
Pakidermo, myself and others have done a detailed study of the oneplus3's qcn file over the past six weeks, the NV Item files for the relevant settings do not match those used on the Mi5 for any bands, they use different NV Items , and have vastly different number of calibration points in some items.

This indicates that the OP3 is using a different calibration technique - there are at least three different calibration methodologies in use for the current Qualcomm RF360 product range, of which the WTR3925 is one device.

A modified OP3 qcn file has been used to try and make the Mi5 work, result was a dead phone. Also the Mi5 has been tried with the ZUK Z2Pro modem files which has B20, and same WTR device, again the result was that the phone was dead.
[Xiaomi Mi 5 Guides, News, & Discussion] PeeSko:
Hi, I have Leeco Le Max 2 phone. This phone has almost same specification like Xiaomi Mi5 with unlocked B20 band. If you give me instructions, I will help you.
[Xiaomi Mi 5 Guides, News, & Discussion] djmajino:
Damn, I was hoping that it would help you somehow. Now I can only imagine how difficult probem you are trying to solve.. If I find something similar again, I'll post here..

Specifications are one thing, RF hardware is another.. I tried to find some info about your phone, but no teardown so far. So maybe you have the same CPU, but the RF Transmitter and Multimode Multiband Power Amplifier could be completely different.. But what I think guys would need is the QCN backup file.. and maybe somehing more.. I dont know exactly. Just wait until they reply to your post..
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
Hi,

Thanks for your time in trying to help find a way through this maze :)

The majority of the NV Items are fairly easy to work out, but the TX_MULTI_LIN and PA_STATIC are real twisters.

The methodology I am using to try and find realistic values is to plot the known values for 2600MHz (B7) -> 850MHz (B5) in graphical form, and then playing around to determine some realistic curves for 800MHz (B20) and B28 (700MHz), knowing that the B7 values will be quite different as they use a separate PA chip (the SKYWORKS 77646 is only from 700 - 2400MHz), then based on my experience of RF tuning and parameter curves, take a educated guess as to how the devices respond as they get toward the band-edge.

The method seems to fit quite well, as it is quite clear that the 2600MHz values (where the PA's are in the test circuit) are significantly displaced, then the 2100MHz (B1) is on one side of the "centreline", which appears to be around 1700-1800MHz (B3) for the WTR/Skyworks pairing, with the values then change in the opposite direction for the lower bands, as I expected.

The trick is to judge how much the roll-off increases as the frequency approaches 700MHz.......

I am still not highly confident that this is the only thing (NV calibration values) that needs to be done - I have found some NV "switches" that turn on the RF power for the bands, but I am always on the lookout for something else that needs to be "turned on" in these files.

Am making slow progress, and since I am working in Philippines (but my home is in EU, hence the B20 interest), there is no B20 to test against, therefore I am doing B28 in parallel - if I can get some response from B28 which is present here, then I can feel a bit more confident.

There could also be an absolute blocker of some band-pass filters that I have not been able to identify in the photographs I have of the PCB of the Mi5.

If I had a good 40x microscope here instead of in my workshop 16 hours flying time away, I would open a Mi5 and examine it closely for the relevant components (chips inductors and capacitors), then I would know......

I have also looked for a teardown report, without success - thus far it appears that the in the model before (Le MAX, not Le MAX 2) the WTR3925 is used, but no idea on the PA, LNA, etc.
[Xiaomi Mi 5 Guides, News, & Discussion] PeeSko:
Le Max 2 uses WTR3925 http://www.ewisetech.com/Device/Mobile/Letv-Le-Max2(le-X820)_id2339/BOM
[Xiaomi Mi 5 Guides, News, & Discussion] tndb:
[MENTION=7046981]greasymonkey1960[/MENTION]

I probably asked before but did you use the existing band8 (900mhz) to compare against? Which is unlockable (verified) by just changing nvram values
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
Hi,

Yes, using B5 and B8, with those two curves I get a feel for the roll-off as the devices approach band- edge for B20 and B28.
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
Hi,

Thanks for the link - unfortunately the Le Max 2 uses an Avago Power Amplifier, therefore the calibration curves and settings for the B20_TX_MULTI_LIN will most likely be quite different to the Mi5.

These and the PA_STATIC values are critical to getting the device working correctly - if they are slightly "off", then overheating and battery drain, possibly device failure will occur.

Even with systems that use the SKYWORKS 77646-51 Power Amplifier have quite significant differences in these values.
[Xiaomi Mi 5 Guides, News, & Discussion] tndb:
Just thought of something.

Currently I have 3 Sony laying around (all with b20)

Z1 compact

Z3 compact

Z5 compact (going for sale shortly)

IF you have any use of qcn from each of these, let me know.

The other thing I thought about is how about we turn things around? With that I mean change some qcn values to see when b20 drops off and to figure out questionable values/settings? That could perhaps enlighten us?

I dont mind IF either of the z1 or z3 goes up in smoke for the sake of experiment. That means we can start easy and go absolutely crazy at the end IF needed :)
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
Hi TNDB,

If you could pull the qcn files for all three and send them by e-mail to me, that would be useful to have them if wanted/needed later - better to get them now than wait until the magic smoke has been let out......

It would be interesting to see the impact of disabling (set the first bit to "0", not the three digit power vale) the following NV Items:

21003 RFNV_LTE_B20_MAX_TX_POWER_DB10_I

24949 RFNV_LTE_B20_MIN_TX_POWER_DB10_I

I will have a dig through and see what other "switches" appear to be in use, and we can test the effectiveness of them.

Cheers.
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
Hi Pakidermo,

Yes, the power values in the MULTI_LIN strings are the optimised RF power values for given constraints in the pa_state and wave_type, as well as the APT and Current values, for a given RGI.

Currently staring at the graphs trying to identify the PA Switch points and how it impacts the different bands......:confused::eek:

If we can find some other "switch" values - I am thinking I have not seen any for the LNA (RX front-end), where I would expect there to be some..... When you are bored and got nothing else to do :laugh:

Cheers.
[Xiaomi Mi 5 Guides, News, & Discussion] traxxx79:
I just extracted the QCN from my Moto X 2014, which has B20 here in Germany. I thought I would find a NV Item for B20 in there. This was just for my personal interest.

Strangly this QCN has no B20. The Moto's QCN has items B1, B7, B17. It also has B13, while the Mi5s' file I extracted erlier has B40 instead. The NV Item Numbers are all the same for B1, B7 and B17. [MENTION=7046981]greasymonkey1960[/MENTION] and [MENTION=4339055]pakidermo5000[/MENTION]: I will send you PM with the QCN. No idea if it has any value for you.
[Xiaomi Mi 5 Guides, News, & Discussion] pakidermo5000:
:eek:

that´s weird... but B20 is usually a subband of B17, if I am not wrong. So, probably the phone does not use "B20" butin reality B17
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
Opened the file, the B20 datafill is there - I guess it was being viewed in QCN Viewer, where only the NV Items are visible, not the RFNV values.

As I advised Traxxx79, best to use QDART and QRCT tools, then you can see all of the RFNV values, and open up all the values in decimal.

Cheers,

GM
[Xiaomi Mi 5 Guides, News, & Discussion] traxxx79:
Yes, thats true. I used QCNView. QRCT shows the B20. My fault.
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
Hello All,

If you are resident in an area which has LTE B4 as an active LTE band, meet certain provisions, and have interest in being a "Crash-Test Dummy" for the Xiaomi Mi5 LTE Unlock project(s), please look at the following thread for more details.

http://xdaforums.com/mi-5/how-to/crash-test-dummies-lte-b4-americas-t3508002

The work that has been done on this is an offshoot of this current activity, which is for LTE B20.

If you are interested in participating, PM me

AFTER

checking the requirements for participants in the aforementioned thread.

Cheers,

GM.
[Xiaomi Mi 5 Guides, News, & Discussion] djmajino:
Does it mean, that if the band 4 will be operating well that you are a bit closer to understand how to get band 20 operating? :)
[Xiaomi Mi 5 Guides, News, & Discussion] yvessparks:
No... not at all...it will have nothing to do with it. That's why they post it here. Unlocking one band will have 0 knowledge gain on doing it for another...nothing. sigh...
[Xiaomi Mi 5 Guides, News, & Discussion] baskaflyfer:
Hi guys!!! Did you found something about NV_RF_HW_CONFIG_I ???

For me it's the last step to add lte band at OP3 A3000.

When i changed it to value from A3003, my phone finds band 20, but don't work band3, perhaps some more band.(and of course I have added all the necessary NvItems)

I hope you can help me with this question?!
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
Could you post a screenshot of B20 working, from Network Signal Guru ( first screen is enough)?

What is the NV Item number for the NV_RF_HW_CONFIG_I?

Sorry if I sound sceptical, but my guess is that you have changed the NV6828 and see it listed.
[Xiaomi Mi 5 Guides, News, & Discussion] baskaflyfer:
<NvItem id="1878" subscriptionid="0" name="NV_RF_HW_CONFIG_I" mapping="direct" encoding="dec" index="0">226</NvItem>

I changed and added a lot of values, i think, it's the last that i need.

Screenshot:

Look at LTE Cell Table.

1. I couldn't connect as a tower far away from me & i don't have SIM card of the cellular - PLMN 25002.

2. Sim card in the phone didn't work, because have no band 3.
[Xiaomi Mi 5 Guides, News, & Discussion] pakidermo5000:
Well, that is a good question. However, I guess you are talking about OP3 which has 2 versions sold, the american one and the rest of the world. I assume, OP3 has a kind of two sets of parameters that make the phone work differently (maybe in the modem?), so you need to change the "hardware" parameter as if it was the rest of the world version. But, then I guess the phone will stop working for some of the bands that are not found in america.

It is a good point to check, on which we have given some thought too. However, there does not seem to be a clear pattern across the different phones.

I remember I had transformed the value to binary to see if there was something understandable, but I could not see anything.

Do you think the HW_CONFIG can change the way the RF works ? THere is no harm in trying different values of NV_RF_HW_CONFIG_I. It could be an option.

<NvItem id="1877" subscriptionid="0" name="NV_RF_BC_CONFIG_I" mapping="direct" encoding="dec" index="0">844425152824192</NvItem>

<NvItem id="1878" subscriptionid="0" name="NV_RF_HW_CONFIG_I" mapping="direct" encoding="dec" index="0">220</NvItem>

One thing that makes me think it will have no effect, is the fact that it is found in the QCN area of WCDMA, but still worth a try. Also, I remember francesco tried to change it in the Zuk Z2, and he got no connection.
[Xiaomi Mi 5 Guides, News, & Discussion] baskaflyfer:
Yes, it's OP3 A3000 CN, A3000 US & A3003 EU

The modem is the same.

And at last i found NV_RF_HW_CONFIG_I

A3003

<NvItem id="1878" subscriptionid="0" name="NV_RF_HW_CONFIG_I" mapping="direct" encoding="dec" index="0">226</NvItem>

<NvEfsItem fullpathname="/rfc/0226/selfcal/dev0_fbrx_dc_cal_data.dat" name="/rfc/0226/selfcal/dev0_fbrx_dc_cal_data.dat" mapping="direct" encoding="dec" index="0">1,28,255,126,126</NvEfsItem>

A3000

<NvItem id="1878" subscriptionid="0" name="NV_RF_HW_CONFIG_I" mapping="direct" encoding="dec" index="0">231</NvItem>

<NvEfsItem fullpathname="/rfc/0231/selfcal/dev0_fbrx_dc_cal_data.dat" name="/rfc/0231/selfcal/dev0_fbrx_dc_cal_data.dat" mapping="direct" encoding="dec" index="0">1,6,243,120,126</NvEfsItem>

Maybe it be useful to you.:)
[Xiaomi Mi 5 Guides, News, & Discussion] pakidermo5000:
THanks,

this is for mi5

fsItem fullpathname="/rfc/0220/selfcal/dev0_fbrx_dc_cal_data.dat" name="/rfc/0220/selfcal/dev0_fbrx_dc_cal_data.dat" mapping="direct" encoding="dec" index="0">1,18,243,249,126</NvEfsItem>

sh*t I have just seen that the path contains the value itself !!

<NvItem id="1878" subscriptionid="0" name="NV_RF_HW_CONFIG_I" mapping="direct" encoding="dec" index="0">220</NvItem>

fsItem fullpathname="/rfc/0220/selfcal/dev0_fbrx_dc_cal_data.dat" name="/rfc/0220/selfcal/dev0_fbrx_dc_cal_data.dat" mapping="direct" encoding="dec" index="0">1,18,243,249,126</NvEfsItem>

I have the LG G5 and Zuk Z2 Pro QCNs at home. I will compare them.
[Xiaomi Mi 5 Guides, News, & Discussion] baskaflyfer:
Okay!!!

If you'll find something interesting, let me know:D
[Xiaomi Mi 5 Guides, News, & Discussion] greasymonkey1960:
Hi

Thanks for posting the screenshot, most appreciated.

A RSRP of -141 is extremely low, about 15dB below the minimum signal level for a 4G UE to camp onto (-128dBm is considered "out of coverage" in the optimisation business). The other thing is that the L2600 signal with the same PCI (normally on the same sector/site) is a similar level, which is odd, as their propogation characteristics are totally different.

The thing that worries me about the B20 signal you are seeing is that it may well be "leakage" through another band's filter, so it may well never be strong enough to camp on.

I must say I am REALLY impressed with the tuning of the MEGAFON LTE network - to see -91dBm RSRP and 27dB SINR is really good - I assume that is was on an indoor micro-cell, because I would be really jealous if it is an outdoor Macro site.....

Now that I have got access to my phone through QPST and other tools, I am trying to figure out what the HW ID coding can tell us, and if we can figure out what value to use.

I am thinking that for the Mi5 we may be able to try and identify the HW codes - for example the HW board name for Mi5 is "Gemini", and there is great long list of different names.

Perhaps if we can find the HW ID of the Note2_Pro International version, we could see if that will switch things on?

The weekend is coming, thinking caps on...... :)

Cheers,

GM

EDIT.

I just stumbled onto something potentially interesting - The very last item in the EFS File is

<NvEfsItem fullpathname="/rfc/rffe_scan/rffe_scan.dat" name="/rfc/rffe_scan/rffe_scan.dat" mapping="direct" encoding="dec" index="0">

rffe_scan is used in tunable RF Filters, to adapt them to the desired frequency, amongst other things...

From what has been seen (extremely low RSRP) which looks like filter leakage, this NV item may be well worth further study and to understand what it is setting, in terms of filter roll-off, etc.

Digging around in Google, I found a book, "Tunable RF Components and Circuits: Applications in Mobile Handsets", where rffe is used as part of a co-existence filtering algorithm for allowing Band 40 to co-exist in a single device with 2.4GHz WiFi.

I am not sure if this is the only use for it in the Mi5 (could well be), but it may also be used to tune the RF filters for the Rx and Tx channels.

Further digging around & I found this little gem http://www.skyworksinc.com/uploads/documents/Rx_Diversity_FEMs_PB130_15.pdf - whilst the actual chip does not appear to be used in the Mi5, it is clearly obvious that the technology and use of the rffe-scan information could very well be linked to the tunable RF pass-filters in the front of the LNA's.
[Xiaomi Mi 5 Guides, News, & Discussion] apple11:
Can you do it for the mi max

---------- Post added at 12:18 AM ---------- Previous post was at 12:17 AM ----------

Do it for mi max
[Xiaomi Mi 5 Guides, News, & Discussion] fredda88:
Your welcome :good:

Waiting for a Pro here in Sweden so i can't help out with testing until they release it!
[Xiaomi Mi 5 Guides, News, & Discussion] fabikieser:
Waiting for my Pro in Germany aswell. I will try some options when it is here to unlock the bands.
[Xiaomi Mi 5 Guides, News, & Discussion] Joboy13:
I'm also waiting on the pro. Anyone has any idea when it will become available?
[Xiaomi Mi 5 Guides, News, & Discussion] pellemando:
It will prolly nevet gonna get released anywhere else then China and India. IF you want onw you havet to order it from china. Correct med IF I am wrong.

Nice digging and finding, following this thread with super intresse! Want to buy one pro, but only of we/you will br able to unlock the bands.
[Xiaomi Mi 5 Guides, News, & Discussion] Joboy13:
That's not what I meant. I mean that it's not yet in sale. If you buy it now, it's just a pre order.

My question is, when will it actually be available (in china ofc)?
[Xiaomi Mi 5 Guides, News, & Discussion] TheUltrametricSpace:
Rumor says after the 6th of April. There will be some kind of event.
[Xiaomi Mi 5 Guides, News, & Discussion] Joboy13:
Isn't that for huawei and meizu? Haven't seen any rumors about xiaomi
[Xiaomi Mi 5 Guides, News, & Discussion] TheUltrametricSpace:
*---------------------------------------------------------------*

Link: http://en.miui.com/thread-246683-1-1.html

Link: http://en.miui.com/thread-246698-1-1.html