[GUIDE][07/07/11]How to Partition your SD Card

Search This thread

Captain_Throwback

Recognized Developer
I'm too tired to read through all 40 pages, but, from what I understand, there is no way to make this work with root stock?

I updated to the newest version of root stock today, and I don't know what on earth the developer did besides add in all the junk I removed (some people like it, I hate it), but I had to remove all HTC Sense widgets and junk I didn't use (like friendstream) and on top of that I had to delete half the apps I had installed just to clear up space! :S

I've had too many problems with custom ROMs in the past, so that's why I stick to root stock. The only reason I rooted was to be able to delete a lot of crap that was taking up space on my phone....

I still need more space, though, and I have a 16gb memory card, only about 2/3 is used (a lot of pictures and music)
If you're talking about my ROM, I directed you here and then posted that partitioning works fine with my ROM.

As far as 'adding in the junk', I didn't add anything. I just didn't remove anything, i.e. I kept it stock. I just made most of the junk uninstallable.

You can easily take out the APKs you don't want/need using 7zip prior to flashing.

If you want to know if partitioning will work on the ROM you're flashing, just look for "a2sd enabled" in the OP.
 
  • Like
Reactions: KatNapPurr

KatNapPurr

Member
Nov 13, 2010
6
0
Ok, I know nothing about these things. I get that AmonRA v2.3 is a recovery, but how do I know if I have that?

my phone is rooted, but my brother rooted it for me, so I don't know what he did :p all I know is when I boot into recovery, I do have the option to partition my SD card... so how do I know if I have AmonRA?

Also, since I have to wipe everything, I'm guessing I need to back up all my apps and settings and such?
 
Last edited:

Captain_Throwback

Recognized Developer
Ok, I know nothing about these things. I get that AmonRA v2.3 is a recovery, but how do I know if I have that?

my phone is rooted, but my brother rooted it for me, so I don't know what he did :p all I know is when I boot into recovery, I do have the option to partition my SD card... so how do I know if I have AmonRA?

Also, since I have to wipe everything, I'm guessing I need to back up all my apps and settings and such?
When you boot into recovery, it'll say "RA-supersonic" or something similar at the bottom of the screen. That's how you know what recovery you have.

You can use a program like Titanium Backup or My Backup Pro to backup your app data. It's usually better to do a clean install of apps from the Play Store when flashing a new ROM.
 

jrny99

Senior Member
ok, I had partition my card as instructed. everything ok until i went to install a different rom. i did a full wipe and the sd/ext and phone went into a bootloop . i reformatted the sd card to fat 32 while my phone was connected USB with my pc. put classic rom and everything went good. i don't know if i erased my partitions but the phone still shows 354 free internal space. how do i check or see my partitions and see if they are there. i can ADB into phone.
 

sortus

Member
Mar 30, 2011
31
2
Wow thanks for explaining that. Maybe ill do it now. Took a lot of the question marks away for me. Thanks.

Sent from my PC36100 using xda premium
 

IgottaT/A

Member
Sep 19, 2012
21
1
This will probably sound silly to some of you but try to remember, I'm a noob, lol. After I partition my sd card, can I bring it back to stock if I wanted to return to the factory ROM?
 

NxNW

Senior Member
Apr 11, 2011
1,429
511
It's a legitimate question.

Answer is yes, you can always re-partition your card back to the way it was. (Be sure to back up the entire contents of the card before you do - that process is just as destructive as the original partitioning process.)

Basically follow the same procedure only select a size of zero for the ext partition. That will result in the FAT partition occupying the entire card.

(Or you can always buy a new SD card...)

Sent from my PC36100 using xda app-developers app
 
Last edited:

agent071

Member
Dec 15, 2012
7
0
can't partition sd card

I have problem partitioning my 32 GB class 10 micro sd.

If I partition it with recovery, minitool sees fat32 partition, but ext partition is showed as "unallocated".
If I partition it with minitool, fat32 is good, but ext partition is showed as "other" and as full, no free space on it.

I have unsucesfully tried to find a solution anywhere. It's like nobody had a problem like this...
 

shosky

Member
Mar 23, 2013
5
1
Lagos
Partitioning My SD card

Please i need help. I just rooted my Samsung Galaxy Y Pro Duos and I've installed link2SD to move apps to my SD cards. But i still the problem of insufficient space on my internal memory. I learnt that i have to partition my SD card then install a2sd & swapper to be able to increase the size of my internal memory.
Please i just help on the step by step process i will take increase the size of my internal memory(in plain language, please). I don't even know how to do the partitioning. I will appreciate an urgent help from you guys. Thank you.


With the GingerSense ROM’s being the new hotness right now, there is a overwhelming amount of questions about partitioning. This guide is intended to help anyone that may want to partition their SD and not sure where to start. This information was gathered from The Mynions and posted several times in Myn’s Warm2p2 and Project Synergy threads. This guide was created while using Project Synergy RC1, which runs a CM script that has been modified. Come get assimilated!

Please, READ first before attempting if you are a noob, it’ll save you some gray(grey) hair. I am in no way responsible for any issues you have for following this guide, use at your own risk.

WARNING: This will erase EVERYTHING on your SD card so please transfer the contents of your SD card to a computer or external hard drive PRIOR TO starting this procedure.
1. Boot into recovery (hopefully you have amonRA v2.3)
2. Select "Partition SD Card". You will be prompted to set an amount for the SWAP, ext2 and FAT.
3. Enter zero for the SWAP size, 1024 or 2048 for ext2 and the rest for FAT*
4. After the process finishes, select "Upgrade ext2 to ext3"
5. When the process is complete, go to the wipe menu and wipe EVERYTHING in it.
6. From the main menu, select USB-MS (your phone should be connected to your PC) and copy the Synergy ROM(or your ROM of choice) to the root of your SD Card.**
7. Flash Synergy(or your ROM of choice)
8. Be patient at initial bootup because it can be quite long.
9. I recommend that your 3rd party apps be installed freshly from the market initially. They will automatically be place in the ext3 partition. You can verify it by checking to see that they are listed in the /system/sd/ folder which itself contains 3 folders: app, app-private & dalvik-cache.

After you have followed the directions to partition your card, followed by a flash of the rom and installation of your 3rd party apps & games, go to Menu-Settings-SD & phone storage and check your available internal storage space. If it is 300+, it is safe to assume that the built-in a2sd is working. Furthermore you will need a system level file manager to see the /system/sd/ folder. The Astro File Manager cannot see it.

*These sizes are only used for reference, but excellent choices. You may want to consider a swap partition, even though the stock HTC kernel does not support it. Future kernel development may take advantage of swap and doing so now can save the hassle of re-partitioning later. Food for thought.
**This guide was done while using THE Project Synergy ROM, however it should work across the board.

Hope this helps.


Special thanks to dougjamal, lowetax and all the Mynions helping out around the world (We Global!):cool:
 

the.emilio

Senior Member
Please i need help. I just rooted my Samsung Galaxy Y Pro Duos and I've installed link2SD to move apps to my SD cards. But i still the problem of insufficient space on my internal memory. I learnt that i have to partition my SD card then install a2sd & swapper to be able to increase the size of my internal memory.
Please i just help on the step by step process i will take increase the size of my internal memory(in plain language, please). I don't even know how to do the partitioning. I will appreciate an urgent help from you guys. Thank you.

Well the guide here is about as step by step it can get. Mind you this is intended for the Evo recovery so verbiage may differ on your device/recovery.

Also, apps2sd does not increase the internal memory. It simply allows users to store and run the app from the SD. This will allow for less internal memory to be eaten up, not increase the overall size.

Best suggestion is to try to follow as close as possible, and flash a ROM that is not bloated with extra goodies. The extra apps and perks included in some roms does decrease the overall availability of internal memory to start from a clean install at initial boot.

Sent from my Galaxy Nexus using xda premium
 

magi44ken

Senior Member
Jan 31, 2014
127
17
I currently have CM7 gingerbread installed on my EVO 4G phone with DT A2SD and wanted to upgrade to 4.2.2. I need to repartition my SD card to 1GB. When I boot to Recovery mode, I do not see USB-MS option in the main menu. It have the CWM Recovery v5.0 installed. What should I do? If I format it in the Recovery using the Partition option in Reovery mode, can I still boot up my phone and then connect it to my PC to copy the rom and gapps to SD card to flash it?

Does one have to install the DT A2SD or Mount2SD in recovery mode? Or it can be done on the desktop when the phone boot?

Hopefully someone can help me. Thanks.
 

jlmancuso

Senior Member
Apr 26, 2011
5,638
5,840
houston, tx
I currently have CM7 gingerbread installed on my EVO 4G phone with DT A2SD and wanted to upgrade to 4.2.2. I need to repartition my SD card to 1GB. When I boot to Recovery mode, I do not see USB-MS option in the main menu. It have the CWM Recovery v5.0 installed. What should I do? If I format it in the Recovery using the Partition option in Reovery mode, can I still boot up my phone and then connect it to my PC to copy the rom and gapps to SD card to flash it?

Does one have to install the DT A2SD or Mount2SD in recovery mode? Or it can be done on the desktop when the phone boot?

Hopefully someone can help me. Thanks.

Well if you are going to flash 4.4.2 first you need to flash the twrp in the development section. It also has mass storage mounting so you can transfer files.

Sent from my SPH-L900 using XDA Premium 4 mobile app
 

magi44ken

Senior Member
Jan 31, 2014
127
17
Well if you are going to flash 4.4.2 first you need to flash the twrp in the development section. It also has mass storage mounting so you can transfer files.

Thanks for the help. With your information, I was able to figure out that CWM also have a mount USB storage option under Advance option. From there I was able to copy the files over to the SD card and then flash the ROM.

Quick question. How does A2SD determines what apps are automatically installed in that A2SD 1GB Ext3 partition? I notice some apps I have to manually move to A2SD FAT32 partition. Just wonder how it works.
 

nyamatabright

New member
Apr 29, 2014
2
0
Hello. please i partition my memory and the partition for the link2sd (where link2sd links my downloaded apps) cant show on the phone, only the phone memory and de remaining external memory can show. help me to let them show.

Sent from my GT-S7562 using xda app-developers app

Sent from my GT-S7562 using xda app-developers app
 

dexterd478

New member
Jul 15, 2014
1
0
102The internal sd card doesn't show up!!

When I had bricked, my phone I had panicked, in recovery, and began messing with partitions, and now I have the brick part fixed, yet when I check the storage in my phone(rezound running liquid smooth) I only have 2gb, on the phone, and the internal sd doesn't show up, I don't want to buy a huge sd card, so how do I unpartition an internal sd card.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 136
    With the GingerSense ROM’s being the new hotness right now, there is a overwhelming amount of questions about partitioning. This guide is intended to help anyone that may want to partition their SD and not sure where to start. This information was gathered from The Mynions and posted several times in Myn’s Warm2p2 and Project Synergy threads. This guide was created while using Project Synergy RC1, which runs a CM script that has been modified. Come get assimilated!

    Please, READ first before attempting if you are a noob, it’ll save you some gray(grey) hair. I am in no way responsible for any issues you have for following this guide, use at your own risk.

    WARNING: This will erase EVERYTHING on your SD card so please transfer the contents of your SD card to a computer or external hard drive PRIOR TO starting this procedure.
    1. Boot into recovery (hopefully you have amonRA v2.3)
    2. Select "Partition SD Card". You will be prompted to set an amount for the SWAP, ext2 and FAT.
    3. Enter zero for the SWAP size, 1024 or 2048 for ext2 and the rest for FAT*
    4. After the process finishes, select "Upgrade ext2 to ext3"
    5. When the process is complete, go to the wipe menu and wipe EVERYTHING in it.
    6. From the main menu, select USB-MS (your phone should be connected to your PC) and copy the Synergy ROM(or your ROM of choice) to the root of your SD Card.**
    7. Flash Synergy(or your ROM of choice)
    8. Be patient at initial bootup because it can be quite long.
    9. I recommend that your 3rd party apps be installed freshly from the market initially. They will automatically be place in the ext3 partition. You can verify it by checking to see that they are listed in the /system/sd/ folder which itself contains 3 folders: app, app-private & dalvik-cache.

    After you have followed the directions to partition your card, followed by a flash of the rom and installation of your 3rd party apps & games, go to Menu-Settings-SD & phone storage and check your available internal storage space. If it is 300+, it is safe to assume that the built-in a2sd is working. Furthermore you will need a system level file manager to see the /system/sd/ folder. The Astro File Manager cannot see it.

    *These sizes are only used for reference, but excellent choices. You may want to consider a swap partition, even though the stock HTC kernel does not support it. Future kernel development may take advantage of swap and doing so now can save the hassle of re-partitioning later. Food for thought.
    **This guide was done while using THE Project Synergy ROM, however it should work across the board.

    Hope this helps.


    Special thanks to dougjamal, lowetax and all the Mynions helping out around the world (We Global!):cool:
    50
    F.A.Q.

    Q: Do I have to partition my card?
    A: No. The main reason people partition is to take advantage of Apps2SD script. This allows for more internal memory and, depending on which version, control over various system settings (Ex.: http://xdaforums.com/showpost.php?p=7021317&postcount=1).

    Q: Do I need to format my SD Card after partition?
    A: Actually, no. Will it hurt if you do? No. Creating partitions wipes the SD Card, sets up logical drives(partitions) and formats the space(or you couldn’t write to it). The time consuming part of partitioning is the Card formatting.

    Q: Can I run the stock/android A2SD after partitioning?
    A: No. The Apps2SD script is different from stock. Using the stock A2SD will give you problems.

    Q: Can I do a nand restore after I partition?
    A: No. Your SD card's file system has changed and you may experience unfavorable results.
    10
    sorry you can't read my mind. I'm trying to understand the methods of putting apps onto the SD card giving more room on internal memory. There is the app APPS2SD that allows apps to be moved to the SD card. Then there is the method Dredz shows using RA that puts apps into SDEXT automatically using a script (I think). Then I think there is the Dark Tremors apps2sd method.... correct? The partition Dredz shows us cannot use the APPS2SD - correct? And some ROMs can use the RA partition and others can't ... correct? Then there is the Dark Tremors method... what is that?? Can someone please explain the difference between them all. Thanks, I'd really appreciate an explanation.

    Ok, I must really be either bored or like you, because this is my second time writing this...

    For those that are more technical, forgive my oversimplification, and feel free to chime in and correct as necessary...
    :)
    It may help you to think of your phone's (application related) memory as 3 types:
    Internal – this is the smallish amount of flash memory built into the phone, it's precious and seems to go quickly if you aren't careful. :mad:
    “SD Card” – this is the memory you are able to see when you connect the phone to your computer, it's cheap, expandable but usually slower and quirky (from an app standpoint), it's also where apps go when you use the 'move to SD' function
    SD Ext3 – This is a small partition on the card that you made if you followed the directions of the first post. It comes at the expense of SD Card space, but it's worth it...

    On a 'normal'/stock install, most apps will try to install themselves into your internal memory. This is good in the fact that the internal memory has great read/write speed and bad that you don’t really have a lot of it. Google addressed this in android 2.2 (froyo) by allowing apps to be installed/moved to the sd card. You can do this yourself by menu>settings>applications>manage applications. Select one, and odds are, it says, 'move to SD card'. This would let you move most of it's data to a special folder on the SD card, saving precious internal memory. The downside is that it's a pain to do one at a time... That's where all those apps in the market apps2sd, apps 2sd pro, blah blah blah, come in. They make it easy to move lots of apps back and forth to being installed on the sd card and/or internal memory. Technically, it's nothing you can't do by hand, but they make it nice and pretty. Another downside to this method is that not all apps can get moved, and some that do act funny when they are (widget related apps especially act wonky)...

    So to address this issue (and the lack of ability to do so pre-froyo), some people much smarter than you and me figured something out ;). They worked it so you could make a small partition on the pysical SD card that acted more like internal memory. So you install apps as if it's internal, but it's really on your physical card. It's the best of both worlds, the lack of headaches associated with internal memory, but the large size from the card. But, in order to make it work, a script is run to make android treat part of the sd card as if it's internal memory. One of the more popular is the CM a2sd script. It's built into lots of ROMS, including Synergy. When you install the rom, it checks to see if you have this partition on your SD card, and if so, it automagically lets the script to do it's thing. That's what you made in the beginning... a small ext3 partition that effectively expands your internal memory when used in conjunction with the script. They work together, useless in and of themselves. But one of the great things about android is evolution...

    So, in addition to apps, one of the other things that (normally) resides on your internal memory is the davlik cache. Google the specifics, but this is what helps your apps run, and run well. The possible downside of using the ext3 partition and a2sd script is that this cache ends up on your physical sd card. Assuming you have the stock card, read/write is going to be slower on that, than the true internal memory. So, some other folks, again, much smarter than you and me, came up with a variant of the script (DT a2sd) that allows you to force the cache back onto the true internal memory. So even though there is less 'true' internal memory, the cache is in the fastest place, so it's a performance tradeoff. The DT a2sd does some other things, but this is the relevant point here. There is even an app on the market that lets you turn some of the features of the script on/off , including forcing the cache location. Since the CM a2sd and the DT a2sd do pretty much the same thing, running both at the same time is problematic, hence the warnings...

    If you want to see the whole thing in action, install a ROM that includes the script and open Titanium Backup, on it's first page at the bottom, it breaks down the memory types for you and how much they are used. You'll see that as you add apps, they will reside on the ext3 (called SD a2sd in TB). Ultimately, you are going to have to make the search button your best friend, and put a few hours or so into educating yourself, but hopefully, this gives you a basic framework to go with. Once you become knowledgeable, be sure to pass it on to someone else who may have a question or two.:D

    Hope this helps, and I reserve the right to be completely wrong about everything stated here and will happily accept corrections. :p
    6
    I'm a little confused about this. If you partition your card you will get more internal memory but it will be used on the card on one of the partitions? Also if you start your rooted phone without your sd card will it still bootup properly? Also im wondering if it needs the rom file that is on the root of the sd card to bootup the phone with the custom rom properly?




    I'm still a little confused by what you mean by default A2SD. Does that mean after partitioning the card or something else?

    Some ROMS have a2sd built in. There are two main players in the a2sd game right now. Theres CM a2sd (cyanogen mod) and DT a2sd (Dark Tremors). Synergy has the CM script built in to utilize the CM a2sd. This is automatic IF and only IF your card is partitioned to take advantage of it. If your card is not partitioned your apps will go to internal memory as well as the Dalvik cache going to internal memory. What this means is because the ROM is so large you will have a very low amount of internal storage remaining for your apps. Once you get below 50mb of internal you will begin to get the low memory warnings. Hence if you partition your card BEFORE you flash the ROM all of your apps both system and downloaded will automatically go to the SD card. On your initial boot you will have anywhere from 350 to over 400mb of available internal memory.

    Now as stated there is the DTa2sd script available in the Synergy updater. You can flash this right over the built in CMa2sd. What benefit does this have you ask? Well this puts the Dalvik cache back into internal memory. For some including me, this makes the phone run faster with no lag even though I use a Class 6 32gb SD card. YMMV. Be advised however you will notice that instead of the 300 to 400 available internal it will be anywhere from 200 to 150. That's because the Dalvik is taking space on the internal memory. However, even when you install new apps, this number will change very little. Over time you can wipe the Dalvik to free up space but really not necessary.

    While no one says it is imperative to partition your card, it is not the daunting process it seems. The hardest and most time consuming part is copying your files to your computer to save them BEFORE partitioning. Depending on how much you have on your card, give your self about an hour free time and follow the directions. Use AmonRa if you don't have it. For months I was a diehard Clockwork user but the switch is well worth it. Taking the time to partition your card and use either the built in utility or the DT script will save you much time and will forever avoid the low memory message downloading as many apps as you want (unless you download every app on the Market).

    Got it?
    2
    Since the stock Kernel doesn't support Swap, after first boot, go to terminal, type Su then enter, then type a2sd check.

    It will probably say swap not running at boot. It should say that the partition is present and a bunch of other things.

    Next type a2sd swappy10 then enter.

    Now type a2sd reswap.

    If you get an error, you can run a2sd reinstall which will reboot your phone.

    Go back to terminal and type Su and then a2sd reswap.

    Should be good to go, but you have to run the reswap after every boot til we get custom kernels.

    Swyped From The Hippest Phone Using XDA Premium