• 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+KERNEL][CAN-L11][UNOFFICIAL] LineageOS 13.0 [11.08.2017]

#Henkate

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




[COLOR=167c80]LineageOS 13.0 for Huawei Nova CAN-L11[/COLOR]


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 - MUST READ
1. All credits goes to @Grarak for making the sources. I've only built LOS using his sources. Also I've been able to build by using Google Cloud platform since my PC is crap... It took me 1h 30m to build with Google Cloud platform, while with my PC was still building after 7h of building and then got an error regarding my PC (was too slow or out of memory).
2. Don't use encryption. I don't know why, but Grarak mentioned this on his twitter at the last build for CAN-L01.

[COLOR=167c80]Requirements[/COLOR]

- Huawei Nova CAN-L11
- EMUI 4.1 (Android 6.0). I've flashed it successfully from EMUI 5 ( Android 7.0) too and I didn't encounter any problems.
- Unlocked bootloader ( here's a guide about how to unlock it)
- TWRP by @Grarak. I've been on his TWRP while flashing LOS. I don't know if it works with other TWRP.

[COLOR=167c80]Installation[/COLOR]

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, 6.0 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.

[COLOR=167c80]Download[/COLOR]

ANDROIDFILEHOST | MEDIAFIRE


[COLOR=167c80]Sources[/COLOR]


[COLOR=167c80]Credits[/COLOR]

@Grarak for the sources
@FrozenCow
@franciscofranco
@flar2
@Sultanxda
@ Google for their cloud platform and free trial
@ LineageOS
@ Huawei

XDA:DevDB Information
[ROM+KERNEL][CAN-L11][UNOFFICIAL] LineageOS 13.0 [11.08.2017], ROM for the Huawei Nova/Nova Plus

Contributors
#Henkate, Grarak
Source Code: https://github.com/skinzor/android_kernel_huawei_msm8953/tree/cm13.0

ROM OS Version: 6.0.x Marshmallow
ROM Firmware Required: Unlocked bootloader, TWRP, EMUI 4.1 (Android 6.0)

Version Information
Status: Stable
Stable Release Date: 2017-08-11

Created 2017-05-26
Last Updated 2017-08-11
 

Attachments

Last edited:

#Henkate

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

Bugs

- FM-Radio
- signal icon becomes empty / gray when you are using 3G, but the network is working
- camera recording / video playback issues (sometimes, when you play the recorded video it gets stuck / frozen)

If you've found a bug, please report it along with a logcat.


Changelog

11.08.2017

ROM:
- 1 July 2017 security patch
- switched to Snap Camera (quality seems to be much better as I've said in one of my previous posts)
- added microG support (signature spoofing)
- fixed NFC
- fixed Dual SIM - thanks to @Yohannj who for this
- ROOT is now included (LOS`s root)
- added more blobs: OMX, IMS, CNE / DPM
- disabled LiveDisplay by default
- got rid of CM Updater since we don't have official LOS
- bluetooth name was set to "HUAWEI Nova" as default
- increased ZRAM to 1gb and applied other changes/settings as EMUI 5 (in my opinion, multitasking seems to be better)
- added ext4 support for /data
- added f2fs support for /cache

KERNEL:

- re-enabled cleancache and zcache
- applied a patch to allow 200 swappiness (for zram)


02.06.2017

ROM:
- sdcard problem was fixed (in first release, the sdcard wasnt recognized in other apps other than Documents app and neither MTP)
- added glove mode (Settings > Display > High Touch Sensitivity)

KERNEL:

- 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
- CPU Boost toggle; disabled by default
- KCAL: Advanced color control (RGB, Saturation, Value, Contrast, Hue)
- Vibration intensity control
- SafetyNet pass
- I/O schedulers: added SIO, SIOPLUS, FIOPS, ZEN, BFQ, tripndroid
- governors: added blu_active
- DriveDroid support: allows you to boot your PC from ISO/IMG files stored on your phone [UNTESTED]
- QuickWakeup driver: Allow kernel driver to do periodic jobs without resuming the full system. It can increase the battery life.
- Zen-tune: Tunes the kernel for responsiveness at the cost of throughput and power usage.
- enabled Power Efficient Workqueues: it should increase the battery life. There is also a toggle.
- enabled advanced TCP congestions: Westwood, HSTCP, HYBLA, HTCP, Vegas, Veno, Scalable, LP, Yeah, Illinois
- misc fixes
26.05.2017

- initial build
 
Last edited:
  • Like
Reactions: merlin21 and Gent'

wangdaning

Elite Member
Sep 17, 2012
1,358
563
113
Wuxi
It goes fine on my AL10, and the SD card issue I had was solved with:
Code:
sm storage-force-adaptable yes
I posted that in the other lineage thread.
My question would now be how is this different than the other build?

---------- Post added at 06:06 AM ---------- Previous post was at 05:59 AM ----------

Only other thing I will mention, I use gravity box for minor status bar tweaks (the percent seems to not natively stay in the circle) and pie control with no nav bar (more screen for me). If you touch lockscreen stuff in gravity box you will make your lockscreen insecure. It will be a simple swipe in order to get to your phone. I know gravity box should not be used with lineage, but I mention it as I encountered it.
 

#Henkate

Elite Member
Feb 1, 2012
3,485
3,120
113
25
フェアリーテイル
It goes fine on my AL10, and the SD card issue I had was solved with:
Code:
sm storage-force-adaptable yes
I posted that in the other lineage thread.
Thanks for this tip. I understand that this command enables adoptable storage, but I don't want to use adoptable storage as it may slow down the phone. Also, by using this command, the sdcard gets formatted too?

My question would now be how is this different than the other build?
The CAN-L01 build couldn't be flashed on CAN-L11 because the partition sizes defined in BoardConfig.mk were L01 ones which were bigger than L11 ones and upon flashing L01 build I was getting an error saying that it's too big.

I've corrected the partition sizes for L11 and built it. That's the only change.
 
  • Like
Reactions: merlin21

#Henkate

Elite Member
Feb 1, 2012
3,485
3,120
113
25
フェアリーテイル
Good man, just wonder if your build will run on my device.
It should work as long as it flash successfully. It's the same ROM as L01 one just that it has the partition sizes modified for L11, so it should work. If it gets stuck in recovery while flashing, then it means that the L11 partition sizes "doesn't fit" your model.


hi
tnx for your work.can we (owner of nova plus)use this rom?
I don't know, you can try to flash and report whether it works or not. As always, take a backup before.
 

wangdaning

Elite Member
Sep 17, 2012
1,358
563
113
Wuxi
I will give it a shot next weekend, kind of need my phone to work during the week. I wonder if we start a partition table thread if that would be helpful. It was my understanding that most of the partitions are the same except userdata, which is based on variant.
 

#Henkate

Elite Member
Feb 1, 2012
3,485
3,120
113
25
フェアリーテイル
Hello
Does anybody have the camera working?
Yes, the camera is working. The bugs are mentioned in post #2.

I will give it a shot next weekend, kind of need my phone to work during the week. I wonder if we start a partition table thread if that would be helpful. It was my understanding that most of the partitions are the same except userdata, which is based on variant.
Well, i guees that would be helpful assuming people will post their partition table. Here I've wrote how to check the partition sizes.
 

Wahbax

Member
Nov 17, 2013
11
0
0
Yes, the camera is working. The bugs are mentioned in post #2.
Thanks for the quick response. I followed the guide step by step and I always get this message in camera app "Camera Error Can't connect to camera".
Also no third party camera app is working, I tried restarting, re flashing Gapps and re flashing the rom. still the same error.
attached is a screen shot.
 

Attachments

#Henkate

Elite Member
Feb 1, 2012
3,485
3,120
113
25
フェアリーテイル
Thanks for the quick response. I followed the guide step by step and I always get this message in camera app "Camera Error Can't connect to camera".
Also no third party camera app is working, I tried restarting, re flashing Gapps and re flashing the rom. still the same error.
attached is a screen shot.
That's weird. It's working fine for me and there's no issues.

Can you try to wipe Internal storage too? But make a backup of internal memory before doing that.
I haven't flashed GAPPS as I'm not using them, but it shouldn't affect the camera in any way.

I've just tried Open Camera and works fine too.
 

Wahbax

Member
Nov 17, 2013
11
0
0
That's weird. It's working fine for me and there's no issues.

Can you try to wipe Internal storage too? But make a backup of internal memory before doing that.
I haven't flashed GAPPS as I'm not using them, but it shouldn't affect the camera in any way.

I've just tried Open Camera and works fine too.
I wiped internal storage, didn't flash gapps
Unfortunatly, Camera still not working