• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Koumajutsu's SD-Card Partition Tool for Prevail

Koumajutsu

Android Expert
Koumajutsu here once again, with a gift

SDparter.apk version 1.1

My tool for partitioning SD-cards.

This is roughly based on 51dusty's sdparted 0.6 script for CyanogenMod with a few key differences.

1) This is an Android App and not a script.
2) This does not need to be run through a terminal while in Recovery
3) It carries what tools it needs with it (parted, tune2fs, e2fsck binaries)
4) This only supports FAT32, EXT4 and SWAP partitions (EXT2 and EXT3 have been omitted for sake of simplicity)

This has been tested with the Samsung Galaxy Prevail, but may work with other devices.

SCREENSHOTS! (coming soon)

Requirements: Root, EXT4 support, Swap Support
File system supports are only required to create those partition types. You should be able to use this to create partitions that your system supports so long as you don't try to make partitions you don't support (I.E. if you only have EXT4 support, do not expect swap partitions to work and not cause FCs)

Unlike a lot of other people's apps out there, I'm going to suggest that Developers include this app as a system app in their ROMs if it works on their device. All I ask is you drop my name somewhere :D

Changelog:
1.0: Initial Release
1.1: Fixed Force Close when parsing non-whole numbers into integers. Fixed potential Force Close if app is run without an SD-card installed. Added checks for each binary individually

 
Getting FC on CTMod3.68.

Redownloaded and reinstalled same thing.


It gets past asking for Superuser then dies.



edit: had kouma settings on SSM, changed to data rebooted and same issue. Phone acting up. Going to save SD data, wipe everything and reinstall.
 
Getting FC on CTMod3.68.

Redownloaded and reinstalled same thing.


It gets past asking for Superuser then dies.



edit: had kouma settings on SSM, changed to data rebooted and same issue.

i'm still on 3.6

I'm having FC issues but I'm on 3.6

EDIT: Just updated to 3.68 and it works. It could be the way I installed it. When I did this on 3.6, I pushed the apk to /system/app using adb. This time I used adb install to do this and it works, no FCs
 
I'm on half ass 2, with fe16 baseband, kk 2.5. Just installed the sdparter for shits and giggles. Fc's on me. Any help?
got no clue, maybe way installed? kevi no go on one and worked on another and then someone else on same and no go, mine went first time.
 
I'm on half ass 2, with fe16 baseband, kk 2.5. Just installed the sdparter for shits and giggles. Fc's on me. Any help?

please provide a logcat capture.
and as much detail as possible.
i.e.: the size of your sdcard, and the size of your current partitions and their filesystems

just saying that it force closes is of no use to anyone
 
here is a screenshot.


2012-06-19 16.15.27.png
 
please provide a logcat capture.
and as much detail as possible.
i.e.: the size of your sdcard, and the size of your current partitions and their filesystems

just saying that it force closes is of no use to anyone

I am accepting that it didn't run for me thru a problem on my end. After I repartioned the SD (CWM) and erased all data, worked fine on reinstallation.
 
I am accepting that it didn't run for me thru a problem on my end. After I repartioned the SD (CWM) and erased all data, worked fine on reinstallation.

I still wonder what caused you to have FCs
If it ever happens again, please get a logcat containing the error.
If I can figure out what happened, I can make the app provide useful feedback rather than just decide that it can't run because it read something it didn't like
 
I still wonder what caused you to have FCs
If it ever happens again, please get a logcat containing the error.
If I can figure out what happened, I can make the app provide useful feedback rather than just decide that it can't run because it read something it didn't like


Will do. After fresh install of CTMod 3.68 SDparter works.
 
Was going to upgrade to the new CTmod, so I threw this is the systems app folder to have it install along with everything else. Tried to launch it and got an FC. I'm using the stock SD card. Here's the logcat. SDparter logcat - Pastebin.com

I've never outputted one before, so I wasn't exactly sure what you needed. I hope this helps you help me.
 
Was going to upgrade to the new CTmod, so I threw this is the systems app folder to have it install along with everything else. Tried to launch it and got an FC. I'm using the stock SD card. Here's the logcat. SDparter logcat - Pastebin.com

I've never outputted one before, so I wasn't exactly sure what you needed. I hope this helps you help me.

cool, I'll have a fix shortly.

The problem was related to my assumption that I would receive partition sizes from the system in whole numbers.
Code:
E/AndroidRuntime( 3444): Caused by: java.lang.NumberFormatException: unable to parse '64.4' as integer
is where I found a decimal point and choked :D
 
cool, I'll have a fix shortly.

The problem was related to my assumption that I would receive partition sizes from the system in whole numbers.
Code:
E/AndroidRuntime( 3444): Caused by: java.lang.NumberFormatException: unable to parse '64.4' as integer
is where I found a decimal point and choked :D
cool but why did it work on mine?
and should i leave it or get rid of and use new one?
 
Back
Top Bottom