[ROM][8.1.0][OTA][UNOFFICIAL] LineageOS 15.1 [15.11.2018]

Search This thread

#Henkate

Senior Member
Feb 1, 2012
3,485
3,122
26
フェアリーテイル
2okPze5.png



LineageOS 15.1 for Huawei Nova CAN-L11


DISCLAIMER:
Code:
 * Your warranty is now void.
 *
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed.
 * Please do some research if you have any concerns about features included
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at me for messing up your device, I will laugh at you.


LineageOS is a free, community built, aftermarket firmware distribution of Android 8 (Oreo), which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.

What's working:
  • Boots
  • Wifi
  • Bluetooth
  • Camera and Camcorder(video recorder)
  • Video Playback
  • RIL (Calls, SMS, Data)
  • Audio ( Recording and Playback )
  • Sensors
  • Fingerprint
  • Notification LED
  • FM Radio
  • GPS
  • NFC
  • Hotspot

Known issues:
  • some saturation issue in camera while it is focusing (it was present on lineage 14 too)


Requirements

  • Huawei Nova CAN-L11 (should work on the other models too)
  • Unlocked bootloader ( here's a guide about how to unlock it). If you don't have the unlock key, then you no longer can unlock it. You gotta thank Huawei for not allowing unlocked bootloader anymore.
  • TWRP for Oreo.
  • Make sure you've updated to EMUI 5 first. I don't mean that you need to be on EMUI 5 now, but that you've updated to EMUI 5 before. I don't know if it works if you were on EMUI 4.


Installation

Make sure you meet the requirements listed above.

  1. Download the ROM and put it on sdcard. Root isn't included in ROM yet. You can grab the lineage addon here (removal addon here). If you want GAPPS too, then download MindTheGapps (mirror or Open Gapps too (choose arm64, 8.1 and pico or other variant if you want more gapps).
  2. Reboot in TWRP by pressing all 3 buttons (Volume UP + Volume Down + Power).
  3. Wipe system, data, cache and dalvik-cache.
  4. Flash the ROM from the directory where you've placed it.
  5. Flash lineage's root addon / GAPPS (OPTIONALLY).
  6. Reboot.


Download

GITHUB | ANDROIDFILEHOST | MEDIAFIRE


Sources



Donations

You don't have to, but if you like my work and you wish to support the development:

1) PayPal:
https://www.paypal.me/Henkate
https://forum.xda-developers.com/donatetome.php?u=4471434

2) Patreon: https://www.patreon.com/Henkate
3) WeChat: QR code (id Henkate)

I would use the money to upgrade my PC, so i can build with my own PC instead relaying on Google Cloud Platform.

Thank you to all donators!


Donators list:

Annedore Krauß / @Asbi12 - 33 USD (I've got 31,41 because 1,59 was PayPal fee), 13 August 2017 (that was during lineage 13 days). It was my first donation and I've used that money back then for driving sessions (car school) as I really needed.
Tarik Ben Khayat - 3 EUR, 24 December 2017
Klaus-Peter Ahrenberg - 10 USD (i've got 9,31 because 0,69 was PayPal fee), 7 January 2018
Lucas / @wangdaning - 202,80 EUR (I've got 191,50 because 11,30 was PayPal fee), 17 May 2018. As I've mentioned before several times, he helped me with those money to buy a new Nova, so all the development from me since Oreo is possible thanks to him.
Daniel Kladensky - 10 EUR, 4 July 2018
Ievgen Sobko / @IevgenSobko - 10 USD (i've got 9,23 because 0,77 was PayPal fee), 16 August 2018
Stefano Lucci / @Sting1971 - 10 USD (I've got 9,31 because 0,69 was fee), 8 September 2018
@acerspyro - on 29 October 2018 he set up his Patreon to donate me 8 USD monthly (7 after fee or something) and then raised it to 10 USD (9 after fee).
Steffen Illium - 5 EUR, 4 November 2018
Дементьев Дмитрий - 7 USD (I've got 6,37 because 0,63 was PayPal fee), 5 November 2018
Yohann Juge / @Yohannj - 10 USD (I've got 9,31 because 0,68 WD PayPal fee), 5 November 2018
@YiShanqing - 10 CNY through WeChat (which is about 1,27 euros according to Google), 10 November 2018



Credits

@wangdaning
@abhishek987
@Cozzmy13
@javelinanddart
@highwaystar_ru
@BadDaemon
@_dobo
@LuK1337
@mikeioannina
forkbomb - IRC
@Grarak
@gt_o
@crpalmer
@FrozenCow
@franciscofranco
@flar2
@Sultanxda
@zx2c4
@ Google for their cloud platform and free trial
@ LineageOS
@ Huawei

XDA:DevDB Information
[ROM][8.1.0][OTA][UNOFFICIAL] LineageOS 15.1 [15.11.2018], ROM for the Huawei Nova/Nova Plus

Contributors
#Henkate
Source Code: https://github.com/skinzor/android_kernel_huawei_msm8953-1/tree/lineage-15.1

ROM OS Version: 8.x Oreo
ROM Firmware Required: Unlocked bootloader, TWRP

Version Information
Status: Stable

Created 2018-09-04
Last Updated 2018-12-08
 

#Henkate

Senior Member
Feb 1, 2012
3,485
3,122
26
フェアリーテイル
Changelog

15 November 2018
- synced LineageOS sources
- 5 November 2018 security patch
- enforced selinux and addressed more denials
- switch to BFQ scheduler once phone booted
- added power off alarm support: set an alarm and power off the phone. The phone will turn itself on with 1 minute before the alarm is supposed to ring. According to my tests, the alarm will ring after 30 seconds after the phone booted and lockscreen appeared.
- added Wireguard support
- reverted Huawei's change to qcom,bcl and got in-line with CAF: allow BCL to hotplug 4 cores at 10% battery instead 2 cores at 5%
- enabled Westwood TCP congestion; you can switch to it with e.g. Kernel Adiutor
- added vibration control; you can change it with e.g. Kernel Adiutor
- other misc fixes which you can see in the commit history

13 October 2018
- synced LineageOS sources
- 5 October 2018 security patch
- added OTA support (using lineage's updater)
- fixed the freezes caused by libqmi_oem_main
- fixed the reboot which was occuring when CPU-Z was opened (also the sensorservice's crash)
- fingerprint will no longer be missing at boot
- updated audio configs (and audio flags), media and wifi configs
- enabled QUOTA feature for userdata partition
- addressed many selinux denials (next build will be enforced)
- other misc fixes which you can see at commit history


4 September 2018
 
Last edited:
  • Like
Reactions: Klulu

#Henkate

Senior Member
Feb 1, 2012
3,485
3,122
26
フェアリーテイル
Thanks to @wangdaning!

First of all, let me remind you that this wouldn't have been possible without @wangdaning, at least not from me. He helped me with money to buy a new Nova in order to continue the development. With this occasion, @wangdaning, let me thank you again for trusting and helping me! I really can't thank you enough!

You can dirty flash it over lineage 14, but obviously i don't recommend that.


Happy oreo day! Lol.

giphy.gif

 
Last edited:
Dec 20, 2017
42
10
Project treble support?

---------- Post added at 10:05 PM ---------- Previous post was at 10:03 PM ----------

And yes, thank you so much for all the work that you are doing, without you the smartphone would have died a year ago, I'm very grateful to you for Oreo and I'm waiting for the support of the treble that would go to Pie
 
  • Like
Reactions: Alee.se

Alee.se

Member
Oct 15, 2017
9
5
One thing, installing CPU-Z and opening the app causes a reboot, hence, everything is excellent!
 
Last edited:
  • Like
Reactions: #Henkate

Vinnom

Senior Member
Jun 21, 2012
1,705
1,143
Campinas
Xiaomi Poco F1
just one question, man.
Did you sent the e-mail? xD

Thanks for your hard work. These past weeks are busy, but as soon as I can, I'll catch up with in telegram ^^

OREO FTW (and then pie when you finish doing it full treble :))
 

#Henkate

Senior Member
Feb 1, 2012
3,485
3,122
26
フェアリーテイル
@GNUDroid, @imkoma, @AssasinAkindinov, @wangdaning, @Alee.se, @Vinnom

Thank you so much for your feedbacks and kind words! That really means a lot to me!


Project treble support?

As I've said in my previous posts, that will be in the future builds. I need to fix the present issues first.

One thing, installing CPU-Z and opening the app causes a reboot, hence, everything is excellent!

I've just tested and I can confirm that. I'll look into it.

just one question, man.
Did you sent the e-mail? xD

Not yet hahahah. In case someone doesn't know, I'm planning to e-mail Huawei, to tell them about lineage 15 on Nova, which isn't eligible for Oreo according to them. Although it'll be pointless, I'll do it for fun xD.

OREO FTW (and then pie when you finish doing it full treble :))

Surely xD.
 

babysocola1x

Member
Feb 21, 2017
21
5
I installed LOS 15.1
I didnt see where is Fingerprint.
So i add pin code .
And remove it . None security
Haha . And i see Fingerprint . Not need to use terminal.

Thanks Mod. Testing
 

#Henkate

Senior Member
Feb 1, 2012
3,485
3,122
26
フェアリーテイル
I installed LOS 15.1
I didnt see where is Fingerprint.
So i add pin code .
And remove it . None security
Haha . And i see Fingerprint . Not need to use terminal.

Thanks Mod. Testing

Thank you for letting me know that it still happens and sharing the trick! I'll look into it as well. As I've said in my previous posts (lineage 14 thread I think, before I've published lineage 15), my guess is that some service is starting too late.

SystemUI crach with screenshot 50/50

I can't see your screenshot for some reason (XDA is failing to open it). I haven't encountered any force close until now.

1) You've did a clean flash or a dirty flash from lineage 14?
2) Did you flash some mods like xposed or something else?
3) Can you share a logcat in which you "capture" the force close or at least tell me how I can reproduce that force close?

What's not working, bugs?

Please check the first post... Also, another issue which was reported and isn't mentioned in the first post is that when you open CPU-Z app, the phone is rebooting.
 
Last edited:
  • Like
Reactions: Klulu

GNUDroid

Senior Member
May 15, 2012
535
320
Edited (wrong) bug report. Compass working fine. Delete this post.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 27
    2okPze5.png



    LineageOS 15.1 for Huawei Nova CAN-L11


    DISCLAIMER:
    Code:
     * Your warranty is now void.
     *
     * I am not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed.
     * Please do some research if you have any concerns about features included
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at me for messing up your device, I will laugh at you.


    LineageOS is a free, community built, aftermarket firmware distribution of Android 8 (Oreo), which is designed to increase performance and reliability over stock Android for your device.

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.

    What's working:
    • Boots
    • Wifi
    • Bluetooth
    • Camera and Camcorder(video recorder)
    • Video Playback
    • RIL (Calls, SMS, Data)
    • Audio ( Recording and Playback )
    • Sensors
    • Fingerprint
    • Notification LED
    • FM Radio
    • GPS
    • NFC
    • Hotspot

    Known issues:
    • some saturation issue in camera while it is focusing (it was present on lineage 14 too)


    Requirements

    • Huawei Nova CAN-L11 (should work on the other models too)
    • Unlocked bootloader ( here's a guide about how to unlock it). If you don't have the unlock key, then you no longer can unlock it. You gotta thank Huawei for not allowing unlocked bootloader anymore.
    • TWRP for Oreo.
    • Make sure you've updated to EMUI 5 first. I don't mean that you need to be on EMUI 5 now, but that you've updated to EMUI 5 before. I don't know if it works if you were on EMUI 4.


    Installation

    Make sure you meet the requirements listed above.

    1. Download the ROM and put it on sdcard. Root isn't included in ROM yet. You can grab the lineage addon here (removal addon here). If you want GAPPS too, then download MindTheGapps (mirror or Open Gapps too (choose arm64, 8.1 and pico or other variant if you want more gapps).
    2. Reboot in TWRP by pressing all 3 buttons (Volume UP + Volume Down + Power).
    3. Wipe system, data, cache and dalvik-cache.
    4. Flash the ROM from the directory where you've placed it.
    5. Flash lineage's root addon / GAPPS (OPTIONALLY).
    6. Reboot.


    Download

    GITHUB | ANDROIDFILEHOST | MEDIAFIRE


    Sources



    Donations

    You don't have to, but if you like my work and you wish to support the development:

    1) PayPal:
    https://www.paypal.me/Henkate
    https://forum.xda-developers.com/donatetome.php?u=4471434

    2) Patreon: https://www.patreon.com/Henkate
    3) WeChat: QR code (id Henkate)

    I would use the money to upgrade my PC, so i can build with my own PC instead relaying on Google Cloud Platform.

    Thank you to all donators!


    Donators list:

    Annedore Krauß / @Asbi12 - 33 USD (I've got 31,41 because 1,59 was PayPal fee), 13 August 2017 (that was during lineage 13 days). It was my first donation and I've used that money back then for driving sessions (car school) as I really needed.
    Tarik Ben Khayat - 3 EUR, 24 December 2017
    Klaus-Peter Ahrenberg - 10 USD (i've got 9,31 because 0,69 was PayPal fee), 7 January 2018
    Lucas / @wangdaning - 202,80 EUR (I've got 191,50 because 11,30 was PayPal fee), 17 May 2018. As I've mentioned before several times, he helped me with those money to buy a new Nova, so all the development from me since Oreo is possible thanks to him.
    Daniel Kladensky - 10 EUR, 4 July 2018
    Ievgen Sobko / @IevgenSobko - 10 USD (i've got 9,23 because 0,77 was PayPal fee), 16 August 2018
    Stefano Lucci / @Sting1971 - 10 USD (I've got 9,31 because 0,69 was fee), 8 September 2018
    @acerspyro - on 29 October 2018 he set up his Patreon to donate me 8 USD monthly (7 after fee or something) and then raised it to 10 USD (9 after fee).
    Steffen Illium - 5 EUR, 4 November 2018
    Дементьев Дмитрий - 7 USD (I've got 6,37 because 0,63 was PayPal fee), 5 November 2018
    Yohann Juge / @Yohannj - 10 USD (I've got 9,31 because 0,68 WD PayPal fee), 5 November 2018
    @YiShanqing - 10 CNY through WeChat (which is about 1,27 euros according to Google), 10 November 2018



    Credits

    @wangdaning
    @abhishek987
    @Cozzmy13
    @javelinanddart
    @highwaystar_ru
    @BadDaemon
    @_dobo
    @LuK1337
    @mikeioannina
    forkbomb - IRC
    @Grarak
    @gt_o
    @crpalmer
    @FrozenCow
    @franciscofranco
    @flar2
    @Sultanxda
    @zx2c4
    @ Google for their cloud platform and free trial
    @ LineageOS
    @ Huawei

    XDA:DevDB Information
    [ROM][8.1.0][OTA][UNOFFICIAL] LineageOS 15.1 [15.11.2018], ROM for the Huawei Nova/Nova Plus

    Contributors
    #Henkate
    Source Code: https://github.com/skinzor/android_kernel_huawei_msm8953-1/tree/lineage-15.1

    ROM OS Version: 8.x Oreo
    ROM Firmware Required: Unlocked bootloader, TWRP

    Version Information
    Status: Stable

    Created 2018-09-04
    Last Updated 2018-12-08
    12
    New update

    NEW UPDATE - 13/10/2018

    EDIT: It looks like I've completely forgot to commit and push a change... Basically, I've switched back to the stock libacdbloader so acdbs gets loaded properly (related to audio). That's the change I've forgot to commit and push. You can wait until tomorrow when I'll publish a new build or flash this zip which I've had in my phone.
    I'm really sorry for this.

    First, let me remind you again that this is possible thanks to @wangdaning who helped me to get a new Nova. Thank you!

    The download links are in the first post. The github became the main download link now and it'll be used by OTA too since the download speed is better.
    The sources were updated accordingly and you can find them on my github (check the first post).

    You can flash it without wiping (dirty flash). However, since there is a chance (small i guess) that some weird errors / problems might occur, i always recommend a clean flash. I've been dirty flashing all the builds and i didn't had any problem so far though.

    If you choose to install the new update from OTA, it'll automatically reboot to recovery and install it, so basically it's dirty flashing. Keep in mind that quote though.


    CHANGELOG

    - synced LineageOS sources
    - 5 October 2018 security patch
    - added OTA support (using lineage's updater)
    - fixed the freezes caused by libqmi_oem_main
    - fixed the reboot which was occuring when CPU-Z was opened (also the sensorservice's crash)
    - fingerprint will no longer be missing at boot
    - updated audio configs (and audio flags), media and wifi configs
    - enabled QUOTA feature for userdata partition
    - addressed many selinux denials (next build will be enforced)
    - other misc fixes which you can see at commit history


    NOTICE:

    1.
    Quota support has only been tested on ext4 and Linux 3.18 or higher. If enabling on other filesystems, or on older kernel versions, device manufacturers are responsible for testing and vetting for statistics correctness.

    You can read more here: https://source.android.com/devices/storage/faster-stats. As a side note, i didn't had any problem with quota on f2fs until now.

    2. OTA will download the flashable zips / updates to internal memory (/data/lineageos_updates), so you'll need to have enough free space for that. I might try to change the path to external sdcard.


    Thanks for the good firmware. Found a bug preventing from using the phone. When the Bluetooth headset is connected, the call sound goes only to the headset, and the speaker of the smartphone is silent. As a result, the call is not heard, and I miss it.

    Please let me know if you still have this issue with the new build. I haven't tried to debug that problem since i've made audio changes, but if the problem persists even with the new build, i'll try to debug it.
    10
    Here we have the los 15.1 with security patch updated to december. Sorry the lateness. In january I intend to post it ealier.

    https://drive.google.com/open?id=1eefYrCY4qsQG8q3tCyXqUumWB05a7dGN
    9
    Thanks to @wangdaning!

    First of all, let me remind you that this wouldn't have been possible without @wangdaning, at least not from me. He helped me with money to buy a new Nova in order to continue the development. With this occasion, @wangdaning, let me thank you again for trusting and helping me! I really can't thank you enough!

    You can dirty flash it over lineage 14, but obviously i don't recommend that.


    Happy oreo day! Lol.

    giphy.gif

    8
    NEW UPDATE - 15/11/2018

    First, let me remind you again that this is possible thanks to @wangdaning who helped me to get a new Nova. Thank you!

    The download links are in the first post. You should get the update through OTA too.
    The sources were updated accordingly and you can find them on my github (check the first post).

    You can flash it without wiping (dirty flash). However, since there is a chance (small i guess) that some weird errors / problems might occur, i always recommend a clean flash. I've been dirty flashing all the builds and i didn't had any problem so far though.

    If you choose to install the new update from OTA, it'll automatically reboot to recovery and install it, so basically it's dirty flashing. Keep in mind that quote though.


    CHANGELOG

    - synced LineageOS sources
    - 5 November 2018 security patch
    - enforced selinux and addressed more denials
    - switch to BFQ scheduler once phone booted
    - added power off alarm support: set an alarm and power off the phone. The phone will turn itself on with 1 minute before the alarm is supposed to ring. According to my tests, the alarm will ring after 30 seconds after the phone booted and lockscreen appeared.
    - added Wireguard support
    - reverted Huawei's change to qcom,bcl and got in-line with CAF: allow BCL to hotplug 4 cores at 10% battery instead 2 cores at 5%
    - enabled Westwood TCP congestion; you can switch to it with e.g. Kernel Adiutor
    - added vibration control; you can change it with e.g. Kernel Adiutor
    - other misc fixes which you can see in the commit history


    What about the other issues?

    1. Camera saturation issue - I didn't manage to fix it and today I've asked @highwaystar if he could give me a tip. Instead giving me a tip, he actually said that he can take a look at the blob. So he did that and then he sent me the patched blob, but when I've tried it, the camera saturation issue was still there. I have no idea why it didn't work, but I know that highwaystar patched the blob properly because he has knowledge about this kind of stuff.

    2. No audio through speaker for some people - I didn't had time to look more into it.

    3.
    When the Bluetooth headset is connected, the call sound goes only to the headset, and the speaker of the smartphone is silent.

    I didn't had time to look into this neither. If there's any other issue which I've forgot to mention now, well, I didn't had time to look into it neither.