yashsingh1/xdaforums huggingface dataset:
[ONE Original Android Development] abhibnl:
This is really some exciting news. But wouldn't it break some apps like skype? I believe app compatibility was the reason [MENTION=2332422]temasek[/MENTION] decieded to switch back to GCC 4.8 for rom/kernel. My doubts can we pointless as well since he changed the toolchain on the rom as well and we're talking about only a kernel here.

Sent from OnePlus One
[ONE Original Android Development] LiquidSolstice:
If I recall correctly, Temasek switched toolchains in an effort to try and figure out what the heck was going on with the wifi issues (where toggling wifi would cause the whole system to crash and hard reboot). It turned out to not have anything to do with the toolchain, but I don't think he ever switched back.
[ONE Original Android Development] abhibnl:
Well he did switch to stock toolchain as the hlte users were having issues with app compatibility e.g amazon reader app.

Sent from OnePlus One
[ONE Original Android Development] letroll59:
Oh Yeah

Oh man you're a war machine, I'll wait your mail like a child before christmas
[ONE Original Android Development] RenderBroken:
You should have already got it, I will resend it asap. I noticed one bug though. It wont connect to the computer via MTP. Still would be nice to know if the other feature works though. Thanks!
[ONE Original Android Development] Paoliz:
With stock settings, is this kernel good for battery life? (Without synapse tweaks)

Inviato dal mio OnePlus One
[ONE Original Android Development] RenderBroken:
I like to believe so. I get 5 hours SoT with very heavy usage. I use a Bluetooth headset all day and listen to audio books the whole day with wifi connected at work. I get home after a 10 hour day with about 30 to 25 percent left. This is with the stock settings. It estate new tunable from time to time but stick primarily with the stock settings.
[ONE Original Android Development] Paoliz:
Thank you, but I have some lags on lockscreen (stock settings, only flashed kernel), how can I fix?

Inviato dal mio OnePlus One
[ONE Original Android Development] letroll59:
I have tested with this app which work with the patch, the application run and don't ask after a kernel with the patch, but the mouse or keyboard not work :(

and I can't send you logcat, my phone are not visible by adb now
[ONE Original Android Development] ak:
[MENTION=5438598]RenderBroken[/MENTION]

i have merged also, i can upload source ... do you have pushed on git?
[ONE Original Android Development] RenderBroken:
ok thanks! Just flash the previous kernel to fix the mounting issue. I was curious if the mod I had to port worked still or not. I have an idea of what the problem is though. Once again I will have to do a major revert of a squashed commit (Thanks Steve) to have it functioning correctly. I will try to work with what I have first though. Thanks for the report!
[ONE Original Android Development] RenderBroken:
Yes sir!

https://github.com/RenderBroken/msm8974_OPO_render_kernel/commits/r16-t2

Thanks bro!
[ONE Original Android Development] RenderBroken:
Its really hard to say for sure. I have not such thing and have not noticed and lag, or micro lag for that matter. Especially with the lock screen. So that leads me to wonder what exactly you may have modified or what is different between your phone and my own. Can you tell me if you changed anything? Or at least go into as much detail as possible about the lag on the lock screen? Its hard for me to think that my kernel is lagging on the lock screen because I have code that fires up all 4 cores upon wakeup. So you really should not have any lag on the lock screen. But I believe that you do otherwise you wouldn't report it so this is why I am interested in the details. There may be some other cause. Also can you tell me if you use Xposed? Thanks for the report!
[ONE Original Android Development] ak:
good.
[ONE Original Android Development] Paoliz:
I'm on latest cm12s and no xposed

Inviato dal mio OnePlus One

---------- Post added at 04:04 PM ---------- Previous post was at 03:57 PM ----------

One thing: I was on AK kernel, I was on MixMash v10 synapse profile and there was lags on lockscreen, but without this profile, there weren't lags, now I have unistalled synapse and deleted synapse folder from internal storage, but now with render kernel I have still lags

Inviato dal mio OnePlus One
[ONE Original Android Development] RenderBroken:
This here is some very good information! Before the OnePlus One, I had never used SmartMAX. So I essentially just set the tunables to what [MENTION=1546609]gianton[/MENTION] has recommended and they have worked really well so far. BUT, I can see room for tweaking to achieve the same level of smoothness while getting better battery performance. I will play with the tunables today and see what comes of it. Also I have seen your posts and have talked to you from time to time enough to not take offence. :) I like to take things in context. Ironically I was looking at Gov tunables this weekend to see what could be optimized and I was looking at the very same things you pointed out. Feel free to drop knowledge on this thread anytime.

So nothing else has changed? Could you explain the lag a little better?
[ONE Original Android Development] Paoliz:
I was on AK kernel, I was on MixMash v10 synapse profile and there was lags on lockscreen, but without this profile, there weren't lags, now I have unistalled synapse and deleted synapse folder from internal storage, but now with render kernel I have still lags

There are lags on pull down notofication bar, with swipe up to unlock and other swipes for phone and camera

Inviato dal mio OnePlus One
[ONE Original Android Development] Flak:
Just a quick question (on R15), I've tried both Kernel Adiutor and Synapse. Setting any max freq that is less than the default doesn't seem to stick. I like to use 1958 cause I don't notice any real difference in performance between 1958 and 2457 but I get consistently 45mins more SOT. Also, does it matter (or are they both wrong) that some of the smart max tunables are set to freq's not in the freq table?
[ONE Original Android Development] slebit:
I have been using r13, r14 and r15 the last couple of weeks. And no issues with any of them. For ones I feel like I don't have to do anything to improve performance and battery life. It just works. And that is a really nice feeling! Now I can enjoy my phone instead!
[ONE Original Android Development] RenderBroken:
I was able to merge and seen where I has mis-merged. Thanks again my friend!

Hmm, is this with a clean install? If you are up for it, do a clean install of the rom then flash my kernel. That way I know for certain that there isn't something else interfering with my kernel settings. I can tell you for certain that lag on the lock screen is not normal for this kernel.

Not certain but I would love to look at it. It could be the governor or something like that causing issues. Thanks for the report!

Sweet! Glad to hear!
[ONE Original Android Development] Ofthecats:
Personally I've been running yankactive very successfully, mainly with bricked hotplug
[ONE Original Android Development] Paoliz:
I'm on stock... So... Let's try some new roms :D wich ROM you suggest with this kernel for battery?

Inviato dal mio OnePlus One
[ONE Original Android Development] ak:
@RenderBroken

i have added one commit to android keryboard:

https://github.com/anarkia1976/AK-OnePone-Reborn/commit/7b1b44ea74c7d936bac1509cbe0a4637c7635f94
[ONE Original Android Development] RenderBroken:
Got it! Thanks.
[ONE Original Android Development] ponytojas:
[MENTION=5438598]RenderBroken[/MENTION] I feel today complete R15 work smooth on my phone with AOSPAL without the ghost-touch

I now you were not thinking of me when you build it, buuuuuuuuuuuut you're simple the best :svetius:
[ONE Original Android Development] Mohdsultan:
Does this kernel have fast charging?

My oneplus one is charging soo slow that it takes 7 hours to charge from 0.

I am looking for a kernel which can fasten this process.
[ONE Original Android Development] threetwentyfizzle:
Thanks for breaking down how your kernel and hotplug setup operates. In terms of getting the most in performance, battery and fluidity, could you possibly look at how some of the custom kernels on the HTC M8 operate, since both devices share the same 801 chip? I believe that the M8 uses MpDecision and their own derivative of the On demand CPU governor. I know that this is comparing apples to oranges, but that phone had pretty decent battery life and smoothness overall. All 4 cores would run accordingly to the workload, but would only ramp up to max clock when they had to. A lot of the time other cores would be running at 300mhz instead of being offline. If you could port or implement how HTC tuned their gov frequencies for the 801 chip, maybe this device could gain a nice middle ground between performance and battery life. I'm no kernel guru, so I could be wrong, but I think it is definitely worth looking at, at least for reference... And this is GPE kernel I'm speaking of, not Sense, although I believe they both operate similar.

On the feature request side, could you consider implementing Fauxsound support? Thanks!
[ONE Original Android Development] Bobbi lim:
M8 Sense kernel and GPE kernels work totally different from one another. GPE kernel is actually similar to what stock AOSP kernel works and does not include any optimized ondemand governor and such whereas Sense kernel is the one that actually includes a optimized ondemand governor for the M8.

As for whats the difference?

For GPE kernel, after a certain workload (or whatever is called - I forgot :p) crosses the designated (for eg) 80%, the CPU will automatically bump up from 300mhz to 2ghz so that no lag is felt by the user.

As for Sense kernel, it's similar to the GPE kernel in scaling but to provide the best battery possible without compromising performance, CPU will gradually scale up and not jump up to the required frequency to save battery. But when it comes to loading on games, it'll jump up to 1+ghz and dynamically scale up to the required frequency for the best performance using the least battery.

That's how the M8 with Sense seems to outlast the OPO in terms of battery...
[ONE Original Android Development] abhibnl:
Well i'm experiencing those lags on lockscreen too no matter which kernel i try. So i stopped being bothered by it. Though it's irritating from time to time.

Sent from OnePlus One
[ONE Original Android Development] threetwentyfizzle:
You think if the ondemand setup was tweaked similar to that device, achieving higher sot and great deep sleep stats in addition to that fluidity would be possible, especially since this phone has a much larger battery than the M8? Just saying, I could achieve 5 hours SOT on a typical 18-20 hour charge, and while I haven't had this device long enough to tweak to my liking, I'm sure 6-8 hours is definitely possible without major sacrifices. Perhaps if anyone is familiar with the N5, the ElementalX governor was tweaked pretty great for that kernel. Would be really cool to see how it works on this device.
[ONE Original Android Development] schaggo:
Dont forget the screen size, [MENTION=4928648]threetwentyfizzle[/MENTION]. Half an inch more means a substantially larger hit on the battery, no matter what.

So 8h on a "standard setup" (letting stuff such as greenify, powernap, amplify aside, only working kernel-side) is probably a very steep target, but 6-7 should be achieveable on "normal" use.

I reach almost 5h with playing Ingress. Ingress means constant tapping around on the screen (=constantly boosted cpu), lots of data transfer and constant GPS. And of course screen on, 100%. Thats hardcore. With the ****ty LG G3 I ran flat around the 2h mark max.

This is with the setup mentioned earlier. Smartmax, touch poke 0, boost 1574, up step 150000, down step 300000, min and max 45 and 85, ideal awake 1036, ideal sleep 729. Screen brightness on auto and set to about 15-20% (its right above the wlan quick toggle, so quite dim).

But as mentioned, I had constant soft reboots recently, when believing Omni devs and generally browsing the forum, its CMs fault. So I'm currently running that CAF-kernel based CM build sincr yesterday evening to see if it makes a difference.
[ONE Original Android Development] ak:
i have tested mtp and adb with the new keyb patch, i don't see problems for now. :good:
[ONE Original Android Development] letroll59:
Cool!!!! If you need tester I'm here :D
[ONE Original Android Development] Bobbi lim:
Tweaking ondemand for the OPO to work similar to the M8's ondemand would be something hard for the kernel dev (unless they work for HTC [emoji14]) since it's a high level coding that flar2 and holyangel told me when I brought it up to them once - pushing how the sense kernel concept onto GPE.

On stock kernel with OxygenOS and CM12s, I'm easily getting 6hrs SOT on a 26-28hr standby but I got a great battery life yesterday (screenshots attached)
[ONE Original Android Development] Paoliz:
Okay news for everyones had lags in lockscreen: I previously backupped stock kernel, so I restored this backup, and now lags are gone... So I think that is a problem between custom kernels and stock cm12s (?)

Inviato dal mio OnePlus One
[ONE Original Android Development] Bobbi lim:
I don't think so since I tried stock kernel, Faux, AK, Render and other kernel on CM12s and don't face lag on lockscreen :rolleyes:
[ONE Original Android Development] Paoliz:
I've tried AK with MixMash v10 synapse profile and I had lags, after, render kernel and lags, now stock kernel and no lags

Inviato dal mio OnePlus One
[ONE Original Android Development] abhibnl:
Also i would like to add that i use xposed, so that could be the reason for locksreen lag for me. Tried switching to interactive as well, still lags.

Sent from OnePlus One
[ONE Original Android Development] Paoliz:
Never used xposed, but for me there were lags

Inviato dal mio OnePlus One
[ONE Original Android Development] Bobbi lim:
Might be due to that user's profile? Does it happen on a clean flash of the kernel - when you didn't apply any synapse profile?

What xposed mods are you using? Did you apply any profiles?
[ONE Original Android Development] Paoliz:
With stock AK, no lags, with user's profile, lags, after, unistalled kernel, unistalled ukm (and synapse with folders on internal storage, deleted init.d script) flashed render kernel, and lags

Inviato dal mio OnePlus One
[ONE Original Android Development] Bobbi lim:
Have you tried to dirty flash your ROM before you flash render?
[ONE Original Android Development] Paoliz:
I'm on stock ROM, so, only wipe data or reflash factory image?

Inviato dal mio OnePlus One
[ONE Original Android Development] RenderBroken:
I am currently looking into msm_limiter and testing as well. I rally want the freq to stick to whatever its set to. I may even get with Neobuddy89 to see what could be done. First, I will test. Also I am working to get it supported by Kernel Adiutor. Still depends on Garak.

I see what you mean about touch_poke_freq. That makes sense. Better to just save unnecessary freq changes.

Lastly. I have tuned SmartMAX pretty close to what you had recommended and I am impressed. Still I have retained the fluidity but its still not quite as smooth as before the changes. I ended up bumping up input_boost_freq to about 1.4 and sync to 1.7. Now we are back to being fluid and I feel that its not stuck no high as much. The reason I prefer using SmartMAX is after testing both SmartMAX and Interactive, I still achieve better performance with SmartMAX.

Still I am always testing and tweaking. If you want to put that tinkering mind to other parts of this kernel. Feel free to post in thread. I find this fun :) This convo is what I would love to have all the time. I love learning as much as the next guy if not more!
[ONE Original Android Development] Bobbi lim:
Just wipe cache and dalvik cache and flash the kernel again. To prove that flashing Render (without messing anything in synapse) does not cause lock screen to lag. Tried it on my CM12s ROM to make sure and got my beta tester to check it out. Both of us has no issues. So it might be yours but at [MENTION=5438598]RenderBroken[/MENTION] might know better ;)
[ONE Original Android Development] RenderBroken:
Yea, its hard for me to believe its just my kernel causing the issue. I think there is something causing interference. If it was just my kernel, more would make the same complaint as it would happen to everyone.

Also thanks for testing!
[ONE Original Android Development] Paoliz:
Yeah no problem, after I'll download kernel and try ;)

Inviato dal mio OnePlus One

---------- Post added at 06:19 PM ---------- Previous post was at 06:03 PM ----------

Ok flashed with cleaned cache and dalvik, but still laggy

Inviato dal mio OnePlus One
[ONE Original Android Development] RenderBroken:
Did you clean flash the rom too? What I would like for you to do is clean flash the rom, gapps, superSU (if you use it) then my kernel. Thats it. Let it boot and see if the problem remains after just flashing those items. Thanks?
[ONE Original Android Development] Paoliz:
Yeah but now I can't, I think tomorrow ;)

But I'm on stock, I reflash factory image?

Inviato dal mio OnePlus One
[ONE Original Android Development] abhibnl:
I'm using Greenify, Crappalinks, Enable Notificaton Ticker, Nooverflow, PlayStore Fixes, GravityBox. And no, i use my own profile on boeffla kernel.

Well the lags were also present with stock kernel for me. So not sure what's happening.
[MENTION=5438598]RenderBroken[/MENTION] As soon as time permits, i'll flash latest kernel on fresh COS12 installation and will report here. :)
[ONE Original Android Development] Bobbi lim:
Why don't you flash my CM12S ROM (at my signature) and flash render kernel over it and see how things fare? ;)
[ONE Original Android Development] Ofthecats:
[MENTION=5438598]RenderBroken[/MENTION]

Have you tried messing with yankactive?

For me, its a great balance between performance and battery
[ONE Original Android Development] RenderBroken:
Yea, I am using it now. I plan on using it by default on the next build that's incoming.
[ONE Original Android Development] LiquidSolstice:
Well, that makes me a bit nervous, but I trust your judgement; if yankactive is definitely as smooth as you've made smartmax, I'll definitely use it.

I've been running R15 on the latest Euphoria and I completely forgot what a joy my phone can be to use. Thank you again for that experience.
[ONE Original Android Development] threetwentyfizzle:
I agree, thanks for the great work. This is the first and only kernel I have tried on my new device, and its running pretty well. Still trying to get the battery life settled in and stabilized, got quit flashing [emoji13] Finally found Euphoria, and found the perfect blend of options I've been looking for, and this Kernel feels definitely noticeable over stock
[ONE Original Android Development] spr33:
Apologies for asking this question but is it possible to change the screen changes to stock without using Synapse? Thanks in advance.
[ONE Original Android Development] nfin1te:
Just one quick question: will you be altering/"fixing" the boot script regarding the screen issue I mentioned in the euphoria thread? (take a look here: http://xdaforums.com/showpost.php?p=61640041&postcount=4251 and here: http://xdaforums.com/showpost.php?p=61642948&postcount=4255 ) or is there any other workaround so that i dont have to set the correct value again? thanks :)
[ONE Original Android Development] RenderBroken:
I was going to remove the setting from boot up. This will fix your issue.
[ONE Original Android Development] nfin1te:
As usual, thank you very much! :)
[ONE Original Android Development] letroll59:
Hello [MENTION=5438598]RenderBroken[/MENTION], have you merge [MENTION=3685904]ak[/MENTION] commit or have find a fix for the usb keyboard part?
[ONE Original Android Development] RenderBroken:
I have merge it with the same results as before. Cant properly mount the phone to any device over USB.
[ONE Original Android Development] ak:
have you try to collect dmesg directly from phone when connected?

i can mount phone without problems.
[ONE Original Android Development] RenderBroken:
I had already moved on. I will try it again and pull a log. Once done I will link you.

On another note, you said that for the lower freqs (146, 223) you could not get the voltage to apply right? I cannot find the discussion we were having. How where you able to confirm?
[ONE Original Android Development] ak:
The problem is on my side, have you try to undervolt to min possible these freqs on your kernel?

Sent from my A0001
[ONE Original Android Development] RenderBroken:
I have never tried to see how low I could go but I have done negative 85 before and was still stable. So that would mean 300MHz would be at 615mv. I may try to see how low I can go, just to say I had done it lol
[ONE Original Android Development] ak:
Because on my side on freqs < 268Mhz undervolt isn't applied correctly ...

Sent from my A0001
[ONE Original Android Development] Bobbi lim:
[MENTION=5438598]RenderBroken[/MENTION] do you have any kernel that will work with CM11S 4.4.4?

I've tried searching but didn't see anything relevant and I head over to your download site to check if any kernel is compatible and only the latest is available so if you do have one, mind dropping me a link for it?
[ONE Original Android Development] schaggo:
Soft Reboots

I'm getting constant softreboots. I cannot make out a pattern. There's times where the device runs fine for hours, then there's times when the device goes down every 20-30 minutes.

Often I don't even notice it until I turn the device on and find notifications of apps which only launch upon boot. Launching BBS confirmes with "Falling back to since boot" toast which then shows something in the minutes range instead of several hours.

I tried it with several nightlies. 30.6. 25.6. but also went back to 18.6. and am currently running 6.6. but doesn't help.

Some captured last_kmsg to be found on mediafire: https://www.mediafire.com/folder/u4tvhnht6uwhh/RenderKernel_logs
[ONE Original Android Development] letroll59:
in any case thank you both for helping me, I installed the latest version of your kernel @Ak, it works well. Apart from that, I have had no problems with the two kernels. They are awesome, I have suggested I link to your kernel to the author ;)
[ONE Original Android Development] RenderBroken:
No, I don't. Sorry bud.

I use Euphoria without issue. I have not tried using a straight nightly though. Also it's weird that you are the only one reporting this issue. I know I use this phrase alot but I would imagine if it was directly related to my kernel, more would complain of the same issue. But not sure if I remember you saying this happens while using AK too. I will gladly look through the log for you to see what the deal is. Thanks bro.

I have tried his patches and I received the same results. I have to fix the issue elsewhere. I had reverted a number of commits made to get some other under the hood features to work. I suspect this is the reason for it not working but I will track it down. Thanks.
[ONE Original Android Development] mp3deviant721:
Hint: Install a LP bootloader and you will be able to boot LP kernels. Just note that RenderBroken probably won't give you any support if you do.

OnePlus One | Euphoria OS x Boeffla edition™
[ONE Original Android Development] Bobbi lim:
Thanks for the suggestion but sounds confusing (pardon me) as I only got my OPO for about a month or so. But thanks for the suggestion since I'm using my CM11S and CM11 O5Q firmware together with my personally tweaked stock kernel that packs with the ROM so everything is working fine for me ;)

As for [MENTION=5438598]RenderBroken[/MENTION] , no worries bro if you don't have it :D Quite happy with my personally tweaked stock kernel that's giving awesome standby and SOT. Obtaining 15min SOT on barely 2% ;):p
[ONE Original Android Development] RenderBroken:
Interesting. I would imagine that there will be some met dependencies.

I would be interested to hear if this works with my kernel.