Rebrand-Update-Tool-HWOTA7-P9-EVA

kwonleader

Member
May 13, 2010
30
5
0
If you want to Unroot, do following:
Download from xda - Huawei Extractor
Extract update.zip and open with Huawei Extractor the UPDATE.APP
Extract ramdisk.img
Flash it in Fastboot mode (fastboot flash ramdisk RAMDISK.IMG)
Uninstall Magisk Manager.
That's all
Thank you
i can't use magisk hide i enabled but app tell me you rooted
 

kwonleader

Member
May 13, 2010
30
5
0
Another question - what was your original brand EVA-L19 c??
May you can give for other Users short Feedback which rebranding steps you did (related to my Guide)
I rebrand from eva-L19C636 (Thailand) to AL10
i already have bootloadercode
i used your tools and follow your guide :
- unlockbootloader
- flash TWRP
- Chang oeminfos
- flash rom using script
- when done it's boot to system
but i forget to flash (AL10-b399-patched_boot.img) before update :crying: :crying:
In First boot problem is my phone can use only 1 simcard and 2G
I try to resolve by flash ramdisk install magisk and change local.prop
Then everything work fine ;)
(For me it dont have google play i install it from AppGallery)
It can update with OTA Update in the future?
 

Attachments

Last edited:
  • Like
Reactions: Tecalote

ogisha

Senior Member
May 24, 2012
492
293
0
But if you just update your Firmware (on Nougat) the Skript does not wipe your data and not lock the Bootloader - except if the Firmware does it.
I updated from b502 to b503 without loosing anything.
Can I update from B395 to b503 without loosing anything?
 

RandomQuezoPH

Senior Member
Sep 29, 2016
79
12
0
-
I rebrand from eva-L19C636 (Thailand) to AL10
i already have bootloadercode
i used your tools and follow your guide :
- unlockbootloader
- flash TWRP
- Chang oeminfos
- flash rom using script
- when done it's boot to system
but i forget to flash (AL10-b399-patched_boot.img) before update :crying: :crying:
In First boot problem is my phone can use only 1 simcard and 2G
I try to resolve by flash ramdisk install magisk and change local.prop
Then everything work fine ;)
(For me it dont have google play i install it from AppGallery)
It can update with OTA Update in the future?
Hey, I can see that we had the same build which is C636 but mine is Philippines. Do you have any further bugs and should I also follow the one that you did on the last part which is flashing Ramdisk, install Magisk and change local.prop? How's the camera? Thanks in advance! :D
 

kwonleader

Member
May 13, 2010
30
5
0
Hey, I can see that we had the same build which is C636 but mine is Philippines. Do you have any further bugs and should I also follow the one that you did on the last part which is flashing Ramdisk, install Magisk and change local.prop? How's the camera? Thanks in advance! :D
-Camera nothing change :cowboy:
- for Now i don't found more bug :confused:
-I found problem when first boot is SIMcard is available for 1 and network is 2G so i edit local.prop and it fix :)
 
  • Like
Reactions: RandomQuezoPH

vampirian

Senior Member
Dec 9, 2011
271
173
0
Helsinki
@Tecalote great job. And thank you for mentioning me but it was not necessary :)

Back to the main point.
With my method im exactly on the same page like you for EVA-L09 and reception - GSM/GpRD/GPRS.

What i tried so far is including and switching between other roms for more compatible drivers with no luck after building from scratch roms from honor 8, honor 10 (cause even there P9 shows off in some parts) huawei P20 and P20pro. Changed prop and added lines on prop based on google code and based on emui but again no luck.

After that i used 3 different GSI mainly from AOSP and LineageOS. Still no luck but i can confirm they work really nice but you will need ported emui camera app. In this case i used ported P20pro and it worked with some bugs while you are trying to open pictures from the camera.

Battery is same with emui 8 +/- but with no network it holds anyway.

So basically i run out of ideas. Seems to me the problem is the different hardware.
My last painful idea is to run a debug mode and ill try to sniff protocols and check what i could change on the next build from generic emui image.

Like 0x0c etc

If you have better suggestions let me know :)


To the people who read my post. Do not get discouraged. Tecalotes rom is great. And the bugs i discribe are on my rom and not necessary to Tecalotes rom. That been said we both have the same common bug for EVA-L09 with reception so we both giving our best to solve the issue.

So basically what i want to say is that i write on this topic not as a bug report from his rom but as a helping hand for his rom!
 
Last edited:
  • Like
Reactions: Tecalote and Goldak

fpippo1999

Senior Member
Oct 15, 2015
295
77
0
Trento
With L09 if i debrand to china and update to Oreo i lose mobile network. If i try and install an open kirin gsi image i will gain network acces? I don't think so because Gsi patch only system partition
 
  • Like
Reactions: Tecalote

Tecalote

Senior Member
Aug 6, 2015
4,077
3,104
253
Leipzig
Its L09C150B384, thanks!
Okay, please download EVA-L09C432B398 (118152):
update.zip: http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1864/g1755/v118152/f1/full/update.zip
update_data_full_public.zip: http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1864/g1755/v118152/f1/full/public/update_data_full_public.zip
update_full_EVA-L09_hw_eu.zip: http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1864/g1755/v118152/f1/full/EVA-L09_hw_eu/update_full_EVA-L09_hw_eu.zip
Dont forget rename two zip files as described in OP and copy the zip files into the update folder of HWOTA7
Then start update_eng.bat - use the script first for changing location to EVA-L09C432 and after to flash the Firmware I have linked. (Please read instructions in OP)

It can update with OTA Update in the future?
Yes, you can. But if a OTA Update is available, you must have Stock EMUI Recovery installed (instead of TWRP)
If you do not use TWRP, you have already Stock Recovery. If you have flashed TWRP, you must overwrite it in Fastboot Mode with RECOVERY_RAMDIS.IMG from UPDATE.APP (It is called "ramdis" in update.app (instead of ramdisk) - so this is no typo.)

But I would flash in every case original ramdisk.img in Fastboot Mode- you can extract it from UPDATE.APP with Huawei Extractor.
I have described here: https://forum.xda-developers.com/showpost.php?p=77173035&postcount=40
You can download Huawei Extractor here: https://forum.xda-developers.com/showthread.php?t=2433454
In settings of Huawei Extractor disable both "verify header checksum" Then open update.app and extract with right click:
RAMDISK.IMG
and if you need, also RECOVERY_RAMDIS.IMG
Code:
fastboot flash ramdisk RAMDISK.IMG
fastboot flash recovery_ramdisk RECOVERY_RAMDIS.IMG
Uninstall Magisk Manager. Then you can apply OTA. But after OTA you must again flash a Magisk patched ramdisk.img for the new Firmware to have Root and modify the local.prop.
Tell me, soon you receive an OTA and I make the patched ramdisk.img for you.

Hey, I can see that we had the same build which is C636 but mine is Philippines. Do you have any further bugs and should I also follow the one that you did on the last part which is flashing Ramdisk, install Magisk and change local.prop? How's the camera? Thanks in advance! :D
Your question has been answered here: https://forum.xda-developers.com/showpost.php?p=77175854&postcount=49
I confirm! And yes, it is absolutley important to change the Line in local.prop (as described in Post #2)


Can I update from B395 to b503 without loosing anything?
I can not guarantee it, because normally the Bootloader get one time closed during an update between 3xx and 5xx.
But it should not be a problem. You could Backup all your stuff with Huawei Backup and Titanium Backup and setup everything new, if the Bootloader would get closed...

With L09 if i debrand to china and update to Oreo i lose mobile network. If i try and install an open kirin gsi image i will gain network acces? I don't think so because Gsi patch only system partition
Yes, thats absolutely right! GSI Image will not change the fact, that mobile network is currently not working for EVA-L09 (if rebranded to AL-10). It is a pity, because with EVA-L19 the mobile network works (if rebranded to AL10).
@vampirian I guess, it has to do with Dual SIM - EVA-L19 has Dual SIM and the Chinese Brands has all Dual SIM....

If any has time, can compare to C432 of H8 oreo build.
Thats your job, when you are back from vacation :D
 

Tecalote

Senior Member
Aug 6, 2015
4,077
3,104
253
Leipzig
Is there any way to get mobile service on L09. If not how do I downgrade back to nougat?
Are you already on Oreo?
Did you read Post #2 ?

However, I will make the Guide - how to downgrade tonight (later) in Post #3, so, just wait.

Mobile Service on Oreo is currently only working if original L19 is rebranded to AL10 and with the patch I had posted in Post #2
But it doesn't work with original L09 rebranded to AL10...
 

kwonleader

Member
May 13, 2010
30
5
0
That i forgot to flash (AL10-b399-patched_boot.img) will be a problem?

---------- Post added at 08:25 ---------- Previous post was at 08:23 ----------

Okay, please download EVA-L09C432B398 (118152):
update.zip: http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1864/g1755/v118152/f1/full/update.zip
update_data_full_public.zip: http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1864/g1755/v118152/f1/full/public/update_data_full_public.zip
update_full_EVA-L09_hw_eu.zip: http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1864/g1755/v118152/f1/full/EVA-L09_hw_eu/update_full_EVA-L09_hw_eu.zip
Dont forget rename two zip files as described in OP and copy the zip files into the update folder of HWOTA7
Then start update_eng.bat - use the script first for changing location to EVA-L09C432 and after to flash the Firmware I have linked. (Please read instructions in OP)



Yes, you can. But if a OTA Update is available, you must have Stock EMUI Recovery installed (instead of TWRP)
If you do not use TWRP, you have already Stock Recovery. If you have flashed TWRP, you must overwrite it in Fastboot Mode with RECOVERY_RAMDIS.IMG from UPDATE.APP (It is called "ramdis" in update.app (instead of ramdisk) - so this is no typo.)

But I would flash in every case original ramdisk.img in Fastboot Mode- you can extract it from UPDATE.APP with Huawei Extractor.
I have described here: https://forum.xda-developers.com/showpost.php?p=77173035&postcount=40
You can download Huawei Extractor here: https://forum.xda-developers.com/showthread.php?t=2433454
In settings of Huawei Extractor disable both "verify header checksum" Then open update.app and extract with right click:
RAMDISK.IMG
and if you need, also RECOVERY_RAMDIS.IMG
Code:
fastboot flash ramdisk RAMDISK.IMG
fastboot flash recovery_ramdisk RECOVERY_RAMDIS.IMG
Uninstall Magisk Manager. Then you can apply OTA. But after OTA you must again flash a Magisk patched ramdisk.img for the new Firmware to have Root and modify the local.prop.
Tell me, soon you receive an OTA and I make the patched ramdisk.img for you.



Your question has been answered here: https://forum.xda-developers.com/showpost.php?p=77175854&postcount=49
I confirm! And yes, it is absolutley important to change the Line in local.prop (as described in Post #2)



I can not guarantee it, because normally the Bootloader get one time closed during an update between 3xx and 5xx.
But it should not be a problem. You could Backup all your stuff with Huawei Backup and Titanium Backup and setup everything new, if the Bootloader would get closed...



Yes, thats absolutely right! GSI Image will not change the fact, that mobile network is currently not working for EVA-L09 (if rebranded to AL-10). It is a pity, because with EVA-L19 the mobile network works (if rebranded to AL10).

@vampirian I guess, it has to do with Dual SIM - EVA-L19 has Dual SIM and the Chinese Brands has all Dual SIM....


Thats your job, when you are back from vacation :D
Thank you so much for your help

---------- Post added at 08:43 ---------- Previous post was at 08:25 ----------

Opp!! i forgot to say that I was factory reset and i lost some app (such as camera)
i go to eRecovery selected first menu (download latest version and recovery) it can help you to recover your devices back to stock
 
  • Like
Reactions: Tecalote

jfer671

Senior Member
Jun 17, 2014
82
9
0
Dededo
Rebrand-Update-Tool HWOTA7 for Huawei P9-EVA

For almost all newer Huawei models, there is the classic HWOTA tool. Now also for the P9 :D
With this tool it is possible to rebrand between the different models. And it can be used to install new FullOTA-MF firmwares.


Frequently asked questions:
1) When I rebrand from EVA-L09 to EVA-L19, will it enable Dual SIM Function? Or when I rebrand from EVA-L19 to EVA-L09, does it enable NFC?
NO, it can not be done like with other Huawei Devices, because Huawei used on EVA different hardware. It is also not possible with paid services like FunkyHuawei, DC Unlocker, ChimeraTool.
2) Is it possible to rebrand European models to Chinese models for updating EVA to Oreo?
YES and NO - special steps are necessary! For theese questions readPost #2. How to downgrade from Oreo back to Nougat read Post #3
3) Can I use this tool on Android 6 or Android 8?
NO, you can use it only on Android 7 (Nougat). You can use it for updating firmware and rebranding on Nougat and also for Update from Nougat to Oreo (but not for downgrade from Oreo to Nougat - how this works is explained in Post # 3)
Rebranding on Marshmallow is explained in Post #4
4) When I rebrand from original Chinese model like EVA-AL00 or EVA-AL10 to EVA-L19, will I loose RAM /internal storage size /or Dual SIM?
No! EVA-AL10 has 4 GB RAM and 64 GB internal storage and Dual SIM - These properties are retained when you rebrand to EVA-L19 (which has original 3 GB RAM and 32 GB internal storage size and Dual SIM) The hardware properties from original Phone are retained!


How does HWOTA7 work?
A) You need the Unlock Code for the Bootloader (The script ask you for the code, soon it is required)
B) Enable in Developer Options: OEM Unlock + ADB Debugging in charging only mode + USB Debugging
C) Make sure, you have a working USB-Connection between your P9 and PC (drivers) and check with Minimal ADB and Fastboot if you have working adb connection (adb devices) - confirm RSA-Request on Screen of your Phone with "Yes, always from this PC.."
D) If you have HiSuite open, close it (make sure, its not open in the background) If you have HiSuite HDB enabled in Security Options of your Phone - disable it. Close also Minimal ADB and Fastboot.
E) Extract HWOTA7-for-EVA.zip on PC and place HWOTA7 folder on Windows drive c (C:\HWOTA7)
F) HWOTA7 contains the folder "update" This is your only "work" folder. Copy into update folder the required Firmware you like to install/update. You can use HWOTA7 for rebranding or only for installing firmware.
Example: If you want rebrand from EVA-L09c432 to EVA-L19c185 - the FullOTA-MF firmware (always 3 zip files) for EVA-L19c185 must be in the update folder!
G) Two of the firmware zip files must be renamed, or it will not work! Make sure the file extensions are displayed. (wrong renaming like: "update_all_hw.zip.zip" will not work)
Example:
update.zip = update.zip (do not rename)
update_full_EVA-AL10_all_cn.zip -rename to: update_all_hw.zip
update_data_full_public.zip - rename to: update_data_public.zip

H) Soon your device ist correctly connected with USB to PC, double click in HWOTA7 folder the file: update_eng.bat
The script starts. Just follow the instruction of the HWOTA7 Terminal on PC and look whats going on at your device. If the script gives you an instruction, do it at the right moment on your device. DO NOT PRESS ENTER IN HWOTA7 TERMINAL BEFORE THE NECESSARY STEP HAS BEEN PERFORMED ON THE P9.
LEAVE USB CABLE DURING THE WHOLE PROCESSING CONNECTED UNTIL THE SCRIPT ENDS.
Example:
If your Bootloader is open, the tool will check that and flash automatically the required TWRP in Fastboot Mode.
If your Bootloader is closed, the tool will check that and ask you for the Unlock code.
You enter the Unlock code and press enter in HWOTA7 Terminal. Confirm unlocking on phone. The phone will reboot and do factory reset.
Leave the USB cable connected. Wait, until phone reboot to system, make a short setup and enable Developer Options with the required settings. Then you reboot into Fastboot mode. Soon you are back in Fastboot Mode PRESS ENTER in HWOTA7 Terminal.
The tool will automatically flash TWRP for EVA (Android 7) - KEEP USB cable connected and boot with VOL+ and Power Button into TWRP (with this tool you will boot to TWRP even with connected USB Cable - and not to eRecovery!)
Then you arrive a menu in HWOTA7 Terminal - choose "2. Using Script"
The script ask you "What you like to do" - you have two options: "1. Change Firmware" or "2. Change Location".
For rebranding use "2. Change Location". You can choose between 11 oeminfos
Example - You choose "7. EVA-L19C185":
The tool flashes automatically oeminfo (while you are in TWRP) + closes the Bootloader + ask you for the Unlock Code. You enter the Unlock code, phone makes a factory reset (lowlevel) - BUT IN THE MOMENT THE PHONE REBOOT you press VOL+ Button and phone boot now to TWRP (normally it would boot to Stock Recovery, but with this Tool it boot to TWRP)
Soon your phone is back to TWRP the tool copies automatically the firmware zip files from update folder to /data/HWOTA and flashes the Nocheck Recovery and phone reboot and install the update. The Nocheck Recovery is working for all brands, you dont need to change it.

Dont worry about the steps - the HWOTA7 Terminal tell you at each point what you have to do and which step or action of you is required. You can do the rebranding three times in one go and flashing the corresponding firmware for each location. In this case you must change the firmware zip files in the update folder between the next rebranding.
Leave the USB cable connected until the end.
For more information (to see how it works) look into the attached text file here.


Where can I get the Firmware?
Use Firmware Finder from Playstore.
In settings (3 dot menu/settings) change to "Show only FullOTA" In main window "Add model" Exampel: EVA-L09C432. You see then only FullOTA-MF Firmwares. Click on a Firmware and "Check Firmware Access" and "Check Availability" If it says: "The firmware is not approved for installation" - I would not recommend . If it shows: "Firmware approved for installation Models EVA-L09C432Bxxx" - click on Download. Or if you have model EVA-L19C432 instead, and you see "Firmware approved for installation Models EVA-L19C432Bxxx" click on Download.
You can enable in Developer Options "Keep phone awake during USB charging" to make sure, the Download get not corupted. Additional I would try to open the zip file after Download in a zip viewer to check if the zip file is complete.
The other possibility is, download the zip files to PC instead on the phone. Finally, it is needed on the PC and needs to be copied to the C:\HWOTA7\update folder.
If you click in Firmware Finder on Download you will see 4 zip files - but you need only 3 of them: update.zip, update_data_full_public.zip and the third file must match your device (which you like to update or rebrand to) When you see the 4 files, choose the 3 files you need and instead of ok (this will download) click on "Share Firmware" - then you can store the Links in a txt file or send you the Links with email... In this case you can download the files on PC.

Alternatively you can use the Direct Link on PC:
http://pro-teammt.ru/firmware-database/?firmware_model=EVA-L09C432&firmware_page=0
Enter the correct model name and cust and press enter. Choose only FullOTA-MF. Click on FILELIST and wait until a new Window pops up with the Links you need for Download. However, here you dont see if the Firmware is approved for installation.

The Third possibility is to use Firmware Finder for PC:
http://pro-teammt.ru/projects/hwff/v2/GetLatestVersion.action
Unzip it and double click on FirmwareFinder.exe. Click on "Common Base" and enter your model name with cust. Search on "Type" for FullOTA-MF and click on FILELIST. After you can copy with right click on changelog and above in the symbol "check availability" you can check, if the Firmware is approved (even with your IMEI, if you like)...


Download P9-EVA-HWOTA7.zip .: https://www.androidfilehost.com/?fid=5862345805528058313
MD5: e42911f2240bb7364d3164a4166433dc
Extract the zip on your PC, the zip contains the folder: HWOTA7 - Copy the folder to C:\ (C:\HWOTA7)

:cowboy:

Credits:
@Atarii EVA NoCheck Recovery
@OldDroid Android 7 TWRP for P9-EVA, TWRPs for many Huawei devices, Lead Developer/Maintainer Open Kirin Team
@Pretoriano80 Android 8 TWRP for many Huawei devices
@arshilhonor6x Guide to EMUI 8 for Honor 6
@reynard1 @vampirian @dkionline Thank you for cooperation and exchange

XDA:DevDB Information
HWOTA7-P9-EVA, Tool/Utility for the Huawei P9

Contributors
Tecalote

Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2018-07-24

Created 2018-07-25
Last Updated 2018-07-24
Quick question: Will this apply to be able to re-brand my EVA-L19 to EVA-L29 and still have all functions available, since they are both Dual sim models?
 

Tecalote

Senior Member
Aug 6, 2015
4,077
3,104
253
Leipzig
Quick question: Will this apply to be able to re-brand my EVA-L19 to EVA-L29 and still have all functions available, since they are both Dual sim models?
Yes, of course! Normally it would be possible - and you could do that way:

(Make sure, you have the right 3 FullOTA-MF Firmware zips in HWOTA7 Update folder (and two of the zip renamed as described in OP)
Then use update_eng.bat /following the instructions from Terminal and use Script for changing location first and after that installing L29 Firmware (by the script)


Edit: But it is not possible for now - because I don't have any L29 oeminfos right now.
If someone could upload L29 oeminfo I could integrate in the HWOTA7 Tool!
BTW: Don't use answer Button on the main Thread, (you can use this Button for reply to every other post) because it is too much stuff for the other users to read the whole OP once again.. :)
Just ask your question and you will get an answer
 
Last edited:
  • Like
Reactions: jfer671