yashsingh1/xdaforums huggingface dataset:
[Mi 3 Original Android Development] marko94:
[MENTION=5334172]Gnome[/MENTION]

Is this normal for msm_therm ? And what is it ?
[Mi 3 Original Android Development] Jhayzt:
XD Like I said, whatever works for each individual. I go for real world tests. Anyways, I felt the thermal throttle yesterday. Upon playing hearthstone, the game suddenly lags and the phone felt really hot(I mean HOT) to the point that I had to exit the app(there goes my rank gaming :( XD) then drop the phone on the table. And I notice one thing, when the phone enters deep sleep state and you wake it, the cpu ramps up really slow; FPS is 23ish then jumps back to 60. Maybe its just the ROM I'm using, Euphoria(why Euphoria? Heads Up notif. Lav it xD). I'll try using a different ROM later and see if it still suffers the same fate. By the way, I'm on 05122015. I'll try both 05112015 and 05122015; observe and see. :D Keep up the light Dev [MENTION=5334172]Gnome[/MENTION].
[Mi 3 Original Android Development] bahblo:
Waiting newest stuxnet+ here... :D

Maybe it can help : https://github.com/mi3-dev/android_kernel_xiaomi_msm8x74pro/tree/lollipop-mr1
[Mi 3 Original Android Development] Gnome:
Thats an AOSP kernel.

Edit

New nightly up. Uncheck MPD if you want to use the auto_hotplug feature, option is available on trickster but it doesn't show up on kernel auditor.
[Mi 3 Original Android Development] praveen7682:
I just flashed the latest nightly and my initial thought is very good..I am running Euphoria rom...everything is working as it should be..I will comeback with my battery stats...
[Mi 3 Original Android Development] Hadi al-Haiqal:
Waiting for your feedback.. Now i'm in xenon HD..
[Mi 3 Original Android Development] Shivam Kuchhal:
[MENTION=5334172]Gnome[/MENTION] I am getting this error with latest Uber GCC 6.0 toolchain. Any help? :rolleyes:
[Mi 3 Original Android Development] praveen7682:
What's your kernel settings? can you share it with me...
[Mi 3 Original Android Development] SurajH:
Dev.

Ivan update MI 3 kernel source... So please check out..

U get special things for you for building more Awesome kernel.

Thanks for awesome kernel
[Mi 3 Original Android Development] Gnome:
send me the full log, The error is not there, or build with:

make -j8 2>&1 | tee kernel.log
[Mi 3 Original Android Development] gary138.138:
[MENTION=5334172]Gnome[/MENTION] I regret to inform you that, after flashing the latest nightlies, my phone still shut down upon reaching 31% of the Antutu test.:(
[Mi 3 Original Android Development] Gnome:
Im just curious whats your settings? Those who get a hard reboot on Antutu, I really never had it honestly.
[Mi 3 Original Android Development] rajib4:
[MENTION=5334172]Gnome[/MENTION] Same here. Mine shuts down at 27% of the Antutu test :eek:

[MENTION=4765089]marko94[/MENTION] Bro, what's your status of the Antutu test on latest nightly? Asking you as you are on Euphoria.

---------- Post added at 07:25 AM ---------- Previous post was at 07:17 AM ----------

[MENTION=5334172]Gnome[/MENTION] Default (as you provide). No changes at all. I actually never touched Stuxnet Kernel Settings as it's performance is awesome by default :highfive:
[Mi 3 Original Android Development] bluviper:
im on CM-Cancro latest build and stuxnet+ latest nightlies

and i did not experience the hard reboot anymore...

try clearing Antutu's cache/data. reboot and test again...
[Mi 3 Original Android Development] Hadi al-Haiqal:
Untouch..
[Mi 3 Original Android Development] Riichard63:
That's weird yesterday I faced same black screen after rebooting (my phone was really hot, and rebooting made it more hot).

It goes black just before kernel adiutor apply settings, I had to let it cool down.

My settings are :

-Max frequency : 2457 MHz

-Min frequency : 300 MHz

-Governor : interactive with untouched settings

-Multicore powersave : 0 (disabled) or 2 (agressive) gets the same issure

-Global offset : -50 mV or untouched no change

-MPDecision : on

-GPU : untouched settings

-Screen : Saturation 45 other settings untouched

-Sound untouched

-Quick usb charge disabled

-I/O scheduler : noop with 1024Ko buffer

With latest nightly (I did not forgot to disable all apply on start on kernel adiutor) it still crashes to 27% exactly with default settings (sorry I don't remember which test device performs at this moment, don't have time to see it but I guess it's CPU multicore).

Edit : It's on a Xiaomi Mi4 with 08/05/15 CM12 build. I don't face such problem with your beta3, but will keep latest kernel as rom is smoother with it.

Edit 2 : Wooops forgot to clean antutu datas. Just performed a benchmark and... Same result, black screen, phone was connected to computer and it gets disconnected.
[Mi 3 Original Android Development] marko94:
Ok,this is latest nightly and euphoria rom..first I got reboot after 27% on antutu,but I delete cache of antutu,and that's it..works..also try stres test for 5 min,and no reboots..:D [MENTION=5334172]Gnome[/MENTION],great work here..you are awesome dev :thumbup::)
[Mi 3 Original Android Development] rajib4:
Cleaned all caches and data (only for antutu) but still the same result and as I mentioned earlier didn't touch any kernel setting.

[MENTION=5084493]Riichard63[/MENTION] if I am not wrong it is CPU Integer Test @27% which results the crash.

Will continue to use the kernel as it is very smooth.

[MENTION=4765089]marko94[/MENTION] thanks for the update. Euphoria seems to hold on to the test much better it seems than CM12.1
[Mi 3 Original Android Development] marko94:
Hmmm...just weird..doing some test again..When I delete trickster mod, and reboot with clean stock kernel settings, run again antutu ,and got black screen :(

but after installing trickster mod, and set settings like

-Max frequency : 1267 MHz and max

-Min frequency : 300 MHz

-Governor : interactive with untouched settings

-Multicore powersave : 2

-Global offset : -25 mV (-50 mV also works)

-MPDecision : off (on gave same )

Hotplug control ON ,max 3 online ,min 1 online

-GPU : 389 max and 589 max

-Screen : untouched

-Sound untouched

-Quick usb charge disabled

-I/O scheduler : FIOPS with 1024Ko buffer

all WOrkssss...aaaa :confused: and got better antutu 44460 :D :D

P.S

tried reboot few times, and repeat test,all works now..no black screen :)
[Mi 3 Original Android Development] Karcha:
I've tried a couple of this kernel's builds and with all of them I end up getting this "Black screen". I don't touch anything, I just install it and do normal things with the phone ( no Antutu ) and it randomly goes into this black screen and gets really hot.

Edit: Btw, I'm on a Mi4 using CM12
[Mi 3 Original Android Development] Riichard63:
And with trickster mod thermal regulation enabled? Does it work? Sorry don't have time to test.

Envoyé de mon MI 4 en utilisant Tapatalk
[Mi 3 Original Android Development] Karcha:
I don't know, I changed kernels since I'm not going to be home for a few days and I need the phone to work at all times.
[Mi 3 Original Android Development] marko94:
[MENTION=5334172]Gnome[/MENTION]

Sometimes when I stick all options which I need, and put enabled on boot,after rebooting nothing gona applied..Must manually..using latest nightlies..

And what do you prefer,mp decisions on with hotplug decisions (max 3 min 1 cpu) or mp decisions off ? I need best battery backup with multitasking :D thanks

Using trickster mod
[Mi 3 Original Android Development] Gnome:
I recommend you use mpd for the meantime, wait for the next nightly.

EDIT:

Latest Nightly up.

- Went back to stock GCC 4.8 (honestly I cant see any changes)
- MSM Hotplug and removed auto hotplug (use kernel adiutor to use this feature and turn off MPD)
- Thermal overshoot fix
- etc.
[Mi 3 Original Android Development] rajib4:
The new nightly is running as smooth as ever. No issues at all. As suggested disabled MPD using Kernel Adiutor.

Great work [MENTION=5334172]Gnome[/MENTION]
[Mi 3 Original Android Development] Riichard63:
MSM hotplug as changelog, really nice, too much stuff to play with now, I will feel lost xD

Edit : but still crashing when I perform a stability test.

Envoyé de mon MI 4 en utilisant Tapatalk
[Mi 3 Original Android Development] marko94:
For me,stability test works fine
[Mi 3 Original Android Development] Riichard63:
That's really, really weird.

Will wait for someone else feedback.

Envoyé de mon MI 4 en utilisant Tapatalk
[Mi 3 Original Android Development] vishal24387:
Why u guys so obsessed with running Antutu benchmark stability test...?? Real life and real time performance with stability is more important. Try to play with kernel using ur daily activity rather than some kind of benchmark test.
[Mi 3 Original Android Development] Riichard63:
It's not only antutu or stability test that matters. As I said, 2 days ago my phone was just getting black screen 2 seconds after rebooting, just because it was hot.

It's not question of antutu score. Honestly I don't care. And for me a phone stuck on black screen just because of heat is not a real life stability proof.

Stable most of the time but not in every situation.

Edit : obsessed... Not at all.

Envoyé de mon MI 4 en utilisant Tapatalk
[Mi 3 Original Android Development] bluviper:
relax guys, some has use for this kernel, and they're trying it out....

to simply put, if the kernel doesnt perform at every department, then theres something wrong.

it may not be big, but it matters to others... so for the meantime, for the good of all things.

lets just report our findings and do not impose radical changes but rather suggest to Gnome the things that matters to you with regards to your findings, and hopefully Gnome will get the time to address these instabilities... and everyone is happy...

hence, others should consider at different kernel right about now.
[Mi 3 Original Android Development] gary138.138:
Totally agreed!

IMHO, beta 3 is the best of all Stuxnet+ versions.:)
[Mi 3 Original Android Development] bluviper:
Beta3 is indeed a friend. ;)
[Mi 3 Original Android Development] Gnome:
New nightly up.

-Fixed Thermal (everything should be fine now)
[Mi 3 Original Android Development] gary138.138:
Yes! Everything is fine now.
[MENTION=5334172]Gnome[/MENTION] thank you! You are the best!:good::good::good:
[Mi 3 Original Android Development] bluviper:
any suggestion for Adiutor tweaking?

just turn off MPD thats all?

how bout governor setup and I/O?
[Mi 3 Original Android Development] Gnome:
Im using deadline, interactive, and msm hotplug mpd off. Voltages -50
[Mi 3 Original Android Development] bahblo:
Trying latest nightly now, i feel white colour more natural than using other kernel, dont know its true or something wrong with my sight... :D

Its that possible that your kernel based increase to 3.4.107 or above? And what effect if that implemented? Thx gnome... :good:
[Mi 3 Original Android Development] koolviks:
Temperature seems to be under control now. Device didn't heat up during initial boot after applying latest nightly. Will do some more tests. Great work [MENTION=5334172]Gnome[/MENTION].
[Mi 3 Original Android Development] Riichard63:
Yup no black screen at all right now! Great work Gnome! But it seems that cpu throttle without carrying about temp user set, example :

I set 90°C for thermal throttling and it starts throttling at 70°C.

But you fixed black screen and this is actually a great point!

Envoyé de mon MI 4 en utilisant Tapatalk
[Mi 3 Original Android Development] Gnome:
Lets just set it to 70°C just to be safe. ;)

I think I'll be labelling this kernel as a stable release.
[Mi 3 Original Android Development] Riichard63:
Yep I think it's more safe (even if it doesn't really affect throtelling), will do it thanks a lot, yup now your kernel is fully stable!
[Mi 3 Original Android Development] bluviper:
yep.. stable and not too aggressive.
[Mi 3 Original Android Development] rajib4:
Oh Yeah absolutely :) All issues resolved :good:

Great work [MENTION=5334172]Gnome[/MENTION] :highfive: Thanks a lot :)
[Mi 3 Original Android Development] aashay960:
I just wanted to know.. What benefits would I see switching to the 15th may version from the one included in the 8th may cm12.1 build?
[Mi 3 Original Android Development] bluviper:
from the previous post of Gnome, i think the difference is the thermal throttle control... it was brought down to 70%.

one of the benefits is that, when benchmarking thru Antutu, it will finish the entire testing process.

as compared to a couple of versions before, when the Antutu app locks the phone and put it into deep sleep.
[Mi 3 Original Android Development] Gnome:
Check the commits from May 8 to present, those are the changes.
[Mi 3 Original Android Development] aashay960:
Do you still recommend setting min cpu online to 2? Or should I leave it at 1?
[Mi 3 Original Android Development] Gnome:
I removed auto hotplug and replaced it with msm hotplug, just turn off mpd and let msm hotplug do its thing. But if you want to make changes its up to you as for me Im on stock msm hotplug settings.
[Mi 3 Original Android Development] The Dork Knight Rises:
I have a question:

This black screen you report, is it the same symptom as the call bug v2 black screen? Do you have to press the Power button for 12-15 secs to reboot phone afterwards?

What I'm asking is, are the two related do you think? Could latest nightly fix that maybe?
[Mi 3 Original Android Development] aashay960:
Thanks for the help
[Mi 3 Original Android Development] rajib4:
Yes, very much possible. Although I never faced call bug v2 black screen from the time I started to use Bittis CM-Cancro ROM (from 3rd May build to the latest, before that was on BlissPop v2.2 and it didn't had the call bug v2) but the symptom was absolutely same. Used to face the black screen at around 27-31% of the antutu run and then I always had to press the Power button for 12-15 Seconds to reboot the phone. In addition to that I faced black screen issue after the phone was booting from a cache/dalvik wipe as well (It occurred once). Also noticed that phone used to heat up like hell during those time.

Gnome's latest nightly fixed all that :victory:
[Mi 3 Original Android Development] Riichard63:
Yes this is the same problem, some kind of black screen of death, when you have to long press power button to get the phone back alive.

In my opinion phone still running (but totally bugged) and may become hot.

I already had this problem on Ivan's build, phone was in my car got black for around 2 hours when I took it back I had to long press power button.

In battery stats I saw huge activity and huge battery drain. So phone is not powered down and continue running at some frequency, unresponsive but still calculate and running hot.

Edit : BTW [MENTION=5334172]Gnome[/MENTION], in your source code I see :

+FREQ_HELL= 729600,
+FREQ_VERY_HOT= 1036800,
+FREQ_HOT= 1267200,
+FREQ_WARM= 1497600,

As I'm a noob with coding I don't know where to see this temps, can you provide me some informations about temps?

Hell= ?°C

Very Hot = ?°C

Hot = ?°C

Warm = ?°C

Maybe warm still a bit too cold or warm frequency is too low and makes phone to throttle a lot (at least for Mi4).

Edit 2 : I checked difference in battery consumption between minimum 2 cores online and minimum 1. And wow 2 cores offline minimum consumes around 800 mAh (when idle, screen on without touching it) whereas minimum 1 core consume just around 300 mAh.

But with one core online I can feel slight lags when I pull down quick settings so in interactive governor I just make high speed frequency just a little step above and lower go highspeed load to 75%. That makes these small lags nearly invisible.

That's a clue for users who want to get good battery life without occasional lags.

Edit 3 : just faced a black screen of death when I tried to lower update rate in MSM settings.

Regards, and I love your kernel :)
[Mi 3 Original Android Development] Gnome:
Those are just the frequencies that tend to get the most heat by steps.
[Mi 3 Original Android Development] Riichard63:
I understood this point if cpu goes hot it will lower to warm frequency value, warmer it gets to hot frequency, and so on :)

Envoyé de mon MI 4 en utilisant Tapatalk
[Mi 3 Original Android Development] Gnome:
yessir.

Edit:

- New Stable Version is up, based on latest nightly.
[Mi 3 Original Android Development] hrishikeshgramani:
So is heating issue solved in this kernel? please reply

Because while playing games like stick cricket or watching videos the temp rises to 57°C so is it solved in the latest stable version [MENTION=5334172]Gnome[/MENTION]?

Or is it normal that the device heats up easily while watching videos?

And right now I'm on Bitti sir's CM-Cancro ROM 8th may build... And I'm using Gnome sir's kernel that came with the ROM stock...
[Mi 3 Original Android Development] Gnome:
[MENTION=5682323]hrishikeshgramani[/MENTION] overheat issue has been fixed on latest stable version.
[Mi 3 Original Android Development] hrishikeshgramani:
Thank you very much [MENTION=5334172]Gnome[/MENTION] sir for the reply
[Mi 3 Original Android Development] Riichard63:
Gnome, is it possible for user to set thermal control? Or to add such setting?

Just a through, because that's a point I would like to control in order this kernel fit perfectly what I have in mind. (actually pretty cool, I get rid of small lags with minimum one core online for battery saving, I would like to allow it to run a bit hotter when running heavy tasks as miui performance mode allows it to get hotter without throttling)

Envoyé de mon MI 4 en utilisant Tapatalk
[Mi 3 Original Android Development] Shivam Kuchhal:
Both Device Control and Kernel Auditor apps allow you to set it. It can be found under Thermal settings and CPU settings respectively. :)
[Mi 3 Original Android Development] Riichard63:
Yes it's temp limit setting but it looks like this doesn't act onto thermal throttling. It just throttle some seconds after running heavy task even if cpu didn't reach set temperature.

It may be setting for hot, very hot or he'll in source code but not for "warm".

Regards :)

Envoyé de mon MI 4 en utilisant Tapatalk
[Mi 3 Original Android Development] hrishikeshgramani:
Can anyone please share the kernel adiutor settings of each tab so that I can also follow the same for optimal performance without overheating.. Please
[Mi 3 Original Android Development] DraXonic:
Well i know wrong thread to post but after repartition to 1.2 gb n again back to stock i am not able to install OTA from xiaomi. Always error as unable to clone partition :(
[Mi 3 Original Android Development] Riichard63:
For my Mi4 it's not same max frequency :

CPU :

-Max freq : maximum of CPU

Governor : interactive

Governor tunable : go_highspeed_load = 70 highspeed_frequ = 1574400

Mulicore energy saver : activated (not agressive)

Temp limit : 70 °C

Boost entry frequency : 1574 MHz

CPU Voltage :

Global Offset : -50 mV (but you can go fo -75 normally)

CPU Hotplug :

MPDescision disabled I use MSM hotplug

Minimum active CPU cores : 1 (read my explanation some posts ago)

Maximum actives : 4

Other untouched

GPU :

Untouched

Screen :

Saturation intensity : 45 (I like vibrant colors)

Sound :

Untouched

Battery :

Untouched

I/O :

Scheduler : noop

Read-ahead : 1024 Ko

(But I doon't feel comfortable with I/O schedulers, so if someone can help me with it I need one for a bit gaming, and normal use that does not drains battery too much)

Low memory killer :

Didn't have time to make tests

Virtual memory :

What the hell is this? :p

Build.prop editor :

Added :

Key = windowsmgr.max_event-per-sec

Value = 150

(should improve scrolldown smoothness)

With this profile you should get good smoothness without draining too much battery. But I need some tests to improve my profile. Actually I'm not really sure about battery consumption as I don't use my phone a lot and mobile radio active bug of lollipop is the only one draining my battery... (don't know how to fix it without airplane mode or shutting down my mobile data)

Edit [MENTION=5334172]Gnome[/MENTION] I think I found your thermat throttling temperature, it's 70°C right? (temp_threshold)
[Mi 3 Original Android Development] storytellerz:
Is it safe to add that? And does that increases the battery consumption? Sorry, newbie here. I want to make my phone as smooth as possible while maintaining my battery juice. :)
[Mi 3 Original Android Development] Riichard63:
Yup normally it's safe, it just incread max number of event per second. (Maybe 150 is bit high as screen is 60Hz).

I use it but it's not necessary.

For battery usage I don't know.
[Mi 3 Original Android Development] storytellerz:
Okay, thanks for your advise. Good helper. :good:
[Mi 3 Original Android Development] hrishikeshgramani:
[MENTION=5084493]Riichard63[/MENTION] thanks a lot Sir:)
[Mi 3 Original Android Development] SurajH:
i/o always use SIO ...

best always:good::good::good:
[Mi 3 Original Android Development] Gnome:
I take the quietness of the thread means you guys have no issues.
[Mi 3 Original Android Development] bluviper:
some small clarifications... does the latest stable build is the same as the latest Nightlies? 05/15?
[Mi 3 Original Android Development] Gnome:
Yes latest nightly is also the latest stable. And the latest CM-Cancro uses the same kernel.
[Mi 3 Original Android Development] bluviper:
coolness! this keeps on getting better....
[Mi 3 Original Android Development] Riichard63:
Yes no issue Gnome, everything is perfect right now :)

Will you add more I/O scheduler and cpu governors? And some other tables for undervolting higher frequencies?

Some plans for future development?

Envoyé de mon MI 4 en utilisant Tapatalk
[Mi 3 Original Android Development] Gnome:
I'll take a break first then go back in adding some stuff again.
[Mi 3 Original Android Development] marko94:
Great..take a break,you earned it for great work :D
[Mi 3 Original Android Development] Gnome:
Thanks, and I also need to upgrade my own computer, I want to buy an ssd and upgrade my RAM. But none the less I'll be still building kernels on my spare time.
[Mi 3 Original Android Development] rajib4:
[MENTION=5334172]Gnome[/MENTION] Go ahead bro, you deserve it. Your last nightly/stable made the kernel absolutely 'perfect' in my opinion.

And with that it made the Stuxnet users thermal down and made them extremely cool as well ;)

You are a genius :cool: many many thanks
[Mi 3 Original Android Development] Chris576:
I have flashed latest night version and latest stable version and both I have the phone who turns off several times. It's maybe the rom (latest xenonhd version) , I don't know...
[Mi 3 Original Android Development] rajib4:
I love vibrant colors too... Thanks a lot for the setting :)
[Mi 3 Original Android Development] Riichard63:
Okay, just take your time, you already did a great kernel and we can wait a bit to try out your future builds.

Wow ssd your computer will be fast :p

And how much ram?

What's your cpu?

Regards and thanks a lot for all awesome stuff you made.

Envoyé de mon MI 4 en utilisant Tapatalk
[Mi 3 Original Android Development] Gnome:
[MENTION=5084493]Riichard63[/MENTION] Im using a hackintosh, well Im thinking of getting a 8Gb RAM single stick. Btw thanks for the donation, Im keeping it to get the things I need.

Edit:

Guys feel free to post anything, Im good with that, lets just keep the thread alive, even though its not development related.

Thanks!
[Mi 3 Original Android Development] marko94:
What is your's future plan for stuxnet ? :)

P.S

why If I change gpu governor , got reboot ? it happens in all kernel :(
[Mi 3 Original Android Development] Gnome:
Weird, changing governors ain't a problem with me.
[Mi 3 Original Android Development] marko94:
Hm..don't know why, but only default GPU governor works for me..If I change to something else,got black screen and nothing..Must hard reboot after that :confused:
[Mi 3 Original Android Development] Riichard63:
Seems like a good computer :p

By my side I use a laptop core i7 4700MQ 4Gb DDR3(will upgrade to 8 soon) nvidia gt740m.

But need a ssd too :p

You're welcome it's normal to give a little something when someone is doing great work!

Count on me to keep thread alive :)

Envoyé de mon MI 4 en utilisant Tapatalk
[Mi 3 Original Android Development] gary138.138:
You are not alone.

I had the same experience.:(