yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Android Development] benschhold:
i do not often comment something which is not my thread but i have to do so

maybe i can do some clearing

first of all every frequency step has its own voltage applied (302, 384....)

so if you use highter frequency, highter voltage does get applied.

the stock values for the op2 sd810 are 1728 and 1555

i tested a lot of higher frequencies and rested with some stable ones.

i had to find the correct voltages of each new frequency do be stable.

this took alot of testing with help of Malik for testing (cant remember his xda nick) but thanks again here

on the go undervolt will be not possible cause the voltage gets applied dynamicly but ofcourse you can set lower ones before you compile the kernel (-70mv per frequency seems to be fine) but allways messing with voltages could get bad in stability

fyi the hightes frequency i ran on the big core was 2400 but very unstable and i didnt mess with the frequency cause the voltage needed for this was too high

on the little cluster there could be some space upwards

there could be that some new frequencys are still unstable but could be easy fixed i just need to know @ which frequency the device hang up

i know to provide this is not that easy but the only way to get it more stable

you could display the current voltage on the screen for example...

just my 2 cents
[OnePlus 2 Android Development] anupritaisno1:
Well I just stay on the stock frequencies

Whenever I overclock, I get a soft-reboot after a while
[OnePlus 2 Android Development] anupritaisno1:
Wow my commits are being merged into halogenos

Man this is just great

https://review.halogenos.org/#/q/status:open
[OnePlus 2 Android Development] anupritaisno1:
New build is up

What's new?

- GPU optimization

- frandom

- selinux hardening

- pdesireaudio
[OnePlus 2 Android Development] minhas729:
That Malik is me ? still rocking your kernel..

Oops sorry if i offend with un necessary comment here ?
[OnePlus 2 Android Development] chxei:
why all custom kernels are made for cm based roms? whats wrong with aosp/caf roms? ye its works on aosp, but you developers recommend not to use it on aosp roms, that can cause issues :?
[OnePlus 2 Android Development] anupritaisno1:
If you read my commits, I did things to make my kernel compatible with halogenos
[OnePlus 2 Android Development] anupritaisno1:
Oneplus 2 has ZERO aosp ROMs btw
[OnePlus 2 Android Development] chxei:
dirty unicorns? tesla? slim? are these cm based?
[OnePlus 2 Android Development] Droidcore:
"AOSP/CAF" = DU , HalogenOS, AOSiP

another based are Lineage os
[OnePlus 2 Android Development] chxei:
browsing, messaging, listening podcast, playing games etc...pretty good battery, without gaming could be up to 7 sot
[OnePlus 2 Android Development] anupritaisno1:
Hmm good

Btw I didn't do any battery optimization at all iirc. I focused on performance while avoiding heat
[OnePlus 2 Android Development] anupritaisno1:
Do note that pdesireaudio requires the ROM to be patched too

I will release an updated version of my ROM in a while

Oh yes, and the most current CAF patches have been merged into my kernel, you will get a build with those soon too
[OnePlus 2 Android Development] chxei:
maybe, but there are some good settings that can be tweaked for good battery so... :)

can you add elementalx governor? couse we don't have balanced governor, darkness is battery oriented, bluactive is performance oriented, despair i think doesn't work properly, it raises on the max frequency too often :eek: darkness basicaly is good but even light games lag sometimes
[OnePlus 2 Android Development] anupritaisno1:
Just busy with the ROM right now but I'll see and add this governor
[OnePlus 2 Android Development] CounterC:
What is your ROM if i may ask?
[OnePlus 2 Android Development] anupritaisno1:
Use the search button
[OnePlus 2 Android Development] anupritaisno1:
https://xdaforums.com/oneplus-2/development/rom-haruhios-rom-youve-looking-t3533295
[OnePlus 2 Android Development] anupritaisno1:
I'm sorry if some of you were unable to download from my server. It was a temporary change I made.

If you have problems downloading, report them to me, don't just sit back and wait until it's fixed
[OnePlus 2 Android Development] chxei:
gpu acts strangely on latest version, it jumps on 305mhz, when it should be idling on 180mhz when nothing demanding is happening

edit: kernel adiutor showed wrong minimum gpu freq, set it to 180 in exkm and now everything works great
[OnePlus 2 Android Development] anupritaisno1:
Actually that's a feature to give a slight boost to scrolling while the screen is touched

Reduce the idle wait and play around with the down differential in adreno idler settings
[OnePlus 2 Android Development] anupritaisno1:
Update is here

Latest CAF tag merged

Brought qcacld drivers up-to-date
[OnePlus 2 Android Development] chxei:
i'm using your kernel with latest dirty unicorns rom, after unlocking screen flickers, (brightnes goes down and up), is hapens only one time after turning screen on, and after that screen brightnes is stable, i thought it was due to dirty flash last time, but today tried clean install and issue still present
[OnePlus 2 Android Development] FPSUsername:
I think it's a DU thing. I'm on 10.6 and after every boot, the screen shows noise and looks about to crash, then it goes black and back to normal. Not a real problem.
[OnePlus 2 Android Development] chxei:
but no problems on stovk kernel
[OnePlus 2 Android Development] chxei:
[MENTION=5842226]anupritaisno1[/MENTION] after taking pictures, big cores shut down and never awake until restart. this issue had boeffla(but he fixed after some time) and abyss kernel too
[OnePlus 2 Android Development] anupritaisno1:
Aware. Use thermal throttling mod and report back
[OnePlus 2 Android Development] chxei:
i don't understund, can you explain a bit?
[OnePlus 2 Android Development] InfiniteSpaze:
Hi! I'm a bit new to kernel tweaking and I have a question.

I flashed this kernel over my current rom (halogen 7.1.1) and I want to select to I/O scheduler and other settings but I can't find them in Kernel audiator.

If I look at my kernel version it says: HalogenOS+

But I flashed Haruhi kernel.

Can someone tell me where I can find the settings?
[OnePlus 2 Android Development] anupritaisno1:
May be an error in the installer. Give me a moment I'll look at it
[OnePlus 2 Android Development] Manveet:
Mirror? Both the links on op are down
[OnePlus 2 Android Development] anupritaisno1:
Yes

Server maintenance is in progress
[OnePlus 2 Android Development] InfiniteSpaze:
Thanks for looking into it! :good:
[OnePlus 2 Android Development] anupritaisno1:
Kernel toolchain will be changed to linaro

Pdesireaudio doesn't play well with uber it seems
[OnePlus 2 Android Development] chxei:
problems with latest official v4a, driver installs but after reboot it tells to install again and again
[OnePlus 2 Android Development] anupritaisno1:
Use selinux patched v4a

Or patch it yourself by executing these lines in a terminal

supolicy --live "allow mediaserver mediaserver_tmpfs:file { read write execute };
allow audioserver audioserver_tmpfs:file { read write execute };"
[OnePlus 2 Android Development] Nick80835:
Can someone who has the latest kernel zip upload it to a mirror so people can access the file.
[OnePlus 2 Android Development] anupritaisno1:
Sorry for the huge delay due to my server being under maintenance

Here's a quick changelog but sadly without a release

Compiled with linaro 6.3.1

Reverted -O2 optimization (causes stutters)

Linux kernel 3.10.105

Pull in oneplusoss/oneplus/6.0.1
[OnePlus 2 Android Development] anupritaisno1:
Build is up

Due to a slight issue in core control, the big cluster may not come online unless it is disabled in thermal section of your kernel manager so if your ROM has this issue, try disabling corectl
[OnePlus 2 Android Development] chxei:
thanks for the update. the good news is that it didn't broke bloutooth(earlier versions did). the bad news is that gastures and dt2w are gone ?
[OnePlus 2 Android Development] anupritaisno1:
Yeah I recently merged a commit from grarak for gestures but looks like it's broken

I'll fix it next build
[OnePlus 2 Android Development] Dr_DjEnder:
Benschhold reworked the gestures to the new CMHW implementation here are the commits

Kernel:

https://github.com/benschhold/andro...mmit/7cf53d0478284c8aedf1ac011cd9da67eeb384ae

Device:

https://github.com/benschhold/andro...mmit/04b83d0ca699be6e0108c3e90747c1ecd34b150e
[OnePlus 2 Android Development] nicesoni_ash:
Ask your rom's dev to include latest device and oppo_common commits.

Sent from my "1+2" powered by Official RR 7.x.x

Compiled by myself
[OnePlus 2 Android Development] anupritaisno1:
I got the device side sorted, what's the oppo common? I use the oppo common from TheMuppets repo
[OnePlus 2 Android Development] nicesoni_ash:
Use the one from lineageos. Apart from that there are changes in CMParts, cmsdk and opt/hardware repo so make sure you sync them with los.

Sent from my "1+2" powered by Official RR 7.x.x

Compiled by myself
[OnePlus 2 Android Development] anupritaisno1:
Next build's changelog

Nethunter support

Some more work on pdesireaudio

USB fast charge support

PS: USB fast charge isn't magically going to charge your phone faster. Please don't be too excited without reading about what it really does
[OnePlus 2 Android Development] anupritaisno1:
Already tried still doesn't seem to work

I'll look at it later I guess

Thanks for the help again
[OnePlus 2 Android Development] anupritaisno1:
Important notice

Source code has moved

https://github.com/Team-DevElite/haruhikernel-op2
[OnePlus 2 Android Development] anupritaisno1:
Kernel updated
[OnePlus 2 Android Development] anupritaisno1:
Nethunter support confirmed working
[OnePlus 2 Android Development] yarach:
Been using this kernel since yesterday. After some tweaking I find this kernel to be one of the finer ones, especially for the audio mods. It is quite unbelievable what an impact it makes. The sound is more open en the individual instruments can be heard better also.
[OnePlus 2 Android Development] Exanies:
Hello!

Can i use this kernel on stock Oxygen 3.5.6 ?
[OnePlus 2 Android Development] anupritaisno1:
Kernel updated

Changes

Pdesireaudio v10

TCP fast open enabled

Added sociopath TCP congestion algorithm

Added chill gov

Added nightmare gov

Removed despair gov

Removed bfq I/O scheduler

Tweaked ondemand governor settings

Optimized it a bit (-O2)

Cleaned up some flags that caused lag

Disabled add_random

Disabled I/O statistics
[OnePlus 2 Android Development] anupritaisno1:
Oh yeah, latest CAF tag merged by me
[OnePlus 2 Android Development] chxei:
sys/kernel/sound_control_3/highperf_enabled

1 to enable, 0 to disable will this disable pdesireaudio? or how can i disable it?

---------- Post added at 22:25 ---------- Previous post was at 21:49 ----------

i heard that chill governor works great with relaxed governor ?
[OnePlus 2 Android Development] anupritaisno1:
No idea. I got exams so will see after 10 days
[OnePlus 2 Android Development] nexus_vl:
Using your kernel on latest AospExtended rom with great results!

Sound definitely improved, great work. Even my old LG G2 did a much better job before.

Barely lost 2% battery over night (7,5 hours)

I'm using EX Kernel manager for tweaking.

Experiencing some minor lags, but I'm only 1 day using your kernel.

Blueactive seems not configurable in big cluster for some reason, no problem with interactive.

Hope you keep supporting updates when necessary.

Thanks! ?
[OnePlus 2 Android Development] anupritaisno1:
Those lags may be due to ****ed up vm values which were accidentally added while i was merging stuff from xos

I'll be releasing a new build soon that will fix the issue
[OnePlus 2 Android Development] nexus_vl:
Thanks that's great!
[OnePlus 2 Android Development] nexus_vl:
Your right, I've been tweaking vm to the best of my knowledge.

Thing are a lot better now, lags or gone.

What I did: changed min_free_kbyte to 16384, vfs cache pressure to 100, enabled zram and swappiness to 60
[OnePlus 2 Android Development] chxei:
here is a good read
[OnePlus 2 Android Development] sbhas2k:
Link to download kernal not working. Plz provide some alternative link
[OnePlus 2 Android Development] anupritaisno1:
Too busy working on a new bypass for safetynet

You'll have to wait a bit I'm sorry
[OnePlus 2 Android Development] nexus_vl:
With your permission I'll make a mirror
[OnePlus 2 Android Development] nexus_vl:
https://www.dropbox.com/s/wy6p6lxl9nq7r46/custom-kernel-for-haruhios-v6.8-STABLE.zip?dl=0
[OnePlus 2 Android Development] anupritaisno1:
Update is here

- Fixed lag

- change optimization

optimize for target CPU

- added a bunch of governors

- added a bunch of I/O schedulers

- latest CAF tag and qcacld driver

- pdesireaudio v10.1
[OnePlus 2 Android Development] anupritaisno1:
Uh yeah the CPU optimization can make it lag for about 5 minutes after boot. After that everything should be fine

If you still experience lag, it may be a ROM issue. What ROM are you on?
[OnePlus 2 Android Development] chxei:
looks like that was the case. los
[OnePlus 2 Android Development] chxei:
setting governor to chill causes reboot
[OnePlus 2 Android Development] nexus_vl:
Oc not available anymore?
[OnePlus 2 Android Development] anupritaisno1:
The oc implementation on op2 is actually a copy of the angler overclocking implementation

This is bad, as op2 and angler have different voltages

So it has been removed until i fix that

Chill governor has been removed so don't switch to it

(Not an April fools joke. I did it already with the chill gov)
[OnePlus 2 Android Development] yarach:
Thanks again for the great kernel! The performance and battery is out of this world with the extra schedulers and hotplugging.
[OnePlus 2 Android Development] sbhas2k:
I am on Aospextended 4.0 and this kernal seems not compatible

1) Network signal not coming up

2) As soon as i unlock the phone, results in bootloop

Would be great if there is a fix. Thanks in advance
[OnePlus 2 Android Development] anupritaisno1:
Does aex boot in permissive?
[OnePlus 2 Android Development] sbhas2k:
I am not aware about the kernal settings, but AFAIK this kernal used to work fine with AEX 3.3.
[OnePlus 2 Android Development] anupritaisno1:
Edit: okay your maintainer accepted to work with me

I'll try to fix
[OnePlus 2 Android Development] anupritaisno1:
I am trying to work on file-based encryption for haruhirom on op2. If it succeeds I'll add support to this kernel. This doesn't mean that your ROM will start supporting fbe if you flash this kernel
[OnePlus 2 Android Development] anupritaisno1:
The long awaited update

Fixed bugs, really, just fixed bugs
[OnePlus 2 Android Development] F.eatR:
Just flashed it. Coming from 6.8

Underclocking would be nice to have again.

Since the chill governor is gone..which one to choose?ElementalX? Was really happy with SoT...
[OnePlus 2 Android Development] gontello:
Can I flash this over Aicp rom? This kernel manage the fp sensor? Actually is soo sloooww. Don't know why...
[OnePlus 2 Android Development] anupritaisno1:
Why not just try it?
[OnePlus 2 Android Development] Pranay Narang:
nice work
[OnePlus 2 Android Development] anupritaisno1:
Possible ddos attempt to my server was detected

Download link has been changed. Really sorry if the change happened while you were downloading from my server

Post #2 has the new link
[OnePlus 2 Android Development] chxei:
breaks flashlight on lates rr
[OnePlus 2 Android Development] anupritaisno1:
Blame RR for that. I guess RR is built in user mode and my kernel's enforcing bit gives an selinux denial tongue flashlight
[OnePlus 2 Android Development] sbhas2k:
Works absolutely fine on RR official build
[OnePlus 2 Android Development] yarach:
Great new update of the kernel. By far the most stable and smooth one out.

My settings for best performance / battery ratio (IMO):

- Hotplug on: 4 cores always on. Big cores off. 1 core online while screen off. Cpu scheduler: zzmoove

- Scheduler: TripnDroid

- readahead: 2048kb
[OnePlus 2 Android Development] anupritaisno1:
You can join the beta testers group on telegram. Group invite link is https://t.me/joinchat/AAAAAED4w6C9xCMyWWx_Zg
[OnePlus 2 Android Development] yarach:
Will join!
[OnePlus 2 Android Development] kurotsukiii:
Anyone tried this kernel with Bliss ROM ?
[OnePlus 2 Android Development] anupritaisno1:
I do not support anything made by that developer

So no, even if it works you're not getting any support from me
[OnePlus 2 Android Development] kurotsukiii:
Thanks for the quick answer, i'll try it anyways, if it works well then i'll keep it, the reviews are all positive :)
[OnePlus 2 Android Development] HarshGajjarXXIV:
Problem with TL-WN722N wireless card

Great kernel everything working fine but only problem is kernel is not able to detect TL-WN722N wireless card.

i tried everything like

airmon-ng

airmon-ng start wlan1

and also tried kernel with different roms but no luck. im using official oneplus 2 otg.

Thank you
[OnePlus 2 Android Development] anupritaisno1:
Does it work on any other kernel?
[OnePlus 2 Android Development] HarshGajjarXXIV:
Yes it is working on nethunter nightly build kernel for oneplus2.
[OnePlus 2 Android Development] anupritaisno1:
Link?
[OnePlus 2 Android Development] HarshGajjarXXIV:
I flash nethunter full chroot zip for cm13 from this thread.

https://xdaforums.com/oneplus-2/development/nethunter-oneplus2-t3301694
[OnePlus 2 Android Development] anupritaisno1:
Release 7.3

Changelog

Enabled yama

Updated to April security patch (May security patch isn't released)

April WiFi driver

Merge oxygenos upstream

Update toolchain

-Ofast graphite and other improvements

Some optimizations by zanezam

I guess that's all
[OnePlus 2 Android Development] chxei:
whats yama?
[OnePlus 2 Android Development] anupritaisno1:
It offers security selinux can't offer

It achieves this by disabling debugging that isn't used by the user

https://www.kernel.org/doc/Documentation/security/Yama.txt
[OnePlus 2 Android Development] playkish:
Where is the download link ?
[OnePlus 2 Android Development] anupritaisno1:
I totally forgot

One sec
[OnePlus 2 Android Development] burza_:
Any updates here? :)
[OnePlus 2 Android Development] anupritaisno1:
I take a long time to update​ and my updates are typically when security patches come out so maybe watch when CAF is releasing the next kernel patch

Otherwise I just update when everything becomes stable
[OnePlus 2 Android Development] anupritaisno1:
Update: 8.0-STABLE

Added cultivation governor

Enabled CPU dcache word access

Removed config_hz

Some optimizations from flash kernel

Spectrum support

Slimbus overclock

All hotplugging, including core control is now disabled at boot and all 8 cores are on

Ondemand is now the default governor

Fixed a strange bug in which changing the CPU governor would fail

Added a precalibrated kcal config

Lpa codec is now disabled at boot

HD audio added

Fixed bugs here and there

A special thanks to nathanchance for his help with the slimbus overclock
[OnePlus 2 Android Development] chxei:
wow, spectrum support! thats great to be always up to date with new stuff :D great work, thanks
[OnePlus 2 Android Development] _Kosmas_:
Can't install the latest version. Stops with error 1.
[OnePlus 2 Android Development] anupritaisno1:
Multirom recovery is not currently supported
[OnePlus 2 Android Development] anupritaisno1:
Updated again

Release 8.0-STABLE

Hotfix for incorrect CPU frequency written by spectrum
[OnePlus 2 Android Development] burza_:
Great kernel, I am using it and makes my device smooth as butter. [MENTION=5842226]anupritaisno1[/MENTION] can you tell me if in your opinion ZRam is needed in OP2? I found very different opinions about this and I'm just curious about yours.

I found that entropy settings are not set after restart, I am using R:128 W:256 and after every reboot it comes again to default ones. Can you look closely to this?
[OnePlus 2 Android Development] anupritaisno1:
Zram reserves about 500 mb in ram as compressed storage

Now there's a lot of discussion over whether to use zram or not

The best thing to do about zram is to just leave it the way it is. Zram doesn't​actually come into play until the actual ram falls. It's true that zram fills up with some compressed data even when ram is free but hey even windows 10 does that. From the looks of it it's probably compressing ​important data that is redundant for now but is required for the future
[OnePlus 2 Android Development] anupritaisno1:
About entropy, the oneplus 2 has got enough sources (the sensors, screen, etc) to generate entropy. When I was testing the actual capacity of the phone to build up entropy (using cat /dev/random), I found out that the system was able to fill about 22.8% of its entropy pool in about 2 seconds which is pretty decent (32% was filled shortly after) after the drain stopped so the oneplus 2 isn't exactly affected by entropy drain either. Not to mention during the test the phone didn't lag that much so the bottleneck isn't the lack of an entropy source here

But hey, I'm not a cryptographer so I have no idea what happened to encryption before/after the test

But yes for entropy too just leave it stock. Oneplus set those values up and they probably have better reason than us
[OnePlus 2 Android Development] burza_:
_deleted_
[OnePlus 2 Android Development] anupritaisno1:
Updated again

Minor fix to spectrum
[OnePlus 2 Android Development] F.eatR:
Works superfine. But i cant find any information about the cultivation gov.. Maybe you have something for me?
[OnePlus 2 Android Development] playkish:
Every thing working fine. Except Slow charging.. any idea ?
[OnePlus 2 Android Development] anupritaisno1:
Unplug cable, turn off USB fast charge and connect again
[OnePlus 2 Android Development] playkish:
not working.. never goes up above 420 mA.
[OnePlus 2 Android Development] anupritaisno1:
Those rates are really meaningless. Is your device actually charging slowly or it it just the rate?
[OnePlus 2 Android Development] playkish:
No, Actually it is slow charging. It will take hours to charge the battery.
[OnePlus 2 Android Development] chxei:
https://xdaforums.com/showpost.php?p=71973585&postcount=1358
[OnePlus 2 Android Development] anupritaisno1:
Updated again

Release 8.0-STABLE

Add support for Franco profiles

If you enable a profile in the Franco kernel app the spectrum app will change its profile to reflect the change

The performance profile in Franco is the gaming profile in spectrum

But if you change the profile in spectrum the Franco kernel manager will not show the change. This is because not all spectrum profiles can fit into Franco profiles. (There are 4 spectrum profiles but Franco kernel manager app supports only 3)

These Franco kernel profiles are not made by Franco but the Franco profiles actually are switching between spectrum profiles

How it works, when you set a profile in the Franco app when using my kernel, the script that sets the current profile will instead pass a signal to the spectrum script to set the spectrum profile
[OnePlus 2 Android Development] FPSUsername:
420 blaze it.

What is your powersource? Original usb cable and adapter?
[OnePlus 2 Android Development] anupritaisno1:
Updated again

Changes

Added xanmod optimizations:

Tuned I/O Block Layer for interactivity & throughput

DRM Optimized Performance

Caching, Virtual Memory Manager and CPU Governor Improvements

---------

GCC 6 -> linaro GCC 8 (source: https://bitbucket.org/anupritaisno1/aarch64-linux-gnu)

Pull in some more optimizations

Merged April and may security patches

WiFi driver from may

Fixed the privacy guard vulnerability (thanks [MENTION=7076575]Pranay Narang[/MENTION])

Fixed issues in camera driver (thanks [MENTION=7076575]Pranay Narang[/MENTION])

Fixed a typo (thanks [MENTION=5525731]Aaahh[/MENTION])
[OnePlus 2 Android Development] anupritaisno1:
We might be the first ones actually running linaro8. Most kernels are still at linaro6 or uber
[OnePlus 2 Android Development] burza_:
Is the dl link updated?
[OnePlus 2 Android Development] chxei:
read ahead 8192? is this normal?