Hi,
Hope you guys can help me getting my data back.
I messed around with Substratum in legacy mode on OOS 4.1.0 and ended up with a bootloop (I never saw the boot animation restart, just looping endlessly). To fix, I tried the following things:
Flashed the SubstratumRecovery_legacy.zip in TWRP 3.1.0-0 without any effect.
Dirty-flashed OnePlus3Oxygen_16_OTA_047_all_1703132116_f7372e67 without any effect.
Flashed OnePlus3Oxygen_16_OTA_047_all_1703132116_f7372e67 through ADB sideload without any effect.
Wiped data partition in recovery. System started normally, all data gone (obviously).
Before wiping, I had made a backup of my /data partition (through TWRP backup tool for Mac) and saved the content of /sdcard on the computer as well.
Now when I try to restore the /data backup through the same tool, I get an error:
E:Unable to find file system (first period).
E:Unable to find file system (first period).
E:Unknown restore method for '/data'
ADB Restore failed.
So what can I do to restore my data partition? That's all I care about.
Thanks in advance
Mount data in twrp?..
ASFAIK, /data is mounted rw automatically by TWRP. It also doesn't make a difference.
Moreover, I also cannot restore my boot partition (kernel), same error.
A while ago I changed my filesystem to f2fs. Can that be the culprit?
Nevermind, I've given up and accepted the loss of data. However, it would still be interesting to find out what the problem was
I had the same problem, tried several times. Then I went back and turned of the md5 check and it worked perfect.
Do u still have ur trwp backup or did u delete it
https://forum.xda-developers.com/showpost.php?p=53913623&postcount=22
I still have it on the computer and wouldn't mind making use of it (installed official Resurrection Remix after the data loss but that just wiped my /data partition after backing up kernel in TWRP)
@Bradl79: sounds interesting, will give that a go later when I have some time.
Related
In Clockwork Recovery:
I get an error saying "cant mount dev/block/mmcblk0p1 (file exists)" when I try to wipe, mount, or advance restore the data partition.
In RA:
it says invalid argument
Mount data in adb says:
"mounting /dev/block/mmcblk0p1 on /data failed: Invalid argument"
Is this a hardware problem with my memory.
I was useing CM 6.0.1 and the last thing i did was allow windows to format the internal memory when i plugged it it.
Will using an RUU help or brick?
Any help is appreciated.
Thanks for the help guys!
Anyways, I figured it out on my own. I was afraid of flashing an RUU when DATA cant be mounted, so i decided to restore the stock RECOVERY and turn S-ON so I could call Big Red and say their OTA jacked up my phone.
To do so, I downloaded a stock nandroid backup and started to advance restore the partitions I could (boot, system, cache). Just to see what happens I booted up the phone and to my surprise.. it worked properly. I still dont know what happened or why.
Oh, also , i used Amon Ra Recovery to format the internal storage before I started restoring via nandroid. Hope my little ordeal helps someone if they come across the same problem.
Flashed the latest stable Carbon rom yesterday and decided it wasn't for me so this morning I rebooted to TWRP and tried to run restore. The restore failed and the only error i see in the console is
Code:
E: error opening '/data/lost+found'
I went ahead and did the standard wipe (which also gave the same error, though it did not say failed) and rebooted, assuming it would just throw me back into carbon, but it got stuck in sort of a slow boot loop. I finally got back into recovery and now I'm at a bit of a loss. I saw only 2 suggestions, one being wipe /data and the other to flash back to stock with Odin. I'm not against wiping /data if someone could could either confirm that it would work or tell me if it's possible to backup some stuff from /data to my external sdcard or pc.
any advice would be appreciated, thanks
also sorry if this is the wrong place to post, I didn't see where else it would fit, says I can't post in the GS3 troubleshooting area.
ATT Galaxy S3
TWRP v2.6.0.0
fixed
Ok, I'm up and running again. I ended up formatting /data through twrp after I found out i could copy files over to external sd through its file manager.
so in case someone else runs into this:
assumes you have a twrp backup on the external sd
1. move important files with twrp's file manager to sd card
2. format /data
3. reboot recovery
3. standard wipe
4. restore backup from external
5. reboot system and cross fingers
I've recently updated my htc 10 to Android 7.0 using the 2.38.617.6 firmware and added twrp to use for backup purposes. I have attempted to root the device with chainfire's supersu, but failed due to data being in the wrong format.
First off, I managed to find out the the system partition is ridiculously large (17,592,186,044,365 MB) leading me to believe that the system partition has been corrupted.
I've checked the format type for each partition (data, system and cache) they check out to be ext4.
As the title of the post states, I've also ran into that problem before the system partition size issue.
Also, when trying to reboot the system through twrp, I get the message, "No OS Installed! Are you sure you..." but the phone boots up just fine.
Any help is appreciated.
ensure you flashed the latest unoffical twrp from the xda twrp thread. not the official one.
j to the 4n said:
ensure you flashed the latest unoffical twrp from the xda twrp thread. not the official one.
Click to expand...
Click to collapse
I have fixed the issue. I had to find and flash the latest ruu because I had restore the /data partition from when I had the phone rooted and downloaded xposed. I ran through the same process after the flash without restoring the data partition and now it work.
Only downside is that I can't restore my data until xposed has a compatible framework. Thanks for replying.
I got a clean backup of the twrp formatted the sd card with external memory I mounted the backup in the external sd and restored the system .... With that I was successful:dedos cruzados::dedos cruzados:
Restoring a backup fails with "failed to mount /system (Structure needs cleaning)"
I am an idiot
Read on Reddit that to delete GApps from LineageOS 15.1 and install microG, I had to wipe /system, flash LineageOS, install microG.
So I made a complete backup of every partition, backed that up on my computer, wiped /system, flashed the latest nightly of LOS , booted up to no GApps, perfection. Tried installing microG only to learn that it won't work, so I go back to TWRP, press Restore and select my backup, only to be met with "failed to mount /system (invalid argument)". Cue panic attack.
So I google furiously for a solution and find something. Advice is to wipe /system only, change it's file system to ext4 again, then Restore only the /system partition from my backup. I do that, and now I'm met with the current error "failed to mount /system (Structure needs cleaning)". I'm going to wait for some solid advice from people who know far more than me before doing anything else.
Tried flashing LOS and I get the same error
Update 2: changed filesystem to ext4 (even though it was already there), wiped system, successfully flashed LOS, restored only the Data partition of my backup. Boot to system, success, but I'm still without GApps when I want them back. Tried restoring entire backup again, same issue, failed to mount system.
stupidcanuck said:
Update 2: changed filesystem to ext4 (even though it was already there), wiped system, successfully flashed LOS, restored only the Data partition of my backup. Boot to system, success, but I'm still without GApps when I want them back. Tried restoring entire backup again, same issue, failed to mount system.
Click to expand...
Click to collapse
Format system as ext4, install the rom (as you explained in the update 2) and boot to system once.
Reboot to recovery again and install the gapps zip file and wipe cache only.
Unable to restore TWRP backup: "Failed to mount /system (Structure needs cleaning)"
Chiron latest version of TWRP, LOS15.1 and 16.0
I wanted to revert to the backup I made before upgrading to LOS16. So I launch TWRP, press restore, select all partitions, and I get to the Data partition when it says "extractTarFork() process ended with ERROR: 255".
I try again, this time without restoring the data partition, and I get to the very end of the process before it says "Failed to mount '/system' (Structure needs cleaning)". I try to repair /system, it fails. I format it to ext4, no help.
Now I've stopped trying anything. The phone can't be turned off, it'll just boot to fastboot, so I've left it on TWRP.
Edit: Alright. Formatted data, wiped System and Cache, installed the latest nightly of 15.1, installed the version of GApps I wanted, booted up just fine. Tried the restore, and it made it all the way through, no ERROR 255, nothing, until the very very end, when it again failed to mount /system, Structure needs cleaning. Rebooting to system sends me to fastboot.