yashsingh1/xdaforums huggingface dataset:
[ONE Original Android Development] erorcun:
It will have some unseen features, and will also have useful common features. Not planning to put tons of things.
[ONE Original Android Development] Raagh:
Like the way you think. Cant wait
[ONE Original Android Development] DarKAngel1234:
So are you abandoning this kernel as it is?
[ONE Original Android Development] erorcun:
No, this will stay as stock 3.10 kernel, so everyone will be able to use this as they like. But since I think it's stable now (not last build but current state in repo) I won't provide freuqent updates to this kernel.
[ONE Original Android Development] nthacks:
Any updates for the caf version after this is stable?
[ONE Original Android Development] DarKAngel1234:
Yes any chance for a final CAF build.?
[ONE Original Android Development] erorcun:
Mobile data and camera focus is still missing on CAF, I need to figure them out :silly: Probably will fix them in a week.
[ONE Original Android Development] DarKAngel1234:
OK, cool, I have been chatting with Nikhil, I know he is waiting on those items, before he moves forward with his version of the kernel.
[ONE Original Android Development] Raagh:
Hey man could you share your sources please, including the anykernel script. I wamma start building this kernel with anykernel ramdisk
[ONE Original Android Development] idprophecy:
Clone erorcun's source.

Download my latest build (extract it to some folder (anykernel_3.10 for example) that you will use in script).

Download AK's build script and adapt paths for source, anykernel, toolchain (you should use google gcc 4.8), edit defconfig variable in script to proper one and other parts of script like zip name or user,host name.

Also don't forget to make your linux able to compile, check your installed packages.

If you want something just send me a pm and I will try to help you If I'll be able to.
[ONE Original Android Development] DarKAngel1234:
Quick question, what hotplug does this kernel use, nothing comes up under it in KA?
[ONE Original Android Development] geowolf1000:
at settings /phone about still have cyanogen signature

Did not change linux version also

Same if cat /proc/kernel.

Normal or something miss.?

Anykernel flash
[ONE Original Android Development] DerRomtester:
Sry what do you mean ?
[ONE Original Android Development] idprophecy:
I have MPDecision in KA.

EDIT:

Also here is updated anykernel version.

And here is version with caf camera drivers.

(stock as usual and just if anybody wants to test).
[ONE Original Android Development] Raagh:
i thougth i need a special config apart from standard anykernel building , lets see how it goes

edit: did you do any special modification on your anykernel ? i m using the one left from my stock cm kernel build
[ONE Original Android Development] idprophecy:
Just those for ramdisk.
[ONE Original Android Development] DarKAngel1234:
OK thanks bud.
[ONE Original Android Development] endstille:
No issue so far for me, Thanks! Even the blacklight issue seems fixed.

Just one question about bfq: Do i have to configure it (if yes how) or is it simply active as new default scheduler?

Regards Marc

EDIT: just realized you are from Neumarkt and DarfAngel1234 from Newmarket, lol :D
[ONE Original Android Development] nthacks:
CAF camera is upside down.

Cam Focus and data still don't work as usual.
[ONE Original Android Development] DerRomtester:
Have you ever configured an I/O scheduler?

If you know all its values you can configure it. I dont touch it because i dont touch values that i dont know what they are doing.

I implemented because cm madr it default and it semms performing very well even on flash devices.
[ONE Original Android Development] idprophecy:
Yes, it can be upside down. I forgot to disable fix for omni.
[ONE Original Android Development] endstille:
Sorry if this was unclear:

i did not mean configure in terms of twaeking it's parameter.

i just meant configuring in terms of enabling / using it.

I used to play with "Performance" setting, once they were available in CM and used tools like Synapse or other versions on my older phones (dorimanx had one on the i9100 i think...).

thanks :)
[ONE Original Android Development] Mecca EL:
Had my first random reboot. Outside of that, things are working pretty good [MENTION=4804871]DerRomtester[/MENTION].

Saw a couple of errors at line 4080
[ONE Original Android Development] natheux:
Not working on CyanogenOS 13.1 ?

EDIT : My bad, I rooted the rom with SuperSU 2.74-2 BETA, it was causing the bug maybe..
[ONE Original Android Development] Leicxan:
it's fine on my opo running Cos 13.1, but i rooted my phone with supersu 2.74 in systemless mode.
[ONE Original Android Development] phoenixita:
To use it with cos13.1 I have to flash the anykernel version, right?
[ONE Original Android Development] geowolf1000:
Yes

Do not install supersu because its not patced for

Will restore previous backup aka cyanogen img...

I confused too

Flash first debugable. Boot img from cyanogen support url

On. Developer settings enable root

After flash any kenel version

Encryption fail and soft brick phone until format data...

Have to run permissive selinux
[ONE Original Android Development] Leicxan:
Yes, you should flash cos13.1's Stock kernel then flash the any kernel version. As erorcun suggested in OP you should run this kernel in SELinux permissive mode.
[ONE Original Android Development] erorcun:
Hi guys, after a long journey I release first stable version today. Probably there won't be frequent releases anymore because nothing much to do left. Thanks to everyone who contribute and test :)

Things I've done in a week:

- Cell standby drain fixed

It was happening if wifi got activated while mobile data is open, thanks to [MENTION=4659370]spanish33[/MENTION] for reporting

- Most of kernel has synced with upstream 3.10

Net stack has seen an overhaul, CAF's mobile data could work now, but if won't I have nothing else to do.

Memory management also seen a big improvement.

- We're using OnePlus 3 fuelgauger(battery reading) driver now

Because Oppo one was a mess and I don't trust CM one

- Some latest important CM commits imported

- Some people reported not detected gestures and panels that's not resuming, these should be fixed

Touchscreen driver is final now, I won't touch it anymore

- WCNSS stack has changed and there is no more warnings on logs and boot is faster also.

- Prima has some new 3.10 commits

It's not completely same with CM's LA.BF branch Prima anymore,

but if anyone wants, can use it with LA.BF prima since the kernel is compatible with both LA.BR and LA.BF Prima.

- Defconfig has seen an overhaul

All possible USB devices should work now, also useless debug things got removed

- I gave up using old touchscreen firmware, latest ones are better

- If there were an extra battery drain after watching video, it's also fixed

And beside I think mobile data on CAF fixed I also think CAF camera focus should be fixed too. I will try to release CAF version today, if I won't be able, I will release tomorrow.

Also .diff and anykernel patch that can be applied to ramdisk is available on OP.

Link: http://www.mediafire.com/download/3dmeld1xdyasptj/bacon3.10(s2).zip

Do not try on encrypted phone.

idprophecy will post anykernel version soon and I will put it to OP.
[ONE Original Android Development] Mecca EL:
Exciting moment right here!!! Thanks for all the work you've put into this. I'll report my findings as usual :good::D
[ONE Original Android Development] idprophecy:
Anykernel Version

There are few versions in there:

with stock cm camera (for cm nightlies and its based roms)

cm-13.0_3.10-kernel-bacon-google-4.8-20160702.zip

with CAF camera with rotation fix (for omnirom and just for testing purposes)

cm-13.0_3.10-kernel-bacon-google-4.8-caf-270-20160702.zip

with CAF camera and without rotation fix (for roms with caf camera)

cm-13.0_3.10-kernel-bacon-google-4.8-caf-20160702.zip

I have tested only build with cm camera.

ENJOY :)

https://mega.nz/#F!rZtQHJDI!dzi7ekhC1uiu_Wx3j2obKQ
[ONE Original Android Development] Miksel12:
[MENTION=4898631]erorcun[/MENTION] You good sir are awesome! Unbelievable what you have achieved in just a few months!
[ONE Original Android Development] moneyvirus:
Just flashed the version with the 270 'omni' fix on latest official darkobas and it boots fine and cam basics looks like to work but just a 2 seconds test

Awesome work guys

Verstuurd vanaf mijn A0001 met Tapatalk
[ONE Original Android Development] Gigadroid:
Camera works fine, but mobile data is still a problem on Sultans ROM.

Anyways great work!
[ONE Original Android Development] arjun:
camera focus working ??......... it's not working for me.
[ONE Original Android Development] Gigadroid:
Only took a quick first look and thought it works.

Turns out it doesn't. :silly:
[ONE Original Android Development] erorcun:
Then I leave supporting CAF on this kernel guys, sorry.

But my custom kernel will. Edit: this text looks big on mobile :A

And thanks for things you guys have said. : )
[ONE Original Android Development] iRhyiku:
Mobile Data doesn't work on RR CAF.

Also odd bug.. I installed the kernel and my battery went from 95% to 24%. Must be a wrong reporting as when i reinstalled Lightning it reported my battery correctly.
[ONE Original Android Development] moneyvirus:
On darkobas latest official no problem with data.... And the any kernel posted here [emoji5]

Just really curious what's next
[ONE Original Android Development] erorcun:
It always happens when driver switched. It will turn to normal after a while.

But besides that last build's battery consumption can be high, I will compare it in next days.
[ONE Original Android Development] Setting.Out:
270 anykernel version working on Jgcaap minus auto focus (so far) mobile data is a bit slower but the rest seems fine..
[ONE Original Android Development] KenjiHannya:
ColorOS câmera on Darkobas work?
[ONE Original Android Development] Mecca EL:
Happened here, on stock CM, but about a minute or so later, it went back to normal
[ONE Original Android Development] moneyvirus:
Yeah not tested every future just flashed and opend camera it opens and if you press make picture it makes a picture with the colloros camera...

Once again its not an indept test...
[ONE Original Android Development] kenboyles72:
Installed the latest right after it was posted today, so far seems pretty smooth. Only issue, is that the battery drain is kinda high when awake, may settle down after a few charge cycles. No reboots and no issues so far. Running Flivercod's Custom AICP
[ONE Original Android Development] Raagh:
First of all thanks for all your hard work. Its amazing what you have acomplished.

Second cant wait for your custom kernel.

Third: could you fix the ghost touch on double tap to wake?
[ONE Original Android Development] erorcun:
Thanks but... so touchscreen problems again? Great :/ What do you mean by ghost touch on double tap?
[ONE Original Android Development] Raagh:
Sometimes when yo did doble tap to wake it didnt wake up remember?
[ONE Original Android Development] erorcun:
I hope so, but mics are all working on me until I make call. Problem is not mic or speaker specific, most probably some codes about DSP are missing. (qdsp6v2 dir.) Because I haven't touched there, we must firstly try CM commits in it.
[ONE Original Android Development] nikhil18:
OK guys I have a test kernel which can be flashed on any rom the bugs are the same all credits go to [MENTION=4898631]erorcun[/MENTION] here is the link http://www3.zippyshare.com/v/iAnTxgD9/file.html
[ONE Original Android Development] erorcun:
Are changes same with your repo?
[ONE Original Android Development] nikhil18:
Here is my repo https://github.com/nikhil18/lightning-kernel-bacon/commits/lightning_3.10_oxygen kernel is built from UberTC 5.3 and Linux patches upto 3.10.94
[ONE Original Android Development] erorcun:
I mean, does your build includes all commits from your repo.

I looked it now and I don't think it will solve any sound issue, but I'll test it and write here later.
[ONE Original Android Development] Miksel12:
Could you add f2fs? I would like to test but i dont want to wipe.
[ONE Original Android Development] nikhil18:
I made the kernel in a hurry will start with qdsp6v2 today but how do I go on cherry picking so many commits
[ONE Original Android Development] erorcun:
Do with prediction, I will do same too.
[ONE Original Android Development] moneyvirus:
Hi m8 flashes it on darkobas, boots fine and runs really smooth, when trying to use the mic with Shazam it says unable to hear the music so I think mic isn't working on this ROM.

Any how great progress.

Verstuurd vanaf mijn A0001 met Tapatalk
[ONE Original Android Development] neopolitann:
He said multiple times the mic isn't working.
[ONE Original Android Development] moneyvirus:
Lol m8 maybe I quoted the wrong part put nikhil was asking us to test if mic is not working at all or just not with calling so I replied, I tested that and I noticed it is not working at all please calm down and read this on mind my post again and help testing

Verstuurd vanaf mijn A0001 met Tapatalk
[ONE Original Android Development] nikhil18:
There is something odd here because mic is working for [MENTION=4898631]erorcun[/MENTION] except in calls
[ONE Original Android Development] Spider-Vice:
Yup, mic doesn't work at all here too. I have a feeling erorcun didn't notice this and only noticed once he made a call?

Edit: nvm just read the previous page. Weird.
[ONE Original Android Development] moneyvirus:
[CM][DEV] OPO 3.10 kernel (Almost done)

How can we help do you guys need any kind of logs or tests I'm really eager to help [MENTION=4898631]erorcun[/MENTION]
[ONE Original Android Development] nikhil18:
[MENTION=4898631]erorcun[/MENTION] added all the commits for qdsp6v2 dir from cm still no mic my guess is its related wcd9320 codec
[ONE Original Android Development] erorcun:
It has ported.
[ONE Original Android Development] erorcun:
I pushed new sound commits to repo today. Timeout errors in log solved but mic problem is still there.

There is only one line in log related with it:

qdsp_cvp_callback: cmd = 0x112c2 returned error = 0x9

Btw, this function is in qdsp6v2/q6voice.c and 0x112c2 = VSS_IVOLUME_CMD_SET_STEP

And in boot there are errors which tells SLIMBUS_2_TX SLIMBUS_2_RX widgets not found and SLIM_0_RX AANC MUX has not paths, may be related with this.

Edit: Yep, related. They doesn't appear in CM.
[ONE Original Android Development] MZO:
Awesome work!

Transmitted via BACON
[ONE Original Android Development] jjrojo:
Sir, my respects, you closed some critical mouths.
[ONE Original Android Development] DerRomtester:
Btw what do you mean by f2fs not fully implemented. I am currently working on it to get it mounting my partitions.
[ONE Original Android Development] shubham1120:
Can you please check if autofocus is working or not? Because I checked on jgcapp's build(colorOS blobs) but autofocus wasn't working. Thanks
[ONE Original Android Development] DerRomtester:
Jgcaap is using different camera blobs and maybe different camera drivers so i dont care. Go for nightlys or dont use this kernel.
[ONE Original Android Development] endstille:
Thanks for all your work :)

FYI i compiled a version using linaro 4.8 and it's the first time working flawlessly, using another toolchain then googles gcc 4.8!
[ONE Original Android Development] Irseq:
Can confirm that the camera does not focus on sultan's rom. Apart from that everything seems to work fine. I guess KCAL would be nice, but that's not essential.
[ONE Original Android Development] Hingbong:
i got twice random reboots with latest kernel.
[ONE Original Android Development] gerciolisz:
AFAIK he is using same method for coloros blobs like omni.. on omni Focus works?it should be same i think
[ONE Original Android Development] nikhil18:
Logs or it did not happen
[ONE Original Android Development] rshbhghelani:
Can someone confirm if there is an anykernel version out for COS 13.1 yet? or if the release version would work just fine with it?
[ONE Original Android Development] DerRomtester:
But this kernel is designed for pure cm and not some special roms. We cant support a gazillion of camera drivers blobs and libs and its different combinations.
[ONE Original Android Development] erorcun:
Me too, it seems I screwed up. Will release a fix today.

Edit: Guys, I've tried to support CAF roms but nothing much to do left actually, so I don't support any rom which use any CAF file anymore.

It's confirmed focusing is broken at least on jgcaap, sultan's rom and omni.
[ONE Original Android Development] grusta:
I just want to let you know guys that the latest kernel corrupted my encrypted data partition.

I'm running last week official cm nightly, boeffla's kernel, no xposed, no supersu. I think a log would be useless in this case, so I didn't catch one. The corruption persisted after flashing back boeffla's kernel.
[ONE Original Android Development] erorcun:
Omg, I'm so sorry. I should have tried encryption. Thanks for warning me.
[ONE Original Android Development] gerciolisz:
OFC i agree its idea to focus on one thing. but version omni 270 was designed for omni and [MENTION=5165039]Setting.Out[/MENTION] just stated that it is working without autofocus on jgcaap's. And i just stated that omni and jgcaaps version are almost same with camera things.. sry but maybe i made a mistake with thought-chain does omni version was made by OP or his friend making anykernel versions ? I thought it was supported.
[ONE Original Android Development] idprophecy:
To clarify, it is just build with enabled CAF camera drivers in defconfig (they were added by OP) and also with 270° fix (or how should I call it) because [MENTION=4659370]spanish33[/MENTION] pointed me to include it (few lines from omni kernel source) to anykernel version compiled by me to fix upside down camera. Do you get it now ? :)

-----

New anykernel builds will be in my mega folder

(just for cm, few in uber-tc and one in google gcc 4.8)
[ONE Original Android Development] Mecca EL:
[MENTION=4898631]erorcun[/MENTION]

I have a log for you, if you need clean info. I have an OPO, CM13 nightly 7-03-2016, systemless xposed, no SuperSU, no tweaks.
[ONE Original Android Development] erorcun:
New build for reboot and encryption problems (encryption is fully implemented now but i don't recommend using it in daily life, it needs to be tested)

http://www.mediafire.com/download/3dmeld1xdyasptj/bacon3.10(s2).zip

[MENTION=6277543]Mecca EL[/MENTION]

You didn't encounter with any problem right? Logs are only useful when there is a crash actually =D I wanted some log while I'm porting CAF camera but currently there is no need to it, thanks.

You were using your phone plugged in while it's fully charged, right? If not there is a problem actually
[ONE Original Android Development] Mecca EL:
How the hell do you read the logs so fast!!!

Ok, I thought it was my charge source. My phone was not plugged in and not fully charged.
[ONE Original Android Development] erorcun:
Ugh, I didn't get, did you mean PC while saying 'not plugged in' ?

If it was connected to charger you must change it, it's flawed.
[ONE Original Android Development] Raagh:
You already make a build for the fox reboot build?
[ONE Original Android Development] idprophecy:
Yep.
[ONE Original Android Development] geowolf1000:
With stock kernel i was at 15% battery

After flash last kernel battery rise to 34%
[ONE Original Android Development] Mecca EL:
I'm testing the latest one now. I'll report back when I reach 15% battery. It's usually when the problem of recharging starts
[ONE Original Android Development] nthacks:
Is there any hope for a CAF version at all :/
[ONE Original Android Development] Mecca EL:
[MENTION=4898631]erorcun[/MENTION]

Have new log for you man. Recharge is hit and miss, seems to be in a charge/not charge loop. Also, had reboot and non responsive screen twice.
[ONE Original Android Development] erorcun:
Damn, when I think everything is okay something else pops up.

That charge problem doesn't occur on me but occurs on nikhil18 also, and nikhil18 uses long cable so probably it's related with the cable. Currently he and I trying to solve it.

I'll fix reboot reason and release another build today. I'll post them with anykernel also.
[ONE Original Android Development] Mecca EL:
Crap, long cable here also. That would make alot of sense.
[ONE Original Android Development] erorcun:
Can someone who has long charging cable test that to see if it's fixed? (it's anykernel.)

http://www.mediafire.com/download/tvrfubiz4r6odix/testkernel.zip

Also f**k stable, this thing isn't stable, i will leave working on it anyway, but it will be stable one day ofcourse
[ONE Original Android Development] Raagh:
hope you dont give up on this, its an amazing kernel :)
[ONE Original Android Development] Spider-Vice:
He's setting out to make a custom kernel based on this, don't worry. :)
[ONE Original Android Development] kenboyles72:
-47% in 7h 31m with just only 38m SOT and this is with all the tweaks I normally do. With Boeffla, I can go 4-5 days on charge and only loose 0.4%/hr, so for now Im gonna go back to it.
[ONE Original Android Development] plantator:
First try lightning v5 from nikhil18;66052483, second your rom get probably much wakelocks so battery goes down, you even know anything about wakelocks? How and what to disable? Or read them? Install better battery stats and find out
[ONE Original Android Development] kenboyles72:
1. i had previously tried lightning v4 and something was keeping all cores active and never going down to what i set the min to be at idle. CPU's were constantly fluctuating between 729 and 1574. After flashing this kernel, cpu would would go down and stay at 300 when idle.

2. I know about wakelocks, and have a lot of stuff disabled and have several tasker profiles that turn on/off services when needed. Even after all my tweaks, battery was dropping to fast.

All these were on a complete fresh install to make sure other things could cause issues
[ONE Original Android Development] DarKAngel1234:
One thing people need to understand about Nikhil's version is it is intended to run all cores all the time Quad mode just like the 6P, with the zen decision hotplug.
[ONE Original Android Development] bobglaus:
So here's a weird one for you guys...I got the kernel building and booting and its soaring for me on broken but this ROM is also really solid. But I was using lightning built inline with the ROM. It had high cell standby so I switched to eurocons version. Just stock eurocon and it buolfs and boots with a few edits but all apps that require root it seems(layers SuperSU kernel auditor alpt of others) all fc non stop. I'll try to get a log soon but its late here lol. Any ideas?
[ONE Original Android Development] nikhil18:
Build with google toolchain or revert the latest 3 binder commits
[ONE Original Android Development] idprophecy:
Yes, I assume you use ubertc (Am I right?). Then you must revert latest 3 binder commits (as [MENTION=4633983]nikhil18[/MENTION] adviced me) or use another one binder (for example from torvalds linux repo). Then it should work. :)

EDIT:

Lol you were faster than me, nikhil18 :D nevermind
[ONE Original Android Development] DarKAngel1234:
Try Nikhil's new kernel V5, high Cell stanby drain is fixed.
[ONE Original Android Development] Hingbong:
View attachment 3803151

I got reboot with latest kernel
[ONE Original Android Development] Mecca EL:
[MENTION=4898631]erorcun[/MENTION]

I stuck it out with the s2 build, because I'm not a fan of anykernel on my OPO. Causes havoc for some reason. But I dug around, looking for duplicate files, doing manual clean up, rebooted and since last night it's been great.

Here's a log, maybe you'll spot something
[ONE Original Android Development] DerRomtester:
Sry i dont understand your sentence. What happend ?
[ONE Original Android Development] phoenixita:
From what i understood nothing. He just provided a log randomly ? He also said that he doesn't like anykernel and he's using erorcun's version. ?
[ONE Original Android Development] DerRomtester:
Successfully built a linaro/uber kernel. If you are interested in i can upload it for you.