Showing posts with label android. Show all posts
Showing posts with label android. Show all posts

08 January 2012

Tablet Litmus Test: Do I Need It?

This post will not be an exhaustive pro/con review of purchasing a tablet. I just want to share one insight synthesized from both my own tablet use and the discussions and articles I've followed for the past year regarding tablets and the alternatives (netbooks and laptops in one direction, e-readers and media players in the other).

Reactions to tablets are mixed. Some owners and bystanders alike are left scratching their heads, asking, "What is this good for?" For some people, the cost is trivial enough that the redundancy alone is worthwhile: an extra browsing screen, an extra music player, a movie screen in a pinch, and an extra-large Angry Birds machine. Most of us, though, don't want to drop even $200-300 for a budget model, much less $400-800 for an iPad or Transformer, if we're only going to use it for five minutes once a week.

My test, and the one disgruntled tablet owners seem to have failed to apply, is this: is there one task for which this will be my primary and preferred device? In other words, know why before you buy.

Many satisfied tablet owners, like myself, wanted a not-quite-so-dedicated e-reader, or more specifically a reader for highly visual media like magazines and comics. Others saw a space in their daily routine where they'd want to watch movies out of reach of their televisions or PCs. For others, just having something bigger than a phone and smaller than a laptop to curl up with while watching TV was enough. Yes, a lot of the tablet's value rests in being a general-purpose computer, but we also had in mind a single purpose that it would serve better than any other device in our stable.

If your current arrangement works just fine--if you always need a laptop handy anyway, or must have e-ink for novels and don't read magazines, or WiFi wouldn't cut it for your mobile browsing and you don't want another bill--then don't get a tablet.

20 October 2011

Working with Bootable SD Cards

My experience with bootable SD media is specific to microSDHC cards in the Nook Color tablet/ereader, but the issues people encounter will probably apply to any device, particularly any Android device, that boots first from its SD reader. These issues are also largely Windows-specific, but some of the concepts apply more broadly.

The ability to boot first from external media makes modifying or repairing a device much simpler and more straightforward in a lot of ways, but it also introduces concepts and processes that may be as unfamiliar to veteran Android rooters and flashers as they are to total tech neophytes (aka n00bs).

Bootable Media

Anyone who has installed a computer operating system (OS) or run a Linux live disk is aware that nearly all full-fledged computers check to see if any of their optical drives (CD, DVD, Blu-Ray) and/or USB ports and/or flash card readers contain any bootable media before loading the OS on the primary system drive. Most programs run inside of an OS. For external media to be bootable, it must provide an alternate framework within which its program(s) can run: an OS of its own, however simplified in most cases. As long as all of the host device's hardware is intact, no matter how badly the native OS is screwed up or how tightly it's locked down, bootable external media can do things like reset factory defaults, run hardware diagnostics, in some cases extract, move, or erase data, or install a whole new OS.

No ADB? No Root? No Problem.

In terms of Android modding, particularly running custom ROMs (volunteer-built alternative OSes), bootable SDs allow us to skip some preliminaries like installing developer software packages and drivers on our PCs, rooting our device's stock firmware, and replacing stock recovery with custom utilities. It all but eliminates the risk of "bricking" (rendering the device permanently unable to boot), because again, no matter how badly you screw up the software, you can always plug in a bootable SD, wipe the system clean, and start over. Because you didn't overwrite the stock recovery, you may even have the option of triggering a built-in factory reset. Moreover, because SD cards are almost identical to an Android device's internal flash storage, complete custom ROMs can often be run stably from SD cards without altering the stock software at all.

Obstacles, Ordeals & Misunderstandings

While bootable SDs are often more direct, safer, and more flexible than other modding tools, they can also be less familiar and intuitive than some of the install-and-click root methods out there.

  • Software: You'll need a disk-imaging program like WinImage (shareware) or Win32DiskImager (free and open source). The latter is designed more with developers than average users in mind, and the installation process can be daunting. Both are intended more for backing up and managing images than writing a downloaded image to a new disk, so it's by no means obvious at first glance how to accomplish our task, though most modding guides give specific instructions. In WinImage, it's Disk | Restore Virtual Hard Disk Image on Physical Drive. Make sure you know your card's drive letter, then select file type All Files.
  • Hardware: Not all card readers that can read SD are reliable for writing images. Your laptop's all-in-one cardhole probably won't work. Even a regular-size SD slot and an adapter may not work. Some people (including me, making my first card) have success using a tablet, phone, or camera as their reader via USB, but if the connection is interrupted, the card may be rendered unreadable. Your best bet is a USB ɥSDHC reader, which are quite inexpensive. The other options are worth a try, but if the image isn't writing, the reader may be to blame.
  • Cards and Class: If you're only making the card to run a rooting utility or a custom recovery like ClockworkMod, any card will do. For running ROMs from SD, however, class 2, 4, and unclassed SanDisks seem to outperform most other cards. Card class measures only how fast a card can read and write large, sequential files, like high-megapixel digital photos; indeed, few devices other than a newer SLR camera will benefit in any way from a class 10 card. An OS relies more heavily upon small, random reads and writes, which are not measured by card class and often suffer in higher-class cards.
  • Partitions: Some bootable images, particularly a complete OS, will need to divide the card into multiple partitions (separate virtual disks on one physical disk) to function properly, but Windows Explorer only looks for the first partition. So, Windows may tell you your 8GB SD is now only 103MB: DON'T PANIC. It's perfectly normal. If you need to erase the card, use SD Formatter. If you still don't see the whole card, use EASEUS Partition Manager's slider interface to delete all but one partition and stretch that one to take up the remaining space on the card, then format again.
  • Downloads: they get corrupted sometimes. Check the md5 sum of your image files if available, or if an image doesn't write successfully, delete and re-download.

04 October 2011

Your Nook Color Options: Root & ROMs

The Nook Color has seen a lot of modding, hacking and customization, due to its low cost, under-utilized hardware, and highly flexible, nigh-unbrickable configuration. After nearly a year of both regular firmware updates from B&N and furious volunteer development, the array of hacks, mods, custom ROMs and utilities for this device can appear sprawling.

What it comes down to, however, are three main options. All of them take advantage of the configuration that makes the NC so flexible in the first place; unlike most Android devices, the NC boots first from the ɥSD slot, in the same way a PC looks first for a bootable disk before loading the OS on the primary hard drive. As with a PC, this configuration makes it very easy to run a utility, install an OS, or even run an OS completely from bootable* ɥSD.

Rooting

When used as a verb, rooting means altering your current stock firmware to enable root, or superuser, access. Like having the Administrator account on a Windows PC, root allows you to change high-level settings such as those preventing you from installing unapproved apps, and accessing unapproved app markets. Rooting the NC maintains the stock interface, the stock reading app, and device-specific perks like in-store reading, but lets you install the Google and/or Amazon app markets, which have many more apps than the B&N market, often at lower prices. Apps purchased on those markets can also be installed on other Android devices.

If you basically like the NC's interface but would like a couple more apps, rooting may be your best option. The most common way to root the NC is ManualNooter. If rooting stock firmware 1.4.x, follow the linked instructions but use ManualNooter 5.12.20.

Custom ROMs (OS replacement)

Custom ROMs are volunteer-built operating systems that completely replace stock firmware when installed on a device. Virtually all custom ROMs have root access by default, and do not need to be rooted. Because we can boot from ɥSD, it's also not necessary for us to root before installing a custom ROM, as is necessary on many other Android devices. For the NC, there are three ROMs worth considering, and one to rule out.

  • CyanogenMod7: The CyanogenMod project is a robust team of developers releasing nightly improvement of their ROMs for a variety of Android devices. CM7, a version of Android 2.3 Gingerbread, is by far the the most feature-rich and flexible ROM for the NC, with the most community support. CM developers have added features like bluetooth, Tablet Tweaks, audio improvements, USB host, and more to the NC. Replacing B&N stock with CM7.
  • MiRaGe CM7.2 KANGs: With the CM7 team no longer providing quasi-nightly test builds, this ROM is the simplest way to keep up on the latest changes until there's a new stable CM7 build.
  • MIUI: a popular makeover of Gingerbread's UI, brought to the NC using CM7 codebase.
  • Honeycomb: the only versions of Honeycomb available for the NC are basically demos and are not being updated. Honeycomb is the only Android version for which Google has not released source code, so there is very little for devs to work with.

Custom ROMs (ɥSD install)

The NC's fairly unique configuration opens up a third option that leaves the stock firmware untouched and arguably preserves your warranty (though I still wouldn't mention it to customer service). Because it boots first from a ɥSD card, and that card is virtually identical to the internal flash storage (eMMC), it's possible to run a custom ROM entirely from ɥSD. This option is probably the best place for most people to start, even if you think you'll eventually be replacing the stock firmware. It's a fairly simple procedure that leaves you in a good position to make future changes if you decide they're necessary. With the right card (see instructions), many people find ɥSD installs to perform just as well as an OS housed on eMMC.


Beyond

For the more adventurous or more particular, you'll find a variety of projects on the xda-developers NC forums, such as moving your stock firmware to ɥSD. I've also assembled a guide for dual booting two OSes from eMMC.
____________________________________________________

*Perhaps the least familiar aspect of all these methods, where a lot of people run into trouble, is writing a bootable image to ɥSD. A couple of things to keep in mind:
  • Your laptop's all-in-one cardhole probably won't work. Even a regular-size SD slot and an adapter may not work. Some people (including me, making my first card) have success using the NC, a phone, or a camera as their reader via USB, but if the connection is interrupted, the card may be rendered unreadable. Your best bet is a USB ɥSDHC reader, which are quite inexpensive.
  • Downloads get corrupted. Check the md5 sum of your image files if available, or if an image doesn't write successfully, delete and re-download.