Galaxy Nexus

I finally took delivery of my smoking hot Galaxy Nexus the other day.
It’s lovely. Once again, I can’t fault Vodafone. Well, the store division, anyway. The online order was placed before Christmas and I received nothing but emails and texts, but once I went into the store and explained how long I’d been waiting they cancelled the online contract and set up a new one in store and I walked away with my new phone the same day. There’s a lesson in there somewhere.
I was a little disconcerted to find that Google have disabled USB mass storage in favour of MTP (there are reasons for this, good ones) and as Linux has a little problem with MTP (well, it’s not easy to set up in Fedora (which is on this laptop and used most often) although apparently easier to do in Ubuntu with everything you need in the repos so I ended up transferring my files from the old phone to the Nexus using this method:

High Technology?

Fantastic. ADB you save my arse yet again, although the irony of having to use the command line to sync files to one of the most technologically advanced telephones in the world is not lost on me. Still, I guess most people would be using a Windoze 7 pc which understands MTP straight out of the box, and not need the Cli.

On the other hand rooting was as easy as pie, a simple “fastboot oem unlock” and flash an insecure boot image and install the superuser binary, took about five minutes. Swings and roundabouts I guess.


Ubuntu Linux Lucid on an aging eMac5 ppc

This is far, far away from what I ususally post about, but I found very little on the web to help me, so here goes- hopefully, somebody else will need to do what I did and will find this useful. My Mum, lovely person that she is, does quite a bit of work for her church, all voluntary, proper Christian she is, by which I mean she actually paid attention to what Christ said and tries to live by it. As a result, she doesn’t have a lot of money (neither do I) and we came to a position where her PC broke down FUBAR-ly, and she didn’t have the money to fix it. Luckily, someone else in the congregation had a “computer” she could have… As it turned out, an ex-school-owned eMac5 (how he came to ‘own’ it she didn’t ask). Great. It gets on the internet… ah. She needs it to write down and print stuff for the church.

“Wh00ps!! Come help me! I can’t make it talk to the printer!”

So, it fell to me to make Mrs Wh00ps (Snr)’s computer talk to her printer.

Day 1. It turns out, the antiquated version of OSX this eMac uses cannot, by any means possible, talk to this fancy-schmancy, high-falutin’ HP all-in-one PHOTOSMART printer. No way, no-how. We decide, rather than pirate an edition of OSX (required OSX 4 or higher) we’d switch it to linux. I choose Ubuntu -partly because I use it at home and know it, partly because the UI is easy for n00bs- and

day 1.5 download Ubuntu 10.04 (Lucid Lynx) ppc (live cd and alternate).

day 2We install, after much caveats, and it doesn’t work. In fact, we have the ‘blank screen scenario’ as evidenced here. I bugger about all evening, but eventually give up.

Day2.5 I completely unneccesarily download ubuntu 6.06 and 8.04, the revisions referred to in the link above, ready to return to mum’s.

Day3 After much buggering about, Using Ubuntu 6.06 Dapper, and trying the xorg.conf files provided in here and here (latter link worked) I got Ubuntu to boot as far as the login screen…. However, after login a blank screen again, this time with a moving mouse pointer. Choosing ‘fall-back terminal’ allowed me to edit, and even run synaptic and update-manager but I still couldn’t boot a full desktop environment, upgrade, or install anything since the repos are gone.

Eventually, from desperation I re-installed 10.04, then booted again from the disk and chose “rescue-powerpc” from the boot prompt. It didn’t work, again, but this time when I got to the shell I had figured to

mkdir /mnt/hda3 mount /dev/hda3 /mnt/hda3

allowing me into the OS, and then I copied a modified version of this xorg.conf file, mixed with the xorg.conf the installation of Dapper produced.

# File copied-and-pasted by Wh00ps

#original from

# **********************************************************************
# Refer to the XF86Config or xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, YDL 2.0 and later now use a font server independent of
# the X server to render fonts.

FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/75dpi"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/default/TrueType"
FontPath "/usr/share/fonts/default/Type1"

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer

#This was the section I had to edit, using the xorg.conf file the installation of Dapper produced.

Section "InputDevice"
Identifier    "Generic Keyboard"
Driver        "keyboard"
Option        "CoreKeyboard"
Option        "XkbRules"    "xorg"
Option        "XkbModel"    "pc105"
Option        "XkbLayout"    "gb"
Option        "XkbOptions"    "lv3:lwin_switch"
#The original assumes a 'proper' Macintosh Keyboard

Section "InputDevice"
Identifier    "Configured Mouse"
Driver        "mouse"
Option        "CorePointer"
Option        "Device"        "/dev/input/mice"
Option        "Protocol"        "ImPS/2"
Option        "Emulate3Buttons"    "true"
Option        "ZAxisMapping"        "4 5"

#this is the important part as far as the display is concerned-
#eMacs and iMacs (ugh) have funny resolutions and refresh rates... once you boot into X this is what causes
#the blank screen. All this part is original.
Section "Monitor"
Identifier "monitor1"
VendorName "Apple"
ModelName "HiRes Display 1152x864"
HorizSync 30.0-112.0
VertRefresh 50.0-160.0
# emac
ModeLine "800x600" 112 800 816 824 840 600 616 624 640 -hsync -vsync
ModeLine "1152x864" 100 1152 1173 1269 1440 768 769 772 800 +vsync +vsync
ModeLine "1024x768" 100 1024 1108 1280 1408 768 768 780 796 +hsync +vsync
ModeLine "1280x960" 100 1280 1288 1392 1664 1024 1027 1030 1064

Section "Device"
Identifier "device1"
VendorName "nVidia Corporation"
BoardName "NVIDIA GeForce2 DDR (generic)"
Driver "nv"
BusID "PCI:0:16:0"
# Option "useFBDev"
Option "DPMS"

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 16
Subsection "Display"
Depth 8
Modes "default"

Subsection "Display"
Depth 15
Modes "1024x768"

Subsection "Display"
Depth 16
Modes "1024x768"

Subsection "Display"
Depth 24
Modes "default"

Section "ServerLayout"
Identifier "layout1"
InputDevice "Generic Keyboard" "CoreKeyboard"
InputDevice "Configured Mouse" "CorePointer"
Screen "screen1"

And then I copied it from the cdrom to /etc/X11 using

cp /cdrom/xorg.conf /mnt/hda3/etc/X11/xorg.conf

Oh, forgot to say, I had to burn that motherfucker of a 11kb file onto a cd to get it into the Mac, although if you want to mess around some more you can bother with mounting a flash drive. And bingo! one reboot and we’re in. Download linux drivers for the printer (and a bit of terminal work to get them going) and finally, We Have Printing!


A few months ago (probably almost a year now I come to think about it) I blew up the second hard drive on my desktop -the larger one- which led to windows becoming unusably slow, probably something to do with the virtual memory being restricted to about 1GB of free hard drive space.

Last week I bought a 2nd-hand 140GB hard drive for about thirty quid, and decided that instead of just installing it, I’d put a fresh install of Ubuntu on it and run that instead. I did all that, and this weekend have finally got it on the internet (no wireless card meant moving the BT hub into another room and the associated moving and re-fixing of cables) and I’m loving it.

If anyone knows any good forums though, to save me some days of scroogling, I’d be very grateful 😉