Other Parts Discussed in Thread: DM3730
I am working on TI OMAP3 DM3730 Gingerbread source code.
I built the android with secuirity keys by taking the below reference link:
www.kandroid.org/.../release_keys.html
I got the signed-img.zip. I updated the zip using fatboot. After rebooting I am getting errors in debug tool:
init: cannot execve('/system/bin/servicemanager'): Permission denied
init: cannot execve('/system/bin/mediaserver'): Permission denied
init: cannot execve('/system/bin/surfaceflinger'): Permission denied
init: cannot execve('/system/bin/dbus-daemon'): Permission denied
init: cannot execve('/system/bin/keystore'): Permission denied
Like this some files in system/bin are getting permissions issue. I debugged the issue to some stage. I found that the command:
make -j4 PRODUCT-<product_name>-user dist
The command above creates a file under out/dist called -target_files.zip.
This is the file you need to pass to the sign_target_files_apks script. When extract this zip file there is SYSTEM folder which contain all system image data. The files under /bin didnt have executable permission. The executable permission is getting missed when copying the files from the normal android system out folder to the target SYSTEM folder using the command ACP in the function product-copy-files in the MAKEFILE.
Can anyone help how to fix this file permission issue.
Thanks,
Balakrishna