[4/1][MOD][KT/TW-Adam2.1/2-Ausdim]Turbo ZRAM V2.3a | 4Xzram swaps | UPDATED!

rlorange

Senior Member
Nov 5, 2010
4,307
2,241
0
Melbourne
>>> Welcome to Turbo ZRAM!! V2.3a

===============================
DOWNLOAD LATEST: V2.3a

DROPBOX LINK
https://www.dropbox.com/s/3hmkdxfia7u6n0n/turbo_ZRAM.2.3a.apk
===============================

Turbo ZRAM V2.3a (test release)

2.3a>-Rework of all the tasks

https://www.dropbox.com/s/3hmkdxfia7u6n0n/turbo_ZRAM.2.3a.apk


2.1d> Reworked the command. Discovered that the KT auto zram setup has broken permission for the /sys/block/zram0 simlink. App will now fix this and runs WAAAY Better for me.

2.1c > Fixed reporting of zram Size 1600MB on the latest KT kernel before it's set turbo style :)

2.1c > detection and deletion of conflicting scripts.

> Dual compatible with Module based kernels (Adam 2.1/2, Audism, KT TW prior to 17/9 versions)

> New "Re-detect kernel" feature

> Other changes...


===============================

What is Turbo ZRAM?

It is a unique performance mod which sets up 4 parallel zram swaps for kernels with the zram module.The swaps are set to run at the same priority so the Linux kernel is able to multi-thread the swap process on our powerful quad core devices. Zram runs super fast with no lag

What does zram do in the first place?

Zram is a virtual disk which resides in RAM itself. App data sitting in the memory is compressed while it is not in use to 1/3 its original size. Effectively your phone has more memory!

Regular single-swap zram can lag considerably while it compresses/decompresses the swap data. Turbo zram solves this issue :)

Why would we need zram on a device with 2GB of RAM?

Well it depends on what you want to do with your device but why wouldn't you want to effectively create more memory out of thin air?

Also Samsung TW has notorious LAG and multi-tasking issues which this mod solves. The zram swaps keep the memory from maxing out as often so the TW lag is almost eliminated...

Finally, Multi-tasking is MASSIVELY boosted. You can keep more big apps running in memory without them being killed too early... test this yourself you will be able to multitask without hiccups to your hearts content.

===============================












===============================

QUICK START GUIDE:

#1 Download and install busybox CWM zip at the end of the OP

#2 install the latest app below.

#4 Run the app and allow it to detect your kernel zram setup. Reboot
SOMETIMES TWICE IS NECESSARY IF IT WONT RUN PROPERLY

#3 Set your chosen settings and set on boot to generate an int.d script

===============================


KNOWN ISSUES>>>

The "0 kb" bug


Q: What is it?
A: Turbo ZRAM may set up the 4Xzram swaps correctlty but they are never used properly. If you tap the "i" button you will see 0Kb in use for all the swaps.

Troubleshoot: The OKb issue means something has gone wrong with setting the zram swaps.

#1> You may have just flashed a new kernel you should reboot your device and try again

#2> If the issue persists you should try to install the latest busybox to /system/xbin/ using Stericsson app from Play. Also delete the set-on-boot via the app, reboot and set again

#3> You may have conflicting scripts in /system/etc/init.d/ The latest version will delete some known conflicting scripts but you should be aware of any scripts you have and if they do zram related stuff

S-Tweaks bug (Adam kernel)

Q: What is is?

A: For unknown reasons Turbo ZRAM breaks S-tweaks... Hopefully I will fix this soon.

Troubleshoot:

#1 Run Turbo ZRAM and set your desired settings the tap set on boot.

#2 Uninstall Turbo ZRAM

#3 Reboot into recovery and re-flash Adam kernel

#4 Use Script Manager app to run the script generated in /sdcard/01turbozram
================================

CURRENT LATEST VERSION: 2.1b

================================

>>> This is a BETA so please expect glitches and report them here.

>>> Sometimes it seems to take 5-10 minutes after boot before your swaps start to work... No idea why.

>>> Default 400mb likes to set itself sneakily... If this occurs it will read 1600MB on first app run. Simply choose a size tap 'set now' and it should not occur again.


================================

If my drop box gets swamped feel free to post mirrors guys


================================

Try a zram Size of 1248MB with a swappiness of 100 to start with...

I use 1248MB, swappiness 100 :)

===============================
DOWNLOAD LATEST: V2.1c (V2.1d removed)

DROPBOX LINK
https://db.tt/D2Yk8CgV
===============================
 

Attachments

Last edited:

pham818

Senior Member
Dec 4, 2011
1,210
219
0
Portland
Nice 1st post dude... NO! Since zram is a VIRTUAL disk written into ram only it shouldn't be a battery killer...

But why don't you try it and tell me mr. Cynical?

Sent from my GT-I9505 using Tapatalk 2
calm down bro, you're "drunk" remember?

p.s. i pressed thanks
 
Last edited:

rlorange

Senior Member
Nov 5, 2010
4,307
2,241
0
Melbourne
calm down bro, you're "drunk" remember?
Ha ha! Just a little... Been trying to release this for days. Doesn't seem to drain battery so far but I need feedback. The performace boost however is seriously good... Been wanting to make this idea happen since my S3 days

No hard feelings bro

Sent from my GT-I9505 using Tapatalk 2
 
Last edited by a moderator:
  • Like
Reactions: pham818

pham818

Senior Member
Dec 4, 2011
1,210
219
0
Portland
Ha ha! Just a little... Been trying to release this for days. Doesn't seem to drain battery so far but I need feedback. The performace boost however is seriously good... Been wanting to make this idea happen since my S3 days

Sent from my GT-I9505 using Tapatalk 2
im trying it out right now, didn't mean to offend ya!
 
Last edited by a moderator:
  • Like
Reactions: rlorange

rlorange

Senior Member
Nov 5, 2010
4,307
2,241
0
Melbourne
I don't get it. Why are there 4 swap? And what does it mean by parallel?
Zram is a swap held in memory to compress unused apps on standby held in memory.

This app sets 4 zram swaps which share the job when set with equal priority. Since our devices are multi core Linux can do this faster.

Try it you will feel the difference

Sent from my GT-I9505 using Tapatalk 2
 

lzk123

Senior Member
May 16, 2013
320
74
0
Singapore
Zram is a swap held in memory to compress unused apps on standby held in memory.

This app sets 4 zram swaps which share the job when set with equal priority. Since our devices are multi core Linux can do this faster.

Try it you will feel the difference

Sent from my GT-I9505 using Tapatalk 2
I think I get it. So basically it will use slightly more RAM for storing the zram swap? As for performance-wise, it will be faster since the unused apps are already cached and stored in the zram swap?
 

rlorange

Senior Member
Nov 5, 2010
4,307
2,241
0
Melbourne
I think I get it. So basically it will use slightly more RAM for storing the zram swap? As for performance-wise, it will be faster since the unused apps are already cached and stored in the zram swap?
Kind of. .. But not really lol!.

Zram takes stuff sitting in ram which is unused and compresses it saving space. Having 4 of these virtual makes it faster!

Sent from my GT-I9505 using Tapatalk 2
 
  • Like
Reactions: lzk123

lzk123

Senior Member
May 16, 2013
320
74
0
Singapore
Kind of. .. But not really lol!.

Zram takes stuff sitting in ram which is unused and compresses it saving space. Having 4 of these virtual makes it faster!

Sent from my GT-I9505 using Tapatalk 2
When you say 4 parallel, does that mean that an unused app in the RAM is compressed and split into 4 different zram swap? Or is it compressed and duplicated into the 4 zram swap, such that the uncompressing process will be somewhat faster?
 

rlorange

Senior Member
Nov 5, 2010
4,307
2,241
0
Melbourne
When you say 4 parallel, does that mean that an unused app in the RAM is compressed and split into 4 different zram swap? Or is it compressed and duplicated into the 4 zram swap, such that the uncompressing process will be somewhat faster?
It's not duplicated but spread evenly across the 4 zram disks. But when it writes or reads to the swap it can do this in parallel since our phones are multi core. Andriod is limited is how it can exploit 4 core CPUS but not Linux!, zram runs under Linux and those 4 cores can process each zram swap simultaneously in parallel. Nice eh?

Sent from my GT-I9505 using Tapatalk 2
 
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