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

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.

Related

[ADV][DEV][CWM]Copy Nook Stock to SDcard Image[5/9]

Hi again everyone,
I've noticed that some people have been inquiring about getting their Stock Nook Color rom onto an SDcard. And due to legal issues with distributing the B&N rom. It would not be wise to just "dd" the stock partitions to an .img file and post it for everyone to share. On top of the fact that each Nook has the /rom and /factory partition which stores each devices unique id's. So to work around that, here's an image file with a flashable .zip that will move your stock partitions to your SDcard via a modded CWM that is preinstalled with the .img file. Hope I'm not confusing anyone?!
**DISCLAIMERS: Please read and accept all that is noted below in red**
1-I do not take responsibility for whatever happens to your Nook Color. You are doing this at your own risk. If you are unsure about what's going on here. Then I'd suggest leave your Nook how it is!
2-I tried not to mess with the /rom partition because it stores very important unique device identifiers in that partition. But no matter what I did, it kept stalling on boot. However, I did leave the /factory partition alone. Which stores a rombackup.zip of your device id's. So I would suggest backing up these two very important partitions and store it somewhere safe!
3-On the above note. This is very important. Do not try and use this SDcard on any other nook than your own. I'm not sure what will happen. But I really don't want to find out.
4-Never, ever have the same Nook Stock rom running at the same time for any reason. This will intefere with the B&N servers and send a signal to De-authorize and wipe your nook. On top of that. It might just brick your nook from ever registering again!
5-This is mounting your internal partitions to copy over to the SDcard partitions. So again, if you are unsure or hesitant or not brave enough to touch your EMMC partitions. Please drop your SDcard that you were about to burn and walk away, slowly...
6-I assume you accept all the above. If so, please continue reading for the fun stuff!
Credits:
Rookie1 (for the initial eclair2dualboot script)
Nemith (for CWM Recovery used)
NOOK Stock to SD v0.1
What we have here is an .img file with partitions already created and ready for you to transfer your Stock Nook rom over to your SDcard. I would like to thank rookie1 for his initial script for moving Stock Eclair to Dualboot. I just took that and modified the script to work with the SDcard install. The script will still make use of your internal 5gb emmc Media partition as well. This will also modify all the necessary files on the fly to work with your Nook SDcard Rom (eg. uRamdisk, vold.fstab...etc).
I made the .img file around 7.4 gb so that people won't have issues burning it to an 8gb card. If you want to get use of the full 8gb or 16gb card. Use EASUS partition tool to extend the /sdcard (8th) partition.
FYI: I still for some reason or another can't grasp the CWM Recovery progress bar! Totally lost when it comes to inserting the correct values in the edify script. It extends past where it should end. I'm sure it's something very simple and maybe my mind is just too tired or better yet lazy to figure it out. So if anyone can advise me on the issue, please do.
Instructions and Pre-requisites:
**Backup your NOOK!!!!!**
1-You need a Nook Color with stock rom on EMMC already registered (root it now if you wish)
2-An 8gb uSDcard or larger
2-Download Nook Stock 2 SD v0.1
3-Unzip and follow directions from Nookdevs.com to burn the .img file to your SDcard
4-Power off Nook
5-Place the SDcard that you just burned stock2sd_v0.1.img to in your Nook and power on
6-It will boot to CWM Recovery. Now choose to "install zip from sdcard"
7-Now select "choose zip from sdcard"
8-Choose "stock2sd_v0.1.zip" and confirm "yes"
9-Sit back and wait... be patient! This will take a while.
10-When finished it will say "Can you believe it! It's stock Nook on your SDcard!"
11-Leave SDcard in Nook and go back to CWM main menu and choose to "reboot system now"
12-Enjoy your Stock Nook rom on your SDcard! Now go flash all the other roms to your EMMC!
Edit 5/9: I noticed that some people have issues with the .img file when uncompressed. So I've uploaded an alternative file to try if the first didn't work. The new file is a 7zip file. It offered better compression so the file size is much smaller as well. Hope this helps out the few that had issues.
Download:
stock2sd_v0.1a.zip
MD5-4aecd4f8fc4d7c40bbe392d8cb970853
4shared | Rapidshare
Update: 5/9 stock2sd_v0.1.img.7z
MD5: b72dd3cc0413b6fdadf899cfdf48b24e
4shared | Rapidshare
Click to expand...
Click to collapse
For anyone that has an alternative rom on your EMMC already. Mr_fosi wrote a nice write up on how to backup your current rom, restore to stock, copy stock to SD, and then revert back to your original setup on EMMC. Don't forget to give him a thanks for the great write up!
Mr_fosi's Guide
Hey, if I've helped in someway. Please show your appreciate with a thanks in one way or another!
Thanks,
Racks
Will try this as soon as I get a new SD card... have been wanting to be able to do this for a while, thanks!
Thanks for this!
Sent from my NookColor using XDA Premium App
Would this be the correct steps for getting rooted Stock Rom 1.2 to run from sd card if we are using Phiremod V6.2 OC 4/24 from the EMMC and want to restore it when we are done. Would sometimes boot from rooted stock sd card and other times boot from Phiremod V6.2 EMMC with a 16GB data sd card containing movies and music.
First of all thanks for making this.
1) Use Titanium Backup "Batch" option to "Run Backup all user apps + system data".
2) Have ClockworkMod 3.0.1.0 (or higher) in EMMC. Use ROM Manager v4.2.0.2 (or higher) to "Backup Current ROM". I like to append a PhV6.2 to the end of the file name. This procedure is referred to as making a Nandroid backup.
3) Mount your current sd card on a pc and copy the folder TitaniumBackup to it. Open the folder clockworkmod on the sd card and copy the Nandroid backup folder made in step 2) to the pc. This is for backup purposes. Not used in the procedure.
4) Use the procedure in thread "[UPDATE ZIP] Stock 1.2 update.zip flashable from CWM" to change your EMMC ROM back to stock. There are two files. One replaces CWM with the stock recovery (good for going back to stock). The other doesn't replace CWM (but will replace uboot). Not sure which one to use? Perfer the doesn't replace CWM, will this work with the procedure in this thread to move "Nook Stock to SDcard Image[5/3]"?
5) Use the procedure in thread "ManualNooter 4.5.2 (For Stock 1.2)" to root your nook.
6) Use the procedure in this thread "[ADV][DEV][CWM]Nook Stock to SDcard Image[5/3]" to move the rooted 1.2 to the sd card.
7) Install original sd card. Manually Boot into EMMC Recovery (ClockworkMod 3.0.1.0 or higher - hold Power button + n button for 6 seconds). Restore the Nandroid backup folder made in step 2).
OP udated with download link.
Thanks,
Racks
Will buy an SD and give this a shot.
Quick confirmatory questions:
- Having read the OP, it seems as though you are not intentionally modifying the partitions or their contents on the EMMC, correct?
- I haven't looked at the script, but what you wrote here says that they are only mounted and copied, yes?
- Finally, this does not change the read/write flag on any of the partitions on the EMMC?
Thanks for the work on this, I sure hope it works when I try it!
lschroeder said:
... Stock Rom 1.2 to run from sd card if we are using Phiremod V6.2 OC 4/24 from the EMMC ... Would sometimes boot from rooted stock sd card and other times boot from Phiremod V6.2 EMMC with a 16GB data sd card containing movies and music...
.
Click to expand...
Click to collapse
Eventual goal is to replace Phiremod V6.2 EMMC with a ROM based on CM7.1.x that has sleep fixed, wifi staple, bluetooth range extended - bluetooth keyboard functioning with wifi, hardware accelerated with over clocking at 1200/1300 and a rooted Stock 1.2 for the magazine and other reader features. Guess I am asking for a lot but I have faith in you developers!
mr_fosi said:
Will buy an SD and give this a shot.
Quick confirmatory questions:
- Having read the OP, it seems as though you are not intentionally modifying the partitions or their contents on the EMMC, correct?
- I haven't looked at the script, but what you wrote here says that they are only mounted and copied, yes?
- Finally, this does not change the read/write flag on any of the partitions on the EMMC?
Thanks for the work on this, I sure hope it works when I try it!
Click to expand...
Click to collapse
1-Not modifying anything on EMMC
2-Yes mounted then copied
3-It shouldn't change any or the read/write flags on your EMMC
Thanks,
Racks
Awesome.
This looks to be worth undoing my nice CM7 install, reverting back to 1.1 (then upping to 1.2) for. I would very much like to get some of the stock functionality back and this looks like a great way to do it without having to modify my EMMC partition table.
The dual-boot option looked promising as well but I really don't want to mod the partitions on this thing, especially since I use CM7 most of the time.
lschroeder said:
Would this be the correct steps for getting rooted Stock Rom 1.2 to run from sd card if we are using Phiremod V6.2 OC 4/24 from the EMMC and want to restore it when we are done. Would sometimes boot from rooted stock sd card and other times boot from Phiremod V6.2 EMMC with a 16GB data sd card containing movies and music.
First of all thanks for making this.
1) Use Titanium Backup "Batch" option to "Run Backup all user apps + system data".
2) Have ClockworkMod 3.0.1.0 (or higher) in EMMC. Use ROM Manager v4.2.0.2 (or higher) to "Backup Current ROM". I like to append a PhV6.2 to the end of the file name. This procedure is referred to as making a Nandroid backup.
3) Mount your current sd card on a pc and copy the folder TitaniumBackup to it. Open the folder clockworkmod on the sd card and copy the Nandroid backup folder made in step 2) to the pc. This is for backup purposes. Not used in the procedure.
4) Use the procedure in thread "[UPDATE ZIP] Stock 1.2 update.zip flashable from CWM" to change your EMMC ROM back to stock. There are two files. One replaces CWM with the stock recovery (good for going back to stock). The other doesn't replace CWM (but will replace uboot). Not sure which one to use? Perfer the doesn't replace CWM, will this work with the procedure in this thread to move "Nook Stock to SDcard Image[5/3]"?
5) Use the procedure in thread "ManualNooter 4.5.2 (For Stock 1.2)" to root your nook.
6) Use the procedure in this thread "[ADV][DEV][CWM]Nook Stock to SDcard Image[5/3]" to move the rooted 1.2 to the sd card.
7) Install original sd card. Manually Boot into EMMC Recovery (ClockworkMod 3.0.1.0 or higher - hold Power button + n button for 6 seconds). Restore the Nandroid backup folder made in step 2).
Click to expand...
Click to collapse
I don't think it matters which restore to stock .zip you use. This script will basically copy what ever setup you have on your EMMC to your SDcard. Your steps are correct as I see it. Please advise if the steps you took worked or not.
Thanks,
Racks
I am getting a corrupt error when unzipping img with winrar. I have download 3 times different download places.
patgnds said:
I am getting a corrupt error when unzipping img with winrar. I have download 3 times different download places.
Click to expand...
Click to collapse
Thanks for advising. I'm checking the download now. Anyone else have the same issue?
The problem seems to be in the reported size of the original file within the zip.
In mine (downloaded from the hated Rapidshare):
- Compressed size: 120,494 kb
- Original size: 807,167,488,681,452 kb
Maybe a corrupt compression?
Same issue...corrupt, download size is 4k.
Sent from my HTC Vision using XDA Premium App
mr_fosi said:
The problem seems to be in the reported size of the original file within the zip.
In mine (downloaded from the hated Rapidshare):
- Compressed size: 120,494 kb
- Original size: 807,167,488,681,452 kb
Maybe a corrupt compression?
Click to expand...
Click to collapse
Thanks for the advise. I'll take down the link until further notice. Sorry for this everyone.
Thanks,
Racks
Edit: I've just downloaded it to my mac at work and used Stuffit Deluxe to unzip it. And it unzipped and mounted fine for me. I'll see if I can rezip this one and reupload.
The MD5 of the file I have matches the one posted in the OP, so I am fairly sure the download wasn't corrupted. It seems to be a problem with the original file uploaded.
A quick re-zip might fix the issue.
I did burn the rom and installed the zip from cwr it worked.
So you must have been able to unzip the IMG? Can you share the zip file you used and post it's MD5?
Dual boot setup.
Does this copy all partitions on the emmc or just the first boot partitions? I have dual boot setup with stock on the second boot. If I could just copy the whole setup to an sd card it would be pretty slick. Thanks for your hard work.
1CF71B239DB860A36CD70C3FB8F70FEC
partitions
boot
rom
factory
system
data
cache
sdcard

[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!

[HOWTO] Install CM9 on 8GB Nook Tablet

The 16GB Nook Tablet was released in the United States on Nov 17, 2011 (about 6 months ago). It is reasonably well-documented and a great deal of progress has been made on getting it to do cool stuff that its developers did not intend.
On February 21, 2012 (about 2 months ago) Barnes and Noble released an 8GB version of the Nook Tablet. It is much newer and most of the developers on XDA who were going to work with the Nook Tablet had already purchased 16GB devices by the time the 8GB was released; therefore, it is not documented nearly as well and many of its quirks are not as well known.
The purpose of this thread is to begin the process of documenting the differences between the two tablets. I spent a lot of time messing around with unsuccessful processes and asking questions to people who didn't know answers, and would like to contribute by saving that time for others.
By following this guide, you will be able to take an 8GB Nook Tablet out of the box and get it running an alpha version of CM9.
As of 04/25, CM9 for the Nook Tablet is an alpha state and many, many things do not work. I urge you not to try this yet unless you want to contribute to the development process, because you might irreversibly mess up your $200 toy. I am not responsible if you do this. Please, please do not try this unless you know what you are doing!
You will need:
8GB Nook Tablet (duh)
1 MicroSD card that you don't mind wiping
Linux (I only know how to flash images to an SD card using Linux, if someone else wants to add Windows instructions it's appreciated, but honestly if you can't find your way around Linux you shouldn't do this)
ADB properly set up (there are other guides on how to do this, I will add it in later if necessary)
Some way of writing to a MicroSD (an SD reader preferably, you could use an android device but I would feel much safer with just an SD reader)
The recovery image from the bottom of this post (ignore the instructions, just get the image. Meghdoot please let me know if I can just include the direct link in this post.)
CM9 Alpha 0.03 zipped package from this post (filename: update-cm9-acclaim-alpha0.03-fullofbugs.zip)
Google Apps ICS flashable zip (optional, find it somewhere if you want it)
Actually flashing CM9 is not that hard. The problem is that we want to make sure we have a way out of any problems we might cause (maybe you get sick of CM9 for example.) There are slight differences between the 8 and 16GB versions of the NT. These differences make a lot of the recovery methods for the 16GB not work on the 8GB. Do NOT flash anything to your tablet unless you are sure it works for the 8GB model!
Overview: What We Are Going To Do To Your Tablet
Create ClockWork Mod Recovery SD card
Back up your existing stock system
Save rombackup.zip, which contains files that are critical to the Stock OS
Flash CM9
Step 1: Create CWM Recovery SD Card
This step is the most important because it lets us do just about everything else. It is very important that you follow this step precisely and not cut corners; for example, it is tempting to use xIndirect's Nook Tab Recovery Flasher app because it downloads CWM and flashes it to your tablet so you don't have to mess with an SD; the CWM version it flashes will not work on the 8GB tablet, and once you realize this and use the app to "revert to stock recovery", you will find that you have reverted to a 16GB stock recovery. I made this mistake, and so far don't know how to undo it (hopefully I won't have to).
1) Get your SD card readable in your computer
Alternate, perhaps easier method: Copy the contents of this file onto the sd card. Either do this or steps 2-4 below, whichever you prefer.
2) Unmount your SD card, but do not remove it
3) Unzip the CWM image you downloaded above, which should contain myrecovery.img
4)In Linux, do the following:
Code:
sudo dd if=myrecovery.img of=WhateverTheMountPointofSDCardIs bs=1M
Don't know how to find what your SD card's mount point is? TURN BACK.
In Windows, do the following:
lavero.burgos said:
- Format your sdcard with SDFormatter (recommended) or any other but not windows native.
- Download latest Win32DiskImage-binary.zip from https://launchpad.net/win32-image-writer/+download
- Unzip the file
- Run Win32DiskImage.exe - Right click "run as administrator"
- Click the folder button and navigate to select the .img file you just unzipped.
- Click on the disk drive letter label on the right, and choose the letter that corresponds to your SD card.
- Press Write. When it finishes, press Exit.
- Safely eject/remove your sdcard and put it back to your NT
- Plug your device to the a/c power or PC using the USB cable, let it power on by itself do not press any button.
Click to expand...
Click to collapse
Once this is done you should be able to place the SD card into your Nook Tablet, power it down, plug the USB cable while it is off, and it will turn on, show the Nook logo, a white screen with a cardboard box, and then load up CWM recovery.
Step 2: Nandroid Backup
This should be the simplest way to have a plan B - if you want to go back to stock ever, this should do it.
1) In ClockworkMod Recovery, press volume down until Backup and Restore is highlighted; press the home key to select it.
2) Choose "Backup to Internal Sdcard"
3) After a few minutes, verify that the backup was successfully completed.
You should have about 3.5GB free on your eMMC before the backup, and the backup will likely take about 800MB. (Please chime in if your backup is bigger / smaller.)
Step 3: Get Rombackup.zip
This file is very important. In the event that your tablet is completely borked, we could try flashing an image of a stock OS to it; however, there is a file in the stock OS called rombackup.zip which identifies your Nook when it tries to connect to BN's services. If you flash someone else's image you will have someone else's rombackup.zip and BN will not let you in.
1) On Ubuntu, with your tablet in CWM Recovery, do
Code:
$ adb shell
This will open up a terminal to your tablet, where you must type these commands VERY PRECISELY (!!!!):
Code:
mkdir /mnt
mkdir /mnt/factory
mount -t ext4 /dev/block/mmcblk0p7 /mnt/factory
exit
2)After "exit", you will be returned to your Ubuntu terminal; from there do
Code:
adb pull /mnt/factory/rombackup.zip
3) Put that file somewhere safe! Dropbox is a good idea.
Step 4: Flash CM9
1) Reboot your tablet into stock OS one last time.
2) Mount your nook's storage to your PC
3) Place the cm9 update zip file you downloaded above onto the nook's storage
4) Reboot into CWM Recovery
5) Choose "Install zip from sdcard"
6) Choose "Choose zip from internal sdcard"
7) Find the CM9 zip, flash it
8) Find gapps (if you got it), flash it
9) NOT OPTIONALChoose "wipe data/factory reset" (if not visible, press power button to go back)
10) Reboot, pray
Your tablet should boot into a shiny new operating system. If you get tired of it, just restore stock using nandroid (takes seconds and works without a problem.) The experience within CM9 is not so different from the 16GB; however you will find since it only has 512MB of ram instead of 1GB, apps have to restart a lot more frequently than you would hope, because they are killed by Android's memory management if you hop to too many other apps. That's the tradeoff for the $50 you saved, cheapskate.
MANY THANKS TO:
The entire CM9 Nook Tablet team (too many to list)
Meghdoot for producing a working 8GB recovery + answering some ?s
fattire, bauwks, etc - for cracking the **** out of the security on these things
Anybody else I left out - this dev community just amazes me
Lastly - this is my first attempt at being useful on XDA, so please let me know if I made any mistakes, or if there is something you think I should add.
Worked perfectly. Thank you for taking the time to do this.
Windows Instructions
- Power off your NT and remove sdcard
- Put your sdcard into a card reader (preferably)
- Format your sdcard with SDFormatter (recommended) or any other but not windows native.
- Download latest Win32DiskImage-binary.zip from https://launchpad.net/win32-image-writer/+download
- Unzip the file
- Run Win32DiskImage.exe - Right click "run as administrator"
- Click the folder button and navigate to select the .img file you just unzipped.
- Click on the disk drive letter label on the right, and choose the letter that corresponds to your SD card.
- Press Write. When it finishes, press Exit.
- Safely eject/remove your sdcard and put it back to your NT
- Plug your device to the a/c power or PC using the USB cable, let it power on by itself do not press any button.
~ Veronica
lost101 said:
Worked perfectly. Thank you for taking the time to do this.
Click to expand...
Click to collapse
what have you noticed working vs not working?
jshields1986 said:
what have you noticed working vs not working?
Click to expand...
Click to collapse
It's very impressive. Anything said here about the rom running on 16gb NT applies.
lost101 in a PM said:
Download "8gb-16gb_cwm_sdcard.zip" from here.
Follow instructions and put SD card in Nook Tablet.
In CyanoBoot Menu > Boot from SD Card Normal.
Perhaps some people might find it of value if you added this to your tutorial as the current method of accessing CWM on a 8gb Nook Tablet.
Click to expand...
Click to collapse
I suppose; however, I'm still able to easily get to CWM from the same SD card I used to flash CM9, either by booting while holding the N key (I guess this doesn't work for everyone?) or shutting off the device and plugging it in. Either way seems to get CWM going from the SD card, though I suppose you could also do cyanoboot; my understanding is that that should work without any additional files as well.
Download "8gb-16gb_cwm_sdcard.zip" from here.
1 - Follow instructions and put SD card in Nook Tablet.
2 - In CyanoBoot Menu > Boot from SD Card Normal.
Perhaps some people might find it of value if you added this to your tutorial as the current method of accessing CWM on a 8gb Nook Tablet.
Click to expand...
Click to collapse
That's with working a link.
You can also skip step one and put these files onto an SD card.
So I've followed the directions precisely, but can't seem to boot into recovery. Plugging in while powered off just boots normal, and holding "n" and power just gives the factory reset options. I want to check one step in the OP's instructions:
Code:
sudo dd if=myrecovery.img of=WhateverTheMountPointofSDCardIs bs=1M
By mount point do you mean the /media/XXXXXX folder it mounts to, or the /dev/sdx? I tried both, but neither seemed to work.
Also, by SDcard, you do mean an external microsd card, yes? Or are you talking internal storage?
And finally, what's the output supposed to look like from the above line of code?
AbbaSou said:
So I've followed the directions precisely, but can't seem to boot into recovery. Plugging in while powered off just boots normal, and holding "n" and power just gives the factory reset options. I want to check one step in the OP's instructions:
Code:
sudo dd if=myrecovery.img of=WhateverTheMountPointofSDCardIs bs=1M
By mount point do you mean the /media/XXXXXX folder it mounts to, or the /dev/sdx? I tried both, but neither seemed to work.
Also, by SDcard, you do mean an external microsd card, yes? Or are you talking internal storage?
And finally, what's the output supposed to look like from the above line of code?
Click to expand...
Click to collapse
I personally used the win32 method, but I suspect there would be no output unless an error occurred.
FYI, I updated to the latest build of CM9 by wiping in CWM and flashing it. No need for a *special* 512mb build.
AbbaSou said:
So I've followed the directions precisely, but can't seem to boot into recovery. Plugging in while powered off just boots normal, and holding "n" and power just gives the factory reset options. I want to check one step in the OP's instructions:
Code:
sudo dd if=myrecovery.img of=WhateverTheMountPointofSDCardIs bs=1M
By mount point do you mean the /media/XXXXXX folder it mounts to, or the /dev/sdx? I tried both, but neither seemed to work.
Also, by SDcard, you do mean an external microsd card, yes? Or are you talking internal storage?
And finally, what's the output supposed to look like from the above line of code?
Click to expand...
Click to collapse
On my desktop computer, the argument I used read "of=/dev/sdc". This will likely not work on your computer, as the mount point won't be /dev/sdc on yours, but that's the format you should follow.
Make sure all three arguments are there and it should work, after about 3-4 seconds you should see a message saying how long it took and how many bytes were copied.
And yes, what this step does is to copy on to an external microSD card; if you instead use the mount point of the user-accessible storage partition of your Nook's eMMC, it won't work.
If it doesn't work, double check that you are flashing the correct file, and perhaps redownload it (not sure if meghdoot made md5sums available or not but that may be worth a check.)
lost101 said:
That's with working a link.
You can also skip step one and put these files onto an SD card.
Click to expand...
Click to collapse
I guess I may be misunderstanding what you are looking to accomplish; are you trying to make it so you can get into recovery without plugging the tablet in? If so that can be accomplished without any extra steps, once CM9 is succesfully installed:
Power the tablet on while holding the home key (doesn't work on every NT apparently)
At Cyanoboot prompt, which should come up whenever you power the tablet on without holding the home key, you can THERE hold the home key and select "SD Card Normal" (not "SD Card Recovery")
RomBackup.Zip
In the O.P., your step 3 says...
"Save rombackup.zip, which contains files that are critical to the Stock OS"
Could you make a copy of that file available for download?
I was one of the early testers who tried to flash CWM & CM7a onto the internal EMMC memory. Of course, it bricked my NT8 and now I can ONLY boot from a (bootable) SDCard.
I am running CM7a from an SDCard now and it works fine. But, I would like to get my NT8 back to working (something) on the EMMC.
Perhaps, if I could push (or flash, or backup) the rombackup file to my device, it would restore the missing "critical" files? I can do ADB & CWM works from SDCard. I figure that it is worth a shot since I am pretty sure that I have tried every other "solution" on XDA - all failed.
Any suggestions would be greatly appreciated.
raywaldo said:
In the O.P., your step 3 says...
"Save rombackup.zip, which contains files that are critical to the Stock OS"
Could you make a copy of that file available for download?
Click to expand...
Click to collapse
This is the contents, however the values in some of the files are unique to each device. Maybe changing some of the values in the files would work for you.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
RomBackup.Zip
lost101 said:
This is the contents, however the values in some of the files are unique to each device. Maybe changing some of the values in the files would work for you.
Click to expand...
Click to collapse
Thanks. I see what you mean about the unique values. I don't know how I could do much with this data however.
Interestingly, my s/n is still intact. When I do ADB, it displays properly. But SOMETHING is still missing and it will not boot internally.
Thanks again for the response.
Your article is well-written and would have been a great help to me BEFORE I bricked it.
raywaldo said:
Thanks. I see what you mean about the unique values. I don't know how I could do much with this data however.
Interestingly, my s/n is still intact. When I do ADB, it displays properly. But SOMETHING is still missing and it will not boot internally.
Click to expand...
Click to collapse
Have you tried creating a Rombackup.zip as described? It sounds like you may still have all the files.
raywaldo said:
In the O.P., your step 3 says...
"Save rombackup.zip, which contains files that are critical to the Stock OS"
Could you make a copy of that file available for download?
I was one of the early testers who tried to flash CWM & CM7a onto the internal EMMC memory. Of course, it bricked my NT8 and now I can ONLY boot from a (bootable) SDCard.
I am running CM7a from an SDCard now and it works fine. But, I would like to get my NT8 back to working (something) on the EMMC.
Perhaps, if I could push (or flash, or backup) the rombackup file to my device, it would restore the missing "critical" files? I can do ADB & CWM works from SDCard. I figure that it is worth a shot since I am pretty sure that I have tried every other "solution" on XDA - all failed.
Any suggestions would be greatly appreciated.
Click to expand...
Click to collapse
After 3 weeks just been able to boot CM7 from sd I succesfully installed CM9 in EMMC on my NT8. I wasn't able to restore anything else into the EMMC after I bricked it trying to install CM7.
I'm very satisfied with CM9. Fo me is more responsive than running CM7 from sd.
RomBackup.Zip
lost101 said:
Have you tried creating a Rombackup.zip as described? It sounds like you may still have all the files.
Click to expand...
Click to collapse
I was able to create the backup file... Rombackup.zip
Attached is a screen shot of the contents. Notice that it is down a few layers of directories: /rom/devconf/ Is that correct?
However, I have not had any success in getting CM9 (or any other ROM) to run on the EMMC.
raywaldo said:
I was able to create the backup file... Rombackup.zip
Attached is a screen shot of the contents. Notice that it is down a few layers of directories: /rom/devconf/ Is that correct?
However, I have not had any success in getting CM9 (or any other ROM) to run on the EMMC.
Click to expand...
Click to collapse
Yes, everything is correct. What method are you using to install CM9? Have you tried installing 0.03 using CWM?
lost101 said:
Yes, everything is correct. What method are you using to install CM9? Have you tried installing 0.03 using CWM?
Click to expand...
Click to collapse
Be aware that after you install CM9 and reboot into Cyanoboot it will try to boot from the alternate partition by default so you'll get an error message. You need to force Cyanoboot menu by pressing the n while booting and then select boot from eMMC normal (where CM9 is located).
Later you can change default boot in /bootdata by following instructions from fattire about
Cyanoboot .
Sent from my NT8 with CM9.
lumav said:
Be aware that after you install CM9 and reboot into Cyanoboot it will try to boot from the alternate partition by default so you'll get an error message. You need to force Cyanoboot menu by pressing the n while booting and then select boot from eMMC normal (where CM9 is located).
Later you can change default boot in /bootdata by following instructions from fattire about
Cyanoboot .
Sent from my NT8 with CM9.
Click to expand...
Click to collapse
I have no such problem with NT8, Cyanoboot boots from eMMC automatically. But then I still have the nook partition and never tried to flash CWM internally.

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

[HOW-TO] Building a CM10.1 (JB 4.2.x) SD card for 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.

Categories

Resources