New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
flak0
Old
#1  
flak0's Avatar
Senior Member - OP
Thanks Meter 353
Posts: 1,300
Join Date: Jan 2009
Location: Pembroke Pines , FL

 
DONATE TO ME
Exclamation NANDROID RESTORE WITHOUT FASTBOOT?? - does it really work?

ok so im confused. I was reading the "how to flash cupcake" thread and came across this post by ridli. i tried following the instructions below but they failed, it seems like it works for him. if this truly works then there is no need for fastboot to reflash a nandroid back up. please help. thnx. BTW dudes .8 G build is awesome. (posted from my G1-modded w/root and gloss suite theme)

I tried the below on my G1 using recovery mode from JF-RC33 and i get:
error opening /sdcard/bu/system.img: no such file or directory.
I have checked the sdcard and its there, please help.
Quote:
Originally Posted by ridli View Post
You can do the same without linux or any other SO.

1) Download cupcake
2) copy IMG files to a DIR in your SDCARD
3) reboot the phone in recovery mode
4) press ALT+X for go to console
5) #mount -a (for mount all partitions, without this you dont have flash_image becouse it is in /system/bin/)
6) use flash_image for flash the partitions

Code:
#flash_image system /sdcard/<dir>/system.img
#flash_image boot /sdcard/<dir>/boot.img
#flash_image userdata /sdcard/<dir>/data.img
7) #reboot

Optional: Do a backup of the phone with nandroid from the recovery mode, this do a img of system, data and boot partitions of your phone and copy to your sdcard. If you have any problem you can reflash your phone with you img.
 
Karolis
Old
#2  
Karolis's Avatar
Senior Member
Thanks Meter 7
Posts: 789
Join Date: Jan 2008
It didn't work for me either, but it said I could not remount system as r/w because it was busy.

Anyway, I find instructions on how to do it via PC a lot easier. And if your phone would not boot, and you are stuck without backup, you can always pull it with adb.
 
Joushou
Old
#3  
Joushou's Avatar
Senior Member
Thanks Meter 0
Posts: 115
Join Date: Jan 2009
Location: Charlottenlund
Karolis:
System shouldn't be busy in recovery mode... also, it shouldn't be mounted if you're trying to write a fs image
And... no, if your phone can't boot, it can't boot. That includes starting adbd.
If you can enter recovery/spl, it's booting just fine.

flak0:
Have you checked the sdcard from the shell in android, or from your computer?
If it's the latter, you should make sure you can access the file from android.
I would recommend that you copy the flash_image binary out of /system (and /data), because you're rewriting that partition
Wise men speak, when they have something to say.
Fools speak when they have to say something.
 
Joushou
Old
#4  
Joushou's Avatar
Senior Member
Thanks Meter 0
Posts: 115
Join Date: Jan 2009
Location: Charlottenlund
Okay, don't use the forums when on a bad connection... my browser thought it lost connection, and decided to refresh, and send my post again... *Looks for a delete button*
Wise men speak, when they have something to say.
Fools speak when they have to say something.
 
arteshiftedscreen
Old
#5  
Junior Member
Thanks Meter 0
Posts: 21
Join Date: Aug 2008
this does not work

just so everyone is clear

DOES NOT WORK!

Note To Self, do not follow tutorials from junior members
korndub Old
#6  
Guest
Thanks Meter
Posts: n/a
Quote:
Originally Posted by arteshiftedscreen View Post
this does not work

just so everyone is clear

DOES NOT WORK!

Note To Self, do not follow tutorials from junior members
Ummmm actually this does work if you do itcorrectly. Note to self no bashing people that are just trying to help.
 
ei8htohms
Old
#7  
ei8htohms's Avatar
Senior Member
Thanks Meter 22
Posts: 268
Join Date: Feb 2009
Location: NYC
Default so how is it done?

Quote:
Originally Posted by korndub View Post
Ummmm actually this does work if you do itcorrectly. Note to self no bashing people that are just trying to help.
And could a Gscript or similar be written to do something like this? I'd be psyched to have the option to restore my phone on the fly. And of course, if you could do that, what would stop you from having a Nandroid restore point saved for a number of different builds? I would love that.
Vz Galaxy Nexus
Cyanogenmod 10
Nexus 7 (stock so far)
Click below to download and install DroidLogo font.
<a href=http://forum.xda-developers.com/showpost.php?p=3771562&postcount=86 target=_blank rel=nofollow >http://forum.xda-developers.com/show...2&postcount=86</a>
 
sinbot
Old
#8  
Senior Member
Thanks Meter 5
Posts: 113
Join Date: Dec 2008
Out of curiosity, and I've never tried this method myself, are you just entering the following exactly?
Quote:
#flash_image system /sdcard/<dir>/system.img
#flash_image boot /sdcard/<dir>/boot.img
#flash_image userdata /sdcard/<dir>/data.img
Or are you changing <dir> to the directory of your nandroid backup? Because if you aren't it certainly won't work.
 
billc.cn
Old
#9  
Senior Member
Thanks Meter 5
Posts: 175
Join Date: Feb 2007
Quote:
Originally Posted by ei8htohms View Post
And could a Gscript or similar be written to do something like this? I'd be psyched to have the option to restore my phone on the fly. And of course, if you could do that, what would stop you from having a Nandroid restore point saved for a number of different builds? I would love that.
But it would be very unsafe to flash a fs image when the partition is actually mounted and your gscript is probably in it.

the only way is to do it in recovery mode.
one little problem though: i copied flash_image to /cache and chmod, but the shell kept telling me no such file. why is that?
korndub Old
#10  
Guest
Thanks Meter
Posts: n/a
Quote:
Originally Posted by billc.cn View Post
But it would be very unsafe to flash a fs image when the partition is actually mounted and your gscript is probably in it.

the only way is to do it in recovery mode.
one little problem though: i copied flash_image to /cache and chmod, but the shell kept telling me no such file. why is that?
flash_image is a binary, should not be moved. why did you move it to cache? of course it wont work...

Tags
backup, boot, fastboot, nandroid, recovery

XDA PORTAL POSTS

Forum Added for the Samsung Galaxy Mega

What do you do when the Galaxy Note line is simply not big enough? You get theSamsung Galaxy Mega. … more

Voice Control Your Phone with Tasker and AutoVoice – XDA Developer TV

XDA Developer TV Producer Kevin set up his phone to respond to … more

Guide to Take Better Control of Your Volume Levels

Would you like to know one of the things that really annoys me on a daily basis? Tough, … more

Get the Android 4.2.2 Status Bar on Your Gingerbread-Based Samsung

There are still quite a few of folks who run Gingerbread on their … more