[Q] Get Pictures off phone from TWRP - One (M8) Q&A, Help & Troubleshooting

My phone is currently totally F'd up and I'm planning to do an RUU but I want to get the pictures off of it first, is there any method of getting them off via TWRP or something? They are all on Internal storage so i can't just take them out and plug them into a computer. I've tried MTP transfer from it but it only allows me to do my SD card, is there some sort of ADB command or something to extract all of my internal storage or a certain folder to my computer? Anything at all? Even besides that?
Yes the internal storage is accessible, not messed up or encrypted or anything. Just don't know how to get the files off it without having a ROM (can't flash any until i RUU).

Don't use an RUU (yet)?
If you can get any ROM to boot, use that ROM to get your pictures. THEN run the RUU. If you can get to a working recovery, this should be doable.

jshamlet said:
Don't use an RUU (yet)?
If you can get any ROM to boot, use that ROM to get your pictures. THEN run the RUU. If you can get to a working recovery, this should be doable.
Click to expand...
Click to collapse
No ROM will boot, or install, adb will not function properly, TWRP reboots randomly, half of the functions in TWRP are causing it to reboot, MultiROM has a couple partitons I think never got removed, it's quite bad. At the moment I am totally stumped at what to do to even consider 'fixing' this besides an RUU. I'm not stupid when it comes to fixing my phone either, I normally have minimal issues when fixing things but this one is just above my level in actually fixing it rather than just doing the simple way out (RUU). Oh and I can't flash anything via TWRP.
Soo in short I just want to get the pictures...then RUU. I have backups on my SD card to restore and if I can get the pictures then I'll already have a full internal storage backup & sd backup to restore if needed. The pics are the only things not fully backed up, i.e why I need/want them. Probably best I do an RUU anyways, I can't uninstall MultiROM to get rid of the partitions so the RUU seems to be my best bet.

S1L3nTShaDoWz said:
No ROM will boot, or install, adb will not function properly, TWRP reboots randomly, half of the functions in TWRP are causing it to reboot, MultiROM has a couple partitons I think never got removed, it's quite bad. At the moment I am totally stumped at what to do to even consider 'fixing' this besides an RUU. I'm not stupid when it comes to fixing my phone either, I normally have minimal issues when fixing things but this one is just above my level in actually fixing it rather than just doing the simple way out (RUU). Oh and I can't flash anything via TWRP.
Soo in short I just want to get the pictures...then RUU. I have backups on my SD card to restore and if I can get the pictures then I'll already have a full internal storage backup & sd backup to restore if needed. The pics are the only things not fully backed up, i.e why I need/want them. Probably best I do an RUU anyways, I can't uninstall MultiROM to get rid of the partitions so the RUU seems to be my best bet.
Click to expand...
Click to collapse
Ouch. Unfortunately, a screwed up partition map is probably only recoverable by fully wiping the internal storage. I inadvertently did something similar to my daughter's Nexus 7, and the only resolution was reloading a factory image from fast boot. (since Google doesn't seem to do RUUs)
Maybe one of the Multi-ROM devs has a better solution?

jshamlet said:
Ouch. Unfortunately, a screwed up partition map is probably only recoverable by fully wiping the internal storage. I inadvertently did something similar to my daughter's Nexus 7, and the only resolution was reloading a factory image from fast boot. (since Google doesn't seem to do RUUs)
Maybe one of the Multi-ROM devs has a better solution?
Click to expand...
Click to collapse
It's more like I have 4 little partitions for the other ROM's that won't get removed unless I do the RUU anyways or at least get the phone functional enough to where I can remove them with MultiROM but as I said I just want the pictures and to rid of it. Once I get them or if I can/can't then i'll fully wipe it and probably do the RUU too. Just want to at least TRY to get them, if not it's whatever but worth a shot.
Oh and the 4 little partitions thing, thats only from what I know of how MultiROM works, I don't actually know 100% for sure if it really creates partitions. Quite sure it does though

Try
adb pull /data/media/0/
it should pull all files from internal storage
make sure you mount data in TWRP first before you run the command
or
you can try to flash TWRP as linked in my sig, it can mount your internal storage as MTP
or
search for qtADB ... it's a pc-android explorer... then browse to data/media/0/
you can copy whatever that you need with its copy function
(you need to mount data in TWRP first)

ckpv5 said:
Try
adb pull /data/media/0/
it should pull all files from internal storage
make sure you mount data in TWRP first before you run the command
or
you can try to flash TWRP as linked in my sig, it can mount your internal storage as MTP
or
search for qtADB ... it's a pc-android explorer... then browse to data/media/0/
you can copy whatever that you need with its copy function
(you need to mount data in TWRP first)
Click to expand...
Click to collapse
Okay thank the spaghetti monster of doom that last one worked, got the pictures extracted safely. I tried getting my entire internal storage just in hopes I could 100% clone my old setup but it just keeps glitching and won't do it. Either way got what I wanted, attempting an RUU now . Thanks for the help!
Oh and just for informational purposes, I was already using his TWRP and that ADB command just did what every other thing I normally do in TWRP does, rebooted my phone after 2 seconds of it. It did manage to get 2 files but they weren't even what I wanted. Maybe if I did it more specifically it would've worked but oh well.
Updaaaate!: Got everything back as it should be via RUU, Nandroid Backup, & backed up Internal Storage from 8/11/14 along with the Pictures you helped me get!

Related

[Q] Really bad problem with CWM :(

I've made two backups on ClockworkMod, yet EVERY time I try to reinstall data, it restarts midway, and when I start my phone up the bootanimation becomes an flashing android logo, what am I doing wrong? Please help!
kamranh3 said:
I've made two backups on ClockworkMod, yet EVERY time I try to reinstall data, it restarts midway, and when I start my phone up the bootanimation becomes an flashing android logo, what am I doing wrong? Please help!
Click to expand...
Click to collapse
Hmm..that's a strange problem.
Did you try to reinstall the CWM??
Edit: I pushed the Thanks Button unfortunately -.-
Every little helps
And I've tried, no such luck, so I'll try an older version and see what happens
EDIT: There's a thanks back!
Okay I've tried a different recovery, no luck
What have I done wrong? I seem unable to make any recovery.
I think the problem may have originated when I installed CWM 3.0.0.5, everything was fine before that
This is just a long shot, but have you tried checking your SD card for errors from your PC? The backup file could be corrupted, and that might fix it.
It would probably be a good idea to copy the /clockworkmod/backup folder from your SD card to your PC before you run the check. If it doesn't help or makes matters worse, you can copy it back.
Also, which version of CWM did you use to make the backup?
preacher65 said:
This is just a long shot, but have you tried checking your SD card for errors from your PC? The backup file could be corrupted, and that might fix it.
It would probably be a good idea to copy the /clockworkmod/backup folder from your SD card to your PC before you run the check. If it doesn't help or makes matters worse, you can copy it back.
Also, which version of CWM did you use to make the backup?
Click to expand...
Click to collapse
I used 2.5.1.3 in both cases, went down to 2.5.1.2 to see if it was linked to the recovery itself, it wasn't
kamranh3 said:
I used 2.5.1.3 in both cases, went down to 2.5.1.2 to see if it was linked to the recovery itself, it wasn't
Click to expand...
Click to collapse
If you look in the /clockworkmod/backups folder on your card, in the folder for the relevant backups, what size is the data.img file? Have you got any earlier working backups you can compare it to? I'm wondering if the backup failed part way through.
I take it you're trying to restore data only using Advanced Restore?
I can't think what else could cause it apart from a damaged sd card or corrupt file, but I'm not a CWM expert.
preacher65 said:
If you look in the /clockworkmod/backups folder on your card, in the folder for the relevant backups, what size is the data.img file? Have you got any earlier working backups you can compare it to? I'm wondering if the backup failed part way through.
I take it you're trying to restore data only using Advanced Restore?
I can't think what else could cause it apart from a damaged sd card or corrupt file, but I'm not a CWM expert.
Click to expand...
Click to collapse
I have looked at the backup is around 1.11GB which is the expected file size, the data.img being around 730mb, it's done this twice, and I've always checked that I've had plenty of space before attempting nandroid, and nothing's ever happened to the sd, i've never moved it or anything
kamranh3 said:
I have looked at the backup is around 1.11GB which is the expected file size, the data.img being around 730mb, it's done this twice, and I've always checked that I've had plenty of space before attempting nandroid, and nothing's ever happened to the sd, i've never moved it or anything
Click to expand...
Click to collapse
I'm not sure what else to suggest besides checking the sd card for errors. There have been some bugs with the HTC 1.72 stock ROM, which affect all custom ROMs based on it, that occasionally cause sd card errors. This is most likely to happen if you connect to your PC with a USB cable, mount the SD card as a drive in your PC, and disconnect the cable without using "eject" in Windows. It might happen at other times as well, I'm not certain.
This is usually fixed by checking the card for errors through your PC. Some people recommend defrag'ing the card, but I think a check for errors should be all that's needed. I'd copy all contents of the card to a folder on your PC first, just so you have a backup.
Otherwise I've run out of ideas, sorry. Hope you get it working.
What I'll do is transfer my backup to my brother's SD card, and then attempting a nandroid then, if that doesn't work then I don't know what will, but I'm 99% sure it's probably due to a problem on my SD card.
Sent from my Desire HD using XDA App
Hope it works, let us know how you get on.
preacher65 said:
Hope it works, let us know how you get on.
Click to expand...
Click to collapse
Well it doesn't seem like option, brother's too stubborn, so I guess I'll have to stick with what I got for now until I can fix this problem, it's really bugging me
kamranh3 said:
Well it doesn't seem like option, brother's too stubborn, so I guess I'll have to stick with what I got for now until I can fix this problem, it's really bugging me
Click to expand...
Click to collapse
You didn't say whether you tried checking the card for errors from your PC, did you try that yet?
CWM created an MD5 checksum for the backup, so it's not very probable r/w errors are the cause of the problem. If the data was corrupted CWM would notice before attempting to restore the data.
But if in doubt you can verify the checksums manually. In the backup directory there's a file called nandroid.md5 it's a text file that contains the hashes for each backup file. Compare those values to the actual checksums. If you need a tool use Hash My Files.
CWM 3 backups aren't backward compatible with CWM 2? Then you could try restoring with CWM 2 and see if that works. Then you'd at least know if it's you phone or a software problem.
This may sound silly but did you upgrade clockwork to 3.0.0.6?
equlizer said:
This may sound silly but did you upgrade clockwork to 3.0.0.6?
Click to expand...
Click to collapse
I tried upgrading to see if it would solve the issue, it didn't.
And as for md5 checksums, it all checks out fine, everything starts to restore fine, and on two of the latest occasions it will not fully restore data, but will restart CWM between restoring. I really don't know what the cause is :/

[Q] how to backup /sdcard ?

PLEASE READ THE ENTIRE POST BEFORE REPLYING. IF YOU DON'T I'LL JUST REPORT YOU FOR SPAM.
just spent an hour trying to find a way to do this and no such luck. i've read that clockworkmod recovery, when doing a factory wipe does not wipe the /sdcard but i still would like to be able to make a backup.
I've tried simply doing a copy/paste but windows refuses to even attempt it. even trying to do one folder at a time gives me issues. i've resorted to using airdroid for all my file transferring needs.
But using airdroid, even trying to do a backup, it eventually goes so slow that it fails. I have 4Gb of data i want to backup, and eventually it just stops transferring. i could do it one file at a time but honestly i don't feel like spending hours.
so does anyone know of any program, or possible easy way, that won't take days, to backup the /sdcard
You could always use cloud storage. Sugarsync gives you 5GB for free. Also, you could try running an FTP server app on your phone and then connect to it from your computer. I've used FTPServer in the past and it has been pretty quick to transfer lots of data.(https://market.android.com/details?...t#?t=W251bGwsMSwxLDEsImx1dGV5LkZUUFNlcnZlciJd)
yeah, i've thought of that, my internet at home isn't that great though. 6Mbps down, 1Mbps up. so cloud storage hasn't worked that great for me in the past, but maybe i'll give that ftpserver a shot.
BTW, i would like absolute confirmation that if i choose Wipe data/factory reset in CWMR Touch 5.504 beta 3 it won't erase any of the data on /sdcard.
as i've read, any CWMR won't erase the sdcard partition, but doing that through ICS, will.
Isn't CWMR 5.5.0.4 the non-touch version? I was using 5.5.0.4 and I can confirm that "Wipe Data/Factory Reset" does NOT erase anything on /sdcard, but I haven't actually done it in any other versions.
Hmm... what about using terminal/adb shell to build a .tar(.gz) of /sdcard and just copy that over to your PC?
codesplice said:
Hmm... what about using terminal/adb shell to build a .tar(.gz) of /sdcard and just copy that over to your PC?
Click to expand...
Click to collapse
sounds like a good idea if possible. correct me if i'm wrong, but wouldn't that allow you to use adb to restore all of your sd contents as well?
palisaide said:
Isn't CWMR 5.5.0.4 the non-touch version? I was using 5.5.0.4 and I can confirm that "Wipe Data/Factory Reset" does NOT erase anything on /sdcard, but I haven't actually done it in any other versions.
Click to expand...
Click to collapse
idk, mine has touch. not sure when/how i updated to it though. good to know that it doesn't though. thank you.
rsync backup for Android
http://forum.xda-developers.com/showthread.php?t=871307
Since you're on Windows, you would need to setup an SSH server. People in that thread have done this. A Linux desktop would make things a tad easier though.
This is how I backup the microSD on all my phones.
neok44 said:
sounds like a good idea if possible. correct me if i'm wrong, but wouldn't that allow you to use adb to restore all of your sd contents as well?
Click to expand...
Click to collapse
I believe so. You'd of course have to find some other folder on your internal storage (not /sdcard) to store the tarball while it's being created.
Or heck, adb should be able to do it all for you:
Code:
adb backup -shared -noapk -nosystem
*should* (according to adb help output) backup your /sdcard to "backup.ab" in the current directory
Code:
adb restore backup.ab
*should* then restore it.
Also, checkout "adb backup"
http://forum.xda-developers.com/showthread.php?t=1420351
Allows you to set a flag to include shared content (the microSD). You could probably get it to backup just shared content.
so i've gone through my whole sd card trying to figure out exactly how much data really needs to be backed up, and it's not much. biggest thing ist he 1.5GB CWM backup. everything else is pretty tiny.
so i'm thinking of giving the cloud a try.
are there any that anyone can recommend? I'm hoping for one that i'll be able to choose what folders to backup and have it automatically do it at a time that i set.
neok44 said:
so i've gone through my whole sd card trying to figure out exactly how much data really needs to be backed up, and it's not much. biggest thing ist he 1.5GB CWM backup. everything else is pretty tiny.
so i'm thinking of giving the cloud a try.
are there any that anyone can recommend? I'm hoping for one that i'll be able to choose what folders to backup and have it automatically do it at a time that i set.
Click to expand...
Click to collapse
I like dropbox + the DropSync app - best two-way cloud sync I've found yet.
Assuming you can get an MTP connection with your pc then try copying across the sdcard folders 1 at a time to back them up. First time I tried to back up the entire contents in a single go it seemed like it was stalled but it was actually just trying to work out how long it would take before starting and probably would have succeeded if left long enough. Copying the android folder and sometimes stall a copy so do that last.
Alternatively if you dont want to use cloud storage (which would take quite some time depending on upload speeds) you could try the backup option in my ToolKit which uses the latest version of adb and will give you an option to include internal storage in the backup file. Just make sure to check the backup file size after it completes as that function is a bit buggy in adb and has been known not to restore everything such as pictures and music so copy across what you can before starting.
Mark.
Thanks to both of you. I was able to do files one at a time and get them over. and luckily nothing was that big, except for the CWM backups. freaking 1.5GB, that alone is the reason why i wish i had a 32GB phone.
good to know that the toolkit has that option. i'll be sure to use that if i ever need to do a full backup in a hurry.
The dropbox dropsync solution sounds interesting and i'm gonna give that a try. basically i'm just trying to make sure my backup files from apps that don't use cloud syncing will be secure in case something ever goes wrong. with having only 13Gb in the phone i'm keeping most of my big stuff like movies in a 32gb microsd that i'm connecting with an OTG cable.
Although I don't think the tone of the first line of your OP is conducive to soliciting help, I'll thought in my two cents anyway.
The contents of your sdcard is located in /data/media. If you connect your phone to your PC, and open a command prompt in the same directory as your ADB.exe file, the following command will copy everything from your sdcard to your PC in a folder called sdcard_backup:
adb pull /data/media /sdcard_backup
Although not speedy by any means, I've successfully backed up over 8GB this way.

No keyboard to access encrypted phone

I am running Rujelus's latest Blue Kuban ROM and after installing the most recent update, decided to encrypt my phone. I have thought about doing this for a while but did not have the time as it is a long process (1 hour +). So I went into Settings > Security, created a password and let it run through the encryption process. After about an hour the phone rebooted and a screen comes up asking for a password, which I know, but there is no keyboard on the screen! I push in the password box and all over the screen and nothing. I assume this is the accidental result of some feature of Blue Kuban, but now I have an encrypted phone and no way to access it. To restate - I KNOW the password, I just have no way to enter it on the screen.
I assume I can Odin back to stock and reset the whole phone, but I will lose EVERYTHING I was trying to protect (since all my backups are now encrypted too.) So my question is, is there any way to fix this? Perhaps something I can do in ADB? Some keypress combination that would make the keyboard appear? Anyone? Anyone?
dr_gibberish said:
I am running Rujelus's latest Blue Kuban ROM and after installing the most recent update, decided to encrypt my phone. I have thought about doing this for a while but did not have the time as it is a long process (1 hour +). So I went into Settings > Security, created a password and let it run through the encryption process. After about an hour the phone rebooted and a screen comes up asking for a password, which I know, but there is no keyboard on the screen! I push in the password box and all over the screen and nothing. I assume this is the accidental result of some feature of Blue Kuban, but now I have an encrypted phone and no way to access it. To restate - I KNOW the password, I just have no way to enter it on the screen.
I assume I can Odin back to stock and reset the whole phone, but I will lose EVERYTHING I was trying to protect (since all my backups are now encrypted too.) So my question is, is there any way to fix this? Perhaps something I can do in ADB? Some keypress combination that would make the keyboard appear? Anyone? Anyone?
Click to expand...
Click to collapse
Did you encrypt just the device or the sdcard also? Also is ADB enabled on the phone?
crawrj said:
Did you encrypt just the device or the sdcard also? Also is ADB enabled on the phone?
Click to expand...
Click to collapse
I think I just encrypted the device. (Encrypting the SD card would take a second pass, correct?). I also realized that I can access CWM, so if I could get some mod onto the SD card that can get the keyboard back, then I can flash through CWM, and I should be set.
FYI, I just plugged the phone into the USB port of the computer, and the drives appear under My Computer but when I try to access them I get "Insert a disk into removable drive E:". It does look like it is recognized under ADB. I can also take the SD card out and just stick it in my laptop if I can find a mod that will get me the keyboard back....
dr_gibberish said:
I think I just encrypted the device. (Encrypting the SD card would take a second pass, correct?). I also realized that I can access CWM so if I could get some mod to get the keyboard back onto the SD card, then I can flash through CWM, and I should be set.
FYI, I just plugged the phone into the USB port of the computer, and the drives appear under My Computer but when I try to access them I get "Insert a disk into removable drive E:". It does look like it is recognized under ADB. I can also take the SD card out and just stick it in my laptop if I can find a mod that will get me the keyboard back....
Click to expand...
Click to collapse
And you do have CWM backups right? If so they should be on the sdcard. If they are on the internal storage instead let me know and I can help you move them. I would use calkulins format all zip from cwm. After that restore your backup from CWM. You should be fixed after that.
crawrj said:
And you do have CWM backups right? If so they should be on the sdcard. If they are on the internal storage instead let me know and I can help you move them. I would use calkulins format all zip from cwm. After that restore your backup from CWM. You should be fixed after that.
Click to expand...
Click to collapse
Unfortunately, the last nandroid backup I have is pretty out of date though you're right that at least that would solve some of the problem (I wouldnt lose everything). I backed up with Titanium last night before updating the ROM, but did not nandroid.
However, I am really wondering if there is something I can flash that would make the keyboard appear on the initial screen. The Blue Kuban updater has a mod - "Restore the keyboard popup" that I think might fix this issue, however I cant figure out how to get that mod since I cant get into the phone to download it. I posted in the Blue Kuban thread and perhaps someone can download the mod and post it there.
Thanks for your help, I certainly feel more hopeful than I did when I first realized this...
dr_gibberish said:
Unfortunately, the last nandroid backup I have is pretty out of date though you're right that at least that would solve some of the problem (I wouldnt lose everything). I backed up with Titanium last night before updating the ROM, but did not nandroid.
However, I am really wondering if there is something I can flash that would make the keyboard appear on the initial screen. The Blue Kuban updater has a mod - "Restore the keyboard popup" that I think might fix this issue, however I cant figure out how to get that mod since I cant get into the phone to download it. I posted in the Blue Kuban thread and perhaps someone can download the mod and post it there.
Thanks for your help, I certainly feel more hopeful than I did when I first realized this...
Click to expand...
Click to collapse
I have never messed the the encryption so I don't know if this is possible, but if that doesn't work you might try to install a stock rom from CWM and see if that gives you the keyboard back.
crawrj said:
Since your sdcard isn't encrypted you should be able to copy the mod there and install it from CWM. Just put it in the computer and copy the Mod to it.
Edit: Nevermind I see is isn't a zip file now.
Click to expand...
Click to collapse
I think it IS a zip, I just don't know how to get to it other than through the updater which is built into the ROM. Typically, all the files in the updater download to your SD card as zip files and then the phone will reboot and install them in CWM automatically. I just need someone to download the mod on their phone running Blue Kuban and then post it here so I can copy it to my SD card and install it. (That's assuming it really does fix this issue.) I posted over in the Blue Kuban thread so hopefully someone takes pity on me and puts it up there...
dr_gibberish said:
I think it IS a zip, I just don't know how to get to it other than through the updater which is built into the ROM. Typically, all the files in the updater download to your SD card as zip files and then the phone will reboot and install them in CWM automatically. I just need someone to download the mod on their phone running Blue Kuban and then post it here so I can copy it to my SD card and install it. (That's assuming it really does fix this issue.) I posted over in the Blue Kuban thread so hopefully someone takes pity on me and puts it up there...
Click to expand...
Click to collapse
I changed my previous post with another possible option if that doesn't work.
Installed Kuban and pulled the zip for you. Attached
crawrj said:
Installed Kuban and pulled the zip for you. Attached
Click to expand...
Click to collapse
Totally appreciated your doing this and, unfortunately, total fail. Installed fine, booted back up, still no keyboard on the initial screen. Now I am wondering, even if I restore a nandroid, am I going to face the same thing at boot up?
I just tried to nandroid backup my current setup so I can at least get back to it, and, as I should have guessed, it fails ("Can't mount /data") because it is encrypted. What's more, my old CWM backups are on the internal SD card and so I cant access those either. I think I am screwed. I just hope I can Odin back to stock without a problem. Thanks again for your help, that was above and beyond....
EDIT: For anyone else who might run into this situation, I WAS able to Odin back to a full stock FF18, but everything else I tried failed. (e.g. flashing a "no data" rom through Odin, flashing anything through CWM) I lost all my data on the internal SD card and cant even remember everything I lost. Only bright point is that I have a recent Titanium backup on my external SD card which is solid, so I should be able to get some of my app data, texts, etc back.
dr_gibberish said:
Totally appreciated your doing this and, unfortunately, total fail. Installed fine, booted back up, still no keyboard on the initial screen. Now I am wondering, even if I restore a nandroid, am I going to face the same thing at boot up?
I just tried to nandroid backup my current setup so I can at least get back to it, and, as I should have guessed, it fails ("Can't mount /data") because it is encrypted. What's more, my old CWM backups are on the internal SD card and so I cant access those either. I think I am screwed. I just hope I can Odin back to stock without a problem. Thanks again for your help, that was above and beyond....
Click to expand...
Click to collapse
For your backups. Once the phone is up connect to it from adb. once in adb shell do cp -r /sdcard/clockworkmod /sdcard/external_sd/ This will probably take a while so just be patient until it completes.
What I would try first is to install a stock rom via zip. See if it installs and fixes the keyboard issue.
If that doesn't work, Odin an image that doesn't wipe data and see what happens.
If that fails, do a full Odin restore.
I just ran into this problem myself. I Odin'd the FH13 rooted stock rom, installed CWM and FI25, everything seemed to be fine and then I ran the encryption. After the reboot my keyboard was inaccessible and I can't seem to make it come up.
Even if this was working, Android with encryption seems unusable. I can't imagine having to enter a password EVERY TIME I unlock my phone. I guess I won't be checking work email after all! :laugh:
Grrrrrrreat! So because I could not get a keyboard to show up after encryption I decided to flash to another ICS build, and now I'm getting a "blank USB Storage" notification. I didn't encrypt my SD card; just the phone! I even installed the ROM from the external SD card, and when I reboot to CWM I can access it.
Anybody have any ideas?
I thought USB storage was the internal SD?
sent from my BAD A$$ Epic touch

[Q] GNex stuck at bootup screen - how to recover files?

After a dead battery earlier today, my phone is stuck at the 'X' bootup screen. The phone is rooted and has a custom ROM on it that I did not do myself, someone else did it over a year ago.
I got into recovery mode and clockworkmod recovery v6.0.0.5. I tried wipe cache which did not fix the problem. I assume that I have to do the wipe data/factory reset option, is that right?
If so, how can I get my pictures and videos off the phone first? A fuller backup with SMS and so on would be nice as well.
I did a 'Nandroid' backup just now in CWM and it completed successfully, but I don't know where it went, it talked about an sd card but of course there is none. I would think whatever backup I made will be wiped away if I do the factory reset option.
When I plug in the USB in this recovery mode, my PC says it could not install the drivers correctly. I tried installing the drivers from samsung's website and it did not help.
Any help is greatly appreciated!
Ok, I have made a little progress I think. I got drivers and fastboot and adb files. I can now connect over fastboot in the bootloader and adb in clockworkmod. Now I am trying to figure out how to get my files.
Also I'm not clear on what is next. Can I just use the factory reset option in CWM and then everything will be fine?
Success! I used adb pull and got my entire sdcard directory which at least includes pics and vids.
Now what about SMS and MMS? And is there any chance of restoring all my apps and settings and everything? I assume that replicating everything would run the risk of just having another boot loop error! Not sure what to do or if I need to figure out how to flash a new ROM or what.
thor_ said:
I assume that replicating everything would increase the risk of just having another boot loop error!
Click to expand...
Click to collapse
Correct.
a maguro wrote this.
thor_ said:
Success! I used adb pull and got my entire sdcard directory which at least includes pics and vids.
Now what about SMS and MMS? And is there any chance of restoring all my apps and settings and everything? I assume that replicating everything would run the risk of just having another boot loop error! Not sure what to do or if I need to figure out how to flash a new ROM or what.
Click to expand...
Click to collapse
A factory reset erases everything on your phone EXCEPT nandroid backups and pics, music, etc on your sd card. You say you have no sd card but it is probably just not removable on your phone. Nandroid backups are saved on the sd card where they wont be erased. Texts, call history, etc are gone...just let them go, nbd. For future reference there are tons of apps that back up everything you want and you can set them to back up your stuff every day (titanium backup, eg).
sd0070 said:
A factory reset erases everything on your phone EXCEPT nandroid backups and pics, music, etc on your sd card. You say you have no sd card but it is probably just not removable on your phone. Nandroid backups are saved on the sd card where they wont be erased. Texts, call history, etc are gone...just let them go, nbd. For future reference there are tons of apps that back up everything you want and you can set them to back up your stuff every day (titanium backup, eg).
Click to expand...
Click to collapse
Thank you so much for the replies.
To confirm: I now have to adb push a rom file to my sdcard and then install from CWM.
What I have been trying to figure out is whether there is a stock ROM I can flash using this method? If not some other rom will be fine.
sd0070 said:
A factory reset erases everything on your phone EXCEPT nandroid backups and pics, music, etc on your sd card.
Click to expand...
Click to collapse
not true.
a factory reset in a custom recovery leaves these items, if you had stock recovery, it would wipe the device.
---------- Post added at 09:56 AM ---------- Previous post was at 09:55 AM ----------
thor_ said:
Thank you so much for the replies.
To confirm: I now have to adb push a rom file to my sdcard and then install from CWM.
What I have been trying to figure out is whether there is a stock ROM I can flash using this method? If not some other rom will be fine.
Click to expand...
Click to collapse
if you want to flash the stock rom, use fastboot and the factory google images
you can adb push a custom rom over and flash it that way.

Default camera app can't save photos or videos

I have a D855K (Telstra Australia). I recently upgrading to 10i, using the firmware: LG-D855 A6KG D85510i 00_6 16GB Hong Kong http://csmgdl.lgmobile.com/dn/downloader.dev?fileKey=FW436606432109876543213/D85510I_00.kdz
Before the upgrade, I backed up in LG PC Suite, then imaged with a full wipe, and then restored the backup via LG PC Suite again.
I now can't take photos or videos with the native camera app (haven't tried any third party apps yet). Photos just fail silently, and videos say "Failure to write". I've done some googling, and people having complained about 4.4.x breaking the ability to write to SD cards, but I don't have an SD card in my device. It's just internal storage. Also note that I haven't rooted the phone since the firmware update.
Has anyone else had this issue, or can provide any advice at all? I'm going to get a third-party camera app to see if that can at least let me take some pics if I need to in the meantime, but I would like a fix not a workaround.
Cheers.
I just installed Camera360 and it has the same issue. With photos, both apps save a thumbnail with nothing in it, then warn that the album has changed and you need to refresh the folder. When I do, the folder is empty.
Initially I was running 10d, then then 10b because of a boot loop issue. So it could be a range of things causing this
The Camera360 app works fine (ie can save pictures) if I change the folder to DCIM, instead of DCIM/Camera.
I have used Purpledrake to root my device, and installed a Terminal app. I can navigate into DCIM, but can not do anything at all with the Camera folder. I can't navigate into it, delete it, chmod or chown it. It appears to have all the same permissions as every other folder under the emulated sdcard, but refuses to do anything. I haven't tried it via adb but I doubt it would make any difference.
Any thoughts would be greatly appreciated.
I managed to run e2fsck, and it appears that my data partition has some corruption. But e2fsck can't fix it unless the partition is unmounted. I set up adb but couldn't get to a point where the partition (/dev/block/platform/msm_sdcc.1/by-name/userdata) was not in use. I booted into recovery (adb reboot --bnr_recovery) and it still mounts the /data partition, and on top of that I don't seem to be able to elevate to root. I am only new to the Android ecosystem, so please forgive any ignorance. My google-fu doesn't appear be very helpful either. Any suggestions welcome.
Have you got the nandroid backup?? If so, How about restoring it back?... Have you tried it?? Hope it works...
mustang2012 said:
Have you got the nandroid backup?? If so, How about restoring it back?... Have you tried it?? Hope it works...
Click to expand...
Click to collapse
I was under the impression I couldn't do a nandroid backup until I had a recovery rom installed, which isn't available for the D855 yet... since the partition appears to be corrupted, I suspect formatting the data partition would solve the problem. But I don't really want to lose the customisations I've done. I wouldn't be surprised if the LG PC Suite backup is like an image of the partition, which means it might restore the corruption if I used it.
aussiewan said:
I was under the impression I couldn't do a nandroid backup until I had a recovery rom installed, which isn't available for the D855 yet... since the partition appears to be corrupted, I suspect formatting the data partition would solve the problem. But I don't really want to lose the customisations I've done. I wouldn't be surprised if the LG PC Suite backup is like an image of the partition, which means it might restore the corruption if I used it.
Click to expand...
Click to collapse
Tethered twrp recovery could have you saved your nandroid backup which then you be go back to fully functional status of your phone... Sorry I am new to LG G3 myself coming from galaxy s4.
I looked into those recovery boots but it seemed a bit more complicated than I could be bothered with at the time. The thing is, my phone is still fully operational. The only thing is that the Camera folder appears to be corrupt. Even just changing the path that the default camera app saves to would fix the visible issue, however the corrupt filesystem means I could be in for a lot more pain if I can't sort that out. I'm hoping that someone can point me in the right direction to be able to use e2fsck on the data partition (I think all I need to be able to do is unmount the partition so it's not in use). Otherwise, formatting the data partition will likely be the solution, which I'm trying to avoid.
aussiewan said:
I looked into those recovery boots but it seemed a bit more complicated than I could be bothered with at the time. The thing is, my phone is still fully operational. The only thing is that the Camera folder appears to be corrupt. Even just changing the path that the default camera app saves to would fix the visible issue, however the corrupt filesystem means I could be in for a lot more pain if I can't sort that out. I'm hoping that someone can point me in the right direction to be able to use e2fsck on the data partition (I think all I need to be able to do is unmount the partition so it's not in use). Otherwise, formatting the data partition will likely be the solution, which I'm trying to avoid.
Click to expand...
Click to collapse
No expert here but have you tried restore upgrade errors with pc suite. Hopefully will fix your problems and it doesn't wipe your phone. So you will just have to reroot afterwards.
p70shooter said:
No expert here but have you tried restore upgrade errors with pc suite. Hopefully will fix your problems and it doesn't wipe your phone. So you will just have to reroot afterwards.
Click to expand...
Click to collapse
A good suggestion! I tried to use that feature a week or so ago when I have my phone in a reboot loop. Unfortunately it only said "You have the latest version of the software, go away". It was a little politer than that, of course, but my response was not polite at all. I will give it a go again tomorrow when I have access to the same computer I was doing it with before, and see how I go. I'm not hopeful that it will help, but worth a shot.
aussiewan said:
A good suggestion! I tried to use that feature a week or so ago when I have my phone in a reboot loop. Unfortunately it only said "You have the latest version of the software, go away". It was a little politer than that, of course, but my response was not polite at all. I will give it a go again tomorrow when I have access to the same computer I was doing it with before, and see how I go. I'm not hopeful that it will help, but worth a shot.
Click to expand...
Click to collapse
Was that using restore upgrade errors tho or software update? It worked for me when I was having continuous f/cs when I bootlooped I had to use the flashtool. Can't wait for a custom recovery
It was the Restore Upgrade Errors option. Part of the problem is that there have been no OTA updates for my phone. Checking that XML file at LG shows no firmware at all. I think that cripples the repair functionality a bit.
aussiewan said:
It was the Restore Upgrade Errors option. Part of the problem is that there have been no OTA updates for my phone. Checking that XML file at LG shows no firmware at all. I think that cripples the repair functionality a bit.
Click to expand...
Click to collapse
Ah ok, bummer. How about flashing the kdz again or a different one without wiping, that might do it, its sort of the same process.
p70shooter said:
Ah ok, bummer. How about flashing the kdz again or a different one without wiping, that might do it, its sort of the same process.
Click to expand...
Click to collapse
Unfortunately I don't think the OS partition is the problem. I don't have force quits or the like happening. It's the data partition that has some corruption. I can run e2fsck in no-change mode and it tells about a range of issues. But I can't fix them unless the partition is not in use. Doing anything that keeps the data partition intact, eg flashing the firmware, is not likely to resolve the problem.
Well, I'm flashing the firmware again. I changed the runtime from Davlik to ART after some reading, and the phone stuck at the LG boot logo. I will not restore the backup I did last week, in the hopes that it doesn't screw up the data partition again. At least I get to have some fun tweaking the OS again I guess...
And I can successfully take photos again!
I am still interested to hear if anyone knows of a non-destructive way to fix this kind of issue. e2fsck is on the device, but I can't seem to run it. I'm using Linux knowledge here, but is there a way to set a dirty flag on the partition so that the OS automatically runs e2fsck on next boot?
aussiewan said:
And I can successfully take photos again!
I am still interested to hear if anyone knows of a non-destructive way to fix this kind of issue. e2fsck is on the device, but I can't seem to run it. I'm using Linux knowledge here, but is there a way to set a dirty flag on the partition so that the OS automatically runs e2fsck on next boot?
Click to expand...
Click to collapse
May you tell us how did you fixed it?
As per my post directly before the one you quoted, I had to re-flash my phone to recover from changing the runtime from Davlik to ART (it got stuck at the boot logo). I chose not to restore my backup, which may have re-introduced the problem. A full wipe of a phone will fix a lot of problems... but as I said, it would be nice to know of a less destructive way to do it.
Fix!
Probably a bit late but adding this in case anyone else has the issue.
To fix it on a rooted device, enter TWRP recovery, go to Wipe > Advanced Wipe
Select Internal Storage. and swipe to wipe. (this will delete everything on the Internal "sdcard". That is not apps or settings, but it is saved files and some game files etc.

Categories

Resources