[Barnes & Noble Nook Tablet] succulent:
Need help?

Post questions here.

How to pack Nook Tablet (16gb) boot.img on Windows 7.

http://www.freeyourandroid.com/guide/extract-edit-repack-boot-img-windows

-	Download and install Cygwin,

http://www.freeyourandroid.com/guide/installing-cygwin-windows

-	Download packboot.zip and extract contents to C:\cygwin\packboot

-	http://mir.cr/1BTTGZ0V

-	Open Cygwin.bat, located in C:\cygwin

-	In the command box, type

$ cd c:/cygwin/packboot

$ ./packboot

-	Your new boot.img is newboot.img.

Notes:

-	If you want to make an 8gb version newboot.img, replace the boot.img with a backup of 8gb version.

-	You can change the ramdisk in the folder “c:/cygwin/out/ramdisk”

-	You can replace the kernel, “zImage”.

-	You can replace the irboot.img with one that you make, the one included support both 8gb/16gb.

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:

$ 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:

$ 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.

Copy device and vendor folder from Nook-Tablet to ~/android/system/

$ 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.

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. (Only with new source)

Replace the boot.img in the .zip file with one in Nook-Tablet. (Only with old source)

Replace updater-script in the .zip file with one in Nook-Tablet. updater-scripte is in /META-INF/com/google/android/. (Only with old source)

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

References:

Fattire's CM9 for NookColor Build Instructions

https://docs.google.com/document/d/19f7Z1rxJHa5grNlNFSkh7hQ0LmDOuPdKMQUg8HFiyzs/edit?pli=1

Barnes & Noble Nook Color: Compile CyanogenMod (Linux)

http://wiki.cyanogenmod.com/wiki/Barnes_&_Noble_Nook_Color:_Compile_CyanogenMod_(Linux)