yashsingh1/xdaforums huggingface dataset:
[ONE Original Android Development] Mecca EL:
Give this ROM a go - you can dirty flash it - https://xdaforums.com/oneplus-one/development/nightlies-idprophecys-unofficial-t3544385

I have my kernel set at cpu @ conservative, scheduler @ noop, gpu @ cpufreq, and TCP @ westwood
[ONE Original Android Development] Nintonito:
Are the latest builds still compatible with COS13.1 (the last official stock build)?
[ONE Original Android Development] SirSoviet:
If you're going to stay on Cyanogen OS, disable the updater. This is why. He says that they can't push updates to your phone, but it's not receiving any further updates so why not disable updates?
[ONE Original Android Development] pattyboi:):
[MENTION=4898631]erorcun[/MENTION] ,I highly recommend disabling mpdecision until cpu scalling is perfect. It will only complicate things.
[ONE Original Android Development] Nintonito:
i don't intend to root the device. This kernel is the only modification I'm considering, which is why I would like to know if it's still compatible
[ONE Original Android Development] Mecca EL:
Here's another couple of screen shots, with uptime so you know I'm not full of it. :laugh:
[ONE Original Android Development] Syaani:
Btw what is that app you are using? It looks very informative.
[ONE Original Android Development] Mecca EL:
Kernel Adiutor
[ONE Original Android Development] Syaani:
Hmm it does look better than kernel auditor mod. Thanks
[ONE Original Android Development] :
It's from playstore
[ONE Original Android Development] erorcun:
New build;

- Reboots fixed

- Frequency scaling fixed (it's same with stock scaling on me, report if you encounter with any problem)

- Upstreamed

- It's been compiled with latest Uberized GCC 6, thanks to [MENTION=4511190]idprophecy[/MENTION]

http://www.mediafire.com/file/436xa6scg8fcbo1/16032017kernel.zip
[ONE Original Android Development] Setting.Out:
Running last few hours, seems solid.. :)
[ONE Original Android Development] Half Alive:
Did anyone try the USB fast charge if it really works and goes up to 800mA?

I'm ready to ditch slim 7 for that feature.
[ONE Original Android Development] om22:
Not for me. I got a really strange behaviour while trying out the charging settings.

With everything on default settings charging maxes out at 1800-1900mA (according to OPO charging current app). If I enable the threea_charging my current drops to ~1100mA and stays there. Also the fast_usb_charge doesn't change anything for me. With and without it I charge at 400-500mA when using my desktops USB 3.0 port. These settings are defenitely not important but I thought I would just share my experience with them.
[ONE Original Android Development] erorcun:
Don't rely to charging/idle current apps. But sometimes they give true values sometimes though.

You may be right in threea_charging, I don't know.

For fast usb charging, I have seen values higher then 500 ma with kernel's internal measurement, it's never gone above 500 when fast charge is turned off. But that measurement can be wrong too, so I don't know.

Edit: I found a major mistake in 3a charging code. There will be a update today.
[ONE Original Android Development] Setting.Out:
~30 hrs uptime.. No freezes, no reboots.. Pretty good battery and good performance..
[ONE Original Android Development] gogonelos:
how do i make changes in the kernel...like governor and cpu freq?
[ONE Original Android Development] Setting.Out:
Kernel Aduitor
[ONE Original Android Development] aqilsoomro:
What do you mean by gpu@cpufreq?
[ONE Original Android Development] Gawd:
Excited :laugh:
[ONE Original Android Development] Mecca EL:
I use kernel aduitor, in it's GPU settings, you can control the way the GPU presets work. Select cpufreq
[ONE Original Android Development] natheux:
Nice work since the last time I was here ^^ but, once I install your latest build, viper4arise refuse to work (processing : no, when a play a music). Do you have an idea of what causing the issue?

Rom : lineageOS by idprophecy

Kernel : yours.. But now stock since I found what causing my problem.. :/
[ONE Original Android Development] erorcun:
Ok, the build that has a major mistake about 3a charging fixed is here, can anyone test it? (I hope someone have above 2a charger- and don't forget to activate it ofc) http://www.mediafire.com/file/xz3mxjr5ct552q5/18032017kernelteset.zip

I have no idea. :/
[ONE Original Android Development] natheux:
Did you change something that is audio related with the kernel recently? Maybe I'm wrong and the kernel doesn't affect anything, and it's weird, you know ^^
[ONE Original Android Development] eagledipesh:
I have flashed the latest kernel, but my bad I don't know how to enable fast charging, TE says I don't have permission. :) heee
[ONE Original Android Development] aqilsoomro:
I have the exact same set up and here viper works fine.
[ONE Original Android Development] Gawd:
Enter these commands in any terminal emulator

su
echo 1 sys/devices/qpnp-charger-ed443000/disable_aicl
[ENTER]
echo 1 sys/devices/qpnp-charger-ed443000/threea_charge
[ENTER]

I don't have a >2 A charger that's why can't test it. Anyone can test it after they input the commands above. This will activate 2.5A charge.

Let us know!
[ONE Original Android Development] SirSoviet:
Is there any way to make 3.10 fully compatible with custom roms that use Sultan's camera HAL/blobs? Is it even possible?
[ONE Original Android Development] lumufei:
I use this build but battery is drain fast ...
[ONE Original Android Development] erorcun:
No, I haven't changed. But what we have in kernel currently isn't standart msm8974 sound setup, it is more advanced one, maybe this is the problem. Or maybe it has nothing to do with that, I really don't know. It's standart 3.10 setup though.

Only different thing in that build is 3a charge fix.

If you think there is a battery drain, I've nothing to fix it unless you provide me data.

It's possible but nobody tended to do it. So I've ported it and currently it works except auto-focus(maybe you already know) if you enable CONFIG_CAF_CAMERA_DRIVER in kernel, but I couldn't complete it due to I'm not using these blobs. Me or someone else will fix it at last, but I don't know who and when.
[ONE Original Android Development] SirSoviet:
I'm willing to try it anyways, how do I do so?
[ONE Original Android Development] Half Alive:
I installed the kernel on slim7 to test the fast charging and I'm impressed.

Unfortunately the Fast USB charging didn't make a difference.

But disabling the aicl got me AC fast charging up to 1850ma w screen off ?
[ONE Original Android Development] Kommatose:
Will this enable Android Pay support?
[ONE Original Android Development] erorcun:
I'll provide builds with CAF driver soon.

The kernel fix is applied but it's reported before that it doesn't make Android Pay work on this kernel. You can try it yourself ofc.
[ONE Original Android Development] Mr.Ak:
Thanks again for your work :)

No matter where I go,I always flash this kernel.
[ONE Original Android Development] amilcarmonteiro:
This last kernel of 03/16/2017 works on the Omni build? Or in AOSP-based bluids?
[ONE Original Android Development] Mecca EL:
On Omni, not sure. AOSP, yes.
[ONE Original Android Development] amilcarmonteiro:
thanks , i will try
[ONE Original Android Development] erorcun:
I tested fast usb charging and it works. mA ramps up to ~700 mA from ~300 mA. Only on USB 3 ports ofc.

Also there will be a new build in a week.
[ONE Original Android Development] erorcun:
New build is here;

http://www.mediafire.com/file/h2k3moy0s6mxiht/09042017kernel.zip

- Some rare reboots that I've came across fixed

- Updated fuelgauger driver from OP3

- Extra charging protection for flawed batteries (like mine)

- The 3A charging fix in latest test build (whether will it work is still mystery)

- Better power consumption maybe?

I haven't started to fix CAF camera yet.
[ONE Original Android Development] Mecca EL:
Woop Woop!!! :victory:
[ONE Original Android Development] Mecca EL:
Fast and running great, as usual. Thanks [MENTION=4898631]erorcun[/MENTION]
[ONE Original Android Development] tmotard:
Hi, thanks for your work. This kernel works with tugapower (rom) except that i can't run several apps (firefox for example). Do you need some logs (wich one is usefull ) ?
[ONE Original Android Development] erorcun:
Thanks. Dmsg and logcat would be useful.
[ONE Original Android Development] tmotard:
here are the logs
[ONE Original Android Development] SirSoviet:
I can run Firefox. I'm on the latest version.
[ONE Original Android Development] :
Phone rebooted while charging after 100% were reached. Haven't changed any settings via terminal.

https://www.dropbox.com/s/q6citbyu74yl33x/last_kmsg.txt?dl=0

https://www.dropbox.com/s/k9uv9jdfnedh98t/dmesg.txt?dl=0
[ONE Original Android Development] evronetwork:
unfortunately my rom doesn't work with this kernel(it feels sluggy here and there and can't find back/front camera ..it give me an error of "phone doesn't have a back camera")

Check my sig for more info(Slim7)

Still this is a great work and I'd love so see more devs into this, if we're going to keep our phone for a few years to come this is a nice way to achieve this
[ONE Original Android Development] erorcun:
Can someone post CAF camera blobs for MM? I have seen it on someone's signature before.

Edit: I fetched them from Sultan's repo.
[ONE Original Android Development] mustang_ssc:
Hope you make big progress with this, it would be awesome to have the first 3.10 CAF kernel for our OPO ;)

Good luck.
[ONE Original Android Development] Luc.Nex:
Would be more awesome if it supported oos blobs..since its the most stable blobs now and nikhil got it in his lk branch

https://github.com/nikhil18/lightning-kernel-bacon/tree/lightning-3.4-oos
[ONE Original Android Development] LPW00:
Or even more awesome: hybrid blobs. U can find it here: https://xdaforums.com/oneplus-one/o...m14-x-ab123321-kernel-oneplus-t3545468/page28
[ONE Original Android Development] Mr.Ak:
New Build confirmed working with Miui8 Cm based!

Going to test it more.
[ONE Original Android Development] LPW00:
Can u pass safetynet now with this kernel + magisk? The last time I tried, it didn't work.
[ONE Original Android Development] Mecca EL:
[MENTION=4898631]erorcun[/MENTION] I'm not sure if you have Safety Net provisions installed. If not, would this be something you could add to your kernel?

https://xdaforums.com/pixel-xl/development/kernel-stock-kernel-safetynet-patch-t3588154
[ONE Original Android Development] idprophecy:
Removing of verifiedbootstate flag won't fix anything on Oneplus One. This patch is useless for our device.
[ONE Original Android Development] Mecca EL:
Cool. Thanks [MENTION=4511190]idprophecy[/MENTION].
[ONE Original Android Development] fmc000:
Congratulations! Well done. Too bad I can't test it as I'm not running a CM-derivated ROM :rolleyes:.
[ONE Original Android Development] black.ic3:
Hey, if u cant wait, try out my compilation

Builded from erorcun's sourse with ramdisk from previous 3.10 release

*not needed anymore, official link in OP*

Install like img from TWRP
[ONE Original Android Development] Miksel12:
Is this with f2fs and mic fixed?
[ONE Original Android Development] erorcun:
It may not work because I changed ramdisk, thanks anyway.

Test zip is up again with latest sources on OP for whom willing to test it on CM.

Currently I started to 1 month test. (in 05-22-2016) After that period, if it's ready for daily usage I will write here(and that day loc_launcher crash will be solved) and I will invite other kernel developers to move their work to this base, I hope they will do, because my daily driver was Boeffla kernel and I love it, and if he won't do it I will have to port his changes to 3.10 :silly:

But developers can start to test it right now too.
[ONE Original Android Development] MrVoshel:
[MENTION=4898631]erorcun[/MENTION] Did you remove the download section? lol
[ONE Original Android Development] black.ic3:
Yes, from latest sourses

It must be, but i can check only f2fs (it works)

Can you test mic? I cant do it with a call right now :/

Seems you are right, stock sound recorder doesnt work, so only your new ramdisk can make it work

--

Confirmed, it works
[ONE Original Android Development] erorcun:
XDA gives me crappy upload speeds, so I gave link to another site.
[ONE Original Android Development] Spider-Vice:
Now we just need an AnyKernel version so it works on Darkobas like one nikhil made before. Unless that's already done and I didn't see amongst all the hype.
[ONE Original Android Development] DerRomtester:
It isnt just the ramdisk. Camera also wont work because oft the different camera drivers in omni and Sultans caf.
[ONE Original Android Development] Jole7:
Thank you for solving all the sound problems great work !!!
[ONE Original Android Development] srsdani:
Might be a bug: on 3.4 kernel, headset button it's just fine. Just did a test here and the button does nothing. Can anyone confirm(that is not another cm bug)?
[ONE Original Android Development] joefso:
love Turkish people. great work lan!
[ONE Original Android Development] Spider-Vice:
Yeah indeed, forgot the fact the camera HAL was different.
[ONE Original Android Development] erorcun:
Buttons and mic works fine on my headset. But there are too many different headsets and all types of headsets needs different codes to make them work, I don't know either it is kernel or CM bug but sounds like kernel bug.

Hahaha, thanks =D
[ONE Original Android Development] fmc000:
I think that he was referring to the Lightning kernel for CAF ROMs. Maybe [MENTION=4633983]nikhil18[/MENTION] can get the best of both worlds. ;)

Edit: too late.
[ONE Original Android Development] erorcun:
nikhil18 has said he will try to make Anykernel version in his freetime, also I plan to put upside camera switch so you guys can use it on darkobas. Roms with CAF-Oxygen cameras needs to wait though.
[ONE Original Android Development] nikhil18:
darkobas uses CAF-Oxygen camera drivers
[ONE Original Android Development] erorcun:
:/ Sad. Which one was suffering from upside-down camera?
[ONE Original Android Development] barisuraz:
Probably omni.
[ONE Original Android Development] idprophecy:
If somebody wants, here is my anykernel version.

download link
[ONE Original Android Development] evronetwork:
With slim7 and stock kernel I get 1.7-1.9A anyway(with screen off :p ) - Tested with external usb meter

This kernel does work but camera doesn't(slim7 from Dan uses Sultan's camera so it's incompatible) - try open the camera and you'll confirm it :D

P.S. I did try the kernel with my slim7 a week ago
[ONE Original Android Development] SirSoviet:
Use the official versions of Slim if you want a working camera. You gain better performance, but worse camera.
[ONE Original Android Development] evronetwork:
I know ...better performance? ..doubt it but worse camera, you bet :p
[ONE Original Android Development] SirSoviet:
With this kernel, that is. Sorry for not clarifying.
[ONE Original Android Development] erorcun:
It's already in our kernel, but it doesn't do anything :/

Btw I fixed CAF camera focus but there is still something I need to solve. But anyone can compile it from my source. (With CONFIG_CAF_CAMERA_DRIVER)
[ONE Original Android Development] SirSoviet:
I just built it and I can confirm that it's working perfectly on all roms with CAF camera driver, even on Omni. Roms that use ColorOS camera require CONFIG_UPSIDE_DOWN_CAMERA=y in defconfig though. I might add that cellular service isn't working on Omni, it probably can be fixed with a simple defconfig change though. I've yet to find the problem that you need to fix, everything's working fine. Thanks!
[ONE Original Android Development] HannibalLecter:
what is the diff between hybrid and OOS blobs?
[ONE Original Android Development] Lisko:
Hi, I'm using this kernel fine on Resurrection remix. The only issue I found is that when I play with real racing 3. The gameplay is fine and smooth but in menus when I tap something is like it's hanging and after a while it "recognizes" the touch input. During this hanging the game menu continues running smoothly in background but the touch event is recognized with a lot of lag while in-game works fine. Tried switching io scheduler and also tested with LK 3.10 which is on your base. If I can help with anything else let me know.
[ONE Original Android Development] Mecca EL:
Did you wipe cache and dalvik after installation? That helps, if not. I play RR3 also, and haven't experienced any lag. Also, if you have Matlog or some other log app installed, see if any errors pop up while you have RR3 activate, and you touch sections of the game menu etc.
[ONE Original Android Development] Mecca EL:
[MENTION=4898631]erorcun[/MENTION], do we have this feature enabled on your kernel - https://xdaforums.com/apps/magisk/module-enable-sdcardfs-t3603375
[ONE Original Android Development] aliffaminuddin:
this kernel can work with cm13?
[ONE Original Android Development] erorcun:
Yep.

--

Since I have solved CAF camera driver issue, now on I will provide two links for each build, one with CM camera driver and one with CAF/Sultan camera driver.

First one is this one =) This test build has no new security patches that LinOS repo has, I've only added some stability fixes that you can find on my repo - they start after 11/04. I just want to be sure it doesn't reboot.

With CM camera driver: https://www.mediafire.com/?qxqu20lk6944387

With CAF/Sultan camera driver: https://www.mediafire.com/?noa53fhkhaomjnh
[ONE Original Android Development] Mecca EL:
Testing...
[ONE Original Android Development] LPW00:
Using the blobs from this thread resulted in FC on snap camera and Google camera says "Camera Error Can't connect to camera"

https://xdaforums.com/oneplus-one/o...m14-x-ab123321-kernel-oneplus-t3545468/page33

I use RR (build date 2.5.17) with SElinux permissive and Magisk.
[ONE Original Android Development] :
This kernel work on Sultan cam diver not blob. This mean it caf version only work on sultan cm13 maybe slim 7, candy7 because they have sultan cam
[ONE Original Android Development] LPW00:
But lightning kernel (caf) worked too with those blobs even before lightning kernel was updated for these blobs...

I now use the cm version of this kernel +Magisk and I can't pass safety net
[ONE Original Android Development] ma_t14:
Sorry for the newbie question, but how does one install this? Just regular flashing using twrp?
[ONE Original Android Development] LPW00:
Yes
[ONE Original Android Development] erorcun:
I said "CAF/Sultan camera driver", not "OOSv3/Hybrid camera driver".

This is known. Probably impossible to fix.
[ONE Original Android Development] LPW00:
Sorry, I thought that's all more or less the same...

That's sad...
[ONE Original Android Development] ma_t14:
Thanks. And is there a way to revert back to 3.4 kernel after updating?
[ONE Original Android Development] LPW00:
Flash the kernel u had before or reflash ur ROM
[ONE Original Android Development] Mecca EL:
I seem to be having some weird activities, on the latest kernel. Slow Wake up, and some kernel related errors according to the logs.
[ONE Original Android Development] erorcun:
New build is out, there are bug fixes and performance improvements :p

87 commits applied since 9/04 build.

With CM camera driver: https://www.mediafire.com/?4pkk3co7290lx1l

With CAF/Sultan camera driver: https://www.mediafire.com/?hohbwk9l805nrn0

[MENTION=6277543]Mecca EL[/MENTION]

Can you try latest build?

Fixed in this build.
[ONE Original Android Development] lensman123:
Thx, testing in LOS

Enviado desde mi A0001 mediante Tapatalk
[ONE Original Android Development] mysteres:
Running on tuga 33 with no problems

Edit. I cannot play 3d games at all
[ONE Original Android Development] Mecca EL:
[MENTION=4898631]erorcun[/MENTION] I don't know what you did, but it's fast and back to normal.
[ONE Original Android Development] indhimaga:
So smooth with DirtyUnicorn and default is to slow charging... Need a tutorial here to reach the extra feature of fast charging...
[ONE Original Android Development] moneyvirus:
Just a question to all who are using this master piece do you guys tweak this kernel or do you use it out of the box?

Verstuurd vanaf mijn A0001 met Tapatalk
[ONE Original Android Development] Mecca EL:
As is, works great. There are a few add ons, but I have my set to conservative. I've posted my settings in here, just use the search feature to find my comments
[ONE Original Android Development] Flameron:
Do you plan to make the kernel compatible with the oos

Blobs?not the driver but the blobs.

Since only a rom or two use oos drivers.

Thank you for your work. :)
[ONE Original Android Development] dudas89:
What CPU hotplug is this kernel using? I'm not able to see its respective tab on Kernel Adiutor-Mod, but I don't think it is MSM Hotpug. All cores are on all the time. I don't think I like that, if I am not even touching the screen.

I would like to be capable of changing the charging current directly from the app, instead of using some kind of terminal, but if this option is not enabled, I presume it is not possible for now. I miss the undervolting too and other things. Anyway, I will give it a try and see how it handles :)

Thank you so much for your work erocun!
[ONE Original Android Development] erorcun:
CPU configurations are same with stock kernel. There are just some extra governors.

My cores are operating as if it's stock kernel, so I don't know why you are living these.

Currently it's not possible to add them to Aduitor except fast usb charge, and I decided to add it in next build. I may make feature request to Aduitor for others later.

Thanks =)

mm, I didn't get you.
[ONE Original Android Development] Flameron:
Like could you make the kernel compatible with the flashable blobs made by ab123321 ..these Are supposed to be OOS blobs which can be flashed before the kernel is flashed.(oxygen blobs)
[ONE Original Android Development] erorcun:
oh, ok. I want to port it too but it will take time. I will do it if I will have time :)
[ONE Original Android Development] Beep-Bop:
Ooh, can you add undervolting too?
[ONE Original Android Development] Mecca EL:
[MENTION=4898631]erorcun[/MENTION] is this kernel or OS related
[ONE Original Android Development] erorcun:
Related with kernel-rom combination. Which rom are you using?
[ONE Original Android Development] Mecca EL:
[MENTION=4511190]idprophecy[/MENTION] 5-22-17 build. I just updated to his 5-23-17 build, so I'll keep an eye on it.
[ONE Original Android Development] Silvered:
I have issues with Snapchat on Candy 7 rom
[ONE Original Android Development] usmani:
I'm sorry if this has been answered before, I'm on lineageOs latest build, data and cache formatted as f2fs. Every time I try to flash this it bootloops. What am I doing wrong?
[ONE Original Android Development] daniga74:
which twrp version are you using?
[ONE Original Android Development] arjun:
[MENTION=4898631]erorcun[/MENTION] using this kernel with aoscp rom, works great, only hiccup is when the device is woken up using power button i get this static crt effect in lower half of the screen, its not that noticeable as in omni rom (one hell of a static crt effect found on the whole screen) and also not noticeable in stock aoscp kernel. Besides that this is hands down the best kernel.
[ONE Original Android Development] usmani:
3.0.2
[ONE Original Android Development] daniga74:
[MENTION=5698935]usmani[/MENTION] 3.0.2 is not able to format correctly in f2fs.

Use 2.8.6.0 to format in f2fs and the 3.0.2 to flash ROM and kernel or use 3.0.2 + ext4
[ONE Original Android Development] usmani:
this can't be the reason. Stock kernel works okay.
[ONE Original Android Development] erorcun:
27/05 build;

With CM camera: https://www.mediafire.com/?7z672wl1y6xy275

With CAF/Sultan camera: https://www.mediafire.com/?sts35t5hd5ca3xr

- Swipe2wake added and can be changed in Kernel Aduitor.

- USB Fast Charge can also be changed in Kernel Aduitor.

- You can make your phone seen like keyboard/mouse while it's connected to PC, you just need to download pelya's USB keyboard app and disable SELinux.

- SmartMax governor knows when screen gets closed, so it's more power efficient now.

- Many bugfixes