Post Reply

Tutorial [GUIDE] Make da Phone run FASTER. Settings optimilization, Barebones, Modding CM11

OP VnnAmed

24th June 2013, 03:20 PM   |  #1  
VnnAmed's Avatar
OP Senior Member
Thanks Meter: 503
 
584 posts
Join Date:Joined: Sep 2011
More

Settings Optimilization
(Requirements: being literate, at least half a brain, common sense. If you don't meet these, listen to da song

and go away)
Processor Tweaks

CPU Governor

A CPU governor in Android controls how the CPU raises and lowers its frequency in response to the demands the user is placing on their device

1: OnDemand Governor:
Main goal of the ondemand governor is to switch to max frequency as soon as there is a CPU activity detected to ensure the responsiveness of the system. Ondemand jumps to maximum frequency and decreases the frequency gradually when CPU is less loaded/apporaching idle.

2: Userspace Governor:
This governor, exceptionally rare for the world of mobile devices, allows any program executed by the user to set the CPU's operating frequency.

3: Interactive Governor:
Can be considered a faster ondemand. Snappier with similar battery life.

4: Performance Governor:
This locks the phone's CPU at maximum frequency. Not very power efficient but God, it's fast.

Minimum and Maximum CPU Frequency

These are the values between which your cpu will scale it's clockspeed. The lower is Min value the less battery your phone should consume when not bothered. Max value is the border of how high you will let you CPU go.
The higher it goes the more battery it eats. Many people say it improves the performance, some that it doesn't. Too high values can cause freezes so don't be surprised when that happens


HTC Desire S values:
  • Min 245-368
  • Max 1024-1516
  • Experimental 1612-1804

I/O scheduler

I/O scheduler basically determines the order in which things get written to or read from storage. It will prioritize each block of data based on which process is requesting the operation or how much time it takes to complete each operation

1: Noop:
Inserts all the incoming I/O requests to a First In, First Out queue and implements request merging.

Advantages:
  • Serves I/O requests with least number of cpu cycles. (Battery friendly?)
  • Best for flash drives since there is no seeking penalty.
  • Good throughput on db systems.

Disadvantages:
  • Reduction in number of cpu cycles used is proportional to drop in performance.

2: Deadline:
Goal is to minimize I/O latency or starvation of a request. The same is achieved by round robin policy to be fair among multiple I/O requests. Five queues are aggressively used to reorder incoming requests.

Advantages:
  • Nearly a real time scheduler.
  • Excels in reducing latency of any given single I/O.
  • Best scheduler for database access and queries.
  • Bandwidth requirement of a process - what percentage of CPU it needs, is easily calculated.
  • Like noop, a good scheduler for solid state/flash drives.
Disadvantages:
  • When system is overloaded, set of processes that may miss deadline is largely unpredictable.
3: ROW
The ROW IO scheduler was developed with the mobile devices needs in
mind. Favoring READ requests over WRITEs decreases the READ latency greatly.

Advantages:
  • Best READ values so very fast user experience

Disadvantages:
  • Not so good at WRITEing

4: CFQ:
Completely Fair Queuing scheduler maintains a scalable per-process I/O queue and attempts to distribute the available I/O bandwidth equally among all I/O requests.

Advantages:
  • Considered to deliver a balanced i/o performance.
  • Easiest to tune.
  • Excels on multiprocessor systems.
  • Best database system performance after deadline.

Disadvantages:
  • Some users report media scanning takes longest to complete using CFQ.

5: BFQ
Instead of time slices allocation by CFQ, BFQ assigns budgets. Disk is granted to an active process until it's budget (number of sectors) expires.

Advantages:
  • Believed to be very good for usb data transfer rate.
  • Believed to be the best scheduler for HD video recording and video streaming. (because of less jitter as compared to CFQ and others)
  • Considered an accurate i/o scheduler.
  • Achieves about 30% more throughput than CFQ on most workloads.
Disadvantages:
  • Not the best scheduler for benchmarking.
  • Higher budget assigned to a process can affect interactivity and increased latency.

Set on boot

This option sets your CPU values on boot. It's good to let your phone run on your settings for a while before doing that.

Memory management and miscellaneous

zRAM

zRam is a virtual memory, also known as swap space, which lives in the ram. Virtual memory is the part where the system stores memory fragments which are not accessed, making more room for apps to store information in the ram. From my experience makes phone faster.

Advantages:
  • More memory for you.

Disadvantages:
  • It uses CPU to compress/decompress so battery dies faster/might cause some lags.

Allow purging of assets

Purging of bitmap memory assets. Think of it as allowing stale items in RAM to be tossed out when you need more RAM.

Kernel samepege merging

Let's say that we have processes called "A" and "B". "A" needs "Y" data to be loaded in memory to run and "B" needs "Z" data. Assuming that "Y" and "Z" are identical kernel samepege merging merges those identical processes into "X" thus increasing available RAM.

16bit transparency & Surface iprovement

Some users claim better performence/smaller battery usage after enabling 16bit and disabling Surface improvement
Last edited by VnnAmed; 26th March 2014 at 03:30 PM. Reason: we have cm11
The Following 9 Users Say Thank You to VnnAmed For This Useful Post: [ View ]
24th June 2013, 03:20 PM   |  #2  
VnnAmed's Avatar
OP Senior Member
Thanks Meter: 503
 
584 posts
Join Date:Joined: Sep 2011
More
Sign Barebones

Some of the apps that come with your phone can be safely removed without causing stability issues. They take up space and use resources that could be used for other things. Removing unwanted apps will theoretically make your phone run faster and smoother, plus, you can configure your phone just the way you want it.

WE WANT YOU

to help developing Barebones


How do I do that?

1. Click on the link.
2. Login to cyanogenmod wiki.
3. Click edit
4. You will see a list of templates. Click (edit) next to Template:Barebones cm10.1


How do I add an app?

You will see something like this:
Quote:

! <apk name>
! <package name>
! Remove
! Description
! Version
|-
|Android keyboard
|com.android.inputmethod.latin
|{{yes}}
|Stock android keyboard. Safe to remove if replaced with something else for eg. Swype,Swift
|4.2.2
|-



These are columns:
Quote:

! <apk name>
! <package name>
! Remove
! Description
! Version

This is how you start and end your row:
Quote:

|-

Behind this you have to write your column content
Quote:

|

Warning! You always have to make all columns even if you want to leave them empty.
Last edited by VnnAmed; 24th June 2013 at 03:25 PM.
The Following 4 Users Say Thank You to VnnAmed For This Useful Post: [ View ]
24th June 2013, 03:21 PM   |  #3  
VnnAmed's Avatar
OP Senior Member
Thanks Meter: 503
 
584 posts
Join Date:Joined: Sep 2011
More
Prompt Modding
Modding


So, Google IT guys are the best, they know everything better and magic rainbow is flowing out of their arses... Yet still some people find ways to improve Android:


V6 Supercharger:




Turbo Boost:



RTMixManager™
Looking for a real functioning game booster? Get one here!


CrossBreeder
Lag Reduce/Entropy/DNS+/Tether+/Adblock/Censor Bypass


Direct Injection Turbo
Last edited by VnnAmed; 24th June 2013 at 07:34 PM. Reason: Update
The Following 4 Users Say Thank You to VnnAmed For This Useful Post: [ View ]
24th June 2013, 03:22 PM   |  #4  
VnnAmed's Avatar
OP Senior Member
Thanks Meter: 503
 
584 posts
Join Date:Joined: Sep 2011
More
Service The end
What do you want from us?


1. Post your settings/OC/ideas on how to make Phone run Faster.

2. Help updating Barebones.

3. Post Mods you're using

Credits: droidphile, mj.vikram, http://androidforums.com/, http://rootzwiki.com/, http://wiki.cyanogenmod.org/, and others...
The Following 4 Users Say Thank You to VnnAmed For This Useful Post: [ View ]
24th June 2013, 06:09 PM   |  #5  
hisname's Avatar
Senior Member
Flag Singapore
Thanks Meter: 518
 
2,488 posts
Join Date:Joined: Jul 2012
More
not bad.... here are some suggestions for post 3

http://forum.xda-developers.com/show....php?t=2076101
http://forum.xda-developers.com/show....php?t=2113150
http://forum.xda-developers.com/show....php?t=2158329

Sent from my GT-I9505 using Tapatalk 2
Last edited by hisname; 24th June 2013 at 06:14 PM.
The Following 2 Users Say Thank You to hisname For This Useful Post: [ View ]
24th June 2013, 07:34 PM   |  #6  
VnnAmed's Avatar
OP Senior Member
Thanks Meter: 503
 
584 posts
Join Date:Joined: Sep 2011
More
Quote:
Originally Posted by hisname

not bad.... here are some suggestions for post 3

http://forum.xda-developers.com/show....php?t=2076101
http://forum.xda-developers.com/show....php?t=2113150
http://forum.xda-developers.com/show....php?t=2158329

Sent from my GT-I9505 using Tapatalk 2

Thanks! Updated.
26th March 2014, 03:33 PM   |  #7  
VnnAmed's Avatar
OP Senior Member
Thanks Meter: 503
 
584 posts
Join Date:Joined: Sep 2011
More
Hi there is like this new setting in cm11, force high end setting. Anyone care to share their thoughts about that?

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Android General by ThreadRank