Help with CM10.2 Development

flashallthetime

Senior Member
Dec 28, 2012
499
235
ADB says HWComposer is missing but hwcomposer.tegra is in lib/hw.
Also nvcpl...txt is missing. Nvcpl is in my product_packages list. The .apk is there but no driver.txt

The audioerrors are in my New Build fixed.
So there are 299 errors left ;) :)

Nvcpl driver text is also missing in all my Roms, so you can pretty much cross that off the to do list, only 298 errors to go:D. If it was easy to build from scratch, everyone would do it, just keep going at it and in time you'll have it conquered
:thumbup::thumbup::)
You're doing an amazing job
Sent on my Moto X
 

tpaine

Senior Member
Aug 18, 2012
525
130
Nvcpl driver text is also missing in all my Roms, so you can pretty much cross that off the to do list, only 298 errors to go:D. If it was easy to build from scratch, everyone would do it...
You're doing an amazing job

Thanks for all your work.

(tpaine steps back, cheering on the project from the sidelines)
 

Bender007

Member
Oct 2, 2013
24
17
Thanks.
Now i know that nvcpl.txt is missing in nearly every Android Rom. Not only for a2109.
Egl is still a Problem.
But at the moment i'm trying to include SELinux.
That is the first error that comes up on boot.
 

doomboss

Senior Member
Jan 17, 2013
252
47
Thanks.
Now i know that nvcpl.txt is missing in nearly every Android Rom. Not only for a2109.
Egl is still a Problem.
But at the moment i'm trying to include SELinux.
That is the first error that comes up on boot.

Isn't SELinux for Android 4.4??? Oh well i actually don't know :p

I compared the egl folder on your build with superhansi's, and there are some files missing. Anyway, im not being so helpful right now......

By the way, how did you check the logcat with blackscreen??
 

Bender007

Member
Oct 2, 2013
24
17
Plug your device to your PC and then you can run "adb logcat" in terminal on your PC.
Reboot your device and then you can see the logcat-output in your terminal (hope you know what i mean, my english is not very good).



Btw.: At the moment i think there are 2 big mistakes in my rom :

- PR_SET_NO_NEW_PRIVS failed - (a SELinux command for a 3.5 Kernel, but i can't find 3.5 android-kernelsources)

- could not load library "libnvos.so" needed by "libEGL_tegra.so" - (libnvos.so is in my proprietary-blobs.txt and also in the vendor/nvidia/proprietary folder. So what?)

- could not load library "libsensors.base.so" needed by "sensors.kai.so" - (a new error that i see the first time now after i fixed a missing lightsensor file, i think i can handle that)


There are a lot more errors and warnings, but i think they are not necessary for now. Correct me or give me some hints. I'm thankfull for ever comment.

Here is my logcat-bootlog:

I/DEBUG ( 106):
I/DEBUG ( 106): memory map around fault addr deadbaad:
I/DEBUG ( 106): bec80000-beca1000 rw- [stack]
I/DEBUG ( 106): (no map for address)
I/DEBUG ( 106): ffff0000-ffff1000 r-x [vectors]
I/ServiceManager( 101): service 'sensorservice' died
I/ServiceManager( 101): service 'power' died
I/ServiceManager( 101): service 'batteryinfo' died
I/ServiceManager( 101): service 'usagestats' died
I/ServiceManager( 101): service 'appops' died
I/ServiceManager( 101): service 'display' died
I/ServiceManager( 101): service 'telephony.registry' died
I/ServiceManager( 101): service 'scheduling_policy' died
E/installd( 112): eof
E/installd( 112): failed to read size
I/installd( 112): closing connection
D/AndroidRuntime( 1714):
D/AndroidRuntime( 1714): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 1714): CheckJNI is ON
D/dalvikvm( 1714): Trying to load lib libjavacore.so 0x0
D/dalvikvm( 1714): Added shared lib libjavacore.so 0x0
D/dalvikvm( 1714): Trying to load lib libnativehelper.so 0x0
D/dalvikvm( 1714): Added shared lib libnativehelper.so 0x0
W/dalvikvm( 1714): PR_SET_NO_NEW_PRIVS failed. Is your kernel compiled correctly?: Invalid argument
I/SamplingProfilerIntegration( 1714): Profiling disabled.
I/Zygote ( 1714): Preloading classes...
D/dalvikvm( 1714): Note: class Landroid/app/ActivityManagerNative; has 164 unimplemented (abstract) methods
D/TextLayoutCache( 1714): Using debug level = 0 - Debug Enabled = 0
I/dalvikvm( 1714): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
D/MtpDeviceJNI( 1714): register_android_mtp_MtpDevice
I/dalvikvm( 1714): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
I/dalvikvm( 1714): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
I/dalvikvm( 1714): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
I/dalvikvm( 1714): threadid=1: recursive native library load attempt (/system/lib/libwebcore.so)
D/dalvikvm( 1714): No JNI_OnLoad found in /system/lib/libchromium_net.so 0x0, skipping init
I/System ( 1714): Loaded time zone names for "" in 52ms (48ms in ICU)
I/System ( 1714): Loaded time zone names for "en_US" in 42ms (37ms in ICU)
I/Zygote ( 1714): ...preloaded 2879 classes in 1057ms.
I/Zygote ( 1714): Preload resources disabled, skipped.
I/dalvikvm( 1714): System server process 1718 has been created
I/Zygote ( 1714): Accepting command socket connections
I/sysproc ( 1718): Entered system_init()
I/sysproc ( 1718): ServiceManager: 0x416bc7e8
D/SensorService( 1718): nuSensorService starting...
E/HAL ( 1718): load: module=/system/lib/hw/sensors.kai.so
E/HAL ( 1718): dlopen failed: could not load library "libsensors.base.so" needed by "sensors.kai.so"; caused by library "libsensors.base.so" not found
E/SensorService( 1718): couldn't load sensors module (Invalid argument)
I/sysproc ( 1718): System server: starting Android runtime.
I/sysproc ( 1718): System server: starting Android services.
I/sysproc ( 1718): System server: entering thread pool.
I/installd( 112): new connection
E/Kai PowerHAL( 1718): Error opening /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load: No such file or directory
I/SystemServer( 1718): Entered the Android system server!
I/SystemServer( 1718): Enabled StrictMode logging for UI Looper
I/SystemServer( 1718): Waiting for installd to be ready.
I/Installer( 1718): connecting...
I/SystemServer( 1718): Power Manager
E/Kai PowerHAL( 1718): Error opening /sys/devices/system/cpu/cpufreq/interactive/input_boost: No such file or directory
I/SystemServer( 1718): Activity Manager
I/SystemServer( 1718): Enabled StrictMode logging for WM Looper
I/ActivityManager( 1718): Memory class: 64
W/UsageStats( 1718): Usage stats version changed; dropping
I/AppOps ( 1718): No existing app ops /data/system/appops.xml; starting empty
I/ActivityManager( 1718): Enabled StrictMode logging for AThread's Looper
I/ServiceManager( 1718): Waiting for service SurfaceFlinger...
I/SystemServer( 1718): Display Manager
I/SystemServer( 1718): Telephony Registry
I/SystemServer( 1718): Scheduling Policy
I/ServiceManager( 1718): Waiting for service SurfaceFlinger...
I/ServiceManager( 1718): Waiting for service SurfaceFlinger...
I/SurfaceFlinger( 1738): SurfaceFlinger is starting
I/SurfaceFlinger( 1738): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
E/libEGL ( 1738): load_driver(/system/lib/egl/libEGL_tegra.so): dlopen failed: could not load library "libnvos.so" needed by "libEGL_tegra.so"; caused by library "libnvos.so" not found
E/libEGL ( 1738): eglGetDisplay:199 error 300c (EGL_BAD_PARAMETER)
E/libEGL ( 1738): eglInitialize:215 error 3008 (EGL_BAD_DISPLAY)
I/gralloc ( 1738): using (fd=14)
I/gralloc ( 1738): id = tegra_fb
I/gralloc ( 1738): xres = 1280 px
I/gralloc ( 1738): yres = 800 px
I/gralloc ( 1738): xres_virtual = 1280 px
I/gralloc ( 1738): yres_virtual = 1600 px
I/gralloc ( 1738): bpp = 32
I/gralloc ( 1738): r = 0:8
I/gralloc ( 1738): g = 8:8
I/gralloc ( 1738): b = 16:8
I/gralloc ( 1738): width = 203 mm (160.157639 dpi)
I/gralloc ( 1738): height = 127 mm (160.000000 dpi)
I/gralloc ( 1738): refresh rate = 56.11 Hz
E/SurfaceFlinger( 1738): hwcomposer module not found
W/SurfaceFlinger( 1738): getting VSYNC period from fb HAL: 17821500
E/libEGL ( 1738): validate_display:257 error 3008 (EGL_BAD_DISPLAY)
F/libc ( 1738): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 1739 (SurfaceFlinger)
I/DEBUG ( 106): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 106): Build fingerprint: 'Ideatab/cm_kai/kai:4.3.1/JLS36I/37dee2aa7e:eng/test-keys'
I/DEBUG ( 106): Revision: '0'
I/DEBUG ( 106): pid: 1738, tid: 1739, name: SurfaceFlinger >>> /system/bin/surfaceflinger <<<
I/DEBUG ( 106): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
I/DEBUG ( 106): r0 00000027 r1 00000001 r2 00000008 r3 deadbaad
I/DEBUG ( 106): r4 00000000 r5 40612c6c r6 41b31f78 r7 40612cec
I/DEBUG ( 106): r8 00000000 r9 00003038 sl 00003038 fp 00003147
I/DEBUG ( 106): ip 40612cec sp 40612c68 lr 4021a8df pc 40217e44 cpsr 600f0030
I/DEBUG ( 106): d0 5f44414250534944 d1 0000000000000003
I/DEBUG ( 106): d2 6f726620646f6972 d3 4c4148206266206d
I/DEBUG ( 106): d4 3fe0000000008e5d d5 3fdffffffffee346
I/DEBUG ( 106): d6 0000000100000000 d7 4320285b33333333
I/DEBUG ( 106): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 106): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 106): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 106): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 106): d16 404c0e5600000000 d17 0000000000000003
I/DEBUG ( 106): d18 4170fef3c0333ca0 d19 0000000000000000
I/DEBUG ( 106): d20 401671de66666666 d21 404c0e5600000000
I/DEBUG ( 106): d22 0000000000000000 d23 0000000000000000
I/DEBUG ( 106): d24 0000000000000000 d25 0000000000000000
I/DEBUG ( 106): d26 404c0e5600000000 d27 0000000000000000
I/DEBUG ( 106): d28 0000000000000000 d29 0000000000000000
I/DEBUG ( 106): d30 0000000000000000 d31 4000000000000000
I/DEBUG ( 106): scr 20000010
I/DEBUG ( 106):
I/DEBUG ( 106): backtrace:
I/DEBUG ( 106): #00 pc 0001ee44 /system/lib/libc.so
I/DEBUG ( 106): #01 pc 0001c654 /system/lib/libc.so (abort+4)
I/DEBUG ( 106): #02 pc 00000911 /system/lib/libstdc++.so (operator new(unsigned int)+8)
I/DEBUG ( 106): #03 pc 00022963 /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::selectConfigForAttribute(void*, int const*, int, int, void**)+38)
I/DEBUG ( 106): #04 pc 0002754d /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::selectEGLConfig(void*, int)+148)
I/DEBUG ( 106): #05 pc 000276b3 /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::readyToRun()+106)
I/DEBUG ( 106): #06 pc 00011a9b /system/lib/libutils.so (android::Thread::_threadLoop(void*)+74)
I/DEBUG ( 106): #07 pc 0001161d /system/lib/libutils.so
I/DEBUG ( 106): #08 pc 0000cb60 /system/lib/libc.so (__thread_entry+72)
I/DEBUG ( 106): #09 pc 0000ccdc /system/lib/libc.so (pthread_create+208)
I/DEBUG ( 106):
I/DEBUG ( 106): stack:
I/DEBUG ( 106): 40612c28 00000050
I/DEBUG ( 106): 40612c2c 00000000
I/DEBUG ( 106): 40612c30 0000005b
I/DEBUG ( 106): 40612c34 00000aa0
I/DEBUG ( 106): 40612c38 41b31f68 [heap]
I/DEBUG ( 106): 40612c3c 402097a7 /system/lib/libc.so (dlmalloc+4278)
I/DEBUG ( 106): 40612c40 40241264 /system/lib/libc.so
I/DEBUG ( 106): 40612c44 402411c4 /system/lib/libc.so
I/DEBUG ( 106): 40612c48 00000000
I/DEBUG ( 106): 40612c4c 4021a8df /system/lib/libc.so (_fwalk+34)
I/DEBUG ( 106): 40612c50 40219b89 /system/lib/libc.so (_cleanup)
I/DEBUG ( 106): 40612c54 40612c6c
I/DEBUG ( 106): 40612c58 41b31f78 [heap]
I/DEBUG ( 106): 40612c5c 40612cec
I/DEBUG ( 106): 40612c60 df0027ad
I/DEBUG ( 106): 40612c64 00000000
I/DEBUG ( 106): #00 40612c68 00000000
I/DEBUG ( 106): 40612c6c fffffbdf
I/DEBUG ( 106): 40612c70 00000000
I/DEBUG ( 106): 40612c74 41b31f78 [heap]
I/DEBUG ( 106): 40612c78 40612cec
I/DEBUG ( 106): 40612c7c 00000000
I/DEBUG ( 106): 40612c80 00003038
I/DEBUG ( 106): 40612c84 40612cfc
I/DEBUG ( 106): 40612c88 00000000
I/DEBUG ( 106): 40612c8c 40215658 /system/lib/libc.so (__pthread_clone)
I/DEBUG ( 106): #01 40612c90 00000000
I/DEBUG ( 106): 40612c94 4006f915 /system/lib/libstdc++.so (operator new(unsigned int)+12)
I/DEBUG ( 106): #02 40612c98 00000000
I/DEBUG ( 106): 40612c9c 401e5967 /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::selectConfigForAttribute(void*, int const*, int, int, void**)+42)
I/DEBUG ( 106):
I/DEBUG ( 106): memory near r5:
I/DEBUG ( 106): 40612c4c 4021a8df 40219b89 40612c6c 41b31f78
I/DEBUG ( 106): 40612c5c 40612cec df0027ad 00000000 00000000
I/DEBUG ( 106): 40612c6c fffffbdf 00000000 41b31f78 40612cec
I/DEBUG ( 106): 40612c7c 00000000 00003038 40612cfc 00000000
I/DEBUG ( 106): 40612c8c 40215658 00000000 4006f915 00000000
I/DEBUG ( 106): 40612c9c 401e5967 00000001 40612cd0 40612cfc
I/DEBUG ( 106): 40612cac ffffffff 00000000 4016fc65 40612cfc
I/DEBUG ( 106): 40612cbc 40612cfc 00000000 00003038 40612cec
I/DEBUG ( 106): 40612ccc 00000002 00003024 00003142 00003147
I/DEBUG ( 106): 40612cdc 401ea551 40612cec 00000000 41b31a00
I/DEBUG ( 106): 40612cec 402097a7 5fbcf768 40612cfc 00003022
I/DEBUG ( 106): 40612cfc 401f5580 41b31f78 00000007 00000000
I/DEBUG ( 106): 40612d0c 00000008 401f5e28 41b30478 401efed4
I/DEBUG ( 106): 40612d1c 40612d60 41b31a00 4016e5c5 40612e00
I/DEBUG ( 106): 40612d2c be9aaa74 41b317b8 401ea6b7 40612d58
I/DEBUG ( 106): 40612d3c 40153fd7 40244310 4016e431 00000000
I/DEBUG ( 106):
I/DEBUG ( 106): memory near r6:
I/DEBUG ( 106): 41b31f58 00003038 00003038 00000038 0000005a
I/DEBUG ( 106): 41b31f68 00000001 00000040 00000000 00000000
I/DEBUG ( 106): 41b31f78 00003022 00000008 00003023 00000008
I/DEBUG ( 106): 41b31f88 00003024 00000008 00003033 00000004
I/DEBUG ( 106): 41b31f98 00003142 00000001 00003147 00000001
I/DEBUG ( 106): 41b31fa8 00003038 00003038 00000000 00000000
I/DEBUG ( 106): 41b31fb8 00000000 00000a49 00000000 00000000
I/DEBUG ( 106): 41b31fc8 00000000 00000000 00000000 00000000
I/DEBUG ( 106): 41b31fd8 00000000 00000028 00000000 00000000
I/DEBUG ( 106): 41b31fe8 00000000 00000000 00000000 00000000
I/DEBUG ( 106): 41b31ff8 00000000 00000000 00000000 00000000
I/DEBUG ( 106): 41b32008 00000000 00000000 00000000 00000000
I/DEBUG ( 106): 41b32018 00000000 00000000 00000000 00000000
I/DEBUG ( 106): 41b32028 00000000 00000000 00000000 00000000
I/DEBUG ( 106): 41b32038 00000000 00000000 00000000 00000000
I/DEBUG ( 106): 41b32048 00000000 00000000 00000000 00000000
I/DEBUG ( 106):
I/DEBUG ( 106): memory near r7:
I/DEBUG ( 106): 40612ccc 00000002 00003024 00003142 00003147
I/DEBUG ( 106): 40612cdc 401ea551 40612cec 00000000 41b31a00
I/DEBUG ( 106): 40612cec 402097a7 5fbcf768 40612cfc 00003022
I/DEBUG ( 106): 40612cfc 401f5580 41b31f78 00000007 00000000
I/DEBUG ( 106): 40612d0c 00000008 401f5e28 41b30478 401efed4
I/DEBUG ( 106): 40612d1c 40612d60 41b31a00 4016e5c5 40612e00
I/DEBUG ( 106): 40612d2c be9aaa74 41b317b8 401ea6b7 40612d58
I/DEBUG ( 106): 40612d3c 40153fd7 40244310 4016e431 00000000
I/DEBUG ( 106): 40612d4c 41b304b4 401593f3 00080001 40154121
I/DEBUG ( 106): 40612d5c 00080001 41b30478 00080001 00000000
I/DEBUG ( 106): 40612d6c 00000000 4015c0bc 41b3048c 00000001
I/DEBUG ( 106): 40612d7c 00000001 0000000a 41b3048c 40612da8
I/DEBUG ( 106): 40612d8c 401f5e28 401f5e28 4016e5c5 40612e00
I/DEBUG ( 106): 40612d9c be9aaa74 41b317b8 4016ea9d 41b3048c
I/DEBUG ( 106): 40612dac 40209b9b 41b3048c 41b316b8 41b317a0
I/DEBUG ( 106): 40612dbc 41b317a0 fffffff8 4016ea51 41b3048c
I/DEBUG ( 106):
I/DEBUG ( 106): memory near r9:
I/DEBUG ( 106): 00003018 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 00003028 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 00003038 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 00003048 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 00003058 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 00003068 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 00003078 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 00003088 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 00003098 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 000030a8 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 000030b8 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 000030c8 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 000030d8 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 000030e8 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 000030f8 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 00003108 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106):
I/DEBUG ( 106): memory near sl:
I/DEBUG ( 106): 00003018 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 00003028 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 00003038 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 00003048 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 00003058 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 00003068 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 00003078 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 00003088 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 00003098 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 000030a8 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 000030b8 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 000030c8 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 000030d8 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 000030e8 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 000030f8 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 00003108 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106):
I/DEBUG ( 106): memory near fp:
I/DEBUG ( 106): 00003124 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 00003134 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 00003144 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 00003154 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 00003164 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 00003174 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 00003184 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 00003194 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 000031a4 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 000031b4 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 000031c4 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 000031d4 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 000031e4 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 000031f4 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 00003204 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106): 00003214 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 106):
I/DEBUG ( 106): memory near ip:
I/DEBUG ( 106): 40612ccc 00000002 00003024 00003142 00003147
I/DEBUG ( 106): 40612cdc 401ea551 40612cec 00000000 41b31a00
I/DEBUG ( 106): 40612cec 402097a7 5fbcf768 40612cfc 00003022
I/DEBUG ( 106): 40612cfc 401f5580 41b31f78 00000007 00000000
I/DEBUG ( 106): 40612d0c 00000008 401f5e28 41b30478 401efed4
I/DEBUG ( 106): 40612d1c 40612d60 41b31a00 4016e5c5 40612e00
I/DEBUG ( 106): 40612d2c be9aaa74 41b317b8 401ea6b7 40612d58
I/DEBUG ( 106): 40612d3c 40153fd7 40244310 4016e431 00000000
I/DEBUG ( 106): 40612d4c 41b304b4 401593f3 00080001 40154121
I/DEBUG ( 106): 40612d5c 00080001 41b30478 00080001 00000000
I/DEBUG ( 106): 40612d6c 00000000 4015c0bc 41b3048c 00000001
I/DEBUG ( 106): 40612d7c 00000001 0000000a 41b3048c 40612da8
I/DEBUG ( 106): 40612d8c 401f5e28 401f5e28 4016e5c5 40612e00
I/DEBUG ( 106): 40612d9c be9aaa74 41b317b8 4016ea9d 41b3048c
I/DEBUG ( 106): 40612dac 40209b9b 41b3048c 41b316b8 41b317a0
I/DEBUG ( 106): 40612dbc 41b317a0 fffffff8 4016ea51 41b3048c
I/DEBUG ( 106):
I/DEBUG ( 106): memory near sp:
I/DEBUG ( 106): 40612c48 00000000 4021a8df 40219b89 40612c6c
I/DEBUG ( 106): 40612c58 41b31f78 40612cec df0027ad 00000000
I/DEBUG ( 106): 40612c68 00000000 fffffbdf 00000000 41b31f78
I/DEBUG ( 106): 40612c78 40612cec 00000000 00003038 40612cfc
I/DEBUG ( 106): 40612c88 00000000 40215658 00000000 4006f915
I/DEBUG ( 106): 40612c98 00000000 401e5967 00000001 40612cd0
I/DEBUG ( 106): 40612ca8 40612cfc ffffffff 00000000 4016fc65
I/DEBUG ( 106): 40612cb8 40612cfc 40612cfc 00000000 00003038
I/DEBUG ( 106): 40612cc8 40612cec 00000002 00003024 00003142
I/DEBUG ( 106): 40612cd8 00003147 401ea551 40612cec 00000000
I/DEBUG ( 106): 40612ce8 41b31a00 402097a7 5fbcf768 40612cfc
I/DEBUG ( 106): 40612cf8 00003022 401f5580 41b31f78 00000007
I/DEBUG ( 106): 40612d08 00000000 00000008 401f5e28 41b30478
I/DEBUG ( 106): 40612d18 401efed4 40612d60 41b31a00 4016e5c5
I/DEBUG ( 106): 40612d28 40612e00 be9aaa74 41b317b8 401ea6b7
I/DEBUG ( 106): 40612d38 40612d58 40153fd7 40244310 4016e431
I/DEBUG ( 106):
I/DEBUG ( 106): code around pc:
I/DEBUG ( 106): 40217e24 461ce00b 2b006823 e026d1fb b12468e4
I/DEBUG ( 106): 40217e34 21014a18 6011447a 4b1247a0 24002027
I/DEBUG ( 106): 40217e44 f7fc7018 2106ea36 ec8cf7fd 5180f04f
I/DEBUG ( 106): 40217e54 91042006 460aa902 94039402 e838f7fd
I/DEBUG ( 106): 40217e64 46224629 f7fd2002 f7fce844 2106ea22
I/DEBUG ( 106): 40217e74 ec78f7fd f7fb2001 6960eece d1dc2800
I/DEBUG ( 106): 40217e84 bf00e7d4 deadbaad 000291d0 ffffff9c
I/DEBUG ( 106): 40217e94 0002c580 0002c564 2400b510 4669b088
I/DEBUG ( 106): 40217ea4 9002aa04 94014620 94039400 ef86f7fc
I/DEBUG ( 106): 40217eb4 db0642a0 b1139b07 1c419806 98069106
I/DEBUG ( 106): 40217ec4 4620e000 bd10b008 4b1eb40e b5f0491e
I/DEBUG ( 106): 40217ed4 447bb082 585eaf00 021cf107 4b04f852
I/DEBUG ( 106): 40217ee4 68352101 f852607d 31015b04 d1fa2d00
I/DEBUG ( 106): 40217ef4 320e008a 0507f022 0220f107 0d05ebad
I/DEBUG ( 106): 40217f04 4669603a 0224f107 9400466d 4c04f852
I/DEBUG ( 106): 40217f14 f8453204 2c004f04 f8dfd1f8 f853c030
I/DEBUG ( 106):
I/DEBUG ( 106): code around lr:
I/DEBUG ( 106): 4021a8bc 4a0e4b0d 41f0e92d 447b4680 589c2600
I/DEBUG ( 106): 4021a8cc 686768a5 f9b5e007 2b00300c 4628dd02
I/DEBUG ( 106): 4021a8dc 430647c0 3f013554 6824d5f5 d1ef2c00
I/DEBUG ( 106): 4021a8ec e8bd4630 bf0081f0 0002670e ffffffc4
I/DEBUG ( 106): 4021a8fc 43f0e92d f502fb01 4b16461e 4916460f
I/DEBUG ( 106): 4021a90c 447bb087 46149001 aa012001 92039502
I/DEBUG ( 106): 4021a91c 90049505 681a585b b1124698 f0094630
I/DEBUG ( 106): 4021a92c 4630fd20 f7ffa903 4681fe9c 0000f8d8
I/DEBUG ( 106): 4021a93c 4630b110 fd22f009 0f00f1b9 9c05d005
I/DEBUG ( 106): 4021a94c 1b284639 eaaaf017 46204604 e8bdb007
I/DEBUG ( 106): 4021a95c bf0083f0 000266c6 ffffff60 46036842
I/DEBUG ( 106): 4021a96c 29001e51 da016041 bb98f000 f8126802
I/DEBUG ( 106): 4021a97c 601a0b01 00004770 4a104b0f 4604b570
I/DEBUG ( 106): 4021a98c 589b447b 461e6819 f009b109 6860fcea
I/DEBUG ( 106): 4021a99c 2d001e45 da046065 f0004620 4605fb7f
I/DEBUG ( 106): 4021a9ac 6822e003 5b01f812 68336022 4620b113
I/DEBUG ( 106):
I/DEBUG ( 106): memory map around fault addr deadbaad:
I/DEBUG ( 106): be98a000-be9ab000 rw- [stack]
I/DEBUG ( 106): (no map for address)
I/DEBUG ( 106): ffff0000-ffff1000 r-x [vectors]
 

Bender007

Member
Oct 2, 2013
24
17
Yeah, that is fixed... :cool:
E/HAL ( 1718): load: module=/system/lib/hw/sensors.kai.so
E/HAL ( 1718): dlopen failed: could not load library "libsensors.base.so" needed by "sensors.kai.so"; caused by library "libsensors.base.so" not found


...but now ;):D


E/HAL ( 485): load: module=/system/lib/hw/sensors.kai.so
E/HAL ( 485): dlopen failed: could not load library "libsensors.lis3dh.so" needed by "sensors.kai.so"; caused by library "libsensors.lis3dh.so" not found
E/SensorService( 485): couldn't load sensors module (Invalid argument)

So it is still a lot of work to do :p
 

doomboss

Senior Member
Jan 17, 2013
252
47
Plug your device to your PC and then you can run "adb logcat" in terminal on your PC.
Reboot your device and then you can see the logcat-output in your terminal (hope you know what i mean, my english is not very good).



Btw.: At the moment i think there are 2 big mistakes in my rom :

- PR_SET_NO_NEW_PRIVS failed - (a SELinux command for a 3.5 Kernel, but i can't find 3.5 android-kernelsources)

- could not load library "libnvos.so" needed by "libEGL_tegra.so" - (libnvos.so is in my proprietary-blobs.txt and also in the vendor/nvidia/proprietary folder. So what?)

- could not load library "libsensors.base.so" needed by "sensors.kai.so" - (a new error that i see the first time now after i fixed a missing lightsensor file, i think i can handle that)


There are a lot more errors and warnings, but i think they are not necessary for now. Correct me or give me some hints. I'm thankfull for ever comment.

Here is my logcat-bootlog:

Hmmmm, Do you know if the compiler use all those lib files (or files with .so at the end) load from the vendor folder or from the device folder??? im still confused by where the compiler load all the required files from..... :p
 

Bender007

Member
Oct 2, 2013
24
17
All the libs and so files loaded from vendor folder. you must run "extract-files.sh" from device folder to copy all necessary propirietary files to vendor folder and then start compiling.
when the build is done you see it in logcat if everything is ok. if not (like the libsensors files) you must edit your "propieritary-files.txt" and "setup-makefiles.sh" files in device folder and start the hole thing again, and again, and again...

For now i think it will be a neverending story :)

Another build is ready. I will try it now and we will see what next is missed.
 
Last edited:

doomboss

Senior Member
Jan 17, 2013
252
47
Im getting these error while building the ROM:
{
File "/home/bio/CM10.1/build/tools/releasetools/common.py", line 227, in LoadRecoveryFSTab
raise ValueError("malformed recovery.fstab line: \"%s\"" % (line,))
ValueError: malformed recovery.fstab line: "/boot mtd boot"
make: *** [/home/bio/CM10.1/out/target/product/A2109A/cm_A2109A-ota-9bdcee725f.zip] Error 1
}

@O@ What is this error about??????
 

doomboss

Senior Member
Jan 17, 2013
252
47
All the libs and so files loaded from vendor folder. you must run "extract-files.sh" from device folder to copy all necessary propirietary files to vendor folder and then start compiling.
when the build is done you see it in logcat if everything is ok. if not (like the libsensors files) you must edit your "propieritary-files.txt" and "setup-makefiles.sh" files in device folder and start the hole thing again, and again, and again...

For now i think it will be a neverending story :)

Another build is ready. I will try it now and we will see what next is missed.

Ok, i was just making sure :D I have everything ready on those folder already, but I am just getting error when compiling.

Keep going and don't stop!!!!! :cool::cool:
 

Bender007

Member
Oct 2, 2013
24
17
It looks like there is a error in your recovery.fstab file. I had the same issues. There are to much or to less spaces between two options in a row.


Update for latest build:

ONLY ONE ERROR LEFT !!!!!!!!!!!!

I/SurfaceFlinger( 417): SurfaceFlinger is starting
I/SurfaceFlinger( 417): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 417): loaded /system/lib/egl/libEGL_tegra.so
E/ ( 417): file /data/data/com.nvidia.NvCPLSvc/files/driverlist.txt: not found!
I/ ( 417): Attempting to load EGL implementation /system/lib//egl/libEGL_tegra_impl
E/ ( 417): Could not load /system/lib//egl/libEGL_tegra_impl
I/ ( 417): Attempting to load EGL implementation /system/lib//egl/libEGL_tegra_impl
E/ ( 417): Could not load /system/lib//egl/libEGL_tegra_impl
I/ ( 417): Loading fatal stubs
D/libEGL ( 417): loaded /system/lib/egl/libGLESv1_CM_tegra.so
D/libEGL ( 417): loaded /system/lib/egl/libGLESv2_tegra.so
I/gralloc ( 417): using (fd=18)

Everything else seems to be good.
 

doomboss

Senior Member
Jan 17, 2013
252
47
It looks like there is a error in your recovery.fstab file. I had the same issues. There are to much or to less spaces between two options in a row.


Update for latest build:

ONLY ONE ERROR LEFT !!!!!!!!!!!!



Everything else seems to be good.

wow man!!!!! things are going good for you!!!!! ;D :D :D cant wait to see your build ready :p

Ok so i think i figured out why im getting that error. I have the right recovery.fstab on the device folder, but when i compile the ROM, it just keep using the prebuilt one from cm folder for some reason...... So I guess will need to build the recovery first to solve this error. However, there are some problem with the recovery because i didn't build it before. But in order to build the recovery, i need to have a built kernel........ I am having trouble with the kernel building step :(:( I will bother you later about your kernel building process hehe :p :p :p ;):cool:
 
Last edited:
Top