Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
mali100
Old
(Last edited by mali100; 2nd February 2012 at 08:19 PM.) Reason: updated warnings
#1  
Senior Member - OP
Thanks Meter 123
Posts: 208
Join Date: Jun 2007

 
DONATE TO ME
Default [NST][CWR][RC2] Clockworkmod based Recovery - fixed backup issue


DISCLAMER and WARNING:
  • I'm not responsible for bricked devices, dead SD cards, lost data. Make a backup before you try anything described here!
  • Making a backup with CWM only includes the following partitions: boot, system, data, cache. It doesn't include the /rom partition which contains data thats unique for every device. Use this backup method to make a full device backup.
  • Please do not use the restore backup function to restore backups made with versions prior and including RC1. They are faulty and restoring them damages an important bootfile of your nook. It isn't important with which version you restore, if the backup was made with Beta1, Beta2 or RC1 it will fail! Please read http://forum.xda-developers.com/show...5&postcount=37


Changelog:
  • RC2
    • changed mount options of the boot partition (fixes the bad backup issue)
    • updated sources to the newest ones from CM
    • some internal changes for the screen refresh
  • RC1
    • reboot recovery in the advanced menu is now working
    • boot to recovery is now a bit faster
    • switched to automated build environment
    • moved some files to the appropriate place
  • Beta2
    Added page refresh after pushing back or select buttons, to get rid off the ghosting. Still not perfect, but good enough for a recovery.
  • Beta1
    First release

Hi,
after some trying and hacking I was able to build a working Clockworkmod based recovery for the Nook Simple Touch.
It is still a beta-version, but everything I tested (backup, restore, mount USB, install zip) works.

If you want to try it, just write one of the imgs from the sd_xx_clockwork-....zip to a SD card with at least the capacity mentioned in the filename. Put the card in your N2E and reboot. Do not write these images directly to the Nook, it will brick your device permanetly!

To replace the standard recovery of the N2E, copy also the install_cwm_recovery_xx.zip to the sdcard, boot into CWM and use the install zip from sdcard option to install it (it just replaces uRecRam and URecImg in the /boot partition, so you can also do it manually, if you want).
There is really no need to install CWM on the device as long as you aren't developing and need it constantly. Please keep in mind that replacing the stock recovery will remove the restore function, that can be triggered by pressing the two lower buttons (or by eight failed boots). Restoring the stock recovery with install_stock_1.1_recovery.zip will bring back this function.

How to boot into recovery:
  • Power down the N2E
  • Press the power button for ca. 3 seconds, so that the device boots (you don't have to hold the power button after the 3 seconds)
  • As soon as the display changes to the "read forever" screen , push and hold the lower left and the lower right button until the screen changes again
  • Wait until you see the recovery

If you want the standard recovery back, use the install_stock_1.1_recovery.zip (See next post).


Button layout:
  • Both Buttons on the left: BACK
  • Upper button on the right: UP
  • Lower button on the right: DOWN
  • n button: SELECT
  • Power button: TOGGLE DISPLAY

Known bugs:
  • after restoring the boot partition, most of the times the recovery ends in an unresponsive state. The nook has to be rebooted by holding the power button. This is not affecting the restore!
  • "reboot system now" doesn't work always (sometimes you have to power cycle), experienced it only when booting from SD
  • Reboot to recovery by using adb reboot recovery doesn't work. (needs a new adbd binary in the uRamdisk)

DISCLAMER and WARNING: I'm not responsible for bricked devices, dead SD cards, lost data. Make a backup before you try anything described here!


Credits go to:
Attached Files
File Type: zip install_cwm_recovery_rc2.zip - [Click for QR Code] (4.02 MB, 4962 views)
File Type: zip sd_2gb_clockwork-rc2.zip - [Click for QR Code] (5.77 MB, 11357 views)
File Type: zip sd_128mb_clockwork-rc2.zip - [Click for QR Code] (7.59 MB, 17680 views)
The Following 28 Users Say Thank You to mali100 For This Useful Post: [ Click to Expand ]
 
mali100
Old
(Last edited by mali100; 30th November 2011 at 07:12 PM.) Reason: temporarly removed reboot to recovery
#2  
Senior Member - OP
Thanks Meter 123
Posts: 208
Join Date: Jun 2007

 
DONATE TO ME
Useful update.zip's

rom_backup.zip
Makes a backup of all the files that are on the /rom partition. Saves it to the SD-card /backup/rom_backup.tgz.
This partition contains some important data, that is unique for every device (serial, MAC, ...).

install_stock_1.1_recovery.zip
Installs the recovery from the stock 1.1 update.

MinimalTouch
Automatic Rooting + Gapps by eded333


install_remount_commands.zip
Adds the commands systemrw (remount /system rewritable) and systemro (remount /system readonly).

If you have useful update.zip's that should be included here, please let me know.
Attached Files
File Type: zip rom_backup.zip - [Click for QR Code] (154.7 KB, 991 views)
File Type: zip install_stock_1.1_recovery.zip - [Click for QR Code] (3.34 MB, 1565 views)
File Type: zip install_remount_commands.zip - [Click for QR Code] (155.5 KB, 497 views)
The Following 9 Users Say Thank You to mali100 For This Useful Post: [ Click to Expand ]
 
ros87
Old
#3  
ros87's Avatar
Senior Member
Thanks Meter 154
Posts: 312
Join Date: Oct 2010
Location: Bodø

 
DONATE TO ME
Great work

I see you listed "install zip" as one of the features tested, does that mean we can create update.zip's and run them trough cwm?
Did you remember to back up your Nook?
Author of Nook2 Recovery Tools
 
mali100
Old
#4  
Senior Member - OP
Thanks Meter 123
Posts: 208
Join Date: Jun 2007

 
DONATE TO ME
Quote:
Originally Posted by ros87 View Post
I see you listed "install zip" as one of the features tested, does that mean we can create update.zip's and run them trough cwm?
Yes, you can create update.zip's and run them trough cwm, install zip works fine. That should make some of the rooting guides and changes of the framework easier.
 
ros87
Old
#5  
ros87's Avatar
Senior Member
Thanks Meter 154
Posts: 312
Join Date: Oct 2010
Location: Bodø

 
DONATE TO ME
Quote:
Originally Posted by mali100 View Post
Yes, you can create update.zip's and run them trough cwm, install zip works fine. That should make some of the rooting guides and changes of the framework easier.
It sure would!

I noticed that regular update zips use "update-script" while the B&N files use "updater-script", do both work?
Did you remember to back up your Nook?
Author of Nook2 Recovery Tools
 
mali100
Old
#6  
Senior Member - OP
Thanks Meter 123
Posts: 208
Join Date: Jun 2007

 
DONATE TO ME
Quote:
Originally Posted by ros87 View Post
I noticed that regular update zips use "update-script" while the B&N files use "updater-script", do both work?
I think update-script is the old, no longer supported file-format. As far as I know CWM (since version 3) only supports updater-script with an updater-binary (that interprets the script). I only tested the latter.
 
user4242
Old
#7  
user4242's Avatar
Member
Thanks Meter 0
Posts: 32
Join Date: May 2010
make it fully working without ghosting and we have the base for custom roms, this is simply great.
 
tebra
Old
#8  
Senior Member
Thanks Meter 14
Posts: 101
Join Date: Dec 2010
very good news.
I hope, a step closer to CyanogenMod or other custom Rom...
 
met67
Old
#9  
Senior Member
Thanks Meter 28
Posts: 188
Join Date: Apr 2007
Would it be possible to resize the image to fit in a smaller uSD?
 
eded333
Old
#10  
eded333's Avatar
Senior Member
Thanks Meter 179
Posts: 296
Join Date: Apr 2011
Thanks for taking the time into making this tool available for the NST, this opens the possibilities even more for our ereader

 
Post Reply+
Tags
clockworkmod, cwm, n2e, nook, recovery
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...