[Q] Xperia Z completely wiped! - Android Q&A, Help & Troubleshooting

I've recently installed 4.2.2 on my Xperia Z (build number 10.3.A.0.423) stock with full root and dual recovery using NUT's instructions here: http://forum.xda-developers.com/showthread.php?t=2337433. Everything went fine and I'd been using it a few days until today when I noticed all the files/folders on my internal sd had been moved from 'emulated/0' to 'emulated/0/0', and a whole new set of folders had been created in 'emulated/0'. I decided to move all files and folders from /0/0 to /0 as this was where all new files were being stored since I installed the new firmware. Everything was still ok at this point. I then connected my phone to my Windows laptop and noticed that the folder 'sdcard/storage' was showing as literally empty in the file explorer. All my other files were visible in the /0 folder so I deleted the /storage folder (it was showing as empty). I then noticed that the location of the files on my phone did not correspond with where they were showing in Windows explorer (When I added a test file on my phone to 'emulated' it appeared in 'sdcard/0/legacy' (or something similar) in Windows - basically a right mess!). I then noticed I'd cleared my internal SD card completely, so rebooted to CWM to restore my backup from a few days ago. The backup should have been on the EXTERNAL SD but CWM was saying no backup found. So I then rebooted and noticed that both INTERNAL and EXTERNAL SD's were completely wiped, other than a few essential files that Android had added to the Internal. I talking GB's of photos, music, videos etc.
I know I'm not going to them all back but I just want to know what happened so I never do it again. Why did the file locations not correspond with Windows? Why did an 'empty' folder turn out to be the one with everything in? And why was my external SD (which held all my personal files!)wiped when at no point did I ever edit anything in this??
Very confused, I'd be grateful if anyone could shed some light on this....

Related

[Q] Howto reset SD-card to factory default?

Sorry for my bad english (or Google translate's bad norwegian)
I have this great phone, but got a better phone from my job. And in Norway we have the right to refund the purchase for no reason within 14 days.
The problem is that I need to hand the phone back in almost the same condition and quantity. Therefore I think the phone must be returned with the same content on the SD card.
Any suggestions for how it can be solved?
Well, as far as I remember about my original microSD card, everything is created by the phone as you use it, except for the "LG PCSuite IV" folder (I'm not sure about the name) which must be copied and installed on PC in order to connect the phone to the PC for updates, backups and similar stuff. So that's all you need to grab, I think.
in that folder there are also usb drivers
Thanks for the quick reply. I put the memory card in the computer and looked at creation dates. Here I have a list of folders on the root of the memory card that was created before I got the phone. The dates bellow are written on the Norwegian way (dd.mm.yyyy).
18.09.2010 14:15 <DIR> LGPCSuiteIV
06.01.1980 00:20 <DIR> LOST.DIR
06.01.1980 00:20 <DIR> Android
LOST.DIR folder is empty. But should I keep something from the folder Android? I guess it's because it was created before I had set the date of the phone.
I also noticed that the folder /Android/data was created after I got the phone but the folder /Android/data/com.cooliris.media was created in 1980. I think this is strange, so how much can I rely on the creation date?
Do not worry about the creation date, nor about the Android folder. That folder keeps temporary and cache data for various applications, offline maps for Google Maps and so on. None of this is crucial for your phone, because the phone creates and replaces the data as you use it. So, here's how I would do:
- copy LGPCSuiteIV on a computer
- unmount SD card (from Settings - SD card & phone storage)
- format SD card
- mount SD card
- factory data reset (from Settings - Privacy)
- copy LGPCSuiteIV back on the card.
With these steps, the phone should be like brand new and missing nothing.
does the in-menu formatting rebuild the ext2 partition on the original sd, if you have ext4 before formatting?

Video Files randomly disappear off sd card?

So I have an sdcard in my Nook tablet... 16gb sandisk.. brand new
I put some divx avi movies on the card in the "MyFiles/Videos"
All was fine and mx player played them fine
Then I needed to do the 1.4.0 rollback so I did a full wipe "Deregister and Erase"
That apparently deletes all files in the "MyFiles" subfolder in both the main unit AND your sdcard.
So I had to add them back after I was re-rooted and now put them into a new folder in the root of the sdcard called "Videos"
But again.. after a reboot of the device without erasing anything... I lost all the videos in there. Anyone else seeing this?
All my other files are still there. I have a folder of apk files that the market won't show me like Amazon TV apk and stuff and those remain untouched. But its like any videos folder get hunted down and erased
Gonna rename it to myvidz and hope for the best.
Make sure it's in /sdcard/My Files and not /media/My Files.
I'm a noob to android, but I thought I would share something along the same lines.
Initially I also seemed to feel that files I copied to the sdcard would appear and disappear in the custom B&N library viewer. The thing that fooled me in the library is it lists My Nook | Memory Card. I assumed this was a the hierarchy / crumbs links path to the sd card, but eventually I realized that this is a toggle menu to switch between internal and sd card memory which ever one is darker is active.

.android_secure

Hello all, could not find this problem in search, so.
I bought a 32gb to replace the 8gb I was using, and im having trouble moving the files from .android_secure to the new card.
i copied files in usb mode from the galaxy to my computer and then swapped the sd cards , then tried to copy stuff back. but it just aint working , windows shows everything copys over except the .android_secure dir that is. my device will not recieve the files. and some other stuff in just plain dir's are not found when using root explorer. WTF is going on here.
Can anybody please help.
Thank You
WarrantyVoided said:
Hello all, could not find this problem in search, so.
I bought a 32gb to replace the 8gb I was using, and im having trouble moving the files from .android_secure to the new card.
i copied files in usb mode from the galaxy to my computer and then swapped the sd cards , then tried to copy stuff back. but it just aint working , windows shows everything copys over except the .android_secure dir that is. my device will not recieve the files. and some other stuff in just plain dir's are not found when using root explorer. WTF is going on here.
Can anybody please help.
Thank You
Click to expand...
Click to collapse
Have you tried doing all your copying on a PC? I mean, taking your 8GB to a PC... copying files to a temp folder. Putting the 32GB card into the PC and copying all your files to the new card. I have always done this and I had no issues with folders not copying properly.
WarrantyVoided said:
Hello all, could not find this problem in search, so.
I bought a 32gb to replace the 8gb I was using, and im having trouble moving the files from .android_secure to the new card.
i copied files in usb mode from the galaxy to my computer and then swapped the sd cards , then tried to copy stuff back. but it just aint working , windows shows everything copys over except the .android_secure dir that is. my device will not recieve the files. and some other stuff in just plain dir's are not found when using root explorer. WTF is going on here.
Can anybody please help.
Thank You
Click to expand...
Click to collapse
Like the pserson above me said, have you tried on the PC? Also when you do copy it over on PC make sure that you have all administrative rights on your computer so it can go through.
I know this is a tad old, but A nandroid backup such as done by 4EXT Recovery or even ClockworkMod should backup the .android_secure folder/partition/etc (in 4EXT Recovery when you do a backup, it saves the boot, system, data, cache, sd-ext/sd-ext2 into a backup which can be then be copied over to a new card after you partition it how you want, then run the restore process).
Likewise you could probably tarball it via adb shell in order to transfer it across file systems that do not support linux permissions and ownership flags.

[Q] Problems creating/copying files

I'm using a Sero 7 Pro with dolorespark's ROM http://forum.xda-developers.com/showthread.php?t=2709243 but I suspect the issues I'm having are nothing to do with the ROM, so I thought I'd ask if anyone has any ideas.
As I encrypt my devices I can't make Nandroid backups from recovery, so I use Online Nandroid Backup which lets me make CWM or TWRP backups. I've never had any problems before but now I'm unable to create the backup to my external SD. It seems to work normally but at the end of the log it shows "Error: Could not change to /mnt/sdcard2/clockworkmod/backup/2015-06-20.01.00.27. Exiting...exitcode [07]". If I make the backup to the internal SD instead it works fine but obviously that's unavailable from recovery, so it's not much use having the backup there.
So then I tried to copy it using ES File Explorer from the internal to external SD but whilst that appears to work, when I check the destination folder in ES it only shows recovery.log and if I check it from my PC it shows more files but only totalling 251MB, when the backup is actually 1.3GB.
I also found that accessing the tablet from my PC, the TWRP folder (after I made a TWRP backup) didn't appear in the folders listed, although it was fine in ES. That issue seems to be fixed after rebooting both my PC and tablet however.
Then I tried to copy the TWRP folder to my PC from Windows Explorer but that errored out and the only way I seem to be able to copy files from the internal SD to my PC is to use ES to transfer them over the Wifi with the LAN, which is obviously much slower than using USB.
So at the moment, to copy files from the internal to external SD, I have to copy them to the PC over the Wifi using ES and then copy them from the PC to external from Windows Explorer, which is rather long-winded and slow. Any ideas what could be causing these problems?
I update to DopA v2.7 which didn't fix the problems , other than that I was able to copy the clockworkmod backup from internal to external SD.
So I flashed back to stock ROM and that fixed the problem with Online Nandroid Backup, which now shows the Required Space when running the backup (before that line showed no value) and I can successfully make the backup to the external SD. However the problem with not being able to see certain files/folders in Windows Explorer persists though, so the backup I just made to sdcard1/clockworkmod/backup/date_time is not visible but the subfolders/files for the previous backups I made do appear and although I just made a backup to the internal SD, no clockworkmod folder shows at all for that in Explorer but does in ES.
So I might as well flash back to DoPA v2.7 but if anyone can help with the problems with not being able to see folders/files in Windows Explorer please let me know.

Deleted 'empty' sdcard folder, now everything is gone?

So, as the subject states. There was a folder on my phone called 'sdcard' and it was empty, so I deleted it - now all my photos and everything is gone... But, I can see the files on my computer, I think? Yet nothing opens and it can't be copied to my PC. So, how do I get everything back? Can I?
I'm on a rooted Google Pixel - Stock rom running android 8.1.
Well since it's an SD how are you viewing these files? Are you viewing them via the phone or card reader? If you pull the SD out and use a card reader virtually any data recovery program can recover deleted files. Recuva for instance.

Categories

Resources