yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] lostnfound53:
I got that error message when restoring a Nandroid backup made in v1.2.3. However, I rebooted the phone and the backup was restored anyway.
[Hero CDMA Android Development] Moguledyouth:
I too received an error when trying to restore a backup from 1.5.1. I flashed back to 1.2.3 and restored a 1.5.1 backup with 1.2.3 just fine.
[Hero CDMA Android Development] forfunneko:
Recovery log

Hi I am not very good a this but here is the file you asked for (i think)

I did a backup then restore then moved the file to SD and uploaded for y'all
[Hero CDMA Android Development] forfunneko:
Well being new to this whole android thing and whatever a recovery log is, I took the time to read the GSM thread about this new recovery image and what it is trying to restore is the EXT2 part on your SD card. I did some trial and error (added widgets) then did a restore (and got the error) but it restored just fine. Think I am rambling -- sorry:)
[Hero CDMA Android Development] nebenezer:
I never partitioned my sdcard so I don't know if that's why received no errors or not.

I successfully restored a 1.2.3 using 1.5.1, in recovery, not in the shell, and never got any kind of error.

Thanks to Amon Ra
[Hero CDMA Android Development] rockcrawler:
Bump

This belongs on the first page, not the third. man we really need some mods assigned to help clean this place up!!
[Hero CDMA Android Development] abcdfv:
I find it easier to simply copy the .img to the root of the sdcard and use Flashrec.

Just run flashrec, backup your recovery image, and then type /sdcard/RA-heroc-1.5.1.img.
[Hero CDMA Android Development] Kcarpenter:
Can we say Sticky? please? Who's in charge around here anyways??? :D
[Hero CDMA Android Development] rockcrawler:
All the good How to's and links are beginning to get buried as this forum grows, we really need someone to assign a mod or two in this forum to sticky the Good Stuff !!!
[Hero CDMA Android Development] Kcarpenter:
I volunteer, I spend enough time wandering the boards just to see what people are talking about. Might as well do some good whilst i am here.
[Hero CDMA Android Development] zippy-man:
Mine Also failed when doing a 1.5.1 restore on a 1.5.1 backup.

I resotored it thru the adb shell and everything is working now.

I got the same error where it asked me to restore from the shell. I did not try to reboot and try it before doing the shell method tho so cant say if it actually worked.

I honestly freaked out when it happened. I was trying out the new 2.1 and decided to flash back to older image.

Just wanted to report in.
[Hero CDMA Android Development] TaurusBullba R.I.P.:
Stuck.....
[Hero CDMA Android Development] mark920:
error when flashing

Has anyone else gotten this error when flashing recovery images when you already have an older recovery image flashed?

/ # mount -a

mount -a

mount: mounting /dev/block/mmcblk0p2 on /system/sd failed: No such file or directory

flash_image recovery /sdcard/recovery-RA-heroc-v1.5.2.img

flashing recovery from /sdcard/recovery-RA-heroc-v1.5.2.img

mtd: erase failure at 0x000a0000 (Input/output error)

mtd: erase failure at 0x000a0000 (Input/output error)

mtd: skipping write block at 0x000a0000

I received that error when I flashed from 1.2 to 1.5.1 and then again when I just flashed from 1.5.1 to 1.5.2, yes they were both for the CDMA Sprint Hero. It doesn't mess anything up from what I can tell, the new recovery image works fine and shows the proper version. However, I have only used the recovery to flash roms, make nand backups and wipe the dalvik cache, which royally jacked(caused everything to FC) up my rom, I had to use flipz app installer to wipe the cache after that to fix it. The the recovery image seems to work fine even with this error, but any insight on this would be helpful.
[Hero CDMA Android Development] crunchybutternut:
I was having issues restoring backups with v1.5.1 and had to use adb shell to complete restore, but worked perfectly with v1.5.2.
[Hero CDMA Android Development] mecca_2l:
Mine too. do 1.52. it works after that.
[Hero CDMA Android Development] kel_o91:
any ideas on why everytime i do a nandroid restore it gives me the follow error:

Error: run 'nandroid-mobile.sh restore' via adb !
[Hero CDMA Android Development] david_ag:
Everyone heads up. In the Hero Development Section, there is the new v1.5.2 for Amon's RA image. It's under the thread for the GSM hero 1.5.2 recovery image. That version does not give that "nandroid-mobile.sh restore" via adb! error.
[Hero CDMA Android Development] ElAguila:
This version is okay to run on the cdma hero?
[Hero CDMA Android Development] crunchybutternut:
Yes, it was ported over specifically for the CDMA Hero
[Hero CDMA Android Development] ElAguila:
Thanks for the clarification. That is what I thought but my brain is hasn't completed booting this morning. :D
[Hero CDMA Android Development] Kykiskly:
Stupid Question

Hey guys, I might be on the wrong Thread but can any of you tell me how to f*ing use the SU Request. Everything I tried to use some of my apps, for ex Wifi Th, it ask me for SU Request and all i get is a black screen.
[Hero CDMA Android Development] mark920:
I had to enable usb debugging to get SU to work properly, then after I authorized whatever request it was asking for I could disable it and the program would work properly but USB debugging had to be enabled at first.
[Hero CDMA Android Development] Kykiskly:
I see, thanks so much. After I enabled USB Debug, it worked:cool:
[Hero CDMA Android Development] david_ag:
I'm sorry for the little confusing post. I was sleepy. The CDMA Hero image is withing the GSM image thread. This DOES NOT mean that the GSM image will work with the CDMA Hero. Just go to the thread and in the first post it states that if you are looking for the CDMA Hero version click here. Follow that link and it will point out to he CDMA Hero image. always remember to see the file you downloaded and see that its called recovery-RA-heroc-vxxx. (The c stands for CDMA).
[Hero CDMA Android Development] posguy99:
Yes it does, I just got it. The error, I mean.

Both of the backups I just made have an .MD5 file. The problem is, that MD5 file does NOT have a checksum in it for the tarball comprising the EXT partition it backed up. Anyone know if it's supposed to? I can't find a homepage for Nandroid anywhere so I can look at it.
[Hero CDMA Android Development] taicor:
I just restored from a nandroid backup I made earlier today (I tried out the 2.1 rom), and it's been hanging at the HTC screen for ~ 10 minutes. Is this normal? Should I be back in my fresh 1.0 rom by now?
[Hero CDMA Android Development] N0J:
boot to recovery and try a data wipe, then I believe it should boot.

after that if you want your data back, run your restore again
[Hero CDMA Android Development] bbv203:
I keep getting "mount/sdcard/: not found"

also when i try to wipe card from 1.2.3 it says to do from terminal

going to try and format from the sd card menu now...
[Hero CDMA Android Development] bbv203:
also when i boot into my recovery holding down the home key, it just takes me to a screen that says "clear all user data"

edit: if I get into the recovery by volume down and power then home i get into recovery
[Hero CDMA Android Development] bbv203:
this is what i ended up with, is this correct?:

C:\android-sdk-windows-1.1_r1\tools>adb shell

/ # mount -a

mount -a

mount: mounting /dev/block/mmcblk0p2 on /system/sd failed: No such file or direc

tory

mount: mounting /system/modules/modules.cramfs on /system/modules failed: No suc

h file or directory

mount: mounting /system/xbin/xbin.cramfs on /system/xbin failed: No such file or

directory

mount: mounting /system/modules/modules.sqf on /system/modules failed: No such f

ile or directory

mount: mounting /system/xbin/xbin.sqf on /system/xbin failed: No such file or di

rectory

/ # flash_image recovery /sdcard/recovery-RA-heroc-v1.5.2.img

flash_image recovery /sdcard/recovery-RA-heroc-v1.5.2.img

flashing recovery from /sdcard/recovery-RA-heroc-v1.5.2.img

/ #

C:\android-sdk-windows-1.1_r1\tools>
[Hero CDMA Android Development] bbv203:
Ok seems to have loaded correctly. Nand backup worked fine, I tried Nand + Ext backup and it went for awhile, the said Error: Run 'nandroid-mobile.sh' via adb what does that mean?
[Hero CDMA Android Development] posguy99:
Just what it says. Sheesh.

Use adb to shell into the phone, run that command. Your restore bombed out.
[Hero CDMA Android Development] bbv203:
But i didnt do a restore...
[Hero CDMA Android Development] bbv203:
Now my gmail is not sending at all. It just stays in the outbox. Only thing I have done is change to this recovery from 1.2.3
[Hero CDMA Android Development] david279:
Try this

From home screen hit menu hard key > Applications > Manage Applications > (wait a bit for phone to compute) Scroll down to "gmail" click once then click "clear data" hit back hard key then below it you should see "google apps" click once then hit "clear data" as well. I rebooted my phone and it asked me to re-enter my gmail address and password but not sure if you need to reboot.
[Hero CDMA Android Development] posguy99:
Does your sdcard *have* an EXT partition?

Before you get all "how should I know?", if *you* didn't create one on it, then it doesn't.
[Hero CDMA Android Development] bbv203:
No it does not. And Yes I am aware of that. All I have done with my sdcard was reformat it, still have the stock one, wasn't planning on messing with it until I get the new one i ordered.
[Hero CDMA Android Development] bbv203:
Thank You! this seems to have worked
[Hero CDMA Android Development] posguy99:
Why do people think they need to reformat sdcards?
[Hero CDMA Android Development] iTouch24:
i have the 1.2.3 version .. can i just delete and then copy this new version onto the card ...drag and drop??? rather then pushing it over via command prompt?
[Hero CDMA Android Development] posguy99:
If you like. The result is the same, a file on the sdcard, which you then flash using the appropriate tool.

You could always just read Amon_RA's instructions... they're detailed and to the point.
[Hero CDMA Android Development] jonassalk:
Flashed recovery using the adb method detailed in the first post -- had 1.2.3 on their before. On reboot, I hang at the HTC logo. I can boot fine into the phone, but can't get to recovery for the life of me. Tried the second set of instructions, but when I boot into the bootloader, I get the following error when entering the command 'fastboot boot recovery-RA-heroc-v1.5.2.img':

downloading 'boot.img'... FAILED (remote: not allow)

Any ideas? I've tried formatting the SD card, flashing via terminal, and that doesn't work. I'm on the stock ROM right now (1.29) and have rooted -- when I enter su from terminal window, however, I get no prompt for permissions though -- just get another #. Is this the correct behavior?
[Hero CDMA Android Development] posguy99:
Formatting the sdcard is irrelevant.

Redownload the image, make sure you have an uncorrupted file by checking the MD5SUM. The checksum for v1.5.2 is "ccaff51d3a28861240fa9d455924a50f" but I would not expect you to trust me for that, nor should you. You should go over to AndroidSpin and check that for yourself (I don't see the checksum in the XDA posting):

http://db.androidspin.com/android_developer_display.asp?developerid=33

You shouldn't be getting *another* "#" unless you've flashed a custom ROM. It should present the normal shell prompt of "$" first. Once you have a custom ROM on it, most of them start out with a root shell for adb.
[Hero CDMA Android Development] jonassalk:
Sorry, it actually changes from # to $ after su.
[Hero CDMA Android Development] rvm23:
Is there a problem with wiping the dalvik-cache in the most recent version of the recovery? Every time I try, I get an error saying it failed and then then get an endless string of force closes after my phone reboots. I then have to restore a nandroid backup in order for my phone to function properly again.

I've had the force close problem twice tonight, and it dawned on me that I had tried wiping the cache in recovery both times. I then tested it a third time and had the same result.

Edit: It would've helped if I had spelled dalvik correctly when searching this thread. Post #85 is about a similar sounding issue.
[Hero CDMA Android Development] codelockdown:
What is "BART"? if some one couild PM me and give a 30second Explination please.
[Hero CDMA Android Development] posguy99:
Why don't you think you should follow the link in Amon_RA's posting, which has a description, command-line options, and all the details?
[Hero CDMA Android Development] Agimax:
I have the exact same problem. Now with this new Recovery when i wipe the Dalvik Cache, the phone has a Zillion FC's. I couldn't even use the Nandroid backup, it still had the force closes after i pulled a backup. I just did a Factory Wipe and put Fresh 1.0 back on. Pain In The A**!!!

My Advice To All: Just Don't Wipe The Dalvik Cache Till It Gets Checked Out By Developers Or Go Back To v1.2.3 ...

EDIT: To Be More Clear, I Could Use Nandroid Backup Just Fine, But It Still Had FC's All The Time After Using A Backup.
[Hero CDMA Android Development] jmanley69:
Make sure you're putting the correct recovery for your device. The recovery in this thread is for the Sprint (i.e. CDMA) Hero. If you put that on a GSM phone, the kernel will not run and you won't get the recovery screen (i.e. hung on HTC screen).

Doing the fastboot will not work because you have a "perfected" SPL

NO need to format anything.

Yes, # = root shell prompt. So, if you have a # already, and enter su, you get another #. that's correct. You have a root prompt.
[Hero CDMA Android Development] jmanley69:
Please review your statement and make sure it's correct. What you're saying is...

You do adb shell, and get a # prompt

At the # prompt you type su and get a $ prompt.

Is that correct? because that's 100% backward, but not outside the realm of possibilities if you've changed the ownership of su to a uid other than 0.
[Hero CDMA Android Development] rvm23:
Did you do a factory wipe after getting the initial FCs? I did that both times I've had the problem, and I wonder if that's why I was able to restore my backup and you weren't.
[Hero CDMA Android Development] posguy99:
Factory wipe should be irrelevant.
[Hero CDMA Android Development] willowmp:
Probably already posted but you can do this to get recovery image on your phone:

Put recovery img on root of sd.

Run these on rooted phone's terminal:

su

flash_image recovery /sdcard/recovery-RA-heroc-v1.5.1.img

That's it. Credits on that go to theunlockr. Used it to fux my phone by sending gsm radio to it. :3
[Hero CDMA Android Development] deadonarivalry:
Well, I don't know about going back to 1.2.3 because I'm using 1.5.1 and having no problems. I was considering flashing 5.2, but all the bugs/problems... makes it a no go for me... but that's fine because 5.1 is excellent as it is and works well for me.
[Hero CDMA Android Development] gu1dry:
What problems with 1.5.2? 1.5.2 fixes a major bug in 1.5.1, where the Nand backups corrupt...
[Hero CDMA Android Development] Agimax:
Try reading all of this thread sheesh, some of us have issues with clearing the Dalvik Cache and rebooting with a GaZillion FC's upon reboot and having to do a factory wipe to correct it.
[Hero CDMA Android Development] gu1dry:
And it says when it fails to clear the Dalvik Cache, to do a simple adb command, sheesh, people are lazy...
[Hero CDMA Android Development] Agimax:
Version 1.2.3 did not do this, if the cache failed to clear, you could still reboot fine and nothing happened to your phone. The fact that when you upgrade to this one and it destroys your content every time you clear the cache is a problem. Sure you can ADB into the phone and do whatever, but wasn't the point of the Recovery ROM to not have to? Sheesh people. It didnt destroy anything in 1.2.3?

Is this reasoning unreasonable?
[Hero CDMA Android Development] deadonarivalry:
I haven't had any backups corrupt on me yet... and the bugs I'm talking about are every problem people in here are talking about. Not just the dalvik cache thing. Have you read it? People not being able to restore/backup... that is major. Don't fix it what ain't broken... 1.5.1 is working flawlessly for me so no reason to upgrade when 5.2 is giving people so much hell right now.
[Hero CDMA Android Development] posguy99:
The problem in 1.5.1 that's fixed in 1.5.2 is the Nandroid + Ext problem. There are no changes on anything else.

Gods, people, read changelogs.
[Hero CDMA Android Development] deadonarivalry:
And you come in... where? I'm not talking about changes made in 5.2. I've read the log. I'm talking about the problems people are having with 5.2 and why I haven't upgraded from 5.1 to 5.2.

Gods, people, read the rest of the thread.
[Hero CDMA Android Development] posguy99:
Oh, the part where people are complaining about how EXT backups are broken? Or was that the part where magically 1.5.1's cache clearing works and 1.5.2's doesn't, despite them being the same codebase?

Hate to break it to you, but 1.5.2 fixes the one, and isn't relevant to the other. I applaud Amon_RA for publishing changelogs, more people should do the same.
[Hero CDMA Android Development] deadonarivalry:
So, in short, your post had, more or less, nothing to do with mine? Except trying to tell me what I already read in the log is supposed to be "fixed"? Glad we established that. Despite what the log says, if people, in practice, are having problems with the image, then I'm not going to flash it when 1.5.1 is working perfectly for me.

Again, my post wasn't about the changes made or the fixes... it's about the people who, in practice, are having trouble with the newer image and why I'm not upgrading when 1.5.1 hasn't given me a single problem since I flashed it. Thanks for playing though!
[Hero CDMA Android Development] rvm23:
This made me decide to try something. The typical instructions for clearing the caches are:

I tried only the "rm -r /data/dalvik-cache" command in adb, and had the same problem with endless FCs that the wipe dalvik option in the recovery has been causing. I then used adb to do "rm -r /data/boot-cache and rebooted again. Once it reboots, everything appears to work fine.

So it seems like the boot cache needs to be cleared after the dalvik, and the recovery tool isn't doing that.
[Hero CDMA Android Development] Agimax:
Thanks for trying that and confirming that there IS a problem with the Recovery ROM when so many users are jumping all over anyone who posts issues they are having with the new ROM. By all the negativity this makes others having issues not want to step forward out of fear they will get the same treatment.

MY Hats Off To Those Who Post Issues!

Shame on the Jumpers.
[Hero CDMA Android Development] Agimax:
And we ALL KNOW when coding we don't fix something and accidentally leave something out or break other parts of the code. It's a perfect world. You must be always right. Your steak is cooked right so everyone else must have a perfect steak.
[Hero CDMA Android Development] tyrnight:
RA's 1.5.3 has been tweeted as being used on Nexus One

http://twitpic.com/w1503
[Hero CDMA Android Development] deadonarivalry:
That's pretty awesome. Sucks that the Nexus will cost so much unsub'd. I really wanted one. Ah well... we'll see what Sprint has coming this year.
[Hero CDMA Android Development] posguy99:
You *wanted* to have to switch to a GSM carrier?
[Hero CDMA Android Development] deadonarivalry:
If it didn't cost so much actually, I'd get it and use it with VOIP and just generally play with it. I already have a Hero, so I own a phone otherwise, but the Nexus looks so awesome, I'd just tack it on as a gadget.

Yeah, sorry, I'm THAT much of a geek.

Plus, I wouldn't mind going GSM. They get all the coolest stuff first.
[Hero CDMA Android Development] posguy99:
I need a phone that works reliably more than I need "cool stuff". First and foremost, it's a device to make telephone calls with.
[Hero CDMA Android Development] deadonarivalry:
Good for you, sportsfan. I'm happy for you. :)

..and like I said, I have my Hero if I really need to make a call. Lol. Plus if I have money to have all the coolest stuff just to play with AND still have a phone that I can use regularly, I don't see why you're so concerned with the devices I use/want.

Anyway, gonna have a few drinks. You should too. And some vaseline... help you get the stick out of your ass. Happy New Year, champ.
[Hero CDMA Android Development] willowmp:
I am now getting errors with nandroid and bart.

When trying to do a nandroid backup I get this:

Error: Run 'nandroid-mobile.sh' via adb!

When trying to do a restore I get this:

Error: Run 'nandroid-mobile.sh recovery' via adb!

So far I have just kept .zips of my roms on the sdcard to flash if I need to restore my phone.
[Hero CDMA Android Development] NewShockerGuy:
What is the naming scheme of the Nanodriod backups?

I ran two of them just to see how it does it:

BCDMRS-20100113-0716

and

BCDMRS-20100113-1804

How do I know which one is the newer one.

Also what is the Bart backup compared to the nandroid?

Thanks,

-Nigel
[Hero CDMA Android Development] miguelfp1:
It's in a YYYYMMDD format, then the time in GMT time (Zulu time, London time, etc.) in a 24 hour format, so the newest one would be the one made at 1804.
[Hero CDMA Android Development] NewShockerGuy:
Perfect! Thanks for the claification!

One last question. What exactly does the Bart backup do compared to the nandroid backup?

I just rooted my phone last night and removed the sprint bloatware but confused on what is a better back up method.. I went with nandroid as everyone on here said to use that after rooting/loading roms but wasn't sure about the other option or if I would even use it?

Thanks again,

-Nigel
[Hero CDMA Android Development] Globespy:
PLEASE Help!!!

Ok, I am fairly new to this.

I rooted my phone successfully ( I can install ROOT only apps from Market and 'su' to # prompt)

I copied the latest backup recovery file 1.5.2 to the root of my SD card.

I have installed ADB

So I open a command prompt and go into Android SDK/tools:

adb shell

su

# flash_image recovery /sdcard/ [recvoery file name]

I then type 'reboot recovery' the phone reboots and I have the screen with phone image and large triangle with yellow '!' in it.

I hold 'HOME' and 'END' togerther to access menu of system recovery utility and I can only select 3 options:

reboot system now [Home+back]

apply sdcard:update.zip [Alt+S] * see below)

wipe data/factory rest [Alt+w]

*What is this update .zip?? I don't seem to have it anywhere??

At the bottom of the screen I have what looks like an error:

E:Can't open /cache/recovery/command

Any ideas?

I want to create a Nandroid backup and then install the Fresh Rom.

All help appreciated!

Thanks!
[Hero CDMA Android Development] tomp517:
Im new to this and i just added the RA-hero-v1.2.3 and now i see theirs a new one and i have no idea how to even start it. So if you could give me step by step ways it would b greatly appreciated.
[Hero CDMA Android Development] tomp517:
How do i flash from the 1.5.2 back to the 1.2.3
[Hero CDMA Android Development] mercado79:
Briefly, to get into the recovery menu, you simply hold in HOME when turning on the phone.

As for "update.zip", this is just a generic naming convention used around here for modding your device. Update.zip can be anything really....a new ROM like Fresh, a modified lockscreen, or different theme packs.
[Hero CDMA Android Development] Globespy:
OK.

So I rename the fresh rom zip to 'update.zip' and copy to the root of my SD card.

I 'reboot recovery' again, my phone restarts, I choose the 'Apply SDCard:update.zip' option and then it begins to install:

Install from sdcard....

Finding update package....

Opening update package....

Verifying update package....

E:No signature (599 files)

E:Verification failed

Installation aborted

Ideas?

BTW - I still also have the error:

E:Can't open /cache/recovery/command
[Hero CDMA Android Development] deadonarivalry:
Don't rename it. You can just select the Flash option, then select the ZIP file (they'll be named).