venerdì 24 agosto 2012

ANDROID - Remount Android rootfs RW via (ADB) Shell

To remount your root fs on android device as RW (read write) for any purpose without software to install on your devices, connect to your android phone via ADB or do it from internal Shell and type:

For RW roofs:

mount -o rw,remount -t rootfs rootfs /
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system


For RO rootfs:

mount -o ro,remount -t rootfs rootfs /
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system


Working on Samsung Galaxy S5570 (Mini/Next) and SonyEricsson Xperia X8.

Reference:
http://chuacw.ath.cx/blogs/chuacw/archive/2011/02/25/remounting-android-rootfs.aspx