Can't get apps2sd working with Cyanogen - G1 Apps and Games

I followed the tutorial on manually partitioning the SD card for the apps2sd. My understanding is that if the card is partitioned properly cyanogen will automatically move all my apps to the SD card. I have gone through the process a few times and can't seem to get it to work. Something else i noticed is that when i got to Settings - SD card & phone storage the SD card secondary says unavailable. I'm assuming that's why apps2sd isn't working. My internal phone memory shows 8.91MB of available space. I'm assuming this means its not working properly.
I'm using cyanogen 4.2.5 and the cyanogen 1.4 recovery image.
here is the link to the tutorial I followed.
http://androidandme.com/2009/08/news/how-to-manually-partition-your-sd-card-for-android-apps2sd/

Ok this is what I would do.. follow the link in my sig and get AmonRa's recovery on your phone. then you can partition your sd card right from recovery and it will work i promise.
trevoryour said:
I followed the tutorial on manually partitioning the SD card for the apps2sd. My understanding is that if the card is partitioned properly cyanogen will automatically move all my apps to the SD card. I have gone through the process a few times and can't seem to get it to work. Something else i noticed is that when i got to Settings - SD card & phone storage the SD card secondary says unavailable. I'm assuming that's why apps2sd isn't working. My internal phone memory shows 8.91MB of available space. I'm assuming this means its not working properly.
I'm using cyanogen 4.2.5 and the cyanogen 1.4 recovery image.
here is the link to the tutorial I followed.
http://androidandme.com/2009/08/news/how-to-manually-partition-your-sd-card-for-android-apps2sd/
Click to expand...
Click to collapse

What is the output of print when you are in parted?

/ # parted /dev/block/mmcblk0
parted /dev/block/mmcblk0
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
print
print
Warning: /dev/block/mmcblk0 contains GPT signatures, indicating that it has a
GPT table. However, it does not have a valid fake msdos partition table, as it
should. Perhaps it was corrupted -- possibly by a program that doesn't
understand GPT partition tables. Or perhaps you deleted the GPT table, and are
now using an msdos partition table. Is this a GPT partition table?
Yes/No? y
y
y
Model: SD SU04G (sd/mmc)
Disk /dev/block/mmcblk0: 3965MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 17.4kB 3420MB 3420MB fat32 msftres
2 3420MB 3932MB 512MB ext3
3 3932MB 3965MB 33.2MB linux-swap(v1)
(parted)

followinginsanity said:
Ok this is what I would do.. follow the link in my sig and get AmonRa's recovery on your phone. then you can partition your sd card right from recovery and it will work i promise.
Click to expand...
Click to collapse
You are a man of your word. The new recovery ROM worked perfectly and it was incredibly simple. I can't believe I spent as many hours as I did trying to get it working using the manual method when I could have done this in the first place. Thanks so much.

I have the 1.2.5 file on my sdcard however when I try using terminal I put mount -a and it tells me are you root . I have cyanogen 4.2.5 installed and have got prompts requesting allow or do not allow ect. So then I close the program and reopen. I typed su then enter. Got the #sign . I then put mount -a and it tells me mount: mounting /dev/block/mmcblk0p2 on system/sd fail no such directory. Hmmm what do I do

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

Partition and A2SD setup

I have been trying to set up A2SD for a while now but i cant set up a partition on my sd card.
So far i have got adb to work, but when i connect my g1 to my computer (and mount it) it automatically disconnects when i go into the disk management section.
(my sd card is an 8 gig and trying to set it up on CyanogenMod)
shockaj said:
I have been trying to set up A2SD for a while now but i cant set up a partition on my sd card.
So far i have got adb to work, but when i connect my g1 to my computer (and mount it) it automatically disconnects when i go into the disk management section.
(my sd card is an 8 gig and trying to set it up on CyanogenMod)
Click to expand...
Click to collapse
you can't format your card by mounting it to windows....
if you don't have a card reader, read this tutorial
http://forum.xda-developers.com/showthread.php?t=534714
it has instructions for a swap setup as well but modify it to not have one if you dont want it
Or you can go to the link in my sig. Its a different way of setting up your partitions through a linux live cd.
recovery console (i assume you have 7948 mb, you can verify using "print" after typing "parted /dev/block/mmcblk0) don't type stuff in < >
parted /dev/block/mmcblk0
rm 1 <removes fat32 partition, might want to backup data on this>
rm 2 <removes ext partition, backup apps if you want to (adb pull)>
rm 3 <removes 3rd partition, if existent>
mkpartfs primary fat32 0 7436
mkpartfs primary ext2 7436 7948
quit
upgrade_fs <converts ext2 - ext3>
reboot recovery
flash ROM if you want to...
thanks everyone i was looking for a guide just like these!
your help is much apperciated!

Have A2SD, SD card fried but apps still work. I'm confused!

Okay so I'm pretty sure my SD card got fried (or damaged) last night.
The notification of "Damaged SD card" kept on showing up.
I tried running the repair file systems from CM recovery 1.4, all variations of rebooting, powering down, removing the SD card and all that to help 'fix' my problem.
I also went into settings to see if i have the option to mount and format the SD, but shows unavailable. Also SD secondary is unavailable as well.
So for sure my SD card is fried..... i think lol.
The thing that I am confused about is that I have apps2sd and try to use the apps that I know are installed on my SD card, I'm still able to access and use them, even though my SD card is damaged. I tried rebooting without the SD card inserted and I get FC's galore.
So does that mean my FAT32 partition is damaged and not my EXT partition?
How do I go about to remedy this?
Do I go ahead and click the on the notification to format my SD card?
Then it'll format my FAT32 partition and not my EXT partition?
Or is that totally wrong?
Confused and in need of some guidance. Thanks.
mrcrs said:
So does that mean my FAT32 partition is damaged and not my EXT partition?
.
Click to expand...
Click to collapse
Spot on
Format your card. If you use Linux, you can back up your apps, but you'll have to format and then re-install the EXT2 partition.
Basically, the FAT32 partition got corrupted. Anytime you actually see anything about the SD card on the phone itself, it's always the FAT32 partition.
hey there i had that same problem all i did was resize my fat32 partition
i used GNU parted so go to console and type
Code:
parted /dev/block/mmcblk0
now type
Code:
print
this displays the sd cards size in MB write down the max memory
now type
Code:
resize
it will ask what partition number type 1 it will the ask for a start size just type 0 if it errors saying couldnt write 0 but can write 8192B just say yes and for the end size type 1MB less than your max
Example for my 8gig card
Code:
resize
1
8192B
7965 - change to 7964
this will bring up a error saying the filesystem is damaged do you want to fix say yes
then type
Code:
quit
then
Code:
upgrade_fs
and that should do it
forgot to add your going to have to delete your ext partition FIRST! for that type
Code:
rm 2

Sd card ... no reader on computer

Hey, I want to run hero rom. I already have my sd partition in 2 sections but the hero rom needs a third linux swap partition. On the bootloader screen there's a option to do it from the g1 but it will erase everything on the sd card. I don't have a sd card reader on my computer, so I need to use the g1 to read my sd card. Does anyone know how I could put the hero rom on my sd card after I format it from my g1? Thanks.
All the information you need could be found here http://forum.xda-developers.com/showthread.php?t=534479 .
you dont have to format the SD, just use (parted) and make the 3rd partition.
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)
mkpartfs primary linux-swap 7700 7732 ................................................................................... this depends on what size of SD you have. (this is for 8G SD)
#print (to verify we have the 3 partitions)
Nasrat said:
All the information you need could be found here http://forum.xda-developers.com/showthread.php?t=534479 .
you dont have to format the SD, just use (parted) and make the 3rd partition.
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)
mkpartfs primary linux-swap 7700 7732 ................................................................................... this depends on what size of SD you have. (this is for 8G SD)
#print (to verify we have the 3 partitions)
Click to expand...
Click to collapse
Thanks ... but how do I set the linux swap to 64mb?
depends on which recovery you are using. if you are using RA 1.2.2 it has the option to mount/unmount via usb. so you save the rom to the pc, boot into recovery, repartition, mount via usb copy the rom over, unmount, flash as usual.
Krazi Bluntz said:
Thanks ... but how do I set the linux swap to 64mb?
Click to expand...
Click to collapse
if your card ends at 7732, then
Code:
mkpartfs primary linux-swap 7668 7732
please read the instructions and understand what your doing first..... i would highly recommend you backup your FAT32 and EXT partitions and reformat the whole card

Need apps2sd help pls

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

Categories

Resources