So this is my first post on here. I previously had a UHost2 where swapping the internal/external SD cards I could just edit the vold.fstab file and reboot. Now I've upgraded to an MK902 running Quickshot 3.1.
There's no longer a vold.fstab file in KitKat so this method doesn't work any more. I've been searching around and found a build.prop tweak which also didn't work.
I've come across a few variations of an init.d script that unmounts the SD cards and then remounts them swapped. However, all the variations had different numbers in them for the blocks. I was wondering if anyone would be able to set it to the right numbers to work on the MK902. I haven't tested this script yet because I'm scared that if it doesn't work it'll mess up my device.
Here is the init.d script:
#!/system/bin/sh LOG=/data/extsd2.log echo 'mark 1' > $LOG umount /storage/sdcard0 umount /storage/sdcard1 umount /mnt/secure/asec umount /mnt/media_rw/sdcard0 umount /mnt/media_rw/sdcard1 mount -t vfat -o umask=0000,uid=1023,gid=1023 /dev/block/vold/179:33 /mnt/media_rw/sdcard0 1>>$LOG 2>>$LOG mount -t vfat -o umask=0000,uid=1023,gid=1023 /dev/block/vold/179:33 /storage/sdcard0 1>>$LOG 2>>$LOG echo 'mark 2' >> $LOG mount -t vfat -o umask=0000,uid=1023,gid=1023 /dev/block/vold/259:0 /mnt/media_rw/sdcard1 1>>$LOG 2>>$LOG mount -t vfat -o umask=0000,uid=1023,gid=1023 /dev/block/vold/259:0 /storage/sdcard1 1>>$LOG 2>>$LOG
Or does anyone have another way to swap the internal and external SD cards on KitKat?
Thanks.
Comment