[Help] Disable request for factory reset/stuck in recovery loop - Android Q&A, Help & Troubleshooting

Hi,
I have Unnihertz Titan (Mediatek based) and I sucesfuly flashed TWRP by using a guide and got root via Magisk. Everything was working fine, I tried to restore some partial backups and it failed, so I tried Factory reset. Didn't worked from TWRP (now I know that because /data partition was encrypted), so I tried from settings. That was huge error. Now I'm stuck in the loop, bootloader tries to run recovery to do Factory reset, but the alpha TWRP I installed doesn't react and what is worse it doesn't clear the request for Factory reset so even after wiping /data and cache, I still end up in TWRP and not system. Any idea where the request for Factory reset might be stored?

Ok, found it, it was in `para` partition and all I had to do was erase it using fastboot.

Related

[Q]How to Decrypt an ATT HTC One?

Hello everyone,
Does anyone know how I can wipe/decrypt an encrypted ATT HTC One? I need to remove encryption to install another ROM.
Prior to this phone I had a Galaxy S3 and to remove encryption I needed to use ODIN to restore the device to factory defaults.
I have tried to enter the encryption initial PIN incorrectly a number of times and the phone just reboots,
I have tried to enter the encryption PIN incorrectly after getting past the first encryption password over 40 times and that did not work either.
I tried a factory reset in CWM and that did not work as it could not mount /data (assuming that is because it is encrypted.)
I am now trying to SOFF and factory reset with CWM.
* UPDATE *
So I succesfully S-OFF'd my device, booted into the boot loader, chose the "factory reset" option which launched CWM, chose factory reset and same issue. CWM reports "Formatting data... Error mounting /data! Skipping Format..."
Can anyone provide any input?
Flash stock recovery, reboot to bootloader, then factory reset.

Factory reset with custom rom

I have a question that must be obvious to many but I don't know the answer and am curious.
Right now I am rooted and if I want to install a new rom I do the factory reset and wipe caches in recovery and then install the custom rom.
What happens if
1. I do this reset and clear caches within recovery and just reboot without installing a rom?
2. What happens if I do a factory reset with settings?
I know the phone will start in setup mode but will it have the last rom I installed or what?
If you're wiping system too, then the phone won't boot - except to recovery if you tell it to. If you're not wiping system but you're wiping data, then the phone will boot but be like you just installed it new for the first time and you have to set it up.
I'm not positive what Factory Reset within settings will do, if it works or not, when you have a custom recovery installed. Normally under a completely stock ROM with stock recovery, Factory Reset from Settings or from the stock recovery would wipe everything but system. It wipes Data, Cache, Dalvik, and internal storage. You can achieve the same thing from custom recovery if you wish to. And yes, as long as you didn't wipe System, the last ROM you had installed would boot.
Doing a factory reset from settings with twrp installed should be like doing a factory reset in twrp. TWRP will takeover when the phone restarts to do the factory reset. At least that is how it was with my Moto X phones. I've done it with Jasmine on my G3, but don't remember the outcome. It was only a few days ago too. Lol. I'm a retard.
Sent from my XT1060 using Tapatalk

e recovery failed to factory reset

Is anyone having similar problems. I have flashed an open kirin rom. After that I haven't been able to factory reset the phone using the stock recovery and it keeps looping. The factory reset option seems to be blurred out and I can't access it
What should I do in this scenario ?
TIA
Do you have flashed recovery_ramsdisk with Magisk?
In that case, you may have to restore the stock recovery
When I trieed, I noitced that eRecovery boots Recovery to factory reset and wipe. Which was not possible with the falshed magisk....
Good luck,
Peter

problem with encryption

hi today i unlock my poco, and try to flash recovery and mi globe, i flash the orange fox 9.0, and flash the rom, the problem its when i boot to system, a message of my phone was encrypted and i need to perform a wipe data, i try wiping data, and wipe sd, and nothing change, also i flash again and flash then the disableencryptiontreble 17.3, and the same things happen, some solution??
have you tried to format data? not just wipe data
chanta96 said:
hi today i unlock my poco, and try to flash recovery and mi globe, i flash the orange fox 9.0, and flash the rom, the problem its when i boot to system, a message of my phone was encrypted and i need to perform a wipe data, i try wiping data, and wipe sd, and nothing change, also i flash again and flash then the disableencryptiontreble 17.3, and the same things happen, some solution??
Click to expand...
Click to collapse
i have the same issue, tried different recovery projects, OFRP and TWRP. both seem to have the same issue, with the message "encryption unsuccessful" and if i tried to press the "RESET DEVICE" button i get stuck in a boot loop.
i also factory reset my device, formatted everything via the recovery project menu then booted into recovery and installed the CUSTOM ROMS.
tried also to DFE but nothing seem to change even with encryption disabled.
but i scarcely manged to bypass this issue by; after wiping everything boot into recovery and install whatever rom you want and install gapps after it, better still install firmware vendor if the rom of your choice doesnt include them.
never mind, i fixed it.
in my case i was trying to flash LineageMicroG 16 on my Device and i kept getting that error and i did the following to fix it;
wiped everything and wrote "yes" to format the date and swiped for a factory reset through recovery wipe option then i booted into recovery and flashed LineagemicroG 16 after that i flashed optimus drunk kernel and booted into system and everything seemed to work fine, the kernel is what fixed the problem.

Unable to wipe data in recovery mode Samsung galaxy 10.1

Before I flashed twrp,l tried doinga hard reset through stock recovery. I wiped data and cache but after rebooting my personal data was left untouched. I flashed twrp and got rooted. I tried to flash custom ROM. After deleting cache,dalvik, system, I tried to wipe data it says fail. I tried to go ahead to install the custom ROM,it failed too. Please help.

Categories

Resources