[Android Software/Hacking General [Developers Only]] leolawliet:
LeoLawliet presents..

- Codename LightningBolt -

Balanced tweaks for everyday use

\/ Please read if you're new to this \/

Before you continue, please don't assume the tweaks don't work for you.

Chances are your device might or might not support it, not all phones are the same..

I myself test the tweaks before releasing updates, lately I've only been able to test on ICS & JB.

With that said keep in mind if you use GB and plan on flashing these tweaks,

GB support hasn't been confirmed yet. YOU'VE BEEN WARNED!!

If you don't understand what these tweaks do, please DO NOT flash any of them..

the last thing I wanna hear is "your tweaks don't work" okay..? They work..

I have done what I could so cut me some slack guys.. I have a life too

and can't be here holding your hands throughout every step of the way..

that's not fair to me. I've tested and put together the tweaks,

I've written up a thread for the tweaks with two other reserved posts,

I published the tweaks, I wrote instructions, and I kept things updated on a regular basis.

All of this and I haven't even asked for a single donation, I'm doing this for free.

So I am asking you all nicely, please don't give me a hard time with the tweaks.

I've already explained how it all works, just read the OP it's all there..

- Brief Introduction -

What Codename LightningBolt is

- Installer differences explained -

Which is which, and what does what

- Requirements -

What you will need:

- List of Tweaks -

The included tweaks are listed below:

- When including Codename LightningBolt in your ROMs -

This is all I ask

- build.prop tweaks -

Use on whatever ROM you like, just copy & paste to your build.prop

(The build.prop tweak installer has the best handpicked already)

New build.prop tweaks

### LeoLawliet's new tweaks 9/15/2013 ###

# Misc Tweaks
debug.gr.swapinterval=0
debug.performance.tuning=1
dev.pm.dyn_samplingrate=1
persist.adb.notify=0
persist.service.adb.enable=1
persist.sys.use_dithering=1
persist.sys.purgeable_assets=1
qemu.hw.mainkeys=0
ro.min_pointer_dur=1
ro.sec.proximity.delay=0
sys.mem.max_hidden_apps=15

# Battery Tweaks
pm.sleep_mode=1
ro.ril.disable.power.collapse=1

# Unlocks Screen using Menu Button
ro.config.hw_menu_unlockscreen=true

# Kernel Tweaks
ro.kernel.checkjni=0

# Ram Tweaks
persist.sys.purgeable_assets=1

# Kills Loging
ro.config.htc.nocheckin=1
ro.config.nocheckin=1
profiler.force_disable_ulog=1
profiler.force_disable_err_rpt=1

# Media Streaming Optimizations
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
media.stagefright.enable-aac=true
media.stagefright.enable-qcp=true
media.stagefright.enable-record=true

# Camera & Media Tweaks
ro.media.enc.jpeg.quality=100
ro.media.dec.jpeg.memcap=8000000
ro.media.dec.jpeg.memcap=20000000
ro.media.enc.hprof.vid.bps=8000000
ro.media.enc.hprof.vid.fps=75
ro.media.enc.jpeg.quality=100
ro.media.dec.aud.wma.enabled=1
ro.media.dec.vid.wmv.enabled=1
ro.media.cam.preview.fps=25
ro.media.codec_priority_for_thumb=so

# CM9 Tweaks
hwui.disable_vsync=true
hwui.render_dirty_regions=false

# Voice Optimization
ro.ril.enable.amr.wideband

# Better Telephony Settings
ro.config.vc_call_vol_steps=15
ro.config.vc_call_steps=20
ro.telephony.call_ring.delay=0
ring.delay=0
ro.lge.proximity.delay=25
mot.proximity.delay=25
ro.mot.buttonlight.timeout=0

# Google DNS
net.dns1=8.8.8.8
net.dns2=8.8.4.4
net.rmnet0.dns1=8.8.8.8
net.rmnet0.dns2=8.8.4.4

# TCP Tweaks (might break WiFi)
net.tcp.buffersize.default=4096,87380,256960,4096, 16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.umts=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.gprs=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.hspda=4096,87380,256960,4096,16 384,256960
net.tcp.buffersize.hspa=4096,87380,256960,4096,163 84,256960

# Wireless Conection Tweaks (might break WiFi)
net.ipv4.ip_no_pmtu_disc=0
net.ipv4.route.flush=1
net.ipv4.tcp_ecn=0
net.ipv4.tcp_fack=1
net.ipv4.tcp_mem=187000 187000 187000
net.ipv4.tcp_moderate_rcvbuf=1
net.ipv4.tcp_no_metrics_save=1
net.ipv4.tcp_rfc1337=1
net.ipv4.tcp_rmem=4096 39000 187000
net.ipv4.tcp_sack=1
net.ipv4.tcp_timestamps=1
net.ipv4.tcp_window_scaling=1
net.ipv4.tcp_wmem=4096 39000 187000

# 3d performance
persist.android.strictmode=0
ro.min_pointer_dur=1
ro.secure=0

# 16BIT Support
debug.fb.rgb565=1

# 16BIT Transparency
persist.sys.use_16bpp_alpha=1

# Graphic Tweaks
ro.product.gpu.driver=1
debug.gr.swapinterval=0

# Better scrolling responsiveness
windowsmgr.max_events_per_sec=90
ro.max.fling_velocity=12000
ro.min.fling_velocity=8000

# Better Touch Responsiveness
touch.presure.scale=0.001

# Dalvik Tweaks
dalvik.vm.heapstartsize=8m
dalvik.vm.heapgrowthlimit=122m
dalvik.vm.heapsize=122m
dalvik.vm.dexopt-flags=m=y,v=n,o=n
dalvik.vm.stack-trace-file=/data/anr/traces.txt
dalvik.vm.lockprof.threshold=500
dalvik.vm.execution-mode=int:jit
dalvik.vm.jmiopts=forcecopy
dalvik.vm.dexopt-data-only=1

# Enable Qualcomm tile rendering (Hardware Rendering)
debug.enabletr=1
persist.sys.composition.type=gpu

# enable harware egl profile
debug.egl.profiler=1

# FPs Booster
persist.sys.NV_FPSLIMIT=60
persist.sys.NV_POWERMODE=1
persist.sys.NV_PROFVER=15
persist.sys.NV_STEREOCTRL=0
persist.sys.NV_STEREOSEPCHG=0
persist.sys.NV_STEREOSEP=20

# Graphic Optimization
debug.gr.numframebuffers=3
ro.min_pointer_dur=1

# Hardware 2D & 3D Rendering
hw3d.force=1
hw2d.force=1

# Pro-Tuned ADJ 1.2 by LENAROX.
ro.FOREGROUND_APP_ADJ=0
ro.VISIBLE_APP_ADJ=4
ro.PERCEPTIBLE_APP_ADJ=3
ro.HEAVY_WEIGHT_APP_ADJ=2
ro.SECONDARY_SERVER_ADJ=1
ro.BACKUP_APP_ADJ=5
ro.HOME_APP_ADJ=6
ro.HIDDEN_APP_MIN_ADJ=7
ro.EMPTY_APP_ADJ=15
#Ultimate Assassin Mode!
#ro.SECONDARY_SERVER_ADJ=15
#ro.HIDDEN_APP_MIN_ADJ=3

# Qualcomm Display Settings (Qualcomm devices ONLY!!)
com.qc.hardware=1
debug.qc.hardware=true
debug.qctwa.preservebuf=1
debug.qctwa.statusbar=1

# Rapid Boot Technology 1.1 (Reduces bootup time)
persist.sys.shutdown.mode=hibernate
ro.config.hw_fast_dormancy=1
ro.config.hw_quickpoweron=true

# Rendering Tweaks
debug.composition.type=gpu
debug.egl.hw=1
debug.enabletr=true
debug.overlayui.enable=1
debug.qctwa.preservebuf=1
debug.performance.tuning=1
debug.sf.hw=1
dev.pm.dyn_samplingrate=1
hw3d.force=1
ro.config.disable.hw_accel=false
ro.fb.mode=1
ro.sf.compbypass.enable=0
ro.vold.umsdirtyratio=20
persist.sys.composition.type=gpu
persist.sys.ui.hw=1
video.accelerate.hw=1

# Sensor Sleep Control
ro.ril.sensor.sleep.control=1

# Smoothens UI
persist.service.lgospd.enable=0
persist.service.pcsync.enable=0

### End of LeoLawliet's new tweaks 9/15/2013 ###

- Disclaimer & Warning -

If you mess up your device using these tweaks, it's not my fault

\/ Credits on second post \/​