I can't back up the rom via twrp - Moto G8 (Moto G Fast) Questions & Answers

I have a moto g8 xt2045-1 and I intend to install a custom rom, however when I try to make a backup, it always fails. Saying that there is no permission for the operation (operation not permitted), Also because of that, I can't even access my phone's internal memory through recovery. Instead of folders (Android, downloads, etc.) there are only several folders with a lot of mixed letters. So from what it looks like, twrp needs permission, but how can I do that?
Or I could also just install another one, but I can't find another recovery anywhere
AI'm using version 3.5.0-10_0 of twrp .. I hope you can help me

Did you mount all partitions before backing up? maybe a partition is read only ( like system) and that is why no permission.

mrsiri said:
Did you mount all partitions before backing up? maybe a partition is read only ( like system) and that is why no permission.
Click to expand...
Click to collapse
When this problem occurred, I thought it could be that, but unfortunately it is not.... All partitions are mounted as read and write, but still giving the same error.... And not to mention that the recovery is not even able to read the internal memory of the cell phone (in this case, the 'sdcard' folder) it gives that same error that occurs on the redmi note 8, where all the memory is encrypted.

Do you have Magisk Installed? Did you check the "preserve force encryption" checkbox when installing?

I have magisk installed yes, but I do not remember having marked anything during the installation, because there was no option. But can I still check this option?

mrsiri said:
Do you have Magisk Installed? Did you check the "preserve force encryption" checkbox when installing?
Click to expand...
Click to collapse
.

Go to magisk manager and look under advanced settings. maybe it was already checked as default when you installed. I guess you'll have to root again with that unchecked.
If you have that ticked, check out this guide and follow it: https://forum.xda-developers.com/t/fixed-how-to-remove-data-encryption-in-twrp.3757595/

mrsiri said:
Go to magisk manager and look under advanced settings. maybe it was already checked as default when you installed. I guess you'll have to root again with that unchecked.
If you have that ticked, check out this guide and follow it: https://forum.xda-developers.com/t/fixed-how-to-remove-data-encryption-in-twrp.3757595/
Click to expand...
Click to collapse
Okay, for now, thank you very much

Related

TWRP Can't find zip file for root

So I was following the instructions for the root, and am at the TWRP part where I select the zip file I placed onto the drive. When I go to install I see a ton of listed folders, but can't seem to figure out where the heck the zip file is I put on the device, I had dropped it into the root. Any help with this? I can not post in any other forum.
JuJu142 said:
So I was following the instructions for the root, and am at the TWRP part where I select the zip file I placed onto the drive. When I go to install I see a ton of listed folders, but can't seem to figure out where the heck the zip file is I put on the device, I had dropped it into the root. Any help with this? I can not post in any other forum.
Click to expand...
Click to collapse
So you didn't put it into any of the folders? Scroll down the zip should be at the bottom. Otherwise reboot and recheck that the file downloaded.
evodon84 said:
So you didn't put it into any of the folders? Scroll down the zip should be at the bottom. Otherwise reboot and recheck that the file downloaded.
Click to expand...
Click to collapse
Here's the thing, I can't find ANY of the folders that are listed when I open the internal stoage on my PC. At the top of TWRP it says "Internal Storage (0mb)" The folders I see are boot, cache, data, datadata, dedv, emmc, etc, external_sd, internal_sd, license, proc, recovery, res, root, sbin, sd-ext,, sdcard, supersu, sys, system, tmp, sys system, tmp, usb-otg . So confused.
Sigh and when at the bootloader or whatever it looks like I don't have access to the internal storage via my computer. Just shows up as "Android" on my PC.
I "Copied log to SD", it says it copied it to /data/media. When I go into the file manager. That location doesn't exist. Nothing inside that data folder....at all.
Wow
While browsing around I found this posted by another user:
"Originally Posted by Iktwo View Post
Hi, I just registered cause I had the same problem and I wanted to help, did you installed twrp? I did, and then supersu but I was stuck at boot, then I got internal storage says 0mb, so I tried wiping data, didn't work I got some problem wiping cache, then I tried format data, it succeed, then I tried wiping data again, succeeded also, then I rebooted and I can use it again! I hope that works for you too."
And it did. Booted the device back up and all of a sudden all of the files are there. Root complete.
i have same problem
Hi i have a same problem, storage and sd card seem 0 MB and i can't start install, i can see any folder.
JuJu142 said:
While browsing around I found this posted by another user:
"Originally Posted by Iktwo View Post
Hi, I just registered cause I had the same problem and I wanted to help, did you installed twrp? I did, and then supersu but I was stuck at boot, then I got internal storage says 0mb, so I tried wiping data, didn't work I got some problem wiping cache, then I tried format data, it succeed, then I tried wiping data again, succeeded also, then I rebooted and I can use it again! I hope that works for you too."
And it did. Booted the device back up and all of a sudden all of the files are there. Root complete.
Click to expand...
Click to collapse
I didnt understand your problem really well. Try clicking in internal sd folder and you should see zip otherwise at the top of twrp where you select storage select again internal storage and it should popup if i understood correctly.
Hi,
I have the same problem, I tried the above steps with no luck. I still can't see the folders from internal storage. Please help.
Solution Identified
Ramm14 said:
Hi,
I have the same problem, I tried the above steps with no luck. I still can't see the folders from internal storage. Please help.
Click to expand...
Click to collapse
There is a folder by the name "0" which you can find in TWRP and also from the File explorer. Place the SuperSU.zip inside the "0" folder using file explorer and they try to locate it from the TWRP. It should be visible then.
It worked for me, hope it does for you too.
Thanks
Ram
Ramm14 said:
Hi,
I have the same problem, I tried the above steps with no luck. I still can't see the folders from internal storage. Please help.
Click to expand...
Click to collapse
I experienced a similar problem with my nexus 5x and ended up on this thread from google search. I got it working after entering the password at password prompt, when phone started to boot into recovery. This decrypted the storage and mounted it, before booting to recovery. If I didn't enter a password and skipped it(hit cancel and moved on), then in the recovery I see that storage and sdcard as 0.
Hope this helps someone.
ashmay88 said:
Got it working after entering the password at password prompt, when phone started to boot into recovery. This decrypted the storage and mounted it, before booting to recovery.
Hope this helps someone.
Click to expand...
Click to collapse
It díd help someone, me
I was doing the same thing, cancelling this password prompt, I thought it was a encryption thing instead of a decryption thing (should read better).
Now I can access all files again on TWRP, thanks!
EDIT: I thought a bit more why this happend: it is of course because we activated the option 'ask pattern unlock before booting android', which is an option in the Nexus 5X welcome screens.
So I assume TWRP needs that pattern as well to access the Android folders once it's activated.
Also: I had to click the '3x3' option in the Password screen to make the pattern responsive, in case that's a hint someone looks for.
flekkie said:
It díd help someone, me
I was doing the same thing, cancelling this password prompt, I thought it was a encryption thing instead of a decryption thing (should read better).
Now I can access all files again on TWRP, thanks!
EDIT: I thought a bit more why this happend: it is of course because we activated the option 'ask pattern unlock before booting android', which is an option in the Nexus 5X welcome screens.
So I assume TWRP needs that pattern as well to access the Android folders once it's activated.
Also: I had to click the '3x3' option in the Password screen to make the pattern responsive, in case that's a hint someone looks for.
Click to expand...
Click to collapse
Glad it helped.
Where did you see it asking for a password? I have booted into recovery and can't see any password prompt and the storage is still at 0mb. Help?
I had the problem.
I solved it by formating the data.
> fastboot format userdata
Do not forget to do a backup of your backup in your PC, then put it back and restore..!!
I have soft bricked my device, after reading your forums, I downloaded a stock ROM for my device... transferred it to my ext SD card but i couldnt find the RAR file in TWRP.(install) Even tried my luck with usb otg... i could see the rom (rar) file in file manager even copied it from ext SD to internal storage... i have double checked the location of the file... is on root it isny inside any folders. Pls help
Do what I said format the internal SD.
In your twrp format internal storage.
Then reboot and problem solved.
Help! Guys I cant locate my storage neither internal nor external sd card when i tried to install from recovery mode.How can I get access to internal external storage?
I have similliar problem twrp doesn`t see any files from my phone and it says that i have no os installed.
Sorry for my english.
ashmay88 said:
I experienced a similar problem with my nexus 5x and ended up on this thread from google search. I got it working after entering the password at password prompt, when phone started to boot into recovery. This decrypted the storage and mounted it, before booting to recovery. If I didn't enter a password and skipped it(hit cancel and moved on), then in the recovery I see that storage and sdcard as 0.
Hope this helps someone.
Click to expand...
Click to collapse
Hi having the same problem as others .... and did not succed (wipe format and all). YOu say to put a password ... but which password?????
claudioita said:
Hi having the same problem as others .... and did not succed (wipe format and all). YOu say to put a password ... but which password?????
Click to expand...
Click to collapse
Your password on your device probably
what password??

Flashed marshmallow V20A update, software version has not changed.

Hello,
I flashed the new Marshmallow rom from this thread: http://forum.xda-developers.com/g4/development/stock-h815-20a-stock-images-kdz-t3232282
It worked, but there are some details which do confuse me.
When I booted up, I still had all of my apps installed and configured (like nova launcher for example). I even got greeted by the knock code lockscreen, which I have been using before. But I was forced to change that in the end.
I wiped system, dalvik cache and cache. To start with a clean Marshmallow rom. But that did not happen.
Software version says "V10c-EUR-XX", but it should be "V20a-EUR-XX". Right?
Here is a screenshot by the User S3V3N: http://imgur.com/a/SjbAC
I expected it to be the same for me, but it is isn't. The software version differs: http://imgur.com/vNXInVK
At last I have Marshmallow and I have not encountered any problems in running so far. Even though my old rom was rooted. I have been using xposed, which is still installed with all modules, but not active.
I merely wanted to know what I made wrong and if I am missing anything by having an older software version.
Should I have wiped more than only system, dalvik cache and cache?
If you have read the thread you would knew, atm Flash Tool app can't recognize the 20A kdz, so you have to wait for the updates.
I think it's because system wasn't formatted.
If you use a root explorer, you'll probably find you have a 'cust' folder leftover from a previous rom.
Delete the files in it and the correct system version will be shown after reboot.
f1ux said:
I think it's because system wasn't formatted.
If you use a root explorer, you'll probably find you have a 'cust' folder leftover from a previous rom.
Delete the files in it and the correct system version will be shown after reboot.
Click to expand...
Click to collapse
Is it safe to delete the cust folder?
polfrank said:
Is it safe to delete the cust folder?
Click to expand...
Click to collapse
I deleted its contents and it fixed the same issue OP has. Running great here.
Mine now says v20a-GLOBAL-COM :s
iko11 said:
If you have read the thread you would knew, atm Flash Tool app can't recognize the 20A kdz, so you have to wait for the updates.
Click to expand...
Click to collapse
I have not used the LG Flash tool for installation. It was twrp.
f1ux said:
I think it's because system wasn't formatted.
If you use a root explorer, you'll probably find you have a 'cust' folder leftover from a previous rom.
Delete the files in it and the correct system version will be shown after reboot.
Click to expand...
Click to collapse
I have wiped system. According to the console log in twrp, system was formatted and therefore should have been empty. Where is the cust folder supposed to be located? On a quick search with the twrp file explorer, I was not able to find it. I had only system mounted for that.
But nevertheless I would prefer to have a fresh start with Marshmallow. There are some leftovers (like Xposed) which I do not want to have.. So how can I be sure to achieve that? Wiping does not seem to do what it is supposed to do. Should I have also wiped "internal storage", what is on there?
Thank you for your help.
And if u havent root ( flashed with ff ) how can i change version ?

How to disable bloat wear on Qualcomm variants

So I found a way to disable apps that you can't disable through settings. There is an oem partition containing these apps so Titanium Backup can't locate them to delete, and trying to use a root file browser just freezes the device. You need to boot to twrp, click on mount and mount the oem partition. Next go to file manager and find the oem partition. Since these are not able to be backed up with twrp and they are separate from the system partition, I just renamed the apks with a ~ on the end. This way if the removal causes any issues you can just boot back to twrp and rename them back the way they were. Just be careful what you disable because I'm sure some of them are necessary. I'll play around and try to make a list of what can be disabled and maybe try to make a script to run in recovery to disable them.
Edit: since some users are unable to find the option to mount the /oem partition to debloat, I attached a couple zips to mount and make changes in twrp file manager and unmount afterwards.
Root file browser works, it freezes and all you do is force close the app and re do it and it works.
KyleBryant said:
Root file browser works, it freezes and all you do is force close the app and re do it and it works.
Click to expand...
Click to collapse
Doesn't work like that for me. The phone freezes completely.
amarc78 said:
So I found a way to disable apps that you can't disable through settings. There is an oem partition containing these apps so Titanium Backup can't locate them to delete, and trying to use a root file browser just freezes the device. You need to boot to twrp, click on mount and mount the oem partition. Next go to file manager and find the oem partition. Since these are not able to be backed up with twrp and they are separate from the system partition, I just renamed the apks with a ~ on the end. This way if the removal causes any issues you can just boot back to twrp and rename them back the way they were. Just be careful what you disable because I'm sure some of them are necessary. I'll play around and try to make a list of what can be disabled and maybe try to make a script to run in recovery to disable them.
Click to expand...
Click to collapse
I did find them through the OEM folder, can I just delete this folder through TWRP?
thereallinkieishere said:
I did find them through the OEM folder, can I just delete this folder through TWRP?
Click to expand...
Click to collapse
No! There are a few apps that are needed and you'll have big problems if you do. I would just rename them with a ~ or add .bak so if you have problems you can fiix it easily.
Sent from my LGLS755 using XDA Labs
amarc78 said:
No! There are a few apps that are needed and you'll have big problems if you do. I would just rename them with a ~ or add .bak so if you have problems you can fiix it easily.
Click to expand...
Click to collapse
I mean, that folder just has the apps I don't want...
thereallinkieishere said:
I mean, that folder just has the apps I don't want...
Click to expand...
Click to collapse
Yes. The whole folder with the Amazon apps can go.
amarc78 said:
Yes. The whole folder with the Amazon apps can go.
Click to expand...
Click to collapse
Yeah, that's what I want to get rid of but each time I try the phone freezes. Like, I don't wanna disable them. I want them gone. TWRP doesn't even open the OEM folder and there is no mount option for OEM so it's not like that's an option
thereallinkieishere said:
Yeah, that's what I want to get rid of but each time I try the phone freezes. Like, I don't wanna disable them. I want them gone. TWRP doesn't even open the OEM folder and there is no mount option for OEM so it's not like that's an option
Click to expand...
Click to collapse
Like I said in the first post, you have to mount the OEM folder. Select mount, then check the OEM box then go to file manager.
amarc78 said:
Like I said in the first post, you have to mount the OEM folder. Select mount, then check the OEM box then go to file manager.
Click to expand...
Click to collapse
What TWRP are you using? Mines doesn't have the option to mount OEM
squid2s
If you don't have root or an unlocked bootloader, you can use the Amazon Fire trick (To restore apps you simply factory reset).
-- Connect Device
Enable USB debugging in developers options
Code:
adb shell
-- List Apps
Code:
pm list packages
Alternatively, you can search for packages by name
-- Example
Code:
pm list packages amazon
-- Disable Apps
Code:
pm uninstall -k --user 0 [COLOR="Red"]"package name"[/COLOR]
If you want to disable the "No Sim Found" notification (its not hidable on Verizon ones at least) I found that its part of the moto setupwizard.
pm uninstall -k --user 0 com.motorola.setupwizard.phoneservice
I've found at least with Boost/ Sprint, you can do away with the whole oem partition. I removed the oem.prop and all the lines in the build.prop directing it to the oem.prop, and everything seems to work just fine. You just need to install a dialer since the stock Google dialer comes from there. I've also found that removing certain Google system apps causes PlayServices to crash when you do a factory reset, restore a system backup only with no data, or try to make a twrp flashable rom. I'm in the process of figuring out which ones need to remain and what can be removed without problems.
amarc78 said:
So I found a way to disable apps that you can't disable through settings. There is an oem partition containing these apps so Titanium Backup can't locate them to delete, and trying to use a root file browser just freezes the device. You need to boot to twrp, click on mount and mount the oem partition. Next go to file manager and find the oem partition. Since these are not able to be backed up with twrp and they are separate from the system partition, I just renamed the apks with a ~ on the end. This way if the removal causes any issues you can just boot back to twrp and rename them back the way they were. Just be careful what you disable because I'm sure some of them are necessary. I'll play around and try to make a list of what can be disabled and maybe try to make a script to run in recovery to disable them.
Edit: since some users are unable to find the option to mount the /oem partition to debloat, I attached a couple zips to mount and make changes in twrp file manager and unmount afterwards.
Click to expand...
Click to collapse
Confirming this DOES NOT work on the XT1765 Metro PCS version. Started a thread just for that phone as it seems to be the special one in the bunch.
So to clarify...
Boot twrp
Flash mount_oem.zip
Delete/alter file name of unwanted apks
OR
Delete oem partition
Flash unmount_oem.zip
Reboot
IF I delete whole partition, I must install a new dialer.
Any recommendations for new dialer app?
Edit:
IF I just delete individual apks, is boost launcher safe to remove? As in with out installing new dialer.
Thexmastermind said:
So to clarify...
Boot twrp
Flash mount_oem.zip
Delete/alter file name of unwanted apks
OR
Delete oem partition
Flash unmount_oem.zip
Reboot
IF I delete whole partition, I must install a new dialer.
Any recommendations for new dialer app?
Edit:
IF I just delete individual apks, is boost launcher safe to remove? As in with out installing new dialer.
Click to expand...
Click to collapse
He also said he removed oem.prop and all buildprop lines directing to oem.prop. (for deleting oem)
Right on. Would it be possible to redownload& install Google dialer via play store?
Thexmastermind said:
Right on. Would it be possible to redownload& install Google dialer via play store?
Click to expand...
Click to collapse
Don't see why not. Although the one originally included is slightly different.
Play store says phone is uncertified, so I can't download phone from Google. 3rd party works just fine, so do pretty much all other Google apps that I can see. This is just deleting OEM folder, not build.prop lines leading to OEM. I'm still kinda fresh and haven't really done that before, but I've got the firmware I can reflash so I'll try it tonight when I get home. Anything I need to know about build.prop?
Edit: I removed build.prop lines leading to oem. No noticeable difference. I reflashrd stock firmware. Get this: my phone would ring when I was called, but no app would let me answer lol third party dialer would let me make calls but not answer or hangup.

TWRP Weird folder names and no .zip file

Hey,
I'm new in this kind of stuff but need help as fast as possible. So I tried to root the phone but let me tell you something else. When I enter TWRT (boot into) and try to install the .zip file it shows weird folder names that I can't see on the computer. I have Win10 if this matters and Android 8.0 or 8.0.1. The folders are:
acct
boot
cache
config
cust
data
license
mnt
and it goes like that. The problem is that about 85 or 90% of these folders aren't visible on my computer when I plug in my phone... The System is mounted in TWRP and everything is mounted. I tried wiping all the data. I have unlocked bootloader. Also when I go to some of these folders I see REALLY strange folder names like: 671hnsuh1b%nqjus Or something like. I've found out that it's encrypted but I just want to root the phone and find the .zip file. Also can someone explain me these acct, boot, license, vendor, version and other folders that aren't visible on my PC? Please help. I'm so confused, not clue what's going on...
You need to use the format data option to decrypt the internal storage. Better use SD card or USB OTG to flash the root file. Anyway don't wipe the oeminfo or vendor partition in any case and take a backup of all partition beforehand.
kksnis said:
You need to use the format data option to decrypt the internal storage. Better use SD card or USB OTG to flash the root file. Anyway don't wipe the oeminfo or vendor partition in any case and take a backup of all partition beforehand.
Click to expand...
Click to collapse
Well, I already used this option. The format data option and it's still the same. Maybe the version of my twrp helps: 3.1.1-1
Aspect13 said:
Well, I already used this option. The format data option and it's still the same. Maybe the version of my twrp helps: 3.1.1-1
Click to expand...
Click to collapse
Strange. What is the android version?Did you had any lock screen set before formatting? Can you please share a screenshot or log during formatting, if you have any. Anyway you can use adb sideload to flash the .zip file.Cheers
kksnis said:
Strange. What is the android version?Did you had any lock screen set before formatting? Can you please share a screenshot or log during formatting, if you have any. Anyway you can use adb sideload to flash the .zip file.Cheers
Click to expand...
Click to collapse
My android version is 8.0 so it's oreo. I've also noticed that the 3.1.1-1 version of twrp is the only one from what I tried that I can install the newer versions gave me an error. I had lock screen and it was code not a fingerprint but I wasn't prompt for a code after booting into twrp. Adb sideload seems to fail all the time so I can't do it :/.
The logs from wiping data are:
Updating partition details...
..done
Full SELinux support is present.
MTP Enabled
Starting ADB Sideload feature...
Starting ADB Sideload feature... (And it failed now wipe logs.):
Fomatting Data using mkfs.f2fs...
Done.
You may need to reboot recovery to be able to use /data again.
Updating partition details...
...done
So yea I'm so sad tbh with this... I'll try to install new twrp after the wipe if the wipe didn't help and will tell you if I get an error when I try to boot into NEW twrp.
EDIT: Ye still an error.
Maybe you have a link to the newest working twrp?
Nevermind got it. Downloaded the modded twrp by TEAM MT I guess from here: https://forum.xda-developers.com/honor-8-pro/development/wip-twrp-3-1-1-0-duk-t3625798 Works perfectly and SOLVED!

Installed the Begonia Recovery Project and all files in my main storage have random letters

I was attempting to install the Begonia Recovery Project for Miui 12.5 (android 11) using the fastboot method. But when I reboot into this new recovery and look inisde the "install" tab, all my folders from my main storage are made up of random letters and numbers.
I assume that this means that my files are still encrypted but I am not sure how to decrypt them.
I am running MIUI 12.5.3 Global edition on android 11 and the Begonia Recovery Project version I downloaded and installed was from this website : https://www.pling.com/p/1556862/
Furthermore, I have a unlock pattern on my phone but when I boot into the custom recovery, it doesn't ask me for my unlock pattern. Could this be the reason all my files are named with random letters and numbers?
It won't let me boot back into my operating system and when I try, I get an warning saying "No OS Installed! Are you sure you wish to reboot?". Rebooting leads me right back into the custom recovery, with all files still named with random characters.
I would prefer to be able to boot back into my system without having to lose any of my personal files on my phone (if that is possible).
Any help is greatly appreciated and I thank you in advance
Sqorpz said:
I was attempting to install the Begonia Recovery Project for Miui 12.5 (android 11) using the fastboot method. But when I reboot into this new recovery and look inisde the "install" tab, all my folders from my main storage are made up of random letters and numbers.
I assume that this means that my files are still encrypted but I am not sure how to decrypt them.
I am running MIUI 12.5.3 Global edition on android 11 and the Begonia Recovery Project version I downloaded and installed was from this website : https://www.pling.com/p/1556862/
Furthermore, I have a unlock pattern on my phone but when I boot into the custom recovery, it doesn't ask me for my unlock pattern. Could this be the reason all my files are named with random letters and numbers?
It won't let me boot back into my operating system and when I try, I get an warning saying "No OS Installed! Are you sure you wish to reboot?". Rebooting leads me right back into the custom recovery, with all files still named with random characters.
I would prefer to be able to boot back into my system without having to lose any of my personal files on my phone (if that is possible).
Any help is greatly appreciated and I thank you in advance
Click to expand...
Click to collapse
This is the reason why everyone recommends taking a backup of your files and resetting your device prior to such attempts. Unfortunately, most likely you will lose part, if not all of your files.
That No OS Installed error is normal since MIUI is a system on root OS and TWRP isn't able to detect them.
That random named folders is your internal storage but it's encrypted. You'll need to enter your passcode every time you boot to TWRP. If it doesn't ask you go to Mount and select Decrypt Data
To disable encryption you'll need to format data and install Disable ForceEncrypt. Doing this will erase EVERYTGHING. (except Find Device,IMEI's etc)
I would recommend you to install this TWRP to decrypt them.
If your device boots back to TWRP, it might be triggering Rescue Party. (click the 3rd button on the bottom of the screen to view the logs)
Fytdyh said:
This is the reason why everyone recommends taking a backup of your files and resetting your device prior to such attempts. Unfortunately, most likely you will lose part, if not all of your files.
Click to expand...
Click to collapse
I had installed twrp like this before and never had this type of error. But yes, the smart thing would definately be to always have backups. Lesson learned for next time!
Canny1913 said:
That No OS Installed error is normal since MIUI is a system on root OS and TWRP isn't able to detect them.
That random named folders is your internal storage but it's encrypted. You'll need to enter your passcode every time you boot to TWRP. If it doesn't ask you go to Mount and select Decrypt Data
To disable encryption you'll need to format data and install Disable ForceEncrypt. Doing this will erase EVERYTGHING. (except Find Device,IMEI's etc)
I would recommend you to install this TWRP to decrypt them.
Click to expand...
Click to collapse
Thank you for the fast reply.
I installed the twrp that you recommended. TWRP still isn't asking for my passcode and I can't find a "Decrypt Data" option in the Mount section. The only checked options in Mount are "Data", "Cache", and "Micro SD Card".
Is Disable ForceEncrypt needed in order to be able to boot back into my operating system? Is there any way to boot back into my OS without this?
Thanks again for the fast reply!
Sqorpz said:
Thank you for the fast reply.
I installed the twrp that you recommended. TWRP still isn't asking for my passcode and I can't find a "Decrypt Data" option in the Mount section. The only checked options in Mount are "Data", "Cache", and "Micro SD Card".
Is Disable ForceEncrypt needed in order to be able to boot back into my operating system? Is there any way to boot back into my OS without this?
Thanks again for the fast reply!
Click to expand...
Click to collapse
That zip can only be used if your data is formatted. If you flash it without formatting data you'll be making the situation even worse because it won't allow you to decrypt anymore. (it makes the phone think data isnt encrypted tho it clearly is encrypted)
Also did you check the logs as i suggested to determine the reason why the phone is not booting?
Canny1913 said:
That zip can only be used if your data is formatted. If you flash it without formatting data you'll be making the situation even worse because it won't allow you to decrypt anymore. (it makes the phone think data isnt encrypted tho it clearly is encrypted)
Also did you check the logs as i suggested to determine the reason why the phone is not booting?
Click to expand...
Click to collapse
Whoops, I used the twrp you recommended without formatting the data. Does this mean my data is forever undecryptable?
I checked the logs and indeed it is triggering the Android Rescue Party.
It suggests possible solutions that are
wipe caches, and/or
Format data, and/or
Clean-flash your ROM.
The reported problem is :
'--reason=enablefilecrypto_failed'
Sqorpz said:
Whoops, I used the twrp you recommended without formatting the data. Does this mean my data is forever undecryptable?
I checked the logs and indeed it is triggering the Android Rescue Party.
It suggests possible solutions that are
wipe caches, and/or
Format data, and/or
Clean-flash your ROM.
The reported problem is :
'--reason=enablefilecrypto_failed'
Click to expand...
Click to collapse
No i didnt meant that, i said the Disable ForceEncrypt zip needs data to be formatted.
The reported problem unfortunately means your phone cannot setup encryption. (thats why twrp won't decrypt it)
The only solution is to format data to make the phone usable again.
(you might as well flash the disable encryption zip after formatting the data since encryption on android is a pain in the ass and it makes the phone a bit faster)
By the way, do not wipe data, just click Format Data and format it since it doesn't get rid of the encryption properly.
T
Canny1913 said:
No i didnt meant that, i said the Disable ForceEncrypt zip needs data to be formatted.
The reported problem unfortunately means your phone cannot setup encryption. (thats why twrp won't decrypt it)
The only solution is to format data to make the phone usable again.
(you might as well flash the disable encryption zip after formatting the data since encryption on android is a pain in the ass and it makes the phone a bit faster)
By the way, do not wipe data, just click Format Data and format it since it doesn't get rid of the encryption properly.
Click to expand...
Click to collapse
Thank you so much for your informative responses.
Apologies, I thought you meant that flashing different twrp would lead to undecryptable files.
By formatting data do you mean the parition on my phone called "data"?. I forgot to add that files in my "data" folder have sensible names and don't look encrypted. Is it normal for it to just encrypt my internal storage?
By the sounds of it, I think I will proceed with your suggestion of formatting the data. Just to clarify, will this method also remove everything in my internal storage, eg pictures, music, videos?. Is there a way to continue with this method without having to lose those?
I appreciate your help greatly.
Sqorpz said:
Thank you so much for your informative responses.
Apologies, I thought you meant that flashing different twrp would lead to undecryptable files.
By formatting data do you mean the parition on my phone called "data"?. I forgot to add that files in my "data" folder have sensible names and don't look encrypted. Is it normal for it to just encrypt my internal storage?
By the sounds of it, I think I will proceed with your suggestion of formatting the data. Just to clarify, will this method also remove everything in my internal storage, eg pictures, music, videos?. Is there a way to continue with this method without having to lose those?
I appreciate your help greatly.
Click to expand...
Click to collapse
They actually encrypted the whole partition till Android 10. This required you to enter a password before the phone boots up but now they only encrypt the internal storage,apps and app data so you don't have to enter a password anymore before the phone boots-up.
Yes formatting the data will erase everything on your device including the internal storage.
Because they are encrypted just like the other part of data there's no way to save them.
Canny1913 said:
They actually encrypted the whole partition till Android 10. This required you to enter a password before the phone boots up but now they only encrypt the internal storage,apps and app data so you don't have to enter a password anymore before the phone boots-up.
Yes formatting the data will erase everything on your device including the internal storage.
Because they are encrypted just like the other part of data there's no way to save them.
Click to expand...
Click to collapse
I see. So could this have been avoided if I had flashed the twrp after disabling my password? Is it a smart practice to disable your password before doing stuff like flashing a custom recovery?
Obviously losing all my data and internal storage is definately a kick in the nuts. But it is also my fault for not backing up my data before experimenting like this.
Could you please send me an oultine of the steps I need to follow in order to proceed with your method of getting my phone working again. Frankly, I have little experience in this area and I'm afraid i'll make a mistake in the process. I also trust in your expertise and experience far greater than mine.
Thank you again!
Sqorpz said:
I see. So could this have been avoided if I had flashed the twrp after disabling my password? Is it a smart practice to disable your password before doing stuff like flashing a custom recovery?
Obviously losing all my data and internal storage is definately a kick in the nuts. But it is also my fault for not backing up my data before experimenting like this.
Could you please send me an oultine of the steps I need to follow in order to proceed with your method of getting my phone working again. Frankly, I have little experience in this area and I'm afraid i'll make a mistake in the process. I also trust in your expertise and experience far greater than mine.
Thank you again!
Click to expand...
Click to collapse
Simple, enter TWRP, go to Wipe, click Format Data, type yes then hit enter. Your data will be wiped. reboot the phone in Recovery mode (not to the normal OS or else the phone will encrypt again) again so the internal storage gets created.
Plug your phone into a PC, download this:https://zackptg5.com/downloads/archive/Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip
copy it to your phone and install it. If you want to use Magisk, install Magisk first then this zip file. The encryption will be completely disabled.
To answer your first question, It wasn't your fault because i have no idea why your storage got corrupted in the first place but you should definitely disable the password (or disable the encryption if you want to use a password) before doing anything.
Canny1913 said:
Simple, enter TWRP, go to Wipe, click Format Data, type yes then hit enter. Your data will be wiped. reboot the phone in Recovery mode (not to the normal OS or else the phone will encrypt again) again so the internal storage gets created.
Plug your phone into a PC, download this:https://zackptg5.com/downloads/archive/Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip
copy it to your phone and install it. If you want to use Magisk, install Magisk first then this zip file. The encryption will be completely disabled.
To answer your first question, It wasn't your fault because i have no idea why your storage got corrupted in the first place but you should definitely disable the password (or disable the encryption if you want to use a password) before doing anything.
Click to expand...
Click to collapse
Since I am reseting my phone to its factory settings, I researched into some ROMs that I may use instead of MIUI. I came across the Pixel Experience ROM and I'm considering installing it.
I read somewhere that flashing a ROM involves having to disable encryption every time you flash a new ROM or something along those lines. Will installing the Disable ForceEncrypt disable encryption permanently or will I have to considering installing it again if I want to flash the Pixel Experience ROM?
Sqorpz said:
Since I am reseting my phone to its factory settings, I researched into some ROMs that I may use instead of MIUI. I came across the Pixel Experience ROM and I'm considering installing it.
I read somewhere that flashing a ROM involves having to disable encryption every time you flash a new ROM or something along those lines. Will installing the Disable ForceEncrypt disable encryption permanently or will I have to considering installing it again if I want to flash the Pixel Experience ROM?
Click to expand...
Click to collapse
You will have to install it again if you install a new ROM or kernel since it modifies both of them (they both get wiped if you install or update the ROM.
I recommend you follow their install guide since a lot of people get confused when they see errors.
Flashing PE A12
1. Flash latest Firmware. 2. Flash latest Dynamic TWRP. 3. Reboot to Dynamic TWRP. 4. Flash latest PE rom zip and then format data. 5. Reboot and enjoy. Links Here: Dynamic TWRP: TWRP For A12 Note: If you see any red line errors on twrp just ignore them and continue flashing. Also before...
telegra.ph
Canny1913 said:
You will have to install it again if you install a new ROM or kernel since it modifies both of them (they both get wiped if you install or update the ROM.
I recommend you follow their install guide since a lot of people get confused when they see errors.
Flashing PE A12
1. Flash latest Firmware. 2. Flash latest Dynamic TWRP. 3. Reboot to Dynamic TWRP. 4. Flash latest PE rom zip and then format data. 5. Reboot and enjoy. Links Here: Dynamic TWRP: TWRP For A12 Note: If you see any red line errors on twrp just ignore them and continue flashing. Also before...
telegra.ph
Click to expand...
Click to collapse
Thank you for all your help. It was probably simple and easy for you but for me, I had no idea what I was doing and would never have done the steps that you suggested so thank you. I really appreciate all the help you've given me.
I just have one last request that is : do you know any good backup services for android? I know about services like google photos for backing up photos and videos, but I was wondering if there were any that backed up the android as a whole, including app data/progress, photos, videos, notes etc.
Thank you again for all your support and making this process very simple and easy and wish you all the best.
Sqorpz said:
Thank you for all your help. It was probably simple and easy for you but for me, I had no idea what I was doing and would never have done the steps that you suggested so thank you. I really appreciate all the help you've given me.
I just have one last request that is : do you know any good backup services for android? I know about services like google photos for backing up photos and videos, but I was wondering if there were any that backed up the android as a whole, including app data/progress, photos, videos, notes etc.
Thank you again for all your support and making this process very simple and easy and wish you all the best.
Click to expand...
Click to collapse
Google One app can backup photos,SMS, phone call history and redownloads all of the apps (except apps that were installed from an apk file)
Pixel Experience actually bypasses the Google Photos storage limit so you can backup your entire gallery without problems.
For notes just use Google Keep, it syncs the notes to your Google account.
App data can be backed up by Titanium Backup or Migrate. (i suggest you test them before backing up your entire app data as suggested by Migrate developer)
I don't exactly recommend backing up Data as a whole since your only option is TWRP and TWRP loves to complain when it comes to backing up and restoring.
Thanks for the best wishes and i wish you all the best too. Have a good one.

Categories

Resources