[Android Software/Hacking General [Developers Only]] leolawliet:
So far I got this:

#!/system/bin/sh

LOG_FILE=/data/Init.d_Tweaks.log

echo ">>> SetProp" | tee -a $LOG_FILE;

if

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

# GPU
setprop debug.egl.hw 1
setprop debug.egl.profiler 1
setprop debug.enabletr true
setprop debug.sf.hw 1
setprop video.accelerate.hw 1
setprop ro.config.disable.hw_accel false
setprop persist.sys.ui.hw 1
setprop ro.sf.compbypass.enable 0
setprop debug.composition.type gpu
setprop persist.sys.composition.type gpu
setprop ro.product.gpu.driver1
setprop persist.android.strictmode 0
setprop ro.secure 0
setprop debug.performance.tuning 1
setprop persist.sys.use.dithering 1
setprop persist.service.lgospd.enable 0
setprop persist.service.pcsync.enable 0
setprop ro.vold.umsdirtyratio 20
# setprop debug.egl.swapinterval 0
setprop debug.gr.numframebuffers 3

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

# 3D performance
setprop persist.android.strictmode 0
setprop ro.min_pointer_dur 1
setprop ro.secure 0

# Fluid UI
setprop persist.service.lgospd.enable 0
setprop persist.service.pcsync.enable 0

# Enable harware egl profile
setprop debug.egl.profiler 1

# Enable tile rendering
setprop debug.enabletr true
setprop persist.sys.composition.type gpu

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

# 16BIT Support
setprop debug.fb.rgb565 1

# 16BIT Transparency
setprop persist.sys.use_16bpp_alpha 1

# Rendering Tweaks (HW Rendering)
setprop video.accelerate.hw 1
setprop debug.performance.tuning 1
setprop ro.config.disable.hw_accel false

# Better Scrolling Responsiveness
setprop windowsmgr.max_events_per_sec 250
setprop ro.max.fling_velocity 20000
setprop ro.min.fling_velocity 15000

# Touchscreen responsiveness
setprop touch.presure.scale 0.001

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

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

# Better battery life
setprop ro.config.hw_fast_dormancy 1
setprop ro.config.hw_power_saving true
setprop ro.ril.disable.power.collapse 1
setprop pm.sleep_mode 1

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

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

# Raise photo and video recording quality
setprop ro.media.enc.hprof.vid.bps 8000000
setprop ro.media.enc.hprof.vid.fps 75

# Media Tweaks (Jpeg+Video+Streaming Enhancements)
setprop ro.media.enc.jpeg.quality 100
setprop ro.media.dec.aud.wma.enabled 1
setprop ro.media.dec.vid.wmv.enabled 1
setprop ro.media.cam.preview.fps 75
setprop ro.media.dec.jpeg.memcap 8000000
setprop ro.media.dec.jpeg.memcap 20000000
setprop ro.media.enc.hprof.vid.bps 8000000
setprop ro.media.codec_priority_for_thumb so
setprop media.stagefright.enable-player true
setprop media.stagefright.enable-meta true
setprop media.stagefright.enable-scan true
setprop media.stagefright.enable-http true
setprop media.stagefright.enable-record true

# Kernel Tweaks
setprop ro.kernel.checkjni 0

# Ram Tweaks
setprop persist.sys.purgeable_assets 1

# Kills Logging
setprop ro.config.htc.nocheckin 1
setprop ro.config.nocheckin 1
setprop profiler.force_disable_ulog 1
setprop profiler.force_disable_err_rpt 1

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

then

echo "+ Build.prop Tweaks applied" | tee -a $LOG_FILE;
else
echo "- Build.prop Tweaks NOT applied" | tee -a $LOG_FILE;
fi

echo "@ $( date +"%m-%d-%Y %H:%M:%S" )" | tee -a $LOG_FILE;
echo " " | tee -a $LOG_FILE;

But I'm getting errors.

Edit: I'll try this and see if it works

#!/system/bin/sh

LOG_FILE=/data/Init.d_Tweaks.log

echo ">>> SetProp" | tee -a $LOG_FILE;

if

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

# GPU
setprop debug.egl.hw=1
setprop debug.egl.profiler=1
setprop debug.enabletr=true
setprop debug.sf.hw=1
setprop video.accelerate.hw=1
setprop ro.config.disable.hw_accel=false
setprop persist.sys.ui.hw=1
setprop ro.sf.compbypass.enable=0
setprop debug.composition.type=gpu
setprop persist.sys.composition.type=gpu
setprop ro.product.gpu.driver=1
setprop persist.android.strictmode=0
setprop ro.secure=0
setprop debug.performance.tuning=1
setprop persist.sys.use.dithering=1
setprop persist.service.lgospd.enable=0
setprop persist.service.pcsync.enable=0
setprop ro.vold.umsdirtyratio=20
# setprop debug.egl.swapinterval=0
setprop debug.gr.numframebuffers=3

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

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

# Fluid UI
setprop persist.service.lgospd.enable=0
setprop persist.service.pcsync.enable=0

# Enable harware egl profile
setprop debug.egl.profiler=1

# Enable tile rendering
setprop debug.enabletr=true
setprop persist.sys.composition.type=gpu

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

# 16BIT Support
setprop debug.fb.rgb565=1

# 16BIT Transparency
setprop persist.sys.use_16bpp_alpha=1

# Rendering Tweaks (HW Rendering)
setprop video.accelerate.hw=1
setprop debug.performance.tuning=1
setprop ro.config.disable.hw_accel=false

# Better Scrolling Responsiveness
setprop windowsmgr.max_events_per_sec=250
setprop ro.max.fling_velocity=20000
setprop ro.min.fling_velocity=15000

# Touchscreen responsiveness
setprop touch.presure.scale=0.001

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

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

# Better battery life
setprop ro.config.hw_fast_dormancy=1
setprop ro.config.hw_power_saving=true
setprop ro.ril.disable.power.collapse=1
setprop pm.sleep_mode=1

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

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

# Raise photo and video recording quality
setprop ro.media.enc.hprof.vid.bps=8000000
setprop ro.media.enc.hprof.vid.fps=75

# Media Tweaks (Jpeg+Video+Streaming Enhancements)
setprop ro.media.enc.jpeg.quality=100
setprop ro.media.dec.aud.wma.enabled=1
setprop ro.media.dec.vid.wmv.enabled=1
setprop ro.media.cam.preview.fps=75
setprop ro.media.dec.jpeg.memcap=8000000
setprop ro.media.dec.jpeg.memcap=20000000
setprop ro.media.enc.hprof.vid.bps=8000000
setprop ro.media.codec_priority_for_thumb=so
setprop media.stagefright.enable-player=true
setprop media.stagefright.enable-meta=true
setprop media.stagefright.enable-scan=true
setprop media.stagefright.enable-http=true
setprop media.stagefright.enable-record=true

# Kernel Tweaks
setprop ro.kernel.checkjni=0

# Ram Tweaks
setprop persist.sys.purgeable_assets=1

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

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

then

echo "+ Build.prop Tweaks applied" | tee -a $LOG_FILE;
else
echo "- Build.prop Tweaks NOT applied" | tee -a $LOG_FILE;
fi

echo "@ $( date +"%m-%d-%Y %H:%M:%S" )" | tee -a $LOG_FILE;
echo " " | tee -a $LOG_FILE;