CyanogenMod and a Telstra Samsung Galaxy S (GT-I9000T)

My brother has been complaining about his slow phone since.. well the day he bought it, so I’ve been recommending CyanogenMod since, well, the day he bought it.

Finally yesterday I had a chance to go over for lunch and a Linux hacking afternoon, but in the end I spent the whole time trying to get CyanogenMod (CM) on his phone. Finally, some 8 hour later, I got it working.

It was meant to be straight forward:

  • turn on USB debugging
  • root his phone
  • install ClockworkMod
  • backup
  • flash CM via recovery

Rooting the phone

CM has some great instructions on their wiki, but they don’t cover how to root the phone. I did some research and found z4root which is supposed to root his Froyo 2.2 based phone, but it just didn’t work no matter which version we tried. His slow phone was running anti-virus which caused all sorts of “problems” and was quite frustrating, but we were still full of hope when we moved on.

Then I came across SuperOneClick, a .NET application that is supposed to run under Mono, but ends with a windows.forms crash when you click a button. So, we found a dualbooting laptop and went to Windows.

That was a whole other level of pain.

Windows frustrations aside, SuperOneClick turned out to be SuperOneMillionClick, but it did root the phone, yay!

3 hours had passed and we had a rooted phone – that was meant to take 3 minutes.

Installing recovery
So now we had a rooted phone, time to install ClockworkModRecovery (CWM). This installed just fine, but we could never get it to flash the recovery to do a backup. Gosh darn it. This also meant I couldn’t flash CM either.

My plan of doing everything nicely, as safely as possible, with backups, goes out the window at this point. Time to flash a kernel (with CWM) directly onto the device, another method to get recovery on there (so that we can flash CM).

Needed to get Heimdall, but there’s no RPM for it. Could compile it, but I’ll just grab the deb. Where’s alien? No package for alien and it’s a deb package, too. OK. Just extract the deb, good, now do I have the dynamic libraries installed for it? Yes.

So, I flashed the kernel which completed successfully and rebooted the phone… into an infinite loop. Great, broke the phone. Fortunately, I could still get to the “Download” mode, which AFAIK is like a dumb serial mode that lets you flash stuff (no adb here).

So I hit #cyanogenmod telling them what I was doing and was told:

so then you *didn’t* follow the instructions
they clearly state to start from from stock 2.3

Which isn’t actually true, but fair enough. So I had a rooted (as in root access) rooted (as in broken) phone.. what to do next? I knew the Download mode still worked, because I could re-flash the kernel. Advice was to find a stock ROM and flash that.. but for the life of me I couldn’t find the right stock kernel. Apparently it doesn’t really matter, but 6 hours had now passed and I didn’t want to make things worse (like break the radio or something).

Then I had an epiphany. If I flashed a Gingerbread kernel (with CWM) and it broke, maybe I can find an earlier kernel that was for Froyo and flash that to unbreak it. I did some more digging and found one! I flashed this onto the device and…. and… infinite loop again. This time however I somehow managed to get into recovery, which was progress!

Flashing CM
Right, now that I had recovery I could try and flash CM7 to see if I could boot. First problem was, getting into recovery only worked 3/4 of the time. Second problem was, getting CM zip onto the phone. Fortunately I now had adb access (phew) so I pushed the zip onto the phone.

There were more issues with permissions and writing to the right card, browsing to the card under recovery, su that didn’t work, but I won’t bore you further with all that. In the end, flashing CM was successful and I was able to boot into it. Almost happy. The flash was a bit weird (it rebooted the phone halfway through, then continued flashing) and some things weren’t quite working like the SIM card (probably important in a phone) and the screen wouldn’t wake up from sleep, blah blah.

Fortunately, flashing CM7 put on a new kernel and new version of recovery. So I booted to recovery and re-flashed CM. This time it worked as expected and I booted up to a working CM7 – it prompted for the SIM pin and everything seemed to be running well.

So, after some 8 hours it was almost midnight, but I finally had CM7 on the phone. I went to bed.

More problems
I woke up pretty happy and couldn’t wait to tell my brother, so I SMS’d his wife but never got a reply. Called later and he checked the phone. No SMS! D’oh :-(

SMS wasn’t working, but 3G and voice were. Time to re-hit Google.

Turns out some other people have the same problem and I need to enter the SMS Messaging Centre number into the phone. You do that by dialing:
*#*#4636#*#*

Which brings up the Testing program, where you can browse to Phone Info, scroll down and enter the SMCS number.

For Telstra it’s supposedly +61418706700 but that didn’t work. Fortunately, I was able to get the number from my sister-in-law’s phone via the same method, which worked.

So, how to do it next time

Enjoy.

Kororaa 16 reviews

ZDNet has published a review of Kororaa 16, if anyone’s interested. There’s also a nice video review on YouTube.

Kororaa 16 (Chum) released

It was a little while in coming, but it was worth the wait! It is my pleasure to announce the release of Kororaa 16 (codename “Chum”) which is now available for download.

Features
Derived from Fedora 161, this updated release comes with the usual Kororaa extras out of the box, such as:

  • Tweaked KDE 4.7, GNOME 3.2 and base systems
  • Third party repositories (Adobe, Chrome, RPMFusion, VirtualBox)
  • Firefox 8 as the default web browser (with integration theme for KDE)
  • Firefox extensions included (Adblock Plus, DownThemAll, Flashblock, Xclear)
  • Microblogging client (Choqok for KDE, Empathy for GNOME)
  • Full multimedia support (excluding Flash, see next)
  • Installer for Adobe Flash plugin
  • Jockey device manager to handle drivers such as AMD/ATI and NVIDIA
  • Video editor (Kdenlive for KDE, OpenShot for GNOME)
  • VLC as the default media player
  • SELinux enabled (particularly worthwhile for Flash)
  • English (Australian/British) support & dictionaries
  • and more..

Desktops
The GNOME 3 desktop has several custom themes available, as well as numerous extensions to provide an enhanced user experience (and help ease the transition from GNOME 2.x). It also comes with the GNOME Tweak Tool to allow further customisation.
Kororaa 16 desktop - GNOME

The KDE desktop has a custom layout with specific default applications, such as Firefox for the web and VLC for media, etc.
Kororaa 16 desktop - KDE

Upgrade
It is still recommended that existing Kororaa users perform a fresh install, however we are working on experimental support for in-place upgrade and hope to post more information soon.

Users still on Kororaa 14 should upgrade to 16 as the older version is no longer supported upstream. Unfortunately for users who wish to stay with GNOME 2.x, this means you will need to upgrade to GNOME 3. Do not despair however, Kororaa includes a desktop switcher for GNOME 3, so that users can switch between the new Shell interface and the 2.x style Fallback mode. Just run the “Switch between Shell and Fallback desktops” link on the desktop (see screenshot above).

Word of thanks
We are starting to get a nice little community around Kororaa and I’d to thank everyone for their help and support, which is greatly appreciated. I’d like to especially thank the following people (in alphabetical order), who have helped make this release possible:

  • Alan Gindlesperger (almigi)
  • Hedayat Vatankhah (Parsidora Fedora Remix)
  • Ian Firns (firnsy)
  • Jason Nielsen
  • Jim Dean (ozjd)
  • Liam Campbell (lijcam)
  • Matthew Oliver

Feedback
We’d love to hear your feedback on the forums, so download it today and let us know! :-)

Thanks!

Note: Kororaa is not provided or supported by the Fedora Project. Official, unmodified Fedora software is available through the Fedora Project website.

Recovering from 3rd party drivers, with Jockey

What happens if you enable a 3rd party driver (like ATI) with Jockey, but after a reboot your graphics is broken and you can’t log in to revert?

Answer: Use the command line version of Jockey!

Here’s how you can revert any installed 3rd party driver using Jockey from the command line:

  • At log in (perhaps with a broken X screen), switch to another terminal using the key combination:
  • Ctrl + Alt + F2

  • Log in as root
  • Get a list of enabled drivers from Jockey:
  • jockey --list

  • Disable the driver (such as the ATI driver):
  • jockey --disable=kmod:fglrx

  • Once it has finished, reboot!

When using Jockey, you should ensure that you have the latest updates applied, in particular the latest running kernel. This is because you might otherwise get a driver for a newer kernel, which might break your system upon reboot, or fail to activate.

You can also try using akmods with Jockey, which will build a new driver for you on reboot, if one does not exist for your running kernel (no matter what that is!).

-c

Using akmods with Jockey in Fedora

By default, 3rd party drivers (such as NVIDIA and ATI) are pre-compiled against a specific kernel version and delivered in a kmod package. However when there’s a kernel update, it might block because there is no updated driver package yet available. This can also break a system if you update the kernel and reboot.

Wouldn’t it be great if the system could automatically build a new driver if required? Yes, and this is where akmods come into play.

With akmods, when your system boots it will check to see if a registered driver needs to be built. If you have an updated kernel, then akmods will build a fresh driver for that kernel and install it – no need to wait for a kmod to be updated upstream. This avoids the broken system scenario above.

While akmods are nothing new, you can now use them with Jockey under Fedora 16 (rather than just kmod packages). Simply download the RPMS from a Kororaa mirror and install (or you could build your own from SRPM).

You will need:

  • jockey
  • jockey-selinux
  • jockey-modaliases
  • jockey-gtk or jockey-kde

Post install, edit the /etc/jockey.conf and set “akmods=true”. Then, you can run Jockey and install the driver you want.

Jockey driver manager

You will also need build tools like gcc, make and kernel-headers (and of course, akmods), however these should be pulled in as dependencies of the akmod package.

This is still an experimental feature and any feedback is welcome!

Kororaa Facebook page

For anyone who’s interested in Facebook, I’ve created a page for Kororaa. I’m new to all this Facebook stuff, so if you have any suggestions, please let me know!

Thanks,
-c

FIX: Kororaa 16 GNOME Shell crash

This took me a while to find, but removing the nautilus-pastebin package will stop GNOME Shell from crashing when searching (as seen in Beta 16). No restart required.

sudo yum erase nautilus-pastebin

Sorry about that, it was very hard to find!

Thanks,
Chris

Kororaa 16 (Chum) Beta released

The first beta release of Kororaa 16 (codename “Chum”) has been released and is available for download, in 32 and 64 bit versions for KDE and GNOME. This new release includes major updates of most packages including the kernel, office and desktops (KDE 4.7 and GNOME 3.2).

Upgrade
We are currently working on a way for existing version 15 users to upgrade to the final release of version 16, however this is not yet available for the beta release. For those wanting to test out this release, it is recommended to perform a fresh install or use a virtual machine. It’s a Live DVD, so it can be tested without installation too :-)

Known issues

  • Some addons for GNOME have caused crashes and the gnome-shell-extension-alternative-status-menu is not included in the beta. To shutdown, hold down the Alt key while hovering over Suspend option in menu.
  • Searching (Alt + F2) in GNOME causes Shell to crash.
  • Jockey (the proprietary driver manager) was accidentally left out, but is installable (GNOME: jockey-gtk jockey-selinux KDE: jockey-kde jockey-selinux)

Desktops
The GNOME 3 desktop has several extensions to provide an enhanced user experience (and help ease the transition from GNOME 2.x). It also comes with the GNOME Tweak Tool to allow further customisation.
Kororaa 16 desktop - GNOME

The KDE desktop has a custom layout with specific default applications, such as Firefox for the web and VLC for media, etc.
Kororaa 16 desktop - KDE

Features
Derived from Fedora 161, this new major release comes with the usual Kororaa extras out of the box, such as:

  • Tweaked KDE 4.7 and GNOME 3.2 base systems
  • Third party repositories (Adobe, Chrome, RPMFusion, VirtualBox)
  • Firefox 8 as the default web browser (integrated with KDE)
  • Firefox extensions included (Adblock Plus, DownThemAll, Flashblock, Xclear)
  • Microblogging client (Choqok for KDE, Empathy for GNOME)
  • Full multimedia support (excluding Flash, see next)
  • Installer for Adobe Flash plugin
  • Jockey device manager to handle drivers such as AMD/ATI and NVIDIA
  • Video editor (Kdenlive for KDE, OpenShot for GNOME)
  • VLC as the default media player
  • SELinux enabled (particularly worthwhile for Flash)
  • English (Australian/British) support & dictionaries
  • and more..

Feedback
We’d love to hear your feedback on the forums, so download it today and let us know! :-)

Thanks!

Note: Kororaa is not provided or supported by the Fedora Project. Official, unmodified Fedora software is available through the Fedora Project website.

What’s in a name? The meaning behind Kororaa

Many users have asked me why Kororaa is called Kororaa. It’s hard to spell and it’s hard to say (it’s even a rude word in some languages, sorry about that). Well, I’d like to share the meaning behind the name.

The word Kororaa is an alternate spelling of the Māori word Kororā, which is a name given to the smallest of all penguin species, the little penguin (Eudyptula minor):

Korora Penguin
(Photo from Wikipedia licensed under GNU Free Documentation License, Version 1.2)

They are also known as little blue penguins, but when I was in school I knew them as fairy penguins (I guess I could have called my distro Fairy Linux instead).

These gorgeous little penguins stand at just 30cm (12″) tall for fully grown adults. They are native to Australia (where I come from) and New Zealand, although there have also been reported sightings from Chile (where they are known as Pingüino pequeño or Pingüino azul).

Not only are they the cutest penguins around, they are also the penguins responsible for the Linux mascot, Tux. That’s right! Linus was visiting Canberra and while at the National Zoo and Aquarium was bitten on the finger by one of these little penguins. Later, when it came time to think of a mascot for Linux, Linus couldn’t get that cute little blue penguin out of his head and so Tux was born.

Story behind Tux
(Photo from Wikipedia licensed under Creative Commons Attribution-Share Alike 3.0 Unported license)

So, Kororaa might be hard to spell and it might be hard to say, but it’s a real word and it has real meaning :-)

Kororaa 15.1 (Squirt) released

The second release of Kororaa 15 (codename “Squirt”) has been released. Version 15.1 is available for download, in 32 and 64 bit with KDE 4.6 and GNOME 3.

This release includes a number of fixes and enhancements, as listed below. A special thanks to Prashanth for the review of Kororaa 15 which outlined many of these shortcomings.

Major changes:

  • Fixed KDE crash in live mode (prelink wasn’t properly disabled)
  • Fixed Kdenlive bug which stopped it from running
  • Fixed KPackagekit crash in live mode
  • Bypass the login screen and load straight to desktop
  • Disable screensaver and locked screen in live mode
  • Renamed desktop switcher to “Switch between Shell and Fallback desktops”
  • Added Google Talk Plugin repo for easy installation
  • Added a wrapper package (skype-helper) for Skype dependencies (can’t ship Skype though)
  • Added more GNOME Shell themes
  • Removed Gloobus preview (not complete in Fedora)
  • Removed GNOME Appearance Properties link (deprecated in GNOME 3)
  • Removed Synaptic package manager
  • Removed Miro (currently broken upstream)
  • Updated to Firefox 7
  • Updated to Openshot 1.4

Kororaa 15.1 comes with an RPM metapackage to install and configure Adobe Flash, now that Add/Remove Extras is gone. To get flash, install the flash-plugin-helper package. To remove flash, uninstall the flash-plugin package.

Kororaa 15.1 also comes with an RPM metapackage to install the dependencies for Skype (but not Skype itself). Simply install the skype-helper package, then download the Skype package for Fedora from their website and install using the package manager.

Upgrade
Existing Kororaa 15 users need not upgrade to 15.1 as these changes mostly affect live mode, while others have been pushed out via system updates.

Users still on Kororaa 14 may wish to upgrade to 15.1 and should do so via a new install (backup your data if necessary). Users who wish to stay with GNOME 2.x should not upgrade to 15.1, as it comes with GNOME 3. However, Kororaa 15.1 does include a desktop switcher for GNOME 3, so that users can switch between the new Shell interface and the 2.x style Fallback mode using the “Switch between Shell and Fallback desktops” link on the desktop.

Desktops
The GNOME 3 desktop has a custom theme available, as well as several extensions to provide an enhanced user experience (and help ease the transition from GNOME 2.x). It also comes with the GNOME Tweak Tool to allow further customisation.
Kororaa 15 desktop - GNOME

The KDE desktop has a custom layout with specific default applications, such as Firefox for the web and VLC for media, etc. It now also comes with Linphone for those wanting a SIP client.
Kororaa 15 desktop - KDE

Features
Derived from Fedora 151, this updated release comes with the usual Kororaa extras out of the box, such as:

  • Tweaked KDE 4.6 and GNOME 3 base systems
  • Third party repositories (Adobe, Chrome, RPMFusion, VirtualBox)
  • Firefox 7 as the default web browser (with integration tweaks for KDE)
  • Firefox extensions included (Adblock Plus, DownThemAll, Flashblock, Xclear)
  • Microblogging client (Choqok for KDE, Gwibber for GNOME)
  • Full multimedia support (excluding Flash, see next)
  • Installer for Adobe Flash plugin
  • Jockey device manager to handle drivers such as AMD/ATI and NVIDIA
  • Video editor (Kdenlive for KDE, OpenShot for GNOME)
  • VLC as the default media player
  • SELinux enabled (particularly worthwhile for Flash)
  • English (Australian/British) support & dictionaries
  • and more..

Feedback
We’d love to hear your feedback on the forums, so download it today and let us know! :-)

Thanks!

Note: Kororaa is not provided or supported by the Fedora Project. Official, unmodified Fedora software is available through the Fedora Project website.