"can't mount system" (structure needs to be clean) - OnePlus 5 Questions & Answers

Hi everybody, since i restore my nandroid backup (to revert xxx rom to stock), it is impossible to mount system partition... and recovery twrp 3.1.1.1 say "can't mount system (structure needs to be clean..). How to solve this problem? Please i need help

edit: problem solved with an internal install of OOS... and after must reflash twrp and root

@brunsman6229 Could you tell me how exactly you solved the issue? Getting the same error and would like to know how to fix it!

brunsman6229 said:
edit: problem solved with an internal install of OOS... and after must reflash twrp and root
Click to expand...
Click to collapse
Hey, can you plss guide me through this. What is internal installation?
Will all of my data be wiped??

I fixed it by dirty flashing No limits rom. If you have a nandroid backup in hand, wipe everything except internal storage, dirty flash the rom then restore the nandroid backup.

Related

[TPT] CM10 Cannot wipe cache

Hi everyone, I recently rooted my 16GB WE TPT and installed cm10 v.0.8.1 and I love the performance and everything, if only there were no reboots. After reading in this forum I wanted to try to reinstall things from scratch wiping everything. For some reason I don't seem to be able to to anything with the data that is on my TPT. Neither can I do a factory reset from settings nor can I wipe data from Recovery. It doesn't display an error but it just doesn't delete anything. Then I tried to restore my backup from my original rom but this doesn't work either: it says error while restoring data (after recovery and system).
Can anyone help me? Could I have accidentally locked the data or anything?
Btw, Google Play has stopped working after my last try to restore stock and then install cm10 again.
In cwm you find under advanced a setting called "fix permissions". Try that
emuandco said:
In cwm you find under advanced a setting called "fix permissions". Try that
Click to expand...
Click to collapse
Doesn't do anything.
idewis said:
Doesn't do anything.
Click to expand...
Click to collapse
Hi, i had big problems with my Data-Partition. The Partition was read-only. No wipe with CWM was possible. Is that the same problem what you have? Do you have an logcat? Any error-messages?
Wiping was only possible with adb...
Here is my post: http://forum.xda-developers.com/showthread.php?t=1944759
When it is the same problem, it exist an solution...
Greetings
tpauli said:
Hi, i had big problems with my Data-Partition. The Partition was read-only. No wipe with CWM was possible. Is that the same problem what you have? Do you have an logcat? Any error-messages?
Wiping was only possible with adb...
Here is my post: http://forum.xda-developers.com/showthread.php?t=1944759
When it is the same problem, it exist an solution...
Greetings
Click to expand...
Click to collapse
I don't have the same error messages you have/had, but I could image that my data partition is also read only since I can neither delete or install anything. What did you do to get rid of that problem?
The solution was to completely format the data permission. This can't be done in CWM directly because CWM tries to keep the folder /data/media, which is your internal sd-card and only deletes the other files (That's obviously not formating). In the link you can find a zip files that you can "flash" in CWM, it will format the data partition and does nothing else. After using it you should also manually wipe the cache using CWM.
Like i said, this will include your internal sdcard! Make backups first if you have important data stored on it!
http://ubuntuone.com/4zKT1jqeqhR8qdGh2y4TaM
I need to clear it - if I do "wipe data/factory reset" in stock ICS recovery menu - will it cause deleting ROM (and reboot will make brick) OR just will get it back to clean factory ROM?
I found few threads here about "wipe data"-thing, but it seems to me, that every version of Android / custom ROM / recovery type could behave different.

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

Backup S8 - G950F with TWRP

Hello guys,
i've just received the Android 8.0.0 and as soon as i got it, i root-ed it. Now everything is fine but the only problem i have is that i cannot backup the whole system as it is right now with TWRP.
When i open TWRP in boot and i go to backup all files it gives me the following error : "unable to mount //data". How can i solve this problem without formatting it again ?
Thank you.
P.S : i added a photo as an attachment with the error.
Format both to fat and back to ext4. I would like to know if there is another way. You can backup needed apps with titanium and restore later.
Extreemator said:
Format both to fat and back to ext4. I would like to know if there is another way. You can backup needed apps with titanium and restore later.
Click to expand...
Click to collapse
When you say both, you mean "data" and what else ?
LE: I did it for "data" and now it seems to work but will try when i have the whole rom ready.
Thanks.
Update : for that time being, it seemed to work. After that i installed all the apps and did all the settings and now when i go to backup it gives me the same error. This is a part of the recovery.log after the failed backup. By the way, it failed at almoast 95% .
".....................
Digest Created.
Iartition Backup time: 659
Failed to mount '/data' (No such process)
I:Actual block device: '/dev/block/sda24', current file system: 'ext4'
Backup Failed"
Cleaning Backup Folder"
Can anybody help me ?
ownage16 said:
Update : for that time being, it seemed to work. After that i installed all the apps and did all the settings and now when i go to backup it gives me the same error. This is a part of the recovery.log after the failed backup. By the way, it failed at almoast 95% .
".....................
Digest Created.
Iartition Backup time: 659
Failed to mount '/data' (No such process)
I:Actual block device: '/dev/block/sda24', current file system: 'ext4'
Backup Failed"
Cleaning Backup Folder"
Can anybody help me ?
Click to expand...
Click to collapse
Did you first format data to fat and back to ext4 and it got fixed?; was it showing free space in /data/media, not like on screenshot where is 0mb and it's broken? after you tried to backup it broke in the process? Try to wipe, install custom rom and back up it. Try external sd
https://forum.xda-developers.com/showpost.php?p=75360965&postcount=22
Extreemator said:
Did you first format data to fat and back to ext4 and it got fixed?; was it showing free space in /data/media, not like on screenshot where is 0mb and it's broken? after you tried to backup it broke in the process? Try to wipe, install custom rom and back up it. Try external sd
Click to expand...
Click to collapse
After the first format it got fixed, yes. And i did make a back-up.
After that, i booted, i installed apps and so on and when i came back to twrp the error reappeared and /data got corrupted again.
ownage16 said:
After the first format it got fixed, yes. And i did make a back-up.
After that, i booted, i installed apps and so on and when i came back to twrp the error reappeared and /data got corrupted again.
Click to expand...
Click to collapse
Read the link I post earlier.
master64nl said:
https://forum.xda-developers.com/showpost.php?p=75360965&postcount=22
Click to expand...
Click to collapse
I never got blocked out for 7 days even though i installed at least 20 times different roms in the past days.
When i rooted i installed the RMM .zip . Are you sure it's from there ?
Yes, I had the same problem. I am back on Android 7 until there is a good discribtion in the right order to get it right. No one can tell me the right solution. They are all diferent. So I wait for now.
Verstuurd vanaf mijn SM-G950F met Tapatalk
I've tried using a twrp for oneplus 5 because they seem to have had the same problem. The good news is that is seemed to work as the /data remained ok. The bad news is that the phone would enter a loop.
https://forum.xda-developers.com/showpost.php?p=76010250&postcount=1567
master64nl said:
Yes, I had the same problem. I am back on Android 7 until there is a good discribtion in the right order to get it right. No one can tell me the right solution. They are all diferent. So I wait for now.
Verstuurd vanaf mijn SM-G950F met Tapatalk
Click to expand...
Click to collapse
I found the fix !!
dr.ketan helped me make the right files to flash. Now i have made the first FULL backup and i am amazed it works. In recovery /data appears mounted. I went there 3 times to make sure :fingers-crossed:
If you want to I will ask dr. ketan if i can upload the files.
Thanks for the help and have an easy day!
OKé, is he on the forum, dr ketan? Perhaps you can tell us now because you have the solution.
master64nl said:
OKé, is he on the forum, dr ketan? Perhaps you can tell us now because you have the solution.
Click to expand...
Click to collapse
Wait
I am posting here with details in an hour
Edit : It's here
https://forum.xda-developers.com/galaxy-s8/how-to/fix-data-mount-fix-s8-twrp-oreo-t3769254
dr.ketan said:
Wait
I am posting here with details in an hour
Edit : It's here
https://forum.xda-developers.com/galaxy-s8/how-to/fix-data-mount-fix-s8-twrp-oreo-t3769254
Click to expand...
Click to collapse
What is the right order for installing everything?
I will start first with installing the original stock rom for my S8. How to go on from the stock oreo?
master64nl said:
What is the right order for installing everything?
I will start first with installing the original stock rom for my S8. How to go on from the stock oreo?
Click to expand...
Click to collapse
After having the Oreo stock firmware follow these steps :
https://www.youtube.com/watch?v=XNznlTJJesc
Btw: i also used the files the youtube guy provided and they are OK
After you have completed the video follow what @dr.ketan posted
ownage16 said:
After having the Oreo stock firmware follow these steps :
https://www.youtube.com/watch?v=XNznlTJJesc
Btw: i also used the files the youtube guy provided and they are OK
After you have completed the video follow what @dr.ketan posted
Click to expand...
Click to collapse
That seems to be double to me. If you follow the video you are okay but you can also do dr. ketan way and you are okay. Am I right?
master64nl said:
That seems to be double to me. If you follow the video you are okay but you can also do dr. ketan way and you are okay. Am I right?
Click to expand...
Click to collapse
if you follow the video you have the "/data" problem and after that you solve it with the solution from dr. Ketan.
I don't know if you can flash directly the zip from dr. ketan, haven't tried it. In theory it should work but i can only confirm what worked for me.
Keep me updated on what you did.
Best step if one is on oreo stock and just want twrp +root
1.flash twrp with format data (will wipe Int storage)
2.flash magisk (from ext SD)
3.flash data mount fix(from ext SD)
All three to be flashed without reboot in between
Then must have to reboot to system
Now next time when reboot to recovery, data will available in twrp
Who already have oreo rom +twrp then simply flash data mount
Who are on nougat custom and want oreo custom rom
1.factory reset (no need to format data)
2.flash oreo custom rom
3.flash magisk if rom doesn't included
4.flash data mount fix
Reboot to system once
Done
dr.ketan said:
Best step if one is on oreo stock and just want twrp +root
1.flash twrp with format data (will wipe Int storage)
2.flash magisk (from ext SD)
3.flash data mount fix(from ext SD)
All three to be flashed without reboot in between
Then must have to reboot to system
Now next time when reboot to recovery, data will available in twrp
Who already have oreo rom +twrp then simply flash data mount
Who are on nougat custom and want oreo custom rom
1.factory reset (no need to format data)
2.flash oreo custom rom
3.flash magisk if rom doesn't included
4.flash data mount fix
Reboot to system once
Done
Click to expand...
Click to collapse
This sequence is no needed anymore???
1.flash twrp
2.format data say yes
3.go in recovery
4.flash dm-verity and force encryption disabler (from ext SD)
5.flash magisk (from ext SD)
6.flash data mount fix(from ext SD)
All four to be flashed without reboot in between
Then must have to reboot to system
Now next time when reboot to recovery, data will available in twrp

can't extract apps from nandroid made otg with twrp

My phone was stuck in a bootloop where it could only get to recovery. Using the recovery I created a nandroid backup to the a USB stick using an OTG cable. I flashed the stock firmware and got things setup but I can't restore individuals apps from the nandroid. I copied the nandroid from the usb to sd card but it still doesn't work. I tried restoring apps using Nandroid Manager but when the app is launched it gives the error "app has stopped, close app". For some reasons sms succesfully restored but no user apps. I tried restoring with AppExtractor but it gives the error "unable to generate apk listing"
I also have titanium backup pro but couldn't get it to find the location of the nandroid to try extracting with it.
Any ideas? I really just want my messages back from Whatsapp.
My phone had stock Nougat with busybox installed and elementalx kernel. It should be the same environment now as when the backups were made.
@twoplustwo can you tell us why your phone went into bootloop ? If you know then you can restore /data from TWRP and revert the cause of bootloop..
Also can you confirm it's in capital letters as you have mentioned in small letters in another thread that twrp/backups rename them to TWRP/BACKUPS or move them to internal storage.. (in stock ROM if i am not wrong, TWRP folder is not accessible, so try to install custom ROM for temporary purpose, then move backup to internal and then try with titanium backup..)
____Mdd said:
@twoplustwo can you tell us why your phone went into bootloop ? If you know then you can restore /data from TWRP and revert the cause of bootloop..
Also can you confirm it's in capital letters as you have mentioned in small letters in another thread that twrp/backups rename them to TWRP/BACKUPS or move them to internal storage.. (in stock ROM if i am not wrong, TWRP folder is not accessible, so try to install custom ROM for temporary purpose, then move backup to internal and then try with titanium backup..)
Click to expand...
Click to collapse
yes it was in capital letters
the problem in the first place that sent the phone into a bootloop was I installed the OTA security update. I'm running stock rom but I guess because it was rooted and had busybox, that made it incompatible with the update?
twoplustwo said:
yes it was in capital letters
the problem in the first place that sent the phone into a bootloop was I installed the OTA security update. I'm running stock rom but I guess because it was rooted and had busybox, that made it incompatible with the update?
Click to expand...
Click to collapse
If you have TWRP and take update, it don't cause bootloop, but it cause your device to boot into recovery when you turn on your device.. can you confirm if it was bootloop or problem of booting to TWRP ?
I am unable to copy the nandroid to internal storage. I tried using usb to computer and it just does nothing. I tried root explorer and it says 'copy failed' and file manager says 'cannot load'. This only happens with the TWRP folder inside the internal memory specifically.
____Mdd said:
@twoplustwo can you tell us why your phone went into bootloop ? If you know then you can restore /data from TWRP and revert the cause of bootloop..
Also can you confirm it's in capital letters as you have mentioned in small letters in another thread that twrp/backups rename them to TWRP/BACKUPS or move them to internal storage.. (in stock ROM if i am not wrong, TWRP folder is not accessible, so try to install custom ROM for temporary purpose, then move backup to internal and then try with titanium backup..)
Click to expand...
Click to collapse
____Mdd said:
If you have TWRP and take update, it don't cause bootloop, but it cause your device to boot into recovery when you turn on your device.. can you confirm if it was bootloop or problem of booting to TWRP ?
Click to expand...
Click to collapse
I can confirm it was only booting TWRP. So even when I tried to boot to system it just booted to TWRP again.
twoplustwo said:
I can confirm it was only booting TWRP. So even when I tried to boot to system it just booted to TWRP again.
Click to expand...
Click to collapse
You don't need to worry,
Do you have any important data for any app currently ?
Take backup of new important data with titanium.. (and then again take backup from TWRP, for safety )
And then simply restore /data from TWRP backup, it will give you older data back without any bootloop but you will loose new data/messages that you got after flashing/ on current running ROM..
____Mdd said:
You don't need to worry,
Do you have any important data for any app currently ?
Take backup of new important data with titanium.. (and then again take backup from TWRP, for safety )
And then simply restore /data from TWRP backup, it will give you older data back without any bootloop but you will loose new data/messages that you got after flashing/ on current running ROM..
Click to expand...
Click to collapse
Thank you sir! To confirm, when backing up to USB stick with OTG, does the format of the USB matter? Is fat32 safe?
twoplustwo said:
Thank you sir! To confirm, when backing up to USB stick with OTG, does the format of the USB matter? Is fat32 safe?
Click to expand...
Click to collapse
Not familiar with different formats, it should work.. bu t
You can backup to internal storage too, since you don't have to flash fastboot ROM again..
____Mdd said:
Not familiar with different formats, it should work.. bu t
You can backup to internal storage too, since you don't have to flash fastboot ROM again..
Click to expand...
Click to collapse
Just want to confirm everything is working perfect now. Thank you again!

Unable to mount storage, failed to mount 'data' with TWRP 3.1.1-0

Hi, I am trying to make a nandroid backup using twrp on my LG G6 H870, but I am unable to do so as the data fails to be mounted. I have tried to repair the partition using twrp but I just get an error 8 and I don't know what that means. If someone could help, that would be great. I am doing this so that I can safely restore to the stock rom from HavocOS.
Thanks
arey201 said:
Hi, I am trying to make a nandroid backup using twrp on my LG G6 H870, but I am unable to do so as the data fails to be mounted. I have tried to repair the partition using twrp but I just get an error 8 and I don't know what that means. If someone could help, that would be great. I am doing this so that I can safely restore to the stock rom from HavocOS.
Thanks
Click to expand...
Click to collapse
This is not in English...but follow step by step = works perfect!
Matt
arey201 said:
Hi, I am trying to make a nandroid backup using twrp on my LG G6 H870, but I am unable to do so as the data fails to be mounted. I have tried to repair the partition using twrp but I just get an error 8 and I don't know what that means. If someone could help, that would be great. I am doing this so that I can safely restore to the stock rom from HavocOS.
Thanks
Click to expand...
Click to collapse
just go to format and format data, for real, nly way you can mount it again.
sun_is_shinning said:
just go to format and format data, for real, nly way you can mount it again.
Click to expand...
Click to collapse
Aw that sucks, wish there was another way, thanks.
i have this problem too...if do formating data loss data partition.so can be.to nandroid backup what can i do?

Categories

Resources