yashsingh1/xdaforums huggingface dataset:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
New build with September 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_20210912_system.img.zip/download

ASB Security String 2021-09-01

microG 0.2.22.212658-2

Happy flashing!

Regards, M.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] kkgodygah:
I may know why. eva AL00&AL10 has two baseband chip.VIA&kilin955 .After flash your ROM, only priority recognition is given. the priority recognition is VIA.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] kkgodygah:
you can refer this：

After formatting the date file, enter the system to set the data master simcard and call master simcard.

shutdowm volte.

after flash the ROM。 DONOT enter the system.

Enter twrp recovery

Open the file

delete all folders and files in / data except media and property

enter the system.enjoy
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] brookie229:
Thanks a bunch for the work!! Must be getting near the end tho?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
Why?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
New build with October 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_20211006_system.img.zip/download

ASB Security String 2021-10-01

Bromite System Webview 93.0.4577.83

Happy flashing!

Regards, M.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] lucas_nz:
Thanks for the great work @MSe1969

I've been trying to get Google's family link to work. But it appears to be incompatible with microg. I've tried to flash opengapps (which I believe will work with family link) but I get an error that there isn't enough space. Any tips on how I might get that to work? I've tried the pico opengapps. Is the space issue why you've gone with microg?

If I can't find a way of making it work, I may have to go back to stock :(

Regards,

Luke
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
Thanks for the positive feedback

Seems so, a quick search on my end seems to confirm this. In general, it has to be said that the stuff coming from Google themselves is usually very deeply integrated with the genuine Google spy services and hence does not always work with microG.

You could try an Openkirin build, those come with Gapps. (But their most recent EMUI-8 Lineage build is one year old).

I assume you use TWRP when trying to flash Gapps? As mentioned before, this is problematic with this device. I don't have a good technical advice here. Space is for sure not the issue. You could maybe look, which files the pico variant aims at installing and copy/replace those manually? Anyways, this ROM has a couple of hardening features, so I am not sure, whether those could impact the functionality of Gapps? I'd simply say, this ROM isn't for Gapps

No, I simply don't want the Google spyware to have full control over my device instead of me.

Would be a pity, but if family link is your priority, you will have to take the decision.

P.S.: This is a technical forum, so this is not the place for a discussion about the means of a full surveillance over your kids by completely eliminating their privacy (of course depending whether you take advantage of all offered family link features or not), but at least worth a thought...
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] lo_ol:
I’ve flashed bitgapps and it’s working perfectly fine on your build.:giggle: The only minor thing was that you need to log into your google account via play store, otherwise playstore isn't able to list installed apps. Don’t know about family link though. As per default I believe there is around 85Mb free space left on /system and bitgapps requires around 150Mb
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] GasLoop:
How did you do that? Flash TWRP and then bitgapps?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] lo_ol:
Yes, exactly
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Crohny:
Are you using an unencrypted data partition ? Because I tried doing that on my side, with the basic config of Bitgapps, and that did not end up working.

Did you use a custom bitgapps config ? Or do you have any other particularities (which TWRP Rom etc...) ? It seems Bitgapps is saying you can't install Gapps over an existing microg config... So that's what stopped me :(
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
New build with November 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_20211109_system.img.zip/download

ASB Security String 2021-11-01

Bromite System Webview 94.0.4606.109

Happy flashing!

Regards, M.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] lo_ol:
Well what error msg did you get?

I have decrypted storage, twrp is Pretoriano80 version from rebrand thread. However bitgapps installer appears to work around potential issues regarding inaccessible /data. I guess it should not fail because of that.

Also yes I routinely remove apps I don’t use personally from /system/apps and priv-apps right after I flash anything to something .:D So in this case I removed microg related stuff since I’d like to use gapps instead and also vanced and its microg implementation.

However bitgapps installer should also take care of that on its own it seems.

Spoiler content hidden.

I just went thru the process again after flashing November update. Dirty flash of bitgapps resets privacy guard permissions for user apps but otherwise everything seems fine so far. So however It does indeed apply some modifications to /data if it can apparently. In Bitgapps config the only change I made was to enable its safetynet patch. Providing there is sufficient free space available on /system I don’t really know why else it would fail.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Crohny:
Ok, thanks for your reply and sharing the script, I think the main issue for me was to not remove the microg apk and setting before flashing bitgapps. I actually was unable to overwrite any of the microg stuff. (That's my fault as I thought bitgapps would just overwrite everything :rolleyes:).

I need to get myself more educated on this :D It could even work without a decrypted storage. Once I have some time I'll give it a try! I'll need it for next time I need to use Uber. Indeed, with the current microg implementation, there's an issue with the map display that makes it hard for me to find the scooters or the drivers ;)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] GasLoop:
I'm trying to install the modified Play Store version from NanoDroid. I got as far as removing FakeStore and installing the Play Store using F-Droid, but I can't turn it into a system app as /system can't be mounted. When I log into the Play Store, it just remains at the login prompt. What can I do? My issue is, that I want to run DroidCamX on this device, so I need the licence check to work.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
if you want to tamper with the /system partition, connect your phone via ADB and enable root for ADB and apps.

adb root
adb remount
adb shell

Will give you, what you need to do. You should be familiar with adb commands as well as Linux shell commands, and you shoould really know, what you are doing.

However - you are on your own - don't expect any support from my side when you try to make Gapps (or whatever "patched" components) work, and, obviously, do not complain here, if you don't arrive, where you wanted to be.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] GasLoop:
Cheers mate, hadn't thought of this method.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
New build with December 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_20211217_system.img.zip/download

ASB Security String 2021-12-01

Bromite System Webview 96.0.4664.54

microG 0.22.214516-21

Happy flashing!

Regards, M.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
Hi, sorry f. late reply (right now extremely busy work-wise and also privately) - on my own device, all works as it should. Thanks for the provided log, unfortunately, besides it stating about its issues, I haven't caught anything obvious. Did you somehow modify software components of your phone (e.g. flashed or replaced anything in /system, /vendor or maybe other partitions)?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] brookie229:
Thanks for keeping my P9 going!!!!!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] unitoflife:
No, I didn't touch something on file system. But... right now it is working... satellites are found and I have no idea what was chagned in system globally since last check (hard to remember already something significant)...

At the previous moment it was not work at all.

At the current moment - it works, and I see another logcat result (more data related to communication between modules/etc, some errors, but working..)

Idk - looks like no issue anymore...

Anyways - thanks for reply (y)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] P9_User:
Hi fellas.

I dont know if it fits in here but I try. I am very annoied about the telephone call app. It happenes too often that I accidently call people, soe called "pocket-call".

It would be great to need a "double click" to start a phonecall. Because once I end a phonecall, the app goes back to "most recent calls" list. mostly ending with starting a new call becor putting the phone back on its place.

Am I alone with this issue? I know, its more a user design or user behavior.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Nezus3301:
hi there, i know it's a little off topic, is there a way that you could make a rom based on LOS 18 or 17.1? (i think one is with android 12, the other with android 11) it could be really cool try it
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] V0latyle:
Please don't ask for ETAs, updates, or new builds. It's rather rude. Developers of custom ROMs are doing this completely on their own time without any compensation whatsoever. Bug reporting is fine; asking them to take on even more work is not.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
This ROM is delivered with the default LineageOS Caller app, which is based on the AOSP one.

I don't add any modifications or enhancements to it. There is a bunch of alternative Caller apps on the Playstore or alternative app stores. Maybe you'll find something, which suits your need?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
New build with January 2022 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_20220116_system.img.zip/download

ASB Security String 2022-01-01

Audio-Balance slider in accessibility settings back-ported from Android 10

Updated APN list

Happy flashing!

Regards, M.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
IMPORTANT NOTE:

I'm running out of space on my Mega site while I have actually dismissed all my Huawei phones 2+ years ago

On the other side, I have just obtained my second Xiaomi and I shall start filling the Mega with its resources and ROMs (with no other option but by deleting in parallel the old Huawei P9 ROMs)

Hence I'm asking @MSe1969 and other P9 (Oreo) users, please if you want to save those 13.7 GB of P9 Nougat/Oreo stuff, please download and copy (and publish for future users) to your own clouds on Mega, AFH or else

Since Huawei removed the old ROMs from their servers, most of the links in P9 HWOTA7 thread OP instructions are dead. However, at the time when I had my P9 phones, I upoaded all the needed to my Mega:

File folder on MEGA

mega.nz

Of course, rebranding and upgrading to (Chinese) Oreo by HWOTA7 are prerequisites for moving from L09/L19/L29 stock to the Treble LOS. Also, the same HWOTA7 stuff will be needed in case of bricking the Oreo or if somebody wants to go back to the Lx9 Nougat

You can contact me by PM that I could schedule cleaning the P9 ROMs based on the order you download and back-up to your clouds
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
Thanks for letting me know, I have startend to download yesterday and I'll finish in the course of today. I'll PM you later today.

EDIT: Getting a "transfer quota exceeded" (last, but biggest file), so have to wait 5h to continue.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
Thanks for the hint, I'll provide a new build - a patch taken from DivertOS went too far (it was also reverted there)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
There is now another place to obtain the P9 firmware and files, which I have also updated in the OP.

Many thanks to @zgfg for giving a heads-up in this thread, so the files could be backed up.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Rumor30:
I am a Chinese user. My SIM card can use the LTE function to send and receive text messages, but there is no sound when making a call. I can make sure it's normal on eumi. My mobile card is a Chinese operator called China Telecom. I don't know if this is related to his Volet function. Thank you very much for making this ROM, which makes my P9 reborn. The model is Eva al00
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
Unfortunately, I don't know how to help here. In general, VoLTE does not work with this ROM, voice calls only work in 2G or 3G mode.

Can you produce a log?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] lo_ol:
VoLTE works fine on your builds though once its set up. The only minor inconvenience compared to other treble ROMs is that the packet manager needs to be patched temporarily to allow installation of signature mismatched debug apks. https://xdaforums.com/t/hwims-volte-for-hi6250.3911374/
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] mighty.ruth:
hi! thank you so much for this awesome rom. just finished installing it and it runs great, however it seems as if it's lower res/dpi. not sure if its just me, but it doesn't look sharp idk

edit: nvm it was just the display size
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
Thanks for the link - sounds like worth a try to make that part of my build...

Would you be willing to test?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] mighty.ruth:
hi again! so I reflashed emui 8.0 just because i didn't know if it was this rom or me, and I can confirm that this rom is in 720p. am I the only one?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] lo_ol:
If your display is just blurry, I suggest to go to display settings - live display - color calibration and set at least one of the colors to less than 100%, ie 99/100/100. Alternatively there is an option within Phh treble app, however that disables hwc and increases battery drain. Dpi can also be changed via presets from settings or smallest width in developer options

Sure. There are magisk modules that mirror the apk to /system/app and those work too.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] mighty.ruth:
it's all good now. I went to settings/Phh Treble settings/Huawei features and enabled "graphic issues workaround". thx anyway 👌
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] brackenhill_mob:
@MSe1969 A quick thanks for continuing with this ROM which I've just discovered. Using it on an Honor 6X and it seems to be working fine (old phone just being as a SIP phone with Linphone). Very happy.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
Thanks for the feedback, I've update the "Tips & Tricks" post accordingly.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
New build with February ASB patches available

Hi all,

a new build is available for download (update instructions, see OP):

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

Custom build release 2022-02-01

F-Droid updated to 1.14, F-Droid privileged extension to 0.2.13

Bromite System Webview updated to 97.0.4692.106

microG updated to 0.2.24.214816-2

The AOSP project has stopped to officially provide security patches for Android 9 (Pie), hence the patches have been backported from Android 10 by the LineageOS team. This means, that the official security string will not get updated any longer and remains on the value 2022-01-01. In order to still show the status and security backports on a "best effort basis", the ROM now shows in addition a "Custom build release" to indicate this.

Happy flashing!

Regards, M.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] brackenhill_mob:
This post might need an asterisk - I have a UK phone which I "updated" to an Indian variant so that I could install EMUI 8 - UK phones never received this update. I believe only Indian and Chinese phone got this update but i could be wrong.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Oatiauh:
Hi! Thanks for your hard work. I've met some issues with my P9 Al00. When using scrcpy (whatever mirror app) to mirror the screen to the PC, the screen occasionally freezes in the mirroring app （no the System itself, but the mirroring app on PC）. Is there any solution? (In my opinion, this issue may caused by some internal protection)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Oatiauh:
View attachment 5548797

This is what the mirror app looks like when it freezes
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] gediao15693xda:
delete
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
Sorry, no idea - but you could try to produce a log. On the android device's side via 'adb logcat' and on the PC side you would have to find out, where scrcpy writes its logs to...
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
New build with March ASB patches available

Hi all,

a new build is available for download (update instructions, see OP):

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

Custom build release 2022-03-01

AuroraStore 4.1.1

Bromite Webview 99.0.4844.58

Happy flashing!

Regards, M.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] jerino:
del
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
New build with April ASB patches available

Hi all,

a new build is available for download (update instructions, see OP):

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

Custom build release 2022-04-01

Bromite Webview 100.0.4896.57

Happy flashing!

Regards, M.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] NeWONEx:
Very happy to see you still contribute to our device. You are keeping it alive.

I really use it now as backup phone, and was looking for rom and here I found yours.

Thanks again.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Igoran:
Same here. Took this old phone from my boss and use it as backup. This ROMs is breath of wild in such old phone. Thanks MSe1969 for your hard work for maintenance this ROM!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
Hi, sorry - noticed your post only now.

Well - not an easy answer, in fact, there are three aspects to look at:

1. Stock ROM - part 1

Usually, the device manufacturer should know best, how to optimize his device. This depends on the kernel on the one hand side and the various options in the ROM itself. Looking at that aspect in an isolated manner, it is said, that usually, the device manufacturers with their Stock ROMs have the best optimizations. In case of a GSI, which uses the unchanged Stock Kernel, this does even more apply.

I haven't truly compared, but taking the above into consideration, I'd say, that "original emui" has better optimizations.

2. Stock ROM - part 2

Huawei is known for having very aggressive task killer functionality in their Stock ROMs. Have a look at https://dontkillmyapp.com/ if you would like to know more. For sure, this may also produce its fair share in "better battery life" statistics, but to the price of a ROM actively working against you, if you prefer not to use the Huawei bloat/spyware, the genuine Google bloat/spyware and the very popular Facebook spyware (WA, FB, Insta), which is of course on the exception list of the built-in task killers (if WA would stop, people would notice...)

3. Bloat/Spyware

This ROM comes without the typical Bloat/Spyware (see item #2) - and hence also without a main driver to quickly suck your battery out of charge. If you don't make use of Gapps, FB bloat and/or the device manufacturer's bloat ware, you don't have permanent "phone home" background activity, which usually is the main reason for your battery loosing charge very quickly.

At the end, it will come to the following conclusion:

The only way to find out, whether the battery behavior of this ROM is acceptable for you or not, is to give it a try and judge on your personal experience...
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
New build with May '22 ASB patches available

Hi all,

a new build is available for download (update instructions, see OP):

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

Custom build release 2022-05-01

Bromite Webview 101.0.4951.53

F-Droid 1.15

MozillaNlpBackend 1.5.0

microG 0.2.24.214816-10

Happy flashing!

Regards, M.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Premier4ever:
How to update to this one without reseting to factory defaults?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
As explained in OP:

Assuming you have already my build on your device, you simply do the following:

Extract the .img file from the ZIP

Reboot the phone into fastboot mode and connect to your PC via USB cable

Run command 'fastboot flash system <name of extracted IMG file>'

Once this is finished (it will list five load and write steps), shoot the command 'fastboot reboot'
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Premier4ever:
So it will be a mere upgrade? no data, settings or customisation will be lost? Also, could you please provide the unsigned version of this? I want to be able to play with it and modify some things in it and add a few required apps (by me of course). I want to do this to my device, no publications are entended.

I tried and extracted it and did what the modifications that I wanted, repcked it and flashed it but the device won't boot.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] MSe1969:
Yes, that is correct - I repeat: Only, if you have already my build on your phone!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Premier4ever:
Could you please provide the unsigned version of this ROM? I want to be able to play with it and modify some things and add a few required apps (by me, of course). I want to do this to my device, no publications are entended.

I tried and extracted it, did the modifications I wanted, repcked and flashed it but the device won't boot.