Recover Stock [unroot] VNS-L31C432B160 - Huawei P9 Lite Questions & Answers

I just rooted my P9 lite, installed TWRP from the SRK Guide in here and then saw that Snapchat checks for root.
So now i would like to unroot (doesnt work in SuperSU), install Snapchat, Root und save with TitaniumBackup.
How does the process of returning to stock work? Where do i get my .zip?

I understand that i need to download my full ROM [Firmware Finder APP] but how do i procees further? Do i need to have stock recovery for dload method?

The unroot option in SuperSU does not work? :/
Download the stock firmware from here: https://forum.xda-developers.com/huawei-p9lite/development/stock-firmware-links-t3468245
Extract the dload folder which has the UPDATE.APP inside, put the dload folder in your microSD card, power off the phone, hold power button + volume up + volume down and wait until the installation will start.
This will relock your bootloader and restore the phone to stock firmware.

Does it matter that i have a ****ty twrp installed which doesnt even recognize data partition?
And can i unlock bootloader and root the samw way as before?
Thanks in advance
Wims

You can unlock and root as you already did. Which TWRP are you using?

Potato997 said:
You can unlock and root as you already did. Which TWRP are you using?
Click to expand...
Click to collapse
I had a ****ty one from the Guide with the srktoolkit. Now i updated to TWRP v4 by METICULUS. It works and i can finally see /data/media again.
Does the Phone Off then 3 Button trick go through the Recovery or through what exactly?
I would now do the thing above, then unlock my Bootloader again (i still have the key so it should be easy), install the TWRP by METICULUS, install my apps i need to install without root (Snapchat) , then reboot to twrp and flash newest supersu from chainfire. Finished. Am i right?
Btw i have to say that i was pretty much a flashaholic with tht Galaxy S3, Moto G and OnePlus 2 and it was never this tricky i think :'D

Well TRWP still doesnt get /data. I didn't encrypt anything but Twrp keeps telling me that it cant find it. And when i (select storage) (internal storage) it goes to /emmc...

At first the log says:
Failed to mount '/data' (mounted without encryption)
And the Screenshots were saved to /data/media/Pictures/Scrennshots insted of somwhere in the internal storage...
I fear of having my partitions mixed up somehow because when stock recovery couldn finish wiping cache and data too...

Probably TWRP can't mount encrypted Huawei data partition, the only thing it can probably do is to format it so basically a hard reset

Potato997 said:
Probably TWRP can't mount encrypted Huawei data partition, the only thing it can probably do is to format it so basically a hard reset
Click to expand...
Click to collapse
So -> TWRP -> Format /data?
EDIT: I tried format data -> yes -> and even there it said can't find /data partition.
Any ideas what i can do?? Everything works but i can't do anything in all the TWRPs...

Related

Not possible to do a complete backup under Recovery TWRP

Hello everyone.
I am new owner of an S7 Edge and so I root it is ok!
I have installed a recovery version 3.0.2.4 this is ok too but I have a concern to make a full backup.
1 - When starting recovery I have a screen that says "Installing zips or operations via adb may change the system partition".
2 - When I want to do a backup I have these 03 options that are checked.
Booting
System
Data
But when I drag to make this backup I have error messages
Here are the images to better understand.
I think I have forgotten something, could you orient me please?
Thank you for your help.
encrypted data...... so if you want do a backup try out flashfire......
Working fine with flashfire !!
But there is still the solution of real recovery?
How to decrypt the data?
To make a backup?
Thanx !
1. Reboot to TWRP, Wipe > Format Data > Type 'yes'. This will wipe all the data on your phone including internal storage.
2. Don't reboot, and flash either SuperSU or one of the zips from here (latest version would be preferred). Since you have to wipe your internal storage in the previous step, put the zip in your external sdcard beforehand or flash it through adb sideload if you know how to.
Be careful when flashing stock firmware with odin, as it will automatically encrypt your device again. After you flash stock firmware, reboot directly into download mode again, flash TWRP, reboot to TWRP, and then follow step 2.
Hi !
I will download a stock rom in case of problem and I come back to give the results.
Big thanks !!! :good: :good:
kykint said:
1. Reboot to TWRP, Wipe > Format Data > Type 'yes'. This will wipe all the data on your phone including internal storage.
2. Don't reboot, and flash either SuperSU or one of the zips from here (latest version would be preferred). Since you have to wipe your internal storage in the previous step, put the zip in your external sdcard beforehand or flash it through adb sideload if you know how to.
Be careful when flashing stock firmware with odin, as it will automatically encrypt your device again. After you flash stock firmware, reboot directly into download mode again, flash TWRP, reboot to TWRP, and then follow step 2.
Click to expand...
Click to collapse
Work perfectely very very good !
Thanks for answers !!

Can't mount Data Partition.

These last days have been catastrophic for me and my p9 Lite.
A thousand and one operations I have done ... I have had to reinstall everything via fastboot ... (cust, recovery, boot, cache, recovery, recovery2, syste m)
And still, I do not get it to boot ... I still have hopes, because being in Revolution Nougat Recovery B.9 (or something like that) shows me the 3 partitions of the P9 Lite. (CUST, EXTERNAL SD and INTERNAL MEMORY) this last, says to be totally empty ... (0 MB) But when I give wipe - internal memory - repair partition, it tells me that there are 16 gs free.
When I want to change the format, to repair it ... it gives me error. Both F2sF and ExT4 ...
I think it may have been deleted in the internal configuration of the cell, the route to the DATA partition. Because I can not repair it in any way ... it always throws me wrong ...
If you like the challenges, here's a big one.
I have googled the possibility of re writing the path to the data partition via fastboot, I only get examples of Google Nexus 7 (which apparently in nexus 7 if it can be done), but none of P9 Lite.
Later I will upload screenshots about the errors that the revolution recovery throw me ... (if anyone is willing to help)
At the moment, I am without an operating system. I have access to huawei recovery, also to revolution recovery and I also have fastboot access.
In the eRecovery, when I try to download the complete package ... it throws me "error in the package", putting the UPDATE.APP of the B371 in the dload folder, the update goes up to 50% and then I throw "error in the package".
I hope they help me and that together we can find a solution to my problem.
From already thank you very much.
I think the only solution is to flash firmware via dc-phoenix
simo255 said:
I think the only solution is to flash firmware via dc-phoenix
Click to expand...
Click to collapse
Which exactly firmware?
andrexp31 said:
Which exactly firmware?
Click to expand...
Click to collapse
B161 i think, its the better one
I cant... Im on nougat.
andrexp31 said:
I cant... Im on nougat.
Click to expand...
Click to collapse
This is what happened...[ ATTACH]4106037[/ATTACH]
andrexp31 said:
This is what happened...[ ATTACH]4106037[/ATTACH]
Click to expand...
Click to collapse
Sorry,this one is in english
View attachment 4106043
andrexp31 said:
Sorry,this one is in english
Click to expand...
Click to collapse
Try to flash stock recovery and do a factory reset, maybe it will work
Otherwise buy dc; phoenix (it costs 15€ i think) and it will write nougat firmware b370
---------- Post added at 01:35 AM ---------- Previous post was at 01:19 AM ----------
If flashing recovery via fastboot isn't working,
Download whatever version of revolution recovery
Extract it, remove file_context , replace recovery.img by the recovery that you have downloaded,
Archive meta-inf and recovery.img
Flash it through recovery
Hope it will works
I am stuck with a similar issue, but Meticulus TWRO 2.8.7.0:
I get Failed to mount '/data' (Invalid argument) and Unable to open '' to wipe crypto key
I can neither wipe /data, nor format it, nor do anything else with it.
I tried flashing stock ROM and tried factory reset over there: it failed
I went back to stock B160 from CM13, recently.
Somehow I did wipe /system in order to run an update, which did not work.
So I got deeper and deeper into this trouble.
At the moment, there is CM13 without /data und unable to wipe /data in any ways.
I do not have a SD at the moment.
Would it help to put a complete stock onto SD and install it via update mode?
edit:
I could install an old system backup, which did boot and after flashing stock recovery I could factory reset /data
:hurrayy:

How can I install Oxygen OS 5.0.1 with an unlocked bootloader?

Good day!
Our country just received the Oxygen OS 5.0.1 update.
How can I install it with an unlocked bootloader?
I was going to relock it but I found out that if I did, my data will be gone.
The only difference in the set-up of my phone from a stock OP5 is the unlocked bootloader.
Flash through stock recovery
Hitman478™ said:
Flash through stock recovery
Click to expand...
Click to collapse
I haven't done this kind of thing yet.
If I do this, will my data be wiped out or not?
What about using the OTA notification ?
quick05 said:
What about using the OTA notification ?
Click to expand...
Click to collapse
What do you mean?
I tried to update my phone using the normal way but after downloading and tried to install it, it failed because my bootloader is unlocked.
I just made a backup of data using codeworkx recovery. Copied the backup (Along with the files on userdata I wanted to keep) to my PC.
Wiped all and formatted data. Then installed Oreo and copied back the files and data backup from the pc to the phone and restored data with codeworkx recovery again.
Then flashed magisk 15.2 and rebooted.
Everything working fine now.
shriekyphantom said:
Good day!
Our country just received the Oxygen OS 5.0.1 update.
How can I install it with an unlocked bootloader?
I was going to relock it but I found out that if I did, my data will be gone.
The only difference in the set-up of my phone from a stock OP5 is the unlocked bootloader.
Click to expand...
Click to collapse
I managed to flash Nougat without locking my bootloader. But I also had to Format the Data partition to make it work. I used Titanium Backup to backup the data of the Apps and Myapplist to make a list of the apps. After installing Oreo I only needed to spent 1 hour to restoring the app data.
pleomaxell said:
I managed to flash Nougat without locking my bootloader. But I also had to Format the Data partition to make it work. I used Titanium Backup to backup the data of the Apps and Myapplist to make a list of the apps. After installing Oreo I only needed to spent 1 hour to restoring the app data.
Click to expand...
Click to collapse
Hello, I'm interested in the same thing.. I have oxygen osv4.5.x received notice for is 5.0.1 and want to install. I have an unlocked bootloader and am also rooted w/magisk. I want to keep my unlocked bootloader and root after upgrading. I also want to do a "clean" install.
Can anyone provide detail instructions, including best back up method of data and links to any files needed (twrp, magisk, etc) thanks
jmoricone said:
Hello, I'm interested in the same thing.. I have oxygen osv4.5.x received notice for is 5.0.1 and want to install. I have an unlocked bootloader and am also rooted w/magisk. I want to keep my unlocked bootloader and root after upgrading. I also want to do a "clean" install.
Can anyone provide detail instructions, including best back up method of data and links to any files needed (twrp, magisk, etc) thanks
Click to expand...
Click to collapse
This is what I did:
Downloaded OnePlus5Oxygen_23_OTA_028_all_1801031502_04d7cc5. zip, twrp-3.2.1-0-universal-codeworkx-cheeseburger.img and Magisk-v15.3.zip.
Rebooted to TWRP and installed the Codeworkx TWRP using the Install->Image option inside TWRP.
Rebooted to TWRP again to make sure that my TWRP was updated.
Entered WIPE from TWRP main menu and used the 'Format' option to Format the Data and typed 'Yes'
This deleted my Internal Storage so I had to backup everything beforehand.
Then used advanced wipe to wipe Cache and Dalvik.
Mounted the internal storage by using the Mount option from TWRP main menu.
I was having problem copying files to the internal storage so I rebooted TWRP and the problem was fixed.
Copied the OnePlus full update and Magisk zip file.
Installed the OnePlus full update and Wiped Cache and Dalvik and rebooted the device to make sure that the OS boots.
Then rebooted the device to fastboot to flash Codeworkx TWRP again because it was unavailable.
Booted into TWRP and flashed Magisk.
I am now on Oreo and I hate the way Ambient Display looks right now.
pleomaxell said:
This is what I did:
Downloaded OnePlus5Oxygen_23_OTA_028_all_1801031502_04d7cc5. zip, twrp-3.2.1-0-universal-codeworkx-cheeseburger.img and Magisk-v15.3.zip.
Rebooted to TWRP and installed the Codeworkx TWRP using the Install->Image option inside TWRP.
Rebooted to TWRP again to make sure that my TWRP was updated.
Entered WIPE from TWRP main menu and used the 'Format' option to Format the Data and typed 'Yes'
This deleted my Internal Storage so I had to backup everything beforehand.
Then used advanced wipe to wipe Cache and Dalvik.
Mounted the internal storage by using the Mount option from TWRP main menu.
I was having problem copying files to the internal storage so I rebooted TWRP and the problem was fixed.
Copied the OnePlus full update and Magisk zip file.
Installed the OnePlus full update and Wiped Cache and Dalvik and rebooted the device to make sure that the OS boots.
Then rebooted the device to fastboot to flash Codeworkx TWRP again because it was unavailable.
Booted into TWRP and flashed Magisk.
I am now on Oreo and I hate the way Ambient Display looks right now.
Click to expand...
Click to collapse
Thank you... I like everything about my current build..should I wait to upgrade... Any other issues with Oreo?
jmoricone said:
Thank you... I like everything about my current build..should I wait to upgrade... Any other issues with Oreo?
Click to expand...
Click to collapse
I honestly dont see a big difference yet, but only had it for two days. Feels a bit snappier, my signal a bit stronger, and probably an improvement with battery life. I had issues upgrading but then again I flashed the wrong version of magisk. I think the most important thing is the latest android security update.
SysAdmNj said:
I honestly dont see a big difference yet, but only had it for two days. Feels a bit snappier, my signal a bit stronger, and probably an improvement with battery life. I had issues upgrading but then again I flashed the wrong version of magisk. I think the most important thing is the latest android security update.
Click to expand...
Click to collapse
Hey, thanks.. I will update later today. I see you provided which version of twrp (twrp-3.2.1-0-universal-codeworkx-cheeseburger.img). But what is the difference between the version you noted and the one I found (twrp-3.2.1-0-oreo-8.0-codeworkx-cheeseburger.img)
I want to make sure I have the correct version.
Thanks again
jmoricone said:
Hey, thanks.. I will update later today. I see you provided which version of twrp (twrp-3.2.1-0-universal-codeworkx-cheeseburger.img). But what is the difference between the version you noted and the one I found (twrp-3.2.1-0-oreo-8.0-codeworkx-cheeseburger.img)
I want to make sure I have the correct version.
Thanks again
Click to expand...
Click to collapse
You can ask that question on the TWRP thread. May be they can answer it correctly. I guessed that twrp-3.2.1-0-universal-codeworkx-cheeseburger.img was for both Nougat and Oreo and that is why I used it. So, if you want to be sure you should ask that on a TWRP thread.
pleomaxell said:
This is what I did:
Downloaded OnePlus5Oxygen_23_OTA_028_all_1801031502_04d7cc5. zip, twrp-3.2.1-0-universal-codeworkx-cheeseburger.img and Magisk-v15.3.zip.
Rebooted to TWRP and installed the Codeworkx TWRP using the Install->Image option inside TWRP.
Rebooted to TWRP again to make sure that my TWRP was updated.
Entered WIPE from TWRP main menu and used the 'Format' option to Format the Data and typed 'Yes'
This deleted my Internal Storage so I had to backup everything beforehand.
Then used advanced wipe to wipe Cache and Dalvik.
Mounted the internal storage by using the Mount option from TWRP main menu.
I was having problem copying files to the internal storage so I rebooted TWRP and the problem was fixed.
Copied the OnePlus full update and Magisk zip file.
Installed the OnePlus full update and Wiped Cache and Dalvik and rebooted the device to make sure that the OS boots.
Then rebooted the device to fastboot to flash Codeworkx TWRP again because it was unavailable.
Booted into TWRP and flashed Magisk.
I am now on Oreo and I hate the way Ambient Display looks right now.
Click to expand...
Click to collapse
Hello, I was reviewing the process and just downloaded everything onto my computer and transferred onto my phone but have a few questions regarding some of the steps.
* Rebooted to TWRP and installed the Codeworkx TWRP using the Install->Image option inside TWRP
** Can I update TWRP via the official app and is that version of TWRP okay to use over the "twrp-3.2.1-0-universal-codeworkx-cheeseburger.img"
* Entered WIPE from TWRP main menu and used the 'Format' option to Format the Data and typed 'Yes' / This deleted my Internal Storage so I had to backup everything beforehand.
** How, what and where did you back up your data? Because later you mentioned "deleted my Internal Storage". I am guessing that because the OP5 does not have an external SD card everything is wiped and the new OS 5.0.1 needs to be saved onto a computer and then re-transferred back onto the phone. I am also guessing that the backup will need to be saved onto a computer as after wiping the phone it would also delete that file too, correct?
* Mounted the internal storage by using the Mount option from TWRP main menu.
** I am assuming that this option after the data wipe is self explanatory?
* I was having problem copying files to the internal storage so I rebooted TWRP and the problem was fixed.
** This is what makes be believe all the files should be on a computer. How did you reboot and when you did, does it go directly / back to TWRP?
* Installed the OnePlus full update and Wiped Cache and Dalvik and rebooted the device to make sure that the OS boots. / Then rebooted the device to fastboot to flash Codeworkx TWRP again because it was unavailable.
** I am guessing here that once OS v8 is installed the TWRP img is no longer on the phone. I would need to transfer the TWRP back onto the phone then re-flash? Could I just install the TWRP official app and flash that way?
Thanks
jmoricone said:
Hello, I was reviewing the process and just downloaded everything onto my computer and transferred onto my phone but have a few questions regarding some of the steps.
* Rebooted to TWRP and installed the Codeworkx TWRP using the Install->Image option inside TWRP
** Can I update TWRP via the official app and is that version of TWRP okay to use over the "twrp-3.2.1-0-universal-codeworkx-cheeseburger.img"
* Entered WIPE from TWRP main menu and used the 'Format' option to Format the Data and typed 'Yes' / This deleted my Internal Storage so I had to backup everything beforehand.
** How, what and where did you back up your data? Because later you mentioned "deleted my Internal Storage". I am guessing that because the OP5 does not have an external SD card everything is wiped and the new OS 5.0.1 needs to be saved onto a computer and then re-transferred back onto the phone. I am also guessing that the backup will need to be saved onto a computer as after wiping the phone it would also delete that file too, correct?
* Mounted the internal storage by using the Mount option from TWRP main menu.
** I am assuming that this option after the data wipe is self explanatory?
* I was having problem copying files to the internal storage so I rebooted TWRP and the problem was fixed.
** This is what makes be believe all the files should be on a computer. How did you reboot and when you did, does it go directly / back to TWRP?
* Installed the OnePlus full update and Wiped Cache and Dalvik and rebooted the device to make sure that the OS boots. / Then rebooted the device to fastboot to flash Codeworkx TWRP again because it was unavailable.
** I am guessing here that once OS v8 is installed the TWRP img is no longer on the phone. I would need to transfer the TWRP back onto the phone then re-flash? Could I just install the TWRP official app and flash that way?
Thanks
Click to expand...
Click to collapse
You have to flash TWRP by going to fastboot mode .
If you are rooted only then the TWRP app works
Aarju said:
You have to flash TWRP by going to fastboot mode .
If you are rooted only then the TWRP app works
Click to expand...
Click to collapse
Yes I am currently rooted. Once I flash the new OS will I still have root access to use the TWRP official app? Is that why after flashing new OS you need to flash TWRP via fastboot?
What about the backing up? I also have full titanium, thanks.
jmoricone said:
Yes I am currently rooted. Once I flash the new OS will I still have root access to use the TWRP official app? Is that why after flashing new OS you need to flash TWRP via fastboot?
What about the backing up? I also have full titanium, thanks.
Click to expand...
Click to collapse
After flashing the new rom you will be flashed stock recovery and you have to flash it through fastboot and flash magisk again.
Aarju said:
After flashing the new rom you will be flashed stock recovery and you have to flash it through fastboot and flash magisk again.
Click to expand...
Click to collapse
Hello, I followed the following instructions:
4. Entered WIPE from TWRP main menu and used the 'Format' option to Format the Data and typed 'Yes'
6. Then used advanced wipe to wipe Cache and Dalvik.
7. Mounted the internal storage by using the Mount option from TWRP main menu.
8. I (also) was having problem copying files to the internal storage so I rebooted TWRP and the problem was fixed.
9. Copied the OnePlus full update and Magisk zip file.
I went to install the update w/in twrp and now I get an error message:
Updater process ended with ERROR: 7
Error installing zip file '/sdcard/oneplus5oxygen_23_OTA_028.....
What happened? Anyone please help...
jmoricone said:
Hello, I followed the following instructions:
4. Entered WIPE from TWRP main menu and used the 'Format' option to Format the Data and typed 'Yes'
6. Then used advanced wipe to wipe Cache and Dalvik.
7. Mounted the internal storage by using the Mount option from TWRP main menu.
8. I (also) was having problem copying files to the internal storage so I rebooted TWRP and the problem was fixed.
9. Copied the OnePlus full update and Magisk zip file.
I went to install the update w/in twrp and now I get an error message:
Updater process ended with ERROR: 7
Error installing zip file '/sdcard/oneplus5oxygen_23_OTA_028.....
What happened? Anyone please help...
Click to expand...
Click to collapse
Wipe data and then copy the rom full zip flash it boot it to the starting screen then boot to recovery and then flash magisk ,you will see no errors.
Hello, I followed the following instructions:
4. Entered WIPE from TWRP main menu and used the 'Format' option to Format the Data and typed 'Yes'
6. Then used advanced wipe to wipe Cache and Dalvik.
7. Mounted the internal storage by using the Mount option from TWRP main menu.
8. I (also) was having problem copying files to the internal storage so I rebooted TWRP and the problem was fixed.
9. Copied the OnePlus full update and Magisk zip file.
I went to install the update w/in twrp and now I get an error message:
Updater process ended with ERROR: 7
Error installing zip file '/sdcard/oneplus5oxygen_23_OTA_028.....
What happened? Anyone please help...
I received the following tip
"Wipe data and then copy the rom full zip flash it boot it to the starting screen then boot to recovery and then flash magisk ,you will see no errors."
But this makes no sense to me.
I have formatted my phone / wiped data / have the full rom & magisk on my "/sdcard" / went to install zip via TWRP, selected the rom and received the error message.
I decided to just go and upgrade via OTA and that failed. My phone has rebooted back to stock
what am i doing wrong?

[Possibly bricked] "Failed to mount /data" & no internal storage

Hello everyone!
I have a P9 lite VNS-L31 running 7.0.1. on EMUI 5.0.2..
However during a factory wipe, it stopped booting correctly and I can't get passed from neither bootloader nor recovery.
I have TWRP Revolution v.260317 (TWRP 3.1.0-0) installed and my main problem is that for some reason the phone says that I have no internal storage whatsoever and if I try to wipe the /data partition it fails to mount it (error: Failed to mount /data (Invalid argument)).
I tried any of the methods in videos titled "how to fix unable to mount /data" (sorry, I cannot post links :/ ) but with no luck.
I can't seem to repair nor resize nor change file system of the /data partition. When trying to repair data using e2fsck it gives out the message:
" /sbin/e2fsck -fp process ended with ERROR: 16"
Any ideas?
I can use recovery and fastboot if necessary.
Regards
flash this twrp ;
https://forum.xda-developers.com/huawei-p9lite/development/twrp-t3588356
give me a thanks if it works
Exiatron00 said:
flash this twrp ;
https://forum.xda-developers.com/huawei-p9lite/development/twrp-t3588356
give me a thanks if it works
Click to expand...
Click to collapse
Well, more or less, but I managed to solve it!
I found out that the reason why it said there was 0mb of internal storage was because the bootloader that was previously unlocked turned itself locked, that's why it couldn't mount the /data partition. I just used SKR Tool to unlock the bootloader and after that yes, I installed that version of TWRP that you linked.
I also found out that the Revolution TWRP installed in the eRecovery partition (/recovery2 ?) instead of the normal recovery partition. What image is supposed to be installed in that partition?
That is the second recovery partition (another recovery) aka huaweis last ditch attempt to fix a broken phone. There's no actually problem if u don't have it-as most of the time (in my experience) its utter garbage, but there's no harm in flashing it if u want.
U can extract it from ur update.app file using huawei update extractor.
Exiatron00 said:
That is the second recovery partition (another recovery) aka huaweis last ditch attempt to fix a broken phone. There's no actually problem if u don't have it-as most of the time (in my experience) its utter garbage, but there's no harm in flashing it if u want.
U can extract it from ur update.app file using huawei update extractor.
Click to expand...
Click to collapse
Yeah, I tried to install the RECOVERY2.img that I extracted from the UPDATE.app and it didn't work so I just didn't bother and installed the TWRP again.
But at least everything is solved!
Thanks

Can't create a backup through TWRP.

I tried creating a system backup through TWRP just now for the first time ever. Throughout the process, it gave me multiple messages saying "unable to mount data" and the same for some other folders, and when the backup supposedly finished, it just said failed.
Is there anything I can try without actually wiping either of the partitions? This obviously because I'm trying to create a backup so I can wipe afterwards.
cyborgium said:
I tried creating a system backup through TWRP just now for the first time ever. Throughout the process, it gave me multiple messages saying "unable to mount data" and the same for some other folders, and when the backup supposedly finished, it just said failed.
Is there anything I can try without actually wiping either of the partitions? This obviously because I'm trying to create a backup so I can wipe afterwards.
Click to expand...
Click to collapse
In twrp main menu screen select ' Mount ' menu and make sure mount data is ticked then go back and try backing up again.
spawnlives said:
In twrp main menu screen select ' Mount ' menu and make sure mount data is ticked then go back and try backing up again.
Click to expand...
Click to collapse
Thanks for your reply, it doesn't actually let me tick that box. Nothing happens when I tick it. It also says that the data partition is 0mb. Any idea what that might mean?
cyborgium said:
Thanks for your reply, it doesn't actually let me tick that box. Nothing happens when I tick it. It also says that the data partition is 0mb. Any idea what that might mean?
Click to expand...
Click to collapse
Which version of twrp are you using
Latest is 3.2.3.0 which should fix the data issue ( it"s a known issue).
spawnlives said:
Which version of twrp are you using
Latest is 3.2.3.0 which should fix the data issue ( it"s a known issue).
Click to expand...
Click to collapse
That's the TWRP version that I've got installed.
I just reinstalled both stock firmware and reflashed TWRP but the exact same issue persists. At first I was able to mount data though, I could flash zips such as Magisk etc. But after having set everything up again on my phone, I couldn't mount data anymore.
cyborgium said:
That's the TWRP version that I've got installed.
I just reinstalled both stock firmware and reflashed TWRP but the exact same issue persists. At first I was able to mount data though, I could flash zips such as Magisk etc. But after having set everything up again on my phone, I couldn't mount data anymore.
Click to expand...
Click to collapse
Not sure on your steps to install twrp
Have you tried going into twrp in wipe menu and format data
spawnlives said:
Not sure on your steps to install twrp
Have you tried going into twrp in wipe menu and format data
Click to expand...
Click to collapse
Maybe I wasn't very clear.
I flash the stock firmware, set that up to enable OEM unlock. Then flash TWRP, wipe /data, flash magisk and other required zips (at this point, data is mounted). I then set that all up however I want, install apps etc.
If I want to create a backup after all that, it doesn't work cause of the unable to mount /data and /storage.
cyborgium said:
Maybe I wasn't very clear.
I flash the stock firmware, set that up to enable OEM unlock. Then flash TWRP, wipe /data, flash magisk and other required zips (at this point, data is mounted). I then set that all up however I want, install apps etc.
If I want to create a backup after all that, it doesn't work cause of the unable to mount /data and /storage.
Click to expand...
Click to collapse
Sounds like your device is still encrypted
Did you flash the no Verity encrypt zip file
Also I said to format data not wipe.
In the mount menu these are the options I have enabled.
spawnlives said:
Sounds like your device is still encrypted
Did you flash the no Verity encrypt zip file
Also I said to format data not wipe.
In the mount menu these are the options I have enabled.
Click to expand...
Click to collapse
You're right, I formatted data, not wipe.
I did flash the no verity zip, does the order in which I flash Magisk, no-verity and RMM state unlock matter?
cyborgium said:
You're right, I formatted data, not wipe.
I did flash the no verity zip, does the order in which I flash Magisk, no-verity and RMM state unlock matter?
Click to expand...
Click to collapse
The instructions I followed to install twrp
Flash twrp (which you have done)
Format data
When finished reboot back into twrp(use twrp reboot menu option)
Flash no-verity zip via twrp ( have to make sure you have it on internal storage or SD card)
Then flash everything else
Not sure if you need RMM state unlock if your bootloader(OEM) is already unlocked in developer options though.
spawnlives said:
The instructions I followed to install twrp
Flash twrp (which you have done)
Format data
When finished reboot back into twrp(use twrp reboot menu option)
Flash no-verity zip via twrp ( have to make sure you have it on internal storage or SD card)
Then flash everything else
Not sure if you need RMM state unlock if your bootloader(OEM) is already unlocked in developer options though.
Click to expand...
Click to collapse
I've just done everything you stated above, still the same issue, can't mount /data.
Really don't understand what it is that im doing wrong or if I'm even doing anything wrong..
Thanks for your help anyway though, appreciate it.
cyborgium said:
I've just done everything you stated above, still the same issue, can't mount /data.
Really don't understand what it is that im doing wrong or if I'm even doing anything wrong..
Thanks for your help anyway though, appreciate it.
Click to expand...
Click to collapse
Just as matter of curiosity I use FX file explorer (root) in the menu filesystem it should tell you what format your data partition is mine or ext4. I have read that some people through twrp have changed it to something like ext3 and then back to ext4
Also this is the thread I used to install my twrp
https://forum.xda-developers.com/ga...pment/recovery-twrp-galaxy-s8-exynos-t3595102
This thread may also help you out
https://forum.xda-developers.com/ga...ment/fix-data-mount-fix-s8-twrp-oreo-t3769254
spawnlives said:
Just as matter of curiosity I use FX file explorer (root) in the menu filesystem it should tell you what format your data partition is mine or ext4. I have read that some people through twrp have changed it to something like ext3 and then back to ext4
Also this is the thread I used to install my twrp
https://forum.xda-developers.com/ga...pment/recovery-twrp-galaxy-s8-exynos-t3595102
This thread may also help you out
https://forum.xda-developers.com/ga...ment/fix-data-mount-fix-s8-twrp-oreo-t3769254
Click to expand...
Click to collapse
I think that second thread you linked may have done the trick.
At first it didn't seem to help, but when I tried it again after reflashing everything, I am now able to mount /data.
I'm still in the dark as to why this happened and hasn't happened to anyone else other than the person who created that file, but either way, thank you very much for your help.
cyborgium said:
Maybe I wasn't very clear.
I flash the stock firmware, set that up to enable OEM unlock. Then flash TWRP, wipe /data, flash magisk and other required zips (at this point, data is mounted). I then set that all up however I want, install apps etc.
If I want to create a backup after all that, it doesn't work cause of the unable to mount /data and /storage.
Click to expand...
Click to collapse
Try the modded twrp from nx thread

Categories

Resources