Hi,
      I tried making the changes to make the /system rw and changed the
permissions.

Here are the modifications that I made to init.rc

# mount mtd partitions
    # Mount /system rw first to give the filesystem a chance to save a
checkpoint
    mount yaffs2 m...@system /system
    mount yaffs2 m...@system /system rw remount
    chmod 0771 /system

    # We chown/chmod /data again so because mount is run as root + defaults
    mount yaffs2 m...@userdata /data nosuid nodev
    chown system system /data
    chmod 0771 /data

    # Same reason as /data above
    mount yaffs2 m...@cache /cache nosuid nodev
    chown system cache /cache
    chmod 0770 /cache

    # This may have been created by the recovery system with odd permissions
    chown system system /cache/recovery
    chmod 0770 /cache/recovery

Here are the error messages.

yaffs: dev is 32505860 name is "mtdblock4"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.4, "mtdblock4"
yaffs: restored from checkpoint
yaffs_read_super: isCheckpointed 1
VFS: Mounted root (yaffs2 filesystem) on device 31:4.
Freeing init memory: 944K
mmc1: mmc_rescan - card ocr from io_op=0x00000000, err = -110
init: cannot open '/initlogo.rle'
save exit: isCheckpointed 1
yaffs: dev is 32505861 name is "mtdblock5"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.5, "mtdblock5"
yaffs_read_super: isCheckpointed 0
yaffs: dev is 32505862 name is "mtdblock6"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.6, "mtdblock6"
block 94 is bad
block 206 is bad
yaffs_read_super: isCheckpointed 0
init: cannot find '/system/bin/servicemanager', disabling 'servicemanager'
init: cannot find '/system/bin/vold', disabling 'vold'
init: cannot find '/system/bin/debuggerd', disabling 'debuggerd'
init: cannot find '/system/bin/app_process', disabling 'zygote'
init: cannot find '/system/bin/mediaserver', disabling 'media'
init: cannot find '/system/bin/installd', disabling 'installd'
/system/bin/sh: can't access tty; job control turned off


Best regards,

Elvis

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

To unsubscribe from this group, send email to 
android-porting+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to