2
votes
1answer
753 views

Running make with vermagic kernel string with parentheses causes /bin/sh syntax error

I am on Ubuntu Server 12.04 x86_64 and I need to build Android CyanogenMod 7.2 kernel module. My phone has custom ROM and a patched kernel: adb shell cat /proc/version yields Linux version ...
1
vote
1answer
551 views

Why does building an Android kernel need a toolchain, but compiling the entire source does not?

As seen here, compiling the Android kernel requires a prebuilt GCC toolchain (or the equivalent from the Android NDK). Cross-compilation makes sense; we are compiling code for a device with a ...
1
vote
1answer
342 views

Why system call hooking produces different result everytime in Linux/Android 2.6.29?

I have implemented system call hooking for Android 2.6.29 kernel through a LKM module. I am tracing down one Android app for system calls. But interestingly, it returns different results every time I ...
1
vote
0answers
48 views

How to find system call implementations in Linux/Android 2.6.29? [duplicate]

Possible Duplicate: Understanding the Linux kernel source I want to modify some system calls for tracing purposes. To be specific, whenever a system call open is made, I want to print some ...
2
votes
0answers
392 views

Can I apply real time Linux kernel patch on Android kernel?

I would like to apply real time patch on the Android kernel (given I've found Kernel patch for corresponding Kernel version). Is it possible or should I create a patch specifically for the purpose of ...
2
votes
0answers
605 views

Qemu doesn't boot kernel after “Uncompressing Linux… done, booting the kernel. ”

I've compiled qemu for s5pc110 (it's from http://gitorious.org/samsung-linux-platform/qemu, somebody had added support for s5pc110), version 0.12. But when I load the kernel: qemu-system-arm -M ...
-2
votes
1answer
558 views

Best method for testing android kernel

I would like to test some of the features of android kernel like inserting a module and collecting certain parameters for research purpose. What would you think the best method for that?
2
votes
2answers
594 views

How can I test a kernel module in a mobile device?

I'm writing a module for the Linux kernel. When this module is ready, I'd like it to run in any device running the kernel. How can I test it in an Android phone? Do I need to recompile the whole tree ...