[Moto G 2015 General] Acidfire.TM:
Setting up Custom Kernels

​

*this information is helpful for anyone, everything written here, I have thoroughly tested, this guide is not laid out beautifully,I will rewrite it on my desktop pc soon.

There seems to be allot of confusion about how to set up

"Custom" Kernels for the Moto G 2015 (Osprey) for testing

This is mostly due to the following reasons :

Guides/info are Outdated

info usually Vague/Confusing for Novice

Guides are often for different hardware/software

Information is wrong or unfounded or based on speculation/theory

tunables for "performance" often do the opposite

But the biggest issue that Novices have seems to be

A lack of understanding that almost every tunable has

An equal opposite reaction (side effects)

Therefore balancing each tunable with each other is essential*

Getting Ready to bench

1 ) My First step is, head over to the Android Modders Guide (look in KA to see which Gov's & Scheduler's) and get familiar with the Govs & Sched's featured in the kernel your using

2 ) now that you're familiar with that open up KA and go to

To the hotplugging section,

disable any hotplugging

For the reason that you want to be able to accurately test the performance/characteristics of The CPU and Governor in use (in order to properly tune the system.)

(If you want, turn it back on when your *COMPLETELY DONE TUNING*)

3 ) make sure that while testing your phone CPU freq and Gov

That you're IO ReadAhead cache is set to 128, that way it doesn't interfere or confuse you while trying to set the CPU.

4 ) Go to the misc tab, do you see "Dynamic Fsync" ?

If so turn that off, This will switch it back to Standard Fsync

So in the rare case of a system crash your less likely to damage your data.

5 )*(optional) in the IO tab, Disable add random, and then go to entropy tab and set to 64-192 or 128-256 depending on preference.

Now onto the benching itself

1 ) alright, open the CPU tab and check the Max CPU Frequency, if there is OC available make sure you Never Start your testing/tuning using the Highest OC Frequency

(We don't have a baseline yet and most chips will not be able to perform properly or stable at these higher OC freq's eg. Above 1.593 GHz) start testing with your Max CPU set to

1.363 GHz and work your way up testing each one for performance and stability(Geekbench 3 is a good start).

2 ) Do the same thing for Selecting a Governor for benching . (Your phone might get warm while benchmarking, if you feel Like your phone is getting too hot, this could effect performance turn the phone off for a while until it cools down. Also make sure you restart occasionally in between tests to refresh everything.)

3) in GPU Tab, this is going to be just like setting up the CPU with one exception, you'll want to stick with one of

these two GPU govs (simple_ondemand) & (Msm-adreno)

the other ones are experimental.

and another thing, if your overclocking gpu to max550-650

i recommend setting the min freq to 200 for 550 and 310 for 650mhz, to avoid heat due to ramping up and down.

4 ) alright now into the IO tab, this is where you pick the scheduler that you're going to test with, I suggest fiops or tripndroid. *.

5 ) start benchmarking, I suggest you do multiple tests of whatever your using to benchmark.

6 ) Have fun!

*understand that benching will eat battery, therefore make sure when you get settings you like, you do separate battery test on a full charge.

*once you get the tunables that you're comfortable with.

You can enable hotplugging if you want.

I will post my recommended tunables for the 1GB Osprey

Below...

__________________________________________________________

*if you're going to be doing GPU heavy tasks i recommend

disabling Adreno idler.

recommended tunable for Adreno Idler

(battery savings and cool GPU)

24

17

6