Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[NST][CWR][RC2] Clockworkmod based Recovery - fixed backup issue

OP mali100

24th November 2011, 01:57 PM   |  #1  
OP Senior Member
Thanks Meter: 134
 
208 posts
Join Date:Joined: Jun 2007
Donate to Me

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, 8858 views)
File Type: zip sd_2gb_clockwork-rc2.zip - [Click for QR Code] (5.77 MB, 21922 views)
File Type: zip sd_128mb_clockwork-rc2.zip - [Click for QR Code] (7.59 MB, 29664 views)
Last edited by mali100; 2nd February 2012 at 09:19 PM. Reason: updated warnings
The Following 36 Users Say Thank You to mali100 For This Useful Post: [ View ]
24th November 2011, 01:57 PM   |  #2  
OP Senior Member
Thanks Meter: 134
 
208 posts
Join Date:Joined: 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, 1385 views)
File Type: zip install_stock_1.1_recovery.zip - [Click for QR Code] (3.34 MB, 2245 views)
File Type: zip install_remount_commands.zip - [Click for QR Code] (155.5 KB, 688 views)
Last edited by mali100; 30th November 2011 at 08:12 PM. Reason: temporarly removed reboot to recovery
The Following 9 Users Say Thank You to mali100 For This Useful Post: [ View ]
24th November 2011, 02:05 PM   |  #3  
ros87's Avatar
Senior Member
Flag Bodø
Thanks Meter: 161
 
312 posts
Join Date:Joined: Oct 2010
Donate to Me
More
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?
24th November 2011, 02:14 PM   |  #4  
OP Senior Member
Thanks Meter: 134
 
208 posts
Join Date:Joined: Jun 2007
Donate to Me
Quote:
Originally Posted by ros87

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.
24th November 2011, 02:22 PM   |  #5  
ros87's Avatar
Senior Member
Flag Bodø
Thanks Meter: 161
 
312 posts
Join Date:Joined: Oct 2010
Donate to Me
More
Quote:
Originally Posted by mali100

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?
24th November 2011, 02:28 PM   |  #6  
OP Senior Member
Thanks Meter: 134
 
208 posts
Join Date:Joined: Jun 2007
Donate to Me
Quote:
Originally Posted by ros87

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.
24th November 2011, 09:08 PM   |  #7  
user4242's Avatar
Member
Thanks Meter: 0
 
32 posts
Join Date:Joined: May 2010
make it fully working without ghosting and we have the base for custom roms, this is simply great.
24th November 2011, 09:12 PM   |  #8  
Senior Member
Thanks Meter: 47
 
287 posts
Join Date:Joined: Dec 2010
very good news.
I hope, a step closer to CyanogenMod or other custom Rom...
24th November 2011, 10:45 PM   |  #9  
Senior Member
Thanks Meter: 32
 
193 posts
Join Date:Joined: Apr 2007
Would it be possible to resize the image to fit in a smaller uSD?
24th November 2011, 11:06 PM   |  #10  
eded333's Avatar
Senior Member
Thanks Meter: 211
 
329 posts
Join Date:Joined: Apr 2011
More
Thanks for taking the time into making this tool available for the NST, this opens the possibilities even more for our ereader

Post Reply Subscribe to Thread

Tags
clockworkmod, cwm, n2e, nook, recovery
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes