Jump to content
Sign in to follow this  

Change system mount points [Stock ROM]

Recommended Posts


I will try to be brief. I really love Acer Breeze UI, so I am still using 4.000.13 fw. Recently I am dealing with low capacity by symlinking | .apk-s .dex-s and folders of app's data | to sd-ext partition. But for many reasons, it is not the best solution.
I decided to change /data mount point direct to external SD partition.
As stock ROM does not support init.d, I would like to ask, if it's not possible to -> decompress boot.img -> edit ramdisk's init.rc file with following:

# mount mtd partitions
    # Mount /system rw first to give the filesystem a chance to save a checkpoint
    mount yaffs2 [email protected] /system
    mkdir /system/flex
    mount yaffs2 [email protected] /system ro remount
    mount ext2 [email protected] /data nosuid nodev ???errors=continue # instead mount yaffs2 [email protected] /data nosuid nodev
    mount yaffs2 [email protected] /cache nosuid nodev

Also(for better performance): 

# create dalvik-cache and double-check the perms
    mkdir /data/dalvik-cache 0771 system system
    mount yaffs2 [email protected] /data/dalvik-cache nosuid nodev # added
    chown system system /data/dalvik-cache
    chmod 0771 /data/dalvik-cache

I have no idea what "common options of filesystem", I have to use.

So if I do following and compress back to boot.img, than flash to boot partition, will I have all my data on ext SD and dalvik cache on nand partition?

If someone have knowledge about that I do not have, but I try to do it, please devote me a little of your time.
Thank you in advance.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.