Huawei To Sell Honor Smartphones Via Indian Retail Outlets

World’s fourth largest smartphone maker Huawei plans to now sell its … more

Sunday Debate: Are Smaller Bezels Better or Worth It?

Bezels have been getting smaller and smaller as the years go by, and while devices … more

LG G4 First Impressions and Unboxing – XDA TV

The latest in LG’s signature line of “G phones” has been released. … more

Galaxy S6 Weekly Shooting Challenge

Over in our forums this weekend, XDA Forum member DevonSloan has started a thread for talented … 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
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:	7727
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