[HTC Sensation] hinxnz:
.

.

For Sense and CM10 based ROM's

.

...Compatible with ViperS Sense 5...

.

​

.

.

...Introduction...

​

.

I have made this MOD for you as the HTC Sensation's RAM is quite low for the modern ROM's we have and to better multitasking and caching.

.

I also have found that the other swap modifications available don't work to mine and others satisfaction.

.

This is not your ordinary swap mod, it includes tweaks to help performance and usage.

.

This MOD is for you so this thread is open to your ideas, questions and anything else relating to swap so feel free to speak up and help others too.

.

I also made this thread to not clutter ROM and Kernel threads with swap questions and answers.

.

I have had positive results using MultiSwap and so have others, I use it myself and find it great.​

.

​

.

...About...

MultiSwap All in One v1.1.0

​

.

.

ViperS, Revelation and Sense based ROM's

Version 2

This version will give you 112Mb of swap.

Consisting of 4 swap files in the cache partition.

Swappiness is set to 60 and has 1 priority set.

Great for light users.

Version 3

This version will give you 288Mb of swap.

Consisting of 8 swap files, 4 in the cache partition and 4 in the misc partition.

Swappiness is set to 80 and has 2 priorities set.

Great for medium users.

Version 4

This version will give you 400Mb of swap.

Consisting of 8 swap files, 2 in the system partition, 2 in the cache partition and 4 in the misc partition.

Swappiness is set to 100 and has 2 priorities set.

You need to have 110Mb of free space in system.

Great for heavy users.

.

​

.

.

CyanogenMOD based ROM's

Version 2

This version will give you 112Mb of swap.

Consisting of 4 swap files in the system partition.

Swappiness is set to 60 and has 1 priority set.

Great for light users.

Version 3

This version will give you 288Mb of swap.

Consisting of 8 swap files, 4 in the system partition and 4 in the misc partition.

Swappiness is set to 80 and has 2 priorities set.

Great for medium users.

Version 4

This version will give you 400Mb of swap.

Consisting of 8 swap files, 4 in the system partition and 4 in the misc partition.

Swappiness is set to 100 and has 2 priorities set.

You need to have 220Mb of free space in system.

Great for heavy users.

Version 4L

This version will give you 512Mb of swap.

Consisting of 8 swap files, 4 in the system partition and 4 in the misc partition.

Swappiness is set to 100 and has 2 priorities set.

You need to have 336Mb of free space in system.

Great for very heavy users.

.

​

.

Swappiness

Once you have installed MultiSwap you can choose a custom swappiness .

You can either select 10, 20, 30, 40, 50, 60, 70, 80, 90, 100.

You can also choose to set swappiness back to the MultiSwap default.

If you decide not to choose a custom swappiness the default one will be used depending on the version of MultiSwap you install.

Out Of Memory Tweak

This option will tweak your minfree and adj values in your Sense or CyanogenMod ROM.

You also have the option to remove this tweak.

Virtual Memory Tweak

This option will tweak some of your virtual memory values in your Sense or CyanogenMod ROM.

You also have the option to remove this tweak.

System Information

This option will show you how much in total and free space you have in your device.

So if you are unsure of your free space, this option is handy to check before installing some versions.

Also shows you a few other details.

MultiSwap Removal

This option will completely remove MultiSwap.

It removes everything related to MultiSwap, including all files and directories made.

A reboot is needed after choosing this option.

You don't need to use this option if you are changing versions or upgrading MultiSwap.

.

​

.

...Installation...

​

.

Just flash the MultiSwap All in One installer like you would flash a ROM in recovery. No need to wipe anything in recovery beforehand or afterwards. You can run the installer anytime and choose different options and combinations as many times as you want. No need to remove Multiswap if choosing another version, upgrading or changing options.

.

.

If your installing a version of MultiSwap that uses the system partition and need to acquire more space, an easy way to remove unwanted system apps, libs, wallpapers etc is with ROM Cleaner.

- If your using ViperS v3.x, you can use the ViperS Sense 4+ Cleaner Script.

- If you are using ViperS v5.x, you can use the ViperS Sense 5 Cleaner Script.

- If you are using Revelation ROM, you can use the Revelation Cleaner Script.

You can check your free space by entering the code below into Android Terminal Emulator or you can also check in the MultiSwap All in One installer.

df /system

.

.

It is still recommended to make a nandroid backup in recovery prior to flashing as you would before flashing anything.

You are responsible for what you flash. I take no responsibility for lost data or hardware failure but saying that MultiSwap is safe.​

.

.

After flashing, restart device and let your device settle for 5 minutes. To check if MultiSwap is active, enter code below into Android Terminal Emulator and you should see 4 or 8 swap files depending on the version chosen.

.

If you don't see the correct amount of swap files in terminal, see trouble shooting below.

cat /proc/swaps

.

​

.

...Troubleshooting...

​

Some Sense and CM based ROM's busybox don't support priorities for swap so upgrading busybox will solve your issue. Please install Stericson Busybox Installer from Play Store and update busybox using the Smart install option once installer has loaded up. Then reboot after upgrade. I prefer not to add busybox to MultiSwap as this way you will keep everything left compatible for ROM by just upgrading.

.

When upgrading ROM, more than likely you will need to reflash MultiSwap unless on CM and you use the updater script included in CM. You may also need to update busybox again too.

.

When upgrading MultiSwap, no need to remove any previous version as the updater script will take care of it for you.

.

Experience lag after installing or upgrading, just reboot and should be fine after that.

.

Having trouble with the JB Sense version, try the Sense based version.

.

If the installation hangs, just remove the battery and reboot into recovery to repeat the process.

.

​

.

...Changelog...

.

Always posted in thread on release.

.

​

.

...Credits...

...for ideas & helping in thread...

ganeshp | ashkan-khatar | mjuhari | LocotesKilla | rzr86

Many thanks to ahsan64 for helping with Aroma from amarullz

.

​

.

...Downloads...

.

MultiSwap All in One v1.0.0 -> http://db.tt/6qmdE9BY

MD5 : 35BB59F505BA51B4725408C2EFCAF7DD

MultiSwap All in One v1.0.1 -> http://db.tt/4VUDFSoz

MD5 : A32E3F860ADED2EBF1A451631D5D6B63

MultiSwap All in One v1.0.2 -> http://db.tt/k79k6Rgp

MD5 : B05E82F1C03C99747C816A5FAA04DE77

MultiSwap All in One v1.0.3 -> https://db.tt/8UytLxqz

MD5 : D3B6E3C619D6E4C32872FD68A0CDFA41

MultiSwap All in One v1.1.0 -> https://db.tt/TItSYwxE

MD5 : 179E4DA5D547E1297C42B94E37E6D76E
​

.

.

If you like my MOD and want to show your appreciation just hit the thanks button in the

bottom left corner and rate my thread 5 stars in the top right corner.

Also I would like to thank you for using or trying my MOD :)​

.

​

.

.