Sympathic way to upgrade to Nougat By schluk & cvkef - Huawei P9 Lite Guides, News, & Discussion

https://forum.xda-developers.com/honor-8/how-to/sympathic-to-upgrade-to-nougat-t3510275
In short, the process tricks the updater that your phone imei is eligible for a Nougat OTA update.
Just edit the necessary url address and paths.
Tested and works in my P9 lite fully stock.
All credit goes to schluk & cvkef. Do not thank me.
How-to by cvkef: https://forum.xda-developers.com/showpost.php?p=69885525&postcount=11
Edited by me for noobs.
cvkef said:
I was able to repeat the process with the help of Charles app.
You do not have to manually download the update packages. The update packages will be downloaded automatically.
Info
The guide should applies to any variant and any update version (as long as region available). Just be sure to use the correct values where required.
Your PC / Mac and the smartphone must use the same WiFi network
Your smartphone's IP address can be found at Settings > About phone > Status > IP address (It should be something like 192.168.XXX.XXX)
I do not own Windows, but there is a possibility that you have to allow Charles app to listen for network traffic from Firewall settings. Maybe try to disable it while you are going through the guide.
Setup Charles app
Download and install Charles app (30-day trial)
Open Charles app
Select the "Sequence" option
[*] At the bottom, in the "Filter" enter the IP (check info at the top of the post to locate your smartphone's IP address) of your device (this will help you to isolate requests only from your P9 lite)
At the top bar, hit the "Start recording", "Start throttling", "Enable breakpoints"
From the menu "Tools", select the "Rewrite" and check the "Enable Rewrite"
Setup P9 Lite
At Settings > WiFi, locate your WiFi network, long tap it and choose "Modify network"
Display the advanced settings and for Proxy check the Manual option
For Proxy hostname enter the IP of your PC / Mac
For Proxy port enter 8888 (this is the default port for Charles app)
Apply network changes
Test the connection
From P9 lite go to Settings > Update and hit the button to search for updates.
If everything is setup correctly, back in Charles app you'll see the desired requests. If you are on Windows, there is a chance you'll have to disable temporally your Firewall or whitelist the Charles app to allow it listen for network traffic.
Hijack the request
Notes
Be prepared for the next step: 'Rewrite the response', because It has to be completed relatively fast.
If you delay then the update check at the smartphone will timeout and you'll have to repeat the update check.
So, copy the response from the next step to have it ready for quick paste.
From the logged requests, expand the "sp_ard_common", right click the request and select the "Breakpoints" option. This will pause the next identical request and will allow to edit the response.
From P9 lite, hit again the update button
If everything is correct, the Charles app will focus to desired request. At the bottom, hit the "Execute" button.
The response is executed and you should now be able to edit the response. At the top select the "Edit Response".
At the bottom select the "JSON Text" and proceed quickly to the next step before the request timeouts.
Rewrite the response
Notes
The below response is only for VNS-L31C636B331 update version.
You must modify the response for any other version of update and maybe variant of VNS. You just have to configure all the properties with the correct values. The pattern is easy to follow.
Select the response and replace it with:
Code:
{
"status": "0",
"autoPollingCycle": "1",
"components": [{
"name": "VNS-L31C636B331-OTA",
"version": "VNS-L31C636B331",
"versionID": "72074",
"description": "�? ?�?���?��?: [�?��?��??] VNS-L31C636B331 �?� VNS-L31C636B331 (2016/12/13)",
"createTime": "2016-12-13T03:18:12+0000",
"url": "http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1258/g104/v72074/f1/"
}]
}
Hit the "Execute" button.
If everything is correct then back at your P9 lite you should be able to view the update and the changelog. Before proceed to download the update read the next section.
Download the update
Before proceed to download the update, you have to disable the Proxy at your smartphone. So:
At Settings > WiFi, locate your WiFi network, long tap it and choose "Modify network"
Display the advanced settings and for Proxy check the None option
Apply changes and now your smartphone should be able to connect to Internet again
Now, go back to Updater and hit the "Quick Update" button to apply the update
A huge thanks to @schluk for providing this method!
Please hit the Thanks button at the first post to show your appreciation to @schluk
Click to expand...
Click to collapse

Plz explain more I don't understand
This work for c185?

You need to have knowledge in navigating through Huawei ROM server. Guides are available in XDA.
The rest is pretty self explanatory in the original link.

Please make video if possible. Thanka

Thanks a lot dude it worked! How did I never think about tricking the hicloud into thinking I'm eligible for the update...that dude is a genius.

Plz make video its better tnx

TeaSp00n said:
Thanks a lot dude it worked! How did I never think about tricking the hicloud into thinking I'm eligible for the update...that dude is a genius.
Click to expand...
Click to collapse
What did you use for the description??

xxMooz said:
What did you use for the description??
Click to expand...
Click to collapse
What do you mean for the discription? Just do everything as the tutorial says and it should work...

TeaSp00n said:
What do you mean for the discription? Just do everything as the tutorial says and it should work...
Click to expand...
Click to collapse
description": "�? ?�?���?��?: [�?��?��??] VNS-L31C636B331 �?� VNS-L31C636B331 (2016/12/13)"
The description has boxes

so sorry for this question where i can find my Proxy hostname enter the IP of your PC

xxMooz said:
description": "�? ?�?���?��?: [�?��?��??] VNS-L31C636B331 �?� VNS-L31C636B331 (2016/12/13)"
The description has boxes
Click to expand...
Click to collapse
Didn't notice that before so here's the deal:
1. Meanwhile that text changed for some reason in this thread.
2. It works with the "boxes"
I just copied and pasted the same thing as there and it worked just fine...

saeidf2 said:
so sorry for this question where i can find my Proxy hostname enter the IP of your PC
Click to expand...
Click to collapse
If you don't know such basic things then this update method isn't for you

TeaSp00n said:
Didn't notice that before so here's the deal:
1. Meanwhile that text changed for some reason in this thread.
2. It works with the "boxes"
I just copied and pasted the same thing as there and it worked just fine...
Click to expand...
Click to collapse
Tried it several times didnt work

xxMooz said:
Tried it several times didnt work
Click to expand...
Click to collapse
Hmm, you could try deleting "squares" so it would be something like this:
{
"status": "0",
"autoPollingCycle": "1",
"components": [{
"name": "VNS-L31C636B331-OTA",
"version": "VNS-L31C636B331",
"versionID": "72074",
"description": "VNS-L31C636B331 VNS-L31C636B331 (2016/12/13)",
"createTime": "2016-12-13T03:18:12+0000",
"url": "http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1258/g104/v72074/f1/"
}]
}

It worked Thanks a lot

cs_gwb said:
If you don't know such basic things then this update method isn't for you
Click to expand...
Click to collapse
i do it for C185 yessssssssssss

For P9 Lite L21C185
{
"status": "0",
"autoPollingCycle": "1",
"components": [{
"name": "VNS-L21-hw-meafnaf",
"version": "VNS-L21C185B331",
"versionID": "72756",
"description": "?? ??????????: [?????????] VNS-L21C185B331 ??? VNS-L21C185B331 (2016/12/13)",
"createTime": "2016-12-13T03:18:12+0000",
"url": "http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1258/g104/v72756/f1/"
}]
}

So if I wanted to download the version for the C432 localization this would work? I'd just need to change the localization in the code?
Also, may it cause any problems with future updates? What do you think is going to happen when the official update is released?

I have a question: I updated following this method but the package you get is incomplete. It misses many things and the phone is in fact unusable. Can you also download the additional package by following this method? Or is there a solution? I think you should've said that in the first place because I've followed the guide but now I'm stuck with an incompletely updated phone. Help me, please...

SALVO9 said:
I have a question: I updated following this method but the package you get is incomplete. It misses many things and the phone is in fact unusable. Can you also download the additional package by following this method? Or is there a solution? I think you should've said that in the first place because I've followed the guide but now I'm stuck with an incompletely updated phone. Help me, please...
Click to expand...
Click to collapse
This also happened to me, I didn't have anything EMUI related besides the installed apps, also I tried resetting the phone (dumbest thing I've done this year) and it ended up saying "Reset Failed" and now I'm stuck with a "Your device has failed verification and may not work properly." screen and when I boot into the actual system I can't get past the setup screen since it has no keyboard so I can't input my wifi password.
Now I'm trying to download the VNS-L31C432B161 4.4.1 emui version and try the 3 button method in order to get my phone working again, also, I can't install a custom rom because that screen that prevents me from entering fastboot mode or bootloader through adb so no luck there.

Related

[ TUTORIAL ][Umi Zero]NVRAM WARNING ERR 0x10 (random WLAN MAC ADDRESS)Definitive Fix

----------------------------------------------------------------------------------------------------
(23/02/2015)EDIT:If this method don't work for you use this app from PLAYSTORE:
https://play.google.com/store/apps/details?id=com.cryptotel.chamelemac
----------------------------------------------------------------------------------------------------
1) On your UmiZero,open "Settings-WLAN-Advanced settings-WLAN MAC address" keep note of your "WLAN MAC address"
2) Download & Extract UmiZeroNvramWriter to your desktop.
3) Run DriverSetup inside "Driver" folder.
4) Install BIRDA_SN_STATION_MT6592.
5) Run BIRDA_SN_STATION_MT6592 and select:
ComPort: USB VCOM
TargetSelect: SmartPhone
Model: WCDMA
Click on "System Config" button.
In the opened window select "WIFI Mac adr" (leave empty "Wifi Addr Header").
In "Data Base" section locate&select:
MDDB_UMIZERO (for MD DB_1 )
APDB_UMIZERO (for AP DB )
(You can find them inside folder "DB" of the extracted UmiZeroNvramWriter.zip)
Click "OK"
Click "START" on the BirdA SN Writer window
Insert your previously copyed WiFi MAC ADDRESS without ":" and lowercase (Ex: 00:08:22:C4:8e:1B BECOME 000822c48e1b)
When the notification COM port searching and preloader handshake... appears,Unplug the the devices and turn it off, don’t press the power button, connect your phone and PC with USB wire.
Click "OK" and the process will start....
....if everything has gone in the right way you should see the "Write Result Indicator" turn to green....
Now you can disconnect your device and reboot it.
IMPORTANT:
After reboot delete the folder "data/nvram" (using a Root Explorer) and reboot again (it will be auto re-created with the new values)
VERY VERY IMPORTANT:
THIS TOOL WRITE THE VALUES IN THE NVRAM SECTION OF YOUR DEVICES...SO IF YOU HAVE A PREVIOUS TWRP/CWM BACKUP YOU WANT TO RESTORE,UNCHECK "NVRAM" PARTITION (or you'll overwrite it with the old/wrong/bugged values)
IF YOU ENCOUNTER PROBLEMS DURING THE PROCESS IT IS 99% DUE TO WRONG/CORRUPTED DRIVER...IN THIS CASE TRY INSTALLING THE ONES INSIDE "\Desktop\UmiZeroNvramWriter\Driver(AlternateVersion)" OR RE-RUN "DriverUninstall & DriverSetup" INSIDE "\Desktop\UmiZeroNvramWriter\Driver"
...that's all...
ARCATARC.
If you like my works an offer is greatly appreciated not only by me (50% will be donate to UNICEF)
DONATIONS
DONATIONS
DONATIONS
arcatarc said:
1) On your UmiZero,open "Settings-About phone-Status" keep note of your "WLAN MAC address"
2) Download & Extract UmiZeroNvramWriter to your desktop.
3) Run DriverSetup inside "Driver" folder.
4) Install BIRDA_SN_STATION_MT6592.
5) Run BIRDA_SN_STATION_MT6592 and select:
ComPort: USB VCOM
TargetSelect: SmartPhone
Model: WCDMA
Click on "System Config" button.
In the opened window select "WIFI Mac adr" (leave empty "Wifi Addr Header").
In "Data Base" section locate&select:
MDDB_UMIZERO (for MD DB_1)
APDB_UMIZERO (for AP DB)
(You can find them inside folder "DB" of the extracted UmiZeroNvramWriter.zip)
Click "OK"
Click "START" on the BirdA SN Writer window
Insert your previously copyed WiFi MAC ADDRESS without ":" (Ex: 00:08:22:c4:8e:1b BECOME 000822c48e1b)
When the notification COM port searching and preloader handshake... appears,Unplug the the devices and turn it off, don’t press the power button, connect your phone and PC with USB wire.
Click "OK" and the process will start....
....if everything has gone in the right way you should see the "Write Result Indicator" turn to green....
Now you can disconnect your device and reboot it.
IMPORTANT:
After reboot delete the folder "data/nvram" (using a Root Explorer) and reboot again (it will be auto re-created with the new values)
VERY VERY IMPORTANT:
THIS TOOL WRITE THE VALUES IN THE NVRAM SECTION OF YOUR DEVICES...SO IF YOU HAVE A PREVIOUS TWRP/CWM BACKUP YOU WANT TO RESTORE,UNCHECK "NVRAM" PARTITION (or you'll overwrite it with the old/wrong/bugged values)
IF YOU ENCOUNTER PROBLEMS DURING THE PROCESS IT IS 99% DUE TO WRONG/CORRUPTED DRIVER...IN THIS CASE TRY INSTALLING THE ONES INSIDE "\Desktop\UmiZeroNvramWriter\Driver(AlternateVersion)" OR RE-RUN "DriverUninstall & DriverSetup" INSIDE "\Desktop\UmiZeroNvramWriter\Driver"
...that's all...
ARCATARC.
If you like my works an offer is greatly appreciated not only by me (50% will be donate to UNICEF)
DONATIONS
DONATIONS
DONATIONS
Click to expand...
Click to collapse
Can you please elaborate this line which mentioned ! .. its bit confusing to me
"When the notification COM port searching and preloader handshake... appears,Unplug the the devices and turn it off, don’t press the power button, connect your phone and PC with USB wire. "
Thank you for this tutorial, just what I need. Step 1 is to see what your current MAC address is and write it down. However my MAC adress changes with every factory reset I make. How do I know for sure what my hardware MAC address is?
Best regard, FoOtY
99.hemanth said:
Can you please elaborate this line which mentioned ! .. its bit confusing to me
"When the notification COM port searching and preloader handshake... appears,Unplug the the devices and turn it off, don’t press the power button, connect your phone and PC with USB wire. "
Click to expand...
Click to collapse
After you have Inserted your previously copyed WiFi MAC ADDRESS without ":" (Ex: 00:08:22:c4:8e:1b BECOME 000822c48e1b)and clicked "OK".............Connect your UmiZero "turned off" :laugh:
FoOtY1337 said:
Thank you for this tutorial, just what I need. Step 1 is to see what your current MAC address is and write it down. However my MAC adress changes with every factory reset I make. How do I know for sure what my hardware MAC address is?
Best regard, FoOtY
Click to expand...
Click to collapse
You don't need to know what is your "exact" mac address (it should be writed in factory....but they don't).
You can simply use one of the random ones generated from your phone(best way) or go to THIS SITE and get one..
Don't worry:there are BILLIONS of conbinations possible...
arcatarc said:
After you have Inserted your previously copyed WiFi MAC ADDRESS without ":" (Ex: 00:08:22:c4:8e:1b BECOME 000822c48e1b)and clicked "OK".............Connect your UmiZero "turned off" :laugh:
Click to expand...
Click to collapse
I followed each and every step as advised and even I got green signal "pass" and deleted data/nvram folder and rebooted, But still I see nvram error 0x0 after rebooting ....
It didnt solve
99.hemanth said:
I followed each and every step as advised and even I got green signal "pass" and deleted data/nvram folder and rebooted, But still I see nvram error 0x0 after rebooting ....
It didnt solve
Click to expand...
Click to collapse
It happened to me me too(i don't know why) but the third time it worked.....
...another possible option is to do it with stock rom(to be honest i've done it some weeks ago and i dont remember if i was on EMUmI or Stock rom....)
arcatarc said:
It happened to me me too(i don't know why) but the third time it worked.....
...another possible option is to do it with stock rom(to be honest i've done it some weeks ago and i dont remember if i was on EMUmI or Stock rom....)
Click to expand...
Click to collapse
I think you have done it in stock ROM ... not on EMUml ....
Becoz we cant find "Settings-About phone-Status" keep note of your "WLAN MAC address" - here in EMUml ..... its in stock ROM u find it ...
For EMUml we need to goto "settings-WLAN-Advanced settings-WLAN MAC address"
99.hemanth said:
I think you have done it in stock ROM ... not on EMUml ....
Becoz we cant find "Settings-About phone-Status" keep note of your "WLAN MAC address" - here in EMUml ..... its in stock ROM u find it ...
For EMUml we need to goto "settings-WLAN-Advanced settings-WLAN MAC address"
Click to expand...
Click to collapse
Did have you tryed inserting the MAC address in lowercase?(could be that the problem)
arcatarc said:
You don't need to know what is your "exact" mac address (it should be writed in factory....but they don't).
You can simply use one of the random ones generated from your phone(best way) or go to THIS SITE and get one..
Don't worry:there are BILLIONS of conbinations possible...
Click to expand...
Click to collapse
Ah thanks Arcatarc! So when I change the MAC address with your method it will stay even when I preform a wipe from the Android settings / CWM? How could UMI release it like this? My WiFi is so unstable
Best regards!
arcatarc said:
Did have you tryed inserting the MAC address in lowercase?(could be that the problem)
Click to expand...
Click to collapse
yes! .. i inserted in lower case only .........
arcatarc said:
Did have you tryed inserting the MAC address in lowercase?(could be that the problem)
Click to expand...
Click to collapse
Hi Arcatarc,
I've the same problem, writing to nvram is ok, deleting folder is ok but still have random mac address whenever I on/off wifi.
Could you give offset in file where MAC is stored, I'll try to place correct address by hexedit.
Is it storred in wifi or wifi_custom?
Guys,
After two days I think, that I've found the solution - permanent
What is important:
- files: wifi & wifi_custom must have rights: r-- r-- r-- (see photo)
- owner & guid must be empty (see photo)
- need 2 apps: hex editor & es file explorer installed
- the most important thing is correct MAC ADDRESS, it must start with 000820XXXXXX use online generators like:
http://www.miniwebtool.com/mac-address-generator/
So, what we need to do:
1. Important - (Turn ON WIFI), delete files "WIFI" & "WIFI_custom" from folder "data/nvram/APCFG/APRDEB/" to have them recreated with correct owner & guid rights after restart.
2. Restart phone.
3. Turn off wifi.
4. Use hex editor to edit file or better mobileuncle tools (engineer mode ->(MTK)-> connectivity menu-> wifi ->nvram). Look at attached photos, You will need to insert own MAC address to file. You have two ways:
- by Mobileuncle under "Byte String Access" set
addr value "4"
length value 6
Press "Read", should show you some random generated mac address, delete it and place your new valid MAC Address & press "Write".
That should save your new mac, you can check if that was saved by pressing "Read", should show you your new mac address.
- by Hex editor (give it root rights in options) and open "WIFI" file, go to offset $4 and insert your new mac address & save file. (see photo)
5. We need to set correct rights on both files "WIFI" & "WIFI_custom". I've used "es files explorer" and set all only as Readable. Remember do this on both files. Don't change owner & guid rights, must be blank.
PS.
I've messing around quite long, so I hope that I wrote the steps in correct order. If that doesn't work, try to turn on wifi after saving new mac address, or restarting between some steps etc.
I've used mobileuncle but I know that some of you had problem, so I've wrote the hex editor way.
Alternative way
(23/02/2015)EDIT:If this method don't work for you use this app from PLAYSTORE:
https://play.google.com/store/apps/details?id=com.cryptotel.chamelemac
arcatarc said:
(23/02/2015)EDIT:If this method don't work for you use this app from PLAYSTORE:
https://play.google.com/store/apps/details?id=com.cryptotel.chamelemac
Click to expand...
Click to collapse
So, if we fix the mac adress the "NVRAM WARNING ERR 0x10" error dissapear? or just our mac don't change every time?
victorzijka said:
So, if we fix the mac adress the "NVRAM WARNING ERR 0x10" error dissapear? or just our mac don't change every time?
Click to expand...
Click to collapse
yes,the error is generated from it..
Driver doesn't work in W7 64 bit (driversetup.exe installer)
arcatarc said:
----------------------------------------------------------------------------------------------------
(23/02/2015)EDIT:If this method don't work for you use this app from PLAYSTORE:
https://play.google.com/store/apps/details?id=com.cryptotel.chamelemac
----------------------------------------------------------------------------------------------------
1) On your UmiZero,open "Settings-WLAN-Advanced settings-WLAN MAC address" keep note of your "WLAN MAC address"
2) Download & Extract UmiZeroNvramWriter to your desktop.
3) Run DriverSetup inside "Driver" folder.
4) Install BIRDA_SN_STATION_MT6592.
5) Run BIRDA_SN_STATION_MT6592 and select:
ComPort: USB VCOM
TargetSelect: SmartPhone
Model: WCDMA
Click on "System Config" button.
In the opened window select "WIFI Mac adr" (leave empty "Wifi Addr Header").
In "Data Base" section locate&select:
MDDB_UMIZERO (for MD DB_1 )
APDB_UMIZERO (for AP DB )
(You can find them inside folder "DB" of the extracted UmiZeroNvramWriter.zip)
Click "OK"
Click "START" on the BirdA SN Writer window
Insert your previously copyed WiFi MAC ADDRESS without ":" and lowercase (Ex: 00:08:22:C4:8e:1B BECOME 000822c48e1b)
When the notification COM port searching and preloader handshake... appears,Unplug the the devices and turn it off, don’t press the power button, connect your phone and PC with USB wire.
Click "OK" and the process will start....
....if everything has gone in the right way you should see the "Write Result Indicator" turn to green....
Now you can disconnect your device and reboot it.
IMPORTANT:
After reboot delete the folder "data/nvram" (using a Root Explorer) and reboot again (it will be auto re-created with the new values)
VERY VERY IMPORTANT:
THIS TOOL WRITE THE VALUES IN THE NVRAM SECTION OF YOUR DEVICES...SO IF YOU HAVE A PREVIOUS TWRP/CWM BACKUP YOU WANT TO RESTORE,UNCHECK "NVRAM" PARTITION (or you'll overwrite it with the old/wrong/bugged values)
IF YOU ENCOUNTER PROBLEMS DURING THE PROCESS IT IS 99% DUE TO WRONG/CORRUPTED DRIVER...IN THIS CASE TRY INSTALLING THE ONES INSIDE "\Desktop\UmiZeroNvramWriter\Driver(AlternateVersion)" OR RE-RUN "DriverUninstall & DriverSetup" INSIDE "\Desktop\UmiZeroNvramWriter\Driver"
...that's all...
ARCATARC.
If you like my works an offer is greatly appreciated not only by me (50% will be donate to UNICEF)
DONATIONS
DONATIONS
DONATIONS
Click to expand...
Click to collapse
got this error, please help
SP_META_ConnectInMetaMode_r Error: maybe is DEFAULT_FAIL cause this error...
Error: Connect failed, Exit Meta Mode
After following each step carefully after the button turned green when I restarted the device, the SIM card not recognized, when checked IEMI Nos were gone.
Kindly suggest now.
[email protected] said:
After following each step carefully after the button turned green when I restarted the device, the SIM card not recognized, when checked IEMI Nos were gone.
Kindly suggest now.
Click to expand...
Click to collapse
Try deleting "data/nvram" folder and reboot.

WiFi connectivity problem

Hi,
I’m from Portugal and I’ve bought a Mi5 some days ago.
I have a problem for which I don’t find any solution.
The phone came with a modified fake ROM from the Chinese store but was working fine.
I unlocked the phone and installed TWRP to flash other ROMs. I flashed MIUI 8 global stable and a custom ROM from Xiaomi.eu without any problem.
Everything was working fine with the phone but I noticed that a lot of files from prior fake ROM (the one from the Chinese store) remained in the phone. So I decided to swipe everything in TWRP (including system and internal storage) and flashed MIUI Global Stable ROM again.
From this point, I never again been able to connect to a WiFi network and the 2G, 3G LTE connection became very weak and instable. The phone scan the wifi network available without problem, but after introducing the password, it tries to connect and just shows “Saved”.
I tried a lot of stuff. Static IP, reboot router, change router channel, change router security settings, flash different ROM, tweak build.prop file, but the problem persist.
In the phone test menu, when I try to connect to a WiFi I see that the phone scan, connect, disconnect, scan, connect, disconnect…
Any help?
Do you think it’s Hardware related issue? Or phone firmware and driver problem?
I’ll be very grateful for any assistance.
Hello
Yesterday I got the phone and I have exactly the same situation. Tried the same things, also flashing RR Nougat, RR Marshmallow, MIUI 7 and 8. Wifi isn't working in any situation. Did you solve it? Anyone have some ideas with it?
try another ROM
Just try the ROM "cm-13.0-20161211-NIGHTLY-gemini" .
My mi5 had the same problem when I got it, so I try unlock, bootloader, new cm14 rom, even went to change sim card, cause can't access 4G, still no luck. Then I backed to official ROM, factory reset, still have wifi and 4G problem. Finally after try the cm13 ROM, every thing became fine. It took me 5 days to resolved it.
FYI, mi5 's wifi signal strength is poor than others as so many complain you can see on the miui forum.
Tried that CM build, still nothing. I found in dev tools option to debug WIFI, and all the time I have RSSI of -127, even if I'm literally 1m from source (also I tried many sources). I'm out if ideas. Also It's not reception problem, because original ROM (like OP, probably fake global MIUI) had WIFI working just fine for me.
I have exactly the same situation.
I'll try the ROM "cm-13.0-20161211-NIGHTLY-gemini".
Thanks!!!
---------- Post added at 05:11 PM ---------- Previous post was at 04:37 PM ----------
Unfortunately, this ROM did not work for me either. :crying:
Any more help?
Thank you very much!!!
Try Xiaomi.eu 8.1.7.0 Nougat.
It's working for me, but my wifi wont connect in CM/ AOSP ROM
bajak85 said:
Try Xiaomi.eu 8.1.7.0 Nougat.
It's working for me, but my wifi wont connect in CM/ AOSP ROM
Click to expand...
Click to collapse
Hello friend, do you have the link for me to download this ROM?
Many thanks for helping.
I had the same problem, same symptoms.
I too flashed a new ROM and couldn't connect to any AP, I tried various ROMS, MIUI 7 & 8 and CM 13 & 14.1.
Though I think I found a solution (it worked for me ). I simply changed my MAC-adress and I was able to connect to my home WiFi.
I'm running CM 14.1-2016225-NIGHTLY-gemini on MI5.
This is what I did to fix my WiFi:
First prepare an new MAC-address. I personally don't know when a MAC-address is considered valid, so I just took one from an other device. I used the mac address of my previous mobile phone, which could connect to my router.
1. Disable WiFi.
3. Enable debugger settings (Setting>about Phone>Press build number repeatedly).
2. Enable root (Develepor settings>root access set to "Apps and ADB").
3. Open the file manager app.
4. Give the file manager app root access (menu>Settings(cog in lower left corner)>General settings>Access mode set this on "Root Access mode").
5. Now find the file root/etc/firmware/wlan/qca_cld/ and open wlan_mac.bin.
You should see something similar to:
Code:
Intf0MacAddress=XXXXXXXXXXXX
Intf1MacAddress=XXXXXXXXXXXX
END
6. Change the first to your new MAC-address, but first write down the old one, so you can change it back if this method doesn't work for you.
The last X of the next line should be a digit higher than the previous line. E.g:
Code:
Intf0MacAddress=957FDC328BF[B]4[/B]
Intf1MacAddress=957FDC328BF[B]5[/B]
END
(This MAC-address most likely won't work).
7. Save the file. You might need to press the save button a few times.
8. Check if the file has changed.
9. Check if you MAC-address has changed (Settings>WiFI>Configure-WIFI(cog in right upper corner)).
10. Enable WiFi.
I hope this works for everyone that has the same problem.
ederluisf said:
Hello friend, do you have the link for me to download this ROM?
Many thanks for helping.
Click to expand...
Click to collapse
I found it, thank you. I'll flash the rom now. Thanks.
---------- Post added at 06:47 PM ---------- Previous post was at 06:41 PM ----------
Pekkuky said:
I had the same problem, same symptoms.
I too flashed a new ROM and couldn't connect to any AP, I tried various ROMS, MIUI 7 & 8 and CM 13 & 14.1.
Though I think I found a solution (it worked for me ). I simply changed my MAC-adress and I was able to connect to my home WiFi.
I'm running CM 14.1-2016225-NIGHTLY-gemini on MI5.
This is what I did to fix my WiFi:
First prepare an new MAC-address. I personally don't know when a MAC-address is considered valid, so I just took one from an other device. I used the mac address of my previous mobile phone, which could connect to my router.
1. Disable WiFi.
3. Enable debugger settings (Setting>about Phone>Press build number repeatedly).
2. Enable root (Develepor settings>root access set to "Apps and ADB").
3. Open the file manager app.
4. Give the file manager app root access (menu>Settings(cog in lower left corner)>General settings>Access mode set this on "Root Access mode").
5. Now find the file root/etc/firmware/wlan/qca_cld/ and open wlan_mac.bin.
You should see something similar to:
Code:
Intf0MacAddress=XXXXXXXXXXXX
Intf1MacAddress=XXXXXXXXXXXX
END
6. Change the first to your new MAC-address, but first write down the old one, so you can change it back if this method doesn't work for you.
The last X of the next line should be a digit higher than the previous line. E.g:
Code:
Intf0MacAddress=957FDC328BF[B]4[/B]
Intf1MacAddress=957FDC328BF[B]5[/B]
END
(This MAC-address most likely won't work).
7. Save the file. You might need to press the save button a few times.
8. Check if the file has changed.
9. Check if you MAC-address has changed (Settings>WiFI>Configure-WIFI(cog in right upper corner)).
10. Enable WiFi.
I hope this works for everyone that has the same problem.
Click to expand...
Click to collapse
I'll try this procedure too, thank you very much Pekkuky.
I'll be back to talk if it fired, thanks for the help.
I tried to install the ROM that bajak85 suggested and it did not work for me, however I tried the procedure that pekkuky taught in ROM Xiaomi.eu 8.1.7.0 Nougat (ROM that bajak85 suggested) and it started to work, changing the MAC address worked for me too.
I did exactly as taught by Pekkuky and tried with another randomly generated MAC. That also worked.
Thank you all for the help and thank you very much Pekkuky, saved my life with this tip.
Obtaining IP Address Loop...help..:crying:
artforcesilvia said:
Obtaining IP Address Loop...help..:crying:
Click to expand...
Click to collapse
Hello, did you make sure that the MAC address was actually changed? In my case, a reboot was necessary for the modification to take effect.
I needed to forget the network and try again too, try this too, make sure the MAC has really changed and forget the wifi network and try again.
Good luck. :good::good:
ederluisf said:
Hello, did you make sure that the MAC address was actually changed? In my case, a reboot was necessary for the modification to take effect.
I needed to forget the network and try again too, try this too, make sure the MAC has really changed and forget the wifi network and try again.
Good luck. :good::good:
Click to expand...
Click to collapse
I've tried it over and over again but it didn't work.:crying:
artforcesilvia said:
Obtaining IP Address Loop...help..:crying:
Click to expand...
Click to collapse
Another thing that can help is to configure Static IP in the advanced settings of your network, have you tried this?
ederluisf said:
Another thing that can help is to configure Static IP in the advanced settings of your network, have you tried this?
Click to expand...
Click to collapse
I set IP static it connected modem but no internet, some time messager "authentfication error" apear.:crying:
My problem has been solved.
Thank you very much
artforcesilvia said:
My problem has been solved.
Thank you very much
Click to expand...
Click to collapse
:victory: Very good.
Pekkuky said:
I had the same problem, same symptoms.
I too flashed a new ROM and couldn't connect to any AP, I tried various ROMS, MIUI 7 & 8 and CM 13 & 14.1.
Though I think I found a solution (it worked for me ). I simply changed my MAC-adress and I was able to connect to my home WiFi.
I'm running CM 14.1-2016225-NIGHTLY-gemini on MI5.
This is what I did to fix my WiFi:
First prepare an new MAC-address. I personally don't know when a MAC-address is considered valid, so I just took one from an other device. I used the mac address of my previous mobile phone, which could connect to my router.
1. Disable WiFi.
3. Enable debugger settings (Setting>about Phone>Press build number repeatedly).
2. Enable root (Develepor settings>root access set to "Apps and ADB").
3. Open the file manager app.
4. Give the file manager app root access (menu>Settings(cog in lower left corner)>General settings>Access mode set this on "Root Access mode").
5. Now find the file root/etc/firmware/wlan/qca_cld/ and open wlan_mac.bin.
You should see something similar to:
Code:
Intf0MacAddress=XXXXXXXXXXXX
Intf1MacAddress=XXXXXXXXXXXX
END
6. Change the first to your new MAC-address, but first write down the old one, so you can change it back if this method doesn't work for you.
The last X of the next line should be a digit higher than the previous line. E.g:
Code:
Intf0MacAddress=957FDC328BF[B]4[/B]
Intf1MacAddress=957FDC328BF[B]5[/B]
END
(This MAC-address most likely won't work).
7. Save the file. You might need to press the save button a few times.
8. Check if the file has changed.
9. Check if you MAC-address has changed (Settings>WiFI>Configure-WIFI(cog in right upper corner)).
10. Enable WiFi.
I hope this works for everyone that has the same problem.
Click to expand...
Click to collapse
Made an account to thank Pekkuky, because this worked for me. I also linked it on a couple of Xiaomi.EU posts about the same problem.
I had the same problem and this method really worked. I was angry af for 1 week, trying to solve this. Thank you very much Pekkuky
artforcesilvia said:
My problem has been solved.
Thank you very much
Click to expand...
Click to collapse
Are the same step above??
Why my wlan file,the latest one is not an number??
Sorry for my bad,help me please,i have been try this way,but still same

[VoLTE/VoWiFi][OP5/5T] for almost all carrier!

Hey!
I have found a way to activate VoLTE and VoWiFi for OnePlus 3/3T, 5/5T, 6 and 6T!
Please follow this Guide to Activate it to your Phone!
Link for english user:
https://forum.xda-developers.com/oneplus-5t/how-to/guide-volte-vowifi-german-carriers-t3817542
Link for German user: https://android-freaks.de/forum/thr...neplus-8-und-8-pro-freischalten-die-nicht-of/
This is more for advanced users!
Greetings,
jamal2367
I'd like to let you know that this method also worked for me in Czech Republic for Vodafone. This guide probably works for most of the carriers in EU. Thanks!
Diese Methode hat auch in Tschechien funktioniert, ich kann nicht VoWiFi benutzen aber VoLTE funktioniert super. Wahrscheinlich funktioniert dieses Guide für alle Netzbetreiber in EU.
gonna try at ukrainian Vodafone.... when they will launch Volte
Worked. Germany and o2.
Why not sharing here, too?
Read something about EFS? Will it survuve, are there some modifications?
Thanks in advance.
tidschi said:
Why not sharing here, too?
Read something about EFS? Will it survuve, are there some modifications?
Thanks in advance.
Click to expand...
Click to collapse
It survives modem flashes and all. I'd write the whole procedure here but I'd need @jamal2367 permission to do so.
It worked! It woooorked
Many many endless thanks, Jamal!
Hello,
tried here in belgium, when i click on "activate" it does nothing and when i click on start, nothing too.. Is there a validation message at the end of the procedure or not? thx
Working with Vodafone Portugal! Can't test a call just yet, I don't know anyone with a VoLTE device, but the icon appears.
From what I read on the forum, it's just the Magisk module for root users or the toolkit procedure for the ones without.
It does help with some carriers, but not everywhere =(
Thanks anyway!
angourakis said:
From what I read on the forum, it's just the Magisk module for root users or the toolkit procedure for the ones without.
It does help with some carriers, but not everywhere =(
Thanks anyway!
Click to expand...
Click to collapse
And you have to modify your EFS ...
Read the OP on Hubo, he has an spoiler at the end.
Gesendet von meinem ONEPLUS A3003 mit Tapatalk
DKett said:
And you have to modify your EFS ...
Read the OP on Hubo, he has an spoiler at the end.
Click to expand...
Click to collapse
Danke! I couldn't find it because Google Translate breaks everything.
Btw, could you modify your phone? I'm on step 7, but when I select my device, it gives me an error: "Failed to select interface with provided ID, please make sure interface still exist".
I did install the drivers and the QPST 2.7.420, did the *#801# and "Serial" + "Full-port switch" and I also tried removing and adding the port inside QPST Configuration and running QPST Software Download as Administrator.
The device is also shown under Ports in Device Manager (Windows 10).
Nothing worked...
Thanks!
angourakis said:
Danke! I couldn't find it because Google Translate breaks everything.
Btw, could you modify your phone? I'm on step 7, but when I select my device, it gives me an error: "Failed to select interface with provided ID, please make sure interface still exist".
I did install the drivers and the QPST 2.7.420, did the *#801# and "Serial" + "Full-port switch" and I also tried removing and adding the port inside QPST Configuration and running QPST Software Download as Administrator.
The device is also shown under Ports in Device Manager (Windows 10).
Nothing worked...
Thanks!
Click to expand...
Click to collapse
Had the same issue, I rebooted my PC and that worked
/* Disclaimer */
This is at your own risk.
I am not responsible for broken phones, lost IMEI numbers, damaged EFS partition, whatever.
First make a backup of the EFS partition via TWRP or ADB, and back it up to a safe place on your computer!
WARNING: The EFS partition contains unique data for your device that is necessary for the phone function of your device. If you lose them, no one can help you out. So make a backup. If something goes wrong, you can restore the backup and you will be back to its original state.
2. you go to your computer and install both.
Qualcomm QPST Diag x64 driver
QPST_2.7.420
Now connect your mobile phone to your computer via a "USB cable".
4. opens the phone app and enter this code *#801#.
Now a new menu appears and switches "Serial" and "Full-port switch" on.
Now you start the program: "QPST Software Download" and connect it to your device.
Go to the "MCFG_PDC" tab at the top and select your device under "Device:".
Right-click on "Oversea-Commercial_DS" and select "Sub0" and "Sub1" under "Deactivate".
Now click on "Oversea-Commercial_DS" again and click on "Remove" on the right.
Now restart the program and go to the tab "MCFG_PDC" and under "Device:" select your device again.
Now select "Telefonica_UK_Commercial", right click and select "SetSelectedConfig" "Sub0" and "Sub1".
12. click on "Telefonica_UK_Commercial" then right click on "Activate" and then on "Start" below
13. after you have done everything, restart the device!
After a successful restart, the "VoLTE or VoWiFi logo" should appear in the expanded status bar.
No wonder why you dial "Telefonica_UK_Commercial", works great in Germany with all providers!
Translated with www.DeepL.com/Translator
I wonder if this has the potential to fix the 3G issues as well, as we're effectively changing the modem's default profile it seems.
david19au said:
Had the same issue, I rebooted my PC and that worked
Click to expand...
Click to collapse
No lucky =( What's the name of the device that appears for you under MCFG_PDC tab?
Thank you!
angourakis said:
No lucky =( What's the name of the device that appears for you under MCFG_PDC tab?
Thank you!
Click to expand...
Click to collapse
It should be a long string of characters, IIRC. The name is unique to every device afaik.
Did someone tried this with French network ?
Is there any way to enable this on aosp rom?
Στάλθηκε από το ONEPLUS A5010 μου χρησιμοποιώντας Tapatalk
I don't think so. Most AOSP rom's are missing some APN's. Ask the Dev if he implements all Google AOSP APN's.

[GUIDE] Enable VoLTE/VoWiFi on LineageOS 17.1 for EU carriers Oneplus 6T

[GUIDE] Enable VoLTE + VoWiFi for German and other EU carriers on the Oneplus 6T running LineageOS 17.1
Requirements:
- Phone must be rooted
- A computer running Windows to connect your phone with (Also tested Windows 7 running in Virtualbox)
- Qualcomm USB Driver (Downloadlink)
- Qualcomm PST Tool (Downloadlink)
- ADB
IMPORTANT: This can break your phone! Make a backup of your EFS Partition! This can be done with TRWP.
1)
Download and install Qualcomm USB Driver and PST Tool on your computer. Make sure, you have the adb tool as well.
2)
On your phone activate the hidden developer settings:
Settings -> About -> Build-Number (press it multiple times)
then
Settings -> System -> Devloperoptions
Activate:
Android-Debugging
Local Shell
Connect your phone to your computer.
3)
Open a shell on your computer and type:
Code:
adb shell
Watch your phone to accept the incoming connection from your computer.
Type:
Code:
su
and watch your phone again to accept root access.
Activate the Diagnostic Mode by typing:
Code:
setprop sys.usb.config diag,serial_cdev,serial_tty,rmnet_ipa,mass_storage,adb
Your phone will disconnect from adb, but thats ok.
4)
On your computer open "PDC" from the installed QPST application as admin.
In the device list, select your phone.
In the upcoming list look for "Oversea-Commercial_DS", right click it and deactivate Sub0 and Sub1
Click "Oversea-Commercial_DS" again and press the Remove button.
Close the PDC Tool and open it again.
Select your phone again
Look for Telefonica_UK_Commercial, right click and SetSelectedConfig for both Sub0 and Sub1
Click on Telefonica_UK_Commercial again and click the Activate button
Close the application
5)
Unplug your phone and reboot it.
Make sure you have activated VoLTE/VoWiFI in your settings.
6)
No VoLTE/VoWIFI icon is shown in the status bar. You can check the IMS status as followed:
Open the dialer and enter the code: *#*#4636#*#*
This will open the Testing menu. Select the first entry "Phone information".
In the option "Select phone index" you can choose your sim card you want to get information about.
Then, press the three dotted menu in the upper right and select "IMS Service Status"
If it says "IMS Registration: Registered" everything is working fine. Depending on whether you are on WiFi or LTE, "Voice over LTE" or "Voice over WiFi" will be shown as "Available as well.
Enjoy!
Great work. I'm on Linux. What is this qpst and psd tools for exactly and is there a way to do the changes from Linux?
Termehansen said:
Great work. I'm on Linux. What is this qpst and psd tools for exactly and is there a way to do the changes from Linux?
Click to expand...
Click to collapse
I'm on Linux too. Qpst is a USB Modem driver and PSD is a Tool to access and alter the modem firmware on the phone.
Unfortunately these will only run on Windows. I used VirtualBox and run Windows 7 (I bought a cheap license key some time ago) on it.
So none of these tools could be helpful?
https://github.com/openpst
Termehansen said:
So none of these tools could be helpful?
https://github.com/openpst
Click to expand...
Click to collapse
Interesting, I didn't know these tools. Maybe it could work.
Thank you for the guide. Still, I think you have a typo:
Sayonara123 said:
Code:
setprop sys.usb.config diag,serial_cdev,serial_tty,rmnet_ipa,mass_storage ,adb
Click to expand...
Click to collapse
There's a space preceding ',adb', and with blindly using this command something went wrong on my Windows PC. Had to restart. 'setprop' also supports only 2 arguments.
Another thing:
Sayonara123 said:
Remark:
I did not test it, yet. But you may have to repeat the procedure after every LineageOS update.
Click to expand...
Click to collapse
You should put that on top, maybe make it bold and set a bigger font. It looked like a tested and working method, I just blindly followed the instructions without questioning (also a mistake on my part).
Anyway, I followed the steps successfully but cannot see if VoLTE/VoWifi is functional as there is not indicator in LineageOS 17.1. If anyone knows a way, feel free to tell.
Thanks again.
Thank you for your reply.
martin.42 said:
Thank you for the guide. Still, I think you have a typo:
Click to expand...
Click to collapse
You are right, It's a typo, I didn't notice. Fixed it.
Another thing:
Click to expand...
Click to collapse
The whole procedure was tested on my own phone. There was just one unclear thing, whether these changes survive an update of the LineageOS system. It does! So I removed this obsolet remark.
Anyway, I followed the steps successfully but cannot see if VoLTE/VoWifi is functional as there is not indicator in LineageOS 17.1. .
Click to expand...
Click to collapse
Yes, it's a pitty there's no indicator in the status bar. I've found another way to check functionality and added it to the guide.
Hope this make things more clearly.
Thx
Tried it on stock oos 10.3.6, and windows 10. Have swedish carrier Tre (Hallon).
Works great! Thanks for your guide! ?
Procedure fails on OP6 with LineageOS20, phone is not visible in PDC.

Force 4g/Lte Only - P30 PRO

Please how do I force 4g or Lte Only in P30 pro, emui 11.
Kleinkelk said:
Please how do I force 4g or Lte Only in P30 pro, emui 11.
Click to expand...
Click to collapse
Hi,
Do exactly as described:
Download Settings Database Editor from playstore and open it
Look for hw_networkmode_preference and edit the stock value "9,6,2,1" to "11"
Restart the device
Open Settings Database Editor
Click on + Add new setting at the top
Type "hw_add_4g_only" (without " ") and press save changes
Type in your country code, example "502" Malaysia or "262" Germany. Press save changes
Type "hw_add_4g_only" (without " ") and press save changes (YES, REPEAT STEP 6)
Type in your country code, example "502" Malaysia or "262" for Germany and press save changes (YES, REPEAT STEP 7)
Restart the device and VOILA!
Now you have access to ALL network modes. Select "LTE" or "4G" for 4G only functionality.
Ex.: 234 (Three UK code)
I tried but it didn't work. Did yours work. Can you send a picture of your network modes after it worked
Kleinkelk said:
I tried but it didn't work. Did yours work. Can you send a picture of your network modes after it worked
Click to expand...
Click to collapse
It must working. Mine working PERFECTLY and Yes my phone working an emui11.What is your country code?
Okay. I did it another way and it worked.
Do exactly as described:
Download Settings Database Editor from playstore and open it
Look for hw_networkmode_preference and edit the stock value "9,6,2,1" to "11"
Restart the device
That's all.
Barnabus_six9 said:
Hi,
Do exactly as described:
Download Settings Database Editor from playstore and open it
Look for hw_networkmode_preference and edit the stock value "9,6,2,1" to "11"
Restart the device
Open Settings Database Editor
Click on + Add new setting at the top
Type "hw_add_4g_only" (without " ") and press save changes
Type in your country code, example "502" Malaysia or "262" Germany. Press save changes
Type "hw_add_4g_only" (without " ") and press save changes (YES, REPEAT STEP 6)
Type in your country code, example "502" Malaysia or "262" for Germany and press save changes (YES, REPEAT STEP 7)
Restart the device and VOILA!
Now you have access to ALL network modes. Select "LTE" or "4G" for 4G only functionality.
Ex.: 234 (Three UK code)
Click to expand...
Click to collapse
This does not work, mine says "Your system software has rejected the edit"
BugSlayer-sama said:
This does not work, mine says "Your system software has rejected the edit"
Click to expand...
Click to collapse
I have the same problem please help us

Categories

Resources