[Galaxy S 4 Q&A, Help & Troubleshooting] Mykew:
Hi Guys,

Want to get some increased performance on my phone. While the developers are making good headway getting recovery and ROMs happening I thought it would be worthwhile having a crack at a few. During my research I found the following tweaks to the build.prop file (thanks Chairshot215). It says they should work on all phones, but would appreciate a mentoring word from those who know a truckload more if these are likely to cause problems for my GS4

From http://androidforums.com/triumph-al...-performance-tweaks-updated-04-14-2012-a.html

"Hey everybody, just wanted to share the below build.prop performance tweaks. I have been using them for some time now trying different values to see what works the best. From what I have been able to tell any difference made using these tweaks is most noticeable using Stock or a Stock based Roms. Performance wise I would not expect to find the Holy Grail within these lines but they do seem to make a difference and can help with a few minor annoyances. Feel free to test them out and let everyone know what you think, at your own risk that is.

General Performance

debug.sf.hw=1

Edit existing line,

dalvik.vm.heapsize=48m

persist.sys.ui.hw=1

Faster Scrolling

ro.max.fling_velocity=12000

ro.min.fling_velocity=8000

Saves power

ro.ril.disable.power.collapse=1

pm.sleep_mode=1

windowsmgr.max_events_per_sec=60

wifi.supplicant_scan_interval=180

*If you don’t keep Wi-Fi active lowering the value below the default of 90 seems to make Wi-Fi connect faster after being turned on but will consume more power if turning Wi-Fi off has been forgotten when not in range of a known network.

ro.mot.eri.losalert.delay=1000

*Should smooth out disconnects and reconnects, saving battery. Seems to brake tethering with CM7, let me know if anyone else experiences this issue.

Raises quality of images

ro.media.enc.jpeg.quality=90

ro.media.dec.jpeg.memcap=8000000

ro.media.enc.hprof.vid.bps=8000000

Increased Media & Streaming Performance

media.stagefright.enable-player=true

media.stagefright.enable-meta=true

media.stagefright.enable-scan=false

media.stagefright.enable-http=true

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.evdo_b=4096,87380,256960,4096,1 6384,256960

*Note: I don't know why but the forum is placing spaces in the above lines that are not there. The last 3 are for data speeds but have been places here to avoid multiple explanations for the spaces. The spaces are not present when I edit and have even tried retyping them in Word and then pasting the lines in but it still shows the spaces after saving, kind of frustrating. The ends for the above lines should all be the same ending values for each line (=4096,87380,256960,4096,16384,256960). I don’t know why but for whatever reason anytime I save the post the spaces appear.

Disable error checking (Should speed things up a bit)

ro.kernel.android.checkjni=0

ro.kernel.checkjni=0

Disable sending usage data

ro.config.nocheckin=1

To make the phone ring faster when dialing out

ro.telephony.call_ring.delay=0

Disable black screen issue after call (Thanks to Whyzor for finding why looking into the other tweaks)

ro.lge.proximity.delay=25

mot.proximity.delay=25

Disable USB Debugging icon from Status Bar. (Just the Icon, debugging remains enabled.)

persist.adb.notify=0

makes apps load faster and frees more ram. (Edit exsisting line)

dalvik.vm.dexopt-flags=m=v,o=y

Improve 3g data speeds

ro.ril.hsxpa=2

ro.ril.gprsclass=10

ro.ril.hep=1

ro.ril.enable.dtm=1

ro.ril.hsdpa.category=10

ro.ril.enable.a53=1

ro.ril.enable.3g.prefix=1

ro.ril.htcmaskw1.bitmask=4294967295

ro.ril.htcmaskw1=14449

ro.ril.hsupa.category=5

Wipe both Caches in Recovery after adding or changing the above lines.

If you have used the 3g script put out by the developer of theV6 Turbocharger script then they have already been applied to your device.

Next few can be found in the CM7 Performance settings but am including them in case someone would like to use them on another Rom like Miui.

Lock Home Screen into memory

ro.HOME_APP_ADJ=1

Use Jit (Dalvik just-in-time compiler)

dalvik.vm.execution-mode=int:jit

Enable Surface dithering (Improves image quality at the cost of performance)

persist.sys.use_dithering=1

Allow purging of assets (System can free more Ram when needed)

persist.sys.purgeable_assets=1

Disable animation for faster startup

debug.sf.nobootanimation=1

To apply any of the above Tweaks you will need a File Explorer with Root Permission. I use Root Explorer so the below steps are assuming Root Explorer is being used. This can also be done using ADB or QtADB; if ADB would be preferred in place of a File Explorer then you probably do not need directions for doing so. You will find instructions for using the QtADB interface below. It is also important to check that any of these lines have been included with your Rom as I know since posting these originally some have now been worked into a few custom Roms for the Triumph.

1, Navigate into the system folder.

2, Mount the folder as R/W by tapping on the Mount R/W tab found at the top of the screen.

3, Long press on the Build.prop file and select open with text editor.

4, Add desired lines at the bottom of the script.

5, Tap menu key and select save and exit. The original Build.prop will be saved as Build.prop.bak.

6, Save the file in safe place just in case you would like to switch back

7, Reboot!

Please note that on occasion a 2nd reboot was required for the tweak was applied, USB debugging notification for example. Unless noted I have not had any issues with these lines breaking anything. With that said I also wipe both the Dalvik and Cache Partitions when performing the reboot. "