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

Search This thread

mali100

Senior Member
Jun 3, 2007
209
140
Would it be possible to get a copy of this that mounts internal /media too so you could put zips there and shrink down the image size required by an sdcard version of CWM?

The functionality to use the /media partition for update.zips is already included. Just use "install zip from sdcard" and then "choose zip from internal sdcard". If you want a shrinked down image, please make it yourself, as I currently have no access to my dev-box.
 

brendan10211

Senior Member
Feb 1, 2012
202
12
Cary
Can i use this without an sd card? My parents don't like me using my _own_ money to buy things.

I kinda boot-looped my nook, by the way.

EDIT:

I just got a lexar SD card, 4gb... It is not working. I hold down the buttons until the screen changes, then I let go. What next?
 
Last edited:

mali100

Senior Member
Jun 3, 2007
209
140
If you want to start cwm from the sdcard you don't have to hold the buttons, it starts automatically when the sdcard is present during boot.
 

brendan10211

Senior Member
Feb 1, 2012
202
12
Cary
When I tried writing the image to the sd card, and loading it in, it just booted normally. Is this a problem?

Also, I am not sure how long to hold the buttons.
 

RubenRybnik

Senior Member
Jan 6, 2012
573
144
Cary, NC
I've burned CWM image onto the sdcard and copied a the files from the minimaltouch directions onto the card after cwm burn so I could install those. When I reboot with the sdcard in, it properly goes into CWM, however when I choose "Install from zip" cwm stats "Can't mount /sdcard/" am I missing something here?

EDIT: Chalk this up to user error ... I can't believe I did this, but word to the wise, mounting works much better when the micro sd is securely seated in the slot, lol ... sorry for the post ;)
 
Last edited:

brendan10211

Senior Member
Feb 1, 2012
202
12
Cary
Yes, but the image will make the SD card think it is 2GB. I recommend grabbing a second, smaller (2gb) sd card and using that for clockwork, because if you only have one, you will have to remove it each time you boot.

Hope this helped! :D
 

Renate

Recognized Contributor / Inactive Recognized Dev
I've finally got around to doing something with this.
Since I am very minimal, I just downloaded install_cwm_recovery_rc2.zip from the first page,
unzipped it, then copied uImage to /boot/uRecImg and uRamdisk to /boot/uRecRam
That's all the functionality I would need to modify/patch things.
 

Renate

Recognized Contributor / Inactive Recognized Dev
I've found the Clockwork Recovery to be most useful.
I just copied over the two files to uRecImg and uRecRam.
That gives me a toehold when I screw something up on my Nook.

Just these two files by themselves provide ADB over USB.
It works fine when it works, but often the adbd seems to crash.
I noticed that the adbd in uRecRam is smaller than the one I use normally.
I replaced sbin/adbd in uRecRam and it still behaves about the same.
(The size that I'm using now is 134,136)

Any idea why this is so problematical?
 

rtoussaint

Senior Member
Oct 17, 2005
239
70
How do I make a backup? I'm no stranger to CWM, but making a backup or a backup to internal sdcard fails for me. SD Card free space is 239MB (I have nothing installed locally) and I have an empty 4GB micro sd inserted. Boot and System are backed-up succesfully, but backup data fails. I get a generic error: Error while making a backp image of /data.

I've also tried the rom_update.zip, this fails with a status 7 error (filesystem?).
 

ApokrifX

Senior Member
May 23, 2011
468
50
Just these two files by themselves provide ADB over USB.
It works fine when it works, but often the adbd seems to crash.
Renate,
Does it crash by itself after some time or when you execute some adb command?
It's gotta be a way to get a dump to see what adbd needs.
I think /data/anr is for java apps only...
I'm definitely not an expert in this area... :eek:
 

centralpark

Member
Sep 17, 2009
34
1
Help please

I've finally got around to doing something with this.
Since I am very minimal, I just downloaded install_cwm_recovery_rc2.zip from the first page,
unzipped it, then copied uImage to /boot/uRecImg and uRamdisk to /boot/uRecRam
That's all the functionality I would need to modify/patch things.

Did this enable you to install clockworkmod recovery onto your microsd card without having an adapter?

I currently don't have an adapter, so I'm looking for a way to install this without having one. :)
 

Renate

Recognized Contributor / Inactive Recognized Dev
If you have ADB or noogie working somehow, you can put those two files in the boot directory of the internal SD card.
You don't need any external SD card at all.
Boot with both lower side buttons pushed and it will go to CWR
or if your thumbs are tired, you can do this in ADB:
Code:
echo XXX > /rom/devconf/BootCnt
reboot
 

Top Liked Posts

  • There are no posts matching your filters.
  • 38
    hv5duw.png

    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/showpost.php?p=19945955&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:
    10
    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.
    2
    New version is online!

    I managed to get the recovery build by the CM-Buildenv, which means a step closer to going upstream.

    Rebooting to recovery on the NC is done by writing the string "recovery" to the address 0x40 of the BCB file, I implemented it the same way to the NST. Use the install_reboot_to_recovery.zip to use this function.
    1
    Which zip is the new, fixed one? The one at the bottom of the above posting, labeled zoom2?
    zoom2_source_rc2.zip are just the files to build the recovery yourself. The new recovery is in the opening post.
    1
    I feel a need to point out that if you replace the current recovery files on the NST's Boot Partition then you won't be able to use the recovery disk if anything goes wrong you'll be stuck relying purely on CWM.
    Thats correct, but its easily possible to switch back to the stock recovery using install_stock_1.1_recovery.zip from CWM.

    With that in mind, I'd also wait til it's in an actual release, not just RC before you decide to replace your device's recovery files.
    The only reason that it is still RC is that I can't fix the sstuck after restore bug. Everything else works fine (at least no one reported any problems, and I also didn't experienced any).

    Anyway, I will add a short warning.