Jump to content

I want to enable swap..


Recommended Posts

Posted

But, I'm so confused on how to do it.

I got really irritated last night and ended up reverting back to 1.5. Soon realising that was a mistake, I just installed UK official 2.1 update, and clockworkmod. Now I'm looking to install FLB-Mod v1.6 so I can have swap too. But I don't know where to start. I know I have to repartition my sd card, but I'm not entirely sure how to do that not to mention whether I'd do it right if I did... so uh, does anyone mind posting some quick and simple, step by step instructions of what to do please? It would be MUCH appreciated.

Guest Vitamincbu
Posted

What exactly is Swap good for ? Soeone told me because of the less Ram of the Pulse, but I dont understand why this should fix it !?

Guest Fusion0306
Posted (edited)
But, I'm so confused on how to do it.

I got really irritated last night and ended up reverting back to 1.5. Soon realising that was a mistake, I just installed UK official 2.1 update, and clockworkmod. Now I'm looking to install FLB-Mod v1.6 so I can have swap too. But I don't know where to start. I know I have to repartition my sd card, but I'm not entirely sure how to do that not to mention whether I'd do it right if I did... so uh, does anyone mind posting some quick and simple, step by step instructions of what to do please? It would be MUCH appreciated.

Easiest way is to flash flb 1.6 and install swapper 2 from the market

What exactly is Swap good for ? Soeone told me because of the less Ram of the Pulse, but I dont understand why this should fix it !?

This question has already been answered at least 5 times. But anyways: swap moves inactive apps from ram memory to swap partition, it doesn't kill them and frees ram for active apps

Edited by Fusion0306
Posted
Easiest way is to flash flb 1.6 and install swapper 2 from the market

Do I not have to repartition my sd before any of that? Or format it? :s

Guest Fusion0306
Posted
Do I not have to repartition my sd before any of that? Or format it? :s

Nope, that's why its the easiest way :lol:

Posted

Ah. Well that's better. Though when I tried with that app last night, my free ram in my task manager didn't change. But I'll try again this time now that it's all fresh and hope it works out this time.

Guest de_shepherd
Posted
What exactly is Swap good for ? Soeone told me because of the less Ram of the Pulse, but I dont understand why this should fix it !?

Swap basically allows a machine to think it has more memory than is actually present. Modern CPUs all use what is called a "virtual memory" system where you deal with addresses in a big virtual memory - internally these addresses are translated into physical addresses in the RAM. Large virtual memory sizes (larger than the actual physical RAM) are handled by a system where the data is either in the actual RAM or is in a "swap file" - its called a swap file as using this translation system the OS can swap data pages between real RAM and the swap file to enable programs to see the data they need when they need it .... at the overhead of needing to copy data around as and when necessary.

Android has a strategy of killling/unloading apps when it it needs to free memory to be used for other more active apps and with the low amount of RAM on pulse (n.b. this is due to 2.1 having higher requirements than 1.5 - and pulse was speced for 1.5) so we find apps get regualrily killed. Having swap enbales Android to think it has more RAM available so this delays (or hopefully removes) the point where it starts to killing things that it really ought not to kill.

I think the default status of Android on phones is not to have swap due to the overheads it imposes (plus it basically mandates a SD card which cannot be removed while running etc) ... but this depends on phones being speced to the requirements of Android ... the problem we have run into is that Android is developing fast and as it is doing this its resource requirements are growing ... its pretty much the same issue as having a PC that ran windows XP fine but slowed to a crawl on Vista due to lack of RAM (though, of course, it still ran since windows uses a swapfile ... it just runs slow as it spent its whole time swapping data between disk and RAM!)

Posted

Okay. Now I have another problem. I wiped data/factory, cache partition and dalvik cache, then installed flb-mod zip and it's stuck on the android screen after rebooting. What have I done wrong? ;s

Guest WallOfSound
Posted

I thought t-mobile took their official 2.1 update down for some reason.

Guest de_shepherd
Posted
I thought t-mobile took their official 2.1 update down for some reason.

I think the assumption is that they did this because of the "missed SMS" problem and in turn the assumption is that this problem is down to lack of RAM. Since TMob did release 2.1, even though they later pulled it, then I think this requires them under GPL to release sources.

Benefit of this is that sources have been recompiled with swap enabled which may (its hoped) remove the missed SMS issue.

(N.b. I'm not sure if swap will be enabled in an official TMob release as it requires a reasonable performance SD card to be present - and not removed while phone is in use!)

Posted

Well, FLB-Mod v1.6 wouldn't work after I installed it. Just stuck on android screen. So I had to nandroid restore to before I did all this bullshit of going back to 1.5 then back to 2.1. Tried doing swap again after reading several things on here and it still doesn't work. fs!

I'm almost at the point where I'm like, badword this phone.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.