adding swap space to available memory - G1 Apps and Games

a customer at work introduced me to the swapper app to add a swap file on my sd card. he showed me in 'app manager' that the swap space was added to the total amount of memory in the g1. however when i added a 32mb swapspace which seems to be working just fine, it doesnt show up as added to the memory. am i missing something? please elaborate. Thank You!!

lokeycmos said:
a customer at work introduced me to the swapper app to add a swap file on my sd card. he showed me in 'app manager' that the swap space was added to the total amount of memory in the g1. however when i added a 32mb swapspace which seems to be working just fine, it doesnt show up as added to the memory. am i missing something? please elaborate. Thank You!!
Click to expand...
Click to collapse
your confusing terms. find the swapper thread and read about it!

lokeycmos said:
a customer at work introduced me to the swapper app to add a swap file on my sd card. he showed me in 'app manager' that the swap space was added to the total amount of memory in the g1. however when i added a 32mb swapspace which seems to be working just fine, it doesnt show up as added to the memory. am i missing something? please elaborate. Thank You!!
Click to expand...
Click to collapse
What he showed you in appmanager can be related to using apps2sd, not swapper.

Related

Question about space after app 2 sd

when i had jf 1.5 and i used the app2sd it gave mme like 200 or so internal mem, now i got the hayurko 6 and redid the app to sd and now it only gave me 66internal.
teknomanelvis said:
when i had jf 1.5 and i used the app2sd it gave mme like 200 or so internal mem, now i got the hayurko 6 and redid the app to sd and now it only gave me 66internal.
Click to expand...
Click to collapse
Its not possible you had 200mb of internal memory, 74MB is like that max. even with the new haykuro spl you would get about 88mb.
futango said:
Its not possible you had 200mb of internal memory, 74MB is like that max. even with the new haykuro spl you would get about 88mb.
Click to expand...
Click to collapse
Not true if you used the new A2sd then it would show a lot more. Mine currently shows about 980Mb of free space so that could be were he is confused.
it's because your using the new improved apps on SD which actually merges internal and SD EXT2

I'm using a 1gb sd card with dwangs superD and it is partitioned, but.....?

This is probably a dumb question. Do I need to do anything different to enable it to utilize the sd card to run apps off of it or is it built in? I read that cyanogen's rom was built in like that. I keep downloading apps and I don't want to run out of memory on the phone. Do I need to do anything to also use the sd card as ram?
I am using SuperD and jus partation your SD card and should all go well
Yeah it is working fine.
ilostchild said:
I am using SuperD and jus partation your SD card and should all go well
Click to expand...
Click to collapse
I was just wondering if I need to do something different or is it automatically using the sd card as ram and runing apps off of it.
jeffrimerman said:
I was just wondering if I need to do something different or is it automatically using the sd card as ram and runing apps off of it.
Click to expand...
Click to collapse
What do you mean by "something different" Different from what? In order for CM to automatically do apps2SD you need to have an EXT partition as your second partition. This can be an EXT2, EXT3 or EXT4 type partition and can be easily created by using the latest Amon_Ra Recovery Image (available here http://forum.xda-developers.com/showthread.php?t=566669).
Nothing else is needed. I see most signatures showing 512MB of EXT partition. I use the same and it has been more than enough for me.
Also, it is recommended that you use a class 6 SD card because the class 2 that came with the phone may not be fast enough and may cause some lag.
Thanks QMAN.
QMAN101 said:
What do you mean by "something different" Different from what? In order for CM to automatically do apps2SD you need to have an EXT partition as your second partition. This can be an EXT2, EXT3 or EXT4 type partition and can be easily created by using the latest Amon_Ra Recovery Image (available here http://forum.xda-developers.com/showthread.php?t=566669).
Nothing else is needed. I see most signatures showing 512MB of EXT partition. I use the same and it has been more than enough for me.
Also, it is recommended that you use a class 6 SD card because the class 2 that came with the phone may not be fast enough and may cause some lag.
Click to expand...
Click to collapse
I think you answered my question perfectly. When I put the Dwang rom on and updated to Amon Ra Recovery Image I followed instructions that had me partition the sd card and put ext2 or ext3 type partition. If I buy a class 6 SD card I imagine I can just partition it and put it in.
So to be clear, does then enable the apps to run off the sd card or to install onto the sd card and run off the card also? I mean is it using the sd card as some sort of ram or is it just using it as more of a hard drive? I'm going to guess it is just as a hard drive. I didn't designate anywhere to tell the phone to use the sd card as the installation place for apps. That's why I am kinda wondering.
Thanks
jeffrimerman said:
I think you answered my question perfectly. When I put the Dwang rom on and updated to Amon Ra Recovery Image I followed instructions that had me partition the sd card and put ext2 or ext3 type partition. If I buy a class 6 SD card I imagine I can just partition it and put it in.
So to be clear, does then enable the apps to run off the sd card or to install onto the sd card and run off the card also? I mean is it using the sd card as some sort of ram or is it just using it as more of a hard drive? I'm going to guess it is just as a hard drive. I didn't designate anywhere to tell the phone to use the sd card as the installation place for apps. That's why I am kinda wondering.
Thanks
Click to expand...
Click to collapse
It will both install on and run from sdcard. you don't have to enable anything.
dwang's rom does it automatically as long as you have the ext partition. His however does not support ext4.
Ok great.
djn541 said:
It will both install on and run from sdcard. you don't have to enable anything.
dwang's rom does it automatically as long as you have the ext partition. His however does not support ext4.
Click to expand...
Click to collapse
Is there a way to see how full the partitioned part of the sd card is getting? When I use settings I can see the fat 32 part I believe, and the internal phone memory. I have Astro, but I don't see an option to view the entire sd card's usage.
jeffrimerman said:
Is there a way to see how full the partitioned part of the sd card is getting? When I use settings I can see the fat 32 part I believe, and the internal phone memory. I have Astro, but I don't see an option to view the entire sd card's usage.
Click to expand...
Click to collapse
In rec mode goto console type...
parted dev/block/mmcblk0
print
this will tell you how much space is used by each partition
Is that what you want to know?
jeffrimerman said:
Is there a way to see how full the partitioned part of the sd card is getting? When I use settings I can see the fat 32 part I believe, and the internal phone memory. I have Astro, but I don't see an option to view the entire sd card's usage.
Click to expand...
Click to collapse
Go into settings and look under sdcard and phone storage.
djn541 said:
Go into settings and look under sdcard and phone storage.
Click to expand...
Click to collapse
Only cyan has that ,dwang doesnt use that.I think...
Ace42 said:
Only cyan has that ,dwang doesnt use that.I think...
Click to expand...
Click to collapse
With Dwang, you can still see 2 partitions, not all 3.
ok
Ace42 said:
In rec mode goto console type...
parted dev/block/mmcblk0
print
this will tell you how much space is used by each partition
Is that what you want to know?
Click to expand...
Click to collapse
That is exactly what I wanted to know. If I keep installing apps till it runs out of memory I'm guessing I won't know till it says it can't install anymore at some point.
Hey Djn I can't see the partitions with Dwang or do I need to specify something. I only see total space 449mb(i'm guessing that is the fat 32), available space 334mb. There is the internal phone storage section also.
this is what I see
number start end size type file system
1 512 472 472 primary fat 32
2 472 984 512 primary ext2
3 984 1016 31.8 primary linux-swap(v1)
So does it mean I've only used 40mb from fat32 section, but I believe I've used more than that? The ext2 part ended with more than it started, so does that mean when I partitioned it, the memory was increased? From number 3 it looks like 32mb was taken right off the top for ram?
jeffrimerman said:
That is exactly what I wanted to know. If I keep installing apps till it runs out of memory I'm guessing I won't know till it says it can't install anymore at some point.
Hey Djn I can't see the partitions with Dwang or do I need to specify something. I only see total space 449mb(i'm guessing that is the fat 32), available space 334mb. There is the internal phone storage section also.
Click to expand...
Click to collapse
Crap!, Ace is right, you can only see sd and internal with dwang, sorry about that. I haven't used dwang in quite some time.
P.S. Sorry Ace, My bad
Hey Ace
Ace42 said:
Only cyan has that ,dwang doesnt use that.I think...
Click to expand...
Click to collapse
Can you tell me what that info is telling me? It is a couple posts up. I understand the total sd card, -32 for swap yada yada. Just not sure if when it says "end" if that means that is what I have available now.
1 512 472 472 primary fat 32
2 472 984 512 primary ext2
3 984 1016 31.8 primary linux-swap(v1)
Block Start End
Well the above tells you what its for, and amount of space for each partition from starting point to end. 1 app is less than 3MB excluding games so if you have 150 apps you still have a good deal of space left.
Thanks Ace
Ace42 said:
1 512 472 472 primary fat 32
2 472 984 512 primary ext2
3 984 1016 31.8 primary linux-swap(v1)
Block Start End
Well the above tells you what its for, and amount of space for each partition from starting point to end. 1 app is less than 3MB excluding games so if you have 150 apps you still have a good deal of space left.
Click to expand...
Click to collapse
I don't put mp3s, so other than wanting a little faster load app speed with class 6 I am probably fine with my 1gb class 2 for now. I think most of the apps I have were less than 1mb. I imagine games are larger. If I happen to add mp3 and games will the phone warn me as I get close to filling up the sd card?
jeffrimerman said:
I don't put mp3s, so other than wanting a little faster load app speed with class 6 I am probably fine with my 1gb class 2 for now. I think most of the apps I have were less than 1mb. I imagine games are larger. If I happen to add mp3 and games will the phone warn me as I get close to filling up the sd card?
Click to expand...
Click to collapse
Music/vids/pics/docs will go onto the Fat32 partition...So your comp or phone will warn you that the FAt32 is full.

how can you tell?

how can you tell if your ext partition is helping?
so i downloaded apps2sd and repartitioned, but nothing is faster, i see no clarification of speed from it at all....the only thing noticeable is that my 4 gig sd card is now 1.75 gigs......help?
CHERNAB0G said:
how can you tell if your ext partition is helping?
so i downloaded apps2sd and repartitioned, but nothing is faster, i see no clarification of speed from it at all....the only thing noticeable is that my 4 gig sd card is now 1.75 gigs......help?
Click to expand...
Click to collapse
You don't, apps2sd puts your apps on the sd and that is all. It doesn't help with the speed or anything else.
CHERNAB0G said:
how can you tell if your ext partition is helping?
so i downloaded apps2sd and repartitioned, but nothing is faster, i see no clarification of speed from it at all....the only thing noticeable is that my 4 gig sd card is now 1.75 gigs......help?
Click to expand...
Click to collapse
I think you can check sd storage via settings or type df in terminal to see if its being used and how much space is left.
But speed wont be faster or slower with apps2sd.
the ext partition is for using apps2sd, so it will make your fat32 partition for media and such smaller. swap partition is to make things speedier, or supposed to. check settings/sdcard & phone storage/sd card secondary. thats how i could tell by total and available space
so to have 2 1/2 gigs for apps is really a waste unless i want to have 500 apps on my phone......good to know, if i may ask, how do i get rid of that? and how do i get this "swap" partition?
thanks for your replies, theyre greatly appreciated
CHERNAB0G said:
so to have 2 1/2 gigs for apps is really a waste unless i want to have 500 apps on my phone......good to know, if i may ask, how do i get rid of that? and how do i get this "swap" partition?
thanks for your replies, theyre greatly appreciated
Click to expand...
Click to collapse
You must repartition your sd with recovery and choose a swap size...But all your files on your sd will be deleted from your card. And you must re-DL apps from market.I use 256MB Ext cause i install less than 30 apps.My fav app is gameboid/Snesoid so i mainly care if that works.
Ace42 said:
You must repartition your sd with recovery and choose a swap size...But all your files on your sd will be deleted from your card. And you must re-DL apps from market.I use 256MB Ext cause i install less than 30 apps.My fav app is gameboid/Snesoid so i mainly care if that works.
Click to expand...
Click to collapse
*boots into recovery and actually reads the options* oh look, "partition sdcard," am i blind or what? lol. thanks ace, had a feeling i could count on you.....thanks to everyone else for there responses as well ^_^
i used droid swap, but ive only got the stock mem card for now as my 8g **** out on me, and its a class 1 i have been told, which is why i was lagging so much with a2sd. but im pretty sure you can use scripts and such to turn swap on

Recovery app

Does anyone know if there's an app that can take u into recovery mode instead of holding the end call and home button?
As I'm partioning my SD card for Apps2SD to work, I set swap and ext both to 1024mb what does this mean? I have a total of 1GB storage separate for my apps to download leaving the rest for me what do what I want? The instructions don't get too specific explaining anyones.
http://www.androlib.com/android.application.com-siriusapplications-quickboot-jDpx.aspx
Thank you Troy! Can you help me with my 2nd question?
Crown510 said:
As I'm partioning my SD card for Apps2SD to work, I set swap and ext both to 1024mb what does this mean? I have a total of 1GB storage separate for my apps to download leaving the rest for me what do what I want? The instructions don't get too specific explaining anyones.
Click to expand...
Click to collapse
use the defaults. 1024mb is WAY too much for swap, i don't run that much swap on my desktop. and 1024 for apps2sd would be like 800 apps... just use the defaults.
thedudejdog said:
use the defaults. 1024mb is WAY too much for swap, i don't run that much swap on my desktop. and 1024 for apps2sd would be like 800 apps... just use the defaults.
Click to expand...
Click to collapse
absolutely right. 32mb for swap only.

[Q] Can I swap to internal memory?

Can i swap to internal memory, I.E. /data/swapfile ?
I try using swapper2 and selecting swap file location to data/swapfile, but i have an error swapon /data/swapfile : invalid argument
If its showing an error then its quite obvious that you cant do it..
BTW our internal memory is already too low and op of that you want to swap it...
strange..
dagger said:
If its showing an error then its quite obvious that you cant do it..
BTW our internal memory is already too low and op of that you want to swap it...
strange..
Click to expand...
Click to collapse
I think that the internal memory is more faster than the microSD card. I question this because I found this post for GT-I5500 (madteam.co/forum/tutorials/updated-v2-swap-in-internal-memory/).
I don't understand perfectly, hence I'm doing this question here.
Sorry for my English, i'm using Google translator
It's maybe faster, but the lifetime of the internal memory will drop greatly, and you can't change that if it becomes bad, so it is strongly not suggested to use it.
use class 10 sd card and make swap with kernel

Categories

Resources