[HOW-TO] Install CWM [VERIFIED][Update 1/22/2012]
I'm working on this thread to show others how I've gotten CWM running off of my NT.
This will be broken out into 2 sections: SDCard Execution and Internal Installation. I've verified that backup and restore works using both of these methods.
First I would like to thank Bauwks and Nemith who have developed the u-boot crack and recovery.img used in this process. Here are some of the threads that I used for this process:
- Nemith's CWM recovery.img
- Next steps and Bauwk's internal image build process
METHOD 1 - SDCARD :
1. Setup SDCard
Using a new SDCard (not one you have info stored on) make a new MSDOS partition table and add a 50 MB FAT32 partition as the first primary partition. Then make sure you enable to boot and lda flags.
Any SDCARD larger than 50 MB should work but I used an extra 2GB laying around. You can add other partitions to the card if you want, but it is not necessary to allocate the entire card. Any added partitions would need to be manually mounted on your Nook anyway.
I used GParted on my Ubuntu machine to do this but any formating tool should work.
2. Copy Files onto SDCard
You can grab the files I used here:
Just UnZip the files directly to the root of the boot partition you created above (make sure flashing_boot.img, u-boot.bin, and boot.img are on the root not the folder SDCARD)
3. Insert SDCARD into NT
Now, with your NT powered off, eject the SDCARD you just created from your computer and insert it into the tablet. Then just turn it on and VOLA! You should now be in CWM!
You can then insert another (larger, preferably 16 GB +) SDCard and do a full backup.
METHOD 2 - Internal Installation:
Make Sure you have Method 1 working before trying this! It is a good idea to have already backed up your device before proceeding.
I've modified the internal recovery.img to automatically execute the code in Step 4 which seems to have finally fixed the boot-loop. Now you can use CWM internally without having to be around your computer! Please see Pg 7 for details on how I fixed this issue.
I'm removing the warnings since this method seem to be verified by a lot of different sources. It looks like Indirect beat me too an APK so please see his thread if you want an easier way to install this:
1. Get Recovery Image
You can use the image I built from Buawks/Nemith source.
The original image I created (with boot-loop) can be found here but is considered obsolete. I'm leaving it here while the new image is tested:
2. Copy Recovery Image to SDCard
You can either push using
adb push /path/to/irrecovery2.img /mnt/sdcard/irrecovery.img
or just Copy/Paste from a computer.
I recommend using the SDCard but really you can push this file anywhere you can access it from the Nook.
3. Upload Recovery Image to Recovery Partition
Just follow these adb commands exactly!
dd if=/mnt/sdcard/irrecovery.img of=/dev/block/mmcblk0p3
Done! You will get into a boot-loop if/when you go into CWM.
You should now be able to fully backup and restore! To get into CWM either adb
or power on the device while holding down N+Power (you may need to unplug usb and/or let go of the power button after boot if device keeps turning off).
NOTE: If you are getting a "Error mounting /sdcard" when using backup/restore you just need to remove and reinsert your sdcard.
4. Reboot out of CWM
If you still end up in a boot-loop just run these commands from adb to reset some security checks and get out of the CWM boot-loop. Check out this thread for an explanation of how this works:
Follow these simple steps to reboot:
1. Go to "mounts and storage" in CWM menu
2. Select "mount /bootdata"
3. Execute the following code (thanks Bauwks!):
dd if=/dev/zero of=/bootdata/BootCnt bs=1 count=4
dd if=/dev/zero of=/bootdata/BCB bs=1 count=1088
You can also just go to "reboot system now" if the last line of code does not work.
Welcome back! Now get to work on some roms!