Explain: CAF, Gproj, Mako kernel stuff. - AT&T LG Optimus G

Hi all,
Been a while since I really looked into some of the OG development. But I have noticed there are seemingly kernel differences (which affect the ROM's support for xxx-kernel) in the forms of CAF, Gproj, etc.
I have a basic understanding of CAF being Qualcomm's development branch. From what I understand, AOSP doesn't use CAF updates. But CM does (at least, some stuff is integrated). So CM based ROMs are automatically CAF? Or is that up to the devs?
I do not really know what Gproj is, I think it is something for the Optimus G (Gproj = G Project?) variant development, but I may be wrong here.
I know the Mako is the name for the N4, but what are mako based kernels? CAF, Gproj? Something different, either or?
Anybody mind sorting out this information for me? Or pointing out a place where it already is spelled out? I did search Google and XDA but can't seem to find helpful information.
Thanks.

@bleached45
As far as i know ;
Gproj=CAF = Official and E975 sources
mako= Nexus 4 sources
All official roms uses Gproj E975 sources so only gproj kernel will work here.
As for example = CM 11 , mokee etc
All roms which uses makoo sources for rom uses ported mako kernel
I hope you got all your answers

ShoaibAhmed said:
@bleached45
As far as i know ;
Gproj=CAF = Official and E975 sources
mako= Nexus 4 sources
All official roms uses Gproj E975 sources so only gproj kernel will work here.
As for example = CM 11 , mokee etc
All roms which uses makoo sources for rom uses ported mako kernel
I hope you got all your answers
Click to expand...
Click to collapse
Then why do we see so many GEEB instead of GPROJ? My phone is Mako (based on info in recovery) but doesn't work at all with GEEB (mako), only GPROJ.

Related

What's the difference between HTC's kernel source and CyanogenMod's kernel source?

I have a HTC One X, and I'd like to build a custom ROM for it.
But I'm not sure how different are the kernel source code from CyanogenMod and the kernel source code provided by HTC? For example, are there some CyanogenMod specific kernel modules?
I couldn't find much information on Google, and I think running a diff might be too much work to do.
Thanks!

[Q] Building Kernel for 4.2

Ok I have my 4.2 sources and jackpot 3.0 master kernel,
android1234567 stated, "
I don't think I made a 4.2 kernel with the radio driver included. The kernel on my GitHub (sultan-kernel-jackpot-3.0) can be used with Android 4.2.X as long as it is built with the Android 4.2 sources/ramdisk (I used CM10.1 sources to build it). The way the kernel is packaged for this device is that the kernel source is built and generates a kernel image, then the kernel image is packaged with the ramdisk and recovery to create a boot.img (which can be flashed to the device). The reason why the current kernel isn't compatible with Android 4.2 is because the ramdisk and other parts of the boot.img (besides the kernel image) are built for Android 4.3 and don't work with 4.2. That means that the kernel source on my GitHub is fully compatible with Android 4.2 but it just needs to be put together with the proper Android 4.2 sources."
I need to turn jackpots 3.0 master kernel into a bootable kernel for slimbean 4.2 to get the FM radio driver working.
https://github.com/sultanxda/sultan-kernel-jackpot-3.0
If someone could point me in the right direction on what to do Id be very happy. I'm using Sultan Kernel r5 now but it doesnt have the FM driver. I want to add this into slimbean 4.2, Any advice would be most welcome.
mrshane88 said:
Ok I have my 4.2 sources and jackpot 3.0 master kernel,
android1234567 stated, "
I don't think I made a 4.2 kernel with the radio driver included. The kernel on my GitHub (sultan-kernel-jackpot-3.0) can be used with Android 4.2.X as long as it is built with the Android 4.2 sources/ramdisk (I used CM10.1 sources to build it). The way the kernel is packaged for this device is that the kernel source is built and generates a kernel image, then the kernel image is packaged with the ramdisk and recovery to create a boot.img (which can be flashed to the device). The reason why the current kernel isn't compatible with Android 4.2 is because the ramdisk and other parts of the boot.img (besides the kernel image) are built for Android 4.3 and don't work with 4.2. That means that the kernel source on my GitHub is fully compatible with Android 4.2 but it just needs to be put together with the proper Android 4.2 sources."
I need to turn jackpots 3.0 master kernel into a bootable kernel for slimbean 4.2 to get the FM radio driver working.
https://github.com/sultanxda/sultan-kernel-jackpot-3.0
If someone could point me in the right direction on what to do Id be very happy. I'm using Sultan Kernel r5 now but it doesnt have the FM driver. I want to add this into slimbean 4.2, Any advice would be most welcome.
Click to expand...
Click to collapse
Read here: http://wiki.cyanogenmod.org/w/Development?setlang=en
Meticulus said:
Read here: http://wiki.cyanogenmod.org/w/Development?setlang=en
Click to expand...
Click to collapse
Thank you, this is a viable source that will help me learn coding and development. I will study and work on building using this guide. :good:
mrshane88 said:
Thank you, this is a viable source that will help me learn coding and development. I will study and work on building using this guide. :good:
Click to expand...
Click to collapse
If you have any more specific questions. Let me know, I'll do my best...

Franken-kernel (aosp + lg) for better camera

Hi guys
Just wanted to get some thought out here - how difficult is it to port the lollipop aosp kernel to hook into LG media drivers : it is really heartbreaking to see the camera quality difference between stock and aosp.
Rather than ask xcam developers to port their framework ... I'm thinking if it is possible to port the kernel to use lg drivers. We will write a set of patches that will modify aosp kernel to use LG's framework.
More importantly, has this been attempted by any one else on xda...on other phones?
interestingly, there is a similar project on the LG Optimus L7 - http://forum.xda-developers.com/showpost.php?p=56231080&postcount=146
they have a stock driver github also being maintained at https://github.com/weritos666/proprietary_vendor_LG by @weritos. I wonder if a similar effort will work for Lg G2.
And some initial source code released by LG
I want to say the HTC Sensation has something like this. I know they had AOSP kernels that were based off official HTC Sense code and AOSP like ROM's based off Sense ROM's, but I'm not 100% on the inner working of them.
here's an effort by @manups4e in the G2 forum for porting the Camera2 HAL to AOSP http://forum.xda-developers.com/lg-g3/devs-only/camera-hal-caf-t2981136
sandys1 said:
here's an effort by @manups4e in the G2 forum for porting the Camera2 HAL to AOSP http://forum.xda-developers.com/lg-g3/devs-only/camera-hal-caf-t2981136
Click to expand...
Click to collapse
^^ it's for G3, not yet working and highly experimental
manups4e said:
^^ it's for G3, not yet working and highly experimental
Click to expand...
Click to collapse
oh yeah - very sorry. I was actually hoping someone from the G2 kernel developers (like the Render kernel) can collaborate with you on some of this work. I think the G2 and G3 driver frameworks are very similar and any progress on G3 can be ported to the G2 (or vice versa)
this is not only a kernel thing but driver too that's more complicated than you (and I) thought
manups4e said:
this is not only a kernel thing but driver too that's more complicated than you (and I) thought
Click to expand...
Click to collapse
correct - but this will happen after the release of stock lollipop which should have the Camera2 API. So I still have hope that your work will be useful to get a fully functional camera on AOSP camera (both in G2 and G3)
G3 doesn't use camera2 api neither camera 3 hal in its drivers i don't think g2 will be different and even knowing if it will.. we will never have LG source codes... only kernel sources

[Q] AOSP ROMs - sources?

Is it right that the kernel sources were leaked recently by someone? they seemed to have disappered, did Mediatek/Xiaomi send a DMCA request? is anyone working with these sources?
Does anyone have any links to source code of people working on AOSP ROMs for the Redmi note 2?
The only sources I know of are on Github. Just search for mt6795 and look for BalcanGSM.
I read a news article from an Italian site. It said an incomplete kernel and baseband were leaked. They said " It's completely useless for ROM developers as it's utterly missing any userspace components. The kernel sources also look very incomplete Compared to normal MediaTek source releases."
So not much use I'm afraid.
Hope that of some use

ROMs based on non-prebuilt kernel

Are there any ROMs, based on the leaked kernel sources below?
https://github.com/rmtew/MediaTek-HelioX10-Kernel
All the ROMs, I've seen are based on prebuilt kernel.
Until we havent full kernel source we had to use prebuilt kernel. Nofearnohappy is trying to complete the source. Now its booting but still some things is broken
I would like to port SailfishOS, but for that I need the build the kernel from source.
On Nofearnohappy's github you can find source but i think it's not worth to spend so much time on building not fully functional rom

Categories

Resources