yashsingh1/xdaforums huggingface dataset:
[General Topics] S0AndS0:
Re: [Guide] Debian Kit & Limbo PC Emulator (QEMU x86)

I've watched the videos provided; what are the other apps you've tried? I could see that they ended in errors but some of the info is blurd or washed out... it could very well be a matter of root for the other apps.

Well I've been working with Ubuntu and virtual box for most of the day, had to pull an old hard drive out of storage, and have been trying to get Ubuntu to install onto a .vdm file... looks like I'll have to clear out some space because Ubuntu wants no less than 4.4gigs to install to and I'll be making a conversion; so I've been trying to install using the Sero tablet I've got wile sitting on loading screens and removing enough stuff off my laptop to make room for the next attempt for a PC assisted install.

Wile I'm doing this it might be a good idea to try a "live boot cd" Linux distro, most flavors offer them in the downloads, these are ISO files that can be run as is by loading them in the virtual CD tray on Limbo. I'll see about posting links for some in a bit... right now I've got to make some diner for the house...

Update 12152013- grabbed a link for Ubuntu 32bit OS

http://www.ubuntu.com/download/desktop/questions?distro=desktop&bits=32&release=lts

Download the iso and put in the CD tray of Limbo and change Limbo's boot preferences to boot from CD and this should eventually boot right into a GUI for a desktop and for installing to a virtual hard drive. Note; be sure to keep the internet off on your tablet if you're going to try the install or Ubuntu will try to download updates, which will take much longer, instead try booting into it to see if it works :) I'll be off work earlier today and will get back to trying to make you a working qcow2 image.

Edit: it might be better to aim for an older version of Ubuntu, looking through the install requirements, and it looks like version 10 from the following link will have less requirements on the virtual system. Note; be sure to grab the 32bit version (for x86 processors) if you choose this option because I don't know that the 64bit option will work or not on Android.

http://releases.ubuntu.com/lucid/

Sent from either my SPH-D700 or myTouch3Gs

Debian Kit/QEMU Linux Install guide for all android devices that I'm writing:

http://xdaforums.com/showthread.php?t=2240397

Now have working Installers for ARM Java 7 JDK + Maptools + jMonkey
[General Topics] ppmendonca:
I got hold of a Windows laptop and used motochopper to root my TF300 without unlocking the bootloader. The worst part of it was getting windows to recognize the tablet! Once that worked it was a matter of minutes.

I then tried all the other softwares from the videos with exactly the same results.

By the way, here are the softwares I used:

video 221800 = libSDL running FreeBSD

video 222021 = Emulator running FreeBSD

video 222539 = Limbo running FreeBSD

video 222731 = Limbo running Debian 3.0

I didn't get any images from you. Did you send any?

I tried another software called Complete Linux Installer running Ubuntu 13.10 (Large and Small versions), but it didn't start up. It seems there is something to do with the checking of the img file done with the md5 file under the Terminal Emulator, which fails. It leaves me in at a command line within the android file.
[General Topics] S0AndS0:
Sweet, if you've got root then possibilities will open up, know what yeah mean on Windows not wanting to do what it's told, but I'm glad we're over the first hurdle.

Hmm, that is odd; perhaps Debian kit or Lil Debi should be tested instead of Limbo on your system...

I've not been able to make one successfully yet, now that you're running root I'll set up a lildebi runnable image and ship one off shortly. The reasons I suggest LilDebi app, the entire install log can be saved or shared from the app, the install images can be shared, it's simple and friendly just choose HF (hard float) when given the option and 2 gig image file size.

lildebi Lil Debi app

https://play.google.com/store/apps/details?id=info.guardianproject.lildebi

I remember, vaguely, playing around with complete Linux installer, I remember not ever really getting it to do much then went to Debian Kit and have been happy for the most part. Sometimes a fail issuing isn't a game breaker for example my myTouch3gs always throws errors during install be because even though its rooted HTC, the manufacturer, has a second layer of protection called sOff and sOn that prevents some of the install process of Linux; the fixes I found where making temporary links and running apt-get update... But for your manufacture, Motorola, there may be some security feature or the folder structure might be different enough from what the app expects that it can't find or write to the correct place oh and be sure that the Super User app has what ever app you're using to install/run Linux listed as permitted. libSDL is a new one to me I'll see what I can find on it.

Just reinstalled Lil Debi and am in the process of creating an image to email.

Sent from either my SPH-D700 or myTouch3gs or M470BSA

Guide for running Linux on Android that I'm writing:

http://xdaforums.com/showthread.php?t=2240397
[General Topics] ppmendonca:
I just finished trying to install the Ubuntu Server you suggested before from the ISO img. It took several hours (spanning 2 days) and seemed to go fine until it asked to remove the CD because it was time for the first reboot. I immediately shutdown the VM, altered the boot sequence to the "hard drive" and restarted it. It started the boot but stopped quickly and left me with a blank screen. Booting from the ISO now gives the same result.

I also installed LilDebi and it seemed to work. I can send you the install log if it helps. It says LilDebi is started but gives me a blank screen with a huge button saying "Stop Debian" and a small button at the top right hand corner for preferences (where I got the log). There is no prompt and the tab cycles 3 things: the two buttons mentioned above and some unseen entity. When I type anything it doesn't show, but when I hit enter it goes to the Stop button. If it is already at the stop button it actually stops Debian. At this point the button changes to "Start Debian" and if I click it Debian restarts the same as described before.

I always end up getting stuck! But at least from the log it seems the VM was able to access the internet to get, update and verify packages. Remember this is a noob reading a very long log.
[General Topics] S0AndS0:
Limbo is odd as usual, sometimes the VM won't shut down properly and things don't restart properly... I'm betting that you've already restarted your tablet so I'll suggest making a new Limbo VM but point it at the hard drive image you've already installed to and try playing with the memory settings too... Also ensure that you're seeing the whole screen by playing with the display settings once the VM has started; you might be looking at a terminal window really really close.

Good now to access the running Linux os you'll want two more apps, one to access the command line and another to run the GUI. I'm still figuring out Lil Debi again, been a wile, but for the command line "connect bot" should work, then once logged into the Linux command line install and start services for xwindows, and over on the Android side use an app like "remote rdp" to view and interact with it... No worries on being a noob, I'm still trying to get into the Linux command line on my tablet; the command "/debian/shell" isn't working for me when on connect bot or ROM tool box's terminal emulator. I'll add some links to the apps I suggest in a bit and get down to the bottom of how to interact with Lil Debi.

Update 12212013-

Links to apps :

LilDebi - to install, start, and stop chroot Linux

https://play.google.com/store/apps/details?id=info.guardianproject.lildebi

ConnectBot - to quickly interact with Linux's command line interface

https://play.google.com/store/apps/details?id=org.connectbot

Android VNC viewer - to view and interact with GUI once one the proper packages have been installed and started on the Linux side

https://play.google.com/store/apps/details?id=android.androidVNC

Commands to use in lildebi's commandline :

# su - to gain supper user permissions in your terminal emulator app

su

# apt-get install lxde tightvnc-server - to install the packages into Linux that will get us GUI

apt-get install lxde tightvnc-server

Update on the image I'm making for your use :

Currently installing the required packages for interaction and it'll be ready for sending shortly :) had to break out my epic 4g because my tablet wasn't playing well with lildebi app (ssh password prompt issues after first install but no password was set that I could find) ... what's funny is Debian Kit (the app that works on my myTouch and epic) also works just fine on my tablet, only problem with it is I've still yet to figure out how to share it's image file between devices hmm must be something I'm missing.

Sent from either my SPH-D700 or myTouch3gs or M470BSA

Guide for running Linux on Android that I'm writing:

http://xdaforums.com/showthread.php?t=2240397
[General Topics] hoangpro1234:
Thank all:D
[General Topics] S0AndS0:
You're welcome :D

If you've enjoyed this guide then check out the newest, though unrelated to Linux, guide I've just written about wireless networking between Android and the Nintendo Wii

https://docs.google.com/document/d/...uhDW-KKEeEcLi5NlVlSX2gQ/edit?usp=docslist_api

What's nice is once set up correctly on the Wii side its really easy to get running on Android, meaning that it's noob friendly if you've got visitors that want to share something to your TV... Like a pormans' cromcast.

Sent from either my SPH-D700 or myTouch3gs or M470BSA

Guide for running Linux on Android that I'm writing:

http://xdaforums.com/showthread.php?t=2240397
[General Topics] ppmendonca:
I ran Connect Bot after Lil'Debi and connected using localhost@root:5900 via "local", because via ssh the same gave the error below:

Connection lost

Failed to connect to localhost/127.0.0.1 (port 5900): connect failed: ECONNREF05

ED (Connection refused)

I should mention that after connecting once and getting out of Connect Bot and in again it showed a blank screen and no option to reconnect. I powered down and up again and it worked once more.

At that point I typed his after each command prompt:

u0_a119@android:/ $ su

u0_a119@android:/ # debian/shell

root@localhost:/ # apt-get install lxde tightvnc-server

and got a "E: Unable to locate package tightvnc-server" once the lists were built.

I tried to run ifconfig but it wasn't found too.

I tried to run AndroidVNC but have no clue as to what I should be connecting and not having installed the server it seemed pointless to keep pursuing. So I stopped. Again.
[General Topics] S0AndS0:
http://askubuntu.com/questions/17823/how-to-list-all-installed-packages

Use the command :

dpkg --get-selections | grep -v deinstall > ~/Desktop/packages

When under ”root@localhost" by way of the series of commands "su" and "debian/shell" ; this should give you a text file of all the installed packages. In that list there should already be lxde. And tightvnc-server for some reason was renamed to tightvncserver. The best way to find new applications for Linux is by using "apt-cache search keyword" replace keyword with vnc or vnc server and you'll be given a list of packages that can be installed with "apt-get install" furthermore most packages come with a manual that can be accessed from the command line with "man" command try "man ssh" or openssh-server to pull up documentation for that package. I'll have to look up the specific server that I preinstalled but I think it was an rdp server because I found rdp to be more responsive on Android and easy to connect to other devoices.

http://networkstatic.net/xrdp-an-easy-remote-desktop-setup-for-your-ubuntu-servers/

The command "xrdp start" under the Linux command line should start it up then use the IP address of the tablet as the host for the Android app Remote RDP to connect. I just got home from a 12 hour shift so the rest of this response will be in a bit...

Update before going to work- once you've got xrdp working, the start and stop commands work and remote rdp app connecting, you can add those commands to the start and stop scripts in lildebi. It's under settings and near the bottom, put the xrdp start command on a new line after the start ssh, and, put a xrdp stop in the other; this will make lildebi start everything needed to be connected to so you don't have to spend so much time in the command line ;)

I've a shorter shift today so when I get home I'll take some screenshots and write a guide for interacting with lilldebi.

Sent from either my SPH-D700 or myTouch3gs or M470BSA

Guide for running Linux on Android that I'm writing:

http://xdaforums.com/showthread.php?t=2240397
[General Topics] ppmendonca:
I ran the dpkg without the ">" and tunneled it to MORE. LXDE was not present and neither was tightvncserver. So I tried "apt-get install lxde" and SUCCESS (partially), it asked if it should download a HUGE list of packages to which I replied "Y", and it started to download them!!! :D Eventually it didn't find a package and then got stuck on another "Waiting for headers" with either 0% or 3%. I tried the same thing on other emulators I have installed and none of them could find lxde, which leads me to believe that this is the only emulator that has been able to access the internet so far.

UPDATE

It seems that mirrors.ece.ubc.edu.ca is not working properly, hence the "waiting for headers" error. I wanted to redirect apt-get to another mirror and read I'm supposed to edit etc/apt/sources.list to do so. But I couldn't find an editor. I didn't find vi or vim and apt-get couldn't find vi and even though it found vim it couldn't reach it. Another dead end for this noob.

GOOD NEWS: as I was "ls"ing the directories looking for vi or vim I found access to the home OS (Android) file system under /storage/sdcard0. This opens the possibility for me to download anything under the home OS that I couldn't otherwise and using it under the host OS. I feel proud, but suspect it should have been obvious. I'll stick to being happy.
[General Topics] ppmendonca:
UPDATE2

SUCCESS!!! I found vi before I entered debian/shell and used it to substitute the "deb http://mirrors.ece.ubc.edu.ca stable main" line for "deb http://ftp.br.debian.org/debian stable main" line in the /debian/etc/apt/sources.list file. I ran apt-get update and after ran apt-get install lxde and it worked. It did show some errors but it said it was ok afterwards. I configured something without really knowing what I was doing (character set etc.). I ran apt-get install tightvncserver which worked also. I'll have to quit for now but will keep following the instructions tomorrow.

UPDATE3

I would like to suggest adding the following packages to debian right after you get access: dialog and apt-utils (because they get called frequently when installing other packages) and vim (because I found no other editor).

I took a first stab at running lxde and tightvncserver but got nowhere, I on't even know what went wrong.

I installed xrdp and didn't know what todowith it either. And I'm clueless about rdp.

I find it hard to understand why a software would need another software to provide the absolute minimum user interface (i.e. LilDebi needing ConnectBot to allow command line access), but if it works I'm willing to try.

I also tried to install gnome but I believe I ran out of room. It didn't run and know I'm trying to uninstall it but it says it is not installed while I still see a lot of related packages. I've been using apt-get purge, apt-get autoclean with some success.

I also tried to install moneydance from a deb package I downloaded from their site but it didn't work due to what seemed to be related to java, so I installed jre. I found a discussion (http://help.infinitekind.com/discussions/problems/2809-problems-on-ubuntu-1110) that pointed to a no-java moneydance package which I also installed but couldn't get to run.

I guess I need to start talking to moneydance now. Do you think I'm far enough in debian for that?

UPDATE4

I also tried to run xrdp, which doesn't accept the start command, but says it seems it is already running.

I installed lxde, apt-get says it is already installed if I try to reinstall it, but running lxde gives unknown command.

I installed AndroidVNC but it gives the following error after trying to complete a handshake:

VNC connection failed!

failed to connect to /201.74.86.1## (port 5900): connect failed:

ETIMEDOUT (Connection timed out)

I couldn't find a Remote RDP that seemed like it would work because they all seem to be geared for Windows.
[General Topics] ppmendonca:
QUICK UPDATE

debian/shell stopped working. Since I was messing w/ what I didn't understand and had done the gnome install / purge, I deleted and reinstalled Lil'Debi, this time from ftp.cn.debian.org (China I found out afterwards, and I'm in Brazil), with 1GB instead of 600MB and it worked fine. Installed dialog, apt-utils, less and vim without a hitch. I'm prosseding to tightvncserver (I read somewhere it's supposed be done before lxde), then man (which I was forgeting) and so on... more to come.

I do have a question: you mentioned before that I should setup xwindows but I didn't find a package for it or new what it was. Any tips?

UPDATE PART 2

I failed miserably in installing JRE, so I've deleted and will reinstall again...
[General Topics] S0AndS0:
Not sure what happened to brake the Debian/shell command. Perhaps try starting up LilDebi after reboot and see if it wants to repair instead of start.

Glad you got the reinstall thing figured out, though, ya may want more than 1 gig for the install as this will not allow for a whole lot to be installed after.

Xwindows can be provided by xrdp, I suggest it because once you've got a full GUI (with desktop) you can set up to only have one window display (money dance) without having to load the desktop; saving you lots of load time and battery power. I'll be trying to find some helpful links when off work for that.

Edit: some links on x11 forwarding

http://tldp.org/HOWTO/XDMCP-HOWTO/ssh.html

http://scarygliders.net/2012/04/06/get-audio-with-your-xrdpx11rdp-connections-lan-or-remote

These above links kinda get close to helpful but I'm still on the hunt.

Sent from either my SPH-D700 or myTouch3Gs

Debian Kit/QEMU Linux Install guide for all android devices that I'm writing:

http://xdaforums.com/showthread.php?t=2240397

Now have working Installers for ARM Java 7 JDK + Maptools + jMonkey
[General Topics] ppmendonca:
I had to reinstall and gave it 2GB this time. Installed apt-utils, dialog, less, vim, man. Then installed java with apt-get install default-jre which it seems went well (java -version outputs 3 lines with the version numbers). Then installed moneydance and it didn't work apparently because it doesn't recognize java, even after I pointed it to it. I've asked for help at their support center w/o return yet.

With the previous installation I got as far as the xrdp log in screen using ip 127.0.0.1 and port 3389 in Remote RDP but couldn't get past the user and password screen. I tried several of the connection options with and without password and none got me past the next pop-up screen. One of them said it connected but nothing else happened and I don't remember which one it was. Will try again.

Is there any configuration needed for xwindows that I may have missed?

UPDATE

SUCCESS!!! I installed tightvncserver and lxde only. Ran lxde, then vncserver :1, which asked for two passwords of which I said no to the second. Then I connected using AndroidVNC with 127.0.0.1 and port 5901. This IP is the localhost which ConnectBot uses. The port is 5900 whichConnectBot uses plus the display number (in this case 1). I only found this out after reading the log file for vncserver. I got a GUI desktop which still needs adjustments in color depth and size. The mouse clicks and movement need twicking too.

I was also able to install Moneydance from the moneydance_linux_x86.sh file I had downloaded a long time ago, and run it. It seemed slow but I'll have to test more.

I didn't mess with xwindows and didn't install xrdp or use Remote RDP on this attempt.
[General Topics] ppmendonca:
I have to admit you've lost me on this whole java debate and since I was able to get the software to run I didn't study it further. And when you say "build from..." my noob mind goes blank.

But now I've managed to screw up what was working for sometime. Moneydance stopped working after asking for the password. I opted to restart everything from scratch only to find out my file provokes the same behavior in another windows installation of MD. The embarrasing part is that I can't reproduce what I had done before!

I've configured Lil'Debi w/ 2GB and connected to it via ConnectBot (using root@localhost:5900), then installed in this order: apt-utils, dialog, less, vim, man, tightvncserver, lxde, default-jre. I then connect with bVNCFree (using 127.0.0.1 port 5901 and the password setup when tightvncserver first ran). This gives me a functioning LXDE GUI with decent mouse control and key mapping, albeit a bit sluggish. On a side note: Iceweasel browser opens and closes immediately (I don't care because I don't use it) and the logout window seems to do nothing (I don't care because I kill vnc later).

Now I should be able to install Moneydance like I did before but one of three things happen: 1) I get a script file opened by a text editor or 2) the file manager gives me the following error "Can't run the archiver executable: Failed to execute child process "ar" (No such file or directory)" or 3) it opens the tared folder. This depends on the file I try to install: moneydance.deb (2), moneydance_linux_x86.deb (2), Moneydance_linux_x86.sh (1), Moneydance_linux_x86.tar (3), Moneydance_linux_x86.tar.gz (3), moneydance_no_java.deb (2) and moneydance from inside the untared Moneydance folder (1). I believe what had worked before was "Moneydance_linux_x86.sh".

I feel like I'm missing something obvious but I can't put my finger on it. Can you help me?

Two other questions:

1-I can't get Lil'Debi to shutdown because there are files or processes open in chroot. I found tightvncserver to be one of them and have been "tightvncserver -kill :1" killing it before closing. Then I "exit" 3 consecutive times until ConnectBot disconnects. But something gets left behind. Any ideas?

2-Everyone tells me I'm not supposed to work as super user but debian/shell won't work without su. Any ideas on how to circumvent this?

Thanks much.
[General Topics] S0AndS0:
Update for ARM_Linux_Moder script found at the following link

https://github.com/S0AndS0/Debian-Kit-Mods

This script has been written to aid in modifying a fresh soft or hard float ARM Linux OS and may end up with its very own thread soon.

Currently working options:

- download java either hard or soft float and either JRE or JDK

- install java from source either hard or soft float (JDK only right now)

- install npm

- install node.js

- install NoFlo

- install jMonkey

- install Maptools

- and very soon; install Bramble (mpich2 ARMel)

There will be more features added/debugged for both hard and soft float Linux users soon.

The Bramble installer may not work just yet (still working on dependencies) but if you install python first you should be fine for testing. This when working will give you the option to use multiple Android devices and/or Raspberry Pi's to perform computational tasks sharing (Cloud computing) thus reducing the amount of time/energy used to perform such tasks when compaired to running the given task off just one device. Which if you (the reader) can follow this train of thought should be exciting news for you too ;)

Update 03292014- tons of new scripts have been added, even a how to write scripts script for those new to Linux scripting. I'll see about making a thread specifically for these mods I'm writing.
[General Topics] MiltyMilt:
Nevermind. I'm using lil' debi now.