03 October 2011

Nook Color Dual Boot Guide


MAJOR UPDATE 2/22/12: While the process hasn't changed too much, the key files have all been replaced for greater flexibility, and they are NOT compatible with the old method using rookie1's prep-dualboot zip. For an update path from earlier versions of this guide or resources related to the earlier version, see the XDA thread.


This guide details how to repartition your internal storage and install two operating systems, or ROMs, side by side. If you want CM7/9 on SD without changing your stock install, you're in the wrong place: CM7 SD Install Guide. Previous versions of this guide only worked with CM7/9 on the primary partition set and stock on the alternate partition set, and there was no way to backup or easily update the alternate install. Now, you can have either system on either partition, or have CM7 on one partition and CM9 on the other, or two side-by-side stock installs. You can also move the alternate system back to primary to back up or update. I would call this process an intermediate or advanced mod, and would not recommend trying to follow these steps if you don't understand what you're doing.

This guide takes advantage of the multiboot functionality built-in to CM7.1 nightlies since about #140. As such, it is not compatible with CM7.0.x builds or with earlier boot menus.

What you'll get: Whatever two ROMs you install, each will have a 2GB /data partition for apps and they will share a 2GB /media partition for storage, and both will have access to the SD card for more storage. At startup you will see a small green bar labeled "CyanogenMod." You have a few options when this bar appears:
  • Do nothing, and your primary system will boot
  • Hold down both volume buttons, and your alternate system will boot
  • Hold down 'n' for a more detailed boot menu
  • Hold 'n'+power and recovery will boot (if you installed CWM internally)
All of these actions must be taken in the first few seconds, before any message appears below the green bar. Once you see a confirmation message, you can release all buttons.


DISCLAIMER: As usual, YOU are responsible for changes YOU make to YOUR device. If you're uncomfortable using ClockworkMod Recovery, turn back now. If you're not sure how your NC is currently partitioned, turn back now. If you want to preserve your warranty, turn back now. Here be serpents; be so warned.

Following the guide as-is with all default options gets you a stock 1.4.1 install on secondary and a CM7 install on primary. I hope you can figure out what to substitute where for different results.

Questions or difficulties should be directed to the thread on xda-developers.com.


Prerequisites:
  • CWM on either SD or internal recovery
  • Wi-Fi access


Materials:


Steps:

  1. Put all materials in your SD card's root directory.
  2. Boot into CWM.
  3. From CWM main menu, "backup and restore" and "backup."
  4. From CWM main menu, "install zip from sdcard," and "choose zip from sdcard."
  5. Choose the repartitionDual2GB file.
  6. Reboot recovery. If you have internal CWM and no boot menu, you may need to use the rhythm method:
    hold nook N key and then press and hold power until the {first} message appears and then disappears with screen going blank. Release power button, then press it again and hold for ~5 seconds, the {first} 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
  7. Repeat step 4 and choose reformatData.
  8. If your backup in step 3 was stock, you can "backup and restore" then "restore" and skip to step 13.
  9. Otherwise, repeat step 4 and choose 1.4.1-keep-CWM.
  10. When it finishes, hold the power button to shut down, remove your CWM card (if applicable), and power back on.
  11. Complete B&N registration process¹
  12. Power off and boot back into CWM (may require rhythm method above).
  13. Repeat step 4 and choose BNpri2alt.
  14. From CWM main menu, in "mounts and storage," format system, data and cache.
  15. From CWM main menu, choose "Advanced" and "Wipe dalvik cache."
  16. Repeat step 4 and choose CM7/9 update zip.²
  17. Reboot into main partition and set up Wi-Fi.
  18. Reboot into alt partition (hit both volume buttons at once on "CyanogenMod" loading screen) to make sure it's working.
  19. optional: install gapps, keysmod, etc from CWM.

¹Any mods you want to make to stock, do it now: update to a newer version, root with Manual Nooter (if rooting 1.4.1, follow the linked instructions but use MN 5.12.20), flash keysmod, overclock kernels, or any other CWM-flashable mods.

²If you backed up an existing CM7/9 install in step 3, then after step 16 just install gapps, install keysmod if you want it, then from CWM's main menu, Backup & restore > Advanced Restore, and restore data only from your most recent backup. When you boot into CM7 (not tested with Phiremod), it will be just like you left it.³

³Steps 17 and 18 may look unnecessary, but several users experienced force closes in their CM7 installs when they didn't take these steps.


Other Resources:

  • CMpri2alt: Moves a CyanogenMod install from the primary partition set to the alternate partition set
  • BNalt2pri: Moves a stock install from the alternate partition set to the primary partition set
  • CMalt2pri: Moves a CyanogenMod install from the alternate partition set to the primary partition set
  • Revert dual boot: deletes the alternate partition set and alternate boot files. Does not restore stock partition sizes, but must be run prior to partitioning back to stock
  • 1.4.1 full restore: removes CWM from internal recovery, does not affect partitioning
  • 1.4.1-to-alt-partition: updates any existing stock install on the dual boot partition (removes root, does not remove installed apps)
  • Steps to back up and/or update both partitions
  • Instructions to rename boot files created with j4mm3r's multiboot
  • Possible fix for boot-loop at 'n' screen on stock partition (largely untested: don't use it unless you have this problem)


Credits:
  • repartitionDual2GB and reformatData provided by DeanGibson
  • 1.4.1 zips provided by rajendra82
  • BNpri2alt, BNalt2pri, CMpri2alt and CMalt2pri are minor alterations of DeanGibson's files linked above
  • revert-dualboot is a minor alteration of rookie1's remove-dualboot
  • Racks11479 provided key info for the above alterations

Originally posted on xda-developers.com