Coder Social home page Coder Social logo

debdroid's Introduction

DebDroid

An Easy to use Debian Installer for Termux on Android without root

Discord

Learn more about DebDroid with this wiki
Updates in DebDroid are Frequent and it's recommended to watch this repo to get latest updates. We provide pre-releases but it's intended for Developers only. pre-releases can be deleted anytime

What is DebDroid?

Well it's a little brush off to other proot methods out there like andronix which it's good but poorly aware of the fact of Android Restrictions. DebDroid makes Linux Software integration to Android possible we made linux software work pre-fixed without patches and makes the containerization secure and well-integrated as possible. although this might be a messy technique but it makes the work done easily

Features

  • Support for Root and Non-root User Accounts
  • Run your Favorite Linux IDE's, Apps, Utilities Easily
  • Run your Local Servers easily using SSH, Node, FTP, and more
  • Backup and Restore Feature
  • Supports Desktop Environments (LXDE, LXQT, Mate, XFCE)
  • Supports Device Architectures (ARM, i386, AMD64, ARM64)
  • Sounds Support with PulseAudio

Installation

Installation is quite easy. follow the steps shown below:

Requirements:

  • 1.2gb of free space
  • Stable Internet Connection (The installation is sensitive to network failures)
  • Termux (Latest Version is recommended)
  • Root Disabled (Running as root will fail)

1.) On termux, Type the following:
pkg update -y

2.) Download the DebDroid Debian Package file

3.) Install the package by typing:
apt install ./path/to/debdroid.deb
I assume that you placed the downloaded file to downloads folder
and the ./path/to is where the location of your file. copy-pasting steps is not cool

Preparing The Container

After all packages is installed. you can install it by typing:
debdroid --install

The Installation will take several minutes depending on your network connection

If it asks you to enter your UNIX Username. you can type your own username to add it to sudoers
to gain access via sudo.

Note:

  • Names should not contain any Capital Letters and special characters including spaces
  • Names should not be used:
    root, proc, dev, mail, sys and other linux reserved names as if the installation is sensitive,

Starting The Container

You can start the container by typing:
debdroid --launch or debdroid --launch-su (as root user)

and it should drop you to debian shell

To Shutdown the linux environment. simply type exit to debian shell
Note that it will kill all processes at exit to prevent battery drainage

Uninstalling the Container

Uninstalling is simple. simply type:
debdroid --uninstall

Note that instead of asking you to delete it. you have 10 seconds before the removal so better to hit Ctrl-C before it's too late

Alternate OS Images

Since DebDroid can run other distributions. i have provided a 3 images. for now we are using a Free of Service so google drive has limits and soon i may setup GIT LFS and we only rely on ARM64 Architectures

Username: user
Password: password

Ubuntu 18.04 has a fully fledged desktop environment with Development Tools installed:
(git, nodejs, geany, gcc, bluefish, vs code, mate, chromium, synaptic)

However. Unpacking takes a long time and needed atleast huge amounts of storage space.
And you will need a lot of entropy to accelerate the extraction process

NOTE: root account is disabled and therefore. only sudo is supported

Username: wmcbtech
Password: password

If you're running Android 5-6. you may encounter problems
For more information click here

NOTE: This may not be updated yet based on DebDroid Releases. To use Alternate OS. Use the 2.17-R2 version

Development

On the Releases page. you will see some tarballs can be packaged with dpkg-deb which it designed to make your own DebDroid-Based projects

Can i use git clone?
Yes. it would be useful for pull-requests, submitting bug reports, opening new branches
You can use this for using Git version of DebDroid but the dependencies would not be managed so it's recommended to use the source package tarball useful for creating your own DebDroid-based Projects

Packaging
To package your own debdroid. simply package the directory with dpkg-deb

P.S. Used VS Code for development

Credits

PRoot
Termux

Stay In Touched.

Discord
Twitter
YouTube

Make an issue if you have problems regarding with this problems

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.