yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Android Development] abhijeet715:
Ben was facing random reboots on your RR ROM when an incoming call came and i didnt receive it, the phone used to reboot after a few mins. Uninstalled xposed also and checked, no use. Have the log with me but its with xposed installed. Posted on the rom thread. Also theres a but slow reboot speed, could you please check that :)

---------- Post added at 09:23 PM ---------- Previous post was at 09:16 PM ----------

Anyone whether v5.0 has the other TCP Congestion Algorithms such as highspeed, yeah, etc ?
[OnePlus 2 Android Development] FPSUsername:
What tcp would you use? I use westwood on 4.6 atm, don't think that others are better, I saw some comparisons on the internet, westwood seems the best and then cubic
[OnePlus 2 Android Development] abhijeet715:
I change to cubic at times, and sometimes im using highspeed and reno as well. Was actually hoping for impulse governor in the cpu section :D
[OnePlus 2 Android Development] FPSUsername:
Westwood is some sort of reno v2 :b
[OnePlus 2 Android Development] abhijeet715:
Hehe... I guess ill flash this kernel then. Could you please tell me the governor thing as well ? Available ones. Ty and sorry for troubling :)
[OnePlus 2 Android Development] FPSUsername:
I'm on v4.6. I would go to 5.0 because of the slimbus oc, but camera focus doesn't work because I'm on an older android 6.0.1 rom. Nobody except slim6 is updating mm roms. I don't think slim6 has the new cam blobs, so I'm waiting for xposed to be released on android n and will switch to probably lineage os. Ps: 4.6 is pretty terrible in terms of battery, but zzmoove is the only governor that can handle arise + v4a with a heavy profile.
[OnePlus 2 Android Development] abhijeet715:
Damn i just flashed this v5.0 on bens rr rom and i too found out that the focus here is broken as well... Im also waiting for xposed to come for nougat so that i can switch. This rom got a few bugs like it reboots when i get a call and i dont attend it, like after a few mins the device reboots.

I had flashed v4.6 but i guess theres a lot of idle battery drain and normally also the battery drains a lot if im right ?? I still remember the good old days of bens kernel, the v3.7 had a battery and performance profile. The battery profile just used to rock. And it was so efficient that i had gone to college one day with 100% battery, used my phone at nearly full brightness for like 2-3 hours and came back home with nearly 55% of battery. Still good it seems. I was planning to flash that kernel now XD
[OnePlus 2 Android Development] FPSUsername:
But how well was 3.7 battery's performance? I'm sure that it wouldn't handle heavy audio processing unless it has slimbus oc like v4.9 and v5.0.

I would love to switch to v5.0, but I still have not found a way to get focus working and I think nobody will update it for mm as the only up to date mm roms are slim6 (not sure if focus will work on that rom), oos and h2os
[OnePlus 2 Android Development] abhijeet715:
V3.7 was actually very good, i never had audio shuttering/lag issues with v4a. Also the battery life was amazing. Yes even i wanna shift to v5.0 but im in the same dilemma as you're in.. if somehow the focus can be got working then it'll actually be good, or else let's wait for xposed and its modules to come on nougat, and then just make a jump from mm to n... Hope this happens soon :)
[OnePlus 2 Android Development] anupritaisno1:
Try out my kernel. It has high performance audio enforced.

You'll never get a stutter

I really like benschhold's kernel but his kernel makes my phone become unstable after a while
[OnePlus 2 Android Development] FPSUsername:
Would like to try it out, but yours is a forced enforcing kernel and arise sound mod needs permissive. I believe only version 2.4 b9 has a permissive script to make it work on enforcing devices, but I'm not sure. Besides that, I'm not sure if some xposed modues have the same issue with enforcing.

I would like to see a permissive version of it.
[OnePlus 2 Android Development] anupritaisno1:
I will write a small guide on how to get arise working

Also you can use SuperSU to set selinux to permissive even if the kernel is forced enforcing

There's a way and I'll describe it in a bit
[OnePlus 2 Android Development] FPSUsername:
Please explain in your thread on how to go full permissive using supersu. I believe that 90% of the rooted community uses supersu.
[OnePlus 2 Android Development] anupritaisno1:
Done
[OnePlus 2 Android Development] Nick80835:
Here is the zip to switch to permissive selinux on boot.
[OnePlus 2 Android Development] chxei:
posting on other kernel thread to people move to your kernel? you are poor man, bad man :D
[OnePlus 2 Android Development] FPSUsername:
In the end it's the user's choise. I tested it and it seems to have a couple of more features than ben's kernel, in terms of battery it is about the same as v5.0 and audio performance is roughly the same. There are currently 5 kernels "active" (where one of them is just boeffla compiled with uber/lirano). I'm sticking with ben's v4.6 for now and I'll see what the future brings.
[OnePlus 2 Android Development] anupritaisno1:
It won't work

I completely fleshed out selinux permissive on my kernel

Permissive mode on my kernel just doesn't exist

There's a workaround for getting arise working which I have mentioned in my thread
[OnePlus 2 Android Development] gps3dx:
UPDATE: I used the "Zram disabler" from HERE which throws "swapoff /dev/block/zram0" sh script into init.d -> THAT INDEED DISABLED FOR THE 1ST TIME ZRAM COMPLETELY!

( I check by running "free" command with shell ).

NONETHELESS, CPU DEEP-SLEEP states does NOT WORK, not for BIG nor little.

AFAIK, this issue applied as well as for any CM13+ rom, even on OPO not just OPT.

[MENTION=4729623]benschhold[/MENTION] - am I wrong ?

Do you know of a way to enable CPU deep-sleep state ( even just for BIG ) with your kernel, on N/MM ROMs ( cm/L-age based like RR ) ?

Is it kernel or ROM issue ? ( any chance it is supersu ? )

Does deep-sleep work on stock OOS MM (root/unroot ) at all ?
[OnePlus 2 Android Development] Latiken:
Why does screen color temperature reset every time I lock and unlock my device? I can set the RGB values in KA, but whenever I lock and unlock, they'll "reset." KA will still show the values I set but the screen will revert to default. Touching the values will fix it but the problem persists in every sleep and wake. Didn't have this issue on the yarpin kernel.
[OnePlus 2 Android Development] benschhold:
Livedisplay
[OnePlus 2 Android Development] Latiken:
Oh...

Did not realize color calibration was baked into Android.
[OnePlus 2 Android Development] abhijeet715:
Im using Greenify on RR ROM MM and my phone goes into deep sleep (doze) mode. I have that option enabled in greenify which makes it to go to deep sleep in minutes instead of hours, and it saves quite a lot of battery. Maybe some process or so is keeping your device awake or some supersu has broken the sensor due to which the phone isnt thinking its in idle mode and is not going to deep sleep. I can provide you screenshots of my phone in deep sleep if u want
[OnePlus 2 Android Development] anupritaisno1:
SuperSU doesn't break sensors. Your faulty init scripts do

The issue has been fixed in a recent update
[OnePlus 2 Android Development] abhijeet715:
Probably he flashed an older version...
[OnePlus 2 Android Development] gps3dx:
Do you mean older version of supersu?

Im using latest unofficial RR N from 3 jan 2017, v5 of benschhold kernel and supersu v2.79SR2.
[OnePlus 2 Android Development] abhijeet715:
Yes older version of supersu. Yes 2.79 sr2 had problems if i remember, sr5 is out try using that or else install without supersu, reboot into the rom and download the supersu app from play store and update the binary and check out..

Probably i was correct [MENTION=5842226]anupritaisno1[/MENTION]
[OnePlus 2 Android Development] gps3dx:
But 2.79-SR2 is the latest... Accourding to chainfire's xda thread and G+ posts

2.78-SR5 is older!

Im confused...
[OnePlus 2 Android Development] anupritaisno1:
Sorry you're confusing SuperSU versions

Sr5 is v2.78-SR5

Current release is sr2 2.79-SR2
[OnePlus 2 Android Development] abhijeet715:
Oops my bad guys... Just try out installing supersu normally and see what happens... Cant troubleshoot the issue without logs though :/
[OnePlus 2 Android Development] chxei:
i still can't understand what causes random shutdown while screen is off :(
[OnePlus 2 Android Development] DGXsc:
4.9 running iffy in cm14.1,

Random reboots.

Black screen but phone working, double tap works, opens camera but screen remains blank and comes back after numerous presses of the power button, or a force reboot.

Battery life is just screwed. 3 hours of max SOT. Need atleast elementalx, or Westwood. As for the TCP stuff going on, bring back Illinois. I've seen the Algorithm graphs and data and tested myself, throughput and consistency is actually maximum with Illinois.
[OnePlus 2 Android Development] FPSUsername:
For the black screen, check if your big core is on 1728mhz max and not 1766mhz, use interactive profile with FairParkHE
[OnePlus 2 Android Development] abhijeet715:
Hi, im using the fairpark profile (default and not HE) on the same config as you mentioned here. Will it work fine. Before i had the big cluster on 1766, and usually got black screens, not i changed it to 1728, so i wanted to know whether it'll work fine ? Also a small question, have you tried both the profiles ? Which one in your opinion has a better battery life and sot ? Ty
[OnePlus 2 Android Development] FPSUsername:
Both are the same, except the he has a boost of 960mhz and the other one 1248mhz.

You won't notice a difference between 1766 and 1728 (it actually runs at 1728 even if it says 1766, only boeffla's kernel and stock can run at 1766. If you need more performance, you can overclock it, it should be using the same voltage from 1728 till 2.2ghz afaik.

I use the he and I modified one thing to be more agressive, it does the job on audio well, I'm still on Ben's v4.6 which needs that extra performance (as the "audio patch" as I should say is probably not applied here, same goes for slimbus oc)
[OnePlus 2 Android Development] abhijeet715:
Oh I see. So basically the HE profile (high efficiency) is meant to be for high usage or high savings ? I guess HE profile saves more battery as the boost is 960mhz. Im also on bens kernel, but im on 4.5 coz i saw 4.6 was draining a lot of battery, and so i reverted to 4.5. can I know what you did for the audio. I've had it shuttering at times.

Also another problem ive observed is that at times when i lock my phone, it doesnt unlock theb (probably the systemui crashes in background). At times the display comes on but usually i need to reboot, and i lose like 10-15% battery, which then stays on the sane lever for some time (like it displays less battery even though more is available) and this happened with me once while i was playing music in my car. But the phone revived somehow. Have you also faced this issue or know any solution to it. Ive also had reboots when calls came while my phone was kept upside down or in my pocket, i have logs as well for the same, needed help in that, i hope you can do something for me :)

Regards

Edit: in the faripark HE, have you done enable hexacore mode as well or you have kept it disabled ??
[OnePlus 2 Android Development] FPSUsername:
I assume that you use ex kernel manager, remove the .txt and paste it in the correct location.

http://cloud.tapatalk.com/s/587bf00b59d1e/FairParkFP.txt

About your other probmen, I don't know, it could be rom related.

The hexacore is not a real thing. Its only if you disable hotplug, then you can run in either 6core or 8core mode. I have min 2x little online an min 0x big, max all cores online in the hotplug settings
[OnePlus 2 Android Development] abhijeet715:
Yes i have exkm. Thankyou for this :)

---------- Post added at 11:02 PM ---------- Previous post was at 10:58 PM ----------

Any idea of what to do with max_cpus_online_susp ? Should I just leave it at 2?
[OnePlus 2 Android Development] FPSUsername:
You can leave it at 1, but if you want to be safe of stutters (for example with lots of incoming messages), set it to 2
[OnePlus 2 Android Development] DGXsc:
Actually the phone is stable for quite some time.

I usually set frequencies to max and put ramp-ups at 95%load

Then suddenly, for sheer fun after around 15 to 20 hours Runtime, the screen goes blank, it's for 30 seconds I noticed.

Also, deep sleep seems broken in the kernel. And even if the frequencies were left untouched the phone would heat up.

So I reverted back to stock kernel yesterday, will post results soon.
[OnePlus 2 Android Development] gps3dx:
I my-self suffered from deep-sleep state N/A for 1+ year while using many versions of Benchhold's kernel on many MM and later on N roms.

BUT

, and this is the wonderful news

I GUARANTEE YOU THAT BENCHHOLD'S KERNEL IS NOT THE ISSUE'S ROOT CAUSE !

About 2 weeks ago, I was asking the same question here, in relation to Zram.

Even when Zram was disable, deep-sleep state refuses to work ( some ppl reportred way back that zram enable leads to deep-sleep N/A issue on MM+ roms).

So... what i've done is I MONITORED partial-kernel wakeups using BBS after few sec of letting the phone to sleep.

I've done that MANY MANY TIMES, each after FROZEN another 3rd party installed app & reboot. ( some program's effect can only be gone after reboot, like xposed modules... but it isn't my case since on N there isn't xposed at all ).

FOR INSTANS, I can tell you that i've halted many google-play-service wakelocks using My android tools since it is perfectly known in many guides found here on xda that this ****y google app is a wakelock-lover.

Also, I'm using a call-spamming app that deep-level hijacks the tel-services on android, so that have caused serious wakelock, which I managed to solve by wiping and installing fresh from market ( w/o TB data restore, which only caused the issue to return ).

LASTLY, I HIGHLY ADVISE YOU USE ForceDoze ( when you're using MM / N roms ) and doze ANY 3rd party app you don't really need to run on the background - without it, the chances that your OP2 will deep-sleep are slim.
[OnePlus 2 Android Development] DGXsc:
I'm sorry, I didn't know about forcedoze but greenify worked!

Yay!

Point made, Google services are wakelock lovers.

But the issue with greenify is that it would hibernate important stuff like WhatsApp (depends, hey.)

Tried marking apps out of hiber_list in the app, didn't work.

But yes, you're right., The kernel has no fault. It's damn close to perfect.

But when I switched back to stock kernel the phone felt colder than usual, cuz for 2 months I had been using Benschholds kernel and dayum did the phone get hot. I'm not lying, I had a blister in my left thumb after playing bombsquad for half an hour (it's fun lol). CPU temps used to stay at 45 average, browsing 60s,, gaming 75~80. Again, these are cpu temps. Stock kernel, whatever the heck you throw at it it's not crossing 50.C

Seems like the voltage applied to the CPU kept the heat constant Because the phone is snappy even at an underclock of 600mhz. Yes I used the phone in that Freq when battery dropped to 40%. And also, disabled hotplug and 2 cores active. It was fine. I also noted that it would jump parameters, suppose max_freq is 1728000, scaling sometimes to 2208000.

Governer, despair, was good for sometime, but I felt that on-demand with custom tuning did better. Ondemand is not for everyone, mind you.

Will try forcedoze. Thanks for your feedback!
[OnePlus 2 Android Development] DGXsc:
Dev, does the kernel have dynamic voltage scaling or is it just constant voltage to the CPU? Because batter drain is the same regardless of underclocks. Not a feature request, but would've been nice to have voltage control. I tried boeffla, it's a bit woozy. I love this kernel and awesome work indeed. Not changing this one.
[OnePlus 2 Android Development] abhijeet715:
Could you like tell me your setting for the CPU boost option in your FairparkFP profile. I hadnt seen one instruction of yours and due to that 1 big core was always enabled. today I set the input boost milliseconds to 0, oh wait ill better attach a screenshot here. Can you tell your settings, which i suppose are ideal? I've seen that disabling input boost frequency makes the phone lag a lot. I dont know what Input boost or boost milliseconds do, but i guess that doesnt matter much.

Also, are you on bens kernel v4.6 ?
[OnePlus 2 Android Development] FPSUsername:
My input boost is 40ms and I have core 4 and 5 boost at 1248mhz.

I posted my fairparkfp profile here I believe, I'm back at 4.5, I read that 4.5 had a better battery life, it sure does with the 3.1.0 firmware (the 3.5.X firmware is pure crap).
[OnePlus 2 Android Development] abhijeet715:
Thankyou so much for the info. Yes I'm using your fairparkfp profile itself, i had done some setting error which was anyways draining my battery. And also at times my battery used to come down like 3-4% at a time, and then either hold on to a percent, or usually drop really fast, and I dont know why. A

I even opened my op2 to disconnect and reconnect the battery and it was a big time **** with so many screws and adhesive sort of tapes

Edit: Do you keep a big core online always or not ? I disabled mine but to set it the core needs to be online i guess. Performance seems good savings are high since disabled :)
[OnePlus 2 Android Development] FPSUsername:
2 littles, one big
[OnePlus 2 Android Development] abhijeet715:
That same config used to drain a lot of battery for me... And the cpu boost as you mentioned above for core 4&5 means there is CPU boost for one big core, how does that get along with battery life during normal usage ??? When i enabled the big core it was draining a little more battery for me... Wanna seriously solve this battery drain :crying:
[OnePlus 2 Android Development] FPSUsername:
I need it for heavy audio processing. On a good day I can squeeze 5h of screen on time while browsing 9gag. Brightness is always between 0 - 25%

I had this issue that big cores do not wake up often while listening music, and then it onlines all small cores at max speed. Then the phone is still slower than 2 small, 1 big.

Android n should be faster in anything, just waiting for xposed
[OnePlus 2 Android Development] abhijeet715:
My audio is going fine with the small cores only enabled, but I guess eveb after disabling the big core, its enabled, or else it switches to 3 small cores.. brightness im same on 0-25%, and yes i also faced issue's with big core not waking up. I hope nougat will be good, im also on the same team, waiting for xposed. :)

Edit: I see in exkm that if in the home screen or exkm i flick to scroll up and down the gpu shoots up to 650 mhz, idk why. Any idea or solution you know ?? :) Tia
[OnePlus 2 Android Development] FPSUsername:
Disable gpu boost and keep everything at stock (650mhz oc is okay to keep)
[OnePlus 2 Android Development] abhijeet715:
Its set in that only now
[OnePlus 2 Android Development] AndroidBeginNinja:
Is Benschold kernel still being worked on?
[OnePlus 2 Android Development] Woodzrul:
Apologies if this has been raised. I did attempt to search, but was unable to find the answer. When I flash this particular kernel (latest version) my camera does not appear to focus, therefore images are blurry. After much troubleshooting I can confirm that this kernel is the issue. Is there a quick fix I can apply to resolve this? I want to continue using this kernel on my ROM. Do let me know. Thanks in advance.
[OnePlus 2 Android Development] FPSUsername:
try v4.6

The later releases are only for the new camera blobs
[OnePlus 2 Android Development] Woodzrul:
Perfect! I click the Thanks button.
[OnePlus 2 Android Development] denyo81:
Works incredible on LineageOS.

Fantastic Kernel [MENTION=370474]bench[/MENTION]hold ?
[OnePlus 2 Android Development] Mikeyy233:
When I try to flash the the score profile it doesn't do anything its blank? Anyone have updated settings for performance? I prefer it over battery
[OnePlus 2 Android Development] Mikeyy233:
4.5 links don't even work really?
[OnePlus 2 Android Development] abhijeet715:
They do

https://www.androidfilehost.com/?fid=312968873555003583
[OnePlus 2 Android Development] piyushmodi01:
can someone explain me the need of custom kernel?

and which kernel is best for powersaving?
[OnePlus 2 Android Development] chxei:
any update?
[OnePlus 2 Android Development] yarach:
There do not seem to be any other schedulers available other than the stock ones. I am currently on HalogenOS and usen EX Kernel Manager. Any suggestions or info?
[OnePlus 2 Android Development] tusar8:
Is it compatible with Vertex ROM?
[OnePlus 2 Android Development] Kallepalli:
Awesome kernel :victory:
[OnePlus 2 Android Development] Pierre2324:
Any taste of oreo?
[OnePlus 2 Android Development] chxei:
i don't think so, as long as he hot oneplus 5 and this kernel hasn't been updated for a while
[OnePlus 2 Android Development] Pierre2324:
Okay thanks for answering was looking for an overclocked kernel on op2 oreo..?
[OnePlus 2 Android Development] anupritaisno1:
It's not happening, don't even think about trying the smallest overclock. You'll just make your phone randomly reboot
[OnePlus 2 Android Development] Pierre2324:
Even on snapdragon 810 stock clock? (Not underclocked by oneplus). It was working fine on nougat
[OnePlus 2 Android Development] anupritaisno1:
There is some binning on the CPU

Our CPU has lower bins than the original sd810 and if you really think you can run it on the actual sd810 bins you're just killing your CPU
[OnePlus 2 Android Development] magnamentis:
but 4:4 means all 4 cores alway on (min:max) which for A57 is a bit of an overkill, please elaborate, because stock setting is 0:4 and to achive 1 core always on that would make it 1:4 which BTW is neither the reason for the problem nor the solution, because the intermittent lack of showing tunables as well applies to the A53 cluster which is by default set to 4:4. should this be a misunderstanding, no problem, just elaborate, ready to listen LOL :highfive:
[OnePlus 2 Android Development] rockafellor:
Hey guys, hi [MENTION=4729623]benschhold[/MENTION] ! its nice to see a lot of austrians in the OPT scene. Great work!

As i just switched from OOS to seraphs CM13 build I have one question which i couldn't find a solution after searching this thread.

Does this kernel work with Seraphs newst CM13 build (March 04)? I just found some posts, that say that it doesn't work with seraphs cm13 build or freezes/lags a lot.

or should i switch rom to RR or Bliss? any suggestions in combination with this nice kernel?

Thanks in advance!
[OnePlus 2 Android Development] megamarini:
R: [KERNEL][CM13]Benschholds Custom Kernel [V1.4][ONEPLUS2][UBER]

This work for me.. Thank you..

EDIT: it also works with 1:3 on a57..
[OnePlus 2 Android Development] Nick334:
How did you get saturation 41 ?? Mine goes only to 128.. Is it because of the updated version?? I'm on 1.4
[OnePlus 2 Android Development] yarpiin:
nope you are a bit wrong default setting is -1:-1 even triggering both clusters doesnt have a massive impact in battery life as most of them stays in. min level consuming not much power second even with settings 1:4 doesnt mean that proper core will be triggered with that one you will loose a53 sliders most liklely ;) solution is simple bash script in ukm init.d and uci to trigger all cores on on boot then you set your phone as you like including hot plug you can change it as you want and its working , problem is that cm13 kernel can switch off cpu0 andcpu4 as it likes theae two are responsible for settings :)