yashsingh1/xdaforums huggingface dataset:
[ONE Android Development] Klewe:
Camera connection error

Hi jgcaap,

using your kernel on temasek's rom for a long time now. Tried to install any of the new versions "color OS" but always getting camera connection error. Last working was 3.86.

Is there a workaround or will this be fixed in the future?

Thanks

klewe
[ONE Android Development] Setting.Out:
These are designed for his ROM not others, the last "universal" build is 3.86, don't flash any specially named versions..
[ONE Android Development] jgcaap:
Stick to the version which doesn't say color os. I'll update soon for you.
[ONE Android Development] gamal001:
all 4 core running all time , is this normal ?

I'm on 3.86 version.
[ONE Android Development] Setting.Out:
You did something wrong.. Applied it over another custom kernel (non-original ROM boot.img), incompatible ROM, rogue app or wrong information being reported.. This kernel has been thoroughly tested and of the thousands of downloads, no such reports until yours.. Check your ROM, clean install, no mods and if this doesn't solve it check for rogue apps...
[ONE Android Development] gamal001:
I'm trying this kernel with du rom , but I will try again next time with clean flash.

Edit: re-flash rom again and after boot flash kernel 3.86 . now all thing working okay.

one small question : did we get kernel 3.90 universal without "colors".

finally Thank you for great kernel.
[ONE Android Development] enkidu70:
404 File not found!

I guess the correct link is http://download.jgcaap.xyz/files/oneplusone/kernel/UKM-NewKernel.zip

But anyway. I flashed it but where do I find the api to control kernel settings!?
[ONE Android Development] jgcaap:
Install the app synapse. Question which rom you are using?
[ONE Android Development] enkidu70:
Tnx. Found it already! :D

Your rom... ;)
[ONE Android Development] jgcaap:
cool. =)
[ONE Android Development] sapik_ajidin:
Hi,first of all,i really loved ur kernel,been using fir as long as i can remember,so really glad u support back cm. Just wanna ask about 3.97, seem to be cm with just .zip,but when i flash on rr,it broke my cam,still cam work best with 3.93.
[ONE Android Development] saiamrock:
does this kernel different from your latest ROM kernel 6-26-16?
[ONE Android Development] jgcaap:
I'll build a version to work on rr.
[ONE Android Development] gamal001:
I'm trying last kernel (4.02) and working very well but camera FC ( Rom: du)
[ONE Android Development] jgcaap:
I'll release a kernel for outside roms soon. Just forgot to update it.
[ONE Android Development] Setting.Out:
New kernel..

4.04

Cm14.1..

Smooth, fast.. :)
[ONE Android Development] iDorkKnight:
The latest version of the kernel is absolutely amazing *_*
[ONE Android Development] suvam69:
Supports Oxygen OS?
[ONE Android Development] samuk190:
Where i can download new kernel ukm? The link is offline
[ONE Android Development] Setting.Out:
Use KA mod, synapse is outdated..
[ONE Android Development] Setting.Out:
4.04 color version is up.. works on CM 13 (using color blob)...
[ONE Android Development] samuk190:
Ok... My feedback: Its too much battery drain in cm 14 with stock kernel Doze is not working as should.. and cpu standard is clocked to 1728 minimium. Idk why. Another important thing is snapdragon taskmanager.

I love to see again snapdragon tasker, its better to kill background apps and stay with a good battery..
[ONE Android Development] Setting.Out:
this is just the kernel thread.. the stock clock speed should be 2.5ghz / 300mhz..

Reset minimum
[ONE Android Development] suvam69:
Can i Flash this kernel on RR ? Will there be color os blobs?
[ONE Android Development] Setting.Out:
Use the non color version or your camera will break..
[ONE Android Development] samuk190:
Sorry... Omg i posted in wrong topic. But what I've said about the kernel is true. Minimium get stick at 1728mhz and you need to reset everytime you boot or use synapse autoboot. I'm just saying that the 1728 minimium is too much lol
[ONE Android Development] Setting.Out:
Grab KA mod, use my profile, profit.. :) no more issue..
[ONE Android Development] robbieast:
Nope minimum resets to 960mhz or 1267mhz need help to keep at 300mhz!
[ONE Android Development] Setting.Out:
Go to governor tunables, sync_freq set it to 300000....
[ONE Android Development] robbieast:
Nice this worked. You gotta updated your profile screenshots!
[ONE Android Development] Setting.Out:
Working on newer ones.. :)
[ONE Android Development] costin85:
How can i limit the charging current to 1200 mAh?
[ONE Android Development] :
Cmon man, [MENTION=2040569]jgcaap[/MENTION], add undervolting like the good old days
[ONE Android Development] sergentum:
hi, guys. i am really appreciate jgcaap's work, but i can't understand smth. What is the kernel for? i installed latest jgcaap's cm13 rom (cm-13.0-20161205-jgcaap-bacon.zip) and custom camera with 64 sec shutter support. Camera worked well, but charging wasn't faster than 700mA.

So i decided to try this kernel (newKernel-CM13.0-4.03.zip) and my camera crushes. So If jgcaap rom not compatible with jgcaap kernel, what is it for? i can't get it
[ONE Android Development] :
it is there for as if someone wants to flash it and use it on other roms for any supplementary benefit of jgcaap work i.e smoothness and battery.
[ONE Android Development] sergentum:
do you mean it is not for 1+1 mainly? or not for jgcaap rom? but jgcaap rom based on cm13, so if it crashes camera on jgcaap rom, there will be same result on any cm13 based rom and cm13 itself. Am i wrong?
[ONE Android Development] :
it can be used on other bacon rom. it is not going to crash other rom camera if compatability is made sure of.

like cm hal so,simple kernel version of this kernel.

if colour.Os hal so, color os version of this kernel.

hal is a thingie which is needed by camera to function.
[ONE Android Development] sergentum:
sorry. seems i updated my message after your answer

---------- Post added at 13:27 ---------- Previous post was at 13:24 ----------

ok, i started to understand it. thx. next question is - how can i check compatibility before flashing? is there some info, maybe in options\about device?
[ONE Android Development] :
You can search a thread with a keyword "color os" for a answer to ur question which is raised a lot And during kernel hunting u can do the same. sometimes u can see the mention of it in the description itself.

it can't be found in systems info. u can judge by camera and camera features though.
[ONE Android Development] sergentum:
oh sh.., it written at title post of jgcaap rom that it used coloros blobs. another thanks for patience :)
[ONE Android Development] :
Don't say u gave another thanks because you didn't clearly gave more than i deserved. Rain thanks or don't mention thx in ur speech anywhere.

You were well mannered so i helped you nothing more nothing less.
[ONE Android Development] sergentum:
in russian boards i would get ****storm because can't use search or rtfm etc. i say thx twice and push twice, so it seems fair
[ONE Android Development] abdullah.ibn.umar:
Plz add undervolting ??
[ONE Android Development] uudruid74:
Did you read the OP?
[ONE Android Development] natheux:
Hi everyone,

Is the latest CM13-4.03 version works with CM12.1S ? I'm looking for a CM12.1 kernel variant for Flyme5 (I prepare myself for Flyme6... ;) )
[ONE Android Development] FlashHappy78:
Powersuspend and fast charge huh? I'm subscribing and watching. Can't wait til this is running on 5.1/cm12.1 builds. I'm willing to test if needed [MENTION=2040569]jgcaap[/MENTION]
[ONE Android Development] jgcaap:
Will try build tomorow. Just want to build after kernel is ready.
[ONE Android Development] alexcyb:
very good:good:
[ONE Android Development] GalaxyWhy:
As OxygenOS is being released today, I really hope you can make it compatible too :)
[ONE Android Development] hypnz:
Sorry I asked about color os but u ignored me.
[ONE Android Development] DerRomtester:
It is basically not possible because color os is using a different kernel tree. Not worth for some single users. Sry for that.
[ONE Android Development] jgcaap:
my appologies, didnt ignore. I forgot to reply, yesterday was very tired. Well i kind of am a fan of color os. Maybe i can do something about it :) but for now is only CM12.1 what is coming.
[ONE Android Development] jgcaap:
Hello guys. I finally finished my work over kernel. Building the ROM right now. Alot of thanks to [MENTION=4316709]savoca[/MENTION] which was a great help.

Also big thanks to [MENTION=5438598]RenderBroken[/MENTION] for sharing his building script.

This new kernel is CM12.1 based compatible with all roms base on it. In order to flash this kernel correctly you have to:

1) Flash the ROM

2) Flash the kernel

This is because of any modifications which is caused by scripts or even at ramdisk level to be wiped.

As you may know i cannot give support to all roms, so please try keep as most stock as possible.

New features:

-KCAL by great dev savoca!

Introduced:

KSM optimizations

Power Efficiency Patches ( by [MENTION=3292224]franciscofranco[/MENTION])

Improved low memory killer

Geek details:

optimize msmcpy for A-15

alot of fixes which includes alot of xda devs ( [MENTION=4804871]DerRomtester[/MENTION] [MENTION=2376110]dorimanx[/MENTION] )

Hope not have forgotten anyone :D

Uploading.
[ONE Android Development] Setting.Out:
Fast and smooth.. On a stock GCC compiled 12.1 CM rom.. :)
[ONE Android Development] jgcaap:
It's online : https://basketbuild.com/filedl/devs?dev=jgcaap&dl=jgcaap/newKernel-CM12-1.0.zip

have fun!
[ONE Android Development] hypnz:
No need to apology man it's ok[emoji1] I hope u can do something about color os.
[ONE Android Development] johnsin5393:
Does this version kernel can install on any Android v5.02 lollipop roms? Is it a much need to install again the rom then install kernel without factory reset? Thank you
[ONE Android Development] jgcaap:
If you flashed other kernels, much problably the ram disk of your boot.img has different values, and that can cause issues. Dirty flashing a rom and after the kernel should be fine.

Give it a try. Cm12.1 comes from cm12, but there can be issues as my kernel is based on cm12.1

Hope I was able to give a clear answer of why and what to do.

Soon my kernel will have a new update as I am starting again project from scratch and making a clean look on my git hub.

Going to apply Linux patches to v106 very soon and revert some stuff.

My todo list is getting bigger and also more interesting, as now I wish to do more into kernel level which I believe it'll bring the results I wish to.
[ONE Android Development] johnsin5393:
No kernel update for 5.0.2 version?
[ONE Android Development] Setting.Out:
The 5.1 version should be compatible with 5.0.2.. Make a backup and try it out.. If you have problems, just dirty flash the rom, or restore the backup, and let us know.. :)
[ONE Android Development] jgcaap:
Complete new redesign kernel. Keeping mostly stock just apllying fixes and adding back features. With new linux patch 3.4.106

New kernel with KSMoff for now:

https://basketbuild.com/filedl/devs?dev=jgcaap&dl=jgcaap/Kernel/newKernel-CM12-KSMoff.zip

More info please check here:

https://github.com/jgcaap/android_kernel_oneplus_msm8974/commits/newstable

thanks and enjoy.

about linux patches please read: https://github.com/jgcaap/android_k...mmit/ab415fc870103bed62905124466da3654dceca19
[ONE Android Development] johnsin5393:
This kernel also can install on 5.0.2 and 5.1 lollipop? Thank you
[ONE Android Development] Setting.Out:
I'm running it on 5.0.2.. Perfect.. ;)
[ONE Android Development] prstorero:
But does it blend? :P
[ONE Android Development] Setting.Out:
It works on both..
[ONE Android Development] Setting.Out:
Here's a sample of stock settings on a 5.0.2 rom
[ONE Android Development] prstorero:
Judging from the ellipses, I'm not sure if you got the reference haha
[ONE Android Development] Setting.Out:
Explain "blend"...
[ONE Android Development] prstorero:
Youtube " blendtec" that will explain everything :)
[ONE Android Development] Setting.Out:
I'm sure it makes the smoothies taste better.. ;)
[ONE Android Development] wishmaker738:
link does not work 404 error
[ONE Android Development] jgcaap:
Fixed. Sorry for that.

I have now a big todo list. Going to create two lines of kernel development. One is stable branch another is test branch.

On stable will be everything which was tested and proved as something worth to have.

On test branch will be the messy work... And perhaps the most interesting part.

During this week will post more news. Cheers.
[ONE Android Development] jgcaap:
new update:

07/04/2015 - Included linux patches from 3.4.105. selinux fixes and code cleanup. Raised entropy levels. Introduction of a new smart scheduler. Data loss fixes missing from CM code.

Download :https://basketbuild.com/filedl/devs?dev=jgcaap&dl=jgcaap/Kernel/newKernel-CM12-patches3.zip
[ONE Android Development] Setting.Out:
4hr sot at 50% battery.. ;)
[ONE Android Development] arndan:
Where is the Download link

So i wanted to try this out again but the Download link doesn't work.
[ONE Android Development] jgcaap:
New update coming soon. Deleted because of that. Will warn about it soon.
[ONE Android Development] NOSTALGIA:
is stock values better???
[ONE Android Development] jgcaap:
https://basketbuild.com/filedl/devs?dev=jgcaap&dl=jgcaap/Kernel/newKernel-CM12-RemovedStep.zip

Use this one until update is out.
[ONE Android Development] arndan:
Okay, thanks!
[ONE Android Development] jgcaap:
Small fixes. New surprise try to guess:

https://basketbuild.com/filedl/devs?dev=jgcaap&dl=jgcaap/Kernel/newKernel-CM12-1.2.zip
[ONE Android Development] Setting.Out:
Is it a pony??

Definitely more horse power under the hood.. Sooooooo smoooooooth!!
[ONE Android Development] demon507:
Does this have msmhotplug?

Sent from ONEPLUS ONE SlimAK'ed
[ONE Android Development] Setting.Out:
No, but working on adding bricked..
[ONE Android Development] demon507:
Please consider msm too... Because msm hotplug coupled with smartmax is giving a good battery life.

Rest is up to the devs. :thumbup:

Sent from ONEPLUS ONE SlimAK'ed
[ONE Android Development] Setting.Out:
Under normal/moderate usage I see around eight hours sot.. Most of that is YouTube and web browsing/XDA.. on stock settings.
[ONE Android Development] kalpik:
Hi! Do you have this commit included? http://review.cyanogenmod.org/#/c/94235/

Sent from my A0001
[ONE Android Development] kalpik:
Look carefully, it's a kernel side commit :)

Sent from my A0001
[ONE Android Development] demon507:
https://drive.google.com/folder/d/0B76mpIA5wQmxOVZac3pyem5IXzQ/edit

I had reboot while opening synapse. It happened 3-4 times. Attached link has logcat,last kmesg, dmesg.

Please have a look.:thumbup:

Sent from ONEPLUS ONE SlimAK'ed
[ONE Android Development] KingBeike:
I can not get your kernel to Boot :(. Using multirom with oxygen OS AS secondary and euphoria as primary. Boots fine with stock euphoria kernel (but no multirom patch, so only primary) and with ak kernel it boots up fine too, also the secondary.

Any suggestion ? Flashed normal through twrp 2.8.6... 3 times now, no luck

Will you keep stock mpdecision in kernel as an Option when adding bricked ?
[ONE Android Development] jgcaap:
The first lines of kmsg says

0.000000] Linux version 3.4.106~Render-Kernel (RenderBroken@RenderServer.net) (gcc version 4.9.3 20150317 (prerelease) (UBERTC-4.9.3) ) #1 SMP PREEMPT Tue Mar 31 20:29:16 EDT 2015

Or you came to the wrong thread. Or you did not follow instructions to flash kernel correctly. Please reflash rom without the previous kernel then kernel. With time I'll find a way of cleaning up other kernel changes, till then this has to do. Basically if you flash a rom then a kernel, and do not reflash you rom before flashing again another kernel, it'll create this mess.

Basically this has to do with the ram disk changes.

There are two methods to have a kernel done by someone else on our phone. Trying not to complicate and to make you understand, when you create a kernel there are two strategies dev use to share their work.

Most of the devs have on each kernel has its own ram disk and create a boot.img zip file. The advantage is that, the boot.img will exchange the one we have in the phone. The disadvantage is that, it can be incompatible with some updates.

The strategy I use, is same of ak and render. We build kernel with any kernel. Basically the boot.img is created with the boot.img which is currently on you rom while on the recovery.

So now you can understand what happens. If you flash a kernel A, independently of the methods, we'll be using a ram disk not correspondent to the original rom and you'll have changes in ram disk . So while going to kernel B, ram disk is written again. Then going to kernel c ram disk is written again.

Can you tell me the advantage of having all kernel changes I same ram disk? [emoji14] I think you can now understand why it reboots.

Hope I was able to give an informative answer. Cheers.
[ONE Android Development] jgcaap:
Not yet compatible my friend. Oxygen didn't release source yet.
[ONE Android Development] KingBeike:
I cant even Boot the primary Rom - euphoria OS :D
[ONE Android Development] jgcaap:
The kernel is not compatible with euphoria?
[ONE Android Development] Setting.Out:
What kernel were you using last? Was it the stock kernel?
[ONE Android Development] KingBeike:
Did a clean flash, now it is working :) i think AK kernel messed up something
[ONE Android Development] Setting.Out:
Yes, you will always need to return to "stock" from a different kernel.. Glad you're up and running.. ;)
[ONE Android Development] demon507:
Yes i had a look at kmsg before sending it your way..i m no way a dev but i was shocked too to see render kernel there..i flashed your kernel with the reflash of my rom to eradicate any ramdisk changes. As a matter of fact i reflashed the kernel again with the rom.

Yes i understood every word but flashing the rom again followed by new kernel is the right way. Isnt it?

Thanks for replying. :thumbup:

Sent from ONEPLUS ONE SlimAK'ed
[ONE Android Development] jgcaap:
hmm Could you try formating system and reflash rom please?

Perhaps with reflashing rom, he might ignore some parts and doesnt do a proper format, not sure. Render kernel has got some changes which affect this kernel.

Yes you did the correct way. Thanks :) We might discover it with time what is. Whats the rom btw?
[ONE Android Development] Setting.Out:
Try wiping /system /dalvik /cache.. This is a cleaner flash with no data loss..
[ONE Android Development] demon507:
Using slimsaber...yes I'll try with a wipe. I usually try wipe when I've an issue. :)

Btw using your rom too in multirom, waiting for the new build. Actually i like layers that's why keep reverting to slimsaber.

I always clear dalvik and cache not the system.

I'll try with the system too. :thumbup:

Sent from ONEPLUS ONE SlimAK'ed
[ONE Android Development] jgcaap:
Let me know if worked. :)
[ONE Android Development] demon507:
As i was using slimsaber as secondary rom there was no option to wipe system but what i did was removed the boot img from it then reflashed the rom followed by kernel and ukm. Good enough?

Sent from ONEPLUS ONE SlimAK'ed
[ONE Android Development] Setting.Out:
You need the rom's boot.img.., what you shouldn't do is flash a rom + custom kernel, then flash this kernel.. Always return to the original kernel the rom came with, unless updating this same kernel.. ;)
[ONE Android Development] demon507:
that i know, i always flash a rom while changing kernel.

doesn't the boot img holds the ramdisk changes or i'm mistaken here.

the only purpose i have removing the boot img first so as to negate the changes in ramdisk.

then flash rom and new kernel which will flash the new boot.img anyway.

i maybe wrong so feel free to correct me. learning things here.
[ONE Android Development] Setting.Out:
Consider this kernel a patch for the original, it doesn't contain a full boot.img.. It replaces most of the original, but not all..
[ONE Android Development] demon507:
Then u mean there is no point in removing the boot.img? It will bring problems instead of good?

Sent from ONEPLUS ONE SlimAK'ed
[ONE Android Development] Setting.Out:
Just flash and forget.. There's no need to over-complicate it and run into issues.. :)
[ONE Android Development] demon507:
No unusual wakelock...still phone has issues deep sleeping. :confused:

SlimSaber with latest kernel.

Sent from ONEPLUS ONE SlimAK'ed
[ONE Android Development] Setting.Out:
Not much info to go on there.. Can I get BBS or wakelock detector?
[ONE Android Development] demon507:
That is wakelock detector. as i said there was no unusual wakelock so nothing to show. Waiting for next build of his rom n kernel.

Thanks anyway.
[ONE Android Development] Setting.Out:
Haha.. It looks different to mine.. Still the one photo doesn't paint the whole picture.. :)
[ONE Android Development] DerRomtester:
For what do you need powersuspend driver? I dont see anything in your source that needs it. e.g. hotplug
[ONE Android Development] jgcaap:
It works with default hotplug from what I tested. Do you think I missed to do something? Thanks
[ONE Android Development] jgcaap:
Is working.. I think..
[ONE Android Development] jgcaap:
You need these. Ak has this very organized on his github.
[ONE Android Development] DerRomtester:
No your code is fine.

Of course it is working but actually you don't need it.

Hotplugs need it e.g. to know when the display panel is turned on or off. Than they can react e.g. turn on all cores when the display is turned on.

Stock msm mpdecision does not need it. I for example use it for mako hotplug https://github.com/DerRomtester/one_plus_one/commit/c6cb749f7ea7e53d7d6a8d6efc5e38c8dc89741a

Yeah i know :)
[ONE Android Development] jgcaap:
thanks :D learned another thing.

I didnt move yet to hotplugs as i am fixing the rom bugs and squashing problems of building. After that is completed sorted... moving to improve kernel even further. btw is there a way to control MPdecision from choosing the frequencies he wants?

Big thanks :)
[ONE Android Development] hikhokk:
is this kernel is compatible with OxygenOS?
[ONE Android Development] johnsin5393:
Does the kernel support to flash on cm12s rom?
[ONE Android Development] johnsin5393:
Got anyone tested use on cm12s? How's the battery and performance?
[ONE Android Development] Setting.Out:
I think its better than stock.. ;)
[ONE Android Development] KingBeike:
No more multirom support ?:(

Cant boot secondary Rom with latest Version! Mulitrom APP also says no patch

Much smoother and faster than cm12s stock kernel ! Battery seems so be better also :)
[ONE Android Development] jgcaap:
It hás hexec patch in it..and its on... Só yes still hás multi room Support
[ONE Android Development] KingBeike:
It hás hexec patch in it..and its on... Só yes still hás multi room Support

Does not work...
[ONE Android Development] jgcaap:
This kernel is 5.1 not 4.4 ...
[ONE Android Development] KingBeike:
Haha i know, it is only a possibilty Form multi Rom to download a stock kernel with the patch, it is not the kernel you have installed
[ONE Android Development] johnsin5393:
So, this kernel doesn't compatible on cm12s?
[ONE Android Development] KingBeike:
It is working very good! But no multirom
[ONE Android Development] DerRomtester:
You forgot some things inside the defconfig to get kexec working :)

CONFIG_PROC_DEVICETREE=y

CONFIG_ATAGS_PROC=n
[ONE Android Development] johnsin5393:
Any kernel manager can use to set control of this kernel? How to get cm12s update in future if already flash custom kernel?
[ONE Android Development] jgcaap:
thanks :) adding :)
[ONE Android Development] jgcaap:
recompiling... soon will share with the missing configs..
[ONE Android Development] jgcaap:
here : https://basketbuild.com/filedl/devs?dev=jgcaap&dl=jgcaap/Kernel/newKernel-CM12-1.24.zip
[ONE Android Development] :
Hi,this kernel work with latest CM 12.1

Thanks for your work
[ONE Android Development] qwerty123321:
Will you be adding oxygen is support now that kernel source is out ??