After searching around , it seems there are several ways to compile Busybox.
Codesourcery toolchain direct compile method
http://mobisocial.stanford.edu/news/2011/02/compile-busybox-on-android-os/
http://omappedia.org/wiki/Android_Installing_Busybox_Command_Line_Tools
Running make gives:
gcc: error trying to exec 'cc1': execvp: No such file or directory
What exact folder belongs in the path?
What exact statement belongs for the cross compiler prefix in make menuconfig?
Source integration method
https://github.com/Gnurou/busybox-android
This method wants you to include the files with the android source and rebuild.
Is there a way to instead compile this directly?
Scripted NDK compile method
http://matrixrewriter.com/wiki/tiki-index.php?page=Building+BusyBox+binaries+for+Android
This method goes well until near the end of the script when the script returns:
/usr/include/string.h.274: error: expected ')' before '!=' token
I am completely lost after searching for this error.
Which of these three methods, if any, is best? Is there another easier way?
Open Source Tripwire is a free software security and data integrity tool useful for monitoring and alerting on specific file change(s) on a range of systems. The project is based on code originally contributed by Tripwire, Inc. in 2000.
Open Source Tripwire functions as a host-based intrusion detection system. Rather than attempting to detect intrusions at the network interface level (as in network intrusion detection systems), Open Source Tripwire detects changes to file system objects.
While useful for detecting intrusions after the event, it can also serve many other purposes, such as integrity assurance, change management, and policy compliance...[Source: en.wikipedia.org/wiki/Open_Source_Tripwire]
What it basically does is it generates and stores hashes of critical system files and compares these hashes to newly generated hashes of the same files to detect any changes.
Is there something similar for Android?
vk99 said:
Open Source Tripwire is a free software security and data integrity tool useful for monitoring and alerting on specific file change(s) on a range of systems. The project is based on code originally contributed by Tripwire, Inc. in 2000.
Open Source Tripwire functions as a host-based intrusion detection system. Rather than attempting to detect intrusions at the network interface level (as in network intrusion detection systems), Open Source Tripwire detects changes to file system objects.
While useful for detecting intrusions after the event, it can also serve many other purposes, such as integrity assurance, change management, and policy compliance...[Source: en.wikipedia.org/wiki/Open_Source_Tripwire]
What it basically does is it generates and stores hashes of critical system files and compares these hashes to newly generated hashes of the same files to detect any changes.
Is there something similar for Android?
Click to expand...
Click to collapse
I've tried cross compiling open source tripwire 2.4.2.2 using the stand-alone ARM EABI included in the Android NDK. Here is the configuration I'm using:
Code:
export PATH=~/Android/arm-toolchain/bin/:$PATH
export CC=arm-linux-androideabi-gcc
export CXX=arm-linux-androideabi-g++
./configure --target=armv5 --host=x86_64-pc-linux-gnu --enable-static
make clean
make
I get the following errors:
Code:
unixfsservices.cpp:591: error: 'S_IREAD' was not declared in this scope
unixfsservices.cpp:593: error: 'S_IWRITE' was not declared in this scope
unixfsservices.cpp:597: error: 'S_IEXEC' was not declared in this scope
unixfsservices.cpp: In member function 'virtual char* cUnixFSServices::GetStandardBackupExtension() const':
unixfsservices.cpp:797: warning: deprecated conversion from string constant to 'char*'
make[3]: *** [unixfsservices.o] Error 1
make[3]: Leaving directory `/home/a_skil/Desktop/droid source/tripwire-2.4.2.2-src/src/core'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/a_skil/Desktop/droid source/tripwire-2.4.2.2-src/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/a_skil/Desktop/droid source/tripwire-2.4.2.2-src'
make: *** [all] Error 2
If anyone has any success with this please let me know.
Did anyone ever get tripwire working on the android? I need *something* to detect os changes. Thanks
C#Shell is a C# compiler that lets you dynamically compile and execute C# code on your Android device.
I want to move this thread to the Forum xda-developers Android Development and Hacking Android Q&A, Help & Troubleshooting.
Thanks.
My linux is 64-bit Kubuntu 15.04.
I downloaded ideaIC-14.1.4.tar.gz and unzipped to ~.
I downloaded android-studio-ide-141.2178183-linux.zip and unzipped to ~.
$ java -version
java version "1.7.0_79"
OpenJDK Runtime Environment (IcedTea 2.5.6) (7u79-2.5.6-0ubuntu1.15.04.1)
OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)
I modified the ~/android-studio/bin/idea.properties file as follows:
idea.config.path=~/idea-IC-141.1532.4
idea.system.path=~/idea-IC-141.1532.4
idea.plugins.path=${idea.config.path}/plugins
~/android-studio/bin$ studio.sh
Error: Could not find or load main class com.intellij.idea.Main
I am trying to build an open source project at github (https://github.com/google/ExoPlayer)
As I understand, the project includes a demo application and a library. The demo application plays a number of test streams with the help of the libary. The main page of the project says that I can use Eclipse and Android SDK to build the project. However, instead of using an IDE like Eclipse I want to compile the code from command line using javac. So, I tried it by following the method in this page :http://geosoft.no/development/android.html
1. Created the R.java file using aapt (Everything seems to work fine)
2. Ran the command
Code:
javac -d E:/bin -sourcepath E:/project/src -classpath C:/Android/android-sdk/platforms/23.0.2/android.jar;E:/bin E:/project/src/com/google/android/exoplayer/demo/*.java
Here javac throws a lot of errors like 'symbol not found'.
The main problem seems to be that the demo application and library are dependant projects and I don't know how to invoke javac for dependant projects.
Therefore, I am asking you to give an elaborate guide about compiling (this) project from command line.