[XPERIA X8 Android Development] XtremePeople:
Intro

Tweaks for All ROM To make your phone faster and more features

Installation For init.d and build.prop

@ post Here :)

ChangeLog

@ post Here :)

Build.prop Tweaks

:)

Some ROM have 2 build.prop you have to change

both @ /System and /System/bin
​

# Raise JPG quality to 100%
ro.media.enc.jpeg.quality=100

# VM Heapsize; 178MB RAM = 32 is better
dalvik.vm.heapsize=32m

# Render UI with GPU
debug.sf.hw=1

# Decrease dialing out delay
ro.telephony.call_ring.delay=0

# Helps scrolling responsiveness
windowsmgr.max_events_per_sec=150

# Save battery
wifi.supplicant_scan_interval=180
pm.sleep_mode=1
ro.ril.disable.power.collapse=0

# Disable debugging notify icon on statusbar
persist.adb.notify=0

# Increase overall touch responsiveness
debug.performance.tuning=1
video.accelerate.hw=1

# Photo and video recording quality tweak (2.3 Rom only)
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=800000

# Photo and video recording quality tweak (2.2 Rom only)
ro.media.dec.jpeg.memcap=10000000
ro.media.enc.hprof.vid.bps=1000000

# Photo and video recording quality tweak (Official ROM only)
ro.media.dec.jpeg.memcap=10000000
ro.media.enc.hprof.vid.bps=1600000

# Internet tweaks
ro.ril.hsxpa=2
ro.ril.gprsclass=12
ro.ril.hep=1
ro.ril.hsdpa.category=10
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=6
ro.ril.def.agps.mode=2
ro.ril.def.agps.feature=1
ro.ril.enable.sdr=1
ro.ril.enable.gea3=1
ro.ril.enable.fd.plmn.prefix=23402,23410,23411
ro.ril.enable.a52=1
ro.ril.enable.a53=1
ro.ril.enable.dtm=1

# NetSpeed tweaks
net.tcp.buffersize.default=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.umts=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.gprs=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,16384,256960

# Disable blackscreen issue after a call
ro.lge.proximity.delay=25
mot.proximity.delay=25

# Fix some application issues
ro.kernel.android.checkjni=0

# Phone will not wake up from hitting the volume rocker
ro.config.hwfeature_wakeupkey=0

# Force button lights on when screen is on
ro.mot.buttonlight.timeout=0

# Disable boot animation for faster boot
debug.sf.nobootanimation=1

# Enable Stagefright helps stream Video and Music Faster
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true

# Enable display Dithering
persist.sys.use_dithering=1

# Enable purgeable assets
persist.sys.purgeable_assets=1

# For SD storage insert notification sound
persist.service.mount.playsnd=0

init.d tweaks :)

Download Init.dtweaksV3.rar and choose 99Tweaks for balance option and 99XTweaks for aggressive tweaks copy it to /system/etc/Init.D

Note:Choose 99TweaksLow/99XTweaksLow for sdcard class3 and lower​

Init.d tweaks contain

IPv4 tweaks

echo "0" > /proc/sys/net/ipv4/tcp_timestamps;
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse;
echo "1" > /proc/sys/net/ipv4/tcp_sack;
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle;
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling;
echo "5" > /proc/sys/net/ipv4/tcp_keepalive_probes;
echo "30" > /proc/sys/net/ipv4/tcp_keepalive_intvl;
echo "30" > /proc/sys/net/ipv4/tcp_fin_timeout;
echo "404480" > /proc/sys/net/core/wmem_max;
echo "404480" > /proc/sys/net/core/rmem_max;
echo "256960" > /proc/sys/net/core/rmem_default;
echo "256960" > /proc/sys/net/core/wmem_default;
echo "4096,16384,404480" > /proc/sys/net/ipv4/tcp_wmem;
echo "4096,87380,404480" > /proc/sys/net/ipv4/tcp_rmem;

Dalvik VM tweaks

echo "4096" > /proc/sys/vm/min_free_kbytes
echo "0" > /proc/sys/vm/oom_kill_allocating_task;
echo "0" > /proc/sys/vm/panic_on_oom;
echo "0" > /proc/sys/vm/laptop_mode;
echo "0" > /proc/sys/vm/swappiness
echo "50" > /proc/sys/vm/vfs_cache_pressure
echo "90" > /proc/sys/vm/dirty_ratio
echo "70" > /proc/sys/vm/dirty_background_ratio

Battery Tweaks

echo "500" > /proc/sys/vm/dirty_expire_centisecs
echo "1000" > /proc/sys/vm/dirty_writeback_centisecs

SDCard speed tweaks

# Sdcard Speed tweaks
echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb(Class 4 and above)
echo "512" > /sys/devices/virtual/bdi/179:0/read_ahead_kb (Class 3 and lower)

Note:If you have init.d problem or if not have init.d folder try add this line at hw_config.sh​

Balance Tweaks

# IPV4 tweaks
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse
echo "1" > /proc/sys/net/ipv4/tcp_sack
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling
echo "5" > /proc/sys/net/ipv4/tcp_keepalive_probes
echo "30" > /proc/sys/net/ipv4/tcp_keepalive_intvl
echo "30" > /proc/sys/net/ipv4/tcp_fin_timeout
echo "404480" > /proc/sys/net/core/wmem_max
echo "404480" > /proc/sys/net/core/rmem_max
echo "256960" > /proc/sys/net/core/rmem_default
echo "256960" > /proc/sys/net/core/wmem_default
echo "4096,16384,404480" > /proc/sys/net/ipv4/tcp_wmem
echo "4096,87380,404480" > /proc/sys/net/ipv4/tcp_rmem

# Dalvik VM tweaks
echo "4096" > /proc/sys/vm/min_free_kbytes
echo "0" > /proc/sys/vm/oom_kill_allocating_task
echo "0" > /proc/sys/vm/panic_on_oom
echo "0" > /proc/sys/vm/laptop_mode
echo "0" > /proc/sys/vm/swappiness
echo "50" > /proc/sys/vm/vfs_cache_pressure
echo "90" > /proc/sys/vm/dirty_ratio
echo "70" > /proc/sys/vm/dirty_background_ratio

# Battery tweaks
echo "500" > /proc/sys/vm/dirty_expire_centisecs
echo "1000" > /proc/sys/vm/dirty_writeback_centisecs

# Sdcard Speed tweaks
echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb(Class 4 and above)
echo "512" > /sys/devices/virtual/bdi/179:0/read_ahead_kb (Class 3 and lower)

Aggressive Tweaks

# IPV4 tweaks
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse
echo "1" > /proc/sys/net/ipv4/tcp_sack
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling
echo "5" > /proc/sys/net/ipv4/tcp_keepalive_probes
echo "30" > /proc/sys/net/ipv4/tcp_keepalive_intvl
echo "30" > /proc/sys/net/ipv4/tcp_fin_timeout
echo "404480" > /proc/sys/net/core/wmem_max
echo "404480" > /proc/sys/net/core/rmem_max
echo "256960" > /proc/sys/net/core/rmem_default
echo "256960" > /proc/sys/net/core/wmem_default
echo "4096,16384,404480" > /proc/sys/net/ipv4/tcp_wmem
echo "4096,87380,404480" > /proc/sys/net/ipv4/tcp_rmem

# Dalvik VM tweaks
echo "4096" > /proc/sys/vm/min_free_kbytes
echo "0" > /proc/sys/vm/oom_kill_allocating_task
echo "0" > /proc/sys/vm/panic_on_oom
echo "0" > /proc/sys/vm/laptop_mode
echo "0" > /proc/sys/vm/swappiness
echo "20" > /proc/sys/vm/vfs_cache_pressure
echo "95" > /proc/sys/vm/dirty_ratio
echo "60" > /proc/sys/vm/dirty_background_ratio

# Battery tweaks
echo "500" > /proc/sys/vm/dirty_expire_centisecs
echo "1000" > /proc/sys/vm/dirty_writeback_centisecs

# Sdcard Speed tweaks
echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb(Class 4 and above)
echo "512" > /sys/devices/virtual/bdi/179:0/read_ahead_kb (Class 3 and lower)

SuperCharger

Supercharger

is minfrees,OOM groping fixes for our X8

Credits Goes To

zeppelinrox

Download And Tutorial Here

And tutorial for stick minfrees Credits goes to SpyderX

1.In /etc/hw_config.sh write this line at the top

sh /etc/minfreeadjstick.sh

2.then, create a file (not folder) called minfreeadjstick.sh in /etc

3.open it and write this lines inside

4.

# Script to make minfrees and adj stick (Credits to Zeppelinrox)

sleep 40

echo "0,3,5,7,14,15" > /sys/module/lowmemorykiller/parameters/adj
echo "1536,2048,6656,7168,7680,8192" > /sys/module/lowmemorykiller/parameters/minfree
echo "0" > /proc/sys/kernel/panic
echo "0" > /proc/sys/vm/oom_kill_allocating_task
echo "0" > /proc/sys/vm/panic_on_oom
echo "1" > /proc/sys/kernel/panic_on_oops
echo "0" > /proc/sys/kernel/panic
# end of script

Wifi tweaks

This wifi tweaks is enabling N standard and 5ghz band :)

Credits Goes to Graveir ​

1. go to /system/etc/firmware

2. find this file name

fm_rx_init_1273.2.bts
fm_tx_init_1273.2.bts
fmc_init_1273.2.bts

3.Are they there? good you will have 5ghz band. Are they not there? you wont get 5ghz band :(

4.Go to /system/etc/ and find tiwlan.ini Note: In CM7 based ROMs the path may be /system/etc/wifi

5.Look for the following lines:

HT_Enable=0 #0=disable 802.11n support / 1=Enable
BurstModeEnable = 0 # 0 - Disabled 1 - Enabled
WiFiAdhoc = 0

and change them into:

HT_Enable=1 #0=disable 802.11n support / 1=Enable
BurstModeEnable = 1 # 0 - Disabled 1 - Enabled
WiFiAdhoc = 1

6. This stage is for people who have file from step 2

Look for the line

Single_Dual_Band_Solution = 0

And change them into

Single_Dual_Band_Solution = 1

7. Save, reboot

Xloud Engine

2.3 ROM Only​

Xloud is making Sound enhancement,Volume enhancement,Equalizer enhancement credits goes to su.angga
​

1.Download Here

2 Add this line at bottom of your build.prop

# Xloud Engine
ro.semc.xloud.supported=true
persist.service.xloud.enable=1

3.Set all permission to rw-r-r

[V][V][0]

[V][0][0]

[V][0][0]

4.Reboot,Enjoy

Note:X-Loud is making DSPManager work incorrectly

Bravia Engine

2.3 and 2.2 ROM​

What is Bravia Engine? Learn Here

Credits goes to GreatApo​

1.Download Here

2.Add this line at bottom of your build.prop

# BRAVIA HACK
ro.service.swiqi.supported=true
persist.service.swiqi.enable=1

3.Copy be_photo and be_movie to system/etc

4.Set all permission

[V][V][0]

[V][0][0]

[V][0][0]

5.Reboot,Enjoy

A-Gps Patch

A-Gps patch is make GPS more accurate and lock on more Sat

Credits goes to crypted ​

1.Download Generic build Here

2.Copy to your SDCard

3.Boot to CWM recovery

4.select the "Mounts and storage" option, then "mount /system"

5.Install custom zip

6.choose the zip

7.Reboot,Enjoy

Video Recording A/V Sync for CM6​

Credits goes to jkrauser
​

This Audio and video sync for CM6/2.2.X

1.Download Here

2.Copy to your SDCard

3.Boot to Xrecovery

4.Install zip

5.Reboot,Enjoy

Modules For Stock Kernels​

Modules is Add-on for our X8/E15
​

X8Gesture Pinch zoom/Fake DT

Doixanh Sypanitcs Fake DT

Instruction & Download Here

andrej456 Pinch zoom/Fake DT

Good for zooming Sypanitcs Fake DT

this is andrej456 X8Gesture good for zooming

Download Here

Instruction Here

AX8MT Cypress Real DT by AnDyX

Instruction & Download Here

X8UnderVolt

UnderVolt CPU voltage

Instruction & Download Here

X8Overclock

Overclock X8 CPU

Instruction & Download Here

Additional Modules

:Tun.ko,Vpnc,NTFS,Utf8,Ext3,Ext4

You can find Here Here