How To Guide: Nook Tablet and CM7
Apr 25, 2012 Leave a comment
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.0Unless 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.
- How to compile CM7
- Setting up recovery sdcard
- Backup using recovery
- Installing rom from recovery
- First time booting sequence
- Other flashable files (Did you messed up your Nook Tablet?)
1) How to compile CM7 ^
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:
- $ add-apt-repository “deb http://archive.canonical.com/ maverick partner”
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:
- $ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
- $ chmod a+x ~/bin/repo
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.
- $ mkdir device/bn
- $ mkdir device/bn/acclaim
- $ git clone https://github.com/succulent/android_device_bn_acclaim
- $ mv android_device_bn_acclaim device/bn/acclaim
- $ mkdir vendor/bn
- $ mkdir vendor/bn/acclaim
- $ git clone https://github.com/succulent/android_vendor_bn_acclaim
- $ mv android_vendor_bn_acclaim vendor/bn/acclaim
- $ /vendor/cyanogen/./get-rommanager
- $ make clean
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
- 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.
Fattire’s CM9 for NookColor Build Instructions
Barnes & Noble Nook Color: Compile CyanogenMod (Linux)
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,
- 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 v184.108.40.206 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 ^
- Initial BN n logo
- Custom n logo (a couple of seconds)
- 2 androids logo (wait up to a minute)
- CM7 android logo (wait up to a couple minutes)
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
- Click on a file and click open raw to download.
–HD (succulent on XDA)
- For help go here, http://forum.xda-developers.com/showthread.php?t=1545766
- Prebuilt rom, https://iamafanof.wordpress.com/