FORUMS

[ROM][RC1] Huawei P8 unofficial Cyanogenmod 13.0

343 posts
Thanks Meter: 753
 
By nexolight, Senior Member on 30th August 2016, 06:08 PM
Post Reply Email Thread
cm13

Target device: GRA-L09 (Huawei P8)
GRA-LU00 has been reported to work but you may mess with phone.prop and build.prop to get dualsim working.

(Video is outdated)

GIT & Bugreports
Devs or contributors go here - https://github.com/CM-Huawei-P8-Deve...ifests_gra_l09
Bugreportes go here - https://github.com/CM-Huawei-P8-Deve...gra_l09/issues
Watchers go here - https://github.com/CM-Huawei-P8-Deve.../cm-13.0-ZNH5Y

Done so far (basically everything)
  • SDCard
  • GPS
  • Camera (Use an app with the old api like footej for video recording)
  • Flashlight
  • MTP/PTP/ADB
  • Tethering (USB/WIFI/BT)
  • WiFi
  • Bluetooth
  • Audio output (Speaker, Headphones, A2DP) / Mic
  • RIL (Read the bugs before you complain about signal strenght)
  • Backlight and LEDs
  • HWC (XePeleato)
  • CPU and GPU are fine
  • Power profile (stock is somehow messed up 0o)
  • All the sensors
  • TWRP-3.0.2 Vanilla & Materialized dark (thx AD2076)
  • NFC

Bugs
  • Youtube (general?) video playback @60 fps doesn't work.
  • FM Radio (this won't get a fix soon)

Downloads (RC1)
Just to make it clear I'm not responsible for whatever damage this could possibly cause to your device. I

You must update to official android6.0 first! - For updating an already modified device to the android6.0 see:
http://forum.xda-developers.com/show...&postcount=303
I strongly recommend to use this one:
Huawei P8 Firmware (GRA-L09, Android 6.0, EMUI4.0, C432B321, Nordic European)
mega.nz mirror
Or at least any B321 release.


Here is a step by step (Installation)


Changelog - 12.05.2017
Code:
- Fix mac address change on reboot (unconfirmed)
- Fix equalizer (unconfirmed - works for me)
- Fix reported signal strength (sort of)
- Fix USB tethering
- Glove mode (unconfirmed)
- Removed emulator traces
- A little more space in the ramdisk (2 binaries less, 3 more headroom)
- Improved power consumption (36h standby for me)
- ... maybe more (A lot but not all was applied from the lineage13.0 branch from AD2076)
system.img (0043e055136131faf434d59525d114f8)boot.img (ea8c5d7dd6a58920e05ec02a187daf5d)
Changelog - 28.03.2017 (2)
Code:
- Tearing fix
system.img (b2d3b3f23154828a52624e1cae2ca7d2)
Changelog - 28.03.2017
Code:
News:
HWC Replacement with the one from XePeleato
- ^ Video recording trough *some* apps. (Confirmed with footej)
- ^ No more app crashes
- SDCard as internal storage & portable (fix)
- Automatic screen brightness (fix)

boot.img (fe9c9dbdf920dfd35eacde5a08b869b7)
 system.img (c04b4e792357291f166fed2f938009c6)

Notice:
Someone tried to install Xposed and reported it as a success. Also there shouldn't be a reason why it would not work.
Changelog - 13.02.2017
Code:
Fix - 1 out of n cases where apps would crash.
GPS
system.img (unclean build)
Changelog - 31.01.2017
Code:
-Camera (Partial - see bugs)
-Flashlight
-MTP/PTP fix - THX [email protected]
-2G/3G/LTE switch fix
-SDCard fix (not yet tested) - THX [email protected], [email protected] (See bugs)
boot.img (a7c05257971b06017cfd9e3f6d248c01)
system.img (ec5d3988fbf2939f8949db07c3dc438c)
Changelog - 28.12.2016 (2nd)
Code:
-NFC
boot.img
system.img
Changelog - 28.12.2016
Code:
-Power-off charger fix
boot.img
Changelog - 06.12.2016
Code:
-twrp screen timeout bugfix.
recovery.img
Changelog - 04.12.2016
Code:
-Accelerometer
-Compass
-Light
-Proximity
-Gyroscope
-Gravity
-Linear Acceleration
-Rotation vector
-Step counter
system.img
Changelog - 18.11.2016
Code:
-twrp3.0.2-materialised dark + debloated fstab entries
recovery.img - See #351
Changelog - 26.10.2016 - First public build.
Code:
-WiFi + Tethering
-Bluetooth + Tethering
-Audio output (Speaker, Headphones, A2DP) / Mic
-RIL (Read the bugs before you complain about signal strenght)
-Backlight and LEDs
-HWC
-Power profile (stock is somehow messed up 0o)
system.img (2783118c95defcc50d10a2aa29f8585e)(
boot.img (4620333a32807f9a203a7265e227e6fa)
recovery.img (434a3d22ce53be1ba26554b503ddfbef)
Active collaborators
Meanwhile I started a collaboration since other developers started to join:
  • nexolight (XDA; Since project start per 30.08.2016)
  • AD2076 (XDA; Joined project per 02.11.2016)

Donators:
  • Burmtim (XDA)

THX to:
  • erayrafet (XDA; Linked the 3.10.86 kernel which was crucial)
  • GodzillaMonster (XDA; It wasn't a success story but helped during some assembler/binary patching approaches)
  • BlueFlame4 (XDA; Some useful hints)
  • surdu_petru (XDA; Some help related to major functionality parts based on experience with other huawei phones)
  • PaulFasola (github; SDcard help)
  • Everyone else who tried to help in this thread.
  • Speedo.thc (XDA; Helpful exchange - H7 dev)
  • Kostyan_nsk (XDA; Helful tipps)
  • Meticulus (XDA/Github; Contribution via pull requests)
  • XePeleato (XDA/Github; Self written HWC)
-------------------
Have a nice day

XDA:DevDB Information
[ROM] Huawei P8 unofficial Cyanogenmod 13, ROM for the Huawei P8

Contributors
nexolight, nexolight, AD2076, (see thread for more)
Source Code: https://github.com/CM-Huawei-P8-Development

ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Android 6.0 Stock preinstalled.
Based On: CyanogenMod

Version Information
Status: Beta
Current Stable Version: 12.05.2017
Stable Release Date: 2017-05-12

Created 2017-04-12
Last Updated 2017-05-18
The Following 93 Users Say Thank You to nexolight For This Useful Post: [ View ] Gift nexolight Ad-Free
30th August 2016, 08:48 PM |#2  
enanotg's Avatar
Member
Thanks Meter: 6
 
More
Amazing work dude!! Nice!

Sent from my SM-N910U using Tapatalk
The Following User Says Thank You to enanotg For This Useful Post: [ View ] Gift enanotg Ad-Free
31st August 2016, 02:49 PM |#3  
lataldragon's Avatar
Senior Member
Flag Berlin
Thanks Meter: 67
 
More
Hello, I would have great interresse on a CM-Rom for the P8 and many other users also. Maybe you could upload the current state here once, so that other users could share their knowledge with
The Following User Says Thank You to lataldragon For This Useful Post: [ View ] Gift lataldragon Ad-Free
31st August 2016, 02:56 PM |#4  
Blackball's Avatar
Senior Member
Thanks Meter: 1,680
 
Donate to Me
More
Hi, nice to see another dev who try to compile cm.
Could you upload your Sources to github? It would be easier to help.
The Following 4 Users Say Thank You to Blackball For This Useful Post: [ View ] Gift Blackball Ad-Free
31st August 2016, 04:08 PM |#5  
nexolight's Avatar
OP Senior Member
Flag Olten
Thanks Meter: 753
 
Donate to Me
More
@lataldragon & blackball
Currently I'm working with my own gitlab and made some modifications to the build environment to make it compile. Changes are heavy right now (a huge mess) and I'd rather upload it later when I have a stable base.
In addition I don't feel conftable to share my device tree and modifications right now. As I said I'd like to get it to work with as less help as possible and archived something up to now; I'm not the best teamplayer and would barely accept help until I'm not completely stuck. However I will upload it so as soon as it get's past the bootlogo.

Not sure how much it will take but as I said I'm working like a full time job on it (8 1/2h per day).

The state is the same like yesterday except that I got a bith further with zygote. At the moment I'm stuck somewhere in the init process (no further errors, no kmsg). It seems that the crucial services would start up fine if I start them by hand but that should happen automatically. I'm still using most of the 5.0 ramdisk since I started with the files from the 5.0 rom and later switched to the 6.0 files. It could be the issue (working on it, was to lazy until now) but they don't look that different. I will just check all these services in the init.

That's what happens when I unmount /storage (have to correct that anyway) and then start zygote by hand:
http://pastebin.com/raw/QxbYXAjk

Edit: Ok it looks a bit better now with the 6.0 ramdisk as base
The Following 2 Users Say Thank You to nexolight For This Useful Post: [ View ] Gift nexolight Ad-Free
31st August 2016, 04:21 PM |#6  
lataldragon's Avatar
Senior Member
Flag Berlin
Thanks Meter: 67
 
More
Quote:
Originally Posted by nexolight

@lataldragon & blackball
Currently I'm working with my own gitlab and made some modifications to the build environment to make it compile. Changes are heavy right now (a huge mess) and I'd rather upload it later when I have a stable base.
In addition I don't feel conftable to share my device tree and modifications right now. As I said I'd like to get it to work with as less help as possible and archived something up to now; I'm not the best teamplayer and would barely accept help until I'm not completely stuck. However I will upload it so as soon as it get's past the bootlogo.

Not sure how much it will take but as I said I'm working like a full time job on it (8 1/2h per day).

The state is the same like yesterday except that I got a bith further with zygote. At the moment I'm stuck somewhere in the init process (no further errors, no kmsg). It seems that the crucial services would start up fine if I start them by hand but that should happen automatically. I'm still using most of the 5.0 ramdisk since I started with the files from the 5.0 rom and later switched to the 6.0 files. It could be the issue (working on it, was to lazy until now) but they don't look that different. I will just check all these services in the init.

That's what happens when I unmount /storage (have to correct that anyway) and then start zygote by hand:
http://pastebin.com/raw/QxbYXAjk

Thanks
31st August 2016, 05:12 PM |#7  
Blackball's Avatar
Senior Member
Thanks Meter: 1,680
 
Donate to Me
More
No problem
31st August 2016, 09:59 PM |#8  
Senior Member
London
Thanks Meter: 42
 
More
Hope you will meke it. Stock ROM is so heavy if you use lot of apps. I cross fingers for you.
31st August 2016, 11:14 PM |#9  
flamelab's Avatar
Senior Member
Thanks Meter: 36
 
More
You can collaborate with this other XDA member who tries (tried?) to make a CM port, to avoid duplicate work, if any.
1st September 2016, 09:17 AM |#10  
Senior Member
Flag Roma
Thanks Meter: 289
 
Donate to Me
More
Quote:
Originally Posted by flamelab

You can collaborate with this other XDA member who tries (tried?) to make a CM port, to avoid duplicate work, if any.

fisher6 is actually working on AOSP port but they can share some solutions for sure (RIL, camera fix, kernel? and more). @nexolight please have a look at the kernel sources linked in the above thread
The Following User Says Thank You to AD2076 For This Useful Post: [ View ] Gift AD2076 Ad-Free
1st September 2016, 11:01 AM |#11  
nexolight's Avatar
OP Senior Member
Flag Olten
Thanks Meter: 753
 
Donate to Me
More
@AD2076
I did and it wasn't that helpful. At the end I patched the official kernel for my purposes. The kernel isn't a problem anymore.
@flamelab
It will be a duplicate of work which isn't that bad at all. I wouldn't learn it otherwise and 2nd I may find a better solution which I wouldn't find if I take the work from other people. At the very end we can just take the better one. For me this is primary a learning project. Altough I'm almost forced to do it since my old phone is almost dead.
@dariusz666
yep 2.8GB at least- CM is around 1GB. However the main reason I started porting CM to this was the AGB from Huawei.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes