yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Android Development] magnamentis:
thanks for the input, i'm on SSU pro as well, but did not try v2.67 to be honest.

however i tried 2.65 stable and 2.68 beta as well as the one that is built in and it didn't work. if it works only with one specific superSU variant

there is still something going on. do you have any specific setting in superSU app that could make a difference? i tried without namespace separation but then it's the first time in 5 years that i could not acquire root over 4hours with an otherwise perfectly running setup.

further i was reading through other cm13 based rom threads and there are similar and/or other issues on some, hence i assume that each of those roms somehow has a slightly or significantly different kernel or what else it might be, which, once more cm13 kernels will be out for the "2" this will be a P.I.A for many.

what i'm gonna do now is to try "sandy" kernel. i don't really want that kernel but at least i wanna see whether that kernel works norma with my root out of the box. if so i know for sure that it's some difference in the boot.img of this kernel that causes this.

at least i'm glad that you got root working on your device which in itself is a bit strange considering my efforts to no avail. only thing that

perhaps i should as as the last thing, do you mean superSU or superuser ? if you mean chainfires SSU Pro we have the same.

i just ask this because you mentione ( instead of built in ) and built in to my knowledge is chainfires SSU as well.
[OnePlus 2 Android Development] urgali:
I mean chainfire supersu yep. My settings are the following, if it might help you: disabled re-authentication, default access: prompt, disabled show notifications, enable su during boot, mount namespace separation compatible.

With in-built supersu i mean the one you can find in developer settings that just disappears if you flash about any custom kernels.
[OnePlus 2 Android Development] magnamentis:
FYI, i just tried sandy kernel and root remained intact ( but broke my wifi LOL ) however, was only for testing anyways but still it shows that it's something in the boot.img that makes the difference. no big thing however, i can wait till things settle a bit once we have an official CM rom and most other roms will use that as a base exclusively to remain compatible with all the other mods and tweaks.
[OnePlus 2 Android Development] magnamentis:
just quick before leaving the office, root √

see screenshot

further testing will be performed once i get home, meant to test the general functionality as well as synapse.

right now i have made no changes and synapse is not yet installed, so it looks great thus far, thanks, till later

EDIT: screenshot not uploaded because wifi was broke, will revert to previous state and post shots thereafter
[OnePlus 2 Android Development] magnamentis:
re: your test kernel

the promised screenshot + the one for the wifi issue:

root = positive

wifi = negative

wifi toggle not working at all and wifi on slider works but no networks are shown, more or less analogue to sandy's experience while i could

have to do with how wifi is implemented in the rom itself, this since on other roms wifi seems to be no problem with that kernel.
[OnePlus 2 Android Development] Xendetor:
There is already a thread for boeffla profiles, so lets Start a New one for benschholds profiles
[OnePlus 2 Android Development] Vincent_40:
I don't no for seraph build, I'm on Op2 Bliss build ?
[OnePlus 2 Android Development] MaluNoPeleke:
I can see the Darkness governor from Alucard in the upcoming build. Why did you add that [MENTION=4729623]benschhold[/MENTION] (just curious, don't know the governor)?
[OnePlus 2 Android Development] benschhold:
Because it sounds really cool :cool:
[OnePlus 2 Android Development] megamarini:
Why this?
[OnePlus 2 Android Development] megamarini:
And this..
[OnePlus 2 Android Development] benschhold:
Update

New Kernel release v1.3

Boeffla Config Helper now disabled by default (if you have troubles with synapse with configure CPU activate it, wait 2 minutes, do the steps from second post, deactivate it)

Thermal Changes

Add Darkness GOV

FSYNC disable/enable (disable cought improve performance)

Inverted mode in KCAL now fixed

some minor changes

NOTE: If your ROM hasn’t SuperSU included you have to flash it once!

This is because i cant include device blobs until everyone uses same sources on roms, otherwise it breaks some stuffs for example wifi
[OnePlus 2 Android Development] BulletBrusher:
Why are the min/max cores options lost with newest kernel (1.3)?
[OnePlus 2 Android Development] nexus_vl:
I always use init.d script, so setting where exactly the same, input boost is at 1248MHz
[OnePlus 2 Android Development] FPSUsername:
Slim6. I updated from 4.0 to 4.1 without a "kernel clean" (dirty flash rom) and then the ports to hell opened. I just did a dirty flash (format system, caches) and now 4.1 works fine.
[OnePlus 2 Android Development] abhijeet715:
Sounds good. Now if its fine then good :) if you find any bugs, do report the dev.. possibly you can help out more than i did :laugh:
[OnePlus 2 Android Development] Dr_DjEnder:
v4.1 does feel like it stutters a bit more but maybe it's from me paying more attention seeking them but even then it's not that bad only really noticeable when I switch at lot of tracks in my music player
[OnePlus 2 Android Development] adrock74:
I can confirm that 4.1 on graraks latest cm14 runs smooth as butter. Only issue is hotplug setting do not stick when leaving hotplug settings. Minimum cores always reverts back to 4. So far I've followed all instructions. Not a big deal. Still smooth as can be
[OnePlus 2 Android Development] benschhold:
thats because kernel adiutor uses the stone age sys paths, checkout sys/modules/msm_hotplug folder
[OnePlus 2 Android Development] parasthakur37:
So which kernel controlling app do you suggest for us to use?
[OnePlus 2 Android Development] nexus_vl:
Use init.d script:

echo 4 > /sys/module/msm_hotplug/max_cpus_online

echo 2 > /sys/module/msm_hotplug/min_cpus_online
[OnePlus 2 Android Development] hunter_bruhh:
change your source code link. that tree doesn't exist bruh
[OnePlus 2 Android Development] nicesoni_ash:
Link is working fine here.

Sent from my "1+2" powered by Unofficial RR

Compiled by myself.
[OnePlus 2 Android Development] imgblur:
Can I flash v4.1 on CM based ROMs? Asking cuz I see only CAF in the title.
[OnePlus 2 Android Development] benschhold:
CM is CAF based
[OnePlus 2 Android Development] benschhold:
Update 4.2

Did some changes to fix some scrolling lag when cores were calm down

implement the feature from Lord Boeffla where hardware buttons are disabled during touchscreen activity
[OnePlus 2 Android Development] abhijeet715:
Man you're the boss ! I was on your test build, just saw that i had disconnected from wifi, and when i clicked the lockscreen, the wifi connected icon showed up, and the bluetooth running icon, but just for like a second and then icons were back normal. I guess deep sleep after-effects or whatever, did anyone face anything as such ? :D :laugh:
[OnePlus 2 Android Development] FPSUsername:
Stock kernel reflash needed to update from 4.1 to 4.2 like we had to do from 4.0 to 4.1?
[OnePlus 2 Android Development] benschhold:
not needed
[OnePlus 2 Android Development] hunter_bruhh:
he fixed it. like immediately. so yeah.
[OnePlus 2 Android Development] minhas729:
[Deleted & Sorted]
[OnePlus 2 Android Development] Droidcore:
V 4.2 screen freezes every play video or open apps :(
[OnePlus 2 Android Development] benschhold:
please if you post such things it doesnt help anybody, the sad smiley makes it even worse

post usefull imformations as rom you are using, kernel you used before and logcat lines
[OnePlus 2 Android Development] minhas729:
Please add guide to do so, as well.
[OnePlus 2 Android Development] benschhold:
how to use Kernel Adiutor custom controls

on the firsts example we make a on/off switch

the echo 0 is the default situation

in Applying we set the sys patch]

pressing test and finnished

on the second example we make a seekbar with a range from 0-10

here the default is 10
[OnePlus 2 Android Development] benschhold:
create a file in system/etc/init.d

system/etc/init.d/controls for example

there you write echo 0 (this is the value which you want to parse, can be Y or N too) > sys/...... (the path to the setting)

here an example file

#!/system/bin/sh

echo 1555200 > sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 1555200 > sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
echo 1555200 > sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq
echo 1555200 > sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq

echo 302400 > sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 302400 > sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
echo 302400 > sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq
echo 302400 > sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq

echo 1766400 > sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq
echo 1766400 > sys/devices/system/cpu/cpu5/cpufreq/scaling_max_freq
echo 1766400 > sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq
echo 1766400 > sys/devices/system/cpu/cpu7/cpufreq/scaling_max_freq

echo 302400 > sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq
echo 302400 > sys/devices/system/cpu/cpu5/cpufreq/scaling_min_freq
echo 302400 > sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq
echo 302400 > sys/devices/system/cpu/cpu7/cpufreq/scaling_min_freq

echo 0 > sys/module/msm_thermal/core_control/enabled
echo N > sys/module/sync/parameters/fsync_enabled

or you use the kernel adituor version mentioned above
[OnePlus 2 Android Development] qdbjthg:
thx for your work! will you update your orion os build to get this newest kernel and latest security patch included?

---------- Post added at 09:20 AM ---------- Previous post was at 09:16 AM ----------

btw , changing GPU governor in ka will cause phone reboot here . not a big problem, just mention it
[OnePlus 2 Android Development] abhijeet715:
Never happened to me, mines changed to impulse..
[OnePlus 2 Android Development] qdbjthg:
so maybe it's rom related, im on dirty unicorns
[OnePlus 2 Android Development] abhijeet715:
Possibly
[OnePlus 2 Android Development] andip71:
Hi all,

quick question to the experts here using this kernel.

I would be interested to understand which apps / processes are influenced by the two microphone gain levels provided?

I understand there is a general mic and cam mic gain control.

From what I understand is: The cam mic gain impacts camera recordings. But anything else as well?

And what is impacted by general mic gain, is it e.g. phone calls? Or not, or more?

Last not least, what is their stock default? I assume 0 for both?

Thanks for answering. You can also PM me if you want to not clutter the thread.

Many thanks

Andi
[OnePlus 2 Android Development] abhijeet715:
I guess i had tested it only once, it does make a but of a difference while talking on the phone. I tested it right now, took another phone, played music, and used the inbuilt sound recorder to record it, first with default, i.e. 0 Handset Microphone Gain and then with a Gain of 4, but didnt hear any difference, so i guess its only for calls :)
[OnePlus 2 Android Development] johnwwl:
I'm using RR official 0921.After installing kernel 4.2,my phone reboots,reboots,and again.Any one can help me？

通过我的 ONE A2001 上的 Tapatalk发言
[OnePlus 2 Android Development] abhijeet715:
Try flashing the stock boot.img and then flash the kernel afresh. Might work. Which android version is it ?
[OnePlus 2 Android Development] johnwwl:
Android version 6.0.1 .It is still not working ,thank you all the same.I flashed YARPPIIN's instead.
[OnePlus 2 Android Development] abhijeet715:
Try to flash stock boot.img and then the kernel, possibly it works out
[OnePlus 2 Android Development] adame09:
Who is this script for?
[OnePlus 2 Android Development] return.of.octobot:
I hope what I'm about to say isn't taken the wrong way, I am very impressed with and appreciative of Ben's work as a whole. However, something that's always bothered me not only with this kernel, but with the majority of custom kernels available for OP2 (excluding Boeffla) is the choice of hotplug drivers.

I'd be very interested to hear an explanation as to why we're still using obsolete hotplug drivers like msm_hotplug which are not optimized to manage dual clusters / octacore chips. It seems counterproductive to set a general limit of, for example, max six cores online when you're not able define the distribution of online cores between the two clusters. 6 cores online could mean 2:4 or 4:2, and in the case of an octacore chip, those two values are NOT interchangeable. Having four bigs and two littles on is entirely different than having two bigs and four littles, and if we're leaving it up to a hotplug that can't differentiate between A53 and A57 to choose it could just as easily do more harm than good.

I'm not at all saying this to be rude, I'm just putting it out there as a suggestion to improve the efficiency of this kernel, and if I'm wrong in the assumptions I'm making, I'd love to know why. I know we used to have Thunderplug, which was infact designed to properly manage a big.LITTLE architecture. I can only assume there was a reason that was dropped, which I'd also be interested to know, but if that's the case it would make more sense to just stick with the stock Core Ctrl method of defining min/max values for cores online.
[OnePlus 2 Android Development] shantam3108:
For what I noticed thunderplug switched off a57 cluster. To keep it awake threshold had to kept low but with this a57 ramped up much faster and more often than a53 even on light tasks. To tame it down I used to set target loads and high speed frequency so that it doesn't ramp up to max. But from what I saw most of the time my a57 cluster went offline and I couldn't read tunables.
[OnePlus 2 Android Development] benschhold:
the hotplug driver in this kernel is especially designed for the snapdragon 810. (thanks to yank555)

i guess you are speaking of an old version of msm_hotplug, which ofcourse is not in this kernel

in sys/module/msm_hotplug there you can set several settings for big and little cluster

its the very best hotplug our device ever had, its working incredible good - better than thunderplug
[OnePlus 2 Android Development] benschhold:
if you want to have the big cluster alive you have to set min_cpus_online_big to 1-4 (currently 0)

Kernel Adiutor usaly sends a wake command to first big core, then you should can read tunables or do you use a other tool?
[OnePlus 2 Android Development] shantam3108:
Yeah I use kernel Adiutor. Yeah mainly cpu4 as the tunables from cpu4 are copied to all cores in the big cluster. But since your new kernel using that only. :)

Though I have to say I never got bad battery with thunderplug too
[OnePlus 2 Android Development] InetRaven:
Benschholds I have used your kernel a few times in the past on my oneplus2 but last tried it with Resurrection Remix. Sadly it didn't work for me and caused a bootloop, any advice on getting it to work? Also I did notice that your kernel changes the oneplus logo at first boot to your logo, that pretty cool.
[OnePlus 2 Android Development] benschhold:
Update 4.3

faster fingerprint unlock

Adreno Idler

GPU optimisations

hotplug settings changed a bit
[OnePlus 2 Android Development] homasholz:
is this the same kernel as in ur cm14 build? so no need to flash it on this ROM?

thx
[OnePlus 2 Android Development] chxei:
which kernel configuration app works best with this kernel?
[OnePlus 2 Android Development] abhijeet715:
This is a new version, so better flash it.. u can always check the version in KA :)

Use kernel adiutor mod.. download the original one also in case u wanna make custom commands as the dev has specified a few posts ago and also in the OP
[OnePlus 2 Android Development] afarnedi:
Hi all. Don't know why but I'm in bootloop after updating. I'm coming from battery version of 3.7 and I've dirty flashed and cleaned the cache and davilk but I eventually ended up in a bootloop. Can someone please tell me where did I go wrong? Pretty much frustrating...

UPDATE : I've fixed it dirty flashing my rom together with new kernel... Maybe this was what I was supposed to do and I didn't know...
[OnePlus 2 Android Development] nexus_vl:
As of 4.0 this is an entirely new build, so no dirty flashing from older versions.

Always first flash boot.img from currently used rom then costume kernel, or as you did dirty flash the entire rom, wich is the same
[OnePlus 2 Android Development] afarnedi:
Thanks for clarifying.
[OnePlus 2 Android Development] afarnedi:
Hi, I'm still in trouble with this update...After a bootloop due to a test on nougat I restored with nandroid which was actually with old 3.7 version of this kernel. Trying to update the kernel version with the following procedure:

dirty install current ROM together with kernel 4.3

but at the end, the Kernel version is still 3.7...I don't know what I did yesterday different from this, but now seems I can't installa this update. When you say I need the boot.img of my ROM, where can I find it?

please help...

thx

andrea
[OnePlus 2 Android Development] abhijeet715:
Open the zip file of your rom. There is the boot.img. extract it, reboot to recovery > install > install image and flash that boot.img. after that, flash the v4.3 zip, then flash the supersu in case you use it.
[OnePlus 2 Android Development] afarnedi:
I eventually manage to find the boot and I did exactly what you suggested. No way, bootloop. The flash can be done all in a row right? The funny is I also have a bootloop restoring from a working nandroid... That's really weird...
[OnePlus 2 Android Development] abhijeet715:
Flashing the image has to be done individually as flashing images and zip is not possible at the same time. Seems like some problem is there in your rom or whatever, try to clean flash the rom+gapps+kernel+root then any other mods if u have

With clean flash i mean wipe the caches also
[OnePlus 2 Android Development] afarnedi:
Yes sorry, I flashed individually the boot and kernel and I got stacked in bootloop. Do i have to clean cache also?
[OnePlus 2 Android Development] abhijeet715:
Umm not necessary but best to do so... What do you mean by flashed boot and kernel ? Kernel is in the boot.img.
[OnePlus 2 Android Development] eespanol:
Guys I am facing ghost touches issue in Ben's Kernel. Anyway I can prevent this from happening? I am on CM14. Thanks in advance
[OnePlus 2 Android Development] abhijeet715:
Cpu > cpu boost set it to 1344 mhz or higher if u prefer
[OnePlus 2 Android Development] eespanol:
Ok will try this thanks. Btw, how is this going to correct my erratic touch issue?
[OnePlus 2 Android Development] quake73:
do the ghost touches happen only when your phone is charging? if yes then you are not the only one.
[OnePlus 2 Android Development] eespanol:
Yes. Any solution sir?
[OnePlus 2 Android Development] quake73:
Not as far as I know, I just learnt to live with that. We shared our experiences with some other users here maybe 2 months ago (don't remember the thread). We came to the conclusion that the problem is with the non-original chargers. I have no problems with the original charger that came with the phone. In my case, the ghost touches go away if I pick up the phone, even while charging with the non-original charger. The ghost touches appear only when I leave the phone on the table. Strange thing. And I dont have any explanation or solution. It happens with every rom/kernel, not just this one.

Edit:

The discussion was in the RR thread :)

http://xdaforums.com/oneplus-2/development/rom-resurrection-remix-5-7-3-t3440731/page38
[OnePlus 2 Android Development] Vaas_FC:
Yep you're right the problem is with 3rd party chargers and mechanism behind ghost touch issue is because of improper or no grounding(Earthing) of current.

While using charging outlet in train i always face ghost touch
[OnePlus 2 Android Development] eespanol:
But I am using original cable/charger. And I only faced this issue when I flashed ben's kernel. Never had this issue with stock kernel.
[OnePlus 2 Android Development] benschhold:
how far could we go? What do you think
[OnePlus 2 Android Development] shantam3108:
Wow... Buddy pls try to implement voltage control too.. :silly: I know it's been asked but still could it be Implemented just like nexus 6p.. Just asking ques not a request ;)
[OnePlus 2 Android Development] benschhold:
there is no such things on snapdragon 810

i have tested something but to control it is impossible cause voltages are applied on usage
[OnePlus 2 Android Development] shantam3108:
Umm.. Using it on benzo ROm Android N. Yes I know it's impossible but I thought after using on that ROm it might have been implemented

https://github.com/BenzoRoms

https://github.com/BenzoRoms/kernel_huawei_angler
[OnePlus 2 Android Development] nexus_vl:
I think it would throttle very fast on full load ;)

However I disabled 2 A57 cores to keep the throttling minimized and single core score high.
[OnePlus 2 Android Development] shantam3108:
Well I keep on max and for me it doesn't heat or throttle or I feel any lag also
[OnePlus 2 Android Development] benschhold:
i dont see anything to configure the voltages, only a commit tho show the current values
[OnePlus 2 Android Development] benschhold:
hmm not too bad
[OnePlus 2 Android Development] abhijeet715:
Deleted as comment was irrelevant
[OnePlus 2 Android Development] benschhold:
i need some testers for the new overclocking

if you are interested pls pm me and you will get it when first test is available

more instructions in the pm then
[OnePlus 2 Android Development] afarnedi:
Hi all. I have a very weird behaviour with this update. I'm coming from 3.7 battery version, and I follow this procedure for updating. Boot in recovery, dirty flash boot.img and the kernel 4.3. After having rebooted the phone everything goes fine but the following reboot I get a bootloop. Don't know how's possible to have a normal boot the first time and a bootloop the second time. And, furthermore, if I try to restore a backup with kernel 4.3 I always get a bootloop. I need to restore my previous nandroid with 3.7. Anyone have an idea of what's happening?
[OnePlus 2 Android Development] abhijeet715:
Never happened with me. Try to clean flash the rom and make sure that you wipe cache and dalvik. Clean flash helps usually.
[OnePlus 2 Android Development] afarnedi:
Clean flash is always very time consuming.... Forse a kernel update I was hoping to be able to dirty flash and that's it...
[OnePlus 2 Android Development] abhijeet715:
Indeed it is but still. I faced a problem just once and it was fixed by a clean flash. So possibly it helps.
[OnePlus 2 Android Development] nexus_vl:
Test results oc_test1

[MENTION=4729623]benschhold[/MENTION]

Results of stresstest oc_test1

Let me first say I was amazed my cpu was capable of such scores after the second pass of antutu and geekbench 4.

Results aren't that different from the first pass (see attachments)

No reboots, all stable.

Not much more to say actually :good:

Thanks for the honor of being one of the first! :)

Did you somehow manage to lower the voltages? I was kinda amazed how my cpu temp got back to idle Temps of around 40°C after no time at all when al 8 cores where still online at max frequencys and performance gov.

Great work, amazing!
[OnePlus 2 Android Development] benschhold:
most of the response from the testers are possitive but one user reported geekbanch crashes on all frequencys hmm
[OnePlus 2 Android Development] abhijeet715:
I was unable to grant antutu the permissions it required. Screen overlay detected even after i had turned off the permission for all the apps that can draw over other apps
[OnePlus 2 Android Development] InetRaven:
I'm running this kernel on Resurrection Remix latest on oneplus2 and is running very smooth. Battery also appears to be better and since overclocking the cpu's my device actually feels cooler to hold when gaming. Might not be the same for everyone but I'm more than happy with this kernel. Many thanks to a top developer benschholds.