anyone interested in trying to compile a simple cpp script for android?
I tried
As seen on: http://forum.xda-developers.com/showthread.php?p=5694565#post5694565
Related
Hello.
I'm looking to compile iptables from the android git repo (with the LED trigger target patch). Hacking the source and patch was easy, but I'm not sure how to compile it. There's an Android.mk file in the source I pulled, but since it isn't structured like a JNI project, the NDK doesn't seem to help. Any suggestions on how I would go about compiling it?
I don't have much experience with the Android SDK and NDK (mostly do kernel hacking), and good ol' Google didn't help much either.
To run iptables you have to compile them in into the kernel or build as a kernel module. To do that you need to download the kernel for you specific device.
As for the actual iptables program, you can compile it using the agcc script. Since this site doesn't let new users to post the link just google for "vlad android-cruft" to find it.
PM me for details
Hey Everyone
Just looking for help to compile kernels for this phone. For my previous u8150 I followed Alan Orth's guide here:
http://mjanja.co.ke/2011/06/compiling-custom-kernels-on-the-huawei-u8150/
as well as using and modifying his kernel source mostly to tweak governers and schedulers.
I am getting compile errors which prevent the source from building. I have used the config.gz from DZO's oxygen and have tried to build both franco Kernel and 2.6.35 from huawei both with no joy.
Anyone want to post a step by step to help me and others get into kernel building more?
Thanks
'Paul
Hi,
Sorry for the basic question here. I just want to compile and build an apk from an android open source project; but i don't know how to !!
I'm on ubuntu 13.10. I have downloaded the Android ADT bundle from developer android com /sdk/ index.html
I've run eclipse (from ADT bundle) and have imported a downloaded version of the open source project.
The open source project is Prey github com / prey / prey-android-client
The project is setup in eclipse but i see red flags and doesn't run (because it doesn't know how to run).
Can you guys point me to a guide or tell me how to compile & build an apk out of this.
Unfortunately the README file in the repository is useless (i.e. blank!)
Thanks.
shanehelms said:
Hi,
Sorry for the basic question here. I just want to compile and build an apk from an android open source project; but i don't know how to !!
I'm on ubuntu 13.10. I have downloaded the Android ADT bundle from developer android com /sdk/ index.html
I've run eclipse (from ADT bundle) and have imported a downloaded version of the open source project.
The open source project is Prey github com / prey / prey-android-client
The project is setup in eclipse but i see red flags and doesn't run (because it doesn't know how to run).
Can you guys point me to a guide or tell me how to compile & build an apk out of this.
Unfortunately the README file in the repository is useless (i.e. blank!)
Thanks.
Click to expand...
Click to collapse
I would say you should go though the getting started guides on d.android.com and things will become a little more clear
Hi,
I want to learn more about Android kernel development so I'm trying to compile AOSP (Android 7) from source for my Nexus 7. I have prior experience doing Linux kernel development but the real hurdle for me is the Android build environment.
I have checked out android-7.1.2_r39 with the proprietary blobs for Nexus 7 and I've made it to the point where I need to choose a target.
However because I'm trying to compile Android 7, `full_grouper-userdebug` does not show up on the build target list when running `lunch`.
Is it enough to grab the /device/asus/grouper directory from a tree where it is included and add that to my AOSP tree or is there something else I need to do to compile Android 7 for this device?
I am new to android kernel build stuff. So please forgive me if this is not the right platform to raise this query.May i know the steps involved in building the kernel? I am trying to build the stock kernel updated by oneplus in github. Any help or supporting links about kernel compilation will be of utmost help to me. Thanks!
https://forum.xda-developers.com/an...erence-how-to-compile-android-kernel-t3627297
Kernel devs most likely uses scripts to compile their kernel which you can probably find in their github and adapt for yourself