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

Step 6 Problem #19

Open
3BBUAE opened this issue Mar 31, 2020 · 13 comments
Open

Step 6 Problem #19

3BBUAE opened this issue Mar 31, 2020 · 13 comments

Comments

@3BBUAE
Copy link

3BBUAE commented Mar 31, 2020

image

Hey I need help with step 6

I used the following:
C:\Users\Ali Al-Zaabi>docker run --volume=Y:\benign\apks:/apks alexmyg/andropytool -s /apks -all -vt key

@phamhduy
Copy link

phamhduy commented Apr 11, 2020

I have try AndroPyTool Docker on Ubuntu 18 running in VMware and I have the same problem. So I change to run from the source but the problem is unchanged.

I try to create another AVD and replace img files in Droidbox folder by those from Android SDK folder (default imgs) and AndroPyTool works.
Anyway, I download DroidBox from google-drive not from git-hub.

@3BBUAE
Copy link
Author

3BBUAE commented Apr 11, 2020

I have try AndroPyTool Docker on Ubuntu 18 running in VMware and I have the same problem. So I change to run from the source but the problem is unchanged.

I try to create another AVD and replace img files in Droidbox folder by those from Android SDK folder (default imgs) and AndroPyTool works.
Anyway, I download DroidBox from google-drive not from git-hub.

I have clean install of ubuntu no vmware, I managed to get it to step 6, but now i get to a different problem.

Screenshot from 2020-04-12 00-25-05

Im not sure what it means exactly when it says no such file or directory.

@3BBUAE
Copy link
Author

3BBUAE commented Apr 11, 2020

I have try AndroPyTool Docker on Ubuntu 18 running in VMware and I have the same problem. So I change to run from the source but the problem is unchanged.

I try to create another AVD and replace img files in Droidbox folder by those from Android SDK folder (default imgs) and AndroPyTool works.
Anyway, I download DroidBox from google-drive not from git-hub

I manage to fix my previous problem, but now I am back to the same problem in the first post. I tried to replace the images just as you said and created new AVD, but i still cant get it to work. I would really appreciate it if you show more detailed steps thank you in advance.

@phamhduy
Copy link

I follow the installation guide except the openJDK 8 (for quick test). In my installation, the images for AndroPyTool AVD are in ~/AndroPyTool/DroidBox_AndroPyTool/images. Since startemu.sh and startemunogui.sh are refered to imgs in this folder, so I take my chance by copying imgs (ramdisk and system) from ~/android-sdk-linux/system-images to replace two origin files.
Also, I use Android SDK manager to create an AVD with same name "droidbox-emulator" and CPU (armeabi) as in createDroidBoxDevice.sh and successfully start it via this android tool. It seems that any device type would be OK.
Now, I can load "droidbox-emulator" AVD by running startemu.sh.

Also, I register with virustotal.com to get a free api key to run VirusTotal step, then put this key after the argument -vt my_api_key.

Finally, I can run the AndroPyTool from python for all analysis steps.

I'm still wondering what are in Droidbox images but I may happy with static analysis.

image

@phamhduy
Copy link

I work a bit more with the system.img from Droidbox and it turns out that the file system of this file is yaffs2. By some chance, Android emulator prefers ext4 over yaffs2. It gives an error when loading from android AVD manager.
So, converting file system of system.img makes the tool working.

@3BBUAE
Copy link
Author

3BBUAE commented Apr 15, 2020

I work a bit more with the system.img from Droidbox and it turns out that the file system of this file is yaffs2. By some chance, Android emulator prefers ext4 over yaffs2. It gives an error when loading from android AVD manager.
So, converting file system of system.img makes the tool working.

Thank you for your help it is working with me now.

@nhatminh199989
Copy link

I work a bit more with the system.img from Droidbox and it turns out that the file system of this file is yaffs2. By some chance, Android emulator prefers ext4 over yaffs2. It gives an error when loading from android AVD manager.
So, converting file system of system.img makes the tool working.

Thầy ơi em vẫn chưa sửa được ạ, e chạy bằng docker ạ

@tconqueror
Copy link

I work a bit more with the system.img from Droidbox and it turns out that the file system of this file is yaffs2. By some chance, Android emulator prefers ext4 over yaffs2. It gives an error when loading from android AVD manager.
So, converting file system of system.img makes the tool working.

Thầy ơi em vẫn chưa sửa được ạ, e chạy bằng docker ạ

English please

@nhatminh199989
Copy link

I work a bit more with the system.img from Droidbox and it turns out that the file system of this file is yaffs2. By some chance, Android emulator prefers ext4 over yaffs2. It gives an error when loading from android AVD manager.
So, converting file system of system.img makes the tool working.

Thầy ơi em vẫn chưa sửa được ạ, e chạy bằng docker ạ

English please

I've the same problem but i still can't fix it. I'm using VMWare and running on docker, can u help me.

@and85620
Copy link

I'm using andropytool on docker in ubuntu 18.04, but I still have the problem in DroidBox - Boot not completed, please help me, thanks!

@alexMyG
Copy link
Owner

alexMyG commented Jul 2, 2020

I work a bit more with the system.img from Droidbox and it turns out that the file system of this file is yaffs2. By some chance, Android emulator prefers ext4 over yaffs2. It gives an error when loading from android AVD manager.
So, converting file system of system.img makes the tool working.

Please could you send me these images?

@phamhduy
Copy link

phamhduy commented Jul 3, 2020 via email

@alexMyG
Copy link
Owner

alexMyG commented Jul 3, 2020

Thanks a lot @phamhduy It works! I've update the repo and the Dockerhub image.

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

6 participants