[AROMA] [SWAP Partition,SWAP File+ZRAM+] Memory Manager V 2.5.9

Are you using LINUX SWAP?

  • Yes :)

    Votes: 2 33.3%
  • No :(

    Votes: 4 66.7%

  • Total voters
    6
  • Poll closed .

D_Vovan_238

Senior Member
Sep 21, 2014
454
299
93
33
Ivano-Frankiws'k
Hi;)
Was searching for Linux SWAP Enabling Scripts many times, Linux SWAP Partition or SWAP File, was using Ram Expander for mount my Linux SWAP Partition, and didn't found nothing apart tutorials how to make it…
So I decided to make my own Linux SWAP mounting script.
It's not the first version, so many bugs are already fixed, also included some Low Memory TaskKiller Tweaks.
And because I'm using SdCard EXT4 Partition for secondary Roms I added Script to mount it like other storage on data/media/0, so it's also accessible via PC Connection ;)

Tested on my Xperia Z1 Running Stock Android 5.1.1, but must work
on all Xperia Z Line Models…
Also made some simple Application With TASKER App Factory for change Ram Profiles when Android is booted ;)
To Completely Remove it Simply don't change Aroma Installer Options, press next 4 times, and all of my Stuff's will be Completely Removed ;)

Here is tutorial, how to correctly create Linux SWAP or EXT4 Partition, or both ;)
It's highly recommended to use Class 8 or higher Micro SD-CARD, otherwise it will slowdown your system…
If you don't want to lose your data on SDCARD simply choose move/resize option, make primary partition smaller, then create other partition, or partitions on free space.
⇧⇧⇧Only works with Windows method ;)⇧⇧⇧
And if somebody don't want to make any changes, hi can use SWAP File, my Installer will create 512Mb, 1Gb or 2Gb SWAP Files on SDCARD or on DATA Partition ;)
My Script and Application don't require SWAP, so you can use it only for RAM PROFILES or EXT4 PARTITION MOUNTING , everything can be selected apart ;)
Now init.d support also don't required, my app repeating all actions, but atleast one option must be selected, because my app and script use flags to know what to make and if no option is selected my script and app have nothing to do…

Requirements : Latest BusyBox Version is Required (Can be Installed by the Same Installer ;) ) .

WARNING : Using of Linux SWAP Partition or SWAP File can reduce your memory life, because of many rewrites!..


⇩⇩⇩Download folder, will upload my script there ;)⇩⇩⇩

⇝Download Link⇜

Changelog :
V 1.1.1 Initial Public Release .

V 1.2.2 Update :

1)Some bugs fixed;
2)SdCard1 and Linux SWAP Partitions Dual SWAP Added;
3)Added SdCard1 SWAP Files;
4)Cleaning Script Added to Installer.

V 1.3.3 Update :

1)Some small bugs fixed;
2)Memory Manager Application Added;
3)Memory Manager Application Logs Added.

V 1.3.4 Update :

1)Script Code Improved;
2)Memory Manager Application Improved;
3)Added Script for App Installation on
ALL Android Versions;
4)Some Small Aroma Installer Improvements.
5)⇩⇩⇩Performance Control App Added to Installer⇩⇩⇩.
Extracted From RockZ1L ROM Credits to Venkat Kamesh.

V 1.3.5 Update :
1)Some Script Code Improvements;
2)Application Improved;
3)Small Bugs Fixes.

V 1.3.6 Update :

1)Application Improved;
2)Application Logs System Improved;
3)Small Script Improvements.

V 1.4.7 Update :

1)ZRAM and ALL Combinations Added;
2)TRIPLE SWAP SYSTEM Added;
3)Some bugs fixed;
4)Small Improvements.

V 2.5.8 Update :

1)Latest ARM BUSYBOX V1.24.1-Stericson Added to Installer;
2)Aroma Installer Improved;
3)Added RAM MEMORY Status Before and After Script Execution;
4)Application Improved;
5)Some Small Code Improvements.

V 2.5.9 Update :

1)Application Improved;
2)Application Instlling Script Improved;
3)Normal Application Installers Added;


Planned :

1)More Improvements and Stuffs...

Thanks to /Credits :
Venkat Kamesh for Butifull Animated Aroma Splash and Performance Control Application, thank you ;)
Amarullz for Great Aroma Installer, thank you very much :)
[NUT] for applications installing script (I used his script for apps installation, to not complicate my life ;) ), thanks for good script :).

Enjoy :)
 

Attachments

Last edited:

D_Vovan_238

Senior Member
Sep 21, 2014
454
299
93
33
Ivano-Frankiws'k
Searching for Ideas ;)

Thanks for Everyone ho thanked me :)
But , sorry, was waiting for any suggestions…
If someone want me to add something New, please let me know ;)
Now planned to add Lcd Density changing script and maybe something more, if I can, so still waiting for suggestions, or simply ideas, to make it Really Good ;)


Edition :

If someone have problems with my Stuff's, please provide me Aroma Installer Log and All XZRAMCONTROL SDCARD1 Folder content ;)
My App and Script have inbuilt logs system…
This way I can investigate what is wrong, maybe I made the error, Only One that don't making nothing never made errors ;)
 
Last edited:

D_Vovan_238

Senior Member
Sep 21, 2014
454
299
93
33
Ivano-Frankiws'k
Operation successful :D

Finally I changed internal battery of my Z1 :D
So I believe it will work two years more :)
And now I have many many ideas…
Thinking to make D_Vovan_238 Pack, with all stuff's and editions that I use…
But it will take time and will work only on Z1 ;)
Also updated my rom to latest .216 Sony build by MXNice And latest v16 Advanced Kernel by Sharonliu, so will work with those stuff's ;)


P.S. everything what I made, I made with my Xperia Z1 (C6903)…
 
Last edited:

iedafarha

Senior Member
Feb 19, 2012
237
254
0
Cheras
Hi;)
Was searching for Linux SWAP Enabling Scripts many times, Linux SWAP Partition or SWAP File, was using Ram Expander for mount my Linux SWAP Partition, and didn't found nothing apart tutorials how to make it…
So I decided to make my own Linux SWAP mounting script.

Enjoy :)
Thanks , work on my z1 , :good: what the best recommended selection on aroma installer? its so many selection there :)
 

D_Vovan_238

Senior Member
Sep 21, 2014
454
299
93
33
Ivano-Frankiws'k
:)

Thanks , work on my z1 , :good: what the best recommended selection on aroma installer? its so many selection there :)
There is no best Aroma settings, everything depends of what you want.
I'm using 1.4 Gb LINUX SWAP PARTITION MMCBLK1P2 and 8G EXT4 STORAGE MMCBLK1P3 for external Roms.
But if somebody want more performance, hi can use Dual SWAP, LINUX SWAP PARTITION and SDCARD OR DATA SWAP FILE.
But recently discovered that Dual SWAP, Linux SWAP Partition and SDCARD SWAP FILE don't work good on all roms :(
Also mostly use MultiTasking RAM Profile and ofcourse using my Apps ;)
 

D_Vovan_238

Senior Member
Sep 21, 2014
454
299
93
33
Ivano-Frankiws'k
Planned :)

Because now its turning more itresting, I am thinking about to add Latest BusyBox ONLY for Memory Manager...
And when I will made it, I will create DEVDB Progect ;)
But want to ask this stuff users:"Should i post it on Cross DEVICE or ONLY In XPERIA Z1 Android Development Departament?!."?..
If I will get no respond, I will create DEVDB Project ON Xperia Z1 Android Development...
Old Thread will be like Q&A Thread, or unmantained ;)
 
Last edited:

NetSkill

Senior Member
Aug 3, 2011
650
235
73
Slovakia
Is it possible to swap internal and external sd? I mean my 128gig sdcard will be recognized as sdcard0 so all the high-end games will be installed on external sdcard

Odoslané z D6603 pomocou Tapatalku
 

D_Vovan_238

Senior Member
Sep 21, 2014
454
299
93
33
Ivano-Frankiws'k
:)

Is it possible to swap internal and external sd? I mean my 128gig sdcard will be recognized as sdcard0 so all the high-end games will be installed on external sdcard

Odoslané z D6603 pomocou Tapatalku

The point of this stuff is Virtual Ram Memory :)
But if you want to move some heavy game files from internal memory to external sdcard, I suggest you to use obb on sd xposed module, if you have active Xposed Framework ofcourse, this way you can move all, or almost all, sdcard/android/obb and sdcard/android/data to sdcard1/android folder ;)
It will free up a lot of memory on internal storage ;)
 
  • Like
Reactions: NetSkill

D_Vovan_238

Senior Member
Sep 21, 2014
454
299
93
33
Ivano-Frankiws'k
:)

No it's not a copy, I didn't found this thread when was searching for Linux SWAP Scripts, other thing I didn't see Xperia Z1 in supported devices and third I didn't see option of dual swap and triple swap and ext4 mounting option.
I made my script on my own, you can find the history in RockZ1L kernel thread ;)
Will take a look inside this installer, I believe it's very different from my…
My installer using only one big script with flags to determine what to make…

Edition :

Was looking inside the Turbo Boost Mod, it's very very different from my script and it's working different way…
My Installer create SWAP File, not the script, like the other.
I think it's a bad idea to create SWAP File on boot, some users can take this slowdown like bootloop...
And there are many many different things, if you have basic android programming knowledge, take a look your self, I think you will found more then 10 different things ;)

And if you will try to flash Turbo mod on Xperia Z1, you will be surprised, the installer will exit without making something, because Z1 is unsupported model ;)
And I know why, some values are not good for our Z1 :)

Edition 2 :
Was reading aroma.config file from Turbo Boost Mod Installer and now I see that it also can install dual and triple swap, but it not using Linux SWAP Partition, only SWAP Files…
It's also very good work, like I think…
 
Last edited:

Giesama

Senior Member
Apr 25, 2014
148
23
38
Which app you use on your picture? If the app? If the app should be installed with, it does not happen with me.

Sent from my D5503 using XDA Free mobile app
 

D_Vovan_238

Senior Member
Sep 21, 2014
454
299
93
33
Ivano-Frankiws'k
:)

Which app you use on your picture? If the app? If the app should be installed with, it does not happen with me.

Sent from my D5503 using XDA Free mobile app
I used my application, maid by Tasker App Factory, for screenshots.
Are you using KK or LP Android?
And did you changed Android version in build.prop file?
Theoretically App installation script looking I to build.prop file to know how to install apps…
Be sure to select option to install apps in aroma installer, if not selected no apps will be installed ;)
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone