yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] Sprint82:
What's the right version 3.6 or 3.7 or are they both updated?

Forget my stupid question, I'm able to read lol and will try version 3.7 as the OP says it's for revelation Rom.

Will report back.
[HTC Sensation] smint86:
In fact, I saw it in OP and installed busybox but thought that it is already ok when I got the latest version (v1.21.1-jb) on my device. I'll try again with smart install and report back.

update: worked fine :). Got 400mb of swap running. Now I'll test it intensively, tried to get another swap mod running properly without success. At one time there would always be the point where the swap was filled completely and the device would become unusable.

Also, I will contact my ROM dev, maybe he could change those busybox things to make it default installable.

Swyped via Tapatalk
[HTC Sensation] Sprint82:
Tell me, is the swap installed correctly?
[HTC Sensation] rzr86:
i think your swap files are working flawlessly now
[HTC Sensation] Sprint82:
I hope so....
[HTC Sensation] xrallyx:
I suppose that the cache wipe to do before flashing this mod is referred only to dalvik isn't it? :)

I removed htc clock during the installation of Vipers Rom in Aroma, i suppose i can restore it updating the rom again by Aroma. The question is, do i have to reflash multiswap again after it?
[HTC Sensation] rzr86:
no it reffers to wipe cache

and probably you will have to reflash multiswap again after updating the rom but i am not so sure
[HTC Sensation] xrallyx:
So why when i wiped cache my phone didn't boot anymore?
[HTC Sensation] Harbir:
Yes u have to reflash this mod after viper update ,u can flash as Manny times u want there is no harm in it even its not required and u feel dotted :)
[HTC Sensation] rzr86:
impossible:eek:

i didn't faced such an issue when i used wipe cache option

what recovery,rom do you have?

which version of multiswap did you use?
[HTC Sensation] xrallyx:
I wouldn't be wrong saying it now but i'm pretty sure i already had this problem as today wiping cache... Today i reflash the rom and immediately the mod, then i rebooted and it was ok

I use 4ext and multiswap 4.4
[HTC Sensation] trabadura:
MultiSwap

Regards
[HTC Sensation] smint86:
Unfortunately I had bad results with the v4.1 script for CM (using CM10.2 by sultan). I tried it with swappiness 100 and as well with the 80 script I flashed after 100 didn't work out. At some point the device would start to lag and become nearly unusable, especially when starting a very RAM intensive app like chrome. The swap was not even filled up completely, but the device was very unresponsive. Someone got and idea?

Swyped via Tapatalk
[HTC Sensation] Sprint82:
I had same problem and don't know the reason, but would be interesting to know why that's happens.
[HTC Sensation] hinxnz:
Can you try this -> http://db.tt/cVet8uwC and report back, thanks :)
[HTC Sensation] iphuang:
I tried v3.7 on Revelation. The lag was severe and the phone became unresponsive. I had to pull the battery.

I returned to modified v3.1 with 100mb swap. It is just fine.
[HTC Sensation] hinxnz:
Ok thanks for feedback will look into this, cheers. Can you tell me what app you were using before lag came severe?
[HTC Sensation] iphuang:
Google account synchronization after booting. I also ran Play Store to install an app. Then the phone ran slower and slower. Finally...
[HTC Sensation] Scramjet:
Excellent analogy, thanks. So what changes should I expect to see after flashing, besides the files displayed with the cat /proc/swaps command?
[HTC Sensation] Sprint82:
It's all right but the sensation has 768 MB RAM, usable amount 578 MB I think because of shared Memory for GPU. Right?
[HTC Sensation] smint86:
Hey, thanks I'll try tomorrow and report back around the day or in the evening (GMT+1 ;))

Swyped via Tapatalk

---------- Post added at 09:58 PM ---------- Previous post was at 09:52 PM ----------

You should see changes in your phones behavior, especially considering multitasking. Apps should be not kicked out of RAM that often, so they don't have to reload when you access them again. For example when browsing, doing something else and coming back to browser, in the best case the website doesn't have to reload. In theory, this could also save battery, as apps you use often don't have to load from scratch which saves bandwidth of the cpu.

Swyped via Tapatalk
[HTC Sensation] smint86:
update:

I saw that the flashable zip loweres cost to 30, I now also got some time and used it to read through the whole thread. I see that you got some more knowlege of lmk values, I think it could be also helpful to say which minfree values are set in my ROM (as the dev adjusted them, they're not stock CM). For now I'll try it with the changed cost from 64 to 30 (by your zip) and the lmk values set in my ROM, which are:

10342,13025,15708,18585,38400,46080

Also, I have KSM enabled, may this have a negative effect? I don't care about the extra cpu power but thought it could affect the swap usage as well?
[HTC Sensation] hinxnz:
The minfree you have seems quite high but there must be a reason for it, try lowing the values for better multitasking but if you have lags revert them back. I would disable KSM as it should be sufficient without it. If you still run into lags and swap is not full, it must be the RAM management and raising the minfree even higher will help. In a matter of interest what are the lmk adj values?
[HTC Sensation] smint86:
Still ran into lags, swap was not even filled to the half. I now lowered cost to 24 and disabled ksm, let's see how this goes.

Adj:

0,1,2,4,9,15

Besides that, which minfree values would you recommend using swap? Some months ago I used swap together with CM10.1, where I also ran into problems, especially when swap was filled up it started to lag. I solved it with minfree

1024,2048,4096,8192,12288,16384

and swappiness=75. Never heard about cost that time (happy to learn some more though :)).

As the lagging now starts with swap not being filled up completely, there must be something else. Let's see how it goes without KSM and cost=24, minfree unchanged.

Update:

Managed it (after a pretty short uptime) to get the device random rebooted: http://db.tt/UBvZaS5T

I'm thinking, that it is maybe about the ROM which would not want to play nice with swap. I'm curious what the random reboot was about, posting it in the ROM thread as well. It happened after starting some apps and then trying to access Facebook, which ofc is ram intensive as well.

Swyped via Tapatalk
[HTC Sensation] MrJukeHardbane:
I have only 94 MB of free system memory and i've tried clean-up using titanium back-up. How and which version should i flash?
[HTC Sensation] rzr86:
you can flash the 3.7 version for viperS(it doesn't create swap on /system partition)

you can't use the other versions because they require to have at least 110mb free space on /system partition

but if you want you can use this zip too

hinxnz made it for me bacause i had only 84mb free space on /system:cool:
[HTC Sensation] MrJukeHardbane:
So this is version 4 for system memory less than 110mb? How is this version performing on your device? also in OP i only see Removal zip 4.1, Does it removes all version of multiswap?
[HTC Sensation] rzr86:
removal.zip is for all versions

yeap this zip is for less than 110mb

but hinxnz didn't included it in the OP

so i got you out of trouble for searching the thread for it hehe:)

here is a screenshot too
[HTC Sensation] MrJukeHardbane:
Just flashed V4.3.2 and got this. I guess all fine?

Sent from my HTC Sensation Z710e
[HTC Sensation] rzr86:
everything works flawlessly:good:

the priorities are the same as mine too
[HTC Sensation] hinxnz:
OP updated with an all new MultiSwap All in One Installer :)

- OP has been updated for the new All in One installer (Check it out!)

- MultiSwap version 2 has been brought back with a few modifications.

- Minor changes to some versions.

- More options for setting custom Swappiness.
[HTC Sensation] magic.hand:
Awesome and nicely done with the new AIO installer.
[HTC Sensation] Sh0wt1me:
Hi,

I tried to flash your mod on this ROM

I know it is a Pac-Man-Rom, so I understand if it won't work, but shouldn't it work anyway as there are also parts of CM in there?

I just tried it and my phone was stuck at booting after flashing..

(I am not complaining or anything, I just want to ask this :D )
[HTC Sensation] Omnius001:
Confirmed working on a..................... Acer Iconia A510 ;-P

(more or less stock 4.1.2)

2*150mb on cache partition

Just thought I'd mention it as that one device also starves..
[HTC Sensation] ahsan64:
How the script worked for you ?? :confused:, it will first check if the device is pyramid , and if pyramid then it will proceed...
[HTC Sensation] Omnius001:
I blasphemously unpacked the script, edited it to only apply to my spare cache partition and ran it through ScriptManager while booted, and voilà, 300mb added.. ;)

Works quite well I must say, and not yet seeing the infamous slowdowns over time, as I seem to observe on the Sensation (I'm still buffing along on the veery ooold Elegancia 4.0.4 mind you)

Omnius
[HTC Sensation] hinxnz:
It should work, it might of been a bad flash. Try again, don't wipe anything in recovery. First disable zram and also ksm if enabled.
[HTC Sensation] www69:
Working good in vipers jb
[HTC Sensation] Murtagh92:
Hi, can you set this tool for the HTC One X too, please?

Sent from my one x with tapatalk 2
[HTC Sensation] hinxnz:
I could possibly look into it :) Can you in a terminal emulator enter these codes below and post the outcome. (Just copy and paste)

getprop ro.product.device

df /system /data /cache /vendor/firmware/misc

cat /sys/module/lowmemorykiller/parameters/*
[HTC Sensation] ViktorX:
Version 3 in ViperS swap is not working, it just hangs...
[HTC Sensation] rzr86:
strange because with me version 3.5 was working fine

do you have installation problems?
[HTC Sensation] ViktorX:
Version 3.5 is working but in all i one install zip it just doesn't install, hangs at 0% progress
[HTC Sensation] rzr86:
redownload it

see how it goes
[HTC Sensation] Murtagh92:
u0_a45@android:/ $ getprop ro.product.device

endeavoru

che /vendor/firmware/misc <

Filesystem Size Used Free Blksize

/system 1.2G 602.2M 657.7M 4096

/data 2.1G 1.7G 452.3M 4096

/cache 315.0M 112.6M 202.3M 4096

/vendor/firmware/misc: No such file or directory

memorykiller/parameters/* <

0,1,2,5,7,16

32

2

1

0,0,0,0,6177,9216

9933,12441,14950,17510,20019,31385

u0_a45@android:/ $

Thank you, is it enough?

Sent from my one x with tapatalk 2
[HTC Sensation] Sh0wt1me:
Yes now it worked, I just downloaded the file again ;) the first download had also a correct md5..

Gesendet von meinem HTC Sensation mit Tapatalk 4
[HTC Sensation] hinxnz:
This is an issue with the installer itself, will be updating it in next release. Just for now when this happens pull the battery and try again, it will work this time.

It seems you already have an older version of MultiSwap installed as the lmk values are the ones I set and also some of your cache is occupied by the looks of MultiSwap too :D

Does this work well? What are the lmk values without MultiSwap installed? Also are you using a Sense ROM? Can you post the outcome of the code below too, no need to post any of the lines starting with /mnt, thanks.

df

Great, glad it's working now. Sometimes the actual flashing process can go wrong not just with this but flashing anything, that's why a nandroid is always recommended.

Sent from my HTC Sensation
[HTC Sensation] Murtagh92:
u0_a45@android:/ $ df

Filesystem Size Used Free Blksize

/dev 485.9M 48.0K 485.9M 4096

/storage 485.9M 0.0K 485.9M 4096

/system 1.2G 602.2M 657.7M 4096

/cache 315.0M 112.6M 202.3M 4096

/rca 5.9M 4.2M 1.7M 4096

/rfs 5.9M 4.0M 1.9M 4096

/devlog 21.6M 15.6M 6.1M 4096

/data 2.1G 1.7G 440.5M 4096

/storage/sdcard0 25.2G 23.0G 2.2G 32768

I'm using an AOSP rom, I tried to install MultiSwap_v4.1 but at one point it was aborted...

Sent from my one x with tapatalk 2
[HTC Sensation] hinxnz:
It must be installed though unless I just coincidently choose the exact same values but unlikely, how much free space would normally be in system with a Sense ROM? What is the storage partition used for? Can you enter these codes too and post results. Last ones, thanks :)

ls /system/etc/init.d

su
ls /cache /cache/multiswap

If MultiSwap comes up in the first code enter this

su
rm /system/etc/init.d/93multiswap

then reboot and enter

cat /sys/module/lowmemorykiller/parameters/*

Sent from my HTC Sensation
[HTC Sensation] Murtagh92:
I've activated swap with "swapon" but now I don't know what is the command to set swappiness.

EDIT: When I reboot the phone the swap is disabled, how can I set the swap ever enabled?

Sent from my one x with tapatalk 2
[HTC Sensation] buju001:
Today i test Version 2 of swap on Revelation 1.0.2 and i must say cause the phone are more responsive without swap.I don`t give a try another version cause i`m not a heavy user,but this doesn`t work so good.I just wanna give a feedback:)
[HTC Sensation] hinxnz:
Ok thanks I will be be working on adding more devices in the future and next device will be yours :)

and probably next my other devices (SG Ace 2, SG Mini).

I'll send you a PM when I have done so, so you can test it before release.

I can't say when as it does take time to configure the installer etc, so definitely don't hold your breath :laugh:

For now just install that version you did before and see trouble shooting in OP about upgrading busybox.

I will be working on an update for this device first for all versions, as MultiSwap still has further development and testing. Also will be working on upgrading the installer too :good:
[HTC Sensation] MrJukeHardbane:
I didn't have any problem like lag or low ram with version 4.3.2 but once my phone just freezed while using and I had to pull battery and start again. Is there any problem or it's normal?

Sent from my HTC Sensation Z710e
[HTC Sensation] rzr86:
i don't think it is related to the multiswap mod
[HTC Sensation] MrCatalyst:
I've installed version 4 and hoping to get positive results, compared to not having any MultiSwap prior to this. Based on people's comments, it should work like charm. :D
[HTC Sensation] SKAm69:
How to check how much space is left on misc partition?
[HTC Sensation] rzr86:
df /vendor/firmware/misc i think
[HTC Sensation] MrCatalyst:
Quite pleased with the mod. Prior to it, I had to have Performance governor on to minimise the lag I've had, but now it works flawlessly w/ Performance on. I will try going back to Ondemand to save a little on battery. :D
[HTC Sensation] iphuang:
I also use Revelation ROM. I can confirm that. This ROM is snappy in its original form. I figured out the cause of lag.

I decreased the value of swappiness. The phone was rejuvenated.:good:

To be frank, I set swappiness to 30.
[HTC Sensation] hinxnz:
Sorry CM users I noticed there was an error in the installer and it will be fixed in the next release.

You would of been installing the Sense versions instead, which probably wouldn't work well :o​
[HTC Sensation] buju001:
And with this value are snappy like in original form?I try with highter values and also bad results,but i didn`t try low values:D
[HTC Sensation] Sprint82:
I always have to set the cost value to 16, because also with the newest version (costume setting is 30) my phone becomes laggy as hell.

Don't know why. Think I must use a lower swappiness level, think the memory of the sensation is to slow to handle much swapping action.

Hmm... Maybe I should buy a newer device to get more RAM for work. You can't make the sensation to a device that it never was and never will be.
[HTC Sensation] timothio:
Hav been using multi swap for a few weeks n the multitasking is great. However, when I tried to use the browser for heavy tasks, such as loading YouTube or the verge, the phone freezes and I hav to pull out the battery. Is it becoz of the minfree values or the swapiness of the swap partition???
[HTC Sensation] iphuang:
My previous device was htc HD2. For me, sensation is just amazingly fast.:laugh:
[HTC Sensation] Sprint82:
The sensation is fast, faster than the desire hd of my wife but swapping doesn't work at all with that phone. I tried so much and so I think next phone should have enough RAM to avoid using such mods that don't work for all in the same way.
[HTC Sensation] hinxnz:
OP updated with new MultiSwap v1.0.1 :)

- All versions have been updated with a different read/write size.

- Fixed updater script for CM users.

- Added another version for CM based users.

- Added a LMK tweak option for Sense and CM users.

- Updated installer to v2.7 RC2

- Added back menu option in installer for easier use.

- Added a bit more system info.

- Many minor alterations to installer.

- Lot more options for setting custom Swappiness.
[HTC Sensation] MrJukeHardbane:
I see three partition i.e. /dev , /mnt/asec and /mnt/obb and all of them have around 286 MB free space. Can this be utilized as a swap space too? Sorry if this question makes you wanna slam my head against the wall :D. Just a noob curiosity it is.

Sent from my HTC Sensation Z710e
[HTC Sensation] ganeshp:
Nope they are of tmpfs file system meaning they are virtual and are mounted on ram... All the apps use that space
[HTC Sensation] syruz:
Good Day [MENTION=1909299]hinxnz[/MENTION]

just want to know if your multiswap is working for me

Before:

Size: 787

Used: 616

Free: 170

Blk: 4096

After:

Size: 787

Used: 726

Free: 61

Blk: 4096

btw Great work...
[HTC Sensation] stormy_gale:
Hi... Best way to check is to open a terminal emulator & run the following commands :

free -m

or/and

cat /proc/swaps

Example results:

ViperS@/$ free -m

total used free shared buffers

Mem: 572 533 39 0 3

-/+ buffers: 529 43

Swap: 390 96 293

ViperS@/$ cat /proc/swaps

Filename Type Size Used Priority

/system/multiswap/swap1.img file 55996 24556 1

/system/multiswap/swap2.img file 55996 24612 1

/cache/multiswap/swap1.img file 55996 24416 1

/cache/multiswap/swap2.img file 55996 24528 1

/vendor/firmware/misc/multiswap/swap1.img file 43992 276 0

/vendor/firmware/misc/multiswap/swap2.img file 43992 292 0

/vendor/firmware/misc/multiswap/swap3.img file 43992 244 0

/vendor/firmware/misc/multiswap/swap4.img file 43992 272 0

ViperS@/$ !
[HTC Sensation] syruz:
Yes sir i've seen that in Terminal Emulator, it runs smoothly with browsing and etc while using my phone, but im having problems with games. Temple Run, Minion rush etc. it lags too much!. is it because the mod wants free ram and it affect this games?
[HTC Sensation] MrJukeHardbane:
Do this Mod works with MIUI JB V5 3.9.13?

Sent from my Sensation
[HTC Sensation] hinxnz:
It shouldn't, try changing the swappiness lower.

Yes just choose the version it's based on.
[HTC Sensation] MrJukeHardbane:
How do I know what version it is based on? Is it based on CM?

Sent from my Sensation
[HTC Sensation] hinxnz:
If it's JB it will be based on CM
[HTC Sensation] syruz:
Thx for your reply sir [MENTION=1909299]hinxnz[/MENTION]

but what swappiness value would you recommend?

Tested the followong swappiness

• 100%

• 80% Default

• 50%
[HTC Sensation] hinxnz:
Try 60% :)

Also if you still have issues try free up some RAM before playing, I highly recommend 360 Mobile Sercurity it has a great RAM clean up feature :good:
[HTC Sensation] syruz:
sir im down to 10% i still experience lags but at this level, its much better unlike 20% and above but still sir, their are a lot of time gaps or time elapses during game play.. would you like to test out this games? especially Minion Rush

Thank you and more power
[HTC Sensation] ahsan64:
Minion rush not works great on sensation. It works fine after minion launch/start or after 1-2 min of gameplay...

I think its a bug in the game...
[HTC Sensation] buju001:
Yes,i can confirm this.The game goes well after ~1 minute of gameplay.But,after that,goes very well.And i don`t use swaps:)
[HTC Sensation] kairanz:
i think i have a problem install this mod in carbonROM.

flashed it, choose CM based ROM, and choose option 2.

reboot, and type free -m in terminal emulator, but it say 0 swap

can you guys help me?
[HTC Sensation] hinxnz:
See trouble shooting in OP about upgrading busybox, make nandroid first.
[HTC Sensation] cutejerk420:
Pls which swap will b good for revelations rom, I also play games like beach buggy and also instagram Facebook, tweet and whatsapp
[HTC Sensation] MrJukeHardbane:
Version 4 worked awesome for me.

Sent from my Sensation
[HTC Sensation] Sprint82:
I had to uninstall the mod. Also the newest version doesn't work for me/my device. I think that it works better without the swap. :(

I tried so many different settings but they all had the same effect, if the swap was filled up over 120 MB the complete device got laggy as hell and only a reboot helped so I think in my "strange special" case it works better without it. Hmm
[HTC Sensation] kairanz:
tried upgrading busybox using smart install, flash the mod, choose CM based (i use carbon ROM), reboot, type free -m in terminal and still got 0 on swap
[HTC Sensation] hinxnz:
Try the normal install and see. When I tested with CM, it worked fine with the smart install option but something must of changed in the newer ROMs.

Sent from my HTC Sensation
[HTC Sensation] cutejerk420:
Will this work on cm10.2 by android 123...7 ROM? And if yes...which shud I choose?
[HTC Sensation] ahsan64:
Yes it will work ..

And choose according to your need.. :confused:

Sent from my HTC Sensation.....
[HTC Sensation] cutejerk420:
Ok
[HTC Sensation] cmjester6421:
Hi I'm currently running CM 10.2 on the 4g tmo I'm getting massive lag spikes with the mod

Here is the rom and phone specs I'm running

Android1-7 CM 10.2 PMEM http://xdaforums.com/showthread.php?t=2320657

The 624mb ram kernel from same link

TWRP 6.2.0.0 Recovery

I need to know if I can even run this mod right

Note: I never got lag till the morning after the install and that is the only resent change to my phone!

:confused::eek:
[HTC Sensation] cmjester6421:
Look I just need to know why it could be causing lag as well as lockups. Anyone at all would be grand...
[HTC Sensation] hinxnz:
Is your swap or ram dropping low? Try using the minfree tweak.

Sent from my HTC Sensation
[HTC Sensation] leos0000:
Hi guys where i can find forum for my phine
[HTC Sensation] rzr86:
You are in the correct forum but why you post that here?
[HTC Sensation] @@RON:
Can multi swap be removed with the same installer like turbo boost?
[HTC Sensation] cmjester6421:
Yes it can it's in the installer
[HTC Sensation] Beast Power:
Is there a way the multiswap can be modified for the HTC ONE, with Viper One (HTC One) there is 619 meg cache free.
[HTC Sensation] boyriot:
this is awesome, I got more free RAM using this swap :highfive:
[HTC Sensation] hinxnz:
I may add some more devices if I find the time, been busy lately.
[HTC Sensation] anttaz:
Will not create swap in misc

After installing 3 or 4 using either Viper or Sense Version it will not create swaps in misc?

running check in terminal after installing option 3 only shows 4 swaps in cache, and in option 4 only shows 4 swaps in cache and 4 swaps in system?

I have tried remove and install and all sifferent options of instal via both viper and sense version but it will not create anything in misc?

Rom is: ViperS 3.1.2
[HTC Sensation] Gruber11:
Does this mod work on latest carbon rom?
[HTC Sensation] ahsan64:
Yes .. :good:
[HTC Sensation] McLongDong:
Hello, is the swap compatible with viperS 3.1.3?
[HTC Sensation] hinxnz:
Yes it should...
[HTC Sensation] farazejaz:
I am on cm11 kitkat but when I install this mod I cannot see any swaps whats wrong am I doing it wrong ? Earlier tried with viper jb 3.1.2 worked like a charm but not working with cm system free memory is more than 400
[HTC Sensation] WSZR:
I don't see any change in ViperS 2.0.0.
[HTC Sensation] McLongDong:
I was just wondering, the MultiSwap v4.3.1 is similar to which version on the MultiSwap All in One v1.0.1? What does MultiSwap have that's different from your new version? I don't know why but my phone seems more snappier with v4.3.1.

Great work again, without this, my phone will lag horrendously. Also, will you be making one for ViperS v3.1.4 and the new Viper Sense 5 ROM?