Search code examples
androidrootmount

Android mount system in write mode


I have a android iso inside virtual box.
I need to mount the /system in write mode.
It looks as if I am the root user, but when I try to mount it gived permission denied.
Below are the command outputs.

My shell:

root@eeepc:/ #


root@eeepc:/ # whoami
root


root@eeepc:/ # mount
rootfs / rootfs rw 0 0
proc /proc proc rw,relatime 0 0
sys /sys sysfs rw,relatime 0 0
tmpfs / tmpfs ro,relatime 0 0
/dev/sda1 /mnt ext3 rw,relatime,errors=continue,barrier=0,data=writeback 0 0
/dev/loop0 /sfs squashfs ro,relatime 0 0
/dev/loop1 /system ext4 ro,relatime,user_xattr,barrier=1,data=ordered 0 0
tmpfs /cache tmpfs rw,relatime 0 0
/dev/sda1 /data ext3 rw,relatime,errors=continue,barrier=0,data=writeback 0 0
tmpfs /dev tmpfs rw,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0

Command that i tried to remount:

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

All of the above gave permission denied.

Any help ?


Solution

  • So, I was not able to do this, but I installed android-x86-2.3 iso , and it's working now.

    Now I am having problem of orientation, it is only working on landscape..

    Hope I find some solution