What's the difference between HTC's kernel source and CyanogenMod's kernel source? - Android Q&A, Help & Troubleshooting

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!

Related

hero 2.1 source code

hi guys, did HTC ever release the source code for the 2.1 update?
No. htc are bell-ends and don't even release driver source code, let alone code for their "superior" gui. Hence why it takes a while to port newer versions of android to the hero. Developers have to implement loads of dirty hacks and backports using kernel binary blobs they manage to extract from the 2.1 upgrade.
TheReverend210 said:
No. htc are bell-ends and don't even release driver source code, let alone code for their "superior" gui. Hence why it takes a while to port newer versions of android to the hero. Developers have to implement loads of dirty hacks and backports using kernel binary blobs they manage to extract from the 2.1 upgrade.
Click to expand...
Click to collapse
well thats just bad news!!
but they did afaik release source code for the kernel for many of their phones didn't they, what i would like to know is what does this mean to developers, what can they do with the kernel source?
The kernel is just a modified linux kernel, which has been open source since the early 90's.
Developers can do quite a bit with the kernel, is is basically the bridge between hardware and software.
However, despite running Debian since Etch was the latest stable release, my knowledge of the linux kernel is limited, so you would have to ask a developer for specifics.
TheReverend210 said:
The kernel is just a modified linux kernel, which has been open source since the early 90's.
Developers can do quite a bit with the kernel, is is basically the bridge between hardware and software.
However, despite running Debian since Etch was the latest stable release, my knowledge of the linux kernel is limited, so you would have to ask a developer for specifics.
Click to expand...
Click to collapse
thanks for your help
info on webkit source please..
i was at HTC's Developer Center and i noticed that HTC released the "webkit source code" for several "Sense UI" models, including the HTC Droid Eris, which very much shares our beloved Hero's specs...
i was wondering is this webkit compatible with our GSM Hero, and why didn't HTC release the webkit source for the GSM version?
the reason i'm asking is because i want to take out libwebcore.so alone and patch it, and replace the one in Hero...

[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

Q on building the "latest" Android Kernel

I have a general question about building the Android kernel. For understanding purposes, I'm a C/C++/C# developer (and Android application developer), but have little functional knowledge of the Linux kernel.
With regard to porting Android, I'm curious how one builds the latest Kernel. The Android Kernel is not simply the standard Linux Kernel branch, correct? Where does one get the latest "Android" Kernel from? Does Google host a Kernel site as part of AOSP that we can sync with?
Once you have the latest Kernel, is it simply a matter of ensuring the Make file is accurate, adding the appropriate device drivers (as .so files?) for your particular hardware, and performing a Make? Then I assume you can update your device's Kernel with the one you've buildt?
In closing, for example, I'd like to sync the Android 3.0 Kernel, update the drivers necessary for my EVO 4G, build the latest Kernel, and then flash it to my phone. Just looking for some insight as I start getting educated on the topic.
Thanks for any advice you can offer!
Actually, the android kernel is very similar to the linux kernel (well it is based on the linux kernel). You can get the kernel from here: http://source.android.com/source/downloading.html. You can also take a look here: http://elinux.org/Android_Kernel_Download and here: http://elinux.org/Android_Kernel_Features. It will be quite difficult to build a kernel for your device without the source (there's none for 3.0.1 for your device), but you could still build it from a lower kernel version: http://linux.softpedia.com/progDownload/HTC-EVO-4G-Sprint-Kernel-Source-Code-Download-58254.html.
Thanks for the info, Theonew. When you say that it will be difficult for me to build the kernel for an EVO without the source, is that because the vendors (Qualcomm, for example) haven't made source for their devices available, so it's hard to build the drivers (.so files?) that are compatible with the latest kernel?
Shidell said:
Thanks for the info, Theonew. When you say that it will be difficult for me to build the kernel for an EVO without the source, is that because the vendors (Qualcomm, for example) haven't made source for their devices available, so it's hard to build the drivers (.so files?) that are compatible with the latest kernel?
Click to expand...
Click to collapse
HTC hasn't released the source of the kernel v3.0.1 (which comes in Ice Cream Sandwich) for your device (since it's not available for your device...yet at least).

HTC's kernel source evitaraul-3.1.10-gf4d5f91.zip

Is this the kernel source code needed for an AOSP rom for the USA version? It includes drivers and everything. I had never seen this file for the At&t one x+ before and not sure what it is for. It is on the HTCdev.com site.

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