I missed accidentally delete all data on the storage.
I see many applications for data recovery required to root, but if root had to unlock bootloader before, if unlock bootloader it will wipe all data. Which may make recovery more difficult.
Are there better solution?
(I just want to recover the photos is enough.) T__________T
Jatiyanon said:
I missed accidentally delete all data on the storage.
I see many applications for data recovery required to root, but if root had to unlock bootloader before, if unlock bootloader it will wipe all data. Which may make recovery more difficult.
Are there better solution?
(I just want to recover the photos is enough.) T__________T
Click to expand...
Click to collapse
There is no real solution for you.
I wrote about it here:
http://forum.xda-developers.com/google-nexus-5/general/info-storage-nexus-5-data-info-loss-t2534010
Related
I've unlocked the bootloader on a HTC Desire 510. This triggered a wipe. Afterwards, I wiped the system using the recovery. I had some photos on the internal SD card that I need to recover ASAP. Currently, the phone doesn't have any ROM, and I can only access it through fastboot and adb (adb in Phillz recovery). I've tried pulling the images from /sdcard/DCIM, but it doesn't pull anything, saying that no files are there.
I'm thinking of running photorec on the phone, but since it's the internal SD card, I can't mount it to the PC from the recovery. I thought of putting a ROM .zip on an sdcard and flash it, but I'm afraid that a flash would make recovery impossible. Is there a way I can dump the internal sdcard image just through fastboot and adb? Any ideas would also be most welcome.
Dafta said:
I've unlocked the bootloader on a HTC Desire 510. This triggered a wipe. Afterwards, I wiped the system using the recovery. I had some photos on the internal SD card that I need to recover ASAP. Currently, the phone doesn't have any ROM, and I can only access it through fastboot and adb (adb in Phillz recovery). I've tried pulling the images from /sdcard/DCIM, but it doesn't pull anything, saying that no files are there.
I'm thinking of running photorec on the phone, but since it's the internal SD card, I can't mount it to the PC from the recovery. I thought of putting a ROM .zip on an sdcard and flash it, but I'm afraid that a flash would make recovery impossible. Is there a way I can dump the internal sdcard image just through fastboot and adb? Any ideas would also be most welcome.
Click to expand...
Click to collapse
flashing a new ROM.zip will only delete everything for sure.
I'm sory to say it, but by my knowledge there's only one way to recover them, and that's by recovering a backup on recovery mode.
I hope you did make a backup before unlocking your bootloader. If you didn't, I think there's not very much you can do :s
anyway, please remember to ALWAYS make a recovery backup before doing anything in recovery.
louis-JYG4t said:
flashing a new ROM.zip will only delete everything for sure.
I'm sory to say it, but by my knowledge there's only one way to recover them, and that's by recovering a backup on recovery mode.
I hope you did make a backup before unlocking your bootloader. If you didn't, I think there's not very much you can do :s
anyway, please remember to ALWAYS make a recovery backup before doing anything in recovery.
Click to expand...
Click to collapse
What kind of backup??
For a nadroid backup you need a custom recovery, and to flash a custom recovery you need a unlocked bootloader...
Newyork! said:
What kind of backup??
For a nadroid backup you need a custom recovery, and to flash a custom recovery you need a unlocked bootloader...
Click to expand...
Click to collapse
but he said he whiped the system using a recovery?
louis-JYG4t said:
but he said he whiped the system using a recovery?
Click to expand...
Click to collapse
Yes, AFTER I unlocked the bootloader. There were all in all two wipes, although the second one was only /data and /cache.
I did a backup using adb, but to my knowledge, that's only a backup of the apps and their data.
When you unlock a bootloader phone, you lose everything, including photos, musics, etc.
Do you have a backup of your files?
Sorry bad english
If I were you, I would restore the backup with adb and see if you have your photo's back.
Otherwise I have no idea for how you can restore them sory...
louis-JYG4t said:
If I were you, I would restore the backup with adb and see if you have your photo's back.
Otherwise I have no idea for how you can restore them sory...
Click to expand...
Click to collapse
Why does nobody read my OP? I said the phone doesn't currently have a ROM on it. I can't restore that backup.
I'm going to flash busybox, a 300kb zip file that probably won't overwrite too much data, and use dd to get what I need.
If you have an adb backup of your files in the pc, you can extract it and get your photos back
Does anyone know how to clear the cache partition of this phone? Samsung phones have this option in the recovery where you could clear the cache partition (you don't even need to be rooted for this). I was wondering if there is a Xperia equivalent.
Thank you.
MantaYunkio said:
Does anyone know how to clear the cache partition of this phone? Samsung phones have this option in the recovery where you could clear the cache partition (you don't even need to be rooted for this). I was wondering if there is a Xperia equivalent.
Thank you.
Click to expand...
Click to collapse
Go to settings -> storage & memory -> click on 3 dots on right top corner and pick advanced -> Storage -> Internal shared storage -> once system calculate tap on Cached data it will ask if you want to clear it tap ok and you are done.
If you have unlocked bootloader and TWRP flashed you can do it from TWRP.
pk-air said:
Go to settings -> storage & memory -> click on 3 dots on right top corner and pick advanced -> Storage -> Internal shared storage -> once system calculate tap on Cached data it will ask if you want to clear it tap ok and you are done.
If you have unlocked bootloader and TWRP flashed you can do it from TWRP.
Click to expand...
Click to collapse
Hi. this only clear the app caches not cache partition (totally different). To do so :
Wiping the Cache Partition:
In case your handset is not working correctly and you're considering master resetting, then you might want to try and wipe the cache partition before doing so. Wiping the cache partition will not remove personal data stored on your handset's internal memory.
1:While the device is powered on, press and hold the "Volume Up" and "Power" keys
2:Wait for the display to shut down and for your handset to vibrate once
3:Release the keys once that happened, then press the "Power" key to turn on your device
You press the power button and volume up button simultaneously. Keep them pressed until the phone vibrates three times, then reboot.
The descreibed procedures here HARD reset the device (like pulling the battery). They do not clear the cache partition.
The easiest way to clear the cache partition would be via TWRP. On rooted phones you also could su in adb shell and then format the partition.
Note: the "cache" for each app is on the data partition.
Use a file manager and look into ../Android/data/-app-/cache : you will find the same amount of storage used as if you looked into "app info"->storage
DHGE said:
The descreibed procedures here HARD reset the device (like pulling the battery). They do not clear the cache partition.
The easiest way to clear the cache partition would be via TWRP. On rooted phones you also could su in adb shell and then format the partition.
Note: the "cache" for each app is on the data partition.
Use a file manager and look into ../Android/data/-app-/cache : you will find the same amount of storage used as if you looked into "app info"->storage
Click to expand...
Click to collapse
Exactly, what was described down there is nothing more but a hard reset if you device locks up and freezes.
But to use TWRP you'd need to root the device, right?
So, basically, there's no way to wipe cache partition without root?
Atrax2010 said:
But to use TWRP you'd need to root the device, right?
So, basically, there's no way to wipe cache partition without root?
Click to expand...
Click to collapse
Kind of.
With UNLOCKED bootloader (backup TA first!) you can boot TWRP and then wipe the cache partition.
fastboot boot twrp.img
DHGE said:
Kind of.
With UNLOCKED bootloader (backup TA first!) you can boot TWRP and then wipe the cache partition.
fastboot boot twrp.img
Click to expand...
Click to collapse
I see, so if you have unlocked bootloader, you cant temporarily boot into custom twrp recovery and wipe cache partition, but the TWR doesn't actually get flashed over stock recovery? It reverts to stock once you restart?
I'm interested in this procedure, I'm pretty sure my bootloader is unlocked, I bought the phone directly from Sony, it's SIM-unlocked so I guess the bootloader is unlocked as well.
Let's say it is and I go on with the procedure, does in it any way affect the stock bootloader and maybe void warranty?
My Rooting status says "Bootloader unlock allowed: Yes". Not sure if that means that it's unlocked or that it's locked but I can unlock it.
Atrax2010 said:
I see, so if you have unlocked bootloader, you cant temporarily boot into custom twrp recovery and wipe cache partition, but the TWR doesn't actually get flashed over stock recovery? It reverts to stock once you restart?
I'm interested in this procedure, I'm pretty sure my bootloader is unlocked, I bought the phone directly from Sony, it's SIM-unlocked so I guess the bootloader is unlocked as well.
Let's say it is and I go on with the procedure, does in it any way affect the stock bootloader and maybe void warranty?
My Rooting status says "Bootloader unlock allowed: Yes". Not sure if that means that it's unlocked or that it's locked but I can unlock it.
Click to expand...
Click to collapse
Its locked....But you can unlock it. SIM unlock and bootloader unlock are completely different. You will never buy a device from direct from Sony that has its bootloader already unlocked.
If you unlock the bootloader you void your warranty immediately.
Atrax2010 said:
if you have unlocked bootloader, you can temporarily boot into custom twrp recovery and wipe cache partition, but the TWR doesn't actually get flashed over stock
My Rooting status says "Bootloader unlock allowed: Yes". Not sure ...
Click to expand...
Click to collapse
You should really read my [GUIDE]. Especially the section about TA-Backup.
There are also many links in the Guide if you want to learn and understand (and be surer) follow them.
My Nexus 5 is stuck in a bootloop where it says "Optimizing app x of y" and then reboots and repeats this endlessly. I'm not particularly concerned with getting the phone working, I only care about recovering the data on the phone. All the suggestions I've seen involve factory resets which wipe the data. How can I recover my data?
Is the bootloader unlocked? Did you enable usb debugging? Tried wiping cache in recovery?
audit13 said:
Is the bootloader unlocked? Did you thanks usb debugging? Tried wiping cache in recovery?
Click to expand...
Click to collapse
I'm not sure about the bootloader or usb debugging. Is there a way to verify? I have tried wiping the cache but it had no effect.
When you boot the phone, do you see the unlocked padlock at the bottom of the screen? If not, the bootloader is locked.
audit13 said:
When you boot the phone, do you see the unlocked padlock at the bottom of the screen? If not, the bootloader is locked.
Click to expand...
Click to collapse
Unlocked padlock is there, so I guess the bootloader is unlocked.
You can try flashing twrp, boot in twrp, mount data partition, and pull off data. As with any flashing process, things can go wrong which can result in the total loss of data.
What data do you need from the phone?
I have the same problem,
but the bootloader unlocks and locks again after rebooting,
I tried to flash in different ways but I didn't have any results, I did fastboot recovery twrp.img and I managed to get into this recovery, but twrp asks me for my password(i dont have any password), and if I try to format this appear cant mount/cant open cache
Do I need to change my motherboard?
If you can run Teamwin recovery then do a backup, then copy that onto your computer, then wipe data, cache, system, dalvik cache
after this, download any kitkat rom, gapps, and flash it
boot it up, install Titanium backup anow you can recover every app from nandroid backup (menu > special backup)
then backup every app again with titanium backup (menu > batch actions > backup all user apps)
Finally you can wipe your phone again and install any rom you want and recover every app with titanium backup
Why first an kitkat rom? because you can't extract from a nandroid since android 5, but the normal titanium backups work fine
---------- Post added at 04:29 PM ---------- Previous post was at 04:21 PM ----------
_MOE_ said:
I have the same problem,
but the bootloader unlocks and locks again after rebooting,
I tried to flash in different ways but I didn't have any results, I did fastboot recovery twrp.img and I managed to get into this recovery, but twrp asks me for my password(i dont have any password), and if I try to format this appear cant mount/cant open cache
Do I need to change my motherboard?
Click to expand...
Click to collapse
that seems like your filesystem is corrupt or the nand itself. Your phone is not unlocked so I think theres no solution :/ yeah replacing will help
That could be the solution, but I think that's only possible when you're unlocked: https://forum.xda-developers.com/showpost.php?p=76757221&postcount=2
If the bootloader relocks itself when the phone is rebooted, the internal memory chip is damaged and will require a motherboard replacement.
When I start the unlock tool, it says that i might loose all the data. Guys who have already unlocked, did it wipe out your phone?
It did. I had my mi cloud synced right before I unlocked so I got to restore my data after unlocking
Yes. Unlocking procedure will clean all data including internal storage (files, images, songs, documents, ROMs and all).
It did for me.
Yes. But I guess it was because of installing twrp. That screen that pops up the first time you install twrp, where you allow modifications/write permission to internal storage, I guess that's what erases the data on internal storage. Don't know if merely unlocking would do that.
Yes it wiped the internal storage.
Also had to manually wipe it through the fastboot for the sake of twrp as mentioned in the other thread.
Unlocking will always reset your phone, irrespective of android version or phone model.
So I want to recover files I mistakenly deleted recently on my currently unrooted phone. I've tried using DiskDigger, but it can only scan photos, and can only recover so much. Rooting can help, but I've learned to root my phone it has to factory reset (which wipes my phone upon unlocking). My question is, is it still worth it to root the phone to recover my files? I'm just afraid it would overwrite the recently deleted files when I reset the phone.
My phone is a Pocophone F1. Thanks a lot for your answers!
To root that phone, you need to unlock the bootloader. But this triggers a wipe, and the decryption key will be discarded, making any data recovery impossible.
jisoo said:
To root that phone, you need to unlock the bootloader. But this triggers a wipe, and the decryption key will be discarded, making any data recovery impossible.
Click to expand...
Click to collapse
So the data is basically unrecoverable? That's pretty sad
even with root access its hard to recovery deleted files from encrypted storage