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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

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