[ROM][Treble][microG]LineageOS 16.0 for HUAWEI P9

MSe1969

Senior Member
Dec 16, 2016
1,411
2,575
133
Frankfurt Rhine-Main metropolitan region
Hi - I've also just tried this ROM from a clean P9 with AL-10 (B550) as the poster above and I have NO mobile connection. WiFi, BT, all work fine (and everything else I've tested) but my SIM card will only show in Slot 2 and only with emergency use. Maybe I'm missing something?

p.s. question: I'm newby at this but can I try another ROM directly over this (ie OpenKirin for P9, or do I have to revert back to the previous EMUI first?
In addition to what @zgfg said already:
The correct Network patch is necessary and it should be flashed while still on EMUI. You indicated "Slot 2", which means: DUAL-SIM - so you have an EVA-L19 or EVA-L29 (and not an EVA-L09, which is single-SIM, this is what I have).
In regards to your issue: You can't even connect to your carrier to make phone calls, you can only make emergency calls, even with your home carrier, correct? And also only from slot 2?
Then indeed, this somehow feels like the wrong network patch - in that case, it may be most secure to start from scratch and not to simply try to flash the correct patch over the wrong one...
In case I misunderstood you and your only issue is mobile data (meaning: you can make regular phone calls), try manually configuring the APN based on the information you find on your carrier's homepage.

About flashing a different ROM over my ROM:
1. You can simply flash a different ROM on the /system partition, but you would then need to do a factory reset - if you flash an update (e.g. you are on my ROM and flash another version of my ROM - or you are on OpenKirin LineageOS and flash an update of OpenKirin LinerageOS), this is not necessary. But flashing Openkirin LineageOS over mine, or flashing OpenKirin LineageOS over OpenKirin Omni, you must do a factory reset.
2. I am pretty sure, that flashing a different treble system.img over your setup will not solve your issue, if you can only use your SIM for emergency calls.
 

zgfg

Senior Member
Oct 10, 2016
4,419
1,899
233
I think his case was:
- dual SIM P9 rebranded and upgraded to EMUI 8, without Network patch.
Then only slot 2 still recognizes the SIM card, but IMEI is not available and even slot 2 cannot make calls

But that should still be ok for eRecovery to reinstall b550, followed by TWRP (temporarily) and (dual SIM) NW patch , and finally to install the ROM per your OP instructions
 

brookie229

Senior Member
Aug 20, 2017
68
7
8
Thanks again @zgfg and @MSe1969 for the replies and, I'm sure, correct diagnosis and info. I have an EVA-L29 (2 sim) rebranded to the AL10 and totally did NOT flash the Network.zip. Rookie error. I'm going to have to re-do everything including going back to my stock eva-L29 (B399) OS. I may try from b550 first if I find the courage, lol.
 

zgfg

Senior Member
Oct 10, 2016
4,419
1,899
233
Thanks again @zgfg and @MSe1969 for the replies and, I'm sure, correct diagnosis and info. I have an EVA-L29 (2 sim) rebranded to the AL10 and totally did NOT flash the Network.zip. Rookie error. I'm going to have to re-do everything including going back to my stock eva-L29 (B399) OS. I may try from b550 first if I find the courage, lol.
If you don't plan to stay on Nougat, just go back to b550 by eRecovery and then re-do
 

brookie229

Senior Member
Aug 20, 2017
68
7
8
If you don't plan to stay on Nougat, just go back to b550 by eRecovery and then re-do
Yep, I'm back on b550 and am going to stick here for awhile. At least it has a July 2020 security patch (much better than Nougat's of course). I may try again later, hopefully without missing anything.:)

Many thanks again to both of you for the excellent advice!:good:
 

_wasted_

Member
Oct 23, 2020
13
0
0
Hello, many thanks for keeping up a recent ROM for the P9. Its working fine on my device.

But I need to replace the battery in my device to make it my daily driver again and since there is no other maintained ROM for this device I have one question:
Is support being dropped in the foreseeable future?

greetings
 

MSe1969

Senior Member
Dec 16, 2016
1,411
2,575
133
Frankfurt Rhine-Main metropolitan region
Hello, many thanks for keeping up a recent ROM for the P9. Its working fine on my device.

But I need to replace the battery in my device to make it my daily driver again and since there is no other maintained ROM for this device I have one question:
Is support being dropped in the foreseeable future?

greetings
If you look at my other threads, you will notice, that I usually provide support quite long. So this thread won't make an exception.
 

ric0shay

New member
Jun 5, 2017
4
0
0
Update

So I'm on a previous version of of this rom (no working hot-spot) Is my understanding correct that I can just flash the latest version over the current one to enable hot-spot?

Thanks again for the support!
 

P9_User

Member
Oct 27, 2020
7
0
0
HI folks, first post here! Big UP to all your work here. Need to be said. :good:

I am running LineageOS 16.0 Build 6 Released October 19, 2020 downloaded from openkiri.net successfull.

Bevor the P9 was updatet to EVA_AL10 (EMUI8) via @Tecalote step-by-step manual. After installing network patch my provider/carrier named "HOT" showed up correctly in top left corner of the display. Its a discounter running on T-Mobil Austria (now called "Magenta") infrastructure.

After flashing LineageOS 16 it shows only T-Mobil, no more HOT. A friend of mine working there (T-Mobil) checked my IMEI and MISI and my P9 is corrrectly signed in at T-Mobil via HOT. So all runs fine just the names of the network are wrong listed.

As I figured out there are three posibilitys where the phone gets this information from. SIM-Card, via air (network) and branding (firmware).

Its only a little detail but is it possible to update the carriers to the present names?
 
Last edited:

zgfg

Senior Member
Oct 10, 2016
4,419
1,899
233
HI folks, first post here! Big UP to all your work here. Need to be said. :good:

I am running LineageOS 16.0 Build 6 Released October 19, 2020 downloaded from openkiri.net successfull.

Bevor the P9 was updatet to EVA_AL10 (EMUI8) via @Tecalote step-by-step manual. After installing network patch my provider/carrier named "HOT" showed up correctly in top left corner of the display. Its a discounter running on T-Mobil Austria (now called "Magenta") infrastructure.

After flashing LineageOS 16 it shows only T-Mobil, no more HOT. A friend of mine working there (T-Mobil) checked my IMEI and MISI and my P9 is corrrectly signed in at T-Mobil via HOT. So all runs fine just the names of the network are wrong listed.

As I figured out there are three posibilitys where the phone gets this information from. SIM-Card, via air (network) and branding (firmware).

Its only a little detail but is it possible to update the carriers to the present names?
It's about virtual providers. They don't have their own infrastructure but users (similarly like in roaming) attach through the host networks

Phone receives both info - indeed, you can see both names, although with different ROMs.
Actually, phone does not receive names but their codes and translates them to the names through its own tables

Official ROM takes the correct code from the two and displays correct info, custom ROM picks the code of the host network- it would be a serious defect for the official ROM if it would not properly deal with network names even for virtual operators

But if other things work fine in LOS, why do you bother with few leters in the corner of thevscreen?

LOS maybe does not distinguish virtual providers from roaming and thinks that host network code/name (in roaming, you would always see the host network name) as the expected info to show
 
Last edited:

P9_User

Member
Oct 27, 2020
7
0
0
But if other things work fine in LOS, why do you bother with few leters in the corner of thevscreen?
Thanks for explaination, that makes sense. Just wanted to be shure there is no issue, for exsample going abroad and figuring out my phone cannot log in at a roaming-partner network.

And no, I dont care too much about what provider is written and yes, I am very curious how nice LOS16 runs my P9. :highfive:
 

_wasted_

Member
Oct 23, 2020
13
0
0
Hello, i have an issue.
When i activate either night-mode, read-mode, or calibrate the colors in 'LiveDisplay'-settings, the UI of the trebuchet-launcher becomes quite laggy. Same for color correction in 'Accessibility Settings'.

Reproduction: swipe through the pages of the home-screen, fast and slowly -> activate one of the settings mentioned above -> swipe again fast and slowly through the pages of the home-screen & you should notice the difference.

Build: 20201007

Don't know if this is related to the ROM, and if there is a way to solve this or at least workaround.

greetings

Edith:mad: b550 stock kernel
no Xposed or other modifications
 
Last edited:

MSe1969

Senior Member
Dec 16, 2016
1,411
2,575
133
Frankfurt Rhine-Main metropolitan region
Hello, i have an issue.
When i activate either night-mode, read-mode, or calibrate the colors in 'LiveDisplay'-settings, the UI of the trebuchet-launcher becomes quite laggy. Same for color correction in 'Accessibility Settings'.

Reproduction: swipe through the pages of the home-screen, fast and slowly -> activate one of the settings mentioned above -> swipe again fast and slowly through the pages of the home-screen & you should notice the difference.

Build: 20201007

Don't know if this is related to the ROM, and if there is a way to solve this or at least workaround.

greetings

Edith:mad: b550 stock kernel
no Xposed or other modifications
Just tried to reproduce the issue on my P9, I didn't see any issues, no not sure, how I can help...
 

MSe1969

Senior Member
Dec 16, 2016
1,411
2,575
133
Frankfurt Rhine-Main metropolitan region
It flashed fine. But hot-spot still isn't working. Turns on the off and says error. Any idea what the issue could be.

Thanks again for the help

same for me. hotspot not working. Did a clean flash yesterday.
@MSe1969 what do you need, logcat and dmseg? can post them in a few hours.
Which build exactly did you flash?
It works w/o issues on my device.
 

_wasted_

Member
Oct 23, 2020
13
0
0
Which build exactly did you flash?
It works w/o issues on my device.
kernel/vendor: B550
system: treble_arm64_a_lineage16_20201007_system
no Xposed or other modifications

logcat
tried to get dmesg as well (followed the explenation in the link from OP) but got klogctl permission exception... also tried with root enabled for adb, but couldn't get it to work.
dmesg
 
Last edited:

MSe1969

Senior Member
Dec 16, 2016
1,411
2,575
133
Frankfurt Rhine-Main metropolitan region
kernel/vendor: B550
system: treble_arm64_a_lineage16_20201007_system
no Xposed or other modifications

logcat
tried to get dmesg as well (followed the explenation in the link from OP) but got klogctl permission exception... also tried with root enabled for adb, but couldn't get it to work.
dmesg
I am for a specific reason reluctant to "downgrade" my device to 20201007 to verify. Could you please flash the interim version 20201017, which I have announced some posts back and tell me, whether it works?
 

_wasted_

Member
Oct 23, 2020
13
0
0
I am for a specific reason reluctant to "downgrade" my device to 20201007 to verify. Could you please flash the interim version 20201017, which I have announced some posts back and tell me, whether it works?
you mean this post right? isn't it just an update for microG? i dont use any google-services for now so i skipped initial config + this update.
so there is no 20201017 system-image neither here in this thread nor on sourceforge.... am i missing something:confused: