[MOD] MultiSwap v1.1.0 [All in One] Prioritized Multiple Shared Swap

hinxnz

Senior Member
Jul 21, 2009
2,821
2,410
193
@hinxnz

I'm installing this alongside with hardswap. How can I change the priority of hardswap to 0?

Sent from my HTC Sensation XE with Beats Audio Z715e
Open the init.d script 991swap, and on line 31 it says
Code:
swapon $swap_partition >>$logfile_location/swap.0.log;
and replace it with
Code:
swapon -p 0 $swap_partition >>$logfile_location/swap.0.log;
I'm not sure if it will be successful but you could try and not sure how it will act too as for different read/write speeds etc. To set the swappiness to 100 like he has in his script, just edit mine otherwise leave it as is.
 

hinxnz

Senior Member
Jul 21, 2009
2,821
2,410
193
OP updated again :D New versions for all, enjoy :)

- Fixed script to recreate swap files in /vendor/firmware/misc partition on reboot in all versions
- Adjusted minfree values for v3.3
- Lowered swappiness values in all versions to 80
- Fixed removal package to remove swap files made in /vendor/firmware/misc partition
 

magic.hand

Senior Member
Feb 8, 2012
380
86
0
That's fast for an update. Haven't finished testing previous version.

Installed new version anyway. Feel slightly lighter.

One question, will there be any problem integrating CrossBreeder alongside? I read few post back, there might be BusyBox problem.

Sent from my HTC Sensation XE with Beats Audio Z715e
 

hinxnz

Senior Member
Jul 21, 2009
2,821
2,410
193
That's fast for an update. Haven't finished testing previous version.

Installed new version anyway. Feel slightly lighter.

One question, will there be any problem integrating CrossBreeder alongside? I read few post back, there might be BusyBox problem.

Sent from my HTC Sensation XE with Beats Audio Z715e
Yeah it was a fast update but I thought of what I added not long after I uploaded previous version :D I left both versions though as latest version will have a lot more write cycles but it will be faster and more responsive besides this. I'm not sure if anything else can be done to improve it further now but who knows there could be :) I haven't got it working with CrossBreeder yet, it installs it's own busybox which interferes. I gave up on it at the time but will try again in a day or so.
 

magic.hand

Senior Member
Feb 8, 2012
380
86
0
Yeah it was a fast update but I thought of what I added not long after I uploaded previous version :D I left both versions though as latest version will have a lot more write cycles but it will be faster and more responsive besides this. I'm not sure if anything else can be done to improve it further now but who knows there could be :) I haven't got it working with CrossBreeder yet, it installs it's own busybox which interferes. I gave up on it at the time but will try again in a day or so.
Awesome. Will keep testing again while waiting for your next update.

Sent from my HTC Sensation XE with Beats Audio Z715e
 
  • Like
Reactions: hinxnz

mjuhari

Member
May 15, 2012
27
14
0
Yeah it was a fast update but I thought of what I added not long after I uploaded previous version :D I left both versions though as latest version will have a lot more write cycles but it will be faster and more responsive besides this. I'm not sure if anything else can be done to improve it further now but who knows there could be :) I haven't got it working with CrossBreeder yet, it installs it's own busybox which interferes. I gave up on it at the time but will try again in a day or so.
Hi man, thank you for your hardwork.
Just want to give feedback to your awsum MOD,

Installing v3.4 of your MOD to my Revelation 1.02 and it's not running on my phone, couldn't see any swap created. CrossBreeder is running well.

Upgraded my busybox to latest version, installed it to /system/xbin/

Then restarted, same result.


Changed one line of your swap init.d script from

bb=$(find /system/ -name 'busybox')

To

bb=$(find /system/xbin/ -name 'busybox')

And I can see your MOD is now running, all swap created and running, and I can also see my CrossBreeder is also running on my phone.

Thanks again.


Sent from my HTC Sensation Z710e using xda app-developers app
 

cwk_and

Senior Member
Mar 24, 2011
164
27
0
pinang
I experieced crash after i have flashed the latest version of multiswap :rolleyes:
And it keep reboot when all apps was loaded.
But luckily the crash no longer exist after i reflash the whole ROM(viperS)
 
  • Like
Reactions: dr32d

magic.hand

Senior Member
Feb 8, 2012
380
86
0
Hi man, thank you for your hardwork.
Just want to give feedback to your awsum MOD,

Installing v3.4 of your MOD to my Revelation 1.02 and it's not running on my phone, couldn't see any swap created. CrossBreeder is running well.

Upgraded my busybox to latest version, installed it to /system/xbin/

Then restarted, same result.


Changed one line of your swap init.d script from

bb=$(find /system/ -name 'busybox')

To

bb=$(find /system/xbin/ -name 'busybox')

And I can see your MOD is now running, all swap created and running, and I can also see my CrossBreeder is also running on my phone.

Thanks again.


Sent from my HTC Sensation Z710e using xda app-developers app
Yeap..that did the trick.

Sent from my HTC Sensation XE with Beats Audio Z715e
 

hinxnz

Senior Member
Jul 21, 2009
2,821
2,410
193
Hi man, thank you for your hardwork.
Just want to give feedback to your awsum MOD,

Installing v3.4 of your MOD to my Revelation 1.02 and it's not running on my phone, couldn't see any swap created. CrossBreeder is running well.

Upgraded my busybox to latest version, installed it to /system/xbin/

Then restarted, same result.


Changed one line of your swap init.d script from

bb=$(find /system/ -name 'busybox')

To

bb=$(find /system/xbin/ -name 'busybox')

And I can see your MOD is now running, all swap created and running, and I can also see my CrossBreeder is also running on my phone.

Thanks again.


Sent from my HTC Sensation Z710e using xda app-developers app
Thanks will make a new version as soon as I can knowing this info :)
I experieced crash after i have flashed the latest version of multiswap :rolleyes:
And it keep reboot when all apps was loaded.
But luckily the crash no longer exist after i reflash the whole ROM(viperS)
You should of made a nandroid, I tried telling you in OP and in installation and you could of flashed the removal zip too instead :)
I will look into it, possibly was caused by the minfree values and may revert them back to my original ones. It seems I can't stop the low memory issue in Sense JB ROM's with version 3.
 
Last edited:
  • Like
Reactions: cwk_and

topjohnwu

Senior Recognized Developer / Recognized Contribut
Jan 31, 2012
1,849
60,536
0
Taipei
Can anybody kindly upload version 2.1? I deleted my file. Thanks a lot!!

Sent from my HTC Sensation XE with Beats Audio Z715e using Tapatalk 4
 

rzr86

Senior Member
May 21, 2012
8,109
2,455
258
35
Nafpaktos
something strange happens to me
when i switch on the device and booting to the OS whatever app i am trying to open it closes immediately:(
i have to reboot the device
this started to happen after flashing the 3.3 and 3.4 version of multiswap

any ideas of what to do?

edit:i switched off the device and left it for 4-5 minutes
i switched it on and i didn't do anything for 2 minutes
everything works fine now:confused:

so it is not related to the multiswap i guess
 
Last edited:
  • Like
Reactions: mw86

topjohnwu

Senior Recognized Developer / Recognized Contribut
Jan 31, 2012
1,849
60,536
0
Taipei
Okay I have tested and compared, the version 2.1 is much better than the v3 ones. The mod really make ViperS flying without lags. Thank you a lot for this wonderful swap mod!!!

Sent from my HTC Sensation XE with Beats Audio Z715e using Tapatalk 4
 
  • Like
Reactions: rzr86 and hinxnz

hinxnz

Senior Member
Jul 21, 2009
2,821
2,410
193
After installing this v3.1 I tried playing beach buggy and the game gets killed or fc by itself after few seconds of racing...why is that?

Sent from my HTC Sensation Z710e using xda premium
Beach buggy working good in next version I'm testing :)
something strange happens to me
when i switch on the device and booting to the OS whatever app i am trying to open it closes immediately:(
i have to reboot the device
this started to happen after flashing the 3.3 and 3.4 version of multiswap

any ideas of what to do?

edit:i switched off the device and left it for 4-5 minutes
i switched it on and i didn't do anything for 2 minutes
everything works fine now:confused:

so it is not related to the multiswap i guess
I think this is related to minfree I set aswell I had the same thing was fine after a restart and haven't had it since but I'm on the same ROM too. I will be releasing a new version tomorrow. Still testing but new version is working great on ViperS JB, finally sorted RAM issue and working great with Crossbreeder thanks to @mjuhari for giving me an idea for the new script. I haven't tried CrossBreeder before but this mod and my one, phone is running great. I nearly gave up trying to sort the low RAM issue out but glad I didn't now :D
Okay I have tested and compared, the version 2.1 is much better than the v3 ones. The mod really make ViperS flying without lags. Thank you a lot for this wonderful swap mod!!!

Sent from my HTC Sensation XE with Beats Audio Z715e using Tapatalk 4
Thanks for feed back :) Releasing a new version tomorrow. If you have time if you could try it when I do, to see what the results are then and report back :)
 
  • Like
Reactions: rzr86 and Gramzz

LocotesKilla

Senior Member
Aug 1, 2012
125
60
0
Birmingham
The ViperS JB Rom Cleaner Script!

Hello, I'm going to be cheeky and stick my nose in lol...

This Rom Cleaner script I made is a quick way to gain enough space to use the lovely multiswap mod :)

Now I think about it, I don't see why you couldn't use it in Revelation with a bit of adjustment :)

Finally! It's done!

This Rom Cleaner script is designed to work alongside with ViperS JB's Aroma installer, for HTC Sense installs only.

It contains fixes for errors made by the Aroma Installer, check them out!

PLEASE edit the script to keep or remove what you need before using!

It should be error free, if anything goes wrong, let me know!

Enjoy!
Also, which version of Multiswap is the best one to use?
 
Last edited:
  • Like
Reactions: hinxnz