yashsingh1/xdaforums huggingface dataset:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
The new Thread for MagicRainbow-v4 is online

MagicRainbow-v4

New Thread on xda:

https://xdaforums.com/p9/...ow-v4-t3759292
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] revery0:
I know but you suggested it on your previous post, so I thought it was different one.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] revery0:
Update: Uninstalling the Health app, disabling lock screen step counter from settings and reinstalling the latest application from the playstore fixed the problem!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Mostar088:
Hi again

Just wont to see if u had the time to test this, i know u are busy now and so am i, cant find the time to test if it works to because i work to much.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] NervReaper:
After going back to MM and update step by step to Nougat B398 i flash the rom with factory reset and L19patch but i had the same result, cts profile match false and play store uncertificated. I do every step from post as it should be and i'm very careful with this. The only thing that i could find different in the new v4 are some missing process on the magisk hide register.

These are the processes listed on v3 but missing on v4, i thing they are from apps that you had installed when create the magisk v15.3 flasheable but i can't think what else can be triggering cts profile match to false. Anyway the rom is fast, stable and perfectly usable with cts profile to false but i'm a little perfectionist :rolleyes:

- de.amazon-mShop.android.shopping

- de.postbank.finanzassistent

- canvasm.myo2

- com.android.nfc

- com.paypal.android.p2pmobile

- com.viber.voip

- com.tencent.mm
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Same with me, at the moment no chance - but I will try during next weeks
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
It must something special with L19 what I cannot test at the moment (I am on L09) - but during the next weeks I try to debrand my Test Phone to L19 and finally test Rom on L19 to see what's happened with with ctsProfile
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] NervReaper:
I fix safetynet by changing the fingerprint prop, now everything it's ok.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
deleted - cause double post...
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Could you please explain how you did for other Users which may facing same problem, thanks :good:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] NervReaper:
it seems that it's a conflict with "ro.build.fingerprint" so i create a file called fingerprint in /sbin/.core/img/.core/service.d and put this in there:

resetprop ro.build.fingerprint OnePlus/OnePlus3/OnePlus3T:8.0.0/OPR6.170623.013/12041042:user/release-keys

Then i gave it 755 permission, cleaned data and cache for google apps and reboot. It's necessary to show the hidden files on mixplorer to see .core folder. This boot script replace our fingerprint device to one from Oneplus 3T. I hope it will helps.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Thanks for Explanation - but not every user should do this, only if safetynet would not work..

I got safetynet true to work without issues.

But if not, this trick is helpful, thanks :good:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Thats good news - BTW: I will make a zip with original Bootanimation for you during this week.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] revery0:
Hey no rush. If you can point me to procedure that does not involve rflashing firmwares from the beginning again, it will be great. My phone works perfectly now and for the first time my banking app works (magisk hide).

Regards
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
If something goes wrong, how to reflash the L09 custom.bin?

And one more question, if somebody debranded P9 L19 to L09, does NFC work?

I.e, is it only difference in firmware or also in hardware (L09 single SIM reader with NFC chip, L19 dual SIIM reader but without NFC chip)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
No, its only Firmware - that's why Dual SIM Settings are in Apps.

I have custom.bin for L09 too - but not tested yet

If you have debranded L09 to L19 (if it works that way) NFC is disabled and cannot be used until you rebrand to L09.

But you know - its always a risk (Debranding)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
My question was the opposite, starting with original L19, debrabned to L09 - does NFC work? If it doesn't, it could prove that hardware is different.

There are success stories on Internet about converting P9 Lite Single SIM to dual SIM, and also converting P10 single to dual SIM. But not a one proving successful conversion of P9 single SIM to dual SIM.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=7786725]zgfg[/MENTION] - I am not 100% sure, but I would think if somebody debrand from L19 to L09, NFC should work (of course, if hardware isn't different..)

I have only L09, and not tested debranding yet.

I don't need Dual SIM, but I need NFC (I have Canon Printer and can connect with it via NFC and print from my Phone and I can use mobile Payment with my Banking App via NFC)

So, if I test, only for the User..

But if you test it before me, it's fine. L09 to L19

I wish you success!

I have seen in the Firmware L19 has also NFC App and files included, but they will disabled during first Reboot..

We will see :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=7786725]zgfg[/MENTION] [MENTION=4876367]Mostar088[/MENTION]

I found out - the flashable zip which should change L09 to L19 (single SIM to double SIM) and back, must contain not only oeminfo and custom.bin, it must also contain the build.prop from b182 (for the oeminfo to change)

I will build new zip for both (L09 and L19)

So don't do anything before I made the zips.

[MENTION=7786725]zgfg[/MENTION] - where did you order the dualsim case? Have you please Link for me, I like to order too.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
New Magisk Update to v16.1

Users of Magisk Edition can update Magisk in MRv3 and MRv4

With following steps:

https://xdaforums.com/showpost.php?p=75845280&postcount=87

In MagicRainbow v3 (force encryption and AVB2.0 dm-verity must be enabled first on main window of Magisk Manager)

In MagicRainbow v4 - Force encryption is enabled by default (don't disable) but AVB2.0 dm-verity is not necessary (don't enable)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Oops, I just started debranding yesterday night:

- returned back to stock L09 c432 b394 from MR v3, by flashing your HWOTA.zip

- ‎declined OTA to b397 and rolled back instead to c900 b300, by DLOD method

- ‎installed L09 c432 b182 by DLOAD method and did your factory reset and wipe

- ‎unlocked bootloader again

- flashed TWRP for MM

So can you please provide that new ZIP to flash all three:: oeminfo, custom.bin and build.prop for L19 c432 b182, that I can proceed ((my P9 is operable but I'm stuck now with that old b182 MM)

----

You originally proposed flashing the same L09 b182 DLOAD package also for L19, then you provided a different one for L19 but eventually you wrote that maybe that same/original L09 is better (you successfully used it for debranding L29 to L19).

Which one would be right, L09 or L19 c432 b182 package for debranding to L19?

I thought to use L09 package since you reported that it always worked for your L29 to L19 debranding, by keeping its dual SIM functionality -'proving that dual SIM is in that firmware.

---

I have ordered dual SIM tray for P9 L19 from Ali

https://www.aliexpress.com/item/OEM...32GB-Rom-3GB-Ram-Replacement/32819210510.html

I got it, it fits ok, I use it now for SIM+SD. It does fit also SIM+SIM but I cannot access second SIM while still on L09.

Btw, external SD card is a must for me (much more important than dual SIM), so I was thinking of DIY modifications (there are many similar guides, also on YouTube for Samsung S7 Note and various Chinese phones, always the same trick about stripping the SIM chip and glueing it to the SD card):

https://xdaforums.com/p9/accessories/tray-adapter-2-sim-1-mem-t3394882

https://www.android-hilfe.de/forum/...icro-sd-karte-gleichzeitig-nutzen.733080.html

but I also ordered hybrid SIM/SD dapter extender (I use back cover for P9, I hope it will fit between the phone and the flexible back cover)

https://www.aliexpress.com/item/Hyb...ano-Micro-Mini-SIM-Card-Slot/32848006426.html
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=7786725]zgfg[/MENTION]

I really don't know which package makes more sence - yes L09 package was always working - but for converting Single SIM to Dual, I don't know before I have tested both.

If you use the L09 package b182 c432, you must not wait for the new zip. Cause zip for L19 contains build.prop from L19 package

If you flash new zip - you should flash L19 package - cause build.prop in zip is from the L19 package.

I would try it first with this (updated) method (but same L09 package) : https://xdaforums.com/showpost.php?p=75655371&postcount=453

And then you see - it should work on b182, if Dual Sim not working on b182 it would also not work on Nougat. Just tell me.

I can provide the new zip in the evening (around 7 pm) I am not at home yet.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Your method you point here tells me to flash L19c432b182-oeminfo-custom.bin_flash.zip (which iswithout buildprop)

But in your earlier today's post above

https://xdaforums.com/showpost.php?p=75844769&postcount=603

you say quite opposite ?!

>I found out - the flashable zip which should change L09 to L19 (single SIM to double SIM) and back, must contain not only oeminfo and custom.bin, it must also contain the build.prop from b182 (for the oeminfo to change)...

>>So don't do anything before I made the zips.

---

Also your guides say:

>>8) Copy this flash zip to the external SD of your P9 and disconnect USB from your Device! Insert both SIM-Cards

>>9) Flash oeminfo/custom bin...

which is quite impossoble:

-tray has only two slots, SIM+SIM or SIM+SD

-flashing requires SD

hence two SIMs cannot be inserted at that time, while flashing goes from SD

So tnx, I will wait till evening for the new ZIP and to clarify :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=7786725]zgfg[/MENTION]

Yes, just wait for my zip in the evening..

(Around 7 or 8 pm)

To clarify what I meant:

You could try the method from 27.02.2018 - zip without build.prop and L09 package instead of L19 package

For the new zip I make in the evening - you must use the L19 c432 b182 (not the L09 package) - I will write the Guide again.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
TWRP can flash ZIP from Internal memory, but immediately after follows rebooting to eRecovery to install L19 b182 from DLOAD folder that must be on SD
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Yes, you are right. You know, it's sunday and I was tired from the working week.

I didn't thought about the next step..

In this case it's not possible to insert both SIM, with the exception you have already the modified slot which can contain both SIM and the SD..

BTW: I am at home now and make the new zips now - it needs some time, cause I have to download L19 Firmware, extract it, extract the system.img to get build.prop and then make the zip.

I had also massive problems with Android Filehost totay - Downloads getting aborted and Login does not work... sendet request ticket...
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
NP, thanks, we will see. I don't plan today to risk with flashing anymore, I must have operable phone tomorrow morning.

Although it's now on MM, not rooted, without MagicRainbow, but it works, hence it can wait.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=7786725]zgfg[/MENTION] New debranding Guide from L09 to L19 is online (one post before this) with the new zip, which contains: oeminfo, custom.bin, build.prop and lib_oeminfo_interface.so for arm and arm64.

But you must use after flashing the L19c432b182-oeminfo-custom.bin_flash.zip the L19 package!

I am very interested on your result and wish you succes.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
What if thins go wrong - Nandroid backup will be enough or another, opposite ZIP for converting L19 to L09 will be required
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Nandroid Backup is enough (but it must contain: cust, data, oeminfo, system) - you can restore, if debranding method not work as it should.

But you have to do Factoryreset after.

[MENTION=7786725]zgfg[/MENTION] Edit:

(I have tested on AL10 debranding, first try was not succesful, then I restored Nandroid...)

To make the zip for L09, I must downgrade to b182 on my device. After root b182 to get the neccesarey two files: oeminfo (from TWRP Backup) and custom.bin from /data - (this files cannot extracted from update.app, cause they are encrypted) the other files I can extract from update.app.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
You were previously able to debrand AL10 to L19, but now with this method it fails? DLOAD for L19 fails, or doesn't boot after or its dual SIM doesn't work then, or what fails?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Don't worry :silly:

I debranded successful AL10 to L19 - it is not difficult (but difficult enaugh) - cause both have Dual SIM.

Soon I have time, I open a new Thread for debranding.

The Al10 method is tested two times. One by me and once by another person.

The first try of mine was not successful and I restored Nandroid Backup, the second try was successful.

AL10 has no Downgrade Package and the right Firmware from Android 7 to Android 6 must be flashed first with TWRP and after with dload...

It is complete different.

The message to you was only that restoring the Nandroid of b182 (with oeminfo and all other Partitions) which you are able to backup with TWRP, converts the phone back to L09. Of course, Factoryreset with low level wipe is necessary and to be sure, flashing L09 package after with dload should be enaugh.

However, if you get any problem after, I make L09 oeminfo zip too (with all the other files in it)

To do so I downgrade with my test phone and take the required files.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=7786725]zgfg[/MENTION] If you feel more safer with L09 oeminfo.. zip, I can make downgrade to b182 tomorrow and take the required files and release this zip too.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Followed the guide, i.e., just finished with

- flashed : L19c432b182-oeminfo-custom.bin_flash.zip

- Installed L19 b182 by DLOAD

- Factory Reset/Wipe Cache from eRecovery

-Factory Reset/Erase Internal Storage

Yes, I'm in L19 c432 b182, with offerred OTA for L19 c432 b383

But, NO, there is no such thing as dual SIM. I did Factory resets with already two SIMs in slots. It asks me for SIM pin only for my first SIM (not for the second SIM in the hybrid slot for SIM or SD). I exchange SIMs, it sees only SIIM in the SIM only slot. I tried with one SIM only, in one or the other slot - no success. SIM that is in the hybrid slot s never recognized.

I will atach screenshots...

But now I want to go back to L09 Nougat - how to do it:

- May I reinstall TWRP for MM and restore L09 b182 Nandrid backup, do Factory resets and start OTA updates for L09?

Or should I wait for your L09c432b182-oeminfo-custom.bin_flash.zip

Or, may I safely try one more thing - let OTA upgrade from L19 b182 to L19 b383 and to check dual SIM there?

And if no dual SIM there either, to rollback and restore my previous L09 b182 Nandroid backup and do then L09 OTA upgrades?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=7786725]zgfg[/MENTION] - I would say, if Dual Sim isn't recognized on b182 it makes no sense to update to Nougat. It will also not work there.

It seems, there's no way to get it to work..

Perhaps really different hardware (what I didn't know)

Try to restore Nandroid Backup, do Factoryreset with wipe of Cache Partition in Stock Recovery after and flash L09 Package (b182) with dload.

I can provide the zip for L09 tomorrow. You decide if you want to wait :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
After all so far, I pursued to update by OTAs: L19 b383 and b386 (it does not offer me further L19 OTAs) - and after new Factory resets and wipes there is still no dual SIM functionality.

Yes please, can you provide tomorrowd L09c432b182-oeminfo-custom.bin_flash.zip, I will make rollback again and rebranding back to L09

It was interesting, debranding works but apparently L09 lacks the hardware to read second SIM (and likely, L19 lacks NFC chip), i.e., there are hardware differences, jot just in firmwares.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] dkionline:
[MENTION=7786725]zgfg[/MENTION] B398 isnt official on L19, it was an L09 build usable with L19 cust. The latest build working is somewhere back on b394, thats a full L19 or using any other EVA-L19 Firmware.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Thanks for your testing and reporting!

I will provide tomorrow the zip.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hello dkionline, can you please explain more detailed, thanks!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
I knew that L19 OTAs will not lift me up to b397/b398, but I expected some lower b39x -not to short stop at b386.

Btw, Firmware Finder shows me all available L19 builds (from b387 till b398) as approved, even when checking with IMEI.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
It's also possible with the HWOTA.zips (we did it on debranded AL10 to L19, cause it also didn't receive OTA after b386)

However, you will debrand back to L09..
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
I know it'spossible by HWOTAs, I was wondering why there was no OTA till e.g. L19 b390 or b394

Btw, the order for HWTAs will be b386 -> b392 -> b397 -> b398 (isn't it?) - should be booted to b392, b397 and configuring each of them (without setting accounts, fingerprint, etc), or they can be just flashed by TWRP one after the another (by booting to and configuring only the last b398)?

Edit: I Ithought b386 -> b394 -> b397 -> b398 but just spotted that you don' t have HWOTA for L19 b394 (you do have for L19 b392)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I think OTA don't come because of debranding. There's some check inside on Nougat.

L19 has b392-393-394-397-398. (Firmwares)

As I started to make hwota zips L19 had only b392.

Yes, b393 and b394 I don't have yet.

You can update from b386 to b392 first - after update booting to system is required - the Update must complete executed

Hwota do following job:

reboot your Phone

flash EMUI Recovery by Atarii

loading Firmware to Cache

flashing update zip

flashing puplic.zip

flashing device-specific.zip

after flashing the complete Firmware:

EMUI delete Firmware in HWOTA folder

and reboot your phone to system

If you want to use next HWOTA you must flash TWRP again.

if you are on b392 you can try to go to b397.

I don't know exactly which order must be on L19

If b397 fails, I will provide b394

Huawei Firmware history is not easy to understand.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] dkionline:
We know L19 is compatible in flashing with L09, but as a firmware there is only EVA-L19C432B394 official for this device.

I refer to the firmware number in the changelog, which must agree with the model we have. I dont know what exactly they want with adding L19 cust, maybe only for 3D Panorama.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Seems generally that L19 is kind of grey area. Saw also an issue reported for L19 (with b398) on MR v4.

Less users for L19 than L09...

Since I already debranded and upgraded to L19 b386, I will probably force HWOTAs up to L19 b398. If it proves stable I will stay on and install MR v4 - will leave rebranding back to original L09 for next time :)

Btw, when I was on Sunday on L09 b182, it didn't offer me OTA for Nougat (like eg two months ago), but b210 MM. Maybe because I selected English US, which forced US region
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
b210 comes sometimes also in German Region...

But wait with installing MRv4, I must make new patch.zip for L19 (changing ro.build.fingerprint to b394) for safetynet

BTW: the zip for rebranding to L09 I make totay (no matter if you stay on L19) - I have already downgraded to take the files (custom.bin)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Ok, thanks, in that case I will wait for your ZIP for proper rebranding back to L09...
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
L09c432b182-oeminfo-custom.bin_flash.zip is here: https://www.androidfilehost.com/?fid=746010030569961266

md5: ed4f5f3d631fe7b333fe8daa631b5f91

Note: Link updated

After you have downgraded Nougat -> b300 -> b182 -> make sure, you have UPDATE.APP L09c432b182 in dload folder

Unlock Bootloader, flash TWRP (for Andr 6) and the L09c432b182-oeminfo-custom.bin_flash.zip

Restart and Press Vol+ and Vol- to flash b182 -> if 100% succesful, in the moment of reboot press Vol+ to enter EMUI-Recovery and do Wipe Cache Partition and Factoryreset

Do it once again from settings with wipe of internal storage...

I think you know every step :)

BTW: I downgraded to Android 6 on my EVA-L09, rooted to get access and have seen in data folder two other files: cust_ver.bin - product.bin.

Included product.bin into the new zip for L09. cust_ver.bin is not necessary, cause this can be different on L09 (c432) phones

Sorry for late post, but I had to study some things in context to debranding. If I get more time, I make further tests. For this I will check a second test phone. (just cause I am interested)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Thank you, I will probably proceed tomorrow evening. Yes, I do know the steps :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Your welcome :)

Download NEW (changed one line in updater-script): https://www.androidfilehost.com/?fid=746010030569961266

md5: ed4f5f3d631fe7b333fe8daa631b5f91
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Coming back from the dark side of the Moon.

Debranded back from the experimental L19c432 to my original L09c432, everything Ok and eg NFC works back. Thank you for all the guides and software supplies.

Btw, this time I had OTA upgrades path: L09c432 b182->b210->b386->b391->b397 - exactly as that!

Tomorrow I will probably upgrade by your HWOTA to L09c432b398 and on weekend will install your MR v4 (to come back to business) :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=7786725]zgfg[/MENTION] That's good news :good:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] polosmoke:
Hello, could you explain how hwota is done, came out version 399 and would like to install it with your method
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
In the moment I do not make the HWOTA.zip for b399. I have a lot of other things to do.

B399 doesn't have more features than newer Google Security Patch.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Give a poor man a bread - you help him to survive a day.

Teach him to fish - you help him to live on his own.

Is it enough to edit/adapt update-binary inside hwota_update.zip/META-INF/com/google/android?

No-check recovery is always the same and in the folder you have FullOTA-MF package from FirmwareFinder