|
ROMs y desarrollo Huawei P9 lite ROMs y desarrollo Huawei P9 lite |
|
Herramientas |
#1
|
||||
|
||||
Upgrade VNS-L21C432B161 to Nougat Beta VNS-L21C432B335 OTA Update (Single Sim)
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 Edited by me for noobs. Quote: Originally Posted by cvkef 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 1.Download and install Charles app (30-day trial) https://www.charlesproxy.com 2.Open Charles app 3.Select the "Sequence" option 4.At the top bar, hit the "Start recording", "Start throttling", "Enable breakpoints" 5.From the menu "Tools", select the "Rewrite" and check the "Enable Rewrite" Setup P9 Lite 1.At Settings > WiFi, locate your WiFi network, long tap it and choose "Modify network" 2.Display the advanced settings and for Proxy check the Manual option 3.For Proxy hostname enter the IP of your PC / Mac 4.For Proxy port enter 8888 (this is the default port for Charles app) 5.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. 1. 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. 2. From P9 lite, hit again the update button 3. If everything is correct, the Charles app will focus to desired request. At the bottom, hit the "Execute" button. 4. The response is executed and you should now be able to edit the response. At the top select the "Edit Response". 5. . 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-L21C432B335 update version. You can set the response for any 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-L21C432B335-OTA", "version": "VNS-L21C432B335", "versionID": "69803", "description": "�? ?�?���?��?: [�?��?��??] VNS-L21C432B335 �?� VNS-L21C432B335 (2016/12/13)", "createTime": "2016-12-13T03:18:12+0000", "url": "http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1164/g104/v69803/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: 1. At Settings > WiFi, locate your WiFi network, long tap it and choose "Modify network" 2. Display the advanced settings and for Proxy check the None option 3. Apply changes and now your smartphone should be able to connect to Internet again 4. Now, go back to Updater and hit the "Quick Update" button to apply the update |
|
#2
|
||||
|
||||
@coabog
Buenas. HTCMania es foro de habla hispana, por favor utiliza un traductor para redactar las instrucciones de la rom. Movemos a ROMs y desarrollo Huawei P9 lite SalU2. |
Gracias de parte de: | ||
Estás aquí | ||||||
|