Haven't used my Realme for a while because lets admit - it is complete garbage. But now wanted to test new Android apps developed by my friends... and I can't unlock my Realme coz I don't remember the pattern.
I do have unlocked bootloader.
I do have custom recovery TWRP.
I tried wiping data - it didn't help.
I tried format Data/cache/internal storage - it didn't help.
Even after formatting TWRP asks for pattern to decrypt data...
Is there any way to recover this piece of garbage?
Related
Hello,
Thought I would share my recent bad experience and the resulting solution.
My phone was on a GPE ROM, and I encrypted it for work reasons, encryption went smoothly, but once encrypted, it was impossible to go into recovery with the encrypted partitions visible (hence impossible to flash a new rom or even do a factory reset which is the only - or so I thought - way to remove encryption).
After many attempts including flashing the latest TWRP (not solved yet, they say 2.7 should include a solution) I was still getting the "unable to decrypt phone" error after entering the password (which works perfectly on regular boot) in TWRP.
Eventually, through a lucky mistake, I found the solution, at one point I mistakenly re-locked my phone (fastboot oem lock), later when I was trying to flash a stock recovery I realized I had to unlock it again... well, unlocking it through HTCdev automatically does a factory reset, regardless of the encryption!
viola, problem solved!
I know this has been asked a lot but, I see any of different info. I see there are kernels and boot images that basically decrypt. I'm going for the boot img and was wondering if I have a nandroid backup can it be restored after it has been decrypted? I haven't seen any info on it for the boot img , just the kernel way. Are the backups encrypted or just raw data and when it boots or booting it encrypts?
Anything?
bryantjopplin said:
Anything?
Click to expand...
Click to collapse
Please use the main thread:
http://forum.xda-developers.com/nexus-6/development/disable-forced-encryption-gain-root-t2946715
I've already read that and was not pertaining to my situation. I was already setup and running with root and unlocked boot loader and didn't want to loose anything. I have figured it out though, FYI. But thanks for not paying attention to the full question
If you backed up whilst encrypted then the data will be encrypted.
Your need to back up by connecting to computer and copy/paste all your needed data. Then decrypt then restore data back on.
flashing these kernels will not decrypt. They just dont force encryption, meaning if you factory reset and then wipe /sdcard, you wont be forced to encrypt on next boot.
Hey guys,
So I have a Mi 8 Pro, but I'm going to post here because that forum is dead.
I downloaded the latest rom from xiaomi.eu and flashed it via TWRP.... now I'm just getting the boot screen and it is stuck there. I've tried downloading other rooms and flashing, same result.
I'm thinking this may be because I forgot to remove the lock screen before flashing, but TWRP has me input it each time I load to decrypt, so I don't know if that would be the case.
Anywho, I've gone into wipe, deleted the data, cache, and system. I then flash the room and restart(i've also tried doing a system recovery after installing)
Every time I do this, I am just me with the loading screen.
I'm not sure what I did when trying to fix this, but now TWRP won't even load past it's loading screen.
Please help me out here. I now have no phone to use
I'm now trying to use MiFlash and it is telling me that it is a "missmatching image and device"
This is the Mi 8 section, not the Mi 8 pro, anyways you need to:
EDIT: If you're stuck on the loading screen of twrp i think you can just reflash it from the pc and it should work
1.TWRP>Wipe>Format data>type "yes".
2.Wipe System, data, cache and dalvik
3.Flash xiaomi.eu rom
4.profit.
viper98 said:
Hey guys,
So I have a Mi 8 Pro, but I'm going to post here because that forum is dead.
I downloaded the latest rom from xiaomi.eu and flashed it via TWRP.... now I'm just getting the boot screen and it is stuck there. I've tried downloading other rooms and flashing, same result.
I'm thinking this may be because I forgot to remove the lock screen before flashing, but TWRP has me input it each time I load to decrypt, so I don't know if that would be the case.
Anywho, I've gone into wipe, deleted the data, cache, and system. I then flash the room and restart(i've also tried doing a system recovery after installing)
Every time I do this, I am just me with the loading screen.
I'm not sure what I did when trying to fix this, but now TWRP won't even load past it's loading screen.
Please help me out here. I now have no phone to use
Click to expand...
Click to collapse
If the Mi8Pro forum is dead you should use the Miui Forums.
However, I know that your issue is simply encryption, Remove the encryption and you will no longer have issues. If your phone was properly unlocked, the device data storage needs to be wiped, to remove encrypted data.
Install correct version of TWRP, and Root. ( Maybe start with SuperSu then Move to Magisk)
Use the All in One Tool to make this easier
Use it to remove encryption. or do anything else ..its easy.
Finally use the correct base firmware for your device. For example, if you have a chinese device, only using Chinese base firmware drivers.
Hi all,
I'm having trouble flashing a custom ROM on my Mi 9 Lite. After formatting, TWRP is unable to mount storage, probably due to encryption/decryption issues! Here's what I've done so far:
- unlock boot loader (with Mi Unlock after wait time)
- flash TWRP recovery with fastboot (mauronofrio)
- boot to TWRP worked fine
- followed the OP by gringo80 to install LineageOS 16.0 - as was said there, to do FORMAT once after flashing TWRP
Now TWRP can't mount/find internal storage, says "failed to mount data (no such device)" - can't format or wipe data anymore. All I found so far is that this will be an encryption/decryption issue due to the formatting, but no clue on how to undo this!
Any ideas? Flashing new system or restoring backup always results in bootloop, probably because the ROM can't write on internal storage either?!
Please help :crying:
.M.D. said:
Hi all,
I'm having trouble flashing a custom ROM on my Mi 9 Lite. After formatting, TWRP is unable to mount storage, probably due to encryption/decryption issues! Here's what I've done so far:
- unlock boot loader (with Mi Unlock after wait time)
- flash TWRP recovery with fastboot (mauronofrio)
- boot to TWRP worked fine
- followed the OP by gringo80 to install LineageOS 16.0 - as was said there, to do FORMAT once after flashing TWRP
Now TWRP can't mount/find internal storage, says "failed to mount data (no such device)" - can't format or wipe data anymore. All I found so far is that this will be an encryption/decryption issue due to the formatting, but no clue on how to undo this!
Any ideas? Flashing new system or restoring backup always results in bootloop, probably because the ROM can't write on internal storage either?!
Please help :crying:
Click to expand...
Click to collapse
The current twrp has issues with data try to change filesystem to f2fs and after that change back to ext4 (it forces a full data partition wipe). i've done this always on my mi9 lite AND watch out for the right firmware for lineage os that causes issues too
Layer_DE said:
The current twrp has issues with data try to change filesystem to f2fs and after that change back to ext4 (it forces a full data partition wipe). i've done this always on my mi9 lite AND watch out for the right firmware for lineage os that causes issues too
Click to expand...
Click to collapse
Changing file system to ext4 and back to f2fs did the trick - thank you so much!
Was able to install LOS 17.1 going forward. Thanks again! :good::fingers-crossed:
Need help again :crying:
I flashed the original firmware as instructed, but now all I get is fastboot - NO RECOVERY!
If I flash a recovery with fastboot, all I can to is boot to fastboot again... what can I do now? :crying::crying::crying:
.M.D. said:
Need help again :crying:
I flashed the original firmware as instructed, but now all I get is fastboot - NO RECOVERY!
If I flash a recovery with fastboot, all I can to is boot to fastboot again... what can I do now? :crying::crying::crying:
Click to expand...
Click to collapse
You may have bricked your phone. Did you tick the 'clean all and lock' option in miflash rather than 'clean all'? If so your phone is bricked and needs EDL flashing by an authorized technician to fix it.
Lucky enough, not bricked - I flashed a firmware update in the middle of all of it, one which, of course, replaced almost everything I had done so far. Forgot to flash custom vbmeta when trying to re-flash TWRP, doing so solved the issues I've had. Close call though, as the firmware update could have re-locked bootloader in a worst case scneario, so really lucky to be using my phone with MiuiMiX now, all working perfectly!
Thanks for the help though!!!
Hello, as stated in the title, I'd like to know if there's a way to update a custom ROM while being encrypted without formatting the data partition. I tried to update several times, but every time I got a recovery bootloop until I wiped the data partition. The only way to avoid this was to totally decrypt my device. Since I'd like to be encrypted, I'd like to know if there's a way to be encrypted and to dirty flash a custom ROM (from TWRP) without resulting in a recovery bootloop. Thank you in advance!
MagikGab said:
Hello, as stated in the title, I'd like to know if there's a way to update a custom ROM while being encrypted without formatting the data partition. I tried to update several times, but every time I got a recovery bootloop until I wiped the data partition. The only way to avoid this was to totally decrypt my device. Since I'd like to be encrypted, I'd like to know if there's a way to be encrypted and to dirty flash a custom ROM (from TWRP) without resulting in a recovery bootloop. Thank you in advance!
Click to expand...
Click to collapse
Try removing lockscreen security before flashing an update.