This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Android Jelly Bean 4.2.2 Devkit "init : skipping insecure file /init.rc /default.prop" when using Ubifs.

Hello All,

I am working on AM335x customized board for porting JB 4.2.2 Devkit 4.1.1.I am facing the following issue.

When i mount the android rootfs from mmc card.It works fine.But when i mount the same android rootfs from nand.

It gives the following logs and system doesn't stucked up here.

[    5.189758] init: skipping insecure file '/default.prop'
[    5.198059] init: skipping insecure file '/init.rc'
[    9.516693] init: Timed out waiting for /dev/.coldboot_done
[    9.532562] init: skipping insecure file '/system/build.prop'
[    9.544921] init: Unable to open persistent property directory /data/property errno: 2

As if i know this above is due to permissions of the following that is not 644/655.

I am using android rootfs as ubifs in nand.

Is it related to tools which are generating ubifs ?? .Please guide me further.

Regards

Nitish Mehta

  • Hello All,

    I finally found the solution for the above.
    Please change the permissions of init files in [<out><target><beaglebone>android_rootfs ] before making ubi image.
    cd <out><target><beaglebone>android_rootfs
    chmod -R 755 data/ system/build.prop *.*
    ........now make ubi image.

    This will change the permissions of the init scripts required by init util.
    Actually ,this change of permission is done in mktarball.sh for making tarball.

    Regards
    Nitish Mehta