yashsingh1/xdaforums huggingface dataset:
[OnePlus X Original Android Development] CertifiedBlyndGuy:
Just wanted everyone to know what I've been doing lately

1. I'm back to using Sultans thermal driver and CPU input boost for now. This means that future versions will only work on his ROM and my upcoming version of Candy. They should also work on Sultanized RR as well

2. I'm contemplating rewriting parts of BFQ to assign a deadline to tasks based on budget... This I'd going to be hard but it should get rjd of the latency and should speed things up.

3. I may write my own hotplug driver and my own CPU governer as well

4. I'm not sure if I will be able to continue support for GZR and Slim.. I'm working on it but I don't want to do a billion mods to the ram disk

That's all for now. I might upload Mark XXII later but I need to do some testing

I fixed sound control too and I will slowly add back features
[OnePlus X Original Android Development] CertifiedBlyndGuy:
Good news everyone!

I have a compromise. We will be sticking with my thermal driver and implement both CPU boost (for the majority of ROMs) and CPU input boost (for my and Sultan's ROM).

The cool thing about this is that if you want to use one or the other, then you can use the available sysfs nodes for CPU input boost and disable CPU boost in KA. DO NOT use both at the same time however... So if you are on Sultans ROM do not enable CPU boost unless you disable CPU input boost via sysfs.

I also decided to get rid of debugfs, but don't worry, I made proper changes for ROMs not using Sultans stuff in my anykernel setup.

I need to do a bit of testing so builds won't go up until late tonight or early tomorrow (MST)
[OnePlus X Original Android Development] CertifiedBlyndGuy:
I just uploaded an experimental build. No changelog for that reason. Here's what I need tested:

1. Enable CFQ and test for random reboots. This is easiest when using benchmarks such as GeekBench and Antutu (which I don't usually recommend) however daily usage should expose such a bug were it present

2. Check if debugging is working properly on non-Sultan ROMs

3. Ensure that BFQ is the default on non-Sultanized ROMs

4. Make sure that CPU boost and CPU input boost do not conflict whenever disabled and that neither is using up CPU cycles.

That's it. Any other bugs should be reported as well. Please provide logs. Thank you ;)
[OnePlus X Original Android Development] Kolio_xda:
The phone sits on the table, then I hear the ringtone for a second and when I look at it the phone is restarting. Experimental build on sultans cm13 using cfq as io.
[OnePlus X Original Android Development] CertifiedBlyndGuy:
Now run a test with Zen and if it produces the same results. Thanks for the log! Itstbrought me that much closer to fixing it
[OnePlus X Original Android Development] Kolio_xda:
I

Ok I'll let you know when i flash it again. Btw gaming performance is a lot worse than sultans kernel. Like on that old test build with the different thermal.
[OnePlus X Original Android Development] CertifiedBlyndGuy:
I didn't make this kernel for gaming so much as battery life and day to day use. My kernels were never good for gaming.

Thanks for testing that again though. I appreciate it.
[OnePlus X Original Android Development] Kolio_xda:
Trying zen for more than a day and no reboot so far. Also gaming is better.
[OnePlus X Original Android Development] CertifiedBlyndGuy:
Mark-XXV builds coming later today! I've been testing for the last two days and it's worked flawlessly
[OnePlus X Original Android Development] CertifiedBlyndGuy:
Mark XXVII is up!

Please forgive me if I overlook any additions made:

1. Full support for Sultans ROM is now there. KCAL profiles stick, and CPU input boost is now utilized

2. Sultans ROM will default to Deadline, other ROMs will default to BFQ instead of Noop now. I recommend Zen as default

3. I added Mako hotplug, Zen Decision, and brought MSM Hotplug up to date courtesy of DespairFactor and his kernel! Kudos to his awesome work

4. I replaced ElementalX with Slim. Slim runs better and is better on the battery.

5. I added a power suspend driver and made tons of improvements to cpuidle and suspend drivers so as to optimize battery life when the kernel is not in use

6. I added changes made to MMC on Despair's 3.10 kernel for Shamu

7. More useless debugging info was disabled, and I made a few improvements to optimizations being made

8. Topology features such as unaligned access and other stuff to improve performance have been enabled

9. Qseecom synced with 3.10

10. Per process reclaim and improvements to memory management were added

11. Your device can now act as a keyboard and mouse with the proper app

12. If there were a case where somehow mpdecision were used, it can no longer scale frequencies. This coupled with other cupreq improvements were made

13. GPU fixes from Dorimanx were merged

14. Sultans latest changes to his kernel were merged

15. Xpad was synced with the latest version

16. Several kernel leaks were patched

17. Sound control has been fixed, and improvements to ASoC were made

18. Changes to the handling of IPC were made leading to slightly better performance acros the board

19. Changes from Dorimanx regarding IO were merged

20. We are no longer relying on debugfs... period. Wakeup sources are now symlinked for logs

That is all. Enjoy!
[OnePlus X Original Android Development] LolHacker17:
nice job
[OnePlus X Original Android Development] CertifiedBlyndGuy:
I wanted to learn a bit more so I have been working on my own kernel that uses stock as a base. Need not worry though. It will be specific to CM, Slim, GZR, etc... Not OOS.

The source is here if you'd like to follow my progress:

https://github.com/CertifiedBlyndGuy/android_kernel_oneplus_onyx
[OnePlus X Original Android Development] LolHacker17:
I get a lott reboot randomly with this build
[OnePlus X Original Android Development] mdsaif92:
Are custom charging rates implemented in this kernel?
[OnePlus X Original Android Development] mdsaif92:
What app to use to adjust this?

Thanks
[OnePlus X Original Android Development] Adesh15:
Kernel Adiutor Mod
[OnePlus X Original Android Development] CertifiedBlyndGuy:
Post your PVS rating.
[OnePlus X Original Android Development] CertifiedBlyndGuy:
And a log would REALLY help too. O can't fix things if I don't lbow the issue
[OnePlus X Original Android Development] CertifiedBlyndGuy:
Never mind... I found out what is causing it
[OnePlus X Original Android Development] CertifiedBlyndGuy:
Mark-XXXI is up!

1. Random reboots fixed

2. Added SIOPLUS (new recommendation, it's better than Zen) and FIOPS

3. Added Uberdemand (good for battery life, poor performance), Nightmare, and Darkness CPU governors

4. Reverted a few patches regarding MMC and PM that were iffy.

5. Switched to Mako from CPUQuiet... Battery life is better, and cores aren't plugged past 1.5ghz which is really nice. CPUQuiet will remain an option of course

6. Adjustments to crypto for better performance

7. Improvements to unaligned access

8. Sound control now works with headphone high performance mode. Sounds a lot better

9. Improvements to frandom

10. cpuidle never shuts down now... There is no need for it to on modern platforms

11. Synaptics uses a high prio worqueue now

12. We are back to using generic rwsen as it was never really "optimized"

13. A few misc fixes to futex and the scheduler were made

14. KCAL now works with MDSS to determine whether or not the display is on. Why? Because there is no need to have two checks to verify this... AND because I shortly found out that while I may have temporarily fixed it on Sultans ROM, it was not permanent. Unless the device entered suspend fully, then KCAL never recognized the panel as coming back on... Now it is hooked to the display driver and MDSS determines the state. This means less wasted CPU cycles, and cleaner code, and a permanent fix

15. I implemented a fix for the yellow hue into KCAL. The display seems more accurate now. Over time saturation seemed to have gotten worse for me, so I implemented this.

16. PVS8 users, we are back to stock voltages. I'm never touching those again. Not worth my time. We still use Bacon's clocks though

I believe that is it...

That said, I HIGHLY recommend you guys check out flar2's EX Kernel Manager app. It works better than KA Mod, and allows for custom settings. This means that you can configure all of my drivers without having to go through the struggle of exporting the values to sysfs now. It is only $4 on the play store, and it has done wonders for me... Not only this. but you can finally configure each throttling step in my thermal driver :)

Enjoy guys. I put a lot of work into patching up this release today so I hope you will like it. As such, it is now marked stable :)

Here's to an even better 2017! Maybe I will get a new device to play with and continue my work on Onyx

By the way, sorry I have not kept up with edits to the OP. There are obviously way more things I have implemented up to this point so take the OP with a grain of salt. I will update it when I get around to it
[OnePlus X Original Android Development] Kolio_xda:
Thanks for the new version RJ. Sioplus recommended on Sultan instead of deadline?
[OnePlus X Original Android Development] CertifiedBlyndGuy:
Yup
[OnePlus X Original Android Development] LolHacker17:
Update recommended setting pls :)
[OnePlus X Original Android Development] CertifiedBlyndGuy:
I will eventually. Not for a while though. There really aren't recommended settings. Everyone should try things for themselves.

That said, I've been working on an OOS kernel now too as well as perfecting my thermal driver.
[OnePlus X Original Android Development] CertifiedBlyndGuy:
Not much time anymore for anything to be honest
[OnePlus X Original Android Development] CertifiedBlyndGuy:
Okay so new builds of deCAF will be up in a new form coinciding the new kernel later tonight or early tomorrow. That said, I will also be using a new TC based on Linaro and optimized by Dorimanx himself for Cortex-A15 chipsets :)

I may return to Uber in the future, however I feel the project that while great, is beginning to lose it's foothold and I would like to stick with something a little more conservative without having to stick with the default GNU patches.

The device seems more fluid now, and since Dorimanx had originally compiled this for the LG G2, of which shares the Krait 400 architecture with our device, it should be that much better in place of using a toolchain compiled for generic use
[OnePlus X Original Android Development] IchBinNoob:
Does this Kernel work with Paranoid Aospa?
[OnePlus X Original Android Development] gurgao:
Waiting.... Kernel is gr8 with Tesla
[OnePlus X Original Android Development] CertifiedBlyndGuy:
Awesome. I will try to get builds up today
[OnePlus X Original Android Development] gurgao:
2 experimental builds practical and mark have been uploaded, which one to go for....Aren't these stable?? And what's the difference
[OnePlus X Original Android Development] CertifiedBlyndGuy:
If it is in the experimental folder then it is not stable, hence the name experimental. Wait for me to announce builds and test builds before flashing them. I offer no support for them. Wait. Patience is key
[OnePlus X Original Android Development] CertifiedBlyndGuy:
Okay so I tested it, and Practical Mark-IV is in fact stable. It also the successor to deCAF. For a changelog, please reference my Git. For now, the build is in the experimental folder however it is stable. An idea popped into my head recently so I am going to wait to do the rebrand another week or two. For now, the project is dormant. I have school coming up tomorrow and I'll have less time. Be sure to check back occasionally though for new test builds today... You'll get an idea of what I'm doing ;)
[OnePlus X Original Android Development] CertifiedBlyndGuy:
Murdok Mark I is up... this is it guys!

I did a full upstream to 3.4.113 (with the patches from 3.5.0) thanks to Nachiket Namjoshi. Complete credit to him. I am also working on a kernel for the NextBit Robin now too. The OOS kernel will go up next weekend and I will overhaul the thread soon

Edit: the only broken thing in Murdok so far is sound control. Besides that, this is the smoothest kernel I have ever made!

Edit 2: sound is actually completely broken...
[OnePlus X Original Android Development] OldDroid:
when you overhaul your thread please make sure to stop self-pushing your thread with constant status updates.

Regards
[OnePlus X Original Android Development] CertifiedBlyndGuy:
Murdok Mark-II is up!

I fixed the audio bugs.

[MENTION=4960686]OldDroid[/MENTION] I will do that, but kindly give the OP a final read please.
[OnePlus X Original Android Development] Kolio_xda:
Thanks. Audio is indeed fixed. I'll test and let you know on smoothness.
[OnePlus X Original Android Development] gurgao:
Recommended settings
[OnePlus X Original Android Development] dchrono:
So glad to see your back!! Going to give your work a run tonight. Thanks RJ!!!
[OnePlus X Original Android Development] gurgao:
Mark 2 flashed, so far so good charging phone rt now
[OnePlus X Original Android Development] Kolio_xda:
Mark II is smooth as butter. Even in gaming.
[OnePlus X Original Android Development] gurgao:
Battery got discharged early with recommended settings as in snapshots
[OnePlus X Original Android Development] Kolio_xda:
For one day use I think that battery is a lot better compared to Sultans kernel. Using default settings. No drain at all.
[OnePlus X Original Android Development] gurgao:
Oh I just watched Sherlock for 1hr nd my battery went from 51 to 18
[OnePlus X Original Android Development] gurgao:
I'll also try default now
[OnePlus X Original Android Development] BrokenBee:
Does this work with LineageOS builds?
[OnePlus X Original Android Development] CertifiedBlyndGuy:
It should
[OnePlus X Original Android Development] CertifiedBlyndGuy:
I'll remove those. Don't use them. Use settings that work for you; not me
[OnePlus X Original Android Development] dchrono:
Yup, running buttery smooth.
[OnePlus X Original Android Development] BrokenBee:
Some people don't really know what settings to use, thats why they are asking you for recommended settings.
[OnePlus X Original Android Development] CertifiedBlyndGuy:
I know, but they should really reqd up on them so that they know what they are getting into. I might create a FAQ in the future though
[OnePlus X Original Android Development] gurgao:
Guys what's this over counted in battery consumption? Searched everywhere but didn't find a good explanation ...View attachment 4000797
[OnePlus X Original Android Development] CertifiedBlyndGuy:
Murdok Mark III is up!

I implemented a few changes from 3.4.113 that we were missing, tweaked and enabled adteno idler, and made a few other general improvements

PVS 8 users: 2.5ghz returned again, and cores no longer get stuck due to a mistake I made in the DTS

And Ether users will see my kernel soon. I plan to pick one up shortly to replace Onyx
[OnePlus X Original Android Development] Kolio_xda:
Thanks RJ. Previous version is amazing and I guess this one is too. Running like a beast.
[OnePlus X Original Android Development] gurgao:
So far behaving greatly on my tesla
[OnePlus X Original Android Development] 9888:
How is the Battery backup ????
[OnePlus X Original Android Development] gurgao:
Won't comment now , cudnt fully charge the phone, but m satisfied
[OnePlus X Original Android Development] CertifiedBlyndGuy:
Mark-IV is up however it is experimental. It features a new Alarm API that I need to be tested via bluetooth and stuff like that (it seems completely unrelated, but bt uses alarm timers thus can be affected) as well as several things to ensure that it does work right.

Another thing I did with our charging interface was move it over to a power effecient worqueue and I ratelimited log spam, though whether this causes any issues with charging is yet to be seen.

Oh, and I traced the reason that the charging interface lacks accuracy... It is due to our implementation of fast charge. When disabled, this issue no longer persists. CLI does not have this issue and accomplishes the same thing, so I might just remove *fast* charging (not CLI) though I will attempt to fix it first
[OnePlus X Original Android Development] CertifiedBlyndGuy:
The project has permanently been rebranded to Aries. I hope you all enjoy! G+ community will come soon too so that I am not constantly resurrecting this thread. Enjoy the freedom of customization

Edit: oh, and now upon flashing, you get a pretty awesome Pixel wallpaper too! I am not any good at graphic design or anything like that so I just decided to do that... It isn't like you can't change it
[OnePlus X Original Android Development] gurgao:
Bro u changed everything, pixel wallpaper is beautiful, u Shud post recommended settings
[OnePlus X Original Android Development] CertifiedBlyndGuy:
I'll do that. I have to do a lot regarding UKM and the kernel first. A lot of stiff to make cohesive. For instance, I have a Synapse setup that relies on LGEs sound implementation and MSM limiter. We've got a far way to go before there are genuine recommended settings

Full credit to Galactic Stryder on the Any kernel setup by the way. Were it not for him, we wouldn't have a lot of the features that we do. Too bad him and Dorimanx left for higher end devices though.

Might have to get my hands on an Axon 7 Mini, NextBit Robin, or a Leeco Lee Pro3 soon. The 3T is expensive, but I'll try to get one.. I don't know. Completely off topic lol

Or I may just keep Onyx for another year ;)
[OnePlus X Original Android Development] @bhijeet:
Will this kernel work on lineage os on my opx
[OnePlus X Original Android Development] @bhijeet:
Can I use this kernel on lineage os (nougat) by ashwin
[OnePlus X Original Android Development] IchBinNoob:
Recommended OS?
[OnePlus X Original Android Development] CertifiedBlyndGuy:
Nope. Personally, I use Tipsy and Citrus
[OnePlus X Original Android Development] sphoenixp:
SLiveLable has failed in many places in Synapse.. Config will be really helpfull or tut otherwise.
[OnePlus X Original Android Development] CertifiedBlyndGuy:
Mark-III is up... Sweep2Wake should now display in Synapse, and sound control should work now. Also upgraded devfreq and I added MSM limiter and a few other things...
[OnePlus X Original Android Development] Kolio_xda:
RJ pls upload it to dropbox. And I hope that you keep your onyx for a while longer :)
[OnePlus X Original Android Development] CertifiedBlyndGuy:
Sorry about that.. I pulled the release. In taking a log, ZRAM wasn't very stable and over time would cause kernel panics. Working on a release right now
[OnePlus X Original Android Development] CertifiedBlyndGuy:
It's not a perfect implementation as of yet. Working out a few bugs with Synapse right now. I forked it from Lambda's config and I've been working on it sense... A few kernel features I have added as well. Next release should be much better in that respect. So far everything but ZRAM, and my CPU setup are working as of now. Limiter should be configurable after this upcoming release though
[OnePlus X Original Android Development] CertifiedBlyndGuy:
For those wanting to mess with updates I make to UKM (Synapse), you can pull the latest changes from here:

https://github.com/CertifiedBlyndGuy/anykernel_oneplus_onyx

I can not guarantee this will always work though as occasionally I change stuff in my kernel source as well. Just pull the folder from data/UKM and delete data/UKM on the device then just copy that folder over
[OnePlus X Original Android Development] CertifiedBlyndGuy:
Mark VII is up with better Synapse support, and CPU boost again. It's a lot better than the original revision. There are more changes but I'd rather not post them. Look at my Got as usual. My entire day went into this release so I hope you enjoy it
[OnePlus X Original Android Development] Kolio_xda:
Something's wrong with the latest release. Really laggy and stuttery. CM logo lags and can't boot for 5 mins.
[OnePlus X Original Android Development] LolHacker17:
The latest build make my phone more laggy mark-vII make livedisplay broke
[OnePlus X Original Android Development] LolHacker17:
For me mark ||| is the smoothest n better
[OnePlus X Original Android Development] CertifiedBlyndGuy:
Looks like it is State Notifier that broke live display.... Doesn't seen to matter much though as I provide KCAL and that works better. CPU boost seems to be the causation of the lag everyone is witnessing so I'll never add that back again.

Edit: never mind. Devfreq changes caused this mess. I'll try to look at it tonight but I might have to put it off until Friday
[OnePlus X Original Android Development] LolHacker17:
u know tht livedisplay fix is why i use this kernel hmmm it can prevent my eyes become blur plss
[OnePlus X Original Android Development] CertifiedBlyndGuy:
Try Mark-VIII. Just uploaded it.
[OnePlus X Original Android Development] Kolio_xda:
Dropbox? Can't see it yet.
[OnePlus X Original Android Development] CertifiedBlyndGuy:
Connection dropped. Should be up now. Just removed the devfreq changes and CPU boost and added CPU input boost back. Working on a way to configure it in Synapse

As for LuveDisplay, if it isn't working still, I came across this gem:

https://github.com/flar2/ElementalX-N5/commit/2e5895b62a7e9e17faeed6d8eb0ef06870d66fb5

If I implemented this, then all you would have to do is is disable state notifier in favor of fb notifiers again. I can add that switch in Synapse though so don't worry about it ;)

Next step will be upstreaming cpufreq to 3.10, and fixing the remaining Synapse stuff
[OnePlus X Original Android Development] Kolio_xda:
Thanks. Boots fine and no lag.
[OnePlus X Original Android Development] LolHacker17:
Lol i flash latest kernel n livedisplay work on my RR opx ?? thnks bruh
[OnePlus X Original Android Development] CertifiedBlyndGuy:
No problem. I figured you and other users needed it. What good are a few lousy buzz words if they end up hurting people in the end?
[OnePlus X Original Android Development] LolHacker17:
emm im sorry i just so happy that ur kernel is working rockly in my phone :):o:D
[OnePlus X Original Android Development] gurgao:
Running great
[OnePlus X Original Android Development] BrokenBee:
What ROMs are you guys using?

[MENTION=5900207]CertifiedBlyndGuy[/MENTION] - is Mark VIII still compatible with Sultans?

[MENTION=6040907]LolHacker17[/MENTION] - which RR are you on?
[OnePlus X Original Android Development] LolHacker17:
25dec
[OnePlus X Original Android Development] CertifiedBlyndGuy:
We rebranded (yet again) in respect to the dev of Aries for the Mi4.

I swear this is the last name change.

A lot of improvements have been made over the last few days, and I hope you guys enjoy this release. Most notably, ondemand is now the default governor and has been synced with Dorimanx. It really doesn't get enough credit honestly. We also now are using CPUQuiet as default with all other hotplugs disabled.

For those wanting a few of the redundant features I have removed, I uploaded the TC I use and edited my build script so my sources include everything now. All you have to do is enable them in the defconfig.

A note to everyone though, gestures might have to be refactored if I can ever get PA booting (loops at the OP logo), so it might become mandatory to use Synapse to enable in them
[OnePlus X Original Android Development] Kolio_xda:
Dirty flashed and no problems. Smooth as usual. I don' use gestures, so can't tell whether they work. Thanks RJ and keep up the good work.
[OnePlus X Original Android Development] R324D:
Does it work with AOSP custom rom like Slimrom?

-edit--

Nvm :D
[OnePlus X Original Android Development] Kolio_xda:
I had this weird thing happen last night. My battery had gone below 15% and power saving kicked inn and then performance took a drastic hit as usual. I plugged my phone and in the morning fully charged the performance was still bad. A hard restart fixed it. Don't know if it's ROM or kernel related. I'm on Sultan.

Btw the latest version feels even snappier than the last one. Great job you did RJ.
[OnePlus X Original Android Development] CertifiedBlyndGuy:
I'll have a look. Zen decision does that, but I disabled it...