• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][7.1.2][UNOFFICIAL] LineageOS 14.1 [25.05.2018]

Do you want Substratum?


  • Total voters
    15
  • Poll closed .

#Henkate

Elite Member
Feb 1, 2012
3,485
3,120
113
25
フェアリーテイル



LineageOS 14.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.

NOTES


1) If you've found a bug, please report it along with a logcat.
2) If you experience a random reboot, please share /sys/fs/pstore/console-ramoops.
3) It should work on all models, just like LOS 13.
4) Lineage`s root is included (Settings > Developer Options > Root Access. If you want to install Magisk or something else, please uninstall Lineage`s root by flashing addonsu-remove-14.1-arm64-signed.zip in TWRP before installing Magisk or something else.
5) I would appreciate if you could write the Nova model on which you've flashed LOS14, if your model is other than CAN-L11.



LineageOS is a free, community built, aftermarket firmware distribution of Android 7 (Nougat), 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. You can also view the Changelog for a full list of changes & features.

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

What's not working / bugs:
  • Camera is / looks zoomed when recording a video (it seems to be same on stock)
  • HDR?
  • IMS/Volte


Requirements


Installation

Starting with January 2018 builds you need Nougat /product partition otherwise you'll get bootloop. To get Nougat product partition, you must install / flash EMUI 5 or restore this TWRP backup of Nougat /product partition (more details here). You don't know how to restore that backup? Check the steps from this post.


Make sure you meet the requirements listed above.

  1. Download the ROM and put it on sdcard. If you want GAPPS too, then download Open Gapps too (choose arm64, 7.1 and pico).
  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 GAPPS (OPTIONALLY).
  6. Reboot.

Download

ANDROIDFILEHOST | MEDIAFIRE


Sources


Donations

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

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

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

Credits

@Grarak
@gt_o
@abhishek987
@crpalmer
@FrozenCow
@franciscofranco
@flar2
@Sultanxda
@zx2c4
@ Google for their cloud platform and free trial
@ LineageOS
@ Huawei

XDA:DevDB Information
[ROM][7.1.2][UNOFFICIAL] LineageOS 14.1 [25.05.2018], ROM for the Huawei Nova/Nova Plus

Contributors
#Henkate, Grarak, gt_o
Source Code: https://github.com/skinzor/android_kernel_huawei_msm8953-1

ROM OS Version: 7.x Nougat
ROM Firmware Required: Unlocked bootloader, TWRP

Version Information
Status: Stable

Created 2017-11-13
Last Updated 2018-05-25
 

#Henkate

Elite Member
Feb 1, 2012
3,485
3,120
113
25
フェアリーテイル
Changelog

25 May 2018
* security patch level 5 May 2018

The development has been resumed and is possible thanks to @wangdaning who helped me to get a new Nova. Thank you!
15 February 2018
Read this small, but important F.A.Q.

* synced Lineage sources
* security patch level 5 February 2018
* switched to enforcing selinux
25 January 2018
ROM

* synced Lineage sources
* security patch level 05.01.2018
* fixed in-call volume slider, mic/sound recorder (it's louder now) thanks to @gt_o. Read more here.
* updated audio configs to B382 and synced few audio props with stock ones
* show "HUAWEI NOVA" instead "Android" when phone is plugged to PC
* removed substratum support.
* added two blobs to fix two errors in logcat
* added the missing device_qcom_common (i don't know how i haven't noticed that till now lol). Now there are 5 profiles: powersave, efficiency, balanced (default), quick and performance. This can be configured at battery settings. As an idea, the powersave profile seems to turn off 3 cores (the cores doesn't seems to turn on when there is a high load though), while the performace one sets all cores to 2ghz. The power hal being used is the one of msm8937, which is also an octa core CPU. This is defined in the power hal's makefile on Lineage's repo (if the processor is msm8953, use the power hal of msm8937). I recommend it to keep the balanced profile (which is enabled by default), but it's up to you.

Kernel

* merged stock kernel source into the CAF one (tag LA.UM.5.6.r1-01300-89xx.0 as this one semeed to be the closest to stock, but also based on the Adreno log)
* got rid of many drivers from Huawei. You can see the commits here. Thanks to @gt_o, huawei's bootfail monitor (HWBFM) has also been removed. Although HWBFM was disabled till now, it was better to get rid of it, to get a cleaner kernel, but also being easier to merge the stock source into CAF.
* cpuset updates (also in ramdisk)
* added WireGuard support, thanks to @zx2c4. WEBSITE | XDA
* removed fsync/crc toggles as it's better to not mess with them
9 December 2017
ROM

* synced Lineage sources
* added Substratum support
* fixed blinking mode of notification light
* allow minimum brightness 1 (it was 4 before)
* possibly fixed the power usage reported by bluetooth ( i can't test right now as phone is charging and can;t reset the battery stats)
* Reverted this commit (more details there)

Kernel

* fixed hotspot
* cleaned ramdisk
25 November 2017
ROM

* security patch 6 November 2017
* fixed signal icon on 3G (it isnt empty / gray anymore)
* fixed flac audio playback
* updated media configs to N B382
* hide sRGB toggle in developer options
* increased the number of voice call steps from 5 to 8, and media volume steps
from 15 to 20
* increased the handset volume from the default (84) to 88 to improve UX with voice calls
* added ext4 support for /data
* added f2fs support for /cache
* added glove mode (Settings > Display > High touch sensitivity)
* from now on, Lineage`s root is included (Settings > Developer Options > Root Access. If you want to install Magisk or something else, please uninstall Lineage`s root by flashing addonsu-remove-14.1-arm64-signed.zip in TWRP before installing Magisk or something else.


Kernel

* fixed logd/klogd issue (the high cpu usage)
* disabled HUAWEI_DEBUG_MODE config
* added DriveDroid support: allows you to boot your PC from ISO/IMG files stored on your phone [UNTESTED]
* added USB HID gadget support
* CRC toggle; enabled by default (disable it for 30% performance improvement at the risk of data corruption, according to its description)
* FSYNC toggle; enabled by default (disable it to possibly increase performace at the risk of data corruption
13 November 2017
* initial release
 
Last edited:
Jul 25, 2014
36
6
0
Hi, i was waiting for LOS14 so much, thank you for the hard work <3. I just have a few concerns about the unlocking bootloader/rooting/twrping stuff of my MLA-L11, since noone of the methods has been confirmed to work on that model.. And i simply can't risk a 300 € brick. I'm confident with modding, the method seems crystal clear.. Just asking the Dev if he thinks it should works for me. Also, if i should take some cautions and how. Android 7, EMUI 5, full stock. Of course modding is always a risk, but.. you know what i mean. Thanks in advance, i hope that's not off the topic!
 

Vinnom

Elite Member
Jun 21, 2012
1,684
1,121
113
Campinas
For some reason, I can't get it to boot. It is on LOS bootanimation and doesn't boot =/ can't even get a log.

Clean format always, I tried with stock open gapps, pico open gapps, without open gapps. It seems something is wrong with my phone.
then i thought the issue could be I'm coming from EMUI 5.
Then I tried to restore bluesmoothie backup and put LOS over it, nothing =/

I don't know why =/
 

#Henkate

Elite Member
Feb 1, 2012
3,485
3,120
113
25
フェアリーテイル
To all people: I would appreciate if you could write the Nova model on which you've flashed LOS14, if your model is other than CAN-L11.


Hi, i was waiting for LOS14 so much, thank you for the hard work <3. I just have a few concerns about the unlocking bootloader/rooting/twrping stuff of my MLA-L11, since noone of the methods has been confirmed to work on that model.. And i simply can't risk a 300 € brick. I'm confident with modding, the method seems crystal clear.. Just asking the Dev if he thinks it should works for me. Also, if i should take some cautions and how. Android 7, EMUI 5, full stock. Of course modding is always a risk, but.. you know what i mean. Thanks in advance, i hope that's not off the topic!
Hi there!
Thank you too for the kind words!

I don't know if it'll work, but it has been confirmed that MLA-L03 has been unlocked with the same method. Theoretically, it should work on your MLA-L11 too since it's one of MLA series.

Also, the process of unlocking bootloader is "general", it isn't meant only for one or two phones/models. If I'm not mistaken, I think you can't even brick a phone when you're trying to unlock the bootloader.

If you'll unlock the bootloader and by any chance LOS14 isn't booting on your model, you'll have to relock the bootloader, download EMUI 5 firmware from Firmware Finder and install it.

LOS 13 could be flashed from EMUI 5, so it shouldn't matter for LOS 14 neither.


For some reason, I can't get it to boot. It is on LOS bootanimation and doesn't boot =/ can't even get a log.

Clean format always, I tried with stock open gapps, pico open gapps, without open gapps. It seems something is wrong with my phone.
then i thought the issue could be I'm coming from EMUI 5.
Then I tried to restore bluesmoothie backup and put LOS over it, nothing =/

I don't know why =/
What's your Nova model? I've forgot :D.

Did you take a look at the recovery log after you're flashing LOS 14 or the output from recovery itself? Does it really gets flashed properly?

LOS 13 could be flashed from EMUI 5 too, so that shouldn't matter neither with LOS 14.

I'll make an eng boot.img later (when I'll get access to PC), so you'll be able to take a logcat during booting.
 
Last edited:

Vinnom

Elite Member
Jun 21, 2012
1,684
1,121
113
Campinas
To all people: I would appreciate if you could write the Nova model on which you've flashed LOS14, if your model is other than CAN-L11.




Hi there!
Thank you too for the kind words!

I don't know if it'll work, but it has been confirmed that MLA-L03 has been unlocked with the same method. Theoretically, it should work on your MLA-L11 too since it's one of MLA series.

Also, the process of unlocking bootloader is "general", it isn't meant only for one or two phones/models. If I'm not mistaken, I think you can't even brick a phone when you're trying to unlock the bootloader.

If you'll unlock the bootloader and by any chance LOS14 isn't booting on your model, you'll have to relock the bootloader, download EMUI 5 firmware from Firmware Finder and install it.

LOS 13 could be flashed from EMUI 5, so it shouldn't matter for LOS 14 neither.




What's your Nova model? I've forgot :D.

Did you take a look at the recovery log after you're flashing LOS 14 or the output from recovery itself? Does it really gets flashed properly?

LOS 13 could be flashed from EMUI 5 too, so that shouldn't matter neither with LOS 14.

I'll make an eng boot.img later (when I'll get access to PC), so you'll be able to take a logcat during booting.
Mine is CAZ-TL10 (chinese). I'll try again (today I won't be able to, maybe thursday or friday) and take the recovery.log which I forgot :/
However, the twrp output was fine. I had some bad lines:
Failed to mount /cust (always have it)
E: unknown command (two lines of this message after flashing the ROM)

Enviado de meu HUAWEI CAN usando Tapatalk
 
  • Like
Reactions: #Henkate

#Henkate

Elite Member
Feb 1, 2012
3,485
3,120
113
25
フェアリーテイル
Mine is CAZ-TL10 (chinese). I'll try again (today I won't be able to, maybe thursday or friday) and take the recovery.log which I forgot :/
However, the twrp output was fine. I had some bad lines:
Failed to mount /cust (always have it)
E: unknown command (two lines of this message after flashing the ROM)

Enviado de meu HUAWEI CAN usando Tapatalk

I see.
I have the second error too, after flashing the ROM. I haven't checked why, but it doesn't seems to affect anything.

As I've said, i'll provide an eng boot.img later, so you'll be able to take a logcat during boot.
 

Vinnom

Elite Member
Jun 21, 2012
1,684
1,121
113
Campinas
I thought it would be possible for me to try and flash again only in thursday, but I could today.

I tried to different ways:

Clear flashing;
Formating data;

Neither worked.

I took 2 recovery logs, before and after formating data.
I took a logcat while booting, thanks to the eng boot.img provided.

The logs can be found here.
I don't have a clue why it doesn't boot =/
I took a look at the logs, everything seems to be flashed without any problem and I can't understand right the logcat. I hope it can be useful
 
  • Like
Reactions: #Henkate

imkoma

Member
Aug 23, 2014
20
9
0
Runs good in MLA-L11 with some issues:

The camera stop ramdon
-the front camera have issues with post processing.
Using the OP Camera works good.
-all the cores are 2.02ghz all the time the phone is active



-When you get the kernel CAF will be a perfect ROM. thanks for the hard work hetanke !
 

#Henkate

Elite Member
Feb 1, 2012
3,485
3,120
113
25
フェアリーテイル
I thought it would be possible for me to try and flash again only in thursday, but I could today.

I tried to different ways:

Clear flashing;
Formating data;

Neither worked.

I took 2 recovery logs, before and after formating data.
I took a logcat while booting, thanks to the eng boot.img provided.

The logs can be found here.
I don't have a clue why it doesn't boot =/
I took a look at the logs, everything seems to be flashed without any problem and I can't understand right the logcat. I hope it can be useful

The recovery logs looks fine. I see that you have also installed Magisk and a Titanium Backup zip. Just to be clear, you have tried to install it without anything else too?

1) Did you wait about 5 mins ( although i dont think that much time is required)?
2) Can you take a kernel log too?

Run the following command, while booting (let it run few seconds after you think that you have got bootloop):

Code:
adb shell "cat /dev/kmsg"

I cant find anything wrong in logcat neither. I think the stock kernel may not be compatible with your model, so i will need to use the kernel source for your model or compare the two sources and import changes from CAZ-TL10 source into the one im using now.

The stock kernel source which is being used right now is CAZ_NG_EMUI5.0_opensource. According to Huawei`s website, it is meant for:

HUAWEI Nova,HUAWEI Nova Plus, CAN-L10, L11, MLA-L01,L11,L12,L13, Android 7.0, EMUI 5.0
When i search for "CAZ" on their website, i find nothing. But there seems to be:

Cannes-AL10_TL10 HUAWEI nova, Cannes-AL10, TL10, Android 7.0, EMUI 5.0
Perhaps thats the right one for CAZ-TL10 too?
 

#Henkate

Elite Member
Feb 1, 2012
3,485
3,120
113
25
フェアリーテイル
Runs good in MLA-L11 with some issues:

The camera stop ramdon
-the front camera have issues with post processing.
Using the OP Camera works good.
-all the cores are 2.02ghz all the time the phone is active


-When you get the kernel CAF will be a perfect ROM. thanks for the hard work hetanke !
Thank you too for your words!
By the way, its Henkate. You can also call me Robert :D.


1) When exactly camera is stopping and how? I didnt encounter this on my CAN-L11
2) What kind of issues does have front camera? My Nova`s front camera got damaged / broken when my Nova has been damaged, therefore i cant use it nor test it.
3) Regarding the cores, ive wrote at "notes" in first post:

The first thing you want to do after first reboot is to install a file manager and rename /system/bin/logd to "logd.bak" and reboot. You have to do this in order to get rid of the high CPU load. Consider this a workaround until the issue gets solved. Note that this breaks logcat, so you'll have to rename it back to "logd" and reboot to be able to take a logcat.
Would be nice if you could share a logcat regarding 1) and 2).