[Q] Can I swap to internal memory? - XPERIA X8 Q&A, Help & Troubleshooting

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

Related

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

[Q] Is it Possible to use the full internal storage as Internal Phone Storage ?

Hi,
Sorry if its a noob question..
In Optimus 2x if i am not wrong, the internal storage is partitioned to 2+GB as phone stroage n 5+GB as Internal phone storage that acts as internal SD CARD.
Is it possible to make the entire 8GB internal as internal phone memory instead of Internal SD CARD ?
If not is it a OS Limitation or Market Limitation ?
If yes, Is there any instructions link, to do it how ?
thanks.
barath
wow. what would you do with an 8GB internal Phone storage
Seems like a great idea would like to try it if it works
Sent from my Optimus 2X using XDA Premium App
peacekeeper05 said:
wow. what would you do with an 8GB internal Phone storage
Click to expand...
Click to collapse
1. First the Reason is I can get 16 GB external for fairly cheap price.
2. I can move apps to external SD and utilize internal memory for loading games.
3. Games are downloading 600MB + data and filling the internal partitioned memory fast.
4. Management becomes much more easier.. i dont have to look for _EXTERnal folder everytime.
and many more..
barathn said:
1. First the Reason is I can get 16 GB external for fairly cheap price.
2. I can move apps to external SD and utilize internal memory for loading games.
3. Games are downloading 600MB + data and filling the internal partitioned memory fast.
4. Management becomes much more easier.. i dont have to look for _EXTERnal folder everytime.
and many more..
Click to expand...
Click to collapse
+1..
I´d like that..
that would be nice indeed...
well.... i cant really see the use of 8gb phone storage... but its better than just wasting the space on /emmc like cm7 does....
gensplejs said:
well.... i cant really see the use of 8gb phone storage... but its better than just wasting the space on /emmc like cm7 does....
Click to expand...
Click to collapse
Do you not have any music on your phone?
I keep all my music on emmc on cm7, i have 5gb of music so works quite nicely for me.
I use player pro music app and that picks up all music.
barathn said:
Hi,
Sorry if its a noob question..
In Optimus 2x if i am not wrong, the internal storage is partitioned to 2+GB as phone stroage n 5+GB as Internal phone storage that acts as internal SD CARD.
Is it possible to make the entire 8GB internal as internal phone memory instead of Internal SD CARD ?
If not is it a OS Limitation or Market Limitation ?
If yes, Is there any instructions link, to do it how ?
thanks.
barath
Click to expand...
Click to collapse
hi
pls put ut question here : http://forum.xda-developers.com/showthread.php?t=1101123
thread CLOSED

[Q] Cyanogen doesnt use internal memory

Hi. I dont use SD card , because 5GB of internal memory is enough for me, but when I try to use camera it just write: Inseret SD card before using camera. Even photogalery wont load pictures from internal memory of the phone
With stock ROM everything was OK ,but now...
I am using cyanogen latest nightly build (but with RC1 it was the same problem)
Anyone know solution to this problem ?
Either **** about with the mount points or get yourself an SD card.
Rusty! said:
Either **** about with the mount points or get yourself an SD card.
Click to expand...
Click to collapse
Yeah i have got and SD card on spare, but it is a shame have a 5GB of memory and dont use it
You can change some .fstab file around and it'll work, search on the forums I found it here myself

[Q] Proper App2SD guide please...

Im using custom roms for a while now (on GDX26 now). i just move apps to sd, havent done any partitioning and things. so can someone give me a proper noobs guide to app2sd and tell me whats about this sd partitioning and file systems and stuff?
anybody??? :/
Check if your recovery has a Partition option, this is the easiest way to do it. If yes, you only need to give the size that you desire for the partitions. WARNING: all your SD data will be deleted.
If no, you need to use a PC Program, like minitool partition wizard, to create the EXT partition. It's easy: shrink the fat32 partition and create the EXT partition using the left space. The format must be EXT4.
Hopefully, your phone will recognize the EXT partition and will mount it
STALKER_88 said:
Im using custom roms for a while now (on GDX26 now). i just move apps to sd, havent done any partitioning and things. so can someone give me a proper noobs guide to app2sd and tell me whats about this sd partitioning and file systems and stuff?
Click to expand...
Click to collapse
Pleas use forum search...
http://forum.xda-developers.com/showthread.php?t=1345872
Thanks guys
but can you tell me whats the difference between native app2sd on 2.3 and app2sd with sd partitioning?
oh and whats this swap? its some sort of virtual ram right? do i need it and how do i make it?
Native app2sd doesn't move all the app to the SD (and not all the apps can be moved). Using EXT partition all the apps can be moved totally, so the use of internal memory is minimal.
SWAP, yes, it's virtual ram. I don't recommend you its use, because the SD's life is dramatically reduced.
If you wish to test it, you need to make another partition (formatted as SWAP), either from the Recovery or using a pc program.
RoberGalarga said:
Native app2sd doesn't move all the app to the SD (and not all the apps can be moved). Using EXT partition all the apps can be moved totally, so the use of internal memory is minimal.
SWAP, yes, it's virtual ram. I don't recommend you its use, because the SD's life is dramatically reduced.
If you wish to test it, you need to make another partition (formatted as SWAP), either from the Recovery or using a pc program.
Click to expand...
Click to collapse
Thanks that pretty much cleared everything for me.
I have a small problem :/
i partitioned the sd with CWM to ext4(no swap), everything works fine except the write speed of the sd in mass storage mode is so so slow. its really annoying why is that?
btw my sd is 16GB class 6
STALKER_88 said:
I have a small problem :/
i partitioned the sd with CWM to ext4(no swap), everything works fine except the write speed of the sd in mass storage mode is so so slow. its really annoying why is that?
btw my sd is 16GB class 6
Click to expand...
Click to collapse
Please somebody help me with this?
i dont think this happend on ext4 format.
is the write speed realy a big thing? i also have moderate write speed and i can life with it
EDIT: If you want to move BIG files to your sd use a cardreader, for me its fast...
SafiXS said:
i dont think this happend on ext4 format.
is the write speed realy a big thing? i also have moderate write speed and i can life with it
EDIT: If you want to move BIG files to your sd use a cardreader, for me its fast...
Click to expand...
Click to collapse
You have no idea how slow it is. about 900kb/s took me 3+ hours to copy about 10gb of my old data to the sd after partitioning
i dont have a card reader
BUMP!!!
Really need help please...
so no fix for this?

Categories

Resources