Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[DEV] Ubuntu on Nexus S (natively)

OP stroughtonsmith

10th January 2011, 06:07 PM   |  #1  
stroughtonsmith's Avatar
OP Member
Flag Dublin
Thanks Meter: 219
 
49 posts
Join Date:Joined: Dec 2010
Donate to Me
More
Ok, so following on from the MeeGo thread, I have Ubuntu booting on the Nexus S using the same method and same kernel.

The Ubuntu image used is the HD2 Ubuntu image (v 0.3), loaded from a file on the internal memory (again, no flashing required - you can thank me later).

The touchscreen isn't yet working, but that's my kernel at fault. Will fix that with the MeeGo stuff.

If you want to try this yourself, first grab yourself a copy of Ubuntu for HD2, and take just the rootfs.ext2 file and drag it to your Nexus S (put it in a folder called 'ubuntu' - lowercase is important!).

Then use fastboot to boot the following image (or flash it to recovery partition if you're daring and know how dangerous that can be):

http://dl.dropbox.com/u/8657343/bootUbuntu.img

You will need to do one minor edit once the device is booted; you will see the screen output is very weird; ADB push the following file to /etc/X11/xorg.conf, and then reboot Ubuntu:

http://dl.dropbox.com/u/8657343/xorg.conf

If you're in any way interested, please click the thanks button! Otherwise, enjoy!
Attached Thumbnails
Click image for larger version

Name:	DSC00581.jpg
Views:	11173
Size:	89.0 KB
ID:	485836  
Last edited by stroughtonsmith; 10th January 2011 at 08:29 PM.
The Following 43 Users Say Thank You to stroughtonsmith For This Useful Post: [ View ]
10th January 2011, 07:47 PM   |  #2  
AllGamer's Avatar
Retired Forum Moderator
Flag buried under loads of work IRL
Thanks Meter: 1,580
 
11,521 posts
Join Date:Joined: May 2008
Donate to Me
More
nice!

the next thing we'll need after getting the touch screen working
is to have a calling app daemon, and make sure internet works on both 3G and WiFi
10th January 2011, 07:51 PM   |  #3  
rikipy's Avatar
Member
Flag Luque, Paraguay
Thanks Meter: 3
 
65 posts
Join Date:Joined: Jan 2011
More
nice, look same at Ubuntu Netbook Edition
10th January 2011, 07:57 PM   |  #4  
Senior Member
Thanks Meter: 41
 
128 posts
Join Date:Joined: Jun 2010
Red face
What about Galaxy S?
10th January 2011, 08:10 PM   |  #5  
stroughtonsmith's Avatar
OP Member
Flag Dublin
Thanks Meter: 219
 
49 posts
Join Date:Joined: Dec 2010
Donate to Me
More
Quote:
Originally Posted by Njcki

What about Galaxy S?

In theory the same stuff should work; I don't have a Galaxy S to test on or I'd try it. I don't know anything about the Galaxy S' bootloader, or how much the kernel would differ (I'm guessing not at all, since this is a stock Samsung kernel from the Android kernel source)
10th January 2011, 08:16 PM   |  #6  
MrNameless's Avatar
Senior Member
Flag Italy
Thanks Meter: 41
 
414 posts
Join Date:Joined: Jan 2010
More
I did an article on my site http://www.android-ita.com/dev-port-...u-sul-nexus-s/

Maybe some italian devs, will help you
10th January 2011, 10:26 PM   |  #7  
Senior Member
Flag Bromsgrove, UK
Thanks Meter: 7
 
179 posts
Join Date:Joined: Jan 2010
More
Thanks for this, gonna have a play now

Why is it dangerous to flash the boot image to recovery? Isn't fastboot lower level than recovery, or have I got that wrong?
11th January 2011, 01:48 AM   |  #8  
Senior Member
Thanks Meter: 25
 
263 posts
Join Date:Joined: Mar 2009
nice, thanks. trying this as soon as my wife gets off my phone.
11th January 2011, 07:34 AM   |  #9  
Member
Thanks Meter: 0
 
92 posts
Join Date:Joined: Oct 2009
More
Oh my god.. You are awesome good sir. Will give it a run when touch is up and running!
11th January 2011, 03:50 PM   |  #10  
RinTinTigger's Avatar
Senior Member
Thanks Meter: 24
 
610 posts
Join Date:Joined: Nov 2009
More
I'd love it to be run from Android....i dont want it natively, just to test it...booting for example from an android app

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes