[Q] scripts for change build.prop - Android Q&A, Help & Troubleshooting

hi
i need a script for edit build.prop
i want a script that change lines and add them if they don't exist
http://forum.xda-developers.com/showpost.php?p=19093919&postcount=20
http://forum.xda-developers.com/showpost.php?p=25977898&postcount=15
but i can't understand why they don't work
i find this way and this works good with gscript but not work from cwm
simple sed method:
Code:
#!/bin/bash
sed -i '/linetobereplaced/c\replacedline.' /system/build.prop

EAGLEBOOY said:
hi
i need a script for edit build.prop
i want a script that change lines and add them if they don't exist
http://forum.xda-developers.com/showpost.php?p=19093919&postcount=20
http://forum.xda-developers.com/showpost.php?p=25977898&postcount=15
but i can't understand why they don't work
i find this way and this works good with gscript but not work from cwm
simple sed method:
Code:
#!/bin/bash
sed -i '/linetobereplaced/c\replacedline.' /system/build.prop
Click to expand...
Click to collapse
Yes I have been struggling with this one for a while and just had another look at the issues we face today
.... the answer is so simple you will kick yourself
The UnCoRuPtEd script needs a simple file replacing
Its the update-binary that is the issue, make sure you use the correct file for your mobile and put it into the META-INF\com\google\android
Mine now works a treat

This will help you
http://www.mediafire.com/download/bq910l5ww1zs2di/5.zip
Note the two parts
META-INF\com\google\android\updater-script
Code:
package_extract_file("MoHaMaD_tweaks.sh", "/tmp/MoHaMaD_tweaks.sh");
set_perm(0, 0, 0777, "/tmp/MoHaMaD_tweaks.sh");
run_program("/tmp/MoHaMaD_tweaks.sh", "");
and MoHaMaD_tweaks.sh
Code:
#!/sbin/sh
mkdir /sdcard/MoHaMaD
mkdir /sdcard/MoHaMaD/init.d_backup
cp /system/etc/init.d/* /sdcard/MoHaMaD/init.d_backup
cp /system/build.prop /sdcard/MoHaMaD/build.prop
echo "###################################" >> /system/build.prop
echo "##Build.prop tweaks edit MoHaMaD ##" >> /system/build.prop
echo "###################################" >> /system/build.prop
echo "persist.adb.notify=0" >> /system/build.prop
echo "persist.sys.usb.config=mass_storage,adb" >> /system/build.prop
echo "persist.sys.purgeable_assets=1" >> /system/build.prop
echo "wifi.supplicant_scan_interval=180" >> /system/build.prop
echo "windowsmgr.max_events_per_sec=200" >> /system/build.prop
echo "pm.sleep_mode=1" >> /system/build.prop
echo "ro.ril.disable.power.collapse=0" >> /system/build.prop
echo "ro.media.enc.jpeg.quality=100" >> /system/build.prop
echo "video.accelerate.hw=1" >> /system/build.prop
echo "debug.performance.tuning=1" >> /system/build.prop
echo "ro.kernel.android.checkjni=0" >> /system/build.prop
echo "ro.kernel.checkjni=0" >> /system/build.prop
echo "logcat.live=disable" >> /system/build.prop
echo "ro.config.nocheckin=1" >> /system/build.prop
echo "profiler.force_disable_err_rpt=1" >> /system/build.prop
echo "profiler.force_disable_ulog=1" >> /system/build.prop
echo "ro.HOME_APP_ADJ=1" >> /system/build.prop
echo "ro.mot.eri.losalert.delay=1000" >> /system/build.prop
sed -i 's/ro.product.locale.excluded=ar_EG ar_IL fa_IR iw_IL/ro.product.locale.excluded=ar_EG ar_IL iw_IL/g' /system/build.prop
rm -r /data/dalvik-cache/*

.MoHaMaD said:
This will help you
http://www.mediafire.com/download/bq910l5ww1zs2di/5.zip
Note the two parts
META-INF\com\google\android\updater-script
Code:
package_extract_file("MoHaMaD_tweaks.sh", "/tmp/MoHaMaD_tweaks.sh");
set_perm(0, 0, 0777, "/tmp/MoHaMaD_tweaks.sh");
run_program("/tmp/MoHaMaD_tweaks.sh", "");
and MoHaMaD_tweaks.sh
Code:
#!/sbin/sh
mkdir /sdcard/MoHaMaD
mkdir /sdcard/MoHaMaD/init.d_backup
cp /system/etc/init.d/* /sdcard/MoHaMaD/init.d_backup
cp /system/build.prop /sdcard/MoHaMaD/build.prop
echo "###################################" >> /system/build.prop
echo "##Build.prop tweaks edit MoHaMaD ##" >> /system/build.prop
echo "###################################" >> /system/build.prop
echo "persist.adb.notify=0" >> /system/build.prop
echo "persist.sys.usb.config=mass_storage,adb" >> /system/build.prop
echo "persist.sys.purgeable_assets=1" >> /system/build.prop
echo "wifi.supplicant_scan_interval=180" >> /system/build.prop
echo "windowsmgr.max_events_per_sec=200" >> /system/build.prop
echo "pm.sleep_mode=1" >> /system/build.prop
echo "ro.ril.disable.power.collapse=0" >> /system/build.prop
echo "ro.media.enc.jpeg.quality=100" >> /system/build.prop
echo "video.accelerate.hw=1" >> /system/build.prop
echo "debug.performance.tuning=1" >> /system/build.prop
echo "ro.kernel.android.checkjni=0" >> /system/build.prop
echo "ro.kernel.checkjni=0" >> /system/build.prop
echo "logcat.live=disable" >> /system/build.prop
echo "ro.config.nocheckin=1" >> /system/build.prop
echo "profiler.force_disable_err_rpt=1" >> /system/build.prop
echo "profiler.force_disable_ulog=1" >> /system/build.prop
echo "ro.HOME_APP_ADJ=1" >> /system/build.prop
echo "ro.mot.eri.losalert.delay=1000" >> /system/build.prop
sed -i 's/ro.product.locale.excluded=ar_EG ar_IL fa_IR iw_IL/ro.product.locale.excluded=ar_EG ar_IL iw_IL/g' /system/build.prop
rm -r /data/dalvik-cache/*
Click to expand...
Click to collapse
aaaahhhh but does the above script check for any entries already there to avoid duplicate entries in the build.prop
the script from UnCoRupTeD here http://forum.xda-developers.com/showpost.php?p=19093919&postcount=20
will make a backup of the build.prop and replace any entries found with the new ones
In my opinion UnCorUpTeD's script is better for the non-experts among us

Related

[Q] init.d --> semicolon use?

Hi everyone,
I have just one question to ask:
In every init.d file that I've found, it's been divided-- some lines are with semicolons, others are one. Most have both, which confuses me greatly...
AND they're right next to each other; for example, in the Pimp My Rom tweaks,
The S10vm tweak has all but one semicolon-ed:
Code:
#!/system/bin/sh
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
In the S36iosched file, almost none are semicoloned:
Code:
#!/system/bin/sh
mount -o remount,rw /sys /sys;
mount -o remount,rw /system /system;
echo 2 > /sys/block/mmcblk0/queue/iosched/fifo_batch
echo 2230 > /sys/block/mmcblk0/queue/iosched/write_expire
echo 300 > /sys/block/mmcblk0/queue/iosched/read_expire
echo 2230 > /sys/block/mmcblk0/queue/iosched/async_write_expire
echo 300 > /sys/block/mmcblk0/queue/iosched/async_read_expire
echo 2 > /sys/block/mmcblk0/queue/iosched/writes_starved
echo 2230 > /sys/block/mmcblk0/queue/iosched/sync_write_expire
echo 300 > /sys/block/mmcblk0/queue/iosched/sync_read_expire
mount -o remount,ro /system /system
mount -o remount,ro /sys /sys
It's driving me nuts (I'm compiling my own init.d file) and I'm not sure whether to include the semicolon or not >__>
Thanks for your definitive response; it is very much appreciated!
The semicolon is a command separator. If command are separated by a new line, you don't need a semicolon. Inserting one won't make any difference.
Sent from my Nexus 7
BillGoss said:
The semicolon is a command separator. If command are separated by a new line, you don't need a semicolon. Inserting one won't make any difference.
Sent from my Nexus 7
Click to expand...
Click to collapse
Okay, thanks for your response! It's much clearer now.

[09-02-13]Xtreme Tweaks V1-Beta2.0[Build Prop+Scripts][Xtreme Power, SuperFast]

BUILD PROP
Hey whats up everyone
I would like to present some of the tweaks i compiled and i called them Xtreme Tweaks
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
First of all i would like to say that am not a developer and i just make tweaks and roms for personal use so i thought i might i as well share this.
Note:This is still V1 so you will probably get some bugs but as for me i have not noticed any.
Xtreme will give you max perfomance and and its main job is to take out all kind of bugs. Its still in beta but it will get stronger and stronger every update. So enjoy the power of XTREME.
To make these tweaks work
*First you need root
*Get any root file manager
*Copy these lines to system/build.prop
Code:
##----Xtreme Tweaks-----###
debug.composition.type=gpu
debug.egl.hw=1
debug.egl.profiler=1
debug.sf.hw=1
debug.enabletr=1
debug.qctwa.statusbar=1
debug.qctwa.preservebuf=1
com.qc.hardware=true
ro.HOME_APP_ADJ=1
ENFORCE_PROCESS_LIMIT=falso
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
persist.sys.purgeable_assets=1
windowsmgr.max_events_per_sec=90
dev.pm.dyn_samplingrate=1
debug.overlayui.enable=1
debug.qc.hardware=true
ro.ril.sensor.sleep.control=1
##--- Video, Sound and Media Tweaks----###
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
media.stagefright.enable-record=fasle
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
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=0
ro.media.enc.hprof.vid.fps=60
ro.media.codec_priority_for_thumb=so
media.stagefright.enable-aac=true
media.stagefright.enable-qcp=true
##----- Perfomance----Tweaks-###
video.accelerate.hw=1
ro.max.fling_velocity=12000
ro.min.fling_velocity=8000
persist.sys.NV_FPSLIMIT=60
persist.sys.ui.hw=1
ro.service.swiqi2.supported=true
persist.service.swiqi2.enable=1
##---- Dalvik---Tweaks----###
dalvik.vm.dexopt-data-only=1
dalvik.vm.jmiopts=forcecopy
dalvik.vm.dexopt-flags=m=v, 0=y
dalvik.vm.execution-mode=init:jit
dalvik.gc.type=precise
dalvik.vm.verify-bytecode=false
dalvik.vm.heapstartsize=6m
dalvik.vm.heapgrowthlimit.48m
dalvik.vm.heapsize.64m
## Testing Tweaks### -----NOT ALL OF THEM ARE FOR TESTING SOME WILL WORK----######
ro.void.umsdirtyratio=20
persist.service.pcsync.enable=0
persist.service.lgospd.enable=0
wifi.supplicant_scan_interval=180
ro.sf.compbypass.enable=1
ro.min_pointer_dur=1
debug.gr.swapinterval=0
persist.android.strictmode=0
persist.sampling_profiler=0
ro.fb.mode=1
hw3d.force=1
ro.wifi.hotspotUI=1
persist.sys.composition.type=gpu
ro.PERCEPTIBLE_APP_ADJ=2
ring.delay=0
ro.tether.denied=false
##--- Miscalleneous Tweaks#### -----Not all of them will work----#####
mot.proximity.delay=25
ro.mot.buttonlight.timeout=0
persist.sys.shutdown.mode=hibernate
ro.config.hw_quickpoweron=true
persist.adb.notify=0
persist.service.adb.enable=1
windowsmgr.support_rotation_270=true
ro.telephony.call_ring.delay=0
touch.pressure.scale=0.001
ro.lge.proximity.delay=25
## Internet and Data and Signal Tweaks####
net.rmnet0.dns1=8.8.8.8
net.rmnet0.dns2=8.8.4.4
net.ppp0.dns1=8.8.8.8
net.ppp0.dns2=8.8.4.4
net.dns1=8.8.8.8
net.dns2=8.8.4.4
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
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
ro.config.nocheckin=1
persist.cust.tel.eons=1
ro.ril.gprsclass=10
ro.ril.hsdpa.category=8
ro.ril.hsupa.category=6
ro.ril.hsxpa=1
###---- Battery Saving Tweaks----- ###
pm.sleep_mode=1
usb_wakeup=enable
proximity_incall=enable
power_supply.wakeup=enable
ro.config.hw_power_saving=1
ro.config.hw_fast_dormancy=1
persist.sys.use_dithering=0
ro.mot.eri.losalert.delay=1000
ro.ril.disable.power.collapse=1
###-- Xloud, Sound Enhancements and Drivers--- ###
ro.semc.sound_effects_enabled=true
ro.semc.xloud.supported=true
persist.service.xloud.enable=1
ro.semc.enhance.supported=true
persist.service.enhance.enable=1
ro.semc.clearaudio.supported=true
persist.service.clearaudio.enable=1
ro.sony.walkman.logger=1
ro.somc.clearphase.supported=true
persist.service.clearphase.enable=1
af.resampler.quality=255
persist.af.resampler.quality=255
htc.audio.swalt.enable=1
htc.audio.swalt.mingain=14512
Reboot and enjoy EXTREME!!!!!!
I made sure that there are no double lines and most of the tweaks work very well and give me lots of power too.
Here is my benchmark locked bootloader running the custom rom i made ExPeria NYC;
Please give feedback so i can improve this more and more
SCRIPT
These are some of the scripts i made that work along with the build prop tweaks and give you max perfomance. So enjoy the scripts and build prop tweaks and see your Phone get XTREME.
First of all delete other scripts in init.d in systme/etc/init.d as it may be incompatible
10XpoWer
Script is mainly like for speed and other important stuff.
It includes;
[*]Increasing SdCard reading Speed
[*]Removes logger for locked Bls
[*]Battery Calliberation
[*]Battery Tweaks
[*]And increases Cache size
12Xtreme
This is also for more perfomance and works together with 10XpoWer so if you want more speed and everything use it together with the other.
It includes;
[*]MinFree Handler
[*]Internet Enhancement
[*]Dalvik Management
[*]And Battery stats
[*]And Many more
102XtremeSupport
This script is based on TopDroid's script for project butter but i just changed some stuff and values.
This supports the above scripts and give more perfomance and i do recommend this because it gave me lots of boost and i dont have bugs
Download the file Here ----->http://d-h.st/U7h
As i have already said these scripts were compiled by me so they so if you use them together with the build prop tweaks you will get XTREME POWER perfomance.
Installation [Its not yet a flashable zip]
Download the zip folder
Exract it
Move 10XpoWer to system/etc/init.d
move 12Xtreme to system/etc/init.d
Set permissions to rwxrwxrwx
REBOOT
Downloads
Download here ------>>>>>Click Me
Credits
XtremeSilencer -------> i used some of his posts on scripts
Mv_Style for helping correct last tweaks
TopDroid becaused i based 102XtremeSupport on his script
If you feel like you need to be here PM Me and i will fix it ASAP
CHANGELOG
V1- Beta
** Initial Release**
Updates soon...
V1 beta2
**Fixed old tweaks**
**Removed double lines**
**Added New tweaks whick give better perfomance**
**More stronger than beta1**
**Added 102XtremeSupport**
Banners
if you would like to show support just add these simple banners to your signature thanks.
Re: [09-02-13]Xtreme Tweaks V1-Beta[Build Prop]
have any idea if these tweaks will work on the htc amaze?
sent from the droid you arnt looking for.
SpiritFyre said:
have any idea if these tweaks will work on the htc amaze?
sent from the droid you arnt looking for.
Click to expand...
Click to collapse
yes build.prop is universal
but some are specific to lg, htc, se or qualcomm devices
Re: [09-02-13]Xtreme Tweaks V1-Beta[Build Prop]
SpiritFyre said:
have any idea if these tweaks will work on the htc amaze?
sent from the droid you arnt looking for.
Click to expand...
Click to collapse
These are various tweaks from different devices added up all together so yeah it might work
Sent from my SK17i using xda premium
The installation of the cwm
The backup build.prop
http://www.mediafire.com/?2j6dbbosi70so7d
backup_buildprop
#!/sbin/sh
mkdir /sdcard/MoHaMaD
cp /system/build.prop /sdcard/MoHaMaD/build.backup.prop
Click to expand...
Click to collapse
MoHaMaD_tweaks
echo "## Build.prop tweaks edit MoHaMaD##" >> /system/build.prop
echo "#3G Tweaks" >> /system/build.prop
echo "ro.ril.hsxpa=2" >> /system/build.prop
echo "ro.ril.gprsclass=10" >> /system/build.prop
echo "ro.ril.hep=1" >> /system/build.prop
echo "ro.ril.enable.dtm=1" >> /system/build.prop
echo "ro.ril.hsdpa.category=10" >> /system/build.prop
echo "ro.ril.enable.a53=1" >> /system/build.prop
echo "ro.ril.enable.3g.prefix=1" >> /system/build.prop
echo "ro.ril.htcmaskw1.bitmask=4294967295" >> /system/build.prop
echo "ro.ril.htcmaskw1=14449" >> /system/build.prop
echo "ro.ril.hsupa.category=5" >> /system/build.prop
echo "# Saves some battery without reducing performances" >> /system/build.prop
echo "wifi.supplicant_scan_interval=180" >> /system/build.prop
echo "pm.sleep_mode=1" >> /system/build.prop
echo "ro.ril.disable.power.collapse=0" >> /system/build.prop
echo "# Increase camera's photo and video recording quality" >> /system/build.prop
echo "ro.media.dec.jpeg.memcap=8000000" >> /system/build.prop
echo "ro.media.enc.hprof.vid.bps=8000000" >> /system/build.prop
echo "# Connect and disconnect faster (experimental)" >> /system/build.prop
echo "ro.mot.eri.losalert.delay=1000" >> /system/build.prop
echo "# More free ram and apps load faster" >> /system/build.prop
echo "dalvik.vm.dexopt-flags=m=y" >> /system/build.prop
echo "# Reduce dial-out time" >> /system/build.prop
echo "ro.telephony.call_ring.delay=0" >> /system/build.prop
echo "# Video Acceleration Enabled" >> /system/build.prop
echo "video.accelerate.hw=1" >> /system/build.prop
echo "# Increase jpg quality to 100%" >> /system/build.prop
echo "ro.media.enc.jpeg.quality=100" >> /system/build.prop
echo "# Disable Kernel Error Checking" >> /system/build.prop
echo "ro.kernel.android.checkjni=0" >> /system/build.prop
echo "ro.kernel.checkjni=0" >> /system/build.prop
echo "# Keep launcher in memory to reduce redraws" >> /system/build.prop
echo "ro.HOME_APP_ADJ=1" >> /system/build.prop
echo "# Better internet browsing & download speed" >> /system/build.prop
echo "net.tcp.buffersize.default=4096,87380,256960,4096,16384,256960" >> /system/build.prop
echo "net.tcp.buffersize.wifi=4096,87380,256960,4096,16384,256960" >> /system/build.prop
echo "net.tcp.buffersize.umts=4096,87380,256960,4096,16384,256960" >> /system/build.prop
echo "net.tcp.buffersize.gprs=4096,87380,256960,4096,16384,256960" >> /system/build.prop
echo "net.tcp.buffersize.edge=4096,87380,256960,4096,16384,256960" >> /system/build.prop
echo "# Render UI with GPU" >> /system/build.prop
echo "debug.sf.hw=1" >> /system/build.prop
echo "# Increase general Performance" >> /system/build.prop
echo "debug.performance.tuning=1" >> /system/build.prop
echo "# Reduce the black screen time of the proximity sensor" >> /system/build.prop
echo "ro.lge.proximity.delay=25" >> /system/build.prop
echo "mot.proximity.delay=25" >> /system/build.prop
echo "# Allow purge of assets to free more ram" >> /system/build.prop
echo "persist.sys.purgeable_assets=1" >> /system/build.prop
echo "# Better Scrolling responsiveness and speed" >> /system/build.prop
echo "windowsmgr.max_events_per_sec=150" >> /system/build.prop
echo "ro.max.fling_velocity=12000" >> /system/build.prop
echo "ro.min.fling_velocity=8000" >> /system/build.prop
echo "# Smoother video streaming" >> /system/build.prop
echo "media.stagefright.enable-player=true" >> /system/build.prop
echo "media.stagefright.enable-meta=true" >> /system/build.prop
echo "media.stagefright.enable-scan=false" >> /system/build.prop
echo "media.stagefright.enable-http=true" >> /system/build.prop
echo "ENFORCE_PROCESS_LIMIT=false" >> /system/build.prop
echo "MAX_SERVICE_INACTIVITY=false" >> /system/build.prop
echo "MIN_HIDDEN_APPS=false" >> /system/build.prop
echo "MAX_HIDDEN_APPS=false" >> /system/build.prop
echo "CONTENT_APP_IDLE_OFFSET=false" >> /system/build.prop
echo "EMPTY_APP_IDLE_OFFSET=false" >> /system/build.prop
echo "MAX_ACTIVITIES=false" >> /system/build.prop
echo "ACTIVITY_INACTIVE_RESET_TIME=false" >> /system/build.prop
echo "MAX_RECENT_TASKS=false" >> /system/build.prop
echo "MIN_RECENT_TASKS=false" >> /system/build.prop
echo "APP_SWITCH_DELAY_TIME=false" >> /system/build.prop
echo "MAX_PROCESSES=false" >> /system/build.prop
echo "PROC_START_TIMEOUT=false" >> /system/build.prop
echo "CPU_MIN_CHECK_DURATION=false" >> /system/build.prop
echo "GC_TIMEOUT=false" >> /system/build.prop
echo "SERVICE_TIMEOUT=false" >> /system/build.prop
echo "MIN_CRASH_INTERVAL=false" >> /system/build.prop
Click to expand...
Click to collapse
One question, what hapends when a line is already present in the build.prop?
adrianjos said:
One question, what hapends when a line is already present in the build.prop?
Click to expand...
Click to collapse
Might as well delete mine or the one you have your choice
Yeah but when i forget one? Will everything work?
Re: [09-02-13]Xtreme Tweaks V1-Beta[Build Prop+Scripts][Xtreme Power, SuperFast]
adrianjos said:
Yeah but when i forget one? Will everything work?
Click to expand...
Click to collapse
Yeah everything will work
Sent from my SK17i using xda premium
As per the developers request this thread has been added to
Scripts
.
Re: [09-02-13]Xtreme Tweaks V1-Beta[Build Prop+Scripts][Xtreme Power, SuperFast]
thank you. my sig says it all.
sent from the droid you arnt looking for. because im using Xtreme Tweaks.
Re: [09-02-13]Xtreme Tweaks V1-Beta[Build Prop+Scripts][Xtreme Power, SuperFast]
SpiritFyre said:
thank you. my sig says it all.
sent from the droid you arnt looking for. because im using Xtreme Tweaks.
Click to expand...
Click to collapse
Thanks for trying it out and for feedback
Sent from my SK17i using xda premium
Re: [09-02-13]Xtreme Tweaks V1-Beta[Build Prop+Scripts][Xtreme Power, SuperFast]
you are up pretty late lol. im waiting to run these tweaks on viper rom when its released for the amaze. your tweaks also returned stability to my keyboard
sent from the droid you arnt looking for. because im nrgized with Xtreme Tweaks and faux v26 kernel
they are some double lines
and some of them dont work on ics/jb
and some of them dont work at all
here you can see which dont work
Re: [09-02-13]Xtreme Tweaks V1-Beta[Build Prop+Scripts][Xtreme Power, SuperFast]
mv_style said:
they are some double lines
and some of them dont work on ics/jb
and some of them dont work at all
here you can see which dont work
Click to expand...
Click to collapse
Cheers for the heads up i will fix it ASAP
Sent from my SK17i using xda premium
Good work my friend!
I try it now on CM10. :good:
I have updated the build.prop tweaks and added one more script.
Sent from my SK17i
Everything is fine
Sent from my SK17i using xda premium

Script to create swapfile

I save this code as ramswap.sh.. but when I try to execute using Terminal emulator with permission of course, it gives me error
Code:
dd if=/dev/zero of=/mnt/sdcard/swapfile bs=1048576 count=300
mkswap /mnt/sdcard/swapfile
swapon /mnt/sdcard/swapfile
echo "vm.swappiness=80" >> /etc/sysctl.conf
sysctl -p
echo "#!/system/bin/sh" >> /etc/init.d/99swapon
echo "sleep 75" >> /etc/init.d/99swapon
echo "swapon /mnt/sdcard/swapfile" >> /etc/init.d/99swapon
echo "sysctl -p" >> /etc/init.d/99swapon

[Q] How to use "grep" to search the "build.prop"

Hey guys!
I am new to this forum, and needed some extra help
I am trying to add a line of text to "Build.prop" from a file Test.sh
Code:
echo "#Test" >> /system/build.prop
But if you run the code again, the same line is created
I'm trying to do it this way, but does not give any results
Code:
if [ $(grep "#Test" /system/build.prop) ]; then
sed -i '/Test/d' /system/build.prop;
else
echo "#Test" >> /system/build.prop;
fi
Code:
if [ -f /system/build.prop ]; then
cp /system/build.prop /system/build.prop.bak;
else
rm -rf /system/build.prop;
cp /system/build.prop.bak /system/build.prop
fi
if [ $(grep "#Test" /system/build.prop) ]; then
sed -i '/Test/d' /system/build.prop;
else
echo "#Test" >> /system/build.prop;
fi
Can someone help me solve this problem?
Please help me!

Battery Drain | Rodriguez Mod v1.1 + Eragon v1.8

Hello,
I flashed Eragon v1.8 and the battery seemed fine; added Rodriguez Mod and the battery seems to drain ridiculously fast. I know it seems obvious to remove the mod but I do not want to as it's counterintuitive to remove something I hope(d) would improve it; not the contrary.
Below is a screen shot of my battery; I only just turned off the above option to see if anything improved and can honestly not tell a different right now. Please help.
http[colon]//s33.postimg[dot]org/r9jc6ck4v/13275419_1096234737107910_1784175897_o.jpg
Legless98 said:
Hello,
I flashed Eragon v1.8 and the battery seemed fine; added Rodriguez Mod and the battery seems to drain ridiculously fast. I know it seems obvious to remove the mod but I do not want to as it's counterintuitive to remove something I hope(d) would improve it; not the contrary.
Below is a screen shot of my battery; I only just turned off the above option to see if anything improved and can honestly not tell a different right now. Please help.
]http://s33.postimg.org/r9jc6ck4v/13275419_1096234737107910_1784175897_o.jpg
Click to expand...
Click to collapse
That mod is not really improving anything - most of his "tweaks" are build.prop modifications that are either outdated and no longer work (such as locking launcher in memory - that one hasn't worked since ICS) or actually have a detrimental effect on battery, as you've found out.
You should remove his mod.
Edit: Just to prove my point that he spams the build.prop - a section of the so called "tweaks" in his fix.sh script inside the zip:
Code:
echo "# Audio props BeatsAudio" >> /system/build.prop
echo "persist.sys.media.use-awesome=1" >> /system/build.prop
echo "sys.keep_app_1=com.zloban.beatsfx" >> /system/build.prop
echo "ro.audio.samplerate=48000" >> /system/build.prop
echo "ro.audio.pcm.samplerate=48000" >> /system/build.prop
echo "af.resampler.quality=255" >> /system/build.prop
echo "persist.af.resampler.quality=255" >> /system/build.prop
echo "af.resample=52000" >> /system/build.prop
echo "persist.audio.fluence.mode=endfire" >> /system/build.prop
echo "persist.audio.hp=true" >> /system/build.prop
echo "persist.audio.vr.enable=false" >> /system/build.prop
echo "persist.audio.handset.mic=digital" >> /system/build.prop
echo "persist.audio.lowlatency.rec=false" >> /system/build.prop
echo "dev.pm.dyn_samplingrate=1" >> /system/build.prop
echo "persist.dev.pm.dyn_samplingrate=1" >> /system/build.prop
sed -i '/deep_buffer {/,/}/s/^/#/' /system/etc/audio_policy.conf
echo "# Touchscreen Performance and scroll responsiveness" >> /system/build.prop
echo "debug.performance.tuning=1" >> /system/build.prop
echo "windowsmgr.max_events_per_sec=90" >> /system/build.prop
echo "view.touch_slop=2" >> /system/build.prop
echo "view.scroll_friction=10" >> /system/build.prop
echo "view.minimum_fling_velocity=25" >> /system/build.prop
echo "ro.max.fling_velocity=12000" >> /system/build.prop
echo "ro.min.fling_velocity=8000" >> /system/build.prop
echo "ro.min_pointer_dur=8" >> /system/build.prop
echo "touch.size.calibration=geometric" >> /system/build.prop
echo "touch.size.scale=100" >> /system/build.prop
echo "touch.pressure.calibration=amplitude" >> /system/build.prop
echo "touch.pressure.scale=0.001" >> /system/build.prop
echo "persist.service.lgospd.enable=0" >> /system/build.prop
echo "persist.service.pcsync.enable=0" >> /system/build.prop
echo "ro.ril.enable.a52=1" >> /system/build.prop
echo "ro.ril.enable.a53=0" >> /system/build.prop
echo "video.accelerate.hw=1" >> /system/build.prop
echo "# Saves some battery without reducing performances" >> /system/build.prop
echo "wifi.supplicant_scan_interval=497" >> /system/build.prop
echo "power.saving.mode=1" >> /system/build.prop
echo "ro.vold.umsdirtyratio=20" >> /system/build.prop
echo "ro.ril.disable.power.collapse=0" >> /system/build.prop
echo "profiler.force_disable_err_rpt=1" >> /system/build.prop
echo "profiler.force_disable_ulog=1" >> /system/build.prop
echo "dalvik.vm.checkjni=false" >> /system/build.prop
echo "dalvik.vm.execution-mode=int:jit" >> /system/build.prop
echo "ro.ril.power_collapse=1" >> /system/build.prop
echo "power_supply.wakeup=enable" >> /system/build.prop
echo "ro.mot.eri.losalert.delay=1000" >> /system/build.prop
echo "ro.config.hw_fast_dormancy=1" >> /system/build.prop
echo "ro.config.hw_power_saving=1" >> /system/build.prop
echo "ro.ril.fast.dormancy.rule=0" >> /system/build.prop
echo "dalvik.vm.verify-bytecode=false" >> /system/build.prop
echo "dalvik.vm.dexopt-flags=m=y,v=n,o=v,u=n" >> /system/build.prop
echo "vm.stat_interval=1" >> /system/build.prop
echo "# Increase general Performance" >> /system/build.prop
echo "debug.performance.tuning=1" >> /system/build.prop
echo "# DeepSleep Control" >> /system/build.prop
echo "ro.ril.sensor.sleep.control=1" >> /system/build.prop
echo "pm.sleep_mode=1" >> /system/build.prop
echo "# Increase camera's photo and video recording quality" >> /system/build.prop
echo "ro.media.dec.jpeg.memcap=8000000" >> /system/build.prop
echo "ro.media.enc.hprof.vid.bps=8000000" >> /system/build.prop
echo "ro.media.enc.hprof.vid.fps=65" >> /system/build.prop
echo "ro.media.enc.jpeg.quality=100,100,100" >> /system/build.prop
echo "ro.camcorder.videoModes=true" >> /system/build.prop
echo "ime_extend_row_keyboard=true" >> /system/build.prop
echo "ime_onehand_keyboard=true" >> /system/build.prop
echo "ime_split_keyboard=true" >> /system/build.prop
echo "ime_vibration_pattern=0:60" >> /system/build.prop
echo "ro.media.cam.preview.fps=0" >> /system/build.prop
echo "ro.media.capture.flash=led" >> /system/build.prop
echo "ro.media.capture.flashMinV=3300000" >> /system/build.prop
echo "ro.media.capture.torchIntensity=40" >> /system/build.prop
echo "ro.media.capture.flashIntensity=70" >> /system/build.prop
echo "ro.media.capture.maxres=8m" >> /system/build.prop
echo "ro.media.capture.fast.fps=4" >> /system/build.prop
echo "ro.media.capture.slow.fps=120" >> /system/build.prop
echo "ro.media.panorama.defres=3264x1840" >> /system/build.prop
echo "ro.media.panorama.frameres=1280x720" >> /system/build.prop
echo "ro.camcorder.videoModes=true" >> /system/build.prop
echo "# Disable Error reporting and logs" >> /system/build.prop
echo "profiler.force_disable_err_rpt=1" >> /system/build.prop
echo "profiler.force_disable_ulog=1" >> /system/build.prop
echo "logcat.live=disable" >> /system/build.prop
echo "ro.config.nocheckin=1" >> /system/build.prop
echo "# Disable the 'USB Debugging' Notification" >> /system/build.prop
echo "persist.adb.notify=0" >> /system/build.prop
echo "# Reduce the black screen time of the proximity sensor" >> /system/build.prop
echo "ro.lge.proximity.delay=15" >> /system/build.prop
echo "mot.proximity.delay=15" >> /system/build.prop
echo "# Smoother video streaming and tweak media" >> /system/build.prop
echo "media.stagefright.enable-player=true" >> /system/build.prop
echo "media.stagefright.enable-rtsp=true" >> /system/build.prop
echo "media.stagefright.enable-meta=true" >> /system/build.prop
echo "media.stagefright.enable-scan=true" >> /system/build.prop
echo "media.stagefright.enable-http=true" >> /system/build.prop
echo "media.stagefright.enable-aac=true" >> /system/build.prop
echo "media.stagefright.enable-qcp=true" >> /system/build.prop
echo "media.stagefright.enable-record=true" >> /system/build.prop
echo "# 3G signal and speed tweaks" >> /system/build.prop
echo "ro.ril.gprsclass=10" >> /system/build.prop
echo "ro.telephony.default_network=10" >> /system/build.prop
echo "persist.cust.tel.eons=1" >> /system/build.prop
echo "# Better call voice quality." >> /system/build.prop
echo "ro.ril.enable.amr.wideband=1" >> /system/build.prop
echo "# Better internet browsing & Speed" >> /system/build.prop
echo "net.tcp.buffersize.default=4096,87380,256960,4096, 16384,256960" >> /system/build.prop
echo "net.tcp.buffersize.wifi=4096,87380,256960,4096,163 84,256960" >> /system/build.prop
echo "net.tcp.buffersize.umts=4096,87380,256960,4096,163 84,256960" >> /system/build.prop
echo "net.tcp.buffersize.gprs=4096,87380,256960,4096,163 84,256960" >> /system/build.prop
echo "net.tcp.buffersize.edge=4096,87380,256960,4096,163 84,256960" >> /system/build.prop
echo "net.tcp.buffersize.hspa=6144,87380,524288,6144,163 84,262144" >> /system/build.prop
echo "net.tcp.buffersize.lte=524288,1048576,2097152,5242 88,1048576,2097152" >> /system/build.prop
echo "net.tcp.buffersize.hsdpa=6144,87380,1048576,6144,8 7380,1048576" >> /system/build.prop
echo "net.tcp.buffersize.evdo_b=6144,87380,1048576,6144, 87380,1048576" >> /system/build.prop
echo "net.ipv4.ip_no_pmtu_disc=0" >> /system/build.prop
echo "net.ipv4.route.flush=1" >> /system/build.prop
echo "net.ipv4.tcp_ecn=0" >> /system/build.prop
echo "net.ipv4.tcp_fack=1" >> /system/build.prop
echo "net.ipv4.tcp_mem=187000 187000 187000" >> /system/build.prop
echo "net.ipv4.tcp_moderate_rcvbuf=1" >> /system/build.prop
echo "net.ipv4.tcp_no_metrics_save=1" >> /system/build.prop
echo "net.ipv4.tcp_rfc1337=1" >> /system/build.prop
echo "net.ipv4.tcp_rmem=4096 39000 187000" >> /system/build.prop
echo "net.ipv4.tcp_sack=1" >> /system/build.prop
echo "net.ipv4.tcp_timestamps=1" >> /system/build.prop
echo "net.ipv4.tcp_window_scaling=1" >> /system/build.prop
echo "net.ipv4.tcp_wmem=4096 39000 18700" >> /system/build.prop
echo "net.core.wmem_max=1048576" >> /system/build.prop
echo "net.core.rmem_max=1048576" >> /system/build.prop
echo "net.core.rmem_default=262144" >> /system/build.prop
echo "net.core.wmem_default=262144" >> /system/build.prop
echo "net.core.optmem_max=20480" >> /system/build.prop
echo "net.unix.max_dgram_qlen=50" >> /system/build.prop
echo "# Increase some Performance" >> /system/build.prop
echo "ro.secure=0" >> /system/build.prop
echo "persist.sys.use_16bpp_alpha=1" >> /system/build.prop
echo "ro.product.gpu.driver=1" >> /system/build.prop
echo "# Enable/Tweak GPU Acceleration" >> /system/build.prop
echo "debug.composition.type=c2d" >> /system/build.prop
echo "debug.egl.hw=1" >> /system/build.prop
echo "debug.enabletr=true" >> /system/build.prop
echo "debug.overlayui.enable=1" >> /system/build.prop
echo "debug.qctwa.preservebuf=1" >> /system/build.prop
echo "debug.performance.tuning=1" >> /system/build.prop
echo "debug.sf.hw=1" >> /system/build.prop
echo "dev.pm.dyn_samplingrate=1" >> /system/build.prop
echo "hw3d.force=1" >> /system/build.prop
echo "ro.config.disable.hw_accel=false" >> /system/build.prop
echo "ro.fb.mode=1" >> /system/build.prop
echo "ro.sf.compbypass.enable=0" >> /system/build.prop
echo "ro.vold.umsdirtyratio=20" >> /system/build.prop
echo "persist.sys.composition.type=c2d" >> /system/build.prop
echo "persist.sys.ui.hw=1" >> /system/build.prop
echo "# Force launcher into memory" >> /system/build.prop
echo "ro.HOME_APP_ADJ=1" >> /system/build.prop
echo "#Removes Ring Delay" >> /system/build.prop
echo "ro.telephony.call_ring.delay=0" >> /system/build.prop
echo "ring.delay=0" >> /system/build.prop
Jonny said:
That mod is not really improving anything - most of his "tweaks" are build.prop modifications that are either outdated and no longer work (such as locking launcher in memory - that one hasn't worked since ICS) or actually have a detrimental effect on battery, as you've found out.
You should remove his mod.
Edit: Just to prove my point that he spams the build.prop - a section of the so called "tweaks" in his fix.sh script inside the zip:
Code:
echo "# Audio props BeatsAudio" >> /system/build.prop
echo "persist.sys.media.use-awesome=1" >> /system/build.prop
echo "sys.keep_app_1=com.zloban.beatsfx" >> /system/build.prop
echo "ro.audio.samplerate=48000" >> /system/build.prop
echo "ro.audio.pcm.samplerate=48000" >> /system/build.prop
echo "af.resampler.quality=255" >> /system/build.prop
echo "persist.af.resampler.quality=255" >> /system/build.prop
echo "af.resample=52000" >> /system/build.prop
echo "persist.audio.fluence.mode=endfire" >> /system/build.prop
echo "persist.audio.hp=true" >> /system/build.prop
echo "persist.audio.vr.enable=false" >> /system/build.prop
echo "persist.audio.handset.mic=digital" >> /system/build.prop
echo "persist.audio.lowlatency.rec=false" >> /system/build.prop
echo "dev.pm.dyn_samplingrate=1" >> /system/build.prop
echo "persist.dev.pm.dyn_samplingrate=1" >> /system/build.prop
sed -i '/deep_buffer {/,/}/s/^/#/' /system/etc/audio_policy.conf
echo "# Touchscreen Performance and scroll responsiveness" >> /system/build.prop
echo "debug.performance.tuning=1" >> /system/build.prop
echo "windowsmgr.max_events_per_sec=90" >> /system/build.prop
echo "view.touch_slop=2" >> /system/build.prop
echo "view.scroll_friction=10" >> /system/build.prop
echo "view.minimum_fling_velocity=25" >> /system/build.prop
echo "ro.max.fling_velocity=12000" >> /system/build.prop
echo "ro.min.fling_velocity=8000" >> /system/build.prop
echo "ro.min_pointer_dur=8" >> /system/build.prop
echo "touch.size.calibration=geometric" >> /system/build.prop
echo "touch.size.scale=100" >> /system/build.prop
echo "touch.pressure.calibration=amplitude" >> /system/build.prop
echo "touch.pressure.scale=0.001" >> /system/build.prop
echo "persist.service.lgospd.enable=0" >> /system/build.prop
echo "persist.service.pcsync.enable=0" >> /system/build.prop
echo "ro.ril.enable.a52=1" >> /system/build.prop
echo "ro.ril.enable.a53=0" >> /system/build.prop
echo "video.accelerate.hw=1" >> /system/build.prop
echo "# Saves some battery without reducing performances" >> /system/build.prop
echo "wifi.supplicant_scan_interval=497" >> /system/build.prop
echo "power.saving.mode=1" >> /system/build.prop
echo "ro.vold.umsdirtyratio=20" >> /system/build.prop
echo "ro.ril.disable.power.collapse=0" >> /system/build.prop
echo "profiler.force_disable_err_rpt=1" >> /system/build.prop
echo "profiler.force_disable_ulog=1" >> /system/build.prop
echo "dalvik.vm.checkjni=false" >> /system/build.prop
echo "dalvik.vm.execution-mode=int:jit" >> /system/build.prop
echo "ro.ril.power_collapse=1" >> /system/build.prop
echo "power_supply.wakeup=enable" >> /system/build.prop
echo "ro.mot.eri.losalert.delay=1000" >> /system/build.prop
echo "ro.config.hw_fast_dormancy=1" >> /system/build.prop
echo "ro.config.hw_power_saving=1" >> /system/build.prop
echo "ro.ril.fast.dormancy.rule=0" >> /system/build.prop
echo "dalvik.vm.verify-bytecode=false" >> /system/build.prop
echo "dalvik.vm.dexopt-flags=m=y,v=n,o=v,u=n" >> /system/build.prop
echo "vm.stat_interval=1" >> /system/build.prop
echo "# Increase general Performance" >> /system/build.prop
echo "debug.performance.tuning=1" >> /system/build.prop
echo "# DeepSleep Control" >> /system/build.prop
echo "ro.ril.sensor.sleep.control=1" >> /system/build.prop
echo "pm.sleep_mode=1" >> /system/build.prop
echo "# Increase camera's photo and video recording quality" >> /system/build.prop
echo "ro.media.dec.jpeg.memcap=8000000" >> /system/build.prop
echo "ro.media.enc.hprof.vid.bps=8000000" >> /system/build.prop
echo "ro.media.enc.hprof.vid.fps=65" >> /system/build.prop
echo "ro.media.enc.jpeg.quality=100,100,100" >> /system/build.prop
echo "ro.camcorder.videoModes=true" >> /system/build.prop
echo "ime_extend_row_keyboard=true" >> /system/build.prop
echo "ime_onehand_keyboard=true" >> /system/build.prop
echo "ime_split_keyboard=true" >> /system/build.prop
echo "ime_vibration_pattern=0:60" >> /system/build.prop
echo "ro.media.cam.preview.fps=0" >> /system/build.prop
echo "ro.media.capture.flash=led" >> /system/build.prop
echo "ro.media.capture.flashMinV=3300000" >> /system/build.prop
echo "ro.media.capture.torchIntensity=40" >> /system/build.prop
echo "ro.media.capture.flashIntensity=70" >> /system/build.prop
echo "ro.media.capture.maxres=8m" >> /system/build.prop
echo "ro.media.capture.fast.fps=4" >> /system/build.prop
echo "ro.media.capture.slow.fps=120" >> /system/build.prop
echo "ro.media.panorama.defres=3264x1840" >> /system/build.prop
echo "ro.media.panorama.frameres=1280x720" >> /system/build.prop
echo "ro.camcorder.videoModes=true" >> /system/build.prop
echo "# Disable Error reporting and logs" >> /system/build.prop
echo "profiler.force_disable_err_rpt=1" >> /system/build.prop
echo "profiler.force_disable_ulog=1" >> /system/build.prop
echo "logcat.live=disable" >> /system/build.prop
echo "ro.config.nocheckin=1" >> /system/build.prop
echo "# Disable the 'USB Debugging' Notification" >> /system/build.prop
echo "persist.adb.notify=0" >> /system/build.prop
echo "# Reduce the black screen time of the proximity sensor" >> /system/build.prop
echo "ro.lge.proximity.delay=15" >> /system/build.prop
echo "mot.proximity.delay=15" >> /system/build.prop
echo "# Smoother video streaming and tweak media" >> /system/build.prop
echo "media.stagefright.enable-player=true" >> /system/build.prop
echo "media.stagefright.enable-rtsp=true" >> /system/build.prop
echo "media.stagefright.enable-meta=true" >> /system/build.prop
echo "media.stagefright.enable-scan=true" >> /system/build.prop
echo "media.stagefright.enable-http=true" >> /system/build.prop
echo "media.stagefright.enable-aac=true" >> /system/build.prop
echo "media.stagefright.enable-qcp=true" >> /system/build.prop
echo "media.stagefright.enable-record=true" >> /system/build.prop
echo "# 3G signal and speed tweaks" >> /system/build.prop
echo "ro.ril.gprsclass=10" >> /system/build.prop
echo "ro.telephony.default_network=10" >> /system/build.prop
echo "persist.cust.tel.eons=1" >> /system/build.prop
echo "# Better call voice quality." >> /system/build.prop
echo "ro.ril.enable.amr.wideband=1" >> /system/build.prop
echo "# Better internet browsing & Speed" >> /system/build.prop
echo "net.tcp.buffersize.default=4096,87380,256960,4096, 16384,256960" >> /system/build.prop
echo "net.tcp.buffersize.wifi=4096,87380,256960,4096,163 84,256960" >> /system/build.prop
echo "net.tcp.buffersize.umts=4096,87380,256960,4096,163 84,256960" >> /system/build.prop
echo "net.tcp.buffersize.gprs=4096,87380,256960,4096,163 84,256960" >> /system/build.prop
echo "net.tcp.buffersize.edge=4096,87380,256960,4096,163 84,256960" >> /system/build.prop
echo "net.tcp.buffersize.hspa=6144,87380,524288,6144,163 84,262144" >> /system/build.prop
echo "net.tcp.buffersize.lte=524288,1048576,2097152,5242 88,1048576,2097152" >> /system/build.prop
echo "net.tcp.buffersize.hsdpa=6144,87380,1048576,6144,8 7380,1048576" >> /system/build.prop
echo "net.tcp.buffersize.evdo_b=6144,87380,1048576,6144, 87380,1048576" >> /system/build.prop
echo "net.ipv4.ip_no_pmtu_disc=0" >> /system/build.prop
echo "net.ipv4.route.flush=1" >> /system/build.prop
echo "net.ipv4.tcp_ecn=0" >> /system/build.prop
echo "net.ipv4.tcp_fack=1" >> /system/build.prop
echo "net.ipv4.tcp_mem=187000 187000 187000" >> /system/build.prop
echo "net.ipv4.tcp_moderate_rcvbuf=1" >> /system/build.prop
echo "net.ipv4.tcp_no_metrics_save=1" >> /system/build.prop
echo "net.ipv4.tcp_rfc1337=1" >> /system/build.prop
echo "net.ipv4.tcp_rmem=4096 39000 187000" >> /system/build.prop
echo "net.ipv4.tcp_sack=1" >> /system/build.prop
echo "net.ipv4.tcp_timestamps=1" >> /system/build.prop
echo "net.ipv4.tcp_window_scaling=1" >> /system/build.prop
echo "net.ipv4.tcp_wmem=4096 39000 18700" >> /system/build.prop
echo "net.core.wmem_max=1048576" >> /system/build.prop
echo "net.core.rmem_max=1048576" >> /system/build.prop
echo "net.core.rmem_default=262144" >> /system/build.prop
echo "net.core.wmem_default=262144" >> /system/build.prop
echo "net.core.optmem_max=20480" >> /system/build.prop
echo "net.unix.max_dgram_qlen=50" >> /system/build.prop
echo "# Increase some Performance" >> /system/build.prop
echo "ro.secure=0" >> /system/build.prop
echo "persist.sys.use_16bpp_alpha=1" >> /system/build.prop
echo "ro.product.gpu.driver=1" >> /system/build.prop
echo "# Enable/Tweak GPU Acceleration" >> /system/build.prop
echo "debug.composition.type=c2d" >> /system/build.prop
echo "debug.egl.hw=1" >> /system/build.prop
echo "debug.enabletr=true" >> /system/build.prop
echo "debug.overlayui.enable=1" >> /system/build.prop
echo "debug.qctwa.preservebuf=1" >> /system/build.prop
echo "debug.performance.tuning=1" >> /system/build.prop
echo "debug.sf.hw=1" >> /system/build.prop
echo "dev.pm.dyn_samplingrate=1" >> /system/build.prop
echo "hw3d.force=1" >> /system/build.prop
echo "ro.config.disable.hw_accel=false" >> /system/build.prop
echo "ro.fb.mode=1" >> /system/build.prop
echo "ro.sf.compbypass.enable=0" >> /system/build.prop
echo "ro.vold.umsdirtyratio=20" >> /system/build.prop
echo "persist.sys.composition.type=c2d" >> /system/build.prop
echo "persist.sys.ui.hw=1" >> /system/build.prop
echo "# Force launcher into memory" >> /system/build.prop
echo "ro.HOME_APP_ADJ=1" >> /system/build.prop
echo "#Removes Ring Delay" >> /system/build.prop
echo "ro.telephony.call_ring.delay=0" >> /system/build.prop
echo "ring.delay=0" >> /system/build.prop
Click to expand...
Click to collapse
Thank you for this. I'll remove it ASAP. Shame I have to reflash ugh.

Categories

Resources