Saturday 30 November 2013

Tweaks That Make Mobile Faster All Android Phones

weak your Android phone

Improve overall performance, prolong battery life

FOR ROOTED PHONES ONLY!

Contents:

1. build.prop
2. sysctl.conf
3. init.d
4. V6 supercharge
5. APK optimisation
6. odexing
7. stock camera high quality video rec&100% jpeg quality
8. misc.
9. FUGU tweaks
10. tweaks package


!WARNING!

BEFORE you start modifying/tweaking any system files, make a BACKUP!

In that case you're save and you have the option to restore the system if you mess something up!


1. build.prop

For editing build.prop you'll need a file explorer like Root Explorer which is a paid app, or you can use any root enabled file explorer.
Solid Explorer is a really good one!
build.prop is located in /system.

You can also use Android Commander to pull the file to your PC, edit it, then push it back to the phone.


Here's a collection of build.prop tweaks which should improve performance:

NOTE: I've commented values (#) which I'm not really sure about what they do exactly. Or I find they are optional.
Test them yourself if you want. remove # in front of line, if you want to enable it.

---------------------------------------------------------------------------------------
# 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-rtsp=true
media.stagefright.enable-record=true

# photo/video quality
ro.media.enc.jpeg.quality=100
ro.media.enc.hprof.vid.bps=8000000 #control video bitrate (stock cam app only)


# MISCELLANEOUS TWEAKS-----------------

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 it will consume more power if turning Wi-Fi off has been forgotten when not in range of a known network.

windowsmgr.max_events_per_sec=90 #This number equates to the refresh rate * 1.5 Android maxes at 60fps. Max value is already set to 90.

# faster Scrolling
ro.max.fling_velocity=12000 
ro.min.fling_velocity=8000

# improve voice call clarity
ro.ril.enable.amr.wideband=1

# disable error checking
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0

# disable logcat
logcat.live=disable

# faster youtube?
ro.ril.hep=0

# Faster boot
persist.sys.shutdown.mode=hibernate

# disable animation for faster startup
#debug.sf.nobootanimation=1

# does not need to be on if not a dev
persist.android.strictmode=0

# disable USB debugging icon from status bar
persist.adb.notify=0



#HARDWARE RELATED TWEAKS-----------------

# Render graphics with GPU&CPU
#debug.composition.type=CPU
#debug.composition.type=GPU

# Qualcomm display settings 
debug.qctwa.statusbar=1
debug.qctwa.preservebuf=1
com.qc.hardware=true


# BATTERY SAVING-----------------
ro.ril.disable.power.collapse=1
ro.mot.eri.losalert.delay=1000 #smooths out network disconnects. breakes tethering in CM7.
ro.config.nocheckin=1 #disable sending usage data to google

# sleep modes
pm.sleep_mode=2
#usage:
#pm.sleep_mode=0 -> collapse suspend
#pm.sleep_mode=1 -> collapse (will totally power off the cpu)
#pm.sleep_mode=2 -> sleep (cpu is still on, but put into low power mode (registers are still saved)
#pm.sleep_mode=3 -> slow Clock and Wait for Interrupt (lowered frequency and voltage)
#pm.sleep_mode=4 -> wait for interrupt (no change in cpu clock or voltage)


# DALVIK TWEAKS
dalvik.vm.execution-mode=int:jit #Dalvik just-in-time compiler
dalvik.vm.verify-bytecode = false
dalvik.vm.dexopt-flags=v=n,o=a,u=y #first remove the existing dalvik.vm.dexopt-flags line before putting this one!



# DEACTIVATED LINES-----------------

# should improve responsiveness through Hardware Rendering (maybe consumes more battery when on?)
#debug.sf.hw=1
#persist.sys.ui.hw=1
#debug.egl.profiler=1
#debug.egl.hw=1

# minimize the time Android waits until it rings on a call (not really necessary if you're not experiencing problems)
#ro.telephony.call_ring.delay=0

# proximity sensor delay (not really necessary if you don't experience black screen issue after cal)
#mot.proximity.delay=25
#ro.lge.proximity.delay=25

# disable error reporting. may possibly breake some apps.
#profiler.force_disable_err_rpt=1
#profiler.force_disable_ulog=1

# locks launcher in memory (not recommended on low RAM devices)
#ro.HOME_APP_ADJ=1
---------------------------------------END---------------------------------------------


build.prop tweaks listings with explanation:
Improving performance of your Android device through optimizing Build.Prop settings | Niranjan Thilak
Examining build.prop tweaks for Android ICS: A comprehensive guide (Part 1) | Jeff Mixon


2. sysctl.conf

sysctl.conf improve battery:
[MOD] Improve your battery life - xda-developers

sysctl.conf Data speed increase (wifi/3g/4g)
Data speed increase (wifi/3g/4g) - xda-developers


3. init.d

Enable init.d for STOCK ROM:
[Script] init.d for STOCK ROM - xda-developers

Some init.d tweaks/scripts:
Loopy Smoothness Tweak: [Script]Loopy Smoothness Tweak[TUT] - xda-developers

Smurfed Out script: [SCRIPT/TWEAKS] [Team D.I.R.T.] Smurfed Out V 6.6 (ultimate build.prop/init.d) 4-21 - xda-developers

Adrenaline™ Engine:[CWM][SCRIPTS][TWEAKS] Adrenaline™ Engine | STOCK 4.2 | CM 4.2b | 4/6 - xda-developers

ZV6:[MOD][ALL ROMS][TweakZV6] Init.d best tweaks[Flashable] Increase your performance ) - xda-developers

Thunderbolt!: [SCRIPTS][TWEAKS] ThunderBolt! v2.7.7 - 8/1/12 [Better Battery Life & Performance!] - xda-developers



4. V6 Supercharging

][Script-U9RC8.2]Be A Super User! Use The -=V6 SuperCharger=- Lag, Redraw & RAM Fixer! - xda-developers

1.] Download V6 supercharger and place it on your SDcard. Optionally you can rename it to a simple name like V6.
2.] Download&install script manager from google play.
3.] open script manager and grant it root privileges.
4.] Load downloaded script by selecting it, tap superuser (SU) icon (it will turn green)
5.] Tap 'run' in upper left corner
6.] touch the screen to open keyboard.
7.] it will ask to set scrolling speed, select 1 or 2 or 3 and then enter. Or select 0 for instant display.
8.] let it run until it stops scrolling. It will then ask you "Please Enter Option [1-30]:"
9.] Choose 10 for automatic calculation of settings (V6 cust-oomizer), or choose for yourself. My personal choice is 5 [Multitask]
10.] let it do it's thing... after it's finished it'll ask you if you want to super clean&reboot, do it.


To verify if the script has been installed, run it again after reboot.
If all is gods, you should get "Launcher is HARD TO KILL! ie. SUPERCHARGED" and "SuperCharger Level: 100% SuperCharged!"




5. APK Optimisation

][DEVS] Optimize all APKs automatically, Reduce memory footprint! [Now with Zipalign] - xda-developers

What it does: Makes APK's smaller by compressing PNG files in it. You gain a bit more space on internal storage, and smaller memory footprint!

Download this file http://forum.xda-developers.com/attachment.php?attachmentid=233101&d=1254347893 and extract it somewhere. Preferably to your desktop. The folder is named apkopt by default.

Open your ROM's zip. Open system and extract app folder to desktop.
Select all APK's inside app folder and copy/move them to apkopt folder.
Press win+r which opens run, type cm which opens command prompt.
now navigate to whereveryour apkopt folder is and type "apkopt_all".
The process will start, and it will take some time to finish.
It will create two new folders, "optimized" & "original".
Your optimized APK's are obviously in the optimized folder.
You can compare how much in size they've shrinked, for some ROM's you can gain as much as 20Mb!

Create new folder called "app", and place all optimized APK's in it.
Open you ROM zip again, go to system and replace the app folder with the optimized one.

Now you can flash the ROM 




6. ROM odexing

][ODEX] on Any ROM - xda-developers

Odexing pros:
Faster boot, faster app loading, gain more space in internal storage.

deODEXED pros:
Modification of apk becomes easier
ROM is open to theme modifications

Further odex vs deodex info: xda-developers - View Single Post - [ODEX] on Any ROM

So, I think if you're not a ROM or theme maker, you should be good to go 


Download this file:
odex-cwm.zip and put it on your SDcard.
Reboot phone into recovery and flash zip. It's as simple as that 
WARNING! Make sure you make a nandroid backup before you flash it!




7. Camera mod

[MOD][ICS&GB][4/26/12]Camera HQ Mod: Extreme vs High (UPD: MDPI GB version updated) - xda-developers
ONLY for Sony stock camera app!



8. misc.

Collection of various tweaks on XDA:
Collect of tweaks, scripts, optimizations for Xperia Devices - xda-developers

Get more RAM and faster responses by disabling verify-bytecode!:
Get more RAM and faster responses by disabling verify-bytecode! - xda-developers



9. FUGU tweaks

This SHOULD improve responsiveness.
[MOD] FuguTweaks - xda-developers



10. Tweaks Package

It's a collection of various tweaks and tips.

Instructions&readme are included in the zip.

https://dl.dropbox.com/u/61884099/tweaks.zipx

If you should experience problems with it, DL this older package: https://dl.dropbox.com/u/61884099/tweaks.zip


anyways, happy tweaking! 



No comments:

Post a Comment