yashsingh1/xdaforums huggingface dataset:
[Mi 3 Original Android Development] Qwerty123 \m/:
Installed latest kernel on newest XenonHD. THIS IS SOME GOOD STUFF.
[Mi 3 Original Android Development] damnthomas:
wt setting is best for batter besides cpu set to governor and uc uv skills by Dark Knight :confused::confused:
[Mi 3 Original Android Development] neoonwheels:
This is not to crib but just a input from me... The phone consumed 6% battery throughout the night ( 7 hrs) without WiFi or data on.

Ivan's ROM with its own kernel used to consume only 3%.

I'm on Xenon 4/25 and Stunxnet v4
[Mi 3 Original Android Development] gary138.138:
[MENTION=5334172]Gnome[/MENTION], I just wish to clarify the following:

Is the stock kernel of Bitti's CM-Cancro 0623 build = your latest stable?
[Mi 3 Original Android Development] Gnome:
He's using the cm-12.1-staging branch. If that build used it before then it should be the latest.
[Mi 3 Original Android Development] Riichard63:
Hi [MENTION=5334172]Gnome[/MENTION],

I have a question regarding your CPU settings using Paranoid rom. Which governor are you using? In fact I was using interactive but it was giving me some lags one Real Racing 3.

I would like a polyvalent governor. Ondemand still not that performant. Now I'm using conservative, but I'm not sure it's a good choice as just touching screen makes 2 cores at 1497 MHz.

But like this I don't have any rom lag or in game lag.

Regards.
[Mi 3 Original Android Development] Bitti09:
I'm using his mainstream branch in the recent cm-cancro builds
[Mi 3 Original Android Development] Gnome:
[MENTION=5084493]Riichard63[/MENTION], when I was using PA, I was using my same old settings, Multicore=Agressive, Interactive, simple_ondemand, voltage global offset is default.
[Mi 3 Original Android Development] Riichard63:
Oh okay :) so you were not playing heavy games!

Thanks a lot, in fact I lack some knowledge in cpu governor configuration. I have to test several configurations.

Envoyé de mon MI 4 en utilisant Tapatalk
[Mi 3 Original Android Development] Gnome:
Seems we'll have a working updated Linux kernel, CM-Cancro is now using my mainstream branch, so it'll have the Linux Mainstream changes.

To other Dev's:

The mainstream branch will not work on other CM ROMs unless the ROM developer updates the device tree to accomodate the new prima patches on my mainstream branch, just a heads up.

Edit:

You can ask [MENTION=4707212]Bitti09[/MENTION] about the changes with the device tree. Tried it on the old but WiFi doesn't work.
[Mi 3 Original Android Development] sidhg:
Can I use this kernel on kk rom?
[Mi 3 Original Android Development] Riichard63:
No, this kernel is made for lollipop roms.
[Mi 3 Original Android Development] Min3r:
Awesome kernel. Very smooth + good battery life. Have been using since first nightly :)

However, small issue. Logcat isnt running for me. The only log says Device 'main' is not available. Is logcat disabled in Stuxnet ? Or is it a ROM thing ? (XenonHD)

Otherwise, no gripes :)

Thanks!
[Mi 3 Original Android Development] Jhayzt:
Hey there Dev [MENTION=5334172]Gnome[/MENTION]! Umm, are you planning to release build 17 today? :D I just saw something glowing in the extra section. XD
[Mi 3 Original Android Development] Gnome:
That wont have wifi working unless [MENTION=4707212]Bitti09[/MENTION] releases a new ROM with the updated mainstream branch.
[Mi 3 Original Android Development] Riichard63:
What should do updating Linux version?

Envoyé de mon MI 4 en utilisant Tapatalk
[Mi 3 Original Android Development] Gnome:
Much stabler [MENTION=5084493]Riichard63[/MENTION] since it has all latest mainstream linux patches.
[Mi 3 Original Android Development] Abhi142:
aospa compatible

Is this kernel compatible with aospa?
[Mi 3 Original Android Development] Riichard63:
Yes I'm using it with paranoid android :)

Envoyé de mon MI 4 en utilisant Tapatalk
[Mi 3 Original Android Development] bluviper:
how long have you been using PA?
[Mi 3 Original Android Development] Riichard63:
I'm still using it, I don't know exactly for how long, about one week.

Envoyé de mon MI 4 en utilisant Tapatalk
[Mi 3 Original Android Development] bluviper:
i see, maybe ill try PA on Mi3 for the meantime.
[Mi 3 Original Android Development] gary138.138:
IMO, PA is lack of feature.

RR is much better.
[Mi 3 Original Android Development] bluviper:
came from RR before CM Cancro, and what I didnt want from RR is that it doesnt have unmount for OTG.
[Mi 3 Original Android Development] Gnome:
Oooohhhh.... Mainstream Linux....
[Mi 3 Original Android Development] Riichard63:
Ahah great, and will you provide a flashable kernel? (edit : I guess yes as I see newer build date for kernel than for rom)

Will it automatically break wifi if it's not compiled with rom?

I'm eager to try it on paranoid :D

Thanks a lot Gnome!

Envoyé de mon MI 4 en utilisant Tapatalk
[Mi 3 Original Android Development] Gnome:
Here try it out...

Changelog:

- Latest Linux Mainstream changes

- updated PRIMA drivers

Edit:

FYI

Linux mainstream changes are just patches for the 3.4.y version of the kernel itself, so that being said the kernel should perform well and less memory leaks and random throws here and there. So in a nut shell it should improve the ff:

- Security

- Stabillity

- Updated Drivers

- New Kernel Functions

- Increased Speed

Those are the things that Linux kernels always points out regarding the latest patches/versions.
[Mi 3 Original Android Development] Riichard63:
Yeah thanks a lot, just flashed it without wipe or anything, boot is fine, and no wifi problem or something else!
[Mi 3 Original Android Development] bluviper:
yes, just flash it and reboot. it has its scripts to do the other jobs for you.

but if you want to dirty flash then i guess its up to you.
[Mi 3 Original Android Development] anshude1:
Flashed new build on latest RR... WiFi is working... Will report if any problems faced. Did a clean flash.
[Mi 3 Original Android Development] gary138.138:
I just dirty flashed the latest version.

It seems that everything is okay.

Thank you, [MENTION=5334172]Gnome[/MENTION]!:good:
[Mi 3 Original Android Development] Gnome:
New Nightly up:

Changelog:

- Linux Mainstream Changes

- Workqueue patches

- BFQv7r8

- etc.

SOURCE
[Mi 3 Original Android Development] anshude1:
Flashing the latest kernel seems to have solved the signal loss on restart issue on latest RR rom... Have restarted multiple times and signal never disappears...
[Mi 3 Original Android Development] shabtab:
Why is everything set to performance by default in the last build? CPU- Performance, GPU- Performance. is ondemand stable asking cause I've been hearing about its instabilities in this kernel?
[Mi 3 Original Android Development] Gnome:
There has no reports of ondemand being an issue in this kernel, you might be referring to another kernel. I always use ondemand and I have no issues with it.
[Mi 3 Original Android Development] shabtab:
Sorry my mistake about the default performance setting. Thanks I'll now be using ondemand, GPU setting also has simple-ondemand it is what balanced, battery saving or performance orientated, also tell me what should be the good combination with I/O Scheduler. :) In simple tell me your personal best settings [MENTION=5334172]Gnome[/MENTION]. And thanks for such an awesome Kernel.
[Mi 3 Original Android Development] Gnome:
- MSM Hotplug

- BFQ

- ondemand

- aggressive

- set cpu cores to 1 and 300Mhz while turned off (this is at the bottom of MSM hotplug settings)
[Mi 3 Original Android Development] shabtab:
And GPU?
[Mi 3 Original Android Development] Gnome:
I use simple_ondemand
[Mi 3 Original Android Development] shabtab:
Okay Thank You so much Gnome.
[Mi 3 Original Android Development] Shivam Kuchhal:
Can you help me with the ondemand crashing bug in my kernel? I've had no luck with it whatsoever.

EDIT: Here's the last_kmsg after crash, but its highly spammed.

http://d-h.st/vAUm
[Mi 3 Original Android Development] shabtab:
[MENTION=5334172]Gnome[/MENTION] Using Ondemand - after using it for some time the screen freezes and then turns off, had to hard reset to boot, this happens whenever I try to use Ondemand. And there's an option in Kernel Adiutor "schedule workqueues on awake CPUs to save power" this should be turned on or off.
[Mi 3 Original Android Development] szwistak:
Yea correct ondemand is working fine when the phone is idle but when browser or someapps is open it freezes. im using only this change no undervolting etc
[Mi 3 Original Android Development] Gnome:
I'll look into ondemand later. Will update you guys once I see any issues, [MENTION=4984300]Shivam Kuchhal[/MENTION] will check that too later. It's fathers day here in the Philippines so I need to spend time with my family first. ;)
[Mi 3 Original Android Development] Shivam Kuchhal:
Same goes for India too! :D

Take your time and my kernel has same issue as your users reported in last 2 posts. Looks this long time sh*t will be finally fixed now. :p
[Mi 3 Original Android Development] diongdyh:
I set GPU to ondemand. Battery drains very badly. Changed back to adreno.

Edit: Just flashed the newest nightly. SOT decreased to 4hours only. Not sure if it's because that i set GPU to ondemand. Will report back tmr.
[Mi 3 Original Android Development] szwistak:
Yea can confirm that battery drain on GPU ondemand too
[Mi 3 Original Android Development] Gnome:
Ok I'm lost, what ondemand are guys referring to? Ondemand governor or simple_ondemand for GPU? Shivam, you're log is clean no errors.
[Mi 3 Original Android Development] szwistak:
Both :)

GPU simple_ondemand is eating battery so fast

CPU ondemand is creating freezes
[Mi 3 Original Android Development] Gnome:
CPU ondemand has no issues, been using it for 3 days now, came from a clean install of CM-Cancro. W/ simple_ondemand I'm playing Real Racing w/o any hiccups, now I dont know if its just me or just the two of you guys who reported that has issues with ondemand CPU/GPU.
[Mi 3 Original Android Development] diongdyh:
GPU simple_ondemand is causing heavy battery drain. Didn't touch CPU settings. Dirty flashed with 0527 XenonHD
[Mi 3 Original Android Development] rajib4:
Oh... Never had any issue with simple_ondemand. I am running simple_ondemand for a very long time, forgot actually when I enabled it (may be when it got into stable build). From that time to till now I am getting 6hrs SOT on an average with XenonHD (19th May build). BTW, I am on Mi3.

And about performance, its buttery smooth :cool:
[Mi 3 Original Android Development] shabtab:
No Gnome actually having SOD issue with Ondemand, btw your on Mi4?
[Mi 3 Original Android Development] shabtab:
Same thing haopening with me
[Mi 3 Original Android Development] marko94:
little info :)
[Mi 3 Original Android Development] lethalchronus:
No issues with ondemand and simple_ondemand using it and playing with it for about 3-4 days now. I don't know what's wrong with the others.
[Mi 3 Original Android Development] shabtab:
Tries using ondemand and simple_ondemand, and got screen freezed in 5 minutes.
[Mi 3 Original Android Development] solazz:
Simple_ondemand always works well for me. No battery drain and no crash. Been using it for more than 10 days and default to it on every stuxnet kernel update. I'm on latest CM cancro rom.
[Mi 3 Original Android Development] Gnome:
Im using Mi3. And those guys have issues, what kernel versions are you using?
[Mi 3 Original Android Development] SurajH:
After testing with stuxnet on Tesla ...

On demand CPU governor works well only with MPdecision hot plug not with msm

Or if u want use msm then enable both hot plug.

Ondemand with msm hot plug causes freezing and shut down:(
[Mi 3 Original Android Development] lethalchronus:
I'm using MSM Hotplug enabled & MPDecision disabled w/ Ondemand CPU and Simple_Ondemand GPU but mine doesn't freeze or something so your theory is wrong, I wonder what's wrong with the others, I'm using a mi3 and its working perfectly fine with these settings using the latest nightly and its working with the latest stable as well.
[Mi 3 Original Android Development] gary138.138:
It's rather strange!

I am also on Tesla.

My setting:

cpu : ondemand

hotplug: msm

gpu: simple_ondemand

Nothing special happened.

Everything is fine.:)
[Mi 3 Original Android Development] diongdyh:
Tesla? Another great rom? ? Can i have the thread link pls?
[Mi 3 Original Android Development] gary138.138:
This---> https://www.androidfilehost.com/?fid=24052804347763053
[Mi 3 Original Android Development] diongdyh:
No thread link?
[Mi 3 Original Android Development] shabtab:
I am on your stuxnet built of 19th, 3.4.107 (last nightly built by you till date)

Today i set my cpu to ondemand, gpu to simple_ondemand, Hotplug was already set to MSM hot, then changed the I/O to bfq. Phone was 100℅ charged and I then went to sleep, got up in the morning checked the phone, and whoaa!! It was hot, tried to turn the screen on but nothing happend, long press power button restarted it though and the battery was still 100% which i didn't expected because of the heating up, I just cleared data and cache for kernel adiutor and rebooted again, this time battery went to 74% and it worked like normal, so I guess this Ondemand is a killer please don't try to use it for those are facing trouble with it, rest are lucky to use it without any problems.
[Mi 3 Original Android Development] lethalchronus:
[MENTION=5334172]Gnome[/MENTION] I have a report about this, there are times when you reboot and then you'll see that 1-2 core would stay at max all the time causing heat regardless of what kind of cpu governor that you're using, the solution for this is to reboot again to normalize the frequency that's why I'm always checking the behavior of the frequency everytime I reboot. hope this helps, at also happened with my other Mi3 that had the same ROM and Kernel, so I think there's something causing this.. please do observe your frequency too though it rarely happens.
[Mi 3 Original Android Development] diongdyh:
Just tried CPU ondemand and GPU simple ondemand. My phone shut down automatically, had to hard reset. Disabled CPU ondemand, leaving GPU simple on demand on, no problems until now. I'm on Mi4
[Mi 3 Original Android Development] Gnome:
Here try this one, hopefully it fixes cpu ondemand issues.
[Mi 3 Original Android Development] farhatbamadhaj:
What kernel app you suggest to use? and what are the configured settings? i tried amersatu v5 saber, lags hella lot.
[Mi 3 Original Android Development] bluviper:
many of the people here told me to use this: Kernel Adiutor
[Mi 3 Original Android Development] gary138.138:
Just for your reference.

ROM: RR latest build (stock kernel - Stuxnet+)

My configuration setup:

CPU governor: interactive

CPU hotplug: msm

CPU voltage: undervolt by 40

GPU: simple_ ondemand

I/O: sio

TCP: westwood

---------- Post added at 10:01 AM ---------- Previous post was at 09:59 AM ----------

It's a good choice.:)
[Mi 3 Original Android Development] Gnome:
I personally use kernel adiutor.
[Mi 3 Original Android Development] farhatbamadhaj:
I used that settings on this kernel that you posted Gnomes 06232015 to fix those on demand issues, yet batt stats prove otherwise. When I woke up, I slept for 7 hours and the battery lost 40% overnight! How is it possible? Is there an app that reads batt usage and CPU speeds over a period of time?

Also playback vide on YouTube will frequently crash and I have to reload the video just to watch again.

Maybe you can recommend other settings to configure? Hmmms.
[Mi 3 Original Android Development] gary138.138:
The situation you described is abnormal.

You should find out which app always wake the cpu up.

The battery life of my device is okay. (see attached)
[Mi 3 Original Android Development] jaspuneet:
Hey everyone, i was just wondering if anyone can help me here with the sources

"drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_core.c"

I just noticed that as per defconfig of cancro it is using synaptics_dsx as touchscreen input device.. And the device driver file as a variable WAKEUP_GESTURES which is set to false.. I was wondering if we can set the touchscreen to stay awake during suspend using stay_awake flag as described in "https://android.googlesource.com/kernel/bcm/+/23d376ef33aa4c500a5ea24a290f029d5f8e2de3/drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_core.h"

We can be able to implement swipe to wake or double tap to wake gestures for our device..
[Mi 3 Original Android Development] diongdyh:
[MENTION=5334172]Gnome[/MENTION] I'm using the zip you've attracted in a comment yesterday, the vibration settings don't have Westwood anymore.

Edit: My mistake, the kernel is still Xenonhd. Somehow i can't flash any zips. Using CM TWRP by Bitti09

---------- Post added at 10:08 AM ---------- Previous post was at 10:07 AM ----------

The hardware on Mi3/4 is not supported by off screen gestures, this has been stated by MIUI forum admins and all other developers.
[Mi 3 Original Android Development] jaspuneet:
Bro.. Redmi 1s has already got those wakeup gestures through cody kernel..

Hardware supports it for sure..

MI devs just don't want to work on older devices.. They are short on time already to focus on MIUI. That's why forum admins said so...
[Mi 3 Original Android Development] lethalchronus:
Saying that the Mi3/4 doesn't support off screen gestures is not absolutely true, one of the custom kernel developer for Mi3 is working on it, but it needs more work.

http://xdaforums.com/showpost.php?p=60891560&postcount=101
[Mi 3 Original Android Development] farhatbamadhaj:
When do you think we can get it? I love how Oneplus One has them. If it's so cool. I am lazy to use hardware buttons.

---------- Post added at 06:10 PM ---------- Previous post was at 06:07 PM ----------

I used GSAM battery monitor app along with its root companion app for monitoring.

So rough estimate is getting 5 hours of SOT?
[Mi 3 Original Android Development] Gnome:
Stable kernel updated to Linux 3.4.108

DOWNLOAD
[Mi 3 Original Android Development] lethalchronus:
+1
[Mi 3 Original Android Development] Gnome:
Stable updated
[Mi 3 Original Android Development] farhatbamadhaj:
Settings recommended for updated stable Gnomes?
[Mi 3 Original Android Development] iwjy:
I experience SOD in latest stable build, can't wake phone after screen turns off. Still can't pinpoint the cause, using kernel adiutor settings applied on boot.

edit: SOD without touching any setting in kernel adiutor also
[Mi 3 Original Android Development] Gnome:
Dont download latest, removing it for awhile, seems SOD is till present. Sorry!
[Mi 3 Original Android Development] jianwei87:
This build doesn't compatible with xeonhd latest build keep SOD even I clear cache and DC.
[Mi 3 Original Android Development] farhatbamadhaj:
Is it me or the one you gave 230615 kernel does not detect sim card now hmmms.
[Mi 3 Original Android Development] Gnome:
Guys DO NOT DOWNLOAD THE 6-26 STABLE BUILD. SOD is present will fix that soon, for now revert back to MAINSTREAM 6-19, thanks!
[Mi 3 Original Android Development] Gnome:
Here try this.

- Check if ondemand and simple_ondemand combo still freezes

- check if SOD is present
[Mi 3 Original Android Development] ajayverma99:
Downloading....
[Mi 3 Original Android Development] iwjy:
- no SOD

- on-demand simple-ondemand combo still freezes the phone

now I'm back with interactive - simple-ondemand, everything runs smoothly.

thanks [MENTION=5334172]Gnome[/MENTION]
[Mi 3 Original Android Development] Gnome:
we'll need to dig further regarding ondemand. So for the meantime don't use it.
[Mi 3 Original Android Development] Manu11:
Can we modify that logo.rle present in kernel zip to change the splash screen or any other way to do so. I AM bored of this old mi screen.
[Mi 3 Original Android Development] ajayverma99:
MAX frequency is only 1928 by kernel adutior app with

Xenon Hd 24-6-2015 build
[Mi 3 Original Android Development] Gnome:
If a graphic artist here can make a beautiful splash screen for the kernel, Iĺl add it.
[Mi 3 Original Android Development] Riichard63:
I would like to help you but I don't have enough skills with photos hop sadly...

Do you have some ideas?

Envoyé de mon MI 4 en utilisant Tapatalk
[Mi 3 Original Android Development] Gnome:
[MENTION=5084493]Riichard63[/MENTION] I'm thinking of a biohazard logo with the stuxnet name. Since the kernel is named after a virus. Lol
[Mi 3 Original Android Development] Matoxxi:
We have to provide only the png right?

Inviato dal mio MI 3W utilizzando Tapatalk
[Mi 3 Original Android Development] Riichard63:
I actually made 2 attemps, tell me which one do you prefer :)

And if you don't like them that's not a problem, I know that I'm not so skilly with photoshop.
[Mi 3 Original Android Development] m4dbra1n:
The first one in red! :D
[Mi 3 Original Android Development] Riichard63:
Yes text is more visible in red.

I took yellow because habitually biohazard logo comes with such color :p
[Mi 3 Original Android Development] solazz:
Vote for red ?
[Mi 3 Original Android Development] diongdyh:
A lighter red would be nice!
[Mi 3 Original Android Development] Riichard63:
And with an halo effect?

Oh okay, will do it now :)

Edit : code for this red is #580606 which one would you like?
[Mi 3 Original Android Development] Skar3:
it would be better something more light, like material design for example? :) I think it will be more elegant
[Mi 3 Original Android Development] Riichard63:
Wow a material biohazard symbol? That will be hard.

I can't create that much, but I can use google material colors.

Edit : yes I'm not a designer so it's too hard :p Material design is really specific.
[Mi 3 Original Android Development] PoDgAnA:
Well here is something I made in yellow since that color more fits the biohazard theme. And as you can see with little bit of color understanding the text is seen good also in yellow.
[Mi 3 Original Android Development] diongdyh:
That's great!!!

First one is better!
[Mi 3 Original Android Development] bahblo:
+1 :good:
[Mi 3 Original Android Development] m4dbra1n:
So 80's/90's please no XD

Your first in red was better ;)
[Mi 3 Original Android Development] Matoxxi:
it's actualy my first one lol
[Mi 3 Original Android Development] Riichard63:
PoDgAnA just croped this image and add text xD : http://images.4ever.eu/logos/biohazard-161233 (no portrait full HD) [MENTION=4835685]Matoxxi[/MENTION] image may be harder to do than a crop and I like such old school style :p
[Mi 3 Original Android Development] PoDgAnA:
Well yeah of course I did that in 1m - I could go and create a logo for him but I don't have any spare time to do if for free, as I have quiet a lot of customers which need my design service. And I just did that image so one guy could see that actually the text can be easily seen on yellow background if you use the right colors.

And also about copying who knows you could have just found an vector file of that symbol and added glare to it and red background ^^?

If he likes it he can use it for free (also which is why I was using some graphic from google images) if not then no :)
[Mi 3 Original Android Development] Gnome:
Woah! Nice Graphics! Good job to all who did one, anyways you guys vote what to use and Majority wins. ;)
[Mi 3 Original Android Development] gary138.138:
My simple design:)
[Mi 3 Original Android Development] bluviper:
OK, this is my try for the splash screen....

2 variants, 1 with outer glow, the other an Inner drop shadow

----------------

no disrespect to the creator, but I think Ive missed placing the author of the kernel.

and so here it is... revised versions with the author.
[Mi 3 Original Android Development] marko94:
I like that :D :good:
[Mi 3 Original Android Development] PoDgAnA:
First one is much better in my opinion. I would remove by gnome it looks in the way and ugly just stuxnet+ should do.
[Mi 3 Original Android Development] bluviper:
ok man, will do that once this made the finals. *lol*

for the meantime, i just want to see that byline right there. just for credits.

here is a much simpler approach...

more like the other brand ei?!
[Mi 3 Original Android Development] rajib4:
I liked this one the most :thumbup::cool: