[GUIDE][9-JAN] How to partition your SD card correctly for APPS2SD+ ROMS. - HD2 Android NAND Development

UPDATE: The GUIDE has been updated to the smallest detail you should have no problems partitioning your card if You just CAREFULLY read and follow the instructions.
UPDATE: Since some people can't seem to make this work with gparted live cd there is another solution, You can use pmagic.iso. In basic's it's the same procedure (heck it also the same gparted only put into a more friendly enviroment). The reason that i'm posting this it's because you don't even need the cd you can start it from a flash drive. U just have to make a bootable usb flash and put in bios to start from usb in boot options
The link for download is here
The link for how to make a bootable usb here
The procedure is simple just install chose from the list parted magic and read the tutorial from the donload page
Some roms have the problem with the ext4 just use ext3 or ext2 partition.The safest one is ext2 and ext2 is the slowest way to wear off your card. I haven't tried all roms just ask in that section.
And as always i'm not responsible for any damage that may occur while doing this.
And ui updated the link for downloading the gparted
Originally by Sentinel196 i qouted him and made things a little simpler 'cause people like screenshots . I've just aded screenshots because im lazy and don't like to type much . All the credit goes to him i just inserted screenshots for better understanding. And sorry for the misstypes i'm not use to type from my nettop .
It seems many people are having issues partitioning their SD card for use with Apps2SD+ ROMS using the additional EXT4 partition.
Here is a guide to the method that worked for me. I am not responsible for any loss of data on your phone or PC as a result of following this guide. Read the steps clearly and understand them BEFORE you do anything. Failure to understand the steps involved could see you wiping data from your PC's hard drive with no warning messages to tell you what you are about to do. You have been warned!
Firstly, I couldn't get Partition Wizard for Windows to work. If anyone else has been successful with it please let me know and I will update this post.
Before you start, BACK UP all your data from the SD card. It will all be erased from your SD card during this process.
Although this works on a phone which has already been flashed with an APPS2SD+ compatible ROM. I strongly suggest starting with a freshly flashed ROM with no apps installed before doing this to ensure ALL additionally downloaded and installed apps are installed on to the partition, leaving the maximum possible storage space remaining on your phone.
Here are the steps....
1. Download a copy of GPARTED-LIVE from here. Use your favourite CD burning software to burn the image to CD. The image is bootable so make sure you do not leave the CD as open session when you burn it. This is the software we will use to partition the SD card later on.
2. Start with a freshly formatted SD card with a single FAT32 partition. This can be created using whatever tool you prefer. Use the default cluster size setting. I use the Disk Management tool in Windows under Administrative Tools in Control Panel. You can perform this step by inserting the SD into your PC or mounting it on your PC via the phone.
YOU CAN DO EVERYTHING FROM GPARTED JUST BACKUP YOUR DATA AND UNMOUNT YOUR CARD AND PUT IT IN A CARD READER OR VIA MAGICLDR)
DO NOT COPY ANY FILES OVER TO THE SD CARD YET. Android will have copied over its standard files after formatting so do not delete these, but don't add anything else yet.
WAIT UNTIL EVERYTHING IS LOADED THEN INSERT THE CARD READER OR MOBILE WITH SELECTED MASS STORAGE IN MAGICLOADER THEN IN GPARTED GO ON REFRESH DEVICES OR JUST REFRESH OR CTRL + R WHAT EVER IS SHOWN OR WHICH EVER IS EASIER FOR YOU. iN THE RIGHT UPPER CORNER YOU SHOULD HAVE YOUR PRIMARY HARD DRIVE SELECTED CLICK ON IT AND SELECT YOUR CARD IT SHOULD SAY 2,4,8 OR 16 GB APPROXIMATLY. After that you shuldn't have any problems with your card not detecting or what so ever.
Thanx to milton007 for pointing out this
3. With the SD card now recognised by the PC, reboot your PC from the GPARTED-LIVE CD you burned in step 1. This may take a while to load depending on your PC. Follow the on screen prompts until GPARTED loads correctly.
4. With GPARTED now loaded, select your SD card using the selection in the top right hand side of the GPARTED window. Ensure you have selected the correct storage device by ensuring the capacity is reported correctly. BE VERY CAREFUL NOT TO MES WITH YOUR COMPUTERS HAR DRIVE!! If you are not sure at this stage, please do not proceed as you risk wiping data from your PC. GPARTED will not warn you if you are about to damage system files as you might expect it to.
5. Once selected, you should see a single FAT32 partition displayed with a chart which span the top of the window. The easiest way is to delete all partitions on the card
right click on the partition and delete click yes
Uploaded with ImageShack.us
6. Right click in the unallocated space you created in the chart and click "Create" or new. A new dialog box should appear. First partition will be fat32 and it must be primary into column space after input 1024 because that you will leave for the ext4 partition. Click OK Right click in the unallocated space you created in the chart and click "Create" or new.
Modify the settings so that the partition is "Primary" not "Logical" and set it to "ext4". Leave the cluster size set to "default". Click OK.
Uploaded with ImageShack.us
Uploaded with ImageShack.us
7. Back in the main GPARTED screen, you should now see two partitions in the chart, the first being your original FAT32 partition and then to the right is your new EXT4 partition. Click "APPLY" and the changes will be made to the SD card. THIS IS IMPORTANT as no changes are made to your SD card until you click apply. If you miss this step, you will have to start over from step 6 again.
8. Once changes are reported as completed, shut down your PC and remove the SD card. Insert it into your PC and boot the phone. If you connected your SD to the PC via MAGLDR, press the power/hang up key to return to the main menu and choose to boot from NAND.
DONE!!!!!!!
Once the phone is booted (may take a little longer than usual) go back to SETTINGS - SD & PHONE STORAGE and you should see your phone's available storage reported as around 20-40MB less than the total storage capacity. This will vary between different ROMS. Don't expect it to read any higher than it did before you did this if you haven't installed any apps yet.
Check to see that your SD storage is reported as the correct size corresponding with the new size of your FAT32 partition.
Now go ahead and install your apps. You will notice that the phone storage capacity does decrease as you install apps, but the next time you reboot, it should jump back up again. That's what happens on my phone anyway.
Once you are satisfied that all is well, you can connect your SD to the PC again and copy across your data to the FAT32 partition.
Another thing to note is that you don't need to format the EXT4 partition when changing ROMS. As it only stores the applications, when booting for the first time with a new APPS2SD+ supported ROM, it will automatically show up with all your apps and widgets installed. Preferences and widgets will need to be reset however.
I hope this guide helps. Thanks again to all the amazing developers here at XDA who make all this possible, as well as the wonderful community of volunteers and members who keep this show running.
If i helped you can always press thanks

You say to download gparted from here in step one, there is no link to download from.

AndHD2 said:
You say to download gparted from here in step one, there is no link to download from.
Click to expand...
Click to collapse
He allready said its copy pasted, but i am sure you know how to use Google
Thx to OP, pictures are allways welcome
Sent from my ro.product.model=Desire HD2 using XDA App

You could have simply posted teh screens in the original thread and he would have added them to his OP.
Absolutely no need to clone a topic like this.

I think this is a nice tutorial, if you don't know how to use Linux partitions etc..
The pictures will certainly help.....

im using a nand rom with data.img support
using this method i dont need to have a data.img correct?
also what advantages does this have over data.img?

Can I un-partition my SD card with GPARTED?

Hmm..i followed your guide,but i ran into these problems:
1:couldn't make it a logical partition this option was inactive,until i first created an extended partition then made a logical partition out of that one.
2:At the end of the process i had a FAT32 partition which my main one with all the space,an extended partition with 1gb and the EXT4 partition with the same 1gb from the extended one,but now my SD won't show on my phone anymore,although i could access it from my PC using a Card reader and it shows the new space for the FAT32 partition that i created. any ideas?!

HateSoul said:
Hmm..i followed your guide,but i ran into these problems:
1:couldn't make it a logical partition this option was inactive,until i first created an extended partition then made a logical partition out of that one.
2:At the end of the process i had a FAT32 partition which my main one with all the space,an extended partition with 1gb and the EXT4 partition with the same 1gb from the extended one,but now my SD won't show on my phone anymore,although i could access it from my PC using a Card reader and it shows the new space for the FAT32 partition that i created. any ideas?!
Click to expand...
Click to collapse
Same here. Now under android Total Space and Available Listed as Unavailable. Altought i can still access my fat32 partition from within Android using astro file manager.
How to confirm that i am using ext4 partition?
thanks

+1 it's the exact same for me. are you running a build that support APP2SD?
rizky_p said:
Same here. Now under android Total Space and Available Listed as Unavailable. Altought i can still access my fat32 partition from within Android using astro file manager.
How to confirm that i am using ext4 partition?
thanks
Click to expand...
Click to collapse

little13193 said:
Can I un-partition my SD card with GPARTED?
Click to expand...
Click to collapse
Yup, use step 9. as reference, right click the ext4 partition and instead of create select delete (or remove dunno never used gparted on live cd just ubunutu) then it should appear as unalocatted space, now drag the arrow so that the fat32 partition uses the whole space... other way should be to remove both partitions (fat32 and ext4) and then create a unique fat32 partition in the whole unallocated space....

HateSoul said:
+1 it's the exact same for me. are you running a build that support APP2SD?
Click to expand...
Click to collapse
I supposed it support app2sd.
Well i repartitioned my SDCard once again but this time ext4 partition is created as primary(fat32 also primary) not Extended->Logical partition. Now it shows Total and Available Space correctly instead of unavailable, but still unsure whether Android is using the ext4 parition or not.

I think we will need the OP's point of view on this,at the mean time,why don't you try installing some apps and see if the EXT4 working or not?!
Edit:Oh,and also you download Android Commander it's a Windows application,you can tell if your phone is using EXT4 or not.
rizky_p said:
I supposed it support app2sd.
Well i repartitioned my SDCard once again but this time ext4 partition is created as primary(fat32 also primary) not Extended->Logical partition. Now it shows Total and Available Space correctly instead of unavailable, but still unsure whether Android is using the ext4 parition or not.
Click to expand...
Click to collapse

This doesn't work..
I'm using win 7 x64
1:i can't "reboot from my gparted live cd"
2: if I reboot my system and select boot from cd gparted but I cannot see my sd card
What is the point of posting a guide that doesn't work....
Sent from my LG-P500 using XDA App

once booted from cd do you click the first option, default settings? and what about the key logging or whatever
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Any hopes of someone sorting out this failed guide?
How do you get the sdcard to recognize
Sent from my LG-P500 using XDA App

Will it work on gauner1986 ROM?

MysticGenius said:
This doesn't work..
I'm using win 7 x64
1:i can't "reboot from my gparted live cd"
2: if I reboot my system and select boot from cd gparted but I cannot see my sd card
What is the point of posting a guide that doesn't work....
Sent from my LG-P500 using XDA App
Click to expand...
Click to collapse
LOL, got the same system as yours, guide worked like a charm..maybe it's not guide's fault if you can't get it to work.

MysticGenius said:
Any hopes of someone sorting out this failed guide?
How do you get the sdcard to recognize
Sent from my LG-P500 using XDA App
Click to expand...
Click to collapse
The same :/ I can't get sdcard to recognize

HateSoul said:
I think we will need the OP's point of view on this,at the mean time,why don't you try installing some apps and see if the EXT4 working or not?!
Edit:Oh,and also you download Android Commander it's a Windows application,you can tell if your phone is using EXT4 or not.
Click to expand...
Click to collapse
shoot under Android Commander it doesnt use the ext partition. it is grayed out..

Related

How to partition SD Card for Desire?

Hi! all. need to know how to partition SD Card for Desire. Any tutorials i can follow?
wolvie77 said:
Hi! all. need to know how to partition SD Card for Desire. Any tutorials i can follow?
Click to expand...
Click to collapse
You can use ROM Manager from the Android Market and there's an option to Partition SD Card under utilities, just install the recovery first and it will work fine.
Also you can use AM Recovery fake-flash to avoid installing ClockworkMod Recovery, but it's easier using ROM Manager
But if you are running Linux on any computer, then you can use GParted to Partition the SD Card, ask if you want steps to use GParted
shoey-n said:
You can use ROM Manager from the Android Market and there's an option to Partition SD Card under utilities, just install the recovery first and it will work fine.
Also you can use AM Recovery fake-flash to avoid installing ClockworkMod Recovery, but it's easier using ROM Manager
But if you are running Linux on any computer, then you can use GParted to Partition the SD Card, ask if you want steps to use GParted
Click to expand...
Click to collapse
Any chance we could have the GParted steps, I tried using it for creating the partitions (FAT32 then Ext2) and no matter what I did I got a Damaged SD error upon remounting it in the Desire.
I'm starting to think my card is bad!
Not in front of Linux right now, so this is off the top of my head. I'll post in the morning clear steps (better if used in card reader not using USB toggle on device)
Backup what ever is on your card first!
In the top right corner of GParted select your device and let it search for partitions on card
Unmount all partitions by right clicking on each partition and clicking unmount
Then delete those partitions by right clicking and selecting delete
(I normally apply those changes before proceeding by clicking the green tick, to make sure the partitions have cleared)
With the unpartitioned space, firstly create your FAT32 partition by right clicking and selecting FORMAT TO then FAT32 (MAKE SURE REMAINING SPACE IS IN FOLLOWING NOT PRECEEDING) then with the remaining space create your EXT2 partition exactly the same but obviously format to EXT2 and you could even add a small 32MB linux-swap partition but it's not necessary
Then apply the changes, if everything goes successfully and you are still getting remount errors, then try reflashing your ROM or a different ROM
(I'm assuming your rooted)
If you still have no luck, then your card is bad
I just found out that Clockwork can only handle ext3 partitions - at least my version (2.0.1.4). If I create partitions using ROM Manager, it creates a ext2-partition. Only after I changed it to ext3 using linux I could mount the partition in Clockwork and perform wipes and backups.
Don't know if or what I did wrong, but it certainly didn't work for me (tried with multiple versions of clockwork and several times).
shoey-n said:
You can use ROM Manager from the Android Market and there's an option to Partition SD Card under utilities, just install the recovery first and it will work fine.
d
Click to expand...
Click to collapse
Even after doing that, everything in the rom manager is dimmed. I mean only the flash clockworkmod recovery and the reboot into recovery are highlighted. Is there somethin'g I missed?
jondalar said:
Even after doing that, everything in the rom manager is dimmed. I mean only the flash clockworkmod recovery and the reboot into recovery are highlighted. Is there somethin'g I missed?
Click to expand...
Click to collapse
is your phone rooted or not?
wolvie77 said:
Hi! all. need to know how to partition SD Card for Desire. Any tutorials i can follow?
Click to expand...
Click to collapse
Introductory Remarks:
- Ext Partition is only needed if your rom uses App2SD+ (Froyo app2sd works with basic Fat32 partition)
- Ext partitions are only visible in Linux = Windows can't see it.
- You can check if you have a working ext partition with Quick system info (in app market)
- On first reboot after partition, android will move some apps to the SD, this will take a lot of time. Some people have reported a bootloop on green HTC Screen, one reported a need to Battery pull 4 times before it finally worked), so be patient!!!!
Now the tutorials:
Easiest way is to install Rom Manager:
1) install rom manager
2) choose partition sd card
- 512mb ext
- 0 swap
3) let RM do the rest... ;-)
Another one is using Gparted:
(copied this from http://wiki.cyanogenmod.com/index.php?title=Apps2SD)
For a great Linux GUI alternative, use Linux 'GParted' a GUI based partition editor. (Designed for and found standard in the GNOME desktop environment, but can also easily be install in other desktop managers such as KDE and others.) Backup your SD card before you start ! The following steps will wipe the contents !
You can use a livecd of GParted, or use it from within Ubuntu (vid: http://www.youtube.com/watch?v=sVK-tJe8pXE&feature=related)
1) Connect your phone to your computer (or use an SD Card adapter...., in this case skip to 4))
2) Pull down the notification bar and mount the phone
3) Start Gparted
4) Gparted will search available drives. (Your phone should show up as a USB drive, and will be something like /dev/sdb1 or /dev/sdc1, etc..)
Warning: double-check you've not selected a hdd by mistake!
5) In the upper right corner, select the correct USB device for your phone. (i.e. check to make sure it is correct size for your SD card)
6) Right click on each partition and select 'unmount'
7) Right click on each partition and select 'delete'
If you know what you are doing, you can re-size the partitions and add a new 2nd partition formatted as ext2/3/4
8) Right click on the big gray bar (should say unallocated x.xx gb) and click 'new'
9) Enter configurations
Free Space preceding = 0
Create as = Primary
New size = [don't touch]
File system = fat32
Free Space Following = 512 (or whatever you want)
10) Click add
11) Right click on the big gray bar (should say unallocated x.xx gb) and click 'new'
12) Enter configurations
Free Space preceding = 0
Create as = Primary
New size = [don't touch]
File system = ext2/3/4 (recommend ext4)
Free Space Following = 0 (or ~32 if you want swap)
Click add
13) Click edit, then 'Apply All Operations' to write changes to disk
14) Quit GParted
15) Unmount your SD Card
16) Reboot your phone
This is what I've found so far, as the easiest method.
Another tutorial can be found under: http://androidcommunity.com/forums/f9/how-to-create-ext2-partition-14232/
or
http://forum.xda-developers.com/showthread.php?t=534714 this is one way to do it.
What I don't know for sure:
- If the size of the ext partition matters?
- What ROMs require ext partitions?
- If Class 6 SD cards really are that important (some webpages say that class 2 cards are not able to handle ext2 partitions and end up bricked.
- How to manage the contents in the ext partition when changing SD Cards...
- How to check if you bricked your sd card...
- etc...
Good Luck
chrysochire said:
What I don't know for sure:
- If the size of the ext partition matters?
- What ROMs require ext partitions?
- If Class 6 SD cards really are that important (some webpages say that class 2 cards are not able to handle ext2 partitions and end up bricked.
- How to manage the contents in the ext partition when changing SD Cards...
- How to check if you bricked your sd card...
- etc...
Good Luck
Click to expand...
Click to collapse
By the way, if anyone reads this, I would love to make this topic a sticky, so as to answer all questions related to SD Cards...
chrysochire said:
CUT.....
Good Luck
Click to expand...
Click to collapse
Very nice guide. Thanks soo much for this explain.
Very cleary!
hi i am using GParted to partition ext3 for use with apps2d but i have tried several times without success
after booting up the phone, i see a blank sd card.. i.e. not mounted in my Desire..
wondering what i m doing wrong,, or is there another method to do it?
From the Clockwork Mod recovery, I cant partition the sd card too.. and have also tried without any success via the ROM Manager...
Warning! Noob question ahead:
Why wouldn't you just take the new SD card, insert it into the phone without partitioning it, and let the Desire handle the whole thing?
I'm completely new to all this (rooting, custom ROMs, A2SD etc.) but have managed to successfully root my HTC Desire (using unrevoked), install OpenDesire 2.3, and partition the SD card using ROM Manager. I rebooted and my installed apps are showing as being on the SD card in Settings > Applications > Manage Applications but with different names (e.g. instead of 'Titanium Backup' it's now 'com.keramidas.TitaniumBackup') and the icon is a default black Android/SD card rather than the app icon. When I go into the launcher my installed apps aren't there and they're not listed when I try to add a shortcut to the homescreen.
Have I done something wrong? Or is there an additional step I don't know about?
Ah, it looks like I did something in the wrong order - I'd already downloaded and installed Titanium, then moved it to the SD card under Froyo A2SD, then partitioned the SD card...
I reinstalled Titanium and everything's fine.
I am still interested in that:
mysteryfr said:
Why wouldn't you just take the new SD card, insert it into the phone without partitioning it, and let the Desire handle the whole thing?
Click to expand...
Click to collapse
Hi Guys,
I need some serious help. I have rooted the desire, flashed to leedroid 1.4c rom, but have been left with no SD Card and now I am trying to mount the sd card in the desire as it no longer recognises it...
i can have rom manager loaded but it can't see the sd card..
i dont have A2SD or partitions on the sd card, i can put the card in the laptop and write to it..problem is i am on a windows lappy so no linux..i know i can make a live cd but i'm not up to that..i dont think..
is there a guide i can have to get the sd card mounted on the desire running windows...i have got android sdk on the pc but i have nfi how to use that either...
all help appreciated...
XClemX Try this: (hopefully you've backed up your SD card to your PC!)
go to Settings, Sd & Phone storage,
click on format SC card.
That should get your card recognised.
Thanks Depaor,
The SD card isn't seen in that either...i'm attempting to make a gold card now to see if i can get it to work that way...fingers crossed...
is your card visible from card reader on pc, or from other phone?
If it is, just format it in FAT32 on your pc, and it will be fine... also, always check if phone is in "charge only" mode before disconnecting usb...
Will a non-rooted Android phone read a card formatted as ext3 or ext4? Just curious.

[GUIDE]How to format your SD Card in Windows for use with A2SD

How to format your SD Card in Windows for use with A2SD
So without using any pmagic/gparted.iso or whatsoever​
Since we have different guides around now about how to format your SD card via a bootable image i thought it might be handy to have a guide about how to format your SD card in Windows ​
The things you need:
SD Card
Android A2SD+ rom
Paragon Partition Manager DOWNLOAD HERE , Easus DOWNLOAD HERE ( Or any other Partition Software )
In this guide i will use Paragon Partition Manager, but it will probably work 99% the same with other partition software
Step 1:
Format your SD Card as FAT32 ( no Quick Format ) and boot up your phone. ( Android will now put some default files on it.. Don't delete these files
Step 2:
Put the SD card in your PC's cardreader or reboot your phone into MAGLDR and pick option 3. USB MassStg
Open up your partition software ( in this case Paragon Partition manager )
Step 3:
You will notice that you will see your SD card as probably 1 FAT32 Partition.
Click the right mouse button on your SD card's FAT32 partition and click Move/Resize Partition
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Step 4:
Now move the the Partition's Size from right to left until you get the "Unallocated space" you want for your Apps..
If you don't understand what i mean you can do this since it's easier/quicker: In the box "Please specify size of free space after the partition" enter the amount of space (MB) you would like to have for your Apps. ( 1024MB (1GB) should be enough for most users )
IMPORTANT: Make sure you put this in the box that says After the Partition and not Before the partition and then it will look similiar to the image below:
Step 5:
Now you will notice you will have 1 FAT32 partition and 1 "Unallocated" partition..
Right click on this "Unallocated" partition and click Create Partition
A new window will open.
In this window you can define what kind of partition you want to create. Make sure it will look similiar to the image below (Size may differ)
Step 5 Notes:
So what are these options?
Create new partition as: Here you can pick if you want to create a Primary, Extended or Logical partition. In this case we need a Primary partition
Please specify new partition size: Here you can put in the amount of space you want the partition to be. Make sure this is set to the maximum amount. ( in this case 1019MB )
Please select file system for new partition: Here you can pick the file system for the partition. (FAT32/NTFS etc. etc.) In this case we need a 'Linux Ext 2' partition. ( Some roms have problems with Ext 3/Ext 4 partitions )
Step 6:
Now you have to click the
button in the menu and your partition(s) will be created.
When this is done you can put back your SD card into your phone ( or quit USB Mass Storage mode in MAGLDR ) and reboot your phone.
From now on you will notice you have a acceptable amount of free space on your phone.
If you install apps to your phone you will notice your phone's storage won't decrease
If your phone's storage does decrease when installing apps just reboot your phone and it should be fine by then
I hope this is clear to everybody and if there any questions just reply and i will reply you back a.s.a.p.
If this guide has helped you please click the Thanks button
But what is the best option??? ext2,3 or 4?
I have a ext4 partition, with gparted.... but i dont know if it is really better ....
After that, i have installed the clockwork, installed zip build, but stopped in logo and never worked.... and i dont know if the cause is my ext4 partition ....
I have the mdj froyo revo with a2sd+ (not clockwork) working perfect...
Thanks.
ainidmor said:
But what is the best option??? ext2,3 or 4?
I have a ext4 partition, with gparted.... but i dont know if it is really better ....
After that, i have installed the clockwork, installed zip build, but stopped in logo and never worked.... and i dont know if the cause is my ext4 partition ....
I have the mdj froyo revo with a2sd+ (not clockwork) working perfect...
Thanks.
Click to expand...
Click to collapse
As mentioned in Step 5 Notes:
Here you can pick the file system for the partition. (FAT32/NTFS etc. etc.) In this case we need a 'Linux Ext 2' partition. ( Some roms have problems with Ext 3/Ext 4 partitions )
Click to expand...
Click to collapse
nice guide, easy to follow.
IMO ext2/3 is the best, as they are supported by alot of roms.
Samdeath said:
nice guide, easy to follow.
IMO ext2/3 is the best, as they are supported by alot of roms.
Click to expand...
Click to collapse
True,
but personally i prefer ext2 since i haven't had any problems with ext2 and with ext3 i had a few problems..
where is download iParagon Partition Manager
cimbom said:
where is download iParagon Partition Manager
Click to expand...
Click to collapse
http://lmgtfy.com/?q=paragon+partition+manager
cimbom said:
where is download iParagon Partition Manager
Click to expand...
Click to collapse
I have added a download link to the first post but i haven't tested the Free version.. i use Pro version myself..
If you (or anyone) can test the free version and let me know if it works fine
bobjbain said:
http://lmgtfy.com/?q=paragon+partition+manager
Click to expand...
Click to collapse
Hehehe, nice one
Used Mini tool partition have now got two drives on SD but cannot access the primary ??? Bit of a noob question but is this normal
Hi,
befor i did follow this i had 8gb sd card but now i have only 1gb my question is how can i go backt to 8gb?
thx.
te5ir said:
Hi,
befor i did follow this i had 8gb sd card but now i have only 1gb my question is how can i go backt to 8gb?
thx.
Click to expand...
Click to collapse
You probably went wrong at Step 4 with resizing the partition...
You now have 1GB Fat32 and the rest Unallocated/EXT2 i suppose?
To change this you have to resize the Unallocated/EXT2 partition to 1GB or whatever size you want it to be and after that you can resize your FAT32 partition to the maximum size.
Andrew Symington said:
Used Mini tool partition have now got two drives on SD but cannot access the primary ??? Bit of a noob question but is this normal
Click to expand...
Click to collapse
How do you mean you cannot access it?
On your phone?
In windows?
Please be more specific please
Paragon Partition Manager not see fat32 in sdcard I dont understand help
cimbom said:
Paragon Partition Manager not see fat32 in sdcard I dont understand help
Click to expand...
Click to collapse
Does it see your Sd-card at all?
cimbom said:
Paragon Partition Manager not see fat32 in sdcard I dont understand help
Click to expand...
Click to collapse
Same problem here! It sees my card but it says not formatted and i can't format it in paragon.
Maybe because it's the free edition?
My ntfs windows partition is recognized correct!
victoryo said:
Same problem here! It sees my card but it says not formatted and i can't format it in paragon.
Maybe because it's the free edition?
My ntfs windows partition is recognized correct!
Click to expand...
Click to collapse
In the free version you can only format virtual disks..
How do I know if I have successfully partitioned the SD card? I followed the steps but I don't think it is working. I rebooted the phone, installed new apps, then I used ES File Explorer to browse the content of my SD card. I don't see any folder in there with all my apps installed.
Error D:
Upon trying to use paragon, I get this, "Could not find any adjacent paritions to with on this hard drive" Help.. O:
mrnoodles said:
Upon trying to use paragon, I get this, "Could not find any adjacent paritions to with on this hard drive" Help.. O:[/QUOTE
Launch Paragon and look below and you'll see something like "Full launch or something".
Click on it and you'll have full overview in the program and from there you'll be able to do whatever.
Click to expand...
Click to collapse

[TUTORIAL][Link2SD][ROOT]Updated! How to prep your SD card for it...Windoze Style

Rather than recreate the wheel...
Here is the developer's thread on Link2SD
Read it thoroughly!!!
Here are some links on Ext2, Ext3 and Ext4 file systems and why Ext 4 is preferable over Ext2 if you can do it with your ROM's kernel.
Ext2
Ext3
Ext4
Here's a debate over which to use. You be the judge and go with what makes sense for you.
What I'm going to take you through is creating the second partition on your SD card to be able to use it. We are going to use Minitool Partition Wizard Pro Home Edition (Freeware) to do this on a Windows machine.
There are other ways to do this including Linux, from recovery, etc, but this is a free and simple method that DOES NOT LOSE YOUR EXISTING SD CARD DATA!!!
First things first!
Repeat after me...
1/ I have a stock kernel in my ROM. My ROM only supports FAT32 and Ext2 for the second partition and I will not format it Ext4 and then come asking why it's not mounting correctly! I will format it Ext2 for best performance.
2/ I am not S-OFF or HTCDev unlocked AND rooted. I will NOT come asking if this will work or WHY it's not working at all!
3/ I WILL NOT TRY MOUNTING MY PHONE AS A HARD DRIVE TO DO THIS. I WIL READ THE INSTRUCTIONS AND USE A CARD READER!
So the prerequisites are:
1/ HTC Dev Unlocked OR S-OFF
2/ Permanently rooted
3/ A windows machine with Minitool Partition Wizard Pro Home Edition (Freeware) Installed or Hirens Boot CD which has a bootable windows version with PWPH installed on it.
4/ An SD card appropriate for the job. The faster the better! For 16 and 32 GB I really do recommend splurging on the Class 10...
Steps:
1/ Boot up your Hirens or Windows machine
2/ Make sure that Show Hidden Files and Folders is ON so you can see some of the hidden folders present on an android system's SD card
3/ Insert your Micro SD card into a reader and attach it to the computer
4/ Make a folder on your computer and back up your entire SD card's main partition to it including hidden files and folders JUST TO BE SAFE. (Remember if you do this right you won't have to lose your card's contents, unlike the recovery method.
5/ Install Partition Wizard Pro Home Edition or check that its on your Hiren's bootable windows cd
6/ Run Partition Wizard Home Edition.
7/ Look for your SD card along the bottom and identify your FAT32 Partition
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
8/ Right click on it and choose "Move/Resize Partition"
9/ Use the down arrow in the middle field "Partition Size:" to change the value and consequently the value of the "Free Space After: field as well until you have created around 1027 MB of free space. *Warning - Do not create free space before the first primary FAT32 partition!!! If you do discard changes and start over!
10/ Click "OK"
http://dl.xda-developers.com/attachdl/97c7411fd1fdf03bee85f54f0203ebd8/4f4cec58/8/4/5/7/6/5/Shot_1_Resizing_FAT32.PNG/IMG]
11/ Identify the new unallocated space on the drive map.
[IMG]http://dl.xda-developers.com/attachdl/a02e4cb4e27a14095eaa8347118e31e7/4f4cec81/8/4/5/7/6/6/Shot_1_Basic_FAT32_and_unallocated_space.jpg
12/ Right click on it and choose "Create"
13/ When you get the warning about the partition not being able to be used in Windows click "Yes" to continue
14/ Choose Ext2, Ext3 or Ext4 for partition type based on whether your kernel supports Ext4. If it does choose it! If you don't know choose Ext2 to be safe. I would avoid Ext3 unless you have to. 2 or 4 are preferred
*NOTE!!! You cannot resize an Ext partition after you make it. You can only move it around so choose your size wisely! I find a GB to be plenty and I have 150+ linked apps with 360 MB free on SD card partition 2 but you can have up to 2 GB.
15/ Make sure it is a primary not a logical partition
16/ Name it if you want.
17/ Click "OK" to continue
18/ Click the BIG "Apply" button in the top left of the window
19/ Choose "Yes" to continue from the pop up
20/ Let it do it's work.
Congratulations! Step 1 Complete!
Now to step 2:
1/ Eject and place your SD card back into your phone
2/ Boot up your phone
3/ Install Link2SD from the Android Market
4/ Run it
5/ On first run it will ask you the type of partition your second SD card partition is. Choose Ext2 or Ext4 depending on which you made it.
6/ Follow the directions to reboot your phone
Congratulations! Link2SD is now working on your phone!
When you click the menu button in Link2SD and choose "Storage Info" you should see three memory spaces. Internal, SD Card, and SD Card 2nd Part.
At this point I recommend you Menu click and go to Settings and choose "Autolink" to automatically link programs (.APK), dalvik cache files (.DEX) and library files (libs) to your SD Card 2'nd partition when a new program is installed.
Now for some strategy!
You say, "I've got all this external space! Why bother putting any programs on the internal space?"
Well...SPEED MAN! SPEED!
I keep Launchers, Widgets, Background processes like Titanium Backup, etc, on the internal as space allows to allow for speed when booting. The internal memory is faster than your SD card and keeping these programs here helps a lot in speeding up your boot time. This is an option with Link2SD that you DON'T have with Data2SD or Data2Whatever!
You can also keep commonly accessed programs like Tapatalk for example, on this internal fast memory.
You can also mass move by multi selecting, several programs to and from either internal, SD card, or SD card second partition. Ideal for your initial move to your new second partition of your apps pre-installed prior to link2sd.
People wanted instructions for a third swap so see post two for additional steps.
Troubleshooting:
*If you have issues with your primary SD card partition not working right or perhaps you decided to wipe the whole card and create them both/or all three from scratch, remember that this FAT32 partition 1 has to be set ACTIVE and all partitions have to be primary not logical.
*If you cannot mount Ext2 or Ext4 make the second partition FAT32. It will work for all Wildfire S Models and all ROM's. Try the others first as they are preferred for performance and stability.
*If you don't have a card reader it's been reported that you can use your phone in hard drive mode to achieve the same thing, followed by a reboot but I have heard many cases where this causes troubles so I personally don't recommend it but hey. You gotta do what you gotta do.
*Some users are reporting with MarvelC's that they needed to use Ext3 so I have updated the tutorial to reflect this.
*If you don't immediately see a change in internal memory after linking apps relax. It will show up. Sometimes it just is a little delayed.
That's pretty much it for now.
Enjoy and if this tutorial helped you or you like it, please click "THANKS"!
Add On's and FAQ's
Adding in a Linux Swap If Wanted, Supported, and Needed:
Personally I don't see the use for it but hey. Sometimes people want the kitchen sink included as well right?
1/ Increase your unallocated space in the FAT32 resize to around 1550 MB
2/ Right click on the unallocated space and make your Ext2/Ext4 partition of around 1027 MB
3/ Right click on the remaining unallocated space at the end of the drive and choose Linux swap for partition type. Again make sure it's a Primary and not a Logical parition!
Apply.
Have fun...(And click thanks!
How would I know which partition my kernel supports? I'm using alquez's CM7.
i wana do the partitions for this
but this topic said u need "3rd-Linux Swap - mine is 512MB" its a 3rd partitio? or how shall i do this? or the 3rd partition is not necessary?and just stay relax, make my sd card as d33ps1x wrote in this thread, and i can easily install that linked ROM with 800mhz processor?
bingzz said:
How would I know which partition my kernel supports? I'm using alquez's CM7.
Click to expand...
Click to collapse
+1 same
i got cm7 but link2sd didnt work should i flash kernel or something like that
hanynemesis said:
+1 same
i got cm7 but link2sd didnt work should i flash kernel or something like that
Click to expand...
Click to collapse
I used the ext2 partition and it worked fine for me, I'd recommend that for you too.
bingzz said:
I used the ext2 partition and it worked fine for me, I'd recommend that for you too.
Click to expand...
Click to collapse
so after create ex2 partition setup link2sd and choose ex2 and all ok ?
Used ext4 for alquez' cm7.
Ext4 is fine for CM7. Recommended. Just make sure you choose it when you first run Link2SD.
I am using it without issues.
Regards,
DS
szuladam said:
i wana do the partitions for this
but this topic said u need "3rd-Linux Swap - mine is 512MB" its a 3rd partitio? or how shall i do this? or the 3rd partition is not necessary?and just stay relax, make my sd card as d33ps1x wrote in this thread, and i can easily install that linked ROM with 800mhz processor?
Click to expand...
Click to collapse
You don't NEED a linux swap but just add into the equation
1/ Created 1.5 gb of free space
2/ Create second Ext4 partition
3 Create linux swap partition with remainder of space at end of disk.
szuladam said:
i wana do the partitions for this
but this topic said u need "3rd-Linux Swap - mine is 512MB" its a 3rd partitio? or how shall i do this? or the 3rd partition is not necessary?and just stay relax, make my sd card as d33ps1x wrote in this thread, and i can easily install that linked ROM with 800mhz processor?
Click to expand...
Click to collapse
Here you go...Instructions for swap.
d33ps1x said:
At this point I recommend you Menu click and go to Settings and choose "Autolink" to automatically link program, dalvik and libs to your SD Card 2'nd partition when a new program is installed.
Click to expand...
Click to collapse
Suggestion (since this is so noob-friendly otherwise): Instead of mentioninf dalvik, refer to .dex files, synonymous in this context (at least my version of link2sd refers to apk, dex and lib files)
Regards,
Rich
rkleinhenz said:
Suggestion (since this is so noob-friendly otherwise): Instead of mentioninf dalvik, refer to .dex files, synonymous in this context (at least my version of link2sd refers to apk, dex and lib files)
Regards,
Rich
Click to expand...
Click to collapse
Appreciate the constructive input. Will do.
OK guys i followed all steps and after setup link2sd and open it it ask for permission sure i press ok and choose ex4 partition type then got this error
Mount script error
mount script cannot be created
mount:mounting/dev/block/vold/179:2on /data/sdex2
failed :device or resource busy.
of-course i have ex4 partition after my fat partition both are primary and the fat one is active my memory is 2 GB
tried to restard and try again same error so what i had done wrong ?
hanynemesis said:
OK guys i followed all steps and after setup link2sd and open it it ask for permission sure i press ok and choose ex4 partition type then got this error
Mount script error
mount script cannot be created
mount:mounting/dev/block/vold/179:2on /data/sdex2
failed :device or resource busy.
of-course i have ex4 partition after my fat partition both are primary and the fat one is active my memory is 2 GB
tried to restard and try again same error so what i had done wrong ?
Click to expand...
Click to collapse
Hmm............Does your primary SD partition still function right?
Did this but was stuck on cm7 boot screen after a reboot.
*se-nsei. said:
Did this but was stuck on cm7 boot screen after a reboot.
Click to expand...
Click to collapse
Wipe Cache and Dalvik cache and try reboot again.
d33ps1x said:
You don't NEED a linux swap but just add into the equation
1/ Created 1.5 gb of free space
2/ Create second Ext4 partition
3 Create linux swap partition with remainder of space at end of disk.
Click to expand...
Click to collapse
thx for help. so actualy the linux swap patition it not necessary. than what for?
without it that rom wont work? (the apps will go to ext4 partition, so what goes for 3rd one?)
or does is have any advantage/disadvantage?
(this questions apply only for HTC WFS ofc)
szuladam said:
thx for help. so actualy the linux swap patition it not necessary. than what for?
without it that rom wont work? (the apps will go to ext4 partition, so what goes for 3rd one?)
or does is have any advantage/disadvantage?
(this questions apply only for HTC WFS ofc)
Click to expand...
Click to collapse
It's what it says it is. Memory swap space.
It swaps out rarely used memory pages to the swap to make room for immediate use of active ones.
If your ROM kernel supports it give it a go with and without and see if you notice performance gains in your everyday use.
Google will provide you with lots of info on what a linux swap partition is and it's benefits/detriments.
d33ps1x said:
Wipe Cache and Dalvik cache and try reboot again.
Click to expand...
Click to collapse
Thank you. Great tutorial btw. One question - what would you recommend that I keep on the SD card to avoid boot problems?

[GUIDE] Link2SD for Dummies | Samsung Galaxy Young

Link2SD for Dummies | Samsung Galaxy Young
NOTE:
I spent hours updating my guides and I don't ask you to press that THANKS button, be kind enough not to copy my guides to other forums. I know some noobs want to make a name on other forum boards... but hey, that's not an excuse! ​ UPDATES:
05-26-2012
Added screenshots
Added list of compatible ROMS
Corrected some typos
REQUIREMENTS:
Link2SD [DOWNLOAD]
Rooted Samsung Galaxy Young
ROM that supports Link2SD
SD Card with 2 partitions(FAT/FAT32 | EXT2/EXT3/EXT4)
Tested On:STOCK:
S5360_DXLC1_OLBLA1_DXLC1
Custom ROMS:
ChobitsDigitalis Legacy v1.6 and v1.8
Link2SD Guide for Samsung Galaxy Young
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
INITIAL SETUP
1. Download Link2SD from Google Play Store (previously Android Market)
2. Root your phone (if not rooted)
Verify that you have Custom ROM that supports Link2SD ROMS that support Link2SD (tested by me)
ChobitsDigitalis v1 to v1.6 Update (The best ROM for SGY to date) | (Android Development Section)
Hybrid ROM (Android Development Section)
3. Partition your SD Card. (preferably via MiniTool Partition Wizard 7 or up) for SD cards 2GB or LowerPartition 1:
Label: Android-SD
File System: FAT
Partition Size(in MB): 1536 MB (1.5GB for 2GB SD Cards) or 836MB (for 1GB SD Cards)
Partition 2:
Label: Android-EXT(EXT Number): Ex. Android-EXT2/EXT3 or EXT4
File System: EXT3 (preferable file system)​NOTE:
EXT2 is old, EXT4 is the fastest among 3 but not compatible in all ROMS and often requires kernel that supports EXT4, so go for EXT3, fast and mounts on most ROMS.
For SD Cards 4GB and up, IT IS ADVISED NOT TO SET EXT PARTITION SIZE MORE THAN 1GB.
4. Install Link2SD
5. Open Link to SD and select the appropriate file system of your second partition and the tap on OK.
6. Link2SD will require you to restart your phone, do it after step 7.
7. To make sure everything is working fine take a note of your current storage information by tapping on Menu > Storage Info then restart afterwards.
8. After reboot, open Link2SD and filter applist to show User Apps by tapping on the funnel icon and then select User.​MOVING APPS TO SECOND PARTITION
9. To move an app to SD's second partition, tap an application and then tap on Create Link. Follow the guideline below:For Applications (Root Apps/Games/Normal Apps), put a check on the following:
Link application file (the .apk file itself)
Link dalvik-cache file
Link library file (if an app have lib files)
For Widgets/Live Wallpapers installed on SD Card by default:
Link application file (the .apk file itself)
Link dalvik-cache file
Link library file (if an app have lib files)
NOTE:
Moving an application to Strage Card will move the app on your 1st partition not the second partition which is not good as it will eat up free space for your media files.​
DELETING BLOATWARES
10. To delete a bloat system app, filter applist to show System Apps by tapping on the funnel icon and then select System.
11. Tap an application the tap on Actions and select Uninstall from the popup menu.
12. If you know what you're doing (deleting bloat system apps), you simply ignore the warning.NOTE:
Do not delete OEM Apps (Ex. Samsung Apps for Samsung Phones) as it may cause you problems if the app you deleted is required by your phone to perform some functions.​
LINKING DALVIK-CACHE FILES
13. Do this to save more space on your phone's internal memory. Tap on Menu > More > Link dalvik-cache file from the popup menu.​
Great Guide!
Its easy to understand and great formated =)
Thank your for making this Guide
OR
[LINK][GUIDE]Link2SD
CleZZiX said:
Great Guide!
Its easy to understand and great formated =)
Thank your for making this Guide
Click to expand...
Click to collapse
I had a hard time following other guides and when I finally able to make it work on my SGY I decided to create a simpler guide to help other.
I have a tablet that has 250mb for system 7GB extra as internal memory (formated FAT32) and a SD card slot outside.
I partitioned the internal memory (internal SD card). The first partition (with 6Gb) I set primary/FAT32 and the second with 1Gb EXT2/primary.
I wish the Link2SD save apps on the second partition of the internal SD card. I wanted to keep my external SD card without partitioning.
Why I want to do this? Using the internal partition of 7GB is very annoying because it is very slow at USB transfer, and hardly use it. So instead of wasting space partition and my external SD card, I wanted to partition the internal SD card and also wanted the Link2SD utilizasse this internal SD card for apps.
Is this possible?
If this is not possible, I can unify the system partition with the 7Gb's partition, leaving the system with about 8GB of space?
after I linked a widget, it doesn't show up anymore..
ianczarina said:
after I linked a widget, it doesn't show up anymore..
Click to expand...
Click to collapse
just put again the widget..
tutabeier said:
I have a tablet that has 250mb for system 7GB extra as internal memory (formated FAT32) and a SD card slot outside.
I partitioned the internal memory (internal SD card). The first partition (with 6Gb) I set primary/FAT32 and the second with 1Gb EXT2/primary.
I wish the Link2SD save apps on the second partition of the internal SD card. I wanted to keep my external SD card without partitioning.
Why I want to do this? Using the internal partition of 7GB is very annoying because it is very slow at USB transfer, and hardly use it. So instead of wasting space partition and my external SD card, I wanted to partition the internal SD card and also wanted the Link2SD utilizasse this internal SD card for apps.
Is this possible?
If this is not possible, I can unify the system partition with the 7Gb's partition, leaving the system with about 8GB of space?
Click to expand...
Click to collapse
That is possible. But as for the configuration or any requirement to make it work on your tablet, that I don't know. As you mentioned you have to SD Cards, right? An internal and external + the 250mb internal memory. Am I correct?
If you want to use your internal sd card, you can format it to EXT2, EXT3 or EXT4. FAT32 is supported by Link2SD but EXT partition is the native partition for Linux which Android OS is using.
After you format your internal sd card to EXT, tap on Menu> More> Recreate Mount Scripts and the choose the appropriate file system for your internal sd.
One thing I am not sure of is... If link2sd would be able to detect the correct sd card for mounting. If you format your internal sd to EXT file system, then you have a big chance that link2sd will read your internal sd as the right as card for mounting.
NOTE:
It is advisable that 2nd partition should not go over 1Gb, but you can experiment with higher values and let us know if it works.
Sent from my GT-S5360 using xda premium
CarlDeanCatabay said:
That is possible. But as for the configuration or any requirement to make it work on your tablet, that I don't know. As you mentioned you have to SD Cards, right? An internal and external + the 250mb internal memory. Am I correct?
Click to expand...
Click to collapse
Yeah. I'm not sure if it's a SD inside the tablet or a chip.
But I access the internal memory through the /sdcard folder. And the "really external" SD card is accessed through the /sdcard/tflash folder.
CarlDeanCatabay said:
If you want to use your internal sd card, you can format it to EXT2, EXT3 or EXT4. FAT32 is supported by Link2SD but EXT partition is the native partition for Linux which Android OS is using.
After you format your internal sd card to EXT, tap on Menu> More> Recreate Mount Scripts and the choose the appropriate file system for your internal sd.
One thing I am not sure of is... If link2sd would be able to detect the correct sd card for mounting. If you format your internal sd to EXT file system, then you have a big chance that link2sd will read your internal sd as the right as card for mounting.
NOTE:
It is advisable that 2nd partition should not go over 1Gb, but you can experiment with higher values and let us know if it works.
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
I try it. I partitioned the "internal" sd card. The first partition was FAT32/primary and the second partition was EXT2/primary. But Link2SD don't find this second partition. Even if I formated in FAT32/primary, EXT3/primary etc...
Greaat Guide........ its really helping me thanks for it my friend...
Sent from my GT-S6102 using xda premium
tutabeier said:
Yeah. I'm not sure if it's a SD inside the tablet or a chip.
But I access the internal memory through the /sdcard folder. And the "really external" SD card is accessed through the /sdcard/tflash folder.
I try it. I partitioned the "internal" sd card. The first partition was FAT32/primary and the second partition was EXT2/primary. But Link2SD don't find this second partition. Even if I formated in FAT32/primary, EXT3/primary etc...
Click to expand...
Click to collapse
Hhhhmmmm. . . can you please try to install Script Manager from Play Store and then set the link2sd mount script to run on boot and see if that will fix the problem.
hello, i just recently bought this device, and also bought a 32 GB micro SD,
can anyone recommend me the best partitions sizes for the two partitions???
I was thinking to do this:
1st Partition, Primary, Fat32, 30 GB
2nd Partition, primary, Fat32, 2 GB
thx for ur help
Although i got a big partition and link2sd script was mounted, still, i got my internal memory clattered with installation files and therefore i am getting a warning of internal memory full.
I'm gonna try app2sd by sir darktremor and see if it will handle all my apps well.
Though link to sd is really easy to configure.
Laggan said:
hello, i just recently bought this device, and also bought a 32 GB micro SD,
can anyone recommend me the best partitions sizes for the two partitions???
I was thinking to do this:
1st Partition, Primary, Fat32, 30 GB
2nd Partition, primary, Fat32, 2 GB
thx for ur help
Click to expand...
Click to collapse
SGY can only read 1 primary FAT/FAT32 partition. Your 2nd partition should be an EXT2 or EXT3 partition.
So... 2nd partition should be EXT2 or EXT3. Don't use EXT4 or FAT32.
Sent from my GT-S5360 using xda premium
duking said:
Although i got a big partition and link2sd script was mounted, still, i got my internal memory clattered with installation files and therefore i am getting a warning of internal memory full.
I'm gonna try app2sd by sir darktremor and see if it will handle all my apps well.
Though link to sd is really easy to configure.
Click to expand...
Click to collapse
That is a good idea as app2sd moves all apps to 2nd partition. Let it do the magic.
Sent from my GT-S5360 using xda premium
great guide ............
Sent from my GT-S6102 using xda premium
CarlDeanCatabay said:
SGY can only read 1 primary FAT/FAT32 partition. Your 2nd partition should be an EXT2 or EXT3 partition.
So... 2nd partition should be EXT2 or EXT3. Don't use EXT4 or FAT32.
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
Another question.
As i said, i'm gonna do this with a 32 Gb Micro Sd, can I give to the ext3 partition moren than 2 GB????, and wchich is better for 1st partition, FAT or FAT32???
thx
Laggan said:
Another question.
As i said, i'm gonna do this with a 32 Gb Micro Sd, can I give to the ext3 partition moren than 2 GB????, and wchich is better for 1st partition, FAT or FAT32???
thx
Click to expand...
Click to collapse
Yes you can, but it is advisable to have 1024MB or 1GB solid for EXT since larger partition means longer access time (has something to do with partition cluster per second read/write speed and which affects application launch speed) -I may not be so sure about that. LOL
As per FAT vs FAT32... FAT32 is advisable for 4GB cards and up.
FAT32 supports 4GB max file size and FAT supports 2GB max file size only. We don't want to go deep into the technicalities of SD Cards as I may create a thread regarding SD Cards, Batteries and other stuff as an addition to my guide.
me gtng mount script error while using link2sd...follwd the exact step usd ext3 partion 4 secondary...it shws mount script error....invalid argument.
rahul_cm said:
me gtng mount script error while using link2sd...follwd the exact step usd ext3 partion 4 secondary...it shws mount script error....invalid argument.
Click to expand...
Click to collapse
For errors like this, please download and install the latest version of busybox. Then after installing, re-create the mount scripts by tapping menu > more > re-create mount scripts.
Please do reply if the above workaround helped and also please post the exact error so I can create a quick troubleshooting guide so other could benefit from it.

[TUTORIAL] Partitioning your sd-card correctly

Correctly partition your sd-card for extended memory use​
Many users on this forum don't know how to partition their sd-cards correctly, resulting in later problems with ROMs, like lag issues, or data losses. This guide will help you partition your sd-card correctly.
There are several potential partitions where app-data can be installed to, usually the internal memory-partition is used for that. Unfortunately, the Desire's internal memory if only 147mb in size, and can only be increased by a maximum of 100mb with a hboot change. With apps increasing in size in the last few years, and devs not caring anymore about their app size, this small internal memory can't hold more than 10-20 relatively small apps.
Since Android 2.2 Froyo, users have been able to move part of the apps on the sd-card, but it's still not enough, with most of the data and dalvik cache filling up the internal memory. Therefore most custom ROMs incorporate an extension that allow additional partition on the sd-card to be used exclusively as an extension to the internal memory partition 'data', which is referrred to as 'sd-ext'.
----------------WARNING----------------
Everything on your sd-card will be wiped. Backup your sd-card before proceeding.
I do not take responsibility for anything that happens with your phone/ sd-card.
----------------INFO----------------
There are two methods to correctly create an ext partition on your sd-card. These are:
- 4ext Recovery method
This method requires you to be S-OFF, but it's the easiest one.
-Gparted method
This can be done, regardless of being S-OFF or not.
These two methods are the best ones to use. Other means could result in sd-card damaging, or other problems. Do not use:
ROM Manager, CWM Recovery, Windows Minitool Partition Wizard etc.
All you need for this process:
A 4ext recovery compatible phone ( for the 4ext method)
A Micro Sd-card.
A computer.
A writable CD (For Gparted Method)
A rom with init.d scripts support.
A brain.
----------------4ext Method----------------
This method consists in flashing a new recovery on your phone, and it requires you to be S-OFF.
If you aren't S-OFF, check this out:
http://forum.xda-developers.com/showthread.php?t=805811
Now. let's start.
[1] For Rooted ROMs
1. Go here: http://4ext.net/
2. Click on "4EXT Recovery Updater" and download the .apk.
3. Put the .apk on your sd-card.
4. Install the app, and open it.
5. Select "Online Install | upgrade". Confirm your phone model.
6. Select the latest "Touch" recovery, or "Classic", depending on your preferences.
Skip to [4]
[2] For ROMs that are not rooted (PB99IMG)
1. Go to this thread :http://forum.xda-developers.com/showthread.php?t=1751258
2. Download the file: PB99IMG.zip
3. Place the file on the root of your sd-card (like... not in any folder)
4. Power off your phone
5. Boot in hboot (Power Down + Volume Down) or, if Vol Down is broken, in fastboot (Power Button + Back button) and select
"Bootloader".
6. Wait until a message appeares. Select yes.
Skip to [4]
[3] For ROMs that are not rooted (Fastboot)
This requires you to have ADB and Fastboot installed. Check out this guide : Long link
1. Download the PB99IMG from this thread :http://forum.xda-developers.com/showthread.php?t=1751258
2. Extract the .img from inside the zip.
3. Put it on the the C:/ drive.
4. Boot your phone in fastboot (Power + Back button), then connect it to your PC.
5. Open CMD
6. Type "fastboot flash recovery C:/recovery.img"
Go to step [4]
[4] Partitioning your sd-card through recovery.
Now, you have installed 4ext recovery. We can continue.
1. Boot in recovery. (Power + Volume Down, then select "recovery")
2. Select "Tools".
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
3. Select "partition sd-card"
4. Select "Remove all partitions and start from scratch" (Hope you backed up your sd-card)
5. Select your sd-ext partition size. Recommended : minimum 512mb.
6. Skip sd-ext 2 (If asked for it)
7. Skip swap. (If the rom you want to install requires swap, then select 128 mb)
8. Choose Ext4 as your partition type. (Ext4 is faster than Ext3)
Voila, now you have an ext partition.
Skip to "Using the ext partition".
----------------Gparted Method----------------
1. Download gparted Live CD (.iso) from here: http://gparted.sourceforge.net/download.php
2. Once downloaded, burn it on a CD using a burning software.
3. Connect your phone to your PC, and select "Hard Disk" mode.
3. Restart your computer and enter boot menu (usually by pressing F2/F12)
4. In boot menu change the boot order to bring your CD drive on the top, save settings and exit.
5. Restart your computer. You will get some options. Select the one that says to boot Gparted, or something like that.
6. Select your language by entering a given number.
7. You will next have 3 options. Type 0 and hit enter.
8. Now you should be booted in Gparted. You should see your sd-card info, together with your PC's partitions. Select your sd-card.
9. After selecting, you can see your sd-card on the main screen, along with partitions. Delete all partitions, for a clean start.
10. Right click on the "Unallocated space", and click "New"
11. A box will appear. First, create a Fat32 partition. Click the drop down box and select "Fat32". Now write in the "Free space following" box the size of your future ext partition, and, if the ROM you want to install requires a swap partition, add 30 mb to that value. (Example: 1024mb+30mb= 1054mb)
*In order for especially windows-systems being able to mount your sd-card when connecting your device to a pc, sd-ext should be following your first sd-card partition (typically Fat32). Like... create the Fat32 partition first.
12. Now you'll see 2 partitions. Right click on the unallocated one again, write 30mb in the "Free space following" box, then select what kind of partition you would like between Ext 2,3 or 4 ( 4 recommended).
13. Now, right click on the unallocated 30 mb, and create a "Linux swap" partition, just in case.(Optional, only of ROM requires swap)
14. Click "Apply".
15. On the top left of your screen you can see an icon named as exit/turn off, click on it. You now finished partitioning.
Video for better understanding:
And yes, now you may copy back your stuff. (Again, hope you backed up)
----------------Using the Ext partition----------------
After creating an ext partition, you have to actually use it. Most ROMs have a2sd scripts incorporated that use your ext automatically (check the ROM thread), but some ROMs don't, or you just want another type of a2sd scripts.
You can use the following a2sd scripts:
Mounts2sd app (Easiest method, kids!)
https://play.google.com/store/apps/details?id=com.spazedog.mounts2sd&hl=en
Mounts2sd script
This is a script that lets you choose what you move to sd-ext.
http://forum.xda-developers.com/showthread.php?t=1342387
CronMod
Another set of scripts. Each one has a description. Read it carefully.
http://forum.xda-developers.com/showthread.php?t=1716124
Before flashing any scripts, remember to:
Do a nandroid backup
Delete any other a2sd scripts from the folder : /system/etc/init.d
Wipe cache and dalvik cache after installing a script.
Tip:
Unless you have a fast sd-card (Class 6 or Class 10), you should let your /data partition on your internal memory. Moving it to sd-ext could cause slowness. Move dalvik cache and system/app instead.
After you install one of these scripts, you can finally enjoy the extended memory of your phone.
Note: For most scripts, you will not see the actual ext partition as a memory extension (like, instead of 148 mb, you will not have 1148mb), but it will be there, doing its job.
To actually see your sd-ext, install a storage app, like this one : https://play.google.com/store/apps/details?id=ru.krikun.freespace.
----------------Problems?----------------
Still getting low memory warning?
1. Use the above suggested app to check your partition.
2. Are you using the correct hboot for your ROM?
3. Did you actually install a script? Did you configure it correctly (Mounts2sd)?
4. You may be having way too many apps, even for your extended memory. Uninstall some. Remember that memory is still limited.
5. Maybe your ROM doesn't support init.d scripts (needed for a2sd). Check out this thread :
http://forum.xda-developers.com/showthread.php?t=1710980
6. If none of above work, start from the beginning, or use another method.
---------------------------------------Thanks---------------------------------------
-pyroblazer
-madmaxx
-AndroidGX
Special thanks:
-eddiehk6
-jmcclue
P.S. If you see anything wrong with this guide, or if you think I should add something, please tell me. Thanks.​
Very nice, and neat too.
This is one of the best guides of this type I've ever seen.
Thanks!
Re: [GUIDE] Partitioning your sd-card correctly
Very good :thumbup:
1 thing tho, regarding 5 and 6 using 4ext recovery.
5. Choose mb size for ext...ok
6. Skip swap...ok
In 4ext recovery, after choosing first partition size, it asks u to choose second partition size then swap size. So maybe should be...
5 - 512mb - 1.5gb
6 - Skip
7 - Skip
Done.
Very good guide tho, bout time someone wrote it. Good job
Sent from my HTC Desire
RSK Sattelite SuperSense4.1
jmcclue said:
Very good :thumbup:
1 thing tho, regarding 5 and 6 using 4ext recovery.
5. Choose mb size for ext...ok
6. Skip swap...ok
In 4ext recovery, after choosing first partition size, it asks u to choose second partition size then swap size. So maybe should be...
5 - 512mb - 1.5gb
6 - Skip
7 - Skip
Done.
Very good guide tho, bout time someone wrote it. Good job
Sent from my HTC Desire
RSK Sattelite SuperSense4.1
Click to expand...
Click to collapse
Thanks.
Weirdly enough, I partitioned an older 4 gb class 2 sd-card just to see step to step what happens, and 4 ext didn't ask for a second ext partition. Maybe the latest versions are this way.
Anyways, i made the modifications.
good stuff, very clear. should be made a sticky
few suggestions after also reading many Q&A threads:
- recommended size of partition
simply depends on how many apps users want to install, surprising how some users don't understand this.
- gparted section,
might as well link a video, always much easier to follow once you've seen it.
- using the ext partition
a lot of users expect their internal memory to read "internal + ext partition", when actually the partition is already in use without flashing any additional scripts. recommend first to check the ext partition is in use by installing various apps: diskusage, quick system info pro or titanium backup.
In many cases users won't have to 'use the move to sd' function, just keep apps on internal will trick apps to ext-partition. again this depends on the script, but can be checked as above.
when flashing different a2sd script, is it not necessary to delete the previous script first in /system/etc/init.d? not tried this myself but i would assume it may cause conflicts. definitely recommend nandroid backup and dalvik wipe before flashing any of these!
could also add a note to say that generally it is better to keep app data on the /data partition for stability and performance, unless they have fast sd card.
- add a "still getting low memory warning?" section?
use diskusage as suggested to check the partitions
make sure you are using the correct hboot for your rom (requires s-off), check the rom's system size using 7zip, or read each rom's OP or search within each thread for optimal hboot.
you may have too many apps, no matter which script you use there is still a limit. uninstall some apps you don't need
these aren't anything major, just fine tuning if you want to include
Re: [GUIDE] Partitioning your sd-card correctly
abaaaabbbb63 said:
Thanks.
Weirdly enough, I partitioned an older 4 gb class 2 sd-card just to see step to step what happens, and 4 ext didn't ask for a second ext partition. Maybe the latest versions are this way.
Anyways, i made the modifications.
Click to expand...
Click to collapse
Yh it says at the top just below the status bar, its very small so alot of people probably dont see/notice it. Like when u press to "remove all partitions and start from scratch" then u choose, lets say 1024, the next part press skip, but when u press skip the screen doesnt change apart from the wee writing at the top so some people think when they pressed skip nothing happend so they press skip again then it partitions sdcard. Hope that makes sense lol
And yh like eddie said it should be made a sticky or atleast u could ask Mr.Mefisto to add it to his everything desire guide.
Il add it to my sig anyway if thats ok with u?
Sent from my HTC Desire
RSK Sattelite SuperSense4.1
eddiehk6 said:
good stuff, very clear. should be made a sticky
few suggestions after also reading many Q&A threads:
- recommended size of partition
simply depends on how many apps users want to install, surprising how some users don't understand this.
- gparted section,
might as well link a video, always much easier to follow once you've seen it.
- using the ext partition
a lot of users expect their internal memory to read "internal + ext partition", when actually the partition is already in use without flashing any additional scripts. recommend first to check the ext partition is in use by installing various apps: diskusage, quick system info pro or titanium backup.
In many cases users won't have to 'use the move to sd' function, just keep apps on internal will trick apps to ext-partition. again this depends on the script, but can be checked as above.
when flashing different a2sd script, is it not necessary to delete the previous script first in /system/etc/init.d? not tried this myself but i would assume it may cause conflicts. definitely recommend nandroid backup and dalvik wipe before flashing any of these!
could also add a note to say that generally it is better to keep app data on the /data partition for stability and performance, unless they have fast sd card.
- add a "still getting low memory warning?" section?
use diskusage as suggested to check the partitions
make sure you are using the correct hboot for your rom (requires s-off), check the rom's system size using 7zip, or read each rom's OP or search within each thread for optimal hboot.
you may have too many apps, no matter which script you use there is still a limit. uninstall some apps you don't need
these aren't anything major, just fine tuning if you want to include
Click to expand...
Click to collapse
Thanks for the suggestions!! Added everything.
jmcclue said:
Yh it says at the top just below the status bar, its very small so alot of people probably dont see/notice it. Like when u press to "remove all partitions and start from scratch" then u choose, lets say 1024, the next part press skip, but when u press skip the screen doesnt change apart from the wee writing at the top so some people think when they pressed skip nothing happend so they press skip again then it partitions sdcard. Hope that makes sense lol
And yh like eddie said it should be made a sticky or atleast u could ask Mr.Mefisto to add it to his everything desire guide.
Il add it to my sig anyway if thats ok with u?
Sent from my HTC Desire
RSK Sattelite SuperSense4.1
Click to expand...
Click to collapse
I'm more than ok with adding it to your sig
Apparently, the user DigginGraves already suggested it to Mr. Mefisto.
Re: [GUIDE] Partitioning your sd-card correctly
abaaaabbbb63 said:
Thanks for the suggestions!! Added everything.
I'm more than ok with adding it to your sig
Apparently, the user DigginGraves already suggested it to Mr. Mefisto.
Click to expand...
Click to collapse
Cool, will add it later.
Sent from my HTC Desire
RSK Sattelite SuperSense4.1
one last thing i just spotted in gparted section steps 11 - 13:
just type free space following as the ext4 partition, briefly explain that ext4 is recommended as it should be slightly faster.
you can ask someone a bit more senior and with more knowledge to confirm, but i think you should remove the bit about swap, it's not necessary. It doesn't extend the memory in any way, in come cases can confuse the system. the custom rom would surely need a way to utilise swap, and most don't even bother afaik. you could in fact add a note to not include swap in case users were thinking about it.
another argument is that you instruct to skip swap in the 4ext recovery method, so should be consistent with gparted.
eddiehk6 said:
one last thing i just spotted in gparted section steps 11 - 13:
just type free space following as the ext4 partition, briefly explain that ext4 is recommended as it should be slightly faster.
you can ask someone a bit more senior and with more knowledge to confirm, but i think you should remove the bit about swap, it's not necessary. It doesn't extend the memory in any way, in come cases can confuse the system. the custom rom would surely need a way to utilise swap, and most don't even bother afaik. you could in fact add a note [to I]not[/I] include swap in case users were thinking about it.
another argument is that you instruct to skip swap in the 4ext recovery method, so should be consistent with gparted.
Click to expand...
Click to collapse
Thanks for the observation.
Made it so everyone is happy
Hi, i took some screenshots of 4ext recovery while partitioning old sdcard. if u look at pic number 4 and 5 and look at the grey bar below status bar, it says "select a size for the first sd-ext partition" then on next pic it says "select a size for the 2nd sd-ext partition" then "select a size for the swap partition". Just thought id clear that up what i was on about yesterday anyway if u want u can use the pics for ur guide, just extract the zip file.
jmcclue said:
Hi, i took some screenshots of 4ext recovery while partitioning old sdcard. if u look at pic number 4 and 5 and look at the grey bar below status bar, it says "select a size for the first sd-ext partition" then on next pic it says "select a size for the 2nd sd-ext partition" then "select a size for the swap partition". Just thought id clear that up what i was on about yesterday anyway if u want u can use the pics for ur guide, just extract the zip file.
Click to expand...
Click to collapse
Lol..
Now, with these screenshots added, this guide can be followed even if you don't have a brain
Thanks guys for contributing!
abaaaabbbb63 said:
Lol..
Now, with these screenshots added, this guide can be followed even if you don't have a brain
Thanks guys for contributing!
Click to expand...
Click to collapse
haha yeah its pure idiot proof now, BUT...... i guarantee you are gona get people who still cant do it :cyclops:
For partitioning an Ext4 partiotion under Windows 7 (64bit) I used just now a free tool successfully:
MiniTool® Partition Wizard Home Edition (Free! v7.7)
http://www.partitionwizard.com/products.html
Re: [GUIDE] Partitioning your sd-card correctly
chaosp said:
For partitioning an Ext4 partiotion under Windows 7 (64bit) I used just now a free tool successfully:
MiniTool® Partition Wizard Home Edition (Free! v7.7)
http://www.partitionwizard.com/products.html
Click to expand...
Click to collapse
U should never use minitool, it creates bad partitions and does'nt align properly.
RSK Sattelite SuperSense4.1
Re: [GUIDE] Partitioning your sd-card correctly
chaosp said:
For partitioning an Ext4 partiotion under Windows 7 (64bit) I used just now a free tool successfully:
MiniTool® Partition Wizard Home Edition (Free! v7.7)
http://www.partitionwizard.com/products.html
Click to expand...
Click to collapse
I just wonder, where did people hear of this tool in the first place?
Re: [GUIDE] Partitioning your sd-card correctly
abaaaabbbb63 said:
I just wonder, where did people hear of this tool in the first place?
Click to expand...
Click to collapse
i think to be fair, when i first done mine back in november 2011 when i googled "how to partition sdcard" links with minitool seemed to pop up the most so i think people generaly go for that. but these days, if u search, 8/10 u will get to xda and 4ext so i dunno why they still choose it.
I made an ext3 partition using Gparted Livecd. But I couldn't make an ext4 one. Why? Maybe because i've a Class4 SD card?
Re: [GUIDE] Partitioning your sd-card correctly
RidenCT said:
I made an ext3 partition using Gparted Livecd. But I couldn't make an ext4 one. Why? Maybe because i've a Class4 SD card?
Click to expand...
Click to collapse
It didn't give you the ext4 option?
There's an option in 4ext recovery to convert ext3 to ext4. Try that.
abaaaabbbb63 said:
It didn't give you the ext4 option?
Click to expand...
Click to collapse
No it didn't. Maybe because it's a class4 SD?

Categories

Resources