TWRP Restores f2fs error - Moto G5 Plus Questions & Answers

I have unlocked the bootlaoder and am running TWRP 3.2.1-0 and have made several onto my SD card. All completed with no issues.
Upon attempting to restore, the backup seems to work and then a TWRP message that says the restore won't boot unliess I change to f2fs.
I've never used f2fs and am wondering is this because of the version of oreo (OPS28,85-13) that I am running?
So I have backups that I can't use or could I move them to internal storage from the card?
Thanks

Related

Unable to Restore TWRP Backup

Hello,
I was on a stock ROM and decided I wanted to try a custom ROM so using TWRP 2.7.1.0 (latest) I created a ROM backup. I had trouble flashing roms using TWRP when the ROM was on the extSD card and I had copied and pasted the file. Once I downloaded the ROM through the phone and flashed from the Downloads directory on the internal storage it finally worked.
So now I want to go back to my stock ROM. I have a copy of the backup on the internal and external SD card. Neither restore will work. Every time it trys to "Restore Data" it fails. Now I am in Recovery mode with no OS and no ROMS on the internal storage.
Any idea why the restore won't work and if I have any options with no ROM installed?

[Q] TWRP/CWM deleting backups/not saving changes on reboot

Hello all,
I am currently running the latest snapshot of Cyanogenmod 11 (M12) on my GS4 and last month I used Flashify to install TWRP 2.8.4.0 over the default CWM 6.0.4.7 recovery that comes with CM11. I did a nandroid backup to my external 64 GB microSD card and it would say that the backup was successful, and I could see it within the file manager and on my PC using MTP.
However, whenever I reboot into the OS, the backup folder gets deleted. I have then tried to backup only the /system partition to my internal storage, since I do not have enough space on my internal storage for a full nandroid. This backup worked successfully as I can access the folder from the OS, however I would still like to a full backup on my SD card since it has enough space for a full nandroid
Here is what I tried:
1. While in TWRP, I copied the newly created backup folder over MTP to my computer. After I rebooted the phone, I shut it down and plugged the SD card into my computer and copied the backup back to my SD card. However, when I placed the SD card back into the phone and powered it on, it deleted the backup again.
2. I reflashed CWM (same version, but newly downloaded and flashed using Flashify) and attempted to do a full nandroid. I received an error saying that the /data partition could not be backed up. Interestingly, I deleted an old CWM backup on my SD card, and after I rebooted that old backup was still there.
3. I flashed TWRP 2.7.1.0 and 2.8.3.0, and still have the same issue.
The version of CWM that I had before I installed TWRP would backup without issues. I am not sure if this is an OS, hardware, or an SD card issue, though my guess would be that when booting into the OS, Android deletes any changes that were made to the SD card that were not made in the OS. I am not sure how to fix this issue and was hoping someone on this forum could help, and I have searched other forums for answers, but haven't found one as specific as this, and solutions for similar problems haven't worked.
The phone works fine otherwise, I'm just worried that with CM12 M releases coming around the corner that I won't be able to install it properly with these recovery issues.
Any help on this would be appreciated, and if there is a better XDA forum for me to ask this on please let me know.
I figured out the issue. Turns out my microSD card is faulty. Sandisk will send a replacement.

TWRP storage help

Today I used a SanDisk USB 3.0 128gb flash drive to create adoptable storage. When I boot TWRP and create a backup everything goes fine and the backup is created because I can see it under Restore. But when I boot into Android I can't find the backup anywhere. I looked in all the normal places. /Sdcard/ and /storage/emulated/0 and /sdcard/usb I looked for two hours. I rebooted to TWRP and it's still there /sdcard/USB/sda1/TWRP . I want to be able to allocate a backup somewhere else in case of thermonuclear meltdown. I got my first shield a month ago and rooted and unlocked the bootloader. And I tried flashing TWRP but apparently it's not possible so I've been booting twrp. I know I can't flash because the partition will correct itself on first boot and fix recovery.
Where are my TWRP backups? And why is removable storage ( non-adopted storage) like a thumb drive not showing in TWRP?

Encryption on DotOS Pie bootloops, TWRP won't decrypt even with correct password

So, after a few months on Oreo I clean flashed DotOS Pie last night, got the whole thing set up and tried to encrypt phone. It now bootloops, but I can get to TWRP, which shows me a pattern to decrypt data, even though my phone had PIN lock. I did the trick to "translate" between PIN and pattern grid. TWRP shows me "data successfully decrypted, new block device: '/dev/block/dm-0'", but I can't mount /data (consequently can't mount /sdcard), though I can mount /system. TWRP's console shows "Failed to mount /data (Invalid argument)".
I know I can just format /data on the wipe menu to get rid of encryption, but since I don't have a backup of /sdcard, I would like to know if there is any way to get /data mounted again so I can backup my internal storage before formatting /data.
If it makes any difference, my TWRP version is 3.2.1-0, latest one available at twrp.me. I heard that 3.2.1-1 handles encryption better (even better than more recent versions on some devices), but it's not available on the official site.
--Other details that might be relevant, but I'm not sure:
1. I do have TiBu's backup on my computer, so if I must restore my apps I'm fine with it (though I don't have a backup of the whole internal storage);
2. I also have a Nandroid backup of /system, /data and /boot, but it's on the phone storage only;
3. Last, but not least, I have flashed latest Magisk just before encrypting the device.
I saw some stuff related to a no-verity encryption zip file to be flashed via TWRP in some discussions regarding other devices, would it be of any help in my case?
@anupritaisno1 sorry to bother you, but you're the one person to ask for help with TWRP on OP2. Could you lend me a hand here? Would your enhanced TWRP help in my case? I know one shouldn't restore backups made with one version of TWRP within another version, and also that the tempcache stuff needs to be set up to flash ROMs. My plan here, if this could help, was to see if your enhanced TWRP can successfully decrypt my /data and internal storage, then I would back up my internal storage to my computer and either set up tempcache or reflash official 3.2.1-0 to format data and flash the ROM again.
Thanks in advance.

Twrp unable to mount data/decrypt data even after flashing decrypt.zip

Hi!! I have unlocked my bootloader, flashed twrp successfully. But when i boot into twrp it asks a password and then a message pops up and shows
"Unable to mount storage".
"Failed to decrypt data".
After that the internal memory and every data partiton shows 0mb. I have to factory reset my phone so thattwrp can read the memory in my phone.
After that i flash decrypt.zip and magisk and then boot into my system. But when i boot into twrp again the same message pops up and it cannot read my memory.
Can anyone help me i have been trying to fix my twrp for over a week now:crying:.
what version of TWRP are you using?
If you are from locked bootloader and flashing TWRP via fastboot for flashing custom roms, TWRP will recommend you to wipe internal storage.
I used Advanced Wipe and select all except USB-OTG and Micro SD Card to remove the encryption set by the stock rom to the internal storage and to clean the phone for the preparation of flashing custom rom
After that, that will fix the "Unable to mount storage" error and internal storage is now available. You don't need to flash decrypt.zip when you are flashing a custom rom unless you are flashing a modified Stock rom or the dev recommends it for their custom rom :good:
jude thomas said:
Hi!! I have unlocked my bootloader, flashed twrp successfully. But when i boot into twrp it asks a password and then a message pops up and shows
"Unable to mount storage".
"Failed to decrypt data".
After that the internal memory and every data partiton shows 0mb. I have to factory reset my phone so thattwrp can read the memory in my phone.
After that i flash decrypt.zip and magisk and then boot into my system. But when i boot into twrp again the same message pops up and it cannot read my memory.
Can anyone help me i have been trying to fix my twrp for over a week now:crying:.
Click to expand...
Click to collapse
See my new Q&A thread.
Sent from my ZenFone Max Pro M1 using XDA Labs

Categories

Resources