Textnode

Go Environment Setup

#!/bin/bash

export GOROOT=$HOME/go-release/go
export THIRDPARTYROOT=$HOME/go-release/3rdparty

#export GOARM=5 #for raspberry pi


export GOMAXPROCS=2
export GOPATH=$HOME/go-release/3rdparty:$HOME/go-release/local

export GOBIN=$GOROOT/bin:$THIRDPARTYROOT/bin

export PATH=$PATH:$GOBIN





android-apktool - A tool for reverse engineering Android apk files

Invaluable for reversing obfuscated Android code to determine if further explicit obfuscation of functionality is required.








Mounting Nexus 7 under Linux

run lsusb, you will see this something like,
Bus 001 Device 010: ID 18d1:4e41 Google Inc.
18d1 is the idVendor
4e41 is the idProduct

Open the terminal window and type the commands to setup.
* First install the necessary tools:
  sudo apt-get install mtp-tools mtpfs
* Set up a UDEV rule
  gksu gedit /etc/udev/rules.d/51-android.rules
* Type this text in it. Make sure all are in a single line:
SUBSYSTEM==”usb”, ATTR{idVendor}==”04e8”, ATTR{idProduct}==”6860”, MODE=”0666”, OWNER=”your-username-in-the-linux”
* Set up a mount point
  sudo service udev restart
  sudo mkdir /media/Nexus7
  sudo chmod a+rwx /media/Nexus7
* Plug your Nexus 7  in and select MTP on the tablet, then enter:
  sudo mtpfs -o allow_other /media/Nexus7
* Now You can browse your Android phone contents or add/remove/modify files using Nautilus. When you need To unmount, try this:
  sudo umount mtpfs

(Source: nexus7tablethelp.com)





13
To Tumblr, Love PixelUnion