I'm trying to compile the source (from the Sapphire link), but am running into compile errors in the iptables/netfilter subsystem
Seems there are filename case issues.. Which I resolved, but now getting an undefined symbol IPT_DSCP_MASK
It's not defined anywhere in the kernel source.
----
Subsequently tried the hero source and get
http://member.america.htc.com/download/RomCode/Source_and_Binaries/kernel_hero_0078c992.tar.bz2
This fails on undefd:
CC arch/arm/mach-msm/htc_battery.o
arch/arm/mach-msm/htc_battery.c: In function 'htc_set_smem_cable_type':
arch/arm/mach-msm/htc_battery.c:405: error: 'ENOTSUP' undeclared (first use in this function)
----
Can HTC really say that they released the source when it won't compile out of the box?
Anyone else have these issues?
Apparently, no one ever compiled the 2.6.27 kernel... simply amazing! (well, also, everybody is doing their stuff for their specific device, so you'll have to ask around in multiple forums like Dream, Hero, Nexus, etc.)
I didn't either.. but here is a nice starter guide.
The errors you get are probably due to missing files (they are available from your device).
In that starter guide he is building android itself, not the kernel...
I've been through every kernel build doc that google can reference...
The errors could be due to missing files... Why they are a missing is a mystery; as the kernel sources were those officially released by HTC for the device...
I even replaced the .config with that from my device.
Will try to pull a 2.6.27 kernel from the git this weekend and go at it again...
magicdroid said:
Apparently, no one ever compiled the 2.6.27 kernel... simply amazing! (well, also, everybody is doing their stuff for their specific device, so you'll have to ask around in multiple forums like Dream, Hero, Nexus, etc.)
I didn't either.. but here is a nice starter guide.
The errors you get are probably due to missing files (they are available from your device).
Click to expand...
Click to collapse
Stupid HTC kernel source...
I tried dozens of times to get it to compile and it never wanted to work.
Try this kernel source. Works for HTC Magic 6.35 radio and the HTC Hero (different .config)
http://github.com/cursordroid/HTC-CCR-Kernel
Thanks CD,
I was trying to compile for the old radio/SPL... There is an interlacing issue we are running into with this 32A on 2.6.29 so I want to build s 2.6.27 as it is supposed to be ok there, then figure out what has changed; or what is the difference with the board/chip variant in this version of the Rogers 32A...
Thx!
Kernels 32A
Questions for the enlightened:
1) If I want to build a Donut rom for the 32A, I need to compile a 2.6.29 kernel?
2) And if I want to build an Eclair rom for the 32A, I need to compile a 2.6.30+ kernel?
3) And these specific kernels need to be configured (forward-ported) for the 32A?
I think I'm getting there.. or not?
magicdroid said:
Questions for the enlightened:
1) If I want to build a Donut rom for the 32A, I need to compile a 2.6.29 kernel?
2) And if I want to build an Eclair rom for the 32A, I need to compile a 2.6.30+ kernel?
3) And these specific kernels need to be configured (forward-ported) for the 32A?
I think I'm getting there.. or not?
Click to expand...
Click to collapse
Donut and Eclair both require 2.6.29 kernels.
Eclair can run on a 2.6.30+ kernel
And you're right, we need specific kernel source for the 32A to get 2.6.29 or higher kernels.
Thanks for the input Cursor!
Maybe I'm wrong, but it seems to me that Magic kernel development is something that is mostly done solo. I know there are custom kernel sources available, but you have like a dozen to choose from, there doesn't seem to be any (community) effort to build one single kernel that could be used for all roms.
Wouldn't it help getting more result if people just would share their precious little spare-time and work together?
I'm thinking of starting an xda-msm-2.6.29 branch based on android-msm-2.6.29-donut..
Wait.. that would be yet another branch
Has anyone built the cifs.ko module for the 2.6.32.15-g59b9e50 kernel? I did some digging around here, found some copies, but they seem to be different versions and aren't loading.
If I should be using a different kernel, please recommend one... I am using OMJ's ROM.
I found instructions for building a kernel, but the kernel source code on HTC's Developer site is for 2.6.32.15-g746f4f0. Is this newer than g59b9e50?
Long story short, I'm trying to get CIFS working...
Thanks!
Now when we got the new GB leak finally on our devices, I wonder if anyone was able to find compatible tun.ko module for the new kernel so we can use programs like OpenVPN/VPNC
I tried the old tun.ko module and one compiled for Moto Atrix (but I am not sure 2.2 or 2.3 Atrix) and they did not work (module fails to load).
I know we don't have the kernel source yet (as it is not even official), but I wonder if we can use similar device sources which were released (D3?) to compile a working module.
Hi Lads,
Past few days im trying to add the ath9k module to a kernel.
I took the emotion kernel but when i started to make the kernel i constantly receiving errors.
I googled till my eyes burned out of my skull but got no solution. Probably im doing something wrong
Im looking for someone who can build the kernel easily including the ath9k driver.
My purpose is to use Kali Nethunter with the TP-Link WL722N adapter on the Note Edge N915F.
Im so desperate that i want to pay for it. Or maybe a game on steam :highfive:
Please help me out!
Greetings.
Stefjoe
Stefjoe,
I also saw your pm. I know now that you would like that module added to the tblte kernel. Kali Nethunter is not a rom, it is an overlay of sorts. Essentially a chrooted Linux distribution running over the top of your Android phone.
Kali only supports stock roms, or some "CyanogenMod variants", so I could add this to the AOKP kernel for you, but I cannot guarantee that you will have everything you need for this to work. For instance, you are going to need packet injection, module loading and unloading, force modules, etc., etc., much more than just the one item you requested. The note edge is not on the list of supported devices for a reason, it takes much dedication and effort to set it up properly. You would also need to build your custom port of Kali to go on your system. (Unless I am mistaken, no one has made one for the Note Edge yet.)
So, have you already built a working port of kali for your phone?
I say this in the kindest of regards, but if you cannot build the kernel, can you build the kali image?
As a side note, all the tools in Kali Linux are freely available, and you can download them to your phone right now, just not in the glorified package. Having Kali is like having a toolbox. Having a tool box does not make one a mechanic. Having Kali does not make one a pentester, or cacker (unethical hacker) if you are aiming for that.
I am not opposed to you having Kali, I've used it before myself (not on a phone), but in the end, I found Debian to be just as useful, downloading the tools that actually helped me in my job/tasks.
I am just curious if you have already created the kali image you need for the Note Edge phone. In theory, if the only thing you need is a kernel with the above, then it should work with your current kernel, just without that feature. If you have not even made the image yet, then I suspect that you are going to need a lot more than what you asked for.
I hope that makes sense.
AlaskaLinuxUser said:
Stefjoe,
I also saw your pm. I know now that you would like that module added to the tblte kernel. Kali Nethunter is not a rom, it is an overlay of sorts. Essentially a chrooted Linux distribution running over the top of your Android phone.
Kali only supports stock roms, or some "CyanogenMod variants", so I could add this to the AOKP kernel for you, but I cannot guarantee that you will have everything you need for this to work. For instance, you are going to need packet injection, module loading and unloading, force modules, etc., etc., much more than just the one item you requested. The note edge is not on the list of supported devices for a reason, it takes much dedication and effort to set it up properly. You would also need to build your custom port of Kali to go on your system. (Unless I am mistaken, no one has made one for the Note Edge yet.)
So, have you already built a working port of kali for your phone?
I say this in the kindest of regards, but if you cannot build the kernel, can you build the kali image?
As a side note, all the tools in Kali Linux are freely available, and you can download them to your phone right now, just not in the glorified package. Having Kali is like having a toolbox. Having a tool box does not make one a mechanic. Having Kali does not make one a pentester, or cacker (unethical hacker) if you are aiming for that.
I am not opposed to you having Kali, I've used it before myself (not on a phone), but in the end, I found Debian to be just as useful, downloading the tools that actually helped me in my job/tasks.
I am just curious if you have already created the kali image you need for the Note Edge phone. In theory, if the only thing you need is a kernel with the above, then it should work with your current kernel, just without that feature. If you have not even made the image yet, then I suspect that you are going to need a lot more than what you asked for.
I hope that makes sense.
Click to expand...
Click to collapse
Thanks for your reply again! I kinda ported the Nethunter to Note Edge with help from this video on YT ; /watch?v=jhLBJJwB88k
Everything works fine but only the TP-Link WL722N is not working because the kernel does not have this module installed. The adapter takes care of the injection so no worries i guess. I sended u a PM.
I am a certified hacker and i know what Kali Linux is but only missing this tool and it could make my work a lot easier. So i really appreciate if u can do this for me man. Endless thanking
Greetings
stefjoe said:
Thanks for your reply again! I kinda ported the Nethunter to Note Edge with help from this video on YT ; /watch?v=jhLBJJwB88k
Everything works fine but only the TP-Link WL722N is not working because the kernel does not have this module installed. The adapter takes care of the injection so no worries i guess. I sended u a PM.
I am a certified hacker and i know what Kali Linux is but only missing this tool and it could make my work a lot easier. So i really appreciate if u can do this for me man. Endless thanking
Greetings
Click to expand...
Click to collapse
Stefjoe,
I see from your PM that you are not requesting my AKLU kernel, but the TW Emotion Kernel. I can't do that for you.
To build the kernel you need the right source, the source code for the kernel has been updated since r17 ( I think it is r2X? now). That means rolling back through the commits to find the time it was built and working properly and getting that source. It is not as simple as just going straight back to r17, the r17 version you may be using may be anywhere in the commits between r17 and r18.
Then we would need the exact toolchain he/she was building with. He says Linaro 5.1, but which one, 5.1, 5.1.1, 5.1.8? There are several.
Also, I do not build TW kernels. I only build AOSP kernels. I also don't usually build off of someone else's work. I was under the impression you wanted me to add that module to my AKLU kernel instead.
To get that specific kernel built the way you want, I recommend that you ask @Pafcholini to do that for you, since he made it originally.
If you want, I can add that module to my AKLU kernel for you, but I know the rest of the needed kernel items are in there that you need (packet injecting, force module loading, etc.) so I doubt it will work for you. You would also have to switch to AOKP, which may or may not work with your porting guide.
Sorry, but after looking at your full request, I don't think I can help you with what you need.
Hello All,
I am new in the android world, but am fairly experienced on the Linux side of things. I would like to build a loadable kernel module for a specific version of JB (4.2.2_r1) and have some general questions.
As I understand it, the process should be as follows:
Get kernel source for JB, compile kernel, then compile kernel module. Please correct me if I am wrong
I can't seem to find the kernel source for this, can anyone point me to exactly where it is?
Thanks