[KERNEL][CM7/MIUI/CM9/AOKP] ArindamKernel [with Backlight Fix + Power Efficiency]

arindammanidas

Senior Member
Apr 22, 2011
375
246
0
Singapore
www.arindam.in
Hi folks,

I present to you ArindamKernel-CM9.:D:D:D


* Lots of CPU Governors + IO Schedulers (Default: Conservative + SIO)

* CPU Frequency: 120 Mhz - 1.2 Ghz (Default: 300 Mhz - 1 Ghz)

* Enabled OMAP Power Management features
(sleep_while_idle, off_mode, voltage_off_while_idle etc.)

* Backlight Fix

* Sync Bug Fix by XDA_BAM

This Kernel is for all i9003s on CM9/MIUI v4/AOKP regardless of the backlight issue and will give you better battery savings than stock CM9 kernel.

Flash using recovery. Kernel version in "About Phone" should read #6. Test and provide feedback :):D


FOR CM7/MIUI: ArindamKernel_CM7_v7 (DO NOT USE! BUGGY! NEW VERSION COMING!)

FOR CM9/MIUI v4/AOKP: ArindamKernel-CM9-v6


NOTES:
* Flash it using CWM Recovery (Turn off Signature verification).
* Flash over a clean CM7/MIUI/CM9/AOKP.
* Please remove any backlight killer apps you might have installed.
* Please do not mirror the files. ;)

THANKS:
* Vurrut & Dhiru for their Kernel sources. :)
* The i9003 devs/ex-devs and the community. :)
 
Last edited:

arindammanidas

Senior Member
Apr 22, 2011
375
246
0
Singapore
www.arindam.in
Fix Source

Hi folks,

After a lot of work (and some sleepless nights :p), I'm happy to announce that the infamous backlight issue has finally been nailed.:D

It seems that the backlight issue was being caused due to a small issue in the ramdisk.

In the stock samsung kernels, the debugfs is also mounted on /debug in addition to /d and /sys/kernel/debug.

Adding a few lines to the init.latona.rc solves the backlight issue. Something must have been pointing to /debug to turn off the backlight, but didn't find it.

@All AOSP kernel devs, please add the following to your init.latona.rc in the respective stages:

Code:
[I][B]on early-init[/B][/I]
mkdir /debug
mount debugfs /sys/kernel/debug /sys/kernel/debug

[I][B]on fs[/B][/I]
mount debugfs debugfs /debug
--------------------------------------------------------------------------------------------------

Check a stock GB ramdisk for reference.

Also mounting debugfs on /debug has another advantage. If you look at the init.latona.rc you'll find :

Code:
    # Enabling sleep in idle path
    write /debug/pm_debug/sleep_while_idle 1

    # Enabling Voltage OFF in idle path
    write /debug/pm_debug/voltage_off_while_idle 1

    # Enabling OFF mode
    write /debug/pm_debug/enable_off_mode 1

    # Enabling Smartreflex
    write /debug/pm_debug/smartreflex/sr_mpu/autocomp 1 
    write /debug/pm_debug/smartreflex/sr_core/autocomp 1
The values were not being set earlier. Now there should be better battery life.:D

Long Live the i9003!!!:D:D:D
 
Last edited:

tariq_devil

Senior Member
Nov 2, 2011
266
15
0
Select toggle signature verification.

Cheers:)

Sent from my GT-i9003 powered by Stable and Smooth CleanKpu rom
thanks. sorry if orgot to check in CWM options!! lol.. :D

---------- Post added at 09:11 AM ---------- Previous post was at 08:55 AM ----------

bro u rocked my phone, it worked! no f**king black light now! yeay! thanks a ton bro... :p
 
  • Like
Reactions: arindammanidas

arindammanidas

Senior Member
Apr 22, 2011
375
246
0
Singapore
www.arindam.in
thanks. sorry if orgot to check in CWM options!! lol.. :D

---------- Post added at 09:11 AM ---------- Previous post was at 08:55 AM ----------

bro u rocked my phone, it worked! no f**king black light now! yeay! thanks a ton bro... :p

That's great news :D Please mention on which ROM it worked CM7 or MIUI.




Hmm can you share how you solved the problem? Just curious

Cheers:)

Sent from my GT-i9003 powered by Stable and Smooth CleanKpu rom
Yes I'll definitely share with everyone how to solve this problem :) but first I want to make sure this works ...

Sent from my GT-I9003 using XDA
 
  • Like
Reactions: bscraze

tariq_devil

Senior Member
Nov 2, 2011
266
15
0
That's great news :D Please mention on which ROM it worked CM7 or MIUI.






Yes I'll definitely share with everyone how to solve this problem :) but first I want to make sure this works ...

Sent from my GT-I9003 using XDA
i always wished to use the MIUI but due blacklight i never stayed on it. now it works flawlessly thanks to u.. :)
 

arindammanidas

Senior Member
Apr 22, 2011
375
246
0
Singapore
www.arindam.in
Can add some tweak into it?

Sent from my GT-I9003 using xda premium
It has the same tweaks as vurrut kernel v4 for CM/MIUI...





Hey man... Can u pls fix the issue on cm9 also....

Well Dhiru and other devs will include it in their kernels...




I test it on cm9 soon
And report if it work on cm9

Sent from my GT-I9003 using xda premium

---------- Post added at 05:53 PM ---------- Previous post was at 05:30 PM ----------



@crk
i test it in cm9 alpha 2
it work:D

Please do not use this on CM9...




Why is that necessary..
I done it without toggling anything in cwm...
Maybe signature verification is off by default in your CWM. :)

Sent from my GT-I9003 using XDA