[Galaxy S II General] ram3n:
[TWEAKS] (UNIVERSAL) ► X-TRΞM UV ◄ KERNEL Settings & MORE [ICS][UPDATED 24/06]

​

Hi guys,

As promised, here are my latest tweaks I'm using focused on both autonomy and a decent performance. Because, yes both are possible.

I was inspired by the most available scripts and settings on the web I modified in my own use and the ability of my SOC. Thanks to all the authors.

NB :

- It goes without saying that this thread's goal is to sharing my settings for the ROM and Kernel I am using.

Latest Resurrection Remix + Fluxi kernel

- Remember that these are my custom settings, and every SOC (CPU/GPU) cannot support my X-trΞm UV values

- If you freezed, just raise each steps by +25mv until you get your stability.

1. X-TRΞM UV :​

Governor/Scheduler :

- AbyssPlug + SIO (for Abyss kernel)

- Ondemand + Noop (for other kernels)

- Pegasusq + SIO (Testing...)

CPU

: UC 100 Mhz - 800 Mhz

100 Mhz - 775 mV

200 Mhz - 800 mV

300 Mhz - 825 mV

400 Mhz - 850 mV

500 Mhz - 925 mV

600 Mhz - 925 mV

700 Mhz - 950 mV

800 Mhz - 950 mV

GPU : 3 STEPS

67 MhZ - 700 mV

100 MhZ - 800 mV

160 MhZ - 850 mV

Or 2 STEPS :

100 MhZ - 800 mV

160 MhZ - 850 mV

​

- ABYSS KERNEL SCRIPT​

https://www.dropbox.com/s/ydcdhaccu3ov09c/S90abyss

WARNING

: If you wanna modify a script, use only Notepad++ (available for free)

Via Recovery ABYSS Tweaks menu :

Enable AFTR + LPA

Disable Schedule MC

Enable EXT4 Boost

Disable BLN

CREDITS

: Thanks to Angelom ;)
​

[QUOTE]#!/system/bin/sh
# ram3n & h3ro Xtrem UV settings
# Be careful ! Not every CPU can support it !

sleep 10
echo "Start working"

# --------------------Working Frequencies---------------------------

echo "Set MIN Scaling Frequency"
#Impostazione frequenza minima di lavoro
# Info:
# 25000-1600000 are valid values
# 25000-1600000 sono valori validi

echo "100000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo ""

echo "Set MAX Scaling Frequency"
# Impostazione frequenza massima di lavoro
# Info:
# 25000-1600000 are valid values
# 25000-1600000 sono valori validi

echo "800000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo ""

echo "Set Min Scaling Suspend Frequency"
# Frequenza minima sleep
# Info:
# 25000-1600000 are valid values
# 25000-1600000 sono valori validi

echo "100000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_suspend_freq
echo ""

echo "Set Max Scaling Suspend Frequency"
# Frequenza massima sleep
# Info:
# 25000-1600000 are valid values
# 25000-160000 sono validi valori

echo "400000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_suspend_freq
echo ""

echo "Set Scheduler for stl, bml and mmc"
# Impostazione scheduler (sio, bfq, deadline. cfq, noop)

for i in `ls /sys/block/stl*` /sys/block/bml* /sys/block/mmcblk* /sys/block/mtdblock* ; do
echo "sio" > $i/queue/scheduler;
echo "$i/queue/scheduler";
done;

echo "Set governor"
# Impostazione governor lavoro (abyssplug, ondemand, lulzactive, ecc)

echo "abyssplug" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

echo ""

# ------------------------------Undervolt------------------------------
#UV_BEGIN#
# CPU Voltage Modify
# Modifica voltaggio per ogni frequenza (1500 max, 750 min)

if [ -e /data/.Abyss/notable ]; then
echo "Set UV"
echo "1425 1375 1325 1275 1225 1200 1175 1150 950 950 925 925 850 825 800 775 775 775 " > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table
fi;
#UV_END

# ----------------------------Current Charge----------------------------

#Customize the following 3 lines for CURRENT_CHARGE
# Modifica il valore della corrente di carica del telefono

AC="650"
MISC="450"
USB="450"

# max value current charge is 950 mah
echo "$AC $MISC $USB" > /sys/class/misc/charge_current/charge_current

# ------------------------------GPU Clock-------------------------------

# Set GPU Clock
#---------------
# Modifica le frequenze di lavoro della GPU

#Customize the following 3 lines for GPU_CLOCK

GPU_STEP_LOW=67
GPU_STEP_MIDDLE=100
GPU_STEP_HIGH=160

# CLOCK INFO:
# 67 100 114 133 160 200 267 300 400 are valid frequencies
# 100 267 300 is default

# 67 100 114 133 160 200 267 300 400 sono frequenze valide
# 100 267 300 � il valore di default inserito nel kernel

if [ -e /sys/class/misc/gpu_clock_control/gpu_control ];
then
echo "Previous clock settings:"
cat /sys/class/misc/gpu_clock_control/gpu_control
echo "$GPU_STEP_LOW $GPU_STEP_MIDDLE $GPU_STEP_HIGH" > /sys/class/misc/gpu_clock_control/gpu_control
echo "New clock settings:"
cat /sys/class/misc/gpu_clock_control/gpu_control
fi;

# --------------------------GPU Voltage------------------------------

# Set GPU Voltage
#---------------
# Modifica le frequenze di lavoro della GPU

#Customize the following 3 lines for GPU_VOLT

GPU_VOLT_LOW=800000
GPU_VOLT_MIDDLE=800000
GPU_VOLT_HIGH=850000

# GPU VOLTAGE INFO:
# GPU Voltage in script are default

if [ -e /sys/class/misc/gpu_voltage_control/gpu_control ];
then
echo "Previous voltage settings:"
cat /sys/class/misc/gpu_voltage_control/gpu_control
echo "$GPU_VOLT_LOW $GPU_VOLT_MIDDLE $GPU_VOLT_HIGH" > /sys/class/misc/gpu_voltage_control/gpu_control
echo "New voltage settings:"
cat /sys/class/misc/gpu_voltage_control/gpu_control
fi;

# -------------------------------Touch---------------------------------
# Set Touch sensivity
# 0-20 are valid values
# Imposta Sensibilit� Touch
# 0-20 sono validi valori

echo 5 > /sys/devices/platform/s3c2440-i2c.3/i2c-3/3-004a/mov_hysti

# ------------------------------Brightness-----------------------------

# Set Gamma levels (luminosit� automatica)
# MIN_BL (min 10, max 150) pi� alto � il valore pi� il display
# rimane scuro in condizioni di forte illuminazione
# MIN_GAMMA (min 0, max 24)
# MAX_FAMMA (min 0, max 24)

echo 40 > /sys/class/misc/brightness_curve/min_bl
echo 1 > /sys/class/misc/brightness_curve/min_gamma
echo 24 > /sys/class/misc/brightness_curve/max_gamma

[/QUOTE]

- FLUXI KERNEL & XXTWEAKER APP SETTINGS​

GREAT COMBO : Ondemand + Noop

For better battery life : Conservative + Noop

1. Governor Settings

ONDEMAND

CONSERVATIVE

2. Bus Frequency Settings

3. Hotplug Settings

Credit

: Thanks to fluxi

- DORIMANX KERNEL 3.6 & EXTWEAKS SETTINGS​

Recommended :

- AbyssPlug + SIO

- HotPlug + SIO

- Ondemand + NOOP

- Conservative + NOOP​

1. CPU SETTINGS

2. GPU SETTINGS

CREDITS : Thanks to Dorimanx :D

- SHUN ANDROMEDA

Recommended :

Conservative + NOOP

OnDemand + NOOP

CPU EXTWEAKS Settings

Credits : thanks to bgn9000

2. SCRIPTS

- Download here :

https://www.dropbox.com/s/l214pusn5am14sf/Custom SCRIPTSv2.rar

- Unzip and put all the files in etc/init.d folder

- Set permissions on 755 with RootExplorer like :

- Download here

only

for SAMMY ROMs :

https://www.dropbox....ddon_v2.0.1.zip

- Flash From Recovery.

- Reboot

CREDITS

: Thanks to Pikachu01 :D

3. AUTO STARTS

- Download from the market/Play Store

- Disable unwanted apps like :

4. TITANIUM BACKUP PRO

- Download from the market/Play Store

- Freeze the unwanted apps like :

5. Build.prop TWEAKS

- Change this line into :

WiFi scan interval determines when Android will scan for access points. The default scan interval is once every 15 seconds, as yours.

You can increase battery savings by increasing this interval.

6. OTHERS

:

-

3G/4G Speed Optimizer

:

- Download for free from the Play Store : https://play.google.com/store/apps/details?id=provision.netspeed.optimizer&feature=more_from_developer#?t=W251bGwsMSwxLDEwMiwicHJvdmlzaW9uLm5ldHNwZWVkLm9wdGltaXplciJd

- Choose : "10/9/6 - Save Battery"

- Additional Tweaks : Tick "RIL Sleep Policy, TCP Buffer Modify, Other RIL Tweaks".

- SCREEN FILTER

- Downolad for free from the Play Store : https://play.google.com/store/apps/details?id=com.haxor&hl=fr

Reduce the brightness of your screen, save battery. Use it indoors.

- S3 FUGUTWEAKS :

https://www.dropbox.com/s/7rh1l4w7ch6pai2/S3Fugutweaks_signed.zip

- Improve touchscreen responsiveness and better scrolling experience.

- Works on SAMMY/AOSP/AOKP ICS ROMS.

- Flash it from Recovery.

Credit : Thanks to hikarugo

And voilà ! Hope you'll enjoy your beast like me.

Cheers ;)

NB :

You can also try Geko95gek's UV values here : http://xdaforums.com/showthread.php?t=1466017

Press Thanks If this thread was (a little) useful​