Related
I'm trying to get a window manager running under Debian. I'm using Xvfb and x11vnc. So far I've gotten the server up and running but I get a socket error on my vnc viewer after negotiating protocol. Anyone want to help?
Well, the clean way to display a X client on the phone would be IMHO to implement an x server in a windows. kind of like xming or xephyr. Too bad I don't know java
Anyway, using vnc looks like a smart idea. I worry about the performance, though.
I'll give it a try once I have re-installed debian on my ADP1 (trying to install it in a dedicated partition on the sd)
jusplainmike said:
I'm trying to get a window manager running under Debian. I'm using Xvfb and x11vnc. So far I've gotten the server up and running but I get a socket error on my vnc viewer after negotiating protocol. Anyone want to help?
Click to expand...
Click to collapse
Use X over SSH. Man I'll just write up a post.
I think he's trying to achieve X display on the phone, not on his computer.
Yes, I'm trying to get the display on the phone, not having to really on tunneling x11 over ssh.
I'm running a similar setup on my phone, in order to run X apps like xpdf. Works fine. Here's what you need:
In your debian chroot, apt-get install tightvncserver, and run it.
On the android side, run the android VNC viewer and connect to localhost:1 (or whatever display tightvncserver started). You'll get X on your screen.
You can apt-get and run a small window manager like twm if you need one. I generally use it without a window manager, with apps running in full-screen mode. For example, "xpdf -g 1024x768+0+0 some-file.pdf" to view a PDF. (at least until there's a decent PDF viewer for android).
Don't bother trying OpenOffice on it though. Too heavy - I actually tried it.
mod1 said:
I'm running a similar setup on my phone, in order to run X apps like xpdf. Works fine. Here's what you need:
In your debian chroot, apt-get install tightvncserver, and run it.
On the android side, run the android VNC viewer and connect to localhost:1 (or whatever display tightvncserver started). You'll get X on your screen.
You can apt-get and run a small window manager like twm if you need one. I generally use it without a window manager, with apps running in full-screen mode. For example, "xpdf -g 1024x768+0+0 some-file.pdf" to view a PDF. (at least until there's a decent PDF viewer for android).
Don't bother trying OpenOffice on it though. Too heavy - I actually tried it.
Click to expand...
Click to collapse
Are you telling me you got to run x app on the phone?
Yep, that's what I wrote. It was one of the first things I installed on the phone when I bought it. And performance is not as bad as I expected, as long as you don't try to run animation. Reasonable for reading a pdf.
Has anyone else tried this?
I cannot connect with android vnc viewer from my phone and tightvnc server running on debian showing "localhost:/#".
I am not using a password. I am trying to log in on vnc-viewer at 127.0.0.1 and have tried several ports including the default and 23.
mod1 said:
Yep, that's what I wrote. It was one of the first things I installed on the phone when I bought it. And performance is not as bad as I expected, as long as you don't try to run animation. Reasonable for reading a pdf.
Click to expand...
Click to collapse
Will i be abkle to run pidgin?
when i try to run vncserver it tells me that the USER envirioment variable i snot set
For the user variable error.Type su Again by itself before you start vnc. It has to do with now having set user in the enviroment set. I have an image that give you 2 gigs more of free space (uses up storage card) the current one only has 300megs free which limits you drastically and also a fixed script that you won't have to go into su again....
For the guys that can't get vnc working type localhost in the server field only and as for port use 5901... Use a password upon initial setup of vnc. Sorry about spekking errors but I'm half drunk and typing on g1
Okay I set up the password and stuff but when I go to the vnc viewer on the phone it does nto conect and the crash
When I go to vnc-viewer, I can log in but the window I get says--
Xsession:unable to start x session ---- no "/root/.xsession" ...no session managers,
Can someone please help me get this runing, my messenger is [email protected]
Okay I finally got it to run and get a grey screen, when i go t back to termina it is on android terminal not debian so I log back.
Now how to I run pidgin after I install it? just type pidgin?
I finally got pidgin runing!!!!
Rafase282 said:
I finally got pidgin runing!!!!
Click to expand...
Click to collapse
Now *that* would be a good reason to do this
JesusFreke said:
Now *that* would be a good reason to do this
Click to expand...
Click to collapse
I warn you it will be slow and still cant use the sub functions of the buttons form the keyboard to at least I don't know how. I'm trying to take a screenshot with the program from the windows manager, and i use twm
Okay I have tried with twm, vtwm, and icewm
So far I like icewm the most but still have vtwm for back up. It runs fine not as slow as before with twm. I have pidgin runing but still cant figure out how to run the screenshot program that comes with debian.
Can anyone tell me a way to get a screenshot in command line so I can show you the screen and prove that it works?
Hey everybody. I am not really a linux guy. I can get around and do a few things but thats it. I know however that installing a wm into debian for android is senseless. I do however want to know what everybody has gotten up and running on their debian. I dont really have anything. I tried installing dosbox but then it needed sdl. After installing sdl it said it couldnt find dev/fb0. Framebuffer. Ok. Well I assume that means it needs a vid driver so whatever. Anyway, what else are we running on this? Need some new ideas for apps to install. And if anyone can figure out how to get a dosbox type app running please let me know. Or even zork. That shouldnt be too hard right?
Chuck
First thign I did was:
apt-get update
apt-get upgrade
apt-get install python
That's all I have used it for so far. python for my coming college classes. I don't know what else I would use it for without the Xs
Rafase282 said:
First thign I did was:
apt-get update
apt-get upgrade
apt-get install python
That's all I have used it for so far. python for my coming college classes. I don't know what else I would use it for without the Xs
Click to expand...
Click to collapse
You can install X on your phone. I have a Windows PC running Xming and run emacs xterm and other such stuff to manage my phone. It's very handy.
The annoying part is that DISPLAY is defaulted to localhost:10.0. The phone can't resolve localhost to 127.0.0.1. So you need to do "export DISPLAY=127.0.0.1:10.0" to make X work.
I installed python,vlc,w3m,x,emacs, and of course openssh.
Vlc of course does not work currently of course
Koush said:
You can install X on your phone. I have a Windows PC running Xming and run emacs xterm and other such stuff to manage my phone. It's very handy.
The annoying part is that DISPLAY is defaulted to localhost:10.0. The phone can't resolve localhost to 127.0.0.1. So you need to do "export DISPLAY=127.0.0.1:10.0" to make X work.
Click to expand...
Click to collapse
Do you have both the server and client on the phone itself?
Help Plz
I got Debian running and installed couple apps, But i don't know how to make it runs. What command do i need? or what do i need to do to run apps ? Thanks
im in the same boat as the op. i tried apache2, caused a hard reset
how about an easy text editor like nano with sytax highlighting? i do not have the time to learn vi.
I run a webserver (lighttpd)
I wrote some perl cgi stuff a while back for local train scheduling, and now I can just access my schedules from the browser on the phone.
And git, vim, python, obv. If I need a development environment, it's there
Rafase282 said:
apt-get update
apt-get upgrade
apt-get install python
Click to expand...
Click to collapse
Seconded.
Although, I've been trying to get Aircrack-ng to work for a bit... it's pre-installed but I'm still not very linux-savvy so it's new to me.
I've found that rtorrent works without any messing about. Not sure why you'd want to use it on a phone but it does.
can anybody else recommend apps to get for debian on android??...
Proxin said:
Seconded.
Although, I've been trying to get Aircrack-ng to work for a bit... it's pre-installed but I'm still not very linux-savvy so it's new to me.
Click to expand...
Click to collapse
I would like to see aircrack working on Debian. That would be handy if your not in a 3G network with a bunch of WEP secured WiFi networks laying around.
Binary100100 said:
I would like to see aircrack working on Debian. That would be handy if your not in a 3G network with a bunch of WEP secured WiFi networks laying around.
Click to expand...
Click to collapse
It would probably be not only handy, but quite illegal as well
Here is a link where I found a bit of information about testing packet injection/sniffing scripts from Aircrack:
http://www.androidfanatic.com/cms/community-forums.html?func=view&id=1578&catid=9
It's a bit complex but also very informative. What this means is that we have the ability to inject/sniff packets with HTC G1, but so far there is not a driver that has been written to take this anywhere beyond testing.
Or that's how I understand it...
Proxin said:
It would probably be not only handy, but quite illegal as well
Here is a link where I found a bit of information about testing packet injection/sniffing scripts from Aircrack:
http://www.androidfanatic.com/cms/community-forums.html?func=view&id=1578&catid=9
It's a bit complex but also very informative. What this means is that we have the ability to inject/sniff packets with HTC G1, but so far there is not a driver that has been written to take this anywhere beyond testing.
Or that's how I understand it...
Click to expand...
Click to collapse
Give it time. It took me a while to get it working with windows... android shouldn't be too much more of a challenge.
efbenson said:
im in the same boat as the op. i tried apache2, caused a hard reset
how about an easy text editor like nano with sytax highlighting? i do not have the time to learn vi.
Click to expand...
Click to collapse
vi is easy actually, :q quitsm :wq writes and quit, :wq! the ! is to force over write.
but i preffer pico or nano
on topic:
i installed locate and updatedb to search for files on the phone
apt-get locate
apt-get nss-updatedb
i had to install G++ and Javac
then i did vncserver and a gui...
well i have aircrack-ng in debian on my G1
only issue is ifconfig lists tiwlan0 as Ethernet, not a wireless controller
im pretty sure thanks to the Wifi-Tether app we can assume we have full control over the wifi module (it uses the system driver, does not load its own in, checked the code) and you can ifconfig into promisc mode, however i am having unionfs issues (R33-Lite + Debian due to Buuf theme, seems fine bar this bug, everything else runs)
anybody else got ifconfig displaying the wireless settings correctly while chrooted in debian with the mounts done (not unionfs, just sys proc and /dev/pts)
also aircrack-ng is not illegal, getting caught using it on systems that are not yours where the cop understands what your doing on your phone is illegal
this guy claims his aircrack-ng works... hmmmm http://blog.0x82.com/2009/2/15/first-thoughts-on-android-dev-phone-1
unfortunately promiscuous only shows frames received on the currently associated network, regardless of destination mac address.
in order for air-crack to work, you need the to be able to put the device into monitor mode (as opposed to AP, ad-hoc), which currently can't be done.
Out of interest has snyone got X windows running on the 700mb debian image? I cant find any links to any images bigger than the 700mb and i keep getting restrictions saying there is no space... can anyone hook me up?
crackmunky said:
Out of interest has snyone got X windows running on the 700mb debian image? I cant find any links to any images bigger than the 700mb and i keep getting restrictions saying there is no space... can anyone hook me up?
Click to expand...
Click to collapse
No...you'll probably need to resize the ext2 filesystem, which fortunately isn't too big of a problem. Likely if you were able to install Debian on the G1, you can resize without a problem.
Check out the links on resizing for more space for Debian....that should fix you up.
hey everyone,
so i finally got the dock for my TF a couple weeks ago.. i have several friends that are not as tech savvy as i am, but still like android, well i want to offer to root their devices for them. more out of curiosity then need i was wondering if it is possible to unlock and push the recovery from a TF? i know that the TF has ADB on it, but i havent really started any development on the TF its more for fun, i use my nexus 1 for development.. any light you can share on this would be appreciated.
Interesting...
Nice thread i hope some one comes up with further info about this idea i would like to do this too!!!! I have sold mi laptop TF can do everything... And soon W8 will be possible on it and STABLE Ubuntu!!!
I was contemplating this also since a girl I work with wanted me to root her Galaxy S1 but I only had my TF with me and we can't install drivers on the work computers.
I assume it should be possible, you just may need more of the Linux binaries, for example you may need to do it via a chroot install of Ubuntu or as a native (dual-boot) system. Look at the shell scripts and see what binary tools they require (cp, mv, cd etc...), you may be able to do it with Android's toolchain.
There's something in the market called "remote adb" which "might" be of use, but I kind of doubt it. It could also be one of those adbwireless versions of adb where you still do the heavy lifting from the PC.
My take would be to look at the results of google "+source +adb +android" and you'll get a couple of hits that point at adb repos in git format.
Then use a linux box to clone one and point it at some crossbuild tools (see for example the howto build kernel threads that are here and there) and built it for our architecture (arm{le}). I've done this for the bash shell and a few other things I liked in linux and it should be possible. One built, push it into /system/xbin, chmod 755 adb and see how things go.
I don't have the keyboard dock or the OTG dongle so no point in my doing it since I can't test.
Good luck -
edit: http://lackingrhoticity.blogspot.com/2010/02/how-to-build-adb-android-debugger.html seems like as good a place as any since it has source, instructions, etc. So probably all you have to do (if this nutty project will work at all) would be to modify the Makefile so that it's pointing to the toolchain for armv7le (or that's what uname -a shows on my eeepad).
edit: Another one that's already been built for android (I tested it), is sshd or dropbear and here is a link: http://jhulst.com/c/dropbear-ssh-android .
The main thing is being able to hit the device you want to setup using either ssh or scp, and functionally this'll do most if not all or more than adb will. What won't work are any scripts written that are already using adb commands.
thanks for the input originally i was thinking being able to use terminal inside honeycomb, but i suppose the easier (or perhaps better stated, the "road more traveled") route would be dual booting linux and just setting up the dev kit on there..
Latest version of ubuntu by little stevie is your best bet
Hi,
I followed this thread Chroot Ubuntu and installed ubuntu
As other guys, some application won't launch or crash under gnome
On the OP, people talk about memory limit of 32M per app on android, but for example the system monitor is a small app that consumes less than 4M and it won't launch...
Unfortunately, i cannot post on the OP (too few posts for me, cannot post on dev section), so i give what i found here (maybe a gentle admin will move the thread )
So
I installed lxde from terminal, and switched to lxde :
# apt-get install lxde
# update-alternatives --config x-session-manager
(i chose "start lxde")
Click to expand...
Click to collapse
reboot the TF, restart chroot ubuntu, vncserver, then connect, i got the lxde x env, and guess what ?
system monitor works, update manager, synaptic package manager, etc...
Don't know if it's because it's a lighter interface, but it does the trick !
@+
Some things still don't seem to load properly even on lxde , such as chromium, but it seems to be an improvement.
Probably should check for issues involving shared memory and X extensions. Remember, it is not quite the current X.Org you're running.
Sent from my Transformer TF101 using Tapatalk
Thanks for that trick!, but I can run more than 4-5 apps in chroot Ubuntu (not at the same time). I open Firefox, close it, open OpenOffice Writer, close it, open Gedit, close it, open LXTerminal and closeit. After doing this, I'm unable to start other app
tisi1988 said:
Thanks for that trick!, but I can run more than 4-5 apps in chroot Ubuntu (not at the same time). I open Firefox, close it, open OpenOffice Writer, close it, open Gedit, close it, open LXTerminal and closeit. After doing this, I'm unable to start other app
Click to expand...
Click to collapse
That's pretty strange, i made a few tests on mine
I can run at the same time Firefox, LXterminal, Gedit, Synaptic package manager, system monitor, movie player...
Close them, reopen Firefox etc
But Zoho web applis don't start at all for example.
Spidey01 said:
Probably should check for issues involving shared memory and X extensions. Remember, it is not quite the current X.Org you're running.
Sent from my Transformer TF101 using Tapatalk
Click to expand...
Click to collapse
Thanks for the info
I wonder if we can run another distro, ubuntu 11.10 for example, via chroot ?
I noticed that the swap is disabled in the kernel used in the root.fs image, which could maybe help the memory management
Depending on how much work you want to do you can run any distro that supports the processor architecture. I use Debian stable because it seems to have a lot more debs available than Ubuntu, when you have ARM instead of x86 crud .
From talk I believe Ubuntu will eventually be a great choice, perhaps even as a total replacement or dual boot, but the TF101 may look like a G1 or original Droid by then.
Sent from my Transformer TF101 using Tapatalk
ID6548437 said:
That's pretty strange, i made a few tests on mine
I can run at the same time Firefox, LXterminal, Gedit, Synaptic package manager, system monitor, movie player...
Close them, reopen Firefox etc
But Zoho web applis don't start at all for example.
Click to expand...
Click to collapse
I was not so lucky. I can only run one app at a time as well. Maybe there's a difference in how we're set up?
Spidey01 said:
Depending on how much work you want to do you can run any distro that supports the processor architecture. I use Debian stable because it seems to have a lot more debs available than Ubuntu, when you have ARM instead of x86 crud .
From talk I believe Ubuntu will eventually be a great choice, perhaps even as a total replacement or dual boot, but the TF101 may look like a G1 or original Droid by then.
Sent from my Transformer TF101 using Tapatalk
Click to expand...
Click to collapse
I just want to run p2p client to download tv series
Not a lot of stuff
I will take a look at Debian
Thanks
livinsacrfice said:
I was not so lucky. I can only run one app at a time as well. Maybe there's a difference in how we're set up?
Click to expand...
Click to collapse
I made very minor changes to the initial config, i just removed a few app from the menu "Preferences > Desktop session settings"
I just left :
Wicd network manager tray
SSH key agent
Certificate and key storage
Secret storage device
I unchecked all others
And that's all i did, i believe
But i run UltraVNC client from my win xp, what about you ?
oh, I was using the VNC client on the TF101. When I connected from a different machine, I was able to load multiple apps at a time.
Nvidia is pretty good about releasing drivers for their x86 graphics hardware. Have they not released drivers for the transformer geforce that we still have to use vnc servers instead of x.org?
Is there really no way to run x.org on the transformer? That would totally take away the need to use nvflash and deal with partitioning etc....
If we could just chroot and startx right from there and at the same time kill the apk stuff
*YO! New version can connect to a TV via HDMI. If you have a USB-host, you can also connect a keyboard and a mouse!*
Hi. I want to introduce you Wishnu. The essence of our project is the launch of computer OS Linux Debian inside an Android mobile device. Then this device connects to a computer by means of the USB-cable. Actually that allows transforming any Android device into a real computer. You can connect the phone to different computers at home, at work and on a visit and use the phone’s own screen and input equipment on the journey.
We have taken "running chrooted debian/ubuntu on android" idea as the base and created something interesting with it.
First, we have created Android application which starts Debian on android mobile device with one click (no need to type any commands in the terminal etc).
Second, we have written desktop client application which shows Debian desktop running on mobile phone on the PC or laptop with wide screen, mouse and keyboard, so this actually turns the solution to the docking station like Motorola Lapdock or devices such as Pocket Desktop, but much better, cause you don't need to buy additional docking station device and you will immediately receive tons of common desktop applications available from Debian MIPS/ARM repositories (even pdf document viewers, image editors, office with spreadsheets and presentations editors etc).
Also device SD card available inside chrooted system in /media/sharedSD dir.
Watch the video in action
And this one (sorry for the quality, I used my matreshka as a camera).
Screenshots
Currently Wishnu uses Debian 5.0 ARM image taken from this thread. We are planning to add more customized and fresh Debian and Ubuntu OS images.
System requirements
PC client
- OS Windows XP, Vista, 7 (x86) or Linux (x86, x64)
- Java Runtime Environment must be pre-installed.
- Device ADB driver on Windows (on linux no adb driver needed, but adb server should be started as root in most cases)
Android device
- MIPS or ARM
- Mobile processor 500 MHz, 256 mb RAM (Recommended: processor 1 GHz and >512 mb RAM)
- Android OS 1.5 or higher.
- The device must be rooted.
Download and install instructions
Or download on Android Market
This one is much easier to start with than existing LinuxInstaller - no need to type any commands in terminal or adb shell - just download image file and press start. Also desktop client is great idea.
Needs more options for system control though and also Ubuntu image for desktop instead of old debian.
yo, we need some response, please download our awesome application! or at least tell us why you won't do it (maybe Wishnu is useless or smb is better). Thank you!
How does it do with running heavier weight applications such as thunderbird?
agoodm said:
How does it do with running heavier weight applications such as thunderbird?
Click to expand...
Click to collapse
Actually it depends on your phone's performance. We use Sony Ericsson Xperia arc for testing and have no problems running such applications. You better try it and inform us about results)
Are you using the armel or armhf Debian distribution?
nicktastique said:
Are you using the armel or armhf Debian distribution?
Click to expand...
Click to collapse
Currently we have images of debian squeezy for armel and mipsel.
A bit busy with the holidays and all, but I will give it a look. I definitely recommend checking out armhf. I've been testing it on my Droid 3 and cursory benchmarks show it to be something like 850% faster than armel. armel is basically useless in comparison.
Debian's armhf Icweasel 9.0 was actually faster than the native Firefox Mobile 9.0 app on the SunSpider benchmark (by 80ms, but still).
Thanks for your work, looking forward to checking it out.
lokosokol said:
Currently we have images of debian squeezy for armel and mipsel.
Click to expand...
Click to collapse
Very interesting idea, and I'd love to give it a go. Unfortunately, it doesn't work for me. I get an error, "Can't connect to OS image".
The checks run okay, so everything appears to be okay.
I'm using a Samsung GS2, on 2.3.5 (stock ROM), so hardware and OS are more than adequate.
Edit: Okay, so it was the stock ROM that was the problem. I assume it doesn't support loop devices (whatever that actually means!) I've got a custom ROM on there now and it gets a lot further, but I still have an issue.
It gets to the "Starting System" stage and I get the error message "OS start failed (bad program identificator)".
So, any advice?
Thank you for your advice, guys!
nicktastique said:
A bit busy with the holidays and all, but I will give it a look. I definitely recommend checking out armhf. I've been testing it on my Droid 3 and cursory benchmarks show it to be something like 850% faster than armel. armel is basically useless in comparison.
Debian's armhf Icweasel 9.0 was actually faster than the native Firefox Mobile 9.0 app on the SunSpider benchmark (by 80ms, but still).
Thanks for your work, looking forward to checking it out.
Click to expand...
Click to collapse
Thank you very much for this hint — we are working on preparing better system images and will definitely give this option a try.
Archer said:
Very interesting idea, and I'd love to give it a go. Unfortunately, it doesn't work for me. I get an error, "Can't connect to OS image".
The checks run okay, so everything appears to be okay.
I'm using a Samsung GS2, on 2.3.5 (stock ROM), so hardware and OS are more than adequate.
Edit: Okay, so it was the stock ROM that was the problem. I assume it doesn't support loop devices (whatever that actually means!) I've got a custom ROM on there now and it gets a lot further, but I still have an issue.
It gets to the "Starting System" stage and I get the error message "OS start failed (bad program identificator)".
So, any advice?
Click to expand...
Click to collapse
Could you give us a log file of that failed launch? It should be in "/path_to_application_data/log" folder.
I tried it out and I get "Error:OS start failed (timeout expired)
Here is the log:
Code:
############Preparing Base System############
############Preparing Base System Check############
***Checking Ext2 exists/not exists***
true
***Checking system loop device file '/dev/block/wishnuloop' exists***
true
############Preparing Base System Check Finishes############
############Preparing Base System Ends############
############Mounting System Image############
############Mounting System Check############
**Checking /dev/block/wishnuloop mounted/not mounted**
#busybox losetup /dev/block/wishnuloop
/dev/block/wishnuloop: 0 /mnt/sdcard/wishnu/system.img
Return code: 0
**Check /data/data/edu.phystech.wishnu/system mounted/not mounted**
#busybox mountpoint /data/data/edu.phystech.wishnu/system
Return code: 0
############All Correct############
############Mounting System Image Ends############
############Preparing System############
############Preparing System Check############
**Check /data/data/edu.phystech.wishnu/system/dev/pts mounted/not mounted**
#busybox mountpoint /data/data/edu.phystech.wishnu/system/dev/pts
Return code: 0
**Check /data/data/edu.phystech.wishnu/system/proc mounted/not mounted**
#busybox mountpoint /data/data/edu.phystech.wishnu/system/proc
Return code: 0
**Check /data/data/edu.phystech.wishnu/system/sys mounted/not mounted**
#busybox mountpoint /data/data/edu.phystech.wishnu/system/sys
Return code: 0
**Check /data/data/edu.phystech.wishnu/system/media/sharedSD mounted/not mounted**
#busybox mountpoint /data/data/edu.phystech.wishnu/system/media/sharedSD
Return code: 0
############All Correct############
############Preparing System Ends############
############Starting System############
############Starting System Check############
############start from ip_forward############
#busybox sysctl -w net.ipv4.ip_forward=1
net.ipv4.ip_forward = 1
Return code: 0
#busybox chroot /data/data/edu.phystech.wishnu/system /bin/bash -l
su: applet not found
#busybox fuser -k /data/data/edu.phystech.wishnu/system
Return code: 1
#rm /data/data/edu.phystech.wishnu/system/root/.vnc/localhost:1.pid
rm failed for /data/data/edu.phystech.wishnu/system/root/.vnc/localhost:1.pid, No such file or directory
Return code: 255
############Start Failed############
According to the log your busybox is a bit "incomplete" - it doesn't include a chroot applet (which is really strange). I think reinstalling it should solve the problem (in this case busybox installer or BusyBox from android market should help).
I have tried several versions of busybox (1.19.3, 1.18.4, etc) and they all give the same error. It seems that it tries to run "busybox su" when it does not exist..
Ok, this means that we also have some problems with log printing.
Using "busybox su" seemed to be a bit safe command (it worked on all devices we have for testing). Now it turned out that it doesn't work on every device.
By the way I think I should introduce myself - I'm one of the Wishnu developers, so with any problems you can write to me.
The website claims the app on android can run by itself without using a computer. Does this mean the Debian environment is self-contained and can be run as such? The app seems to start linux, but a computer is then required to view the desktop, correct? How does one view the linux desktop from the phone itself?
The app runs fine on my phone. The image file needs to be place on the internal memory, rather than the SD card itself for it to run properly.
Droid 3 running Steel Droid 3 with root.
GoTeamScotch said:
The app seems to start linux, but a computer is then required to view the desktop, correct? How does one view the linux desktop from the phone itself?
Click to expand...
Click to collapse
You can use any VNC client from the android market to get the picture from the linux desktop on your phone.
There connection address is "localhost", port 5901 and password is "android".
You can check gallery on our site to see how it works (photo with phone connected to the TV).
e334 said:
It seems that it tries to run "busybox su" when it does not exist..
Click to expand...
Click to collapse
Checked the source code of the app - version that should be on the android market and the site shouldn't run any "busybox su" command (however it is always possible that we made a mistake).
So first of all I want to make sure that your busybox has chroot applet.
Please, could you perform "busybox chroot " command from the adb shell (or in the terminal emulator in your phone) and post here a result of this command?
If it works I'll attach the launching script (nearly the same we have in the app) and I hope we will find out what's wrong with the launching procedure.
Awesome, thank you very much for the tip! I downloaded a free VNC viewer app from the market and entered the info you gave and it worked! The desktop is a little sluggish but that's sort of to be expected, even with a dual-core phone.
This is very cool software! I didn't realize running Linux on a Droid 3 was possible as of yet because of loopback support. I've been looking into ways of installing Linux since I got the phone, but couldn't find a way around my kernel's lack of loopback. How does your software overcome this obstacle? Are there any plans of improving speed in future releases?
By the way, if your group would like a graphics designer for UI elements or website images I am available! I work for a company in Olympia, Washington making graphics (in-store signs, exterior posters, skins, icons, etc...). This seems like a cool project and I'd be willing to help out for a cup of coffee or something.
Great project.
Do you have more info on building Debian for Android? Also, how much of the "native" Debian UI apps are transferable (and usable) from the phone?