Remove All Ads from XDA
Google Home

[DEV] Ubuntu on Nexus S (natively)

53 posts
Thanks Meter: 225
Post Reply 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):

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:

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:	11429
Size:	89.0 KB
ID:	485836  
The Following 43 Users Say Thank You to stroughtonsmith For This Useful Post: [ View ] Gift stroughtonsmith Ad-Free
10th January 2011, 07:47 PM |#2  
AllGamer's Avatar
Retired Forum Moderator
Thanks Meter: 1,661
Donate to Me

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
Senior Member
Flag Luque, Paraguay
Thanks Meter: 20
Donate to Me
nice, look same at Ubuntu Netbook Edition
10th January 2011, 07:57 PM |#4  
Senior Member
Thanks Meter: 44
Red face
What about Galaxy S?
10th January 2011, 08:10 PM |#5  
stroughtonsmith's Avatar
OP Member
Flag Dublin
Thanks Meter: 225
Donate to Me
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
I did an article on my site

Maybe some italian devs, will help you
10th January 2011, 10:26 PM |#7  
Senior Member
Flag Bromsgrove, UK
Thanks Meter: 7
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: 26
nice, thanks. trying this as soon as my wife gets off my phone.
11th January 2011, 07:34 AM |#9  
Thanks Meter: 0
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
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
11th January 2011, 08:25 PM |#11  
AtomicPlayboy's Avatar
Flag Chicago, IL
Thanks Meter: 6
I would love to know if this will work on Epic 4G. I'm going to give it a shot to see what happens.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes