yashsingh1/xdaforums huggingface dataset:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Nezus3301:
also yeah, i'm waiting summer so hard, so i can get a job and buy a oneplus, it's my dream-phone

btw I have b540 with magisk v22.1

there's an update but just because that happened, i still didn't update magisk
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
The (long) file name is the same as I have on my Mega - you probably downloaded from my Mega (link was in the HWOTA7 thread, even in the OP posts). You can compare your file with:

File folder on MEGA

mega.nz

There you can find also my original ramdisk.img and Magisk Manager v7.5.1 (companion to that old Magisk v20.4)

See my another post here, before this one, about Huawei instructiions been removed from Magisk Wiki

PS: As my name says, it was ramdisk.img taken from b540 Patch02 (at that time there was OTA Patch02 but later Huawei added direct OTA to b55x).

As far as I can recall (I see I have removed ramdisk.img corresponding to b540 without Patch02), b540 and b540 Patch02 had the same Ramdisk (I did compare checksums)

Therfore, this will be good for b540 (but not b55x if you upgraded to) and you will have to use that Magisk Manager v5 7.1 and turn off Check for Magisk update in Magisk Manager)

But better take the ramdisk.img (and Magisk patched one) from @MSe1969, since he has it working for Magisk v22, and use the same Magisk mngr/apk as him
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Nezus3301:
so, as you said, the file i said before is the right one, but it's the patched one from magisk manager 7.1, once i flashed the ramdisk Patch02 img, can i update magisk without any problems?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Nezus3301:
you just edited the post, @MSe1969 is working on a patched Ramdisk that work with magisk v22? am i right?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Not sure. As I wrote above in one of the answers, somebody with P10 (I think) and also EMUI 8 complained that he could not update Magisk anymore.

You can always try, and if not working flash back the old working patched ramdisk img
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
He answered you that in the above posts
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Nezus3301:
also, when you can reach your pc and use it, can you send me the unpatched ramdisk? so whenever something goes wrong i can reflash it :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
No real idea, but just to make sure: With your Stock EMUI 8.0 all fine? You also flashed the regional modem and AOSP keyboard, but no further Google stuff? So your Stock O works as it should? And you did not flash anything else? And, IMPORTANT, before flashing this build, you got rid of TWRP and flashed back the stock recovery?

EDIT: And of course, you wiped the data partition (factory reset) via Stock recovery?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
BT: The behavior is the same on my device as with e.g. my OP3T (no treble build! Also Lineage 16.0): When no BT device connected, no BT symbol in status bar, but when you swipe down, you see BT enabled icon.

Only observation, I can confirm is, that the initial device name appeared as "hello"
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] interprises:
all yes but no replace the original recovery: proceed immediately, tks
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
To avoid misunderstanding: DO NOT replace original recovery, in the contrary - during the rebrand journey, as described in the linked thread, you had to temporarily use TWRP, so you need to GET BACK to original recovery
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] interprises:
works perfectly, thanks !!!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
ROM Status info

In my 4th post (title: "Further tips & tricks"), I have created two new sections.

One to indicate other devices than the Huawei P9, for which this build is reported to work as well, and another one to indicate reported and observed issues with this build and any progress on fixing them (if I am able to reproduce on my device).

Thanks so far for all your feedback!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
New build with April 2020 Sec. patches

Hi all,

a new build with April 2020 Sec. patches is available for download here.

If you have already my previous build (with the March Sec. patch) on your phone

, simply unzip the .img file, reboot into fastboot mode and flash it via the command

fastboot flash system treble_arm64_a_lineage16_20200408_system.img

Please note: On some computers, you may need to run fastboot as admin (Windows) or root/sudo (Linux)

Afterwards, simply reboot - no wipe of any kind required.

If you come from a different ROM or even Stock ROM, please carefully follow the instructions in the OP of this thread!

(If you don't, you have been warned.)

This is only the ASB patches, other reported issues have not been addressed, yet.

Happy flashing - regards, M.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] dr4rzz:
I could reproduce this headphones issue with the high-frequency sounds when playing music or videos.

Here is a workaround, that fixed it for me:

put headphones in headphone jack -> open AudioFX app -> turn the bass control to 0% or turn AudioFX off completely
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
Thanks - that does the trick and good enough for a work-around - will update the section accordingly.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
Hey, [MENTION=7929484]MSe1969[/MENTION], turns out I misdiagnosed the Bluetooth issue. It is possible to pair, send, receive and use BT audio despite the icon not being present and the chip named hello. Sorry for the confusion!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
Updated build

Hi all,

just realized, that in my previous build with April 2020 sec. patches (file treble_arm64_a_lineage16_20200408_system.img), two ASB commits were missing in the 'lin-16.0-treble' branch. So I have fixed that and created a new build here - you will not notice any difference in behavior/features, but with the linked build has all the platform security patches. Sorry for any inconvenience.

Regards, M.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Mywayorthehuawei:
:good:

Works well quick and clean, one thing I've noticed on mine is wifi hotspot doesn't work when you click on enable it auto turns the slider button back off and displays error under the menu heading.

Bluetooth and usb tether works fine.

Only other thing i'm missing is option to force lte only so it doesn't hop back and forth to 3g when signal strength differs - not that important just nice to have.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
I can confirm the WiFi hotspot issue on my phone as well. Will try to investigate.

Regarding "LTE only", have you tried already the special menu, when you dial *#*#4636#*#* (*#*#INFO#*#*)?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] mqb61a:
This was asked probably a bunch of times already, but.. is there a possibility to install the stock Huawei Camera on this ROM?

Also, I'm sometimes experiencing a small FPS lag, like when I'm sending a text, or just scrolling through Settings or any other app. This issue occurs only on this ROM.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] RogerR2:
Initial thoughts

Huawei P9 EVA-AL00 (2 x SIM model)

Hi, the interface looks great, thanks!

In the phone I have an SD and a SIM. The SD is recognized, but not the SIM, so no calls possible (so I will have to revert to stock pretty quickly :().

Also, the microphone is not working (nor with a headset), and like others the WiFi hotspot isn't working.

Thanks again
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
I'm not sure I got your point properly.

I assume you have rebranded your device following the step sequence in the linked thread to "become" an AL00 (Chinese) as a prerequisite to upgrade to EMUI 8.0. After you did so, the thread explains to also flash a specific patch to re-enable SIM recognition for your region.

Did you do that? The prerequisite to flash this (and also any other treble) build is, that the "rebranded stock" Oreo EMUI 8.0 works properly in all aspects.

Or are you really saying, that your "patched Chinese Stock Oreo EMUI 8.0" works fine and only my build does not recognize your SIM?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
To your 1st question: What would be the benefit of doing so? In the Openkirin TG support channel, one of the issues is that the Huawei Cam, which is an Oreo system app, tries to access the external SD the "Oreo-way", which does not work any longer in Pie for example.

To your 2nd point: Is there any way to explicitly reproduce the lag or can you produce a log?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] RogerR2:
Hi, it's an original Chinese phone. I flashed the ROM with EMUI 8.0.0, build number EVA-AL00 8.0.0.550, but without the final patch (C00patch02) from Huawei. I have now reverted back to stock (with the final patch). If I get time, I will try again and see what happens.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
Thanks for providing the log and starting to looking at it - hope to find a solution soon.

Thanks also for the netmonitor feedback, that one will be fixed in my next build.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
No, I don't use Magisk.

Thanks for the information - it may be worth to put a section about Magisk into my "Tips & Tricks" post . . .

That would indeed be kind for those in need. I'll (but only in 10 days) also upload the ramdisk.img files to SF for B540, B550 and B552.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
No, I am not using Magisk myself. All I said is, that I can offer the "original" unpatched RAMDISK.img from B540, B550 and B552 firmware, so people can restore things to have a clean start in case of Magisk issues or for whatever purpose.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
Will do, as mentioned before.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Nezus3301:
will worth the wait.

Thanks in advice
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Sorry, I lost the point - you do have (LOS flashed over b540) and you already have (working) Magisk v22.1 and you are asking for Magisk installation and ramdisk?

I misunderstood that @MSe1969 had Magisk since he offered his files - sorry

Edit, I've seen now the previous convo above and realized that @Nezus331 did update Magisk from v20 4 to v22.1 (but later scr... up) - if you backed up patched ramdisk (in TWRP) when it was operational, you could restore and use it again

Link to my Mega is in the post #375 above - if you extract your b540 ramdisk.img again, compare the checksum with my ramdisk.img from b540 Patch02 - I believe, they had the same ramdisk.img files and the same recovery_ramdisk.img files (I think OTA Patch02 patched something only in Vendor or so)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
There is maybe an easier solution for you, again - you do at your own risk - opinions from others welcome:

You stated, that in fact all you need is the deletion of the su binaries, as mentioned by you some posts before.

You could download the '8.0 TWRP.img' from the "Rebranding" thread, get into fastboot mode and try fastboot boot twrp.img (IMPORTANT: don't flash, only boot, indeed it's 'fastboot boot ...' - adapt the filename accordingly).

This should boot TWRP, so you can mount the system partition in rw mode and then delete the files you wish to delete. Make sure, when you are done and reboot, that you don't follow any proposal of installing the TWRP app. Also, don't mess around with any other TRWP function
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Have you tested that fastboot boot TWRP would work (on some phones / some TWRP it doesn't)

Anyway, if he really flashes TWRP (not just boots to), here was my original b540 recovery_ramdisk.img (and ramdisk.img)

File folder on MEGA

mega.nz
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
I haven't tested.

@Nezus3301 - if 'fastboot boot ...' doesn't work, flash the TWRP with fastboot flash recovery_ramdisk twrp.img (adapt the file name accordingly). . .

. . . and go back to Stock recovery via fastboot flash recovery_ramdisk recovery_ramdis.img (adapt file name), once finished
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Nezus3301:
i was thinking of that, that could be an idea, but i have to be very carefoul, i mustn't boot in system in the entire work, last time i did, the phone went in bootloop, that was when i did the rebrand

i should give it a try, is everything on the mega repository?

edit: just fastboot boot doesn't work, i have to flash twrp

latest edit: i'm going to explain step by step by quoting what you suggest me to do

" if 'fastboot boot ...' doesn't work, flash the TWRP with fastboot flash recovery_ramdisk twrp.img (adapt the file name accordingly). . . "

" . . . and go back to Stock recovery via fastboot flash recovery_ramdisk recovery_ramdis.img (adapt file name), once finished "

as @MSe1969 and @zgfg told me to do, I did everithyng right, the system boot successfully and updated magisk, everything works just fine.

If you want i can try to repack for you the latest ramdisk with magisk v23 on b540
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
Thanks for the offer, but as there are in fact different firmware versions out, everybody should install Magisk on his own.

I will upload the original RAMDISK firmware images for B540, B550 and B552 after my return (to allow going back, if something went wrong)

The rebranding thread mentioned in the OP links to the B540 firmware from 2018. In 2020, surprisingly, B550 and later B552 were published by Huawei (later in the thread, this is mentioned).
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Still,all those AL10-c00 firmwares: b399SP17 (needed for HWOTA7 rebranding from c432 or another Nougat to Chinese Nougat), b528 (first Oreo that HWOTA7 thread was originally developped for), b535, b540 (OP posts were later adapted to), b550 and b552 are available for download from:

https://www.firmfinder.ml/

Open the page, fill in Eva-Al10 c00 as on the screenshot 1. Scroll down and find the firmwares (not only for AL10 but also for AL00, CL00, DL00 and TL00 - all Chinese)

For any of them, scroll to the right to find File List button - screenshot 2. Open and copy the URL for that filelist.xml.

E.g., for b552 it will be:

http://update.dbankcdn.com/download...d62a4ae400eaf8f451c81c2d32f/full/filelist.xml

Scroll through the opened xml to find the 3 filenames exactly as below - screenshots 3,4:

update.zip

update_full_EVA-AL10_all_cn.zip

update_data_full_public.zip

Now, remove filelist.xml from its URL as above and combine with subpath= and package= values for those filenames

E.g., for b552:

package="update_full_EVA-AL10_all_cn.zip"

subpath="EVA-AL10_all_cn"/>

it makes:

http://update.dbankcdn.com/download...9/f6/v3/1afd1d62a4ae400eaf8f451c81c2d32f/full/

+

EVA-AL10_all_cn/

+

update_full_EVA-AL10_all_cn.zip

=

http://update.dbankcdn.com/download...A-AL10_all_cn/update_full_EVA-AL10_all_cn.zip

That way it gives all three URLs for the EVA-AL10 c00 b552 firmware:

http://update.dbankcdn.com/download...d1d62a4ae400eaf8f451c81c2d32f/full/update.zip

http://update.dbankcdn.com/download...2d32f/full/public/update_data_full_public.zip

http://update.dbankcdn.com/download...A-AL10_all_cn/update_full_EVA-AL10_all_cn.zip
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
Many thanks for this info - I have linked your post into the OP.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Btw, there is also a method to force firmware updates by using HiSuite and Firm (for more info read the Complete Guide there):

Releases · ProfessorJTJ/HISuite-Proxy

Modifying HiSuite and manipulating it's connection data to install Roms before they officially get released. - ProfessorJTJ/HISuite-Proxy

github.com
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Nezus3301:
Hi there, @MSe1969 I have a question, is it possible to put in your rom (or as an official feature in one of the next update) some quality of life that I found useful when using emui? let me explain, I remember that when on emui 5, if you long press the vol - button when display's off, it does a sound, you say a name from your contacts and it calls it for you if the vocal search understood what you said, another thing if you can put the stock music app, because it was very cooler than the music app on lineage.

Here's a problem with the songs of every type I have in my phone: when the phone restarts, my clock alarms set the song on the default alarm, overwriting the songs i set as alarm.

Another strange thing is the ringtone, when someone calls me, even this if I set a song as my phone ringtone, it always plays the default one.

The strangest and the most annoying one is the music app, I don't know if it's a bad flash that does this thing but when I play some music with bluetooth earphones, everything works just fine, when I try with the speakers, it's a 75% that the song doesn't even play, the minute counter goes forward but I can't hear it, the other 25% works or it does work but it suddently stops and refuses to skip to the next song

Let me know if it's a known problem and if I can fix this
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
EMUI in general is a whole proprietary software on system level with UI and many features provided - seems that the feature you have described is or was part of it - however, not an AOSP / LineageOS feature. So I can't do anything about it.

There are many good music apps out there, (e.g. I use VLC) - I don't see the benefit of trying to get the Huawei Stock Music app running, which is most probably deeply integrated into EMUI (which does not exist on the /system partition). . .

I know that the LineageOS Eleven app has some issues in LineageOS 16.0, but e.g. VLC really works flawlessly for me.

I can't observe this behavior on my device. Can you produce some logs?

Whilst I was a happy user of the LineageOS Eleven app in LineageOS 15.1, I have stopped using it in LineageOS 16.0 due to various reasons, I could solve some by backporting commits from LineageOS 17.1, but eventually, I have started to use VLC and I really recommend it. One annoying thing I have recently detected is, that it won't play songs downloaded from NewPipe (maybe because of new codecs?); maybe a similar thing as you observed - VLC works fine for me, as mentioned already.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Nezus3301:
infact it was Music Eleven the problem, VLC apparently fixed the problem, and i used that app to set my ringtone so... problem kinda solved, if anything else happens I'll let you know
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
New build with June 2021 ASB patches available

Hi all,

a new build is available for download (install instructions in OP):

https://sourceforge.net/projects/lin16-microg/files/treble_p9eva/treble_arm64_a_lineage16_20210612_system.img.zip/download

ASB Security String 2021-06-01

Bromite Webview updated to 91.0.4472.102

microG 0.2.19211515-9

Happy flashing!

Regards, M.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] kkgodygah:
thank you for your greast iob.

the rom works so good.

but i havea question did it have volte?i couldnt find it .
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
Thanks for the positive feedback.

Regarding VoLTE: Unfortunately, no VoLTE support.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
New build with July 2021 ASB patches available

Hi all,

a new build is available for download (install instructions in OP):

https://sourceforge.net/projects/lin16-microg/files/treble_p9eva/treble_arm64_a_lineage16_20210709_system.img.zip/download

ASB Security String 2021-07-01

Bromite Webview updated to 91.0.4472.146

microG 0.2.21.212158-2

AuroraStore 4.0.7

Happy flashing!

Regards, M.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] eamagoo:
Hello everybody

I need to update my P9 but my problem is that I am on android 6, EMUI 4.1.3

Could you help me? what should I do?

Try to update but can't find anything

Model: EVA-L09

Comp: EVA-L09C110B160

Version de Android: 6

kirim 955

3gb

1080x1920

sec patch 1/1/2018

emui 4.1.3
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] brookie229:
Awesome - love the ROM ! I keep this old phone simply because of the size. Hard to find a nice, compact device now. Everything is so huge.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] brookie229:
It's pretty complicated for a low techie type person. Maybe too much. You have to update your device to Android 8 (emui 5) before you can flash this rom. There are several threads to show you how to do this and in many cases you must even re-brand your device to a Chinese version of the stock rom. Again, that is a separate thread (see post #1 for links). This process is NOT for the feint of heart! Good Luck!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
I had a quick look as well, and I could not find any good way forward either - but that was really a quick search - it does not mean, that there isn't any way... I assume however, that you have done already a comprehensive search, right? Seems that for your specific firmware, there is no Android-7 upgrade available?

A potential 2nd approach could be to find a way to rebrand your device

under Android 6

to a more common branding, then apply the fitting Android-6 firmware and then let the device auto-upgrade to Android-7...?

The HWOTA tool in the rebranding thread contains the necessary information and the respective oeminfo files, so you could flash a TWRP suitable for Android 6 to obtain a root shell and then manually execute the respective 'dd' command to replace the oeminfo partition (backup the current partition via 'dd' first!). I will not give you more details, as this for sure is

very risky

(you could brick your device) and you should have some knowledge about this topic.

@zgfg : Do you maybe have an opinion about this?

I think @eamagoo 's problem is, that he is on Android 6 with a 'special' (maybe carrier-branded?) firmware, which does not offer any Android-7 upgrade, that's why the rebranding thread is one step too early to take, as you need to be on Android-7 for that...
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Huawei pulled off all their old firmwares more than a half a year ago and it's practically not posible to find any older firmware needed for such operations

IMHO, who didn't think about upgrading their P9 since 2017, can still continue using the A6.

It's not worth of wasting times and nerves, with a great chance that due to using some firmwares from not trustworthy places, phone could be bricked (Huawei is very sensitive)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Don K:
hi, thanks for this rom, can anyone send guide for install?

link for guide don't work...
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
Thanks for the hint. Seems the openkirin.net site is down at the moment. Somebody complained about it also in their TG channel. I'll watch, what happens, and if necessary, I'll write my own instructions.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] TYOPXN360:
hello! When I insert a new UIM card into the rom, it recognizes and displays "Roaming indicator is flashing", and there is no sound when making a call. Others cannot hear what I say and I cannot hear what others say. But can surf the Internet and send and receive text messages normally
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Nezus3301:
hi there, I'm asking for a friend, is it safe to switch from your rom to OpenKirin's with Gapps? (w/out wiping your data)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
Due to different signing keys, this won't work w/o wipe.