[Guide] Partition your Sd Card, Upgrade to Ext3, and Install Apps2SD

Search This thread

bikerboi85

Senior Member
Aug 30, 2009
53
1
Hi, i recently bought a desire and rooted it with the unrevoked3 one click process. now im looking to format my 8gb sd card for an ext3 partition for roms with apps 2 sd. ive been reading through this thread and tried using adb to create the parition. everything runs great, adb connects and im able to push the sdparted.txt to the sdcard however i get stuck at one point and am unable to work out the problem which i havent come across in this thread so far. here is a log of windows cmd prompt for what happens.

c:\android-sdk-windows\tools>adb push c:\android\sdparted.txt /sbin/sdparted
* daemon not running. starting it now *
* daemon started successfully *
340 KB/s (16047 bytes in 0.046s)

c:\android-sdk-windows\tools>adb shell chmod 755 /sbin/sdparted

c:\android-sdk-windows\tools>adb shell
~ # sdparted -efs ext4
sdparted -efs ext4

checking script requirements...
err: /sbin/parted does not exist!

please any help would be very appreciated. thankyou
 

csutanto

New member
Oct 14, 2010
1
0
question about secondary sd card

Hi Neuphron,

i have G1, did partition with Amon Ra 1.7 and uses Cyanogenmod 6.0
SD card was 2GB, 640Mb is used for the partition and 96Mb swap size. Seems like i also upgraded the ext2 to ext3.

Now when i looked at the Settings - SD card & phone storage:
SD card: total 1.21 GB
available: 1.09 GB

Internal: 47.59MB.

I didn't see the secondary SD card like people mentioned in this thread. Does it mean i'm doing the partition wrong?

And what is going to use the 640MB I put for the partition, really? and how do i check it?

And is the internal storage of 47MB seems normal? cause it will go down very quickly when i install apps.

thanks!!
 

jtl_777

Senior Member
Dec 24, 2010
165
19
ATL
Fastboot

Hey bros on XDA
ok so I cant type ANYTHING in fastboot... its just a page that I see with a couple of options. (yes it says fastboot and the three skateboarders are there) but still there is no place for me to type anything. does this have anything to do with SDK on my PC or something else? help me out guys thanks:)
 
A

AdrianK

Guest
Hey bros on XDA
ok so I cant type ANYTHING in fastboot... its just a page that I see with a couple of options. (yes it says fastboot and the three skateboarders are there) but still there is no place for me to type anything. does this have anything to do with SDK on my PC or something else? help me out guys thanks:)

Yes, install the SDK, get install the drivers, cd to the tools directory, then 'fastboot type shizzle here'.
 
A

AdrianK

Guest
Hi Neuphron,

i have G1, did partition with Amon Ra 1.7 and uses Cyanogenmod 6.0
SD card was 2GB, 640Mb is used for the partition and 96Mb swap size. Seems like i also upgraded the ext2 to ext3.

Now when i looked at the Settings - SD card & phone storage:
SD card: total 1.21 GB
available: 1.09 GB

Internal: 47.59MB.

I didn't see the secondary SD card like people mentioned in this thread. Does it mean i'm doing the partition wrong?

And what is going to use the 640MB I put for the partition, really? and how do i check it?

And is the internal storage of 47MB seems normal? cause it will go down very quickly when i install apps.

thanks!!

Do 'df' in terminal, you should see 640mb total in /system/sd
 

jtl_777

Senior Member
Dec 24, 2010
165
19
ATL
When trying to update Ext2 to Ext3 it says "sh: upgrade_fs: not found"

I need ext3 or 4 to get sparkmods v1.6.1 rom! Help please

Sent from my T-Mobile G2 using XDA App
 

MBT93

Senior Member
Dec 25, 2010
253
12
Montreal
plz i wana know which partition is better ext2 ext 3 or ext4?n also if u can move songs n pic to the partitoned space?
 

prim3

Senior Member
Jun 23, 2008
405
42
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
print
print
Model: SD USD (sd/mmc)
Disk /dev/block/mmcblk0: 8017MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 512B 7425MB 7425MB primary fat32 lba
2 7425MB 7937MB 512MB primary ext2
3 7937MB 7969MB 32.0MB primary linux-swap(v1)

(parted) quit
quit
quit
~ # upgrade_fs
upgrade_fs
/sbin/sh: upgrade_fs: not found
~ #

Hmz... What did i do wrong? Why cant i upgrade the fs?
 

tetracilin

New member
Dec 26, 2010
2
0
Thx 4 the gud guide!!
Can i set swap size + ext size as much as i want ? and wat is the purpose of each partions ?
And again thx 4 the gud guides :)
 

apsol

Senior Member
Mar 28, 2011
92
17
Spain
Is it possible to see the rom version via bootloader or recovery? because i cant boot the phone.
 

bhopi_74

Member
Apr 4, 2012
9
0
can any buddy halp me??

my phone samsung galaxy w have a serious problem and i wnt yr help plz help me yarr..
ohk my proble is det i cnt open my memory card wen i flash in to clockwork mod and nw i cnt change my rom.. my phone also was nw in dad condition ... so plz help me yarr, wat can i do for my device..??? plz help me..
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    WARNING: DO NOT FOLLOW THE APPS2SD AS MOST ROMS ALREADY DO THIS FOR YOU.
    If you do, it will break things.
    -ivanmmj



    Like My Guide(s)? Donate


    Here we go!

    Things you need:

    A Rooted G1 Phone
    Cyanogen ROM - Download v4.0.2
    Cyanogen Recovery 1.4 - Download
    Apps2SD - Download
    Clean SD Card

    Note: This will remove ALL files on your SD Card so please back it up :D

    ------------------------------------------------------------------------------------------------------------------

    Install the New Recovery Image

    Download the recovery image

    Place the cm-recovery-1.3.1.img file in the root of your SD Card (Root = not in any folder)

    Go back to your phone (Dont forget to unmount)

    Open terminal and type in the following

    Code:
    su (wait for a screen to popup and press "allow")
    flash_image recovery /sdcard/cm-recovery-1.3.1.img
    ------------------------------------------------------------------------------------------------------------------


    Install Apps2SD

    Download the Apps2sd apk from above
    Place the apps2sd.apk on your sd card
    Download a file manager like Linda or Astro from Market (They are both free)
    Go to Settings > Applications and check the Unknown Sources button
    Open up the file manager you just downloaded and find the apps2sd on your sdcard
    Press on the app and install the Package Installer and press on Install
    Apps2sd should now be installed


    ------------------------------------------------------------------------------------------------------------------

    Partition Fat32/Ext2 with App2SD

    Open up Apps2SD
    It will show you a screen telling you that your card is not partition and you will have a sliding bar to choose the amount of space you want for an EXT2 partition
    I suggest a max of 600mb for EXT2 space (I use 500mb)
    Press Ok
    You will get a Force Close screen DONT PRESS FORCE CLOSE PRESS WAIT
    You will get a reboot message, Press Reboot
    You now have a EXT2 partition

    ------------------------------------------------------------------------------------------------------------------

    Upgrading your EXT2 Partition to EXT3

    Note: You do need the Cyanogen Recovery image for this to work!

    Reboot into Recovery (Home + Power)
    Go to console (Alt+x)
    Press Enter
    Type the following in the Console:
    Code:
    upgrade_fs
    Wait for it to finish
    Congrats! You now have a Fat32/EXT3 partitioned Sd Card!

    ------------------------------------------------------------------------------------------------------------------

    Installing the Cyanogen ROM with Auto Apps2SD

    Download the ROM
    Rename the file from cm-xxxxxxx.zip to update.zip
    Place update.zip at the root of your sd card (Root = Not in any folder)
    Reboot into Recovery (Home + Power)
    Wipe (alt+w)
    and Flash (alt+s)
    Wait for it to finish and reboot!

    ------------------------------------------------------------------------------------------------------------------

    Congratulations! You now have a Fat32/EXT3 Partitioned SD Card with auto Apps2SD enabled. You can check if you have both partitions in Settings > Sd Card and Storage. Remember, this is Auto Apps2SD, that means the everytime you reboot it will move all your installed apps to your sd card AUTOMATICALLY!

    ------------------------------------------------------------------------------------------------------------------

    Format your EXT3 Partition (ADB is needed)
    Code:
    adb remount
    adb shell
    rm -r /system/sd/*
    reboot recovery
    then flash the update.
    ------------------------------------------------------------------------------------------------------------------

    Here is another way to partition your sd card!

    Note: You will need The latest CM recovery image


    This guide will partition your SD card with 32 mb swap, and 512 mb EXT4 partitions!

    WARNING! This will erase EVERYTHING on your SD Card!

    Note: ADB Is needed for this script to work. If you dont have ADb working please read the ADB Sticky in the Q & A Forum

    Step 1:

    Download the necessary files HERE

    Step 2:

    Place the sdparted.sh file in C:\ Note: Do not place it in any folders!

    Place adb.exe and AdbWinApi.dll in C:\Windows\system32

    Step 3:

    Run sdparted.bat


    Thats it! All done!

    Thank you 51dusty for the sdparted Script! :D
    Batch file made by me! :D