Hi everyone, i want to encrypt my phone cause i am on a vacation. I am decrypted since day one and i am a little confused about encryption. TWRP is the latest by codeworx and i am decrypted on latest oos stable and xxx 7.7 and Weeb Kernel. When i flash the Rom again without no_verity, are my files on internal storage gone? Can i access them in TWRP? What are your experience? Thx in advanced, Time for some vacation
dd0s said:
Hi everyone, i want to encrypt my phone cause i am on a vacation. I am decrypted since day one and i am a little confused about encryption. TWRP is the latest by codeworx and i am decrypted on latest oos stable and xxx 7.7 and Weeb Kernel. When i flash the Rom again without no_verity, are my files on internal storage gone? Can i access them in TWRP? What are your experience? Thx in advanced, Time for some vacation
Click to expand...
Click to collapse
Hello, if you flash the rom without no verity but did not format internal storage afterwards, the phone won't boot.
You need to format internal storage so OxygenOS can encrypt the internal storage upon boot, but that's only possible if it's formatted before.
strongst said:
Hello, if you flash the rom without no verity but did not format internal storage afterwards, the phone won't boot.
You need to format internal storage so OxygenOS can encrypt the internal storage upon boot, but that's only possible if it's formatted before.
Click to expand...
Click to collapse
Okay, so a internal data Backup is important.
dd0s said:
Okay, so a internal data Backup is important.
Click to expand...
Click to collapse
Yeah it's a little bit inconvenient, but sadly the encryption cannot be forced otherwise on OxygenOS
strongst said:
Yeah it's a little bit inconvenient, but sadly the encryption cannot be forced otherwise on OxygenOS
Click to expand...
Click to collapse
Thx, this was helpful
Related
Hello everyone!
I am wondering how to enable encryption of my P9 Lite running Nougat B370. My phone is rooted, bootloader unlocked and TWRP installed, if that is relevant.
In the menus I don't find any option to encrypt my phone. So, anyone knows if it is possible?
If you mean data encryption, it is already encrypted.
Potato997 said:
If you mean data encryption, it is already encrypted.
Click to expand...
Click to collapse
You sure about that? Because TWRP can access my data partition without pin...
Is there any way to check whether disk encryption is truly enabled?
android_xpert said:
You sure about that? Because TWRP can access my data partition without pin...
Is there any way to check whether disk encryption is truly enabled?
Click to expand...
Click to collapse
It's encrypted unless you unencrypted it with twrp but the latest update of twrp (nouget) lets you backup data unlike twrp on MM.
bghyt said:
It's encrypted unless you unencrypted it with twrp but the latest update of twrp (nouget) lets you backup data unlike twrp on MM.
Click to expand...
Click to collapse
It's strange though, I've never unencrypted my phone with twrp. But when I boot into twrp my whole data partition is open for access without any sort of password/pin. Seems to me there is no encryption active.
TWRP can mount data partition, but it does not mean that it is able to decrypt it.
It can backup/restore or format it which is what usually what a TWRP do, if you install a custom ROM like LOS you will need to format it because the system can't decrypt it while stock ROM can do it.
Potato997 said:
TWRP can mount data partition, but it does not mean that it is able to decrypt it.
It can backup/restore or format it which is what usually what a TWRP do, if you install a custom ROM like LOS you will need to format it because the system can't decrypt it while stock ROM can do it.
Click to expand...
Click to collapse
What I meant by my post is not only that twrp can mount the data partition. I can also access all my files within said data partition.
I was wondering about this. My device is encrypted and I was flashing a ROM. And I only wiped System, Cache, Dalvik and Data. I didn't wipe Internal Storage. But After I Flashed the new ROM my internal was also wiped! So I wanted to know if this is what supposed to happen with encrypted device, or it was a mistake?
Uzumaki said:
I was wondering about this. My device is encrypted and I was flashing a ROM. And I only wiped System, Cache, Dalvik and Data. I didn't wipe Internal Storage. But After I Flashed the new ROM my internal was also wiped! So I wanted to know if this is what supposed to happen with encrypted device, or it was a mistake?
Click to expand...
Click to collapse
Wiping data deletes all settings and apps, wiping internal storage deletes all pictures, music and stuff. Unfortunately, I don't know why your internal storage got wiped, never happened for me.
ulxerker said:
Wiping data deletes all settings and apps, wiping internal storage deletes all pictures, music and stuff. Unfortunately, I don't know why your internal storage got wiped, never happened for me.
Click to expand...
Click to collapse
I know that. As I said I'm encrypted, is it because of that?
Uzumaki said:
I know that. As I said I'm encrypted, is it because of that?
Click to expand...
Click to collapse
Unlikely, I'm also encrypted and it never happened for me. What recovery do you use? I use the Chinese TWRP version.
ulxerker said:
Unlikely, I'm also encrypted and it never happened for me. What recovery do you use? I use the Chinese TWRP version.
Click to expand...
Click to collapse
Official Latest TWRP
Uzumaki said:
Official Latest TWRP
Click to expand...
Click to collapse
Its told to be buggy, especially in combination with Oreo Roms. I recommend to either use ibe TWRP (by a Chinese developer) or blu_spark TWRP, you can find them both here: https://forum.xda-developers.com/showpost.php?p=74946590&postcount=2
ulxerker said:
Its told to be buggy, especially in combination with Oreo Roms. I recommend to either use ibe TWRP (by a Chinese developer) or blu_spark TWRP, you can find them both here: https://forum.xda-developers.com/showpost.php?p=74946590&postcount=2
Click to expand...
Click to collapse
I'm still on Nougat. Didn't install any Oreo ROM till now.
Anyways thanks for the link :good:
Hello Guys Recently i decided to update my OP5 which was on rooted nougat for a year and some how after countless wipes, bootloops, rom flashes and data mounting errors in twrp, was able to flash OOS 5.0 instead of the OOS 5.1.4 , coz flashing 5.1.4 directly from OOS 4.1.5 ,resulted in "error 7" everytime
Device status is unlocked boot loader, decrypted and rooted with magisk. But after this when i check with TWRP(3.2.3) ,i found that its unable to mount data partion again and cannot flash upadte on it or do anything else in twrp, tried to mount the data partion but that resulted in loosing OS again and had to repeat the whole process to Install OOS 5.0 .
Any Idea how i can update my phone further to 5.1.4 or beyond that?
Akarsh Adithya.K said:
Hello Guys Recently i decided to update my OP5 which was on rooted nougat for a year and some how after countless wipes, bootloops, rom flashes and data mounting errors in twrp, was able to flash OOS 5.0 instead of the OOS 5.1.4 , coz flashing 5.1.4 directly from OOS 4.1.5 ,resulted in "error 7" everytime
Device status is unlocked boot loader, decrypted and rooted with magisk. But after this when i check with TWRP(3.2.3) ,i found that its unable to mount data partion again and cannot flash upadte on it or do anything else in twrp, tried to mount the data partion but that resulted in loosing OS again and had to repeat the whole process to Install OOS 5.0 .
Any Idea how i can update my phone further to 5.1.4 or beyond that?
Click to expand...
Click to collapse
Hello, do you read this similar thread already https://forum.xda-developers.com/oneplus-5/help/oneplus5-ota-update-4-1-15-to-5-0-1-5-1-t3859695 ?
strongst said:
Hello, do you read this similar thread already https://forum.xda-developers.com/oneplus-5/help/oneplus5-ota-update-4-1-15-to-5-0-1-5-1-t3859695 ?
Click to expand...
Click to collapse
Yeah, i checked the thread, but mine is a bit different, coz mine is rooted and has TWRP recovery, and it took me many bootloops and flashs to figure out ,that i have to flash every single version of OOS, for example 4.1 to 5.0 and then, 5.0 to 5.0.4 and then 5.0.4 to 5.1 and on.
You get the point. But now i cant update after 5.0 , as TWRP throws this "unable to mount storage" error and my internal storage doesnt even show up in install section
Akarsh Adithya.K said:
Yeah, i checked the thread, but mine is a bit different, coz mine is rooted and has TWRP recovery, and it took me many bootloops and flashs to figure out ,that i have to flash every single version of OOS, for example 4.1 to 5.0 and then, 5.0 to 5.0.4 and then 5.0.4 to 5.1 and on.
You get the point. But now i cant update after 5.0 , as TWRP throws this "unable to mount storage" error and my internal storage doesnt even show up in install section
Click to expand...
Click to collapse
What twrp(link) do you have?
Did you format internal storage or not?
Don't bother with root until you have undated your os. Updating with twrp is also possible and I did it a lot of times.
strongst said:
What twrp(link) do you have?
Did you format internal storage or not?
Don't bother with root until you have undated your os. Updating with twrp is also possible and I did it a lot of times.
Click to expand...
Click to collapse
Its twrp 3.2.3 and yeah before installing rom , i did a full wipe of dalvik, data, system, internal storage and then did a data format too
Akarsh Adithya.K said:
Its twrp 3.2.3 and yeah before installing rom , i did a full wipe of dalvik, data, system, internal storage and then did a data format too
Click to expand...
Click to collapse
Please link the twrp file you're running. Als also you aware that twrp won't stick if you flash full oos rom?
strongst said:
Please link the twrp file you're running. Als also you aware that twrp won't stick if you flash full oos rom?
Click to expand...
Click to collapse
"https://dl.twrp.me/cheeseburger/twrp-3.2.3-0-cheeseburger.img.html"
Yeah i m aware of it and i flashed twrp back every time i finish flashing full OOS
Akarsh Adithya.K said:
"https://dl.twrp.me/cheeseburger/twrp-3.2.3-0-cheeseburger.img.html"
Yeah i m aware of it and i flashed twrp back every time i finish flashing full OOS
Click to expand...
Click to collapse
Please use the latest blu spark recovery which needs to be installed for the vendor partition from 5.1.4 https://forum.xda-developers.com/devdb/project/dl/?id=30332 or codeworks recovery. If you decrypt internal storage and did not flash no verity zip to stay decrypted, after first boot oos will encrypt interval storage.
strongst said:
Please use the latest blu spark recovery which needs to be installed for the vendor partition from 5.1.4 https://forum.xda-developers.com/devdb/project/dl/?id=30332 or codeworks recovery. If you decrypt internal storage and did not flash no verity zip to stay decrypted, after first boot oos will encrypt interval storage.
Click to expand...
Click to collapse
Its Decrypted , but do i have flash no verity zip, again after flashing twrp img
Akarsh Adithya.K said:
Its Decrypted , but do i have flash no verity zip, again after flashing twrp img
Click to expand...
Click to collapse
If you want to stay decrypted: yes
But first update your twrp, check if data partition is accessible, otherwise format internal storage - easiest way.
strongst said:
If you want to stay decrypted: yes
But first update your twrp, check if data partition is accessible, otherwise format internal storage - easiest way.
Click to expand...
Click to collapse
Thanks man strongst, it worked.
Changing recovery to blu spark twrp made all the difference, now i m on OOS 5.1.4
Akarsh Adithya.K said:
Thanks man strongst, it worked.
Changing recovery to blu spark twrp made all the difference, now i m on OOS 5.1.4
Click to expand...
Click to collapse
To help others mark this thread as [SOLVED] in the the title :good:
strongst said:
To help others mark this thread as [SOLVED] in the the title :good:
Click to expand...
Click to collapse
Yeah And one last question,
I tried ti update it to 5.1.5, using same process, and it throws boot loop, is there any other specifc order to flashing magisk and no verity, Or do i have to use other version of verity.
currently the one i m using is no verity v2
Akarsh Adithya.K said:
Yeah And one last question,
I tried ti update it to 5.1.5, using same process, and it throws boot loop, is there any other specifc order to flashing magisk and no verity, Or do i have to use other version of verity.
currently the one i m using is no verity v2
Click to expand...
Click to collapse
Flash full rom Update 5.1.4, then 5.1.5 then
Just make sure that vendor partition is mounted correctly within twrp, before flashing no verity v2 and after then magisk.
Now you can reboot the first time. If it won't help, you should format internal storage again when you have copied files into it like the rom zip. This can cause a bootloop sometimes.
strongst said:
Flash full rom Update 5.1.4, then 5.1.5 then
Just make sure that vendor partition is mounted correctly within twrp, before flashing no verity v2 and after then magisk.
Now you can reboot the first time. If it won't help, you should format internal storage again when you have copied files into it like the rom zip. This can cause a bootloop sometimes.
Click to expand...
Click to collapse
Again , thank you soo much man .
Turns out enabling that vendor portion after flash rom for no verity and magisk will cause no trouble
and now i m on OOS 5.1.5!!(uninstalling Magisk before flashing new update was important to).
Now that
how do i mark this thread as Solved.
I have unlocked the boot-loader and also installed TWRP recovery on my X00_TD device which has 'Pie' as it's Stock ROM.
Now, I would like to know how to proceed to do rooting on this device.
Is it necessary to run decrypt zip file before we run 'magisk-v19.1' to root?
Please advise!
Decrypt removes another variable from the process, so yeah it might be good to remove a probable failure point.
Decrypt and then Magisk?
arko9699 said:
Decrypt removes another variable from the process, so yeah it might be good to remove a probable failure point.
Click to expand...
Click to collapse
So , irrespective of the state of the device one needs to flash the decrypt file first and then flash the magisk to root the device, right?
Please advise!
Kudla said:
So , irrespective of the state of the device one needs to flash the decrypt file first and then flash the magisk to root the device, right?
Please advise!
Click to expand...
Click to collapse
When rooting mine I used the decrypt.zip . When you factory reset the phone will take some time to encrypt your data and this prevents that. It will hinder you from flashing stuff from the internal storage in TWRP. You can use magisk without it too.
Unable to Mount Storage?
arko9699 said:
When rooting mine I used the decrypt.zip . When you factory reset the phone will take some time to encrypt your data and this prevents that. It will hinder you from flashing stuff from the internal storage in TWRP. You can use magisk without it too.
Click to expand...
Click to collapse
I went ahead and flashed magisk without flashing decrypt. The root was successful!
Now, when tried to clear cache via TWRP it says 'Unable to Mount Storage'. What could be the reason here?
Is it safe to wipe dalvik/art cache?
Please advise!
Kudla said:
I went ahead and flashed magisk without flashing decrypt. The root was successful!
Now, when tried to clear cache via TWRP it says 'Unable to Mount Storage'. What could be the reason here?
Is it safe to wipe dalvik/art cache?
Please advise!
Click to expand...
Click to collapse
Try to run decrypt.zip it should fix the problem. I used a OTG device since I didn't have a SD card. Unless you run decrypt.zip you cannot use the internal storage. So I would recommend running it despite my last statement.
Hi,
This is a continuation of my errands in magisk-support-2661and magisk-support-2662. I'm interested in the twrp aspect here, hopefully someone who knows twrp welll reads this.
Basically this is a Redmi 7A phone with stock MIUI 10.2.5 and twrp 3.3.1. Phone got messed after updating Magisk to latest version, and while trying to fix it i accidentally wiped data from within twrp. It says this preserves internal storage so I thought this would be ok, but internal storage is encrypted on this device and after doing this i can't access my files from twrp anymore (before it used to ask for my pattern). Files are still there encrypted, and looks like keys are still there in /data/misc so I guess all hope is not lost.
Any ideas on how twrp Wipe data functionality is supposed to work on encrypted storage devices, and how to get one's files back afterwards ?
Help appreciated before i mess things up further =)
lemonsqueeze said:
Hi,
This is a continuation of my errands in magisk-support-2661and magisk-support-2662. I'm interested in the twrp aspect here, hopefully someone who knows twrp welll reads this.
Basically this is a Redmi 7A phone with stock MIUI 10.2.5 and twrp 3.3.1. Phone got messed after updating Magisk to latest version, and while trying to fix it i accidentally wiped data from within twrp. It says this preserves internal storage so I thought this would be ok, but internal storage is encrypted on this device and after doing this i can't access my files from twrp anymore (before it used to ask for my pattern). Files are still there encrypted, and looks like keys are still there in /data/misc so I guess all hope is not lost.
Any ideas on how twrp Wipe data functionality is supposed to work on encrypted storage devices, and how to get one's files back afterwards ?
Help appreciated before i mess things up further =)
Click to expand...
Click to collapse
Before you wiped data, was TWRP able to decrypt? able to view what you call internal storage?
J.Michael said:
Before you wiped data, was TWRP able to decrypt? able to view what you call internal storage?
Click to expand...
Click to collapse
Yes, it asked for my pattern and was able to decrypt the files.