Way to recover data after unlocking phone - Asus ZenFone Max M1 Questions & Answers

So this was my 1st time rooting my phone.
I unlocked my phone according to this guide -
https://forum.xda-developers.com/as...w-to/discussion-unlocking-bootloader-t3786698
By @Sudeep Duhoon
I did not backup before unlocking the boot loader which seems to have wiped my entire data
I completed my root and tried to recover my files using a host of recovery applications but wasn’t successful.
Any help would be appreciated as I need to recover my data, especially the media files like photos.
Thanks in advance

I think its not possible anymore !!

Related

[Q] Access to /data folder without losing data

Hi
I recently got a Nexus 4 after always having had iPhone, so I am quite new to this. =)
Is it possible to root a Nexus 4 without losing the data folder? Either by simply never deleting it or is there any way to get a backup of everything in the data folder(including hidden files and everything in /data/app, etc.) to my computer(windows or mac), when it isin't rooted?
All the rooting guides I have looked at until now says that they will wipe the phone, but I also read a discussion that said it were possible to gain complete access to the data folder by either manually rooting the phone or by not unlocking the bootloader? I posted somewhere else and someone there said that what I want is SU in the OS, but I am not sure about that, since I haven't heard more.
Thank you =)
You can root without wiping data. The trick is to not boot into Android after unlocking bootloader. You do things like this:
1. Setup your pc ( drivers, fastboot )
2. Unlock your bootloader
From now on, you must not boot normally, or else your phone will be wiped.
3. Flash a custom recovery.
4. Enter recovery
5. Wipe cache
6. Flash the SuperSu zip to root.
7. Reboot.
Now you should be rooted, and your data should not be wiped. But I'd make a backup is I were you.
Being a new user, try reading this:
http://forum.xda-developers.com/showthread.php?t=2367406

Help needed! Firmeware CAN-L11 EU Version

Hello,
i need help. I messed up my phone while trying to repair my only read mode system partition after boot.
Current state:
Phone CAN-L11 with EU Firmeware and working TWRP Recovery.
I did a full wipe, but have no data partition to restore, because this couldn´t be saved with twrp while i made my first nand backups during no read access to data partition.
My phone always shows 2 times the huawei logo and then boot in erecovery from huawei where i tried to restore, but it shows always "fail to get data" (wifi works).
When i restore all partitions backups that i own via twrp i miss the data partition (is the cause why it wont boot - isn´t it?)
Now i searched for any img that i can use to get my phone working again - anyone has a tip what img i could use (i have a huawei update extractor) - through twrp or fastboot.
Could anyone help me with a twrp backup or a img file of data partition - or has another tip how to get my phone working again?
Thanks for tips!
merlin21 said:
Hello,
i need help. I messed up my phone while trying to repair my only read mode system partition after boot.
Current state:
Phone CAN-L11 with EU Firmeware and working TWRP Recovery.
I did a full wipe, but have no data partition to restore, because this couldn´t be saved with twrp while i made my first nand backups during no read access to data partition.
My phone always shows 2 times the huawei logo and then boot in erecovery from huawei where i tried to restore, but it shows always "fail to get data" (wifi works).
When i restore all partitions backups that i own via twrp i miss the data partition (is the cause why it wont boot - isn´t it?)
Now i searched for any img that i can use to get my phone working again - anyone has a tip what img i could use (i have a huawei update extractor) - through twrp or fastboot.
Could anyone help me with a twrp backup or a img file of data partition - or has another tip how to get my phone working again?
Thanks for tips!
Click to expand...
Click to collapse
I think that you need a system.img, so you can flash. This system imagem would write everything you need, so you can boot normally.
Have you tried to dowload @bluesmoothie backup from dropbox from the Root and Recovery post?
Here is the link, in case you don't find it https://www.dropbox.com/sh/qrk0fbpn5rnukxn/AAAmhFwBTNoqq0sWfCH-VMHLa?dl=0
Sent from my victara using XDA Labs
Here the full Backup for the CAN-L11:
https://drive.google.com/open?id=0B134drJ4-Ed0R3VSY3A5NGpjVWc
Format /data, reboot recovery and than restore from backup. After the restore is complete make a wipe.
I restored my system from twrp (original first save). But that did not help.
After that i loaded the can-L11c432 update.zip from huawei and extracted with others the system.img - that also did not help to boot.
Tomorrow i flashed the orignal recovery.img from c432 but i did not find an update.zip wich works to manually flash in stock recovery.
@Vinnom the link you shared leads to twrp.img (no system.img).
@-=MoRpH=- thanks, i will try and report back. Is this anyway a chinese version in there? I think i have the same struggle you had days back. Is your phone completely working again?
So sick that my phone did not work. Now working with my "old" LG G2...
I report back later - first family dinner
merlin21 said:
I restored my system from twrp (original first save). But that did not help.
After that i loaded the can-L11c432 update.zip from huawei and extracted with others the system.img - that also did not help to boot.
Tomorrow i flashed the orignal recovery.img from c432 but i did not find an update.zip wich works to manually flash in stock recovery.
@Vinnom the link you shared leads to twrp.img (no system.img).
@-=MoRpH=- thanks, i will try and report back. Is this anyway a chinese version in there? I think i have the same struggle you had days back. Is your phone completely working again?
So sick that my phone did not work. Now working with my "old" LG G2...
I report back later - first family dinner
Click to expand...
Click to collapse
Inside the folder twrp and its subfolders there it is system.img. I'm downloading it myself.
Sent from my victara using XDA Labs
Share if you have another workarounds for me
Gesendet von meinem LG-D802 mit Tapatalk
@merlin21 yes it sounds like my problem after I tried to flash the emui5 beta.
My phone is fully working again with the backup I posted.
This is not the Chinese version, if nothing works, you can try the caz ROM. But there are massive problems with the gapps, they are not included in the rom.
Gesendet von meinem HUAWEI CAN-L11 mit Tapatalk
@ -=MoRpH=-
i just flashed the twrp.img with fastboot from xelfmade v22.12. and then rebooted twrp.
Then formated data and confirmed with yes - rebooted recovery and tried to restore your twrp. It did not restore and aborted instantly with the error message
during restoreing cust...
extractTarFork() proecess ended with ERROR: 255
what could that be?
IT WORKS! Thanks @murph... I had to use the cust from my backup, but with your data partition it successfully booted again. Locking forward if i now have still the problem with read only system partition. I am away setting up phone again (and of course rooting, modifying etc.. but FIRST do a full backup after basic setup and safe in PC !!!)
Thanks!
P.S. how did you manage to back up data partition in recovery? I thought this wouldn't be possible?! What is the cost for having this full working twrp?
PPS. Somehow knock on screen for screenshot does not work - could be, that i have to log in with huawei id... does it work for you morp?
Somehow knock on screen for screenshot does not work - could be, that i have to log in with huawei id... does it work for you morp?
Click to expand...
Click to collapse
That only work if the is not rooted... Idk whats up with that, but for now i use the quicksetting screenshot function.
Somehow it worked with my rooted device before. Must be the decrypted data partition?
With the recovery of your backup I could not access data or change memory from data to sd. What version do you use?
I flashed xelfmades v22 and now have rw access and could backup all partitions and restore. Root and xposed modules everything works, just the knock on screen to capture don't...
merlin21 said:
IT WORKS! Thanks @murph... I had to use the cust from my backup, but with your data partition it successfully booted again. Locking forward if i now have still the problem with read only system partition. I am away setting up phone again (and of course rooting, modifying etc.. but FIRST do a full backup after basic setup and safe in PC !!!)
Thanks!
P.S. how did you manage to back up data partition in recovery? I thought this wouldn't be possible?! What is the cost for having this full working twrp?
PPS. Somehow knock on screen for screenshot does not work - could be, that i have to log in with huawei id... does it work for you morp?
Click to expand...
Click to collapse
I have the same problem! What do you mean by "I had to use the cust from my backup" ? Sadly i dont have any data from my own backup..
can you tell me what to do to get the backup from @murph to work without error?
--solved.
P1xl said:
--solved.
Click to expand...
Click to collapse
May I ask how?
I'm kinda stuck personnaly. I have tried both Nand backups but no cigar. Still can't boot. I had the Data issue which I managed to get rid of.
I still end up with a ExtTarFork 255 kind of error. I tried to change the files attributes via adb shell, but it failed so I've got an OS-Less phone...
Any help would be greatly appreciated.
rak500 said:
May I ask how?
I'm kinda stuck personnaly. I have tried both Nand backups but no cigar. Still can't boot. I had the Data issue which I managed to get rid of.
I still end up with a ExtTarFork 255 kind of error. I tried to change the files attributes via adb shell, but it failed so I've got an OS-Less phone...
Any help would be greatly appreciated.
Click to expand...
Click to collapse
I copied the backup, which is linked somewhere in this thread, to my sdcard and restored it on my Nova using twrp. The extractfork issue showed up while restoring '/cust' so i disselected cust in the restoring menu. After that the restoring worked and my nova was able to boot.
Hope this is any help to you.
P1xl said:
I copied the backup, which is linked somewhere in this thread, to my sdcard and restored it on my Nova using twrp. The extractfork issue showed up while restoring '/cust' so i disselected cust in the restoring menu. After that the restoring worked and my nova was able to boot.
Hope this is any help to you.
Click to expand...
Click to collapse
That didn't do the trick for a while, or I might have forgotten a step, but deselecting CUST did the trick.
Thanks for the tip!
Although, maybe flashing the Cust partition I found in one of the two upgrade zips via fastboot might have helped? I dunno...
But in short, for those who haven't followed through, here's what I did, but I'm not sure this is why it worked:
1. Bricked my device : be sad;
2. DLed all the posted Nandroid backup on this thread and others;
3. With fastboot, reflashed TWRP from Xelfmade using "fastboot flash recovery twrp.img";
4. Flashed the CUST.img I found in the UPDATE.APP of the update_data_full_CAN-L11_hw_eu.zip; or maybe the other, only one of the two seem to have it; I extracted it using Huawei Firmware Extractor; using "fastboot flash cust cust.img";
5. Created a "fake" backup to create the right folder structure on my SD (TWRP Couldn't see the backups) and put the Nandroid Backups I DLed earlier in it;
6. Reboot in TWRP and Restore all partitions except CUST;
7. Reboot, sweat, wait, cry, roll on the floor in fear, heard the huawei startup sound, cried as if it was my first born child;
8. Setup the fone and profit; then enjoy Nova goodness;
92.324. and probably most important, TWRP BAAAACKUUUUP!!!!!
All done!
Thanks for your help my phone is saved with your method!!!
i downgraded my MLA-L03 variant with this, but now im stuck in french language with no other languages to choose from
Vinnom said:
I think that you need a system.img, so you can flash. This system imagem would write everything you need, so you can boot normally.
Have you tried to dowload @bluesmoothie backup from dropbox from the Root and Recovery post?
Here is the link, in case you don't find it https://www.dropbox.com/sh/qrk0fbpn5rnukxn/AAAmhFwBTNoqq0sWfCH-VMHLa?dl=0
Sent from my victara using XDA Labs
Click to expand...
Click to collapse
someone please make this thread sticky!!!!!!!
there are some guides in internet how to get nougat for nova and that is were I broke my phone. I was searching solutions for a week, DLed Flahsed tons of things nothing worked. this one fully worked!!!!!!!!!!!!!!!!!!!!
rak500 said:
That didn't do the trick for a while, or I might have forgotten a step, but deselecting CUST did the trick.
Thanks for the tip!
Although, maybe flashing the Cust partition I found in one of the two upgrade zips via fastboot might have helped? I dunno...
But in short, for those who haven't followed through, here's what I did, but I'm not sure this is why it worked:
1. Bricked my device : be sad;
2. DLed all the posted Nandroid backup on this thread and others;
3. With fastboot, reflashed TWRP from Xelfmade using "fastboot flash recovery twrp.img";
4. Flashed the CUST.img I found in the UPDATE.APP of the update_data_full_CAN-L11_hw_eu.zip; or maybe the other, only one of the two seem to have it; I extracted it using Huawei Firmware Extractor; using "fastboot flash cust cust.img";
5. Created a "fake" backup to create the right folder structure on my SD (TWRP Couldn't see the backups) and put the Nandroid Backups I DLed earlier in it;
6. Reboot in TWRP and Restore all partitions except CUST;
7. Reboot, sweat, wait, cry, roll on the floor in fear, heard the huawei startup sound, cried as if it was my first born child;
8. Setup the fone and profit; then enjoy Nova goodness;
92.324. and probably most important, TWRP BAAAACKUUUUP!!!!!
All done!
Click to expand...
Click to collapse
Hi. First of all, thanks for the tutorial. I've tried it but I have one problem. My /data particion is ext4. Should be f2fs. The thing is I can't convert coz my /data particion is unvisible
Can any help, please?
Bunkier said:
Hi. First of all, thanks for the tutorial. I've tried it but I have one problem. My /data particion is ext4. Should be f2fs. The thing is I can't convert coz my /data particion is unvisible
Can any help, please?
Click to expand...
Click to collapse
Frankly, I don't know. I had not modified the partitions prior to bricking my phone, so I think the partitioning was OK. However, I think one of the TWRP availble in this forum can format Data partition properly, which would utlimately allow you to select which File Format you want. I haven't tried it myself, and I haven't been able to do much with TWRP since I flashed Lineage unfortunately. Most of my Mods were just upgrading and I had to ADB Sideload pretty much everything since I flashed Lineage...
Sorry I couldn't be more helpful than that!

[URGENT] Any way to recover my data after flashing a rom?

Dear all
My Nexus 6p was hard bricked yesterday and keep bootloop. I did flash twrp and a stock image by adb but the phone still could not turn on.
I try to use the hair dryer to heat my phone like this way (youtube.com/watch?v=fVghgGWoWa4) (sorry that I am a new user and I cant post the link)
And then my phone can be booted into the system but all of my data lost since I did flash the stock rom.
So may I ask that is there any way for me to recover back my data in this case? ( especially app data and my photo since there are some extremely important data for me......)
Thanks so much and appreciate for your help!!!
kwan826 said:
Dear all
My Nexus 6p was hard bricked yesterday and keep bootloop. I did flash twrp and a stock image by adb but the phone still could not turn on.
I try to use the hair dryer to heat my phone like this way (youtube.com/watch?v=fVghgGWoWa4) (sorry that I am a new user and I cant post the link)
And then my phone can be booted into the system but all of my data lost since I did flash the stock rom.
So may I ask that is there any way for me to recover back my data in this case? ( especially app data and my photo since there are some extremely important data for me......)
Thanks so much and appreciate for your help!!!
Click to expand...
Click to collapse
Hello,
How did you flash a stock ROM with ADB? adb sideload? Full OTA? Shouldn't have wiped internal storage.
Or you flashed a factory image from bootloader with flash-all script? Or fastboot flash?
If you used flash-all or you fastboot flashed userdata.img, i think your datas are lost.
Good luck...
5.1 said:
Hello,
How did you flash a stock ROM with ADB? adb sideload? Full OTA? Shouldn't have wiped internal storage.
Or you flashed a factory image from bootloader with flash-all script? Or fastboot flash?
If you used flash-all or you fastboot flashed userdata.img, i think your datas are lost.
Good luck...
Click to expand...
Click to collapse
Ys i did flash it from bootloader with flash-all script......:crying::crying::crying:
Now my data are all wiped out and the system is clean.
So is there any way to recover my data back? Because the data is really important for me:crying::crying::crying::crying::crying:
kwan826 said:
Ys i did flash it from bootloader with flash-all script......:crying::crying::crying:
Now my data are all wiped out and the system is clean.
So is there any way to recover my data back? Because the data is really important for me:crying::crying::crying::crying::crying:
Click to expand...
Click to collapse
Hello,
You should likely have thought about it before flashing a factory image...
Maybe there are professional forensic tools that could work. But unfortunately i don't know their names or where to find them.
Good luck...
5.1 said:
Hello,
You should likely have thought about it before flashing a factory image...
Maybe there are professional forensic tools that could work. But unfortunately i don't know their names or where to find them.
Good luck...
Click to expand...
Click to collapse
I flashed the image because i thought there is no any other way to boot my phone....
I have never thought that I can save it with a hair dryer I brought my phone to the mobile fixing shop and they did say the phone could not be fixed therefore i just flashed the image and try.
Thanks anyway
If there are any way to save the data, please let me know!!
Hans Brown said:
Looks like fail to flash a ROM because forgot to unlocked bootloader or wipe data in recovery mode, while the ROM you flashed is a stock one, no a custom one. If you have unlocked bootloader, you can see a lock appear in the boot screen.
You can go to the recovery mode and try to fix your brick phone by wipe data and cache partition, maybe you can boot you phone successfully after doing these.
You data is not really gone, in fact, you can recover the data by using some tool.
See this guide about how to fix bricked Nexus 6P and recover data from the bricked phone after flashing a ROM.
Click to expand...
Click to collapse
Hey,
This tool seems designed for a phone that bootloop. Not a device which userdata partition has been wiped and overwritten afaik...
Cheers...
I know it's too late.
I normally edit the flash_all to *NOT* wipe the phone and only do an update.
You can have your photos if Google sync is on, but your App data is gone.
Yeah the flash-all script includes a -w wipe command. You could of removed it before flashing to keep data. But after that it's bye bye baby. The only way is probably some type of software forensics tool. But keep searching cause I don't everything and maybe you can tell the FBI there info on it about terrorist and they can brute force in. Then you got your pics back.

sony android update phone bootloop

hello forums,
today I installed an android update onto my sony xperia x compact which resulted in my phone ending up in a boot loop.
I see the sony logo, then the Xperia slogan and then it reeboots again.
The companian app does not recognize my phone.
What can I do to backup data on my phone?
Should I flash the boot loader to use backup / restore functions?
My phone is also encrypted. will backup / ADB even allow me to get the data stored on my phone?
Thanks
Did you unlock your bootloader, I think if you have unlocked bootloader, you can't update straight away from the phone? Mine stuck on "Sony" screen once, and then it restart itself and boot into the system. The update failed,but I can boot back to the system. Maybe you should try starting the device again and if it stuck in "Sony" wait it for a while
Ps: better do a backup before system update.
I am sorry I didnt mention that before.
until now, the phone is using stock bootloader and stock rom
can't I replace the boot loader with a custom one to use adb to backup my data?
that worked with my old flashed phone, because rom and OS are separated from each other.
soomon2 said:
I am sorry I didnt mention that before.
until now, the phone is using stock bootloader and stock rom
can't I replace the boot loader with a custom one to use adb to backup my data?
that worked with my old flashed phone, because rom and OS are separated from each other.
Click to expand...
Click to collapse
Unlocking BL won't help you to backup data. On contrary it will wipe your data. If it is really bootloop, what you probbaly can do is flashing the same firmware (before the failed update) without selecting to wipe data
PS: Regarding the unlocking of bootloader, Don't do it unless you know what you are doing. It will wipe the TA needed for the camera. Please please do research on how to backup TA before you ever unlock your bootoader.
sadly I cannot reflash the same rom as all is stock software, one mistake I will not make again.
Sony support sais I have to do a factory reset and there is no way to save my data beforehand in the current state. also, it seems they just dont care about customer data as they do not make a backup of the data or the OS before screweing it up.
if you know how I could reflash the firmware, please tell me. I don't know how
So I guess I am screwed?

TWRP without format?

Is it possible to install TWRP recovery on the S8 without formatting data and without root?
Thanks in advance...
MartinEv1980 said:
Is it possible to install TWRP recovery on the S8 without formatting data and without root?
Thanks in advance...
Click to expand...
Click to collapse
If your bootloader is unlocked meaning you have a international S8 then you flash twrp for your model threw Odin and it will be a custom recovery with no root however if you don't format data your data partition will remain encrypted and you won't be able to to a backup of your phone cause the data partition is encrypted and won't be accessible via twrp after that format data the encryption Will be temporary removed unless flash a decryptor zip easily found on xda to stop your stock rom kernel from encrypting it again while it's booting up from the first time but overall your answer is yes you can install twrp with having to root or format data however without formating data twrp is kind of useless
([emoji3590]9/[emoji725]/9[emoji3590])
Thanks for the reply
MartinEv1980 said:
Thanks for the reply
Click to expand...
Click to collapse
Anytime we here to help
([emoji3590]9/[emoji725]/9[emoji3590])
Hi,
Any root guide on how to do this? Seems all how to's on XDA require data format...

Categories

Resources