[Q] Building the Samsung GT-N7000 Kernel Sources - Config? - Galaxy Note GT-N7000 Q&A, Help & Troubleshooting

Hi,
I've downloaded the 'official' Samsung Opensource Kernel files (GT-N7000_Kernel.tar.gz) - in an attempt to rebuild the kernel for my Galaxy Note (which has no tun.ko support).
However - there's no kernel config file on the device (e.g. under /proc/config.gz etc.) - and there's a bewildering number of defconfig's for the arch/arm architecture (over 200).
Does anyone know either where I can get the Galaxy Note's actual config (if it's not available under /proc) - or, which defconfig to use for the Note?
Cheers,
-Tacks

Hi !
I have another question, but let's first try to answer the original one. As far as I've understood, you can use the config file arch/arm/configs/c1_rev02_defconfig. Before launching "make", do
Code:
make c1_rev02_defconfig
According to this thread, you have to patch the generated .config file it before using "make" to build everything. However, this was about the SII, anyone knows if this still holds for the GNote ?
So, my other question is : how do you specify the stock kernel version you want. On the Samsung's Open Source Community website, they only offer one kernel source. How can I choose if I want to build the KK9 kernel, or the LB1 version ?
Thank you !

Bump.
How does one build a specific kernel version from the Samsung's sources (e.g. KK9 vs LB1) ?
Thanks !

Related

[Q] I9000 Eclair source code

For school project, I need to build from source on eclair (NOT Froyo) and run on I9000.
Does anyone had repo that builds eclair for Galaxy S? I already had eclair source from android.com and got all environment setup. This version lack of hw drivers, so ng for any demo.
Thanks in advance for any help.
http://opensource.samsung.com/
Kernel sources there and its only 'open source' package available for i9000.
I think you should grab this:
GT-I9000_eclair_update.tar.gz
and this:
GT-I9000_eclair_update.tar.gz, since this is a patch for latest Eclair firmwares.
Those sources are also mirrored on voodoo github:
https://github.com/project-voodoo
If you want to build 'all' from scratch -> like Android for i9000, its probably bad news for ya: its not easy and some people are trying to do it for 2 months+ (Cyanogenmod)

[Q] Gingerbread kernel compile

I'm working on compiling a kernel for the Sprint Samsung Galaxy Tab 7. I've got source and the proper toolchain installed, but I need a rootfs. I did this for the Epic, but it's been quite a while. In the kernel config file CONFIG_INITRAMFS_SOURCE needs to be pointed to the source rootfs, if I remember correctly. Can someone lend a hand? Is there a FAQ or HOWTO?
not sure how familiar you are with irc, but if you get on fossnet and join the #gtab channel you will get some help there im sure.
Thanks for the tip!
Sorry to resurrect this thread, but I'm having issues too (having only just had time to actually compile something from the Gingerbread source).
So, I've got the gingerbread update 2 kernel source, have extracted the initramfs.cpio from the existing gb kernel and pointed the appropriate CONFIG setting of the kernel p1_defconfig at that file and then performed a build. My assumption was that this would build a kernel that would boot and be nearly identical to the vanilla kernel. But apparently not as it just hangs.
Anyone know off-hand what I'm missing?
My issue was that the script I was using to extract the initramfs from the zImage wasn't working properly and was apparently truncating the cpio file. This was causing hangs when I rebuilt the kernel using this initramfs.
Using this script all works fine: https://github.com/mistadman/Extract-Kernel-Initramfs

[Q] CIFS module for Galaxy Note with ICS ROM

Hi,
I need cifs module to reach windows shared folders from the Galaxy Note.
Prior to using ICS ROM on Note, I was able to do that. Now with ICS rom I can't find any suitable module.
What can I do ? I even tried to compile from sources. I have the source from Samsung site and I have the cross platform arm compiler. But when I try to compile kernel /modules from Samsung sources, I get smc.h file not found error. Please advise...

Loading tun.ko (for SpeedMod kernel 3-7)

Hi, I have been searching - to no avail - some existing answers that seemed relevant.
My question is simple: my Galaxy Note N7000 is running the recently rolled out stock ROM ICS 4.0.4 (LRG), to which I flashed the K3-7 SpeedMod kernel (which works fine - including NTFS support - apart from the bluetooth problem etc).
However, it seems that it is missing tun.ko and I cannot run OpenVPN (which is a must for me).
I have tried using the tun.ko loader app from the market but it tells me that there is no available module for my combination (ROM, kernel, model).
Can someone please help? Thanks very much!
PS. I am a new member and cannot post to dev forums (ie directly to the kernel discussion)
tasism said:
Hi, I have been searching - to no avail - some existing answers that seemed relevant.
My question is simple: my Galaxy Note N7000 is running the recently rolled out stock ROM ICS 4.0.4 (LRG), to which I flashed the K3-7 SpeedMod kernel (which works fine - including NTFS support - apart from the bluetooth problem etc).
However, it seems that it is missing tun.ko and I cannot run OpenVPN (which is a must for me).
I have tried using the tun.ko loader app from the market but it tells me that there is no available module for my combination (ROM, kernel, model).
Can someone please help? Thanks very much!
PS. I am a new member and cannot post to dev forums (ie directly to the kernel discussion)
Click to expand...
Click to collapse
It may be silly to reply to one's own post, but I found the problem and would like to share it just in case someone else encounters it.
It was not at all a kernel problem, in fact SpeedMod indeed includes the tun.ko module (if you run the tun.ko finder app it will tell you that it is already loaded). My problem was ifconfig, in the OpenVPN installer configuration I had to set the ifconfig path to: /system/bin/ifconfig (and not /system/xbin/...). It all became apparent after looking at the openvpn log files and understanding where it was failing.
Thumbs up for the SpeedMod kernel! :good:

[Q] custom kernel on stock rom

Hey,
to make it short:
Is it possible to replace the kernel in the original samsung rom with a custom build one (the kernel build by rafael baugis [2])? And if yes how? I've searched through the forum, but was not able ot find a real advice how to do so. According to the kernel thread [1] this must be possible (can be used on any rom), however it was not clear to me how to do so using the original rom. could someone give me some advices how to do so?
the long story:
I've got a new device, and with my old device I was a happy user of CM7, however I noticed that switching the firmware doesn't extend the battery lifetime, so this time I would like to stick to the original firmware (which is of course rooted). However the original kernel doesn't support different states, thus I really would like to see it replaced to get a better battery lifetime. According to the thread about rafael baugis kernel [1] the kernel could be used on my rom, however the documentation was primary for people, who also want's to flash a custom rom, thus my question.
Thanks in advance for your help!
Edit:
[1]: http://forum.xda-developers.com/showthread.php?t=1818830
[2]: already build the .zip files using rafael baugis sources

Categories

Resources