Hi,
I got a new OP3T, I wanted to root the phone and install custom ROM on it. After searching on internet I came to know the device has dm-verity feature which may cause issue once I flash custom recovery.
I wonder if I install TWRP, and supersu/root but skip dm-verity and keep the phone encrypted will this action prevent me to boot into system (note that I'm currently on Oxygen OS 4.1.6) ?
Thanks.
Most custom ROMs/kernels and root solutions will disable dm-verity and forced encryption. You can still keep your device encrypted even though the forced encryption have been disabled.
Didgeridoohan said:
Most custom ROMs/kernels and root solutions will disable dm-verity and forced encryption. You can still keep your device encrypted even though the forced encryption has been disabled.
Click to expand...
Click to collapse
Thanks.
Related
hey guys, so I want to encrypt my phone but I want to stay rooted with magisk and xposed. (Using SuperSU 2.78 SR3). Device: OnePlus One running SultanXDA's CM13.
Are there any special steps I need to take before I start the encryption process? do I need to completely unroot and remove all traces of all these before going back or will it just work?
I haven't seen this question addressed before and this would help others with the same questions.
Thanks for any advice!
Since there was no support from anyone, I decided to just remove everything (xposed, magisk and supersu) then encrypt, and finally re-add everything back. I did this just to avoid any complications and all works fine without issue.
@Nomelas what version of magisk did you use? and did you sideload them or just flash with the cache work around?
I've been at this all day with no luck
@GbizzleMcGrizzle what phone are you using? I had to completely remove everything before encrypting. Also reflashed stock system
@Nomelas Galaxy S7 (SM-G930F) it wont encrypt with magisk installed and magisk wont install after it has been encrypted.
@GbizzleMcGrizzle are you flashing through twrp? (are you decrypting when you boot into twrp)
i've tried flashing in twrp and sideloading. I don't think I can decrypt in twrp but magisk says it has a work around for not beiing able to boot /data and supposedly put in in cache and then moves it to data after boot so IDK
Hi there, what is easiest way to root nougat? oxygenOS 4.0?
i mean root that is working with stable nougat version. thanks.
Unlock bootloader if you haven't already (it will wipe all your data. Yes, all.), flash TWRP recovery and use that recovery to flash SuperSU flashable zip, which you can find by googling SuperSU.
I would wait a bit. I have spend quite some time on reverting. It seems there are some issues with twrp and how it handles encryption. I couldn't bypass encryption password in twrp and flash anything. I could on 3.5 but not in nougat. There are a few threads about it. A new twrp version will probably fix it.
Didn't someone make a post that you have to change the partition to f2fs to fix the encryption issue?
The Oneplus 3T comes with f2fs (you can check the partition type in twrp>wipe>tick 'data'> repair filesystem> choose 'CANCEL'). Currently the only way to fix the encryption issue in twrp is to disable encryption I think.
Sorry i didnt mean this to be Q & A, i want only ask that is it okay to root nougat or does it have some kind of problems still..
Could i install twrp on 3.5.4, root it, then flash OOS 4.0 in twrp?
Yes that's what I did. Make sure you flash the full zip (around 1.4 GB). You will lose root though.
Can't you redo root/supersu after flashing nougat? Also you can try magisk as well on nougat. I heard that works well.
Hi guys,
I have flashed Oxygen OS 5 onto my OnePlus3T and am rooted with Magisk.
Everything is working fine however when I boot into TWRP I get a message to keep system read only and swipe to allow modifications.
My understanding is that if I swipe to allow modifications then I won't be able to boot Oxygen OS5, and I read a guide which said to flash a dm-verity and forced encryption disabler zip.
I do not want to loose what is on my device so I am worried that if I swipe to allow modifications then I will be forced to format data on my device.
How can I allow modifications on my device but not be forced to format data?
Thanks
If you've already flashed Magisk, then it shouldn't be problem as the Magisk zip will disable dm-verity anyways. If you're really worried, you can swipe to allow modifications, then dirty flash OOS 5.0 and Magisk in the same session before rebooting.
Anova's Origin said:
If you've already flashed Magisk, then it shouldn't be problem as the Magisk zip will disable dm-verity anyways. If you're really worried, you can swipe to allow modifications, then dirty flash OOS 5.0 and Magisk in the same session before rebooting.
Click to expand...
Click to collapse
Thats what I thought so im confused why im getting the message in TWRP.
So if I swipe to allow modifications and the device doesn't boot I can go back to TWRP and dirty flash or once I allow to boot and it fails then i'll loose all data?
ceanth said:
Thats what I thought so im confused why im getting the message in TWRP.
So if I swipe to allow modifications and the device doesn't boot I can go back to TWRP and dirty flash or once I allow to boot and it fails then i'll loose all data?
Click to expand...
Click to collapse
If you swipe, dirty flash ROM + Magisk, then reboot and dm-verity prevents you from booting, then it means you've tripped it before. In that case, flash an old version of the bootloader (OOS 4.0 or earlier), manually disable and re-enable dm-verity through fastboot, and dirty flash ROM + Magisk again. There's a guide on how to do it somewhere in the forums. Either way, regardless if you trip dm-verity or not, it shouldn't delete any of your data.
Hello
Yesterday I unlock the bootloader to flash Xiaomi.eu Rom on a Chinese MI8 and I noticed that is not encrypted.
When I try to encrypt it, I get a brick. Seems that twrp-3.2.3.0.-dipper not support encryption partitions and I not able to see the sdcard partition and I had to flash in fastboot to revive the phone.
The second test was flashing the official chinese ROM since it’s encrypted from beginning with twrp-3.2.3.0 and recovery-TWRP-3.2.2-0711-XIAOMI8-CN-wzsx150. With the last, the phone hangs on boot, and with twrp-3.2.3.0 boots but the filesystem seems encrypted from TWRP.
I come from MI5s Plus and it ask me the encrypted password when it try to mount the filesystem.
anyone succeed the encryption?
Seaching for a solution as well. I had similar experience like you with global beta and global stable, bl unlocked, twrp.
I need magisk as well, so only solution for now is to run unencrypted, if I activate encryption I cannot boot anymore.
@grootooter , I can confirm you that the recovery TWRP 3.2.3-0918-XIAOMI8-CN can read the encrypted filesystem in the chinese rom.
It not boot only with "fastboot boot recovery.img", you need flashing it.
I don't know if you can use magisk with encryption because dm-verity.
That's the reason because I stay in the chinese ROM, that has native root.
Someone would have to try this TWRP with Xiaomi.EU, then encrypt the filesystem and post the results.
Is there a method for decrypting and preventing forced encryption on pie? I plan to run a custom ROM.
you can disable dm-verity and remove encryption by TWRP
JustACuteWolf said:
you can disable dm-verity and remove encryption by TWRP
Click to expand...
Click to collapse
How? By formatting Data? I have tried that, after flashing a custom ROM and booting it re-encrypts.
dm-verity can being disabled by flashing this stock rom https://forum.xda-developers.com/moto-x4/development/rom-moto-x4-retail-android-pie-t3876156
JustACuteWolf said:
dm-verity can being disabled by flashing this stock rom https://forum.xda-developers.com/moto-x4/development/rom-moto-x4-retail-android-pie-t3876156
Click to expand...
Click to collapse
I flashed the Android One stock Pie ROM and dm-verity is disabled. What I need is a reliable method for disabling forced encryption on Pie.
creeve4 said:
I flashed the Android One stock Pie ROM and dm-verity is disabled. What I need is a reliable method for disabling forced encryption on Pie.
Click to expand...
Click to collapse
Format Data over twrp and flash stockrom and Boot into twrp before booting The system and Install magisk