Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation on samsung galaxy s8 #40

Open
chocologurt opened this issue May 22, 2019 · 2 comments
Open

installation on samsung galaxy s8 #40

chocologurt opened this issue May 22, 2019 · 2 comments

Comments

@chocologurt
Copy link

chocologurt commented May 22, 2019

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
Copy link

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
Copy link
Member

trufae commented Jan 27, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants