How do I access the nandroid backup with phone connected to my pc? - EVO 4G Q&A, Help & Troubleshooting

OK, here's my problem. My EVO was smashed last night by a raving drunk psycho (Yes, cops showed up and took him, but I need my nandroid to put on my replacement phone when I get it). The screen is in about 1 million pieces, the entire case is warped as well. But oddly enough, this tough a$$ phone still boots up. I can issue adb commands and such, but can't see jack on the screen. So I know I can boot into recovery mode and whatnot via adb. My problem is this. I know there are 2-3 nandroid backups. How the hell can I get them? I tried putting the sdcard into a reader on my laptop, but to my stupidity I now realize it's in some linux or other file system format, so I can't simply read the card directly. Any help would be greatly appreciated!!!
Also, I have nand root acces on the phone if that helps at all.

SteelH said:
OK, here's my problem. My EVO was smashed last night by a raving drunk psycho (Yes, cops showed up and took him, but I need my nandroid to put on my replacement phone when I get it). The screen is in about 1 million pieces, the entire case is warped as well. But oddly enough, this tough a$$ phone still boots up. I can issue adb commands and such, but can't see jack on the screen. So I know I can boot into recovery mode and whatnot via adb. My problem is this. I know there are 2-3 nandroid backups. How the hell can I get them? I tried putting the sdcard into a reader on my laptop, but to my stupidity I now realize it's in some linux or other file system format, so I can't simply read the card directly. Any help would be greatly appreciated!!!
Also, I have nand root acces on the phone if that helps at all.
Click to expand...
Click to collapse
The sdcard is formatted by the phone as fat32. Put it in an sd card adapter, then into your computer. The files are in the nandroid folder, just copy that full folder. While you are at it, you might as well just copy the full card...and keep the card to put in your next phone, right?
If the card doesn't read in your computer, then it is damaged. There are numerous file recovery programs you can try, but it is questionable to me that your nandroid backup is really worth using a recovery program to save. Your contacts should be in Google and the rest takes 30min top to set up (right?).

If you REALLY want to save it try:
Code:
adb pull /sdcard/
It will copy everything into the directory you are in I think.
The backups should be stored in /sdcard/nandroid/
Man, you can ADB into your phone after it got smashed up like that?

Jykinturah said:
Man, you can ADB into your phone after it got smashed up like that?
Click to expand...
Click to collapse
Yeah, it's getting txts and emails too apparently. Wifi is connecting to my router too. No sounds at all, no vibration, no screen. But seems the phone is working aside from that. It's crazy.
Got a problem it seems:
Code:
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Program Files (x86)\android-sdk\tools>adb devices
List of devices attached
HT05VHL13839 device
C:\Program Files (x86)\android-sdk\tools>adb pull /sdcard/
pull: building file list...
0 files pulled. 0 files skipped.
C:\Program Files (x86)\android-sdk\tools>
Seems the sdcard went down with the raving alcoholic man.... crap.

Is there any way to run nandroid backup without seeing the screen?

I say, get a micro SD card reader, and put use your PC to do a backup.
Sent from my PC36100 using Tapatalk

lafrad said:
I say, get a micro SD card reader, and put use your PC to do a backup.
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
As you can see from my prior post, the sdcard appears to be shot. I need some way to run a nandroid backup without being able to see the screen.

SteelH said:
As you can see from my prior post, the sdcard appears to be shot. I need some way to run a nandroid backup without being able to see the screen.
Click to expand...
Click to collapse
boot up the phone and do
Code:
adb shell
then
Code:
reboot recovery
when it reboots redo
Code:
adb shell
then put
Code:
nandroid-mobile.sh --help
and that will give you what you need to do. However if your sd card is shot then your screwed lol. nandroid needs an sd card to work

Yeah, do what mrono suggested, but with a new Micro SD card. Just buy a cheap-o 1GB card or something to run the backup. I've got 3-4 cards around here myself. Maybe you can borrow a card from another phone or a digital camera? Chances are a 256mb card will work as well, or 512mb? A 32 won't work since it's too small. You've of course lost everything else, but you should be able to make a backup.
This is all assuming that the SD Card slot in the phone didn't break in the process, and since the SD card is fried, chances are it did break the slot since those bastards are a pain to fry in the first place.

Thanks guys. I figured that out a little while ago. I just used the sdcard out of my old blackberry. Worked great!

Related

Moving Files From SD Card To Internal Memory Possible?

Hey guys, I love this site and the outpour of support. This is really the first issue I've run into with my evo thus far.
I want to move some files I made into ringtones from my SD card into the internal memory in the location of the stock ringer sounds. I want to do this so if I ever take out or swap SD cards I never have to worry about losing my ringers. I have been using the astro file browser but it apparently does not let me move or copy and paste the file(s) where I want them.
Is there any way to do this?
thanks a lot!
Also follow up question. My SD Card always mounts when I plug my phone into my PC. Is there a way to stop this? even when I put the phone to charge only, the SD card shows up in Win7.
You need to have root and NAND unlock if you want to do anything like that, but it is possible.
If you have NAND unlocked, you can do it with your phone running normally, but I would use ADB in your particular situation. You can also use something like Root Explorer, but it costs money.
If you do not have NAND unlocked, but you have toast's root, you must go into recovery first.
If you know how to use ADB and you have full root (w/ NAND unlock), you should be able to use a command line in Windows to this effect.
For ringtones:
Code:
adb shell cat /sdcard/ringtone.mp3 > /system/media/audio/ringtones/
For notification sounds:
Code:
adb shell cat /sdcard/notification.mp3 > /system/media/audio/notifications/
For the files on your SD.
Otherwise you can push from the Windows itself. In command line, navigate to the area in Windows where you have the sounds and do something like this:
Code:
adb push ringtone.mp3 /system/media/audio/ringtones/
or
Code:
adb push notification.mp3 /system/media/audio/notifications/
If you do not have NAND unlocked, but you have root and a custom recovery, go into the custom recovery, then apply this command.
Code:
adb shell mount /dev/block/mtblock4 /system
After that, the commands above should work normally.
Is it possible to copy the 8GB SD files to your computer, insert a 16GB into the phone, and them paste the files from the computer to the new SD card? Will I have to re-root?
I'm currently running Damage Control (full root) along with other root tweaks.
@Jykinturah- Won't he need to mount the file system first?
dang, I was hoping to do it without rooting. I was seriously contemplating rooting my phone before 2.2 was announced to be coming out "soon" but I am a little hesitant to take the plunge knowing that we should all have froyo soon. I may still consider this or may try and do some more research. Thanks for the help though! It is greatly appreciated.
GumboChief said:
@Jykinturah- Won't he need to mount the file system first?
Click to expand...
Click to collapse
If you are booted into the OS, no. If you are in recovery, yes.
Code:
adb shell mount /dev/block/mtblock4 /system
Not usually a great idea to write to system when booted up, but if its just a ringtone or something, meh.
rockdrummersrock said:
dang, I was hoping to do it without rooting. I was seriously contemplating rooting my phone before 2.2 was announced to be coming out "soon" but I am a little hesitant to take the plunge knowing that we should all have froyo soon. I may still consider this or may try and do some more research. Thanks for the help though! It is greatly appreciated.
Click to expand...
Click to collapse
I am not the best person to ask about whether you MUST be rooted to do this, but I think you need to.
Not sure if you can write to /system in recovery without being rooted.

Lost Phone...Preventing data loss in the future

Ok, so I lost my phone on labor day....it's terrible, i feel naked without this thing. Not so much the phone, I'm more distraught over the SD card that was in my phone, and I didn't have a recent backup of it.
So I'm devistated that I've lost so many pictures from my 30th bday celebration at Myrtle, countless videos and just everything that was on my SD card. That's the most important part of the phone.
Anyway, to the point. Is there an app or a process that anyone goes through to ensure if their phone is lost that they have a relatively recent backup of their SD card? I've lost my phone before, but I got it back, someone went out of their way to contact sprint to get a hold of me to return it. So I backed up my SD card as soon as I got that one back, but I guess I felt that I would never loose another phone. Word of advice, don't get drunk on labor day and let your friend use your phone then put it in her purse, it's easy to loose track of!
Thanks for any help.
-Slevin
If you are rooted, periodically do a nandroid backup of your phone and store the backup file on your PC.
If you are not rooted, backup everything with MyBackup Pro and store the backup files on your PC.
When you get the new phone, simply do a restore from backup.
Sent from my PC36100 using XDA App
You could use various backup software when you have your SD mounted as a drive on your PC.
I went the cheap and easy route with 2 batch files on my Windows PC.
SD_Backup.bat
rem The BACKUP operation is about to start
pause
xcopy l:\*.* C:\Evo_Backup /r /i /c /h /k /e /y /d
Click to expand...
Click to collapse
SD_Restore.bat
rem **WARNING** The RESTORE operation is about to start
pause
xcopy C:\Evo_Backup\*.* L: /r /i /c /h /k /e /y /d
Click to expand...
Click to collapse
"L" is the drive letter my PC assigned my Evo when mounted in USB drive mode. "C:\Evo_Backup" is the directory I store my files.
The backup will only backup files that don't exist on your PC or are newer which makes backups much faster after running the first full backup. The restore does the same, but in reverse.
stroths said:
You could use various backup software when you have your SD mounted as a drive on your PC.
I went the cheap and easy route with 2 batch files on my Windows PC.
SD_Backup.bat
SD_Restore.bat
"L" is the drive letter my PC assigned my Evo when mounted in USB drive mode. "C:\Evo_Backup" is the directory I store my files.
The backup will only backup files that don't exist on your PC or are newer which makes backups much faster after running the first full backup. The restore does the same, but in reverse.
Click to expand...
Click to collapse
stroths...this is an excellent idea, I never though of doing it this way. I have a few batch scripts that I use with robocopy. I will definitely be using this script. Thanks for the tip.
-Slevin

Touch Screen is Unresponsive and I Need to Back-up My Phone

AT&T SGS3 running AOKP 4.2.2
I dropped my phone and broke the touch screen. It displays, but is unresponsive to touch commands. I'm looking to:
-Back it up on my PC or External Card, and
-Get it back to stock. I paid for the extra warranty so they'll just send me a phone before I even send mine back in, but I at least want to make a reasonable effort to cover up my rooting. I can just imagine them deciding I owe them $600. Basterds.
I have read the related threads, and they gave me some ideas, but I wanted some fresh thoughts. I currently have CWM on it, and I know you normally can't see the external card with CWM, but I haven't had a chance to poke around too much because I'm still at work.
I'll keep you guys updated.
Thanks.
Mendax_ said:
AT&T SGS3 running AOKP 4.2.2
I dropped my phone and broke the touch screen. It displays, but is unresponsive to touch commands. I'm looking to:
-Back it up on my PC or External Card, and
-Get it back to stock. I paid for the extra warranty so they'll just send me a phone before I even send mine back in, but I at least want to make a reasonable effort to cover up my rooting. I can just imagine them deciding I owe them $600. Basterds.
I have read the related threads, and they gave me some ideas, but I wanted some fresh thoughts. I currently have CWM on it, and I know you normally can't see the external card with CWM, but I haven't had a chance to poke around too much because I'm still at work.
I'll keep you guys updated.
Thanks.
Click to expand...
Click to collapse
Even though the phone doesn't respond to touch does the computer recognize it as a storage device when you plug it in? If so you should be able to back up your photos and personal files. You could even do a nandroid in recovery then dump those from internal storage to your PC. However I've never tried restoring a nandroid backup to another phone.
Or if you already had USB debugging active you could likely fetch the files you want using adb through terminal but I couldn't help with that.
Just some of my thoughts
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
OK I just did a backup to my external SD card. CWM had a specific option for it, which originally I thought would be the obvious course, but I read on here that CWM didn't normally see external storage for some reason.
I just hope my external card is big enough. It should be.
*EDIT* Error on the data back-up. Probably not enough space. Is there anyway I can check what the issue is? because it would be really easy to buy a bigger SD card.
Also, are there any issues with restoring onto another phone? Would I just have to flash the same ROM onto it before restoring?
Thanks
m1batt1 said:
Even though the phone doesn't respond to touch does the computer recognize it as a storage device when you plug it in? If so you should be able to back up your photos and personal files. You could even do a nandroid in recovery then dump those from internal storage to your PC. However I've never tried restoring a nandroid backup to another phone.
Or if you already had USB debugging active you could likely fetch the files you want using adb through terminal but I couldn't help with that.
Just some of my thoughts
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
I would like to think that I had USB debugging on but I'm not entirely sure. Knowing me it would have been one of the first things I did.
I'm at work and they have a security guard against data transfer via disk. I can't see the actual storage, just the media Icon, or whatever that is. This may just be a result of the security settings here.
I'll have to check all this at home
Mendax_ said:
I would like to think that I had USB debugging on but I'm not entirely sure. Knowing me it would have been one of the first things I did.
I'm at work and they have a security guard against data transfer via disk. I can't see the actual storage, just the media Icon, or whatever that is. This may just be a result of the security settings here.
I'll have to check all this at home
Click to expand...
Click to collapse
OK I'm not seeing the storage when I USB to my desktop (Windows 7). Lame. I thought it might be that easy.
Hmm. Can't I use Odin or something to back-up to my desktop, then mount the files?
Mendax_ said:
OK I'm not seeing the storage when I USB to my desktop (Windows 7). Lame. I thought it might be that easy.
Hmm. Can't I use Odin or something to back-up to my desktop, then mount the files?
Click to expand...
Click to collapse
I'm also having trouble getting it to go to download mode. It starts to, then reverts to normal boot up.
A new phone's on the way, but I need to get some files of this one, and get it back to stock before I send it in.
What's the likely hood they would charge me for the phone if I send them back the broken phone with a custom ROM? Especially considering that it was undoubtedly a hardware issue and we paid for the extra warranty.
They already processed the return and shipped me a phone. They would have to get my phone, boot it up, and get mad enough to want to punish me, rather than just processing the refurb. I think it's highly unlikely they would try to rescind my warranty, but I'm really trying to give a college try at getting it to stock.
Anymore ideas would be appreciated.
m1batt1 said:
Even though the phone doesn't respond to touch does the computer recognize it as a storage device when you plug it in? If so you should be able to back up your photos and personal files. You could even do a nandroid in recovery then dump those from internal storage to your PC. However I've never tried restoring a nandroid backup to another phone.
Or if you already had USB debugging active you could likely fetch the files you want using adb through terminal but I couldn't help with that.
Just some of my thoughts
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
OK, so I'm thinking about what you say about "dumping my nandroid onto my desktop". Would there be a way to access the files from this image using my desktop? There has to be some sort of "virtual droid" or emulator package where I could mount the data.
Thanks. This sucks
removes newouis
I gave up on recovering my pics and media. They weren't that valuable.
I flashed a stock ROM, but I didn't Triangle Away so my counter reads "1". Do I need it to read "0"?
I performed a factory reset hoping to wipe everything, including my personal photos and media, but there seems to be some confusion as to whether or not this deletes your pics and media. I performed this through the stock recovery as there is no way for me to do it through my ROM without a touchscreen.
What's the latest verdict on this? I read a few threads and it seems people still aren't in agreement.
Does a factory reset/delete through the stock recovery delete EVERYTHING including pics and media? If not, how can I do this? I was thinking that I need to flash CWM again and do some formatting/partitioning?
I'm really trying to read all I can, I just don't have hours to do this right now. I'd greatly appreciate some help.
Thanks
The stock recovery will not delete anything stored on internal storage. AFAIK cwm has the options to and you can use the volume buttons to scroll up and down and power to select the choice.
Making the iPhone jealous one user at a time.
mkfryan said:
The stock recovery will not delete anything stored on internal storage. AFAIK cwm has the options to and you can use the volume buttons to scroll up and down and power to select the choice.
Making the iPhone jealous one user at a time.
Click to expand...
Click to collapse
OK so I was finally able to look at my storage on my PC via USB, after getting it back to stock ROM, and the reset appears to have deleted everything. There are no pics or vids in the DCIM folder where in the past this is where they've always been. I'm going to content myself with this observation.
Now I just need to set my flash counter to 0. It's at 1. Although I think it's highly unlikely they're going to retro charge me for a phone that's already on the way. Also, my screen has been degrading over time. Now I believe I can't see anything on it. Is it still possible to use Triangle Away when I can't use or see the touch screen. I'm sure I'd have to go from the ADB shell or something. Any thoughts on this would be great. Thanks.

HELP!!!!!!!!!!!!! SD card not recognized

hltetmo running tweaked 4.4.2. 2 days ago, listening to some new music i'm working on, mid-song says music file not supported.rebooted. music not showing up in media player. attempted to go through file browser, gives message "can't enter into "extSDCard" folder: maybe it is not readable? can't format, occasionally get about 5%of my music files. settings show 15.66 gigs available out of 59.47 total. computer doesn't read any folders on it, but Philz touch reads everything? need to save my music!!!!!!!!!! suggestions?
Try odin to stock
xmuertex said:
Try odin to stock
Click to expand...
Click to collapse
don 't see how that would do anything. put card in friends unrooted 3, didn't read, same issue with space used. thought about that, but don't wanna waste time. did factory reset, reflashed rom. computer not even reading
Last thing is format
xmuertex said:
Last thing is format
Click to expand...
Click to collapse
won't let me. on phone or computer. phone gives me progress report, when finished, still shows 15.66 available. computer gives me message, "windows cannot format this drive". tried data recovery programs. each one saves the same 16 pictures. shows nothing else
Sounds like a defective SD, return or throw away
xmuertex said:
Sounds like a defective SD, return or throw away
Click to expand...
Click to collapse
not what i wanted to hear! think it's possible to recover the data?
Is not readable by a PC i doubt it byt see what an expert can say
strange thing is, recovery see every folder and zip. but, laptop, file browsers. nothing. am i looking in the wrong area to fix this?
This happened to me last year. Definitely a bad SD, but I used EaseUS data recovery to get most of my data off of it before RMAing it.
Trying to recover the data now. Gonna take a while, though. 45 plus gigs is a lot. Wish me luck. After I recover what I can, can I format through recovery mode and reuse card, or no?
kabuk1 said:
This happened to me last year. Definitely a bad SD, but I used EaseUS data recovery to get most of my data off of it before RMAing it.
Click to expand...
Click to collapse
RMA?
never mind. didn't think RMA Return Merch. too sleepy
ok so, i mounted through terminal emulator as rw. was able to transfer files over to my computer. but, i still cannot format it. phone goes through he motions, nothing gets deleted. windows laptop and macbook both show it as 1 MB. any suggestions or advice as to how to format through terminal emulator? seems like only option
With the problems you're having, you might want to get a new sd card. There are some good deals on the Samsung evo card at best buy and Amazon today.
That's what I'm probably going to end up doing. :-/
You could try 'parted' on Linux. There's a link to one compiled for Android in XDA somewhere.
Frank
Frank Westlake said:
You could try 'parted' on Linux. There's a link to one compiled for Android in XDA somewhere.
Frank
Click to expand...
Click to collapse
Thanks. I'll look into that. It's crazy. For my card to read, I have to format it through settings. Then everything is available
That's probably because of the type of file system.
So it's all [SOLVED] now?
Frank
No. Lasts about an hour, then stops again. At least I was able to back up everything. As soon as I can afford a new card

Connect to SD card in download mode?

So I have been struck by the G4's evil bootloop problem. After the first reboot it never ended up booting into the OS again and after about 30 minutes of trying to get it to the recovery menu it wouldn't turn on at all. So I sent it in to LG to get repaired (they said they replaced the board chipset) and I just got it back - two minutes later it does the random shutoff thing and now we're back to bootlooping. So I'm not really sure that they did anything at all other than flashing it, which makes me every so slightly more hopeful for what I'm trying to do. This time, however, I am consistently able to get into download mode.
The goal of this, and I absolutely realize this is a very, very long shot, is to get a bitwise copy of the internal memory onto the SD card, then do some file recovery magic to get a few pictures back. The most important ones are in other locations, but I guess I have some extra time on my hands. Well.... I don't really, but I like messing around with this stuff. I've done a bunch of recovery work on regular computer hard drives, which is why I'm hoping this is a possibility. (Yes, I know it's probable they replaced the internal storage if they actually replaced the motherboard.) If not, well, I've learned a lot, so whatever.
So where does unrooted download mode get me? Not far it seems. I can get the Send_Command.exe to connect reliably. So in theory I should be able to do something along the lines of
Code:
dd if=/dev/block/mmcblk0 of=/path/to/sdcard
but this isn't really working, well, at all.
The good news is that I think it sees the sd card, because with a
Code:
cat /proc/partitions
is see
Code:
mmcblk1
and
Code:
mmcblk1p1
- which I imagine is the external SD card. (I'm pretty sure about that actually, since removing the sd card has the mmcblk1* vanish)
I'm not able to access it however, and an ls on /storage/external_SD/ returns blank, even though I dropped a few test files on it.
I did read that you could potentially get access to the SD card by editing something in /system/etc/permissions/platform.xml, but that is pretty much the end of what I've found - I'm not quite sure how to edit that over send_command either to be honest. I suppose you could try something like
Code:
echo "all the text" > /system/etc/permissions/platform.xml
but I tried testing that on a sample text file - it didn't work - and that's sadly the limit of my knowledge.
Any ideas? Did I miss something obvious here?
bump!
Been trying the same approach, got nowhere so far. I even tried to run "cat" command on some files and push the output into a file (through some java code), but I am unable to get input stream from send_command.exe

Categories

Resources