[Discontinued]CoolDemand MOD(Thermal Tweak/ UnderClocked CPU/GPU Composition) - LG G Flex 2

Keep rootedsystem.img in internel storage if somehow ur phone Bricks!!
due to lack of feedback I decided to discontinue this development.You can still use the files below and modify as u like.​Instructions:
1.Plz use the attached zip extract
->Do back up ur files first..<-
2.Replace init.qcom.post_boot.sh and thermal-engine-8994.conf with extracted ones
3.Set permission rw-r-r
4.Power off wait the phone to cool down properly and bootup
5.Enable developer option and check "Disable hw Overlay" & (optionally) "Force GPU Composition"
6.Reboot Once more and get a cooler G flex 2
​Do post some feedbacks and press thanks button if it helped you :laugh::laugh::angel::angel:

Tweaks:
Ondemand Governor
Underclocked big.CLUSTER to 1.83GHz
Underclocked little.CLUSTER to 1.38GHz
Applied Power_Tweaks for sd810 from OnePlus 2
Input boost frequency to 384MHz on cpu.2 & cpu.6 and 32ms input_boost
Applied GPU composition set on init(during boot)
Removed unwanted init.qcom.post_boot cases(Reduced init file size)
GPU thermal throttling starts at higher temperature
CPU thermal throttling starts at higher temperature
CPU 0 - 3 has sampling of 100 for frequency lock (as little cluster does not overheat soon)
CPU 4 & 3 has sampling of 35 for frequency lock(as these two overheats very fast)
CPU 5 & 6 off is set to at high temperature
and more CPU +battery thermal tweaks
changelogs:
2k16/12/02 -
initial tweaks published
2k16/12/19 -
-V2.0 beta
Sampling time - 50000ns core.little
Sampling time - 30000ns core.big
core.Big is power biased (partially working)
sampling down factor of core.Big is 2 (not working properly)

Can you post what changes exactly you applied?

k3lcior said:
Can you post what changes exactly you applied?
Click to expand...
Click to collapse
updated OP and post #2

Can i use this on f510s MM?

tachiquan3 said:
Can i use this on f510s MM?
Click to expand...
Click to collapse
You need root to replace those files.. In MM there is no root

On the test right now. I've downgraded yesterday evening from 6.0.1 to 5.1.1. I was sick because of no root on the 6.0.1

So, a quick update: I've never used mods for thermal management before. My experience on the last 6 months were based on a stock LG G flex 2 with android 6.0.1
Right now I'm using andoid 5.1.1 with this thermal mod.
So what kind of tests do you want me to perform?
On a daily basis, and when the phone is under "stress" it will still heat up, however the CPU temp don't go above the 80ºC. This is done by this thermal management or is it done by another process?
I don't feel any lag or what so ever. Regarding games, I just play [email protected] [email protected] However I do use dual window quite often to check youtube videos on and chrome at same time, and I dind't find any issues till now.
Thanks

faagaspar said:
So, a quick update: I've never used mods for thermal management before. My experience on the last 6 months were based on a stock LG G flex 2 with android 6.0.1
Right now I'm using andoid 5.1.1 with this thermal mod.
So what kind of tests do you want me to perform?
On a daily basis, and when the phone is under "stress" it will still heat up, however the CPU temp don't go above the 80ºC. This is done by this thermal management or is it done by another process?
I don't feel any lag or what so ever. Regarding games, I just play [email protected] [email protected] However I do use dual window quite often to check youtube videos on and chrome at same time, and I dind't find any issues till now.
Thanks
Click to expand...
Click to collapse
U dont need to perform any tests.. You just have to see if these mods will get you a more stable lagfree phone with a better battery life or not..
I am bringing out a next version which has better cpu management..
Also after exams i am going to see if we can implement these tweaks into MM also .. Maybe make a dev group for MM root as v20 has made some progress...

How does your mod, without the underclocking part, compare to a combination of Probaina's thermal tweaks, Soosoolhastam's tweaked interactive governors boot script, and your own init.d scripts (also without the underclocking part)? I know it's a difficult question, but I need to know this if I'm going to install your mod. Thanks in advance~
Sent from my LG-H959 using XDA-Developers mobile app

Iron_Overheat said:
How does your mod, without the underclocking part, compare to a combination of Probaina's thermal tweaks, Soosoolhastam's tweaked interactive governors boot script, and your own init.d scripts (also without the underclocking part)? I know it's a difficult question, but I need to know this if I'm going to install your mod. Thanks in advance~
Sent from my LG-H959 using XDA-Developers mobile app
Click to expand...
Click to collapse
The interactive tweaks boost the cpu clock in many ways but all are not good for this 810chip.. Also he has directly copied and pasted the tweaks from nexus 6p without crediting the original poster ..plus it has disabled touchboost which is not present in g flex 2.. Meaning that may generate unexpected error..
Probainas tweaks was really good but i have modified stock one to not turn off cores even in heavy gaming..with probainas it heats fast and turns off cores 4 and 7 soon but mine endures longer without much heat .. Not that everyone may feel same.. But heavy gaming may lag from mine..
I have tweakd ondemand gov instead of interactive..

adds08 said:
The interactive tweaks boost the cpu clock in many ways but all are not good for this 810chip.. Also he has directly copied and pasted the tweaks from nexus 6p without crediting the original poster ..plus it has disabled touchboost which is not present in g flex 2.. Meaning that may generate unexpected error..
Probainas tweaks was really good but i have modified stock one to not turn off cores even in heavy gaming..with probainas it heats fast and turns off cores 4 and 7 soon but mine endures longer without much heat .. Not that everyone may feel same.. But heavy gaming may lag from mine..
I have tweakd ondemand gov instead of interactive..
Click to expand...
Click to collapse
Thank you very much for your response! I'll install your mod instead of the other ones, then. Cheers!
Sent from my LG-H959 using XDA-Developers mobile app

Works very well for me, thanks Bro
PS: sry for my bad english ^^

which "init.qcom.post_boot.sh" is the correct one, the one from the zip "thermal_tweaks_021216" or the one from "coolDemand_v2.0b"? Either way, what do I edit exactly to add the mod without the underclocking part?
---------- Post added at 10:32 AM ---------- Previous post was at 10:29 AM ----------
I don't want to sacrifice performance in any way.
---------- Post added at 10:35 AM ---------- Previous post was at 10:32 AM ----------
if you would be kind to just edit the performance compromising parts for me, it would be awesome. Otherwise, please tell me what to edit out to not compromise performance. (I will be doing lots of gaming)
---------- Post added at 10:56 AM ---------- Previous post was at 10:35 AM ----------
Also, can I use your mods together with your init.d scripts (also without the underclocking part)?

Iron_Overheat said:
which "init.qcom.post_boot.sh" is the correct one, the one from the zip "thermal_tweaks_021216" or the one from "coolDemand_v2.0b"? Either way, what do I edit exactly to add the mod without the underclocking part?
---------- Post added at 10:32 AM ---------- Previous post was at 10:29 AM ----------
I don't want to sacrifice performance in any way.
---------- Post added at 10:35 AM ---------- Previous post was at 10:32 AM ----------
if you would be kind to just edit the performance compromising parts for me, it would be awesome. Otherwise, please tell me what to edit out to not compromise performance. (I will be doing lots of gaming)
---------- Post added at 10:56 AM ---------- Previous post was at 10:35 AM ----------
Also, can I use your mods together with your init.d scripts (also without the underclocking part)?
Click to expand...
Click to collapse
Sorry for the late reply..
coolDemand v2.0b is still in beta..
You can try out that but the first one thermal_tweaks_021216 is v1 which is highly stable..
Init.d scripts are something that run on boot.. so after apply the cooldemand tweak you can port init.d into it but the scripts won't be any use because it's already implemented..
So just try these.
And about the under clock part don't worry at intensely high gaming the cap will be removed anyways..

adds08 said:
Sorry for the late reply..
coolDemand v2.0b is still in beta..
You can try out that but the first one thermal_tweaks_021216 is v1 which is highly stable..
Init.d scripts are something that run on boot.. so after apply the cooldemand tweak you can port init.d into it but the scripts won't be any use because it's already implemented..
So just try these.
And about the under clock part don't worry at intensely high gaming the cap will be removed anyways..
Click to expand...
Click to collapse
No worries, but just for my perfectionism's sake, can you please tell me where to edit so that it doesn't underclock? I don't know why but I really don't want to underclock...
Sent from my LG-H959 using XDA-Developers mobile app

Iron_Overheat said:
No worries, but just for my perfectionism's sake, can you please tell me where to edit so that it doesn't underclock? I don't know why but I really don't want to underclock...
Sent from my LG-H959 using XDA-Developers mobile app
Click to expand...
Click to collapse
If u want thermal tweaks.. u can download thermaltweaks 1st one and apply only the thermal-config file.
After a few days i am gonna sort everything out

adds08 said:
If u want thermal tweaks.. u can download thermaltweaks 1st one and apply only the thermal-config file.
After a few days i am gonna sort everything out
Click to expand...
Click to collapse
But won't that mean I'll miss out the other tweaks besides thermal ones? Like GPU compositioning, tweaked ondemand governor, etc? Can't I just delete/replace certain segments of the boot script file's text, to have all the advantages except underclocking? Sorry if this question is stupid.

Iron_Overheat said:
But won't that mean I'll miss out the other tweaks besides thermal ones? Like GPU compositioning, tweaked ondemand governor, etc? Can't I just delete/replace certain segments of the boot script file's text, to have all the advantages except underclocking? Sorry if this question is stupid.
Click to expand...
Click to collapse
The thermal file was modified to better optimize heat in this phone by me .. and is a base on other bootscript tweaks
I have discontinued this tweak and wont be work8ng on cooldemand anymore as i didnt enough feedback to progress with my work..
U can use any of this file independently..
U can just use thermal conf file if u wish with stock postboot script or anyother tweak..

Related

Undervolting Sensation 4g

I installed Joe RCU kernal and im using cm7, How can i undervolt my sensation for better battery life?
Thanks
malberti1993 said:
I installed Joe RCU kernal and im using cm7, How can i undervolt my sensation for better battery life?
Thanks
Click to expand...
Click to collapse
System tuner by 3c available in the market.
Matt
yeah i did that but under voltage it says not available.
Mike
Remove any overclocking app you have, if you are using one.
Go to the market, download System Tuner app by a developer named 3c.
Set your clock frequency to whatever you want to by opening the app and going to th tab named Tweaks.
Then, once on the Tweaks tab, click Voltage.
On the bottom left, there will be a button that says "-12.5mV", hit that exactly 7 times. That's the safest voltage that I have seen it can go, altough certain phones can go lower.
To the right, click boot setting and click on re-apply cpu settings at boot, and you're set.
You are now undervolted.
---------- Post added at 10:27 PM ---------- Previous post was at 10:26 PM ----------
malberti1993 said:
yeah i did that but under voltage it says not available.
Mike
Click to expand...
Click to collapse
Did you give it Super User permission? Did you also hit the cpu tab before the voltage tab?
I updated superuser and it worked.
Whats a safe undervolting voltage and also how much battery life is going to be improved?
playing with undervolts and it seems the lowest voltage is fixed to 812500
i'm guessing, it's set by kernel, but i wonder, if i can lower it even more?

Q and A related to Team UtterChaos [UC] kernel

This thread is regarding discussion about Doomlord UC kernel for our device. This thread is specially for general chit chat, opinions, Q and A related to his kernel so that main thread of Doomlord kernel in developement section will have less crowd of unnecessary questions & posts.
So I request senior members to help noobs here. Also if necessary Doomlord will also answer ur important querries here.
Important :-Kernel is working universally perfectly with EVERY firmwares without any problems.
Current version :- v14 (21st MAY 2012)
Original Thread for updates
http://forum.xda-developers.com/showthread.php?t=1357747
http://forum.xda-developers.com/showpost.php?p=26353627&postcount=1659
Thank you.
Regards,
Vishal
Well now that kernel development is in full swing, could we look into fixing the notification bug? I don't know much about android development, but I read someone say it could be kernel related... That I feel is the biggest bug facing our beloved phone on gb!
manrock111 said:
@doomlord finally you got our device, this device has seen lots of bad times and always neglected by senior members or devs. I know lots of your work involve sony ericsson devices,qualcomm devices .
So how do you feel about our device? It's cost only 17k and you know now how it is.
What do you think of it compare to others.
Sent from my GT-I9003 using Tapatalk
Click to expand...
Click to collapse
Sent from my GT-I9003 using Tapatalk
I've just loaded UC v2 on my DXKP9 SL with ext4 and it works fine.
bigeyes0x0 said:
I've just loaded UC v2 on my DXKP9 SL and it works fine.
Click to expand...
Click to collapse
can u tell us which governer & scheduler will be best for battery & performance?
I'm not an expert in android governer and i/o scheduler but I've been using smartassv2 and vr with better performance than stock with a slightly higher battery drain than original settings when actively used. When idle I have about the same battery drain as default.
vishal24387 said:
can u tell us which governer & scheduler will be best for battery & performance?
Click to expand...
Click to collapse
I've used smartassv2 (proposed by XDA_Bam) and Scary and interactive (proposed by Doomlord). I'm using my phone mostly as audioplayer (ie almost always audioplayer is working). For me is more better smartassv2. Because with other I have lags while changing pages in the applications menu or changing screens in the Go launcher Ex.
Also I'm using BFQ as IO scheduler, because I know it's the best for not too many concurrent processes reading/writing to disk. Also usually it doesn't have too big sense for mobile devices, because we don't have a lot applications working with hdd/sd card
can anyone tell me which governer and i/o should i choose for best performance while playing hd games (i dont care about the battery drain). actually i downloaded shadowgun non tegra but it gets a bit laggy when too many enemies appear on screen, i tried setting performance governer but its the same.
nail16 said:
can anyone tell me which governer and i/o should i choose for best performance while playing hd games (i dont care about the battery drain). actually i downloaded shadowgun non tegra but it gets a bit laggy when too many enemies appear on screen, i tried setting performance governer but its the same.
Click to expand...
Click to collapse
1. You have to close all other application and services
2. The performance governor just put CPU to the max frequency, that's why it's the best for gaming
3. If it's still laggy you need or overclocked kernel (we don't have it yet) or make lower settings in the game (or in the Chainfire 3D)
@nail16: You need to OC or a new phone, that game is just too heavy for this phone.
After doing some research on available i/o scheduler I say simple i/o (sio) is the best from theory considering we're accessing a random access device. For quantitative conclusion someone needs to bench.
EDIT: @vishal, can you include a list of firmware versions that work with current UC kernel in your OP? For now I think we have XXKPM, XXKPQ and mine DXKP9. Also I think "[UC Kernel] Q & A" is a better title (the shorter it is the better), please change it if you feel appropriate.
Also here is very good benchmark of the IO schedulers
But remember that it was 2009, now it's 2011 and some things can be changed/optimized
what are the benefits of running custom kernel other than governer and i/o?, sorry noob question
falex007 said:
Also here is very good benchmark of the IO schedulers
But remember that it was 2009, now it's 2011 and some things can be changed/optimized
Click to expand...
Click to collapse
I dare say those benchs are not enough to evaluate those i/o schedulers. e.g. In read_test.c, you see that the program will read chunk of 1MB one by one which is a very rare case that our phone would do in day to day usage. We need a better benchmark methodology to reach a conclusive answer.
What is TinyRCU? Link
---------- Post added at 05:40 PM ---------- Previous post was at 05:37 PM ----------
nail16 said:
what are the benefits of running custom kernel other than governer and i/o?, sorry noob question
Click to expand...
Click to collapse
On the kernel page, you saw lots of line saying added in v1, added in v2.
All those are not present in the vanilla kerel by samsung.
U can check each in google to see what it means and what good it brings the mobile.
Also read these links to understand more:
Fugumod Kernel
Steam Kernel
There are lots more.
Thanks ganesh, you are very noob friendly.
bigeyes0x0 said:
I dare say those benchs are not enough to evaluate those i/o schedulers. e.g. In read_test.c, you see that the program will read chunk of 1MB one by one which is a very rare case that our phone would do in day to day usage. We need a better benchmark methodology to reach a conclusive answer.
Click to expand...
Click to collapse
How many applications do you start every day that hard works with hard disk? Do you think IO scheduler can be bottleneck for usual usage of our device? I don't think so. Only games during load of new level, gallery (during making thumbnails) and launcher (during loading icons) work hard with "hard disk"
Updated op.
I was looking into fs benchmarks for debian linux.
Found that JFS was the least CUP intensive off all.
Would it be the same on Android?
falex007 said:
How many applications do you start every day that hard works with hard disk? Do you think IO scheduler can be bottleneck for usual usage of our device? I don't think so. Only games during load of new level, gallery (during making thumbnails) and launcher (during loading icons) work hard with "hard disk"
Click to expand...
Click to collapse
No, I actually don't really care as long as my phone feel smooth, that's why I don't go out and do a benchmark myself to ultimately find an answer. My point simply was that benchmark method in your link is inadequate. Finding faults in other ppl's works is one thing I do at my job after all.
bigeyes0x0 said:
No, I actually don't really care as long as my phone feel smooth, that's why I don't go out and do a benchmark myself to ultimately find an answer. My point simply was that benchmark method in your link is inadequate. Finding faults in other ppl's works is one thing I do at my job after all.
Click to expand...
Click to collapse
What these benchmarks do is to guide us to use the appropriate one for our use.
As Doom says we can switch the IO Scheculer/Governor on the fly.
So where is the problem in doing so.

[KERNEL] - [DEV] - [AOSP] - WildKernel Public Beta testing ver003 - [Sep 8]

WildKernel
As some of you may know, I've been working on a custom kernel for ICS/JB and its about done (for a first release).
Also I was previously planning on a beta testing for a selected few, but I released I won't have enough time to be hosting testing sessions, so how about this. The kernel is know free to use for the public, but all I ask is that your report and compare. I'd like to see if there's improvement or loss between the A6 kernel and this (battery, performance, etc.). Also please report anything good and bad so that I know what to keep and what not to keep for a final release. This also helps me push out fixes faster when presented with lots of information.
Current kernel features include: (If feature begins with a * then check below for more information)
Universal kernel compatible with all AOSP (NOT SENSE) ICS & JB roms
rebased to CAF (custom) Linux 3.0.39 kernel
Optimized Built in Low-memory killer w/ Fugeswap (as seen in the v6 Supercharger)
Optimized ram usage/handling (Swap & Zram)
Increased Wi-fi connectivity range
*Low & High power Wi-fi scaling steps
*Badass Governor
Lazy Governor
Imported Snapdragon optimizations used by the Sensation (Thanks Romanbb)
Lagfree Governor
Fast charging for unknowns and when plugged in to computers
HIGHLY Tweaked for the perfect battery life and performance
Bluetooth code from CAF
V(R), simple, deadline, noop, and CFQ I/O schedulers
*Ondemand & Intelli(gent)demand Governor
Stable Undervolting of the CPU
increased SDcard readahead speed
Tweaked Flashlight
Added more clock steps to the GPU for compatibility with low power browsing and GPU OC @ 320 mhz
Please wipe cache and dalvik cache
I dont suggest using SetCPU as it may cause bugs such as reboots, use CM or AOKP's built in cpu speed feature
Download Universal flasher for ICS and JBhttp://www.mediafire.com/download.php?q9bhv68k8dvai13
(Flashable for S-ON coming tomorrow when I have time)
You may find my source hosted @ Github
More information:
Badass Governor: This governor has built in profiling (like used in SetCPU but not as battery & Ram consuming). This is also the default and highly recommended governor. This governor features a 3 phase system CPU profiling system. This will change your CPU speed based on usage. This saves a lot of power as your speed doesn't just keep at one clock no matter how much your using you phone. A similiar profiling system is also used for the GPU and such.
Ondemand and Intellidemand Governor: Intellidemand is based off the Ondemand governor but features a 2 phase CPU profiling system with some added tweaks. Ondemand also now has early suspend support for low power browsing to save battery.
Wi-fi Low and High power scaling steps: This is a feature that will determine whether to use High or low power voltages on the Wi-fi chip to save battery. eg: Wi-fi will be turned to low power when idle or screen off. Wifi will be turned to high power when actively in use or in progress of a download. Take note that high power wi-fi voltage isn't necessarily "High" power but more of just "Stock HTC" power.
View all public kernel releases
Changelog:
Code:
[B]Sep 3 - ver003[/B]
1. Bluetooth updates upstream
2. Downgrade to linux Kernel v3.0.39 with custom libs to *really* fix lag
3. Badass back to default governor as the most stable
4. More LMK tweaks
[B]Sep 2 - ver002[/B]
1. Implemented USB forced fast charge v3.1
2. Downgrade to linux Kernel v3.0.40 to fix lag
3. Ondemand tweaks, early suspend updates, and is now default governor because of balance of stababilty, battery, and speed.
4. LMK tweaks
5. Updates to bluetooth from CAF (more battery saving and stable)
6. Updates to scheds from faux
7. mpdec ready but disabled until stabalized
8. A lot of improvements since ver001
Thanks:
TeamDS
Strapped365
faux123
Tamcore
cretin45
showp1984
RomanBB
and any others I may have missed
reserved for James (He'll be supplying statistics such as battery reports, cpu logs, benchmarks etc.)
Post statistics and they will be copied here
Nice
Hastily spouted for your befuddlement
Awesome. Hope this fixes the battery drain problem from the A6 kernel.
Sweet. Will test tonight.
Il test this but not until Saturday morning will I have solid feedback
I'm going to have to use both Ankers plus my stock battery for tomorrow as I have school, then a football game, then a roadtrip so I will definitely take shots and post back with great contrasts I'm sure
Thanks XMC
::Respect::
---------- Post added at 10:02 PM ---------- Previous post was at 09:31 PM ----------
CRUD! I got to my PC, downloaded it and read its not in Boot.img format! IM S-ON D:
Sorry wild, can't get it booting. Been trying forever. I'll redownload again when I get home.
P.s: it boots, but it goes right into a reboot after I hit homescreen. I don't think I can use alogcat to pull one, so I'll have to wait till I get back to my computer. Perhaps a dmesg a well.
You also plan on making something for sense ROMs?
If not would you mind if I grab your patches and implement it to a more enhanced virtuous kernel?
Riyal said:
You also plan on making something for sense ROMs?
If not would you mind if I grab your patches and implement it to a more enhanced virtuous kernel?
Click to expand...
Click to collapse
Hey maybe even if xmc your planning on doing a sense one... Maybe if no offense allow Riyal access to those things as you might learn from his enhancements to a sense kernal and such... Also additional development for DS
:what:
::Respect::
well im on my computer. the error (though im no expert) seems to be here
if you need the full logcat let me know and i'll try grab it again. that's the error going on right when the homescreen gets laggy on boot, right before it reboots.
i don't know if this is important to you, but this is what i get in logcat right before reboot
I'm sure i followed directions. I hope I'm not doing something wrong.
Edit: yep. Definitely not an expert. So it stopped rebooting after I unchecked "set on boot" under performance. Will be reporting back.
CoNsPiRiSiZe said:
Il test this but not until Saturday morning will I have solid feedback
I'm going to have to use both Ankers plus my stock battery for tomorrow as I have school, then a football game, then a roadtrip so I will definitely take shots and post back with great contrasts I'm sure
Thanks XMC
::Respect::
---------- Post added at 10:02 PM ---------- Previous post was at 09:31 PM ----------
CRUD! I got to my PC, downloaded it and read its not in Boot.img format! IM S-ON D:
Click to expand...
Click to collapse
I flashable for S-ONs will come soon sorry
Riyal said:
You also plan on making something for sense ROMs?
If not would you mind if I grab your patches and implement it to a more enhanced virtuous kernel?
Click to expand...
Click to collapse
to be honest I hate sense and I doubt I'll be developing anytthing for it anytime soon.
Riyal, i'm open source so feel free to do whatever you wish. If you need help with me pointing out specific commits lemme know
ekoee said:
well im on my computer. the error (though im no expert) seems to be here
if you need the full logcat let me know and i'll try grab it again. that's the error going on right when the homescreen gets laggy on boot, right before it reboots.
i don't know if this is important to you, but this is what i get in logcat right before reboot
I'm sure i followed directions. I hope I'm not doing something wrong.
Edit: yep. Definitely not an expert. So it stopped rebooting after I unchecked "set on boot" under performance. Will be reporting back.
Click to expand...
Click to collapse
are you using setcpu?
No, I'm running cm 9.1.0. Under settings > performance > cpu settings or whatever it is, if you have set on boot checked, the phone runs funny. I unchecked it in a desperate attempt to figure out what's going on, and it's been pretty stable ever since.
xmc wildchild22 said:
reserved for James
Click to expand...
Click to collapse
LMAO! :laugh: You GO James!!! :good:
CoNsPiRiSiZe said:
CRUD! I got to my PC, downloaded it and read its not in Boot.img format! IM S-ON D:
Click to expand...
Click to collapse
Can't we just extract the zImage from the universal kernel flasher, rename it boot.img, and flash? I thought they were analogous...
Edit: I tried it. Didn't work. "Boot Magic check failed". Guess I was thinking of Samsung devices. Bummer, I really wanted to try this.
Ok after a 10 minute self lesson on kernel kitchen I managed to compile a boot.img. Booted right up but I had nofrills with an "apply on boot" setting which screwed me over. Severe lag. I managed to access that app in slow motion and deselect the apply on boot nonsense. Now we are in business
Don't forget to uncheck all governor apply on boot settings before flashing! Also, on first boot go to a view CPU frequency place on your phone so you can wait until the phone settles before rebooting/doing stuff. Takes a little longer than you would expect.
So far the performance seems good, I'll report back on battery life later.
Edit: 3 consecutive reboots during 3 consecutive calls. Switching back to 3.0.30 (A5) for now. Since I didn't flash this officially I'd take this experience with a grain of salt but it is similar to what ekoee is reporting so IDK.
Hi xmc! Not that I question the knowledge of the senior htc community developers here but this battery issue I am facing with ROMs like virtuous is already nagging me out.
Now compiled yours and shocked that it also has the battery bug.(The not going to 100% bug)
So I decided to really look up the battery driver carefully awhile ago and noticed something strange in it. I noticed this days ago and thought this was ok but thought I would stand up and ask today.
In
arch/arm/mach-msm/htc_battery_8x60.c
htc_batt_get_battery_info
Could you tell me why calculation of battery is like this?
htc_batt_update->batt_current = htc_batt_info.rep.batt_current - htc_batt_info.rep.batt_discharg_current;
Click to expand...
Click to collapse
instead of this?
htc_batt_update->batt_current = htc_batt_info.rep.batt_current;
Click to expand...
Click to collapse
Seems like the batt_discharg_current is making my battery report less than the real value so I'd like to know why is the calculation like that?
I'm sorry for asking but I think you're the only developer on doubleshot who is approachable enough for me to ask to.
Riyal said:
Hi xmc! Not that I question the knowledge of the senior htc community developers here but this battery issue I am facing with ROMs like virtuous is already nagging me out.
Now compiled yours and shocked that it also has the battery bug.(The not going to 100% bug)
So I decided to really look up the battery driver carefully awhile ago and noticed something strange in it. I noticed this days ago and thought this was ok but thought I would stand up and ask today.
In
arch/arm/mach-msm/htc_battery_8x60.c
htc_batt_get_battery_info
Could you tell me why calculation of battery is like this?
instead of this?
Seems like the batt_discharg_current is making my battery report less than the real value so I'd like to know why is the calculation like that?
I'm sorry for asking but I think you're the only developer on doubleshot who is approachable enough for me to ask to.
Click to expand...
Click to collapse
I'll take a look once I get home. Lol and just to be clear, i'm not the only dev for the DS. We got Blue6IX, jeffakajeff, strapped365, tbalden, Riyal , kornyone, and nbetcher. (Dont kick my a$$ if I skipped your name )
Flashed this with a fresh install of your JB ROM. Phone is really laggy when waking from screen off for a few seconds but then its ok. I'll look more in to this but thats what I'm seeing so far.
Flashing over CM 9.1 now, will test it out and report back with results. Really hope this takes care of the battery drain issue in 9.1.
xmc wildchild22 said:
I'll take a look once I get home. Lol and just to be clear, i'm not the only dev for the DS. We got Blue6IX, jeffakajeff, strapped365, tbalden, Riyal , kornyone, and nbetcher. (Dont kick my a$$ if I skipped your name )
Click to expand...
Click to collapse
Lol! If I were a dev here I wouldn't have asked you this woot now I'm an ass kicker :highfive:

[Kernel][DEV aboot ONLY] Nougat kernels [kltevzw]

Hi everybody!
I'm new to the Verizon S5, but I followed the great bootloader unlocking thread and decided to make some custom roms and kernels. So, this is my kernel thread.
I've been building for the S4 and the Note Edge, so I hope you don't mind if I step in here. I'm not trying to step on anyone else's toes, and I hope you all don't mind another developer hanging around.
You can find all my work at https://github.com/alaskalinuxuser when I get a chance to get it uploaded. I live in Alaska and do have limited and slow internet, so please be patient.
See post #2 for Nougat kernels.
Nougat kernels:
Right now I only have one built:
AOKP 7.1.2 - Tested on a Verizon S5, this kernel can be flashed on any KLTE phone.
https://www.mediafire.com/folder/9zxbqz94mur7d/nougat
Change log:
Code:
Change Log:
20170717
+ Added @savoca KCal v2
20170621
+ Added Fast Charge!
+ Added simple Sound Control from the SmartPack Kernel
20170602
+ Overclocked the GPU to 600 Mhz
- A 4% gain without increasing voltage!
20170530
+ Added KTOONSEZ Voltage control!
- Can be controlled from Kernel Adiutor or other apps. WARNING! THIS IS DANGEROUS!
20170526
+ Added I/O schedulers: FIOPS, SIO, and VR!
20170524
+ Overclocked the CPU to 2533 MHz without increasing voltage.
20170518
+ Added Lionheart, SmartMax, and Wheatley governors.
Old kernel:
http://www.mediafire.com/file/iwwcjaw6ab96rv3/AKLU-KLTE-AOKP-N-20170530.zip
https://www.mediafire.com/file/f8d1u8a740yb806/AKLU-KLTE-AOKP-N-20170526.zip
http://www.mediafire.com/file/rinmg04q65ucn9z/AKLU-KLTE-AOKP-N-20170524.zip
http://www.mediafire.com/file/quyaal6238dgslt/AKLU-KLTE-AOKP-N-1520-20170518.zip
Reserved for future use, thanks! Be sure to check back regularly! I plan to add:
-Over Clock for the CPU and GPU
-I/O schedulers
-Change boost settings
- and more!
great work .
Ive been asking around about this , there was a thread that ported a backtrack/kali for the s5 and that kernel had the feature of controling the tx and rx of the phone, i dont know if you could include those commits in yours as well for LOS and also if that could be applied to the tx and rx of the modem to boost reception of signal for 4G....that's if its possible.
Looking foward to the next updates.
@AlaskaLinuxUser hey, thank you for sharing your work and throwing new stuff out there for us to mess with. Much appreciated
Sent from my SM-G900V using Tapatalk 2
KazuDante said:
great work .
Ive been asking around about this , there was a thread that ported a backtrack/kali for the s5 and that kernel had the feature of controling the tx and rx of the phone, i dont know if you could include those commits in yours as well for LOS and also if that could be applied to the tx and rx of the modem to boost reception of signal for 4G....that's if its possible.
Looking foward to the next updates.
Click to expand...
Click to collapse
Thanks! I'll have to check into that.
1droidmod said:
@AlaskaLinuxUser hey, thank you for sharing your work and throwing new stuff out there for us to mess with. Much appreciated
Sent from my SM-G900V using Tapatalk 2
Click to expand...
Click to collapse
Thanks! Next up is over clocking. I usually keep it light on the oc.
Sent from my SM-G900V using XDA-Developers Legacy app
Quick update, new kernel, praise God, it even works!
Overclocked to 2533 MHz without increasing voltage.
I had to reset my cellular settings after flashing this, however, I am using my Verizon phone on an AT&T network through Straight Talk, so I'm not sure if that matters. But after a reset of the cell settings, data started working just fine for me.
My kernels tend to be more battery oriented than performance, but I like to overclock a little without increasing the voltage to get the most bang for the buck. Enjoy!
AlaskaLinuxUser said:
Quick update, new kernel, praise God, it even works!
Overclocked to 2533 MHz without increasing voltage.
I had to reset my cellular settings after flashing this, however, I am using my Verizon phone on an AT&T network through Straight Talk, so I'm not sure if that matters. But after a reset of the cell settings, data started working just fine for me.
My kernels tend to be more battery oriented than performance, but I like to overclock a little without increasing the voltage to get the most bang for the buck. Enjoy!
Click to expand...
Click to collapse
now since it overclocks maybe now you can attempt to undervolt it and the gpu to the bare minimum that it will allow without it freezing and rebooting ( even better battery life) , on the other kernels ive tried i was able to get it to stay at a -125mv but had to bring the cpu frequency down to 1400'S or 1200's some users said that -100 at stock frequency was stable so mayby for your kernel a -90mv with the overclock is def possible. sadly we still can undervolt or overclock the gpu as well
Actually, my plan is to add voltage control to the kernel, so you can adjust it to any level you want. I just finished adding that option to the Galaxy S4, including the GPU, and hope to do the same here.
Sent from my SM-G900V using XDA-Developers Legacy app
Praise God! New kernel is up! Added I/O schedulers!
Sent from my SM-G900V using XDA-Developers Legacy app
Praise God, another working kernel update!
View attachment 4166166
Added @ktoonsez voltage control! Credit goes to him for the code. I just added it to the kernel.
You can control this in Kernel Adiutor, but remember, adjusting voltages can be dangerous and may alter the space time continuum of your phone.
Sent from my SM-G900V using XDA-Developers Legacy app
Praise God, another kernel update!
Over clocked the GPU to 600 MHz ( a 4% gain ) without increasing voltage! Its been working great all day, but I don't play heavy graphics games, so a gamer should give it a go and let us know the results!
Sent from my SM-G900V using Tapatalk
AlaskaLinuxUser said:
Praise God, another kernel update!
Over clocked the GPU to 600 MHz ( a 4% gain ) without increasing voltage! Its been working great all day, but I don't play heavy graphics games, so a gamer should give it a go and let us know the results!View attachment 4169752
Sent from my SM-G900V using Tapatalk
Click to expand...
Click to collapse
WOW!!! testing now , pretty much for me i play one game pretty much all day , so def will test now and report back if any issues occured during the time period.
also my question is , do you see any possibilities of gpu voltage control?
also do include the kcal v2 for the screen (rgb) calibration. to properly dim the blacks and pop up colors.
if you keep this up , seriously hands down your kernel will turn-out to be the best kernel for the S5 , especially since you are putting in new feaures that the other kernels don't have. I mean a gpu overclock , i dont think no other dev have accomplished that.
KazuDante said:
WOW!!! testing now , pretty much for me i play one game pretty much all day , so def will test now and report back if any issues occured during the time period.
also my question is , do you see any possibilities of gpu voltage control?
also do include the kcal v2 for the screen (rgb) calibration. to properly dim the blacks and pop up colors.
if you keep this up , seriously hands down your kernel will turn-out to be the best kernel for the S5 , especially since you are putting in new feaures that the other kernels don't have. I mean a gpu overclock , i dont think no other dev have accomplished that.
Click to expand...
Click to collapse
Well, actually @ktoonsez has a kernel that over clocked the GPU much higher than me. However, my focus is on over clocking without increasing voltage.
As for voltage control for the GPU, I hope so.
I will look into kcal v2? I was thinking of adding @faux123 fauxsound next.
Most of the work I do is piggy backed off of great work from people like ktoonsez, Faux123, and @javelinanddart, so I can't take much credit. Thanks for the kind words though!
Sent from my SM-G900V using Tapatalk
AlaskaLinuxUser said:
Well, actually @ktoonsez has a kernel that over clocked the GPU much higher than me. However, my focus is on over clocking without increasing voltage.
As for voltage control for the GPU, I hope so.
I will look into kcal v2? I was thinking of adding @faux123 fauxsound next.
Most of the work I do is piggy backed off of great work from people like ktoonsez, Faux123, and @javelinanddart, so I can't take much credit. Thanks for the kind words though!
Sent from my SM-G900V using Tapatalk
Click to expand...
Click to collapse
actually yea Faux sound would be great as well.... ps. had a random reboot occured , the phone was just siting there charging , but noticed now that its stuck in a bootloop....not sure if its the kernel since its the first time that occued and the only change made was the kernel today.
KazuDante said:
actually yea Faux sound would be great as well.... ps. had a random reboot occured , the phone was just siting there charging , but noticed now that its stuck in a bootloop....not sure if its the kernel since its the first time that occued and the only change made was the kernel today.
Click to expand...
Click to collapse
Interesting. Could you pull a last kmsg if it happens again? Thanks.
Sent from my SM-G900V using Tapatalk
AlaskaLinuxUser said:
Interesting. Could you pull a last kmsg if it happens again? Thanks.
Sent from my SM-G900V using Tapatalk
Click to expand...
Click to collapse
So far it has not happened again but i will keep a close watch on it. but i highly think that its a rom related issue.
Trouble with FauxSound....
Just an update, I am working on the FauxSound mod, but something keeps going wrong. I end up with no sound. WIP.
AlaskaLinuxUser said:
Trouble with FauxSound....
Just an update, I am working on the FauxSound mod, but something keeps going wrong. I end up with no sound. WIP.
Click to expand...
Click to collapse
How is the project coming along?
KazuDante said:
How is the project coming along?
Click to expand...
Click to collapse
Great question. I'm still having trouble with faux sound. I decided to table that for now and work on a few other improvements for the S5 instead.
Sent from my LG-H811 using XDA-Developers Legacy app

[Discontinued]AweSome Kernel For Le2 [Snapdragon]

Awesome Kernel For LeEco Le 2
WARNING:
Code:
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this Kernel
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you.
Note:
Only For Oreo Roms!!
SUPPORTED DEVICES:
LeEco Le 2 X520
LeEco Le 2 X526
LeEco Le 2 X52
INSTALLATION INSTRUCTIONS:
- Download Awesome Kernel Latest Build From The Links in Second Post
- Flash the AweSome Kernel zip File from TWRP/RWRP Recovery
- Wipe Cache (Optional)
- Reboot Enjoy
KERNEL SOURCE:
Github
Donate If You Like My Work:-
PayPal
Paytm
Number :- 9022454566
Download Link:-
Click Here To Download
XDA:DevDB Information
AweSome Kernel For Le2 [Snapdragon], Kernel for the LeEco Le 2
Contributors
ProPrk
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1.1
Created 2018-04-03
Last Updated 2018-06-25
It'd be` nice for you to include some features of this kernel in your post...
Governors, Voltage control, KCAL suppourt... things like that. But I'll flash It and see for myself.
Edit: Maybe you undervolted it?
Can we use this for AOSP extended OREO ROM?
Tested for an hour.
No heating issue. Absolutely no heat generated by the phone. Would recommend this to all Oreo users.
BMWM5V8 said:
It'd be` nice for you to include some features of this kernel in your post...
Governors, Voltage control, KCAL suppourt... things like that. But I'll flash It and see for myself.
Edit: Maybe you undervolted it?
Click to expand...
Click to collapse
I dont add those stuff
Me kinda thinking to fix heat first so i did.
In next update u will find cool features
U can also recommended me to Add Some stuff
upendrae2 said:
Can we use this for AOSP extended OREO ROM?
Click to expand...
Click to collapse
All oreo roms
ProPrk said:
I dont add those stuff
Me kinda thinking to fix heat first so i did.
In next update u will find cool features
U can also recommended me to Add Some stuff
Click to expand...
Click to collapse
Any chance you could add support for KCAL?
ProPrk said:
I dont add those stuff
Me kinda thinking to fix heat first so i did.
In next update u will find cool features
U can also recommended me to Add Some stuff
Click to expand...
Click to collapse
I understand. I think some great features would be:
1. Voltage Controls
2. Adreno Idler driver for the GPU (more battery life)
3. Smartmax_eps Governor and dancedance Governor for even more battery life
4. KCAL suppourt for adjusting screen colour
Thanks for taking my suggestions into consideration. Much respect
Pleas add Wireguard VPN. Simple and painless addition. See the Wireguard thread 4 implementation. A couple of extra lines of build code and ur there. I'd appreciate it. TThe fastest VPN and easiest to set up. Thanks....
BMWM5V8 said:
I understand. I think some great features would be:
1. Voltage Controls
2. Adreno Idler driver for the GPU (more battery life)
3. Smartmax_eps Governor and dancedance Governor for even more battery life
4. KCAL suppourt for adjusting screen colour
Thanks for taking my suggestions into consideration. Much respect
Click to expand...
Click to collapse
Add some schedulers too... especially "Zen" scheduler which I personally think gives the best real time performance....
And if you can increase the battery performance and optimisation...
Gray90 said:
Add some schedulers too... especially "Zen" scheduler which I personally think gives the best real time performance....
And if you can increase the battery performance and optimisation...
Click to expand...
Click to collapse
Back when I was using a galaxy s4, the performance gain from using zen was really noticeable. I haven't noticed that much of a difference these days, since this phone here is a relatively modern device. But, let's see what the dev has in store for us in future updates.
Didn't work for me, my phone still heats up quicker than my toaster. Lol
When surfing the browser of the smartphone is heated.
When watching videos too.
Installed the kernel AweSome.
On stock firmware in these tasks,the smartphone cold.
BMWM5V8 said:
I understand. I think some great features would be:
1. Voltage Controls
2. Adreno Idler driver for the GPU (more battery life)
3. Smartmax_eps Governor and dancedance Governor for even more battery life
4. KCAL suppourt for adjusting screen colour
Thanks for taking my suggestions into consideration. Much respect
Click to expand...
Click to collapse
Done :v
jjo21631 said:
Pleas add Wireguard VPN. Simple and painless addition. See the Wireguard thread 4 implementation. A couple of extra lines of build code and ur there. I'd appreciate it. TThe fastest VPN and easiest to set up. Thanks....
Click to expand...
Click to collapse
DONE :V
zanishq said:
Didn't work for me, my phone still heats up quicker than my toaster. Lol
Click to expand...
Click to collapse
Use setting what i used in images
s.l.a.s.h.e.r said:
When surfing the browser of the smartphone is heated.
When watching videos too.
Installed the kernel AweSome.
On stock firmware in these tasks,the smartphone cold.
Click to expand...
Click to collapse
After flashing kernel use my settings and let it cool down first
BMWM5V8 said:
Back when I was using a galaxy s4, the performance gain from using zen was really noticeable. I haven't noticed that much of a difference these days, since this phone here is a relatively modern device. But, let's see what the dev has in store for us in future updates.
Click to expand...
Click to collapse
I actually found a non-scientific method of actual measuring the performance gains in schedulers.... What I do is download a game called vainglory from play store which is a fairly big game for Android.... So whenever I open up vainglory after the installation, the game starts to extract files... During this I just measure the time taken by the phone to complete it....I found out that ZEN was noticeably faster than CFQ,BFQ and Noop...the worst was DEADLINE...though Deadline gives a better touch response while gaming and decreases the input lag at the cost of multitasking....
Sorry for the noobness, but I don't have the scheduler or the CPU governor you are using.
ProPrk said:
Done :v
DONE :V
Use setting what i used in images
Click to expand...
Click to collapse
Thanks
oh i wanted to ask you about your FIREHOUND rom for this device. It has the problem where call audio does not go to bluetooth. So I had sent you a log of it in your PM to try and help.
---------- Post added at 06:26 AM ---------- Previous post was at 06:25 AM ----------
Gray90 said:
I actually found a non-scientific method of actual measuring the performance gains in schedulers.... What I do is download a game called vainglory from play store which is a fairly big game for Android.... So whenever I open up vainglory after the installation, the game starts to extract files... During this I just measure the time taken by the phone to complete it....I found out that ZEN was noticeably faster than CFQ,BFQ and Noop...the worst was DEADLINE...though Deadline gives a better touch response while gaming and decreases the input lag at the cost of multitasking....
Click to expand...
Click to collapse
ohhh nice. You've definitely taught me something.
zanishq said:
Sorry for the noobness, but I don't have the scheduler or the CPU governor you are using.
Click to expand...
Click to collapse
Flash 1.3 first ._.
BMWM5V8 said:
Thanks
oh i wanted to ask you about your FIREHOUND rom for this device. It has the problem where call audio does not go to bluetooth. So I had sent you a log of it in your PM to try and help.
---------- Post added at 06:26 AM ---------- Previous post was at 06:25 AM ----------
ohhh nice. You've definitely taught me something.
Click to expand...
Click to collapse
Redmi 4x also having this problem not fixed yet
Let see in future may be we got fix

Categories

Resources