[HOW-TO] Building a CM10.1 (JB 4.2.x) SD card for Nook Tablet - Barnes & Noble Nook Tablet

[Caveat emptor: adopt/follow this guide at your own risk].
FWIW, below is a digest of the process to create a SD card running CM10.1 builds by XDA Developer Succulent which is posted at his blog http://iamafanof.wordpress.com and which I have used to build a CM10.1 (version dated 20130629) SD card for my Nook Tablet. Thanks to Succulent for this great CM10.1 build!!!
[Note that Succulent provides at his blog (http://iamafanof.wordpress.com/2013...-1-jellybean-sdcard-img-for-nook-tablet-0110/) pre-made images of his CM10.1 builds that can simply be burn to SDcard (using DiskImage_1_6_WinAll or Win32DiskImager) after which the SD card would be immediately ready-for-use. The process in this post is meant for those folks who would like to build the SDcard image "from scratch" – so as to avoid downloading the large-size (420+MB) pre-made images, or to have a bit more flexibility in sizing the various partitions on the card].
Using a disk partition tool (such as MiniTool Partition Wizard Home Edition) create 4 partitions: boot (Primary, FAT32), system (Primary, Ext4), data (Primary, Ext4), and sdcard (Primary, FAT32). Set the partition ID type for the boot partition to 0x0C FAT32 LBA and set its Active flag (otherwise the SDcard will not be bootable). Once this is done, the boot partition should appear as a (read/write accessible) drive under Windows. (Note that you can adjust the suggested sizes of the partitions upward to fill up the entire SDcard; FWIW the sizes I use on my 8GB card for the 4 partitions are, respectively: 0.5GB/0.5GB/2GB/[remainder of SDcard]).
Download boot.zip from http://goo.im/devs/succulent/acclaim/boot.zip (or alternatively from http://www.mediafire.com/download/000wv0dmfwqpvzi/boot.zip).
Extract and copy to the boot partition of the SD card the following files from boot.zip: MLO, u-boot.bin, and flashing_boot.img. (These 3 files can also be found in the /boot partition of any of Succulent's pre-made CM10.x SD card images).
Download the pair of files cm_acclaim_10.1_[ddmonthyear]_HD_SDC.zip and gapps-jb-20130301-signed-SDC.zip from http://iamafanof.wordpress.com/2013/02/18/cm10-1-jellybean-android-4-2-2-for-nook-tablet-0218/.
Copy to the boot partition of the SD card cm_acclaim_10.1_[ddmonthyear]_HD_SDC.zip and gapps-jb-20130301-signed-SDC.zip.
Extract and copy to the boot partition of the SD card the following files from cm_acclaim_10.1_[ddmonthyear]_HD_SDC.zip: boot.img and recovery.img.
Put the SD card into the NT, and boot from its power off by inserting a powered USB cable. Press and hold the N button as soon as CyanoBoot comes up to get the boot menu to display.
Select SDC Recovery.
Select "Install zip from SD card" and install the cm_acclaim_10.1_[ddmonthyear]_HD_SDC.zip file.
Select "Install zip from SD card" and install the gapps-jb-20130301-signed-SDC.zip file.
Press and hold power button to turn off the NT.
Boot the NT from its power off by inserting a powered USB cable; the NT will boot into Cyanoboot which will load (CM10.1) boot by default, after about a couple of minutes you should see boot animation lasting for a few minutes followed by initial wifi network and google account setup process, after which your CM10.1 on SD is ready for use.
A few additional points worth noting:
The two most common symptoms of failed SD boot (on insertion of a powered USB cable) and their likely causes are:
The NT boots straight to stock -- most likely the boot partition's type and/or flags are not correctly set, or the NT cannot find the MLO in the boot partition (see comment re: the ordering in file copying above).
The NT screen stays dark for minutes then eventually boots to stock -- most likely the MLO or u-boot.bin are corrupted. I have had this happen to me a few times in the process of extracting them from archive zip files and also in ftp transfers between machines (need to use "binary" instead of "auto" mode). When in doubt, check the exact size of the files in bytes, they should be respectively 38,356 and 179,812.
Generally the lower rating (and also cheaper) class 4 SD cards are more suitable for running a ROM than the higher classes 6 and 10 cards (since the latter are optimized for large & sequential block read/write at the expense of random read/write). So if you happen to use a class 10 or 6 card and your apps frequently crash or freeze, consider switching to a lower class SD card. See this thread http://forum.xda-developers.com/showthread.php?t=1005633 for extensive discussion of SD card makes/models' comparative performance for use in hosting ROM.
To update the SDcard when Succulent posts a new build, simply repeat steps 4 through 12.

Thanks for this. I have an old SD card for CM7 that I did months ages ago so this will be good.
Sent from my Barnes & Noble Nook Tablet using xda premium

Booting always requires powered USB cable connection?
digixmax said:
Boot the NT from its power off by inserting a powered USB cable...
Click to expand...
Click to collapse
After initial installation and setup, is the powered USB cable connection required for all subsequent boots? I won't bother if booting always requires tethering to a PC.

b3rt0h said:
After initial installation and setup, is the powered USB cable connection required for all subsequent boots? I won't bother if booting always requires tethering to a PC.
Click to expand...
Click to collapse
It doesn't ... I was confused by this also. I went ahead and did the SD card and now I can boot to CM7 or CM10. I'm really liking CM10, works great !

You're one of the lucky ones to have an NT which can boot off SD un-tethered.

digixmax said:
You're one of the lucky ones to have an NT which can boot off SD un-tethered.
Click to expand...
Click to collapse
It's definitely something to do with more than the device itself. I formatted a Samsung 8gb class 6 and it wouldn't boot without being tethered. I then formatted a SanDisk 16gb class 10, same device, and it boots fine without usb tether.
Sent from my Nexus 10 using Tapatalk HD

Neither of the two Tablets I have had need the cable to boot.On those occasions when I have had problems booting to the card (or to internal CWM) what I've done is press and hold the "n" button right after I pressed power.

asawi said:
Neither of the two Tablets I have had need the cable to boot.On those occasions when I have had problems booting to the card (or to internal CWM) what I've done is press and hold the "n" button right after I pressed power.
Click to expand...
Click to collapse
This is exactly how mine is doing. I have found that a power down is the best way to go between OS's. I really like CM10.1 so much I'm ready to bite the bullet and go with it. I think it's just as stable as my CM7 OS The guys and gals writing this stuff are GREAT :good:
ps: When I go into CM7 with the boot SD card it takes around 2 mins to boot. It is slower but it works.

Partition sizes on larger micro SDXC card.
Hope this helps others... I followed OPs procedure to install cm-10.1-20130117-acclaim-HD-SDC.zip and cm-10.1-20121212-gapps.zip. At first I had a bad experience because I used gapps-jb-20121212-signed.zip from the google website ( IE would not let me download the "cm" version.) I then used Foxfire to download the "cm" version from iamafanof and everything seems to work fine. Followed OPs directions exactly. I'm using a SanDisk Ultra 64GB sdxc card with partition sizes: BOOT (2GB) , SYSTEM (2GB), DATA1 (16 GB), SDCARD (all the rest).

success! boots without PC tether
b3rt0h said:
After initial installation and setup, is the powered USB cable connection required for all subsequent boots? I won't bother if booting always requires tethering to a PC.
Click to expand...
Click to collapse
I successfully built a working CM10.1 SD card. It boots without PC tether just fine.
Data point: Nook Tablet 16GB. SanDisk 16GB Class 6 microSDHC Card. cm-10.1-20130117-acclaim-HD-SDC.zip.
Thanks to all the developers for making this possible. And thanks to digixmax for posting the instructions.

First, thank you for the well-written instructions.
I'm trying to learn how to build an SD card that would just have CyanoBoot, CWM (as main recovery), and TWRP (as alternate recovery), and default by default into Internal eMMC Normal. I've done steps 1, 2, 3, and 6. I then grabbed flashable_TWRP_2.4.3.0.zip from http://goo.im/devs/succulent/acclaim/recovery, extracted it's recovery.img and put it in the Boot partition as altboot.img.
It boots to CyanoBoot, and I can run CWM, but when I try to select SDC ALTBOOT, it just flashes back to the CyanoBoot screen for a few moments and then I just a blank screen.
Question 1: Am I doing something incorrect in my method to get TWRP as an alternate recovery?
Question 2: How do I configure it to boot to eMMC by default? fattire has this instruction:
To Make Default Always Boot To EMMC
$ echo -n “1” > /bootdata/u-boot.device
Click to expand...
Click to collapse
Being on a Windows pc, I tried creating a file (with Notepad++) in the BOOT partition called u-boot.device, with just the number 1 in it, but it still attempts to boot from SDC.
Thanks in advance.

InUrKitchin said:
First, thank you for the well-written instructions.
I'm trying to learn how to build an SD card that would just have CyanoBoot, CWM (as main recovery), and TWRP (as alternate recovery), and default by default into Internal eMMC Normal. I've done steps 1, 2, 3, and 6. I then grabbed from http://goo.im/devs/succulent/acclaim/recovery, extracted it's recovery.img and put it in the Boot partition as altboot.img.
It boots to CyanoBoot, and I can run CWM, but when I try to select SDC ALTBOOT, it just flashes back to the CyanoBoot screen for a few moments and then I just a blank screen.
Question 1: Am I doing something incorrect in my method to get TWRP as an alternate recovery?
Click to expand...
Click to collapse
flashable_TWRP_2.4.3.0.zip is meant for flashing into /recovery on emmc; you need to use instead twrp_2.4.3.0_acclaim_recovery_sdcard.img, just rename it to altboot.img and copy the renamed file to SDcard /boot.
Question 2: How do I configure it to boot to eMMC by default? fattire has this instruction
To Make Default Always Boot To EMMC
$ echo -n “1” > /bootdata/u-boot.device
Click to expand...
Click to collapse
...
Click to expand...
Click to collapse
I believe fattire's instruction is meant only for booting and running on emmc.

Thanks, that worked. I assumed that since it didn't say "internal" or "external" that it was for either.
Sent from my Acclaim using xda app-developers app

Thanks for the well laid out guide OP. I used it to flash CM10.1. Somehow I ended up flashing CM10 to emmc but all is well . This guide was a tremendous help.

lrs421 said:
Thanks for the well laid out guide OP. I used it to flash CM10.1. Somehow I ended up flashing CM10 to emmc but all is well . This guide was a tremendous help.
Click to expand...
Click to collapse
You must have picked up the ROM and Gapps zip file versions that are built for EMMC. The versions compiled by Succulent (http://iamafanof.wordpress.com/2013/02/18/cm10-1-jellybean-android-4-2-2-for-nook-tablet-0218/) for SD have filenames ending with SDC.zip suffix.

digixmax said:
You must have picked up the ROM and Gapps zip file versions that are built for EMMC. The versions compiled by Succulent (http://iamafanof.wordpress.com/2013/02/18/cm10-1-jellybean-android-4-2-2-for-nook-tablet-0218/) for SD have filenames ending with SDC.zip suffix.
Click to expand...
Click to collapse
Yup. That's exactly what I did. I flashed the SDC zips first then flashed CM10 and matching gapps.
Sent from my Barnes & Noble Nook Tablet using xda premium

Hi, I've followed the instructions in the OP but my NT stays blank when I plug in the USB cable and then boots to stock. The only thing I've changed is the partitions (0.5GB/0.5GB/8GB/remainder) on a 32GB micro SD card. It has worked before so I don't think my card is the problem. Does anyone have any advice?

SDragon64 said:
Hi, I've followed the instructions in the OP but my NT stays blank when I plug in the USB cable and then boots to stock. The only thing I've changed is the partitions (0.5GB/0.5GB/8GB/remainder) on a 32GB micro SD card. It has worked before so I don't think my card is the problem. Does anyone have any advice?
Click to expand...
Click to collapse
See note under "The two most common symptoms of failed SD boot" in OP.
If you have re-sized the partitions of a previously working CM10 SD image, I'd suggest checking to make sure the boot partition is still of the correct type 0x0C FAT32 LBA and with Active flag set. In my experience, the partition re-sizing operation occasionally messed up the partition table causing the first partition to become not bootable (even when it was not the partition that got re-sized).

I've checked the two most common problems in the OP and verified the sizes of both the MLO and u-bin files and I've ensured that I've copied the necessary files in the order required by the OP. I've also set the boot partition to active and the ID to 0x0C FAT32 LBA but the NT stays blank when I plug in the USB cable.

FWIW I'm using cm_acclaim_10.1.1-RC0_07JUL2013_HD_SDC.zip.

Related

[ROM][CM7] [v1.3] Size-agnostic SD Card image and CM7 installer for SD Cards.

Due to popular demand I have created a size-agnostic SDCard CM7 installer.
Also allows to install unmodified CM7 builds on SD card.
Current version: 1.3
Grab the installer image here:
http://crimea.edu/~green/nook/generic-sdcard-v1.3.img.gz
it's a ~9M image that would unpack into ~130M disk image.
Also note - not all SD cards are created equal. Here is a thread of interest is you have not bought one yet: http://forum.xda-developers.com/showthread.php?p=12964262
Short version: buy Sandisk-branded class 4 microSD cards.
Write the image on your SD card. I tested with 2G, 4G and 8G cards and all worked.
Any uSD card of 1G or bigger in size should work if it is recognized by your nook.
Write on Windows by using WinImage and on Linux/MacOS X by using dd (to the entire device, not one of the partitions. The device name should not have any numbers at the end. The command is something like dd if=/somewhere/generic-sdcard.img of=/dev/sdX bs=1024k)
After done with writing, eject and then re-insert the uSD card into your computer.
Download a CM nightly build from here http://download.cyanogenmod.com/?device=encore (It is recommended to choose -87 nightly or later. If you plan to use prior version for initial install, stick with installer 1.2.1 for a different u-boot version)
Or just use your own update-cm-*-KANG-signed.zip file that is produced if you do your own builds.
The image would correctly detect unmodified CM7 builds and would make necessary adjustments to make them work on SD card.
Put the file to the SD card (there is only one partition). Don't change the name of the file.
unmount the uSD card and insert it into the nook.
Boot from this SD card. It'll boot and will update you on progress.
When it's done, it'll power off.
That's it, you now have CM7 on your SD card.
How to install market and gapps:
After you have booted into the CM7 on SD card for the first time and set up wifi access (important!)
Go to http://wiki.cyanogenmod.com/index.php?title=Latest_Version and at the end there is a table with various google apps versions. Get the one suitable for your cyanogen version (CM7 is the latest for now). The file is named gapps-....zip
shutdown your nook and take the SD card out, insert it into your computer.
Copy the gapps-... file to the SD card on the first partition (titled boot) without changing the file name.
Insert the uSD card back into the NOOK and boot into "Recovery mode" (hold nook N key and then press and hold power until the "Loading..." message appears and then disappears with screen going blank. Release power button, then press it again and hold for ~5 seconds, the bootloader "Loading..." message should be on the screen for three seconds or so before you release power button, keep holding N button until screen blanks again. If the screen went off while you were holding the power key, that means you were holding it for too long).
Alternatively if you do not want to fight the timing, boot normally into Android, then from desktop hold power key until a poweroff menu appears, In the poweroff menu choose "reboot", in the next menu choose "recovery" and press "OK". The nook would reboot straight into recovery.
How to update to a new build:
put the new build you want to try on the first partition. (the name must be update-cm-*.zip or cm_encore_full*.zip or just update-*.zip)
Boot from the SDcard in the recovery mode (see above) and the new snapshot would be installed.
The partition layout would be preserved, filesystems are NOT reformatted, so your data should be safe.
Installing other stuff:
Booting in recovery mode would install all files that are named "update-..." and end with .zip The files would then be deleted! Most of the packages should work, but I only tested a subset and not entire syntax of updater script is implemented. Certainly format and delete are not implemented.
OC Kernel installation instructions:
Starting with v1.2.1 there are no special instructions, install normally as described above.
Partition layout for the SD cards depends on size:
Less than 600M - unsupported.
up to 1G cards gets: system of ~300M and data of the rest of space. No FAT partition
2G cards (more than 1G up to 1800M) gets: 300M system, 612M data, rest is FAT sdcard
more than 2G cards gets: 460M system, 975M data, rest is FAT for sdcard.
How to update if you already installed using older version of the installer and don't want to reinstall (understandably):
Get update zip from http://crimea.edu/~green/nook/update-genimage-1.3.zip
Put the zip file as is onto the first partition of your sdcard..
reboot into recovery (triggered by the keys, the reboot into recovery does not work yet).
The new version would be installed and you are done.
You can combine this installation together with updating to .32 kernel in one step. Just put the update-cm file and the update-genimage-1.3.zip to the first partition. Make sure there is still at least 1M of space left!
Changes in 1.3
Install u-boot.bin and MLO loaders if provided.
Fixed a problem that led to overwrite of recovery kernel if a nightly was installed more than once)
(only in full image) updated u-boot to ignore BCB as that was a common source of problems. (that's why this version is not recommended for initial install with older nightlies, those don't provide a more correct u-boot for later operations. It's fine to do the update from older installer release, though)
Changes in 1.2.1
Really fixed dalingrin kernel packages installation
A bit more robust handling of install scripts
Changes in 1.2
Updated to new u-boot from B&N 1.2 update
Ability to obey BCB in eMMC (allows reboot into recovery from CM7)
Hopefully simplified the timing to trigger recovery boots from keyboard
Added support for Dalingrin's kernel update packages
The v1.1 version that is known good to work with 2.6.29 kernel releases is located at http://crimea.edu/~green/nook/generic-sdcard-v1.1.img.gz
This is very cool, thanks! My father bought a nook color after seeing mine, and after hearing what I have been able to get mine to do (thanks to the efforts of all the devs here) he has wanted to play a little more with his. Thanks to you, I have an easy way to set up the SD card and then ship it up to him. I can give him a taste without having to force him to even root his yet. Thanks again!
Very nice! Thanks.
Care to share the dates and differences between your build and say CM's? or perhaps a link to your builds progress?
I know you have done great work with BT, didn't want to get off topic, but I'm curious.
Thanks again.
12paq said:
Very nice! Thanks.
Care to share the dates and differences between your build and say CM's? or perhaps a link to your builds progress?
I know you have done great work with BT, didn't want to get off topic, but I'm curious.
Thanks again.
Click to expand...
Click to collapse
I did not work on BT (other than helping with testing), so I don't claim any credits there.
The difference between standard build and my build so far is only that my build has patched init files to boot from SD right in the zip file. (CM7 checkout as of today ~12pm), it was only created for testing, before I rolled the code that could update vanilla builds to work on SD cards.
You can use unmodified CM7 nightlies with this sdcard image now. The image itself does not contain any CM7 code, you need to copy zip file with it after writing the image to the SD card, but before attempting to boot.
Verygreen, I believe you have won the game. Congratulations!
Ah yes, I stand corrected, you created the first CM7 sd bootable for testing of BT.
Thanks again for your time on this latest project!
First off, this works very well! Thanks!
Now, after getting CM7 running on the sdcard, I plug the device into the usb port on my computer and instruct it to mount the sdcard. But, instead of the sdcard partition being mounted, the emmc partition is mounted.
Was that intentional or is it a bug?
Thanks
Thanks very easy to setup!
atomclock said:
First off, this works very well! Thanks!
Now, after getting CM7 running on the sdcard, I plug the device into the usb port on my computer and instruct it to mount the sdcard. But, instead of the sdcard partition being mounted, the emmc partition is mounted.
Was that intentional or is it a bug?
Thanks
Click to expand...
Click to collapse
New code in CM7 actually should cause both internal MMC AND sdcard to be mounted.
That is unless you used 1G sdcard, 1G sdcard does not have any mountable free space and then you'd only see emmc content as mountable.
verygreen said:
New code in CM7 actually should cause both internal MMC AND sdcard to be mounted.
That is unless you used 1G sdcard, 1G sdcard does not have any mountable free space and then you'd only see emmc content as mountable.
Click to expand...
Click to collapse
I'm using an 8Gb sdcard and I can access both the emmc and sdcard partitions through ADB but only the emmc partition is mounted.
So, I just need to try this with a different nightly build until I find one where the issue is corrected?
Well, I tried it with both cm_encore_full-25 and cm_encore_full-26 and still only the emmc partition is mounted.
atomclock said:
I'm using an 8Gb sdcard and I can access both the emmc and sdcard partitions through ADB but only the emmc partition is mounted.
So, I just need to try this with a different nightly build until I find one where the issue is corrected?
Well, I tried it with both cm_encore_full-25 and cm_encore_full-26 and still only the emmc partition is mounted.
Click to expand...
Click to collapse
As long as everything is mounted internally I don't think my changes broke anything else, so if there is a bug it's in the CM7 build itself.
I don't actually mount my nook on the computer, so I don't even know how to enable it by default come think of it.
I just know there was an ongoing work in this area to allow simultaneous mounting of multiple volumes and I heard it was already included, though I am not 100% sure about that.
To verygreen:
Well, I'm certainly doing something wrong here:
1. Using Win32DiskImager release 0.2 r23, i burnt my 2 GB with your generic.... .img image.
2. Copied your update.... .zip (on a second attempt an original cm_encore... .zip, plus gapps-GB-20110307-...zip, as installer was asking for it, at least to inflate), now I suspect your "put" is not equal to my "copy".
3. Tried to boot, enjoyed the penguin and boot scroll, but after everything was finished and prepared to "really" boot the boot was executed from my eMMC instead.
aludal said:
To verygreen:
Well, I'm certainly doing something wrong here:
1. Using Win32DiskImager release 0.2 r23, i burnt my 2 GB with your generic.... .img image.
2. Copied your update.... .zip (on a second attempt an original cm_encore... .zip, plus gapps-GB-20110307-...zip, as installer was asking for it, at least to inflate), now I suspect your "put" is not equal to my "copy".
3. Tried to boot, enjoyed the penguin and boot scroll, but after everything was finished and prepared to "really" boot the boot was executed from my eMMC instead.
Click to expand...
Click to collapse
Yes, the automatic reboot boots into eMMC for now, I am looking into it.
So just reboot again with the card in.
also, don't put gapps on the card at the first try. This combination does not boot for me into the desktop for some reason that I did not get to the root of. Possibly because it want internet connection setup that still is not if you try it on your first boot.
Thanks verygreen! This is a fantastic build! I was able to quickly and easily install this on my sd card.
Thanks again!
verygreen said:
Yes, the automatic reboot boots into eMMC for now, I am looking into it.
So just reboot again with the card in.
also, don't put gapps on the card at the first try. This combination does not boot for me into the desktop for some reason that I did not get to the root of. Possibly because it want internet connection setup that still is not if you try it on your first boot.
Click to expand...
Click to collapse
Somehow I went into non-booting phase, lol. My guess is after booting into my rooted Eclair with bookmarks-and-other-stuff-to SD I've got me an SD card not really good for "second" boot. Just have no idea what Eclair might do to that EXT4.
Anyways, repeated the experiment, now with pressing Power for >5 sec. Has booted into CyanogenMod 7 without a problem.
Can't do whatever testing: missing GAPPS very mucho! Please, Mr. verygreen, compile it into your image. In any case, I'm not really interested in swapping nightlies on this card -- by the last commits they didn't change much/significantly since n18. Just a static SD image of CM7 n26 + latest (03072011) Gapps will be a very desirable "mod" of yours. In any case you did exactly that (minus Gapps) for n17. Sure, there's a complete procedure of building SD image, but it's obviously much better followed when with a Linux box, and I don't have it.
aludal said:
Somehow I went into non-booting phase, lol. My guess is after booting into my rooted Eclair with bookmarks-and-other-stuff-to SD I've got me an SD card not really good for "second" boot. Just have no idea what Eclair might do to that EXT4.
Click to expand...
Click to collapse
Supposedly nothing. I routinely boot into eclair and then insert CM7 sdcard and it's fine.
aludal said:
Can't do whatever testing: missing GAPPS very mucho! Please, Mr. verygreen, compile it into your image. In any case, I'm not really interested in swapping nightlies on this card -- by the last commits they didn't change much/significantly since n18. Just a static SD image of CM7 n26 + latest (03072011) Gapps will be a very desirable "mod" of yours. In any case you did exactly that (minus Gapps) for n17. Sure, there's a complete procedure of building SD image, but it's obviously much better followed when with a Linux box, and I don't have it.
Click to expand...
Click to collapse
I can't distribute gapps, like I said
Well, until I figure out why recovery boot does not work what you can try to do is this:
after initial install was successful (and you setup your wireless), power off the nook, get the sd card.
Download gapps-gb-...zip and put it on the first partition.
move the uImage file to uImage.bak and uRamdisk to uRamdisk.bak.
Copy uRecImage to uImage and uRecRam to uRamdisk.
boot with the resulting image. It should say that it found the gapps archive and unpack it.
After it flushes caches and reboots, power off, put the sd card back into the computer
move uImage.bak to uImage and uRamdisk.bak to uRamdisk
boot off the card again, hopefully the gapps are working after that.
Please let me know if any problems arise.
verygreen said:
Supposedly nothing. I routinely boot into eclair and then insert CM7 sdcard and it's fine.
I can't distribute gapps, like I said
Well, until I figure out why recovery boot does not work what you can try to do is this:
after initial install was successful (and you setup your wireless), power off the nook, get the sd card.
Download gapps-gb-...zip and put it on the first partition.
move the uImage file to uImage.bak and uRamdisk to uRamdisk.bak.
Copy uRecImage to uImage and uRecRam to uRamdisk.
boot with the resulting image. It should say that it found the gapps archive and unpack it.
After it flushes caches and reboots, power off, put the sd card back into the computer
move uImage.bak to uImage and uRamdisk.bak to uRamdisk
boot off the card again, hopefully the gapps are working after that.
Please let me know if any problems arise.
Click to expand...
Click to collapse
I just tried following your directions for installing the gapps zip file. After renaming the uImage and the uRamdisk files the nook boots to your recovery with the penguin shows up with the follow:
Populating /dev using udev: done
Initializing random number generator....done
modprobe: chdir (2.6.32.9): No such file or directory
Starting network...
Detected Standard B&N nook layout, emmc first
It appears the SD card is already properly formatted
Skipping format
Mounting /dev/mmcblk1p1 as /boot
Looking for the install images....
Initial Install files not found
Please download it from nook.linuxhacker.ru
and put on first partition of this SD card
the name should start with updatei-cm and end with .zip
Then the cursor just sits. No installation of the .zip file. Do I have to have the original cm zip file on the sd card with the gapp zip file? I thought it was posted that doesn't work.
Also thanks for the great work on this so far.
Absolutely Fantastic and pain free. You have done a great service.
Thanks
verygreen -
Would this work with an Android 3.0 Honeycomb Preview build, instead of a CM7 build ?
Modra76 said:
I just tried following your directions for installing the gapps zip file. After renaming the uImage and the uRamdisk files the nook boots to your recovery with the penguin shows up with the follow:
Populating /dev using udev: done
Initializing random number generator....done
modprobe: chdir (2.6.32.9): No such file or directory
Starting network...
Detected Standard B&N nook layout, emmc first
It appears the SD card is already properly formatted
Skipping format
Mounting /dev/mmcblk1p1 as /boot
Looking for the install images....
Initial Install files not found
Please download it from nook.linuxhacker.ru
and put on first partition of this SD card
the name should start with updatei-cm and end with .zip
Then the cursor just sits. No installation of the .zip file. Do I have to have the original cm zip file on the sd card with the gapp zip file? I thought it was posted that doesn't work.
Also thanks for the great work on this so far.
Click to expand...
Click to collapse
Seeing the same. Also tried naming the gapps file "update.zip", to no avail.

[UNBRICK] Repartition, Reformat, Restore and Rescue SDcard

OK, I had used the flashing_boot.img posted here to repartition my nook. However someone in that thread found it difficult to create a ext3 partition to add the necessary files
So here is a linux shell script to create that image with B&N Stock 1.4.2 that you can use to re partition and restore your nook tablet it will work on both 8 and 16GB versions. It will format all partitions and force you to unrooted stock 1.4.2
files are at devhost now
http://d-h.st/users/meghd00t/
It is better for you to make your own image, the script has been amended to download the files if they are missing in the current directory.
Instructions to use.
download the attached mkrepartimg.sh.gz
gunzip mkrepartimg.sh.gz
chmod 755 mkrepartimg.sh
if you already have 1.4.2 update put it in the same folder
ubuntu users check if you have kpartx installed
apt-get update && apt-get install kpartx
sudo ./mkrepartimg.sh
this will download the necessary files and create the repart.img
write the repart.img to a sdcard with dd
power off the nook completely (hold power button for 30 sec)
insert the SD card you made into the nook
force boot from USB -
either boot with n and power, wait until it turns on and off then boot normally
or
power off completely and power on by connecting usb cable to PC or charger
screen will show 3 red x and after some time it will show a green check
now remove the sd card, reboot and allow it to do the factory restore.
and you are done.
Windows users go here - http://forum.xda-developers.com/showthread.php?t=1663836
I have had a few questions about the size of media partition.
You can change it very easily with sgdisk which was in my myrecovery.img and also in succulents CM 7.2 cwm images I have attached a script to download and make a suitable cwm image which you can run and then dd onto a sdcard boot into that cwm and issue these commands in a adb shell
for further details read this
Code:
sgdisk -e /dev/block/platform/mmci-omap-hs.1/mmcblk0
This will write the secondary gpt label and remove the parted prompt found error fix?
Code:
sgdisk /dev/block/platform/mmci-omap-hs.1/mmcblk0 -d 11 -d 10
first delete partition 10 & 11 media and userdata
Code:
sgdisk /dev/block/platform/mmci-omap-hs.1/mmcblk0 -n 0:0:+12G -n 0:0:0
sgdisk /dev/block/platform/mmci-omap-hs.1/mmcblk0 -c 10:media -c 11:userdata
now create both with the size you need for media (change +12G to whatever) and userdata will use the rest. and set the name of the partition
After that trigger a factory reset and that will format the partitions again or if you are already running something else first take a nandroid backup in cwm before you change the partitions and format these two in adb like this
Code:
mkdosfs -F32 -n MyNook /dev/block/mmcblk0p10
make_ext4fs -L userdata /dev/block/mmcblk0p11
again you will need my myrecovery cwm or succulents cwm these are the only ones with make_ext4fs
after formatting you can restore your nandroid backup
PS
No questions in PM please. I will not respond.
MLO - b&n 1.4.2
u-boot.bin - b&n 1.4.2
cyanoboot - http://forum.xda-developers.com/showthread.php?t=1522226
boot - clockworkmod http://forum.xda-developers.com/showthread.php?t=1466583
altboot - b&n flashing_boot.img modified http://forum.xda-developers.com/showthread.php?t=1554039
credits
fattire for cyanoboot
loglud for the page on hacking the kernel & boot.img
Indirect for the clockworkmod
AdamOutler for the ubuntu restore and the idea
jmeyerhead for the b&n flashing_boot.img
tselling for the partition hacks
succulent for sharing the device tree and answering all my questions on building a recovery and finally accepting all the patches.
and all the others on xda who have shrared all their knowledge and ideas that made this possible
PROs
simple no adb required
follows B&N partition table properly
keeps the Nook serial and other Information
works with all 8GB & 16GB tablets
CONs
inflexible about the 1.4.2 upgrade (otherwise no 8GB support)
You will get whatever B&N standard partition table is allowed for you device. Adam Outler suggested that I don't deviate from the B&N standard to keep the unbrick safe
This is a great idea but I can't get it to go after multiple tries (different SD cards, different boot methods, etc). I suspect it may have to do with how the SD card is being formatted; is there a trick to this?
Edit: Do I need stock recovery & not CWM?
meghd00t said:
so to simplify matters for all those who have bricked their nook here is my solution
.....STUFF SNIPPED.....
Format SDCARD < 2GB, Fat32 LBA Boot
copy the contents of this sdcard/ directory on to the root of the card
Click to expand...
Click to collapse
How do we do this step ?? I mean I know you want us to format our SDCARD 2GB or bigger as Fat32 LBA Boot. BUT How do you go about doing that ?? What do you use ??? ADB ? DOS/Win ?
Thanks !
Thibor69 said:
How do we do this step ?? I mean I know you want us to format our SDCARD 2GB or bigger as Fat32 LBA Boot. BUT How do you go about doing that ?? What do you use ??? ADB ? DOS/Win ?
Thanks !
Click to expand...
Click to collapse
Unfortunately, I can only tell you how to set it for boot and LBA in Linux or with a GParted Live disc. You may be able to do it with "Parted" via ADB. I'll try it and post back shortly.
my linux doesn't want to recorgnize adb when I'm in clockworkmod
If you're in Linux just use GParted to format the card and set the flags once the volume is created.
For those running Windows you can do this via ADB (I have to boot CWM and then go into ADB for Parted to work). This comes up often but I couldn't find a how-to on it to link to... kind of surprising that it wasn't already out there.
Format your sd card first... just personal preference so I can be sure the empty disk I'm looking when in parted is the one I want to adjust.
Open CMD as Administrator
(Type and execute what's written in blue below. Read comments in parenthesis but don't type them.)
parted /dev/block/mmcblk1
print
(verify that the disk listed is the correct one, there should only be 1 partition #1 it should be FAT32)
set 1 boot on
set 1 LBA on
print (look at the right under "flags" to be sure that "boot" and "LBA" are now set.)
quit
exit ADB as usual or continue as needed.
EDIT: Oh and SDCARD < 2GB means 2GB or smaller. You may have issues trying to use a card larger (this includes larger cards which are partitioned smaller).
Ok here is a sdcard image that you should be able to use with dd or win32diskimager to make the sdcard. This will work on any card 512MB or larger. I have made a 500MB partition and added the necessary files, you will still have to add the factory.zip (b&n 1.4.2 update)
http://dl.dropbox.com/u/64885133/meghd00t-r4.zip
and
http://dl.dropbox.com/u/64885133/meghd00tr4-sdimg.zip
Awww.... I thought the disc was easy enough to set up.
I've been playing around with this and it works fine. I found it responds the same way it did for me when I did the reformatting the past couple times: The "DO NOT TURN OFF YOUR DEVICE" warning doesn't go away. There's just a red X in the upper right corner which indicates it is working and not safe to turn off the device and after a minute or two it is replaced with a green check mark at which point you press and hold the power button for about 10 seconds to turn off the device. Remove the card and power back up.
The first time I ran this I was greeted with the notice that there was a problem and to restart the device and if the error occurs again to contact B&N support. Upon restarting it went through the first boot process normally.
I've been asked about the results from the former thread. I'll host a copy of the image file I've used to repartition as they're doing at B&N (5.50GB/7.45GB) with 1.4.0. I'll host it for a week or so, but it's 270MB so if someone wants to put it on a torrent of whatever, feel free.
Do a CWM backup first. Verify the MD5 checksum of the img file inside of the zip file after you download the image, before you burn it to make sure it's not corrupt... that would suck. MD5 = ae1d489a3b33f3e69360cc8e9c0bc096 You can check the checksum in Windows using a free app called WinMD5Free and you can burn the image with Win32DiskImager. This image does NOT load a boot manager. It boots straight in and repartitions and restores 1.4.0 with no prompts. Don't boot with this image if you are ready.
ONLY FOR 16GB NTs!!! --> http://www.fadingworld.com/NT/repart.img.zip
All credit for getting this img figured out (particularly the whole getting the NT to boot after the repartitioning) goes to meghd00t and probably the folks he thanks too.
EDIT: Finally compressed the img file and uploaded it so it's down to 270MB. This is a COMPLETE image, you don't need to change anything as long as you're fine with 1.4.0 and B&N's new partitioning scheme.
hmm the image doesn't work on CM7 do you need to have the stock rom installed ?
Pete1612 said:
hmm the image doesn't work on CM7 do you need to have the stock rom installed ?
Click to expand...
Click to collapse
I don't even need to look at the script to be quite confident that there is a check to ensure that the device "qualifies" before continuing... This is all based on B&N's own reflash system. These cards flash your NT with one version or another of the stock OS... you should revert to 1.4.0 - 1.4.2 first... They will not leave CM7 intact.
EDIT: Now megdh00t's image should still boot into cyanoboot and be able to load CWM. The image I've supplied just boots and runs the partitioning script immediately. If you're trying meghd00t's and it's not booting at all then verify the download and try booting from the card by turning off the Nook, insert the card, plug in the factory charge cable and that will turn it on and it should boot from the SD.... if that still fails try a different card. I keep a few 1GB and smaller SDs on hand just because larger SDs are problematic sometimes.
Thank you for the image. Quick ?s. Will this image work for a NT, with CM7 running on SD card only, stock B&N 1.40? And can I use this without hooking up the NT to a computer? If so, do I just pop the SD card with the image on it and viola I am repartitioned and still have 1.40? Any help will greatly be appreciated by this newby chick. . .
I've used the image I posted on two NTs now and I've tried both methods numerous times on my NT. I haven't had a single problem (except for when I do it on purpose). Both of the NTs were stock, rooted NTs. I don't have CM7 and have little interest in setting it up so I can only certify that this does work on a factory NT. If you have an alternate boot manager or CWM or CM7 flashed internally then you may very well have problems. If you're booting straight from SD and nothing has been changed in the NTs internal memory then it should run with any problem.
I've used the image you kindly provided CRE. It is stuck on the "Please Do NOT Turn Off Your Device. Installing New Software..."
There is a picture of a Nook in the center and a green check mark in the top right corner. How long should this take (I'm assuming it reboots itself after finishing)?
Edit:
I found your post from the previous thread:
"When I was ready to go it took several times of pressing the power button (I probably pressed every combination possible out of desperation) before it came to life. It booted up and came to the "DO NOT TURN OFF YOUR DEVICE" (or similar text) screen and a red X was in the upper right corner. Where I'm used to seeing this message go away and the Nook prompting me to eject my card before turning the device off all that happened was it remained on the warning screen but the red X was replaced with a green check mark after a couple minutes. Being paranoid, I probably left it on that screen for 30+ minutes before I finally forced it off, took out the card, booted into CWM, restored my backup image and now I'm all set! (My serial number was uneffected despite all my clumsy efforts to kill this NT). I had 1.4.0 installed and this image was made using files from the 1.4.0 acclaim_update.zip."
Thanks to you, meghd00t, and all others involved!
CRE said:
...If you have an alternate boot manager or CWM or CM7 flashed internally then you may very well have problems.
Click to expand...
Click to collapse
Yes, it does seem to be a problem, as it does not execute the scripts from the boot card.
Hey, I have an 8gb NT sitting on my desk which is bricked. I'll check this out tonight. If it works, then for sure I'll request that my Ubuntu Recovery be removed and yours take its place in the stickies. I just ask that you consider making one for the stock partition tables.. that way it can be official stock and not just an unbrick.
Cre- re repartion image
CRE, GOT YOUR P MESSAGE, NOT SURE HOW TO ANSWER PLY, BUT I WANTED TO THANK U. YES I AM BOOTING FROM SD WITH STOCK 1.4O. BUT I TAKE IT THAT I MUST CONNECT THE NOOK TO A COMPUTER, WHICH MUST BE DONE COVERTLY.:cool
AdamOutler said:
Hey, I have an 8gb NT sitting on my desk which is bricked. I'll check this out tonight. If it works, then for sure I'll request that my Ubuntu Recovery be removed and yours take its place in the stickies. I just ask that you consider making one for the stock partition tables.. that way it can be official stock and not just an unbrick.
Click to expand...
Click to collapse
Thank you for the feedback.
I have remade the images as per your instructions. Now you will get exactly what B&N gives you Only changes are in using the vfat portion of the sdcard to hold the factory.zip.
If you have some hosting then perhaps the original image with the ext3 partition for the factory.zip as per the details here http://forum.xda-developers.com/showpost.php?p=23946133&postcount=21 would also work. (now image attached here as bn_142_factory_recovery.zip )
Please review and let me have your comments
http://dl.dropbox.com/u/64885133/READMEv2.txt
http://dl.dropbox.com/u/64885133/meghd00tr4-v2.zip
http://dl.dropbox.com/u/64885133/meghd00tr4-v2-sdimg.zip
http://dl.dropbox.com/u/64885133/bn_142_factory_recovery.zip
Error 404
I try to download file: bn_142_factory_recovery.zip from the link above, but get Error 404. Please, put this file back. I am still try to unbrick Nook Tablet 8Gb. Thanks a lot!
hang on for a bit its uploading to dropbox very slowly, OK have at it it has uploaded now.
Thanks! I got it!

[HOW-TO] Building a CM10.0 SD card for Nook Tablet

NOTE: to build CM10.1 SD card, see http://forum.xda-developers.com/showpost.php?p=36685310&postcount=1.
[Caveat emptor: adopt/follow this guide at your own risk].
FWIW, below is a digest of the process to create a SD card running CM10.0 builds by XDA Developer Succulent which is posted at his blog http://iamafanof.wordpress.com and which I have used to build a CM10.0 SD card for my 16GB Nook Tablet:
Download the pair of files cm-10-yyyymmdd-UNOFFICIAL-acclaim.zip and cm-10-yyyymmdd-UNOFFICIAL-acclaim_sd_hd.zip from http://iamafanof.wordpress.com/2012/11/03/cm10-0-jelly-bean-for-nook-tablet-uploading/, and SD_Boot.zip from http://iamafanof.wordpress.com/2012/11/11/how-to-guide-bootable-cm7cm9cm10-sdcard-for-nook-tablet/.
Download gapps-jb-20121011-signed.zip from http://goo.im/gapps/gapps-jb-20121011-signed.zip.
Using a disk partition tool (such as MiniTool Partition Wizard Home Edition) create 4 partitions: boot (Primary, FAT32), system (Primary, Ext4), data (Primary, Ext4), and sdcard (Primary, FAT32). Set the partition ID type for the boot partition to 0x0C FAT32 LBA and set its Active flag (otherwise the SDcard will not be bootable). Once this is done, the boot partition should appear as a (read/write accessible) drive under Windows. (Note that you can adjust the suggested sizes of the partitions upward to fill up the entire SDcard; FWIW the sizes I use on my 8GB card for the 4 partitions are, respectively: 0.5GB/0.5GB/2GB/[remainder of SDcard]).
Copy to the boot partition of the SD card the following files from cm-10-yyyymmdd-UNOFFICIAL-acclaim_sd_hd.zip: boot.img (in folder p2), flashing_boot.img, MLO, recovery.img, u-boot.bin.
Modify the zip files using drag and drop with winrar/winzip (do not extract and repack the zip files):
Replace updater-script in folder META-INF\com\google\android of cm-10-yyyymmdd-UNOFFICIAL-acclaim.zip with the updater-script from in folder p2 of cm-10-yyyymmdd-UNOFFICIAL-acclaim_sd_hd.zip.
Replace vold.fstab in folder system/etc of cm-10-yyyymmdd-UNOFFICIAL-acclaim.zip with the vold.fstab from folder CM10_Jelly_Bean\1_os of SD_Boot.zip.
Replace updater-script in folder META-INF\com\google\android of gapps-jb-20121011-signed.zip with the updater-script in folder CM10_Jelly_Bean\p2\gapps of SD_Boot.zip.
Copy to the boot partition of the SD card cm-10-yyyymmdd-UNOFFICIAL-acclaim.zip and gapps-jb-20121011-signed.zip (that get modified with the replacement updater-scripts and vold.fstab files in the above steps).
Put the SD card into the NT, and boot from its power off by inserting a powered USB cable. Press and hold the N button as soon as CyanoBoot comes up to get the boot menu to display.
Select SDC Recovery.
[Optional but recommended step, in case you accidentally forget to replace the updater-script file(s)] Select Backup to backup your current NT config (/boot, /recovery, /system, and /data).
Select "Install zip from SD card" and install the modified cm-10-yyyymmdd-UNOFFICIAL-acclaim.zip file.
Select "Install zip from SD card" and install the modified gapps-jb-20121011-signed.zip file.
Select "Power off" to turn off the NT.
Boot the NT from its power off by inserting a powered USB cable; after about a minute you should see boot animation lasting for a few minutes followed by initial wifi network and google account setup process, after which your CM10 on SD is ready for use.
A few additional points worth noting:
If you plan to backup your NT current ROM config then add to the boot partition size at least 600MB for each backup (to save space you can copy/archive backup data folders to your PC and remove their copy from the boot partition).
Generally the lower rating (and also cheaper) class 4 SD cards are more suitable for running a ROM than the higher classes 6 and 10 cards (since the latter are optimized for large & sequential block read/write at the expense of random read/write). So if you happen to use a class 10 or 6 card and your apps frequently crash or freeze, consider switching to a lower class SD card.
Did you ask succulent if it was OK to post his work here? Someone already did it in the dev section and he was a little upset that he wasn't even consulted about it.
Sent from my CM 10 SD nook tablet. Thanks devs.
Thanks for the tutorial. I've used XDA for a long time and loaded lots of custom ROM's, but I'm finding this Nook Tablet situation ridiculously complicated. I'm having trouble understand your step number 8.
"Copy to the boot partition of the SD card and gapps-jb-20121011-signed.zip..." doesn't make grammatical sense. Is there a typo here?
sanjosanjo said:
Thanks for the tutorial. I've used XDA for a long time and loaded lots of custom ROM's, but I'm finding this Nook Tablet situation ridiculously complicated. I'm having trouble understand your step number 8.
"Copy to the boot partition of the SD card and gapps-jb-20121011-signed.zip..." doesn't make grammatical sense. Is there a typo here?
Click to expand...
Click to collapse
I just looked at it and it appears you are failing to read it. There are clear and concise instructions as provided by Succulent and cut and pasted by digimax.
It clearly says to copy the ROM and the gapps.
Sent from my CM 10 SD nook tablet. Thanks devs.
SlowCobra96 said:
I just looked at it and it appears you are failing to read it. There are clear and concise instructions as provided by Succulent and cut and pasted by digimax.
It clearly says to copy the ROM and the gapps.
...
Click to expand...
Click to collapse
There were indeed typos in the cited paragraph (thanks to sanjosanjo for spotting them), and I already fixed them.
digixmax said:
There were indeed typos in the cited paragraph (thanks to sanjosanjo for spotting them), and I already fixed them.
Click to expand...
Click to collapse
Did you reword them from succulents site because those are what I used when I did my SD card and I had zero issues following them.
Sent from my CM 10 SD nook tablet. Thanks devs.
On Step 8, did you mean to copy the cm-10-yyyymmdd-UNOFFICIAL-acclaim.zip to the boot partition instead of the cm-10-yyyymmdd-UNOFFICIAL-acclaim_sd_hd.zip because in step 12 you say to install cm-10-yyyymmdd-UNOFFICIAL-acclaim.zip? I've followed your steps for replacing the files, but did not put the sd_hd.zip on the SD card, only the normal acclaim.zip.
I'm going to try it now and see what happens.
Edit: says installation aborted. This was when trying to install the cm-10-yyyymmdd-UNOFFICIAL-acclaim.zip that has had the files replaced from the sd_hd.zip
LucasMN said:
On Step 8, did you mean to copy the cm-10-yyyymmdd-UNOFFICIAL-acclaim.zip to the boot partition instead of the cm-10-yyyymmdd-UNOFFICIAL-acclaim_sd_hd.zip because in step 12 you say to install cm-10-yyyymmdd-UNOFFICIAL-acclaim.zip?
...
Click to expand...
Click to collapse
Yes (I corrected it).
LucasMN said:
...
Edit: says installation aborted. This was when trying to install the cm-10-yyyymmdd-UNOFFICIAL-acclaim.zip that has had the files replaced from the sd_hd.zip
Click to expand...
Click to collapse
I had neglected to indicate in step #3 that the partition type of /system and /data is (Primary, Ext4).
digixmax said:
FWIW, below is a digest of the process to create a SD card running CM10 builds by XDA Developer Succulent which is posted at his blog http://iamafanof.wordpress.com and which I have used to build a CM10 SD card for my 16GB Nook Tablet (caveat emptor: adopt/follow it at your own risk):
Click to expand...
Click to collapse
thanks for this great thread digixmax. what is the difference between your method and just directly writing succulent's IMG file to a card?
his post looks like it was updated 12/25, although perhaps the image file is from 12/08. is yours updated since then?
http://iamafanof.wordpress.com/2012/11/18/cm10-0-jellybean-sdcard-img-for-nook-tablet/
zeiss74 said:
thanks for this great thread digixmax. what is the difference between your method and just directly writing succulent's IMG file to a card?
his post looks like it was updated 12/25, although perhaps the image file is from 12/08. is yours updated since then?
http://iamafanof.wordpress.com/2012/11/18/cm10-0-jellybean-sdcard-img-for-nook-tablet/
Click to expand...
Click to collapse
First off, just to be clear: I did not invent this process, rather my post is intended to be a streamlined digest of Succulent's blogs on how-to build CM SDcard -- including in particular the blog http://iamafanof.wordpress.com/2012/11/11/how-to-guide-bootable-cm7cm9cm10-sdcard-for-nook-tablet/. This process gives you the maximum flexibility at the outset in sizing the partitions, creating extra partitions, etc. This process has also worked for some of the other CM10 builds that are available on XDA such as ChrisHoffman's and Hashcode's builds, as well as the Paranoid Android build posted on Succulent's blog.
Succulent's pre-made SD card image is the simplest/quickest way to create a bootable SDcard of his CM10 builds: you just download and write the image to SDcard and it's ready to go. It's possible to adjust the partition sizes after the image is written to the card but with some risks of messing up the partition table which could make the SDcard not bootable. There have also been reports that NTs running these images appear to have same identical MAC address, thus any two of these NTs will not be able to get on the same LAN (e.g., in the same household WiFi LAN) at the same time.
Re: Succulent's v12/25: I just flashed it (internally on emmc) today and it works great, but he has not posted cm-10-xxxxxxxx-UNOFFICIAL-acclaim_sd_hd.zip for it so you'll have to wait a bit if you want to build the image from scratch.
digixmax said:
First off, just to be clear: I did not invent this process, rather my post is intended to be a streamlined digest of Succulent's blogs on how-to build CM SDcard -- including in particular the blog http://iamafanof.wordpress.com/2012/11/11/how-to-guide-bootable-cm7cm9cm10-sdcard-for-nook-tablet/. This process gives you the maximum flexibility at the outset in sizing the partitions, creating extra partitions, etc. This process has also worked for some of the other CM10 builds that are available on XDA such as ChrisHoffman's and Hashcode's builds, as well as the Paranoid Android build posted on Succulent's blog.
Succulent's pre-made SD card image is the simplest/quickest way to create a bootable SDcard of his CM10 builds: you just download and write the image to SDcard and it's ready to go. It's possible to adjust the partition sizes after the image is written to the card but with some risks of messing up the partition table which could make the SDcard not bootable. There have also been reports that NTs running these images appear to have same identical MAC address, thus any two of these NTs will not be able to get on the same LAN (e.g., in the same household WiFi LAN) at the same time.
Re: Succulent's v12/25: I just flashed it (internally on emmc) today and it works great, but he has not posted cm-10-xxxxxxxx-UNOFFICIAL-acclaim_sd_hd.zip for it so you'll have to wait a bit if you want to build the image from scratch.
Click to expand...
Click to collapse
thanks!
also, dumb question but if you "remove SD card" in step 14, how is "CM10 on SD ready for use" in step 15? do you reinsert it?
zeiss74 said:
also, dumb question but if you "remove SD card" in step 14, how is "CM10 on SD ready for use" in step 15?
Click to expand...
Click to collapse
Mistake on my part, leave the card in the NT.
ok, worked great (the second time). the first time i used 7zip to change the zip files, but then i read a readme.txt from succulent that said to only use drag and drop with winzip/winrar to change the zip files, so i downloaded winrar and it worked. the first time i got the "installation aborted" error.
thanks again, i'm super excited to try CM10. been wanting to update this NT for some time now.
Just an FYI it isn't the pre-made image file that causes the repeating MAC Address it is something in the CM 10 build. I have 2 NT 16's running different build dates of CM 10 SD and both have identical MAC Addresses. Somewhere in the build of CM 10 it appears that it is taking the MAC Address from a developer unit and applying it to everyones NT. Or so it would appear.
SlowCobra96 said:
Just an FYI it isn't the pre-made image file that causes the repeating MAC Address it is something in the CM 10 build. I have 2 NT 16's running different build dates of CM 10 SD and both have identical MAC Addresses. Somewhere in the build of CM 10 it appears that it is taking the MAC Address from a developer unit and applying it to everyones NT. Or so it would appear.
Click to expand...
Click to collapse
My NT has the same MAC address regardless of whether it's running stock, running CM10 internally or off SD card.
I think there is something wrong with your build images or possibly with your NTs (you can look up the NTs' MAC addresses in /rom/devconf/MACAddress on their emmc).
digixmax said:
My NT has the same MAC address regardless of whether it's running stock, running CM10 internally or off SD card.
I think there is something wrong with your build images or possibly with your NTs (you can look up the NTs' MAC addresses in /rom/devconf/MACAddress on their emmc).
Click to expand...
Click to collapse
So I have 2 broken NT's that despite the stock os showing the correct MAC Addresses and even the Mac config files showing the correct to the individual NT Mac address, when I load CM 10 despite not doing anything to change the configuration files other than updater-script, I broke it? Really?
And on top of that the pre-made images are known to have the same Mac address. Though the exact same files, sans imager program, couldn't possibly be problematic?
Somehow I doubt your stock os, if your using the succulent build for cm10, has the same Mac address.
Does your MAC end in 9f:fd ?
Sent from my CM 10 SD nook tablet. Thanks devs.
SlowCobra96 said:
So I have 2 broken NT's that despite the stock os showing the correct MAC Addresses and even the Mac config files showing the correct to the individual NT Mac address, when I load CM 10 despite not doing anything to change the configuration files other than updater-script, I broke it? Really?
And on top of that the pre-made images are known to have the same Mac address. Though the exact same files, sans imager program, couldn't possibly be problematic?
Click to expand...
Click to collapse
If your two NTs running stock OS still show two distinct MAC addresses then I don't think you have broken the NT per-se. Most likely you simply didn't properly build one or both of CM10 SDcard images. Your problem is the type Succulent often refers to as "residue" problems.
Somehow I doubt your stock os, if your using the succulent build for cm10, has the same Mac address.
Click to expand...
Click to collapse
It is the same MAC address, but believe whatever you want.
Does your MAC end in 9f:fd ?
Click to expand...
Click to collapse
Nope.
Then im a ****ing idiot and you are a god. Shrug. I am an not adverse to admitting when I am wrong, however in this situation I don't believe I am. Apparently my 2 NT's are completely special. Oh wait, anyone running the Image files have the same issues. There is nothing shared between the two NT's. SD cards arent shared. Not a single file is shared. Not even the build date of the CM 10 files is shared. So again I say, there is a problem with the SD version of CM 10 not reading the correct MAC. How you got lucky with your mac reading correctly from SD and EMMC I don't know, especially considering anyone else that has multiple NT's in the same house suffers the same issue.
i have two followup questions to help me better understand this setup.
1. what are the different partitions on the card? and why wouldn't we make the boot partition as large as can be? i went to back up my NT apps (about 100) to bring them to my CM10 card, and they are 800MB, and the only partition i can copy them to from my PC is boot. so i'm out of luck with 500MB (250 MB free). also, since boot is the only partition i can access from my PC, it means that's where all my videos and music will have to be copied. so it seems like i should make boot 4+ GB. i don't own any large apps (like those 2 GB racing games) so i would guess my other partitions don't need to be huge. am i missing anything? with the tablet up and running but few apps, the 0.5GB boot partition is about 50% full, the 0.5 GB system partition (no longer labeled such) is 64% full, while 2GB data and 4.5GB sdcard are 5% and 0% used (per minitool)
2. if this doesn't change the stock NT, then what are steps 10 and 11 doing? where are they installing something? from the SD card to the SD card, maybe in another partition? do i need to keep those zip files on the boot partition once they are installed?
thanks for any assistance to help my understanding.

[Q] Nook Rooted - won't turn on without sd card with cm10 on it

Ok. I have the cm-10.1 from June installed internal on the nook. It boots wonderfully and everything seems to work except for that when you reboot or shutdown and turn on it won't do anything unless there is a formatted boot ready cm versioned sdcard installed. I unfortunately have no idea where to start. It seems that everyone who has sdcard problems is usually when they have one inserted.
Any help would be great! Thanks in advance.
Sounds like you might be booting and running CM off SD all along ...
Does the Cyanoboot screen say it's loading internal boot or SDC boot when you boot/reboot with the SD card in?
digixmax said:
Sounds like you might be booting and running CM off SD all along ...
Does the Cyanoboot screen say it's loading internal boot or SDC boot when you boot/reboot with the SD card in?
Click to expand...
Click to collapse
I hold down the N and choose int boot to use the internal disk... so it is using the internal disk...
I guess to describe the issue further would be to explain that there is not even an "N" logo when pushing the power button and the screen backlight doesn't come on until I have inserted the sd card with cyanoboot installed... Could this be an issue with how the internal partitions are formatted - and or missing info? I looked at the "About" screen in Jellybean and it doesn't know my serial # and a few other things and searching around, I found out there are some files on one of the partitions that are supposed to contain these, but I haven't found them...
Any more ideas?
I'd suggest you try re-installing CM10.1 internally using the process outlined at http://forum.xda-developers.com/showpost.php?p=43326042&postcount=123.
OK. So, it was terribly messed up... possibly from a bad partition experience earlier in its life (it was bricked when I obtained it...) Anyway, so I followed the page at:
http://forum.xda-developers.com/showpost.php?p=24995518&postcount=1
This got my partitions formatted again correctly. I then also used adb to copy in the partition 5 files from the succulent github
https://github.com/succulent/acclaim_recovery_sdcard/blob/CM7/README.md
(in the flash_restore_stock.zip file).
Then I followed your link to
http://forum.xda-developers.com/showpost.php?p=43326042&postcount=123
and flashed those files...
THANK YOU, THANK YOU, THANK YOU!!

[Q] Successful CM10 install, now can't boot from SD

After succesfully burning and running the img from iamafanof.wordpress jellybean-android-4-3-for-nook-tablet. I decided I wanted to have more control over partition size etc and load a ROM from an SD card instead.
So I followed or at least thought I followed the instructions here. iamafanof.wordpress how-to-guide-bootable-cm7cm9cm10-sdcard-for-nook-tablet. However, I thought I was creating a bootable SD card with the ROM on it, but I installed the ROM on the internal nook memory by mistake. The nook tablet runs CM10 well.
The issue is I intended to be able to switch from CM10 on the SD card to the Nook OS like I could originally with the SD card img I mentioned previously. I cannot get the Nook Tablet 8gb to boot from the SD card. I only get CyanaBoot with the options to boot internet or boot internal recovery. The recovery options does nothing and the internal boot takes me into CM10. The SD options are greyed out. I have tried probably 5 different SD boot images including 2 that I know have worked previously. Also tried 3 different SD cards 2 of which I know worked previously. I am powering completely off and then plugging in USB to turn back on as described through the forum. I have tried using the Nook Recovery and it goes through the steps it looks as if it restoring to original state, but it only restores CM10 to original state.
My question is how to I get my Nook to boot to SD or can I somehow use my working CM10 ROM to get things restored to original NOOK OS. My goal is to wipe the Nook clean and go back to original state and then correctly create a CM10 SD boot card. I am a newbie to the Nook, but feel like I have explored all of the most easy to find options on the this forum to fix this.
I have no idea what you were trying to do and what went wrong (because what you say doesn't make sense).
Anyway... Try using the repart.img to get back to stock.
http://forum.xda-developers.com/showthread.php?t=1663836
Instruction in the link I provided is very detailed. Short version: Downolad the 1.42 recovery, unzip and burn an sd-card with the repart.img you will find in the extracted folder. Boot to that sd-card and a restore process will start. After a while (a few minutes?) a green checkmark hopefully appears. Pop out the card and the Tablet will reboot and finish the process and you're back to stock 1.4.0 or something like that.
Iamafanof has ready-made sd images oc both CM10 and CM10.1. Use one of those. Don't overcomplicate things. Use one of them! (Not that I get why you couldn't stay with the one you were running already... That's kind of what doesnät make sense to me.)
CM10 http://iamafanof.wordpress.com/2012/11/18/cm10-0-jellybean-sdcard-img-for-nook-tablet/ (my favourite)
CM 10.1 http://iamafanof.wordpress.com/2013...-1-jellybean-sdcard-img-for-nook-tablet-0110/
asawi said:
I have no idea what you were trying to do and what went wrong (because what you say doesn't make sense).
Anyway... Try using the repart.img to get back to stock.
http://forum.xda-developers.com/showthread.php?t=1663836
Instruction in the link I provided is very detailed. Short version: Downolad the 1.42 recovery, unzip and burn an sd-card with the repart.img you will find in the extracted folder. Boot to that sd-card and a restore process will start. After a while (a few minutes?) a green checkmark hopefully appears. Pop out the card and the Tablet will reboot and finish the process and you're back to stock 1.4.0 or something like that.
Iamafanof has ready-made sd images oc both CM10 and CM10.1. Use one of those. Don't overcomplicate things. Use one of them! (Not that I get why you couldn't stay with the one you were running already... That's kind of what doesnät make sense to me.)
CM10 http://iamafanof.wordpress.com/2012/11/18/cm10-0-jellybean-sdcard-img-for-nook-tablet/ (my favourite)
CM 10.1 http://iamafanof.wordpress.com/2013...-1-jellybean-sdcard-img-for-nook-tablet-0110/
Click to expand...
Click to collapse
Sorry for not being clear. After I accidentally installed CM10 internally on the nook I can no longer boot from an SD card. I have tried your guide and at least 5 others now. I follow the steps to a T. I have made 3 working SD boot cards for the Nook prior to installing CM10 internally. I understand the process. I have 3 different SD cards and none of which make a bootable SD card. Somehow now that CM10 is installed and the cyanaboot comes up on reboot with the options to boot internal or boot internal recovery. The SD options are greyed out. No matter how many different SD cards I use and boot instructions I follow. It will not read the SD card on boot. It does read it fine once the OS boots. I do not currently have gapps installed. So even If i wanted to keep the internal CM10 install I still need to be able to boot from SD to install gapps.
bpowner said:
...
Somehow now that CM10 is installed and the cyanaboot comes up on reboot with the options to boot internal or boot internal recovery. The SD options are greyed out.
...
Click to expand...
Click to collapse
Instead of rebooting while in CM, have you tried to boot off SD from power-off state and by inserting a powered USB cable?
digixmax said:
Instead of rebooting while in CM, have you tried to boot off SD from power-off state and by inserting a powered USB cable?
Click to expand...
Click to collapse
Yes. That is the method I am using. power down. Insert USB. Nook powers up. Cyanotboot Menu comes up. SD boot options are not available. At this point I am ok with just having CM10 on it, but I really need to get the google apps loaded onto the Nook. It simply will not boot from SD or recognize the SD card during boot. It does recognize from within the android OS and on my Windows machine. It shows Nook as an external device and I can access the SD card that way. It just will not boot from the SD card.
Just confirm: you've tried Succulent's pre-made CM10.x SD image (suc as cm_acclaim_10.2.0-RC0_13OCT2013_HD_SDC_IMG.7z from http://iamafanof.wordpress.com/2013...id-4-3-for-nook-tablet-imgsdc-boot-09aug2013/ -- unpack it with 7-zip then write the image to SD with win32diskimager) and it didn't boot either?
FWIW, you can find some info/pointers on making bootable SDcard from http://forum.xda-developers.com/showpost.php?p=36685310&postcount=1 and http://forum.xda-developers.com/showpost.php?p=37515697&postcount=31.

Categories

Resources