yashsingh1/xdaforums huggingface dataset:
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] danmaman:
As I've seen... The only changes are the pickup gestures function in OB

https://github.com/OnePlusOSS/andro...mmit/a3e0e097090fb1d8c82069b6d1ea0e380a117cb4

Cheers
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
I think i know how to fix the pickup gesture.

My code for touch screen is very different from stock, to contain all the cool features and power management.

I see they reduced power code checks in suspend.

And i didnt merged that, as didnt found a reason for that...

So its only needed in beta rom.

But i think this feature will stay, so have to supported.

I will mod it for next release.

Thanks for reminder...
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Vixiebalistic:
Nice to hear that mate... Keep it up
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] AyieStyx:
thanks for the feedback. was waiting for that. so did you dirty flash OB10 then reflash kernel or you uninstall the kernel to stock first?

hi dorimanx, im not sure this issue is kernel related or not but currently on Beta we have lift up display and afaik the gesture will work even the lift up display is on(half on). but right now the gesture didnt work when the lift up display is on, but if it goes off the gesture work. cheers
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] kascro:
Dori said in g2 dorimanx kernel that readahead should be low as possible (128kb?) Because nand drives dont need readahead like hdd.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
Yes that is true, ssd is reading without spinning, so to cache ahead is waste of ram and cpu power, its does nothing for advantage... More readahead, more performance and battery is wasted for nothing.

My kernel set 128 on boot... With 2.1 for data mount its still 512 stock in next build will be 128.

For other mounts including system and cache its already 128.

My beta team testing next kernel already for day...

Stay tuned.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] immi803:
Waiting for next update.... :D

Using flawless v2.1 and I'm amazed with the battery life already, 6 hours + straight sot every charge, awesome man [MENTION=2376110]dorimanx[/MENTION], thanks
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] danmaman:
[MENTION=2376110]dorimanx[/MENTION]

Can you look into this...? Does it make sense

https://lwn.net/Articles/720675/

Thanks
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
Its make sense for 4.12 tree... Sadly we are so far behind...

And no, i will not update to it... Its madness to do it...

Also we dont have multi query block code...

But what i can do is update latest bfq for 3.18.y

Still i think zen is simple, fast, rock stable gov.

And made for ssd flash storage.

Bfq is smart and can handle huge stream of operations in servers with gb traffic...

But all we got is phone :) what we need we have.

This other gov seems to be for 4.12 only...

Meanwhile i have added new driver to kernel that will allow to lock max or min freq of both clusters to requested freq by user.

Then no app or rom service will be able to reset that lock and set higher or lower.

Its just not go there without releasing the lock or setting other locked freq.

Its has dynamic interface and will be added to my kernel control app, once i set all as i like...

Already working on it...
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] SlyUK:
Kernel Control App should be Super Duper.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] maro8906:
Enjoying the kernel a lot, and it's the first custom kernel I've ever flashed so pardon if it's a noob question. Any way to bring the charging parameters to stock? My experience with both my 3t and my partner's (with different sets of apps) is that slow charging speed compared to dash, the battery lasts longer while it's charged slower.

Also do you plan on ever releasing a kernel compatible with magisk hide?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Pharrax:
I think Charging is the same as stock here, dash changing till ~85% and then getting slower.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] maro8906:
With all due respect, I don't think it is. I actually had to plug my phone to a non-dash charger as a means to start it, cos it wouldn't otherwise and it charged from 78% to full within maybe 15 minutes if that.

And maybe I didn't express myself very clearly, but that's not what I asked.

I was referring to this

so in other words I would like generic chargers back at 1500ma
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
Use stock kernel then. For now its set to 2500 and have no issues, slow charge will not give you longer usage.

That is history from 15 years ago...

Battery charged with dash charger with 3500~4000 in 30 min and last the same as if you block charge to 500ma and charge 6 hours. Result is the same.

Dash charge code is stock, nothing changed.

Normal charger allowed to draw 2500 if charger can provide that.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] heiskanenej:
Yesterday I had my best SOT ever. I'm sure V2.2 will be even better. Thank you very much!
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
Impressive :)

I bet you didnt charged SLOW for 6 hours to get that hahaha.

2.2 will bring all kind of mods and many possible bug fixes stability improvments, security updates, and mainline kernel patches 3.18.59 + 60
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] stoyanovvitalii:
Greetings! Thanks for your kernel! Used it a long time ago on LG G2.

Yesterday morning installed it on the latest beta 10 for OP3T. So far, unfortunately, did not notice the difference with the stock core in the battery consumption and overall speed of the phone. All seems the same, may be need some time and few cicles. The only thing that i noticed that does not work - d2w on Ambient display. When i am receiving any notification screen turnes on in white/black colours and here i should push power button insteed of d2w. Very sad, that you do not support beta.

Thank you for your hard work!
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] askermk2000:
Where you have this from? I've been quite into lithium batteries lately (reading about technology, building battery packs for bike etc), and I can't say I've ever heard or read about lithium batteries

not

being affected by charging current.

As I understand it, it has a lot to do with heat. They do get hot when charging at higher currents afaik.

Also with big battery packs, like for cars or bicycles (smaller but still relatively big, around 50 cells), they have many cells in series and parallel. They can take much higher current because it's split between them. In a phone however it's just

ONE

single cell. So well, what you're saying seems absurd to me.

Yes, I do understand that modern charging techs like QC or DASH can circumvent this to some degree by charging fast for a while and then decrease current for last stage. But you didn't seem to acknowledge this, since maro8906 specifically said his phone would charge from 78% to full in 15min, which is too fast according to conventional wisdom (and not how QC like tech is supposed to work).
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
Should be fixed in next build, no need to be sad :)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
Kernel code has all the temp protection code in place.

If battery heat goes higher than allowed kernel cut the max allowed current.

You should not post useless info here about phones compared to some dummy battery packs,

You need to look inside the code, otherwise you not seems to know what you talking about.

When you are using dash charger, its will charge from 78 to 100 in 15min as expected by oem manufacturing company.

Called oneplus. I didnt do anything about it.

Same for normal charger if battery heat is normal, its will charge max current then throttle down after 90% close to 900ma and charge to 100 and that is 10min... Battery is 3400ma total.

So please, no kernel info, then no need to spam the thread.

Check the rules in first page.

Good day.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] 64ashg:
If you are looking for better battery life try this config in kernel auditor

Big max frequency 2150

Small freq 15xx sorry i dont remember the exact value

Turn on schedule wakequeue

Input interval 40ms

Inlut boost core 1&2 freq 1056, disabled in core 3&4

Underclock gpu to 624

Io scheduler noop

Read ahead 128kb

Disable all wakelocks in misc settings or while setting up the kernel.

I was getting a solid battery life (given my bad coverage region) with this, greenify and naptime. Hope this helps.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] danmaman:
Yeah [MENTION=2376110]dorimanx[/MENTION]

sounds promising

can't wait for v2.2:good:
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Sun90:
Hey Dorimanx nice to see you back ma8.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Rhodesgod:
hello.

will 2.2 release soon ?

ty.:D
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] SlyUK:
It will release when its ready :)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] danmaman:
Always these people who can not wait:p;):D
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] SlyUK:
Best things come to those who wait patiently.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
I have weekend too :)

Kernel is stable, so i can rest like normal people.

New build is good to be released. I hope! to release in 12 hours.. Its 01:20 now.

For now without kernel app, its not ready yet.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Zenns:
Seems like you will be making your own kernel app :) ?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Kartike:
Yes he is
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Vixiebalistic:
Oh my god... I just realized that i refreshed this thread every half hour starting you posted this. How excited i am :laugh:
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
my beta team [MENTION=5659666]RyperX[/MENTION] found issue and we are working to resolve it right now.

once all OK, i will build new release for public.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] danmaman:
Yeah Dori

Make it stable as rock before release:good:
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
News Update.

09/07/17

Kernel 2.2

Change log:

*Merged kernel updates 3.18.59 + 3.18.60

Including USB,FS,Kernel Core,LIB,NET,IOMMU,MM

*Set to deny access from perfd ROM service that can brake CPU gov tuning.

*Tuned Interactive GOV on boot for both cluster,

To deliver great Performance and balanced battery save.

*Tuned Blue_Active Gov default tuning.

*Fixed init.d support from /data/init.d/

*Updated busybox to 1.28.0 made with Linaro gcc 7.1.1 64Bit

*Merged many updates from CAF source for our soc.

Including MDSS,CAMERA,IPA,VIDC,INPUT,QCOM,USB,DIAG,SCHED

*Updated WIFI driver to latest opensource LA.UM.5.5.r1-05100-8x96.0

*Fixed my boot script load on boot to allow better tuning of kernel.

*Fixed not working touch when screen is in half wake state. (liftup, wave gesture)

*Added new driver to allow to limit max freq on both clusters so no other app

or ROM service can set higher. for now not used! and not forced.

I will add controls for it in my app.

*Merged updates to F2FS driver from main source.

*Updated new GCC Linaro 7.1.1 kernel builder 64Bit and made kernel with it.

*Added new controls for CHARGING LIMIT in Aroma installer.

You can set max allowed charge back to 1500ma if you wish! :)

Have fun :) report if anything that belong to kernel :)

Beta team tested this build and it's stable.

If you like my work push thanks! donations are welcome too :)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] SlyUK:
[MENTION=2376110]dorimanx[/MENTION] Your kernel tweaking app is still under development right ?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
right.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] SlyUK:
Excellent. No rush of course.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Jole7:
many thanks [MENTION=2376110]dorimanx[/MENTION] kernel is great i'm out of thanks
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] immi803:
I must say v2.2 is simply awesome :good:

Thanks [MENTION=2376110]dorimanx[/MENTION] for providing such jewels regularly and as in g2 case, I'm holding my 3t till 2020 ;)

I couldn't through my g2 just because of you , still have it in my drawers somewhere :o

Excellent performance, outstanding battery and what not

Huge thanks for update man [MENTION=2376110]dorimanx[/MENTION]
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
With 2.2 interactive gov is tuned on boot to provide really great performance.

I see speedup with io read/write, scroll, apps start, wakeup..

So if you want to test my setting, dont switch to other gov and unset any tuning that you set on boot by some app.

No longer need to use blue active with fastline, interactive gov outperform it now.

Also updates to f2fs reducing cpu usage during read and write operations, so its should save some battery.

With my beta team, we found and polished all small things that didnt work in some cases in 2.0 and 2.1

Now all that we found is working...

Enjoy, and i am glad that you are here and following me as many others, its an honor. :)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] silentkiller143:
Can I dirty flash this over 2.1?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] koillinen:
Yes
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Vixiebalistic:
Confirmed here for f2fs update mate, you can see below my write speed significantly improved over 2.1 version... Big thanks to you and keep it up... I dont know if it placebo or not but my phone feel faster and smoother than ever..
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
This i can safely say, its real. No placebo this time :)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Stroky:
Wow...thank you!!

Thats a new feeling with the phone and your Kernel!
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Thunderbolt:
This Kernel is for performance , battery life? Both maybe?

Wysłane z mojego ONEPLUS A3003 przy użyciu Tapatalka
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] danmaman:
For all what you want... Buddy :p:good:
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Thunderbolt:
Flash&forget , this is what i want :)

Wysłane z mojego ONEPLUS A3003 przy użyciu Tapatalka
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] danmaman:
Then you are right here.... You have an aroma installer comes with the kernel
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] cultofluna:
Great update [MENTION=2376110]dorimanx[/MENTION]...thanks....
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] efebe:
Hey [MENTION=2376110]dorimanx[/MENTION]!

Since u are developing a kernel app... is there any chance u could have a profile setting option just like SetCPU, where u could change governor, scheduler, etc while screen off/on... or set profiles for when battery < x% ? SetCPU used to save ****loads of battery life back in the HD2 days ( u should remember that, since u were a legendary dev for the hd2 ) just by using those profiles. Thanks in advance!

I'll be waiting for ur kernel app release ;) !! great job on this beautiful phone! love u bro <3
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] mikey1975:
Flashed this kernel on OS Open beta 10. Curious about overall feeling.

Thanks for the development.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] oTeMpLo:
Does dashcrage cahrge with 3.5A for you?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Zenns:
Allow us to increase the max dash charge from 2500mAH :)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] neinfricatu:
Of course, 3.5A until it reaches almost 80% that's the way it works.

---------- Post added at 07:25 AM ---------- Previous post was at 07:23 AM ----------

Meaning? The dash charge isn't modified. Regular charge is, and you have several limits in aroma installer of the kernel.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
You like me to remove limits and blowup your phone like samsung note?

Hajah no problem, i will make private build for you, i will call its Baaaabaaaahhhh :victory:
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Taurdas:
flash and forget, waiting for app.. amazing job!
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Diatomix98:
Amazing kernel but it doesn't allow me to set the SElinux to permissive?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
Delay your set 10 sec after boot.

My script set enforce on boot complete flag.

So just set after that.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] mikey1975:
Saw something about charging values previously, is it possible that with this kernel, charging via USB/PC is (much) faster?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Diatomix98:
Any way to delay it? Don't have enough knowledge to write a script for that.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
Usb allowed to draw up to 900ma if usb port allow that.

So standard usb2 port may give 600+ ma and not locked to 500.

Usb3 port will charge up to 900ma.

Remember, device can easy charge with 4000ma supply from dash charger. + all the temp and charge checks and throttle as designed.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
If you are using app, then just open it after boot and set permissive.

Will hold till next boot.

If you like to use script for that and run it after boot by some app.

Then its should be like this:

#!/system/bin/sh

sleep 10

su -c setenforce 0

You need to have root for that... And allow that app to use root.

But i have added to my list of "do for next build"

To add easy control for selinux permissive on boot or enforced.

Selector in aroma installer.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] mikey1975:
Thanks for the clarification on this. ;)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] 64ashg:
Anyone who has been able to figure out how to make the kernel values stick after reboots since the last release? I was able to do it the with 2.1, seemlessly without any hassle but after a phone wipe and reinstalling the same setup fresh, I am unable to achieve that,both on 4.1.6 and ob 10 with v2.2.

I'm on kernel auditor, magisk 13.1, ob10. When the values used to stick, I had the same setup but used v2.1
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
What you are trying to set?

Kernel auditor has option to delay the tweaks apply.

Just set it +10 sec.

So my cpu gov tuning will be set as i think is best, then app will set what you think is best. :)

Some people just want flash and forget. So its all good for them.

Try this, let me know.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] 64ashg:
I have been try to underclock cpu and gpu freq and input boost freq with a change in the tcp congestion protocol. Have been using the 10 second delay but I haven't been able to get it to stick. Any suggestions would help. Thanks

Edit seems that in the on boot menu all the commands are there and in the settings menu when I press test in the apply on boot sub-menu, all my settings are getting applied, but I still have to do it manually. Might be a problem with the auto start of the app itself.

Edit 2,this problem seems to be independent of this kernel, other custom and stock kernels as a matter of fact. Sorry for the ot. But if someone has a suggestion, you are most welcome.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Diatomix98:
Did you turn on Advanced Optimization in Settings/Battery? I had the same experience until I chose not to optimize the kernel app.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] cultofluna:
Hi [MENTION=2376110]dorimanx[/MENTION]...thanks once more for the great kernel..

Just one small thing... I can not make the microphone boost stick...if i set it on a higher value just few seconds later turns back on default.

Any suggestions?....

Btw I'm using EX kernel manager for tweaking the kernel
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
Hmm... Seems like kernel code has to be changed in flar2 sound driver addon.

I will take a look, but i am sure same thing is with flar2 kernel.

Maybe good idea to point that out to flar2. If he wish to fix that, will be great, if not........................

I will.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
News Update.

Kernel 2.3

16/07/17

*Merged latest update to F2FS driver from source. sync with 4.13.y tree.

*Merged fix for min sched windows when kernel using 300HZ.

*Merged CAF patch to fix bugs and security issues in:

CAMERA,MDSS,USB,ADSP,CHARGER,IPA,QCOM,NFC,QCDEV,SOUND

*Merged latest WIFI opensource update LA.UM.5.5.r1-05300-8x96.0

*Merged mods to WIFI driver to reduce battery usage.

*Merged mainline patch 3.18.61 including:

NET,USB,IPC,TRACE,SECURITY

*Merged mod to boost CPU freqs after suspend on wakeup.

*Added SeLinux mode changer in Aroma Installer.

You can set Enforce or Permissive. no apps/magisk modules needed!

*Updated Uninstaller to include selinux mods cleanup.

*Added mount command to be linked to busybox, so apps can remount system and root.

If they are allowed to use ROOT.

Report any kernel issues.

Feel free to set 5 stars for thread if you like my work.

Enjoy :)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Vixiebalistic:
Oh man... Great... Yes... Downloading and test it soon
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] danmaman:
[MENTION=2376110]dorimanx[/MENTION]

Great awesome work as always mate

Thanks a lot
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] cultofluna:
Thanks [MENTION=2376110]dorimanx[/MENTION] ...

SeLinux mode changer in Aroma...!..great option...
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] immi803:
You've always been awesome [MENTION=2376110]dorimanx[/MENTION]

V2.3 with so much positive changes as you always with every build

Wifi battery optimization is impressive, as well as selinux mode aroma option

Moving to 61 wowwww

Amazing job man [MENTION=2376110]dorimanx[/MENTION]

Huge thanks:D
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] vinoxflame:
The best all-around kernel for oneplus 3t
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
News update, my friend @Diechel

Created really nice app for kernel download and install with few clicks!

All done by auto for you, including change log, and check for updates! :)

App will download latest build, or the one you like, and go to recovery and install it. all you need to do is select the Aroma Installer options

you like, and push install, kernel will be installed and recovery will boot to ROM by auto.

App for OP3/T only. Our Beta Team and @Diechel worked long time to perfect it and adapt to OP3/T.

Easy, fast, nice looking! and just 1$ :)

I have added link to OP.

EDIT:

it's seems we need some more time, something in google play policy need to be addressed (signing)

I will update when all is fixed.

​
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
small cleanup. info moved to OP
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] SCM NGÁO:
I am Vietnamese, so look forward to the application of the developers through the game store, it is easy for me to thank Dorimanx
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] immi803:
[MENTION=2376110]dorimanx[/MENTION]

Everyday we learn new things, this question is only for my personal learning experience

Mate why some devs gives their own recovery for full compatibility of their kernels? How does it affect compatibility and why we here using official 3.1.1-2 official recovery? Are we fully supported by it for latest backports , that's why? Or we with your kernel just don't need it? Is their any real benefit if you create your own modified twrp ? Please throw some light here [MENTION=2376110]dorimanx[/MENTION]