[TWEAK] How to remove 60 FPS cap (for benchmark lover) - G2 General

Hello,
Tweak for benchmark lover !
This is the line you need to add in your build.prop file to remove the 60fps cap :
debug.egl.swapinterval=0
Off course, it's tested and fully working.
Look the FPS counter un Quadrand fly !
Yes, the screen can't display more than 60fps, but we only talk about computation capability so only increase bench score, no link with daily feeling.
Enjoy !
Edit 1 :
For thoses who are not familiar with build.prop edition :
I use "Root Explorer" app to edit it.
The build.prop file is located under System.
Simply edit the file.
Add the line at the end of the file.
Save.
Reboot.
Enjoy.
Edit 2 :
I got my first screen tearing with this Tweak.
Don't pannic, this problem is known.
Go to dev options, and tick "remove hardware overlay", be carefull, it doesn't stick after a reboot.

Related

Tips, tricks and tweaks for boosting your phone

Tweak your Android phone​
Improve overall performance, prolong battery life​
[revised]​
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
!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
# MISCELLANEOUS TWEAKS
wifi.supplicant_scan_interval=150 #sets wifi scan frequency
windowsmgr.max_events_per_sec=90 #This number equates to the refresh rate * 1.5 Android maxes at 60fps.
# faster Scrolling
ro.max.fling_velocity=12000
ro.min.fling_velocity=8000
# improve voice call clarity
ro.ril.enable.amr.wideband=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
# 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
# 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
# should improve responsiveness through Hardware Rendering
debug.sf.hw=1
persist.sys.ui.hw=1
debug.egl.profiler=1
debug.egl.hw=1
# Qualcomm display settings
debug.qctwa.statusbar=1
debug.qctwa.preservebuf=1
com.qc.hardware=true
# BATTERY SAVING
ro.ril.disable.power.collapse=0
ro.mot.eri.losalert.delay=1000 #smooths out network disconnects
ro.config.nocheckin=1 #disable sending usage data to google
# sleep modes
pm.sleep_mode=1
#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!
# if you get problems like apps not starting, not getting root although you're rooted, change this to m=v,o=y
dalvik.vm.jmiopts=forcecopy
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=18m #make sure this value is a little less than half of the heap size
dalvik.vm.heapsize=42m #change this to a value you like. 42m is not an universal value, you can also set it to 64m
# TCP buffers
net.tcp.buffersize.default 4096,87380,704512,4096,16384,110208;
net.tcp.buffersize.wifi 524288,1048576,2097152,262144,524288,1048576;
net.tcp.buffersize.lte 524288,1048576,2097152,262144,524288,1048576
net.tcp.buffersize.hspa 4094,87380,704512,4096,16384,262144
net.tcp.buffersize.umts 4094,87380,563200,4096,16384,110208
net.tcp.buffersize.gprs 4094,87380,256960,4096,16384,110208;
net.tcp.buffersize.edge 4094,87380,256960,4096,16384,110208;
# DEACTIVATED LINES
# 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
Click to expand...
Click to collapse
---------------------------------------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
About sysctl: http://en.wikipedia.org/wiki/Sysctl
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 Xperia STOCK ROM:
[Script] init.d for STOCK ROM - xda-developers
Enable init.d for all ROMs:
http://forum.xda-developers.com/showthread.php?t=1933849
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
X-PLODE:
Even more scripts: http://forum.xda-developers.com/showthread.php?t=1928464
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!"
Also try -=Ultimate Jar Power Tools=- by zeppelinrox: http://forum.xda-developers.com/showthread.php?t=1914159
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!
To odex single files only: http://forum.xda-developers.com/showthread.php?t=1879128
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
anyways, happy tweaking!
are these tweaks tested
you can check it here
you can check it here:
http://forum.xda-developers.com/showthread.php?t=1747697
http://forum.xda-developers.com/showthread.php?t=1873234
gaspar77 said:
are these tweaks tested
Click to expand...
Click to collapse
Tweaks are tested personally by me.
I've really tried to assemble just the really good tweaks and enhancements.
I've tested and researched all these build.prop tweaks. And as you can see, they all have comments on what they do. So you can choose what you want.
I've also only included init.d scripts that I know raise performance. All tested by me.
Just a quick question, my Mini with stock ICS has dalvik.vm.heapsize=128m by default, wouldn't setting it to 68m be an un-tweak?
Mammt said:
Just a quick question, my Mini with stock ICS has dalvik.vm.heapsize=128m by default, wouldn't setting it to 68m be an un-tweak?
Click to expand...
Click to collapse
Nope. It wouldn't be an un-tweak. You've gotta test which heapsize is best.
It's trial and error.... Let it sit at 64 for a few days and see if it's better or worse.
This thread should be pinned
iONEx said:
Nope. It wouldn't be an un-tweak. You've gotta test which heapsize is best.
It's trial and error.... Let it sit at 64 for a few days and see if it's better or worse.
Click to expand...
Click to collapse
Since I don't run a ton of apps on my phone I don't think I'd be good in recognizing the difference. Is there a recommended best size based on the device's RAM? I got a Mini, so 512MB of which 340MB usable.
Mammt said:
Since I don't run a ton of apps on my phone I don't think I'd be good in recognizing the difference. Is there a recommended best size based on the device's RAM? I got a Mini, so 512MB of which 340MB usable.
Click to expand...
Click to collapse
Dalvik heap size is the amount of memory (RAM) applications can use.
The bigger it is, bigger apps run faster.
You have to find the golden middle. Because if you have it to big, the memory will be all used up by some apps and will cause laggyness and force closes in others.
Try to stay with the lowest possible setting that lets your phone run smooth.
Take a look at this link: http://ryanolson.wordpress.com/2010...ory-per-vm-heap-can-effect-your-rom-cyanogen/
It seems tha 12M! is a good setting
Yet in this read here: http://butterflydroid.wordpress.com/2011/09/22/what-is-dalvik-vm-heapsize-benefits-and-downfalls/
it's suggested to set it higher.
Personally, I use 42m right now. But I've used as low as 24m before.
You have to choose and test for yourself. Try 28m, 42 and 64m. See which is better.
Hope that helps....
great collections..only a particolar (stupid) think that i want to tell you
iONEx said:
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.
Click to expand...
Click to collapse
this is a code that we programmer use to say a comment, to remember us what we are doing, is very useful! it isn't part of code, so can be delete, it say only what the tweaks do
What about unlimited boost?
Sent from my SK17i using xda app-developers app
Sir, can i apply that on custom ROM or it is prefer to use it on a stock ROM?
samajid said:
What about unlimited boost?
Sent from my SK17i using xda app-developers app
Click to expand...
Click to collapse
What about it? It's a tweak package. I have assembled my own called X-PLODE
You gotta pinned thread with a link to a listing of various tweak packages.
No need to put it here.
neonballroom said:
Sir, can i apply that on custom ROM or it is prefer to use it on a stock ROM?
Click to expand...
Click to collapse
This is a collection of various tweaks. It should be universal for all phones and ROMs.
Is Odex-ing works on LWW Stock 4.1.B.0.587, because i've try odex i found in xda they give me botloop.
Sent from my WT19i using xda app-developers app
which script according to u should i try to improve gaming performance( temple runner,subway surfer,etc)
Sushil23 said:
which script according to u should i try to improve gaming performance( temple runner,subway surfer,etc)
Click to expand...
Click to collapse
There are a lot of tweak packs around. You can try ultimate boost, supremacy etc.
X-PLODE is also good I think.... (made by me)
thanks for the tips : )
I got botloop with odex
LWW 4.1.B.0.587
Sent from my WT19i using xda app-developers app
thanks man

[MOD][JB] probable bug screen death fix for JB (testers needed)

i am not sure if this mod works but you can try it.
i have not had screen death bug using this.
i have not made flashable zip, you have to apply this mod manually.
it will be very good if some one make it for me.
here is what you have to do.
1) download View attachment vsync.rar and extract 20-vsync file.
2) put this file to /system/etc/init.d/ and set permissions to rw-r--r-- (644)
3)open system/lib/egl, edit egl.cfg and delete first line i.e. 0 0 android
after that save and exit.
4)also delete libGLES_android.so from /system/lib/egl/
5)now download View attachment adreno_config.rar and extract adreno_config.txt
there are 3 files each 1) no MSAA (multisample antialising)
2) 2x MSAA
3) 4x MSAA
choose whichever you like, i would recommend 2x MSAA file.
6) put extracted adreno_config.txt to /system/etc and replace with old one. and set permissions to rw-r--r-- (644)
7) now reboot phone into recovery, clear cache and dalvik cache and reboot.
enjoy JB with less screen death.
please test and report...............
also you need to edit build.prop with
debug.sf.hw=1
debug.composition.type=gpu
if you are getting lags use
debug.composition.type=mdp
reserved
has anyone tried it yet??? please test and report...
This bug cannot be resolved with sole init.d files and libs..this bug is caused of low ram!
ya i know about that but still this mod decreases the frequency of bug.
you can say it is "near project butter implentation"
Working
Before I had flashed your fix, screen doesn't wake up.
After I had flashed your fix, screen always wakes up and I feel that my x8 is faster (placebo?).
Sorry for my bad English.
Confirmed...Working...now,it's not that hard to wake him up than before.. :thumbup:
E16i - android 4.1.2 jb
- MiniCM10 4.0.2

[SCRIPT] Lagg Nullifier [STOPPED 4 NOW]

[-=Lagg Nullifier=-]
What is It?
Hello Fellow XDA , As you May know I am Quite fond With Mods and Scripts!, I Have Created Some Tweaks and Mods to Speed Up Your Android, But None of Them are As Intense And Performance Boosting as "Lagg Nullifier". It Does what It Says!, I cannot However Guarantee that It will Defiantly do This as Some Roms might Have Similar Performance Tweaks that Have the Same Outcome, No more talking, Lets get to it!
Features:
✔ Made for a Performance Boost
✔ Executable .sh Script
✔ Lots of Work + Testing Went into It by Me!
✔ Lots of Tweaks + Mods
✔ Init.d Free
✔ Backs Up Previous User Configuration for Saftey
Installation:
1.) Download: Lagg_Nullifier.sh.pdf & starter_kit.sh.txt
2.) Make a Folder on SDCard and Rename to Lagg_Nullifier
3.) Copy Files to That Folder
4.) Download Script Manager
5.) Run Starter Kit as Root (Skull & Crossbones)
6.) Reboot
7.) Reboot Again
8.) Run Lagg_Nullifier.sh.pdf
9.) Reboot
10.) ReRun Lagg_Nullifier.sh.pdf
11.) Wait 5 Minutes
12.) Enjoy The Performance!
When You Reboot The Script Dies, So To Re - Enable, Just Re Run it!
Credits:
➣Johnnzey
➣Spizzy01
➣Lenarox
➣Zeplinrox
➣Juwe1
Download:
▷ starter_kit.sh.txt
▷ Lagg_Nullifier_Gen_1.sh.pdf
▷ Lagg_Nullifier_Gen_2.sh.pdf
Enjoy!
Please Hit the Thanks Button, It Took me 3 Weaks to Make this!
Changelog:
Lagg Nullifier Generation 1
✔ Lots of Vm Tweaks
✔ Optimized Dirty Ratio Tweaks
✔ Build.prop Tweaks
✔ Backups Init.d's + Build.prop to sdcard/Lagg_Nullifier/bkp
✔ Injects Kernel Tweaks to Prevent Random Crashes
✔ Tweaks Low Memory Killer
✔ Tweaks ADJ Values
✔ Boosts Read Speeds
✔ Kills Allocating Task
✔ Tweaks I/O Schedular
✔ Drops Caches
✔ Executes Kernel Safe State Stablizer - Waits Between Each Script for it To Inject Properly
Lagg Nullifier Generation 2
✔ Added Periodic Cache Dropping
✔ Added TCPO Internet Tweaks
✔ Tweaked Script
✔ Made fully Compatible to Execute at Boot
✔ Fixed Backing up Init.d's
✔ Fixed Backing up build.prop
✔ Removed Settings for Only 512mb Ram Devices
✔ Made Universal
Just one thing. In step 2 change file to folder but looks good ill try this. Does it work with any android version?
Sent from my Xperia Play (r800x)
abdel12345 said:
Just one thing. In step 2 change file to folder but looks good ill try this. Does it work with any android version?
Sent from my Xperia Play (r800x)
Click to expand...
Click to collapse
Should do if u run the Starter kit, , But make a CWM Backup as i only tested it on GB Roms of the following (3 weeks worth!):
Gin2JeallyBean - Little Improvement
Bane Of Speed - Almost no improvement with this mod... (already included in rom... Most of it, but not all the main bits, ill add in v10)
Close2Stock - Worked Great
AuroraPlay - Worked well
Atomic GB - No improvement
, Breif improvement table!
this is the best gaming script that you recommand? or your project lard v11/gb optimized/user's script etc
EDIT:i have some problems whit installation, the starter kit act weird
tcris45 said:
this is the best gaming script that you recommand? or your project lard v11/gb optimized/user's script etc
EDIT:i have some problems whit installation, the starter kit act weird
Click to expand...
Click to collapse
Yea, ill fix the starter script... Also If you cant run it just run the Actual installation and then Reboot and enter this into your build.prop:
# Pro-Tuned ADJ 1.2 by LENAROX
ro.FOREGROUND_APP_ADJ=0
ro.VISIBLE_APP_ADJ=4
ro.PERCEPTIBLE_APP_ADJ=3
ro.HEAVY_WEIGHT_APP_ADJ=2
ro.SECONDARY_SERVER_ADJ=15
ro.BACKUP_APP_ADJ=5
ro.HOME_APP_ADJ=6
ro.HIDDEN_APP_MIN_ADJ=3
ro.EMPTY_APP_ADJ=15
# Kernel Stabalizer;
dalvik.vm.checkjni=false
debug.kill_allocating_task=0
# Nitro Lagg Nullifier;
ENFORCE_PROCESS_LIMIT=false
MAX_SERVICE_INACTIVITY=false
MIN_HIDDEN_APPS=false
MAX_HIDDEN_APPS=false
CONTENT_APP_IDLE_OFFSET=false
EMPTY_APP_IDLE_OFFSET=false
MAX_ACTIVITIES=false
ACTIVITY_INACTIVE_RESET_TIME=false
MAX_RECENT_TASKS=false
MIN_RECENT_TASKS=false
APP_SWITCH_DELAY_TIME=false
MAX_PROCESSES=false
PROC_START_TIMEOUT=false
CPU_MIN_CHECK_DURATION=false
GC_TIMEOUT=false
SERVICE_TIMEOUT=false
MIN_CRASH_INTERVAL=false
then reboot
a lot of stuff,lol, But yeah thats what the starter script does,
Is the starter script fixed or can I just grab the one from zepz thread
ss beanz T989
hatememarkz said:
Is the starter script fixed or can I just grab the one from zepz thread
ss beanz T989
Click to expand...
Click to collapse
NO WAy, This isnt some sort of universal thing, its made for THESE Tweaks, and the starter script is fixed now, i reuploaed sneakly without posting info...
is there a way that we can reverse the process of this mod? (like if you install/run this, how to uninstall/remove)
No way, as different phones haven different cm settings and etc...
To revert just reboot
Sent from my R800i using xda app-developers app
Pizza_Dox said:
No way, as different phones haven different cm settings and etc...
To revert just reboot
Sent from my R800i using xda app-developers app
Click to expand...
Click to collapse
i'm a bit confuse now.
You mean that if you install this mod, and then reboot, the mod will be removed?
samplermonhar said:
i'm a bit confuse now.
You mean that if you install this mod, and then reboot, the mod will be removed?
Click to expand...
Click to collapse
Essentialy yes, If u apply this it will give best performance and things and wont make any init.d's only the starter kit will make build.prop tweaks so this will only work after you run it once!, , Reason i cant make it make any init.d's is because i havent learnt how to make an .sh script make a file and enter text their... Tried googling but i dont know, ive also looked thru lots of other scripts but they all have diffferent methods so im really confused about all of this,
Does this work well with NXT 2 r1 by krisdee?
Sent from my MT25i using xda app-developers app
joshua10796 said:
Does this work well with NXT 2 r1 by krisdee?
Sent from my MT25i using xda app-developers app
Click to expand...
Click to collapse
Cant say,as i havent tested, but i generally works great on most roms, i tested with GTa VC, and it stops those annoying little laggs,
V3, will support stiky init.d's (will stay their...)

[IDEA] Change or Resize Icons

As we All know LeWa OS has a issue of wierd icons & incorrent sizes of icons!
You can resize the whole UI of your android easily using these easy steps!
Changing the DPI value of your android device will solve the issue!This MOD will also change the resolution of icons/status bar/menu/app drawer/homescreen/all other apps!
So here we go ~DPI Fix for LeWa/MIUI/CyanogenMod/AOSP/Stock/AOKP/Any ROM/ANY DEVICE!!!
Storngly Recommended for Custom ROMs only!.
1. At first root your device!.
2. Install Root Explorer/Root Browser/ES File Explorer! (Any file explorer that opens /system partition).
3. Open Root Explorer and go to system!.
4. Hold build.prop and a menu shall appear!.
5. Click Copy and Paste in your Memory Card/Any Place Safe! (for backup issues only).
6.Go Back to system and Hold build.prop!.
7.Click on "Open in text editor" and scroll down!.
8.On the end of the lines, create a new line!
9.type~ ro.sf.lcd_density=190 (190 is the value of your new display DPI! so you can change the DPI as you want! default is 210)
10. Save & Exit
11. Reboot your Device. Now see the changes!
Thanks For Reading
Idea generated by :
Xtreme Ornob
Tested by :
Sadia Afrin Rumu

The complete Badadroid NAND ROMs Optimization/Infos Guide (Omni Rom and GearCM)

{
"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"
}
I guess , it is about time to move my ass and do something useful in here
In this Guide i will try to provide you with the best optimization for the roms , based solely on my use and testing for the past days :angel: , so lets get started
As always , basic knowledge is required at least , you know how to do a Nand backup in TWRP , so make sure you know what you are doing
It is better if you do this on a clean install​
Note : i'm merging the guide for the two roms , but i will provided side tips for each rom if needed
Note 2 : lollipop is still , in early stages in development and if you didn't already know , there has been a bug that hit the wave in his weak point "Ram"
second to that there is a great lag in dialer , so that making calls or receive them , will give you a headache , read further in links
Lollipop memory leak http://www.xda-developers.com/lollipop-memory-leak-fixed/
Dialer lag https://code.google.com/p/android/issues/detail?id=81593
https://code.google.com/p/android/issues/detail?id=82949
http://forum.xda-developers.com/galaxy-s3/general/lag-dialer-contacts-t1958171/page2
i will provide you with my work around on this bug
Note 3 : due to memory leaking sometimes the phone just reboot ,
Note 4: Omni 4.4 / Lollipop / GearCM /better , honestly for now i only recommend using Omni 4.4 (NAND) or GearCM (NAND) i tested/used it for long time with no major bugs . but looking forward to the next release of Lollipop​
Reviews
Omni review by Hero355
GearCM review
Lollipop review
How to Install Android Lollipop on Samsung wave devices
Best Roms (Very stable and recommended for daily use)
[ROM][WIP][NAND] Omni 4.4 - 11.12.2014 by @volk204
Omni review by Hero355
[GearCM][NAND|S85xx][4.4.4] Optimized CyanogenMod 11 for Samsung Wave I/II by @Alberto96
Tip 1 : note that some of this tweaks will take place after you reboot your phone
Tip 2: Start this Guide by deactivating All "other sounds" in sound settings .​
1- Apps you gonna need / recommended / and Gapps
As stated by @volk204
volk204 said:
GAPPS make our ROM slowler, because also slim GAPPS take about 15-20 MB RAM permanently
I use PICO MODULAR PACKAGE from http://forum.xda-developers.com/par...apps-official-to-date-pa-google-apps-t2943900
Click to expand...
Click to collapse
*Do NOT install Gapps unless you really need them , specially with Lollipop , (NB : note that i don't use Gapps , and this Guide is based on that)
*Use an apk downloader website and search for your application , download, put them on the sd card , and install . couldn't be any easier
*Root you rom http://forum.xda-developers.com/show....php?t=1538053
*Download those APKs
To remove android bloatware System app remover (ROOT) (if Lollipop) Andromizer (if omni)
To replace native browser : Opera Mini (for casual browsing on 3G ,fast ,save battery and data) and Atlas web browser (an great browser , with awesome features that will be more useful on the wave)
Apps/Ram/battery saver : Greenify
Tweaking the kernel : [ROOT] Kernel Tweaker
File manager : CM file manager 1.0.2 search for it , or download it from the attachment .
Video player : Mx player
2- Install the above apps and remove those
Use andromizer (omni 4..4) or System app remover (Lollipop) to remove the following apps , and reboot (and remove andromizer/System app remover , you don't need them anymore )
you don't need most of those apks , and you could remove more , those are the apps i don't need , and probably so do you , i recommend you remove them
Q: What those apps do ? is it safe to remove them ?
A: Safe , yes . read further in this guide What Android Apps(Bloatware) are Safe to Remove?
3-Battery Calibration / Voltage control / Kernel governors
*you probably already know this , there is no such apk that do battery calibration or saving battery , our amazing devs already put so much effort in tweaking the kernel to safe battery .
a Software will never repair a hardware
*but before all that (calibrate) it by : draining your battery until the phone shut down , try turning it on again to make sure battery is truly low
the trick is to fully charging it in Bada mode , by pluging the charge in while pressing the call button (phone off).
*Voltage control :
100 Hz and 200 Hz work on the same voltage , seeing that most of time in state are in 100 HZ and in this frequency ,CPU would take more time to accomplish tasks than in 200HZ , it is only logical to reduce the voltage on 100 HZ ,
you need a 3rd parties apps to modify the value as the original Dev asks to not implement the code the rom directly (use [ROOT] Kernel Tweaker) .
i played with value and here is the value the phone freeze at it (governors was set to performance , and max value is the freq tested).
phone freeze at this value 100HZ-750mv 200HZ-800mv 400HZ-875mv 800HZ-1075mv 1000HZ-1175mv
i used 100 mv (Omni) 125 mv (lollipop) above this setting , with no freezing or problems , you can push it further and test it more
Use kernel tweaker , under the UV table, enter the voltage value , make sure to give root permission and set it to apply value on boot , and reboot.
*Kernel Governors:
-For omni 4.4 , i really like what i have on interactive 100-1000 mhz , i didn't tweak it but you surely could , if you want ;
read this [REF][TWEAKS] Kernel Governors, Modules, I/O Schedulers, CPU Tweaks, AIO App Configs before you make any dummy change
NB : make sure to note this , as the wave now is considered a low end device , some governors will put a reverse effect on battery , for example setting the governors on Conservative will drain battery much more .
Since the processor will run on low frequency , it will take it much time to do tasks , and therefore it will consume much likely than it do on high frequency , roughly 5 seconds on 200mhz consume more than 3 seconds on 800mhz
Further more you we'll notice a slight lag , due to the fact that the conservative governor increases and decreases CPU speed more gradually. Simply put, this governor increases the frequency step by step on CPU load and jumps to lowest frequency on CPU idle.
so if you use heavy tasks apps on your mobile i don't recommend using "conservative" , it is much suited with daily life usage (calling , messaging , casual browsing ...)
ok : (tested for Omni 4.4)
you need Performance : Go with 100-1200 interactive
In the middle : Go with 100-1200 conservative
Battery safe : Go with 100-1000 conservative
-For Lollipop; well for starter interactive on 100-1200 mhz is a nice choice , i will dig it further and report
*Battery Testing : 100-1000 Mhz interactive
Playing movie from Sd card on full brightness drain battery by 12.17%/hour about 7 hours and half play time at full brightness
on Standby , don't expect so much , battery drain at 0.9 to 1.2 %/ hours on (3G mode , Auto sync deactivated ),so about 110 hours (4 days and half) :fingers-crossed:
4-Ram management software
Ram manager or such software is just a bull****, there is a saying i read it a while ago on xda that "A free Ram is a wasted Ram " so don't try to kill apps because they just take more battery and resources when they relaunch .
5-Using Greenify : (donated version recommended)
Greenify help you identify and put the misbehaving apps into hibernation when you are not using them, to stop them from lagging your device and leeching the battery , with that been said
Do not Greenify any app that you use a lot or an app that relaunch itself like "download manager" "Google play services " it will only cost you your battery life
For example you can greenify mail.apk if you disable auto-sync
For me ;
6- Gapps (what if i need google play service)
-well ; note that there 's always an alternative to any apk that require Google play service , Google oblige you to use them , so that they push you some Ads and keep track of your location :laugh: , maybe isn't quite true , but i like to believe so .
-any way here is what you need to do :
*Install Gapps link
*Log to your Google account let it update "Google Play service" and "Play store"
*Download 3C Toolbox Aka Android tuner
*Disable play store , it will ask you to remove updated , say yes (activated it when needed)
*Disable also : Google contact sync , Google calender sync (if you do not sync events from your google account) , Google backup transport ( backing up data to your google account , also disable if not needed)
it will get a little tricky here so :fingers-crossed: :angel: and Say thanks to xda assist @timmaaa for his guide , (i retouched it a little )
*Go to setting - Apps permissions - Google play services and put every thing to off
*Next step we gonna reduce the wake locks of Google play service to the point , like it was never installed :highfive:
timmaaa said:
*Open 3C toolbox , give it root access , pull out the side menu, scroll down to the Apps Manager section and select Application Startups. Open the box at the top and change it to All, click the button in the bottom-right until it says System, scroll to Google Play Services and select it, a huge list will open, scroll to very near the bottom and find the Wakeup option, uncheck the box.
*Go back to the main menu of Android Tuner and pull out the side menu on the left, scroll down to the Apps Manager section and select Application Manager. Click the centre box at the bottom until it says System, scroll to find Google Play Services and highlight it, press the Manage button in the bottom-right and select Permissions. This should bring you to the Perms tab, swipe across to the Services tab. In this list you want to uncheck anything that starts with Ads or Analytics ,Games , Wallet you also want to uncheck anything that starts with com.Google.android.location.reporting as well.
Click to expand...
Click to collapse
NB: make sure to not ; i repeat to not uncheck this com.Google.android.location.reporting.preference.service . it will cause play services to keep looping and never go to sleep
timmaaa said:
Click to expand...
Click to collapse
* if you want to push this further , disable the same services ( Ads or Analytics ,Games , Wallet , location report) from the other tabs (receivers , providers , activities ) be careful to not causing a loop that will keep wack locking your devices , do it at your own risk , it needs more testing :angel:
the result will be like this
screenshot in Google setting when opening "play games" , completely disabled :highfive:
NB : if you see , a pop up at boot saying , google play service crashed , just click ok , ( crash related to the service not needed , we did disable) , Google play service still work fine with apps and Google maps
Note : remove 3C toolbox (not needed) after you do every step correctly and the apps work as it should
7- Applications :
*Browser :
Set your default browser to Atlas browser , there 2 awesome thing about this browser :
1- it offer free Ad block , and Java script pop out windows blocker , and believe me it 'll deliver say thanks for Xda senior member @tliebeck
2- The "Experience" selector controls what types of rich content are displayed. The "HI-FI" mode provides the full experience, while the "LO-FI" mode disables JavaScript and rich media. Using LO-FI can have a tremendous impact on performance, but may come at the expense of web site functionality. A final "TEXT" option can be useful in critical low-signal situations.
*Mediaplayer :
from setting Set MX player to always use S/W decoder for online and local , it will give more space to the processor to work .
8-Managing media scans :
Media scan , for multimedia files , runs every times at startup and every time you lunch gallery or take picture , it will scan all folders in your storage and it will take sometimes more than 20 mins to finish , which will cost you some % on battery
so open CM file manager :
*one by one select every folder with no playable media like for exemple "android" folder
*press and hold , and select proprieties
*check "skip media scan"
*click ok
9- Loollipop Caller lag , and Omni 4.4 optimization :
probably there is a bug with the animation scaling , or it is a bug that over eat the ram
to fix temporary the lag in Lollipop caller lag ; do the following :
*Go to developer option
*scroll down , and turn off the following :
NB : note that effects will take place after you reboot your phone
NB 2: make sure to deactivate All "other sounds" in sound settings .
Appling this on Omni 4.4 will result in so much improvement , specially in opening big apps with boot animation
10- Moving apps and links2sd
[Guide] partition and link2sd [pictures included for each step] by @sanny5
Don't use this on Lollipop , there not even the available RAM to open the native apps
Moving apps to SD , uses at least 30 MB of RAM (Xposed + Modules + Link to SD )
It is not worth it , even on Omni 4.4 with a few apps installed
11- USB mass storage support
This only supported in GearCM ROM
12- Mobile Network
Bad Call Quality while on 2G (GPRS & EDGE) Networks (probably related to AMR_WB)
Dynamic Switching between 2G (GPRS & EDGE) & 3G (UMTS & HSDPA) doesn't work (it is recommended to use 3G Only mode)
13- How to solve encryption is unsuccessful Error :
The problem came from the Data partition being formatted in F2FS format , because you did it or the previous ROM you installed did it automatically
The problem rises when you try to install omni 4.4 , because the kernel has no support for F2FS , and Kernel read data as encrypted and can't do anything
to solve this boot to TWRP , and format everything to "ext4"
Flash rom again
If this Guide helped you in anyway , make sure to thank first xda developers @volk204 @Rebellos @Alberto96 , without their work and effort developing the ROM , this Guide won't be possible .
Thanks also for all the original Badadroid porting team .
enjoy !!
Reserved
also add
developer option-> background process limit ->at most 2 processes
m90ultimate said:
also add
developer option-> background process limit ->at most 2 processes
Click to expand...
Click to collapse
that maybe will cause a reverse effect if you think about it ,
setting it " at most 2 processes" , surely will give you slightly better performance
but in other hand , android keep killing background processes , but those processes never sleep , it keep relaunching
that will cause a loop
and launching app take more of battery than when leaving it running
en plus an unused ram is wasted ram
regards
m90ultimate said:
also add
developer option-> background process limit ->at most 2 processes
Click to expand...
Click to collapse
Side note : you can't set it to load at boot , anyway
nice guide
Hi ice_ice, i see you have done many things for tweaking those roms! Thank you for the guide! :good::good::good:
Majd7667 said:
Hi ice_ice, i see you have done many things for tweaking those roms! Thank you for the guide! :good::good::good:
Click to expand...
Click to collapse
you welcome
recommendation
thanks for explanation of following tweaks
but
for voltage values i have better one
1.850mv for 100 & 200 mhz
2.950mv for 400mhz
3.1100mv for 800mhz
4.1150mv for 1000mhz
these values are highly stable.
Hi, @ice_ice.
Please give proper credit for section 6 of your guide, that was almost entirely written by me. I know you mention to say thanks to me for the guide but that doesn't really make it clear that that section is (mostly) a copy of my work.
Thanks, and well done on your thread.
timmaaa said:
Hi, @ice_ice.
Please give proper credit for section 6 of your guide, that was almost entirely written by me. I know you mention to say thanks to me for the guide but that doesn't really make it clear that that section is (mostly) a copy of my work.
Thanks, and well done on your thread.
Click to expand...
Click to collapse
done , sorry for the inconvenient
black0000 said:
thanks for explanation of following tweaks
but
for voltage values i have better one
1.850mv for 100 & 200 mhz
2.950mv for 400mhz
3.1100mv for 800mhz
4.1150mv for 1000mhz
these values are highly stable.
Click to expand...
Click to collapse
yes , you can push it further , as it fit best with your daily use
i tested my value on different use , and situation , and it probably work fine in most situation
i have little concern about "1150mv for 1000mhz" , since i tried that and the phone freeze on heavy tasks , i tested that with endomondo and playing music with apolo , phone suddenly freezes , run tracking was ruined :crying:
since the phone use the following frequencies by order of % , 100mhz , 800mhz , 200mhz , 1000mhz , it is more interesting to tweak the 100mhz
ice_ice said:
yes , you can push it further , as it fit best with your daily use
i tested my value on different use , and situation , and it probably work fine in most situation
i have little concern about "1150mv for 1000mhz" , since i tried that and the phone freeze on heavy tasks , i tested that with endomondo and playing music with apolo , phone suddenly freezes , run tracking was ruined :crying:
since the phone use the following frequencies by order of % , 100mhz , 800mhz , 200mhz , 1000mhz , it is more interesting to tweak the 100mhz
Click to expand...
Click to collapse
I'm using these values since one year no freezes at all
but remember although we have same processor but it's not identical since it is not possible to produce two identical thing
these values may be differ little bit.
also, freez may occur with other values not only 1000 mhz
like if ur 1000 mhz values is correct but 800mhz values is unstable then also freez occurs
ihave played asphalt 8, mc4,5 , most wanted gt racing2, real racing 3 etc. using these values in ics with no freeze.
:good:
black0000 said:
but remember although we have same processor but it's not identical since it is not possible to produce two identical thing
these values may be differ little bit.
Click to expand...
Click to collapse
didn't consider that , thx :highfive:
can you post screenshots for battery statistics and wacklocks from the performance menu :angel:
any way here is some batteries
*this one is 3,000mAh extended but so ugly
http://www.yoobao.com/en/product.asp?b_id=127&m_id=256&a_id=364
*others interesting (samsung wave battery dimensions are 64 mm x 43mm x 5 mm , so some alternative 3rd parties batteries )
2450mah - High capacity golden battery
Link Dream B494358vu 3.7v 2500mah Li-ion Battery
maxximus extra power 1700mah for samsung wave
Link Dream 3.7V 1700mAh Cell Phone Battery EB504465VU for Samsung Admire
Regards
ice_ice said:
:good: didn't consider that , thx :highfive:
can you post screenshots for battery statistics and wacklocks from the performance menu :angel:
Click to expand...
Click to collapse
my battery is 4 year old
so it doesn't deliver good performance
How to Install Android Lollipop on Samsung wave devices
Post updated
GearCM review
Updated
13- How to solve encryption is unsuccessful Error :
Gps file
@barbe31
any new roms coming !!??

Categories

Resources