[Recovery ROM] [15-August-2010] RA-hero-v1.7.0.1

Search This thread

shuennn

Member
Jan 9, 2010
8
0
Can't perform Nand backup

My HTC magic info
CursorSense32A-1.0.1 rom
Radio 6.35.07.29
SPL 1.76.2007 Engineering
Amon_RA Hero Recovery 1.5.2

Everything is running OK after i flash the rom. When i do Nand backup, i get Error : Run 'nandroid-mobile.sh' via adb!.

This is my recovery.log
mounting system and data read-only, sdcard read-write
mount: mounting /dev/block/mmcblk0p1 on /sdcard failed: No such file or directory
mount: mounting /dev/block/mmcblk0 on /sdcard failed: No such file or directory
Error mounting sdcard read-write
umount: can't umount /sdcard: Invalid argument


Error : Run 'nandroid-mobile.sh' via adb!
I:Set boot command ""
I:Set boot command ""
I:Set boot command ""

Move recovery.log to SD
Press HOME to confirm,
any other key to abort.

Moving : .

Any idea why this will happen? thanks
 

runeo

Member
Dec 29, 2009
6
0
75
Uppsala (Örsundsbro)
Hi guru Amon_RA

I have a Hero with MoDaCO 3.2.3 and your most appreciated
utility RA-hero-v1.5.2

I have a formatted a class 2 16Gb card and done

Partition SD
SD:ext2 to ext3
SD:ext3 to ext4
Move apps+dalv to SD

Done nandroid backup and full Titanium backup.

All is working Ok!

Now I have bought a class 6 sdhc 16 Gb card and wonder;

What is a "not too work intensive" way to upgrade from
the class 2 to the class 6 card, without having to reinstall
apps and settings the "dumb" way!

Thanks
/Rune, who hexprogrammed a 1024 byte Motorola D2 kit 35+ years ago. :)
 

jmanley69

Senior Member
Feb 21, 2009
923
12
Hi guru Amon_RA

I have a Hero with MoDaCO 3.2.3 and your most appreciated
utility RA-hero-v1.5.2

I have a formatted a class 2 16Gb card and done

Partition SD
SD:ext2 to ext3
SD:ext3 to ext4
Move apps+dalv to SD

Done nandroid backup and full Titanium backup.

All is working Ok!

Now I have bought a class 6 sdhc 16 Gb card and wonder;

What is a "not too work intensive" way to upgrade from
the class 2 to the class 6 card, without having to reinstall
apps and settings the "dumb" way!

Thanks
/Rune, who hexprogrammed a 1024 byte Motorola D2 kit 35+ years ago. :)

Do a nand+ext backup.


If you have an SD reader on your computer (I only offer this method in cases where this might actually be a faster method of copy with USB 3.0 or something):
Power off the phone.
Place the old card in the reader.
Old Card: Start copying off the data to your computer
Meanwhile, put the new card in your phone and boot to recovery.
New card: format the card fat32+ext
Turn off the phone.
(when the old card is done copying):
Old Card: Throw away
New Card: place in the reader
New Card: copy all the stuff from your computer back to the card
New Card: return to phone
Boot Phone to recovery
Nand Restore

If no card reader:
Mount USB
Copy everything off of the card to your computer
Turn off phone
Swap cards
Boot to recovery
Format fat32+ext
Mount USB
Copy everything to the card from your computer
Nand Restore
 

thequinox

Senior Member
Feb 6, 2009
98
11
Can't mount SDCARD

Try this...

Turn off the phone and remove then re-insert the sd card. If you still get that problem, try a different sd card.

Make sure your sd card has been partitioned and formatted fat32 (preferably by the Android OS)

I am having a similar problem to the poster on the last page. I was going to install the new CursorSense rom because of the forced Rogers update, blah blah long story, anyway... I flashed the new radio, SPL, and this Hero recovery rom. The recovery rom does not seem able to read my SD card at all. I need it to so I can install a new ROM!

If I select "Flash zip from sdcard" I get:

Build : RA-hero-v1.5.2
E:Can't mount /dev/block/mmcblk0
p1 (or /dev/block/mmcblk0)
(No such file or directory)
E:Can't mount SDCARD:

I know it's not a problem with the microSD card because I have tried another one, same issue, and reformatted the card with fat32, same issue. The recovery ROM can write to it, I can export my log to it. I can read the card just fine everywhere else including through USB-MS via the recovery rom.

I really need to get this solved so I can get a rom up and running and have my phone back :p

Any ideas?

---
SAPPHIRE PVT 32A ENG S-OFF H
HBOOT-1.76.2007 (SAPP50000)
CPLD-12
RADIO-6.35.10.18
---

UPDATE: Even though I did a data wipe a little while ago, out of desperation I did it again. For some reason it now works like a charm. If anyone is having this problem when installing a new rom, try running "Wipe Data and Cache" seemed to work for me.
 
Last edited:

runeo

Member
Dec 29, 2009
6
0
75
Uppsala (Örsundsbro)
Do a nand+ext backup.


If you have an SD reader on your computer (I only offer this method in cases where this might actually be a faster method of copy with USB 3.0 or something):
Power off the phone.<cut>
First. Done the following a week ago. All five of them.
Partition sdcard
* Partition SD :: Interactive SD partitioning
* SD:ext2 to ext3 :: Convert ext2 to ext3
* SD:ext3 to ext4 :: Convert ext3 to ext4

Other
* Fix apk uid mismatches :: Does extacly that
* Move apps+dalv to SD :: Moves all apps and Dalvik-cache to sdcard


Done this a day ago
Partition sdcard
* Repair SD:ext :: Repair the ext partition


When trying to do the "nand+ext backup" it says I should do the op from adb.

Doing "nandroid-mobile.sh -b -e" from adb gives:
/ # nandroid-mobile.sh -b -e
nandroid-mobile.sh -b -e

nandroid-mobile v2.2.1
<cut>
mounting system and data read-only, sdcard read-write
checking free space on sdcard
Dumping boot to /sdcard/nandroid/HT9BSL903562/BCDEMRS-20100124-1324/boot.img...done
Dumping recovery to /sdcard/nandroid/HT9BSL903562/BCDEMRS-20100124-1324/recovery.img...done
Dumping misc to /sdcard/nandroid/HT9BSL903562/BCDEMRS-20100124-1324/misc.img...done
Dumping system to /sdcard/nandroid/HT9BSL903562/BCDEMRS-20100124-1324/system.img...done
Dumping data to /sdcard/nandroid/HT9BSL903562/BCDEMRS-20100124-1324/data.img...done
Dumping cache to /sdcard/nandroid/HT9BSL903562/BCDEMRS-20100124-1324/cache.img...done
Storing the ext2(Apps, Dalvik-cache) contents in the backup folder.
Warning: --ext2 specified but unable to mount the ext2 partition.
/ # exit
exit

What am i missing ?
Thanks Rune
 

ermacwins

Senior Member
Aug 25, 2009
5,920
1,025
ok i flashed 1.52 over 1.4 recovery everything was working, when i rebooted phone, it went back to 1.4!

how do i make it permanent?
 

pensive

Senior Member
Jun 29, 2009
231
1
Hmm, you make it permanent by

preventing your ROM from overwriting your changes. Find where in the file system you previously put the 1.4 image and overwrite it with the new image and then reboot. You probably won't even have to re-flash, the system will do it as part of the boot sequence.

ok i flashed 1.52 over 1.4 recovery everything was working, when i rebooted phone, it went back to 1.4!

how do i make it permanent?
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Or flash this in an older AmonRA or CWM

    Flashable 1.7.0.1 Thanks to Desean and Erasmux
    1
    This is a custom recovery based on Cyanogen's recovery source with a lot of things added by me. The purpose of this recovery is to avoid using adb by accessing all features directly from the menu.

    All source code is available at github.

    This recovery if for the HTC Hero only, so NOT the Sprint Hero!!!, if you have an :
    - HTC Dream/G1 you should go here.
    - HTC Magic/MT3G you should go here.
    - HTC Sprint Hero you should go here.
    - HTC Eris you should go here.
    - HTC Tattoo you should go here.
    - HTC Nexus One you should go here.
    - HTC Evo 4G you should go here.

    Important notes
    • Make sure your battery is at least 30% before using nandroid!!
    • Always check recovery.log before posting your issues!
      You can do this by doing :
      • "cat /tmp/recovery.log" OR "cat /cache/recovery/log" right after you had the issue.
      • Use the "move log to sd" option in the "others" menu right after you had the issue. This will move the log to /sdcard/recovery.log so you can easily open it with a text editor.

    How-to Navigate
    Use the trackball (up+down) to navigate through the menu, press the trackball to select items.
    You can also use the volume keys (vol-up + vol-down) to navigate, and the CALL-ANSWER key to select items (in case your trackball is broken).

    Features
    • full ADB access in recovery mode
    • Busybox v1.15.3
    • HW-Key navigation (volume keys + CALL-ANSWER) option
    • Extended menu (with keyboard-shortcuts):
      • Reboot system now :: reboot your phone
      • USB-MS Toggle :: enable/disable USB mass storage (use when the phone is connected to your PC)
      • Backup/Restore (recovery partition not included!)
        • Nand backup :: Make a Nand backup
        • Nand + ext backup :: Make a Nand + ext backup
        • Nand restore :: Restore a Nand backup
        • BART backup :: Make a BART backup (Nand + ext)
        • BART restore :: Restore latest BART backup
        • Bck Google files :: Makes a backup of the Google proprietary system files in /cache/google
        • Rst Google files :: Restores the Google proprietary system files from /cache/google
      • Flash zip from sdcard :: Flash a zip update file from your sdcard
      • Wipe
        • Wipe data/factory reset :: Wipe /data and /cache
        • Wipe cache :: Wipe /cache only
        • Wipe Dalvik-cache :: Wipe /cache/dalvik-cache
        • Wipe SD:ext partition : Wipe the ext partition on your sdcard
        • Wipe battery stats : Wipe the battery stats in /data
        • Wipe rotate settings : Wipe the sensor settings in /data
      • Partition sdcard
        • Partition SD :: Interactive SD partitioning
        • Repair SD:ext :: Repair the ext partition
        • SD:ext2 to ext3 :: Convert ext2 to ext3
        • SD:ext3 to ext4 :: Convert ext3 to ext4
      • Other
        • Fix apk uid mismatches :: Does extacly that
        • Move recovery.log to SD :: Moves the recovery log file to your sdcard. (Use when you want more detailed recovery log information)
      • Power off :: Powers off your phone
    • Scripts available via adb :

    Install

    There are several ways to install a custom recovery, choose the one that suits you most (I probably forgot a few).

    via adb -> Requires a custom recovery (with test-keys) like Cyanogen's v1.4 or my previous recovery
    Code:
    Copy recovery-RA-hero-v1.7.0.1.img to the root of your sdcard
    Boot into your current custom recovery (boot while holding HOME)
    Connect your Hero via usb to your pc/mac/...
    adb shell
    $su (not required if you have root already)
    #mount -a
    #flash_image recovery /sdcard/recovery-RA-hero-v1.7.0.1.img

    via fastboot + adb -> In case you don't have a custom recovery, so when you get signature fail errors
    Code:
    adb shell reboot bootloader
    fastboot boot recovery-RA-hero-v1.7.0.1.img
    adb shell mount /sdcard
    adb push recovery-RA-hero-v1.7.0.1.img /sdcard/recovery-RA-hero-v1.7.0.1.img
    adb shell flash_image recovery /sdcard/recovery-RA-hero-v1.7.0.1.img
    adb shell reboot

    Download

    • ALWAYS check the md5sum to make sure the zip isn't corrupted.

    Only flash recovery-RA-hero-v1.6.2.img if you have a 32A Sapphire with 6.35.x.x radio and 1.76.x SPL, recovery-RA-hero-v1.7.0.1.img will NOT boot! I'll create a new Sapphire version soon.


    Change-log :

    v1.7.0.1
    Code:
    - Fixed some minor bugs
    - Recovery and scripts use /sd-ext instead of /system/sd as mountpoint to support the new apps2sd method (implemented mostly by Chris Soyars)
    - Added an option to backup/restore Google proprietary Android system files (backuptool.sh written by Cyanogen)
    - Removed "move apps2sd"-option as it's not needed anymore with the new apps2sd method
    - Updated BART to v1.3.1 (updated by Dumfuq to support /sd-ext)
    - Added a wipe cache only option
    - Nandroid now backups/restores /cache again by default
    - Dalvik-cache wipes /cache/dalvik-cache now
    - Removed SDCARD: prefix in output when chosing zip to flash
    - Updated kernel to fully support ext4

    v1.6.2
    Code:
    - Added power off menu item
    - New unyaffs binary patched by Koushik Dutta and Packetlss to fix the "losing root"-issue and incorrect file-time after a Nandroid restore
    - New dump_image binary (by Brainaid) patched by Packetlss to fix the "bad blocks"- Nandroid restore issue.
    [COLOR="Red"][B](This will not fix old corrupted Nandroid backups! Please make new backups!!)[/B][/COLOR]
    - New mkyaffs2image binary
    - New flash_image binary
    - Updated busybox to v1.5.3
    - Nandroid menu options will NOT backup or restore recovery, cache, misc, splash1+2 (to avoid issues)
    - Fixed wipe option not wiping when ext was not present
    - Created carebear versions after the idea of packetlss
    - Switched the Nexus logo to a Green Carebear with Nexus One logo (Thanks Montalbert!)

    Special thanks to :
    • packetlss for all the hours of support and awesome coding skills, THANKS man ^^, donate to Haiti
    • Koushik Dutta for the unyaffs binary code fix and help ^^
    • pensive for adding awesome features to Nandroid :)
    • Bkmo for his utility script!
    • Devsk for his switchrom script!
    • 51dusty for his sdparted script!
    • k4str0 for his fix_permissions v2.03 update.
    • Devsk, Dumfuq, Overground for creating BART :D
    • Androidappcritics for the reboot idea in BART :p
    • rikupw for the ideas and toggle_ums script.
    • MLIGN for the idea to port my recovery to the Dream.
    • http://theunlockr.com for all the awesome video’s ^^
    • JesusFreke for his awesome JFv1.43's recovery , donate
    1
    How do we revert back to the original hboot in case we flash this to over the current hboot?

    In case someone will say "just flash the backed up hboot image", i also would like to ask how do you backup the current (original, never flashed anything before) hboot?

    Thank you!
    You can get the orginal HBOOT from the old RUU package.

    If you want to flash it back here's an update package to flash it (I'm not responsible for any bricks, make sure you know what you are doing, have the right HW etc).

    This is "original" 1.76.0004 hboot, that came shipped with the Hero.
    1
    i have tried everything and nothing is working here..i am still getting this annoying e:can't read misc message.

    Try : fastboot erase misc
    1
    don't seem to differ that much? what is the difference?