Post Reply

[ADDON] NotAndBuntu 11.04 Beta5 (Ubuntu Natty Narwhal)

10th March 2011, 09:23 AM   |  #1  
GhostOfTheNet's Avatar
OP Senior Member
Flag Graz
Thanks Meter: 125
 
162 posts
Join Date:Joined: Dec 2008
More
Hi,

Here is the fourth version. Its not upgradeable, so delete the old /sdcard/ubuntu before, except you know what you are doing and are able to fix upcoming problems by upgrading.

[Hints]
  • To remove the stupid overlay scrollbars, goto ubuntu shell and type
    Code:
    apt-get remove overlay-scrollbar liboverlay-scrollbar*
    in the next version setupgnome will automatically do that, all which setup gnome befor, do that to get the normal scrollbars.
  • in gnome goto system -> preferences -> appearance. there to the fonts tab, and there to details. use a resolution of 120 dpi, so you it is a bit more touch friendly
[Requirements]

[step by step]

  1. Install the kernel (without you'll not have full functionality, but it'll work)
  2. Extract the ubuntu archive to /sdcard/ubuntu (in adb shell goto sdcard and type: "tar xzf ubuntu_b6.tar.gz")
  3. cd to this dir and type
    Code:
    su
  4. then
    Code:
    sh ubuntu install
  5. you will be asked a few questions, if you have no plan just press always enter. after reboot open a terminal and type
    Code:
    su
  6. then
    Code:
    ubuntu start
  7. optional if you want gnome via vnc
    Code:
    ubuntu setupvnc
    and
    Code:
    ubuntu setupgnome
    this still takes long, you are installing here almost the complete ubuntu via internet. that are a few hundred megabytes of downloading and over one gigabyte of extracting and installing. leave with exit and on android shell type (first time it asks for a passwod)
    Code:
    ubuntu startvnc
    then connect to it via: localhost:5901 using a vnc client and the password you set.

[what you got]
  • you start the ubuntu subsystem with ubuntu start (still chroot)
  • with ubuntu setupvnc you install vnc service
  • with ubuntu setupssh you install ssh service
  • with ubuntu setupgnome you install gnome
  • with ubuntu setupkde you install kde (if you do so, you need to modify inside ubuntu /usr/bin/vnc)
  • with ubuntu shell you open an bash session
  • with ubuntu screen you open an persistent bash session
  • with ubuntu startvnc you start the vnc service
  • with startssh inside ubuntu shell you the start the ssh service
  • with ubuntu stopvnc you stop the vnc service
  • with stopssh inside ubuntu shell you the stop the ssh service
  • with ubuntu stop you stop (is rebooting)
  • with ubuntu uninstall you uninstall the script from system(directory /sdcard/ubuntu stays)

in ubuntu you can access:
  • android's /dev bound to ubuntu's /dev (fdisk /dev/block/mmcblk0 is working fine(sdcard). don't touch /dev/block/mmcblk1 or you'll kill your android system, maybe your whole xoom )
  • android's /system bound to ubuntu's /android/system
  • android's /data bound to ubuntu's /android/data
  • android's /mnt/sdcard bound to ubuntu's /adnroid/sdcard

[working]
  • With android-vnc Gnome (bluetooth keyboard and mouse)
  • Firefox 4
  • Chromium Browser
  • LibreOffice
  • Gnome Terminal
  • SSH Daemon
  • "D" key needs to remove the gnome keyboardshortcut uses "D" (just open vnc, goto a textfield and type d then you know what I mean )
  • and a lot more
[not working]
  • Ubuntu Software Center (use Synaptic instead, find it in the system menu)

[the tecnical side]
  • Ubuntu Natty Narwhal (11.04) from http://elinux.org/BeagleBoardUbuntu
  • dd for creating an image (no size limit anymore)
  • image formatted with ext2
  • adb push /sdcard/ubuntu/img/ubuntu.img (android shell has gunzip)
  • chroot env
  • tightvnc, gnome-session
  • different kernel features which i'll list here later

[changelog]

Beta 6
  • small changes in the scripts to ensure compatibility with other roms and devices
  • you can choose now between UBuntu 11.04, 11.10 and 12.04 Beta2

[next]
  • providing preinstalled images for gnome, kde and xfce
  • app instead script

[ideas]
  • weirdx
  • wayland

Have Fun
Ralph
Last edited by GhostOfTheNet; 7th April 2012 at 02:29 PM. Reason: beta 6
The Following 15 Users Say Thank You to GhostOfTheNet For This Useful Post: [ View ]
10th March 2011, 05:19 PM   |  #2  
Senior Member
Thanks Meter: 293
 
1,237 posts
Join Date:Joined: Oct 2010
Thumbs up
Quote:
Originally Posted by GhostOfTheNet

Hi folks,

Actually I'm poking around with the common "How to get ubuntu onto xoom", but with an own img file i created based on the maverick arm minimal archive. Now I'm installing unity, but in weekend I'll try to make the installation, configuration, ... more userfriendly. maybe I'll build a small app doing thinks like starting, stopping, starting a terminal with the chroot and so on. I've no plan at this moment what I'll do exact. But you can say me what you would like to have, so I know if there is a need for something. I think with the next ubuntu using something based on opengl as replacement for x and the promised touch support, it might be relly interesting to have in a chroot env and maybe write something like a wrapper for androids opengl es api. in this context maybe also a port of the android sdk to linux arm would be very interesting.

Regards
Ralph

I just posted in the general forum about this lol. I would love maverick meerkat on the xoom. I'm sure the software center wouldnt work, but if you could somehow incorporate compiz fuzion, along with all of the standard apps, that would be the sh*t. Good luck man!
The Following User Says Thank You to idkwhothatis123 For This Useful Post: [ View ]
10th March 2011, 05:45 PM   |  #3  
AndroidFileHost's Avatar
Official AndroidFileHost Representative
Flag Texas
Thanks Meter: 1,203
 
1,083 posts
Join Date:Joined: Jun 2010
Donate to Me
More
Got it to run on gtab but not sure how to do it on xoom.

Sent from my Xoom using XDA Premium App
10th March 2011, 08:04 PM   |  #4  
GhostOfTheNet's Avatar
OP Senior Member
Flag Graz
Thanks Meter: 125
 
162 posts
Join Date:Joined: Dec 2008
More
i have it already running, but I'm not getting the f*** unity running, because it needs opengl... a bit bad with tightvncserver

so i decided to jump over and try directly this out:
http://rcn-ee.net/deb/rootfs/natty/u...l-armel.tar.xz
the omap4 is an arm cortex a9 processor, so it should be binary compatible.

wish me luck, if it will work you will have today a howto, otherwise i'll go back to 10.10 and search for another useful desktop.

edit: apt is working fine with maverick

regards
Last edited by GhostOfTheNet; 10th March 2011 at 08:14 PM.
The Following User Says Thank You to GhostOfTheNet For This Useful Post: [ View ]
10th March 2011, 10:40 PM   |  #5  
GhostOfTheNet's Avatar
OP Senior Member
Flag Graz
Thanks Meter: 125
 
162 posts
Join Date:Joined: Dec 2008
More
Ok, so far so good. Ubuntu 11.04 is basically running, all is working fine, but the repository is buggy, so apt is not letting me install unity.
Besause today i'll not google for a missing lib, let see further tomorow. Hopefully the repositories are fixed then.

I'm uploading now a file called ubuntu.zip

To install it do the steps i'll write now in the first post. (the setup is not tested, so you may still need your knowledge)

Regards

Sent from my Xoom using XDA App
The Following User Says Thank You to GhostOfTheNet For This Useful Post: [ View ]
10th March 2011, 11:19 PM   |  #6  
Junior Member
Thanks Meter: 0
 
13 posts
Join Date:Joined: Jun 2009
Hey Ghost -- thanks for your great work on this!

One thing I was wondering -- would it be possible to break out your instructions on how to do this from scratch? I'm interesting in putting together my own version (probably a minmal Ubuntu 10.04 install), and would really appreciate the source "steps".

From what I've read, it looks like it's a matter of grabbing the right kernel (I thought I saw a recent one on the tegra development site), bootstrapping the right debian-based arm-compatible distro, and copying that over to the device with the right script to get it setup. I'd just love it if I could piggyback on your fine work
11th March 2011, 01:18 AM   |  #7  
Senior Member
Thanks Meter: 293
 
1,237 posts
Join Date:Joined: Oct 2010
Quote:
Originally Posted by GhostOfTheNet

It's alpha, so nothing for you if you have no plan whats going on here.

Archive: http://www.bisme.net/ubuntu.zip

Needed:
Rooted xoom with busybox installed

Steps:
1.) Extract the zip to /sdcard/ubuntu
2.) Open a terminal su, cd to this dir and type
./setupubuntu (sh*** i forgot to change the file, all cp commands are not working for some reason, needs to be
cat filename > /system/bin/filename
3.) ... ehm fin

(always su before)

If you replaced the cp, you can directly type for example bootubuntu, if not you need to be in dir /sdcard/ubuntu and say ./bootubuntu
After ubuntu booted(real only mounted) you can start a bash shell with shellubuntu. Unmount it with shutubuntu(in most cases will fail, then you need to reboot before you can say bootubuntu again)

Ehm, yes... i love my xoom :D most of the time i worked on that... my pc i almost didn't need. Small tipp, it is worth its 4 dollar, better android terminal. Without bash this would be the hell.

Regards
Ralph

Man you are the best. I really really want to get this up and running but i cant get through setup. idk how to install... this is not my area of expertise lol. help?!

edit: i guess for clarification, after i type in the cat command it tells me write: no space left on device
Last edited by idkwhothatis123; 11th March 2011 at 01:24 AM.
11th March 2011, 02:12 AM   |  #8  
AndroidFileHost's Avatar
Official AndroidFileHost Representative
Flag Texas
Thanks Meter: 1,203
 
1,083 posts
Join Date:Joined: Jun 2010
Donate to Me
More
Is the touch screen working

Sent from my Evo 4G using Tapatalk Pro
11th March 2011, 02:21 AM   |  #9  
GhostOfTheNet's Avatar
OP Senior Member
Flag Graz
Thanks Meter: 125
 
162 posts
Join Date:Joined: Dec 2008
More
Ok, first of all, this is not a rom. Thats not needed in this case, because with linux more installations can share the same kernel. Android has a linux kernel, ubuntu has one. Google for chroot

This is not an attemp to replace android, just to enhance it a bit

In this state it's just something like a technical preview. Give me a few days. For now only advanced linux users wich understands whats happening there can do something with it.
Concerning a minimal ubuntu, this is now a minimal installation.

Regards

Sent from my Xoom using XDA App
Last edited by GhostOfTheNet; 11th March 2011 at 02:25 AM.
The Following User Says Thank You to GhostOfTheNet For This Useful Post: [ View ]
13th March 2011, 02:20 PM   |  #10  
GhostOfTheNet's Avatar
OP Senior Member
Flag Graz
Thanks Meter: 125
 
162 posts
Join Date:Joined: Dec 2008
More
After unity 2d is not really working at this moment, I'm actually preparing a version with icewm and lxde. Post will come in a few hours.

Regards

Sent from my Xoom using XDA App

The Following User Says Thank You to GhostOfTheNet For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Xoom Android Development by ThreadRank