[G2 Android Development] GalaticStryder:
You've got a new message.

Sup, everybody. Been a while without posting anything in here, but today has arrived and I can open my latest work with some of you for now. What I'm saying is that I've got tons of development knowledge by the last couple of months and the Hipnose release (the new base has finally shown the potential for the release).

When it's gonna be? Calm down, stable release will take some more stages to see what is gonna be approved to get there and what needs to be vanished.

So, tell me about BETA.

BETA 1 is being released at this time, I'm uploading all the variants right now (my internet speed is still not as good as it was but I'll definitely try).

Beware that this BETA is incomplete, all the UKM code will be reviewed for the new kernel and re-implemented from the ground up.

This means you won't have easy to use interface, that means you are testing something that can cause reboots, errors and so on...

Testing/Changes:

OBS: As this is totally rebooted kernel, the changelog is way bigger but I just wanna mention what matters/needs testing.

- The new thermal driver we're using is new code from Hydra kernel + 3.10 backports and is related directly to MSM limiter code.

- Workqueue has been updated to catch up dorimanx kernel code

- MSM and Bricked hotplugs are there for testing, MSM code is from dorimanx kernel and Bricked is partially neo/dori's code.

- GPU governors and backports from 3.18 kernel are still W.I.P.

- We're tweaking the stuff directly in the core init files (CM init files from CM ramdisk), you might have problems with ROMs that change those files (most don't change 'em).

- OC/UC/OV/UV are present, they were caught from dorimanx kernel and adapted to my kernel code.

- Multi CPU policy changing is still W.I.P. (different governors and freq per core). / Unified CPU policy is also there but needs kernel re-compilation.

- Adreno Idler and GPU OC (It won't let the ROM stick at 450MHz, so it jumps to 650MHz) are also there, providing good battery and performance at the same time.

- USB ports (xhci) code has been cleaned and updated

- Backlight mapping is now darker when needed

- Sweep2Sleep updated and ON by default

- 3.4.112 Linux upgrade

- ZRAM, process reclaim, swap...

Don't be afraid of testing, I'll get your started on the advanced usage of the command line right now.

Download the Terminal Emulator app. Open.

su

MSM Limiter 5.x:

cd sys/kernel/msm_limiter

To use completitions use VOL+ and T.

ls

Will show you all the sysfs attrs for tweaking.

It's disabled by default, enable to make use of it using 'echo'.

echo 1 > freq_control

cat freq_control

to see if sticked.

You'll be running at 2.2GHz from now on. To change it, consider our CPU map:

< 300000 >,
< 422400 >,
< 499200 >,
< 652800 >,
< 729600 >,
< 883200 >,
< 960000 >,
< 1036800 >,
< 1190400 >,
< 1267200 >,
< 1497600 >,
< 1574400 >,
< 1728000 >,
< 1958400 >,
< 2265600 >,
< 2419200 >,
< 2572800 >,
< 2726400 >,
< 2803200 >;

Then, you can do:

echo 2572800 > resume_max_freq

cat resume_max_freq

to see if it sticked.

You'll see 0:2572800 1:2572800 2:2572800 3:2572800 as per core frequency.

To change only one of them to a certain freq.

echo 0:2803200 > resume_max_freq

cat resume_max_freq

to see if it sticked.

As for the governor, you can set a given one per core as well.

cat scaling_governor

to see what you got running.

You'll probably see "0:interactive 1:interactive 2:interactive 3:interactive".

You can change CPU0 to performance to give you an idea if the 2.8GHz will stick.

echo 0:performance > scaling_governor

cat scaling_governor

to see if it has sticked.

Now, to give you the last word on this.

cat live_cur_freq

0:2803200 and other will remain at CPU boost frequency as you touched the screen on this last step. Performance sets the CPU to perform at max clock all of the time.

Most of the other stuff can be changed through other generic kernel management apps like Adiutor.

How do I see if the init (.rc) files were changed.

su

cat init.g2.power.rc

"by GalaticStryder" at the end, so... yeah it did.

How do I see ZRAM enabled/swap?

su

free

swap will return a 52k of output, which is 500MB of swap space using 4 compression streams for more performance on multi tasking.

cat init.g2.rc | grep 'swapon'

will show the code that activates swap on boot.

cat fstab.g2

will show how the partitions are working;

What I'm planning to get going this week:

- Port back UKM and upgrade to contain all possibilities of my kernel.

- Add wave locking toggling for some drivers.

- Simplify and rewrite thermal driver (the way it is right now works fine but it's not wonderful as a simple solution that I'm thinking).

- Remove thermal code from MSM limiter, not a good thing.

- Update alarm code and freezer code.

- Add some more CPU governors.

Get ya build at: https://www.androidfilehost.com/?w=files&flid=53519

LS/VS will be uploaded only tomorrow. Sorry.

I'm sorry if I'm being slow or something but it's all about real life. I hope we can do a great job testing it and making it super stable as time goes on. Out of the box, this release is actually stable and fast as far as I could test in daily tasks but it's all about digging.

Have a great weekend, folks!