DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Results 1 to 2 of 2

Thread: Running *nix programs

  1. Droid Newbie
    Mister2's Avatar
    Member #
    80479
    Join Date
    Jun 2010
    Posts
    2
    Phone
    Droid 2.1-update1
    #1

    Lightbulb Running *nix programs

    How feasible is it to run full on linux programs compiled from the source on a rooted Droid? For instance, something requiring simple dependecies like, say, metasploit (' ).(' ) could be configured and ran in a manner akin to what you have to do in slackware (assign all dependencies in the install script). If it's possible, i'll of course work in the virtual Android OS first.
  2. Sponsor
    DF Advertising
    Join Date
    Nov 2008
    Location
    DroidForums.net
     
     
     
     
  3. Senior Droid
    kevin@teslacoilsw's Avatar
    Member #
    75462
    Join Date
    Jun 2010
    Posts
    108
    Phone
    N1, Droid, DInc, Droid X
    #2
    It's possible but tricky.

    Android is very different from desktop linux. The filesystem is different, the build tools are different, the libc is different (and lacks some weird things). Another option to look into is running debian (or slackware were if they have an arm build these days) in a chroot jail. I haven't done this yet but have seen reports of it.

    There's three development kits for android, the commonly used SDK for Java, the less common NDK for C and C++, and the actual rom build from Welcome to Android | Android Open Source

    You might be able to do what you want from the NDK but I'd recommend the android-sources. I wrote a little guide with regard to dropbear here:
    Dropbear | TeslaCoil Software

    Basically after getting the build environment you have to rewrite the Makefiles as Android.mk and you may need to do static linking rather than dynamic.

Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. tv programs
    By rbi in forum Android Audio and Video
    Replies: 1
    Last Post: 05-27-2010, 09:07 AM
  2. How to get Programs on SD
    By jerryjans11 in forum Android General Discussions
    Replies: 2
    Last Post: 04-27-2010, 07:20 AM
  3. Programs still running in the background?
    By bbohannon in forum Motorola Droid
    Replies: 15
    Last Post: 01-19-2010, 11:13 AM
  4. Why are these two programs on so often?
    By hermannism in forum HTC Droid Eris
    Replies: 1
    Last Post: 01-05-2010, 06:59 AM
  5. Greetings Programs!
    By xandor in forum New Member Introductions & Site Assistance
    Replies: 4
    Last Post: 11-29-2009, 03:05 PM

Search tags for this page

applications arm linux x86 metasploit
,
compile metasploit for android
,

droid metasploit

,
droid2 metasploit
,
how to install metasploit on android
,
instalando metasploit no android
,

install metasploit android

,
install metasploit rooted android
,
installing metasploit on android
,
installing metasploit on rooted android
,

metasploit android

,

metasploit droid

,

metasploit for droid

,

metasploit on android

,

metasploit on droid

Click on a term to search our site for related topics.
Find us on Google+