FORUMS

Index Project For XDA Device Subforums

Another ambitious project from the collaborative efforts of Recognized Contributors and Forum … more

The Atlas of XDA

A few weeks ago, we asked you “How Does Your Location Affect Your Life As A Power User?”. In the days that … more

New Snapdragons: Some Context & Contrast

It hasn’t been a good year for Qualcomm so far. Every device featuring the Snapdragon 810 … more

Google To Launch Next Gen Android One On July 14

The first gen of Android One devices to be launched in India in September 2014 were … more

[DEV] Ubuntu on Nexus S (natively)

53 posts
Thanks Meter: 225
 
Post Reply Subscribe to Thread Email Thread
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:	11233
Size:	89.0 KB
ID:	485836  
Last edited by stroughtonsmith; 10th January 2011 at 07:29 PM.
The Following 43 Users Say Thank You to stroughtonsmith For This Useful Post: [ View ]
 
 
10th January 2011, 06:47 PM |#2  
AllGamer's Avatar
Retired Forum Moderator
Flag buried under loads of work IRL
Thanks Meter: 1,592
 
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, 06:51 PM |#3  
rikipy's Avatar
Member
Flag Luque, Paraguay
Thanks Meter: 3
 
More
nice, look same at Ubuntu Netbook Edition
10th January 2011, 06:57 PM |#4  
Senior Member
Thanks Meter: 41
 
More
Red face
What about Galaxy S?
10th January 2011, 07:10 PM |#5  
stroughtonsmith's Avatar
OP Member
Flag Dublin
Thanks Meter: 225
 
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, 07:16 PM |#6  
MrNameless's Avatar
Senior Member
Flag Italy
Thanks Meter: 41
 
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, 09:26 PM |#7  
Senior Member
Flag Bromsgrove, UK
Thanks Meter: 7
 
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, 12:48 AM |#8  
Senior Member
Thanks Meter: 26
 
More
nice, thanks. trying this as soon as my wife gets off my phone.
11th January 2011, 06:34 AM |#9  
Member
Thanks Meter: 0
 
More
Oh my god.. You are awesome good sir. Will give it a run when touch is up and running!
11th January 2011, 02:50 PM |#10  
RinTinTigger's Avatar
Senior Member
Thanks Meter: 24
 
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