yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] ImSpiderman:
Tested only v4, my H815 is very smooth and it's never hot, but i had a reboot today. Don't really know about battery, just seems that there are some improvements compared to stock
[G4 Android Development] renguer0:
The only app that have lag in my phone with v4 mod is Tapatalk. Thanks for share, it really improves the smothness and reduces lag without more battery drain. ATM i didn't tested with full load of CPU or GPU but heavy multitasking is working very good.

No reboots, no problems so far.
[G4 Android Development] Darkmasterhk:
i guess i can just use an rootexplorer for that, but do i need to change some permissions afterwards or will it be ok? :confused:
[G4 Android Development] Robshr:
Yes you will need to set the permissions if you extract the files just set them the same as your originals were
[G4 Android Development] wadamean:
After much testing the v3 for me is the best of the best. Phone cools down real fast, stays cool and barely and rarely gets to warm.
[G4 Android Development] Ramsey:
I'm waiting before installing this but most people are agreeing that v2 is the best out of all 4 and that the 4th version isn't as good as the others. What I gather is that 3 and 4 make some phones reboot and 4 has reduced battery life a bit and for some a hotter phone.

I hope the 5th iteration isn't based on the 4th but on version 2.

Regardless, can't wait for the next release as this is great work Robshr!
[G4 Android Development] hkfriends:
Hi Rob

I grab the Lg V10 's thermal-engine-8992.conf here, would you please take a look any good value inside?

V10 should be similar hardware with same CPU
[G4 Android Development] 220volt:
I tried it, but did fail when flash in TWRP.
[G4 Android Development] Darkmasterhk:
i don't have an recovery installed to test it, but i guess it fails because the mod is inside a subfolder.

just repack the stuff inside the mod_v2 folder into a new .zip, so that it contains META-INF + system in its root
[G4 Android Development] Kemby13:
It's not meant to be flashed in TWRP, srry i forgot to mention it in my OP. (corrected)

Simply unzip and manually copy over the 2 files to System/Etc/ folder and set 6-4-4 permissions...
[G4 Android Development] 220volt:
Is this the same but flashable?

https://www.androidfilehost.com/?fid=24052804347809406

Skickat från min LG-H815 via Tapatalk
[G4 Android Development] Kemby13:
Probbably yes, but i can't verify it because i don't have twrp...

Like i said, simply unzip, copy 2 files from system/etc/ (which you just unzipped)

to root/system/etc/ and set permissions to 6-4-4. How hard can that be?

All you need is a root explorer, i recommend "Solid explorer".

It should look like this:
[G4 Android Development] Robshr:
Just to let everyone know I put version 2 back up in the op
[G4 Android Development] Robshr:
Yes it is
[G4 Android Development] Robshr:
Here is a new modified version of version 2 give it try and let me know

Change log- lowered big and little cluster thresholds

https://www.androidfilehost.com/?fid=24052804347838652
[G4 Android Development] Kemby13:
Gonna try it right now :) and report back...

I'm curious, what are the tresholds set to now?
[G4 Android Development] montrealguy:
Hi Rob,

The biggest problem that most of us have is the very slow charging of our phones with our stock charger AND QC chargers. When we put our phones somewhere cold, the phone charges much faster. The problem is that the Snapdragon seems to be too sensitive to temperature: when we plug it in normally, it doesn't even get hot- but it still throttles the charging. If we use the phone while it is plugged in, it just stays at the same battery level- it only charges faster when we're not using the phone or the screen is off.

Can you use your genius to figure out a solution to this?
[G4 Android Development] Kemby13:
I may be wrong here, but i think that slow charging is the cause of many fluctuations in your power instalations, as well as temp.

There is a simple way to test this, take your charger to diferent places (your work, friends gouse...) and try to charge the phone there.

I get different results almost every time. For example, my phone charges faster with a slower charger (samsung 1200mAh)

when used in my workplace, than my LG charger (1800mAh) when used at home... How do you explain that? I also find that

my external charger (xiaomi, capacity=10400mAh, charging=2100mAh) charges the phone a lot faster than my fast charger.

Probbably because it gives the phone much "cleaner" power, so the electronics inside the phone don't need to regulate the

the voltage and amps as much as it does when using wall chargers. I hope you understand my point...
[G4 Android Development] geogaddi47:
I've found that there are two sets of values in the thermal-engine-8992.conf file under [battery_monitor] and [qc20_battery_monitor] that affect charging rate. In the current modded file, they are set to 2000, 600 and 300. I noticed that these values appear to reflect the charging rate in mA at different temperatures (for example, I get no more than 300mA when my phone is hot but up to 2000mA when cool). I changed all values to 2000 and the phone does appear to charge more quickly regardless of the battery temperature. I'm not sure if this is safe or advisable, but for the moment it fixes the problem for me and I have faster charging with the screen on.
[G4 Android Development] JeremyChen:
Mr. montrealguy, my thought is the same. :good:
[G4 Android Development] ergysnooblol:
Can i flash this mod with flashfire?
[G4 Android Development] Ramsey:
Agreed! If there's a way to solve this (safely) then I am willing to test.
[G4 Android Development] montrealguy:
I think that you're probably wrong. I've tried it in different locations and the result is the same. If I try and charge while the phone is being used (surfing, texting, etc), it will not charge faster than the usage rate (extremely slowly). If you close the screen or not use your phone, it charges MUCH faster.

In retrospect, it seems as if LG was probably anticipating using the Snapdragon 810 (with overheating issues) and just kept the same parameters with the 808.
[G4 Android Development] Kemby13:
U may be right, i'm just not used to touch my phone a lot while it's charging.

Well not while it's charging via wall charger at least... On the other hand while it's

connected to my external battery i use it quite a lot, but never noticed slow charging rate...
[G4 Android Development] Robshr:
Let me see what I can do

Will have something up shortly for testing

OK anyone wanting to test let me know if the charging times got faster or slower

and also if the phone heats up more or stays the same please get some charging times and temps before you install the mod then time it and temps after the mod thanks

https://www.androidfilehost.com/?fid=24052804347839127
[G4 Android Development] Ramsey:
Does this include also the CCT mod v2.1 ?
[G4 Android Development] oile:
Robshr can you explain me the difference between algo type monitor and ss, and the meaning of "action_type" number? Thank you
[G4 Android Development] Robshr:
OK I may be wrong but from what I'm understanding to put it simply is algo type monitor basically watches whatever that line if code is pointing to say the CPU it'll monitor the temps and when they reach a certain thresholds it triggers the action written below which could be lowering the frequency of the CPU

And the algo type ss basically just executes one command at a certain threshold whereas the monitor can have multiple thresholds and limits. I think the ss is triggered when it's corresponding sensor sees its reach a certain point

The action type number tells where the code is to be executed
[G4 Android Development] oile:
Thank you! And do you have a more specific knowledge about the action type number? So many numeric variables, I don't know what they actually will produce
[G4 Android Development] Robshr:
When it says

Acton type 1000

for example that number shouldn't be changed as it points to the hardware the code is to be executed on

Only Acton info those values can be altered to certain points
[G4 Android Development] oile:
Oh, ok. Wich file are you using a reference table for number- hardware relation?

Have you given a look at the v10 file? A lot of thresholds added. Can the distance between thresholds numeric characters have any influence?
[G4 Android Development] mirko93s:
What is the difference between v4 and v2.1??

I'm on v4 and it is very smooth but it seems to be more hot in heavy games and less battery life...
[G4 Android Development] Ramsey:
Phone heats up the same amount. I tried a game and it became hot after 10 minutes.

Phone feels smoother (it's my first time using the CCT mod), as if there's less throttling.

There is no difference with charging speed, it's still super slow. I had my screen on browsing for 5 minutes and it stayed at 20%. When I turned off screen after 3 minutes it was at 23%. So this version didn't fix the charging.
[G4 Android Development] Kemby13:
I've been using v2.1 for 2 days now and i must say i'm impressed. No lag whatsoever, less heat

output and it's more conservative on the battery when compared to v2, v3 and v4. Great work!
[G4 Android Development] 220volt:
Agree totally.
[G4 Android Development] silent_silver:
Hi Robshr,

is there a chance to get an extreme performance version? Raising limits so we have nearly no thermal throttling at all?

I don't care about heat, living in cool environment and winter is coming as well ;)

Would be awesome and really appreciated.

Kind regards
[G4 Android Development] takeoff342:
Hey Rob,

you maybe know the Throtteling Mod from sezersimsek. He ported the thermal files from the new LG V10 for the G4 and made a mod too. What can u say campared to your mod? Maybe in sezers mod are usefull Settings for your own mod?

In sezers mod is a 3rd file i never seen in your mod, can u take a look and explain for what These file is usefull or important?

I hope with the attached file (sezers mod) i can help u a bit with your work!
[G4 Android Development] oile:
Who is this guy? He has only added lcd management on v10 file.

I don't know if we have "vs_temp" sensor
[G4 Android Development] Robshr:
V-4 has some extra code in hopes of improving the mod (which were experimental)

V-2.1 is a improved version of v-2 it does not have anything which was added in version 3 or 4

And since v-2 has gotten the most votes so far I'd figure I would start with that one and make a v-2.1

And now with v-2.1.1 I'm concentrating mainly on speeding up charge times
[G4 Android Development] JeremyChen:
After using v2.1, I found something.

When I play Real-Racing 3 after one hour, the game starting lag.

It never happening in v4, so I revert to v4...
[G4 Android Development] oile:
Wow, one hour of real racing without throttling is a record. Can you report your temps? Do you live in a cold environment?

Game starts lagging when gpu reaches 367 MHz.

That guy sezersimsek could be good in making roms but he has clearly not tested his mod. It's simply not working.

I use the Qualcomm profiler app to check if everything is correct.

I have created a mod having inspiration from v10 files (wich thresholds are basically not applicable to g4 since it reads another sensor). This is intended for gamers who live in warm cities and want the device as cool as possible without having to deal with lag so soon. So big CPUs will be clipped down and then deactived slowly, gpu will get down to 450mhz fairly fast (this frequency is enough for rr3 without lags), stays that way for a while and then drop to 367mhz when there is real need to cool down.
[G4 Android Development] JeremyChen:
After playing RR3 in one hour later, the cpu temp is 46`c(see in kernel adiutor) in CTT mode v2.1.

I think the temperature not so high is because I under clock the two big cores in 1536Mhz & I turn two little cores off.

ps:I often play that game more than two hours in CTT mode v4, but that situation never happened.
[G4 Android Development] montrealguy:
Thanks Rob. I tried it and the charging rate with the screen on is exactly the same. Just out of curiosity, what strategy are you using:

a) lowering the temperature of the device while screen on

b) changing the battery charging code in the phone that tells it to stop/throttle charging while screen on or at a specific temperature. For example, allowing a much higher temperature while quick charging, etc.
[G4 Android Development] Juzman:
I have noticed in the Genesis Rom thread that there is a custom Thermal Mod for the rom which changes these options. What are the benefits? The poster lowered thresholds and thresholds_clr by 30000.

[LCD_management]
algo_type monitor
sensor xo_therm
sampling 1000
thresholds 14000 17000 20000 23000
thresholds_clr 12000 15000 18000 21000
actions lcd lcd lcd lcd
action_info 255 232 208 183
action_type 2500

Also for us that don't game very often, would it be beneficial to change:

device_max_limit 367000000

to

device_max_limit 267000000

As this would shave an extra 100MHz off of the GPU?

I just used Kernel Aduitor to change the settings for CPU max / min and GPU max / min. :)
[G4 Android Development] Robshr:
I don't see much benefit at all maybe a slight increase in battery but it's hard to say I doubt it though because as far as the screen most of us never have it at max brightness for that to affect us and the GPU I think would hurt performance more than it would gain in battery
[G4 Android Development] wadamean:
[MENTION=4888382]Robshr[/MENTION] what do you think about the new V10 thermal mod for g4 compared to your mod? its been ported from the genesys rom creator.

sampling 5000

c_mode 6

lcd_adjust_thresh 45

lcd_adjust_max_level 40

[LITTLE_CLUSTER_management]

algo_type monitor

sensor vs_temp

sampling 10000

thresholds 42000 44000 50000

thresholds_clr 40500 42500 48500

actions cluster0 cluster0 cluster0

action_info CLUSTER0_MAX 1248000 960000

action_type 0

[BIG_CLUSTER_management]

algo_type monitor

sampling 10000

sensor vs_temp

thresholds 37000 39000 41000 43000

thresholds_clr 35500 37500 39500 41500

actions cluster1 cluster1 cluster1 cluster1

action_info CLUSTER1_MAX 1440000 1248000 960000

action_type 0

[GPU_management]

algo_type monitor

sensor vs_temp

sampling 10000

thresholds 38000 40000 42000 45000 47000

thresholds_clr 36500 38500 40500 43500 45500

actions gpu gpu gpu gpu gpu

action_info GPU_MAX 490000000 450000000 367000000 300000000

action_type 0

[LCD_management]

algo_type monitor

sensor xo_therm

sampling 1000

thresholds 12000 14000 16000 18000

thresholds_clr 14000 16000 18000 20000

actions lcd lcd lcd lcd

action_info 255 245 208 183

action_type 1500

[battery_monitor]

algo_type monitor

sensor vs_batt

sampling 10000

thresholds 46000 47000 49000

thresholds_clr 44500 45500 47500

actions battery battery battery

action_info 1000 800 300

[qc20_battery_monitor]

algo_type monitor

sensor vs_batt

sampling 10000

thresholds 45000 47000 49000

thresholds_clr 43500 45500 47500

actions battery_quick battery_quick battery_quick

action_info 3000 800 300

[wlchg_monitor]

algo_type monitor

sensor vs_temp

sampling 10000

thresholds 45000 47000 49000

thresholds_clr 43500 45500 47500

actions wlchg wlchg wlchg

action_info 700 600 500

[SS-GPU12_JUNCTION]

algo_type ss

sampling 250

sensor gpu

device gpu

set_point 90000

set_point_clr 60000

action_type 0

[SS-GPU11_JUNCTION]

algo_type ss

sampling 250

sensor tsens_tz_sensor11

device gpu

set_point 90000

set_point_clr 60000

action_type 0

[SS-CPU0_JUNCTION]

algo_type ss

sampling 65

sensor cpu0-1

device cluster0

set_point 90000

set_point_clr 60000

action_type 0

[SS-CPU2_JUNCTION]

algo_type ss

sampling 65

sensor cpu2

device cluster0

set_point 90000

set_point_clr 60000

action_type 0

[SS-CPU3_JUNCTION]

algo_type ss

sampling 65

sensor cpu3

device cluster0

set_point 90000

set_point_clr 60000

action_type 0

[SS-CPU4]

algo_type ss

sampling 30

sensor cpu4

device cluster1

set_point 90000

set_point_clr 60000

action_type 0

[SS-CPU5]

algo_type ss

sampling 30

sensor cpu5

device cluster1

set_point 90000

set_point_clr 60000

action_type 0

[CPU4_HOTPLUG_MONITOR]

algo_type monitor

sampling 1000

sensor vs_temp

thresholds 51000

thresholds_clr 48500

actions hotplug_4

action_info 1

[CPU5_HOTPLUG_MONITOR]

algo_type monitor

sampling 1000

sensor vs_temp

thresholds 48000

thresholds_clr 45500

actions hotplug_5

action_info 1
[G4 Android Development] nabbasi:
Does anyone have issue phone heats up while on call..its happen with stock and this mod (2.1 thermal)
[G4 Android Development] Knowbody42:
If you have bad reception, it uses more power to try to improve the signal.
[G4 Android Development] 012512:
Is there any for h818? Dual sim variant?
[G4 Android Development] mirko93s:
I tested v2.1 for few days with genesys rom 2.0 and kernel superxe 1.3 and this is the result... 5 hours of screen on with 3 hours of gaming... The system is always stable and smooth and it is less hot.
[G4 Android Development] rav101:
Hi Robshr,

I installed v2.1 on a H815 Euro unbranded phone (firstly on stock rom and then as of yesterday on 7 HD 6.1). I didn't go through full charge cycles or do temperature checks but I do feel like the phone was getting hotter whilst on charge since installing this modification. I haven't tried any of the other versions so cannot do a comprehensive comparison at this stage.

Edit: I should note that during general use the phone seems to run nice and cool and it is also running very smoothly as well.

Regards,

Ravi
[G4 Android Development] nabbasi:
I have full bars its heating up wifi calls too on whatapp skype. It never happen with me on s4...
[G4 Android Development] krazienluv10:
hi can i flash 2.1.1 on my verizon g4 stock rom? thanks!!!
[G4 Android Development] Knowbody42:
If it's rooted, just copy the two files to the /system/etc directory, renaming the originals first.

Try removing bloatware I guess.
[G4 Android Development] takeoff342:
from where u get the 2.1.1 ?
[G4 Android Development] rav101:
https://www.androidfilehost.com/?fid=24052804347839127

It was posted a few days back but not specifically referenced as 2.1.1. The difference with this version is to try and improve charging times, it is experimental so maybe take charge time and temp before you install to help op.
[G4 Android Development] AmGaD-SaLaH:
Thanks for your great work

but does this work with H818p ?

i don't want bootloop
[G4 Android Development] krazienluv10:
ic, Just wanted to clarify, so i do not have to flash the zip file 2.1 on my verizon g4? All i need to do is just swap the two files from the second post with the ones from the system/etc directory?? appreciate the help! Thanks
[G4 Android Development] Kemby13:
Yup, just don't forget to set permissions to rw-r-r.

Before you copy the files i advise you make a backup of the originals...

---------- Post added at 07:54 AM ---------- Previous post was at 07:44 AM ----------

Here are some instructions for anyone who doesn't have custom recovery or just isn't sure how to make this great mod work:

0) install a root explorer from google play (i recommend Solid Explorer)

1) go into root/system/etc and make a backup of your original files (thermal-engine-8992.conf and thermal-engine-default.conf)

2) extract/unzip the .zip file you downloaded (Solid explorer can do that)

3) copy 2 files from system/etc folder (which you just extracted)

4) paste them into root/system/etc and overwrite the original files

5) go into properties of both files and check permissions (they need to be "rw-r-r" or "6-4-4")

6) after you verify the permissions, reboot

It goes without saying, you must have root privileges for this to work ;)
[G4 Android Development] amd206:
Thanks for the mod. Am I supposed to copy META-INF into the 'system/etc' as well? or just copy the two thermal config files and overwrite the other two?
[G4 Android Development] Robshr:
Just the thermal files
[G4 Android Development] ImSpiderman:
How about using this mod on 6.0? I mean, it's needed?
[G4 Android Development] shurensly95:
I am on 6.0 and will install this for sure it made a huge difference on 5.1 but atm i cant download the files seems like hosting page has issues
[G4 Android Development] Donric13:
Please report if it's working (i think yes but there are some people stuck in MM so i would more like to be a early follower....)

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] shurensly95:
Just installed it right now and phone still working i used flashify for it but it seems like phone stays hot idk i used to use a v10 ctt mod which worked great but yea ill test this one for today. Maybe its hot cuz im using it while listening music on earplugs and browsing.
[G4 Android Development] Robshr:
Post your original thermals files and I'll take a look
[G4 Android Development] shurensly95:
I alrdy installed ur mod... V2.1 though i gotta say in past 5 mins my battery drained with 25% and phone keeps being super hot even if reset and its a clean install still.
[G4 Android Development] Robshr:
Well I need as much information as you can give me to see what's doing it example reinstall the ROM without the mod so you can get me the original files and if it gets hot and battery drains without mod
[G4 Android Development] shurensly95:
Edit it works great now the cpu draining is caused by dex2oat i have no idea what this is
[G4 Android Development] Robshr:
If you're rooted with twrp you can just dirty flash the ROM over
[G4 Android Development] binniebin:
[MENTION=4888382]Robshr[/MENTION] can you take a moment to see is something different in 6.0 ? Not sure is it possible to use your mod on MM
[G4 Android Development] Robshr:
Can you post the original thermal files
[G4 Android Development] binniebin:
Sure, grab link

https://drive.google.com/folderview?id=0B53BVb-Ro5GzaDdOQ1hZaEd1M1k&usp=sharing
[G4 Android Development] iamjerry123:
How is this humanly possible? My G4 has been lagging like crazy the past few weeks. This has sped up my G4 like no other. OP, you are the MAN. :good::good::good:
[G4 Android Development] ImSpiderman:
Tested 2.1, it worked really good on Lollipop but doesnt seem to do anything in MM, my phone is everytime very hot
[G4 Android Development] twoxa:
is this mod going to work with MM roms? thanks mate!
[G4 Android Development] Croize:
i put the 2.1 in, did antutu bench 5 times, barly got warm, before it got rly hot, thank you :)
[G4 Android Development] hauhauhau7:
hello, can i install the mod if i have a locked bootloader? the stutters in apps especially Tapatalk drives me crazy, thanks
[G4 Android Development] Darkmasterhk:
if you're rooted just do what was written one page back..
[G4 Android Development] shurensly95:
I had the mod running but phone was hot and battery was gone quickly so i went back to stock MM. I tried them all and also the ctt mod from lg v10
[G4 Android Development] Robshr:
Would you post me a link to marshmallows thermal files as I've not yet had a chance to look at them and possibly mod them

Thanks
[G4 Android Development] oile:
Rob, here they are :)
[G4 Android Development] roydest:
I just flashed the G4 thermal Mod rc v-4 with FlashFire without any trouble.

Phone:LG H815 EUR, V10d , Branded Vodafone (262-02)

I tested it with games and benchmarks and the Mod seems to work well. So far, the Phone is always cool and snappy ...

I'm going to continue to test a week and post the results...

+Robshr

Big Thanks for this great Mod !!
[G4 Android Development] konradsa:
How can you check that thermald is actually running and impacted by the mod? I am asking because when I use Kernel Aduitor and check the Thermal tab, it does't even look like thermald is used by default.
[G4 Android Development] Mangtas_666:
Version 2.1 is the best for me i have H815 SEA very stable no lags no heat at all and my device run smoother and faster
[G4 Android Development] llaugerm:
I was using the version 4 and my phone was really snappy but it was making my phone warm. Therefore, I ended up removing it.
[G4 Android Development] C.H.T.J.:
Does this work on MM :)? Thanks