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!
Related
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.
Hey guys im a bit frustrated right now:
ive created the partitions just like in this guide:
http://forum.xda-developers.com/showpost.php?p=22201029&postcount=43
Ive got 2x Ext4 partitions and an active primary fat32 with about 100megs on it. You can find some screenshots in the attachments.
The Problem is if i restart my nook it doesnt pop up with cwm, it just normaly boots.
Did i forget something?
To make it boot you need to active the LBA flags, but i think 7. Right click on the new Primary partition and make sure "Set Active" is selected from the Modify submenu step is the equivalent of LBA flags in gparted ubuntu but i could be totally wrong. That is an important step. That is the hint
~ Veronica
yea i have done that, next to the "Primary" it says "active" so yeah..
Try rebooting the NT with the USB cable attached to the computer. This has worked for a few people.
yea tried that to but didnt change anything :/
That being the case, I'm sorry to say that you probably have a messed up partition, flag or something else is wrong with the SD card or it's structure.
I would recommend (although it is more work) that you try the Linux Partition method. The additional work will come from having to find a bootable version of Linux.
I created a brief outline of various methods HERE. Perhaps you could one a go and use Gparted instead of Windows to partition the SD.
It's worth a shot.
thanks ill try tomorrow
EDIT: ignore post.
Sent from my BNTV250 using Tapatalk
well i tried again to put these files on, this time using ubuntu and it still doesnt boot. ive setted the flags and put the files from http://forum.xda-developers.com/showthread.php?t=1446987 into my "root" partiotion which has the boot flags and so on but it still doesnt boot cwm. Do i need to press any keys while booting?
My Nook Tablet is rooted btw, should i do a factory reset and maybe make a movie? I really dont know what more i can do
Try the following (Linux) to unzip the files and get them on the SD. This could be the problem. Simply opening them and dragging them might not properly decompress them. Thank you to CelticWebSolutions for the following steps which I copied from the CM7 Rom Thread.
Open a terminal window and issue the command:
sudo file-roller
You will be asked for your password and after that a zip software window will open up, click open open and find the file "NT-CWM-SD.zip".
Drag all the files form this archive into your newly created system partition on your sd.
This can take a couple of minutes to actually complete so be patient, often it looks like it's finished but it's still copying in the background.
Close all windows and right click on your SD card on the desktop and select to "safely remove drive" if files are still writing to the disk it will warn you and the warning windows won't disappear until the files have finished writing to you SD.
Make sure you leave the SD in there until this process has finished otherwise your card probably won't work.
do you mean system partition or boot partition?
Edit:
my created partitions are all primary:
first partition with the cwm files on it: 50MB - Primary - FAT 32 - boot and lba flag
second partition: nothing on it - 2000MB - Primary - EXT4 - no flags
third partition: nothing on it - 2000MB - Primary - EXT4 - no flags
Pain12345 said:
do you mean system partition or boot partition?
Click to expand...
Click to collapse
Boot. My bad on choice of words. Bottom line is the card should look the same as the first one you tried. I'm only trying to insure that the files get extracted properly.
Also, to eliminate possible variables that may be causing yourissue, make sure the USB cable is plugged in when you try to boot.
Fingers crossed.
yea copied the files like you said and it still doesnt work. The nook does start and instantly boots "nook reader" not cwm. I really dont know what mroe i should do, i might record a movie if im home.
While booting the nook i have connected the usb cable
Thats how my partitions look like:
first partition with the cwm files on it: 50MB - Primary - FAT 32 - boot and lba flag
second partition: nothing on it - 2000MB - Primary - EXT4 - no flags
third partition: nothing on it - 2000MB - Primary - EXT4 - no flags
Edit2:
i didnt fill the sdcard with zeros, should i do this b4 partitioning?
Also my Nook is rooted, does this matter?
Indirect's APK?
I couldn't get the SD card method to work either and then I found Indirect's APK and that worked perfectly, just a thought... It's in the development section.
Really trying to help you here. Honestly I have never used the method in the actual CWM thread but I have successfully on two occasions created bootable SD cards. It is my understanding that it is the way the card is partitioned that tells and allows the system to "boot" from it. That said I have copied the instructions from the CM7 Rom thread below which use the Linux GParted partitioning method. Not having the SD card setup properly is the only thing I can think of to help at this point besides perhaps that you have a bad card. Try the below (which it sounds like you already have) just to be 100% sure the card is setup properly.
Delete all partitions on your SD card first using GParted and use the following
------------Thanks CelticWebSolutions--------------------
Open GParted select your SDcard in the top right hand side of the window.
Select create partition table form the device menu select the empty space on the newly wiped SD card and click the paeg icon with a green plus on it, a window will appear with some boxes to fill in, change the box that says New Size (Mib) to 50, Change file system to Fat32 and write boot in the label., then click add.
Again click on the unallocated space and add another partition as around 2000(MiB) as EXT4 and label it as system (LandMaster Note: Not needed for CWM only)
Add a 3rd partition in unallocated space again of about 2000(MiB) EXT4 and label it as data. (LandMaster Note: Not needed for CWM only)
now you have three partitions waiting to be created click the green tick to apply your changes
Once changes have applied right click on boot and select the menu item 'Manage Flags', tick boot and lba and close the window, your SDCard is now ready to get it's data for it to work
-------------------------------------------------------
You DONT even need the 2nd (system) and 3rd (data) partition as outlined above if all you want is a bootable CWM. Just one (I used 74MB) MS-DOS (FAT32), Active Partition with "boot" and LBA" flags set.
Lastly, since you are rooted you could always flash the internal recovery partition with CWM using the method in This Thread and get into CWM by clicking reboot recovery from within the app.
I never did ask .... What is your ultimate goal?
I spend a few more hours to it and it still doesnt work. Via the app i can run cwm but only via the app. The goal is that i have a working recovery sd card if i brick my nook..
I installed ubuntu on my computer and i did exactly the same steps like you have posted but it wont work. Ive also tried multiple other sd card but that didnt change anything
Maybe any development settings on the nook that i should change?
As i live in germany would maybe anyone of u sell me a working sd card with cwm on it so i can test?
Pain12345 said:
I spend a few more hours to it and it still doesnt work. Via the app i can run cwm but only via the app. The goal is that i have a working recovery sd card if i brick my nook..
I installed ubuntu on my computer and i did exactly the same steps like you have posted but it wont work. Ive also tried multiple other sd card but that didnt change anything
Maybe any development settings on the nook that i should change?
As i live in germany would maybe anyone of u sell me a working sd card with cwm on it so i can test?
Click to expand...
Click to collapse
Thats what I thought and it is a good plan. Unfortunately I'm stumped.
Albert Wertz is in the SD Card "business". Check with him to see about getting one.
FYI, now that you have CWM "written" to the internal recovery partition you should be able to enter recovery even if you can't boot the tablet to android.
N+Pwr from off condition should do the trick.
Pain, sorry, I just saw this thread. I made a small update to the instructions. I left out something which I thought was obvious. This was a fault on my part. Did you label each partition correctly? It should be BOOT, system, and data.
I used this method (don't forget the ext4fsd part) and it does work. But if you're still having trouble the CD-boot version of Ubuntu will work just fine too.
i allready have ubuntu running on a cd, in the past i labeld it "boot" (case sensitiv - all small letters) so this could be the fault?
Edit:
i can see that cwm work, it pops up 4 a half second or even less if i start the nook but than it instantly disappears
after installing cwm on my NT after that (my B&N store has been disabled and it doesn't let search, download, or view anything on the store..... has anyone a solution to this issue
I have a nook tablet 8gb, I can still boot cm7 from sd card so the thing isn't a total brick.
I started with http://forum.xda-developers.com/showthread.php?t=1529553 and that worked great but i still didn't like the nook menus and stuff so i decided to try cm7. I put it on the only sd card I had at the time for a test, an 8gb type 2. It worked great except for a bit laggy. I bought a 32 gig type 10, a little quicker but still lagged a bit. Also the 32 gig wouldn't boot unless i was usb tethered.
So I decided to try to put cm7 internal. I tried about a dozen times to get cwm to boot off a sd card but it never seemed to go for it so i used http://forum.xda-developers.com/showthread.php?t=1458630. But that doesn't seem to work on my nook I had the same problem as http://forum.xda-developers.com/showthread.php?p=23636087
I tried the method they posted in their thread (writing the cyanoboot recovery_512.img to /dev/block/mmcblk0p3. This seemed to boot in to a working cwm. I tried to burn the cm7 internal to the ram, but once i did it would still always boot to the cyanboot (no menu) strait in to cwm so I couldn't actully use it. At this point I decided that the 16g has much better support and i should just trade it in on the 14 day thing so i tried to return it to stock. I tried to burn the modified zip from http://forum.xda-developers.com/showpost.php?p=23483625&postcount=4
after that i tried http://forum.xda-developers.com/showpost.php?p=23384587&postcount=77 which also did not work, (it showed the box then turned off)
So my internal is probably all messed up by now, but I can still use the external sd boot if nothing else)
Any help would be appreciated.
Use Adam's unbrick total wipe for 8GB Noot Tablet. You will need another sdcard if you don't want to lose the setup of your actual sdcard running CM7.. well you could create an image of your entire sdcard but you will need ubuntu, adb bla bla bla so better get another one.
~ Veronica
I tried the unbrick image it didn't seem to work. It shows the box and then nothing.
I'll try it again.
Also kind of curious why one sd card would boot fine while the other one would require the power cable to boot.
Tried it again, same result. Boot up on the sd card. I see the box, then blank screen, wait 30 mins reboot without sd card and just get a black screen.
DCSL said:
I tried the unbrick image it didn't seem to work. It shows the box and then nothing.
I'll try it again.
Also kind of curious why one sd card would boot fine while the other one would require the power cable to boot.
Tried it again, same result. Boot up on the sd card. I see the box, then blank screen, wait 30 mins reboot without sd card and just get a black screen.
Click to expand...
Click to collapse
Can you boot into CWM that is your last chance, i can give you the link for the 8GB partition images so you can flash them while in CWM but as i said you will need ubuntu installed in a virtual machine and adb.
Here is the link: http://forum.xda-developers.com/showpost.php?p=23016403&postcount=1
I don't know which partition of the 8GB NT model is "rom" so if someone could post the output of:
~# parted /dev/block/mmcblk0 print
Once we know that you have to copy the image to the root of your sdcard
the code to flash the partition image will be:
~$ cd ~/android-sdk-linux/platform-tools
~$ ./adb devices
(Make sure your device gets recognized)
~$ ./adb shell
~# dd if=/sdcard/mmcblk0pX of=/dev/block/mmcblk0pX
* Where X is the number of the rom partition
* The images that Celtic posted don't end with .img but hopefully works that is fixable.
~ Veronica
partly solved with http://forum.xda-developers.com/showthread.php?t=1562130
Made sd card from image and then put the nooktablet_1_4_2_update.zip from b&n as factory.zip into the recovery folder
boot from sd card, hold n then select alternate boot, wait a few minutes till green check mark appears
Still doesn't boot without sd card.
Booting from sd card to cyanoboot, and selecting boot from emmc boots to nook setup, but hangs when trying to enable wi-fi
also still doesn't boot with no sd card
If I read corrcectly, you didn't successfully put on cm7? Depending on whereit failed, your original factory reset may still be intact. If you havent tried already, With the system off and no sd,Press power and quickly (while holding power)also press the n button. This should bring you to the option for factory reset. When you get there, is that option there at all? Because if not, firmware is probably too corrupted to change from the device itself, and youll probably have to change via data connection from computer.
no go on the factory reset option.
Why dont you try the UNBRICK method i posted
http://forum.xda-developers.com/showthread.php?t=1570022
If you have questions you can post them there
~ Veronica
lavero.burgos said:
I don't know which partition of the 8GB NT model is "rom" so if someone could post the output of:
~# parted /dev/block/mmcblk0 print
Click to expand...
Click to collapse
Someone posted in one of the older repartitioning thread a couple days ago with it:
http://forum.xda-developers.com/showpost.php?p=23755853&postcount=95
CRE said:
Someone posted in one of the older repartitioning thread a couple days ago with it:
http://forum.xda-developers.com/showpost.php?p=23755853&postcount=95
Click to expand...
Click to collapse
no he later mentioned that that output corresponded to a nook color
~ Veronica
lavero.burgos said:
no he later mentioned that that output corresponded to a nook color
~ Veronica
Click to expand...
Click to collapse
Rats... so much of that. You've just got to love all that confusion.
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.
[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.