Decryption Unsuccessful MIUI to HavocOS - Xiaomi Redmi Note 3 Questions & Answers

Hello guys, I need a little help here, my MIUI version is out of date so I decided to try other ROMs and I picked HavocOS.
I wiped data, cache and dalvik using the latest TWRP and then installed HavocOS and OpenGApps, after a few second after rebooting, it gave me an error "Decryption Unsuccessful".
I tried to first flash the latest firmware for Kenzo and then second flash HavocOS but I got no luck. I also tried to disable passwords on MIUI but didnt work
So, would the only solution with this problem is to reformat the internal storage and change the partition type? Thanks

Toteppp :D said:
Hello guys, I need a little help here, my MIUI version is out of date so I decided to try other ROMs and I picked HavocOS.
I wiped data, cache and dalvik using the latest TWRP and then installed HavocOS and OpenGApps, after a few second after rebooting, it gave me an error "Decryption Unsuccessful".
I tried to first flash the latest firmware for Kenzo and then second flash HavocOS but I got no luck. I also tried to disable passwords on MIUI but didnt work
So, would the only solution with this problem is to reformat the internal storage and change the partition type? Thanks
Click to expand...
Click to collapse
Format data is only option if u want to move from miui to custom roms. Custom roms cant decrypt it.

Ok, so this is what you have to do:
Go back to TRWP, wipe: data, cache, system (!!!), dalvik, than back to main menu and "wipe", tap "format data" button in the bottom right. A prompt will appear, type "Yes"
Now you can flash Havoc, and anything else you want and it will work.
Make a backup before everything you need from internal storage.

Related

help! i am running out of storage space after messing up with twrp partitions

helo buddies!!
i am using RN3 snapdragon version.
i unlocked bootloader and installed TWRP and flashed CM13
after rebooting , i observed it was unstable, so i did "factory reset in twrp".
thats what created everything..then there was no OS to reboot!! somehow
i installed AOSP ROM and rebooted it, But soon after rebooting within minutes storage space is going to kilobytes!!!
i rebooted many times and there was no change.
everytime after wiping cache and data in twrp, storage space is reaching to 25gb and in minutes it is falling to kilobytes.
should i repair system storage to FAT ?
help me
kiranbalumuri said:
helo buddies!!
i am using RN3 snapdragon version.
i unlocked bootloader and installed TWRP and flashed CM13
after rebooting , i observed it was unstable, so i did "factory reset in twrp".
thats what created everything..then there was no OS to reboot!! somehow
i installed AOSP ROM and rebooted it, But soon after rebooting within minutes storage space is going to kilobytes!!!
i rebooted many times and there was no change.
everytime after wiping cache and data in twrp, storage space is reaching to 25gb and in minutes it is falling to kilobytes.
should i repair system storage to FAT ?
help me
Click to expand...
Click to collapse
Some images would be very nice. Plus give some more detailed description as to what is happening. What do you see in twrp, device etc.
First of all, clean flash a miui rom via miflash and select format data and storage....
After you're done, check if the problem persist and unlock your bootloader again....
archit.bajpai.ab said:
Some images would be very nice. Plus give some more detailed description as to what is happening. What do you see in twrp, device etc.
Click to expand...
Click to collapse
before wiping cache =>
https://picasaweb.google.com/110214557234116688113/6301271067847757489?authkey=Gv1sRgCP6UtIKs0rOMvQE#6301271066136491330
afeter wiping cache=>
https://picasaweb.google.com/110214557234116688113/6301271067847757489?authkey=Gv1sRgCP6UtIKs0rOMvQE#6301271971483040738
kiranbalumuri said:
before wiping cache =>
https://picasaweb.google.com/110214557234116688113/6301271067847757489?authkey=Gv1sRgCP6UtIKs0rOMvQE#6301271066136491330
afeter wiping cache=>
https://picasaweb.google.com/110214557234116688113/6301271067847757489?authkey=Gv1sRgCP6UtIKs0rOMvQE#6301271971483040738
Click to expand...
Click to collapse
Alright. First install and flash twrp from official site.
Then go to wipe, advance wipe, and then click on repair file system. Give me snapshot of data cache and system from it.
archit.bajpai.ab said:
Alright. First install and flash twrp from official site.
Then go to wipe, advance wipe, and then click on repair file system. Give me snapshot of data cache and system from it.
Click to expand...
Click to collapse
here on,
i flashed official TWRP ,
and repaired data, cache,system but nothing changed
kiranbalumuri said:
here on,
i flashed official TWRP ,
and repaired data, cache,system but nothing changed
Click to expand...
Click to collapse
Your data partition seems to be fine in twrp. Try some partition info apps to check whether its system problem or something else.
But i can tell you, your partition table is fine. If you can try flashing a fastboot rom via miflash in edl mode.
I have encountered this problem last week, what I did was by formatting /data via TWRP (the one which including internal storage) and it gets fixed!
Sent from my Redmi Note 3 using XDA Labs

Cannot Flash Rom / Restore - Error 7, Error 1001, Cannot mount System

Hey everybody,
I was on LOS 15.1 for a rather long time and I wanted to try RR, so as usual I backed up my system and tried to flash the RR-rom.
It did not work at all and I got several errors among which error 7 and the unability to mount system partition were the most prominent.
The device got bricked several times but I got it back to life with MiFlashTool, running either MIUI 8.5 or MIUI 9.
The strange thing is that even after flashing the MIUI-img - and basically bringing the device back to its factory firmware - I could not flash a rom.
I tried several recoverys; the latest TWRP, the TWRP linked in the LOS15.1 thread and OrangeFoxRecovery. None of them would work. I wiped all partition, nothing worked. I got different errors shown, most of them were error 7 or not being ablke to mount system, as stated before.
Right now I am back to MIUI and rooted it, which worked from OrangeFox, but I actually would like tzo run a custom rom again.
Any idea what I could do?
Cheers!
Noone who has an idea why it would not work?
I thought that after flashing via Flashtool the phone would be as good as new and all prioir changes would be gone? Wha can I not flash anything via recovery and get erros?
Or are there different versions of Orange Fox Recovery? RR would be treble, so I would need a treble recovery.
Cheers!
Have you tried to format internal storage?
If not backup data in sdcard or pc and format it using recovery.
Are you using trble supported recoveries?
Did you encrypted your data while using Lineage OS?
Hey,
well, yes, I encrypted data but since reinstalling MIUI via Flashtool this is gone. And I thought that this should be enough and reflashing it via MiFlash is like a factory reset? Is there anything I did not consider?
After Flashtool did not do the trick, wiped everything but External memory in TWRP, no kelp either.
I also did the normal wipe (where you dont have to choose which partition), this did not help.
As I said, I am currently on the latest OrangeFox Recovery but I also tried the latest TWRP and the TWRP in the LOS 15.1-Thread, which did not help.
To my knowledge all of the are treble recoverys?
I also tried to restore a vackup of LOS which did not work...
I flashed
wurst_wasser said:
Hey,
well, yes, I encrypted data but since reinstalling MIUI via Flashtool this is gone. And I thought that this should be enough and reflashing it via MiFlash is like a factory reset? Is there anything I did not consider?
After Flashtool did not do the trick, wiped everything but External memory in TWRP, no kelp either.
I also did the normal wipe (where you dont have to choose which partition), this did not help.
As I said, I am currently on the latest OrangeFox Recovery but I also tried the latest TWRP and the TWRP in the LOS 15.1-Thread, which did not help.
To my knowledge all of the are treble recoverys?
I also tried to restore a vackup of LOS which did not work...
I flashed
Click to expand...
Click to collapse
When you reply quote, I didn't get notifications for your reply.
Your bootloader is unlocked and you installed Twrp recovery.
Try copying Rom zip to SD card and wipe system, data, cache, dalviks cache, internal storage (exclude sd card off course). Then install it.
It should work
As I said, I did all of this, yet it does not work.
After wiping I tried to flash RR rom...
I get "Patching system image unconditionally...
Then I get E1001: Failed to update system image. (in white)
Updater process ended with: ERROR 7 (in red)
Error installing zip file 'patch...' (in red)
Updating partition details (in white)
Failed to mount '/system' (Invalid Argument) (in red).
As I said, that happens with different recoverys and different roms (treble and non treble)
wurst_wasser said:
As I said, I did all of this, yet it does not work.
After wiping I tried to flash RR rom...
I get "Patching system image unconditionally...
Then I get E1001: Failed to update system image. (in white)
Updater process ended with: ERROR 7 (in red)
Error installing zip file 'patch...' (in red)
Updating partition details (in white)
Failed to mount '/system' (Invalid Argument) (in red).
As I said, that happens with different recoverys and different roms (treble and non treble)
Click to expand...
Click to collapse
Are you sure the Rom you installating is for your device because error 7 occured if the rom you are trying install is not for your device.
Yes, of course, it was the correct ROM. Before error 7 I got error 1001 and I guess this was the initial problem.
My guess it that the problem was the decrypted partition which I did not format in twrp in my first go. Every wipe and format afterwards somehow did not help...
Now after having flashed recovery and different roms 10 times and using miflash 10 times it worked and now I am on RR. Don't ask me what eventually did the trick.
wurst_wasser said:
Yes, of course, it was the correct ROM. Before error 7 I got error 1001 and I guess this was the initial problem.
My guess it that the problem was the decrypted partition which I did not format in twrp in my first go. Every wipe and format afterwards somehow did not help...
Now after having flashed recovery and different roms 10 times and using miflash 10 times it worked and now I am on RR. Don't ask me what eventually did the trick.
Click to expand...
Click to collapse
Great to know
I hated MIUI because of the bloatware and ads. Have fun using RR. If you want you can use Liquid Remix Pie its a great ROM.
Yes. I also did not like MIUI that much, that's why I was using Lineage before I wanted to try RR: Thanks for the advice for anothe rom.
i fix this issue by format data, not only wipe then restart the recovery and install the ROM, then finally it works !
Shojimeguro said:
i fix this issue by format data, not only wipe then restart the recovery and install the ROM, then finally it works !
Click to expand...
Click to collapse
How did you format? noob
Shojimeguro said:
i fix this issue by format data, not only wipe then restart the recovery and install the ROM, then finally it works !
Click to expand...
Click to collapse
If I format data, then I have to reboot into the recovery menu to be able to use data again. But this is impossible, because it gets stuck into the bootloop every time I try to reboot. Any other option to fix this error?
EDIT:
I could fix it myself:
1. MIUI latest version; flash with MiFlash.
2. flash TWRP with e.g. YUware
3. flash latest fw_vendor in TWRP
4. full update pixel expierence (NOT incremental) rom flash
5. Partitions/Data/Format
6. Reboot and ready to use

[HELP]With each custom rom flashing my phone gets more unstable

My device is redmi note 4x (mido), I've tried lots of different custom roms, i'm installing these roms as the instructions say, but I always get some problems like camera crashing, default file browser crashing, corrupted package installer where you cannot install any app where it just says app not installed. Now I'm stuck without sim card and wifi working I currently have OrangeFox-R8.3-mido twrp
I tried roms like resurrection remix, lineageos, havoc os and all of them have some issues and other users don't experience these for some reason.
I tried to wipe literally everything possible in the twrp (maybe wiped too much?) with different combinations, format data, factory reset and also advanced wipe> and tick everything form here, then I install the firmware if the rom instruction says so > flash rom without wiping cache, flash newest open gapps arm64 usually 9.0; nano and then hit the reboot and usually bit laggy(and sometimes crashy) google setup pop ups, and if it doesn't fail on the setup I get some of the problems I talked before. Anyone also had problems like these?:crying::crying:
The only wrong thing that I see in twrp is
Code:
mount: failed to mount /dev/block/bootdevice/by-name/sec at /firmware: Invalid argument
it's written with white text(not red as usual errors)
I prefer u to wipe everything. And switch to orangefox r9 and wipe everything and then install any trble rom. See if thus works
anujpflash said:
I prefer u to wipe everything. And switch to orangefox r9 and wipe everything and then install any trble rom. See if thus works
Click to expand...
Click to collapse
I updated the orangefox and it didn't help, tried to download the normal twrp from https://dl.twrp.me/mido/ and it still doesn't work,
It doesn't see my sim card, wifi during settings and I can't even turn on the bluetooth

Problem with flashing a custom rom (Vendor)

So i installed Pixel E as said in the forum post and videos and it was working fine, TWRP was fine and installed with no problems, then i went back to MIUI for the L1 certificate update and decided that i wanna try oxygen OS
i install TWRP like i did the first time but this time i didnt get the menu that says swipe to allow modifications, after that i went and mounted vendor and system like i did the first time, and i went to wipe the data i didnt find the vendor option there, it was weird and i thought there`s something wrong with the phone
i go back to the install, i install the disable force encyption file and try to install the rom, i get the success thingy
i restart and it says encrypting your phone and i boots back to recovery
can anyone help with that please? i tried 4 different roms all are the same
and how can i show the vendor option again?
OxygenOS Comes With A Modified Vendor So When You Flashing OOS You Need To Flash DFE Due To Encryption Problem.
Decrypt Your Data By Formatting internal Storage.
Go To Wipe format Data Type Yes Reboot to system.
Just Allow that modification when you decrypt your phone and flashing a Rom that TWRP modification sign comes.
When you wipe data system , Vendor Partition will be Automatically Wiped.
Flash Orange Fox Recovery You Will Also Get that Vendor Partition.
iHookar said:
So i installed Pixel E as said in the forum post and videos and it was working fine, TWRP was fine and installed with no problems, then i went back to MIUI for the L1 certificate update and decided that i wanna try oxygen OS
i install TWRP like i did the first time but this time i didnt get the menu that says swipe to allow modifications, after that i went and mounted vendor and system like i did the first time, and i went to wipe the data i didnt find the vendor option there, it was weird and i thought there`s something wrong with the phone
i go back to the install, i install the disable force encyption file and try to install the rom, i get the success thingy
i restart and it says encrypting your phone and i boots back to recovery
can anyone help with that please? i tried 4 different roms all are the same
and how can i show the vendor option again?
Click to expand...
Click to collapse
just download
https://mirror.akhilnarang.me/MIUI/beryllium/beryllium-9.4.8-9.0-vendor-firmware.zip
and flash it via twrp! and reboot
Olystem said:
OxygenOS Comes With A Modified Vendor So When You Flashing OOS You Need To Flash DFE Due To Encryption Problem.
Decrypt Your Data By Formatting internal Storage.
Go To Wipe format Data Type Yes Reboot to system.
Just Allow that modification when you decrypt your phone and flashing a Rom that TWRP modification sign comes.
When you wipe data system , Vendor Partition will be Automatically Wiped.
Flash Orange Fox Recovery You Will Also Get that Vendor Partition.
Click to expand...
Click to collapse
I did that and it worked, thanks but the swipe to allow modifications page still didn't appear, it booted right to main page of TWRP
YasuHamed said:
just download
https://mirror.akhilnarang.me/MIUI/beryllium/beryllium-9.4.8-9.0-vendor-firmware.zip
and flash it via twrp! and reboot
Click to expand...
Click to collapse
I downloaded Vendor firmware but it still gave me the same problem, what fixed it is installing DFE after the rom not before, thanks a lot appreciate you helping
iHookar said:
I did that and it worked, thanks but the swipe to allow modifications page still didn't appear, it booted right to main page of TWRP
Click to expand...
Click to collapse
That Sign Comes Only One Time.
Swipe To Allow Modification Means You will not getting any error while Flashing.
Check in Mount Partition System Keep Read Only If It's Enabled Simply Remove that Mark or Tick Reboot To System.

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.

Categories

Resources