Note: these instructions are somewhat specific to the Sony Xperia M C2005 Android 4.3
- Root phone with TowelRoot: https://towelroot.com/
- Installed busybox: https://play.google.com/store/apps/details?id=com.bitcubate.root.busybox.complete
- Tried "mount -o bind folder1 folder2", but the bind wouldn't work when not root
- Used FolderMount app to link the folders (2.9.9 as of writing)
- Found that phone would reboot during the process. Found this explanation:
I have the Xperia phone/tablet model number XXX and after updating to Android 4.2, I'm getting reboots every time I try to mount.
This issue spans from the rooting method and has nothing to do with FolderMount. Any app that attempts to remount your /system partition will cause your tablet/phone to reboot. Please consult THIS PAGE for a workaround.
-
Ended up downloading the fix from here. Thanks, [NUT]@xda!
-
Didn't run the fix directly. Read through the install.sh to see how it works and did the steps manually. Which was:
busybox mount -o remount,rw /
-> makes / directory writeablechmod 644 /sbin/ric
-> makes ric not executablebusybox pkill -f /sbin/ric
-> stops ric process- Added
/system/etc/install-recovery-2.sh
that would do the same process every time the phone booted. It gets called from the pre-existinginstall-recovery.sh
. chmod 755 /system/etc/install-recovery-2.sh
-> make script executable
-
Used FolderMount and the phone didn't reboot. Paid for premium features (>3 mounts and more) because I was impressed with how easy the app made the process of mounting directories.
/system/etc/install-recovery-2.sh
contents:
!/system/bin/sh
pkill -f /sbin/ric; mount -o remount,rw /; chmod 644 /sbin/ric
Notes:
- I made a lot of missteps along the way and this is the solution that eventually worked.
- Wanted to save it for myself and share it in case it might help anyone in a similar position