|
Fat_Ext2_Partition
How To: Partition SDCard Fat32 / Ext2
Featured ================================================================================= PROCEED WITH CAUTION SDSPLIT repartition your SDcard Fat32 / Ext21 Must have a Custom ROM installed! $ su 3 Decide the size of your FAT partition: You should use one of two approaches to decide the size of your FAT partition. The first one involves simply directly deciding this size (i.e. I want a 5G FAT partition). In this case, the EXT2 partition will be the remainder of the card. size_of_fat_partition = size The second method is based upon the fact that you want to decide the size of the EXT2 partition and would like the FAT partition to be the remainder of the card. In this case, the size of the FAT partition will be based on the size of your sdcard and the size of the EXT2 partition that you want. Use this formula to calculate it: size_of_sdcard - size_of_ext2_partition = size So, if you have an 8GB sdcard and want 1GB of space for apps on your EXT2 partition, use 7000M for the FAT size. No matter which method you use, you will need to specify either bytes (no parameter), kilobytes (K) or megabytes (M) . So, for a 5G partition would use a 5000M size parameter. Note: The size parameter is currently case sensitive, use 7500M, not 7500m! 4 Backup your SDCard onto your PC Note: To figure out how much data (in K) you have on you FAT partition, you can type the following in your terminal / ADB Shell (the sdcard can not be mounted for this cmd to work): $ du -s /sdcard Note: to find out how much free space is left on your /data partition type (see available) $ df /data 5 Run sdsplit. Use the size from step 3 below (do not forget the "M" in size if you are specifying megabytes): (Note: you will need an internet connection on your phone for this step) Note: If you are using the JF1.5 update, you should put a -nc at the end of the commands below since system configuration is not needed! Non JF1.5 Build: JF1.5 Build: Please, remember to record the output of this stage if you run into a problem. There will be a permanent record of it in, /data/sdsplit.log. 6 Reboot your phone, via terminal: Via ADB Shell: 7 Restore your data from your PC to your Fat partition of your SDCard. 8 You're done! You should have two partitions now on your sdcard. The FAT one mounted at /sdcard and the EXT2 one mounted at /system/sd. DO IT AGAIN: If you simply want to change the size of your partitions because you are not happy with them after the first run, and you have not wiped or reinstalled your system in the mean time, repeat step 5 with the -fu and -nc options at the end. Be aware that this will delete any data you have put on the EXT2 partition. You may do this as many times as you like. /data/sdsplit -nd -fs size -fu -nc i.e. Problem Report: If your run into any serious problems, there is a log file located at: /data/sdsplit.log if you can get it off your phone. To Continue on please go to Setting up your phone to work with Apps 2 SD (symlinks) | |
Uhm, huh?
Hi, the http link on top downloaded v1.0 of sdsplit via wget on the phone. But if you click on the link it takes you to v1.7 of the file. Any idea how that happened?
Apart from that, it was aces. Thanks!
I'm trying to do this on a 16gb card. How long should I see the Creating FAT32 filesystem message running JF1.5 setting FAT to 15000M. It's been on that message for about 5 minutes. Do I panic?
This process froze my phone for 60 minutes. I pulled the battery to finally exit.
I tried again with a FAT32 if 14000M and it worked like a charm!!! Now to read on 'how to use'.
works like a charm, thanks!
There is an error in sdsplit, the path to sh is usually /sbin/sh
Excellent guide, went without a hitch, many thanks.
why with my 8G sdcard when i run the Non JF1.5 Build commands: $ su # /data/sdsplit -nd -fs 7000M its says /data/sdsplit not found? i also put before those commands:$ su # cd /data # wget http://64.105.21.209/bin/lib/droid/sdsplit # chmod 555 sdsplit # exit and it appeals download 100% and i dont know why now. can someone help me out?
Thanks, boss! the ext2 partition worked fine, but the FAT32 partition formatting failed. Here is an output:
/dev/block/mmcblk0p1 1 24415 781272 b Win95 FAT32 /dev/block/mmcblk0p2 24416 31000 210720 83 Linux
Command (m for help): The partition table has been altered!
Calling ioctl() to re-read partition table
+Creating FAT32 Filesystem mkdosfs: no such tool
+Mounting FAT Filesystem mount: mounting /dev/block/mmcblk0p1 on /sdcard failed: Invalid argument
I can run the partition again, but will I lose the apps that are placed on there from apps2sd?
Any help would be appreciated.
After installing Haykuro firmware, sdsplit does not work completely but this wiki finishes the process.
http://android-dls.com/wiki/index.php?title=Haykuro_Apps_to_SD
does this still work?
i'm trying to do this via the terminal emulator on my rooted t-mobile mytouch 3g and it won't allow me to type in any numbers...any workarounds?
Thank you guys for this info. I just would like to mention to all new people is that all this cmds are typed on the PC, not the Cellphone. I found that they do the same if run from the cell but it made me confused because it shows errors. Great job. Thanks.
didnt't work for me on my i9000...
/data/sdsplit -nd -f -fs 4300M /data/sdsplit: /data/sdsplit: not found
why with my 8G sdcard when i run the Non JF1.5 Build commands: $ su # /data/sdsplit -nd -fs 7040M its says /data/sdsplit not found?
I have the same problem as rjartley. The file is there, the mode is set to 555, I'm at the # prompt but it always says that "/data/sdsplit file is not found".
This how-to needs to be purged or a least a deprecation warning applied to the top.
Hi can you help me how can i get to my phone's root , i have windows 7 in my laptop and couldn't find any software to reach root...i tried it to do with partition manager but it doesn't make any partition. i'm using xperia x10 mini plz suggest something....thanks
Same Problem: it always says that "/data/sdsplit file is not found".
says permission denied on my rooted x8 using terminal emulator tryin to format 8gig branded card got su access! strange will reset an try again bwah
Who those who get "/data/sdsplit file is not found" (I had it on my HTC Legend) change the first line in the sdsplit file from: #!/system/xbin/bb/sh to #!/system/xbin/sh
Then reupload it (adb push sdsplit /data/)
Mount the system partition manually: mount -o rw /dev/block/mtdblock3 /system
Then run the script.
Aferwards it may complain about mkdosfs not begin found, just format the newly created partition e manually to FAT32.
what's the point?