Errors after flashing TWRP - Xiaomi Mi 10 Questions & Answers

Hello
After flashing TWRP (twrp-umi-3.4.0-2.img - Team Win Recovery Project) with and without Formatting Data, which anyways triggers some errors (see picture), clicking on Install I am shown /sdcard folder, and when I go up one level I see a bunch of folders but not Internal Storage. So I am unable to use TWRP.
I had identical results using twrp_umi.img also.
USB OTG is not working.
Please help. I have no idea what to do next.

Hancoz said:
Hello
After flashing TWRP (twrp-umi-3.4.0-2.img - Team Win Recovery Project) with and without Formatting Data, which anyways triggers some errors (see picture), clicking on Install I am shown /sdcard folder, and when I go up one level I see a bunch of folders but not Internal Storage. So I am unable to use TWRP.
I had identical results using twrp_umi.img also.
USB OTG is not working.
Please help. I have no idea what to do next.
Click to expand...
Click to collapse
hi
flash twrp 3.4.1b-0313
that one i use an works fine also with decrypt

Thanks for your suggestion, but the closest I can get is TWRP-3.4.1B-0218. Where did you find the twrp 3.4.1b-0313 version? And did you format data or not?

Hancoz said:
Thanks for your suggestion, but the closest I can get is TWRP-3.4.1B-0218. Where did you find the twrp 3.4.1b-0313 version? And did you format data or not?
Click to expand...
Click to collapse
i have it on my pc
i can upload it for u Tomorrow
yes i format data

I found it, and tomorrow I'll try it. Many thanks.

Sorry to disturb you again, but I read contrasting procedures on how to flash a ROM, on MI 10.
Some say:
- flash TWRP
- format data
- flash ROM.
Others say:
- flash TWRP
- flash ROM
- format data.
Some more:
- flash TWRP
- wipe dalvik and cache (no need to format data anymore)
- flash ROM.
What did you do exactly?
BTW do you know the TWRP psw?
Many thanks for your support.

Hancoz said:
Sorry to disturb you again, but I read contrasting procedures on how to flash a ROM, on MI 10.
Some say:
- flash TWRP
- format data
- flash ROM.
Others say:
- flash TWRP
- flash ROM
- format data.
Some more:
- flash TWRP
- wipe dalvik and cache (no need to format data anymore)
- flash ROM.
What did you do exactly?
BTW do you know the TWRP psw?
Many thanks for your support.
Click to expand...
Click to collapse
twrp pasw 152v
format data
reboot recovery
connect phone to pc
put zip file ro phone
wipe cache an dalvik cache
install zip
wipe again
reboot recovery
wipe again
go to reboot
power off the phone
now wen its shut down power it on
an it shut boot
it will take a litle time

I tried many version of wzsx150’s TWRP, the latest being 3.4.1b-0313, but the result is always the same (whether fastboot flash recovery twrp_umi.img or fastboot boot twrp_umi.img).
If I format data there are errors (first picture). If I go directly to install (with or without wipe dalvik and cache) I am anyway unable to see the folders of Internal Storage (second picture). So the TWRP is useless and I am stack with a China ROM device, which is not my first desire.
BTW password is incorrect (third picture), though I doubt it has something to do with the shortcomings.
Please I need a thoughtful help.:crying:

Here the forgotten pictures.

the passwd for decryption
is the one u hade to unlock ur phone before u try flashing it

Whether I use the psw for decrypting (Mount/Decrypt Data) or right at the start, it is always refused. I don’t know if this is the reason why in Install the /sdcard folder has only 0 and TWRP subfolders, or not. In any case there is no way I can flash a thing.

Hancoz said:
Whether I use the psw for decrypting (Mount/Decrypt Data) or right at the start, it is always refused. I don’t know if this is the reason why in Install the /sdcard folder has only 0 and TWRP subfolders, or not. In any case there is no way I can flash a thing.
Click to expand...
Click to collapse
if u dont incert the correct passwd u wont be able to do anything

The only password that I have is that you gave me: 152v. And it does not work.

Hancoz said:
The only password that I have is that you gave me: 152v. And it does not work.
Click to expand...
Click to collapse
didnt u have one ro unlock the lockscreen on miui11

I don't understand what you mean. Anyway I did the bare basic of setting on the stock China ROM. No fingerprint, no PIN, no Pattern, no Password or any other lock. In Developer options USB debugging is ON.

Hancoz said:
I don't understand what you mean. Anyway I did the bare basic of setting on the stock China ROM. No fingerprint, no PIN, no Pattern, no Password or any other lock. In Developer options USB debugging is ON.
Click to expand...
Click to collapse
hmm then i shutten ask for passwd
have u try not enter anything

After I reinstalled Stock ROM with MiFlash, and flashed TWRP, the psw disappeared completely and was able to flash EU ROM V12, But now I am stuck in TWRP. No way to get out of it.

And if I try to wipe I get the error: failed to mount '/data' (see pciture).

Hancoz said:
And if I try to wipe I get the error: failed to mount '/data' (see pciture).
Click to expand...
Click to collapse
now u have to do like this
format data
reboot recovery
connect phone to pc
put zip file to phone
wipe cache an dalvik cache
install zip
wipe again
reboot recovery
wipe again
go to reboot
power off the phone
now wen its shut down power it on
an it shut boot
it will take a litle time

Success! But only after I formatted data after flashing the EU ROM. I don't know how to thank you for your support. You were very helpful.

Related

flash cm13 without rooting.. can i ????..

hellow everyone i have le max 2 x821 indian version, thats highly encrypted,..
i tried to root and unlocked the bootloader..
installed twrp successfully, but the encryptions not allowing to twrp to mount internal storage data,
i tried installing supersu through sideload but didnt worked the rooting is being prevented by encryptions as it shows there..
so , i cant root but i badly want to inatall cm13 on my device can i do that by using sideload without rooting as bootloader is opened.... will it affect my device if i try doing that.... please people help...:crying::crying::crying:
You need to erase the internal storage to have it decrypted. After installation of indian ROM, the phone's internal storage becomes encrypted. In order to decrypt it back, make sure you save everything from your phone inside a computer, then in TWRP, erase/format the internal storage, copy the new ROM that you want to flash via TWRP (you won't have any system installed so you can't reboot otherwise you'll endup in some bootloop). You can Enable MTP to see the device in computer. After you have copied the new ROM, flash it and enjoy. This is my experience on X820 after flashing indian ROM, so I'm not very sure if all described above will work on X821 but you can give it a try. If you brick your device, there is a fix for hard brick as well, so, no worries.
problem decrypting..
I tried it by doing format system.. but it didn't got decrypted... N everything remained same...
nikeshcfri said:
I tried it by doing format system.. but it didn't got decrypted... N everything remained same...
Click to expand...
Click to collapse
In TWRP you need to press "Wipe", then "Advanced Wipe" and select "Inernal Storage", then swipe to wipe. Do note that everything on your phone will be erased, contacts, photos, music, etc. Wiping only system won't decrypt anything.
not working..
valy_cta said:
In TWRP you need to press "Wipe", then "Advanced Wipe" and select "Inernal Storage", then swipe to wipe. Do note that everything on your phone will be erased, contacts, photos, music, etc. Wiping only system won't decrypt anything.
Click to expand...
Click to collapse
i booted into twrp then selected wipe->advanse wipe-> internal storage and then swiped to wipe,..
then it showed wipe failed unable to mount something...
Try to check in Mount and see if you can change something that can help.
Also someone with X821 maybe can help in this matter.
i tried that didn't help..
Can anyone give me link to stock recovery, this twrp is not functioning n hindering my upgrade to 19s also... I want to have my stock recovery back anyone please give me img file of that...
nikeshcfri said:
i booted into twrp then selected wipe->advanse wipe-> internal storage and then swiped to wipe,..
then it showed wipe failed unable to mount something...
Click to expand...
Click to collapse
Try this command in fastboot
Fastboot format user data
Then
Fastboot reboot
Sent from my Nexus 6P using XDA-Developers mobile app
valy_cta said:
If you brick your device, there is a fix for hard brick as well, so, no worries.
Click to expand...
Click to collapse
Hello,
Wolud you be so kind and share some link/info about this solution?
regards Filozof71
boot loop??
If u got into bootloop with a blue dot and phone restarting again and again, simply go into twrp and flash any of the official eui 15s 16s 19s Roms by wipe and install zip.

[Problem]Boot stuck when i flash any ROM in Redmi Note 4x (SD)

HI! i try to flash to MIUI 9 and i brick the phone (EDL Only) since that i cant flash anything. I try with miui 8.4, 8.1, xiamoi.eu version, Lineage OS , Resurrection Remix. With Fastboot, TWRP and EDL mode. In all cases the boot stuck in the respective animation depending OS. What can i do? i need HEELP
when after flash any ROMs.. do you wipe dalvik&caches?
because i always do that
sorry for my bad english
Enix182 said:
when after flash any ROMs.. do you wipe dalvik&caches?
because i always do that
sorry for my bad english
Click to expand...
Click to collapse
yes i do that wipe and i try with a full wipe too. Same problem
As a last resort you could try formating your phone from twrp. Once you format, reboot to recovery, connect your phone to the laptop and try copying the build and flash again. Mind you, this will remove all data, so use this method only if needed.
thetriton said:
As a last resort you could try formating your phone from twrp. Once you format, reboot to recovery, connect your phone to the laptop and try copying the build and flash again. Mind you, this will remove all data, so use this method only if needed.
Click to expand...
Click to collapse
What do you mean with format? format from Wipe option in TRWP or from File manager? I try with Wipe option Formar Data, factory reset, ,cache, system, storage. etc.
BTW : Curiously when i flash with TRWP i can see the process and it says "Target: mido/mido_images_V8.4" whatever rom i try to flash
nicolan004 said:
What do you mean with format? format from Wipe option in TRWP or from File manager? I try with Wipe option Formar Data, factory reset, ,cache, system, storage. etc.
BTW : Curiously when i flash with TRWP i can see the process and it says "Target: mido/mido_images_V8.4" whatever rom i try to flash
Click to expand...
Click to collapse
Once you go to the wipe option on twrp, don't go to advanced wip, go to format data. There it will ask you to enter yes. Do that.
Please note, doing this will wipe everything on your phone, but altleast for me, it fixed a similar issue.
I have many bad experiences flashing miui with custom recovery, it will often lead to errors. Best way to flash miui is using fastboot method
Download attachments -> flash it
http://en.miui.com/thread-310923-1-1.html
Try Red Wolf Custom Recovery.. I don't need Lazy Flasher zip..
I hope fix ur problem
Sorry for my bad english

I have messed up my Kenzo pretty bad and now i dont have any recovery or fastboot.

So i was happy using a kenzo with unlocked (unofficially) bootloader.
i had followed this guidehttps://forum.xda-developers.com/redmi-note-3/how-to/unlock-unofficially-install-zcx-twrp-t3586778
So i had not rooted the device but just unlocked to use lineage os 14.1
i wanted to record internal audio and so tried to root with magisk. i took a backup using TWRP ZCX on an OTG USB.
successful!
now i installed iFont and installed a font.
this font made some problem in my status bar. there was some extra space above the clock, battery and all.
so whenever an app issued a notification, it crashed. even the system crashed continously.
so i decided to restore my backup.
i wiped my existing data in twrp
but the back up was successfully restored and upon system boot i saw "unsuccessful decryption." upon clicking restart, my phone would flash the TWRP ZCX logo and restart itself landing me again on "unsuccessful decryption."
so i went back to recovery and saw that could not mount /data.
so i did this:
My solution is simples. but you will LOSE EVERY FILE on userdata.
Step 1: Install TWRP
Step 2: Go to Wipe box
Step 3: Select Advanced Wipe
Step 4: Check "DATA" and tap on "Repair or Change File System".
Step 5: Tap Change File System
Step 6: See original format on file system (In my S6 is EXT4). So turn to other and switch back to original
Now /data is mounted back.
from https://forums.androidcentral.com/t...y-e-failed-mount-data-invalid-argument-2.html
It helped and i could mount /data
but then upon another restore i saw the same "unsuccessful decryption."
i read somewhere that a format will wipe all encryption and i thought it might help.
i formatted all the boxes (including data, internal storage and system)
then did a system restart from TWRP
now im stuck with mi logo and i am unable to enter fastboot and recovery.
HELP ME!
h8ed1 said:
So i was happy using a kenzo with unlocked (unofficially) bootloader.
i had followed this guidehttps://forum.xda-developers.com/redmi-note-3/how-to/unlock-unofficially-install-zcx-twrp-t3586778
So i had not rooted the device but just unlocked to use lineage os 14.1
i wanted to record internal audio and so tried to root with magisk. i took a backup using TWRP ZCX on an OTG USB.
successful!
now i installed iFont and installed a font.
this font made some problem in my status bar. there was some extra space above the clock, battery and all.
so whenever an app issued a notification, it crashed. even the system crashed continously.
so i decided to restore my backup.
i wiped my existing data in twrp
but the back up was successfully restored and upon system boot i saw "unsuccessful decryption." upon clicking restart, my phone would flash the TWRP ZCX logo and restart itself landing me again on "unsuccessful decryption."
so i went back to recovery and saw that could not mount /data.
so i did this:
My solution is simples. but you will LOSE EVERY FILE on userdata.
Step 1: Install TWRP
Step 2: Go to Wipe box
Step 3: Select Advanced Wipe
Step 4: Check "DATA" and tap on "Repair or Change File System".
Step 5: Tap Change File System
Step 6: See original format on file system (In my S6 is EXT4). So turn to other and switch back to original
Now /data is mounted back.
from https://forums.androidcentral.com/t...y-e-failed-mount-data-invalid-argument-2.html
It helped and i could mount /data
but then upon another restore i saw the same "unsuccessful decryption."
i read somewhere that a format will wipe all encryption and i thought it might help.
i formatted all the boxes (including data, internal storage and system)
then did a system restart from TWRP
now im stuck with mi logo and i am unable to enter fastboot and recovery.
HELP ME!
Click to expand...
Click to collapse
Don't go to advanced wipe. Selecting parttions doesnt format it. It only wipes.
Wipe and format are 2 diiffrent commands.
There is an option called format data in twrp. Click format data and type " yes " to format data. It will decrypt the data and internal storage.
First format data (must do)
Then wipe data reset
Flash rom
Flash gapps
Reboot
naik2902 said:
Don't go to advanced wipe. Selecting parttions doesnt format it. It only wipes.
Wipe and format are 2 diiffrent commands.
There is an option called format data in twrp. Click format data and type " yes " to format data. It will decrypt the data and internal storage.
First format data (must do)
Then wipe data reset
Flash rom
Flash gapps
Reboot
Click to expand...
Click to collapse
But i cant go to recovery or fastboot!
so im stuck with MI logo!
h8ed1 said:
But i cant go to recovery or fastboot!
so im stuck with MI logo!
Click to expand...
Click to collapse
Fastboot mode
press volume down + power
release the both button immediatelely with the vibration.
Get to FastBoot
Now use the following commands.
" fastboot format system "
" fastboot format userdata "
" fastboot erase recovery " (optional)
Now...
Install TWRP & Flash Stock Rom.
naik2902 said:
Fastboot mode
press volume down + power
release the both button immediatelely with the vibration.
Click to expand...
Click to collapse
Thanks i have successfully installed TWRP ZCX.
now how should i flash lineage?
Should i follow my same method i used the first time?
h8ed1 said:
Thanks i have successfully installed TWRP ZCX.
now how should i flash lineage?
Should i follow my same method i used the first time?
Click to expand...
Click to collapse
I dont know zcx is updated or not
Install latest twrp 3.2.3 coz of some bug fixes for oreo.
I prefer aosp extended official oreo
First Format data must do to decrypt
Then Wipe data reset
Flash rom
Flash latest august open gapps pico or nano
Reboot
Sent from my kenzo using XDA Labs

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.

Unable to decrypt FBE device

Plz anybody help this out...
I unlocked bootloader, then immediately flashed Pitchblack recovery, then booted into recovery.
Initially console shows decrypted FBE device with default password. But Encryption status : Encryped
So I went into wipe & Formatted Data inorder to get rid of encryption. Then I rebooted recovery & it shows Unable to decrypt FBE device.
[UPDATE] (24/12/20) : The console output Unable to decrypt FBE device was nothing but to tell us that incompatible operating system flashed.
I flashed global version roms which are the main cause for bootloops. I flashed stock rom, then immediately worked out of the box.
1. Format data after going into twrp *It will wipe you device*
2. If you don't want to install a custom rom just mod MIUI, remove your lock screen password or flash orange fox and if it asks for password just put your lock screen password.
3. Else if you want to install a custom rom
Open recovery
Wipe data cache davilk
Flash rom
Format data
Reboot.
LoadOP2 said:
1. Format data after going into twrp *It will wipe you device*
2. If you don't want to install a custom rom just mod MIUI, remove your lock screen password or flash orange fox and if it asks for password just put your lock screen password.
3. Else if you want to install a custom rom
Open recovery
Wipe data cache davilk
Flash rom
Format data
Reboot.
Click to expand...
Click to collapse
Thnx for reply. I've tried Orange fox too. When I format data, internal storage doesn't decrypt. Also when I flash custom roms, they flash, but I'm gonna stuck in bootloop.
My main problem is that I can't decrypt storage. Phone boots only when I'm on MIUI stock. Am I missing something ?
That is odd but still flash fastboot rom and then flash twrp , flash a rom of your choice then format data . Maybe it will help . Btw which rom are you installing.
LoadOP2 said:
That is odd but still flash fastboot rom and then flash twrp , flash a rom of your choice then format data . Maybe it will help . Btw which rom are you installing.
Click to expand...
Click to collapse
Thnx for the reply. I'm trying to have lineage 17.1 & resurrection remix official build. I think rom's not the issue here. I need to know one thing.
To exactly say my issue, I can do flashing. But when I do & then reboot, Internal storage doesn't show the size & mtp doesn't work too, with bootloop issues along together.
There is no official LineageOS for the device.
kalehrl said:
There is no official LineageOS for the device.
Click to expand...
Click to collapse
Oh, I've mistaken, I was about to say resurrection remix official build & lineage unofficial one. Btw what do you think my device is going up to ? How can I decrypt & use internal storage successfully? I can't use internal storage when I flash a rom. Bcaz internal storage renders useless because of encryption.
Which recovery are you using?
Try flashing magisk 20 or 21.
Flash twrp by marounfurio( I am sorry if I slaughtered the name) which is available on xda.
And format data.
It's midnight here and I am going to sleep I will help to tommorow morning.
LoadOP2 said:
Which recovery are you using?
Try flashing magisk 20 or 21.
Click to expand...
Click to collapse
Right now I'm on Pitchblack beta latest build.
I tried magisk on MIUI stock through patched boot method, it worked, but no apps able to access root. I checked all magisk settings...
I think encrypted data partition is the whole culprit here. How can I decrypt it ?
MPK99 said:
Right now I'm on Pitchblack beta latest build.
I tried magisk on MIUI stock through patched boot method, it worked, but no apps able to access root. I checked all magisk settings...
Click to expand...
Click to collapse
And what about flashing magisk in twrp.
MPK99 said:
Right now I'm on Pitchblack beta latest build.
I tried magisk on MIUI stock through patched boot method, it worked, but no apps able to access root. I checked all magisk settings...
I think encrypted data partition is the whole culprit here. How can I decrypt it ?
Click to expand...
Click to collapse
Formatting data normally decrypts it . I don't know why something like this is happening here.
Follow my guide again maybe? Give it a shot step by step.
LoadOP2 said:
Formatting data normally decrypts it . I don't know why something like this is happening here.
Follow my guide again maybe? Give it a shot step by step.
Click to expand...
Click to collapse
Yah, I'm feeling weird too. Normally there are 3 ways to remove decryption...I tried all those.
1. Formatting Data by typing "yes"
2. Formatting data partition from f2fs to ext4
3. Installing Decrypt script v2 zip immediately after flashing stock rom.
I tried everything I could. I know all sorts of common flashing things. I caz I always used to try so many roms on my previous redmi's, but this one is special case.
I'd suggest you use LineageOS recovery. That's how I removed decryption.
kalehrl said:
I'd suggest you use LineageOS recovery. That's how I removed decryption.
Click to expand...
Click to collapse
Sure. Encryption is the whole culprit for me to say exactly. I'm trying to decrypt & flash builds. I'll notify if it works. Nice to get help from you guys.
Try this.
How to decrypt rom/storage so you can easily switch roms without format
First I would thankx to @sakhatlonda for koutiliy.zip
Steps to download file
1. Download koutility.zip from below.
2. Documentation related to koutility
Read from below link (recommended)
Just a utility zip which can be flashed on every rom flash, to do some pre-defined tasks.
Can be used either to copy everything you place in sdcard/sudeep/system_root to respective dirs or to set config and use that to do predefined tasks
This is how it works:
Flash in recovery, every option has Note with it
Available Configs:
brbootdtbo - auto backup/restore boot & dtbo, will do backup if no backup present and will do restore if backup is there
bbootonly - always backup boot
bdtboonly - always backup dtbo
resbootdtbo - always restore boot & dtbo (brbootdtbo won't work if this is enabled)
enalways - encrypt always (edauto won't work if this is enabled)
dealways - decrypt always (enalways & edauto won't work if this is enabled)
edauto - auto change encryption state on each flash
avb - removes avb flags (if decrypted)
quota - removes quota flag (if decrypted)
keep - doesn't over-writes boot/dtbo backups
debloat - removes bloats
rebloat - restore removed bloats
patchD - same as flash but set in config
productsize - makes a product image from your currently flashed rom to sdcard/sudeep and adds 600mb to it. So you can flash gapps etc. without error. (PC needed to flash product.img)
Steps to decrypt rom/storage
1. Flash roms
2. Flash koutility.zip tested on aosp only
3. Format data (required only first time after flashing koutility)
4. Reboot to recovery
5. Flash gapps (optional)
6. Boot into system
Congratulations your storage/rom is decrypted , you can switch roms without format
Next time when you want to switch roms
Steps
1. Wipe data,caches and dalvik caches
2. Flash rom
3. Flash koutility.zip
4. Reboot to recovery
5. Flash gapps (optional)
6. Boot into system
Notes
Remember you need to config koutility.zip in recovery
How to config koutility for decryption
Volume down (set config) > yes
After that "No" till 5th option
Then "yes" for 6th option
Rest "No" till 15th option
Last "yes" to flash
@LoadOP2 Thanx for providing KoUtil & its read me.
But I think we shouldn't reboot to recovery immediately after formatting the data. Because the stock rom will start it's initial encryption process by then & I won't get decrypted storage. Isn't it ?
I think this is the case that's happening to me. I always reboot recovery after formatting data, my storage will encrypt again because of stock rom's existence.
Yes you have to reboot to recovery. Otherwise you won't be able to use data partition.
LoadOP2 said:
Yes you have to reboot to recovery. Otherwise you won't be able to use data partition.
Click to expand...
Click to collapse
Yes, you're correct, we should do that. But can you read my 1st post in this thread. This is about that specific problem. I'm rebooting recovery after formatting data, then recovery shows Unable to decrypt FBE device
Send your recovery logs after formatting data.
LoadOP2 said:
Send your recovery logs after formatting data.
Click to expand...
Click to collapse
That would help. I'll attach screenshots too. Currently I'm on stock & being busy. I'll do this by today night & post logs & screenshots.

Categories

Resources