关于ok6410 android 自己编译的源码不启动问题
最近发现很多朋友在自己编译android系统,启动android过程中出现如下问题
*************************start init ************************
init: cannot open '/initlogo.rle'
init (50): /proc/1/oom_adj is deprecated, please use /proc/1/oom_score_adj inste
ad.
init: cannot find '/system/etc/init.OK6410.sh', disabling 'OK6410-setup'
/system/bin/sh: can't access tty; job control turned off
/ # enabling adb
adb_open
warning: `zygote' uses 32-bit capabilities (legacy support in use)
request_suspend_state: wakeup (3->0) at 92374521625 (2011-08-22 04:17:52.1762524
36 UTC)
init: untracked pid 59 exited
init: untracked pid 63 exited
request_suspend_state: wakeup (0->0) at 107827143745 (2011-08-22 04:18:07.628874
511 UTC)
init: untracked pid 100 exited
init: untracked pid 101 exited
原因:
缺少了gralloc.default.so,在
out/target/product/OK6410/obj/SHARED_LIBRARIES/gralloc.default_intermediates/LINKED下把这个文件放到文件系统的/system/lib/hw下就可以启动了
解决办法:
这个是在,可以在make-rootfs中加入一条cp -a out/target/product/${PRODUCT}/obj/SHARED_LIBRARIES/gralloc.default_intermediates/LINKED/gralloc.default.so rootfs_dir/system/lib/hw然后重新执行make-rootfs
也可以复制出来,用adb push e:galloc.default.so /system/lib/hw下然后重新启动。
小编你太及时了,感谢小编,正好遇到问题,嘻嘻
呵呵