app2sd doesn't work on cm5.0.6 - Nexus One Q&A, Help & Troubleshooting

I flashed the cm5.0.6 rom and definitely setup ext2 partition for my new 16G sdcard, but the app2sd always gray out, how can i fix it to make app2sd work?

Think it only works with ext4.

Thanks for the tip.
but when i try to ugrade ext2 to ext3 or ext3 to ext4 by using recovery 1.7, it always show some error info such like run "fs repair"
could u pls give more details for solving this issue?
much appreciated!

Create it from the computer instead. Did you run fs repair? The exact error codes are important to post, it can also help you search and see if anyone else had the same problem.

sounds like your partitioning may not have worked or your sdcard is not legit? have you confirmed it is 16gb?

evilkorn said:
Create it from the computer instead. Did you run fs repair? The exact error codes are important to post, it can also help you search and see if anyone else had the same problem.
Click to expand...
Click to collapse
How to run fs repair command? I connected via adb, there is no fs command

behelit said:
sounds like your partitioning may not have worked or your sdcard is not legit? have you confirmed it is 16gb?
Click to expand...
Click to collapse
I confirmed it's 16g. what does it mean not legit?

Not legit = fake
adb shell fs repair

return back : fs not found

Reformat and start from scratch.
You'll need both fat32 and ext4 partitions.

Hi, can app2sd work with a kingston 16gb class2? Thanks in advance
prettyboy85712 said:
Reformat and start from scratch.
You'll need both fat32 and ext4 partitions.
Click to expand...
Click to collapse

Related

tutorial link please

FINALLY got cyanogen rom working. i've almost pulled my hair out over buying this phone(att user so i had to unlock and learn root, etc.)
anyways, got .999 installed and saw the * Apps2SD is automatic! All you need is a second partition (ext).
can someone point me in the right direction on how to do the partition part? i have full version of paragon and know how to use it but just don't want to fubar anything up.
i apologize for the noob question but i just need to know what to set my 2gb(although i have a 4gb class 6 in the mail now) sd card to what size partitions so i can run the add2sd.
thanks guys and love the site.
There is a sticky post in this section. I found it in less than 2 seconds. without searching.
blackinches said:
FINALLY got cyanogen rom working. i've almost pulled my hair out over buying this phone(att user so i had to unlock and learn root, etc.)
anyways, got .999 installed and saw the * Apps2SD is automatic! All you need is a second partition (ext).
can someone point me in the right direction on how to do the partition part? i have full version of paragon and know how to use it but just don't want to fubar anything up.
i apologize for the noob question but i just need to know what to set my 2gb(although i have a 4gb class 6 in the mail now) sd card to what size partitions so i can run the add2sd.
thanks guys and love the site.
Click to expand...
Click to collapse
Example for 8GB card.
Reboot and enter recovery (home+power) then go to console. Enter the below pressing "enter" after each line.
Code:
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 7622
mkpartfs primary ext2 7622 8134
mkpartfs primary linux-swap 8134 8166
quit
upgrade_fs
recovery
NOTE: this will reformat your entire card, so i suggest you back up your files.
and btw tell me the size of your sd card and i will type up the code for you...
use this method to tell me your exact size
go into recovery via home+power
go to console
pres enter
type:
parted /dev/block/mmcblk0
print
i am pretty sure you can see what number represent your total card size.
Easier Way!!!
OK,so I also have Paragon Partition Manager 9.0 Special Edition.
1.Go into your Paragon Partition Manager Software
2.Click on Partition Manager at the first screen
3.Click on your SD Card drive (ie. F:/)
4.Click on create partition in the left hand side of your screen.
5.It will ask you how big you would like your partition to be,then what type of partition. Paragon only supports EXT2 and EXT3 if your looking for an EXT partition. Paragon also only supports Linux-Swap2 and not Linux-Swap3.
If you need any more help man let me know.
Follow me on Twitter: http://twitter.com/andy_lowe02
andy_lowe02 said:
OK,so I also have Paragon Partition Manager 9.0 Special Edition.
1.Go into your Paragon Partition Manager Software
2.Click on Partition Manager at the first screen
3.Click on your SD Card drive (ie. F:/)
4.Click on create partition in the left hand side of your screen.
5.It will ask you how big you would like your partition to be,then what type of partition. Paragon only supports EXT2 and EXT3 if your looking for an EXT partition. Paragon also only supports Linux-Swap2 and not Linux-Swap3.
If you need any more help man let me know.
Follow me on Twitter: http://twitter.com/andy_lowe02
Click to expand...
Click to collapse
well i wouldnt say ur way is easier... it does require using a computer, mine uses the phone.. and mine is simply typing what u see.
Also im pretty sure you need to use linux-swap and not linux-swap2
(i think 2 works but im not sure that its recommendable sicne the rom cookers themeselves use 1)
I would also use the method brian posted. its much more effective
thanks guys, i got adds2sd working and everything. on a 1gb right now until my new 4gb class 6 comes in this week.
i haven't done the swap things yet as i'm not sure of them just yet. i've learned quite a bit over the last week without trying to bug too many people on the forum. your replies are MUCH appreciated.
what is the different between ext 2/3 and linux-swap? i'm running my current 1gb 514mb fat32 and 445mb ext3.
ext3 has journaling which reduces corruption a lot. linux-swap is used as virtual memory.
thanks for the reply so in turn the swap will make the phone run faster right?
also, since no one answered my question in another thread:
although i'm running .999 when i press the camera button it open a box with a 'To:' entry and 3 button 'open', 'call', and 'send'.
i've looked in the settings to see if i can change what the camera button does(want it to open the camera like before obviously) without any luck..
any idea?
Click to expand...
Click to collapse
any ideas?
thanks again
blackinches said:
thanks for the reply so in turn the swap will make the phone run faster right?
also, since no one answered my question in another thread:
Click to expand...
Click to collapse
In theory swap should make it faster as it has more memory to play with.
For your other question, a file on the ROM containing the keymaps has been changed. The only way to change what the camera button does is pull it, edit it, and push it back.
AdrianK said:
In theory swap should make it faster as it has more memory to play with.
For your other question, a file on the ROM containing the keymaps has been changed. The only way to change what the camera button does is pull it, edit it, and push it back.
Click to expand...
Click to collapse
oh boy, i tried to avoid the adb stuff as i had a few problems with it. wonder how it got 'changed'.
i'll give it a try sometime.

partition

Hi guys. i know there are a few ways to partition your sd card. i know there one way that you have to go to terminal and put in parted /dev/block......
but i know there is a another way to do it but i cant remember how. its just 1 command. does any1 know how to do this?
Its Amon-RA's recovery IMG. Lets you partition you SD with 1 click some people know that actual partition size i don't. All i know is that 1.2.2's partition size's are bigger then 1.2.3 don't know anything about his newest. And BTW the partitions are Fat32 - EXT2 -Swap in that order.
Get it here :
http://forum.xda-developers.com/showthread.php?t=566669
Rawdi said:
Hi guys. i know there are a few ways to partition your sd card. i know there one way that you have to go to terminal and put in parted /dev/block......
but i know there is a another way to do it but i cant remember how. its just 1 command. does any1 know how to do this?
Click to expand...
Click to collapse
The parted method (which uses the recovery image w/ parted binaries, not terminal) requires more than one command. As TheUriel said, you can use Amon RA's recovery image, or you can install this script, but it's probably quicker to do it yourself. Personally I prefer to use Gparted within Ubuntu. Each to their own.
TheUriel said:
Its Amon-RA's recovery IMG. Lets you partition you SD with 1 click some people know that actual partition size i don't. All i know is that 1.2.2's partition size's are bigger then 1.2.3 don't know anything about his newest. And BTW the partitions are Fat32 - EXT2 -Swap in that order.
Get it here :
http://forum.xda-developers.com/showthread.php?t=566669
Click to expand...
Click to collapse
if you are newbie like me this is way to go
yozpalang said:
if you are newbie like me this is way to go
Click to expand...
Click to collapse
Psh i second that. It is so true.
yozpalang said:
if you are newbie like me this is way to go
Click to expand...
Click to collapse
You wouldn't be saying that if everyone used GNU/Linux and could simply use Gparted :-/

Another sdcard thread....cm 4.2.5 apps2sd/swap is locking me up

Hello.. as the title states im having issues.
ok, so i recently rooted my g1when i saw Gnav was live (w00t) and all was well until i decided to partition my pqi class6 4gb partitioned as listed below.
ok heres the kicker.. every thing is fine until i start installing apps then it will just lock up then when i try to restart i get a black screen after the cm loading screen and thats it.. only way to get it back to life is to delete then repartition the card...... i reflashed, repartitioned and factory reset about 10 times and finally gave up and wiped card back to full fat32 and no swap or ext3 then reflashed cm 4.2.5 and have been running flawless for a week now so i have narrowed it down to my sdcard... any ideas on WTF could be going on here?? are pqi cards no good maybe?? it was real cheap i caught a deal on it about a year ago.. something like 2x4gb for 15 bucks shipped. I have never had any file loss when using it just for storage or anything.
heres how i had the partitions layed out
0 3459
3459 3971
3971 4003
i also tried ext4 aaaand out of desperation cm 4.2.4 with no luck
any insight greatly appreciated, I didnt know if i should post this here,in development or accessories but its a Q and im lookin for a A
Thanx
-Bop
Well I had the same issue with my phone, but I switched over to Amon-RA recovery and it does SdCard partition for you, You just have to enter the number's you want and it does the rest in recovery mode. This is how to flash it on this page. http://forum.xda-developers.com/showthread.php?t=566669.
errrm i dont think the recovery is the issue, i really like cm 1.4 for the fact that it has a console
thanx.
Next
Amon_RA has a console too....
if you dont want to use that, then format it through parted with 1.4
Amon_RA's does the same thing but its much easier (he basically added automated scripts to the 1.4 recovery, since it is actually based off 1.4)
Thanx.....but that's not my issue, please thouroghly read my opening post.
Thanx again
Also I should probably add one note here....it don't lock up as soon as I install a app.... I can get 3 to 5 apps in be4 what's explained in my OP happens.
BopChie said:
Thanx.....but that's not my issue, please thouroghly read my opening post.
Thanx again
Also I should probably add one note here....it don't lock up as soon as I install a app.... I can get 3 to 5 apps in be4 what's explained in my OP happens.
Click to expand...
Click to collapse
Well get us a logcat of when that crash happens. It seems like bad partitioning but get us a logcat and we can narrow down the issue
B-man007 said:
Well get us a logcat of when that crash happens. It seems like bad partitioning but get us a logcat and we can narrow down the issue
Click to expand...
Click to collapse
ok, i dont know how to do so and is this something i can fetch after the os is crashed via recovery console and dump to sd??
and as i said i am a root newb here.. so i have to ask... if i do a nandroid backup and save the backup to my pc be4 i go through and recreate my issue... will i beable to restore back to how i am now after i wipe and format back to full fat32 (if needed)
also.. take a look below, am i not doing something right here???
i did all the partitioning in parted as below
after removing all partitions i have a 4003MB chunk
mkpartfs primary fat32 0 3459
mkpartfs primary ext2 3459 3971
mkpartfs primary linux-swap 3971 4003 <---maybe i should try 4000 and not goto the end of the sd??
then after i'm out of parted
upgrade_fs to get ext3
tahnx again
BopChie said:
ok, i dont know how to do so and is this something i can fetch after the os is crashed via recovery console and dump to sd??
and as i said i am a root newb here.. so i have to ask... if i do a nandroid backup and save the backup to my pc be4 i go through and recreate my issue... will i beable to restore back to how i am now after i wipe and format back to full fat32 (if needed)
also.. take a look below, am i not doing something right here???
i did all the partitioning in parted as below
after removing all partitions i have a 4003MB chunk
mkpartfs primary fat32 0 3459
mkpartfs primary ext2 3459 3971
mkpartfs primary linux-swap 3971 4003 <---maybe i should try 4000 and not goto the end of the sd??
then after i'm out of parted
upgrade_fs to get ext3
tahnx again
Click to expand...
Click to collapse
that seems right..
if you have ADB setup, type in
adb logcat
just before installing apps. When it crashes, it should give error messages which we will be able to help you with. Post it here in code tags or post it on pastebin.com
BopChie said:
and as i said i am a root newb here.. so i have to ask... if i do a nandroid backup and save the backup to my pc be4 i go through and recreate my issue... will i beable to restore back to how i am now after i wipe and format back to full fat32 (if needed)
Click to expand...
Click to collapse
..........
B-man007 said:
that seems right..
if you have ADB setup, type in
adb logcat
just before installing apps. When it crashes, it should give error messages which we will be able to help you with. Post it here in code tags or post it on pastebin.com
Click to expand...
Click to collapse
currently i dont but i can get it setup again and give a try.. see my nandroid Q please
BopChie said:
..........
currently i dont but i can get it setup again and give a try.. see my nandroid Q please
Click to expand...
Click to collapse
Yes to the nandroid but your EXT will not be backed up. make sure you grab the right nandroid folder
if you want ext backup, you will need a BART or SwitchROM backup with the EXT backup
B-man007 said:
Yes to the nandroid but your EXT will not be backed up. make sure you grab the right nandroid folder
if you want ext backup, you will need a BART or SwitchROM backup with the EXT backup
Click to expand...
Click to collapse
ok think i got it solved here... using logcat on a boot after partitioning the card i could see it was hitting a infinite loop and had todo with some prop's i had swapped out for Gnav.. but since that is official on 1.6+ now i was able to reflash cm and sofar so good, installed 10 apps with apps2sd live and notta prob
Thanx a ton
B-man007 said:
Yes to the nandroid but your EXT will not be backed up. make sure you grab the right nandroid folder
if you want ext backup, you will need a BART or SwitchROM backup with the EXT backup
Click to expand...
Click to collapse
ok think i got it solved here... using logcat on a boot after partitioning the card i could see it was hitting a infinite loop and had todo with some prop's i had swapped out for Gnav.. but since that is official on 1.6+ now i was able to reflash cm and sofar so good, installed 10 apps with apps2sd live and notta prob
Thanx a ton
haha ok well its good to know you got it working
yeah so far so good.. 1last q...i have read mixed angles on enabling swap on sd.. i saw some1 say if its there cm4.2.5 will use it.. but i have saw ppl say it needs to be enabled.
I have never saw my mem get lower than 20MB should i even bother with swap?
its not enabled by default, you have to do it yourself. You shouldnt really need it on a cyan ROM.

apps2sd question

i searched for this and came up with some links, but none to verify my exact question which is, do i need a certain ROM, or recovery image, i have the RA-dream-V1.5.2. to apply apps2sd, i am currently running the latest cyanogen ROM, do i need a sd card reader or can it be done just by using terminal emulator, and i just bought a 4gb class 6 from new egg, and i was wondering what do you guys recommend for my ext2 partition space to be? so if you guys have any info on this it would be great if you threw it my way thank you!
Most rom have it enabled automaticlly when it sees an extX partition. The recovery is not required, but helpful if you don't have a linux system or other software to create the partitions on your computer. No card reader is required unless you want to format it that way. The only terminal commands you would need would be in the recovery console for you. The space is up to you and your needs and does not increase or decrease performance either way.
See the link below and it will help you doing it the manual way and with Amon_RA's recovery.
http://wiki.cyanogenmod.com/index.php/Apps2SD
thank you, you were a bunch of help, i shall try this when i get home tonight
No problem, let me know how it goes.
it asked me for swap-size and also ext2-size, im not to sure what numbers i need hmm?
If you plan on using a hero rom put in something for swap, if not put zero. The put in the amount of ext you want for apps. (normally between 256-512)
To upgrade the file system from ext2 -> ext3 use the command upgrade_fs in the recovery console.
Look at the link I gave you and scroll down to the Amon_RA section if you need more help.
it said upgrade_fs not found (nvm)
i got ext2 to ext3 thank you for all your help sorry for being a pain dude...
so to make sure i did it right, how much available phone space should i have?
It varies based on the cache you have for the apps, but I have 68mb but I have been running the same rom for a while. It should be around 80mb if you haven't done anything to build the cache, but I have the 1.33.2005 SPL which increases the internal memory size.
I get the same error "upgrade_fs not found" when I want to upgrade to ext 3 from console. From Amon_Ra's recovery I get an error too when I want to upgrade to ext 3. The other SD card I have worked perfectly with exact the same steps. What is wrong? Thanks
if you amon's isnt there an option that says upgrade ext2 to ext3? i guess thats the same?
sakumaxp said:
i guess thats the same?
Click to expand...
Click to collapse
As the upgrade_fs script, yes.
evilkorn said:
As the upgrade_fs script, yes.
Click to expand...
Click to collapse
yeah thats what i did because it did the not found error, so i was like meh, sounds like the same haha
sakumaxp said:
if you amon's isnt there an option that says upgrade ext2 to ext3? i guess thats the same?
Click to expand...
Click to collapse
I get an error when I press "upgrade ext2 to ext3" on my 2 GB card, the 1 GB card is done already.
sorry dude im a noob at this thing myself i guess one of the senior guys gotta answer this for you =\
Very strange, after many attempts suddenly I made the partitions, I don't know why but it worked
well thats good to hear =]

Help with ext partitions!!

Hello, I was just wondering if someone could fill me in as to how to apply an ext filesystem to my telus milestone running CM7. Also which one is the best and how to apply it.
Thanks!!!
http://forum.xda-developers.com/showpost.php?p=10994672&postcount=226
CM7 will automatically recognize that you have an ext partition and mount it.
Most people create an ext2 partition, but I don't know what the differences are so I just stuck with ext2 and it works wonders.
skadude66 said:
http://forum.xda-developers.com/showpost.php?p=10994672&postcount=226
CM7 will automatically recognize that you have an ext partition and mount it.
Most people create an ext2 partition, but I don't know what the differences are so I just stuck with ext2 and it works wonders.
Click to expand...
Click to collapse
Thank you very much! I will try that, but I am still curious as to how to get ext4 working. I tried the steps in that link, but they only work for ext2. Any suggestions anyone?
Try this: http://forum.xda-developers.com/showpost.php?p=12688129&postcount=2606
Alright, so I did the ext2 thing, and it worked, but I rebooted, and my phone doesn't recognize it anymore Its definitely still there, but my milestone cannot read it for some reason... help?
LuigiC6 said:
Alright, so I did the ext2 thing, and it worked, but I rebooted, and my phone doesn't recognize it anymore Its definitely still there, but my milestone cannot read it for some reason... help?
Click to expand...
Click to collapse
What do you mean it doesn't recognize it? Have you looked in /sd-ext or /system/app?
skadude66 said:
What do you mean it doesn't recognize it? Have you looked in /sd-ext or /system/app?
Click to expand...
Click to collapse
I mean that that folder is gone, and all my apps don't show up anymore, but when i check on my computer, its there and so are all the apps. I re-installed CM7 and didn't apply any scripts, and it appears to be working, so hopefully it sticks when I reboot.
Update: It does not stay when rebooted Any suggestions?
LuigiC6 said:
I mean that that folder is gone, and all my apps don't show up anymore, but when i check on my computer, its there and so are all the apps. I re-installed CM7 and didn't apply any scripts, and it appears to be working, so hopefully it sticks when I reboot.
Update: It does not stay when rebooted Any suggestions?
Click to expand...
Click to collapse
Did you follow sileshn's guide to the T? I did it that way and got it to work perfectly fine. If you're still stuck, post your issue in the CM7 thread in Development.
Sent from my Milestone using XDA Premium App
LuigiC6 said:
Thank you very much! I will try that, but I am still curious as to how to get ext4 working. I tried the steps in that link, but they only work for ext2. Any suggestions anyone?
Click to expand...
Click to collapse
Did you make sure that you had fat32 followed by ext2? Also, both have to be primary partitions.
I have also provided the link to convert your ext2 to ext3/ext4.
Sent from my Milestone using Tapatalk
skadude66 said:
Did you follow sileshn's guide to the T? I did it that way and got it to work perfectly fine. If you're still stuck, post your issue in the CM7 thread in Development.
Sent from my Milestone using XDA Premium App
Click to expand...
Click to collapse
Yes I did. And it works, but only for the initial boot, then after reboot, its back to no ext2. I don't think its loading a script to mount it at boot, or maybe something gets erased, I don't know. I've made a post in the CM7 discussion. Thanks for the help!
sileshn said:
Did you make sure that you had fat32 followed by ext2? Also, both have to be primary partitions.
I have also provided the link to convert your ext2 to ext3/ext4.
Sent from my Milestone using Tapatalk
Click to expand...
Click to collapse
Yes, fat32 followed by ext2, both primary. Works the first time, then nothing. I'm using the latest build of CM7...
LuigiC6 said:
Yes, fat32 followed by ext2, both primary. Works the first time, then nothing. I'm using the latest build of CM7...
Click to expand...
Click to collapse
Well, it could be because there is a script which checks for sdcard errors before it mounts the sdcard. So if there is any error, it will not mount the sdcard, hence you will not see the apps installed on the sdcard.
But why it works the first time and not later is still beyond me.
You could try formatting your card again.
sileshn said:
Well, it could be because there is a script which checks for sdcard errors before it mounts the sdcard. So if there is any error, it will not mount the sdcard, hence you will not see the apps installed on the sdcard.
But why it works the first time and not later is still beyond me.
You could try formatting your card again.
Click to expand...
Click to collapse
To be certain, could you link the correct script that I need to apply for this?
LuigiC6 said:
To be certain, could you link the correct script that I need to apply for this?
Click to expand...
Click to collapse
Scripts are there in /system/init.d folder.
06mountsd checks for sdcard errors and mounts the sdcard if no errors are found.
07app2ext actually moves the apps to ext partition.
Sent from my Milestone using Tapatalk
sileshn said:
Scripts are there in /system/init.d folder.
06mountsd checks for sdcard errors and mounts the sdcard if no errors are found.
07app2ext actually moves the apps to ext partition.
Sent from my Milestone using Tapatalk
Click to expand...
Click to collapse
Alright, I got it working. Took me 3 formats of the card to finally get it to work, but well worth it. Thanks for the help!

Categories

Resources