Hello,
I have earlier flashed PE ROM on my moto g5s and when I wanted to revert back to the stock 8.1, I just Format Data from TWRP recovery and then restore the backup stock ROM.. but the problem is that after restoring the backup it just showing cannot mount /system (invalid argument) which causes phone not to boot up...
Please help me regarding the issue.
Thanks In Advance.
Edit: successfully booted the phone by restoring the backup with System and Vendor unticked.
Related
I've installed fulmics rom 5.0 with a clean instalation and I wanted to restore my previous rom with twrp but when I tried to restore the partition system twrp said it was mounted in read mode and failed restoring partition system.
Have anyone any idea of what to do for restoring partition system?
All the other partitions works well but I can't restore the partion system.
System version: 6.0
TWRP Version: 3.0.0.0
Model: LG G3 D855
Thanks.
Solved, I've changed permisions of /system to r/w and when I flashed the backup it worked.
How did you change the permissions?
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:
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.
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.