Swap as Ram to increase Devise Ram - Galaxy S III Q&A, Help & Troubleshooting

Hello ALL
As i Remember in linux there is a saying "Every thing is a file " even proses , it stored as files in /dev/proc
Now i think about can i increase my phone ram by allocating a SWAP partition from my Micro SD card ?
So i can add 1GB of swap !
My devise is :Gt-I9300 S3 - ICS Stock
Please advice.

mybeshoo said:
Hello ALL
As i Remember in linux there is a saying "Every thing is a file " even proses , it stored as files in /dev/proc
Now i think about can i increase my phone ram by allocating a SWAP partition from my Micro SD card ?
So i can add 1GB of swap !
My devise is :Gt-I9300 S3 - ICS Stock
Please advice.
Click to expand...
Click to collapse
There are a few swap mods floating about but it just causes the device to get slower to be honest. It used to be in Siyah's kernel as a default mod but after testing, was found to be KAK and he removed it.

mybeshoo said:
Hello ALL
As i Remember in linux there is a saying "Every thing is a file " even proses , it stored as files in /dev/proc
Now i think about can i increase my phone ram by allocating a SWAP partition from my Micro SD card ?
So i can add 1GB of swap !
My devise is :Gt-I9300 S3 - ICS Stock
Please advice.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=29767703
save you some work.
Yank555 has this working well. If you use his kernel (JB only though) you can even choose between hard-swap or zram plus choose the level of swappiness.
http://forum.xda-developers.com/showthread.php?p=33121707
Sent from another Galaxy...

Keep in mind that Swap memory is capped to the SD-Cards' read/write performance, which is, compared to the built-in RAM, very slow. The benefits come at a price.

Can you read? The title of the forum says: Original Android Development so your Question doesn't belong here....
Thread Reported...

Please post in the correct section. Questions belong in the Q&A section only. Moved.

Related

Kernel with swap support?

Is there any kernel (GB, ICS) who supports a swap partition on xperia ray to get more ram? I am wondering why not all ROMs support swap by default
Thanks!
PS: I know the disadvantages of swap partition on a slow SD-card.
borg17a said:
Is there any kernel (GB, ICS) who supports a swap partition on xperia ray to get more ram? I am wondering why not all ROMs support swap by default
Thanks!
PS: I know the disadvantages of swap partition on a slow SD-card.
Click to expand...
Click to collapse
Yes, there is. Look at sirkay's work.
borg17a said:
Is there any kernel (GB, ICS) who supports a swap partition on xperia ray to get more ram? I am wondering why not all ROMs support swap by default
Thanks!
PS: I know the disadvantages of swap partition on a slow SD-card.
Click to expand...
Click to collapse
Few good reasons why swap is not enabled by default:
swap=amazingly slow (even on a fast sdcard)
swap makes your sdcard dead soon, as it read/writes a lot
So if possible, please stay away from swap, manage your memory in another way, like minfree settings or by disabling memory hungry programs.
If you are in ICS, than don't forget the light GB alternative...less memory consuming and really fast.
Also a good thing is to use the tool : autostarts
With this tool, you can disable triggers that automatically startup application in the background, like gmaps and other crap.
Br.
Michel
Easy sollution - Swapper for Root
I found a app who installed a swap file:
http://forum.xda-developers.com/showthread.php?t=644706
I installed it, but I dont know, whether it works or not...
vleutmans said:
swap makes your sdcard dead soon, as it read/writes a lot
Click to expand...
Click to collapse
Could you define 'soon' please? Due to the wear-levelling on cards it would take years for this to happen. Each time something is written to the card it's written to a different free location to ensure that you don't 'burn out' one section of the card prematurely.
From a report done by Toshiba on flash memory you could: “completely write and erase the entire contents once per day for 27 years, well beyond the life of the hardware.”
Unless you've completely filled up the card and are swapping data continuously then it's a safe bet that your £20 card will still be working perfectly when you've thrown away your £200 phone.
And one more downside of swap partition: battery consuming. Try zram instead.
avin4 said:
And one more downside of swap partition: battery consuming. Try zram instead.
Click to expand...
Click to collapse
How can I enable ZRam?
Do I also need a special Rom/Kernel?
I use GB with Aire Kernel.

[Q]Xperia U - Resize Internal Memory

Hey there everyone,
I've got a question that im impatient to know if its possible or not :
The Xperia U has a total of 6GB for personal use. 2GB for apps and 4GB for Data.
Can we trade between those 2 sections ? What i mean is :
Can i configure the phone (somehow) to have 1GB for apps and 5GB for Data ?
For me,2GB for apps is excessive and 4GB for Data is a bit low so tradeing 1GB between them would make it perfectly balanced.
Anyone know if its possible ?o.o
Respect
xtrmshadow said:
Hey there everyone,
I've got a question that im impatient to know if its possible or not :
The Xperia U has a total of 6GB for personal use. 2GB for apps and 4GB for Data.
Can we trade between those 2 sections ? What i mean is :
Can i configure the phone (somehow) to have 1GB for apps and 5GB for Data ?
For me,2GB for apps is excessive and 4GB for Data is a bit low so tradeing 1GB between them would make it perfectly balanced.
Anyone know if its possible ?o.o
Respect
Click to expand...
Click to collapse
should be possible if the partition can be edited...have been digging on the same doubt for quite a while now....i think it can be done.
Rom manager app has an option for partitioning sd card but never used it
Sent from my LT26i using Tapatalk 2
Thanks for making this question.
It would be really cool if someone helps out on this.
Sent from my ST25a using xda app-developers app
I tried a few apps like Rom Manager ,andromizer and more but nope,its not gonna work.
I've been reading around tho that people who needed to enlarge the App internal memory ,could do it by repartitioning the Data partition and use a few scripts.
Also there is another solution which is copy the files to /system/app and "Directory Link" them to a false one on the SD card,but thats a pain.
Problem is none of those seem to work ,i tried linking directories but nope wont work. Also repartitioning the Data Partition means formatting the current ROM which i cant really do as i need my phone intact with all the info/apps/config that it has atm,not to mention we dont even know if that would work because all of those reparitioning use SDCard's and its ment to EXPAND/Enlarge the App Internal Memory...not reduce it (which is what we want).
*confused*
Somebody please throw light in here!
@DevSwift @jatinrungta @DroidModderXtreme
Please Help! regarding this
You need a kernel with a partition editor in the ramdisk (the Ace 2 CM10.2 has parted, I'd prefer (also) having gdisk as it isn't limited to creating partitions in order -- that's sufficient on the Samsung, can't say if it could work on the Sony without seeing a partitions dump first), a ROM in zip format (if you want to resize /system too), a computer with ADB and a calculator
xtrmshadow said:
Hey there everyone,
I've got a question that im impatient to know if its possible or not :
The Xperia U has a total of 6GB for personal use. 2GB for apps and 4GB for Data.
Can we trade between those 2 sections ? What i mean is :
Can i configure the phone (somehow) to have 1GB for apps and 5GB for Data ?
For me,2GB for apps is excessive and 4GB for Data is a bit low so tradeing 1GB between them would make it perfectly balanced.
Anyone know if its possible ?o.o
Respect
Click to expand...
Click to collapse
You can using partition resizer program posted by munjeni somewhere in forum just note do not touch 1-9 partition just mmcblk0p10 (this one is system,then goes data,cache etc) and after you find what you need,delete them and make new ones.
Not problem really.
Sent from my Xperia U using Tapatalk

[Q] Low internal memory

Hi all,
I've just received my HTC desire x, checking the specs there is written
that the internal memory should be 4GB, but I have just 1GB.
the total space shows 1.09 GB (screenshot attached)
on the HTC website there's written
Total storage: 4 GB, available capacity varies*
and then *Available storage is less due to phone software.
Is it possible that the OS takes 3GB? Seems a bit too much for me...
Any idea?
Thanks all in advance
crazypixel said:
Hi all,
I've just received my HTC desire x, checking the specs there is written
that the internal memory should be 4GB, but I have just 1GB.
the total space shows 1.09 GB (screenshot attached)
on the HTC website there's written
Total storage: 4 GB, available capacity varies*
and then *Available storage is less due to phone software.
Is it possible that the OS takes 3GB? Seems a bit too much for me...
Any idea?
Thanks all in advance
Click to expand...
Click to collapse
This is correct man. There is no issue or problem. The system takes ~3gb. Cos imagine when you are factory resetting your phone. The original OS file (called ROM) will reside in that memory with a whole lot of other backup stuff which you cant access.
This is why ppl use CUSTOM ROMS, cos we remove bloatware and other things.
What you see in that screenshot is same as mine and as other. Just buy an external card and it will rock
and please go to about > software update > PRESS CHECK NOW even though "Scheduled Check" is ticked cos there are updates and possibly u have one waiting also.
ayyu3m said:
This is correct man. There is no issue or problem. The system takes ~3gb. Cos imagine when you are factory resetting your phone. The original OS file (called ROM) will reside in that memory with a whole lot of other backup stuff which you cant access.
This is why ppl use CUSTOM ROMS, cos we remove bloatware and other things.
What you see in that screenshot is same as mine and as other. Just buy an external card and it will rock
and please go to about > software update > PRESS CHECK NOW even though "Scheduled Check" is ticked cos there are updates and possibly u have one waiting also.
Click to expand...
Click to collapse
^ +1.
anyway i cant see why 1gb isnt enough for apps and games. if you have a sd card, it will be more than enough because of the ability to move apps to sd.
asus.3s93r virthqu
ayyu3m said:
This is correct man. There is no issue or problem. The system takes ~3gb. Cos imagine when you are factory resetting your phone. The original OS file (called ROM) will reside in that memory with a whole lot of other backup stuff which you cant access.
This is why ppl use CUSTOM ROMS, cos we remove bloatware and other things.
What you see in that screenshot is same as mine and as other. Just buy an external card and it will rock
and please go to about > software update > PRESS CHECK NOW even though "Scheduled Check" is ticked cos there are updates and possibly u have one waiting also.
Click to expand...
Click to collapse
Thanks man all doubts vanished now,
does it mean that once rooted (I haven't seen any good rom around yet, please advise if you know any)
I can partition the internal memory? Or it's better not to partition anything for a smoother and faster phone?
Thanks again
Yes 4GB in these mount points:
dev - 303MB
cache - 251MB
data 1,1GB
internal memory (emmc) - 1,1GB
system/942MB​
Plus a few more like radio boot and / mount point. It's up around 4GB.
i think you want this? https://play.google.com/store/apps/details?id=com.buak.Link2SD
with that app. you will no longer have to worry about low internal storage again. i use that all the time on my previous phone who has low internal memory (400mb below). but with des x i dont need it. 1gb internal memory are a lot!
nlooooo said:
Yes 4GB in these mount points:
dev - 303MB
cache - 251MB
data 1,1GB
internal memory (emmc) - 1,1GB
system/942MB​
Plus a few more like radio boot and / mount point. It's up around 4GB.
Click to expand...
Click to collapse
Is it possible to reformat partitions? Why not to have internal memory (emmc) - 1,1GB and system/942MB merged? I'm not using emmc, cuz I have SDCard for all my stuff, so 1,1 Gb are empty, but I have insufficient space on system.

This is a question that I haven't found an answer for (memory problem)

I got a wondermedia tablet the tablet is of mid quality I didn't want the tablet for hardcore stuff but it does its work..... The problem is that I have 8 GB internal memory and it looks like it has been divided into two parts the first part is internal memory and the second is sd-card ...... I haven't put an SD-card yet in the device so that's pretty awkward so whenever I try to install an app it goes in the internal memory which reads 2.0 GB and in apps manager it reads 1.0 GB and there is also is ROM disk which I think is the sd-card so....... My question is how can I use my whole 8 GB storage? I mean if I can't use the whole 8 GB I want to at least use the bigger ROM disk or SD-card or what ever it's name is I will attach some screenshots so you guys would see what I am talking about
Could anyone help ????????
SA3DX said:
Could anyone help ????????
Click to expand...
Click to collapse
well that's sweet

[Q] Insufficient storage available

Hello everyone,
This is my first post here. I have a Samsung Galaxy Ace 5830i and today I bought a new SD card because the old one was crap. I had this problem before, I have it now. When I try to download an application from the Android Market, there is always this error ''There is unsufficient storage available''. I checked and I had 23 free MB of Device memory and 1.8 GB free on my SD card. I read a lot of articles about this problem and tried many ''solutions'' and nothing fixed it. I will be really, really thankful if anyone can help me fix this. Cheers :good:
chelseabg said:
Hello everyone,
This is my first post here. I have a Samsung Galaxy Ace 5830i and today I bought a new SD card because the old one was crap. I had this problem before, I have it now. When I try to download an application from the Android Market, there is always this error ''There is unsufficient storage available''. I checked and I had 23 free MB of Device memory and 1.8 GB free on my SD card. I read a lot of articles about this problem and tried many ''solutions'' and nothing fixed it. I will be really, really thankful if anyone can help me fix this. Cheers :good:
Click to expand...
Click to collapse
Follow these TUT
chelseabg said:
Hello everyone,
This is my first post here. I have a Samsung Galaxy Ace 5830i and today I bought a new SD card because the old one was crap. I had this problem before, I have it now. When I try to download an application from the Android Market, there is always this error ''There is unsufficient storage available''. I checked and I had 23 free MB of Device memory and 1.8 GB free on my SD card. I read a lot of articles about this problem and tried many ''solutions'' and nothing fixed it. I will be really, really thankful if anyone can help me fix this. Cheers :good:
Click to expand...
Click to collapse
You can always use scripts to increase the memory like CronMod Unofficial. But the problem with scripts is that it lags after you install some apps. This is because your ext partition is mounted as the /data mount point and SD Card read /write operations are slower than internal memory read/ write operations. So I suggest you use Link2SD Extreme which lags less compared to other scripts. Link2SD places the app link locations in the internal memory and corresponding data in the ext partition. Since the links are in the internal memory, it will be much faster. All you need is a rooted phone, rom with init.d support (all custom roms have one) and ext partition on SD Card (Go to CWM> Advanced> Partition SD Card> Size (1GB)> Swap(0MB) wait for "Partitioning Done!" message). Make sure to do the setup right. If you created the ext partition using CWM, choose ext3 as the partition type from Link2SD pop-up. Only if that doesn't work go with ext2 or then ext4. Here is the link,
Link2SD Extreme
Try to implement this is a newly flashed rom with newly created ext partition. Hope I Helped

Categories

Resources