Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,731,235 Members 51,588 Now Online
XDA Developers Android and Mobile Development Forum

[Dual-Boot SDCard | CM7.2 Source | Guides | Recovery | Stock 1.4.2 ]

Tip us?
 
succulent
Old
(Last edited by succulent; 4th June 2012 at 03:47 AM.) Reason: added mediafire folder
#1  
succulent's Avatar
Senior Member - OP
Thanks Meter 448
Posts: 241
Join Date: Dec 2010
Default [Dual-Boot SDCard | CM7.2 Source | Guides | Recovery | Stock 1.4.2 ]

Hello,

WARNING: Perform at your own risk. Do your research.

I am providing the source to compile CM7 for the Nook Tablet. I am not providing a CM7 build since Team B+ have done so. What I provide is the device and vendor contents, kernel, and kernel configuration file, ramdisk, and boot image. You will need to compile your own CM7. This will give you a more updated CM7 with latest update.

My source is primary based on Whistlestop source, but I’ve used bits and pieces from other sources like Nook Color and LG P925.

My goal was to build CM7 for the Nook Tablet as a learning experience. I have always used rom created by other people because I am not a developer. I did my research and learned to build my own CM7. I find that building your own rom is more satisfying and I think everyone should try it at least once. It will require a lot of time and some learning, but it will be special in the end.

More info are on my blog.

New Source for CM7, compile your own CM7.2 RC1
https://github.com/succulent/android_device_bn_acclaim
https://github.com/succulent/android_vendor_bn_acclaim

Recovery sdcard, Flashable Recovery, Unbrick files
https://github.com/succulent/acclaim_recovery_sdcard

Mediefire Nook Tablet Folder
http://www.mediafire.com/?eidcug5a7en8r

Dual boot (CM7/CM9)
- Instruction here (My blog)
- Includes files for single/dual-boot sdcard
- Boot to CM7/CM9 from sdcard with fattire's cyanoboot
- Roms not included
- Please don't post iso/img/prebuilt sdcard of this
- http://www.youtube.com/watch?v=x6syVkhPQaM
- Mockup pic


flash_recovery.zip (use recovery to flash it. no more sdcard 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 recovery to flash it, restore stock recovery)

flash_u-boot_and_MLO.zip (use it to restore bootloader and xloader)
- 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.
- This is virgin stock rom, no root, no added apps, etc.
- This rom will wipe your user data and cache so you don't have to. BACKUP beforehand.

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

What’s not working:
-Mic in Talking Cat/Dog apps. I can get the mic working but no audio so I choose audio but no mic.
-Can't get mic to work same time as speaker.
-XX and X. You tell me.

Notes:
- DO NOT FORMAT ANY PARTITIONS, ONLY USE WIPE DATA/FACTORY RESET
- Use the forum search.
- First time booting, you will see a long delay black (old)/2 android guys (new) screen until the android skate by.
- To remount sdcard, go to settings/storage and mount your sdcard manually or reinsert your sdcard.
- When restoring with Titanium Backup, restore manually the apps and data. You do not want old stuff getting restore and causing problem.
- HW Decoding is limited to 3GP, 3G2, MP4, M4V, MKV, WEBM, H.264 (Baseline/Main/High profile) up to 1920x1080, MPEG-4 Simple/Advanced Simple profile up to 1920x1080, & H.263
- Got Wifi problem, do Wifi calibration to see if it fixes it.
- If your Nook Tablet go to sleep and never wake up, plug the USB power cable in and hold the power button for 30 seconds, release and repeat.
- Got an extra Nook Tablet? Donate it to fattire so he can help getting ICS on Nook Tablet faster.
- Screen goes crazy? Is it low on battery? Plugged in the USB power cable in.
- What different in this CM7 build and Team B? Nothing much, we shared ideas.
- There will be random problems.
- RC stand for release candidate. Latest for NT is RC1
- If your sdcard doesn't mount after reboot, take your sdcard out and put it back in and wait a few seconds for it to automount

OLD SOURCE Mirrors:
http://d01.megashares.com/index.php?d01=oAajznB
http://www.mediafire.com/?96fa3zx95xiebeg
https://www.rapidshare.com/files/406...ook-Tablet.zip
http://depositfiles.com/files/k655wvhtc
http://www.wupload.com/file/2675371217

Extras in Old Source:
.config – kernel configuration file
boot.img – prebuilt boot image with modified u-boot from bauwks
irboot.img – the modified u-boot needed to concatenate to custom boot.img
zImage – prebuilt kernel with cifs, tun, and nfs modules built in and other stuffs.

Credits:
Bauwks for his exploit in 2nd boot.
Team B+ (Goncezilla, CelticWebs, Indirect) for furthering Nook Tablet development.
Whistlestop and JackpotClavin from Kindle Fire development for the device and vendor source.
Fattire, Nemith, and Dalingrin for CWM, and works on Nook Color and Nook Tablet development.
Koush, Cyanogenmod and XDA for home to many great developers.

CM7.2 RC1 with Nexus S modified build.prop


HD (succulent)
The Following 22 Users Say Thank You to succulent For This Useful Post: [ Click to Expand ]
 
succulent
Old
(Last edited by succulent; 26th April 2012 at 03:10 AM.) Reason: added packboot.zip
#2  
succulent's Avatar
Senior Member - OP
Thanks Meter 448
Posts: 241
Join Date: Dec 2010
Need help?
Post questions here.

How to pack Nook Tablet (16gb) boot.img on Windows 7.
http://www.freeyourandroid.com/guide...ot-img-windows

- Download and install Cygwin,
http://www.freeyourandroid.com/guide...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/1...yzs/edit?pli=1

Barnes & Noble Nook Color: Compile CyanogenMod (Linux)
http://wiki.cyanogenmod.com/wiki/Bar...od_%28Linux%29
The Following 11 Users Say Thank You to succulent For This Useful Post: [ Click to Expand ]
 
rjmohit
Old
#3  
rjmohit's Avatar
Senior Member
Thanks Meter 47
Posts: 240
Join Date: Sep 2010

 
DONATE TO ME
Thumbs up Excellent!

Excellent tutorial!! I'll try it out soon!
I had a few queries; how did team B enable hardware acceleration? I mean, what files were modified? Are these files included in your zip or they're built while compiling? Or are they kernel related?
Moreover, I am also keen on learning to build kernels, but I wanna do that after I finish learning everything in CM7 building. So, if you have any idea about it, members here would be pleased if you post a tutorial for that also.
Thanks once again for this tutorial!
 
cobrato
Old
#4  
cobrato's Avatar
Senior Member
Thanks Meter 1952
Posts: 827
Join Date: Jul 2010

 
DONATE TO ME
Thank you very much succulent for the kernel.

Can I use it for my MIUI rom?
 
Mike_IronFist
Old
#5  
Member
Thanks Meter 50
Posts: 86
Join Date: Jan 2012
(post deleted)
 
admiralspark
Old
#6  
Member
Thanks Meter 37
Posts: 80
Join Date: Jul 2011
Location: Fairbanks, AK
Quote:
Originally Posted by rjmohit View Post
Excellent tutorial!! I'll try it out soon!
I had a few queries; how did team B enable hardware acceleration? I mean, what files were modified? Are these files included in your zip or they're built while compiling? Or are they kernel related?
Moreover, I am also keen on learning to build kernels, but I wanna do that after I finish learning everything in CM7 building. So, if you have any idea about it, members here would be pleased if you post a tutorial for that also.
Thanks once again for this tutorial!
They just built it from source, I believe. Mixing the B&N source with cm7 broke it, and using a full cm7 source fixed it (unless I'm mistaken)

Sent from my Nook Tablet using XDA
Team Ignition Kernel Developer
linux-ideapad developer/maintainer for Arch Linux/Ubuntu Linux
Flame Kernel developer for Galaxy Nexus and Galaxy S3
 
admiralspark
Old
#7  
Member
Thanks Meter 37
Posts: 80
Join Date: Jul 2011
Location: Fairbanks, AK
Also, give me a week and I'll post my kernel guide here. Im going to cover both anykernel and normal update.zip for the tab.

Sent from my Nook Tablet using XDA
Team Ignition Kernel Developer
linux-ideapad developer/maintainer for Arch Linux/Ubuntu Linux
Flame Kernel developer for Galaxy Nexus and Galaxy S3
 
succulent
Old
#8  
succulent's Avatar
Senior Member - OP
Thanks Meter 448
Posts: 241
Join Date: Dec 2010
Quote:
Originally Posted by cobrato View Post
Thank you very much succulent for the kernel.

Can I use it for my MIUI rom?
Sure. For your information, if you use my kernel, you need to use the wifi contents in the vendor/../wifi folder or else your wifi won't work. Else, you can compile your own wifi modules. Modules depend on kernel version.
The Following 3 Users Say Thank You to succulent For This Useful Post: [ Click to Expand ]
 
cobrato
Old
#9  
cobrato's Avatar
Senior Member
Thanks Meter 1952
Posts: 827
Join Date: Jul 2010

 
DONATE TO ME
Quote:
Originally Posted by succulent View Post
Sure. For your information, if you use my kernel, you need to use the wifi contents in the vendor/../wifi folder or else your wifi won't work. Else, you can compile your own wifi modules. Modules depend on kernel version.
Thanks. I use stock wifi modules (1.4.1) and they work perfect
 
highfly22
Old
#10  
Junior Member
Thanks Meter 0
Posts: 8
Join Date: Aug 2009
Why this kernel cannot flash wih TEAM-B+ ROM?

I try compiled a kernel of NT official source code with NFS support and it crashed with TEAM-B+ ROM.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes