[General Topics] S0AndS0:
[Guide] Debian Kit & Limbo PC Emulator (QEMU x86) for Dual-booting Linux on Android

Note to mobile readers: view in light mode with XDA app (settings, near the top), view online with a browser (press menu and view online), or download google drive from the marketplace and follow the link to the main document in this guide, you should be prompted what to open that link with, choose google drive and you'll be greeted by an very friendly formatted and constantly updated guide. You can also check a box within the google drive app that allows you to view offline... and on with the show.Legend/Key/Guide for Guide

Yep that's happening. This is designed to avoid most questions about the excessive use of colour coding throughout the guide.

Orange text=chapter titles & section titles.

Yellow text=things that are partly under construction but complete enough to be used with caution

Red text=under construction and for education purposes only when used in the table of contents

Or

Red text=example command that should be modified based on system that you are running on before being used

Green text=complete aside from a missed or stray preposition.

Cyan text=text that can be copy/pasted into a terminal without any modification except for 2 cases

Cyan_text&Red_text=the red text should be modified for your system before use

# and $ should be ignored when copying as that symbol will already be on your terminal

Blue text=examples of what your terminal will output when using a supplied command. This is contextual to the guide and I try to include the command once in the document and a second time near the top of the dump.

Or

Blue text=when used in table of contents denotes things that likely are completely aside from making additions and are low on the priority list to update for the author of this guide.

Grey text=are full dumps of what a command should output and do without errors. These dumps have a reference pointer at the beginning of each so that you may find where in the guide they their relevant to

Pink text=when used in the table of contents this is to show what sections are completely new.

Note to mobile readers: view in light mode with XDA app (settings, near the top), view online with a browser (press menu and view online), or download Google drive from the marketplace and follow the link to the main document in this guide, you should be prompted what to open that link with, choose Google drive and you'll be greeted by an very friendly formatted and constantly updated guide. You can also check a box within the google drive app that allows you to view offline... and on with the show.

Link to Full Guide on google docs:

https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=sharing

Link back to XDA thread

http://xdaforums.com/showthread.php?p=40434313#post40434313

Public Editable doc

https://docs.google.com/document/d/1CIkOT7iX62z8fpDckoYCw48UtIImjhzG6IJN6E6Qe2E/edit?usp=sharing

[Guide] Debian Kit & Limbo PC Emulator (QEMU x86) for Dual-booting and more

Draft2 Linux android multi-node cloud computer tutorial.

Contents

1.

Setting up base system

(functional/\under construction)​

1:1 Updates (05202013) XDA Sync happening 8:30pm- added subsection 5:10. added descriptors to section 4:4:* Added/Completed two new mini guide to section 1:5:1:*{{XDA content sync happened 05182013} google document sync will happen after some time}

1:2 - Downloads for android device (functional)

1:3 - Installing Linux system to Android Device (functional)

1:3:1 Verify no major errors are present (functional)

1:3:2 Start ConnectBot (functional)

1:4 Manual install (functionally complete/partially under construction)

1:5 Other methods of running Linux alongside Android (All sub sections Under Construction)

1:5:1 Using Limbo PC Emulator (QEMU)

1:5:1:1 Apps & Files to download for QEMU

1:5:1:2 QEMU Linux Install Guide

1:5:1:3 QEMU Linux Setup Guide(new)(functional)

1:5:1:2-1 Method one: Install to virtual hard drive with QEMU(new)(functional)

1:5:1:2-2 Method two: use a computer to make a virtual install(new)(functional)

1:5:1:4 QEMU Integrating with the rest of Main guide

1:5:1:5 QEMU tips and tricks

1:5:2 Using Complete Linux Installer

1:5:2:1 Apps & Files to download for Complete Linux Installer

1:5:2:2 Complete Linux Installer Installer Guide

1:5:2:3 Complete Linux Installer Setup Guide

1:5:2:4 Complete Linux Installer Integrating with the rest of this guide

1:5:2:5 Complete Linux Installer tips and tricks

2.

Installing additional packages

​

2:1 installing packages before devstack or openstack (Under Construction)

3. Setting up cloud system(Under Construction)

4.

Additional notes and hints

​

4:0 Sites that have been exceptionally (updates contently)

4:1 apps for android that make things easier (functional)

4:2 linux software and or packages that I've tested (under construction)

4:3 commands for apt-get and others I've found useful (functional)

4:3:0 Android command line commands (new)

4:3:1 Apt-get commands (functional)

4:3:2 Command line commands for linux (functional)

4:3:3 Connectbot optimization guide (functional)(newly modified)

4:3:3-1. Linux Boot/Mount automation (newly modified)

4:3:3-2 Linux Un-mount/Kill automation (newly modified)

4:3:3-3. Connectbot “Local” SSH setup (newly modified)

4:3:3-4. Other good combos to use after using 'linuxBoot’ (newly modified)

4:3:4 Remote RDP debian kit guide (functional)

4:4 Rom Tool Box user Tips (brand new and no where else)

4:4:1 Scripts (new content)

4:4:2 Performance Mods (under construction)

4:4:3 General guidelines (under construction)

4:4:4 Useful tips (under construction)

5.

Debugging\Known issues with solutions

(Constant Construction:Completion Relative)​

5:1 debian install problems

5:2 debian manual install issues

5:3 additional packages problems

5:4 reinstallation problems

5:5 How do I solve [My device/linux] issue(s)?(functional)

5:6 How to do a dump like the author?(functional)

5:7 Can I use this to completely replace my Android OS(new/\functional)

5:8 How do I add repositories to Debian?(new/under construction)

6.

Introduction, Disclaimer, note to forum Moderator

(functional)​

6:1 Introduction

6:2 Disclaimer

6:3 Note to forum Moderator

6:4 Statement of long term goal for this project

6:5 Distillation of current project completion

7.

Getting comfortable and customizing your new system

​

7:1 Connection Methods(under construction)(Mini-intro added)

7:1:1 Connecting locally

7:1:2-2.1 Connecting wirelessly through wifi(functional)

7:1:2-2.2 Remote RDP in from a second computer (New)(functional)

7:1:3 Connecting wirelessly through bluetooth(Mini-intro added)

7:1:4 Connecting wirelessly through data network

7:1:5 Connecting wirelessly through atana directly

7:1:6 Connecting through USB with computer

7:1:7 Connecting through USB with USB host mode

7:1:8 Connecting through visible light spectrum

7:1:9 Connecting though invisible light spectrum(New links added)

7:1:10 Connecting though directed/focused light

7:1:11 Connecting through audible sound

7:1:12 Connecting though inaudible sound

7:2 Customization of GUI(under construction)

7:2:1 Saving Electrons(functional)

7:2:2 Making it Pretty(functional)

7:3 Making things happen without excessive user input(under construction)

7:4 Methods of installing or unpacking(under construction)(New)

7:4-4. Installing from sources.(functional)(New)

7:4-4.1 Unpacking tar.gz files(functional)(New)

7:4-4.2 Installing Java for ARM from source(functional)(New)

7:4-4.3 Adding Commands to Bash(functional)(New)

7:4:4.1- Installing Map Tools(under construction)(New)

7:4:4:2 Solved Installing jMonkey on Android(functional)(New)

8.

Sources of information and content

(functional, nearly up to date)​

8:2 Dumps I’ve taken and Pictures worth sharing (under construction)

8:2:1 example: installation without errors (complete)

8:2:2 Example of running fdisk -l (complete)

8:2:3 Example of running mk-debian (complete)

8:2:4 Example of the first time you run deb command (complete)

1:1 Updates

Here I’ll try to keep you up to date with where I am with this project. (Date) in the table of contents reflects the last time that I made a significant update to this guide. {notes} in the table of contents states the nature of the update, if the change is significant it will be referenced here so that you may find the modifications to the guide quicker.

UPDATES APPENDED: see Main Doc for full list of all updates.

05182013- manual install of java has issues with running '.jar' files from the command line, there seems to be another version or method to try or it may be a matter of downloading and applying new libraries to the java install itself, I'll be trying bothe (first the lib or dependency search) but will also end up doing a reinstall of the entire debian os again. Installing from source packages is very use at your own risk and running ontop of a rooted android which you've already been warned is use at your own risk; seems like it be risky, yep, but I've yet to re-root my device for what feels like 2 months (I tell you this because I believe the install instructions to be nearly complete and completely reliable) installing things after that seems hit and miss but so long as you're not foolish much of this guide elsewhere is safer than instructions found elsewhere.

Did some polishing of section 7 and added usefull links that I hinted in the past.

Moved section 6:6 Legend/Key/Guide for Guide to the top of the guide, mostly so I can keep the formatting consistent without loading back and forth between sections. Going to Update the XDA forum posts tonight, Google to google sync still pending...

05192013- Added some links to section 4. The commands in section 7 with red text in only one spot cannot be trusted and the commands right now are suspect right now, they'll be updated as I figure out what's wrong and this statement will be struck though. Java support with development tools and install instructions not far off now...in unrelated news, added new sections 1:5:* & 4:4:*, these right now are place holders for what is to come in the future, I'll be focused on the Java thing that's a bit weird on my system and wrapping up the install from source as well, just bouncing round the other places we'll go. Added new section with a little content; 4:3:0 Android command line commands, I'll be adding more as eventually I'd like to have linux tell android what to do and android to be able to do the same.

05202013- added new subsection to section 5:10 to help update answers to questions received through XDA. Added a bit of content to sections 4:4:* mostly intor fluff so I don't forget where I was going. Did some work for money so new content is still pending for the guide, will likely end up with more time tomorrow...

05212013- currently adding some content to 1:5:1, just couldn’t leave it alone added a bunch of content to that section... think I can call the two new guides functional for Limbo QEMU Linux Installation, comments welcome if it barfs on your device... so yeah made/completed a new section “7:4:4:2 Installing jMonkey” you can now install and run jMonkey naively on Android using Debian Kit and openjdk packages installed on your rooted phone or tablet, using directions in section ‘7:1:2-2.2 Remote RDP in from a second computer’ you can connect into it and develop on your Android device but with the full keyboard experience, then if ya need to go on the go you can save your work and reconnect locally on the device with directions from section ‘4:3:4 Remote RDP debian kit guide’ and continue your development project anywhere you’ve got time :) hope this helps game makers and app developers as this program outputs in formats that can then be run on the android side with full graphical bliss ... back to work on java compatibility?, looks like I might have to re-install Debian as I've mucked around in the system in a bad way :P but that's what the guide is for and I'll be working almost all day on the guide, check back often as content will be flowing in. XDA postings updated today 05212013 sorta, the character limit on XDA is now a limiting factor, I will split the document between posts for now and work on making the sections in the Google doc split correctly or something... Updates successful to all educational postings on XDA thread, google drive internal sync still pending but I've been at this for 14 hours or so today so I’ll be off my computer for a little while to let it cool down.

06122013- Section 3 nearly completed, script runs for installing cloud services to android but returns a few errors and is ready for others to test with me, send a PM, e-mail, Google+, what ever and I'll hook you (the reader) up with a preview of the draft script that I've been writing to install openstack to android. Still under heavy development and re-writing but should work now, I'll be posting the beta version publicly when I've done enough testing or had enough testers confirm that it works without problems.

________________

____Update: Bellow Link

____ https://docs.google.com/document/d/1A64GMgcVUKbZrTG2WDWfY_g9vABuRx78ULULu-Ir-kE/edit?usp=sharing

____is a script to be tested for controlling the Crazyflie Quad-Copter with Android using Debian Kit's Squeeze or others

____for now see Page 10 for the discussion related to this development.

____if found to work, then merging into the Main Guide and full description on how to get started will be included as well.

________________