yashsingh1/xdaforums huggingface dataset:
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] lover:
i had losing root experience with Magisk, there is also a discussion about this here: https://xdaforums.com/apps/magisk/losing-root-t3505330

i had doubts if it was because of kernel or buysbox pro, so i used your un-installer to flash stock kernel (thanks to you) also i flashed ROM's Original boot.img, then removed xposed and magisk and after a reboot i did flash them again this time stock kernel and MagiskSU + Magisk's built in busybox.

i know everything magisk does is during boot.img so maybe it needs to be flashed again after flashing your kernel. i am going to stay like this for a while and i will do further tests when you release v1.0, i appreciate if you or anyone share sharing experience about using magisk+kernel and if you ever encountered Losing root after a while.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
I am using supersu, no point for magisk with mm.

No issues with root.

Correct flash order:

Anything you like! Then kernel, boot.

Kernel install will add few lines belong to kernel only to existing modified ramdisk inside boot.image

And replace the kernel part. Also has nothing to do with any app, mod, or luck... Just row binary code.

So if you get root from magisk and loose it, then its bugged and unstable... No idea why people use magisk, when there is a proven way to root for years.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] lover:
[MENTION=2376110]dorimanx[/MENTION] i use magisk for being systemless possible and its ability to hide root for my Banking App. Also it has some cool Oneplus3t modules and other cool modules.

I did experienced losing root again and people saying it's caused by systemless adblocker so i have disabled ot for now if everything be good for couple of days i will know and i will flash your soon to be released new kernel. Magisk also patches the boot.img as i have read....

Thank you again
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] sunman04:
Thank you!
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] ProudRed:
Init.d not working. Using kernel adiutor. On super su 2.82 (Systemless). Can someone help me fix it ?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
When you install kernel, you need to select init.d support, its off by default.

After boot, you will find new folder /data/init.d

Copy your script there, make sure script is actually working, set 755 permissions on it.

Reboot, its will be executed on boot.

If not, check script syntax. Try to run it via adb or terminal.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] ProudRed:
Any guide on how to use script syntax ?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
Hmm, no. Its can be bash or sh syntax, what you write in script file is your business.

Anyway init.d added just because people that know what to do asked for it.

If your knowledge is less than required, then better use apps that perform actions that you like on boot.

Starting from 6.0.1 init.d is deprecated and was removed. By devs.

Now added for pro linux users.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] ayush2901:
Cpu cores stuck on max freq.... Help?

So here is a little issue i was having with the dorimanx kernel 0.9 + OOS 3.5.4. Whenever i use the above mentioned combo, 2 of the 4 cpu cores are always stuck at the maximum frequency(mostly the big ones), no matter the amount of clean flashes. The same is not seen in oos 3.5.4 with stock kernel. I know it is not a fault with your kernel and is most probably the result of me messing up somewhere along the way, so, help??
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
When core stay on high freq its mean that core sched is used by something, so cpu gov provide cpu power to finish the task, if task is constant, then cpu load is constant.

Find what using cpu, kill it. Done.

No such issue here.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Diechel:
[MENTION=2376110]dorimanx[/MENTION]

To hijack your thread, sorry for OT.

Tomorrow i'm getting a Oneplus 3T and will help you where i can :)

Already looking forward to it.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
Oh great, I will be happy to see you here and in future N thread, Opt devs seems to get there things together, and rom is moved out of beta 4.1.5 but they pushed update for 4.1.6 already in github for kernel reverting added change that seems to work fine long time with all custom kernels includung this one...

I guess we all should follow, as there was no reason added to such change.

I think i will release final build for MM that will be stable and serve all users that wish to stay with MM and exposed,

Then I will move on to N to claim my place among the leading devs :)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] bipinbedi:
That's great news and good to see you move to Nougat, finally a lot of users including me can flash 7.1.1...

Waiting for the final build:fingers-crossed:
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] SlyUK:
Your place amongst leading Devs has already been secured. Dorimanx kernel on the LG G2 proved that.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] :
I am really happy about that anouncment
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] misterepicwin:
Finally after my dorimanx powered g2 your Kernel will be back on my phone :)

Thanks a lot!
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
News Update!

Kernel 1.0 final MM build.

13/06/17

*Merged security update to prevent hackers using memory access exploits.

*Merged patches 3.18.55 + 3.18.56, changes in:

CHAR,NET,OF,PCI,USB,MM,KERNEL CORE,SECURITY,FS

*Compiled new GCC 7.1.0 kernel toolchain,

and used it to fix many kernel bugs during kernel compile.

*Merged cleanups to unused code for CPU cortex-a53.

*Disabled some TRACING code.

*Merged changed to reduce log spam.

*Merged updates/fixes for FS,SOUND,QCOM,RTC,CPUFREQ,NET,WAKEUP,MDSS,DEVFREQ.

Kernel build is STABLE. tested more than week, all new changes from last days are stable.

I will move on to N kernel. and start merging all cool stuff to 4.1.6 kernel for N 7.1.1 ROM.

Thanks for all support i got from MM community, i hope you join me in new thread when i will be ready.

Have fun :)

I will keep this thread OPEN.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Dimberr:
When do you plan kernel release for nougat?

How will you be without Xposed on nougat? ;)

/I got this device too, wouldn't buy it without your great kernel work!/
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] SlyUK:
Looking forward to Dorimanx Kernel Nougatised & the brand new thread.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Schrotty35:
Dont see new Thread?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] SlyUK:
That's because he hasn't unleashed the new kernel yet. When thats ready, then there will be new thread.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] bipinbedi:
Guys, please have patience, OP will create a new thread as soon as the kernel is ready. Till then be at peace and enjoy what you have.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
All true above.

Thread will be up when i have something to share.

for now the "AVATAR Project" has begun!(Hint XCOM2 for all who played hehe)

Git hub steam power online https://github.com/dorimanx/DORIMANX-OP3T-KERNEL/commits/master_7.x.x

I will push updates as i work and test.

First build will be with ALL cool stuff that you have now. no point to release naked stock kernel with 100 commits.

it's will be +1500 commits! that is the development plan :)

Hopefully even 3.18.56 (that is super hard part...)

stay tuned.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Jole7:
That's great news for us i can't wait for your kernel on Nougat
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Zenns:
Why base it on 4.16 and not other version? Will OOS release even more new version also a quick question how come you don't choose to support lineageos?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] SlyUK:
Sounds too good to be true. In this case it probably will be true.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Raagh:
Hello, Commander ... I mean dorimanx ahaha. Cant wait to see your kernel on nougat.Been following you since the i9100 days( also in the lg g2). and now here (although i got a oneplus one in the middle of the i9100 and the lg g2).

Thanks for all your hard work.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
Hmm, no comments, next question.

This time more kernel tech info.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
Development status update for N kernel 4.1.6.

Merged more than 300 commits including all critical stuff and features.

Now my next move is to merge 3.18.32 to 3.18.57 and see what more can be added.

Any way, kernel is alive! See pick. :)

Project progress is Booooost :)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] SlyUK:
Boom Shakalaka !!
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] mydoom:
Dear [MENTION=2376110]dorimanx[/MENTION]

We will miss you!

Your faithfully

mm 6.0.1
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] saspo59:
Great news dori

I hope someone will write few words about the steps to do from

MM 3.5.4 rooted +dori kernel to N 4.1.6 rooted +dori kernel to avoid problems
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Leicxan:
Hi dori,

I always keep an eye on this thread when you first release your kernel. But I'm already on nougat that time. So when I saw you start push your nougat kernel source on github today. I decided to complete myself, I can't wait to get the dorimanx power on my phone.:laugh:

The kernel runs so far so good on my phone, really a good kernel with aroma installer. Hope to see the final version and more features on the kernel.:svetius:
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
Well i strongly suggest not to do it, as things still in motion, there is an issue with wifi, i am working on it, much changed and not pushed to git, do not offer that build to others, if you like to be beta tester then pm me, so we can setup more fast communication channel.

And even then i will ask to test build that work! I am still not there... I think gcc 7.1.0 is not supported by N source.

Considering that stock made with gcc 4.9 its not a surprise :)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
Well its was quite easy.

Downloaded full image for 4.1.6

Flashed it via twrp as normal zip, flashed recovery img as image flash without rebooting!

Stock rom kill recovery.

Cleaned dalvik and cache.

Rebooted, rom booted to N. All work and data is intact.

No issues.

Rebooted to recovery, flashed supersu and viper sound pack.

Booted, all good, root + great sound restored.

Then flashed my test build and still fixing issues with wifi all the rest is working as should...

With stock kernel wifi is stable.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Cacceli:
So are you going to do unified 3/3T kernel for nougat? ?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Leicxan:
For the toolchain, you can take a look this thread https://xdaforums.com/android/development/toolchains-gnu-linaro-5th-2017-t3606941

I'm using l711 toolchain kernel(you can see my signature) on my OPO, so far so good.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
Stock support both, as far as i know, so yes.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] vampire36:
[MENTION=2376110]dorimanx[/MENTION] : Awesome to see your goodness will be available on Android N. Looking forward to you kernel. Sent you a pm as well. Btw hows your battery impression been from MM. Is like battery similar or has come down on 7.1.1 compared to stable MM ?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] saspo59:
Dori one question are u steel recommend the same twrp recovery that we had in mm 3.04.1 or to moov to new one, and u mean that all data and apps that we have in mm stay intact
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Midomad:
It's recommended to update you're TWRP to last 3.1.1-0 official version or Blu_Spark recovery. [MENTION=2376110]dorimanx[/MENTION] looking forward to test you're N kernel when released,

Good Luck.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] bipinbedi:
[MENTION=2376110]dorimanx[/MENTION] I. There's one major concern I must share with you is that the apps like kernel Adiutor, truecaller, supersu, my data manager, and many other apps that are bound to start on boot don't start automatically. These apps are needed to be started manually and I have also attached the screenshot for the same which do show that they receive the boot completed state but don't start on boot. The same issue persists with stock kernel and so far what I have found is that it is kernel related only.

This is related to Kernel on Nougat 7.1.1,also plz see the screenshots below.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] ram4ufriends:
Did you try.on this kernel? Because dorimax doesn't have 7.1.1 kernel yet
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] bipinbedi:
Not yet, I am just reporting this to him.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
we will dig in to this when kernel will be ready for public, its BAD. we need some things to start on boot.

actually some of my apps start as should on boot right now, with stock kernel.

but i will test all apps you wrote.

thanks for info.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] bipinbedi:
I have had a lot of discussion regarding this issue in various threads, but this is not a kernel related thing. It is due to some ROM Feature that doesn't allow most of the apps to start on boot. Funk Wizard guided me and a lot of others for a work around. This is a sort of app management feature that aggressively closes apps and put them into Hibernation, also some weird mechanism chooses which app to start.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Diechel:
When i install an app one stock OOS 4.1.6 i need to manually activate to start on boot. Apps -> preference icon in right top -> auto start apps (bottom)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
Before i open new thread. i have BETA testing right now for 4.1.6 oos kernel.

It's all in github under master_7.x.x branch.

BUT if you want to join us in BETA test!

My beta Discord server is ONLINE https://discord.gg/XDycBB

Join only if you want to test N beta kernel. and be ready for issues. :) but i am still testing on my self first...

Link will expire in 1 day. dont miss the train.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] sharath_babu:
heard that beta source are online. any chance of making kernel for it??
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
I think you will have to wait for public release.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] iceman0826:
Hey master do you consider getting your hands dirty with EAS kernel? ?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] nikhil18:
[MENTION=2376110]dorimanx[/MENTION] are you going to support oneplus 3 thanks
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
actually LED will go off after 6sec. default was 2.

it's can be tuned. i will add it to dorimanx app when i get it to work :)

so much to do.

for now you can change the timeout by setting it once after each boot using any terminal or some app that allow to run root commands to kernel.

control is here

/sys/class/misc/btk_control/btkc_timeout

*

* timeout in seconds from 1 - 30

* (0 = rom is taking care of the timeout)

so you can do:

echo 2 > /sys/class/misc/btk_control/btkc_timeout

or more or just 0 to let rom to control it.

About cache to f2fs, nee dont bother. it's not used that much, maybe just on apps install, with such I/O power, there will not be any difference.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
sadly not in near future, as i cant test anything. it's has different config structure, different drivers, to get it to work as should i will have to work with someone that has this model, and probably will be some mess

before it's will work.

kernel for OP3 stock is OLD compared to OP3T, so i will have to build it's from stock to now, maybe loosing features on the way.

When i will finish all i have planed for OP3T mostly user interface app and other tuning, i will try to help OP3 owners too.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] crazymika:
Thanks for the reply.

I set it to zero to let ROM control it.

But the back light turned constantly on when I set settings/buttons/backlight to off

So maybe I'll just leave it to default value XD

Take your time, not big issue, just little preference.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
in that case use this:

/sys/class/misc/btk_control/btkc_mode

* 0: normal mode, touch key lights controlled by rom only

*

* 1: touch key buttons only - touch key lights only active

* when touch keys pressed

*

* 2: Off - touch key lights are always off

echo the number you prefer. to that control. once after boot.

on boot it's set to 1 and delay to 6
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
if you like great sound with your device!

check the new Aries sound system thread.

https://xdaforums.com/android/software/r-s-e-sound-systems-auditory-research-t3379709

i have uploaded file that i use now, but it's seems to be old. i will try the latest build from aries team, and update my post if all OK.

I will use the

ARISE+Deuteronomy+2.94+Modular+AROMA+Installer.zip

and install the viper module with highest quality. never needed any other custom stuff from other brands like sony and htc. they always brake something...

Maybe its safe to use now, dont know for sure :)

Alert! our stock ROm is taking all the system storage space.!

So to install ARISE sound system first delete CHROME + MAPS apps from system/app

install them to data if you need.

so system will have at minimum 150mb free.

have fun.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] RenderBroken:
[MENTION=2376110]dorimanx[/MENTION]

Welcome friend! Glad to see you around here and look forward to what you will bring to the table. Let me know if you need anything and I will do what I can. Take care!

Kind Regards,

Render
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] bipinbedi:
Thx for this lovely surprise, I was literally hoping that someone must provide an updated kernel for MM 3.5.4,it was actually overdue. You rock and hope to have a long relationship here...
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
Oh hello :)

I see you are driving the OP3! great! then you can import all that you like from my source (all should work just fine) just dont port the kernel patches from 3.18.21 to 3.18.48

as i made changes there to fix some things that got broken by them, and i had many patches added already before i merged official bundle patches.

so much is skipped from the commits.

If you wish you can use the official kernel patches store and update manually. all the rest should work just fine :)

https://www.kernel.org/pub/linux/kernel/v3.x/incr/

So we can offer support for both models.

Happy to see you too!
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] SlyUK:
Apologies if I missed this:

Is there Dorimanx App for kernel tweaking ?

---------- Post added at 07:20 PM ---------- Previous post was at 07:18 PM ----------

Are you happy now :) ?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
not yet. working on it.

much to do, and not much time left after day of work.

for now you can use kernel auditor app, it's has 80% of tweaks inside including profiles that you can set and more.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] SlyUK:
No problem, no rush. Take your time :)

Can we use EX Kernel Manager:

https://xdaforums.com/general/paid-software/app-ex-kernel-manager-t3560850

Until your App is ready ?

EDIT:

Yes you can :)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] sunmughans:
Do this Kernel heats up the device after being overclocked ?

I had overclocked my samsung grand 2's kernel past year and experienced this issus...Now i'm opted in OP3T thats why asking you this before flashing this kernel :D

And one more quest, Does it support DT2W feature ? :)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] siggey:
Every overclock in every device increase heat.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] AlexVipXDA:
[MENTION=2376110]dorimanx[/MENTION] have you buy oneplus 3t is i suggest ? Noce to see you bere After LG g2

Inviato dal mio ONEPLUS A3003 utilizzando Tapatalk
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
More freq, more heat, but kernel will cut freqs when reaching 70c and for this device its hard to get to 70, metal case helps to vent the heat fast.

All the plastic devices had always overheat problems.

What is that feature do? If its useful i can port it.

Sent from my OnePlus 3T
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
Yea, i respect other people work, so all that made by flar2 is the same as he did, and his app can control it.

Sent from my OnePlus 3T
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] riirezende:
Glad to see legends on 3T

Can't wait for NOUGAT build

I know I know I read the tread ;)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] sanjeev7:
GPS doesnt work.

Phone gets hung and goes off when i switched on GPS.

Tried twice,

with kernel issue is there.

Without kernel GPS works.

Rest all things are really nice.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] crazymika:
My GPS works well, I play Ingress a lot and it have no problem.

little suggestion, maybe you can use some app to create log so people here could help.

It's almost impossible for developer to debug without log
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
Nope. I preffer to use normal sched core. Updates are endless, and with eas, its just what invented till now.

Too narrow for me :)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] pantmunu:
As much as I understand your stand on eas, I also want you to know that it's getting really better with help of some.really good Deva. Might want to chime.in in what's happening.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
If its goes planet wide, i will be there, till then its just a tweak that exist for small group, compared to main line core.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Bobbi lim:
Missed it for studying :(
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
Studying is much more important, so far we 20 beta testers getting bugs fixed and testing.

Much more to add before public, also i think i should do one more MM kernel with 3.18.57 and few other mods added that all should get.

Stay tuned for MM 1.1 build.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] bipinbedi:
:fingers-crossed:
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] SlyUK:
With regards to your new Nougat Kernel, is it possible to make it compatible with (if possible) :

https://xdaforums.com/android/apps-games/app-spectrum-kernel-manager-users-t3601542

Edit:

If not, then thats perfectly fine :)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] dorimanx:
Not much things to tune for op3t. Its great as is.

No point to downclock, not getting any more battery.

No point to chock the cpu gov, as its will just reduce pleasure using the device.

And no point to push it to limits, its waste of battery ,and hot device...

So what you like to see in that app? Its for profiles switch...

We dont need any profiles... And you can make them with kernel auditor without any kernel mods to ramdisk...
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] SlyUK:
Fair enough :)