ROMs based on non-prebuilt kernel - Redmi Note 2 Q&A, Help & Troubleshooting

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

Related

[Q]Difference AOSP and Sense Kernel?

Hello all,
I am just trying a bit around with kernels, I downloaded the kernel source code for HTC Desire HD and I wondered if you just compile the kernel source code if it works under a AOSP ROM.
So actually the question is, what is the difference between a AOSP and Sense kernel from a dev point of view?
Thanks in advance.
You cannot use a sense kernel on an AOSP Rom, but I am sure they have to use some drivers from the published sense kernel source in AOSP builds.
Tubes6al4v said:
You cannot use a sense kernel on an AOSP Rom, but I am sure they have to use some drivers from the published sense kernel source in AOSP builds.
Click to expand...
Click to collapse
Yes, I know I can't use a Sense Kernel on a AOSP and vice versa, but what I want to now what the actual difference is in the kernel itself (which files are different, which kernelsettings etc.)
you can compare them together

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...

[Q] Porting kernel?

Hi guys, I'm doing a Cyanogenmod 12.1 porting for my device that is unsupported. I can build everything and I get a flashable zip but I'm using a prebuilt stock kernel image extracted from the stock lollipop rom. After flashing, the phone does not boot and It's impossible even to access to logcat, so I think it's a kernel related issue. My question is:
- I have the stock kernel source (v.3.10) given by the vendor
- I have the cyanogenmod kernel source (v.2.69)
Do I have to build the stock kernel or I can build the cyanogenmod one by merging the drivers modules and others stuff?
And if I flash a wrong kernel image can my device become unusable?
I read that is not fair importing built kernel modules from other kernel version, but if I merge the kernel trees, is it the same?
Sorry in advance if my question is a noob question
Well I don't know much about porting roms or kernels though. But with what I've heard flashing the wrong kernels can permanently render your phone useless..
Sent from my Tecno F7 a ...?

Porting AOSP issues

Hello,
I'm a beginner with building ROMs, yet I found an interest in build an AOSP for a phone(mi4c). I found the kernel sources released by the vendor, but I am trying to figure out the next steps: creating a device tree and getting the vendor blobs.
As I could check the kernel if for 5.1(managed to build it), and I would like to try to make that - AOSP 5.1.
Is there any way to extract the device tree from kernel(I found some device tree on git, yet I would like to know if there is another way to create it)?
for vendor blobs and which are required I found some information here on xda, but haven't tested so far.
Thanks!

Categories

Resources