FORUMS

Sunday Debate: How Can We Get a No-Compromise Phone?

Join us in a fun Sunday Debate on Compromises. Come with your opinions and … more

PSA: You Can Optimize Your Note 4’s Recents Menu & RAM

The Note 4 never had the fastest Recents Menu, and despite its 3GB of RAM, … more

XDA Picks: Best Apps of the Week (July 25 – Aug 1)

Apps are at the front and center of any smartphone experience, and with over a … more

Voices Of XDA: Orbiting The Earth With Android

Editor’s note: This week’s feature has been written by forum … more

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

208 posts
Thanks Meter: 137
 
By mali100, Senior Member on 24th November 2011, 12:57 PM
Post Reply Subscribe to Thread Email Thread

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, 11540 views)
File Type: zip sd_2gb_clockwork-rc2.zip - [Click for QR Code] (5.77 MB, 27834 views)
File Type: zip sd_128mb_clockwork-rc2.zip - [Click for QR Code] (7.59 MB, 34950 views)
Last edited by mali100; 2nd February 2012 at 08:19 PM. Reason: updated warnings
The Following 37 Users Say Thank You to mali100 For This Useful Post: [ View ]
 
 
24th November 2011, 12:57 PM |#2  
OP Senior Member
Thanks Meter: 137
 
Donate to Me
More
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, 1671 views)
File Type: zip install_stock_1.1_recovery.zip - [Click for QR Code] (3.34 MB, 2697 views)
File Type: zip install_remount_commands.zip - [Click for QR Code] (155.5 KB, 830 views)
Last edited by mali100; 30th November 2011 at 07:12 PM. Reason: temporarly removed reboot to recovery
The Following 10 Users Say Thank You to mali100 For This Useful Post: [ View ]
24th November 2011, 01:05 PM |#3  
ros87's Avatar
Senior Member
Flag Bodø
Thanks Meter: 161
 
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, 01:14 PM |#4  
OP Senior Member
Thanks Meter: 137
 
Donate to Me
More
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, 01:22 PM |#5  
ros87's Avatar
Senior Member
Flag Bodø
Thanks Meter: 161
 
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, 01:28 PM |#6  
OP Senior Member
Thanks Meter: 137
 
Donate to Me
More
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, 08:08 PM |#7  
user4242's Avatar
Member
Thanks Meter: 1
 
More
make it fully working without ghosting and we have the base for custom roms, this is simply great.
24th November 2011, 08:12 PM |#8  
Senior Member
Thanks Meter: 50
 
More
very good news.
I hope, a step closer to CyanogenMod or other custom Rom...
24th November 2011, 09:45 PM |#9  
Senior Member
Thanks Meter: 32
 
More
Would it be possible to resize the image to fit in a smaller uSD?
24th November 2011, 10:06 PM |#10  
eded333's Avatar
Senior Member
Thanks Meter: 211
 
More
Thanks for taking the time into making this tool available for the NST, this opens the possibilities even more for our ereader
24th November 2011, 10:31 PM |#11  
ros87's Avatar
Senior Member
Flag Bodø
Thanks Meter: 161
 
Donate to Me
More
Quote:
Originally Posted by met67

Would it be possible to resize the image to fit in a smaller uSD?

Yes that should be possible, I almost fell of my chair when uncompressing the archive
I'm guessing he just smacked the files onto his 2GB card and made an image of it

But yes it's a problem beyond SD cards, I have my Ubuntu VM on a SSD with limited space so 2GB is not a small issue for me

With that said, there's a limit as to how small a fat32 partition can be, but 64MB is doable.
Last edited by ros87; 24th November 2011 at 10:34 PM. Reason: typo

Read More
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