Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,808,174 Members 36,102 Now Online
XDA Developers Android and Mobile Development Forum

[WIP][ROM][UNOFFICIAL] CyanogenMod 11

Tip us?
 
h1gh1
Old
#181  
Senior Member
Thanks Meter 175
Posts: 152
Join Date: Sep 2012
Quote:
Originally Posted by h1gh1 View Post
Probably not. Device tree was just cloned from KirmaniArslan, I did not check much, except for errors that stopped ROM from being built.
Seems that this is an intended joke - not connected to device tree. Anyway, since we have a recovery that can flash KitKat ROM, I will try to build with CM10.1 Nikhil source with SELinux enabled.
The Following 8 Users Say Thank You to h1gh1 For This Useful Post: [ Click to Expand ]
 
h1gh1
Old
#182  
Senior Member
Thanks Meter 175
Posts: 152
Join Date: Sep 2012
Quote:
Originally Posted by h1gh1 View Post
Seems that this is an intended joke - not connected to device tree. Anyway, since we have a recovery that can flash KitKat ROM, I will try to build with CM10.1 Nikhil source with SELinux enabled.
None of the kernel built with the room boots. However, CM10 kernel boots alright - and I was even able to repack it with zImage that supports SELinux, and to place missing files for CM11 to ramdisk. So, with this - even adb works, and I was able to get a logcat:

Quote:
-------- beginning of /dev/log/system

I/Vold ( 98): Vold 2.1 (the revenge) firing up

D/Vold ( 98): Volume sdcard0 state changing -1 (Initializing) -> 0 (No-Media)

--------- beginning of /dev/log/main

E/rmt_storage( 125): rmt_storage fop(1) fd(11) handle(2): bytes transferred=512

E/rmt_storage( 125): rmt_storage_send_status fop(1) fd(11) handle(2): error_code = 0

E/rmt_storage( 125): rmt_storage client thread waiting... (handle=2)

I/AudioFlinger( 105): AudioFlinger's thread 0x410ae008 ready to run

W/AudioFlinger( 105): Thread AudioOut_2 cannot connect to the power manager service

I/AudioPolicyService( 105): Loaded audio policy from LEGACY Audio Policy HAL (audio_policy)

W/GraphicBufferAllocator( 102): alloc(320, 480, 1, 00001a03, ...) failed -12 (Out of memory)

D/GraphicBufferAllocator( 102): Allocated buffers:

D/GraphicBufferAllocator( 102): 0x4006b8c0: 600.00 KiB | 320 ( 320) x 480 | 1 | 0x00001a03

D/GraphicBufferAllocator( 102): 0x400b6b00: 600.00 KiB | 320 ( 320) x 480 | 2 | 0x00000b03

D/GraphicBufferAllocator( 102): 0x40507580: 600.00 KiB | 320 ( 320) x 480 | 1 | 0x00001a03

D/GraphicBufferAllocator( 102): 0x40b88ff0: 600.00 KiB | 320 ( 320) x 480 | 1 | 0x00001a03

D/GraphicBufferAllocator( 102): 0x40d4cc10: 600.00 KiB | 320 ( 320) x 480 | 2 | 0x00000b03

D/GraphicBufferAllocator( 102): Total allocated (estimate): 3000.00 KB

E/ ( 102): GraphicBufferAlloc::createGraphicBuffer(w=320, h=480) failed (Out of memory), handle=0x0

E/BufferQueue( 102): [FramebufferSurface] dequeueBuffer: SurfaceComposer::createGraphicBuffer failed

W/Adreno200-EGLSUB( 102): <DequeueBuffer:420>: dequeue native buffer fail: Out of memory

E/BufferQueue( 102): [FramebufferSurface] dequeueBuffer: min undequeued buffer count (2) exceeded (dequeued=2 undequeudCount=1)

W/Adreno200-EGLSUB( 102): <DequeueBuffer:420>: dequeue native buffer fail: Device or resource busy

E/BufferQueue( 102): [FramebufferSurface] dequeueBuffer: min undequeued buffer count (2) exceeded (dequeued=2 undequeudCount=1)

W/Adreno200-EGLSUB( 102): <DequeueBuffer:420>: dequeue native buffer fail: Device or resource busy
Seems to me that we must update video kernel drivers...
The Following 7 Users Say Thank You to h1gh1 For This Useful Post: [ Click to Expand ]
 
h1gh1
Old
#183  
Senior Member
Thanks Meter 175
Posts: 152
Join Date: Sep 2012
Quote:
Originally Posted by h1gh1 View Post
None of the kernel built with the room boots. However, CM10 kernel boots alright - and I was even able to repack it with zImage that supports SELinux, and to place missing files for CM11 to ramdisk. So, with this - even adb works, and I was able to get a logcat:



Seems to me that we must update video kernel drivers...
Also, I found out that none of the images (boot.img) built with the rom do not boot. So, it's not the kernel's zImage - something else is the problem... KGSL needs to be updated and genlock also - but, maybe the zImage from first build will work?
The Following User Says Thank You to h1gh1 For This Useful Post: [ Click to Expand ]
 
kodirovshchik
Old
#184  
kodirovshchik's Avatar
Member
Thanks Meter 10
Posts: 55
Join Date: Aug 2013
Location: Dneprodzerzinsk
Quote:
Originally Posted by h1gh1 View Post
Seems to me that we must update video kernel drivers...
Or we just don't have free memory to allocate. Can u give me a link on git?
 
h1gh1
Old
(Last edited by h1gh1; 17th September 2014 at 01:05 PM.)
#185  
Senior Member
Thanks Meter 175
Posts: 152
Join Date: Sep 2012
Quote:
Originally Posted by kodirovshchik View Post
Or we just don't have free memory to allocate. Can u give me a link on git?
Maybe boardconfig needs to be changed - but that's the log at the beginning of boot - memory must be available... Anyway, you can boot the ROM that I posted the other day with Prometheus Kernel - that boot.img at least starts booting...
The Following User Says Thank You to h1gh1 For This Useful Post: [ Click to Expand ]
 
kodirovshchik
Old
#186  
kodirovshchik's Avatar
Member
Thanks Meter 10
Posts: 55
Join Date: Aug 2013
Location: Dneprodzerzinsk
Quote:
Originally Posted by h1gh1 View Post
Maybe boardconfig needs to be changed - but that's the log at the beginning of boot - memory must be available... Anyway, you can boot the ROM that I posted the other day with Prometheus Kernel - that boot.img at least starts booting...
I can't now. Does adb shell works?
 
h1gh1
Old
#187  
Senior Member
Thanks Meter 175
Posts: 152
Join Date: Sep 2012
Quote:
Originally Posted by kodirovshchik View Post
I can't now. Does adb shell works?
It does. I can upload a frankenbuild for you which will start to boot and adb shell in working state, adb logcat works.
 
kodirovshchik
Old
(Last edited by kodirovshchik; 17th September 2014 at 02:56 PM.)
#188  
kodirovshchik's Avatar
Member
Thanks Meter 10
Posts: 55
Join Date: Aug 2013
Location: Dneprodzerzinsk
New info from Creeplays

for cm-11-20140914-UNOFFICIAL-golfu.zip

Quote:
для фикса дисплея надо скопировать /system/lib/hw/hwcomposer.msm7x27a.so из cm10
To fix display problems you should copy /system/lib/hw/hwcomposer.msm7x27a.so from CM10.
The Following 2 Users Say Thank You to kodirovshchik For This Useful Post: [ Click to Expand ]
 
h1gh1
Old
#189  
Senior Member
Thanks Meter 175
Posts: 152
Join Date: Sep 2012
Quote:
Originally Posted by kodirovshchik View Post
New info from Creeplays

for cm-11-20140914-UNOFFICIAL-golfu.zip



To fix display problems you should copy /system/lib/hw/hwcomposer.msm7x27a.so from CM10.
Will try it tonight. Also, will try to fix whatever is causing that boot images compiled from source are not booting - hopefully something in device tree...

The Following User Says Thank You to h1gh1 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes