Any chance to root without wipe/delete/format data? - Xiaomi Mi 8 Questions & Answers

Hi everyone,
I really looked many websites and I think the answer is no but I still wonder if there is a way to root MI 8 with magisk from twrp without format the phone? I am running latest global stable rom with unlocked bootloader. I just want to root and install magisk for certified play store, netflix and adaway but setting and installing all apps again will take some time... As far as I know it was possible before as I did it at a MI 6 running miui 9.
Thanks in advance.

No

magisk, Boot Image Patching

YES! I finally figured out how to get root and keep encryption with Stock Global but you have to flash an alternate kernel first. You can keep your encryption without issues. I've been using this for a few weeks without issues now. The STOCK kernel has been the issue the whole time.
For Stock MIUI Global (Beta or Stable) Already Setup & Encrypted:
1.) Boot to TWRP Recovery (i'm using twrp-3.2.3-4)
2.) Flash Sphinx kernel (i'm on v2.5) You CANNOT keep ROOT while retaining encryption on a STOCK Kernel at this time!
3.) Flash Magisk (i'm using 18.0)
4.) Flash Disable_Dm-Verity ONLY! (DO NOT FLASH DM-VERITY with Encryption REMOVER or FEC in the filename or you will screw up your encryption!)
-I use this DM-Verity remover here: https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389
-you need to re-name the zip file with only "DM-Verity" in the filename without the ForceEncryption in the name before flashing! The filename determines/triggers what the zip disables!
DO NOT ERASE OR FORMAT ANYTHING!
Reboot and enjoy root while retaining encryption.
-You need to follow these steps on every new ROM flash!
-You can't do OTA updates, you need to flash new full ROMs!

Oh sorry I missed that he's already unlocked the bootloader

Agimax said:
YES! I finally figured out how to get root and keep encryption with Stock Global but you have to flash an alternate kernel first. You can keep your encryption without issues. I've been using this for a few weeks without issues now. The STOCK kernel has been the issue the whole time.
Click to expand...
Click to collapse
I can confirm this works, or at least in global ROM. I tried flashing Xiaomi.eu rom from global, but I couldn't boot it. I remember someone said that rom doesn't have encryption implemented.

Hey guys, do you know how to install global properly? I have installed the last one, but i can't change region it keep up on china region, and the baterry drain is bad. I used twrp recovery, but when i installed the global rom it doesn't work anymore, it started the miui recovery instead of custom. Help please

I installed magisk without a reset easily. Also im on stock kernel and my phone's encrypted ?

what is encryption for?`sry for maybe stupid question :x

Agimax said:
The filename determines/triggers what the zip disables!
Click to expand...
Click to collapse
Really...
---------- Post added at 02:05 PM ---------- Previous post was at 02:04 PM ----------
Ferr1s said:
what is encryption for?`sry for maybe stupid question :x
Click to expand...
Click to collapse
Well your files will be encrypted so noone can access your files without the encryption password if the phone gets lost.

Agimax said:
YES! I finally figured out how to get root and keep encryption with Stock Global but you have to flash an alternate kernel first. You can keep your encryption without issues. I've been using this for a few weeks without issues now. The STOCK kernel has been the issue the whole time.
For Stock MIUI Global (Beta or Stable) Already Setup & Encrypted:
1.) Boot to TWRP Recovery (i'm using twrp-3.2.3-4)
2.) Flash Sphinx kernel (i'm on v2.5) You CANNOT keep ROOT while retaining encryption on a STOCK Kernel at this time!
3.) Flash Magisk (i'm using 18.0)
4.) Flash Disable_Dm-Verity ONLY! (DO NOT FLASH DM-VERITY with Encryption REMOVER or FEC in the filename or you will screw up your encryption!)
-I use this DM-Verity remover here: https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389
-you need to re-name the zip file with only "DM-Verity" in the filename without the ForceEncryption in the name before flashing! The filename determines/triggers what the zip disables!
DO NOT ERASE OR FORMAT ANYTHING!
Reboot and enjoy root while retaining encryption.
-You need to follow these steps on every new ROM flash!
-You can't do OTA updates, you need to flash new full ROMs!
Click to expand...
Click to collapse
Hello, I'm running stock MIUI 10(global) on my Mi 8. It is already rooted. I was flashed DM-verify with encryption remover. Then rooted it.
Now I want to encrypt my phone without wiping data. I tried flashing Sphinx kernel then encrypt the phone but it failed. Should I reset my phone and setup again to encrypt the phone or it is possible to encrypt it without resetting?

Related

Need some help!

Hey guys, i am on miui global 10 8.9.20 beta and i have already unlocked the bootloader. (I just want some tips because i bootlocked my santoni at the first attempt )
So.. what recovery and method i should use as i only want magisk and audio mods.
NFS420 said:
Hey guys, i am on miui global 10 8.9.20 beta and i have already unlocked the bootloader. (I just want some tips because i bootlocked my santoni at the first attempt )
So.. what recovery and method i should use as i only want magisk and audio mods.
Click to expand...
Click to collapse
I suppose you mean bootlooped not "bootlocked" because it is already unlocked, right?
A custom recovery with official MIUI requires a boot image fix and you'd better simply install this https://xiaomi.eu/community/threads/8-9-20.46616/ as it works without any issues and you'll be able to easily mod it any way you want.
:good:
Use Official twrp recovery, download it from here -> https://twrp.me/xiaomi/xiaomiredmi4x.html
Magisk manager -> https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
there are several audio mods available, i do not use any so can not suggest any.
k23m said:
I suppose you mean bootlooped not "bootlocked" because it is already unlocked, right?
A custom recovery with official MIUI requires a boot image fix and you'd better simply install this https://xiaomi.eu/community/threads/8-9-20.46616/ as it works without any issues and you'll be able to easily mod it any way you want.
:good:
Click to expand...
Click to collapse
yup it bootlooped not locked(my bad), the bootloader is unlocked.
And would i lose all my data if i flashed this on top of my global rom and can i restore my data via restore from a backup in twrp ?
NFS420 said:
yup it bootlooped not locked(my bad), the bootloader is unlocked.
And would i lose all my data if i flashed this on top of my global rom and can i restore my data via restore from a backup in twrp ?
Click to expand...
Click to collapse
You will not lose anything if you try a "dirty flash". Wipe only advanced-cache/dalvik (don't wipe data!) and everything should work if you use "xiaomi.eu_multi_HM4X_8.9.20_v10-7.1.zip" which is exactly the same MIUI version as the official.
A "dirty flash" while preserving data/setup may not be always successful but you can restore your backup later should something go wrong.
Normal flash is recommended but you'd have to deal with app re-installations.

Uptdates with Magisk and root

Hi! I have a Xiaomi Mi 8 chinese (with global rom MIUI 10.0.2.0 stable), magisk 17.1, TWRP 3.2.3 and rooted. I wanted to know if now I am able to receive OTA, if i can install it without doing nothing (if I have to do anything, what I have to do to [keeping everything: root, magisk...]) and if there is any difference between install small OTA and big ones like MIUI 9 -> MIUI 10 or Android 8 -> Android 9 or I install them in the same way. I couldn't find any tutorial about these questions
By the way, how can I flash my stock recovery?
Thank you!
I have the same version, haven't installed TWRP yet, not rooted, and i wanted to do it with magisk but i tried several times in the past and i cant get it to boot, also i couldnt do ota updates with TWRP aswell, so i have the same questions basically.
xXSantyXx said:
I have the same version, haven't installed TWRP yet, not rooted, and i wanted to do it with magisk but i tried several times in the past and i cant get it to boot, also i couldnt do ota updates with TWRP aswell, so i have the same questions basically.
Click to expand...
Click to collapse
I had a loooot of trouble installing magisk.
Do this:
Boot TWRP.
Format data.
Install MIUI via TWRP.
Without rebooting, flash Magisk V17.1.
Install DM-VERITY AND FORCED ENCRYPTION DISABLER.
Perform fastboot format userdata.
Reboot.
Anybody can help?
Get bootloop for my mi 8 global stable 10.0.2.0
Waiting for the latest developments, because I use 10 global stable and try all the versions of magisk that I recommend until the latest version of the 17.2 magisk I use remains bootloop. Sad. Waiting for the angel to share ways.
Nobody can do anything
Very sad . Waiting for the angel's magical hand to share knowledge
Any luck with Magisk 17.3? Unfortunately I was in the same shoes but I went to xiaomi.eu's latest stable ROM and I can't complain so far.
Bortex19 said:
I had a loooot of trouble installing magisk.
Do this:
Boot TWRP.
Format data.
Install MIUI via TWRP.
Without rebooting, flash Magisk V17.1.
Install DM-VERITY AND FORCED ENCRYPTION DISABLER.
Perform fastboot format userdata.
Reboot.
Click to expand...
Click to collapse
how do i go from TWRP to performing the format do i have to reboot to bootloader?
Yes ?
The problem is Data Encryption. That is the reason you have to flash the DM Verity / Encryption Disabler and MUST format data (where you type 'yes' to confirm). Just an FYI, Multi .EU ROMs don't have data encryption, so Magisk should work out of the box. Unfortunately, i'm not willing to give up data encryption for the sake of Root. You can modify almost anything through the TWRP recovery file manager, and also disable apps through ADB Shell anyway-so root is less useful. If you lose your phone and don't have DATA encryption, your phone is open season for anyone and everything you have. Multi-ROM .EU has System encryption. GLOBAL ROM has system & data encryption as default.
/.
Bortex19 said:
I had a loooot of trouble installing magisk.
Do this:
Boot TWRP.
Format data.
Install MIUI via TWRP.
Without rebooting, flash Magisk V17.1.
Install DM-VERITY AND FORCED ENCRYPTION DISABLER.
Perform fastboot format userdata.
Reboot.
Click to expand...
Click to collapse
This way solved my bootloop
My question is: is it safe to update to magisk v18?
szilvasi.szilard said:
This way solved my bootloop
My question is: is it safe to update to magisk v18?
Click to expand...
Click to collapse
Totally ?
Bortex19 said:
Totally ?
Click to expand...
Click to collapse
Do you have the latest now on yours?
What is the reason why we can't have encryption with root? Is it something that might be fixed in time?
I've rooted several phones with root and never had this issue. I want to root to remove all the xiaomi bloatware but I don't want to lose encryption.
szilvasi.szilard said:
Do you have the latest now on yours?
Click to expand...
Click to collapse
Yes, and it works perfectly.
About encryption you have the option in settings, maybe you can try to do the encryption again
Bortex19 said:
Yes, and it works perfectly.
About encryption you have the option in settings, maybe you can try to do the encryption again
Click to expand...
Click to collapse
Do you mean the encryption in magisk?
szilvasi.szilard said:
Do you mean the encryption in magisk?
Click to expand...
Click to collapse
I have not tried the encryption. I was talking about Magisk 18
Bortex19 said:
I had a loooot of trouble installing magisk.
Do this:
Boot TWRP.
Format data.
Install MIUI via TWRP.
Without rebooting, flash Magisk V17.1.
Install DM-VERITY AND FORCED ENCRYPTION DISABLER.
Perform fastboot format userdata.
Reboot.
Click to expand...
Click to collapse
bro please explain this .Im noob in xiaomi:
Perform fastboot format userdata.
---------- Post added at 09:34 PM ---------- Previous post was at 09:34 PM ----------
Bortex19 said:
I had a loooot of trouble installing magisk.
Do this:
Boot TWRP.
Format data.
Install MIUI via TWRP.
Without rebooting, flash Magisk V17.1.
Install DM-VERITY AND FORCED ENCRYPTION DISABLER.
Perform fastboot format userdata.
Reboot.
Click to expand...
Click to collapse
bro please explain this .Im noob in xiaomi:
Perform fastboot format userdata.
arshia.sunboy said:
bro please explain this .Im noob in xiaomi:
Perform fastboot format userdata.
---------- Post added at 09:34 PM ---------- Previous post was at 09:34 PM ----------
bro please explain this .Im noob in xiaomi:
Perform fastboot format userdata.
Click to expand...
Click to collapse
In the last step, you have to reboot to bootloader and write "fastboot format userdata" from your computer
Bortex19 said:
In the last step, you have to reboot to bootloader and write "fastboot format userdata" from your computer
Click to expand...
Click to collapse
The system cannot find the file specified. (2)
error: Cannot generate image for userdata

Help with Treble ROMs

I have the PRA-LX1 with already unlocked bootloader and got it rooted with TWRP + Magisk before the last OTA.
I'm not a beginner with rooting this phone but only got Problems with installing any Treble Rom (tried Lineage and Aosp) and every try ended with a bootloop I don't know what I'm doing wrong.
So please can anyone give me a step by step instruction?
Which Treble Rom is a good one and recommended for this phone?
Which TWRP do I need?
And how exactly do I flash them correctly? What do I wipe?
Sorry for this noob questions but I failed so many times with Treble and don't want to do the reinstall with erecovery for the 10000 time :crying:
Thanks
Try to install the stock recovery and ramdisk.
+1
I also have this problem. Wich TWRP works with treble roms? i tryed everything and everytime i get a boot loop.
Please help.
After I flashed a treble gsi, I need to flash stock recovery?
Atiqx said:
After I flashed a treble gsi, I need to flash stock recovery?
Click to expand...
Click to collapse
Yes. if u still get bootloop flash stock recovery and ramdisk first then flash gsi. make sure u factory reset on stock recovery after u flash gsi.
ppdr07 said:
Try to install the stock recovery and ramdisk.
Click to expand...
Click to collapse
ppdr07 said:
Yes. if u still get bootloop flash stock recovery and ramdisk first then flash gsi. make sure u factory reset on stock recovery after u flash gsi.
Click to expand...
Click to collapse
And which TWRP should I use for flashing?.. And how can I flash GSI with stock?
That makes no sense to me sorry
Flash via fsstboot. Stock recovery and ramdisk flash via fastboot. Im not using twrp so idk.
---------- Post added at 08:38 AM ---------- Previous post was at 08:37 AM ----------
U can see a tutorial at xda how to flash gsi without twrp. Google it.
ppdr07 said:
Flash via fsstboot. Stock recovery and ramdisk flash via fastboot. Im not using twrp so idk.
---------- Post added at 08:38 AM ---------- Previous post was at 08:37 AM ----------
U can see a tutorial at xda how to flash gsi without twrp. Google it.
Click to expand...
Click to collapse
I googled it, pretty much every source says that you require a custom recovery in order to flash a GSI or any custom ROM.
XDA XILFY said:
I googled it, pretty much every source says that you require a custom recovery in order to flash a GSI or any custom ROM.
Click to expand...
Click to collapse
https://www.xda-developers.com/flash-generic-system-image-project-treble-device/ u will find Flash GSI without TWRP
ppdr07 said:
https://www.xda-developers.com/flash-generic-system-image-project-treble-device/ u will find Flash GSI without TWRP
Click to expand...
Click to collapse
Oh, well that's pretty cool. Either way, I just tried flashing Official Resurrection Remix GSI with no luck. Stock recovery, attempted to flash through fastboot and it just gives me a bootloop, exactly like TWRP does. Followed the guide you linked to etc, just keeps rebooting.
XDA XILFY said:
Oh, well that's pretty cool. Either way, I just tried flashing Official Resurrection Remix GSI with no luck. Stock recovery, attempted to flash through fastboot and it just gives me a bootloop, exactly like TWRP does. Followed the guide you linked to etc, just keeps rebooting.
Click to expand...
Click to collapse
Go to openkirin.net/download download the rr beta 3
Atiqx said:
I have the PRA-LX1 with already unlocked bootloader and got it rooted with TWRP + Magisk before the last OTA.
I'm not a beginner with rooting this phone but only got Problems with installing any Treble Rom (tried Lineage and Aosp) and every try ended with a bootloop I don't know what I'm doing wrong.
So please can anyone give me a step by step instruction?
Which Treble Rom is a good one and recommended for this phone?
Which TWRP do I need?
And how exactly do I flash them correctly? What do I wipe?
Sorry for this noob questions but I failed so many times with Treble and don't want to do the reinstall with erecovery for the 10000 time :crying:
Thanks
Click to expand...
Click to collapse
Well, I finally got it all working.
You know the risks, don't blame me if something goes wrong, I did these exact steps to manage to root my phone without breaking it. C432, Dual SIM and PRA-LX1.
Have everything stock before following this short guide: Firmware, all stock recovery etc.
Installing the ROM and GApps
First, download necessary GSI files.
(Personally I got Official Oreo Resurrection Remix, here).
(Although you could find yourself using virtually any other GSI, I like the look and feel of RR, though I'll be changing my boot animation with root). Many people would probably recommend you to use something like an AOSP, or LOS which I was also considering on installing. They may also come bundled with GApps, which would negate the later need for installation or download of separate GApps.
This may include GAPPS but you should understand this from the GSI page, so for example on RR I had to download both the latest base ROM .img and the micro GApps.
So to do this I had to use the right architecture (For the P8 Lite 2017, this is ARMx64, do your good research, since my problem was getting this wrong with my PRA-LX1 (Mine was A-ONLY), this stands for the base ROM and GApps.
After this I actually didn't use TWRP as user @ppdr07 advised. I followed the guide he linked us to and did as so, without following the -u command, since it wasn't working for me (didn't affect anything, try it, if it doesn't work, just take that bit out).
The ROM ended up installing and posting through, everything set up perfectly.
After this I was like "Huh, so what now? How am I to flash GApps on this without TWRP?". I went for it and booted into fastboot where I flashed Askuccio's TWRP for hi6250 devices. At this point I worried that the ROM wouldn't post again - though it did, so from there I enabled dev options and switched on advanced power options just for ease of usage. From there I rebooted straight to recovery which posted fine, too.
At this point, you need to flash the GApps. Go for the one that the original GSI page recommends. Flash it to the System Image partition. Don't wipe anything. At this point I recommend that if you realise that you forgot to transfer any files to the SD card, you should do it from the system. It works better compared to the MTP on TWRP. Either way, that should work properly. Now, reboot the system, and it should work perfectly.
Enjoy, it took me months to get to this point lol
Rooting Your New ROM With Magisk
(Before installing this consider the other root options. I believe there's SuperSU and another possibly that I'm less aware of. Either way, in my opinion Magisk comes with the most benefits so I'll be helping you out with that).
After this I ended up flashing Magisk in order to use Snapchat and other apps similar to it. Firstly you'll want to set up Google stuff which has been newly added to the system, and then you'll want to go to chrome and download the Magisk Manager .apk from here. The main and most reliable place to get it is from the creator's project page found here, all main links stand out in the middle fairly well.
(Remember to enable downloading of unknown apps for Chrome in it's app settings, otherwise it won't download or install.)
If it still doesn't work at this point, I ended up holding down on the Magisk Manager link and pressing Download Link (or something to that effect). From this point just install it as you would any other out-of-store app.
Now, you'll need to download these two files from the Magisk page onto your computer: Stable Installer and Uninstaller. Next, while booted into Android, copy them over to either Internal or External storage and when it's done, reboot into TWRP again, either by advanced power menu or using the button commands for recovery. Personally, I think I need the power options with this phone.
In TWRP, simply go to Install, navigate to /externalsd/***[WHEREVER YOU PLACED YOUR MAGISK FILES]***, then install the Magisk installer .zip. If unchanged, the filename should be something like "Magisk-v17.1.zip". Install it, then give rebooting a go. Hopefully it'll post, if not, go back into TWRP and run the Uninstaller .zip, it's saved me a bunch of times.
Unblocking Apps That Say Something Like "Your Phone is Rooted or Modified, no access blah blah blah..."
(Snapchat is the example used here. It won't work upon login if you don't follow this step. Some apps don't work with this alone however, though somebody may have produced a separate guide or easily installable Magisk module with a solution for it. One that won't be fixed singularly with Magisk Hide is Google Pay).
After posting, if you need to unblock Snapchat or something, go to Magisk Manager (which should now be more green), open the top left context menu, tap on Magisk Hide, and search "snap" until you see the Snapchat logo pop up, then select it, then back out with the back button. It should stay selected in Magisk, and the app should now be usable and shouldn't give you any annoying errors, if not give it a reboot and see if it's solved.
Good luck!

Disable encryption + DM-verity, install Magisk +Root+ Xposed

Hey everyone, i want to root my phone with magisk and install Xposed. I also want to disable forced encryption as well as DM verity on my phone. Can someone provide the correct steps to do it. I am on latest may security patch.
So what i did was:
1) temporary booted the twrp. Flashed Universal DM-Verity, ForceEncrypt Disabler to remove forced encryption. Without rebooting, flashed the latest magisk zip.
2) Reboot. Device gets stuck in bootloop.
3) Booted into recovery and factory reset. Restart and phone booted up properly
However when i open magisk it says upgrade tp additional magisk requires additional setup, so it asks me to download the files.(This message only appears when i flash the Universal DM-Verity, ForceEncrypt disabler, if i don't flash the Universal DM-Verity, ForceEncrypt disabler, magisk installs perfectly fine without any errors)
4) I download the files and again bootloop. Again factory reset from recovery.
Please someone provide steps to disable forced encryption + DM verity as well as install magisk with xposed framework.
mhp1995 said:
Hey everyone, i want to root my phone with magisk and install Xposed. I also want to disable forced encryption as well as DM verity on my phone. Can someone provide the correct steps to do it. I am on latest may security patch.
So what i did was:
1) temporary booted the twrp. Flashed Universal DM-Verity, ForceEncrypt Disabler to remove forced encryption. Without rebooting, flashed the latest magisk zip.
2) Reboot. Device gets stuck in bootloop.
3) Booted into recovery and factory reset. Restart and phone booted up properly
However when i open magisk it says upgrade tp additional magisk requires additional setup, so it asks me to download the files.(This message only appears when i flash the Universal DM-Verity, ForceEncrypt disabler, if i don't flash the Universal DM-Verity, ForceEncrypt disabler, magisk installs perfectly fine without any errors)
4) I download the files and again bootloop. Again factory reset from recovery.
Please someone provide steps to disable forced encryption + DM verity as well as install magisk with xposed framework.
Click to expand...
Click to collapse
To make this thing work is to Format Data for the first time after installing the Rom. After formatting data flash disable force encryption.
You'll have to flash everytime you flash a new rom.
The bootloop is happening because you device can't read the Data partition because its encrypted.
I am using the same method and it's working fine for me.
---------- Post added at 05:49 AM ---------- Previous post was at 05:41 AM ----------
nitish2706 said:
To make this thing work is to Format Data for the first time after installing the Rom. After formatting data flash disable force encryption.
You'll have to flash everytime you flash a new rom.
The bootloop is happening because you device can't read the Data partition because its encrypted.
I am using the same method and it's working fine for me.
Click to expand...
Click to collapse
I am using this disable force encryption.
https://drive.google.com/file/d/1jgoO8lMiwALqUxoGRrUvft4Oack7qm7w/view?usp=drivesdk
nitish2706 said:
To make this thing work is to Format Data for the first time after installing the Rom. After formatting data flash disable force encryption.
You'll have to flash everytime you flash a new rom.
The bootloop is happening because you device can't read the Data partition because its encrypted.
I am using the same method and it's working fine for me.
---------- Post added at 05:49 AM ---------- Previous post was at 05:41 AM ----------
I am using this disable force encryption.
https://drive.google.com/file/d/1jgoO8lMiwALqUxoGRrUvft4Oack7qm7w/view?usp=drivesdk
Click to expand...
Click to collapse
Thanks man for the reply! The Moto one power forum is really dead. I wil try this once i get back home. Also one more thing you said i'll have to flash this everytime after a new rom, does that include OTA?Thanks
mhp1995 said:
Thanks man for the reply! The Moto one power forum is really dead. I wil try this once i get back home. Also one more thing you said i'll have to flash this everytime after a new rom, does that include OTA?Thanks
Click to expand...
Click to collapse
You don't have to thank me dude.
You can join the Telegram Group if you want https://t.me/MotoOnePower
nitish2706 said:
To make this thing work is to Format Data for the first time after installing the Rom. After formatting data flash disable force encryption.
You'll have to flash everytime you flash a new rom.
The bootloop is happening because you device can't read the Data partition because its encrypted.
I am using the same method and it's working fine for me.
---------- Post added at 05:49 AM ---------- Previous post was at 05:41 AM ----------
I am using this disable force encryption.
https://drive.google.com/file/d/1jgoO8lMiwALqUxoGRrUvft4Oack7qm7w/view?usp=drivesdk
Click to expand...
Click to collapse
Bro i used this file but the phone is still encrypted. I did the following steps:
1) Flashed the stock rom with june update
2) Booted into TWRP and did a format data
3) Flashed the given zip file
4) Reboot
Unfortunately it still shows encrypted. I tried flashing the zip file first and format data after that but still no decryption. Am i missing a step or something?
mhp1995 said:
Bro i used this file but the phone is still encrypted. I did the following steps:
1) Flashed the stock rom with june update
2) Booted into TWRP and did a format data
3) Flashed the given zip file
4) Reboot
Unfortunately it still shows encrypted. I tried flashing the zip file first and format data after that but still no decryption. Am i missing a step or something?
Click to expand...
Click to collapse
you neeed to format the data first and then flash the zip
What are the commands to disable encryption & dm verity for android 11 in fastboot? Every time I flash mine B partition no root but boot alone bootloops and boot_a boot loops.
I can't root my Hisense 43A6H because of this encryption I think?

Few questions regarding rooting and flashing.

Hello XDA fam, I just picked up a 3T and unlocked the bootloader.
I was just wondering what the general flashing process was for this
device (A3000). Also a tad confused about this dm-verity ...
disabler zip, is this and format data required every time you flash a
new ROM?
MoistPicklez said:
Hello XDA fam, I just picked up a 3T and unlocked the bootloader.
I was just wondering what the general flashing process was for this
device (A3000). Also a tad confused about this dm-verity ...
disabler zip, is this and format data required every time you flash a
new ROM?
Click to expand...
Click to collapse
Dm-verity warnings are similar to the unlocked bootloader screen you get, but are red. You get them if you are running stock OOS and modify the system partition.
You don't need the dm-verity disabler unless you've got a dm-verity warnings screen.
Note that you cannot disable the unlocked bootloader warning you get every time the phone boots except by re-locking the phone.
Another thing to note: if you are running stock OOS and flash TWRP, then TWRP will be replaced by the stock recovery when your reboot the phone unless you:
- use a patched boot image like the one from @Xennet's thread https://forum.xda-developers.com/oneplus-3t/how-to/dm-verity-disable-oxygen-os-t3922324/post79357241
- use a custom kernel, or
- use Magisk.
Flashing using TWRP is just like any other phone. If you're changing ROMs then you need to do a clean install (wipe /data and/system).
Some ROMs don't handle an encrypted phone (most Android 10 ones except for Los and PE), so you you have to remove the encryption before using those ROMs (TWRP>wipe>format data).
Finally if your phone is unlocked and running OOS 5.x or lower, and you want to upgrade to OOS 9.x then you'll either have to:
- remove the encryption (but can re-encrypt after installing 9.x) or
- use the modded firmware (that keeps the 5.x bootloader and keys) so that you don't have to remove the encryption. See https://forum.xda-developers.com/on...-5-0-8-firmware-barrier-t3941164/post79758055
Sent from my OnePlus3T using XDA Labs
BillGoss said:
Dm-verity warnings are similar to the unlocked bootloader screen you get, but are red. You get them if you are running stock OOS and modify the system partition.
You don't need the dm-verity disabler unless you've got a dm-verity warnings screen.
Note that you cannot disable the unlocked bootloader warning you get every time the phone boots except by re-locking the phone.
Another thing to note: if you are running stock OOS and flash TWRP, then TWRP will be replaced by the stock recovery when your reboot the phone unless you:
- use a patched boot image like the one from @Xennet's thread https://forum.xda-developers.com/oneplus-3t/how-to/dm-verity-disable-oxygen-os-t3922324/post79357241
- use a custom kernel, or
- use Magisk.
Flashing using TWRP is just like any other phone. If you're changing ROMs then you need to do a clean install (wipe /data and/system).
Some ROMs don't handle an encrypted phone (most Android 10 ones except for Los and PE), so you you have to remove the encryption before using those ROMs (TWRP>wipe>format data).
Finally if your phone is unlocked and running OOS 5.x or lower, and you want to upgrade to OOS 9.x then you'll either have to:
- remove the encryption (but can re-encrypt after installing 9.x) or
- use the modded firmware (that keeps the 5.x bootloader and keys) so that you don't have to remove the encryption. See https://forum.xda-developers.com/on...-5-0-8-firmware-barrier-t3941164/post79758055
Click to expand...
Click to collapse
Wow thank you for the detailed info, I really appreciate the insight.
I am currently running the latest OOS update 9.0.6 I believe.
Once I have TWRP installed do I swipe and enable modifications?
Flashing Magisk afterwards avoids the bootloop and allows me to
keep TWRP in place of the stock recovery as you said, correct?
So installing most ROMs seems fairly straightforward, following
the flashing instructions. However if I were to install an Android
10 ROM wouldn't formatting data remove all zips and everything
from the internal storage? So at that point I'd have to copy back
all my ROMs and zips back to the phone in TWRP and flash from
this point correct?
Sorry for the loads of questions, my most recent device was a
Note 9, which has a locked bootloader, so it has been a while since
I have flashed anything or used TWRP.
MoistPicklez said:
Wow thank you for the detailed info, I really appreciate the insight.
I am currently running the latest OOS update 9.0.6 I believe.
Once I have TWRP installed do I swipe and enable modifications?
Flashing Magisk afterwards avoids the bootloop and allows me to
keep TWRP in place of the stock recovery as you said, correct?
Click to expand...
Click to collapse
You don't need you enable modifications of the system partition. Any zip you flash will make the system writable if required.
So, just flash Magisk.
MoistPicklez said:
So installing most ROMs seems fairly straightforward, following the flashing instructions. However if I were to install an Android
10 ROM wouldn't formatting data remove all zips and everything from the internal storage? So at that point I'd have to copy back all my ROMs and zips back to the phone in TWRP and flash from this point correct?
Click to expand...
Click to collapse
Correct. So it's best to take a backup of your current system and backing up everything on internal storage (/sdcard) to an external drive or PC.
The fastest way to take the backup is to use ADB.
Code:
adb pull /sdcard
MoistPicklez said:
Sorry for the loads of questions, my most recent device was a
Note 9, which has a locked bootloader, so it has been a while since
I have flashed anything or used TWRP.
Click to expand...
Click to collapse
You'll find that nearly all the rom, kernel, and recovery development threads are under the OnePlus 3 forum in https://forum.xda-developers.com/oneplus-3/oneplus-3--3t-cross-device-development as they are unified: good to flash on both the 3 and 3T.
Sent from my OnePlus3T using XDA Labs
BillGoss said:
You don't need you enable modifications of the system partition. Any zip you flash will make the system writable if required.
So, just flash Magisk.
Correct. So it's best to take a backup of your current system and backing up everything on internal storage (/sdcard) to an external drive or PC.
The fastest way to take the backup is to use ADB.
You'll find that nearly all the rom, kernel, and recovery development threads are under the OnePlus 3 forum in https://forum.xda-developers.com/oneplus-3/oneplus-3--3t-cross-device-development as they are unified: good to flash on both the 3 and 3T.
Click to expand...
Click to collapse
Awesome info, big thanks to you my good sir. Finally
on Havoc 2.9 and decrypted. Now just gotta get a feel
for this phone and keep on reading. Cheers!

Categories

Resources