[DEV][TOOL] Debdroid v3 - Multi-Device Linux Chroot - [Backtrack|Debian|Arch]

Status
Not open for further replies.
Search This thread

dasmoover

Inactive Recognized Developer
Nov 29, 2010
229
128
800px-Gitbrew-bt1.jpg


Debdroid supports any Android device with loopback devices and ext2, flashable zip works on ICS/GB. Must have superuser.apk and su/bash.
Succesfully tested on Samsung Galaxy SII, Epic 4G Touch, Motorola Atrix, HTC EVO, HTC Incredible, Motorola Xoom.

Gitbrew.org is now the official maintainer of BackTrack-ARM

Official Debdroid release page
Official Debdroid wiki page

Downloads:


Flashable zip (TESTED WITH ROGUE CWM) - http://gititbit.ch/ddba3 - Works with ICS/GB

Distro Images:
These custom images are resized to 3.25gb to fit on all FAT32 sdcards.
4GB is the file size limit.

Note: Rename all .img to linux.img unless you specify otherwise in your conf.

Backtrack 5 ARM 3.5gb img Original - http://gititbit.ch/bt5d0
Backtrack 5 ARM 3.5gb img Custom - http://gititbit.ch/bt5d1

Debian Squeeze 1gb img - http://gititbit.ch/ddb1
Debian Squeeze 2gb img - http://gititbit.ch/ddb2
Debian Squeeze 3gb img - http://gititbit.ch/ddb3
Debian Squeeze 4gb img - http://gititbit.ch/ddb4
Debian Squeeze 5gb img - http://gititbit.ch/ddb5

Debian Lenny 750mb img - http://gititbit.ch/ddb0

Expect to see updates for this project.
Download and submit other tools with Gitbrew's Content Database
www.gitbrew.org/android/
www.gitbrew.org/e4gt/

If this tool has helped you out please donate to save our fearless admin - FREE IADNAH
 
G

GuestK00352

Guest
Congratulation guys for being the official maintainers now :D

Congrats Dasmoover, iadnah and special thanks and congrats to Durandal Dokuchayev Thank you Sir :D

keep up the good work :)
 

squshy 7

Senior Member
Dec 6, 2010
1,414
450
I'm confused, do we have a kernel with loopback and ext2 support baked in? Or do we need to wait for someone to release? I was under the impression no one had implemented it yet

Sent from my SPH-D710 using xda premium
 

dasmoover

Inactive Recognized Developer
Nov 29, 2010
229
128
Loopback support is built into the kernel, using androidvnc you get touchscreen.
 

squshy 7

Senior Member
Dec 6, 2010
1,414
450
Hrm, need a little clarification on the instructions.

Its stated the .img file needs to be in a folder debdroid on the external SD card, but the instructions say to put it in /sdcard/debdroid, which is the internal SD card...external would be /sdcard/external_SD/debdroid...

Which way should it be with how the .conf is currently configured?

Sent from my SPH-D710 using xda premium
 

dasmoover

Inactive Recognized Developer
Nov 29, 2010
229
128
Sorry, it's currently configured for the internal memory. Simply remount rw and change the /etc/debdroid.conf line.
 

musclehead84

Senior Member
Nov 3, 2010
4,582
967
39
Falling Waters, WV
Thank you for this op. I do not have a reason to run Linux but any new development is great. Still probably do it just to try it. Has anyone got it working yet or have any problems with bash?

Sent from my SPH-D710 using xda premium
 

jamesey

Senior Member
Aug 1, 2006
726
117
I thought img files are for other devices not ours. Had this been tested on an epic touch or will there be some bricks?

Sent from my SPH-D710 using Tapatalk
 

dasmoover

Inactive Recognized Developer
Nov 29, 2010
229
128
Last edited:
  • Like
Reactions: jamesey

squshy 7

Senior Member
Dec 6, 2010
1,414
450
Hmm, any reason I would have trouble with this on cm9? The app just hangs when I hit run, then FCs...I'm running rogue fc18 kernel, so it shouldn't be a kernel issue. Are there any system dependant things?

Sent from my SPH-D710 using xda premium
 

dasmoover

Inactive Recognized Developer
Nov 29, 2010
229
128
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

If it FC's on run try using a terminal emulator with "su" then "sh debdroid" command. App is still WIP. If it gives you an error that way your foldername is wrong or the image is not in the right spot.
 
  • Like
Reactions: musclehead84

squshy 7

Senior Member
Dec 6, 2010
1,414
450
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

If it FC's on run try using a terminal emulator with "su" then "sh debdroid" command. App is still WIP. If it gives you an error that way your foldername is wrong or the image is not in the right spot.

OK, I had assumed the bug was only when trying to exit.

Cm9 file structure is wonky, chroot starts successfully when using terminal, but getting some mkdir errors...I'll tinker around

Sent from my SPH-D710 using xda premium
 
Last edited:

Moghie

Member
Jan 30, 2010
17
2
Whats the difference between the original and custom backtrack imgs? Also do they include armitage? I want touchscreen armitage so bad! Last time I tried the arm backtrack i couldnt get it to install because some of the repos for the dependencies were offline

Sent from my SPH-D710 using XDA
 
Last edited:

jamesey

Senior Member
Aug 1, 2006
726
117
For anyone who is still in grade school. This is the stuff chicks dig. Show them the full Linux GUI on your phone and they will fall head over heels in love.

Stuff like this makes me wonder what Google was thinking using a mobile UI on a cell phone. I mean really!

Sent from my SPH-D710 using Tapatalk
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 31
    800px-Gitbrew-bt1.jpg


    Debdroid supports any Android device with loopback devices and ext2, flashable zip works on ICS/GB. Must have superuser.apk and su/bash.
    Succesfully tested on Samsung Galaxy SII, Epic 4G Touch, Motorola Atrix, HTC EVO, HTC Incredible, Motorola Xoom.

    Gitbrew.org is now the official maintainer of BackTrack-ARM

    Official Debdroid release page
    Official Debdroid wiki page

    Downloads:


    Flashable zip (TESTED WITH ROGUE CWM) - http://gititbit.ch/ddba3 - Works with ICS/GB

    Distro Images:
    These custom images are resized to 3.25gb to fit on all FAT32 sdcards.
    4GB is the file size limit.

    Note: Rename all .img to linux.img unless you specify otherwise in your conf.

    Backtrack 5 ARM 3.5gb img Original - http://gititbit.ch/bt5d0
    Backtrack 5 ARM 3.5gb img Custom - http://gititbit.ch/bt5d1

    Debian Squeeze 1gb img - http://gititbit.ch/ddb1
    Debian Squeeze 2gb img - http://gititbit.ch/ddb2
    Debian Squeeze 3gb img - http://gititbit.ch/ddb3
    Debian Squeeze 4gb img - http://gititbit.ch/ddb4
    Debian Squeeze 5gb img - http://gititbit.ch/ddb5

    Debian Lenny 750mb img - http://gititbit.ch/ddb0

    Expect to see updates for this project.
    Download and submit other tools with Gitbrew's Content Database
    www.gitbrew.org/android/
    www.gitbrew.org/e4gt/

    If this tool has helped you out please donate to save our fearless admin - FREE IADNAH
    4
    Hmm, looks like some confusion in here?

    DL the flashable zip, extract. bin contents go in /system/bin, and etc contents go in /system/etc.

    The .img (renamed to Linux.img) goes in /sdcard/debdroid, and shouldn't tried to be copied to anywhere in /system.

    Now, I installed the manual way, and I didn't have to chmod anything..

    Just from a terminal, cd /system/bin , then sh debdroid

    It ran just fine, but of course some extra work needs to be done to get a GUI. Once terminal was at root@debdroid I had to:

    apt-get update
    apt-get install lxde

    Vnc looked to already be installed, but as the previous user said, vnc viewer couldn't connect to anything. Figured out I had to echo a bunch of commands from another website:

    echo ‘#!/bin/sh’ >> /root/.vnc/xstartup
    echo ‘xrdb $HOME/.Xresources’ >> /root/.vnc/xstartup
    echo ‘xsetroot -solid grey’ >> /root/.vnc/xstartup
    echo ‘icewm &’ >> /root/.vnc/xstartup
    echo ‘lxsession’ >> /root/.vnc/xstartup
    From this sitehttp://yanzicjustnubie.wordpress.co...-easy-way-to-install-debianubuntu-on-android/

    Apparently, this let's vncserver have access to xfce

    Then, use
    vncpasswd
    And set your password (for use in vnc viewer)

    Now the next part was weird...I was trying to set vncserver geometry with the command

    vncserver -geometry 800x480

    However, the command "vncserver" with any dependency kept giving me an error that the desktop was locked due to a file, and it was now creating a new desktop...the desktops were numbered and kept increasing sequentially as new desktops were created and locked

    Sooo...what I suggest is, after using all the echo commands, then just type

    Vncserver

    It will probably give you an error that the debdroid:1 is locked due to blah blah blah, creating debdroid:2

    That's your hint right there. Go back to your vnc viewer, then connect @ 127.0.0.1 port 5902

    Remember, yes vnc uses port 5900, but you need to change the last number to reflect the desktop number...so for example, I kept using the "vncserver -geometry" like an idiot even though it gave me errors; when I stopped, the last error message stated the desktop was now at debdroid:4, so in vnc viewer my port had to be 5904. Wala, I now have a GUI.

    I'm admittedly terrible with linux stuff, so please somebody explain what I could have done differently; otherwise, these terrible steps will at least get you into a GUI

    Sent from my SPH-D700 using xda premium
    2
    In the custom BT image is a script titled startvnc or startvncserver simply do vncpasswd before hand.
    2
    62c33c28-5320-1f0b.jpg


    got it working easily using custom backtrack img file. my vnc viewer keeps crashing though. other than that, it was up and running using vncpasswd and startvnc commands. no extra work.

    edit: crash was caused by junk vnc viewer i wasted ten bucks on, since it said ics support. using a better one that was free and all is good.

    Sent from my SPH-D710 using Tapatalk
    2
    Obviously, if I don't know what this is, it probably isn't something I should use. LOL

    Sent from my SPH-D710 using Tapatalk

    LOL, very sound advice.

    Sent from my SPH-D710 using Tapatalk