How To Guide: Nook Tablet and CM7

 Device configuration for the acclaim (Nook Tablet)

 Copyright (C) 2011 The Android Open-Source Project

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.

Initial pull and modify from WhistleStop repo as a base.

Other reference bases: android_device_bn_encore, android_device_motorola_targa, android_device_lge_p920.

Contents

  1. How to compile CM7
  2. Setting up recovery sdcard
  3. Backup using recovery
  4. Installing rom from recovery
  5. First time booting sequence
  6. Other flashable files (Did you messed up your Nook Tablet?)


1) How to compile CM7 ^

Install VirtualBox and Ubuntu with at least 20GB.

Install the Build Packages
Install using the package manager of your choice:

For 32-bit & 64-bit systems:

  • $ sudo apt-get install git-core gnupg flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.6-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev sun-java6-jdk pngcrush schedtool

For 64-bit only systems:

  • $ sudo apt-get install g++-multilib lib32z1-dev lib32ncurses5-dev lib32readline5-dev gcc-4.3-multilib g++-4.3-multilib

NOTE: gcc-4.3-multilib g++-4.3-multilib is no longer available for Ubuntu 11.04 64-bit, but should still build without issue.

NOTE: On Ubuntu 10.10, and variants, you need to enable the parter repository to install sun-java6-jdk:

Create the Directories
You will need to set up some directories in your build environment.

To create them:

  • $ mkdir -p ~/bin
  • $ mkdir -p ~/android/system

Install the Repository

Enter the following to download make executable the “repo” binary:

NOTE: You may need to reboot for these changes to take effect.

Now enter the following to initialize the repository:

  • $ cd ~/android/system/
  • $ repo init -u git://github.com/CyanogenMod/android.git -b gingerbread

If you don’t want to download unnecessary device projects, open .repo/manifest.xml. Remove devices between device/common and external/alsa-lib.

  • <project path=”device/common” name=”CyanogenMod/android_device_common” />
  • – delete devices –
  • <project path=”external/alsa-lib” name=”CyanogenMod/android_external_alsa-lib” />
  • $ repo sync

NOTE: This step takes a long time, depending on your internet speed. It will download several gigabytes of data. I recommend that you have a lot of hard drive space.

Configure Build & Compile

  • $ . build/envsetup.sh && brunch acclaim

NOTE: This step takes a long time, time vary depend on your computer processing power.

Outputted flashable roms

  • cyanogen_acclaim-ota-eng.hd.zip
  • update-cm-7.2.0-RC1-acclaim-UNOFFICIAL-signed.zip
  • location, out/target/product/acclaim/

Copy your .zip file from ~/out/target/product/acclaim/update.cm-XXXXX-signed.zip to the root of the SD card.

Your rom will contain recovery, MLO and U-boot.bin.

Flash .zip files from recovery. Wipe data/factory reset/cache.

References:

Fattire’s CM9 for NookColor Build Instructions
https://docs.google.com/document/d/1…yzs/edit?pli=1

Barnes & Noble Nook Color: Compile CyanogenMod (Linux)
http://wiki.cyanogenmod.com/wiki/Bar…od_%28Linux%29


2) Setting up recovery sdcard ^

  • Format micro sdcard with FAT32 LBA Boot (tested with 2GB SanDisk/Kingston microSD)
  • For Windows 7, MiniTool Partition Wizard Home Edition (free)
  • -Format sdcard,
  • -File System: FAT32
  • -Partition Label: Boot
  • -Create As: Primary
  • -Cluster Size: Biggest one, 64KB if available
  • -Apply patch
  • -Right click on Boot partition, Modify > Set status Active
  • -Apply patch again
  • Copy recovery.img from the directory, out/target/product/acclaim/ onto the root of your sdcard
  • Rename recovery.img to boot.img or use the contents here,
  • https://github.com/succulent/acclaim_recovery_sdcard
  • Copy contents (flashing_boot.img, MLO, and u-boot.bin) onto the root of your sdcard
  • Copy update-cm-7.2.0-RC1-acclaim-UNOFFICIAL-signed.zip onto the root of your sdcard
  • Power off device (Nook Tablet)
  • insert sdcard to device
  • hold power button for a couple of seconds to power on
  • wait until device boot into recovery


3) Backup using recovery (If you are coming from stock) ^

  • At the CWM-based Recovery v5.0.2.8 screen
  • (navigate with volume keys and select with home button)
  • > backup and restore
  • > backup (to restore, use restore)


4) Installing rom from recovery ^

  • (press power button to go back)
  • > install zip from sdcard
  • (navigate with volume keys and select with home button)
  • > choose zip from sdcard
  • > Yes – update-cm-7.2.0-RC1-acclaim-UNOFFICIAL-signed.zip (wait up to a couple minutes)
  • > wipe data/factory reset (1st time installing)
  • > wipe cache partition (1st time installing)
  • > reboot system now (restart device)


5) First time booting sequence ^


6) Other flashable files (Did you messed up your Nook Tablet?) ^

  • flash_recovery.zip (use recovery to flash it. no more sdcard CWM Recovery)
  • Hold Power & “n button” down until the device turns on and off again.
  • Then press Power to turn the device on normally and access the recovery.
  • You can also boot to recovery by issuing command “reboot recovery” in adb or terminal
  • flash_stock_recovery.zip (use it to restore stock recovery.img)
  • flash_boot.zip (a backup boot.img if needed to re-flash)
  • DO NOT FLASH it with other rom besides the rom created with this source and kernel.
  • flash_u-boot_and_MLO.zip (use it to restore bootloader and x-loader)
  • Flash this if all you get is a black screen (no ‘n’ logo screen) when turning your Nook Tablet on.
  • flash_stock_1.4.2.zip (use it to restore to stock 1.4.2)
  • After restart, it will take up to a couple minutes to setup data and system folder.
  • It’ll be up to a couple of minutes before the setup screen shows up.
  • flash-restore-stock.zip (use it to restore partition 1-6)
  • Only use this as last measure. Meaning only if you formatted rom (p5) and bootdata (p6).
  • You will need to install flash_stock_1.4.2.zip afterward or a CM7 rom.
  • To get your serial number back, you need to perform factory restore (8 failed boot method)
  • The one that prompt
    • Clearing data…
    • A reset is being performed.
    • This may take a few minutes
  • https://github.com/succulent/acclaim_recovery_sdcard
  • Click on a file and click open raw to download.

–HD (succulent on XDA)

About iamafanof
Somewhere in reality. I like free gadget. I need new nibs.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: