Setup for Android Auditing on Ubuntu Linux for Working Connections

Remove Open Office Icons

There are three icons on the Launcher bar at the left side of the desktop for Open Office programs. Right-click each one and click "Unlock from Launcher". This gets them out of the way so we can lock the apps we need there.

Preventing Screen Lockout

By default, Ubuntu will turn the screen off after 5 minutes of inactivity, which is pointless for desktop machines. To fix that, click the gear-shaped icon on the left side of the screen, in the Launcher bar.

A "System Settings" window opens. Click "Brightness & Lock".

Adjust "Turn screen off when inactive for" to Never.

Adjust "Lock" to OFF.

Clear the "Require my password when waking from suspend" box.

Installing Android Studio

In a Terminal, execute this command:
sudo apt-get update
It asks for your password. At Working Connections, the password is

password

In a Terminal, execute these commands:

sudo apt-get update

sudo apt-get install lib32z1 lib32ncurses5 lib32stdc++6 -y

wget http://launchpadlibrarian.net/187844602/lib32bz2-1.0_1.0.6-5ubuntu5_amd64.deb

sudo dpkg -i ./lib32bz2-1.0_1.0.6-5ubuntu5_amd64.deb

sudo add-apt-repository ppa:paolorotolo/android-studio

sudo apt-get update
Press Enter to continue.

In a Terminal, execute these commands:

sudo apt-get install android-studio -y

cd /opt/android-studio/bin

./studio.sh
Click OK.

If one or two yellow message appears saying things like, "Your system is using the iBus daemon...", click outside the yellow messages to make them go away.

Click Next.

Click Next.

Click Next.

Accept the license and click Finish.

Wait while it is "Downloading Components".

Troubleshooting

If you see a "The following sdk component was not installed: tools" message, click Retry.

Click Finish.

Lock Android Studio to the Launcher bar. Then close it.

Installing VirtualBox

In a Terminal, execute this command:
sudo apt-get install virtualbox -y

Installing Genymotion

In Firefox, go to

https://www.genymotion.com/#!/auth/signin

Troubleshooting

If Firefox cannot connect to the Internet, execute this command:
sudo service network-manager restart
Create an account and download Genymotion, the free 64-bit Ubuntu version. Don't open it with Archive Manager, just save it to the default location (Downloads).

In a Terminal, execute these commands:

cd ~/Downloads

chmod +x genymotion-2.5.0_x64.bin

sudo ./genymotion-2.5.0_x64.bin
Accept the default directory.

After the installer finishes, execute this command to start Genymotion:

./genymotion/genymotion
In the "Usage notice" box, click Accept.

In the "Add a first virtual device" box, click Yes.

Click "Sign in". Enter your credentials.

Click this phone: "Custom Phone - 4.3 - API 18 768x1280" and click Next.

Click Next.

When the download finishes, click Finish.

In the main Genymotion window, click Settings.

On the ADB tab, check the "Use custom Android SDK tools" box. Enter this SDK path:

/home/user/Android/Sdk
Click OK.

Installing Burp

In a Browser, go to

http://portswigger.net/burp/downloadfree.html

In the "opening burpsuite_free_v1.6.01.jar" box, accept the default selection of "Save File" and click OK. The file downloads into the Downloads folder.

In a Terminal, execute these commands:

cd

cd Downloads

sudo mkdir /opt/burp

sudo mv burpsuite_free_v1.6.01.jar /opt/burp

cd /opt/burp

sudo touch burp

sudo chmod 777 burp

sudo echo "java -jar burpsuite_free_v1.6.01.jar" > burp

./burp
Burp opens. Accept the agreement.

When Burp opens, lock the Burp button to the launcher.

Troubleshooting

If the pictures on the icons change to incorrect ones as you launch new programs, this is also a known bug in the Unity desktop.

To work around it, try these actions:

  • Remove icons from the Launcher, re-launch the software, and pin the icons to the Launcher again.
  • Restart Ubuntu
  • Open a program from the File Manager instead of the command line, to get a Launcher button that works

Sources

How to Install Android Studio on Ubuntu Version 14.04

Install Genymotion Android Emulator in Ubuntu 14.04

Howto install and use the Burp Suite as HTTPS Proxy on Ubuntu 14.04


Last updated: 7-12-15 3 pm