@PeteInSequim
Table of Contents
Introduction..................................................................................................................................1
Author's Notes.............................................................................................................................2
Warning.......................................................................................................................................2
Names and acronyms (Skip this and go straight to the instructions).........................................3
Equipment and utilities needed (Skip this and go straight to the instructions)...........................5
Step 1: Download files to your preparation computer.................................................................6
Step 2: Prepare the bootable microSD card...............................................................................8
Step 3: Boot to CWM, then backup and clear the existing system...........................................10
Step 4: Install the zip Files from the microSD...........................................................................11
Step 5 (Optional): Install a preferred GApps package..............................................................13
Things You Should Know..........................................................................................................15
About recovery utilities...................................................................................................15
About backups................................................................................................................15
About GApps..................................................................................................................16
About TWRP version 2.8.7.4..........................................................................................16
About installing future CM-12.1 ROM or GApps revisions............................................17
About installing future TWRP revisions..........................................................................19
Problems you might encounter.................................................................................................20
Failure to boot from the microSD card...........................................................................20
Unexpected reboot after shutdown................................................................................20
Credits.......................................................................................................................................21
Reference Information...............................................................................................................21
i
Introduction
This document will guide you through the steps of installing a pure modern version of the
Android operating system on your Nook HD or Nook HD+ tablet. The installation is done from
a bootable microSD card using the ClockWorkMod recovery utility to install the contents of zip
files. This straightforward method does not require ADB or rooting the Nook. The result is
CM-12.1 installed with basic Google apps and your choice of TWRP or CWM for your resident
recovery utility.
Don't like to read instructions? Prefer to figure out the details yourself?
Use this fast track guide with download links.
Or skip this and move on to the next page for the detailed guide (recommended).
1. Download the four needed files for your specific Nook model.
Choose either TWRP or CWM resident recovery utility.
Page 1 of 21
Author's Notes
This document was written by a geriatric senior for an audience of geriatric seniors who lack
technical knowledge and experience but are able to follow instructions. Bright young Android
enthusiasts please bear with us; old men need Android toys too.
This document was complied from many articles and discussions on Internet pages. Some of
these were hard to find and all were hard to understand. I didn't invent this stuff, and it is not
easy to discover who did. It is the compounded work of highly skilled anonymous individuals
who are willing to share their discoveries with anyone interested. We are all grateful for them,
so please visit the Credits for a closer look.
This document contains hyperlinks which are clickable in most, but not all PDF readers. Text
forms of the URLs are placed below most links for convenient copy and paste.
@PeteInSequim
Warning
Replacing an operating system can be risky. Mistakes or uncertainties might cause
something to go wrong causing grief, extra work, and expertise to recover. An
external backup is essential if you wish to revert to your original operating system.
Your settings, credentials, and other data on your Nook will be lost in the process and
must be re-entered. Your user-installed apps will be lost and must be re-installed. In
the worst case you might brick your Nook (make it behave like a brick, though not
nearly as heavy). Sometimes a bricked device cannot be restored to normal
performance. You and you alone are responsible for any outcome, so follow the
instructions to the letter and proceed with care.
When replacing an Android ROM there are opportunities for mistakes that can
ruin your day, or longer. This document may seem overly verbose, but is purposely
this way to keep you out of trouble.
If you are unfamiliar with the rudiments of custom ROM installation, please read and
understand these instructions several times before you begin the procedure. Post
questions if you must, but do not proceed until you clearly understand everything.
Page 2 of 21
Names and acronyms (Skip this and go straight to the instructions)
Flash
Flash is a non-volatile form of memory (contents retained without applied power). Embedded
systems, such as the Nook tablets, use flash with NAND type cells for secondary storage.
Writing to flash memory (flashing) involves storing a sequence of bytes and reading involves
fetching a sequence of bytes. NAND flash memory is not suitable for random access
operation, so stored programs cannot be executed from it in place. It is, however, ideal for
quickly fetching an entire program image and shadowing it into RAM for execution.
Image
An image is a byte-by-byte pattern of data. As considered in this document an image is
program code or data to be installed into secondary storage. The image file, with other files
to support its installation, is often delivered compressed into a single zip file.
/sdcard
The partition of the Nook's internal emmc storage that is devoted to the user's general
purpose storage needs. It is not really a Secure Digital card.
/external_sd
The Nook's removable microSD card storage. It really is a Secure Digital card.
Page 3 of 21
CM-12.1
CyanogenMod version 12.1 is the operating system to be installed on your Nook. This
version installs Android 5.1.1, also known as Lollipop.
Recovery
In computing terms, recovery is the process of recovering and/or replacing data that has been
lost from non-volatile storage. Installing the components of a new operating system is a form
of data recovery.
In Android terms, a recovery utility is a software tool to help with the recovery process. This
utility is not an app but a self-contained program with its own operating system. It is resident
on the /recovery partition of the Nook's internal emmc storage but can also be booted from a
microSD card. The two prominent recovery utilities considered in this document are TWRP
and CWM.
GApps
Google Apps is a collection of Android apps created and maintained by Google. GApps is
offered in various package sizes from minimal to extensive content. All packages include the
Google Play Store app, with which additional apps can be installed as needed.
SOURCE
root
root is the user name or account that by default has access to all commands and files on a
Linux (Unix) system. Android is based on the Linux kernel.
SOURCE
Android Debug Bridge (ADB)
Android Debug Bridge (adb) is a versatile command line tool that lets you communicate with
an emulator instance or connected Android-powered device. It is a client-server program that
includes three components:
A client, which runs on your development machine. You can invoke a client from a shell by
issuing an adb command. Other Android tools such as the ADT plugin and DDMS also create
adb clients.
A server, which runs as a background process on your development machine. The server
manages communication between the client and the adb daemon running on an emulator or
device.
Page 4 of 21
Equipment and utilities needed (Skip this and go straight to the instructions)
Your Nook HD or HD+ with fully charged battery.
A Linux or Windows computer with an SD card reader to download files and prepare a
bootable microSD card for the installation.
A Class 4 or higher microSD card with an adapter for the preparation computer's SD
card reader/writer. Minimum capacity is 1 gB but 4 gB or larger will accommodate
backup files that will be needed if you ever wish to restore the original operating
system, apps, and data. Save this microSD card as a rescue tool in case the Nook
ever fails to boot normally.
A utility to format the microSD card to a single-partition FAT32 file system and make it
bootable. Linux computers support this with the gparted partition editor. For Windows,
download and install MiniTool Partition Wizard Free.
A utility to extract the contents of a compressed Roshal archive file (.rar extension).
For a Linux computer use the archive manager, which might request to install a
supplemental unrar client. For a Windows computer, download and install 7-Zip or
WinRAR.
Page 5 of 21
Step 1: Download files to your preparation computer.
Except for GApps, these files have been compiled specifically for your Nook model
and cannot be used for other devices. Attempting to install a zip file on the wrong
model can damage your Nook. Make your selection carefully.
1a. Download files to build a bootable microSD for your Nook model.
1b. Download the resident recovery zip file for your Nook model.
Choose TWRP (recommended) or CWM. Download both if you are undecided. If you plan to
use a tk_gapps or open_gapps package you must choose TWRP for resident recovery.
http://forum.xda-developers.com/attachment.php?s=125ac5a1d88f023a4a7a44c78ea05e5b&attachmentid=2849342&d=1405272605
File name is NookHD-CWM-6046-for-internal-memory-rev0-(07-13-14).zip
https://notredame.app.box.com/s/26a4bygh9vbaw7jjq08xr5evomvaw5ww/1/3332708110
File name is twrp-2.8.7.4-hummingbird.zip (version may differ)
http://forum.xda-developers.com/attachment.php?s=125ac5a1d88f023a4a7a44c78ea05e5b&attachmentid=2849350&d=1405272804
File name is NookHDplus-CWM-6046-for-internal-memory-rev0-(07-13-14).zip (version may differ)
Download the TWRP file for resident installation on a 9-inch Nook HD+ (Ovation). CREDITS
https://notredame.app.box.com/s/26a4bygh9vbaw7jjq08xr5evomvaw5ww/1/3332706778
File name is twrp-2.8.7.4-ovation.zip (version may differ)
Page 6 of 21
1c. Download the CyanogenMod CM-12.1 zip file.
CyanogenMod.org has not yet released an official CM-12.1 zip file for the Nook HD or Nook
HD+. Thankfully one Nook-owning Android researcher periodically offers unofficial releases.
If you choose tk_gapps or open_gapps you must choose TWRP for your resident recovery.
Here are some prominent GApps packages (build dates may differ):
Download tk_gapps-modular-pico-5.1.1-20150920-signed.zip. (recommended) CREDITS
https://www.androidfilehost.com/?w=files&flid=31528
Download open_gapps-arm-5.1-pico-20150924.zip.
http://opengapps.org/
Download Mini-gapps+5.1.x-2015-06-27.zip. CREDITS
https://www.androidfilehost.com/?fid=24052804347765530
There are many other GApps packages to choose from, such as these:
http://opengapps.org/ (choose the ARM platform for Android 5.1)
http://forum.xda-developers.com/android/software/tk-gapps-t3116347
http://forum.xda-developers.com/showpost.php?p=59691695&postcount=3
OPTIONAL: To assure that your GApps file is as expected and error-free, compare the
presented md5 sum with one you calculate from the file when it arrives. The md5sum utility
is native on Linux systems. For Windows use Microsoft File Checksum Integrity Verifier or
MD5 & SHA Checksum Utility.
Page 7 of 21
Step 2: Prepare the bootable microSD card.
2a. Extract the files from the downloaded Roshal archive (.rar) file.
Extract only the .rar file. The .zip files will be used as is so do not extract them.
Linux computer: Right-click on the file name and select Extract Here .
Windows computer with 7-Zip installed: Right-click on the file name, hover over the 7-Zip
line in the menu that appears, then select Extract files . A dialog box will appear, suggesting
a path and folder name for the extraction. Accept this and click OK .
The result of the extraction will be a folder with the same name, but without the .rar
extension, containing the files MLO , kernel , ramdisk , u-boot.bin , and uImage .
Linux computer: Place the card in the reader and launch the gparted partition editor from a
command line as super user. sudo gparted
Select the microSD card from the offered choices.
Partition menu > Unmount all existing partitions.
Partition menu > Delete all existing partitions.
Partition menu > New : Create new primary FAT32 partition using all available
space. Leave Free space preceding , New size , Free space following , and Align to
unchanged. Add a Label if you wish; one good choice would be Hummingbird or
Ovation as appropriate.
Click the green check mark to apply these pending operations.
Partition menu > Manage Flags : Tick the boot flag.
The microSD card is now ready. Leave it in place for the file copying step.
Windows computer with MiniTool Partition Wizard installed: Place the card in the reader
and launch the Wizard.
Select the microSD card from the offered choices.
Delete all existing partitions.
Create a new primary FAT32 partition with default cluster size.
Right-click on the partition and select Set Active to make it bootable.
Click Apply to perform these pending operations.
The microSD card is now ready. Leave it in place for the file copying step.
Page 8 of 21
2c. Copy the five extracted files to the microSD card.
Order is important. The MLO file is the primary boot loader so it must be the first file copied
onto the freshly-formatted microSD card.
Copy (drag and drop) the MLO file onto the microSD card. The remaining files ( kernel ,
ramdisk or ramdisk.cwm , u-boot.bin , and uImage ) can then be copied individually in any
order or as a group.
2e. Optionally copy this instruction document's PDF file to the microSD card.
If you save the microSD card as a recovery tool it might be helpful to have these instructions,
and the included download links available for easy reference. You will need to install a PDF
reader app from the Play Store to view the instructions with your Nook.
2f. Eject (unmount or safely remove) the microSD card from the computer.
The hard part is now done! You are ready to begin the installation.
Page 9 of 21
Step 3: Boot to CWM, then backup and clear the existing system.
The Nook should be off when installing the microSD card.
3b. Backup the existing system and data to the microSD card.
3c. Remove the existing system, user data, and installed apps.
Return to the CWM entry menu (Power button) when the wipe completes.
Page 10 of 21
Step 4: Install the zip Files from the microSD.
The menu examples show files for Nook HD+ (Ovation). File names, dates, and versions
may change. Your screens may differ from the examples.
Page 11 of 21
4d. Install your preferred GApps package
Most GApps packages can be installed by CWM but the more sophisticated tk gapps
(recommended) or open gapps packages cannot. If you wish to install one of these you
must postpone to Step 5. Otherwise you may continue here with some other package.
4e. Power down the Nook and remove the microSD card.
CWM is unaware of the CM-12.1 approach to root security. If you see this message, select
No and press the Nook Home button.
Almost done! Your Nook is now enhanced with pure Android 5.1.1.
Proceed to Step 5 if you postponed installing the GApps zip file.
Page 12 of 21
Step 5 (Optional): Install a preferred GApps package
If you postponed installation of a GApps package in Step 4d you may install it now or at some
future time. You will use the resident TWRP discovery utility that you installed in Step 4b.
You will need the preferred GApps zip file that is on your installation microSD card. At this
point the Nook power must be off and the microSD card must be removed so it will not
intercept the boot process.
Page 13 of 21
5f. Remove the microSD card.
You are now ready to prepare your Nook for use. If you installed a tk_gapps package the files
tk_gapps_debug_logs.tar.gz and tk_gapps_log.txt have been placed on the microSD card.
Done! But don't make any user interface changes for a while.
CM-12.1 is far from stable so revisions are to be expected over coming months.
You may wish to periodically install some of these revisions, which is easily
done in a few minutes. For this reason you should resist making any changes
to the user interface, such as themes, wallpaper, icons, sounds, boot
animations, etc.
If you make such changes you must perform a full wipe and factory reset before
installing any CM-12.1 revision. This means you will have to set up your Nook
again and restore all of your apps and data.
Page 14 of 21
Things You Should Know
Reboot to recovery.
The ability to reboot from CyanogenMod into the recovery utility is disabled by default. It can
be enabled in the Developer options settings, but this is hidden by default. Follow this
procedure to reveal it and enable reboot into recovery.
Open Settings and scroll down to the System section.
Tap About tablet .
Locate the Build number field in the About tablet parameters.
Tap the Build number field seven times to reveal Developer options .
In Settings > System , tap the newly visible Developer options field to open.
Locate and enable the Advanced reboot setting.
Now the reboot action will offer a selection menu that includes Recovery .
Page 15 of 21
About GApps.
GApps (Google Apps) is a collection of Android apps created and maintained by Google.
GApps packages are assortments of these apps provided by entrepreneurial volunteers. The
packages are specific to the Android version in use but not to the device model.
A GApps package is a zip file containing the assortment of apps and installation support
software developed by the provider. There are several providers of GApps packages to
choose from.
GApps providers usually present a chart showing the content of each package they offer.
Here is one such provider. Click here and scroll down to GAPPS PACKAGE COMPARISON.
All GApps packages include the Google Play Store app, so choose one of the smaller
packages (pico, nano, or micro) to avoid loading apps that you don't want. For example,
your Nook doesn't have a camera or GPS, so it would be pointless to install apps that require
these features. Additional apps from the Play Store can be installed later as needed.
The tk_gapps and open_gapps packages cannot be installed by CWM but can be installed
later by the resident TWRP recovery. If you choose tk_gapps or open_gapps you must
choose TWRP for your resident recovery utility.
Page 16 of 21
About installing future CM-12.1 ROM or GApps revisions.
Your Nook is now prepared to directly download new release zip files and install them with the
resident TWRP recovery utility. Generally there is no need for partition wipes if what you will
install is a close relative of what is already in place. For these simple cases existing ROM or
GApps packages can be over-written with a new ones. This is called a dirty install; your
apps and data will not be lost and there will be no need to repeat the tablet setup.
But there are prerequisites for more complex situations. Installation zip file packages contain
supporting scripts to detect and avoid problems before flashing the image into place. A
GApps installation script, for example, must first remove the obsolete apps before installing
the revised apps. If the existing package is not an an ancestor of the new package, it might
have been installed in some way that will not be properly detected by the newcomer and
artifacts might remain. Follow these rules to avoid problems.
Rule 1. If your installation involves only new releases of the same CM-12.1 version and/or a
GApps package from the same provider as the installed package, there is no need to wipe
any partitions.
Page 17 of 21
Steps to install ROM or GApps revisions.
Preliminaries:
Using your Nook, download the new zip files. They will land in the Download folder. Then
reboot to the recovery utility (here's how). The TWRP entry screen will appear.
1. Tap Wipe and then Advanced wipe . Check items to wipe per Rules 1 through 3.
If Rule 1 applies, no wipes are required. Return to the entry menu and skip to Step 5.
If Rule 2a, 2b, or 2c applies check System .
If Rule 2b or 2c applies check Data .
If Rule 3 applies check both System and Data .
2. Swipe the control to perform the wipe. Return to the entry menu when the wipe
completes.
3. Tap Install . The Install Zip screen will appear.
After your installation is complete you can use TWRP or the File Manager app to delete the
downloaded zip files and the TWRP installation log from the Download folder.
Alternately you can download the files with your desktop computer, connect your Nook with its provided
cable to a USB port on the computer, and copy the files to the Nook's Download folder.
Or you can copy the files to your original installation microSD card and install them from External Storage.
Boot to TWRP before you mount the microSD card, otherwise the card will intercept and launch CWM.
Page 18 of 21
About installing future TWRP revisions.
New TWRP revisions are periodically available as zip files from @amaces which you can
download and install the same way as described above for new CM-12.1 and GApps zip files.
There are no wipe requirements for installing TWRP revisions.
Alternately, revisions are occasionally available as image files from the upstream TWRP
developer for hummingbird or for ovation. Your resident TWRP recovery utility can install
either .zip or .img files.
Page 19 of 21
Problems you might encounter
Page 20 of 21
Credits
Contributions from the following were indispensable in compiling this document.
Many thanks to the authors and developers. And very special thanks to @amaces for
providing unofficial compilations of CM-12.1 and TWRP. There would be no CM-12.1
for the Nook tablets without these files.
Source of boot files for microSD card (@leapinlar, @emote, et. al.)
Source of zip files for resident CWM (@leapinlar, @emote, et. al.)
Source of zip files for resident TWRP (@amaces)
Source of zip files for CM-12.1 (@amaces, @Hashcode, @verygreen)
Source of tk_gapps-modular-pico-5.1.1-20150920-signed.zip (@TKruzze, @osm0sis)
Source of Mini-gapps-5.1.x-2015-06-27.zip (@RolanDroid)
Reference Information
TWRP: The complete guide to using recovery on Android
TWRP 2.8.7.X features
TWRP for Nook HD
TWRP for Nook HD+
Open GApps FAQ
Introduction to edify updater script (@kurotsugi)
editing updater-script for noobs (@pitchblack5691)
Page 21 of 21