(Guide) Advanced Interective Governer Tweaks For Insane Battery life - Xiaomi Redmi 2 Guides, News, & Discussion

Requirements :- Kernel adiutor
This is for testing only think twice before choosing this tweak.
First turn off MP Decision
Make changes in CPU governer tunables:-
Above highspeed delay- 20000 800000:60000 109400:150000
Align windows - 0
Boost-0
Boost pulse duration - 80000
Go high speed load - 99
High speed frq. - 533000
Is is busy - 0
Min sample time - 40000
Target loads - 98 400000:40 800000:80 109400:95
Timer rate - 30000
Timer slack - 80000
Set max freq - 1209
Min freq - 200
GPU MAX 310

This is fantastic.

Can you explain?

Is this tweak work for stock miui v7??

Strokesws said:
Can you explain?
Click to expand...
Click to collapse
Visit the link in post 1 it will explain the tweak

balu1191 said:
Is this tweak work for stock miui v7??
Click to expand...
Click to collapse
I Didn't try it on MIUI. But surely it works on any android phone having interactive governer

Nirbhay2 said:
I Didn't try it on MIUI. But surely it works on any android phone having interactive governer
Click to expand...
Click to collapse
okay i just changed the values as per your instructions but i couldn't find some options because of stock kernel may be.

balu1191 said:
okay i just changed the values as per your instructions but i couldn't find some options because of stock kernel may be.
Click to expand...
Click to collapse
Ok. I done a test with MIUI and this tweak is working well in MIUI 7. What setting u didn't find..?

this should work on all devices supporting Interactive Governor

AP_on_xda said:
this should work on all devices supporting Interactive Governor
Click to expand...
Click to collapse
Yes

Nirbhay2 said:
This Guide Is based on :- http://forum.xda-developers.com/showthread.php?t=2769899
Requirements :- Android phone
Kernel adiutor
Brain :laugh:
This is for testing only think twice before choosing this tweak.
First turn off MP Decision
Click to expand...
Click to collapse
where is this MP Decision?

gamernayeem said:
where is this MP Decision?
Click to expand...
Click to collapse
In Hotplug section in kernel adiutor

castrilles said:
This is fantastic.
Click to expand...
Click to collapse
click on "tela" and post screenshot please.

Nirbhay2 said:
In Hotplug section in kernel adiutor
Click to expand...
Click to collapse
thanks

@Nirbhay2 can't set above_highspeed_delay to the mentioned.
Edit :
Values set. But you probably missed out one 0's each in frequency in target loads and high-speed delay

This actually makes my battery drain crazy, much, much more than ondemand governor. Don't know why

iamsubhranil said:
@Nirbhay2 can't set above_highspeed_delay to the mentioned.
Edit :
Values set. But you probably missed out one 0's each in frequency in target loads and high-speed delay
Click to expand...
Click to collapse
Did U turn off MP Decision

igorinolw said:
This actually makes my battery drain crazy, much, much more than ondemand governor. Don't know why
Click to expand...
Click to collapse
Post The screenshot of the settings u made in kernel adiutor and battery usage

Nirbhay2 said:
Post The screenshot of the settings u made in kernel adiutor and battery usage
Click to expand...
Click to collapse
I'll use the phone and later will post some screenshots

Nirbhay2 said:
Did U turn off MP Decision
Click to expand...
Click to collapse
Yuo

Related

[EzyICS by Mengpo v1.1][Kernel][P6810] For Stock XXLPL and optimizations

Disclaimer :
I am not responsible if you brick, break, blow up, drop, lose, or get your device pregnant. Everything you do is your responsibility.
This kernel is only made for the GT-P6810 WiFi only Tablet, It is not compatible with Locerra CM9 nor CM10, and it may not work on everyone's device. I'm not a real developer and I don't know how to fix your device if you break it!
This kernel is forked (a direct copy to be more specific) from the EzyICS Kernel v1 and I thank again Ezynow for his hard work. I took his changes from his topic and adapt this kernel to the P6810. Actually, I took the .config and compare line by line which was for the P6800 and which was for the P6810. So, I disabled all the gsm/modem devices.
This kernel is not perfect and needs be to improved so don't be harsh if there's some kind of problem. I've tested it again tonight and I did not brick or whatsoever other problem... I'll list on the features which one are working and tested and others which don't.
There's only one file to download and flash it with the locerra's cwm. So, you have to install locerra's cmw first ! See below
Bugs​
None known yet
Features​
Removed MMC_CAP_ERASE (BrickBug) (tested ok) like Dedrak's one I did this :
Code:
//mmc->caps |= MMC_CAP_SDIO_IRQ | MMC_CAP_ERASE;
mmc->caps |= MMC_CAP_SDIO_IRQ; // Brick Bug Fix
Built from GT-P6810_ICS_Opensource_Update1.zip;
Support for bootanimation. Place the bootanimation.zip in /system/media folder.
Various compiler optimizations (neon, cflags :-O2 -fomit-frame-pointer etc.) (Debug stuff remains for now but will be taken after some more mods are added);
Mali state tracking disabled;
/etc/init.d/S* script support (Add here your tweaks / ramscripts from custom roms etc.) (tested ok)
Added Governor :
Pegasusq (by default) - (recommend as it deals better with multi-cpu devices like our tabs but may require some tweaking)(tested ok)
interactive;
lulzactive;
lulzactiveq;
smartassV2;
hotplug.
I don't know if these governors will suit to our tab and they need to be tested.
Overclocking Support up to : 1600 mhz. It test further but the tab was not stable enough and as Ezynow said : ICS changes how frequency control is implemented so not as easily overclockable as honeycomb was. Fixed CPU Boot Up frequencies to default values / not overclocked settings (tested ok)
Undervolting Support:
Same frequencies as Eznow used : 200 / 500 / 16000 hz (As these are the most used)
So far running pretty stable on:
Code:
1600 mhz -------------------> 1300mv
1400 mhz -------------------> 1250mv
1200 mhz -------------------> 1175mv
1000 mhz -------------------> 1075mv
800 mhz ---------------------> 1000mv
500 mhz ---------------------> 875mv
200 mhz ---------------------> 875mv
ALL DEVICES will have different values but these values gave by Ezynow worked for me. Use SetCpu to change voltages or cpu overclocks. (tested ok)
Slightly undervolted GPU voltages and thus reduced by 50mv for default GPU levels. (tested ok)
in built CIFS support. Changed Max_BUFFER Size to max 130084 (Thanks to Pinkowl for first supporting this).
In cifs options put: rsize=130048. (tested ok)
NFS share mounting. (not tested)
UDF & ISO support - i.e native bluray disk support. (not tested)
Here is information on it This is configurable using a tool known as NSTools on the PlayStore. When using this 100% means the bus frequency is at 100% try not to get confused. So 100% of 100MHz would be 100MHz so if you increase it to 120% so it would be 120% of 100MHz would be 120MHz and this value applies to all CPU frequencies, GPU ect.
Compatibility list​It seems to work on all stock ICS releases or derived custom ROMs.
CM9 - Not working;
CM10 - Not working;
XXLPL - Tested: (tested ok)
Install​Go into CWM.
Make a nandroid backup.
Install zip from sdcard.
Problems​Go into CWM-> Advanced restore -> restore boot.
Changelog:​v1.1
Default cpu scaling governor set to pegasusq (siyahkernel version).
Enabled bootanimation;
pegasusq cpu scalling governor added (siyahkernel version : more stable);
interactive cpu scalling governor added;
lulzactive cpu scalling governor added;
lulzactiveq cpu scalling governor added;
smartassV2 cpu scalling governor added;
hotplug cpu scalling governor added.
v1
First release (see features)
Downloads​P6810 wifi only
Stock Kernel XXLPM : Download
v1: Download (2012-08-23)
v1.1: Download (2012-09-24)
Special Thanks​
Ezynow (of course)
Chainfire for his work
Locerra to be the first on the 7.7
UpInTheAir (who was very supportive)
Dedrak to be the first user of my tutorial
gokhanmoral for his governor's tweaks
And others on this forum
If you want to add features or just want to ask questions feel free to do it
Oh nooo I on P6800..
If I on P6810...will whack this on my Tab
Nice...keep it up mengpo, any chance for P6800?
I have a suggestion for the Pegasusq governor. You could perhaps tweak it according to siyah kernel like on the sgs2?
Astrix Ashburn said:
Oh nooo I on P6800..
If I on P6810...will whack this on my Tab
Nice...keep it up mengpo, any chance for P6800?
Click to expand...
Click to collapse
The P6800 is available for a while now see this thread and have a good flash : http://forum.xda-developers.com/showthread.php?t=1807193
lambstone said:
I have a suggestion for the Pegasusq governor. You could perhaps tweak it according to siyah kernel like on the sgs2?
Click to expand...
Click to collapse
Ok I'll seek into this Have you got any link where I can read some stuff ?
Thanks
mengpo said:
The P6800 is available for a while now see this thread and have a good flash : http://forum.xda-developers.com/showthread.php?t=1807193
Click to expand...
Click to collapse
Yup..I been using it since it release till now
Thinking you can put up more tweak..etc? I will flash it
mengpo said:
Ok I'll seek into this Have you got any link where I can read some stuff ?
Thanks
Click to expand...
Click to collapse
I really can't remember if there was any link describing the pegasusq governor when it was first introduced but however, the link below is for the sources. not really sure if it will be of any use to you though. perhaps some features could be implemented over?
https://github.com/gokhanmoral/siyahkernel3
there are also some information about the ICS kernel for sgs2
http://forum.xda-developers.com/showthread.php?t=1572937
lambstone said:
I really can't remember if there was any link describing the pegasusq governor when it was first introduced but however, the link below is for the sources. not really sure if it will be of any use to you though. perhaps some features could be implemented over?
https://github.com/gokhanmoral/siyahkernel3
there are also some information about the ICS kernel for sgs2
http://forum.xda-developers.com/showthread.php?t=1572937
Click to expand...
Click to collapse
Thanks for the links I'll try to tweak a bit more this kernel to do the same the SGS2
Hi Mate,
Great to see the development you've made! Excellent work :good:
Still away right now and hopefully missus will have sorted out a place to stay (and ADSL) by the time I return.
Need to (want) to get started on a new ROM build for P6810 (P6810XXLPM), but that won't happen for 2 weeks.
Would love to take your kernel for a run then
Keep it up
I have many self-reboots with this kernel... What can I do?
diamond_lover said:
I have many self-reboots with this kernel... What can I do?
Click to expand...
Click to collapse
Simple. Don't use it. This is just the first version created by Mengpo and is bound to have issues here and there. I'll wait for him to post an update (whenever that happens) before evaluating and trying it.
diamond_lover said:
I have many self-reboots with this kernel... What can I do?
Click to expand...
Click to collapse
Are there just random or when you use a specific app ?
lambstone said:
Simple. Don't use it. This is just the first version created by Mengpo and is bound to have issues here and there. I'll wait for him to post an update (whenever that happens) before evaluating and trying it.
Click to expand...
Click to collapse
I got some issue with my internet connexion and got some problem with my computer too... The update could take a while... Well I'll see with dedraks if I could use some help
wrong post.
mengpo said:
Are there just random or when you use a specific app ?
I got some issue with my internet connexion and got some problem with my computer too... The update could take a while... Well I'll see with dedraks if I could use some help
Click to expand...
Click to collapse
Just installed stock -> CWM -> kernel, then I boot up, then I have random reboots (and the speakers make a little sound like click click click..)
diamond_lover said:
Just installed stock -> CWM -> kernel, then I boot up, then I have random reboots (and the speakers make a little sound like click click click..)
Click to expand...
Click to collapse
Did you undervolt or overclock the tab with that kernel ? (using setcpu or else)
mengpo said:
Did you undervolt or overclock the tab with that kernel ? (using setcpu or else)
Click to expand...
Click to collapse
nope, just fresh installed... that's weird..
diamond_lover said:
nope, just fresh installed... that's weird..
Click to expand...
Click to collapse
Hummm yup that's weird... I'm looking into it
diamond_lover said:
nope, just fresh installed... that's weird..
Click to expand...
Click to collapse
I did an update and changed the scalling governor (pegasusq with pagasusq (siyah version). I think the problem went from there and thus you won't have this random reboot issue.
good luck !
The v1.1 download link seems bad; says file is deleted.
Also anyone use this on Skyfire Rom, which seems based on the same stock firmware?
mengpo said:
I did an update and changed the scalling governor (pegasusq with pagasusq (siyah version). I think the problem went from there and thus you won't have this random reboot issue.
good luck !
Click to expand...
Click to collapse
Nice, I'll try, but I can't download, could you check the link?
Thanks in advance.
diamond_lover said:
Nice, I'll try, but I can't download, could you check the link?
Thanks in advance.
Click to expand...
Click to collapse
I don't know what happened... I've updated the link

[TWEAKS] Save your battery without any app!

Hi guys!
I've been trying different kernel and roms at this time, I've been surprised with several of them greatly, but I've always liked my way of setting the cpu frequencies, governor, further reduce the brightness ... etc all WITHOUT USING ANY EXTERNAL APP that consume my internal memory and are constantly running in the background.
Well if you are one of those who leave permanently on your cpu frequency and like to save as much of your battery it will be very useful.
When I tested the Battery Extender 1.5.1 kernel I noticed that every time I restarted my device, the maximum clock frequency was changed to 902 Mhz and I needed tools to control this frequency (as no-frills or set-cpu)... Right, this is the end with the following tweaks, so forget No-Frills and Set-cpu!:
These changes will be adjusted every time you boot the system
Viper The Ripper Tweaks to save battery
What I have changed?
Power off menu and back buttons
Reduced the brightness to maximum
Changed the frequency when the device starts to 245-787 Mhz
Changed the Governor when the device starts to Conservative (I prefer this Governor to save battery)
Working on: CF-Root, BatteryExtender, SpaceKernel, nims11 kernel
Extreme Version
Power off menu and back buttons
Reduced the brightness to maximum
Changed the frequency when the device starts to 245-614 Mhz
Changed the Governor when the device starts to Conservative (I prefer this Governor to save battery)
Working on: BatteryExtender 1.5.1 and up, it should works in SpaceKernel too
CM Versions
Power off menu and back buttons
How to install it?
1. Put the attached file into your sdcard
2. Reboot into recovery
3. Install from sdcard
4. Flash it
5. Reboot
6. Enjoy
Hellyeah!
Credits
Me for having an insatiable curiosity and to hate useless apps
ImbaWind fot helping me
ketut.kumajaya for cf-root adaptation on GB
wooaaa..nice info..
just share,
if i'm on stock..i use battery extender 1.2..with defaut seting of brighness n i set cpu min 245 max 800 smartassv2 n noop
with normal using,whatsapp,facebook n etc bout 1-3hr full online totally,i had 27 - 30hr until my battery 0..n thats enough for me..
sorry for my bad english
DavySML125 said:
wooaaa..nice info..
just share,
if i'm on stock..i use battery extender 1.2..with defaut seting of brighness n i set cpu min 245 max 800 smartassv2 n noop
with normal using,whatsapp,facebook n etc bout 1-3hr full online totally,i had 27 - 30hr until my battery 0..n thats enough for me..
sorry for my bad english
Click to expand...
Click to collapse
Updating in 5 mins
Edit: Updated! Try and test it , It works fine for me (using Stocklite 7.1 + BE 1.5.1 OC)
Edit2: Added Ondemand and SmartassV2 governors
locE
Hi TS,
Tried and tested, not working cm7.2 or I just did something wrong hahaa
loki00001 said:
Hi TS,
Tried and tested, not working cm7.2 or I just did something wrong hahaa
Click to expand...
Click to collapse
I tried in stock rom not in cm 7.2, at the moment only for STOCK ROMS!, sorry my fault
DavySML125 said:
wooaaa..nice info..
just share,
if i'm on stock..i use battery extender 1.2..with defaut seting of brighness n i set cpu min 245 max 800 smartassv2 n noop
with normal using,whatsapp,facebook n etc bout 1-3hr full online totally,i had 27 - 30hr until my battery 0..n thats enough for me..
sorry for my bad english
Click to expand...
Click to collapse
did you use setCpu for cpu settings?
benna said:
did you use setCpu for cpu settings?
Click to expand...
Click to collapse
I'm sure, in my opinion using no-frills or similar apps (sertCpu), you increase the RAM usage with background processes, so your battery will drain faster, anyway you don't need any app to set your cpu frequencies
Updated!
Extreme Versions are here!
Working on: BE 1.5.1 and up, it should works in SpaceKernel too
Updated!
POWER OFF BUTONS in CM7/9/10.x.... it's PERMANENT!
Tested in CM7.2 (The Ultimatum Rom and Revolution X) it should work in CM9/10.x too
Hey do you know if you can power off menu and back button in Mardon ROM?
http://forum.xda-developers.com/showthread.php?t=2212438
Thanks!
topnotchh said:
Hey do you know if you can power off menu and back button in Mardon ROM?
http://forum.xda-developers.com/showthread.php?t=2212438
Thanks!
Click to expand...
Click to collapse
Yes, but now it's a bit late. Tomorrow I'll try to provide you a flashable tweak
topnotchh said:
Hey do you know if you can power off menu and back button in Mardon ROM?
http://forum.xda-developers.com/showthread.php?t=2212438
Thanks!
Click to expand...
Click to collapse
Yes, but now it's a bit late. Tomorrow I'll try to provide you a flashable tweak
But currently you can use the Terminal Emulator to get it just type this lines:
Code:
su
echo 0 > /sys/class/leds/button-backlight/brightness
chmod 444 /sys/class/leds/button-backlight/brightne
When you reboot your device the button will power on again so type it after rebooting your phone, but I'll provide you a permanent solution asap
topnotchh said:
Hey do you know if you can power off menu and back button in Mardon ROM?
http://forum.xda-developers.com/showthread.php?t=2212438
Thanks!
Click to expand...
Click to collapse
Here it is
Test it and report, but it should work fine, then I'll add it at the first post
I did flash it but it didn't work, still having power and menu leds on.
topnotchh said:
I did flash it but it didn't work, still having power and menu leds on.
Click to expand...
Click to collapse
That's strange...ummm
Viper The Ripper said:
That's strange...ummm
Click to expand...
Click to collapse
I did Install ZIP from SDCard, it says tweaks added no error or anything, I rebooted but no changes were applied.
I retried it again and seems like it worked.
topnotchh said:
I retried it again and seems like it worked.
Click to expand...
Click to collapse
I Glad it will work ..It should work but, even I asked to Mardon, the SuperSu can block su request during boot, so it could be the problem, use cmsuperuser variant if you face any problem
Mardon's answer:
Which variant? Supersu or cm superuser?
SuperSu now can block su requests during boot init if wrong configured in supersu.
Click to expand...
Click to collapse
But I see the problem is solved, thank you so much for reporting it
No problem, I installed Universal Init.d from the PlayStore. Then closed phone and retried the zip and it worked. I don't know if its has anything to do with that but its working you can add it to the first page! =)
topnotchh said:
No problem, I installed Universal Init.d from the PlayStore. Then closed phone and retried the zip and it worked. I don't know if its has anything to do with that but its working you can add it to the first page! =)
Click to expand...
Click to collapse
Thank you again
Added!

[KERNEL][UNOFFICIAL]Custom Kernel v1

First custom kernel for grand prime.
Features:
Disabled "Samsung features"
Fixed and optimized compression XZ
XZ compression is used for the ramdisk (should increase the speed of processing)
Added function sweep2sleep
Two new CPU frequency (1152MHz and 1209MHz, is not working, the problem is known, in the near future will be fixed)
It uses the new driver Wi-Fi (glitches should disappear with Wi-Fi)
Flash via recovery(TWRP, CWM)
Download: http://rghost.ru/6yTcxsjTw
knox warranty void 0x0
use at your own risk!
Sources: https://github.com/WinKarbik/KK_Kernel_fortunave3g
I have some problems with the stock kernel I be glad if you can solve it on your custom kernel.
1st. why is the idle frequency @ 800mhz? should that be the lowest available frequency which is 200mhz? or is 800mhz the optimal frequency for battery life and performance?
2nd. About processor. Freshly reboot only one core is online the other 3 offline but after some heavy usage 3 cores are online and only one core is offline sometimes all cores will be online. Rebooting is the only fix so that the other 3 cores will go offline. is this problem related to mpdecision or is it a kernel bug? why are the cores staying online? it causes battery drain. Samsung should fix this.
3rd. Can you include other cpu hotplugging please?
4th. Overclock and custom voltage?
thank you and I appreciate your work.
vancer32 said:
I have some problems with the stock kernel I be glad if you can solve it on your custom kernel.
1st. why is the idle frequency @ 800mhz? should that be the lowest available frequency which is 200mhz? or is 800mhz the optimal frequency for battery life and performance?
2nd. About processor. Freshly reboot only one core is online the other 3 offline but after some heavy usage 3 cores are online and only one core is offline sometimes all cores will be online. Rebooting is the only fix so that the other 3 cores will go offline. is this problem related to mpdecision or is it a kernel bug? why are the cores staying online? it causes battery drain. Samsung should fix this.
3rd. Can you include other cpu hotplugging please?
4th. Overclock and custom voltage?
thank you and I appreciate your work.
Click to expand...
Click to collapse
Thank you for your feedback.
1. I dnt know
2. I'll try fix it.
3. I'll try.
4. Maybe in the future
WinKarbik said:
Thank you for your feedback.
1. I dnt know
2. I'll try fix it.
3. I'll try.
4. Maybe in the future
Click to expand...
Click to collapse
you should check grand prime's kernel. I'm using cpu-z to check frequencies. I'm ok with 800mhz idle frequency as long as it doesn't make all cores online all the time which causes battery drain. I think it is a bug on mpdecision. if you can implement other custom hotplug like intelliplug i'd gladly appreciate. I tried different stock firmware but the same problem. Maybe it will be fixed when the lollipop update comes.
WinKarbik said:
Thank you for your feedback.
1. I dnt know
2. I'll try fix it.
3. I'll try.
4. Maybe in the future
Click to expand...
Click to collapse
Hey there , Nice Job comrade.
Some demands :
1. insert Ondemand smartass v2 CPU governors with multi core support ( set minimum freq to 400 not 200) according to my experience
2. init.i support
3. insecure the boot.img
4. leave GPU setting s to stock ,it does work well
5. under-voltage feature
6. vibrate in call answering and hanging up
min freq 400000
max freq 998400 or 1190400
above_highspeed_delay - 20000 400000:60000 998400:150000
boost - 0
boostpulse_duration - 80000
go_highspeed_load - 99
hispeed_freq - 400000
io_is_busy - 0
min_sample_time - 40000
target_loads - 98 400000:85 533333:92 998400:98
timer_rate - 30000
timer_slack - 80000
it s the best interactive governor
please set it
WARNING!!!
Hi there,
Please don't release it yet in the new thread on XDA because this is in the development process there are lots of bug right now, would be better to post it in here to avoid bricked phone on newbie
Also you aren't provide the original kernel source & credit!!
K_TECH said:
Hi there,
Please don't release it yet in the new thread on XDA because this is in the development process there are lots of bug right now, would be better to post it in here to avoid bricked phone on newbie
Also you aren't provide the original kernel source & credit!!
Click to expand...
Click to collapse
Why do I have to put in your thread? I compiled this kernel from scratch, sources and credits will be later.
WinKarbik said:
Why do I have to put in your thread? I compiled this kernel from scratch, sources and credits will be later.
Click to expand...
Click to collapse
Ok then, sorry about that. But please provide the kernel source & credits....
Pls provide source
added sources
plz add more settings.
tnk you for best kernel.
Sent from my SM-N9005 using Tapatalk
WinKarbik said:
Sources: https://github.com/WinKarbik/KK_Kernel_fortunave3g
Click to expand...
Click to collapse
Same as here https://github.com/alexax66/KitKat_kernel_fortunave3g/commits/master
but, never mind. Good jobs, keep it up
K_TECH said:
Same as here https://github.com/alexax66/KitKat_kernel_fortunave3g/commits/master
but, never mind. Good jobs, keep it up
Click to expand...
Click to collapse
Yes, I was based on them, but removed some commits.
working fine in SM-G530M but the kernel disable de NFC
WinKarbik said:
First custom kernel for grand prime.
Features:
Disabled "Samsung features"
Fixed and optimized compression XZ
XZ compression is used for the ramdisk (should increase the speed of processing)
Added function sweep2sleep
Two new CPU frequency (1152MHz and 1209MHz, is not working, the problem is known, in the near future will be fixed)
It uses the new driver Wi-Fi (glitches should disappear with Wi-Fi)
Flash via recovery(TWRP, CWM)
Download: http://rghost.ru/6yTcxsjTw
knox warranty void 0x0
use at your own risk!
Sources: https://github.com/WinKarbik/KK_Kernel_fortunave3g
Click to expand...
Click to collapse
Working great, but you need to add the option to activate and deactivate the sweep2sleep option, because interfere with my lock screen, especially with lock screen gesture(using hi locker)give that option to activate it with a kernel manager like Trickster or any other,everything else seems ok at the moment, using it for 2 day.
Thank you bro..please add
1.init.d support
2.sweep2wake
3.knock knock to lock and unlock
Sent from my SM-G530H using XDA Free mobile app
added init.d support to same kernel
i haven't modified source but unpacked and repacked the image to edit init.rc
Sent from my SM-G530H using XDA Free mobile app[/QUOTE]
Thanks for your affords
Would u mind telling me when U gonna release the second version ?
The new version will be available in the coming days
WinKarbik said:
The new version will be available in the coming days
Click to expand...
Click to collapse
Please try to solve the online CPU cores problem , the kernel force the core 1 and 2 be online after days passing (FYI: rebooting the phone will solve the problem.But we want it to be solved ) and These )
Thanks anyway
BTW : Check this out

[KERNEL] ESAL v2 - Marshmallow

Hey, it's been a while since my last (and failed) release, so let's see if you can help me on this one.
As you might have guessed, I have compiled our latest kernel, and this is my own version!
Right now, people have reported battery life improvements, I'd love to hear what you think!
Changelog
Code:
V2.0
* Enabled some CPU governors.
V2.1
* Updated KSM with uKSM.
* Added Thunderplug hotplugging driver.
* Added PMC and Smartmax CPU governors.
* Added Init.d support. (Make sure the file has the proper permissions)
V2.2
* Updated GPU drivers to be compatible with EMUI 4.1.
* Added Intelliplug hotplugging driver.
* Improved GPU performance.
Downloads
V2.2 (New): https://github.com/XePeleato/ALE-L21_ESAL/releases/tag/v2.2
Instructions
Download the .zip
Flash from recovery
Done!
You can get the source here: https://github.com/XePeleato/ALE-L21_ESAL/tree/v2?files=1 (v2 branch)
Guide
I am going to try to help you to decide what settings you should apply
First of all, I recommend to install Kernel Adiutor.
If you prefer battery life:
Start Kernel Adiutor:
Go to CPU in the drop-down menu and set as governors PMC or Smartmax​Then go to CPU hotplug and don't enable many cores, since more online cores means more power used. You can also set the Endurance level to Quad-core​
If you prefer performance:
Start Kernel Adiutor:
Go to CPU in the drop-down menu and set as governors performance (will set the CPUs to their max frequency)/ondemand/interactive​Then go to CPU hotplug and make sure to lower the load threshold, having a low load threshold will make your phone use more cores (if you experience lag while playing, maybe it's set too low, so use a wise value, do your testing.)​
To conclude, I just mentioned where the settings are and some example values, if you love to play games you won't use the same settings as someone that just likes to read emails and use Google Chrome, find the settings you are comfortable with, and don't forget to set Apply on boot!
Now some screenshots of AnTuTu and 3DMark with Performance governor and Esalv2.1:
http://imgur.com/a/iRDpD
As you can see, even 3DMark detects that my score is higher than the average, try to beat that with stock kernel!
I hope you enjoy it, and please, I'd love to hear your suggestions!
just a quick question if you dont mind : any way to flash it via twrp ? so in case that something goes wrong i can easily restore the old one with a backup .
Firicel69 said:
just a quick question if you dont mind : any way to flash it via twrp ? so in case that something goes wrong i can easily restore the old one with a backup .
Click to expand...
Click to collapse
I'll upload a flashable zip, but it shouldn't be a problem, if you take a backup of your Boot partition and restore it, it will overwrite the kernel.
thanks! i will try it and see how it goes.
Sim gets detected but stucks at the point of unlocking it.
waiting for comments on the kernel
VenityZ said:
Sim gets detected but stucks at the point of unlocking it.
Click to expand...
Click to collapse
I've noticed it too, it finally unlocks in my end, can you please check if it gets unlocked?
XePeleato
Tnx bro)
Great job.
Finally , I have the full root, before either he could not edit the folder systems
XePeleato said:
I've noticed it too, it finally unlocks in my end, can you please check if it gets unlocked?
Click to expand...
Click to collapse
I kept the screen active and it worked after 40s
Basic stuff works , so god for daily usage I guess. Is rep on github up to date of this kernel because I compiled it myself and nothing worked. I either think my toolchain is the problem.
---------- Post added at 03:18 PM ---------- Previous post was at 03:00 PM ----------
Also the governors do work , I don't know if all do but theres a noticeable performance change when chaging it. Over/Undercloking still doesnt work , but its not the kernels problem. The power genie of emui controls it.
VenityZ said:
I kept the screen active and it worked after 40s
Basic stuff works , so god for daily usage I guess. Is rep on github up to date of this kernel because I compiled it myself and nothing worked. I either think my toolchain is the problem.
Click to expand...
Click to collapse
Yes it is, the v2 branch, you'll need to edit build.sh to point it to your toolchain.
XePeleato said:
Yes it is, the v2 branch, you'll need to edit build.sh to point it to your toolchain.
Click to expand...
Click to collapse
Thanks I compiled the "v1" branche....
Wi-Fi, Bluetooth, NFC works.
I will test mobile data, GPS tomorrow.
"Bug": SIM unlock takes a lot more time than stock kernel.
Great work! May I ask what features are you going to add into? OTG maybe?
Anyway: Great! Keep it up!
EDIT:
How can I change governor? I'm looking for extra governos (PMC, Smartmax) in Kernel Auditor but I can't find them
LG*L70 said:
Wi-Fi, Bluetooth, NFC works.
I will test mobile data, GPS tomorrow.
"Bug": SIM unlock takes a lot more time than stock kernel.
Great work! May I ask what features are you going to add into? OTG maybe?
Anyway: Great! Keep it up!
EDIT:
How can I change governor? I'm looking for extra governos (PMC, Smartmax) in Kernel Auditor but I can't find them
Click to expand...
Click to collapse
Hi, can you find ondemand, interactive, powersave...? OTG is enabled, the problem is at the rom.
XePeleato said:
Hi, can you find ondemand, interactive, powersave...? OTG is enabled, the problem is at the rom.
Click to expand...
Click to collapse
Hi,
Yes, I can.
Thank you for the heads up about OTG, I didn't know that
XePeleato said:
I'll upload a flashable zip, but it shouldn't be a problem, if you take a backup of your Boot partition and restore it, it will overwrite the kernel.
Click to expand...
Click to collapse
I'd also appreciate flashable zip please
TheATHEiST said:
I'd also appreciate flashable zip please
Click to expand...
Click to collapse
Done! Check the OP, I added the link there.
XePeleato said:
Done! Check the OP, I added the link there.
Click to expand...
Click to collapse
Thanks :good:
Init.d support would be really nice xP
VenityZ said:
Init.d support would be really nice xP
Click to expand...
Click to collapse
It will be added on the next release!
Working fine for me. The Unlocking the SIM takes about 40 seconds. Governor's work. Thanks man, keep up the good work.

lightning kernel spectrum profiles

Here i will add some spectrum profiles based on various governors which can be flashed after flashing my kernel and i will also open a poll to compare each governor and which is the best
1)profile based on cultivation
2)profile based on bluactive
3)profile based on impulse
4)stock kernel profile for users who want complete smoothness same as stock kernel but smoother
all the profile can be found here
downloads
reserved
Great Initiative !
Sent from my iPhone using Tapatalk Pro
Thanks!
Awesome!
So do we have a general consensus if which profile is the best for battery longevity/screen on time.
Kind regards
@nikhil18 the stock kernel profile is the one that ships with your kernel? (In your thread you say that interactive is tweaked). Is the stock kernel profile for interactive? Ty in advance.
Konskl said:
@nikhil18 the stock kernel profile is the one that ships with your kernel? (In your thread you say that interactive is tweaked). Is the stock kernel profile for interactive? Ty in advance.
Click to expand...
Click to collapse
No the stock kernel profile is same which ships with stock kernel on op5 with no underclcock and if you want it go back to my default kernel profile then you will need to reflash kernel
nikhil18 said:
No the stock kernel profile is same which ships with stock kernel on op5 with no underclcock and if you want it go back to my default kernel profile then you will need to reflash kernel
Click to expand...
Click to collapse
So which one of those do you suggest for smoothest experience while not hurting battery life too much?
@nikhilg18 I've flashed cultivation profile. So next what must I select in spectrum app?
ELoTRIX said:
@nikhilg18 I've flashed cultivation profile. So next what must I select in spectrum app?
Click to expand...
Click to collapse
I don't think so profile will be automatically applied u can check on kernel manager
ELoTRIX said:
@nikhilg18 I've flashed cultivation profile. So next what must I select in spectrum app?
Click to expand...
Click to collapse
The profiles are applied automatically no need to select anything in spectrum
Thank's you !
Just curious if more profiles can potentially be added? Also wondering what the most performance oriented profile would be; I'm assuming blu_active? Thanks in advance!
Thanks for uploading the profile sets. V13 of the kernel had updates to the bluactive. I'm wondering if bluactive profile is compatible with it or does it need to be adjusted for the V13 changes?
keepasa said:
Thanks for uploading the profile sets. V13 of the kernel had updates to the bluactive. I'm wondering if bluactive profile is compatible with it or does it need to be adjusted for the V13 changes?
Click to expand...
Click to collapse
It's compatible
For maximum battery life, which is the best profile?
morfances said:
For maximum battery life, which is the best profile?
Click to expand...
Click to collapse
Try each one of them yourself man.
Beaches everyone has different usage pattern.
I created a blu_active-based profile but set it FOR: battery save , but very fast.
install from twrp
with the app spectrum U must set BALANCE profile.
this profile is battery save , but very fast.
https://drive.google.com/open?id=0Bw0l2qeHF2U2cDlzQ0gzTktzcTQ
gaspolo said:
I created a blu_active-based profile but set it FOR: battery save , but very fast.
install from twrp
with the app spectrum U must set BATTERY SAVE profile.
this profile is battery save , but very fast.
link; https://drive.google.com/open?id=0Bw0l2qeHF2U2OHhNM1dtOEt4cTQ
Click to expand...
Click to collapse
THX,flashing it
Inviato dal mio ONEPLUS A5000 utilizzando Tapatalk
gaspolo said:
I created a blu_active-based profile but set it FOR: battery save , but very fast.
install from twrp
with the app spectrum U must set BALANCE profile.
this profile is battery save , but very fast.
https://drive.google.com/open?id=0Bw0l2qeHF2U2cDlzQ0gzTktzcTQ
Click to expand...
Click to collapse
Lightning-alucard-profileZIP > ON
spectrum USE "BALANCE profile" >IS very fast but with good battery. MAX CPU is limited 1.5ghz
spectrum USE "BATTERY profile" > is battery FRIENLDY, but 0 LAG!! max cpu limited 1GHZ
BASED ON ALUCARD GOVERNOR
( must install the zip file from twrp)

Categories

Resources