Hi guys!
It took me a while to make it running. I get into the login screen, but login without keyboard is kind of tricky. Anyone an idea how to proceed from here?
Squix
Could you share?
Hi,
could you please share how you did it and post the necessary files? Once i have it running maybe i can help you, but it doesent work on my touch yet. Are you using haret? If so could you post your default.txt initrd haret.exe ... and all the other files needed? Which ROM are you using, how much memory do you have free (RAM/ROM). Sorry if i annoy you, but i want to run Linux on my elf
greetz and thx
Oli
You guys are out of your minds... I'm excited how your experiment will turn out....
up up!! =) This was my dream from the beginning, can't wait))
i tried, but i think that our elf is poor of RAM memory...
squix78 said:
Hi guys!
It took me a while to make it running. I get into the login screen, but login without keyboard is kind of tricky. Anyone an idea how to proceed from here?
Squix
Click to expand...
Click to collapse
Did you make any change to Linwizard? Care to share how you get it working? How about getting Android running on the Elf?
Hi guys!
Sorry I couldn't get back to you earlier. I'd like to zip my haret setup and post it here, but right now I don't have the time for it. Maybe tonight...
But basically I'm using the standart linwizard initrd and zImage files, but I replaced the older 0.5.0 version of Haret if the newer 0.5.1. For the first run I connected to the Elf with telnet to see which processes were running and killed all, that I thought I wouldn't need. Then I made a shortcut to the haret file and made sure, that it would be available in the start menu. So I didn't have to run the file explorer which consumes a lot of RAM. I also closed ActiveSync and made a soft reset before running haret and linux.
For the subsequent runs i added the kill commands to the default.txt file. Of course, this is a little bit dangerous, but works well. Ah, and another thing:
I added the root wait to the default.txt command line options. This leaves some time for the system to recognize the file system. Before that I sometimes out Kernel Panics. Here's my default.txt, but be careful with the kill commands!!!
kill QuickDial.exe
kill MediaHubMini.exe
kill APLauncher.exe
kill Biotouch.exe
kill tmail.exe
kill SAPSettings.exe
kill connmgr.exe
set MTYPE 6666
set KERNEL "zImage"
set INITRD "initrd"
set CMDLINE "rootdelay=10 root=/dev/ram0 ramdisk_size=20504 init=/linuxrc rw"
bootlinux
About my initial question: after getting to the login screen I can connect to the Elf with the USB wire and on my WinXP machine I get a "new hardware found : ether gadget" dialog. But I can't find any drivers for that. Does anyone knowwhat I could do here (besides the obvious tip to use Linux on the desktop machine). If that would be working, I could use ssh to log in to the touch ssh server and I could start the x server from there...
So far I had no luck to run android. This might be because it's compiled with different options or because it consumes more RAM. I think the Elf resets immediately after pressing run in Haret.
[UPDATE]: I could solve the "no keyboard" problem by attaching the fully bootet linux-on-elf to my Mac. The Mac recognized the CDC Ethernet device and I could login using ssh to the dropbear server on the ELF. From there I could run startx and even had a very simple x server running with a clock and a xterm! If this is running, why shouldn't we make android running on our touch?!
Perhaps that's because Elf has small RAM as you mentioned... did any1 tried on Elfin?
After I could bring up the Linwizard's x server with the two mini apps I could even boot into the first three boot messages of android. But after that it dies:
...
init: HOW ARE YOU GENTLEMEN
init: reading config files
init: device init
_ (blinking cursor)
does anyone have an idea what that could mean? the blinking cursor somehow seems to signal that it hasn't died yet, but there's no progress either...
[Update]: Hm, the linux really didn't die. When I plug in the usb wire I get:
udc: USB reset done, gadget ether. The question is, how can I continue from here. What is androids IP. I tried to pass it to the cmdline argument, but no luck so far
Android Kernel and Framebuffer
There are several Problems. First you need an Android patched and enabled kernel. I am working on that now. The second Problem is that the omap framebuffer driver doesnt support double buffering.
With the little hack from here it could work. But i havent had the time to try it yet. When i am finished with testing i'll post my results here.
greetz
Oli
I'm able to boot Linwizard 0.2.0 on my Elfin. Great work from the Linwizard team!
With the new Linwizard kernel I even get the tux Logo and after using the android initrd I get a ANDROID line and a blinking cursor. How far are we now from bringing up the x server?
Anyone successful?
I forgot to mention that I have a WM6.1 Blue elves images on my ELF. With the KILL commands I'm trying to free up some space before starting linux
Hav you tried with the light ROM?? and please anyone who has an ELFIN try to run android on it)) if it's successful I'll buy one)) for now I have just an ELF
For the moment my N95 is in service for repair, so i can't loose my only way of comunicating with the outer world, but as soon as it gets back me, i'll try Android and post back results
Sorry, didn't have time to try the light rom yet and probably neither for the rest of the weekend... I hope to get to that next week...
And try to find the reg tweaks to save RAM. Coz for now I'm not ready to to change my ROM and delete everything))
NFS?
Was any one of you mounting the android image over nfs? What are the CMDLINE options and which IP will the kernel have afterwards? Before going on I'd like to try the NFS way, just to see how far we can get, if the cell phone is attached to a supporting Laptop (not that mobile though)
First you need the Linwizard android branch kernel. I've downloaded the android branch from Linwizard git server and compiled my own.
After that you need to export your android file system via NFS on the PC side. On your Elf, do a 'mount -t nfs -o nolock <you pc ip address>:<file path to your android file system> <local mount point on Elf>'. After that, do a chroot on Elf to start Android. See http://elinux.org/Android_on_OMAP#Start_up for details.
I've tried this on my Elfin and I can see the red eye moving. But after some time I get a segmentation fault and the red eye stops. The Elfin did not hang though. I can still ssh into it. I have not had time to further test after this.
nothing booting?
on my HTC elf it says not much text. last line is: booting to kernel.
after that it goes gray and 2 seconds later it goes to a white screen what am i doing wrong.
my default.txt is attached.
thanks
Related
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.
Ok, theres a lot of threads out there on getting Debian working "with" Android side by side. What about getting Debian working primarily and natively? You can easily modify the bootloader to boot into Debian.
No I'm not talking about chrooting into debian from the Android environment.
With this being said there are plenty of possibilities. Debian works natively with ARM, so you can go ahead and install Xorg with touchpad driver etc. and get Debian working up to fullspeed. Believe me, it works a 1000x better than using AndroidVNC and tightvnc server. You can actually use mplayer with ffmpeg to play any type of vidoes off your sdcard at fullspeed.
So anyway, what do you guys think? Maybe theres a way to modify the bootloader so at boot time you can choose to boot into debian or android etc. or maybe it would be possible to lets say "boot debian" and vnc into androids fb to "make a phone call" etc., kind of a like a reverse vnc method we use to get into X on the debian side. Heck - we could maybe even figure out how to access the framework to make calls natively through debian. The possibilities are endless.
Also, I'll edit this post and try to get a guide going here in a couple days on how to get Debian ARM/Xorg working.
I was actually wondering myself if this could be done. Heck, not like I do not enjoy android or anything. It would be great to be able to run a lot of my *nix apps natively on my phone.
I already have Debian runnin off my 8GB sdcard(unfortunately a class 2) and I enjoy it. Problem is having to shut it down and restart it so much to get functionality out of my G1.
Keep me up to date on your progress and let me know the best GUI to use for better performance.
so whats the deal, anyone actually got this working? i have no use for my brothers g1 considering the low call quality/not recieving mms'es, i mean literally if i put them side by side, my excalibur has better service/reception. and id be pretty sweet to have crystal fvwm running on g1. so it doesnt really matter to me if i could get it to make calls, as theres always skype/amsn w.e. so pretty much anyone got any links on getting a native debian install?
dinscurge said:
so whats the deal, anyone actually got this working? i have no use for my brothers g1 considering the low call quality/not recieving mms'es, i mean literally if i put them side by side, my excalibur has better service/reception. and id be pretty sweet to have crystal fvwm running on g1. so it doesnt really matter to me if i could get it to make calls, as theres always skype/amsn w.e. so pretty much anyone got any links on getting a native debian install?
Click to expand...
Click to collapse
Yes they got this working. If you looked at the bible you would've seen this. But I will give you the link enjoy it is very cool. Youtube has some videos also.
http://www.saurik.com/id/10
Royalknight6190 said:
Yes they got this working. If you looked at the bible you would've seen this. But I will give you the link enjoy it is very cool. Youtube has some videos also.
http://www.saurik.com/id/10
Click to expand...
Click to collapse
no you misunderstand . i mean run debian native, as in to replace android
dinscurge said:
no you misunderstand . i mean run debian native, as in to replace android
Click to expand...
Click to collapse
Gotcha Sorry, um let me look around for yeah.
hey...check this out
http://www.youtube.com/watch?v=tX1BOGl8Fnw
and heres another xda thread here
http://forum.xda-developers.com/showthread.php?t=624392
USHERROB said:
hey...check this out
http://www.youtube.com/watch?v=tX1BOGl8Fnw
and heres another xda thread here
http://forum.xda-developers.com/showthread.php?t=624392
Click to expand...
Click to collapse
ahh thx for the link i saw this before but misplaced the bookmark. but im afraid thats not exactly what im looking for but that probably doesnt exist. as this is only set up to have dual boot booting android/debian of 3rd part on sdcard. and as far as i am seeing in the thread it isnt working to well. that im just going to have to wait and see what happens.
This is an old thread, but still a very interesting topic.
Would be *great* to but debian at the bottom of things.
A note about the bootloader: It is ***ALREADY DUALBOOT***. There are TWO boot partitions on the phone: "boot" and "recovery". If you want to set it up to dualboot, but your primary (automated) boot kernel into "boot", and your secondary in "recovery".
As long as you have an engineering SPL, the actual recovery is not required -- in fact, if you WANT to boot into recovery, you can always "fastboot boot recovery.img" without even having to flash the recovery to the phone.
I tell you the thing that really bugs me about android: that it doesn't support existing X.
What I dream of at night is running the ANDROID stuff ON TOP OF X. It would present a little bit of a challenge in terms of having the PHONE app (or whatever) be able to pop up to the top. There would also be some RESOURCE challenges. DREAM may not be the best hardware to implement this on.
Native Xorg
A slight off-topic because I have Samsung Galaxy
I was also fascinated by this possibility of running debian linux, Xorg on the phone.
So I created this project "linux-on-android" (sorry, I am not allowed to post links yet) on the google code where I am going to post instructions and code. Please, join the project if you are interested. It should be completely open.
The idea is to start with something simple but working and move slowly. In order to run X server from the Debian distribution it is enough to just use the Android kernel, with only a little change to the framebuffer driver. I don't change the boot procedure - only turn off the android services and put things like startx instead. Now I am trying to use matchbox+LXDE and they look nice and fast. Wifi and touchpad work. Nothing else does. I thought about what would be the minimal working configuration and decided that power management + telephony would be very good.
With the telephony I plan to leave the android RIL daemon and write a small python program that would communicate with it and act as a dialer. It appears to be not such a problem, at least I am able to communicate with the daemon now and all requests are nicely wrapped in python methods. The next step is to write phone GUI/dialer.
I think it would be already very nice to have Xorg and debian running on top of the android daemons and android kernel replacing this "zygote" stuff. Also if we do something in this way, it would probably work on any android-based phone without big changes.
About dual-boot: I am still using chroot, I don't find anything bad in it. I have two different boot.img files, they only differ by init.rc, one which starts zygote, and one which starts Xorg. In Android I press a button and reboot in debian, in debian I press a button and reboot in android.
klinck said:
A slight off-topic because I have Samsung Galaxy
I was also fascinated by this possibility of running debian linux, Xorg on the phone.
So I created this project "linux-on-android" (sorry, I am not allowed to post links yet) on the google code where I am going to post instructions and code.
Click to expand...
Click to collapse
I'll post it for you in the hope to get something good going here
http://code.google.com/p/linux-on-android/
Wow klinck you really seem to be making awesome progress here man. Just looking through your project page and i see it being updated every day. I just watched the video proof and i must say it's really quite impressive.
What needs to be done now is make a guide for this, so people can easily install this on their G1 and test it.
Also, this will give it more developer attention. I really think this deserves a chance
EDIT: added links for easyness
Jefmeister said:
EDIT: added links for easyness
Click to expand...
Click to collapse
To Jefmeister: thanks for posting the links and your interest.
About G1: As I said, I have Samsung Galaxy, so I don't have a chance to test it on G1. But still I can probably make a "binary distribution" for G1 and somebody else can test it. There are some hardware differences, to summarize, there are 3 things I need to change:
I need a kernel for G1 with ext3 support, and patched framebuffer driver which turns double buffering into single buffering and automatically updates screen at regular intervals
I need to know if tslib driver works with touchscreen from G1 and what is the corresponding device (it is /dev/input/event2 in my case)
I need to know where to put the debian distribution. In Galaxy we have a separate 1Gb ext3 partition on SD card which is normally used for '/data' directory, so there is a plenty of free space there. But I guess it may be different on G1.
klinck said:
To Jefmeister: thanks for posting the links and your interest.
About G1: As I said, I have Samsung Galaxy, so I don't have a chance to test it on G1. But still I can probably make a "binary distribution" for G1 and somebody else can test it. There are some hardware differences, to summarize, there are 3 things I need to change:
I need a kernel for G1 with ext3 support, and patched framebuffer driver which turns double buffering into single buffering and automatically updates screen at regular intervals
I need to know if tslib driver works with touchscreen from G1 and what is the corresponding device (it is /dev/input/event2 in my case)
I need to know where to put the debian distribution. In Galaxy we have a separate 1Gb ext3 partition on SD card which is normally used for '/data' directory, so there is a plenty of free space there. But I guess it may be different on G1.
Click to expand...
Click to collapse
(3): You could certainly put it all on the sdcard in exactly the same way. As long as you have the sdcard driver built into the kernel, the sdcard is just like any other storage device.
I dont know if this is going to be of any help to you, but as I was searching around for a way to nativly install linux on my dream I found this.
http://www.htc-linux.org/wiki/index.php?title=Dream
It may interesting as a point of refrence.
anyway, keep up the good work, once my conract expires this is exactly the kind of thing I would love to do with my old phone
Hi all !
I have actually an Debian NATIVE on my G1, both Debian/OpenMOKO/Android on the SAME phone.
android are into NAND FLASH, OpenMOKO (for tests and few binaries/config files) into SD2 Partition, and Debian with all tools to compilation, into SD3 Partition.
Actualy work on my Debian G1 :
USB NET
Xorg
Keyboard (but one touch not responding)
Touchscreen (but the calibration into Worg not work, into FBCONS it's OK)
Trackball (but the ball not "click")
I trying to make call, with OpenMoko I can ring my phone.
I trying also WiFi : Crash :'(
for bluetooth, I don't have the fu***** firmware ...
For ALL : You can boot debian with fastboot or recovery.
Debian CAN be into SD1/FAT32 parition, into loop file. I make an boot img, who can boot from SD1 part with loop image you don't must repartition SDCARD, or have dedicated SD card.
Hi guys Eclair for Polaris 200 is now reality!!!
FILE TO DOWNLOAD: EclairPack
HOW TO:
Unzip "EclairPack" on the root of your SD card
Run Haret.exe and Enjoy
In case of white screen try to change the default.txt.
Tnx to polyrhythmic
link to Basefile broken
The link to Basefile is wrong. Please correct it !
http://vogue-android.googlecode.com/files/basefiles-20091116.zip
Doesn't work
Haret say "go go go", the screen goes black and stay like this for ever, however the backlight remains on.
Dosent work
Dosent work all black screen
If you have a working default.txt, I suggest you not to change it with the one that is shown in the first post.
You've got to take into account that it uses a panel type = 3, and that's not true for every device (it's 0 normally)
it works Thx SuperJMN
Thx again
regard Jouixs
With type=0 the linux start, but complain about the missing system.img, so I put the system.sqsh from first archive. This time the screen becomes garbled and notting happens anymore.
I've updated the first post with my configuration files.
I hope that this will resolve your problems
Fusione, it works smooth and greatly Thanks for the update, and for the pack! I didn't need it to work, but a lot of newbies will see it as a salvation.
just flicked back to the site for news on wm7. saw this post, can i just check...
this runs android (clicking the executable) without messing up/wiping wm rom. just equivalent to dual boot. boot the windows phone and then start android with no affects to original rom. exit android when you want, back to windows environment
is that right??
please don't bollock me for not having done any research, it's quite a simple question that i'm sure others would like to know quickly and easily
thanks
you boot into windows mobile and run a executable file which loads android. after you turn off your phone (in any way) you boot back into windows, but you can not just close the android program and be back into windows - you have to reboot.
no info or setting in windows is deleted
This Eclair build is way better than I thought. It's fast and responsive.
However I noticed some annoyances:
- The music player doesn't list songs into \SDCard\Music
- It often starts up and detects the network, but says it has no coverage (UMTS).
And veterans like:
- Sometimes, the device doesn't sleep.
- The modem application doesn't reconnect after an eventual disconnection.
flash?
Downloading!!!
Nice work
Do any of you know of a way to flash the polaris so that the os is permanent?
Nicolai
vestlink said:
Downloading!!!
Nice work
Do any of you know of a way to flash the polaris so that the os is permanent?
Nicolai
Click to expand...
Click to collapse
It's not possible, for the moment. Sorry
as for the donut version, the BT doesn't work. some improvement. nice to play, but until we can not have a FULL working android rom flashed on our device, I think this "emulation" is useless.
can not use market, create new google account, sync, use gps...
just my opinion.
SuperJMN said:
It's not possible, for the moment. Sorry
Click to expand...
Click to collapse
alas :-(
Well it's up and running and very smooth
I sat the panel to the value 1.
tnx again
poniter out of sync
is there any way to calibrate your screen?
Nicolai
Hello everybody
I'm using the polyrhythmic's Dark Themed Beta 3 system.sqsh too with this default.txt
PHP:
set RAMSIZE 0x08000000
set MTYPE 1723
set KERNEL zImage
set initrd initrd.gz
set cmdline "board-htcpolaris.panel_type=3 pm.sleep_mode=1 mddi.width=320 mddi.height=480 no_console_suspend board-htcpolaris-battery.battery_capacity=1350 clock-7x00.mddi=0xa51 lcd.density=160 ppp.nostart=1"
boot
rootfs 06.01.2010 from here: http://sourceforge.net/projects/androidhtc/files/2010-01-06/rootfs-2010-01-06a.zip/download
zImage 14.12.2010 from here: http://sourceforge.net/projects/androidhtc/files/2009-12-14/zImage/download
and everything works fine indeed.
I'm waiting to see how qiuck will the battery drain.
About the music player on my device it lists all the music from sdcard.
I like the Nexus One Boot Screen
custom locale
when trying to use the custom locale da_DK the phone went into ternminal mode and stopped responding
Nicolai
This is easier than making a cup of coffee.
Pictures below as attachment couldnt figure how to put the pic here edit figured it out now im just lazy.
you dont have to do it the hard way
Everyone (edit: i thought so at the time)will want this "Fully" (note below) funtioning Ubuntu system
or you can make your own here: http://forum.xda-developers.com/showthread.php?t=913622
I will be maintaning and updating as time permits
Phone has to be rooted: http://forum.xda-developers.com/wiki/index.php?title=HTC_Supersonic/Guides_&_Tutorials
NEW IMAGE 3.5 gigibyte
Lucid base image (only added: lxde and tightvncserver): Zip http://www.megaupload.com/?d=GLMYVCMN User: "dad" Passwd:ffffffff
Remove app2sd and settings- applications- manage applications- sdcard "move all apps to phone" or it will not work!
I suggest you install gnome-panel
I use it and i find no speed differance!
trying to get :upstart services" to work im looking into compiling a kernel with "CONFIG_TMPFS enabled, to initiate a workaround, because "upstart" services wont work in a chroot.
Stock Maverick : http://www.megaupload.com/?d=56AT71WD
Karmic Sucks programs stop opening after some short time, so i gave up.
Tested with: CM7 http://mirror.teamdouche.net/get/supersonic/update-cm-7.0.0-RC1-Supersonic-signed.zip
CM6: http://mirror.teamdouche.net/get/supersonic/update-cm-6.1.2-Supersonic-signed.zip
myn-WarmTwoPointTwo-11-05-2010-RLS-3
Unzip
Copy the "ubuntu" folder to your sd card
Go to market download "Terminal" and android VNC Viewer
Open terminal and type: (without the quotes), "su" then "cd /sdcard/ubuntu"
then "sh ./ubuntu.sh"
then "bootubuntu"
then "vncserver :0 -geometry 1024x800"
Thats it, go to android VNC Viewer and use dad for nickname, "ffffffff" for the password, "localhost", for address, 5900 for the port, Use 24bit veiwing settings, then go.
to shutdown you will have to power off phone and power back on.
Enter in your :"Initial Command",in the settings of Android Terminal:
su
cd /sdcard/ubuntu
sh ./ubuntu.sh
bootubuntu
So everytime you want to start ubuntu just open terminal
to start VNC SERVER automaticly you will have to add to the bottom of your /home/.bashrc file this:
cd /
rm -r -f /tmp
mkdir /tmp
vncserver :0 -geometry 1024x800
Thats it, your off ENJOY
Notes: Its as fully funtioning for myself, cant speak for everyone
This is in Beta stages I am an old Visual Basic dabbler as a hobby, and am not very fluent in the lenux operating system. However this "ubuntu on mobile device" has rekindled a lost desire to program.
I will update changes as i get the time
If anyone would like to contribute their lenux expertese to iron out the bugs, i and so many others would appreciate it
Issues to work on:
:no sound
NOTE: A big kernel level problem is the lack of sound. Most of the kernels we use as a base for our ports are designed for Google Android. Android doesn't use the standard Linux sound System ALSA. An ALSA wrapper for the EVO DSP kernel system must be written.
:Setting up users and groups (used kusers but seemed to slow system a bit, needs kde-common) But is very tolorable, I actually use dolphin. (cant get nautilus to create folders or files (destination read only? u got me)).
:hacked /root/.bashrc for easy login help (when using terminal runs .bashrc. dont know anotherway to start hamachi on login and also vncserver tries to restart)
:keyboard mapping (mapping arrow keys to the abc keyboard it has arrow keys, esc,etc...)
: No way to exit or turn off ubuntu. You have to turn off phone, to turn off ubuntu.
nce in a while the programs refuse to open, it has somthing to do with ?. you have to restart ubuntu again.
I suppose a fluent ubuntu/lenux person could help change usernames and such, using the terminal,set proper permissions and such
Im using CyanogenMod Rom its the only one that works with Hamachi
your rom will most likely work, however networking wont!
Tips:
ownload VNC for your computer and modify your ubuntu desktop on your computer screen (that way i dont need my glasses) (use "ifconfig" to find ip address)
:You can even use VNC to view the build while in qemu emulation, after installing lxde and tightvncserver in the emulation. (watch out for seg faults)
:In terminal, preferances-initial command, enter the "cd /sdcard/ubuntu ...etc ," that way its a one click to login .
:Get "abc keyboard" from market it has the esc, arrow keys etc... ( extra keys only good outside chroot, the "terminal", on your android desktop)
:If your not familiar with ubuntu, you use synaptic package manager to install programs
:When u share over himachi or start smbd, programs will stop opening.
.
Trust me everything i want it use it for seems to be pretty zippy, but just give a little xtra time for programs to load the first time. (Firefox may take 90 sec. to load the first time. After that its a snap)
I Would like to check into this
The no sound issue is getting to me, I may wait for that as that is an essential to my all in one device.
THANKS FOR THE HARD WORK. I LOVE UBUNTU
you really have to try it and tell everyone about it cant believe its not one of the hottest topics
I Would like to check into this
any way to delete this post....didn't mean to submit, came back to send like i didn't send it but ending up sending twice
apologies
Sounds pretty cool, I will defiantly have to give this a try. Question though, is this installing over top of the rom I am currently using. Example I am using the MIUI 1.22, if I install this is this like dual booting or will it just uninstall every time I reboot the phone??
Is it still uploading? I really want to try this!
corybucher said:
Sounds pretty cool, I will defiantly have to give this a try. Question though, is this installing over top of the rom I am currently using. Example I am using the MIUI 1.22, if I install this is this like dual booting or will it just uninstall every time I reboot the phone??
Click to expand...
Click to collapse
This will sit on your sdcard and ride side by side with your android system (you can use your phone at the same time)
IT DOES NOT EFFECT YOUR PHONE IN ANY WAY
wasnt shouting just wanted everyone to see
ioos said:
Is it still uploading? I really want to try this!
Click to expand...
Click to collapse
Download away!
This is awesome! I can't wait to get home and give it a try.
This is gonna be a great weekend. Between this and the flashable ROMs that are starting to roll out for my nook color, I might be sprouting antennae by Monday.
So wep cracking soon...? That's about the only thing I want/need Linux for.
Sent from the void...
wuclan48 said:
So wep cracking soon...? That's about the only thing I want/need Linux for.
Sent from the void...
Click to expand...
Click to collapse
How would one go about this "wep cracking thing"
please explain further
Almost* all WEP and some** WPA wireless passwords can be cracked. IMHO its easiest to do this on a Linux machine (please take note I love all OSs equally!)
*I forget how accurate this is but some WEP keys(like crazy long ones) can cause problems l in cracking, thus being protected (though not by design)
**most wpa specifications are not crackable yet and those that are often have a very stringent set of requirements (off the top of my head: most require someone to be legitimately connected to the access point and very simple passwords with low encryption.
On topic, though, this is sweet. Hope I can get something like this on my galaxy tab too!
EDIT: If you really need to know this (please only for testing... not to mooch people's internet) Google "wep cracking on backtrack"
The short simple answer is you sniff packets that the wireless access points send out and manipulate them to decrypt the key.
EDIT 2: I just realized you are also the guy who made this. Let me answer a few questions.
1) For audio you probably need to find a way to register the hardware with a Linux Audio Mixer. I'm guessing Ubuntu uses ALSA? I'd have to look that up
2) For users, kusers is part of the KDE desktop system. Ubuntu uses GNOME. People generally only use one or the other (unless they're trying to show off). That's probably why it either a) won't work or b) not work well and take up lots of extra space
3) It's Linux, not Lenux (but that's fine I can sense English isn't your first language... it's not mine either, but that's fine ^^)
the download has a "zipx" extension.
I did a little googling and it looks like that is winzips new default compression method, and the only way to open the archive is with winzip, bitzipper, pkzip, or a couple of others. none of the compression utilities I typically use (7zip on Windows, unarchiver on mac) seem to support it.
Edit: sorry if I sound unappreciative, I just think its funny to use a proprietary closed format for distribution of software that is all about open software and formats. I'm currently trying to find something that will open this on the mac without being a scummy trial, or ill just do it on a pc.
Sorry i just used the wizard and made a zip file with winzip 12.1
Quote"Almost* all WEP and some** WPA wireless passwords can be cracked. IMHO its easiest to do this on a Linux machine (please take note I love all OSs equally!)
*I forget how accurate this is but some WEP keys(like crazy long ones) can cause problems l in cracking, thus being protected (though not by design)"
Thanks for the info
laydros said:
the download has a "zipx" extension.
I did a little googling and it looks like that is winzips new default compression method, and the only way to open the archive is with winzip, bitzipper, pkzip, or a couple of others. none of the compression utilities I typically use (7zip on Windows, unarchiver on mac) seem to support it.
Edit: sorry if I sound unappreciative, I just think its funny to use a proprietary closed format for distribution of software that is all about open software and formats. I'm currently trying to find something that will open this on the mac without being a scummy trial, or ill just do it on a pc.
Click to expand...
Click to collapse
shame on me .
Your right im a noob and really know too much about it yet i just like having ubuntu on my phone.
Ill do better next time
People talking about cracking WEP and stuff, this probably doesn't have a driver to put the wireless card to put the card in monitor mode.
laydros said:
the download has a "zipx" extension.
I did a little googling and it looks like that is winzips new default compression method, and the only way to open the archive is with winzip, bitzipper, pkzip, or a couple of others. none of the compression utilities I typically use (7zip on Windows, unarchiver on mac) seem to support it.
Edit: sorry if I sound unappreciative, I just think its funny to use a proprietary closed format for distribution of software that is all about open software and formats. I'm currently trying to find something that will open this on the mac without being a scummy trial, or ill just do it on a pc.
Click to expand...
Click to collapse
Have the same problems, did you happen to find anything to open it with? I searched a little on google myself but all I find is software that needs to be purchased.
Homefix said:
Quote"Almost* all WEP and some** WPA wireless passwords can be cracked. IMHO its easiest to do this on a Linux machine (please take note I love all OSs equally!)
*I forget how accurate this is but some WEP keys(like crazy long ones) can cause problems l in cracking, thus being protected (though not by design)"
Thanks for the info
Click to expand...
Click to collapse
AFAIK, WEP can be easily cracked. WPA or WPA2 though, will require bruteforcing, there is no way around it.
corybucher said:
Have the same problems, did you happen to find anything to open it with? I searched a little on google myself but all I find is software that needs to be purchased.
Click to expand...
Click to collapse
I will repackage it, but it might take 3-4 hrs to upload, sorry.
ill get right on it
https://market.android.com/details?id=com.galoula.LinuxInstall
New every thing. Redesign of everything every where, rewite of all English parts, many bug fixes.
What for ? install Debian using debootstrap in chroot, and use your Android device like if you had installed Linux on a standard computer.
Bugs shall be reported to [email protected] .
Misc questions about how to use and feature request and general discussions to [email protected]
Market description:
This application will allow you to install a complete Debian distribution in your Android device. Based on chroot, it will perform a standard debootstrap and install a legacy Debian so that you can install, and run any classic Linux command, tool, daemon or service.
The package has few limitations; it is not restricted to Debian; we already offer the choice to use Ubuntu, and will add more distributions in close future. Each distribution is available in several tastes (stable, testing ...). It will not require to reboot; chroot is run inside Android. Installation can be done on any storage device, either on SD card, or inernal memory; no need to repartition any thing, run mkfs or fdisk. We do with what you let use. If you have almost nothing, the package will manage with almost nothing; if you can afford for a large ext4 partition on your SD card, the package will be happy to use it.
It will allow you to install all classic LAMP services like Apache, MySql, PHP, Samba, Netatalk, or just any classic Linux tool like vim, xterm, aterm, Abiword, Firefox, dillo, wget, cron, Perl, Python ... just everything.
Package utilisation will require a rooted device.
Reasons to install this package can not be listed. Just too many: want a cron daemon ? want to have gcc inside your phone ? want to recompile some kernel driver because the legacy Android driver for your Wi-Fi card has is bogus or limited ? want to use vim, or the real full featured desktop ls, ip, nmap, or top commands ? this package will give you all this for free, and much much more.
Requierments:
- an Android device based on some Linux kernel
- a rooted environment
- 300M free space
That's all.
Optionnal registration on our website, http://android.galoula.com/LinuxInstall/Register.php , will allow you to use advanced management features, and install package from within the application interface. You will not need to type any strange command in any terminal. And you will be able to make some services start automaticly at phone boot, and/or application start.
Online documentation: http://android.galoula.com/en/LinuxInstall/
Quick installation guide: http://android.galoula.com/en/LinuxInstall/QuickTutorial.html
Click to expand...
Click to collapse
Free space must be on sd-card or phone memory?
Both accepted You choose where to install.
500M by default on SD card using loop method (on ext2 or fat). Down to 180M using the directory method (does not work on FAT).
thanks for this man.
Sorry if this is a noob question but will this in any way brick/soft brick my device?
Sent from my GT540RR using XDA App
Yes, it can.
But this app is underdevelopment since almost two years, and nobody ever bricked yet. I have written a very long complete tutorial, where I say what you should NOT do. I could easily tell you how to brick in 5 steps.
But we have been working very hard on default settings, to make default settings as much safe as possible.
There are many bugs, many known bugs; but 99.999% bugs will just make the chroot not work. Data loss is very rare. Data loss was highly probable in previous version 3.2 . But default settings are now safer. And if you do not do what we claim to be dangerous ... you are safe.
The most frequent case with 3.2 was complete wipe of /sdcard and /data . This have been fixed.
We never ran into wipe of /system until now. Never bricked.
And since Galoula and me are working on it, we are the most exposed ones. We test every single feature, in all possible situations. And when we find a wipe case, we repro it dozen time until we understand why, and how to fix, so that it won't happen to YOU.
3.3 is way safer than 3.2. And nobody reported wipe on 3.2 ...
But if you blindely clik any where, yes it can. And if I tell you where to click, you can brick in 5 steps for sure And it won't be a soft brick. I promise a good real brick where even HTC will be in trouble to repair it It's explained in the tutorial.
Wow. Thanks for the reply. At least i have an idea now. Is the tut on the app itself? I'll nake sure to read it very carefully coz i wanna learn all about this stuff
Sent from my GT540RR using XDA App
A not so short tuto is inside; but since most mobile devices have only one screen, you may want to read the online tuto on your computer: http://android.galoula.com/en/LinuxInstall/
Default settings are safe. Just follow the guide.
Will go ahead and read this tut. I'll make sure to give feedback. Thanks for paying attention to this noob
Sent from my GT540RR using XDA App
this is just great, are there any videos or screen shots?
edit: nevermind i just checked the market
Feel free to send us screen shots; I am not good at doing that (i can to shots, but I don't know what could be nice to upload).
We would apreciate shots of working (of course ) VNC clients connected to server running localy, or local consoles (like Connectbot) doing funny things.
Send to support. Thanks.
Spent the whole weekend on this...
I'm trying o get an X- GUI on the Samsung Captivate, (hope i said that right) like Ubuntu so i can VNC to a linux desktop environment. I'm on FASTY and wondering why I keep running into refusal of connection. I have the password and localhost as well as the port correct. I've lost sleep on making this work. Can anyone help...?
You question is somehow off topic.
You seem to have a basic VNC connexion issue.
Could not help without deeper description. And I rarely use VNC, i have very low experience.
First point: do you have free space in the distro ? depending on installation method, and what you installed, you may have run out of disk space (especially Ubuntu, uses lot more than Legacy Debian).
The distribution manager is still beta AOT. It may report the VNC service to be up and running, when it could not rally run. First thing to check is: is it up ?
- from local machine, to ps, and check if process is up
- from remote machine, just scan your IP for the device. VNC should be port 5800 or 5900, forgot which one.
Your VNC password is *NOT* your distribution password. VNC password need to be set at a different place (this is VNC specific; VNC is not UNIX, and never claimed to be fully a *UNIX "merged" service*).
Never used VNC in LinuxInstaller. Never yet. Not enough time to test it. We take report, and will test only major and frequent issues. We have many "easy success" reports, so, we don't worry about it. We have much more issues about rooting (getting root on phone), and starting debootstrap; this is what we focus on.
Make sure you have enough free space (at least 50M free left), then join any Debian or Ubuntu forum. They will ask you if you have a CLI; you shall use either adb shell, or connectbot. Fact you are in a chroot is not an issue, chrooting is not frequent for debian users, chrooting is the normal procedure to install Gentoo; and all debootstrap users use chroot daily; forums should not reject you for this reason. As long as you have a CLI.
Good luck.
Lost me fast...
Sorry..but you lost me, and FAST! I really don't have the terminology down...but I do have the Linux 3.3 Installer running properly...it indicates so. I was assuming that this would allow me to somehow load Ubuntu on my Captivate..as I've seen on some screen shots...I guess I'm just lost...a little knowledge is dangerous...I have a little. Just enough to accomplish the basics..but the vernacular is LOST to me. Guess I'll have to wait for the Ubuntu apk...thanks for trying...
I've got this errors...(see attached files).
I have busybox 1.19, connectbot and the superuser (v2.3.6.3 and su binary v2.3.2, the latest from the maket)...
What can I do?
you guys are still lucky.your able to make it work...
im running the ongoing cm7 2.3.5 on moto defy...
kernel is not supporting this yet.
hailmary what's missing in your kernel ? I don't know any Android that won't have ext2 in; if you have an Android without any ext2 filesystem, please contact me in private, I know it could be done, and I would be VERY CURIOUS to see how HTC did it.
If you are missing loop support in kernel, try block or directory method. Blocck will require ext2; directory won't (but will work only over ext FS ... so ... unless you can use NFS )
dugryce , ScumpinatoS, I will come back later (maybe today, maybe not).
ScumpinatoS said:
I've got this errors...(see attached files).
I have busybox 1.19, connectbot and the superuser (v2.3.6.3 and su binary v2.3.2, the latest from the maket)...
What can I do?
Click to expand...
Click to collapse
Reading the first message, you as, as said, a CPU issue. What's your CPU ? device model ?
run in some console:
uname -a
which tail
Application could not load viable environment to work; it is an issue, but it can be fixed. I can help digging, but I won't give you any solution. Send an email to Galoula; the bug report system via the console should work for you.
doublehp said:
Reading the first message, you as, as said, a CPU issue. What's your CPU ? device model ?
run in some console:
uname -a
which tail
Application could not load viable environment to work; it is an issue, but it can be fixed. I can help digging, but I won't give you any solution. Send an email to Galoula; the bug report system via the console should work for you.
Click to expand...
Click to collapse
I have a Huawei Ideos CPU: MSM7225 without GPU.
I am use it and try install Ubuntu Natty but after download all deb package i get error installation, "issue binary, try other version"
Can someone help me what distro (Ubuntu/Debian) and what version of it that have installed succesfully.. please...
Sent from my GT-S5570 using XDA App