yashsingh1/xdaforums huggingface dataset:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Can you please explain me once again what exactly you like to do and what's not working. Thx :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] ogisha:
Just one dumb question. ?

Should update.zip and data.zip both be flashed on system partition?

Thank you.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
If you want to upgrade your rooted Stock b386 to b394 or b395 do it this way:

https://xdaforums.com/showpost.php?p=74935242&postcount=51

If you are then on clean b386 you should receive OTA - but the first you download must be a FullOTA, you must set it in Systemupdate.

Your question: TWRP flash the zips to the right places - this is not only system ;)

All Partitions get overwritten by the zips, also data.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] ogisha:
Thank you.

Is another flashing with dload method necessary?

Is factory reset before b394/b395 also necessary?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I would recommend both
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] syrkles:
How can I go about installing this on EVA L29 3GB still on b168?? I have been searching and can't find any info on this version of the p9
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] jonathanhenry81:
:crying: why
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Look into Settings "About phone" and tell me the build number!

I will check soon I have time
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
You should do a battery callibration - with the two Apps I wrote here:

https://xdaforums.com/showpost.php?p=73896018&postcount=604

Edit: And you should perhaps think about what we have discussed here:

https://xdaforums.com/p9/development/rom-huawei-p9-magicrainbow-v3-t3722457/page24
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] syrkles:
Here it is
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Okay man I will check, give me some days. :)

I must also write a guide for [MENTION=5305733]tonyaross[/MENTION]

https://xdaforums.com/showpost.php?p=75052775&postcount=213

Information:

On Page 1 Post #3 comes shortly a small Guide how to going back to Original Huawei Stock Firmware - for Users who want to switch. :cowboy:

Its very easy... cause I provide a HWOTA.zip (at the moment only for L09-c432, but the other will follow
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Maybe [MENTION=4657522]ogisha[/MENTION] could also apply HWOTA.zip from your post #3 to go directly to b394?

https://xdaforums.com/showpost.php?p=74913874&postcount=3

And more general question, could this method also apply to debrand any EVA L09 EMUI 5.01 to c432 b394?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] ogisha:
Hello guys!

I have successfully upgraded Huawei P9 L09C432B386 to L09C432B395, thanks to help from our friends [MENTION=6870018]Tecalote[/MENTION] and [MENTION=7786725]zgfg[/MENTION].

I have made the guide based on their guides and advices, and on some of mine observations.

It is made of many small steps with reminders in order to keep the possibility of mistake as low as possible. It also can be used for upgrading on other new firmwares.

Here is the step by step guide:

1. make backup of internal storage

2. ‎make Huawei backup and Titanium backup

3. ‎disable fingerprint/pin/password protection

4. ‎remove Google account and other accounts

5. ‎enable disabled system applications

6. ‎download B386 firmware (or any other newer full firmware)

7. ‎unroot

8. ‎flash update.zip

9. ‎flash hw_eu_data.zip

10. ‎do not reboot but wipe dalvik and cache

11. ‎do not reboot but restart recovery

12. ‎from stock recovery wipe cache partition

13. ‎from stock recovery wipe data/factory reset

14. ‎from stock recovery reboot to system

15. ‎unpack UPDATE.APP from update.zip to sdcard/dload

16. ‎turn off press Volume Up + Volume Down + Power and flash UPDATE.APP

17. ‎after reboot delete UPDATE.APP

18. ‎unpack all files from hw_eu_data.zip to sdcard/dload

19. ‎turn off press Volume Up + Volume Down + Power and flash

20. ‎goto system update and select full update not differential update

21. ‎wait for OTA to finish

22. ‎before last (b395) OTA do a factory reset with erase internal storage

23. ‎check oem unlock, if turned off and grayed then do the rollback, sorry

24. ‎turn on adb debugging

25. ‎turn on usb debugging

26. ‎boot to fastboot (plug USB, turn off, Volume Down + Power) or (adb reboot bootloader)

27. ‎fastboot oem unlock [unlock code]

28. ‎boot to fastboot (plug USB, turn off, Volume Down + Power) or (adb reboot bootloader)

29. ‎fastboot flash recovery twrp-xxx-eva.img

30. ‎boot into twrp (unplug USB, Volume Up + Power)

31. ‎flash magisk

32. ‎reboot

33. ‎install magisk manager

34. ‎flash magisk modules

35. ‎reboot

36. ‎restore sdcard backup

37. ‎restore Huawei backup and Titanium backup

38. ‎reboot

I am the fan of stock firmwares, so I did not install Magic Rainbow, although it is based on stock. Maybe I will give it a chance some other time. Anyway [MENTION=6870018]Tecalote[/MENTION], I really appreciate your work on Magic Rainbow and P9, comprehensive.

Thank you.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] darrr1:
BTW: Is possibly to do debranding somewhere between points of this guide.?For example- after step nr23?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Steps 6-19 include debranded (FullOTA-MF-PV) c432 b386
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hello [MENTION=7786725]zgfg[/MENTION] :)

The zip is in the moment only thought for going back from my ROM easy to Stock Huawei Firmware, on which the Rom is based.

I made first one zip for EVA-L09 C432. Tested, works 100%

L19 and other cust will follow.

Of course I guess (not tested yet) it can be used also from rooted Stock b386 to update to b394, but then it's necessary to use next OTA to b395 with FullOTA-Package.

Cause normally, if you are on b386, you receive some OTAs between, before b395 comes - small OTAs are build on previous versions..

I am sorry for [MENTION=4657522]ogisha[/MENTION] He must do the long way, but I made the zip yesterday night.

Debranding is another thing - it's not included yet in my zip.

I must make several tests for this to tell you more.

But I guess Debranding can only be done on the Firmware which is shipped with the device.

Example: P9 comes with Android 6 and Debranding can only be done on Android 6.

Mate 9 comes with Android 7 that's why Debranding can be done on Android 7.

I debranded about 10 Phones for Users they sent the Phone to me.

One of those was AL10 and I debranded it to L19.

But it was only possible on Android 6..

I will provide a debrand Guide during next months.

I am busy cause working now on Custom Rom for P8 and Mate9 nest Job and family ;)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Flashing FullOTA-MF-PV will not debrand phone from one model to the other, it can only be used on the phone which the Firmware is for.

FullOTA-MF-PV can be used for flashing with TWRP and dload on P9.

But it doesn't debrand your phone
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Debranding on P9 is only possible by downgrade to Android 6 and flashing oeminfo.

I will provide a Guide during next months.

I made one in older Thread, but now I have more knowledge about, cause I debranded several phones.

Which Debranding to you want?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Your HWOTA.zip (unpacked and inspected :)) includes FullOTA-MF b394 #102064 (2 GB) hence it is already a Full update to b394 and then just a differential update to b395 should IMO be enough.

My phone was originally c432 b182 hence I never needed to debrand, except that I twice did a rollback (because of condition 23 in [MENTION=4657522]ogisha[/MENTION]'s guide).

I don't know but I was wondering what if P9 has EMUI 5.0.1, but cust different from c432, how to debrand without rolling back to EMUI 4.1
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] ogisha:
Is Automatic Start exclusive Magic Rainbow's feature or is it obtainable on stock too?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
You need PMPlus to unleash AutoLaunch feature in PhoneManager. PMPlus is from Huawei and does not require root.

It was already included in MagicRainbow v2.

I tried to install it to stock b391, but no success. I found some installation on XDA for Mate, and I also tried by extracting from MR v2 zip. If you search for PMPlus in MR v2 thread, you will find some posts about, like

https://xdaforums.com/p9/development/rom-huawei-p9-magic-rainbow-t3601064/post74423771#post74423771

Maybe it needs to be integrated to the ROM as system app. Or maybe [MENTION=6870018]Tecalote[/MENTION] has a flashable zip :)

PS: Screenshots attached for overnight battery consumption (idle time, not neede/used apps not launched and/or killed on locking screen)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] ogisha:
Is there any way to make an application system application systemlessly? ?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=7786725]zgfg[/MENTION] PMPlus is working only with flashed KangV Advanced Settings, because a modified system ui, framework.jar and services.jar is required.

It cannot work on Stock P9 with L09, L19, L29 but in AL00, AL10 it's already included (no need for PMPlus) together with the special permission manager. But on the other side you cannot run properly Google Apps on chin brandings.

[MENTION=4657522]ogisha[/MENTION] No, you can convert User Apps to system Apps but not systemlessly - not yet :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Addymore:
I was able to debrand P9 L19 from C185 to C432 on android 7.....!!! using the old method....changing oem info, unlocking bootloader, flashing firmware in twrp.....!!! I was quite easy....:cowboy:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] darrr1:
It's not my phone. I try help someone who has Ndram- test key rom after ota upgrade on rooted phone.

it's Polish tmobile brand eva-l09c150b3XX( we are still looking for correctly firmware ).

---------- Post added at 18:32 ---------- Previous post was at 18:20 ----------

of course I mean other , correct firmware for branding phone
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Yes, good to know - seems for changing cust on same Phone it's working.

But if you try to change the model from L19 to L09 or AL10 to L19 I guess it can only be done on Android 6 so far I know
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Addymore:
Yeah...!!! May be...!!

The funny thing...and I don't understand it.....I was never able to debrand to C636......either on android 6 or 7.....both on L19......from C185 and C432......!!!:crying:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
But the OTA didn't come by itself, he pushed it with a tool, right?

Cause after an Update which is coming really Over the Air would not bring this result.

The branding must be overwritten with the right oeminfo before updating the Firmware to an unbranded one.

Even if you install a unbranded Huawei Firmware, right for this cust, it would not correct the Test-Key Build Number.

I think about it
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] darrr1:
Little spam;)

now phone is debranded. He did move to MM from "ndram test" by rollback and it has c900. next step was debranding and now it's c432b182.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Well, you didn't say that you want to debrand to c432. :)

I know this method very well. I debranded about 10 phones and one from AL10 to L19..
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] syrkles:
Could I possibly debrand my L29 to say a L19 and get the firmware updates for emui 5 my phone is L29 32 GB 3gb ram?? I am stuck on marshmallow and would like to officially update and install custom rims from there
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Yes, that's possible. I write you how to do soon I am at home
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] syrkles:
Awesome thank you
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Debranding L29c636 to L19c432 on Android 6

Its easy to do it cause you are already on Android 6 -

Debranding your L29 to L19c432:

1) Backup your data and Apps and also folders from internal Storage - cause everything will be wiped. From internal Storage save WhatsApp folder, DCIM, Pictures, Downloads etc. store it on external SD. Be sure OEM Unlock is enabled and USB Debugging in Developer Options.

Delete everything, your Fingerprints and Pins, your Google Account and all other accounts. After perform factory reset with wipe of internal storage (from native settings /advanced settings /Factoryreset

2) Enable again USB Debugging in Developer Options and OEM should stay enabled. Bootloader must be unlocked!

3) TWRP for Android 6 P9 must be installed - if you don't have, use this: https://www.androidfilehost.com/?fid=457095661767122229

4) Download Full Firmware b182 (this is same for L19 and L09) :

http://download-c.huawei.com/download/downloadCenter?downloadId=91783&version=358257&siteCode=nl

5) Unzipp update.zip on PC (you get update.app and maybe META-INF)

6) Create a folder on external SD and name it exactly

dload - copy UPDATE.APP and META-INF into dload folder

7) Download oeminfo for L19c432b182:

https://www.androidfilehost.com/?fid=817550096634767353

8) Unzipp this File and you have oeminfo.emmc.win

9) Store this file into the Folder:

TWRP/BACKUPS/MWS7xxxxxxxxxxxx/L19c432/oeminfo.emmc.win (MWS7xx... is example, this folder must named with Serial number of your device. TWRP creates this folder automatically if you make Backup, I think you know. And inside you create the folder L19C432 and store oeminfo in it)

Disconnect USB from your Device!

10) Flash oeminfo by doing with RESTORE - go to Restart, but Attention: In the moment phone is restarting press Vol+ and Vol- (in the middle) down and hold this position until phone is rebooted to EMUI Software Installing. Now b182 will be flashed ( from dload folder!)

11) Wait until 100% is ready and device will restart, but in the moment press down only Vol+ to boot P9 into Stock Recovery instead of system. In Stock Recovery perform Wipe Cache Partition and do Factoryreset!

If on Point 11 Software Installing failed, boot with only Vol+ to Stock Recovery, make Wipe Cache and Factoryreset - then Restart and press now Vol+ and Vol- again to repeat step 11

12) but it should normally work - if Emui Software Installing did 100% and you made before reboot to the system Wipe Cache and Factoryreset - you can now boot to system.

13) You should be now on L19c432b182 :)

You will receive OTA then to b383 - important: SIM must be inserted - if not: no OTA

14) Do all available OTAs and on last OTA make another Factoryreset with wipe of internal storage from settings.

No you can setup your phone.

Restore only User Apps (no system apps from previous system) and don't restore Messenger Apps (those apps must installed new with new authentication if you want to have working Push Notifications)

Wish you success. I will try to answer if you are stuck on some point. But I am not 24 hours available - at the moment its Midnight here :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hello [MENTION=5305733]tonyaross[/MENTION] I would do it with following steps:

1) Backup your stuff from current Rom "Renovatio", Backup also important folders from internal Storage.

Make Nandroid Backup too.

Delete your Fingerprint and Accounts in settings

Keep OEM Unlock and USB Debugging enabled in Developer Options.

2) Download Full Firmware for EVA-L19C185

I would use this Full Version b170 instead of b220!

http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1166/g104/v67300/f1/full/update.zip

3) Unzip Firmware update.zip on your computer

4) Copy only the unzipped files (UPDATE.APP and META-INF) (Mata-Inf if there) - to the folder on your external SD - it must be named dload

5) After copying files to dload - open settings, K-Settings /More Settings /Flash recovery and flash official Recovery.

Disconnect USB from your device.

6) Reboot your phone with Vol+ and Vol- and Power Button and press all three buttons down until EMUI Software Installing begin.

7) Hopefully it comes to 100% - if it fails, don't worry, reboot to Stock Recovery by holding Vol+ in the moment device restart

In Stock Recovery make Wipe Cache and Factoryreset. Then go to Restart and press in the moment Vol+ and Vol- until Emui Software Installing flashes b170 from dload again.

8) If it's successful flashed now, boot to Stock Recovery and do wipe cache and factory reset.

8) After device is restarted to system, you should receive several OTAs. First may to b220 and after to Android 7

Note: SIM must be inserted
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] syrkles:
This guide worked to the tee. Thanks so mich for all the help man im currently downloading the emui 5 update now
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] syrkles:
so i think i screwd myself because i tried to flash to rr and got no sim so i tried to go back to emui with ur method and i lost twrp when i tried to flash the version u told me to flash and now i cannot boot into the system or boot into the emui recovery i do not know what to do
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
For RROS installation you get better info if you ask in their thread.

Edit: You asked there too
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] darrr1:
Debbuging usb switch is always OFF

1. Switch ON

2. Close programming option

3. Open programming option

4. Switch is OFF

Wysłane z mojego EVA-L09 przy użyciu Tapatalka

---------- Post added at 13:05 ---------- Previous post was at 12:20 ----------

In conclusion:

Debranding from nougat 7.0 for eva-l09cXXX to ava-l09c432 is possibly this way:

1. Unroot

2. Flash original recovery

3. Rolback to Marshmalow 6.0 using rolback package

4. Flash 3 buttons method eva-l09c432b136 rom

5. Unlock bootloader

6. Install twrp

7. Flash file oem-c432bin

8. Flash original recovery

9. Flash 3 buttons method eva-l09c432b136 rom

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] ogisha:
Hi guys,

Anybody that has problems with AdAway and Magisk should try this:

https://xdaforums.com/showthread.php?t=2190753&p=75097249
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
To enable USB debugging it must be always done in two steps, exactly this order, see eg post #259

24. ‎turn on adb debugging

25. ‎turn on usb debugging

As per yestersday's discussion above, debranding from L09 EMUI 5.09 to L09 c432 is possible in TWRP, without rolling back to EMUI 4.1
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I read and thought your intention is to install my Rom MRv3…

You told me your build Number with Screenshot: EVA-L29C636B168 (Android 6) here:

https://xdaforums.com/showpost.php?p=75094840&postcount=256

I told you how to debrand from EVA L29-c636-b168 (on Android 6) to EVA L19-c432-b182 (Android 6) with this Guide:

https://xdaforums.com/showpost.php?p=75105886&postcount=280

And this Guide is working 100%, because I did it by myself.

It debrand your Phone directly on Android 6, because you were this time on Android 6 and you confirmed, that it was working here:

Normally you receive OTA to update from Android 6 to Android 7 with b383.. and then OTAs to get latest Build Number which is available for EVA-L19

After you getting problems because you tried to install RR Rom from here:

https://xdaforums.com/showpost.php?p=75108463&postcount=579

And you told me your problems here:

….”I tried to flash the version you told me to flash….” I didn’t told you which version you should flash in this situation – because you didn’t aks me! And I also didn’t know that you have installed RROS Rom.

The Firmware-Link I give you – was only for the situation to debrand on Android 6 from one model to the other. It is Android 6 Firmware for EVA-L19 and EVA-L09 b182.

You cannot flash Android 6 Firmware after flashing RROS Rom which is based on Android 7, it cannot work, but make your phone softbricked!!

To install RROS Rom – you had format data with TWRP – means it removed encryption from your data and switch data file system from F2FS to Ext4 (don’t know if you did this step or not and have that’s why problems with RROS)

For going back to Stock Rom it is necessary to format data back to F2FS and then install a related Android 7 Firmware (or playback TWRP Backup from Android 7 Firmware) – and not flashing an Android 6 Firmware!

Yes that’s small another way, but it is another situation – it is the way to change oeminfo if you are already on Android 7 and just change cust with downgrade method on same model

You can even use same Guide I have written to [MENTION=2494120]syrkles[/MENTION] (but he was on Android 6 and in another situation) but the start is then with downgrade procedure before the steps of my Guide

Yes, [MENTION=4233087]Addymore[/MENTION] told about this and its also just changing cust on same model, but on Android 7:

But he didn’t say how to do….

But if doing so, oeminfo from Android 7 Firmware is needed (example from b386) and you must flash then after changing oeminfo the related Firmware of this oeminfo.

Because if you check oeminfo with MD5 you will see that oeminfo on Android 6 for same cust and model isn’t the same than in Android 7.

Finally, I would like to ask you to stay clear and precise and avoid OT.

Because Debranding issues are only related to this Thread, if Users want to install this ROM and having problems. ;)

This Thread is not a Thread about how to debrand...
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] syrkles:
after all the headaches i was able to get magic rainbow up and running but the patch file zip does not flash after rebooting back into recovery after the rom flash. My intention was to run this ROM and I just got sidetracked I'm sorry I love aosp ROMs so I decided to try it and it screwd me in the long run anyway. When I boot into magic rainbow I'm missing apps and Bluetooth doesnt work
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Of course, may you don't read Post #1 (OP)

You have to flash before Reboot the data-files_patch for L19 because you are on L19 now

But you can flash this now and it should work then
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] syrkles:
Ok so now I am up amd running 100% on magic rainbow. What I did was restore my backup of b386 and then flashed magic rainbow and I am.up.and running thanks for all the help bud
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Okay, that's good news

Note: If you use Magisk Edition, update Magisk to 15.2 using my zip in Post #2
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
You are right :)

I have tested right now, the Update from b394 to b395 can be done only with OTA - no need for Full Package then - I will correct the instruction...

Guide is also in #3 now and L19c432 going back HWOTA.zip too.

I do not do this to invite you to leave this Rom, but for later, if there is a reason :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
One more question, do the combinations work

a) b395 -> MR v3

b) b395 -> MR v3 -> b394 by HWOTA.zip

I suppose they do, since your zips ovewrite partitions back and forth
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I think so but I will test tonight