Remove Encryption - Redmi K20 / Xiaomi Mi 9T Questions & Answers

Hi all,
Fairly new to this phone (9t) and am currently on Titanium is. Was wondering if there's a way to disable encryption as I tend to find if things go wrong you potentially lose all data and I tend to mess about with mods etc so don't want to run that risk!
Cheers!

Anyone?

twist3d0n3 said:
Anyone?
Click to expand...
Click to collapse
Idk if its the right answer but u need to backup ur files on ur pc first (i suggest u mixplorer to copy them by wifi, usb is kinda slow for me) than u need to format data and flash DFE everytime when u flash a rom to boot

twist3d0n3 said:
Hi all,
Fairly new to this phone (9t) and am currently on Titanium is. Was wondering if there's a way to disable encryption as I tend to find if things go wrong you potentially lose all data and I tend to mess about with mods etc so don't want to run that risk!
Cheers!
Click to expand...
Click to collapse
You need to format Data to remove encryption ONlLY if you want to install custom ROMs
For Magisk and any modding you plan to do with Magisk/root, you don't need.
Also, for the official TWRP or OrangeFox you don't need to decrypt (unless you go for custom ROMs)

I'm currently on a custom ROM but when I first went through the setup process everything was decrypted, then when I booted up and went in settings, it said encrypted and going by to twrp asked for my pattern to decrypt. I'm not sure what I've missed through doing all that but as a consequence, whenever I flash an update to the ROM, I have to reflash vendor + fw just to be able to boot again... I'm worried that at some point this will **** up and screw my data up.
So say for example if I set everything up from scratch again, what process should I follow? I'm using the Italian guys' twrp atm (sorry forget his username!) So is there a different twrp I should use instead or is there anything else I need to flash/do to avoid encryption happening on first boot?

Badis st said:
Idk if its the right answer but u need to backup ur files on ur pc first (i suggest u mixplorer to copy them by wifi, usb is kinda slow for me) than u need to format data and flash DFE everytime when u flash a rom to boot
Click to expand...
Click to collapse
Sorry what's dfe?

twist3d0n3 said:
Sorry what's dfe?
Click to expand...
Click to collapse
DFE = Disable Forced Encryption
So it will remove ROM encryption...

Micdu70 said:
DFE = Disable Forced Encryption
So it will remove ROM encryption...
Click to expand...
Click to collapse
Is there a zip to flash to do this? If so have you got a link?

twist3d0n3 said:
Is there a zip to flash to do this? If so have you got a link?
Click to expand...
Click to collapse
Yes it's a zip to flash but I don't know where to get it... (if not already in TWRP options/advanced maybe?... I never flashed this).

Micdu70 said:
Yes it's a zip to flash but I don't know where to get it... (if not already in TWRP options/advanced maybe?... I never flashed this).
Click to expand...
Click to collapse
Nah I've looked in twrp as I've seen an option mentioned previously. Thanks for the help tho man

Related

[Q] Autorotation in TWRP ?

Is there anyway that i can auto-rotate TWRP ??
Im using TWRP with multirom ..
Unfortunately my digitizer broke and the navigation area is not working.. ( Temporarily i'm managing the phone with full auto-rotation from gravity-box )
MAIN problem is im unable to use the "Swipe to flash" area in TWRP because of the broken digitizer..
I planned to use CWM but im afraid of loosing multirom..
So guys please suggest me about auto-rotation in TWRP or any other alternative idea to flash in MULTIROM..
How do i delete this thread ??
Sidnexus4 said:
How do i delete this thread ??
Click to expand...
Click to collapse
Did u found a solution ?
jithuelad said:
Did u found a solution ?
Click to expand...
Click to collapse
Nope i didnt .. but i dont think TWRP has an auto-rotation.. if at all it existed at-least 1 would have suggested among the 100 views..
Try flashing CWM (non-touch) or PhilZ recovery, they might work for you... they use the Vol and Power buttons to perform recovery functions. It is simple to install or switch even if the screen is not working, you can do it through fastboot with a single command...
fastboot flash recovery cwmrecoveryimage.img
of course, substitute the actual recovery image file name.
EDIT: Nevermind... I didn't see you were using MultiROM until it was too late, I should probably read more thoroughly before replying.
acejavelin said:
EDIT: Nevermind... I didn't see you were using MultiROM until it was too late, I should probably read more thoroughly before replying.
Click to expand...
Click to collapse
No worry's bro.. i already did that. I wasn't able to control my self with out flashing Android L
By the way i have a question for u..
After every thing is back to normal can i just flash TWRP and multiROM directly with out any wipes and resets?
Sidnexus4 said:
No worry's bro.. i already did that. I wasn't able to control my self with out flashing Android L
By the way i have a question for u..
After every thing is back to normal can i just flash TWRP and multiROM directly with out any wipes and resets?
Click to expand...
Click to collapse
Honestly don't know... Never used multirom.
use the sideload option!

Data encryption issue after cm13

Hi folks, first off English is not my main modus operandi so bear with me thx.
I tried out every room there is for the VNS-L31, CM13 from here, Revolution RC3 from a Spanish forum, Beanstalk and a few others what where more glorified reskins ... anyway before installing CM13 I made a full dump on TWRP but wile forgetting I wasn't on stock but on Revolution RC3, so I ended up with the wrong encryption key for the DATA folder, pardon me internal memory SD ... RRC3 is based on the European Stock B150 with a lot of tweaks, also a not perfect encryption of the internal SD similarly to CM13 problem with the SD.
Here is the main beef I am having, after getting of CM I tried to restore my dump and ended up ****ing up the encryption of the internal memory card. Now I can't got back to say the 161 internalional version and I am kinda bound to the European L31900B versions of the stock rom if I install anything else the accounts like Google or Facebook are not working and anything not installed already on the phone is FC.
I can't format data because of the encryption. Not under fastboot or any of the trwps, tried 3 different ones, I checkted the phone is not frp. I did lock frp and bootloader again and unlocked them so to double make sure I was right on that one. I tried going back to stock with the dload method but no dice data still locked. Delete accounts with root explorer and went back to vnsl31900b130 what seams to be the firmware that I am stuck on now with the ****ed up encryption ....
I am used to flashing stuff left and right but this is new land for me any help would be greatly appreciate ... And my warning DONT SCREW WITH TGE ENCRYPTION ON YOUR PHONE ... ITS A *****!!!!
Cant you just delete the system in TWRP?
Thijs van Hal said:
Cant you just delete the system in TWRP?
Click to expand...
Click to collapse
Nope I deleted everything in TWRP, System, Cust, that is not a problem, the data partition on the other hand I can't format not I twrp, or by fastboot erase/format/-w commands ... Really annoying, never had an issue like this ... Funny that I can delete things with an root explorer under Android and that saving data works fine but the moment I leave the os it just closes up. Even the dump I made can't replace the data partition outside of the os
markus2811 said:
Nope I deleted everything in TWRP, System, Cust, that is not a problem, the data partition on the other hand I can't format not I twrp, or by fastboot erase/format/-w commands ... Really annoying, never had an issue like this ... Funny that I can delete things with an root explorer under Android and that saving data works fine but the moment I leave the os it just closes up. Even the dump I made can't replace the data partition outside of the os
Click to expand...
Click to collapse
Ive never seen that before to, weird man...
I have the same issue. Any fix?
Nemeroz said:
I have the same issue. Any fix?
Click to expand...
Click to collapse
No, but I am starting from scratch, also I am trying to manually corrupt the data partition so to be able to format it ... Just a pain, at the moment I am stuck, maybe if I can get someone else's firmware dump for my phone might do the trick its big so I am not sure anyone would upload something that big ... We see
markus2811 said:
No, but I am starting from scratch, also I am trying to manually corrupt the data partition so to be able to format it ... Just a pain, at the moment I am stuck, maybe if I can get someone else's firmware dump for my phone might do the trick its big so I am not sure anyone would upload something that big ... We see
Click to expand...
Click to collapse
Did you try to Flash stock recovery and do a factory reset?
Or via fastboot do this command :
fastboot format userdata
Sent from my HUAWEI VNS-L31 using XDA Labs
simo255 said:
Did you try to Flash stock recovery and do a factory reset?
Or via fastboot do this command :
fastboot format userdata
Sent from my HUAWEI VNS-L31 using XDA Labs
Click to expand...
Click to collapse
I tried all of them. Nothing worked :crying:
Nemeroz said:
I tried all of them. Nothing worked :crying:
Click to expand...
Click to collapse
So I fixed my problems with BadWolfs help he got me back to stock by flashing a special zip that allowed me to install the firmware from dload on the external sdcard
Thx again for your help
markus2811 said:
So I fixed my problems with BadWolfs help he got me back to stock by flashing a special zip that allowed me to install the firmware from dload on the external sdcard
Thx again for your help
Click to expand...
Click to collapse
Forgot here us the link http://www.htcmania.com/showthread.php?t=1261335
Everything you need to go back to stock from cm13 (if you screw up like me) or nougat beta is in here. Is in spanish but google translate is doing a pretty good job all bloody credit is going to badwolf and his friends
Thx and good night
markus2811 said:
Forgot here us the link http://www.htcmania.com/showthread.php?t=1261335
Everything you need to go back to stock from cm13 (if you screw up like me) or nougat beta is in here. Is in spanish but google translate is doing a pretty good job all bloody credit is going to badwolf and his friends
Thx and good night
Click to expand...
Click to collapse
when you flash the oem info didnt it say unable to mount data? like before?

PAC-ROM - Which version should I download?

http://en.miui.com/thread-492490-1-1.html
Has anyone installed this thing? I don't know which one should I put on my phone. Everytime I want to return to MIUI phone gets stuck on bootloop, forcing me to use cable with switch to unbrick it. I think it happens because of encryption. And since this is my first Xiaomi phone I don't know where to check if my phone is encrypted. Help me.
You have to disable DM-Verify in Advanced in TWRP before boot
toji12 said:
You have to disable DM-Verify in Advanced in TWRP before boot
Click to expand...
Click to collapse
Before booting new ROM, right ?
Yep
toji12 said:
Yep
Click to expand...
Click to collapse
But now phone wants some password.
Your phone is encrypted?
Maybe your phone is encrypted by you. There is a function to encrypt all the data on your phone using a password.

Anyway To flash

I am Unable to flash Open Betas With decryption as it sticks on the face unlock setup.I used no Verity and if anyone is successful in this plzz help me out .
1. wipe cache, data, system
2 .make format data
3. reload twrp
4. flash whatever you want.
more_than_hater said:
1. wipe cache, data, system
2 .make format data
3. reload twrp
4. flash whatever you want.
Click to expand...
Click to collapse
Firstly you can never flash everything in one go and secondly post only when you are sure as i tried whatever i can do.
oh, dude, im pretty confident in myself. i didnt say that you should flash all in one go. and besides, what is your problem, im trying to help and yet you reject it.
oh, whatever, this forum was always a part of lowly craft.
more_than_hater said:
oh, dude, im pretty confident in myself. i didnt say that you should flash all in one go. and besides, what is your problem, im trying to help and yet you reject it.
oh, whatever, this forum was always a part of lowly craft.
Click to expand...
Click to collapse
Thanks but I am fed up trying therefore lil angry and angry with OnePlus camera app .Sorry .

Back up help for a newbie

Howdy!
I had my 6T PERFECT, just like I wanted it.....exactly like I wanted it.
I downloaded the latest OOS update, clicked ok when it told me my phone would be unrooted after the update, something that DID NOT happen with my last update. I figured no problem, I will just root the phone after the update.
Well, TWRP recovery is gone. I boot into the Oxygen recovery screen. I have a Titanium backup folder that has a boat load of files I do not know how to use. TWRP still has a folder on my phone with 2 back ups in it.
I did a quick search and checked with google and can't find an answer simple enough for me to use.
How can I do a back up of my phone that will restore it just like it is, without me having to set up all the apps again, and set up my launchpad again like I want it.?
Question 2, how do I use the back up files I already have and will that do what I am wanting to do?
I may be hoping for something that does not exist, but I would like to root my phone, restore a backup, and upon reboot see the exact same phone I am looking at now. I can transfer the back up files to my computer no problem, but I don't know if that will accomplish my goal.
Thanks in advance!
JC the Newbie
https://forum.xda-developers.com/oneplus-6t/how-to/guide-local-upgrade-oos-losing-magisk-t3956818
Thanks Striatum, that will help in the future, however, it does not address the questions in my post.
PattayaGlock said:
Thanks Striatum, that will help in the future, however, it does not address the questions in my post.
Click to expand...
Click to collapse
Flash again twrp through fastboot (many guides here and there) flash Magisk and restore your backup, either the twrp ones either titanium backup
Thank you. I will see if I can muddle through either of those.
It looks as though I may have asked the wrong question. Perhaps I should have asked "if my bootloader is already unlocked can I reflash twrp and magisk after an OOS OTA update without wiping my data". I am back up and running with a rooted phone and did not lose any of my data or settings. Thanks for the help.
PattayaGlock said:
It looks as though I may have asked the wrong question. Perhaps I should have asked "if my bootloader is already unlocked can I reflash twrp and magisk after an OOS OTA update without wiping my data". I am back up and running with a rooted phone and did not lose any of my data or settings. Thanks for the help.
Click to expand...
Click to collapse
....I perfectly understood what you wanted to know.
This is basic knowledge, the answer is yes
How can you mess with your /data partition when twrp and Magisk are dealing with /boot partition
Thank you for the clarification.
Basic knowledge for you guys perhaps, but not for a newbie at the stage I am at. Well, where I was before you straightened me out! LOL.
After flashing a custom ROM in TWRP, when I reboot into recovery and click install, all of the directories have turned into folders with names that look like random letters and numbers, and I can no longer read/write from that internal SD card. Anyone know what is going on or have a solution? I don't want to lose my backups or data, that would suck. But if I have to to get my internal storage back, then fine. Thanks in advance if you can help!!!
boobteg2 said:
After flashing a custom ROM in TWRP, when I reboot into recovery and click install, all of the directories have turned into folders with names that look like random letters and numbers, and I can no longer read/write from that internal SD card. Anyone know what is going on or have a solution? I don't want to lose my backups or data, that would suck. But if I have to to get my internal storage back, then fine. Thanks in advance if you can help!!!
Click to expand...
Click to collapse
No need to post your issue in multiple threads...
This has nothing to do with backup it's an encryption hiccup.
PattayaGlock said:
It looks as though I may have asked the wrong question. Perhaps I should have asked "if my bootloader is already unlocked can I reflash twrp and magisk after an OOS OTA update without wiping my data". I am back up and running with a rooted phone and did not lose any of my data or settings. Thanks for the help.
Click to expand...
Click to collapse
I'm in same position. I lost root/twrp after local update. I can just flash twrp again and magisk without loosing data?
callumbr1 said:
I'm in same position. I lost root/twrp after local update. I can just flash twrp again and magisk without loosing data?
Click to expand...
Click to collapse
That is correct. You can flash both without losing any data. That is exactly what I did......and exactly what I was unsure of.
JC

Categories

Resources