• 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][6.0.1][UNOFFICIAL] Lineage OS 13

_skypol0

Senior Member
Sep 12, 2016
93
466
0
Paris

Code:
/*
 * I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...). 
 * Please do some research if you have any concerns about features included in the products you find here 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. 
 * Your warranty will be void if you tamper with any part of your device / software.
 * Same statement for XDA.
 */
Status : ALPHA 5
This version is mainly for testers but anybody can flash it, since there is no more critical issues :victory:

This build is userdebug flavor. ADB and ROOT are disabled by default.

Installation instructions
  • First of all, update your Mate to EMUI 4.1 (that has the good kernel version)
  • Like always: BACKUP, BACKUP BACKUP !
  • Wipe every partitions (except your SD and your internal storage) See below.
  • You can flash GApps (see the frequently asked questions below).
  • Enjoy.

- NXT-AL10, NXT-L29 and NXT-L09 reported as booting
- Xposed reported as working
- Second SIM reported as working (NXT-L29)


Important note : L-09 variant is UNSTABLE for now.

Working

- Since Alpha 1
  • Partial and temporary GApps implementation
  • Launchers (Pixel/Google Now)
  • Themes (include animated)
- Since Alpha 2
  • RIL
  • Audio
  • Microphone
  • WiFi
  • Bluetooth
  • Security (Pin/Password/Pattern..)
  • GPS over data
  • Google Apps (include widgets and theme )
  • HiSuite full compatibility
- Since Alpha 3
  • SD Card
  • Tethering (WIFI + BT)
  • Offline charge
  • USB Access (MTP/PTP + MIDI input)
  • OTA Updates (by the built-in CM Updater)
  • Enhanced boot time (+/- 1min)
- Since Alpha 4
  • LCD Backlight adjustments
  • Notification Led
  • Enhanced boot caching
  • USB Tethering
  • Fix sensors
  • Fix ambiant display
  • Fix Sleep Of Death (thanks to XePeleato)
  • Fix FLP (location)
  • Fix GPS
- Since Alpha 5
  • RIL Signal
  • Bluetooth (now considered as stable)
  • Camera (Both, picture only)
  • Lineage skin/rebrand

Not Working
  • Camera (video mode)
  • Native cast
  • Fingerprint
  • Fast Charge
  • NFC
  • FM Radio

Known issues:
  • GPS module(fully working, available in the next release)
  • Another (ghost) SD Card is recognized and is incompatible with CM -> just ignore it for now. This entry will disappear with the next (OTA) update.
  • RIL working irregularly on AL-10 (unconfirmed) and L-09 devices
  • Offline charge not working (fixed, available in the next release)

You prefer to wait for a fully working ROM
You can follow the porting status here : https://github.com/PaulFasola/android_device_huawei_next/projects/1

Downloads

Current release, Alpha 5
Click here
Do a full wipe before installing this update or you could try the (risky) migration tool


Previous release, Alpha 4
Click here

Archives
Click here

Source Code
https://github.com/PaulFasola/android_device_huawei_next
You'll find the kernel and the vendor repos as well (check the readme)

Donators
Many thanks to you guys ! :)

Credits
* Nexolight for the useful advises
* Meticulus for the glitchy screen issue!
* Surdu_perdu's work for some ramdisk issues!
* _Ekko (freenode) for his help on the rild issues (symbols, symbols symbols...) and rild proper init

XDA:DevDB Information
[ROM][6.0.1][UNOFFICIAL] Lineage OS 13 Port, ROM for the Huawei Mate 8

Contributors
_skypol0
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.10.x

Version Information
Status: No Longer Updated

Created 2016-12-05
Last Updated 2017-09-15
 

Attachments

Last edited:

_skypol0

Senior Member
Sep 12, 2016
93
466
0
Paris
Reserved

Changelogs

Alpha 3.1 - OTA only
  • LCD Backlight (manual update, temporary disable adaptive brightness and sensors are still off-line)
  • Leds (charge/notification etc..)
  • Drastically reduce battery consumption
  • Better boot caching for apps optimization
  • Bases for enabling the sensors soon
  • Fix in-game latency for complex animations (like 3D transitions)

Alpha 5.1 - (Full)OTA / download
Link: click here
  • Fully fix the GPS (satellites acquisition, bad wakelocks...)
  • Fix offline charge (animation) and adjust the settings for a faster charge (rapid charge still In the to-do list).
  • Have the latest LineageOS 13 core changes
 
Last edited:

UnchartedRd

Senior Member
Nov 21, 2014
63
38
0
Downloading now, I will test soon. Thanks for your work

UPDATE: I had to remove assert line in your updater-script, as my ro.build.product was Mate8 not next. After install i am currently stuck on the boot loader "Your device is booting now"

UPDATE 2: It worked!! Seemed like an issue on my end, i had to update to emui 4.1 before I was able to get the ROM to boot. Everything seems great so far. The only issue I faced was with the screen artifacting, and of course the issues you already listed. Great work :good:
 
Last edited:

Kingzak34

Elite Member
Jan 5, 2011
3,083
1,536
113
South
FREQUENTLY ASKED QUESTIONS

I come from EMUI 4.1, can I flash this ROM ?
Yes, but you will need to full wipe and follow the instructions in OP

I'm on EMUI 5.X or 4.0, can I flash this ROM ?
You should roll back to EMUI 4.1 then follow OP instructions

My phone is asking for a password on boot
The master key of the old EMUI is not known and that's why we had to wipe userdata (this remove encryption).
So, that means that your Data partition is not wiped, and you have to wipe it !
Flash the Cyanogenmod recovery (built with this ROM, located in the same folder) and do a full factory reset, this work everytime.
Once done, reboot and flash this custom TWRP that handle non-encrypted userdata. You will be able to open the SD Card, flash whatever you want and restore your backup.
NB : If you flash back the stock ROM, this last will re-encrypt /data and everything will work as always.


I've waited for 10 minutes and the Cyanogen boot animation is still here
Something is wrong and prevent CM to complete the boot sequence. This is an issue to report (see below).

This ROM does not contain GApps, what should I take ?
You can find GApps package on OpenGapps
You'll need to take for ARM64 and Android 6.0 and then choose the package you want.
Tested so far : Full, Stock, Nano


I've found an issue
First of all, thanks for helping @_skypol0 !
  • > Open a ticket here <
  • Check if there is not a similar issue before posting
  • Fill the issue (Your device infos (kernel version, last EMUI update version etc.) , What is the problem ?, how can we reproduce it ? etc. Please put as many information as possible)
  • Share a paste/haste/ghost/...bin of your logcat and dmesg


 
Last edited:

_skypol0

Senior Member
Sep 12, 2016
93
466
0
Paris
Downloading now, I will test soon. Thanks for your work

UPDATE: I had to remove assert line in your updater-script, as my ro.build.product was Mate8 not next. After install i am currently stuck on the boot loader "Your device is booting now"

UPDATE 2: It worked!! Seemed like an issue on my end, i had to update to emui 4.1 before I was able to get the ROM to boot. Everything seems great so far. The only issue I faced was with the screen artifacting, and of course the issues you already listed. Great work :good:

Oh, yeah, thanks for pointing it out ! I have built CM-13 with the 4.1's kernel and so this last can't work with lower versions ;) I edit the thread.
(for any other problem, open an issue on Github, I can miss infos here!)
 

albertwesquer

Senior Member
Jul 1, 2011
376
45
0
well i didnt know we had to have nougat in our mate 8 in order to have cm14, in that case cm13 should be ready since 6.0 have quite some time in our device! SO THERE'S HOPE!