[Q] porting Snort on Android - Android Software/Hacking General [Developers Only]

Hello all,
Is there a way to port Snort to Android OS? I have already ported
libpcap to Android and I have made some simple native sniffers which worked
perfectly.To do this, I used the NDK development kit that offers you some
tools for cross compiling C programs to ARM architecture.
Is this possible to do it for Snort. I know that Snort is a big project that
contains many source files and uses many modules such as Libpcap, PCRE,
Libdnet, Barnyard2, DAQ. I am wondering if is there a way to build
this code for Android.. E.g. by statically link all this modules.. Moreover an
other potential problem may be the fact that Android uses a subset of libc
(bionic), so maybe some basic functions are not available..
Have anyone done it before? Or, can some one give me some help on how
to start?
Thank you in advance,
Thanasis

Related

[Q] Android kernel programming

Hi All
I am a newbi to kernel programming , especially to android kernel.
Can you tell me some good places on the net , that can be great sources for getting in touch with that thing.
I want to become familiar with the android kernel , dalvic etc. ( I speak english and german )
thanks in advance.
Sz_gergo
I am too interested in this subject. I am learning slowly as and when I get time.
kernelnewbies.org
Generally good resource for starting out learning linux kernel
(Which is what the android is built off of)
android.git.kernel.org
Android Kernel Source
lwn.net/Kernel/LDD3/
Online guide to driver development among many other related topics.
pdk.android.com
This guide provides an under-the-hood introduction to the Android platform, and is designed for platform developers and manufacturers building Android-powered devices.
Sorry for not providing the links...xda won't allow me to post links since I have less posts.
Android kernel
Dear All
as i understand, the android kernel source, what you can download from Google , should be enough for building a new kernel to some phone.
If i am right, does that mean that the Linux kernel sources are already included?
Or am i totally wrong?
Thanks for your answers
I am also interested in learning the Kernel Development and ROM development. Can Any one Help.
sz_gergo;11673408 begin_of_the_skype_highlighting 11673408 end_of_the_skype_highlighting said:
Dear All
as i understand, the android kernel source, what you can download from Google , should be enough for building a new kernel to some phone.
If i am right, does that mean that the Linux kernel sources are already included?
Or am i totally wrong?
Thanks for your answers
Click to expand...
Click to collapse
I have the answere for the question above.
After i have inspected the Android kernel sources, it came out, that i have been right.The only source you need for creating a new kernel for a phone, is the complete android kernel.
The linux kernel is allready included.
I think if you want to build a kernel, specific for your phone. you have to overwrite the default dirs with the specific sources of your phone. If it is not allready done by others.
Android Kernel
Hi,
We need to distinguish between Linux and Android. Android was forked from Linux, and now those are managed as separate products. Android usually takes the updates from linux, but there are features in Android which Linux refused to get (such as wakelocks).
So the android kernel source includes all needed to build a working kernel.

Building Android source for Windows?

Hello,
How does one build Android source code for the Windows platform? I know building natively on Windows is out, and Cygwin seems to be a hassle, too. I was wondering if there was a toolchain I could install for Ubuntu that can build the code in Linux, but the output results would be for Windows. A pointer to a tutorial would be a big help.
Thanks in advance.
Specifically, I would like to make mods to and build the SDK from source. Is this an easy thing to accomplish?
Found a potential solution:
blog.codepainters.com/2010/10/27/compiling-android-sdk-on-ubuntu-10-10-maverick-meerkat/[/url]
anyone else care to weigh in?

[Q] Android NDK is sufficient to develope JNI???

I need to develop JNI native code for TV. I am using Android NDK and SDK both to do the same. So Is it possible to develop the JNI Native code without using Android SDK or both tools are mandatory to do the same ? If only Android NDK is needed then how to do that ? Any help would be appreciated.

Final career project

Hello everyone,
First of all I want to thanks community and congratulations for all this great information.
I'm working in my final career project, and I want to present a tool for helping in static and dynamic analysis of APKs ( if somebody want to take a look it is AndroidSwissKnife in github) .
The dynamic analysis I took the code from the project DroidBox (mentioned in my code), I updated it to Python 3 (fixing some problems). But now I have a problem, the system image that comes with DroidBox is an android 4.1.
As part of my project I want to update my tool to support Android 5.1, or even Android 6 and I need to modificate in any way the android image to hook some method calls, and I thought in Xposed framework.
I would like if anyone can give me information to start learning in the android's security world, custom ROMs and Xposed framework.
Thanks to every one. Kind regards.

Best tablet for custom android development?

Hi,
I‘m looking for a tablet as a development platform for gettting into custom android firmware development. What device (current or discontinued) is the most painless to compile a custom rom for with a current android regarding unlocking and driver support in 2021?
I‘m an electronics engineer and have worked on firmware for arm microcontrollers and did some kernel development for embedded linux (yocto) before.
I have the idea of creating an open source custom android for elderly people and small children that is pretty much locked down and has a simplified interface without cryptic messages. All settings, app installation and user support should be done from an app on another device. I think all the building blocks for this exists, I just want to put them together in one package. If you have suggestions for an existing base rom to build this on I‘d be happy to hear about it.
Cheers,
Rick

Categories

Resources