[Android Software Development] hugo.gabriel999:
add the lines in build.prop?

Why do not you add a script to add the lines in build.prop?

I took the liberty of doing this ..

updater-script:

ui_print("***************************************************************************");

ui_print("Xperia Booster Engine installer by jancsessz for Android 4.3 JB");

ui_print("***************************************************************************");

ui_print("Mounting /system /data and /cache");

run_program("/sbin/mount", "/system");

run_program("/sbin/mount", "/data");

run_program("/sbin/mount", "/cache");

show_progress(1, 15);

ui_print("Deleting old files,please wait...");

delete_recursive("/data/tombstones");

delete_recursive("/data/dalvik-cache");

delete_recursive("/data/boot-cache");

delete_recursive("/data/resource-cache");

delete("/system/xbin/sqlite3");

delete("/system/xbin/zipalign");

delete("/system/lib/libncurses.so");

ui_print("Extracting binaries...");

package_extract_dir("system", "/system");

+ ui_print("Adding bluid.prop Tweaks");

+ package_extract_file("add_to_build.sh", "/tmp/add_to_build.sh");

+ set_perm(0, 0, 0777, "/tmp/add_to_build.sh");

+ run_program("/tmp/add_to_build.sh");

ui_print("Fixing permissions...");

set_perm(0, 0, 0644, "/system/build.prop");

set_perm_recursive(0, 0, 0755, 0644, "/system/app");

set_perm_recursive(0, 0, 0755, 0644, "/system/framework");

set_perm(0, 0, 0644, "/system/lib/libncurses.so");

set_perm(0, 0, 0755, "/system/xbin/sqlite3");

set_perm(0, 0, 0755, "/system/xbin/zipalign");

run_program("/sbin/umount", "/system");

run_program("/sbin/umount", "/data");

run_program("/sbin/umount", "/cache");

ui_print("sqlite binary installation done!");

add_to_build.sh

#!/sbin/sh
# Extra tweaks for build.prop

mkdir /sdcard/backup
cp /system/build.prop /sdcard/backup
echo "" >> /system/build.prop
echo "" >> /system/build.prop
## XperiaBooster engine tweaks
echo "debug.enabletr=true" >> /system/build.prop
echo "dev.pm.dyn_samplingrate=1" >> /system/build.prop
echo "video.accelerate.hw=1" >> /system/build.prop
echo "ro.vold.umsdirtyratio=20" >> /system/build.prop
echo "debug.overlayui.enable=1" >> /system/build.prop
echo "ro.fb.mode=1" >> /system/build.prop
echo "hw3d.force=1" >> /system/build.prop
echo "persist.sys.ui.hw=1" >> /system/build.prop
echo "ro.sf.compbypass.enable=0" >> /system/build.prop
echo "debug.sf.hw=1" >> /system/build.prop
echo "debug.composition.type=c2d" >> /system/build.prop
echo "persist.sys.composition.type=c2d" >> /system/build.prop
echo "persist.android.strictmode=0" >> /system/build.prop
echo "ro.min_pointer_dur=1" >> /system/build.prop
echo "ro.secure=0" >> /system/build.prop
## Gaming tweaks
echo "persist.sys.NV_FPSLIMIT=60" >> /system/build.prop
echo "persist.sys.NV_POWERMODE=1" >> /system/build.prop
echo "persist.sys.NV_PROFVER=15" >> /system/build.prop
echo "persist.sys.NV_STEREOCTRL=0" >> /system/build.prop
echo "persist.sys.NV_STEREOSEPCHG=0" >> /system/build.prop
echo "persist.sys.NV_STEREOSEP=20" >> /system/build.prop
## Media Quality
echo "ro.media.dec.jpeg.memcap=8000000" >> /system/build.prop
echo "ro.media.enc.hprof.vid.bps=8000000" >> /system/build.prop
echo "ro.media.dec.aud.wma.enabled=1" >> /system/build.prop
echo "ro.media.dec.vid.wmv.enabled=1" >> /system/build.prop
echo "ro.media.cam.preview.fps=0" >> /system/build.prop
echo "ro.media.codec_priority_for_thumb=so" >> /system/build.prop
## Liquid Smooth Ui
echo "persist.service.lgospd.enable=0" >> /system/build.prop
echo "persist.service.pcsync.enable=0" >> /system/build.prop
echo "windowsmgr.max_events_per_sec 90" >> /system/build.prop
echo "touch.presure.scale 0.001" >> /system/build.prop
## Qualcomm tweaks
echo "com.qc.hardware=1" >> /system/build.prop
echo "debug.qc.hardware=true" >> /system/build.prop
echo "debug.qctwa.preservebuf=1" >> /system/build.prop
echo "debug.qctwa.statusbar=1" >> /system/build.prop
## Disable Logers
echo "ro.config.htc.nocheckin=1" >> /system/build.prop
echo "ro.config.nocheckin=1" >> /system/build.prop
echo "profiler.force_disable_ulog=1" >> /system/build.prop
echo "profiler.force_disable_err_rpt=1" >> /system/build.prop
## Better battery life
echo "usb_wakeup=enable" >> /system/build.prop
echo "proximity_incall=enable" >> /system/build.prop
echo "power_supply.wakeup=enable" >> /system/build.prop
echo "ro.config.hw_power_saving=1" >> /system/build.prop
echo "ro.config.hw_fast_dormancy=1" >> /system/build.prop
echo "ro.config.hw_quickpoweron=true" >> /system/build.prop
echo "persist.sys.use_dithering=0" >> /system/build.prop
echo "pm.sleep_mode=1" >> /system/build.prop
echo "ro.ril.disable.power.collapse=0" >> /system/build.prop
echo "ro.mot.eri.losalert.delay=1000" >> /system/build.prop
echo "ro.ril.sensor.sleep.control=1" >> /system/build.prop
## Scrolling speed
echo "ro.min.fling_velocity=8000" >> /system/build.prop
echo "ro.max.fling_velocity=12000" >> /system/build.prop
echo "windowsmgr.max_events_per_sec=300" >> /system/build.prop
echo "ro.min_pointer_dur=8" >> /system/build.prop
echo "touch.pressure.scale" >> /system/build.prop
## RAM Management
echo "ro.config.hw_fast_dormancy=1" >> /system/build.prop
echo "persist.sys.purgeable_assets=1" >> /system/build.prop
echo "ENFORCE_PROCESS_LIMIT=false" >> /system/build.prop
echo "setprop CONTENT_APP_IDLE_OFFSET=false" >> /system/build.prop
touch /data/local/tmp/somboons
echo "done!!!" >> /data/local/tmp/somboons