Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
JokerAce
Old
#1  
JokerAce's Avatar
Senior Member - OP
Thanks Meter 520
Posts: 1,240
Join Date: Sep 2009
Location: Teleporting..

 
DONATE TO ME
Angry [How-To] When nandroid via recovery and adb fails

Alright, I faced this problem a few days backed, and when I did my research I found that a lot of people face this problem, or once in a while at least:

When you try to do a nandroid restore you see this:

Error: run ' nandroid- mobile. sh restore ' via console!

So you try to do it via adb (aka console) and you get this:

Error: unable to mount /sdcard, aborting

Frustrating right! You have messed up your phone while tweaking and thought you had the upper hand because you did a back-up.. but now you are dealing with this..

Here's the solution I gathered from web:

1. Check that you have USB de-bugging on under the development settings of your phone
2. Check that you have your sdcard partitioned to at least ext3.
3. Check that you did not rename your nandroid folder, nandroid's content to anything fanciful.
4. Check that you have enough power on your phone, at least 30 percent to be safe. Low power will disable the ability to do a restore in some cases.

Well if you don't have the above:

1. Go enable USB de-bugging under settings>manage applications>development>USB Debugging>activate.
2. Transfer whatever content you have on sdcard to somewhere safe. Then do a proper partitioning via the recovery, upgrade it from ext2 to ext3. Repair the ext in case there are some errors. After this, transfer all contents back.
3. Please rename all folders back to their original name, and don't rename them ever again.
4. Charge your phone with AC supply, and wait till it is at least 30 percent and try to do a restore again via recovery, if not, do step 1 - 3.

Trying to do a restore:

1. Do it via recovery, if everything is fine, it should go smoothly, and you got your upper hand back!
2. If you like to see words running in strings, doing via console is possible too!
-
"quoted from and credit to Slug from android forums"
Open a command prompt window (Start-All Programs-Accessories-Command Prompt)
Type cd/ and hit <enter>
Enter cd adb
Now enter adb devices and it should show "000000000000 recovery"
If so, enter adb shell and you should see the prompt change to #. You're now running as su (root)!
Enter nandroid-mobile.sh --restore. You'll see instructions about "Using G1 keyboard..." disregard and hit <enter>.
After a brief search, the default (most recent) backup found will be displayed along with any others located. If the default choice isn't the one you want to restore, you'll have to enter the full path to the correct one as displayed in the list. You can use the Edit...Mark... function from the command prompt window menu to simplify this, though. Put the cursor at the beginning of the required line, hold <shift> and highlight the test using the arrow keys. <Enter> copies to the clipboard, and Edit... Paste... places it wherever the cursor is placed.
Once you have the correct backup referenced, hit <enter> and you should see the script work its magic.
When Restore done is displayed you can reboot the handset from the recovery menu.

Alright you have got your restore back! Feedback or anymore tips to this problem are welcome! Thank you for your time.

JokerAce


Phone Info
Ph.Model: Samsung Galaxy SII i9100
ROM: P.A.C. v22.2 True-AIO
Kernel: Dorimax v9.19
RADIO: I9100XXLS8

Personal Info
I Had:
HTC Magic 32A, GingerYoshi 1.5,
Nexus One, CM 7.1 w Custom BlackRose, S-off
Nexus S, PA 2.22, Bedalus Marmite Kernel
I have ORD.
SuperCharge your phone with this!








Assist in development with this
 
jaydeebee24
Old
#2  
Member
Thanks Meter 1
Posts: 82
Join Date: Oct 2010
so if we renamed the nandroid backup to something we will remember more easily, and that the problem, what do we do?

edit: how do we know what the original name of the backup was called.
 
JokerAce
Old
#3  
JokerAce's Avatar
Senior Member - OP
Thanks Meter 520
Posts: 1,240
Join Date: Sep 2009
Location: Teleporting..

 
DONATE TO ME
Hi, did you get a Md5 mismatched or something? Please be clear with your problem. If it's a mismatch problem, make sure your rename'd folder has NO Space in the name.


Phone Info
Ph.Model: Samsung Galaxy SII i9100
ROM: P.A.C. v22.2 True-AIO
Kernel: Dorimax v9.19
RADIO: I9100XXLS8

Personal Info
I Had:
HTC Magic 32A, GingerYoshi 1.5,
Nexus One, CM 7.1 w Custom BlackRose, S-off
Nexus S, PA 2.22, Bedalus Marmite Kernel
I have ORD.
SuperCharge your phone with this!








Assist in development with this
 
Post Reply+
Tags
back-up, backup, nandroid, restore
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...