The Penguin Makes Music

My fourth and final overview of open-source software for creative people involves music. In my youth I had many years of musical training, which until recently was going to waste. It’s not that I didn’t have the means – I own several electronic pianos – but I wasn’t motivated to play on a regular basis. Linux changed that, by making it easy to compose my own music, which makes things a lot more interesting.

Penguin_music

Linux has no shortage of musical tools available on-line. One thing that differs from the other areas I’ve discussed so far is that with music, one must use several tools in tandem. This is more in the spirit of the UNIX/Linux tradition of discrete components, rather than an all-in-one application such as “The Gimp” image editor or Libre-Office Suite. This allows for more flexibility but also makes things more complex. I’ll list the open-source tools I use for creating music, and you can be the judge.

* JACK

JACK (the JACK Audio Connection Kit) is a sound daemon (server) which provides the backbone of all music applications listed below. It’s like a virtual patch-board, allowing the interconnection of audio and MIDI (Musical Instrument Digital Interface) data between “JACK aware” applications. Unfortunately, not all programs are configured to use JACK, which is why it’s not yet the de facto Linux sound system. Because it takes control of your system’s audio, you will need to turn it off to play sound from your web browser, for example.

* QjackCtl

This is a graphical tool for controlling JACK without the use of typed commands. QjackCtl creates a list of audio devices, both hardware and software, that can be used as inputs and outputs. It lets the user define input and output connections between them, like a virtual patch bay. It’s not strictly necessary but makes JACK a lot easier to use.

* Fluidsynth

In order to create music on a computer, you either need to record sound from an external device, or to create sounds using a digital specification. “Sound Font 2” is a popular format for the latter; it’s been widely distributed on-line. Like JACK, Fluidsynth doesn’t have its own graphic interface. I found it interesting that Fluidsynth’s default sound fonts contain all the same instrument voices (piano, organ, guitar, trumpet, etc.) as the built-in selections on my Yamaha electronic keyboards. I’ve also found free sound fonts on-line which can produce other sounds such as percussion.

* Qsynth

This is a graphical front-end application for using Fluidsynth, much as QjackCtl is an interface for JACK. I haven’t used Qsynth extensively, except to select sound fonts (voices) for the MIDI sequencer application I’ll describe next.

* Rosegarden

This is the program I spend most of my time using. Rosegarden is a application for music composition and editing. It includes a MIDI sequencer, which can be used as an input to capture notes played on a MIDI instrument (such as my aforementioned Yamaha keyboards.) To do this, I invested in a bit of hardware, the E-mu Xmidi 1×1, a specialized cable which connects the twin round MIDI connectors on my instruments to a USB port on my computer. (I ordered one from Amazon.com for under $30.) If you’re new to this technology, I should note that a sequencer does not record sounds but notes (pitch, duration, attack, etc.) which can be mapped to any sound. This allowed me to make my piano sound like a guitar, ukelele, and an electric bass. As an alternative to Qsynth, you can install the Fluidsynth plugin, which allows you to map an instrument voice to a given track directly in Rosegarden.

Once your melodies and harmonies have been captured, you can edit them in several formats, including the standard sequencer matrix display and old-fashioned music notation. Having had classical training, the latter is my preferred method. This allows me to capture a melody on paper simply by playing it on the piano. Since I’m not very adept in improvisation, it really helps to have the music in front of me. Thus I can improve and embellish on that first performance, re-recording and re-printing it as many times as necessary.

Sadly, I had issues with bugs. In the Linux world, we install applications from the Internet using a command called “apt-get”; this fetches a version of the program created specifically for your current version of Linux. Because I use an older installation of Ubuntu (14.04) and don’t want to update until the next stable long-term Ubuntu is released next spring, I was “stuck” with Rosegarden 13.06. This worked fine for composing, but there were problems when exporting my musical tracks as sheet music. Therefore I downloaded and built a newer Rosegarden (15.12) from source code. It’s a task not for the faint hearted, but it fixed most of my problems.

* LilyPond

If you want to print out the musical scores you create in Rosegarden, the LilyPond program is the best way to do it. LilyPond is a music engraving program, which produces high-quality sheet music from the LilyPond-format (.ly extension) files you can export from Rosegarden. It’s a command line program which accepts a file called “somefile.ly” and converts it to “somefile.pdf” in Adobe Acrobat format, which allows it to be viewed onscreen or sent to a printer.

As I stated earlier, Rosegarden 13 had a bug in producing the lilypond “ly” input files. This caused the Lilypond program to become “confused” about how music was to be broken up into measures, to the point that it would sometimes make a line of music run right off the page! I was able to edit the “ly” files in a text editor to fix these issues, but that was a time-consuming annoyance that made it well worth upgrading to Rosegarden 15.

* JACK Timemachine

If you want to convert your new music into an MP3 file that can be played on your phone or iPod, there are a few more missing pieces. Rosegarden lets you play your music files over your computer’s speakers, but to hear it on another device, you need a “recorder” application such as JACK Timemachine. When you launch this program it appears as a device in the configuration list of Qjackctl. You connect the output of Rosegarden to the input of JACK Timemachine, and then play and record your piece, which is saved as an audio file in 64-bit WAV (w64) format.

* Sox and LAME

Bear with me; we’re on the home stretch. The aforementioned JACK Timemachine is a very simple program that only records music in one format. To change it into a more usable file, you need a music converter such as Sox (Sound Exchange) the “Swiss Army knife” of audio file conversion. Sox is a command-line tool that allows you to convert the w64 files into more playable formats such as WAV and OGG. Unfortunately the popular MP3 file format is patented and technically requires royalties to be paid; therefore Sox (being free of charge) does not include the MP3 plug-in. For do that you must recompile the Sox program from source with an MP3 plugin (requires a fair bit of computer expertise) or better yet, install the “LAME” MP3 encoder to do that last conversion. Why Sox can’t include this function, and yet it can be in LAME as a separate program, I have no idea. Leave that one to the lawyers.

I apologize for this long post and hope it hasn’t been too intimidating. If open-source music tools are complicated, they make up for it in their flexibility and power. Best of all, they’re free, with plenty of help available online. Remember, most of these open-source programs are also available for Windows and Mac. Happy composing!

 

Review, Book of Mormon (The Show, That Is!)

800px-Salt_lake_assembly_hall_christmas

When I heard that Matt Stone and Trey Parker of South Park fame were doing a musical comedy based on the Book of Mormon, I had high expectations. This week I finally saw the show, and they did not disappoint me.For those who don’t know, the play is the story of two American Mormon missionaries who are sent to Uganda. One is a narcissistic over-achiever, the other an Asperger-ish compulsive liar. This, combined with the hellish conditions and cynical inhabitants of the village they’re sent to, makes for some very hilarious and un-PC hijinks.

It’s interesting, when you’ve been listening to the sound track for a long time, to see what the actual show is like. I ended up going twice, because my girlfriend Arlys’ employer changed the date of a conference we’d been planning around. Rather than trying to sell the original tickets and risk not seeing it at all, we bought two more. On Tuesday night I saw it with family, and on Thursday with Arlys. Both times it was fantastic, with top-notch acting, singing and dancing. Seeing it a second time was an opportunity to notice the details and laugh at the jokes I’d missed the first time. Not that I’d have gone twice otherwise, because even high in the second balcony, the tickets weren’t cheap.

I realize that all traveling Broadway shows are pricey these days. It’s just a shame that when a show appears on a college campus (the Gammage at ASU) that the students can’t afford to see it. My son, an ASU freshman, was one of the lucky ones. I didn’t notice too many other people his age when we were there. In any case, the performers all did an excellent job and deserved to be well paid. They were accompanied by a top-notch live orchestra. It’s worth noting that Parker and Stone are among the world’s richest comedy writers (at least, according to one of those Internet “top ten” lists.) I sure wouldn’t complain as the money rolled in.

The Book of Mormon is probably the most politically incorrect musical to ever win nine Tony awards. Besides plenty of vulgar language, it lampoons a major religion, albeit a religion that’s overwhelmingly white and conservative. It gets an equal amount of comedic mileage from the horrible problems of modern Africa – war, famine, AIDS, and female genital mutilation. To the writers’ credit, they didn’t throw in any lines that blamed this on the white man. They did, however, have the African characters complain that foreign missionaries would tell them lovely stories and then leave without fixing anything. The part about an insane general trying to force circumcision upon helpless women was probably furthest from reality. From what I’ve heard, African women are usually the ones who are the most adamant about subjecting their daughters to this barbaric practice.

It was fascinating how much actual Mormon / Latter Day Saints doctrine made its way into the show. The opening historical background sequences reminded me of time long ago when I went to the visitors’ center of the Mormon Tabernacle in Salt Lake City (or Sal Tlay Ka Siti, as the Africans call it.) Of course, it’s all presented in a satirical, cartoonish fashion. My favorite song is “I Believe,” in which Elder Price begins by singing about the standard Christian dogma we all know – that God created the universe, that Jesus died for our sins, that there’s some good in everyone. He continues with the more unusual Mormon beliefs – that ancient Jews sailed to America, that God lives on a planet called Kolob, and that in 1978, God “changed his mind about black people.” Another of the best musical numbers had the sci-fi obsessed Elder Cunningham being chastised by Joseph Smith, Lt. Uhura, hobbits, and Yoda.

I’ve heard very little about LDS reaction on the show, which seems to portray Mormons as well-intentioned but bumbling do-gooders. When I first heard of the show a few years ago, the reviewers claimed that it was popular among younger Mormons, though I personally don’t have any close friends in the church I’d feel comfortable about asking. I definitely wouldn’t recommend the show to anybody who’s offended by profanity, sexual humor, or mockery of religion. To everyone else I say, for Christ’s sake, see it!

(Picture of Salt Lake Assembly hall is from Wikimedia Commons.)

 

 

Calling All Free Speech Warriors!

Signing-Constitution-of-United-States

Those of you who’ve been following the #Gamergate and Hugo Award controversies are no doubt familiar with the term Social Justice Warrior, or SJW for short. SJW’s are the folks who are easily offended by perceived instances of racism, sexism and homophobia, and relentlessly push for everything to be perfectly diverse and fair. I wish them no ill will, and they have a right to their opinion, but I reject it emphatically!

SJW’s are victims of magical thinking. They seem to believe that if only we use the right euphemisms, the pain of being black, gay, transgendered, or handicapped will go away, and the world will be filled with sunbeams, rainbows and unicorns. Conversely, a dirty joke or a naked picture is like the curse of the Dark Lord, spreading rape, domestic violence, and female genital mutilation in its wake. SJW’s focus on superficial, legalistic “solutions” as opposed to actually doing something to help the victims of discrimination, violence,or other misfortunes help themselves. Mollycoddling the officially designated “victims” with talk of “trigger warnings” and “micro-aggressions” helps no one.

At best, the SJW’s obsession with political correctness is a distraction from real issues. At worst, it’s an invitation to any tyrant who can mouth the right platitudes.

It’s not that I’m opposed to social justice, depending upon your definition of the term. To me, it means equality under the law, tolerance of different ethnicities, viewpoints, and faiths, and the freedom to pursue economic opportunity. However, it’s no justice at all if the welfare of the individual must be sacrificed to the collective. That’s why I hate the idea of favoritism in hiring (dishonestly called “diversity”), or hysterical, overwrought reactions to trivial offenses. A case in point is the silly controversy over Sir Tim Hunt‘s innocent remarks about women in science. You may or may not have found them funny, but the man didn’t deserve to be hounded out of his job over them! As a Nobel prize winner in medicine, Hunt’s contributions to society outweigh all the kvetching of all the world’s armchair feminists. Advancing human knowledge is both social and just!

This is why I’m declaring myself to be an FSW, or free speech warrior and First Amendment absolutist. All opinions, no matter how repugnant, deserve to be protected. Even Neo-nazis, Holocaust deniers, ISIS supporters and Westboro Baptists should be able to speak without fear of prosecution. As my favorite radio host John Holmberg has put it, “We need to know who the crazies are!”

So join me, Free Speech Warriors! You have nothing to lose but your self-censorship!

Illustration: Scene at the Signing of the Constitution of the United States by Howard Chandler Christy (1873-1952)

Don’t Fear the Penguin, Part 3 – Linux Publishing Tools

TuxTattoo

At one time, Linux aficionados who write – especially self-published authors – faced the hassle of getting access to a system running Windows or Mac to get their books ready for publication. Those days are over. The open-source world offers increasingly powerful tools for writers. Though I’m not aware of a Linux version of the popular writer’s tool Scrivener at this time, I’ve never really felt a need for it, except for its handy e-book conversion feature. Now there are other options.

The first is Calibre, a general-purpose e-book management program created by Kovid Goyal. The program allows you to catalog your e-books, read them on your computer, and synch with your e-reader device. More important to me as an author is the e-book conversion feature. Calibre lets you import your word processor document, apply formatting, and generate features such as tables of contents. It also lets you view and manipulate the raw HTML code that comprises your book, which is really handy for both editing and troubleshooting. I want to give props to the program’s creator, because when I posted a question on the program’s forum, he answered it personally.

At this point I must note that there are two ways a writer can proceed in book creation, One way is to do the formatting in a standard word processor and a conversion application to get it ready. I’ve tried this in the past (on my first book Centrifugal Force) and it was a troublesome approach. Conversion tools inevitably mess up some of the formatting, particularly if you’re using Open Office or Libre Office rather than Microsoft Word. The better approach is to do as little formatting as possible up front, saving if for the publishing program. With this approach it’s helpful to use unique and consistent text markers for specific features of the book, for example, to use asterisks or hash-tags to indicate scene transitions. These can be updated by using the search/replace features of the publishing program. This is how I did my second book, Fidelio’s Automata — and I didn’t have to reboot to Windows AT ALL to do the conversion.

This brings us to the topic of desktop publishing. For those of you have never used one (PageMaker and QuarkXPress ) are popular non-free options), it’s a whole different animal than word processing. Desktop publishing applications are focused on layout, and making the printed matter look good. Word processors do this, but not well. For example, I’ve gone through a rather involved process to make Open Office suppress page headers on the first page of each chapter. Another important consideration is that just-in-time publishers like Lightning Source require a very specific type of PDF (PDF/x-1a:2001) to be submitted for book manufacture. Yes, any good word processor can export a generic PDF, but can they embed fonts and do other necessary setup?

For desktop publishing, the Linux world has Scribus. In the past the program had a number of serious problems. The worst was that the stable version didn’t create the correct PDF formats; for that you had to use an unstable beta version of the program. As of version 1.4.5, this is fixed. Another weakness affects Scribus’ most powerful feature, its scripting facility, which allows you to perform repetitive programming tasks quickly. Scripts must be written in the Python language, which isn’t at all difficult for someone who already knows programming. The difficult is with the program’s library functions, which the script must access to do anything useful. The Scribus help files contain a reference, but it’s not thorough enough. It took me hours of tinkering to figure out how to do search/replace within a multi-page document. It’s also not totally intuitive how to insert or delete pages without corrupting the left/right formatting. As with most open-source programs, there’s an online forum; unfortunately most participants seem to be doing short works like newsletters or fliers, not novels. There are “how to” books for Scribus, but I hate buying a general-purpose book to learn one task. Sometime soon I will convert my notes into a quick step by step guide for novel creation, which I’ll make available for 99 cents on Amazon, along with my custom python formatting scripts.

As you’d expect both of these programs are also available for Mac OSX and Windows.

Next week’s installation, if I don’t get distracted by any wacky news events, will discuss Linux tools for musicians.

About the illustration: some people are crazy enough about Linux to get the Mighty Penguin Tux embedded in the skin. Tattoo by Kyle Dunbar.

 

Linux Art Tools for the Talented (and untalented)

PenguinKB

The movie Naked Lunch would not have been nearly so dark if, instead of turning into a cockroach, the protagonist’s typewriter would have turned into an adorable penguin. So in honor of the second installment in my Linux posts, which deals with image manipulation programs, I decided to create one. Unfortunately, due to my lack of artistic talent, it ended up looking more like penguin roadkill than anything – but you get the idea.

For what it’s worth, I did the attached illustration with the GIMP, an open-source image editing program similar to Photoshop, without the hefty price tag. The name is an acronym, GNU Image Manipulation Program. (The word “Gnu,” which you’ll see applied to a lot of things Linux, stands for “Gnu is Not Unix,: a bit of computer geek humor.) Like many of these open-source programs, it has versions for Windows and MacOS as well as Linux. The GIMP has a steep learning curve, but you don’t need a manual, just Google. There are thousands of fellow GIMP users out there who are more than willing to help you. Like any serious imaging program, it lets you work with layers and transparency. I have used GIMP for finalizing the cover art for my last two books. Once the artist has completed the illustrations, I use it to add the title and author name, the back cover blurb, and the lettering on the spine. GIMP saves images to its own format, XCF, but you can export things as PNG, JPG, and all other major formats. When I imported the Fidelio cover art from a Photoshop file; it wouldn’t display correctly, but I was still able to extract the layers and paste them into a new document. All in all, the GIMP is a very powerful program.

Inkscape is another image program I’ve recently started using. Unlike GIMP, it’s not a photo editor but a vector drawing program. It’s more equivalent to Adobe Illustrator or Corel Draw. Vectors are not fixed-size pixel drawings; rather they’re abstract mathematical objects that can be scaled up or down with ease. I’ve got a lot of experience with the latter because I use it in my day job to create files for our laser engraver. Therefore I was looking for an equivalent program I could use on Linux. The first thing I tried was to import a Corel Draw file. It was only partially successful, as the “hairline” (zero width) vectors did not come across. It does far better if you export from Corel to SVG format. Inkscape does, however, have its own hairline vectors, a necessity for drawing “cut” lines for the laser. As with the GIMP, Inkscape also has versions for Windows and MacOS.

In the Linux world, one of the paradigms seems to be, why use an existing application when you can create your own? Consequently there are many open-source graphics programs to choose from. The ones I mentioned above are the ones I use the majority of the time. However, I can’t neglect mentioning a handy little program called xfce4-screenshooter, which in Ubuntu Linux pops up every time to press the Print Screen Key. It shows a thumbnail of your screen image, and gives you the option of saving it, copying it to the clipboard, opening it in a graphics viewer or editor, or posting it to ZimageZ, a free hosting site for images and photo galleries.

Penguin photo from publicdomainpictures.net.

 

Emperor Penguin of the Arts

PenguinArts

I think it’s safe to say that the days when few people had heard of Linux (and its Penguin mascot Tux, as shown above) are over. It still has a “for nerds only” reputation, which I would like to dispel. Over the years this free, open-source operating system has been adapted to run on almost every kind of hardware for just about every purpose. It’s now full of excellent tools for writers and artists, and musicians to the point where it can challenge Mac for the crown of the creative persons’ preferred OS.

I’ve been using Linux since the early 1990’s, not long after uber-hacker Linus Torvalds first created it, deriving it from AT&T’s powerful and versatile Unix operating system. At that time, it was a place where only true techies dared venture. Over the years Linux has evolved from an engineer’s toy to a tool friendly enough to be used by the masses. Though you won’t see it advertised on product packaging, Linux integrates easily with a wide range of hardware: everything I need to interface with my PC, from Android phones to MIDI keyboards.

Unlike commercial systems like Microsoft Windows, developers don’t need anyone’s permission to create their own distributions (or “distros”) of Linux. There are many, and I’ve tried most of them, but settled on Ubuntu, currently one of the easiest distros to install, maintain and use. (The name is a Bantu word meaning “human kindness.”) Ubuntu is available for free download from ubuntu.com, though the site requests a modest donation to fund further development. Like all open-source projects, they also depend on the help of volunteer developers and testers to create these amazing projects.

Recently, though, another distro has become my favorite – Ubuntu Studio, available from ubuntostudio.org. Studio is a modified version of Ubuntu that comes pre-loaded with many tools (also free) that are useful for writers, artists and musicians. Though not all of my favorite programs are pre-loaded, most are easy to get, with an amazing tool called “apt.” Apt helps you find these applications on the Internet, and automates their download and installation. Another reason I prefer the Studio version is that it uses the older desktop-icon based user interface. The mainstream Ubuntu distro looks and feels somewhat like Windows 8, which I find rather annoying. As with most Linux distros, Ubuntu works on all Windows-compatible PC’s. The installer includes a tool that allow the user to shrink the Windows partition on their disk drive, so that a Linux partition can be installed alongside. When the computer starts up, it displays a start-up menu from which one can choose either Linux or Windows.

In the following posts I’ll detail some of the programs I use on Ubuntu in my creative endeavors. In compiling the list, I realized it was far too long for one post. For now, for the sake of those who fear they’d miss their Microsoft Office if they switched over, I’ll briefly mention the application that I’m using to created and edit this article.

Open Office and Libre Office are two versions of a free, open-source office suite similar to Microsoft Office, but not as gratuitously complicated. They provide excellent replacements for Word, Excel, and Power Point, which I use on a daily basis. These programs can inter-operate with MS Office by exporting Microsoft formats such as “doc” and “xls.” (The version I’m using can’t output the newer formats, such as docx and xlsx, but it can read and convert them.) Open Office (available from openoffice.org) is the original, which I prefer because I’m familiar with it. Libre Office, which now comes standard on most Linux distros, was split off from Open Office by members of the original development team, but has a similar feature set and interface. By the way, these programs are, like many other open source applications, have available versions for Windows and MacOS.

As I anticipated, this post has gotten plenty long. Next week we’ll discuss free graphic application that are just as powerful as Adobe’s pricey products Photoshop and Illustrator.

 

What’s all this fuss about Net Neutrality?

Hail, hail, the FCC has just enacted Net Neutrality. What is that? Techno-geek types have been concerned for some time about service providers’ plans to charge different rates for different levels of Internet service. The reason is that some applications – HDTV for example – require a very high bandwidth. Some people opposed such differential rates, out of fear that the big players, for example digital content providers like Hulu and Netflix, will hog all the bandwidth, leaving smaller providers out in the cold.

I feel this fear is misguided, for several reasons. Internet bandwidth is not a fixed-sized pie. It’s been steadily increasing with demand, and it will continue to do so. As long is there is competition, the little guy won’t get squeezed out. My bigger concern is about the customer’s connection, the so-called “last mile.” Competition is an issue here, because of state and local governments’ encouragement of telephone and cable monopolies. Many of us have only have three choices – phone, cable, and satellite, and I’ve seen tons of online complaints about the billing practices of Dish Network. City-run wifi networks might help somewhat, but any subsidized service could undercut private providers and become a monopoly, a problem I’ll address later.

As far as the FCC regulation, it’s unlikely to address the problem, even if there is one. That’s because of a phenomenon call regulatory capture – the industry ends up controlling the regulatory agencies. Corruption is one cause, but the biggest reason is that no one knows an industry better than the companies themselves. People often bounce between the corporations and the agencies that supposedly control them. Secondly, regulation costs money, and will undoubtedly increase the cause of our service. Thirdly, why do we need 300 pages of regulation? As usual, the government doesn’t want the public to see the rules until they’re implemented.

The other issue with net neutrality is the allegation, mostly by conservatives and libertarians (see Alex Jones’ infowars.com) that the FCC is doing this as part of a plan to regulate content, which will eventually lead to censorship and licensing of websites. I agree that classifying the Net as a “public utility” sets a bad precedent, but I don’t see the threat as imminent. Censorship will likely come from other directions, such as the un-PATRIOT-ic ACT or “hate crimes” legislation, Furthermore, if city governments take over the “last mile” via public wifi networks, they will be tempted to impose their propagandistic agendas on their citizen customers.

A much bigger threat, I think comes from Obamacare. Well, not exactly the Affordable Care Act itself, but the medical fascism that gave rise to it. Obama’s adviser Cass Sunstein has advocated outlawing the promotion of unapproved, non-mainstream health theories, such as the idea that moderate sun exposure is beneficial. If the insurance companies or Big Pharma were to sue, for example, an anti-vaccine website for cutting into their profits, I doubt that the Supreme Court will have the cojones to go against them. After all, the Supremes were dumb enough to buy the notion that a mandated purchase is the same as a tax. But that’s an issue for another time.

 

“Fun” with Phones

Being an engineer, you might expect me to be an early adopter of technology. No thanks; I get plenty of that at work. I’ve had a cell phone for quite some time, but it was only last year that I finally got a smart phone. I chose Samsung, because it runs Android, which is Linux-based. Since it’s built on open-source software (unlike Apple’s over-priced proprietary gadgets) I expected an Android phone to be easy to upgrade. I was wrong.

Though I love the idea of DIY projects, I’m normally too lazy to be a do-it-yourselfer. Except for adding contacts, I left my Samsung pretty much unchanged. Then I bought a Bluetooth keyboard. My goal was to use the phone for social media, and since I’m a touch typist who hates on-screen keyboards, it seemed like a good idea. Then I discovered that Bluetooth keyboard support was broken on my Exhibit II model phone – and Samsung had no plans to provide software upgrades for that model, ever. If I wanted a newer OS, I was on my own.

If you think that upgrading a phone is a daunting process with a serious risk of damage, you’re right. I was undeterred. Android software is open-source, and there’s an army of volunteers who rebuild the new versions for older hardware. In the time since I got my Samsung, the current OS version (all of which are named for desserts, alphabetically) had gone from Gingerbread all the way to Kitkat. In the end, Kitkat refused to install, and I had to be content with the previous version, Jellybean. Finally, the Bluetooth keyboard worked! It only cost me about 10 hours of experimentation and frustration.

Finding and downloading the updated OS files was the easy part. The website xdadevelopers.com was an invaluable resource. The site’s forums have instructions for unlocking and updating Android phones of all types. Unfortunately, many of the online “how to” guides suffer from what I call the “hometown cookbook” syndrome. Having cooked all their lives, contributors sometimes omit crucial details from their recipes, such as measurements, cooking times, and definitions of terms. The same applies to phone hobbyists. The instructions might say, “First install the Clockworkmod Recovery utility,” but not say how to do this, or which of the many versions to use. Not only did I have to track down the missing details, but I was led down the wrong path several times by obsolete or irrelevant explanations.

Eventually I got it all figured out. It was late and I was very tired, but my phone was finally ready, and I was eager to proceed. I booted it into recovery mode and started the Kitkat installation without first backing up my old system. Big mistake – it aborted with a mysterious error, and the phone no longer functioned. Now it was do or die. I have no land line, so I had to get it fixed, or shell out $300 for a new one. When I finally got a Jellybean version of the “Cyanogenmod” software installed and working, I promptly installed the wrong version of Google’s phone apps. This broke my on-screen keyboard, and once again I hadn’t backed it up. Contrary to on-line wisdom, that critical feature stayed broken even after I reinstalled the correct version of Google Apps. Good thing I had that Bluetooth keyboard; I used it to download a new screen keyboard app off the Play Store. Mission accomplished!

If you, too, are crazy enough to attempt upgrading your own phone, I strongly recommend the following (a) before doing anything, read several versions of the instructions, enough to get all the details, and (b) though it may be time-consuming, backup, backup, backup.