[Sony Xperia T, TL, TX, V] Rizal Lovins:
Hello Xperia friends....

Since we are updating our software to Official Jelly Bean 4.3, we all know that Jelly Bean 4.3 is not good on management RAM compared with Official Jelly Bean 4.1

so i want share some tips for you that may improve Multitasking

Requirement :

1. Rooted

2. Busybox installed

build.prop

you can add all this code

# Enable Purgeable Assets to free up more RAM when needed
persist.sys.purgeable_assets=1

# Lock Launcher in Memory
ro.HOME_APP_ADJ=1

OOM Groupings (choose ONLY one, Medium or High)

1. Medium OOM Groupings

# Mid OOM Groupings
ro.FOREGROUND_APP_MEM=6400
ro.VISIBLE_APP_MEM=8960
ro.SECONDARY_SERVER_MEM=14080
ro.BACKUP_APP_MEM=17920
ro.HOME_APP_MEM=3200
ro.HIDDEN_APP_MEM=17920
ro.EMPTY_APP_MEM=64000
ro.PERCEPTIBLE_APP_MEM=3200
ro.HEAVY_WEIGHT_APP_MEM=14080
ro.CONTENT_PROVIDER_MEM=38400
ro.FOREGROUND_APP_ADJ=25
ro.VISIBLE_APP_ADJ=35
ro.SECONDARY_SERVER_ADJ=55
ro.BACKUP_APP_ADJ=56
ro.HOME_APP_ADJ=26
ro.EMPTY_APP_ADJ=69
ro.HIDDEN_APP_MIN_ADJ=250
ro.PERCEPTIBLE_APP_ADJ=27
ro.HEAVY_WEIGHT_APP_ADJ=36
ro.CONTENT_PROVIDER_ADJ=70
ENFORCE_PROCESS_LIMIT=false
MAX_SERVICE_INACTIVITY=false
MIN_HIDDEN_APPS=false
MAX_HIDDEN_APPS=false
CONTENT_APP_IDLE_OFFSET=false
EMPTY_APP_IDLE_OFFSET=false
MAX_ACTIVITIES=false
ACTIVITY_INACTIVE_RESET_TIME=false
MAX_RECENT_TASKS=false
MIN_RECENT_TASKS=false
APP_SWITCH_DELAY_TIME=false
MAX_PROCESSES=false
PROC_START_TIMEOUT=false
CPU_MIN_CHECK_DURATION=false
GC_TIMEOUT=false
SERVICE_TIMEOUT=false
MIN_CRASH_INTERVAL=false

2. High OOM Groupings

# High OOM Groupings
ro.FOREGROUND_APP_MEM=6400
ro.VISIBLE_APP_MEM=8960
ro.SECONDARY_SERVER_MEM=19200
ro.BACKUP_APP_MEM=23040
ro.HOME_APP_MEM=3200
ro.HIDDEN_APP_MEM=23040
ro.EMPTY_APP_MEM=64000
ro.PERCEPTIBLE_APP_MEM=3200
ro.HEAVY_WEIGHT_APP_MEM=19200
ro.CONTENT_PROVIDER_MEM=38400
ro.FOREGROUND_APP_ADJ=25
ro.VISIBLE_APP_ADJ=35
ro.SECONDARY_SERVER_ADJ=75
ro.BACKUP_APP_ADJ=76
ro.HOME_APP_ADJ=26
ro.EMPTY_APP_ADJ=89
ro.HIDDEN_APP_MIN_ADJ=250
ro.PERCEPTIBLE_APP_ADJ=27
ro.HEAVY_WEIGHT_APP_ADJ=36
ro.CONTENT_PROVIDER_ADJ=90
ENFORCE_PROCESS_LIMIT=false
MAX_SERVICE_INACTIVITY=false
MIN_HIDDEN_APPS=false
MAX_HIDDEN_APPS=false
CONTENT_APP_IDLE_OFFSET=false
EMPTY_APP_IDLE_OFFSET=false
MAX_ACTIVITIES=false
ACTIVITY_INACTIVE_RESET_TIME=false
MAX_RECENT_TASKS=false
MIN_RECENT_TASKS=false
APP_SWITCH_DELAY_TIME=false
MAX_PROCESSES=false
PROC_START_TIMEOUT=false
CPU_MIN_CHECK_DURATION=false
GC_TIMEOUT=false
SERVICE_TIMEOUT=false
MIN_CRASH_INTERVAL=false

init.d

LOW MEMORY KILLER (choose ONLY one, Medium or High)

make a new file (Whatever the name but don't give space) then add all this code

1. Medium

#!/system/bin/sh
# Mid Minfree Values
echo "6400,8960,14080,17920,38400,64000" > /sys/module/lowmemorykiller/parameters/minfree
echo "16" > /sys/module/lowmemorykiller/parameters/cost
echo "1" > /sys/module/lowmemorykiller/parameters/lmk_fast_run

2. High

#!/system/bin/sh
# High Minfree Values
echo "6400,8960,19200,23040,38400,64000" > /sys/module/lowmemorykiller/parameters/minfree
echo "16" > /sys/module/lowmemorykiller/parameters/cost
echo "1" > /sys/module/lowmemorykiller/parameters/lmk_fast_run

zRAM Compression

make a new file (Whatever the name but don't give space) then add all this code

#!/system/bin/sh
# 128mb zRam Compression
/system/xbin/busybox mkswap /dev/block/zram0
/system/xbin/busybox swapon /dev/block/zram0
echo 134217728 > /sys/block/zram0/disksize

Now you need to fix permissions!!!

use this script for recovery

set_perm_recursive(0, 0, 0777, 0777, "/system/etc/init.d");

it will run automatically...

Flashable.zip at attachcement, just download it and flash ;)

Enjoy :laugh: