Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Please reboot your SH-03C with bootkit and press focus key to stop the count timer.
- // Initialize.
- > adb shell
- $ _su
- # /bin/sh
- ~ # sd
- ~ # rw /mnt/sdcard
- // Make "data_ex.ext2" file and format it!
- # dd if=/dev/zero of=/mnt/sdcard/sdboot/data_ex.ext2 bs=1M count=[expanded size(MB)]
- # losetup /dev/block/loop0 /mnt/sdcard/sdboot/data.ext2
- # losetup /dev/block/loop1 /mnt/sdcard/sdboot/data_ex.ext2
- # mkfs.ext2 /dev/block/loop1
- // Mount SDcard.
- # mkdir /data /dataex
- # mount -t ext2 /dev/block/loop0 /data
- # mount -t ext2 /dev/block/loop1 /dataex
- //Copy data area to dataex area.
- # (cd /data && tar cf - .) | (cd /dataex && tar xvf -)
- //Then, please cd to /mnt/sdcard/sdboot to change the filename.
- # cd /mnt/sdcard/sdboot/
- # mv data.ext2 data.ext2.old
- # mv data_ex.ext2 data.ext2
- // Unmount all mounted point and reboot.
- # cd /
- # umount /data /dataex
- # reboot recovery
- //After your device reboot, please go to Android "settings" -> "microSD & phone storage" and check Internal phone strage. If you got more space, congratulations!
- //Of course, you can remove "data_old.ext2", but you should backup this file before you remove because new "data.ext2" file may have some problems^^;
- <<If you are using sdboot_r2, please try this.>>
- // Initialize.
- > adb shell
- $ _su
- # /bin/sh
- ~ # sd
- ~ # rw /mnt/sdcard
- // Make "data_ex.ext2" file and format it!
- # dd if=/dev/zero of=/mnt/sdcard/sdboot/data_ex.ext2 bs=1M count=[expanded size(MB)]
- # losetup /dev/block/loop0 /mnt/sdcard/sdboot/data_app.ext2
- # losetup /dev/block/loop1 /mnt/sdcard/sdboot/data_ex.ext2
- # mkfs.ext2 /dev/block/loop1
- // Mount SDcard.
- # mkdir /data_app /dataex
- # mount -t ext2 /dev/block/loop0 /data_app
- # mount -t ext2 /dev/block/loop1 /dataex
- //Copy data_app area to dataex area.
- # (cd /data_app && tar cf - .) | (cd /dataex && tar xvf -)
- //Then, please cd to /mnt/sdcard/sdboot to change the filename.
- # cd /mnt/sdcard/sdboot/
- # mv data_app.ext2 data_app.ext2.old
- # mv data_ex.ext2 data_app.ext2
- // Unmount all mounted point and reboot.
- # cd /
- # umount /data_app /dataex
- # reboot recovery
- // I think you can't get more space in "microSD & phone storage", but don't care.
- // If you want to check whether you could got more space correctly, please type these command.
- > adb shell
- $ busybox df | busybox grep /data/app
- // After you type these, you can see these messages.
- df: /mnt/secure/asec: Permission denied
- /dev/block/loop1 655104 60484 561340 10% /data/app
- ^This means available space!
- Post:2012, 12th Feb
- Latest update:2012, 13th Feb
- Written by takef0845(on twitter)
- Website:http://ftake.xrsp.net/blog/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement