[MOD][Interactive Governor Tunables]PROJECT BEYOND HORIZON - Lenovo Vibe K5 Plus Themes, Apps, and Mods

Project Beyond Horizon​
After stumbling over through most part of Xda Forums, About Improving Battery Backup, I am here with my interactive governor tweaks for our Very Own Device.
Before explaining more I would like to quote few lines by @soniCron who brought the breakthrough results on which this mod is based on
soniCron said:
This isn't a guide to get 36-hour battery life... provided you never use your phone. That's deep sleep optimization, which is lovely and all, but what good is the phone if you can never use it?! I'm talking about 4-6(should try to make it even more) hour screen on, actual hands-on usage times! Without compromising anything, you can get 7-8 hour screen on usage with regular, no-compromise usage habits: daytime visible screen brightness, both radios on, sync on, network location on, all the regular usage features, the whole kit and kaboodle... all smooth as a baby's butt and snappy as a Slim Jim!
Click to expand...
Click to collapse
So Let's Get Straight Into Action
So what is it Based Upon: This Interactive Governor tweak utilizes the Big.Little technology
Now Some Specs: We have Two Variants with different SOCs Snapdragon 415 and 616.
Snapdragon 415 -
4 cores a.k.a clocked at 998mhz- They are very efficient
4 cores a.k.a clocked at 1363mhz big for high and constant loads -Not Efficient
Snapdragon 616
4 cores at 1209MHz
4 cores at 1459MHz
Requirements:
LENOVO VIBE K5/K5 PLUS
A ROOTED DEVICE
ElementalX kernel manager(Preferred) or Kernel Auditor
A Rom Based on @Harry8242 kernel(I am on aex 5.1; You can try others too but make sure it detects big and little cores(need confirmation for other kernels)
So The Core Idea Behind this was To Restrict As Much Idle Drain as possible and Maintain Best Performance. Our Custom Roms Are Now In a state to give the best possible performance but What I desired was to Maintain Same Battery Efficiency. And Yes, I did to maximum extent possible now.
DOWNLOADS
V2- For Both Variants -Click Here
V1-CLICK HERE
How to Apply It:
For EX Kernel Manager Users(The Easy Way)
Download the file
Open the ElementalX kernel manager app
Under CPU section go to governor options
There click on save and save the profile as "default"
Next go to your file manager find ElementalX folder.
Paste the downloaded file in gov_profiles folder.
Open EX manager app again,under governor option click on load and select BEYOND HORIZON
Enjoy
For Kernel Auditor Users:- You need to manually input these values (Don't forget to toggle the apply on boot).
V2(LATEST)-- CLICK HERE
FOR BIG CLUSTER
Code:
go_hispeed_load: 99
above_hispeed_delay: 60000 400000:10000 533333:70000 800000:80000 960000:90000
timer_rate: 60000
hispeed_freq: 200000
timer_slack: 480000
[B]target_loads: [/B] 90 200000:73 345600:78 400000:86 533333:73 800000:90 960000:84 1113600:98 1363200:99
min_sample_time: 0
boost: 0
boostpulse_duration: 0
align_windows: 1
use_migration_notif: 1
use_sched_load: 0
max_freq_hysteresis: 0
For Little Cluster
Code:
go_hispeed_load: 91
above_hispeed_delay: 0
timer_rate: 60000
hispeed_freq: 200000
timer_slack: 480000
[B]target_loads: [/B] 90 200000:73 249600:65 499200:85 800000:90 998400:87
min_sample_time: 0
boost: 0
boostpulse_duration: 0
align_windows: 1
use_migration_notif: 1
use_sched_load: 0
max_freq_hysteresis: 0
For additional tweaks click here
SOURCES( These were the threads from which I took help for creating this mod. Do Check them out and enjoy reading)
https://forum.xda-developers.com/nexus-5x/general/guide-advanced-interactive-governor-t3269557- @soniCron 's thread
https://forum.xda-developers.com/moto-g4-plus/themes/mod-lightning-blade-t3611513 - @Swapney Raul thread resembles a lot to our cpu architecture
https://forum.xda-developers.com/oneplus-3/how-to/advanced-interactive-governor-tweaks-t3476589 - @Asiier(his help was very important)
CREDITS
@Dreamstar
ocean13 from Vibe K5 Telegram Group
@iamnikkei
@[email protected]
@Dhruv_Agarwal
@Harry8242
Me as well

FOR SD616 USERS
FOR V2- Check First Post. The Profile Is Same For Both Varient
FOR V1(Kernel Auditor users)
[*]For EX Kernel Manager Users: Download Link in OP
[*] For Kernel Auditor Users:- You need to manually input these values (Don't forget to toggle the apply on boot).
FOR BIG CLUSTER
Code:
go_hispeed_load: 99
above_hispeed_delay: 60000 400000:10000 533333:70000 800000:80000 960000:85000 1113600:90000 1344000:95000
timer_rate: 60000
hispeed_freq: 200000
timer_slack: 480000
[B]target_loads: [/B] 90 200000:73 345600:78 400000:86 533333:73 800000:90 960000:84 1113600:98 1344000:100
min_sample_time: 0
boost: 0
boostpulse_duration: 0
align_windows: 1
use_migration_notif: 1
use_sched_load: 0
max_freq_hysteresis: 0
For Little Cluster
Code:
go_hispeed_load: 91
above_hispeed_delay: 0 998400:20000 1113600:60000
timer_rate: 60000
hispeed_freq: 200000
timer_slack: 480000
[B]target_loads: [/B] 72 200000:73 249600:65 499200:85 800000:90 998400:95 1113600:100
min_sample_time: 0
boost: 0
boostpulse_duration: 0
align_windows: 1
use_migration_notif: 1
use_sched_load: 0
max_freq_hysteresis: 0
[/LIST]
Enjoy.....

Changelog
v2-(8/4/18)
1. Performance should definitely improve as per the testing.
2.Our Device should run cooler due to more efficient load on each cluster and frequency based on their voltage
3. Battery Should Improve: I got mixed reviews from the testers. So need confirmation.
v1 ~~~initial release

Nice mate you did it finally... Good guide keet it up..:highfive:

Just for you guys to know all of my ROMs are bases on @Harry8242 kernel and you can use these tweak freely in them.

Great. So now I dont need to install custom kernels and face random reboots, cuz the core tweak is in my hands!
This can be added to an init script or device trees too (init.power.rc) for more convenience
Or a flashable zip can also be made.

Adithya R said:
Great. So now I dont need to install custom kernels and face random reboots, cuz the core tweak is in my hands!
This can be added to an init script or device trees too (init.power.rc) for more convenience
Or a flashable zip can also be made.
Click to expand...
Click to collapse
Thanks mate for your suggestion. I am always looking forward to those. Since I am a beginner now, I have kept things simple. If You are using the sd415 variant you should definitely feel difference. If not please wait for the sd616 varient release As I depending on testers solely for this purpose. Even you can edit the file and tweak more to your desire.
And Yes If everything goes well, I wouldn't take much time to release flashable scripts with cooperation from devs...:good::good::good:

Awesome battery backup on a46 sd 616!!
ROM=AOKP
Thanks Nikish

UPDATE:
Thread Updated:
Added Support for Vibe K5 Plus(sd616) Varient(Check Post 2 and OP)
Moved to Sourge Forge . Select the respective folder corresponding to your device
Enjoy:laugh::laugh::laugh::laugh::good:

Amazing work mate. ?
Edit: Squeezed upto 5hrs ?

Great work @Nikish21 . Really it increased the bb of the device. Got good backup even when I was in train journey.
ROM - AEX 5.1 .
Device - A6020a46

First I would Like to thanks to Nikish for the tweak and all the devs who worked on such perfect ROMs for our device :highfive:
So here , I posted some screenshot of my device !
Device - Lenovo vibe k5 A602040
ROM - AEX 4.6
I applied this tweak on AEX 4.6
and seriously my device good SOT as stock ROM..
you can check the attached screenshot...
I Charged my device around 6 hours ago upto 100 % and after that I used it heavily for 3 Hours and 43 minutes with Medium brightness + Vibration enabled + Heavy multi tasking
Device Got 3:43 hours SOT and more than 6 hours battery backup ..
Thanks again

AmithNRG said:
Amazing work mate. ?
Edit: Squeezed upto 5hrs ?
Click to expand...
Click to collapse
Which rom is this not aex 5.1

iamnikkei said:
Which rom is this not aex 5.1
Click to expand...
Click to collapse
Aex 4.6 final

I managed to get this result from a 95% charged battery. It's pretty decent. Thanks devs!!
ROM: Pixel Experience
Variant: a46

Not #working on my 415 indian variant

[email protected] said:
Not #working on my 415 indian variant
Click to expand...
Click to collapse
Mate, I own the sd415(Indian) variant . So I have been using it from good time now. Can you reiterate the process? How did you come to know it's not working?
If you can elaborate the problem, I will definitely help you...

AmithNRG said:
Aex 4.6 final
Click to expand...
Click to collapse
Oh the mod is not required on that tho

Currently I am using AEX v5.1 [oreo8.1.0]
---------- Post added at 04:52 PM ---------- Previous post was at 04:51 PM ----------
[email protected] said:
Currently I am using AEX v5.1 [oreo8.1.0]
Click to expand...
Click to collapse
Please..send me how to set value and which value are that

iamnikkei said:
Oh the mod is not required on that tho
Click to expand...
Click to collapse
These are just values, which can be set on any rom which has Interactive Governor. So In all roms , these values can be set. Whereas necessity is user's perspective.
[email protected] said:
Currently I am using AEX v5.1 [oreo8.1.0]
---------- Post added at 04:52 PM ---------- Previous post was at 04:51 PM ----------
Please..send me how to set value and which value are that
Click to expand...
Click to collapse
I've tried to simplify the process to make it as easier as possible in the OP. Even if it's not clear, let me help you with it. For these, you need either EXKM or Kernel Auditor. How to apply it : it is explained in the first post. So please go through it. Let me know if it is still not cleared. :good::good::good::good:

Related

[kernel][2.6.29](18th Sep) OC/UV kernel with user configurable UV apk -Voodoo support

Thanks to Leshak , AndSecTest, mimocan, Unhelpful, xan, Supercurio and husq510 for the help.
This project started based on information found here:
http://forum.xda-developers.com/showthread.php?t=740514
But is has soon revolved into more fixes, patches and hacks. Thanks to all the developers involved and do buy them beers so they can continue to work on the fixes.
I've tested it to work on my phone but i cannot guarantee it will work on yours or if it will damage your phone so use it at your own risk. See known issues below if the problems have been resolved
Primary Features
- ext2/3/4
- Support I/O Scheduling for CFQ (stock), Noop, Deadline and Anticipatory
- Overclock and Undervolt support
- Overclocking for better performance. If you do not want to OC, use SetCPU to set Max at 1Ghz and enable checkbox Set on boot
- User defined Undervolt to save battery especially at lower frequencies. Use Xan's app for easy GUI control - here
- Also use Xan's app to change IO scheduling
- Rooted ADB shell for Android commander compatibility
Requirement
- i9000
- For Eclair 2.1 Only (Will not work on Froyo firmware)
My setup for cross compile without wakeup lag
- Use ct-ng crosstool
- Copy config file from arm-unknown-linux-gnueabi
Download
See attachment
Stock Kernels for reverting
Stock JM3 v3 kernel
Stock JM2 kernel
Stock XWJM5 kernel
Instructions:
- Extract the tar file from .7z
- Load tar file in PDA using ODIN and flash
- Do not check repartition and do not use pit file
- Use SetCPU to adjust frequencies
Reporting Problems
Please provide information below to help me understand:
kernel version: (eg oc120uv2-ctng)
UVLF setting (if kernel supports): (eg 50)
UVHF setting (if kernel supports): (eg 25)
descriptions:
Known Issues
- ondemand setting is unstable (need more verifications)
TO DO LIST
- BFS scheduling
- kernel modules (submit request)
Changelog
oc120_voodoo_b4.2
- enable CWM support even with voodoo ext4. Caveats: CWM will unmount /data after nandroid backup, you will not be able to remount /data in ext4 until you reboot back to recovery. Also, restore does not work when trying to restore /data.
- fixed check for debug_mode (it used to create logs in /sdcard/Voodoo/logs regardless if you enable*debug in /sdcard/Voodoo/)
oc120_voodoo_b4.1
- BLN patch v4 from neldar (http://forum.xda-developers.com/showthread.php?t=772672)
- All credit goes to author
- Signed update.zip format so rename file to update.zip and copy to /sdcard
- use recovery to flash
oc120_voodoo_b4
- updated to voodoo b4 (http://project-voodoo.org) - please read Documentation/FAQ, if you have previous installed Voodoo Beta1, please uninstall before upgrading
- Excludes color patch for later release
- All lagfix credit included in this build goes to Supercurio, please buy him a beer or two so he can continue on working on the project
oc120_voodoo_b3.1
- fixed init.d not working
oc120_voodoo_b3
- remove performance governor from startup cos i9000 dont need that
- added init.d support
oc120_voodoo_b2
- Use stock GPU ~200mhz table
- Voodoo2 lagfix (http://project-voodoo.org) - please read Documentation/FAQ, if you have previous installed Voodoo Beta1, please uninstall before upgrading
- Excludes color patch for later release
- All lagfix credit included in this build goes to Supercurio, please buy him a beer or two so he can continue on working on the project
oc120uv2
- Unhelpful patch for GPU table (http://github.com/Unhelpful/linux-galaxy/commit/5a729d3e2189159a20b00e0c331f0b112490e075)
- Interactive governor (http://github.com/Unhelpful/linux-galaxy/commit/aea72a98a2f261901d6f28f2d1deae3921d35948)
- user configurable UV settings (default value = 0 for UVLF and UVHF) for conservative governor only
- /sys/devices/system/cpu/cpu0/cpufreq/conservative/UVLF_mV (for 100-800mhz)
- /sys/devices/system/cpu/cpu0/cpufreq/conservative/UVHF_mV (above 800mhz)
- for example # echo 50 > /sys/devices/system/cpu/cpu0/cpufreq/conservative/UVLF_mV (will UV by 50mV for 100-800mhz)
- for example # echo 50 > /sys/devices/system/cpu/cpu0/cpufreq/conservative/UVHF_mV (will UV by 50mV for 1-1.2ghz)
- Setting increment of 25 (eg 25,50,75,100). Anything out range may hang
- Anything above 100 will be set to 100 (but I doubt you can get 100mV without crashing)
- After setting, do ur benchmarks and if everything is stable, you can add the command above into your init script depending which lagfix you have, add into your script.
Thanks!
Some questions:
1) the first thread about oc mentioned 1.2ghz, was this unstable for you?
2) Is this over-volted, under-volted, or no changes in voltage?
3) I'm guessing if I update to this kernal, I will loose any features of other kernals, like the lag-fix kernal?
I hope you can persuade the other devs to include this in their roms.
It this just for the unbranded SGS or does it work for TMO vibrant too?
Novek said:
It this just for the unbranded SGS or does it work for TMO vibrant too?
Click to expand...
Click to collapse
the kernel is just for the international version
it is just a test, i hv not test the limit yet.. this is a new phone so want to take it easy
i kept the voltage stock so just overclock a little and if its stable, will do more . More testing and reading is needed before i touch on the voltage.
it does not include mimocan's mod, i will work on it next release
Not Work
Hi GS S user,
not work in XXJP3 rooted Firmware!
Flash, Boot and go in Recovery menu!
Sir-ay said:
Hi GS S user,
not work in XXJP3 rooted Firmware!
Flash, Boot and go in Recovery menu!
Click to expand...
Click to collapse
XXJP3 is froyo.. android 2.2
he clearly states it works in eclair... android 2.1
Nice job cant wait to see how high the new hummingbird cpu can go. The galaxy s 2 has same cpu and is running at 2 ghz (if the leaked info is correct). I hope we can push it up to 2ghz with out to much voltage/heat increase.
[[ Cold ]] said:
XXJP3 is froyo.. android 2.2
he clearly states it works in eclair... android 2.1
Click to expand...
Click to collapse
upps
I will OC!!!!!!!!!!
Do you notice the postive effects of the overclock in any way? What does it do with benchmarks? Also do you test for (temperature) stability with some games as well, as they use the graphics card a lot which is on the same chip. Even when not overclocked the SGS can get prettty warm.
Installs nicely, oc ok to, but dont see that much increase in linpack.
Nice work tho.
Any chance to have ext 4 support in next update?
Thanks :
updated to v2
raspdeep said:
updated to v2
Click to expand...
Click to collapse
you're fast, lol. Thanks.
INeedYourHelp said:
your fast, lol. Thanks.
Click to expand...
Click to collapse
update before i go to bed
Guys, how do I use SetCpu?
Was 1.2ghz unstable?
Sent from my SGH-T959 using XDA App
interested in this... Allthough the phone does seem to get hot during heavy use, it doesn't get 'too' hot.
I have seen about 47 degrees celcius max read from battery temp (which seems to be cpu temp on our phones as my battery was stone cold)
Hi any possibility get v1 without mimocan.
Got samset including it nd sgs wnt boot cause of mimocan included.
thanks
I am using JM2. Does this make my phone any faster? Does it maked it lag free?
After tested this oc.. i am bit unsure: i get no performance increase... Is it confirmed that its functional?

[KERNEL] [09 MAR 2011] --Kernel GL_Core v11-- 1190 / uv EXT2/3/4 CIFS EB -magldr+cLK-

Presenting, my HD2 NAND Android kernel!​
Summary
To provide, stable, fast and up to date kernels for our HD2s running either DFT or CWM nand android
Features
- 1190, 1190 Undervolt auto scaling versions available. listed is kernel MAX speed, it will scale to anything less depending on demand and ROM installed. Default max seepd is 998 without the use of an overclocking app
- Faster IO tweak taken from hastarins kernel tree
- Latest YAFFS driver
- Always built from latest source tree
- Very responsive kernel configuration
- Battery efficient
- Supports EXT 2 / 3 / 4, depending our your chosen ROM
- RMNET / PPP both supported, depending on your chosen ROM
- Bluetooth, WiFi, LED notifications all working correctly
- Smartass (default), Interactive and all standard CPU governors supported
- CIFS supported
- MAX defualt speed is 998, use setCPU or similar to overclock if you so wish
- cLK supported
- Automatic Extended Battery Support
Choosing your kernel
1190Mhz
This should work perfectly on nearly every HD2. It offers good speed at a slight cost to battery life. It will, depending on how your chosen ROM implements it, scale anywhere between 245-1190 Mhz depending on load
1190Mhz Undervolt
Same performance as 1190Mhz above, but with lower CPU voltage settings. It will work perfectly on most phones, but not all. If you experience FCs or random reboots then chose one of the aforementioned versions. This kernel offers significant battery life improvements if it works for you.
About the source and GPL compliance
The kernel is built direct from main GIT. You can access the commit logs and sources here on gitorious
The changes and modifications as mentioned in the changelog, and my build .config are all in my separate patch file, which you can download here
Download
All the kernels are supplied on one zip package. Contained within the package are the 2 kernel zImages and the associated modules. Chefs and advanced users will know what to do with these.
Download v11 (files only) --> http://htcfanboys.com/CleanEx/Kernel/DISTRIBUTION KERNELv11.zip
Download CWM ZIPs FOR NON TYPHOON ROMS (*series A*)
http://forum.xda-developers.com/showpost.php?p=11968195&postcount=408
Download CWM ZIPs FOR TYPHOON ROMS / ROMS SHIPPED WITH TYTUNG v6 (*series B*)
these include the wpa_supplicant fix for Wifi / bootlooping
http://forum.xda-developers.com/showpost.php?p=11974837&postcount=471
(the RAM named ones are for typhoon ram build)
Flash under cwm.
Wipe Cache and Dalvik Cache.
~~~~IMPORTANT~~~~
If you are not sure you need the WiFi patch, flash the *series A* kernel. If you find your phone bootlooping / wifi crashing, flash the *series B* kernels
As a backup, the wifi patch remains attached to this post
Changelogs
v11
- Pulled new updates from GIT
- Automatic Extended Battery support
- cLK patches and support built in
- some cleanups
- config changes, more responsive (quadrant wont improve thats IO bound)
v10
- Bug fixes, WiFi should work for everyone without the patch
- Imported the i2c, gsensor, GPU decoupling driver patches to new build tree
- Removed all debugging from kernel (99.9% people dont need it)
- Some build config changes, little more responsive
v9
- Fixed WiFi driver for non GB builds
- Fixed default CPU speed @ 998 max
- Fixed crashes / bootloops / random reboots
v8
- Switch to main branch, import speed mods from previous version
- Fix WiFi for GB / non-GB builds
- config changes for better response times
v7
- Switched to tytungs branch
- Swapped tytungs GB only WiFi driver for main one from primary GIT
- Added CIFS support
- Removed 998 / 1536 speeds
- 1190 Normal is not undervolted and will work for everyone
- 1190 uv is undervolted and might not work for everyone
- Reverted to SLAB, should fix bootlooping
- Other minor config changes
v6
-First public release
Disclaimer
I am not responsible for any damage, loss of data or earnings resulting from the use of my kernels. Users who wish to use an overclock kernel do so on the understanding that running any device outside its normal operating parameters may have damaging consequences
Credits:
Cotulla, Bepe, Hastarin, Tytung, Rafpigna, Markinus and all other kernel source contributors as mentioned on the GIT Commit logs.
Fadzy, JoPlayer, Dave and Jan-Willem for their never ending support, friendship, help and good laughs.
First! This is in a kleandroid 2.55?
yes....and no
its just been recompiled, and i added pure 998mhz for people who have phones that cant take the faster speeds!
Awesome! This is the best kernel, have been using it for like three days and it gives me the best battery life and performance. I loved it. I'll pack this one into cwm zip when I get home and flash it.
Edit: how much does battery life actually improve with the uv one? Now I'm torn between the uv and oc to 1.5ghz. Battery or performance?
Sent from my HD2 running Android on NAND
Can anyone test this on sergio's coredroid 1.4 and post results? I would but dont have my computer for a couple days.
g.lewarne
Please add 998Mhz kernel to next update CleanDroid!
Derek0228 said:
Awesome! This is the best kernel, have been using it for like three days and it gives me the best battery life and performance. I loved it. I'll pack this one into cwm zip when I get home and flash it.
Edit: how much does battery life actually improve with the uv one? Now I'm torn between the uv and oc to 1.5ghz. Battery or performance?
Sent from my HD2 running Android on NAND
Click to expand...
Click to collapse
you might get maybe possible 15% more battery time out of the UV kernel. in ideal circumstances in a perfect world of course
CWM
How to use that? :-(
Any zip to use on cwr?
felipemadox said:
How to use that? :-(
Any zip to use on cwr?
Click to expand...
Click to collapse
Not yet, it is still underway.
I made some cwm zips, before going to sleep. I wasn't able to test them because it's late, but they should work. If g.lewarne wants to post them in the OP, i have no problem. Inside the zip, after you download, there are 4 more zips, one for 998, 1190, 1536(this one doesn't work for me) and 1190 UV. Just flash the one you like and enjoy!
http://www.multiupload.com/DPR3F7TW7J
http://www.mediafire.com/?sqg55hze9evgchb
If you find this useful donate me a click on my thanks button.
Thanks derek.
g.lewarne said:
Thanks derek.
Click to expand...
Click to collapse
Once tested, please update, i will test a rom on it.
raviluke said:
Once tested, please update, i will test a rom on it.
Click to expand...
Click to collapse
I can't test anything now as im off to bed . Its 2am and I did a 14 hour day. Yawn!
report
Derek0228 said:
I made some cwm zips, before going to sleep. I wasn't able to test them because it's late, but they should work. If g.lewarne wants to post them in the OP, i have no problem. Inside the zip, after you download, there are 4 more zips, one for 998, 1190, 1536 and 1190 UV. Just flash the one you like and enjoy!
Please give feedback, again I say, they should work but haven't tested them. I've made all his previous kernel versions cwm zip, and flashed them successfully.
http://www.multiupload.com/DPR3F7TW7J
http://www.mediafire.com/?sqg55hze9evgchb
Click to expand...
Click to collapse
Thank you!
1190Mhz Undervolt its working here.
1536 does not work for ne! Causes random reboot on boot. If you want to test it, do so, but i'm pretty sure it's a problem with the kernel, not with the zip, because the one g.lewarne uses on his rom had 1536 and caused random reboots too, cant be a coincidence . Also, youre welcome!
I flashed the 1190 to test, now off to flash the UV one!
Sent from my HD2 running Android on NAND
raviluke said:
Once tested, please update, i will test a rom on it.
Click to expand...
Click to collapse
It works, but not the 1536 one, or at least not for me.
Sent from my HD2 running Android on NAND
Might I just point out that in real world situations the 1190 kernels are just as fast. 1536 is really just a gimmick but some people want it so there you to. Myself, I run my own personal 1305
Sorry for spamming this thread, but I must ask, is uv dangerous? If so, what are some steps I have to follow to prevent my phone from getting fu'd? Like for example,i know that for the 1536, we shouldn't have it always o/c'd to the 1.5ghz.
Sent from my HD2 running Android on NAND
Derek0228 said:
Sorry for spamming this thread, but I must ask, is uv dangerous? If so, what are some steps I have to follow to prevent my phone from getting fu'd? Like for example,i know that for the 1536, we shouldn't have it always o/c'd to the 1.5ghz.
Sent from my HD2 running Android on NAND
Click to expand...
Click to collapse
Uv Isn't dangerous in the same way, the only problem is possible crash, cpu is safe
Derek0228 said:
I made some cwm zips, before going to sleep. I wasn't able to test them because it's late, but they should work. If g.lewarne wants to post them in the OP, i have no problem. Inside the zip, after you download, there are 4 more zips, one for 998, 1190, 1536(this one doesn't work for me) and 1190 UV. Just flash the one you like and enjoy!
http://www.multiupload.com/DPR3F7TW7J
http://www.mediafire.com/?sqg55hze9evgchb
If you find this useful donate me a click on my thanks button.
Click to expand...
Click to collapse
Installed the UV Kernel on Coredroid v1.4 TMOUS ver its getting stuck at GO GO GO

[KERNEL] [3.4.113] [STABLE] [NEW UPDATE 070217] The-Light-Weight-Kernel

This kernel is what i use personally and i'm just sharing it for anyone who wants a stable kernel with good battery.
THE LIGHT WEIGHT KERNEL
DOWNLOADS :
LWK-i9500 Folder
[ Do Not Mirror! ]
Code :
GCM : For CM13
RR : Resurrection Remix
NOTE : WIPE APPDATA OF YOUR KERNEL APP BEFORE FLASHING !
USE GEAR/TWRP RECOVERY TO FLASH THE KERNEL.
Bugs/Workarounds :
* Rarely Random Reboots can occur.
Sources : Github
Latest
Credits :
* Andreilux (For many things)
* Voltaqe (always helpful)
* halaszk (LMK Optimisations)
* Alberto96 (f2fs support)
* MemAllocatoR (vibration control)
* jwchen (occasional compiling)
* arter97 ( lazyplug )
* and many others
CHANGLOG :
* Just check my github !
It looks promising , I hope to see more features coming for this kernel in future. Keep up the good work bro
Great job mate!??
Woow good to see our i9500 have new kernel.. Waiting for more features.. Hope you can make for kitkat too sir.. Lol
thank you so much and i hope this little project gets bigger and bigger good luck mate
Noriyuki_Fariz said:
Woow good to see our i9500 have new kernel.. Waiting for more features.. Hope you can make for kitkat too sir.. Lol
Click to expand...
Click to collapse
You have the PERFECT kernel for kit Kat a.k.a. Perseus ( is it not available ? Rom switcher uses it )
asad007 said:
PS:
=> This kernel DOES NOT support init.d ( yet )
=> I am still learning , Help is always welcome
Click to expand...
Click to collapse
As far as I try, I can't make init.d support for enforcing samsung official LP OA7 to work by editing its ramdisk.
Even using term-init.sh for universal init.d enabler on official rooted OA7 enforcing and prism barebone enforcing, will not work.
Have u tried to enabled it but fail?
I think, maybe becoz your kernel boot at enforcing state.
If you completely remove enforcing and set permissive or disable selinux only, its different story
I'm sorry for my bad english.
If I disable selinux , the kernel would not boot ( I tried doing that ) so I'll see what I can do about booting in the permissive mode itself
And then maybe the code for init .d in the ram disk may work :thumbup:
asad007 said:
You have the PERFECT kernel for kit Kat a.k.a. Perseus ( is it not available ? Rom switcher uses it )
If you want I can compile from Perseus kit Kat sources but that would not be my work ( Perseus is the best kernel so far )
Click to expand...
Click to collapse
Yeah i know it sir thanks to Andrei.. But 1 problem is with v19.1 alpha tethering not detected in other device.. I only hope it will fixed soon by Andrei or by other dev.. And Romswitcher v3.1 still need more features i think like zram so swap will work too..
OP updated with second release
changelog :
using LZO compression instead of XZ , kernel is heavier but execution is faster (eg; booting time is less) also this should fix the high battery drain
Kernel boots as permissive
PS:
1) The code in the init.rc does not get executed for init support ( ill work on it soon after my exam in a day or two )
2) Please test the battery life and performance on this one
Thank You
What are the two frequencies available?
The min and max
BTW I found that on some apps the frequency can't be set
For example in aero control you can't set frequency but you can use memory tweaks like ksm on it
On the other hand in no frills you can use only min and max frequency
While on cpu tuner you get three frequencies min , max and 600Mhz
It's your call mate what you want
asad007 said:
The min and max
BTW I found that on some apps the frequency can't be set
For example in aero control you can't set frequency but you can use memory tweaks like ksm on it
On the other hand in no frills you can use only min and max frequency
While on cpu tuner you get three frequencies min , max and 600Mhz
It's your call mate what you want
Click to expand...
Click to collapse
Battery backup seems to be promissing... but after 45min of usage when i clicked the app drawer it got rebooted. pls add LUCurative or smartassv2 governer and init.d support.
---------- Post added at 01:09 PM ---------- Previous post was at 12:48 PM ----------
itsme12345 said:
Battery backup seems to be promissing... but after 45min of usage when i clicked the app drawer it got rebooted. pls add LUCurative or smartassv2 governer and init.d support.
Click to expand...
Click to collapse
Also cpy spy dont show up the frequency usage it says kernel not supported. pls look that also.
---------- Post added at 01:30 PM ---------- Previous post was at 01:09 PM ----------
Second reboot...
^ That is because I removed debugging stuff to make the kernel lighter If I add it ,size would grow (let's see)
What would be cause of reboot...may be ram issue..
Have Stweak support?
THANK YOU SO MUCH <3 I have been dying and searching for a good KERNEL since the stock drains battery just when the screen is turn on for even 5 mins
THANK YOU SO MUCH MAN REALLY APPRECIATE IT
OP updated ,
Minor Update , Not much of a changelog present ( just minor changes here and there )
Second post updated with Touchscreeen sensitivity tweak ( this is a must , it makes the whole interface buttery smooth )
and some battery saving defaults ( cause at the end of the day , battery is all that matters)

[KERNEL]Sandy Kernel v1.4 [25/02/2016] [ Sandy charger control ] | [More]

My kernel would have only what's needed. However users can request a feature and if i find it worthy i would test it and add.
I am keeping short and writing the features i have added so far !
FEATURES:
V 1.4 : [ As of now only CM based ]
Switched to latest CM13 source base
Voltage control
More refined sandy charger control
Tuned elementalx governor
Darkness governor
Kcal tweaks
FIOPS & SIO added
Compiled with latest uber toolchain
Other tweaks from my end
V 1.3 :
FIOPS scheduler added
Tuneups to interactive governor
Changes to elementalx and it's tunables.
Solves potential MTP mode USB issues and sound issues.
Full synapse support added ( Doesn't directly come inside from my kernel. You will have to flash separately ). Thanks to @yarpiin
More thermal changes
Lot more in store
To download synapse flashable zip refer third post
Please install CM camera next mod which is also available under downloads section. Just install it as normal apk. Hotplug has video rec freeze on stock OP camera. Blame Oneplus for it.
V 1.2 :
Sandy charger control. Now charge your op2 much faster than stock ( Use synapse or updated kernel adiutor app [available in my downloads,not playstore of kernel adiutor] to enable it and control )
Intelliplug. Use it wisely and according to ur usage
Initial support to synapse ( The bulk needs to be still controlled via Kernel Adiutor )
Initial attempt at porting Faux Sound control ( It's not working completely yet. Will be fixed soon )
Merged with latest Oxygen 2.1 source
Plenty of other features hidden.
Initial release :
Compiled with Sabermod gcc 4.9 toolchain
Powersuspend with different modes
USB Fast charge
Intelligent cpuquiet hotplug framework ( Based on NVDIA and tuned to msm )
ElementalX governor from flar ( with latest patches )
Kcal control ( colour control driver by savoca )
Fsync on/off support
BFQ I/O scheduler added
Thermal code tweaked heavily ( device should stay at it's coolest )
Optimized for best performance and battery ( you can get some of the best results )
Smoothness guaranteed
Rcu,sched,mm and other various enhancements
There are plenty more hidden ! Just use and experience the kernel. Don't forget to post your reviews
I can only say that you can get one of the best experiences with probably no real bugs !
Recommended app :
Kernel Adiutor by grarak
Downloads :
Sandy kernel for One Plus two
Installation guide :
Download the zip
Reboot to recovery ( custom recovery )
Flash the zip
Enjoy sandy kernel on one plus two
Credits :
@grarak - For the code base and for his time. Nice guy to speak with
And to everyone else, whose code i have used.
Tester credits :
@Skybark - For testing. Nice guy to speak with as well. Thanks mate !
XDA:DevDB Information
Sandy Kernel for One plus two, Kernel for the OnePlus 2
Contributors
Santhosh M
Source Code: https://github.com/sandymanu/sandy_oneplus2_msm8994
Kernel Special Features: [Fast Charge] | [ Elementalx] | [Darkness ] | [ Ice cool thermal]
Version Information
Status: Stable
Current Stable Version: 1.4
Stable Release Date: 2016-02-25
Created 2015-09-04
Last Updated 2016-04-28
FAQ's
Q : Will this work on all ROM's ?
A : It will work bugless in Oxygen OS, but could give you bugs in CM or CM based ROM's ( as they are under alpha stage )
Q: OMG ! Baettaryyy SUCKZ ! STAPH putting lame kernels
A : My kernel is intended for battery and performance. I have no intention to build a kernel for battery draining. Your drain comes from your location apps,wake locks,etc. Use App ops or servicely app and check damn wakelocks & keep awake of your apps ( Play services, Maps, facebook,etc )
Q: What governor do you suggest ?
A : I have included only one governor ( elementalx ) other than stock and hence i would suggest you switch to it if it's not pre-switched after flashing.
Synapse link
Synapse flashable zip
Tested and all I can say is to flash that s#it!!Smoothness overloaded.Awesome power management!
5* rating
Tapped from my ①+②=❸
Well looks good but you havent stated is it for CM12.1 or Oxygen ?
Will it work with CM12(BETA) and Oxygen OS 2.0.2?
yarpiin said:
Well looks good but you havent stated is it for CM12.1 or Oxygen ?
Click to expand...
Click to collapse
Works great on OOS 2.0.2!
ebanreb37 said:
Will it work with CM12(BETA) and Oxygen OS 2.0.2?
Click to expand...
Click to collapse
Tapped from my ①+②=❸
Great !!! will try
Reserved for my tweaks.. Thanks for the kernel.
From lettuce with LiquidSmooth ROM and Sandy Kernel
vaisakh7 said:
Works great on OOS 2.0.2!
Tapped from my ①+②=❸
Click to expand...
Click to collapse
camera force close, mp3 error, all big cores always on?
Luigi_2 said:
camera force close, mp3 error, all big cores always on?
Click to expand...
Click to collapse
No issues!Camera works fine,MP3 works fine,cores are shut down on light usage(thanks to CpuQuiet hotplug).
Tapped from my ①+②=❸
Works great~~ still testing the fast charge~ tho is it possible to have westwood tcp congestion or others perhaps?
Luigi_2 said:
camera force close, mp3 error, all big cores always on?
Click to expand...
Click to collapse
You mean you face this ?
Luigi_2 said:
camera force close, mp3 error, all big cores always on?
Click to expand...
Click to collapse
Seems like a recurring theme with these early OP2 kernel attempts..
return.of.octobot said:
Seems like a recurring theme with these early OP2 kernel attempts..
Click to expand...
Click to collapse
These are not there in this kernel ! [ He was just questioning if it is there ]
Santhosh M said:
These are not there in this kernel ! [ He was just questioning if it is there ]
Click to expand...
Click to collapse
Gotcha, definitely appears to be the most competently developed one we've seen thus far.
Am I to assume that the lack of included governor list indicates that it's the same as stock? I could really dig me some smartmax..
return.of.octobot said:
Gotcha, definitely appears to be the most competently developed one we've seen thus far.
Am I to assume that the lack of included governor list indicates that it's the same as stock? I could really dig me some smartmax..
Click to expand...
Click to collapse
Heavily tweaked elementalx should satify your needs
Tapped from my ①+②=❸
Luigi_2 said:
camera force close, mp3 error, all big cores always on?
Click to expand...
Click to collapse
Can you verify if this is true?
ebanreb37 said:
Can you verify if this is true?
Click to expand...
Click to collapse
This isn't true.I've been a tester and I can assure that these issues doesn't exist!
Tapped from my ①+②=❸
vaisakh7 said:
Heavily tweaked elementalx should satify your needs
Tapped from my ①+②=❸
Click to expand...
Click to collapse
does elementalx efficient in terms of battery?

[KERNEL][Z00L][Oreo]Better Battery Backup v3

(Please don't quote the original 1st post when replying, as everything is in progress, not written yet,
Please don't ask for ETAs, I'm only doing this in my limited spare time, thank you)
My kernels are NOT flash-and-forget, please READ through post #1, then CONFIGURE using Kernel Adiutor Mod (see post #2)
[Z00L][KERNEL]Better Battery Backup v2 the original thread
[Z00L][KERNEL]Enhancements For Increased Battery Backup v1 the original thread (now locked/closed)
DISCLAIMER
I bear no responsibility towards any malfunction of your device. Use my kernels at your own risk.
BACKUP YOUR PARTITIONS!!!
Before attempting to flash any kernel/rom, backup your critical partitions! It's meaningless to ask for help when disaster strikes. Follow the links below, root is required.
Partition Dump - Complete STEP 1
Partition Backup by wanam (save as both .img & tar.gz, plus the 1st 100MB - see 'spanner tool')
There's no need to backup the System or Data partition.
Credits & Thanks
abhishekr700 | source
Fabb2303 | source
LuK1337 | source
prakharluv | source
For Z00L & variants only, meaning these kernels are for Asus Zenfone 2 Laser models
- ZE550KL
- ZD550KL
- ZE600KL
Change Log (nothing new)
v03
added cpu hotplug: autosmp
v02
added USB Fast Charge, credits to @ENGstk
v01
removed CRC Check for 30% Performance Boost
v00
added tcp-algorithm: westwood (default), bic, htcp, hstcp, hybla, vegas, scalable, lp, veno, yeah, illinois
added memory: samepage merging, frontswap, cleancache
added filesystem: ntfs
added config: kernel config.gz can be found at /proc
removed hotplug: msm performance
removed cpu: touch boost
v00
same as stock boot.img from rom
DOWNLOAD
Unzip, copy to phone, then flash kernel via TWRP (select "Install Image", point to BOOT partition), re-flash SuperSU (ver. SR5 for Oreo) if you use it, reboot directly.
(Note: if you need to revert to original kernel, extract boot.img from the rom)
If you use Magisk (14.3 for Oreo), refer to this thread 1st post - Installation Instructions, section "If you're not rooted, or something went wrong and you need a clean start"
DOWNLOAD KERNEL
LineageOS 15.0 build 0922
LineageOS 15.0 build 1017
Kernel source, it's from LineageOS 15.0
tested successfully on LineageOS-v15, AospExtended, XenonHD but bear in mind the sources are from LineageOS 15.0, if it doesn't work or get cranky on your AOSP rom, revert to your original boot.img (found inside your rom.zip)
After flashing kernel, configure using Kernel Adiutor
if you can't wait, maybe try your hand in compiling a kernel, full workflow HERE
Alternative to Greenify, ForceDoze: BREVENT
My Android Tools (use this app to disable background services)
Interested users may follow below threads to manage background services
[GUIDE] Stop Google Play Services Wakelocks (AppMeasurement, net_scheduler, etc.)
Another post to help pinpoint unnecessary background services
I use all of the above, plus microG, to remove Google Play Services totally, this require SigSpoof support on the ROM you are using.
But if the ROM do NOT have SigSpoof support, simply patch it with NanoMod-patcher-14.4.20171014.zip from NanoMod, patch it using TWRP immediately after flashing your ROM, patching might take 5-15 mins.
reserved 4
working for LineageOS 15 build 1017
Kernel Adiutor, CPU, governor Interactive, with Hotplug AutoSMP, will turn off unused cpu cores. Must configure as described in post #2
Thank you so much <3
Thanks for the kernel. May I know how's the performance of this kernel compare to stock lineageOS 15 kernel? I'm using snapdragon 615 variant
when properly configured as described in post #2,
hotplug AutoSMP will turn off unused CPU cores, lineageos default kernel will run all 4 cores non stop coz it uses touch boost & inefficient msm performance hotplug
the interactive governor will increase CPU clock speed & activate more cores as load increases, but as load goes down, will turn off cores & reduce clock speed to minimum
details in post #2
as lineageos 15 is in alpha stages, performance & battery endurance will differ across builds
my observations
build 0922 have just slightly better battery endurance than build 1017, but the ROM is progressing in other areas, so its a good tradeoff
hope the ROM goes to stable status soon
Please add KCal color control and faux audio
will only add battery related commits to kernel
BTW, use better battery stats (bbs) to check for abnormal battery drainage
anything below 0.5%/hr is very good for idle drain overnight
bbs must be set to "not optimized" under battery optimization
my screenshot shows idle drain of 0.3%/hr overnight, with WiFi on, no GPS, approx 11 hours, on lineageos 15 Oreo build 0922, no gapps, microG only with Playstore, Google Calendar, Drive, Keep & WhatsApp
WhatsApp is "Not Optimized" (battery)
Brevent mode is "Standby, the Force-Stop"
microG GCM ping is 15 mins for all network types
my custom kernel configured as post #2
I know its not battery related but pls add color control and faux audio it will be great.. or start a new thread and make a new kernel that include everything... pls brooo... hopefully waiting
Does fast charging require a separate quick charge compatible charger? Or is the stock charger enough?
I was reading about it online but I'm not sure whether this fast charging and Quick Charge 2.0 are one and the same.
fast charge is just normal USB charging, but with slightly higher voltage
quick charge support for Asus Zenfone is totally ZERO!!! It is not implemented by Asus on the Zenfone 2 series
pokipokipxorn said:
fast charge is just normal USB charging, but with slightly higher voltage
quick charge support for Asus Zenfone is totally ZERO!!! It is not implemented by Asus on the Zenfone 2 series
Click to expand...
Click to collapse
Okay thanks for the quick reply, I was confused as the Snapdragon processor seemed to support QC 2.0 but I doubted the existence of QC 2.0 battery charging circuitry here.
Btw Great Work with this kernel, we finally don't have to run all four cores all the time now.
@pokipokipxorn thank you for your amazing work
I just wanna request that if you could make a profile in kernal auditor with all the tweaks applied and make it available in the thread that we can download and easily import to our kernal auditor
It will be lot easier and will avoid confusion
Thank you:angel:
gavinfernandes2012 said:
Okay thanks for the quick reply, I was confused as the Snapdragon processor seemed to support QC 2.0 but I doubted the existence of QC 2.0 battery charging circuitry here.
Btw Great Work with this kernel, we finally don't have to run all four cores all the time now.
Click to expand...
Click to collapse
For shorter charging times, consider using a short micro-USB cable. I am using a 6 inch cable, charging time is much quicker.
pokipokipxorn said:
For shorter charging times, consider using a short micro-USB cable. I am using a 6 inch cable, charging time is much quicker.
Click to expand...
Click to collapse
Okay thanks, I'll see if I can get my hands on one
What toolchain do you use to compile this kernel? Is it still the uber-4.9 one? Would the GCC 7.2.1 GNU one be fine? What about Linaro?
Edit: Ok I got an answer to first question, you're using the uber-4.9 one (kernel adiutor), but can we use Linaro? Do you think it'll work?

Categories

Resources