nowsecure / fsmon

monitor filesystem on iOS / OS X / Android / FirefoxOS / Linux
https://www.nowsecure.com
MIT License
903 stars 153 forks source link

installation on samsung galaxy s8 #40

Open chocologurt opened 5 years ago

chocologurt commented 5 years ago

I would like to monitor the FS on my Galaxy S8 phone. I am using Ubuntu 18.04.2 LTS with adb to connect to my samsung. In my Ubuntu environment, i entered the following command: make android NDK_ARCH=arm64 ANDROID_API=26

I then received the following response:

for a in arm84; do \ if [ -z ""]; then \ ./android-shell.sh $a \ make aagt21compile ANDROID_API=26 NDK_ARCH=$a ; \ else \ make aagt21compile ANDROID_API=26 NDK_ARCH=$a ; \ fi ; \ done Building android locally with NDK instead of dockcross...... Invalid path in NDK environment, please change me. Makefile:166: recipe for target 'android' failed make: *** [android] Error 1

I am unable to take a screenshot of the error as my ubuntu computer doesn't have internet and I am quite restricted at my workplace in terms of transferring stuff from development to internet laptop.

Please help!

amoghbl1 commented 4 years ago

Invalid path in NDK environment, please change me. That seems to be the issue, the android-shell.sh script uses an environment variable $NDK, so you could set it in your environment before running the script with export $NDK=/path/to/android-ndk or inside the script itself, before the if clause.

trufae commented 4 years ago

if you are just willing to install grab the binary and push it into the device. you only need the NDK to compile it. To do so you can also use the sys/android-shell.sh script from the radare2 source directory