Need apps2sd help pls - G1 Q&A, Help & Troubleshooting

i installed the latest cyanogen update. phone is running perfectly but cant get apps2sd run. it is there is my applications menu but i cant select it
i partitioned my memory card the way written in the qoute?
How to partition your SD card from console (This requires the cyanogen recovery 1.3.1)
Example for my 8GB card.
Reboot and enter recovery (home+power) then go to console. Enter the below pressing "enter" after each line.
parted /dev/block/mmcblk0
print (to verfiy we know what size card we are dealing with. Mine was 8166 read below if yours is different)
rm 1 (if you had more than 1 partition you would want to rm them as well)
mkpartfs primary fat32 0 7526
mkpartfs primary ext2 7526 8166
quit
upgrade_fs
recovery
if your card isn't 8166 when you type print then you will need to modify those numbers to match your card size. You basically work back to figure out the totals. To figure it out, start with your cards total size. For example 8166 total Subtract 128 for swap (8038) minus 512 for ext (7526) the rest will go to fat32. Each partition starts where the other left off.
Click to expand...
Click to collapse
what should be my next step? i tried most of the ways on xda and have failed pls help

Related

How to partition the SD card for CyanogenMod

How to partition the SD card for CyanogenMod? make it into 2?
Here is a how to link http://forum.xda-developers.com/showthread.php?t=535232
yeah but the guide says to download a app for apps2sd and the thread for CyanogenMod says not too. Confused ;p
Read threw the whole thing, you will load apps2sd but then you will do a wipe and load cyangen again with apps2sd installed in the rom. The reason cyanogen says not to have apps2sd is because its already in the mod. So you will use it to partition then wipe it then reintall it with cyanogen
It helps to use the SEARCH
How to partition your SD card from console (This requires the cyanogen recovery 1.3.1)
Example for my 8GB card.
Reboot and enter recovery (home+power) then go to console. Enter the below pressing "enter" after each line.
parted /dev/block/mmcblk0
print (to verfiy we know what size card we are dealing with. Mine was 8166 read below if yours is different)
rm 1 (if you had more than 1 partition you would want to rm them as well)
mkpartfs primary fat32 0 7526
mkpartfs primary ext2 7526 8038
mkpartfs primary linux-swap 8038 8166
quit
upgrade_fs
recovery
if your card isn't 8166 when you type print then you will need to modify those numbers to match your card size. You basically work back to figure out the totals. To figure it out, start with your cards total size. For example 8166 total Subtract 128 for swap (8038) minus 512 for ext (7526) the rest will go to fat32. Each partition starts where the other left off.
http://forum.xda-developers.com/showthread.php?t=533731

Installed new SPL... SD card unreadable

Like the thread says. I have the newest Radio.. i had installed cyanogen 1.4 recovery then the newest rom by cyanogen... THEN i installed the danger SPL in hopes of going up to a hero rom... after the SPL is installed the phone is unable to check CM OS and tells me the SD card is blank and wont mount to my pc or format from the phone.... what do i do?
captnjagerbomb said:
Like the thread says. I have the newest Radio.. i had installed cyanogen 1.4 recovery then the newest rom by cyanogen... THEN i installed the danger SPL in hopes of going up to a hero rom... after the SPL is installed the phone is unable to check CM OS and tells me the SD card is blank and wont mount to my pc or format from the phone.... what do i do?
Click to expand...
Click to collapse
You can try to format it with it in a card reader on the pc or open up terminal and try to format it that way.
I don't have an sd case or whatever it is you slide the sd into. And what is terminal? I rooted through thr 1 click method
Terminal is the app that allows you to enter lines of command. If you loaded a custom rom it should be on there. If not you can go to the market and get it.
Sorry for the bad spelling I'm posting through the phone. Will I be better off buying a bigger micro sd card. Also is it safe to assume thr danger spl was installed or will I need to redo that...and if not do I just install the rom like normal with update.zip?
What is the command line I type in? I may try it while running errands
Well if you have the factory sd card then I would recomend you getting a new one. They have 8 gig class 6 cards on newegg for $14.99. As far as partitioning your sd card thru terminal here is the steps. I just copied and pasted this.
Partition your SD Card with EXT3 and Fat32 and Enable auto apps2sd
Note: This will erase everything on your SD Card!
1. Turn off your phone
2. Enter recovery by holding Home + Power
3. Scroll Down and press on Enter Console or press alt+x
4. Press enter
5. Type the following according to your sd card:
1 GB
Code:
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 600
mkpartfs primary ext2 600 996
quit
upgrade_fs
reboot recovery
2 GB
Code:
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 1500
mkpartfs primary ext2 1500 1996
quit
upgrade_fs
reboot recovery
4 GB
Code:
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 3500
mkpartfs primary ext2 3500 3996
quit
upgrade_fs
reboot recovery
8 GB
Code:
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 7500
mkpartfs primary ext2 7500 7948
quit
upgrade_fs
reboot recovery
16 GB
Code:
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 15500
mkpartfs primary ext2 15500 15948
quit
upgrade_fs
reboot recovery
OWould a micro sd from sams club work? I only ask cause I have to run in there for a few things. How will I know what speed it is? And after I format/buy a new one what do I do?? Just stick it in and go or do I have to install anything onto it? Sorry for all the questions but I'm new. And by speed. I mean class
captnjagerbomb said:
OWould a micro sd from sams club work? I only ask cause I have to run in there for a few things. How will I know what speed it is? And after I format/buy a new one what do I do?? Just stick it in and go or do I have to install anything onto it? Sorry for all the questions but I'm new. And by speed. I mean class
Click to expand...
Click to collapse
Your cool, we all got to start somewhere. You really want to get a class 6 cause thats the fastest speed they have and if you run apps2sd or a hero rom you should be good to go. But if you have anything under you might experience a little lag. On the box and the card it will look like a little C with a number in it and whatever the number is, is what class the card is. If there is no number then most likely it is a class 2. And there's nothing wrong with getting a card at Sam's. Here's an example of a class 6.
http://www.newegg.com/Product/Product.aspx?Item=N82E16820211196
If you look real close you can see the c with the 6 in it, but on the card itself not the adapter. Once you get it you can format it and put it in and be good to go. If you have any problems let me know and I can walk you through. But to be honest if you get a new card partition it (fat32, ext3, and if you want linux-swap) and load a newer rom other than JF, I know you'll like that alot better.
Alright i got the new card...only a 4 gig but class 6. All i do now is follow the READ THIS etc. etc. guide for the hero rom to partition it and then download the rom and ill be good to go?
Or can i put the rom on there as update zip, then write the code in the console to partition my card, then wipe and run update.zip?

swap file size

ok i have installed the ra recovery v1.2.3 from the dev forum and have partitioned my sd card usingthe utility that came with it.only thing is i still dont understand how to set the swap file size.can somebody please explain how.i have searched around already.this is a lot to take in.
You searched, but the post on partitioning your sd card is at the top of this section...
evilkorn said:
You searched, but the post on partitioning your sd card is at the top of this section...
Click to expand...
Click to collapse
yeah man i read. i dont want to have to download and install all those requirements listed.there has to be another way.also i did breeze through the thread and didnt see any mention on setting swap file size.
8255daw said:
yeah man i read. i dont want to have to download and install all those requirements listed.there has to be another way.also i did breeze through the thread and didnt see any mention on setting swap file size.
Click to expand...
Click to collapse
Umm... The swap file size is the same size as your linux-swap partition...
sorry for being such a noob.the utility that came with the ra recovery sets it automatic to 36mb.i dont see where i can change it.
To format card SD card with linux-swap WARNING!!! this will reformat you entire SD card!!
You can use the recovery console and parted to format SDcards with 1.31 folks, no more going through hassles you have the tools on you G1!...here is an example of how to do this in recovery console using parted. DO NOT USE MORE THAN 32MB SWAP!!!
Example for 8GB card (this example plays it safe and will leave a small amount leftover regardless of the 8GB card)
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
#print (to verify we have the 3 partitions)
Example for my 4GB card
#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 3420
mkpartfs primary ext2 3420 3932
mkpartfs primary linux-swap 3932-3964
Example for a 2GB card playing it safe
#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 1200
mkpartfs primary ext2 1200 1700
mkpartfs primary linux-swap 1700-1732
"End?" you need to place the last value for the linux swap eg.3964 for my 4GB card
#print (to verify we have the 3 partitions)
Next we need to "quit" parted and upgrade our ext2 partition to ext3
#upgrade_fs
Swap value is set to 30 currently, you can change this by modifying the "echo" value for swappiness in the a2sd.sh script
For a longer more detailed parted turorial read this
thank you sir...that is a thread i have read since joining here but i have not stumbled across it since.thanks again.
Its under JACHero ROM thread fyi.

Problem Partitioning New Card

I just got a Transcend 8gb class 6 microsd card and am having trouble switching to it. When I enter recovery with the new card in and go to partition sd card it partitions much faster than usual. Then, once I go to upgrade ext 2 to ext 3 it says error, please run in console. When I got the card I formatted it using another phone by unmounting and pressing format sd card.
bump, really need some help here getting this to work
hiddengopher said:
bump, really need some help here getting this to work
Click to expand...
Click to collapse
I would try what it says and partition via console...
how would I do that?
hiddengopher said:
how would I do that?
Click to expand...
Click to collapse
If you have a g1, go to recovery. Then go to console and type;
Code:
*Warning, Back up everything on your sdcard first!*
<enter>
parted /dev/block/mmcblk0
rm 3
rm 2
rm 1
mkpartfs primary fat32 0 (total sdcard size - swap size - ext size)
mkpartfs primary ext2 (end of fat 32) (total sdcard size - swap size)
mkapartfs primary linux-swap (end of ext2) (end of sdcard)
print (check if it worked)
quit
reboot recovery
Now go to recovery, choose USB Toggle and put a rom on your sdcard
JAguirre1231 said:
If you have a g1, go to recovery. Then go to console and type;
Code:
*Warning, Back up everything on your sdcard first!*
<enter>
parted /dev/block/mmcblk0
rm 3
rm 2
rm 1
mkpartfs primary fat32 0 (total sdcard size - swap size - ext size)
mkpartfs primary ext2 (end of fat 32) (total sdcard size - swap size)
mkapartfs primary linux-swap (end of ext2) (end of sdcard)
print (check if it worked)
quit
reboot recovery
Now go to recovery, choose USB Toggle and put a rom on your sdcard
Click to expand...
Click to collapse
I appreciate the help, but I'm just going to try reformatting the card and some more things first, I hate consoles even though I've used them quite a bit before.
hiddengopher said:
I appreciate the help, but I'm just going to try reformatting the card and some more things first, I hate consoles even though I've used them quite a bit before.
Click to expand...
Click to collapse
This will repartition the card. You want to reformat. OHHHH, well if you have windows I would try to plug it in via sdcard reader (usb disconnects for some reason), and right click on the drive and choose format. I think in the phone you can also go to Settings>Sdcard & Phone Storage> Format to format the card

Deleting Partition?

How do I do this? I wanna wipe everything and make a new partition with a different amt of swap, etc. How do I go about doing this?
go to recovery and re particion your sd card. but remember to back up stuff to your pc that are important.
Sent from my Htcclay's SuperBad G1 using the XDA mobile application powered by Tapatalk
phazzdaddy said:
How do I do this? I wanna wipe everything and make a new partition with a different amt of swap, etc. How do I go about doing this?
Click to expand...
Click to collapse
Follow these steps. I do them every single time before flashing a ROM, never have any issues that others have because they are lazy and refuse to just start fresh. I'm going to make this as basic as possible just to make it easy. It looks long, but I can seriously do this in under 3 minutes now.
You can either remove everything off your SD card and transfer on later, or leave it. It depends on if you want to resize your fat32 partition.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
If you don't have Amon_RA's recover get it Here
Boot into recovery (power on phone by pressing home button and power button)
Once in recovery, select (Go to console)
Press Enter
at the /# type this in
parted /dev/block/mmcblk0
Press Enter
When this pops up (parted), type in print
Press Enter
You should now see something like this:
Code:
Model: ([B][COLOR="Red"]whatever model your SD is[/COLOR][/B])
Disk /dev/block/mmcblk0: ([B][COLOR="Red"]the size of your SD card (write this # down for reference)[/COLOR][/B])
Sector Size (logical/physical): ([B][COLOR="Red"]Sector size[/COLOR][/B])
Partition Table: msdos
Number Start End Size Type File system Flags
1 512B 7405MB 7405MB primary fat32 lba
2 7405MB 7905MB 500MB primary ext2
3 7905MB 8001MB 96.0MB primary linux-swap(v1)
This gives you a break down of how much space is allocated for each partition.
The start/end/size values will differ depending on the size of your SD card and partitions.
Write down the size of your sd card, you can find it above next to:
Disk /dev/block/mmcblk0: ####MB
From here you can now delete and resize your partitions.
Number:
1 - fat32 partition (where you store music, photos, etc.)
2 - ext partition (where apps2sd goes)
3 - swap partition (used for swap)
Before you start deleting, make sure if you do want to remove the fat32 partition, you mount your SD and copy everything to your PC or wherever so you can transfer back later.
To remove individual partitions, type in at the (parted)
rm 1 Enter (this will delete your fat32 partition)
rm 2 Enter (this will delete your ext partition)
rm 3 Enter (this will delete your linux-swap partition)
Depending on what you deleted, you can type print Enter, again and it will refresh the partitions.
Using the number you wrote down which is the size of your SD card, you can figure out how you want to allocate the partitions.
I will show you what I type in and you can go off of that.
I have a 8GB SD card. 8169MB total
7405MB - fat32
500MB - ext2
96MB - swap
I only use 8001MB just to be safe. (not sure if it matters)
You just don't want to go over your SD card size.
Now to create the partitions.
The sizes below are my settings.
You can decide the sizes for you own SD card.
--------------------------------------------------------------------------------
For fat32 type in at the (parted):
mkpartfs primary fat32 0 7405 press Enter
This will create a 7405MB fat32 partition
--------------------------------------------------------------------------------
For ext2 type in at the (parted):
mkpartfs primary ext2 7405 7905 press Enter
This will create a 500MB ext2 partition
--------------------------------------------------------------------------------
For swap partition type in at the (parted):
mkpartfs primary linux-swap 7905 8001 press Enter
This will create a 96MB swap partition (you can upgrade to ext3 and ext 4 through the recovery)
--------------------------------------------------------------------------------
Notice the numbers I entered in 0 7405 (since 0-7405 = 7405, that's the size of the partition. Yes elementary, but just so you know what the numbers represent)
7405 7905 (7905-7405 = 500, 500MB partition, and so on)
You can choose whatever you want for the sizes of the partition doing it this way. Just make sure fat32 partition starts with 0, you want fat32 partition first, ext 2nd, and swap 3rd.
Once you have created the partitions, reboot into recovery and flash your rom.
To reboot into recovery, type quit at the (parted)
Then reboot recovery at the / #
It may look hard, but it is really simple.
Good luck.
All the credit for this goes to 51dusty and his thread Here
I just made this so you can do the same steps from your phone.

Categories

Resources