A2 restore files after factory reset possible? - Xiaomi Mi A2 / 6X Questions & Answers

Hi,
This is my first post here, so hello to you all
So here is issue that I'm looking advice for...
I have MI A2 clean no hacks unlocks or roots with september update installed...
Two days ago looks like phone preformed factory reset by itself, I know it sounds silly and I'm not ruling out possibility that somehow I did that but i don't know how...
However, last backup I have is from January and I would really like to try rescue lost data.
Since phone is formatted I was wandering can I?
- Make image of phone flash or partitions to use PhotoRec for extracting data
I have tried few tools without success but they all do same:
- read data from existing partition -> nothing found
- want to root phone to try better extraction -> canceled that part
So here is my dilema should I?
- unlock boot
- root phone
- dump partitions with adb pull
- extract data from raw images (hopefully most of data is written sequentially)
Looks like I can't dump partitions without boot unlock+root, if I do that I lose warranty so it is not that good idea.
Can it be done somehow without boot unlock + root?
Can I even expect to read anything than trash from dumped partitions since by default phone encrypts storage and
I don't know what happens when phone is factory reset, generates new encryption keys so without old ones everything
read is trash.
Thanks for help and ideas!

Related

[Q] AT&T GS5 Data Encryption help

Hey guys i wasn't real sure where to ask this but its very important to me that i figure this out.
i have a sm-g900a and i successfully rooted the phone. i never installed bootstrap or any custom recovery mod because i didn't get that far yet. i haven't put a rom on the phone either. i recently have been put in a situation where i need to encrypt my data, remove the data and wipe it clean so that absolutely no data can be recovered. this of course i know is hard to do without destroying the memory itself haha i just need to figure out how to get as close as possible to non recoverable data as possible. now for most encryption would suffice but my encryption program is not working so i need to fix that. this being said. data encryption can be decrypted if the password is found somewhere on the system. is there a way for me to delete the data and its residue off my phone so that it is not recoverable.

[Q] Will reset delete all my files?

Hi,
Just got my new Nexus 6 64GB. Rooted and I transferred my titanium backup files from my Galaxy Note 3. Everything went fine. 3 hour later all my apps are up and running and I'm peachy.
After that I was doing some reading a I stumbled upon the tutorial on how to disable encryption. I gave it a go and upon restart it asked me for my pin number. I enter the pin and then I get the message saying that the phone has to be reset. I hit reset and after the procedure finished phone rebooted and all my files where completely wiped clean. In all my previous phones I could do a reset and keep all my downloaded and backed up files. Is there a way to do this too with the nexus or every time I screw something up I will loose everything?
Stock recovery always resets /sdcard too. Custom recovery only /data and /cache, etc.
However, ALL your data is on an encrypted file system so the only way to decrypt is by reformatting the places that contain ALL the data
rootSU said:
Stock recovery always resets /sdcard too. Custom recovery only /data and /cache, etc.
However, ALL your data is on an encrypted file system so the only way to decrypt is by reformatting the places that contain ALL the data
Click to expand...
Click to collapse
Does this apply even if I disabled the encryption?
I love the phone but this is an issue for me. Please give me your opinion on which is the best way to go. I was thinking to not install a custom recovery so I can be able to do the OTA updates even thought I never owned a phone that I didn't root and install custom recovery and ROM from day one (Only have used Samsung Note Phones all these years). Is there a ROM that is based on the Original with encryption disabled and has some good tweaks and will be updated as soon as there is an update? Thanks for your help.
slekkas said:
Does this apply even if I disabled the encryption?
I love the phone but this is an issue for me. Please give me your opinion on which is the best way to go. I was thinking to not install a custom recovery so I can be able to do the OTA updates even thought I never owned a phone that I didn't root and install custom recovery and ROM from day one (Only have used Samsung Note Phones all these years). Is there a ROM that is based on the Original with encryption disabled and has some good tweaks and will be updated as soon as there is an update? Thanks for your help.
Click to expand...
Click to collapse
All phones that have "internal storage" their stock recovery wipes "sdcard" when you factory reset.
slekkas said:
Does this apply even if I disabled the encryption?
I love the phone but this is an issue for me. Please give me your opinion on which is the best way to go. I was thinking to not install a custom recovery so I can be able to do the OTA updates even thought I never owned a phone that I didn't root and install custom recovery and ROM from day one (Only have used Samsung Note Phones all these years). Is there a ROM that is based on the Original with encryption disabled and has some good tweaks and will be updated as soon as there is an update? Thanks for your help.
Click to expand...
Click to collapse
The ROMs have nothing to do with encryption. When you want to turn encryption off, all your data will be reset, there is no way around it.
However, once you have disabled encryption, then you can stay on a stock rooted ROM, or go to any ROM you like, your internal files will not be touched (data will be deleted though). If you were to stay on the stock rooted ROM, and then accept an OTA update, your phone will automatically encrypt on first boot afterwards. Most ROMs update within a day (if not hours) after the OTA update, so best bet is to flash than to accept OTA if you want to stay unencrypted.
When you wipe your phone in recovery yo flash a different ROM, you do a custom wipe, where you uncheck "internal storage", so your files/pictures/etc don't get deleted.
The cool thing about the N6 is the restore option. If you were to completely wipe right now and go to a different ROM, on first boot, upon logging in you will be asked if you want to restore a backup (if you have enabled backup apps, data, WiFi passwords for your google account). If you select yes, all your apps will automatically be downloaded from the play store, you won't have to do it manually. However, I have seen data for the app is not restored, but you can log into most apps and most games save your progress on the cloud now.

Need to recover deleted files - NO ROOT

I mistakenly did a factory reset and I need to recover files. My device is not rooted and cannot be rooted (G925VVRU2OAF1), and the recovery tools I've come across while searching the forums require root to work fully. This also renders DiskDigger and Undelete useless to me. Is there ANY WAY possible for me to recover my files? Or I'm done for without root?
Hi
Here is your post(I mistakenly did a factory reset and I need to recover files. My device is not rooted and cannot be rooted (G925VVRU2OAF1), and the recovery tools I've come across while searching the forums require root to work fully. This also renders DiskDigger and Undelete useless to me. Is there ANY WAY possible for me to recover my files? Or I'm done for without root? )
and answer is given below
Many reasons may cause the data loss, such as, mistakenly tapping the “Delete” button when you are exploring the new features of S6.Thats why you should avoid the deleted button. The available backups is far enough to avoid data loss. To get back you can follow this link and i hope you will get your answer(http://www.jihosoft.com/android-recovery/galaxy-s6-data-recovery.html )
I feel like im in the twilight zone and there's all these body snatchers trying to make me pay 50 dollars to recover a ten minute video.
I'm in the same boat as OP. Was in Maintenance Mode and forgot that menu is select and not power. Also on OF1.
I've tried more things than I can count. My solutions thus far has been to just wait until somebody discovers a root method. Preferably something to bypass the locked bootloader altogether but...meh.
In the meantime, my S6 gathers dust as I don't want to chance overwriting anything.
Try some recovery professional app.
My wife's phone is in the similar boat.
Word from the wise- 1) turn OFF the "factory reset after 15 failed screen unlock attempts" security feature, or 2) NEVER let a young relative handle your phone when it's been locked.
My wife had already maxed out her backup storage, so there's a couple months worth of pics that are in danger of being forever lost if she dares use the memory.
And it's been updated to 6.0.1, so root options seem to be nil at this time. So frustrating.

"Cloning" my Nexus 6, using Nandroid image

Hi,
I have a Nexus 6 with a shattered screen, and just bought another one to replace it (exact same model, XT1103 32GB).
I want to make a Nandroid dump of the old device by booting into TWRP temporarily, then restoring the backup to the new phone using the same method. Both phones are bootloader unlocked and totally stock (latest Android update).
Is there anything in particular that I should watch out for? Which partitions should I not touch - a friend on another forum suggested that I should not touch EFS?
Cheers,
Su
If you restore the efs from one to the other you'll loose your imei number on the second one
needleyepoke
---------- Post added at 07:49 PM ---------- Previous post was at 07:47 PM ----------
I've cloned a Nexus 5 but I'm not sure if it's the same way.... P.S. of course your not supposed to do it unless you own both phones... From what I've been told
needleyepoke
Hi,
I don't want to mess about with the IMEI etc - I just want the same system settings, apps etc.
What partitions should I backup/restore? I guess just System, Data, Cache, Boot & Recovery should be enough?
Thanks,
Su
[edit] This seems to suggest just System, Data and Boot is ok - but is that all I need if I am restoring to another device?
Sumanji said:
Hi,
I don't want to mess about with the IMEI etc - I just want the same system settings, apps etc.
What partitions should I backup/restore? I guess just System, Data, Cache, Boot & Recovery should be enough?
Thanks,
Su
[edit] This seems to suggest just System, Data and Boot is ok - but is that all I need if I am restoring to another device?
Click to expand...
Click to collapse
Yes if they're on the same version. I cloned a 32 into a 64.
Ok I just tried this now, and it is not working...
The restore to the new device worked fine, but when I power up I get the "your device is corrupt screen" (which I think is normal if you use TWRP), but then after that it's just a blank screen...
The phone is still able to boot into bootloader and recovery (stock).
Any ideas what could have gone wrong please?
Thanks,
Suman
I think this might be something to do with encryption... when booting into TWRP the new phone still requires the encryption pin I set up from its original software....
Do I need to start again?
Ok, I flashed the new phone with the factory image and started again... this time, when I restore the backup it just hangs on the white Google logo screen...
Any help appreciated please!
Thanks,
Su
If your firs N6 was encrpted (default) there's no way to clone it. Android will generate different encryption keys etc.
Secure lockscreen is a big no-no too. With it, you can't even properly restore backup on the same device!
Trying to take the lazy way out is just asking for trouble. There are many things that can go wrong.
Also just a side note. Cloning devices is illegal, even if you own both devices. The was set by the cell phone cloning laws set up by the FCC.
Your best bet is just to reset it up from scratch.
zelendel said:
Trying to take the lazy way out is just asking for trouble. There are many things that can go wrong.
Also just a side note. Cloning devices is illegal, even if you own both devices. The was set by the cell phone cloning laws set up by the FCC.
Your best bet is just to reset it up from scratch.
Click to expand...
Click to collapse
Oh well,
I'm remembering what I did and I did not restore the Nandroid from Device A to Device B, I titanium Backup'd all the apps and moved them to TitaniumBackup folder on the new phone, restored from there.
For /sdcard/ I had to copy and paste it from one phone to the other...
I'm going to reply this to your reddit thread also.
Lawstorant said:
If your firs N6 was encrpted (default) there's no way to clone it. Android will generate different encryption keys etc.
Secure lockscreen is a big no-no too. With it, you can't even properly restore backup on the same device!
Click to expand...
Click to collapse
Ah dang, so there is no way for me to do what I want then... that's annoying, I would have bought a different phone in that case!
I believe Google requires encryption to be active in all devices with Android 6.0.1 installed, so any new device you purchase will have this (non-) issue.
Think of the alternative however. You could always be dealing with Samsung and Knox.
Strephon Alkhalikoi said:
I believe Google requires encryption to be active in all devices with Android 6.0.1 installed, so any new device you purchase will have this (non-) issue.
Think of the alternative however. You could always be dealing with Samsung and Knox.
Click to expand...
Click to collapse
I believe that is correct. All Nexus devices going forward will have the kernel force encryption. The only way around it is to format data in TWRP (completely wipe the phone) and then when you re setup your ROM (or even the stock image) just make sure you flash a custom kernel that doesn't force encryption (which pretty much all custom kernels don't) before booting into OS for the first time. I run mine unencrypted because nandroid backups are wayyyyy quicker without encryption. I know the security isn't as good but not a deal breaker for me.
I asked this question a while back when I was in the same situation, and was told that it's a bad idea.
TriguyRN said:
I asked this question a while back when I was in the same situation, and was told that it's a bad idea.
Click to expand...
Click to collapse
It is a bad idea. Restoring any system files from one device to another is a risky game. I wouldn't even recommend restoring data from one device to another.
Start fresh, clean. No need to bring junk over, or risk issues. Takes 15 minutes to setup a phone how I like it after a clean rom flash. That's not a long time.
Last year I returned my N6 because of the peeling-back problem. I had a full TWRP backup on my laptop. I loaded it on to the replacement N6, renamed the backup folder to the new device id, and restored it. Worked perfectly, no problems.

Data recovery after factory reset

I need to recover data (pdf, photos,videos.................. everything) after I had done factory on my POCO M2, reset due to device freezed on MIUI logo. All softwares I am getting require root, Since my device is under warranty, I do not want to root, but I want all data. Backup has restored data only till 2018.
How do we resolve it.
Your request is impossible to achieve, at least not by you. The thing with modern phones is that, they come encrypted.
Means, the data you'll restore will be encrypted, and you'll have to decrypt it for them to be usable.
To decrypt files, you need to restore the chunks successfully, this operation cannot be done without root, unfortunately.
Knowing that your online backup restored files only till 2018, means you've used the phone a lot. The old data will be overwritten by new ones, That will decrease data restoration to near unusable files.
I personally don't have any hope for your data restoration using simple methods. However, if you want to see for yourself, there's an app that requires root, Disk DiskDigger Pro.

Categories

Resources