FORUMS
Remove All Ads from XDA

CyanogenMod DEV ONLY thread

8,385 posts
Thanks Meter: 57,348
 
By codeworkx, Senior Recognized Developer on 20th January 2015, 04:53 PM
Post Reply Email Thread
This is a DEV ONLY thread.
We'll not answer silly questions!



DEVELOPMENT CHAT:
#honor6-dev @ freenode irc

HOW TO BUILD?
1. Prepare your build environment and get the CM11 sources. Read the official CM wiki if you don't know how.
2. Add our local manifest
https://raw.githubusercontent.com/ho...l_manifest.xml (goes to .repo/local_manifests/local_manifest.xml)
3. repo sync -j10
4. Run following commands to start building:
Code:
. build/envsetup.sh
lunch cm_h60_l02-eng
brunch cm_h60_l02-eng
Currenlty supported: cm_h60_l01-eng, cm_h60_l02-eng, cm_h60_l03-eng, cm_h60_l04-eng, cm_h60_l11-eng, cm_h60_l12-eng, cm_h60_l21-eng
The Following 50 Users Say Thank You to codeworkx For This Useful Post: [ View ]
 
 
20th January 2015, 09:18 PM |#2  
Recognized Developer
Flag Greece
Thanks Meter: 502
 
Donate to Me
More
Code:
/boot        /dev/block/mmcblk0p13
/cache       /dev/block/mmcblk0p38
/system      /dev/block/mmcblk0p37
/data        /dev/block/mmcblk0p39
/recovery    /dev/block/mmcblk0p14
/sdcard      ???????
The Following 3 Users Say Thank You to root-expert For This Useful Post: [ View ]
25th January 2015, 02:15 PM |#3  
codeworkx's Avatar
OP Senior Recognized Developer
Flag Bad Neustadt
Thanks Meter: 57,348
 
Donate to Me
More
WIN!
Fixed the inline kernel building.
CM now builds the modem driver and straight after it, the kernel.
The Following 33 Users Say Thank You to codeworkx For This Useful Post: [ View ]
25th January 2015, 07:49 PM |#4  
Member
Thanks Meter: 17
 
More
Just wanted to say thank you!!!!
26th January 2015, 09:33 AM |#5  
Tup3x's Avatar
Member
Thanks Meter: 19
 
More
Quote:
Originally Posted by codeworkx

WIN!
Fixed the inline kernel building.
CM now builds the modem driver and straight after it, the kernel.

Looking forward to seeing your progress!
28th January 2015, 01:55 PM |#6  
Steve Giordano's Avatar
Senior Member
Flag Palermo
Thanks Meter: 99
 
More
Hi @codeworkx , I have compiled cm11 with you source, but when flash the package with CWM i have error :
This package is for device h60_l04,h60-l04; this device is hw60. Error (Status 7)
The Following User Says Thank You to Steve Giordano For This Useful Post: [ View ] Gift Steve Giordano Ad-Free
28th January 2015, 02:21 PM |#7  
codeworkx's Avatar
OP Senior Recognized Developer
Flag Bad Neustadt
Thanks Meter: 57,348
 
Donate to Me
More
Then the cwm you're using is faulty. Use the recovery.img from your cm build.

Btw. your build will not boot into gui. It's totally useless unless you're a really good developer.

Sent from my Nexus 5 using XDA Free mobile app
The Following 9 Users Say Thank You to codeworkx For This Useful Post: [ View ]
29th January 2015, 08:29 PM |#8  
codeworkx's Avatar
OP Senior Recognized Developer
Flag Bad Neustadt
Thanks Meter: 57,348
 
Donate to Me
More
Pretty big problems with buffer allocation for EGL.

GraphicsBufferAllocator (libui.so) tells Gralloc (gralloc.hi3630.so) to allocate some buffers of a platform specific type.
Gralloc tells ION (libion.so) to do so. ION tells kernel. Simple, in theory.

CMs libui doesn't have the required stuff for our platform and using libui.so from huawei results in nothing.

This will be a very hard game.
The Following 14 Users Say Thank You to codeworkx For This Useful Post: [ View ]
30th January 2015, 01:30 AM |#9  
Member
Thanks Meter: 37
 
More
For the ascend p1 development @Loller79 worked on a gralloc fix, last year. I hope It could be useful..

I mailed honor support to ask their developers' help. My request was redirected to their team..
The Following 4 Users Say Thank You to aaaa00 For This Useful Post: [ View ] Gift aaaa00 Ad-Free
30th January 2015, 06:27 AM |#10  
codeworkx's Avatar
OP Senior Recognized Developer
Flag Bad Neustadt
Thanks Meter: 57,348
 
Donate to Me
More
I think they're passing some custom usage flags to gralloc we don't know yet. I'll try to build gralloc from sources and use it on stock rom to get that stuff logged.

Sent from my Nexus 5 using XDA Free mobile app
The Following 12 Users Say Thank You to codeworkx For This Useful Post: [ View ]
31st January 2015, 03:18 PM |#11  
codeworkx's Avatar
OP Senior Recognized Developer
Flag Bad Neustadt
Thanks Meter: 57,348
 
Donate to Me
More
Graphics stack up and running!
The Following 31 Users Say Thank You to codeworkx For This Useful Post: [ View ]
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