Showing posts with label Nook Color. Show all posts
Showing posts with label Nook Color. Show all posts

20 October 2011

Updating a CM7 SD install for the Nook Color

With the recent release of a signed, stable version of CM7.1, many people are trying for the first time, in some cases after months, to update their SD installs. Now, there's more than one SD install out there. These instructions apply only to cards prepared using verygreen's SASD method. If you used another method, such as a size-specific SD image of CM7, or a pre-made Phiremod/Honeycomb dual boot card, consider this step zero: backup with Titanium Backup, wipe the card, and either make a SASD or consider other options.

To update a verygreen SASD running one of the CM7.0.x builds to CM7.1,

  1. Download the update for the installer/bootloader: http://crimea.edu/~green/nook/update-genimage-1.3.zip*
  2. Download the CM7.1 zip: http://download.cyanogenmod.com/get/update-cm-7.1.0-encore-signed.zip
  3. Download latest gapps (not required, but a good idea): http://cmw.22aaf3.com/gapps/gapps-gb-20110828-signed.zip*
  4. Remove the SD from your NC and plug it into your computer
  5. Move the first two files to the SD card (you will only see a 100MB-ish partition; that's where they go). If both won't fit, do the installer update first.
  6. Confirm that the files are still .zip format (some people accidentally unzip them due to their PC settings)
  7. Return the card to the NC and boot into the SD's alt partition (the installer): "hold nook N key and then press and hold power until the "Loading..." message appears and then disappears with screen going blank. Release power button, then press it again and hold for ~5 seconds, the bootloader "Loading..." message should be on the screen for three seconds or so before you release power button, keep holding N button until screen blanks again. If the screen went off while you were holding the power key, that means you were holding it for too long"
  8. The installer will automatically install the package(s).
  9. Repeat steps 4-7 for the remaining files.

*For most ROM udpates on a SASD, the installer update and gapps package would not be necessary. If you're already running a CM7 nightly more recent than #86, the installer update won't be necessary. They're only needed if you're moving from a CM7.0.x stable release to CM7.1. It is a good idea to update gapps if there's a more recent package at the bottom of this page.

As of now, there is no user-friendly update path from 7.0.x to 7.1 for any SD install other than verygreen's SASD, AFAIK. In the months that CM7.1 has been under development, the SASD has become very much the standard method for running CM7 from SD on the NC. If you purchased a pre-made CM7 card, check the vendor's website for update information.

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.

03 October 2011

Nook Color Dual Boot Guide


MAJOR UPDATE 2/22/12: While the process hasn't changed too much, the key files have all been replaced for greater flexibility, and they are NOT compatible with the old method using rookie1's prep-dualboot zip. For an update path from earlier versions of this guide or resources related to the earlier version, see the XDA thread.


This guide details how to repartition your internal storage and install two operating systems, or ROMs, side by side. If you want CM7/9 on SD without changing your stock install, you're in the wrong place: CM7 SD Install Guide. Previous versions of this guide only worked with CM7/9 on the primary partition set and stock on the alternate partition set, and there was no way to backup or easily update the alternate install. Now, you can have either system on either partition, or have CM7 on one partition and CM9 on the other, or two side-by-side stock installs. You can also move the alternate system back to primary to back up or update. I would call this process an intermediate or advanced mod, and would not recommend trying to follow these steps if you don't understand what you're doing.

This guide takes advantage of the multiboot functionality built-in to CM7.1 nightlies since about #140. As such, it is not compatible with CM7.0.x builds or with earlier boot menus.

What you'll get: Whatever two ROMs you install, each will have a 2GB /data partition for apps and they will share a 2GB /media partition for storage, and both will have access to the SD card for more storage. At startup you will see a small green bar labeled "CyanogenMod." You have a few options when this bar appears:
  • Do nothing, and your primary system will boot
  • Hold down both volume buttons, and your alternate system will boot
  • Hold down 'n' for a more detailed boot menu
  • Hold 'n'+power and recovery will boot (if you installed CWM internally)
All of these actions must be taken in the first few seconds, before any message appears below the green bar. Once you see a confirmation message, you can release all buttons.


DISCLAIMER: As usual, YOU are responsible for changes YOU make to YOUR device. If you're uncomfortable using ClockworkMod Recovery, turn back now. If you're not sure how your NC is currently partitioned, turn back now. If you want to preserve your warranty, turn back now. Here be serpents; be so warned.

Following the guide as-is with all default options gets you a stock 1.4.1 install on secondary and a CM7 install on primary. I hope you can figure out what to substitute where for different results.

Questions or difficulties should be directed to the thread on xda-developers.com.


Prerequisites:
  • CWM on either SD or internal recovery
  • Wi-Fi access


Materials:


Steps:

  1. Put all materials in your SD card's root directory.
  2. Boot into CWM.
  3. From CWM main menu, "backup and restore" and "backup."
  4. From CWM main menu, "install zip from sdcard," and "choose zip from sdcard."
  5. Choose the repartitionDual2GB file.
  6. Reboot recovery. If you have internal CWM and no boot menu, you may need to use the rhythm method:
    hold nook N key and then press and hold power until the {first} message appears and then disappears with screen going blank. Release power button, then press it again and hold for ~5 seconds, the {first} message should be on the screen for three seconds or so before you release power button, keep holding N button until screen blanks again. If the screen went off while you were holding the power key, that means you were holding it for too long
  7. Repeat step 4 and choose reformatData.
  8. If your backup in step 3 was stock, you can "backup and restore" then "restore" and skip to step 13.
  9. Otherwise, repeat step 4 and choose 1.4.1-keep-CWM.
  10. When it finishes, hold the power button to shut down, remove your CWM card (if applicable), and power back on.
  11. Complete B&N registration process¹
  12. Power off and boot back into CWM (may require rhythm method above).
  13. Repeat step 4 and choose BNpri2alt.
  14. From CWM main menu, in "mounts and storage," format system, data and cache.
  15. From CWM main menu, choose "Advanced" and "Wipe dalvik cache."
  16. Repeat step 4 and choose CM7/9 update zip.²
  17. Reboot into main partition and set up Wi-Fi.
  18. Reboot into alt partition (hit both volume buttons at once on "CyanogenMod" loading screen) to make sure it's working.
  19. optional: install gapps, keysmod, etc from CWM.

¹Any mods you want to make to stock, do it now: update to a newer version, root with Manual Nooter (if rooting 1.4.1, follow the linked instructions but use MN 5.12.20), flash keysmod, overclock kernels, or any other CWM-flashable mods.

²If you backed up an existing CM7/9 install in step 3, then after step 16 just install gapps, install keysmod if you want it, then from CWM's main menu, Backup & restore > Advanced Restore, and restore data only from your most recent backup. When you boot into CM7 (not tested with Phiremod), it will be just like you left it.³

³Steps 17 and 18 may look unnecessary, but several users experienced force closes in their CM7 installs when they didn't take these steps.


Other Resources:

  • CMpri2alt: Moves a CyanogenMod install from the primary partition set to the alternate partition set
  • BNalt2pri: Moves a stock install from the alternate partition set to the primary partition set
  • CMalt2pri: Moves a CyanogenMod install from the alternate partition set to the primary partition set
  • Revert dual boot: deletes the alternate partition set and alternate boot files. Does not restore stock partition sizes, but must be run prior to partitioning back to stock
  • 1.4.1 full restore: removes CWM from internal recovery, does not affect partitioning
  • 1.4.1-to-alt-partition: updates any existing stock install on the dual boot partition (removes root, does not remove installed apps)
  • Steps to back up and/or update both partitions
  • Instructions to rename boot files created with j4mm3r's multiboot
  • Possible fix for boot-loop at 'n' screen on stock partition (largely untested: don't use it unless you have this problem)


Credits:
  • repartitionDual2GB and reformatData provided by DeanGibson
  • 1.4.1 zips provided by rajendra82
  • BNpri2alt, BNalt2pri, CMpri2alt and CMalt2pri are minor alterations of DeanGibson's files linked above
  • revert-dualboot is a minor alteration of rookie1's remove-dualboot
  • Racks11479 provided key info for the above alterations

Originally posted on xda-developers.com

13 September 2011

Running CyanogenMod 10 from SD (Nook Color): Simplified Instructions

This guide is just a step-by-step re-write of verygreen's Size-Agnostic SD method. For help or more information, see the original thread.

The resulting CM10 install will run entirely from the SD slot, without altering the contents of the Nook Color itself. The NC will always try to boot first from the SD slot. To load the stock, on-board operating system, hold n/home right after powering on and choose "emmc" and "normal" from the boot menu. For all intents and purposes, this arrangement preserves your warranty, because when the card is removed there is no indication that the NC was ever anything but 100% stock.*

I make no guarantees, however, regarding how this process will impact your warranty or your device. YOU are responsible for changes you make to YOUR device. /disclaimer

Some people refer to this arrangement as dual booting, though more advanced users can also install and dual boot both OSes directly from the NC.


Materials
  • You will need a Micro SD card 1GB or larger. Class 4 Sandisk cards 8GB and larger have provided the most consistently stable installs. Class 2 and unclassed Sandisks have also performed well, but most other cards, while allowing you to install CM7, will have performance issues. More information.
  • You may need a USB Micro SDHC card reader. All-in-one readers found on laptops and some PCs are often unreliable for writing a disk image. Some people have success using the NC, a phone, or a camera as a reader, but it's not recommended, and may render the card unreadable if the process is interrupted. More information.
  • In Windows, you will need a utility such as WinImage or Win32DiskImager to write this image to your SD card. In Linux or Mac OSX use the dd command, being sure to write to the entire device and not a numbered partition. More detailed Mac instructions (thanks to justChris).
  • Download the disk image (thanks to leapinlar for the CM9/10-compatible revision) in compressed .zip format. It's an approximately 8MB file which you will extract into an approximately 200MB disk image. More info on CM9/10 compatibility.
  • You will also need a CyanogenMod 10 ROM from this list. This installer is made to work with CM 7.1 and up, not the older 7.0.x releases.
  • Finally, if you wish to activate a Google account for the Android Market, GMail and etc., you will need the CM10.0 Google Apps package from this page.

Steps
  1. Write the extracted image file to the SD card. In WinImage, the command is Restore Virtual Hard Disk Image on Physical Drive under the Disk menu. Be sure to choose the file type All Files so you can see generic-sdcard.img. It may take a few minutes.
  2. Copy the CM10 update file (as is: do not unzip) to card.
  3. Safely remove/eject the card from your computer, place it in your powered-off Nook Color, and power-on. The NC will unpack the CM7 ROM to the SD card, informing you of its progress, and power off when it is done. CM7 is now installed.
  4. If you wish to install Google Apps remove the SD card and return it to your PC.
  5. On your PC, copy gapps-*-signed.zip file (as is:do not unzip!) to the card's boot partition (the only partition Windows can now access).
  6. Safely remove/eject the card, return it to the NC, and boot into CM7.
  7. Set up a Wi-Fi network (important!), then hold and release the power button to bring up the power menu.
  8. Choose Reboot > Recovery. The NC will now reboot and install Google Apps, which can happen very quickly! You should be prompted to set up a Google account when you boot back into CM7, but if not, check Settings > Accounts & Sync before assuming the package did not install.


To add books or other media to the card's storage partition, you must boot into CM7 and connect to your PC via USB, and turn on USB storage by tapping through the "USB Connected" notification on the NC. If you connect the card to Windows with a card reader after writing the image in this guide, Windows will tell you there is only 200ish MB free on the card. More info on working with bootable SDs.
__________________________________________________________

*The one way you could inadvertently install something on the NC itself is to open ROM Manager and "Flash ClockworkMod Recovery," which would install CWM on the NC's recovery partition. Neither ROM Manager nor CWM are necessary or useful to maintain a CM10 SD install; leave ROM Manager alone or uninstall it until and unless you are ready to replace the stock OS with CM10 on eMMC (embedded Multi Media Card, shorthand for the NC's internal flash storage).

06 June 2011

My Nook Color F!AQ

This is not a general or comprehensive FAQ so much as my personal idiosyncratic list of things that made me go "F!" while working with the NC and CyanogenMod 7, and how I got past them. Items are listed in roughly the order they were encountered.

F! Rooting, ROMs, 1.2, 2.2, 2.3.4, 3.1, GingerFroCoSammich: WTF?!?

Don't take every recommendation as gospel, but this guide is a great starting point to wrap your head around all the options: http://quinxy.com/guides/how-to-pick-your-nook-color-operating-system-and-install-options/

F! Win32DiskImager requires half a dozen development environments and still doesn't work!

Okay, it's shareware not freeware, so you may still need Win32DiskImager down the road, but WinImage is a simpler, standalone utility and it's free for 30 days--and get this, not 30 consecutive days, but 30 days on which you actually open the program. For instance, I installed about a month ago, and am currently on evaluation day four. You will probably get sick of messing with this stuff long before you run out of eval days.

F! I can't find and/or write the disk image in WinImage!

The command to write the image is Disk>Restore Virtual Hard Disk Image on Physical Drive. You will have to show file type All Files every time in order to find the .img file.

F! I don't have a card reader, and need access to the boot partition of my bootable uSD card.

The simple, smart solution to this problem is STFU and get a card reader. However, you can access the uSD card's boot partition from the NC's stock OS. Power off the NC, make sure the card is ejected, and power back on. Before the OS has fully loaded, for instance on one of the splash screens, re-insert the card. Once the stock OS has loaded, it will now recognize the boot partition as storage. Inserting the uSD after the OS has loaded only gets me a "SD is ready to remove" message.

F! Why isn't my NC showing up in Windows when I plug in USB?

CyanogenMod does not automatically mount storage when you plug in USB. Open your notifications, tap the USB notification, and it will take you to the USB screen where there is a big "Turn on USB storage" button. Push it.

F! Chunks are falling off of my USB cable!

Maybe it affects some cables more than others, but the plastic around the light-up "n" on the USB cable is very brittle. B&N is aware, and will not give you a hard time about replacing the cable at no cost if you just call up customer service.

F! Where is the serial number on this thing?

The SN is under the movable flap that conceals the uSD slot.

F! I want to revert this bootable uSD to simple storage, but it won't format!

Some people have reported success just formatting the card, but it was no good for me. The simplest solution for me after trial and error was to use the graphical 'slider' interface in EASEUS Partition Master (free) to delete all partitions except the storage partition and then drag the ends of that partition to take up the unallocated space.

F! The sound is terrible. Like, terrible terrible.

It kind of just is :( Maybe some NCs are worse than others, but tons of people report ridiculously low volume through both the speaker and the headphone jack, as well as some cases of hissing or other artifacts over headphones, particularly high-end audiophile headsets. The situation can be aided considerably on CM7 by installing the Nook Tweaks app from the marketplace and adjusting speaker and headphone gain there.