yashsingh1/xdaforums huggingface dataset:
[G1 Q&A, Help & Troubleshooting] kidnoble:
my question is this...I already have cyanogen's rom installed...I have been away from a computer and the internet for about a week so I'm still on 3.6.5...which is fine with me.

In Cyan's thread, he says:

however one of the steps to partitioning the sd card in this post is installing apps2sd..

i want to partition the card...but I don't want to break my system...am I missing something? clarification please?
[G1 Q&A, Help & Troubleshooting] bikerboi85:
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
[G1 Q&A, Help & Troubleshooting] trinibwooi:
will this work with CyanogenMod 5.0.8?
[G1 Q&A, Help & Troubleshooting] csutanto:
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!!
[G1 Q&A, Help & Troubleshooting] Javi97100:
so if i have cyanogen rom installed it already has apps2sd?
[G1 Q&A, Help & Troubleshooting] jtl_777:
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:)
[G1 Q&A, Help & Troubleshooting] :
Yes, install the SDK, get install the drivers, cd to the tools directory, then 'fastboot type shizzle here'.
[G1 Q&A, Help & Troubleshooting] :
Do 'df' in terminal, you should see 640mb total in /system/sd
[G1 Q&A, Help & Troubleshooting] jtl_777:
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
[G1 Q&A, Help & Troubleshooting] MBT93:
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?
[G1 Q&A, Help & Troubleshooting] vilks:
can i use this guide for HTC Wildfire ? im using codegen 2.3 rom 19#
[G1 Q&A, Help & Troubleshooting] prim3:
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?
[G1 Q&A, Help & Troubleshooting] TuRtLe SpeeD:
Wicked job man, Saved my ass
[G1 Q&A, Help & Troubleshooting] wow2011:
another thanks .

great guide
[G1 Q&A, Help & Troubleshooting] tetracilin:
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 :)
[G1 Q&A, Help & Troubleshooting] apsol:
Is it possible to see the rom version via bootloader or recovery? because i cant boot the phone.
[G1 Q&A, Help & Troubleshooting] G1 user:
Thanks for this ,may be i try this
[G1 Q&A, Help & Troubleshooting] bhopi_74:
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..
[G1 Q&A, Help & Troubleshooting] alexdeedex101:
great

will check this out
[G1 Q&A, Help & Troubleshooting] nephron:
if your card is not already partitioned, you can run Apps2SD because the script has not been run on installation. So you can still format and stuff.
[G1 Q&A, Help & Troubleshooting] kidnoble:
no it isn't partitioned..it's just formated to fat32. So there is no danger in downloading the apps2sd and doing what it says in this post then...correct?
[G1 Q&A, Help & Troubleshooting] nephron:
yup you can follow this guide and it will work! :D Good luck and tell me how it works out. If you need further help feel free to pm me! :D
[G1 Q&A, Help & Troubleshooting] jak33:
i just flashed to latest cyanogenmod rom and installed app2sd and i have no option to partition sd card, all i have is move apps,cache to sd, did i do something wrong?
[G1 Q&A, Help & Troubleshooting] HxC TwoStep:
Ok, i know this is kinda old, but i have a quick question. I did all the steps, and put a ext2 on my SD card.. but, it is a 8g card, i set the partition for 498mb, but now in my phone and on my PC, the card only reads as 2.9 gb... What happen to my other 5gb? and how can i get them back?
[G1 Q&A, Help & Troubleshooting] nephron:
@jak33

Go into settings and SD Card settings. See if you see a second partition there with the amound of sapce you gave your ext2 partition. If its there then you are all set to go!

@TwoStep

You will need a card reader for this...

This will remove everything on your card so make sure to backup what you need :D

Make sure you have cyanogen 1.3.1 recovery

go into console and type in the following

parted /dev/block/mmcblk0

print (to verfiy we know what size card we are dealing with, the details should be straight forward)

rm 1

rm 2

mkpartfs primary fat32 0 7499

mkpartfs primary ext2 7499 7999

exit

upgrade_fs

reboot recovery

Then put your rom update.zip on your sd card and wipe and flash the update
[G1 Q&A, Help & Troubleshooting] jj71787:
i have the appstosd app and every time i click move apps to sd my phone restarts
[G1 Q&A, Help & Troubleshooting] nephron:
Thats because apps2sd is already running everytime you install an application. Its automatic so you dont need to temper with it at all. Just use it to create your partition, reflash cyanogen build and thats it. :D
[G1 Q&A, Help & Troubleshooting] c_low29:
hey hows it going? I was just wondering if you could help me i repartioned my sd card but everytime i try and upgrade_fs in the console i get this error

/sbin/esfsck: superblock invalid, trying backup blocks...

error reading blocks 491796 (invlalid argument).

and it loops on the boot screen
[G1 Q&A, Help & Troubleshooting] nephron:
do you have the latest cm recovery? Cyanogen 1.3.1 recovery img? If not then please install that first. If you already have it, please tell me how big your sd card is and ill pm you some commands to fix your problem.
[G1 Q&A, Help & Troubleshooting] stewart30:
can anyone tell me how to remove all partitions and return sd card to standard so i can try this all over again.

i am using paragon 9
[G1 Q&A, Help & Troubleshooting] nephron:
just do it from your phone. Go to Sd Settings and Internal Memory in the settings menu. Click on Unmount SDCard, then press on Format. :D
[G1 Q&A, Help & Troubleshooting] gtrplr71:
thank you for this
[G1 Q&A, Help & Troubleshooting] alritewhadeva:
use cyanogen's recovery image..easiest ever
[G1 Q&A, Help & Troubleshooting] SocaWarrior101:
Tahnks Worked Great question though

Thanks to you i went from a total noob ruuning an old jf to a person who can partion there sd card and run apps to sd. You got me running adb but im just goona wait on the DANGER spl and hero. The question is do you think that the stock 1 gb sd card will be good enough for this? WIll it Die too soon? Thanks:D
[G1 Q&A, Help & Troubleshooting] alritewhadeva:
It'll probably die. At the least get a class 2 card. Newegg sells class 6 for about 15-20$
[G1 Q&A, Help & Troubleshooting] geovass:
Hello,

Does this process works on the Hero as well?
[G1 Q&A, Help & Troubleshooting] nephron:
ya it should work on hero. If not use the guide on the first post in the JacHero thread.
[G1 Q&A, Help & Troubleshooting] bdroid:
help with partitions

ok this is the current situation

i was running jf 1.5.1 with apps2sd install and a 8gb class 6 partion at approx 6.5gb/1.5gb

i upgrade (with no wipe) to cyan 3.6.8.1 today and everything seemed fined till i got a notice saying low memory

went into setting to see wats happen....

sd card tot 6241mb ava 2758mb

sd card secondary tot 1370mb ava 1221mb

internal avail 6mb!!!

wen running jk i never saw sd secondary it was just sd and internal mem

did some readinng found out i have to upgrade the ext2 part to ext3 using upgrade_fs command in recovery console

did that and rebooted and low memory notice disappeared and went into setting to check out storage and it was

sd card tot 6241mb ava 2758mb

sd card secondary tot 1370mb ava 1221mb

internal avail 59mb (thought should be 86. but anyways)

now i want to know should it be reading like that or should it be like it was b4 in the jf rom just sd and internat (no sd secondary)

and more importantly i now want to reduce my ext2/ext3 part to 512mb cause 1370mb is too much to allocate and isnt required and i also want to setup 32mb partintion for the swap thing

how can i do this without losing my data on my sd i only using phone terminal

i have winxp but no apb

please help
[G1 Q&A, Help & Troubleshooting] nephron:
First you have to backup your sd card becuase this will erase everything.

First, install Cyanogen's recovery image 1.4

Second, type the following in the recovery console

Reboot and enter recovery

Enter console

parted /dev/block/mmcblk0

print (to verfiy we know what size card we are dealing with, the details should be straight forward)

rm 1

rm 2

mkpartfs primary fat32 0 7200

mkpartfs primary ext2 7200 7700

mkpartfs primary linux-swap 7700 7732

When it says End? type 7732

exit

upgrade_fs

Reboot Recovery

Now install the cyanogen rom again. :D
[G1 Q&A, Help & Troubleshooting] bdroid:
ok thanks nephron

but how do i backaup my sd card mainly the ext3 partition i cannont access that through my pc the fat32 is not an issue

also if all is doen will i have reinstall all my apps

sorry if these are basic things but i have only had the phone for a month

also all of a sudden allot of my apps have been force closing is there a reason for this????

thanks
[G1 Q&A, Help & Troubleshooting] nephron:
you will need adb for this

type the following

adb remount

adb shell pull /system/sd/*

the to put them back in

adb remount

adb shell push C:\apps\* /system/sd

thats if you put all ur apps in C:\apps lol

An easier way i suggest is installing Backup for Root Users which is fre eon the market and it will backup all your settings and apps to your sd card and then you just put that on your pc. :D It also allows you to restore everything :D

Good Luck! :D
[G1 Q&A, Help & Troubleshooting] bdroid:
thanks nephron u have been great help everything is up and running some :Dthings are a little buggy (like force closing on some apps):mad:

but im not sure are the apps automatically getting installed on my sd card ans is the the ram swap working automatically or does this have to be activated:confused:
[G1 Q&A, Help & Troubleshooting] nephron:
if you are getting a lot of force closing i suggest you wipe and reflash. If it still happens i suggest you reformat your SD Card and then re-install your applications.
[G1 Q&A, Help & Troubleshooting] Steeltippin:
Worked for me :) I was already on Cyan 3.9.7. I have been rooted for months now and this is the very first time I attempted Apps2SD. Went smooth as silk. Ok i followed your tutorial, rebooted my phone, updated to ext3 and bam i have over 40 apps on my phone now and 63mb of internal phone space :) thanks so much!!!!!! My phone shows I have 5999MB of free space on my card and 548MB of memory on secondary.
[G1 Q&A, Help & Troubleshooting] bdroid:
Force closing is no longer an issue but I wanted to iif the ram swap works automatically or do I have to set it up (and if so how?) And also why is my intermal showing up only 47 mb available instead of 78

Thanks again
[G1 Q&A, Help & Troubleshooting] strikerz911:
Hey, I'm running across a slight problem.... When I run apps2sd, I set my ext2 size (~350mb) and then the next screen lets me reboot. I click it, it turns off my phone. Since it says reboot, I'm thinking it will turn back on on its own. It doesn't. After waiting around 2 minutes for it to turn on, I decide to turn it on on my own. I go back to apps2sd, and it tells me my sd card isn't partitioned correctly. Why is this so? It's not partitioning my card. Help please.
[G1 Q&A, Help & Troubleshooting] nephron:
format your sd card with your phone in the settings > sd card and internal

Unmount SD Card

Format

Then run the apps2sd again.
[G1 Q&A, Help & Troubleshooting] Snakebear:
I followed this guide, step by step, and got all the way to the flashing of the rom and when I hit Alt S it says there is no such file or directory (yes I renamed it update.zip and put it on the root of the sd card). On top of it if I try to reboot my phone I get stuck on the G1 screen. Please help, I can't use my phone.
[G1 Q&A, Help & Troubleshooting] nephron:
make sure its not update.zip.zip

I think the last .zip is hidden by default in windows. Try to rename the update from update.zip to just update then try again. :D
[G1 Q&A, Help & Troubleshooting] Snakebear:
Could swear I tried that already but tried again and it worked, maybe I typo'ed the first time, anyhow thanks a bunch.
[G1 Q&A, Help & Troubleshooting] nephron:
any time :D
[G1 Q&A, Help & Troubleshooting] TCDroid:
ok i have a problem. i have cyanogen 4.0 flashed to my phone and an unpartitioned sdcard 4gb class 6 and i have the 1.4 recovery image. does this process work with what i have? because i installed apps to sd and changed it to about 448 for ext2 it then said finished and asked me to reboot. i rebooted and it remained stuck at the tmobile g1 screen. so i took the battery out and then went into revovery and reran cm-4.0 and it works fine but my sdcard isn't partitioned what do i do now and the adb method looks confusing.

thanks
[G1 Q&A, Help & Troubleshooting] nephron:
for cyanogen mod u will need to create the ext2 partion, then go into recovery. Go to console from recovery and type upgrade_fs to upgrade it to ext3. When thats done, just reflash cyanogenmod 4.0.1 and it should preform the auto apps2sd.

OR

READ THIS:

http://xdaforums.com/showthread.php?t=548924

:D
[G1 Q&A, Help & Troubleshooting] TCDroid:
:( i tried making a partition with the apps 2 sd but it didn't work. then i tied tryied typing in the code from the last link you supplied (cd /sdcard

wget http://n0rp.chemlab.org/android/cm-recovery-1.4.img

flash_image recovery /sdcard/cm-recovery-1.4.img) <well i only typed the flash_image re......... part and it seemed to go through and it gave a message about -d delete image after flashing. Then i went to the next step by turning off my phone and booting into recovery and then to the console pressed enter and entered the 1st line for the 4gig sd card but it gave me and invalid message (not found) then i tied another line and it said invalid. and now my sd card is still un partitioned it still says unavailable in the sd setings. any ideas do i need to reformat the card again or like the whole process again? btw i did the 1 click method for rooting. i can wait until this works :D

thanks
[G1 Q&A, Help & Troubleshooting] nephron:
ya i would format the whole thing again at fat32 then try the console commands again. The apps2sd might of made a bad partition...
[G1 Q&A, Help & Troubleshooting] TCDroid:
will it mess up the rom if i just reformat and just use like paragon or something?
[G1 Q&A, Help & Troubleshooting] nephron:
no it shouldnt. If it does, just reflash.
[G1 Q&A, Help & Troubleshooting] TCDroid:
:D got it working with paragon but the apps to sd app its self says oops..... something about following a tutorial but i can tell it working because the secondary part of the sd card in settings decreased after installing an app and my internal memory is back up to like 66mb. :D but a few more questions how can i tell if ext3 took affect because i only have sdcard and secondary in settings? Also how do i disable apps to sd so i can flash a theme (dev. says this is necessary to flash)?

Thanks sorry about all the questions:D:o
[G1 Q&A, Help & Troubleshooting] Vallynn:
got sd card partitioned, but now PC won't mount it w/usb

Nephron, et. al;

Thanks for all the hard work you guys do on here.

I tried several methods for partitioning (Ubuntu LiveCD, this tutorial, etc.) and finally my phone shows the two partitions - so all is good there, I guess.

But now I can't get the sd card to show up in windows when I attach the usb and mount. What gives?! I can't get my files back onto my card from my backup that's on the PC. Another strange thing that may or may not be related - in settings>sd card & phone storage>sd card, BOTH "Unmount SD card" & "Format SD card" are greyed-out. Is that supposed to happen on a partitioned card?

Connecting to: Windows7 RC

Yes, I did choose "mount" from the shade after plugging in

Yes, "usb debugging" is checked

T-Mobile myTouch 3G

Cupcake 1.5

CyanogenMod-4.0.1

Cyanogen's Recovery 1.4
[G1 Q&A, Help & Troubleshooting] wc326:
is there a way to format my ext3 partition on my g1 phone or from the recovery mode??? ty
[G1 Q&A, Help & Troubleshooting] david1171:
did you even try to search?

mount -o rw /dev/block/mmcblk0p2 /system/sd

cd /system/sd

rm -r *

i assume by format you mean wipe it
[G1 Q&A, Help & Troubleshooting] wc326:
do you do this in recovery mode or terminal.

yea... wipe or format will do the thing..

the paragon partition does not work. so i am unable to format my sd ext 3 format app2sd partition.

thz

andi used the search button but there is nothing close to what i wanted to fix
[G1 Q&A, Help & Troubleshooting] david1171:
i do not think it matter but you will not have to deal with f/c's when doing it from the recovery console.
[G1 Q&A, Help & Troubleshooting] mvoska:
Help!!

When I installed cyanogen 4.0.1, and apps2sd, and formatted the sd card with 500mb ext2 and the rest, like 7 gigs was fat32. then it made me reboot, so i do and it gets stuck at the tmobile g1 screen. then i have to reinstall the os to be able to use the phone again

any help would be appreciated,

thanks

mvoska

tmobile g1

cyanogen 4.0.1

transcend 8gb class 6 micro sd card
[G1 Q&A, Help & Troubleshooting] dmgeurts:
Stuck at T-mobile screen too

I'm stuck at the T-mobile screen too.

A little history:

Trying to upgrade from JF 1.5.1 (UK) without apps2sd

- nandroid backup of original system

- upgraded recovery image from JF build to cyanogen latest

- HardSPL installed

- radio image already at latest

- bought 2nd 8GB micro sdcard (supposedly class 6...)

- partitioned & formatted sdcard as found on this forum (p3 swap 32MB, p2 ext3 512MB, rest as p1 fat32)

- Copied all files from org single partition sdcard to new card onto fat32 partition

- went to recovery mode and upgraded to cyanogen 4.0.2 stable (4.0.1 first but same result)

Now for the results:

- Reboot == stuck on T-mobile screen

- Hook, menu, off-hook == stuck on cyanogen boot screen (the one after T-mobile boot screen)

- Removed sdcard and flashed cyanogen 4.0.2 == phone boots but lots of apps don't run but do show as installed. Quickly run out of space when reinstalling apps.

- insert sdcard: Can mount the ext3 partition and can see that a few folders were created there. ext partition is not used to install apps to so automatic apps2sd failed.

How can I proceed from here? Is there a way to see where & why the automatic apps2sd failed? Can I do these steps manually? I have both a nandroid image to go back to an up-to-date "my backup pro" backup of apps and settings, though the latter doesn't save app settings...

Edit 1: [T-mobile G1]

Edit 2: Back on my original JF 1.5.1, figured I may as well go to apps2sd first then go to CM 4.0.2

according to some posts I my current system should see mmcblk0p2 (the ext3 partition) mounted as /system/sd. Is this correct? Any ideas what may be causing it. I can mount it manually but am afraid that if I mount it manually it will not mount on reboot...

Edit 3: [Dual Mount SD Widget] was preventing the 2nd partition on my SD card to get mounted as /system/sd. Deinstalled the app/widget and retrying CM 4.0.2 now.

Right that didn't work either. Wipe and clean install of CM 4.0.2 appears to work. Reinstalling applications stops after the 3rd or 4th app. Only error I get is that "this app could not be installed" (my backup pro), market says "installation unsuccessful". Phone is not complaining about running out of storage. 73Mb used of "SD card secondary", internal phone storage has 70MB available space... What's wrong?!

Edit 4: Went back to my original Trancend (class 2) 8GB card after copying the ext3 partition over. All happy and dandy. Did some speed tests and the read speed is identical at about 18MB/s. The class 2 card has a write speed of 3.8MB/s and the class 6 one of about 9.6MB/s However writing to the card is highly unreliable in my G1 phone. It's fine from my laptop...
[G1 Q&A, Help & Troubleshooting] byinter:
Cyanogen 1.3.1 recovery img?
[G1 Q&A, Help & Troubleshooting] rjammoo:
The tutorial helped. Initially I was also stuck on the G1 screen but it made its way to the homescreen, but for some reason all my applications were deleted. But no biggi, I reinstalled all the apps and they seem to work fine. And the best thing all of them are being installed on the sd card since I'm running the cyanogen 4.0 rom which moves apps automatically to the sd card.
[G1 Q&A, Help & Troubleshooting] wolfsong:
I have a 16gb sd, a rooted phone and latest cyanogen ROM.

It seems I need the recovery image but the link in the original post is broken? Is this method still valid?

Thanks.
[G1 Q&A, Help & Troubleshooting] nephron:
sorry bout that lol. Its fixed now. :D
[G1 Q&A, Help & Troubleshooting] theyellownerd:
need some help

i am running the new cyanogen os

just did the apps2sd tutorial

now i have a screen, after going through some processes, that says "Oops! looks like you need to go through the tutorial to set up apps to sd....etc"

so i went to this tutorial and it says its for jf and dudes. Does this tutorial not work for cyanogen? i tried what it said to do anyways and i was unable to get it going. added a2sd.sh and init.rc to my sd card and have done the terminal emulator cmds instructed, still to no avail. i could use some serious help! i am the ultimate newb. email me at brandonesmart@gmail.com please
[G1 Q&A, Help & Troubleshooting] david1171:
i second that. cyanogen's do app2sd for you automatically if you have an ext2/3/4 partition. why are you trying to do things that in cyanogen's thread it explicitly says not to do? you can use the apps2sd 2 for partitioning your sdcard if you want but after that you do not need to do anything else with it.