Apr 042012
 

Overview

The flashable zip contains the shell scripts, conf and apk. If you are unable to flash, mount /system as rw and place the the files manually.

BEFORE TRYING ANY OF THESE SCRIPTS MAKE SURE YOU HAVE A ROOT SH SHELL

su sh

Scripts:

  • debdroid – starts the debdroid chroot without the apk wrapper.
  • debshell – wrapper for passing commands to the chroot. Example – “debshell “apt-get update”
  • debkill – kills the chroot in case anything goes wrong

Conf:

  • /etc/debdroid.conf contains options such as img location, dns servers, loop number and shared directory.
  • Note: The shared directory is mounted to /mnt/share in the chroot environment.
  • Apk: com.afrosec.debdroid.apk – apk wrapper that essentially launches “bash debshell”

Known Bugs: Exit deployment does not work, you must kill the application by holding the back button or hitting exit deployment until it allows you to FC

Uses

Debdroid comes preinstalled with nmap, ettercap, ssh, g++ and gcc. With a chroot environment you are able to install software with the native package manager and completely avoid cross-compiling.

You are able to drop to a bash shell in the chroot by executing “debshell bash”

In order to get ssh up execute “debshell sshup”

In the previous release of Debdroid I showed its capabilities of WLAN sniffing using your device, this is still an applicable use.

Script Manager Compatibility:

Because debshell can pass commands directly to the chroot sub-system you can use a script manager app to launch commands as well.

Debdroid provides the user with a full Linux environment you can ssh into. This may cater to the needs of the of the individuals who need to perform device-related linux tasks without an actual linux workstation.

 

Debdroid supports any Android device with loopback devices and ext2, flashable zip works on ICS/GB.

Succesfully tested on Samsung Galaxy SII, Epic 4G Touch, Motorola Atrix, HTC EVO, HTC Incredible.

YouTube Video of Backtrack 5 running on HTC Incredible.

 

Link: http://wiki.gitbrew.org/wikibrew/Android:Debdroid

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)