Any version of TWRP that actually backs up/restores /data? - OnePlus 5 Questions & Answers

I've had the 8GB version of this phone for a couple of months now and tried several different ROMs. It doesn't matter if OOS or custom (any flavor), I'm consistently getting error 255 errors. I've tried both official TWRP 3.1.1-0 and 3.1.1-1 with the same poor results. I've read that the problem is that TWRP doesn't properly mount the data partition. Is there one that actually consistently works?!?!?

Try this modified version.
https://forum.xda-developers.com/oneplus-5/development/kernel-t3651933/post74023187#post74023187

Related

Can't mount system as writable in TWRP (device or resource busy)

Hi everyone,
Just got my new G6, after much pain I managed to unlock the bootloader, install TWRP (v3.2.1.0) and to root it with SuperSU (stable release 2.82).
For now I'll keep the stock rom but I wanted to make a backup in case something went wrong with other tweaking I might do and I couldn't because TWRP couldn't "mount /system (device or resource busy)".
So I went into the mount menu and tried checking system but it just won't. I can mount it as read only but I can't mount it as writable.
If it's of any importance, I couldn't get magisk to install to root the phone and had to use SuperSU instead.
I could do the backup while mounting system as read only but I feel like it might be an issue in the future (for custom roms or even restoring the backup maybe ?) if I can't fix this issue.
So does anyone how to get TWRP to mount system as writable ? Thank you
Elvenstar said:
Hi everyone,
Just got my new G6, after much pain I managed to unlock the bootloader, install TWRP (v3.2.1.0) and to root it with SuperSU (stable release 2.82).
For now I'll keep the stock rom but I wanted to make a backup in case something went wrong with other tweaking I might do and I couldn't because TWRP couldn't "mount /system (device or resource busy)".
So I went into the mount menu and tried checking system but it just won't. I can mount it as read only but I can't mount it as writable.
If it's of any importance, I couldn't get magisk to install to root the phone and had to use SuperSU instead.
I could do the backup while mounting system as read only but I feel like it might be an issue in the future (for custom roms or even restoring the backup maybe ?) if I can't fix this issue.
So does anyone how to get TWRP to mount system as writable ? Thank you
Click to expand...
Click to collapse
Have you formatted data trough the dedicated option in TWRP? Format, not wipe, where you have to put "yes".
Anyway you can try with Melina's TWRP which solves many problems of the official one: https://forum.xda-developers.com/lg-g6/development/recovery-twrp-3-2-1-unofficial-fixes-t3722199
Killua96 said:
Have you formatted data trough the dedicated option in TWRP? Format, not wipe, where you have to put "yes".
Anyway you can try with Melina's TWRP which solves many problems of the official one: https://forum.xda-developers.com/lg-g6/development/recovery-twrp-3-2-1-unofficial-fixes-t3722199
Click to expand...
Click to collapse
I did try it once after the magisk install failed and I assumed it was because of that issue but I haven't tried yet with superSU correctly installed. Should I immediately try the backup after formatting or boot the phone once before ?
The issue I have with Melina's TWRP is that it's not compatible with fulmics and if I were to install any custom rom I think it would be that one (to keep stock camera mostly)
Elvenstar said:
I did try it once after the magisk install failed and I assumed it was because of that issue but I haven't tried yet with superSU correctly installed. Should I immediately try the backup after formatting or boot the phone once before ?
The issue I have with Melina's TWRP is that it's not compatible with fulmics and if I were to install any custom rom I think it would be that one (to keep stock camera mostly)
Click to expand...
Click to collapse
Format data, reboot recovery, and try to install magisk or mount system.
For Melina's TWRP it has NO problems with Fulmics, Zefie said that "officially" is not compatible because two users said that they have problems with that TWRP only with fulmics, i can assure you that with last version of both Melina's TWRP and Fulmics i never had problems like those two users, anyway you can try to use Melina's TWRP and if you have any problems just flash back the official twrp.
Killua96 said:
Format data, reboot recovery, and try to install magisk or mount system.
For Melina's TWRP it has NO problems with Fulmics, Zefie said that "officially" is not compatible because two users said that they have problems with that TWRP only with fulmics, i can assure you that with last version of both Melina's TWRP and Fulmics i never had problems like those two users, anyway you can try to use Melina's TWRP and if you have any problems just flash back the official twrp.
Click to expand...
Click to collapse
Alright so it's been a rough ride.
I formatted data, reboot TWRP and then indeed I was able to mount system as writable.
I then did my backup, which said it was successful and the only error it showed then was "unable to unmount /system"
I flashed magisk and rebooted into the normal system and the phone of course was back to factory settings and asked me my google account. Except that when I tried logging in it always showed me an error along the lines of "google play services keeps crashing". (making it impossible to get through the installation part of the system)
I'm not sure why that happened. I had frozen some apps but that shouldn't have been saved since I formatted data right ? and the phone was working perfectly fine before that.
But anyway I didn't really know what to do at that point so I just jumped the gun and downloaded and flashed fulmics.
It worked fine but only with supersu. For some reason magisk just doesn't want to get installed at all.
The rom itself worked fine but I had no root access by choosing magisk in the aroma installer so I wiped again and installed it again with supersu which works.
I also flashed xposed which is also working as intended.
So I'm all set for now I think.
Maybe when I need to wipe again I'll figure out why magisk doesn't work but for now I'm satisfied.
In any case, thank you for your help

TWRP on S8+ Oreo Exp9. Error message: Failed to mount '/data' (No such process)

TWRP on S8+ Oreo Exp9. Failed to mount '/data' (No such process)
Never have had this problem on TWRP before. Neither on my S6E, S7E and S8+ , always updated on latest firmware, rooted and with perfect TWRP.
Until now ..... with latest OREO/exp 9 update .... . Cant make any backup / restore for _ Failed to mount '/data' (No such process)_
How I did try it (for almost two days):
1:Flash G955FXXU1CRB7/ G950FXXU1CRAP (samfirm and WRoid) with odin 3.13.1 / 3.12.3 and Prince
2:Flash TWRP 3.2.1-0 latest
3:Format Data ( yes) + also tried Wipe Data, and Internal Data, Dalvik & Cache
4: Reboot recovery and Flash no-verity-opt-encrypt-6.0
5:Flash Magisk 16 , later on also tried 15.3
6:Reboot
7. Setup and phone works fine
but when booting into Twrp afterwards and try to make f.e. a backup get a "Failed to mount '/data' (No such process)" notice .
Already Tried:
differet odins, firmwares , magisks , partitioning SD, re-formating micro SD ext 3 / ext 4
always same error message after rebooring and never can "mount data" afterwards .
HELP .
Tnx in advance ,
El
here is a person who said that you have to stay 1 week without shutdown phone if y want twrp work with no costumed rom but y can use costumed rom no wipe needed
It's a problem with Magisk. You need to flash a custom kernel or use SuperSU instead of Magisk.
I'm having same issue have tried all of all of that already also have tried going into advanced wipe changing file system, it bring up the /data and will work to flash files but as soon as you reboot it goes back to failing. I'm getting fed up with restoring my phone and adjusting all my settings and apps everytime
Any help would be much appreciated
Ta
Sjant said:
It's a problem with Magisk. You need to flash a custom kernel or use SuperSU instead of Magisk.
Click to expand...
Click to collapse
How can I install supersu without wiping my data and having to restore again, I tried the magisk uninstaller but TWRP can't read /data. Also I tried to Download notorious kernel but I can't seem to get the link to download
I have the same problem. Formatted data multiple times, always the same problem, as OP described it. Is RMM state really the problem here? Or has anybody tried it with SuperSU instead of Magisk? I'm really tired of setting up my phone all over again...
ali112 said:
I have the same problem. Formatted data multiple times, always the same problem, as OP described it. Is RMM state really the problem here? Or has anybody tried it with SuperSU instead of Magisk? I'm really tired of setting up my phone all over again...
Click to expand...
Click to collapse
Just tried it with SuperSU, doesn't work either.
after so many tests I discovered that twrp can read and write data only if you flash last supersu beta, magisk and supersu official both doesn't work:
https://forum.xda-developers.com/app...v2-05-t2868133

/data directory corrupted after wipe & LOS install (X820)

Hi folks,
I need some help. I have had my X820 I ordered from bangood for about a month now. I have tried a variety of ROMs on this device, and twrp-3.2.1-0-x2.img. This morning I tried to give the latest lineageOS a try. I did the typical wipes, and flashed lineageOS & gapps. After reboot google play started to throw all types of errors.
I booted back into TWRP, and this time it would only mount in read only. I tried the trick to change the /data partition fron ext2 back to ext4, did wipes again, installed ROM + Gapp, reboot but still have crashing playstore and google background processes.
I went from an already installed AICP to LOS. I did do a complete TWRP backup of AICP beforehand. The weird thing is that if I do a complete wipe again from TWRP, and do a fresh install of Pixel Experience [AOSP] all works normally. And after I did another wipe from TWRP after Pixel Experience, and restored my AICP backup all is working fine now both in TWRP & AICP. Has anyone had something simular happen like this before?
You have to install the latest unofficial TWRP build in order to use see your /data partition with the latest LineageOS installed. It's indicated on the thread's FAQ.

Flashed new OnePlus 5 firmware, phone stuck on LineageOS loading screen

So I am trying to upgrade my version of LineageOS from 14 to 15.1. I was having problems because my phone didn't have the '/vendor' partition. I heard that re-installing OxygenOS will mount '/vendor' so that's what I tried to do. However, I was still getting the error about not having '/vendor' mounted, so I tried using a version of TWRP that removed the check for '/vendor'. Unfortunately, I still could not install OOS. Then, I tried to just flash updated firmware for my phone, which should install the '/vendor' partition, but now I am stuck on the Lineage loading screen.
When I boot back into recovery, TWRP does not ask me for my phone password, and all the files are encrypted (or hashed, or whatever). This could be a problem for my phone loading?
walker_flocker said:
So I am trying to upgrade my version of LineageOS from 14 to 15.1. I was having problems because my phone didn't have the '/vendor' partition. I heard that re-installing OxygenOS will mount '/vendor' so that's what I tried to do. However, I was still getting the error about not having '/vendor' mounted, so I tried using a version of TWRP that removed the check for '/vendor'. Unfortunately, I still could not install OOS. Then, I tried to just flash updated firmware for my phone, which should install the '/vendor' partition, but now I am stuck on the Lineage loading screen.
When I boot back into recovery, TWRP does not ask me for my phone password, and all the files are encrypted (or hashed, or whatever). This could be a problem for my phone loading?
Click to expand...
Click to collapse
Have you used latest blu spark or codeworkx recovery with vendor partition support? Also mounting the created vendor partition within twrp might be necessary after flashing stock oos and proceed further.

unable to restore TWRP nandroid backups

So I've tried with a few different roms including the official 8.1 oreo, lineage OS 15 and 16 and a few other custom pie/oreo roms. Installed everything normal, latest TWRP version tried both full disk encryption and FBE based TWRP's and roms and although the backup and restore process doesnt show any error upon reboot it either goes directly to TWRP or shows the boot image of the restored rom for a few seconds then shuts down and boots up to TWRP again. Any ideas on whats wrong? Factory resetting at this point doesn't help it work.
Would appriciate any insight on this, I've tried so many roms now with f2fs as well as fde file systems, both encrypted and unencrypted and none of the nandroid backups I make using the latest TWRP or TWRP-FBE depending have worked at all. I am able to make the backup and restore it, no errors but it will never boot up, always either boot loop or stuck on Google logo screen.
Now I just can't seem to find what I'm doing wrong with this phone, I've formatted and reinstalled a bunch of times with latest Magisk root, last two roms I tried with android 9 was RR 7.2 and AICP weeklies, and before that the stock 8.1 from google none of which could be restored from nandroid backup. On my other phones I have TWRP backup/restore function working no problem, so I know how to use the UI with sucess.
Anyone come across anything for this maybe?

Categories

Resources