ppareit / debianinstaller Goto Github PK
View Code? Open in Web Editor NEWThese set of scripts can be used to install debian on android.
License: GNU General Public License v3.0
These set of scripts can be used to install debian on android.
License: GNU General Public License v3.0
DESCRIPTION =========== These set of scripts can be used to install debian on android. DEPENDENSIES ============ On host machine: * debootstrap (install for instance with apt-get install debootstrap) * adb must be installed and working On android device: * Must be rooted * Busybox must be installed INSTALLATION ============ First clone this repository to your host machine: $ git clone [email protected]:ppareit/DebianInstaller.git Now enter the scripts directory: $ cd DebianInstaller/scripts First create an image on the host machine: $ sudo ./createimage.sh Now push the image to the android device (make sure adb is connected): $ ./pushimage.sh Everything is now installed. # TODO: the next part could be automated with a script You can proceed on the android device by starting up a terminal emulator or by logging in to the shell from adb: $ adb shell Now will we login for the first time. Do the following: $ su - # ch2debian # debootstrap/debootstrap --second-stage # TODO: check, not sure if this was the command used # exit # ch2debian # adduser username # addgroup --gid 3003 inet # usermod -G inet -a username # echo 'deb http://ftp.COUNTRY.debian.org/debian/ squeeze main contrib non-free' >> /etc/apt/sources.list # apt-get update && apt-get upgrade # su - username $ Now everytime you want to chroot to your debian, start a terminal and run $ ch2debian # TODO: check, can this be made to start as user (SUID?) DEVICE SPECIFIC =============== For the transformer there is a script './pushkeylayout.sh' that can be used to correct the keylayout of the dock when the dock is not US. It will also set the BACK key to ESC. Usage: $ cd scripts $ ./pushkeylayout.sh TF101 BE HACKING ======= These set of scripts work for me, but they might need some more work. Make your modifications and run $ git diff to send me a patch. Even beter, fork this project on github and send me a pull request! TODO ==== * post installation script (second stage of bootstrap and add user) * make one controlling script * make scripts take options * put this all in an installable .apk package REFERENCE ========= These set of scripts are based on the following articles: http://www.saurik.com/id/10 http://www.offensivethinking.org/thoughts/2011/07/14/debian-chroot-eee-pad-transformer/ LICENSE ======= GNU GENERAL PUBLIC LICENSE Version 3 http://www.gnu.org/copyleft/gpl.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.