Related
EDIT: I can't post to XDA due to the fact that i just signed up for an account, but look at fards' copy of my post to see how to install Ubuntu on your Dell Streak
Here's Pats Post on modaco;
although it would be nicer to keep development discussion to just one thread, the more constructive input the better
Hello All,
I'm attempting to natively port Ubuntu and/or Debian to the Streak. With it being such a powerful device there really is no reason it SHOULDN'T be running a “desktop” operating system. However, implementing his is quite a difficult task, so if any and everyone's help would be very much appreciated.
In the mean time, this is my first guide on how to get ubuntu running piggyback on the Dell Streak. After quite a while (and numerous different trials), I have found that this is the easiest way to get Ubuntu Mobile up and running fast. All commands can be done through either ADB shell or the terminal emulator on the phone.
This was *NOT* done entirely by me, but is a culmination of the effort of lots of people in the android community. I just modified it so that it would work on the Streak.
**This Installation DOES NOT install Linux natively, and as such is should not be destructive to your Android system, however i take absolutely no responsibility for anything that happens and you do this COMPLETELY at your own risk**
Here is how to do it:
1) Root your phone. There are plenty of guides on how to do it, so find one and get root access on your phone.
**YOUR PHONE MUST BE ROOTED. THIS WILL NOT WORK WITHOUT IT.**
2) Download Ubuntu Mobile Bundle: http://uploading.com/files/bbm6b311/ubuntu.zip/
This contains an image of the filesystem as well as other necessary scripts to get it working.
2) Busybox - Install Titanium Backup from Android Market - if you press the "Problems" button it will install Busybox on your phone for you (Feel free to uninstall Titanium after this is done). This is the fastest and most pain free way to install busybox on the streak that i know of for now (the other ways of doing this ARE NOT fun...)
3) On your SD card's root directory, create a folder called ubuntu and extract all files in the ubuntu mobile bundle there.
4) Replace the bootubuntu executeable file in the ubuntu directory with mine, found here http://www.mediafire.com/?fi011w4fbmymw3y
5) Unmount phone from computer. ADB and Android Terminal will not work if the phone is mounted.
5) Download a terminal from the Android Market - I used Jack Palevich's Android Terminal Emulator (android market search: terminal) but anything similar should work the same
CODE
Code:
su
cd /sdcard/ubuntu
sh ubuntu.sh
6) Ignore any errors thrown up by ubuntu.sh. From this point, all that is needed to boot ubuntu is just to enter this:
CODE
Code:
bootubuntu
To start ubuntu from now on, this is all you need to do.
You should now have ubuntu working on your laptop, and while it DOES connect to your phone's internet sources, it DOES NOT yet have a graphical interface.
Here is how to add one:
1) Update the system with the following commands in ubuntu:
CODE
Code:
apt-get update
apt-get upgrade
The first one updates the package lists, the second one downloads updates to the system itself.
2) Install TightVNC in ubuntu:
CODE
Code:
apt-get install tightvncserver
3) Configure TightVNC:
CODE
Code:
export USER=root
vncserver -geometry 800x480
For security purposes, it is recommended that you assign a password to your VNC server when asked.
4) Download Android VNC Viewer from the market
5) Configure Android VNC Viewer:
Change the port to 5901 and type in your password that you entered before.
Other Problems
There appears to be a bug with the X window server sometimes refusing to connect to VNC. DO NOT change any settings on Android VNC Viewer, instead open a terminal and run the folloring command:
CODE
Code:
rm -R /tmp/.X11-unix
What Does Not Work – Will Try To Fix
Keyboard from Android VNC Viewer
Shutdown – Does Nothing
Reboot
Log Out
Native Install
I hope you guys enjoy this, and I can't wait to get your feedback.
- Pat
Click to expand...
Click to collapse
there was a thread about this but it wasnt work on me. now i am downloading and i will inform you again
what is the address for vnc ?
OMG! Could that be any slower on the download?
EDIT:
That sounded totally ungrateful - sorry!
Thank you very much for this
yeah works fine without problems.
it is better from g1 but not as well as a netbook. so only experimental use i think
I connected to the loopback 127.0.0.1 on 5901 and it worked - haven't seen how to connect to it remotely though
Edit:
Reading is fundamental - I can connect to it form another machine
now to fix the keyboard issue
in terminal emulator there is a note : localhost:1 vnc could work properly so i connect with only port and password.
is it possible to install jolicloud since its an ubuntu based system?
Newbie questions, sorry....
Before to try this port, just some maybe stupid questions for you:
- Still working the phone function?
- Is it easy to go back to standard or Steve Streaks Roms?
- Are there lack of drivers for bluetooth, gps, audio, wifi, etc?
Thanks.
No your missing the point here, this isn't an OS separate to android. Think of this as an app it runs on top of the android system. Also this is very experimental most features would be limited and no ubuntu can't be used as an smartphone os -No phone...
beginner said:
Before to try this port, just some maybe stupid questions for you:
- Still working the phone function?
- Is it easy to go back to standard or Steve Streaks Roms?
- Are there lack of drivers for bluetooth, gps, audio, wifi, etc?
Thanks.
Click to expand...
Click to collapse
1) Ubuntu does not replace android, and the UI only runs in a VNC server, so you can switch back and forth between ubuntu and the phone app (or angry birds?)
2) I installed mine on top of DJ Steve's 1.8.1 rom... It's not native, so it only runs on top of android instead of replacing it
3) Haven't tried audio yet, but it should work (let me know how it goes)... internet connectivity works and provided you have an internet connection enabled in android you can use tools like APT or Firefox in ubuntu... only problem is keyboard is a bit wonky...
For those who had trouble figuring out how to set up the VNC, here is a picture of my VNC configuration on my phone. If you find out the phone's IP address you should even be able to VNC into it from your computer (if your on the same wifi network)
Also, openoffice.org
- pat
Is anyone actively attempting to get Ubuntu running native?
audio not working
keyboard not working
also lots of lags.
ear0wax said:
Is anyone actively attempting to get Ubuntu running native?
Click to expand...
Click to collapse
Yes, i'm looking into it, but it's quite an uphill battle in order to get it working. I'll let everyone know when we make some progress.
www.cepdukkani.net said:
audio not working
keyboard not working
also lots of lags.
Click to expand...
Click to collapse
cause you are running 2 operating systems at the same time
But seriously, if ubuntu can run native (no android in the background) then the lag would be gone, and (if set up right) audio and keyboard would work.
- pat
could i recieve phone and uses sms?
Getting error
Hi all after passing command for booting ubuntu I get a error chroot can't find /bin/bash folder or directory missing
Sent from my Dell Streak using XDA Premium App
www.cepdukkani.net said:
audio not working
Click to expand...
Click to collapse
Im wondering if I install a rdp server instead of vnc if I can get remote audio working.
Ill post with whatever results i get once I'm done waiting 2 hours for the ubuntu image to download.
As for lag. I had a n900 running @600mhz and was doing a chroot into ubuntu and it ran fine, but it used xpyher not vnc. Is there any embedded X servers for android yet? (I highly doubt it)
data requirement for updating GUI pkg of Ubuntu
Can any body tell me size of the data required to update to gui ......as i m not using wi -fi i hv to stick on gsm data usage which is limited in my plan
Very cool!
I had lots of trouble rooting my 2.2.2, but finally got it done by running Gingerbreak twice in a row on a cleanly re-started Streak.
Thanks for a fun gig!
So since the Atrix has this awesome dock mode, I want a synergy client that is enabled when I drop it in the dock on my desk.
That way I can use my regular desktop but jump over to the webtop environment just by mousing off the edge of my desktop screen. I could cut and paste URL's, edit notes in evernote, do a quick SMS reply, etc without having a separte keyboard and mouse for my dock.
Beyond my abilities for now but willing to contribute to development. How hard is this? Is it something others would appreciate?
For those that don't know what I am talking about:
http://synergy2.sourceforge.net/
http://forum.xda-developers.com/showthread.php?t=994761
While I didn't list specific synergy instructions, it's as simple as going to the Jaunty armel repo and find the synergy package. This will only work if your machine and atrix are on the same network or reachable via routing since the communication originates from synergyc (atrix) to synergys (PC).
Also, there is still the outstanding issue of using a remote keyboard to type in the Mobile View window. It doesn't appear to read any of the XKEYBOARD events that are generated.
agentdr8 said:
http://forum.xda-developers.com/showthread.php?t=994761
While I didn't list specific synergy instructions, it's as simple as going to the Jaunty armel repo and find the synergy package. This will only work if your machine and atrix are on the same network or reachable via routing since the communication originates from synergyc (atrix) to synergys (PC).
Also, there is still the outstanding issue of using a remote keyboard to type in the Mobile View window. It doesn't appear to read any of the XKEYBOARD events that are generated.
Click to expand...
Click to collapse
I'm on Gingerblur with all the perks. Plugged in phone into 21 inch monitor with HDMI works perfect. When verifying account it asked to turn on wifi for network. I did, no worries, so I'm same net for PC and webtop.
Synergy is loaded on WIN 7 pc getting ready to install on phone. Researching which deb package I need 32 bit or 64.
Giving it a shot.
dicksteele said:
Researching which deb package I need 32 bit or 64.
Click to expand...
Click to collapse
Neither, you need one compiled for arm
This one should work: https://launchpad.net/ubuntu/jaunty/armel/synergy/1.3.1-5ubuntu2
perkz said:
Neither, you need one compiled for arm
This one should work: https://launchpad.net/ubuntu/jaunty/armel/synergy/1.3.1-5ubuntu2
Click to expand...
Click to collapse
Excellent find. Didnt get a chance to get back to this.
Looks like most of the hard word is done for me.
[MOD] Full Ubuntu on the Atrix
http://forum.xda-developers.com/showthread.php?t=1000316
Got the software loaded. I can start the synergy client in webtop. I have dual monitors side by side, one's the server one is webtop. The mouse works, not the keyboard. Keyboard is usb logitech G-15. Mouse is wireless M310. Both connected to PC.
So Close......
Booya !
Thanks to all the gurus out there it works !!!
Its 1 am in Cali gotta hit the rack.
Here's the steps I did. Except for step 1 they are all scripts
1. Go back to 1.5.2 snf
http://forum.xda-developers.com/showthread.php?t=991072
2. Aroot
http://forum.xda-developers.com/showthread.php?t=981866
3. GingerBlur 6.5
http://forum.xda-developers.com/showthread.php?t=991595
4. Webtop hack
http://forum.xda-developers.com/showthread.php?t=980193
http://forum.xda-developers.com/attachment.php?attachmentid=535183&stc=1&d=1299441670"
5. MOD Full Ubuntu
http://forum.xda-developers.com/showthread.php?t=1000316
(I stopped after the script, I did not update coreutils, etc. etc. I did my first attempt and only mouse worked not keyboard. May just be a fluke)
6. Grab the synergy deb for ARM (THANKS PERKZ !!!!)
https://launchpad.net/ubuntu/jaunty/armel/synergy/1.3.1-5ubuntu2
7. Do the all the steps on [How To] Simplified webtop customization
http://forum.xda-developers.com/showthread.php?t=983208
8. Plug in phone to HDMI monitor
9. I used Android Terminal Emulator on my home screen in mobileview and ran
1. su
2. /usr/bin/sudo -H -u adas bash
3. export DISPLAY=:0
4. /usr/bin/.lxterminal
(These are steps in [How To] Simplified webtop customization)
10. In lxterminal I ran
sudo dpkg -i --root=/osh --force-overwrite /sdcard/download/syn*.deb
(/sdcard/download is where I saved synergy/1.3.1-5ubuntu2 deb package)
11. Ran /usr/bin/synergyc -f mulder (My Synergy server name)
** Already had synergy server running on my WIN 7 x64 PC. In the server config I dropped a screen in and called it localhost.
Worked freaking perfectly
CREDITS:
Sogarth [MOD] Full Ubuntu on the Atrix and [How To] Simplified webtop customization
Designgears for [SCRIPT] aRoot for Atrix 4G [ root - init.d - sideloading - tethering ]
kennethpenn for [ROM] GingerBlur ★ Beta 6.5 ★ and [GUIDE] Flash OLYFR_U4_1.5.2 SBF to Motorola Atrix 4G
perkz for pointing me in the right direction for the arm synergy package
Fenny for [MOD] Webtop Via HDMI Without a Dock - NOW SUPPORTS BELL ATRIX!!!
Hope I didn't miss anyone. Thanks for DJ_smooth for thinking of this. I have machines/servers running synergy at work, it was a great idea.
Hi All,
The following is a custom setup based on LIV2's original tutorial, running Debian Linux with KDE 4 natively (no chroot) instead of Gnome and a few tweaks of my own.
Please follow LIV2's original tutorial and note my changes below:
I have posted the video on my Youtube page (can't add due to insufficient posts)
I will upload the boot.img image and files shortly.
What works
- Booting into KDE 4
- On screen keyboard based on xvkbd
- Wireless bcm4329 driver loads (must configure manually via wpa_supplicant)
- USB keyboard USB OTG cable (made by Motorola)
Instructions
1. Follow LIV2's original instructions until:
Code:
# echo “deb ftp.debian.org/debian/ squeeze main contrib non–free” > /etc/apt/sources.list
2. Also add this:
Code:
echo “deb backports.debian.org/debian-backports squeeze-backports main contrib non-free” >> /etc/apt/sources.list
3. Refresh repo:
Code:
apt-get update
4. Run this:
Code:
apt–get install xserver–xorg–video–fbdev xserver–xorg–input–evdev gnome initramfs–tools
Aptitude install kde-desktop
apt-get install bluez kdebluetooth xvkbd
(instead of this):
Code:
# apt–get install xserver–xorg–video–fbdev xserver–xorg–input–evdev gdm3 gnome initramfs–tools wpa-supplicant
Don't worry about wpa-supplicant, it will be installed as part of kde-desktop packages.
5. Edit the following files to make the on screen keyboard (xvkbd) work properly:
/etc/kde4/kdm/kdmrc
Code:
UseTheme=false
/etc/kde4/kdm/Xsetup
Code:
xvkbd geometry -300-100 -no-back-pointer &
6. Continue with LIV2's instructions
7. Make following directories under your chroot and copy the wireless firmware files:
Code:
/vendor/firmware for fw_bcm4329.bin
/system/etc/wifi for bcm4329.cal
Copy files above in the noted directories. I had to slightly alter LIV2's step here since the module wouldn't load when files where copied to those other folders mentioned in his tutorial.
8. Continue with LIV2's instructions but run this:
Code:
sudo make INSTALL_MOD_PATH=[PATH_TO_CHROOT_DIR] modules_install
(instead of):
# export INSTALL_MOD_PATH=[PATH_TO_CHROOT_DIR]
The original step above failed to install/copy the modules into the correct location.
9. Follow LIV2's instructions to the end
Please use the NDK mentioned in LIV2's tutorial, android–ndk–r5b and not newer otherwise it will not work.
These steps are based on the Tiamat 1.4.4 kernel (stock GPU)
Updates will follow...
Does sound work?
No sound support. I did not see any support in the kernel for the CPCAP 2.2TC22 SoC.
LE: Actually, it's gotta have something, just does not seem to work out of the bat. dmesg shows CPCAP info and plenty of related devices in /dev . Have to figure out how and if I can use them.
Cool. Love KDE 4! Would it be possible to add the Bodhi-repo and install E17 and use the Tablet-profile of E17?
Got it to work... but too many errors still. Need help.
Thanks for the great work and explanations.
I have setup Debian 6 (and also Ubuntu 10.10) from scratch + latest updates, to build it. But installing the packages (xserver etc...) produces lots of errors with qemu such as:
unsupported system call 341
many packages failed to install
...
The worse case is with gnome, complete failure to apt-get update. With KDE, I succeeded using aptitude and removing some recommended packages. Still the final system is not working as on the video.
After hours of googling, I came to the conclusion that you guys must use some customized system that I couldn't reproduce. Would you care sharing what is your environment, packages installed and patches?
Thanks
any progress done?
hi everyone,
i'm dying to move away from android to debian. i was wondering was there any progress done? is there a project going on? did anyone fix the sound+bluetooth not working?
NICE !
Awesome Project :good: :good:
The only thing that makes me wonder ist... android should be a openSource project based on Linux.
But we have to struggle and "fight" to make linux run on it?!?!?!
Can you give us an update on what works and what not and if you or who continues this project, please?
The XOOM ist still one of the best tabletts on the market since it has UMTS build in.
I would love to see Debian etc. running on it and most of the functions (camera, GPS, USB, WLAN) working fine.....
....don't leave us hanging now
At least leave full infos on how you approached the task and where you left it, oki.
thx
...
illuminate7 said:
Awesome Project :good: :good:
The only thing that makes me wonder ist... android should be a openSource project based on Linux.
But we have to struggle and "fight" to make linux run on it?!?!?!
Can you give us an update on what works and what not and if you or who continues this project, please?
The XOOM ist still one of the best tabletts on the market since it has UMTS build in.
I would love to see Debian etc. running on it and most of the functions (camera, GPS, USB, WLAN) working fine.....
....don't leave us hanging now
At least leave full infos on how you approached the task and where you left it, oki.
thx
Click to expand...
Click to collapse
+1
Based on:
http://forum.xda-developers.com/showthread.php?t=987740
All Credits to him
Im using this solution to run jdownloader, a local webserver, and to compile arm sources without any toolchain ( a bit more comfortable ).
You have to know, that this isnt rly fast compared to native ubuntu but its an easy solution..
Requirements:
-> Rooted Iconia A500(1)
-> Terminal Emulator ( some other shell )
Step by Step:
1) Download this package and extract it to /sdcard/ubuntu
2) Follow the installation steps in the linked orginal post.
DO NOT INSTALL THE CUSTOM KERNEL THERE!!!
Im using Jump Desktop as VNC Viewer because its a great App supporting Usb Mouse with Left and Right Click.
Do you want JDownloader running on your Tablet?
1) run apt-get install openjdk-6-jre
2) Download JDownloader MULTIOS Package from their site
3) cd to the extracted directory
4) run java -jar JDownloader.jar
Do you want to access your android system?
1) simply go to /android
You are on a ICS Rom and rightclick doesnt work? (USB Mouse)
1) apt-get install xbindkeys xbindkeys-config xdotools
2) xbindkeys-config
3) im using ctrl+left click as right click so input event is: ctrl+b:1
4) mapped event: xdotools click 3
5) add xbindkeys to autostart (for example with chrome startup application)
Interesting. Thanks for sharing
You might just as well use Linux Installer from the market...
EDIT: It can do both ubuntu and debian (stable/unstable).
This vs LinuxInstaller
I tried using the LinuxInstaller method and while it worked it wasn't as smooth as this. I used it to try to install Ubuntu 11.04 and it install Ubuntu, but headless and I had issues using LinuxInstaller's provided methods for install VNC, SSH, etc.
So far this method appears to be running smoothly, Ubuntu was install, VNC and SSH both installed, now I am just waiting for Gnome to install.
In the end they probably both work equally as well, but I am personally having more success with this method
Linux installer doesnt work on my device correctly
This only seems to be for Ubuntu 11.04.
Linux Installer only seems to support Ubuntu 9.04.
Did anybody try Ubuntu Installer Free by ZPwebsites? It seems to have a stable Ubuntu 12.04 install available from 26th April onwards.
EDIT: Doesn't look like my rooted ICS OTA 1.033 ROM meets the requirements.
japinder said:
This only seems to be for Ubuntu 11.04.
Linux Installer only seems to support Ubuntu 9.04.
Did anybody try Ubuntu Installer Free by ZPwebsites? It seems to have a stable Ubuntu 12.04 install available from 26th April onwards.
EDIT: Doesn't look like my rooted ICS OTA 1.033 ROM meets the requirements.
Click to expand...
Click to collapse
I'm using Backtrack ARM in chroot and it goes pretty well. I'm able to use it with a bluetooth mini keyboard/mouse combo + hdmi on my 40" TV
djxtabay said:
I'm using Backtrack ARM in chroot and it goes pretty well. I'm able to use it with a bluetooth mini keyboard/mouse combo + hdmi on my 40" TV
Click to expand...
Click to collapse
Which method did you use to install Backtrack? The one in the first post, or some app?
Sent from my HTC Sensation XE with Beats Audio using XDA
No there is a topic in the development called "backtrack and office" or something like this.
Simply search for backtrack in the dev section. ;-)
Sent from my A500 using xda premium
http://forum.xda-developers.com/showthread.php?t=1094237
There it is!
Sent from my A500 using xda premium
Hello there,
I'm developing applications for (i. e.) Acer A500 and need to use some of the Android SDK tools like hierachyviewer etc. which work on developer version of Android only (I need to use them on the real device, not emulator). I don't have any of that version and what's more don't know where to get it - so I thought about rooting my device - will it enable those tools on that device? Or do I have to install some mods?
Thanks in advance for the info.
It did work for me but I only tried a few adb and ddms commands.
That's great, can you confirm hierarchyviewer working? (Is it possible to load View Hierarchy for custom app?)