Note: I managed to brick my LG Optimus L9 P760 the first time I erased partitions, so YMMV. Be prepared to unbrick.
*) we need to operate as root on the device; an easy way is to install ssh server, which is available in the app store. Install and configure it. When you are logged in on the phone, type "su" to become root; allow operation on the phone.
*) identify what is your sdcard. Mine is /dev/block/mmcblk1
*) umount any mounted partitions.
*) use fdisk to wipe all partitions and create an ext2 partition. Assign to it type 83 (linux) # maybe brick in progress...
*) reboot if needed
*) mke2fs /dev/block/mmcblk1p1 # use your device! careful here, brick is coming!
*) mkdir /mnt/fuse/real_sdcard1 # from now on, especially if you rebooted fine before, no brick anymore I think
*) mount -t ext2 /dev/block/mmcblk1p1 /mnt/fuse/real_sdcard1 # use your device
*) cp -a /data /mnt/fuse/real_sdcard1
*) mount -o remount,rw / # not sure if really needed, let me know
*) nano /data/local/userinit.sh # this is called by /etc/init.d/90userinit
*) therein, we put:
mkdir -p /mnt/fuse/real_sdcard1
mount -t ext2 /dev/block/mmcblk1p1 /mnt/fuse/real_sdcard1
mount -o bind /mnt/fuse/real_sdcard1/data /data
reboot, enjoy
vincenzoml
do you think this method can work on marshmallow as wll
RispondiEliminaI have no idea :) Did not use an external SD card recently. Please comment if this still works.
RispondiElimina