yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] dorimanx:
not exactly.

if dual thermal is used, kernel release max freq faster than ROM thermal.

if only ROM thermal used, then its full restored on 55c.

if only Intelli is used then it's switching fast YOUR max temp - 5c. then cores maxed.

any way to tune ROM thermal look here.

https://github.com/dorimanx/Doriman...RNEL/system/etc/thermal-engine-8974.conf#L112

this is the thermal policy.

if you mod this and burn your device, do not come here, i will say to you!

I TOLD YOU NOT TO MESS WITH THIS!!! kapish? (understand)

now the tuning... (i will show you CORE0, but others are the same)

[SS-CPU0]
algo_type ss
sampling 50 <<how fast driver check temp, best not to touch
Sensor cpu0
device cpu
set_point 85000 << max temp before throttle
set_point_clr 65000 << lowest temp to release max freq on cores. - action_type!!!! (10c) = 55C!
action_type 10000 << Temp diff calc value.

So driver think like that:

checking core for temp every 60ms

if temp is above 85c cut freqs till it's get to 85 - action_type (10c)

when reached 75c it's holding that max freq.

if reaching again to 85 on that max freq, reducing more freqs till heat is again 75c.

holding there....

now heat is reduced to 75 and not rising, it's allow one more freq higher, all ok, no heat... release 2 more freqs! no heat (not going above 85) then check temp till it's reach 65 - 10 = 55c

then release max freq on all cores. and go drink beer. till next time.

Now alucard helped me to do this! :)

https://github.com/dorimanx/Doriman...mmit/169f7d5907cea2f27596b805f31a3d49d6f06872

now the logic is boosted like turbo nos! :)

when temp is high and cores are locked to thermal limit, and load drop, and cores are off by hotplug, and thermal release one freq higher to see if OK...

then magic happen! :)

All offline cores that where limited to thermal limit, set to be awaken on max allowed freq by Stweaks!

and core 0 is released too to his max.

if that is too hot, thermal correct max freq again, if all ok with heat.

we get instant performance boost!

no need to wait till 55c reached :)

Now that is ART of CPU CORE masters :)

LG didnt even close to such thing.
[G2 Android Development] Tinchoska:
My bad sorry...
[G2 Android Development] dorimanx:
good, why to quote all the post? i was working on it....

can you remove it from your post?
[G2 Android Development] carlos67:
Finally gave in and left 8.0.1 which was excellent - stable & smooth with decent battery. Been running 8.4 now for 5 hours and I gotta say, well done Dori! This is silky smooth and running cool. No issues to report only satisfaction.

Here's an observation though Dori.

I have cool tool polling every 1 second & although I have touch boost duration set to 3000 msec (3 seconds) in STweaks, cool tool shows boost duration for only approx 1 second, not 3 secs as set in stweaks.

Now either cool tool is showing incorrectly or touch boost duration is broken/buggy.

Edit: I see it's not touch screen boost. It's actually spike load boost duration. Is it possible to implement the feature for touchscreen boost?

So that on any touch event the cpu jumps to max set for x secs? This would eliminate the occasional micro lag I get while flipping through Flipboard pages one after the other. If the cpu stayed high on touch/flip then the micro lag would disappear.

As it is the cpu is up and down like a tarts knickers while flipping pages. Surely best/more efficient if it stayed high for 3 secs until no more touch input?
[G2 Android Development] dorimanx:
what you have is CPU Core number active for 3sec. not the touch boost.

touch boost is locking min freq to what you set for 40ms every 150ms intervals.

it's not something in seconds... it's ultra fast thing....

what you think of kernel speed now, X it by 1000!

that how fast all works in kernel.

so no i cant give you control for seconds, only ms, and it's not something you can measure with app.

Rom is too slow, when you see one min freq jump, its was actually 30 or more.

this why it's silky smooth.

i will reduce the touch boost default freq from 1.7ghz to 1.1ghz as now it's too much. and battery wasted, when set 1.1 all smooth the same, as we cant detect the change, (brain is too slow) :)

but battery is save more.

So all with 8.4 or 8.4.1 beta, reduce the touch boost to 1.1Ghz :)
[G2 Android Development] trongnghia2411:
Yesterday, I said that 8.4 was good, fast and smooth and hope not have to edit that post. Today, I have to write a new one reconfirming what I said in the previous post.

It was still fast and furious lol

Battery dropping so slow. 30 mins and 1% drop from 100 to 99 (i know it will drop quicker later but well, the 1st percentage always drop after 5 mins used for me, so defo an improvement)

My settings is intelliacitve on 4 cores ,reduce touchboost to 1.1 as recommended and alucard suspend gov

I hope there will remain no Sods for me as it was none before.

Thanks
[G2 Android Development] dorimanx:
if you wish you can join to beta testing, 8.4.1 is in BETA STORE.

and soon there will be new 8.4.2 :) with more controls, and turbo core boost! :)
[G2 Android Development] dorimanx:
To all my D802 BETA Testers! :)

I have uploaded new BETA 8.4.2 D802 to BETA STORE.

*Fixed performance degradation when freq reduced due thermal event.

now will be restored back to max every time temp is reduced.

by this boost performance to state of awesomeness!

*Tuned ROM thermal policy to work with 5c temp diff for freq cuts.

*Added controls for Touch boost driver in STweaks.

Test temp stability on stress

Keep testing global stability.

play with new controls :)

read descriptions before asking.

have fun and report.

only senior members please.
[G2 Android Development] Tinchoska:
One thing I don't get, trim, what it does? Will test new beta

Enviado desde un lugar muy muy lejano con mi D806
[G2 Android Development] jeebspawnshop:
TRIM runs the garbage collection on the internal memory of the phone.

It's a necessary process for flash memory, and for some reason, our phones don't have it built in from stock.

So Dori put it in.

Just leave it enabled in cron, and enjoy slightly better performance of the phone, especially after long periods of not rebooting.
[G2 Android Development] f4vr:
Using Dorimanx Kernel 8.4. When using Alucard Hotplug, even though the maximum cores is set to 4, it only uses 2. It will only work when I switched to MSM Hotplug.
[G2 Android Development] d_Schizzo:
Its because there are not more cores needed for the tasks you are doing. If i play games for example all 4 cores work with alucard. But if you need more power you can set "min cpu online" to 3 or 4. But then your battery will drain faster. Msm hotplug is more responsive and will turn more cores on on little load. So, if you need performence use msm hotplug and for battery use alucard. Since 8.4 i am using alucard hotplug and alucard gov on all cores and i am really impressed by the smoothness and the low battery drain.
[G2 Android Development] f4vr:
I really hope so because I already tried several ways to maximize the CPU usage. The 2 cores are already 100% but still not waking up the 2 other cores. At least Dorimanx can verify in case there's really a bug or it's just my case.
[G2 Android Development] Diechel:
No problems here with stress testing.

Did you try reset to default and only change hotplug to Alucard
[G2 Android Development] asrulz:
i'm using Alucard hotplug too. Most of the time it work on 2 cores but sometimes I can see the 3rd and 4rd are working too.
[G2 Android Development] Formhault:
First of all, I wasn't gonna blame you if I set thermal limit to 90 Celsius and the phone goes into subspace :silly:. Second of all, I wouldn't set the thermal limit above 80c. I would just raise the thermal threshold at which frequency is released (that 55c step).

So... If I use Dual Thermal, frequency will be released when the temp is not 55c, but even higher? That's what I had it set at all along, anyway.

Oh and you're right. Even when it goes hot and thermal throttling kicks in, phone is still fast :D :good:
[G2 Android Development] masteril:
8.4 pardus hd just get sod /:
[G2 Android Development] iko11:
Oh really ? You are running a very unique version (!) it's possible you to have SODs, where did you find the 8.0.4 version ? Where is your log ? Without log it's useless, it has been told million times in this thread !

LG-D802 Cloudy G3 2.0+Dorimanx 8.4.2
[G2 Android Development] d_Schizzo:
False Min Freq on CPU1

Hi [MENTION=2376110]dorimanx[/MENTION],

since Kernel v8.2 (since you added Synapse App) i noticed that the min freq on CPU 1 sometimes stuck at 1574mHz. It is only on this Core and with all Hotplugs and all Govs i tested so far (Alucard, Nightmare, Pegasusq, Ondemandplus and Ondemand).

I dont have any explantation for this behavior. Maybe you can enlighten me.... :)

Screenshots are attached.

Besides that, 8.4 and 8.4.2 are running great. Smoothness and low battery drain are stunning! :good:

New Milestone in my Opinion.
[G2 Android Development] Nigglenuts:
I have no actual explanation for this, but if you actually watch right above the frequencies of the cores, there is a message that states "scaling min and max frequencies are affected by thermal engine/driver and cpu boost driver". So I think it's simply displaying an incorrect frequency for a little bit, and even says that it will.

Sent From The Trail Of Untold Truths
[G2 Android Development] f4vr:
It's working now. I don't know what happened. Before even using the 2 cores at maximum the other 2 cores is still sleeping, now the other cores are waking even on small cpu usage.
[G2 Android Development] trongnghia2411:
U scared ur phone!
[G2 Android Development] ninjaskija:
I know its a noob question but how can i acess the beta store ;)?

nvm got it
[G2 Android Development] bloof:
Switch off your phone, wait 10 seconds, switch on again. Min freq should be back.
[G2 Android Development] d_Schizzo:
Yeah, i read about that in one of dori's comments. But this is more an workaround than a solution....:(
[G2 Android Development] kamil004:
hmm. i have my first SOD on this kernel. v8.4

... Sent by LG G2
[G2 Android Development] bloof:
Quick. Upload a log before you get hammered.
[G2 Android Development] Wimmme:
scroll to top of page, search this thread for "BETA", et voilà

even google knows: let me google that for you

first link

facepalm
[G2 Android Development] Steephig:
I know. :cowboy:

I had time, the opportunity, it was charging and I have had SOD's in the past.

Anyway, so far so good. Phone was OK this morning when my alarm went off, batt usage normal. Most SOD's happened at that time so this is a good sign.
[G2 Android Development] f4vr:
Maybe it heard me that I will replace it with an iPhone 6 Plus. Like that will happen. :laugh:
[G2 Android Development] Kemby13:
+1

I noticed the same stuck freq, but it's probably irrelevant.

Anyway i agree that this could easily be the new milestone...
[G2 Android Development] dorimanx:
Need to work on this too, there some bug with touch boost and thermal driver, if you turn screen off wait sec and on, its will be auto fixed.

I will do some more tests and bombard this bug too :)

Sent from my LG-D802
[G2 Android Development] dorimanx:
Thanks for report, you are getting level up in my opinion about you, keep it up :)

Sent from my LG-D802
[G2 Android Development] metalboy94:
Getting hot reboots on pardus HD 7.7. Possibly related to my Galaxy Gear, not sure at the moment.

https://docs.google.com/file/d/0B2WHnrh_noe2YmRGYXB3X2NYUFE/edit?usp=docslist_api
[G2 Android Development] kamil004:
easy :) only one SOD and first SOD in my G2.

There are no reasons for concern

Just inform that occurred at 8.4, dont panic ;P

... Sent by LG G2
[G2 Android Development] Formhault:
8.4 working fine (no SODs) on Pardus 7.7 for 36 hours now.
[G2 Android Development] zubeedubs:
Are all the d802 users experiencing sod's using latest supersu?? I was getting unresposiveness quite frequently with 8.4 till i flashed new supersu and so far ive gone 18 hrs without any problems..

eur-D802 / Lightning ROM V4 /Dorimanx kernel 8.4
[G2 Android Development] ALF@be:
First SOD

Hello DorimanX

I had my first SOD after 2 hours of sleeping today.

I use your last kernel 8.4 with [ROM][4.4.2][20D][Aroma] Sotmax Ultimate Stock V9+ LgG2 (D802).

This is the first time. So maybe just a Rom fault ?
[G2 Android Development] Enc0der:
The internet is full of information about this issue, 99% of the pages says it's NOT possible without modifying the cable etc' (some people did it and it indeed working for them, but they don't use the Y cable as-is) and sometimes also using modified kernels.

for example:

99% of the Y cables in ebay etc' explicitly say that it will NOT charge the phone (and that the power is used for running the external USB device, e.g. external Hard-disk) while using OTG, and the few who says that this is possible are also saying that this is explicitly compatible with Samsung Galaxy series and not any other phone/tablet...

Can you please provide a link to the SPECIFIC cable you are using (specific ebay item if it's from ebay), that is known to work with the D802 (Dorimax kernel) when using USB OTG and charging the phone at the same time?

Many thanks!
[G2 Android Development] d_ave:
Dori, what have you done, you're a magician! 8 hours on battery, 25 mins of screen time and 30 mins of calls have wasted only 10% of my battery! That's amazing, 8.4 is a killer Kernel! i even reduced my touch boost to 1 ghz as you advised and everything's nice and smooth, all the micro lag and stuttering i was mentioning before is gone:)
[G2 Android Development] xanthrax:
i`m using this cable

Micro USB Host OTG Cable With USB power for S2 i9100 S3 i9300 i9500 N5100 N7100

search on ebay , i`m going to check again if it is charging while using a pendrive

-=-=- [MENTION=4189888]Enc0der[/MENTION]

yes , it does charge while usb drive connected

pardus 7.7 ; dorimanx 8.4
[G2 Android Development] dorimanx:
Sad news :(

Neobuddy89 great developer for Nexus 5 that helped me a lot! has quit development :(

We had great time building kernel on both sides.

Some crap users attacked him and other crap users supported that attack.

and now he is gone.

he deleted his GIT and said goodbye in his thread.

I will always be happy to see him here.

So let it be a lesson to us, XDA cant afford to loose such skilled devs that do all

the best they can, and help others, and in the end, some group of noobs

destroy there work and will to keep doing good things for community.

Neo will be remembered as great DEV that made awesome stuff.

I hope to see him once again starting clean of crap users.

We must stay strong, and push out any DEV killers out of this community.

We had some, but they mysteriously vanished to the VOID, hahahaha....
[G2 Android Development] xanthrax:
Here is a screenshot

Sent from my Darkside of LG G2
[G2 Android Development] xanthrax:
I'm reporting like an a**hole for the past few weeks whenever I see bad guys, I don't care much, friends or whatever... This is xda developers not social networking, I feel so bad today...

Sent from my Darkside of LG G2
[G2 Android Development] Enc0der:
This is great news, thanks :)
[G2 Android Development] xanthrax:
here you go

http://www.ebay.co.uk/itm/2pcs-Micr...t=UK_Computing_USB_Cables&hash=item3ce4fd3b4b
[G2 Android Development] Enc0der:
As you can see it explicitly says in big red letters that charging is not possible.

But whatever... I'll buy it anyway and report back. :)
[G2 Android Development] dorimanx:
In kernel i have made HACK that allow to charge!

STOCK kernel cant charge, this is small things that users dont know :)

also you can use HDMI dongle without external power :)

not possible with STOCK.
[G2 Android Development] xanthrax:
YES !!!
[G2 Android Development] dorimanx:
So i thank you for your non stop support of any kind :)
[G2 Android Development] duki994:
[MENTION=2376110]dorimanx[/MENTION]

I had strange screen freeze on 8.4.1. Looked fast through log and didn't notice anything unusual.

Same thing happend on 8.4 (I used UV, so I suspected on it and didn't report. Now i used stock voltages).

Both times H+ data over network was ON.

I suspect ROM bug, because screen dimmed after ~30 sec.

Anyway I uploaded log, but I think it's 99% ROM bug.

8.4.1 works great. Now going to test 8.4.2. Seeing some superb battery life on 8.4 and 8.4.x

Keep up the excellent work :D

I hope I will donate to you when I earn my first money from playing with band (should be before new year :P) .Don't know if Paypal works good here. My friends couldn't send money but I hope it's fixed. :D

HDMI without external power? Did not know about that. Great :D

Sad news about Neobuddy89.

They should have respected his work, and help him, not attack him.

Let this be a lesson to everyone.
[G2 Android Development] carlos67:
[MENTION=419143]Dori[/MENTION], 8.4.2 running like a champ!

And thank you so much for giving us touch boost duration controls in STweaks. I'm loving this phone with your kernel.

You da man!
[G2 Android Development] iko11:
I never understand why some people think developers only have this projects in their lifes and they have to serve just their devices. Developers has a real life, has their own families after all they are humanbeings, they don't deserve this kind of agressive, disrespectful acts, first Dori and after thanks for every developer we didn't know their names.

LG-D802 Cloudy G3 2.0+Dorimanx 8.4.2
[G2 Android Development] Vollspacken:
Had some SOD's after dirty flashing 8.4, did a completely clean install with rom and so on and now i'm running 8.4.2 without SOD's or other bad things. In general i think that SOD's are caused by dirty installs of the kernels because it was the case on my device the last few times. Completely clean install always solved it. Going to report some battery feedback in the next days but at the moment it seems to be pretty good and without any micro lags and so on.

Keep up the good work and don't be annoyed from noobs which don't have knowledge about developing something! It's bad to see that neobuddy left xda because he did great work, tried his kernel on N5 too and worked flawlessly.
[G2 Android Development] Faakarna:
This kernel is just so fantastic on cloudy g3.
[G2 Android Development] saarxee:
Why the device charged very slow with your kernel?
[G2 Android Development] wadamean:
This kernel is super intelligent and yeah only when playing games or making the phone do a ton of things is when all four cores turn on and are used. When you turn off your screen it's usually just two cores to save the battery and what not.
[G2 Android Development] V1TRU:
If this is true, some errors must reside in flashing scripts. But Dori fixed them few days ago...
[G2 Android Development] xanthrax:
What is dirty kernel install?

Sent from my Darkside of LG G2
[G2 Android Development] ExDr:
He meant one without wipes.

In fact I always wipe cache/dalvik cache when flash new version, but 8.2/8.3 performed SOD despite clean installation
[G2 Android Development] victor0888:
7 hours with wifi
[G2 Android Development] dorimanx:
One core on sleep :)

Sent from my LG-D802
[G2 Android Development] dorimanx:
Nice, please post Battery stuff in qa, i will be happy to see it there too.

Dev thread is for bugs.

Sent from my LG-D802
[G2 Android Development] dorimanx:
To beta testers, alucard helped to fix the min freq stuck on thermal event.

I will upload 8.4.3 soon with fix :)

Edit: Uploaded to beta store.

Sent from my LG-D802
[G2 Android Development] masteril:
Reboot phone=all settings goes default stweaks(randomly) pardus hd 8.4 dori kernel
[G2 Android Development] f4vr:
It's not because of that but it's fixed already so never mind.
[G2 Android Development] iko11:
After reboot wait two minutes before you run Stweaks

LG-D802 Cloudy G3 2.0+Dorimanx 8.4.3
[G2 Android Development] masteril:
I opend the stweaks after 30 min..it happens randomly.
[G2 Android Development] iko11:
Never faced it.

LG-D802 Cloudy G3 2.0+Dorimanx 8.4.3
[G2 Android Development] d_Schizzo:
Thanks for the beta! But i must disapoint you, min freq on core 1 stucks also with latest beta. :(
[G2 Android Development] genevois26:
New Supersu 2.14

http://download.chainfire.eu/578/SuperSU/UPDATE-SuperSU-v2.14.zip
[G2 Android Development] bloof:
Thanks. Is it a beta?
[G2 Android Development] genevois26:
Stable.

---------- Post added at 08:49 PM ---------- Previous post was at 08:36 PM ----------

For me, it's ok with the latest BETA.
[G2 Android Development] dorimanx:
Hmm how did that happened?

What gov set for this core?

What termal protection is used?

what is your touch boost freq? Suspend freq?

Did it released its self after temp was low again?

Sent from my LG-D802
[G2 Android Development] victor0888:
only say that the battery works best with your kernel :good:
[G2 Android Development] d_Schizzo:
Hope this helps, if you show me how to log that i can send it to you
[G2 Android Development] Formhault:
I guess the phone cannot charge via HDMI / SlimPort dongle, no matter what. The microUSB on those dongles are for powering the video output, not current output for the phone, right?
[G2 Android Development] Diechel:
Installed BETA 8.4.3 with DorimanX OTA :)

First boot cpu3 not enabled only 3 cores.

Quad core set in STweaks

Msm hotplug working as it should Alucard hp only uses 3 cores no matter what load
[G2 Android Development] ilie321:
Hey in 8.4 i have super battery life thanks. Normally after 1 day im at 30-40% now 80% left wow.

A small thing Wi-Fi signal is to low. At 1m of router is 2 lines
[G2 Android Development] nexus_vl:
[MENTION=2376110]dorimanx[/MENTION] testing v8.4.3

Only Intelligent Hot Plug seems to respect my touch boost settings.

Min one core online, msm always takes two cores online, alucard only once and awhile, intelligent listens to the settings applied.

One more thing, my init.d script seems to have problems with the governor settings: /sys/devices/system/cpu/cpufreq/interactive/highspeed_freq for example does not apply settings, the directory seems to be still right.

All other script-lines like gamma, sysctl... still work, so I still have init.d support.

This started since the first version when governors could be different for each core.

So I presume it has something to do with that.

Any ideas?

Thanks in advance!
[G2 Android Development] AlexVipXDA:
Can u explain about mhl adapter?
[G2 Android Development] dorimanx:
yes, no change via HDMI dongle. that i cant hack.
[G2 Android Development] dorimanx:
battery = good :)

wifi = power management, why the hell you need full power 1m from router?
[G2 Android Development] Tinchoska:
Last beta seems to be really awesome!!!!!! A little bit hotter, but I am on charger right now, will tell tomorrow about battery life

Enviado desde un lugar muy muy lejano con mi D806
[G2 Android Development] dorimanx:
when you change that, interacive gov is set on cores that is active right now?

if not then this folder does not exist.

only when cores is ON it's appear then removed.

only cor0 is always online, so you need interactive set on core0 to be able to mod this.

O! and we dont have gamma controls..... so i hope you know what you do there.
[G2 Android Development] xanthrax:
I'm in bed now but tomorrow I will check again... I saw charging when connected to hdmi and USB using a dual cable

Sent from my Darkside of LG G2
[G2 Android Development] nexus_vl:
I did notice the folders changing after altering gov on core 0, but even then the script doesnt work.

Btw, always did use a script to alter gamma for more natural colors, looks like this:

#!/system/bin/sh

chmod 666 /sys/devices/platform/kcal_ctrl.0/kcal

echo "255 245 235" > /sys/devices/platform/kcal_ctrl.0/kcal

chmod 666 /sys/devices/platform/kcal_ctrl.0/kcal_ctrl

echo "1" > /sys/devices/platform/kcal_ctrl.0/kcal_ctrl

It definitly works cause I see change in white when rebooting and script comes in to effect.

Anyway, thanks!
[G2 Android Development] blastagator:
For some reason your kernel and twrp don't seem to get along. I'll put some more time into it when work slows down a bit. Got swamped the last 2 days! :(