HTC M9 S-OFF In Less Than 24 Hours – No ETA On Release

HTC devices are no stranger to XDA’s Senior Recognized Developers … more

April Fools Round Up: The Year of Nostalgia

April Fools Day is once again upon us and as usual, tech companies everywhere have not … more

Android 5.1 OTA for Nexus Round-Up

The beginning of April is dominated by April Fools. There are jokes and pranks everywhere, which are … more

Official Lollipop for LG G2 Captured

LG is rolling out the Lollipop update for the LG G2. KDZ images for both 16 GB and 32 GB variants … more
Thread Deleted Subscribe to Thread Email Thread

What .ko's from kernel build?

Prev Previous Post   Next Post Next
8th January 2014, 09:13 AM |#1  
Edge-Case's Avatar
OP Member
Thanks Meter: 26
97 posts
Join Date:Joined: Jul 2013
I just successfully built a kernel with my phone over nfs (wifi). I used gcc-armhf or rather to be specific, when it complained I set 'CROSS_COMPILER=/usr/bin/', cleaned, and retried. Everything seems to have went fine, and as expected I have the zImage in arch/arm/boot and the modules are scattered around, but theres a list on stdout I can use to copy them somewhere.

1.) Which kernel object files do I need?

2.) I will look at the device/samsung/d2spr/ file to see where I should put them, but where should I put the ones that may have been created from the config changes and are not listed?

My first couple of trys failed due to the kernel being too large, so I changed some things to modules that I think can wait to load or set up an init script. I also didn't use mkbootimg, I used abootimg, that may have been why, not too sure. I used unmkbootimg and saved the stdout to a file this time and built the kernel on my phone, still, those are some questions I still have.

Edit: Another way to ask this question...

3.) Do I need to replace the 'blobs' that I got from the official CM ROM with the ones I just built?
4.) Do the modules I built contain the proprietary code to run the hardware, or where some (wifi driver for instance) 'filled' in with 'dummy code'?

Note: The zImage built was 3699216 bytes or about 3.6 MB. The zImage I need to replace is "Kernel size 3907440" or roughly 3.9MB, things are looking good, for once!
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2014-01-08 02:39:59.png
Views:	7725
Size:	83.4 KB
ID:	2501882  
Last edited by Edge-Case; 8th January 2014 at 07:11 PM.
Subscribe to Thread

arm, d2spr, gcc, kernel, modules
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes