Decrypting? - Xperia Z3 Compact Q&A, Help & Troubleshooting

Hey,
Quick question - can you decrypt a Z3C after it has been encrypted (without doing a factory reset)
Currently on Marshmallow Beta, wanting your opinions.
Thanks

Related

[Q] Encryption / Decryption clarification request

I'm just curious about the whole encryption / decryption thing. If I have not decrypted my phone, am I able to flash a 'decrypted' ROM? What would happen? I'm running Temasek's 5.0.2 right now which does not 'force encryption' but I'm assuming that's for people who have already taken the steps to decrypt their phone so it doesn't re-encrypt their phone automatically.
Thanks in advance!
*I apologize if this is a dumb question, but I was unable to Google this without getting a lot of unrelated information.
A decrypted ROM is the same as a ROM that doesn't force encryption. Actually it's not he ROM, its the kernel. You can still manually encrypt if the kernel doesn't force encrypt so it should work if your data is encrypted.

[Q] TWRP / CWM decryption feature

Hey guys,
I use the encryption feature of the stock Android 4.4.4 at my Moto G2 XT1068.
The problem is TWRP and CWM don't decrypt the data partition. Therefore I can't do basic things like wipe cache/dalvik or access the internal storage.
Does anyone know a solution to decrypt the data partition? I don't want to forego the encryption feature.
If I get instructions for modifying the source code I can do this too. But be considerate of me, I have only basic skills about bulding from source.
Thank you for your help.
-ratt3
ratt3 said:
Hey guys,
I use the encryption feature of the stock Android 4.4.4 at my Moto G2 XT1068.
The problem is TWRP and CWM don't decrypt the data partition. Therefore I can't do basic things like wipe cache/dalvik or access the internal storage.
Does anyone know a solution to decrypt the data partition? I don't want to forego the encryption feature.
If I get instructions for modifying the source code I can do this too. But be considerate of me, I have only basic skills about bulding from source.
Thank you for your help.
-ratt3
Click to expand...
Click to collapse
Try multirom TWRP.
Big thanks to you LuK1337. Your Multirom TWRP is working flawless. Decryption is working perfectly. :good:
-ratt3
LuK1337 said:
Try multirom TWRP.
Click to expand...
Click to collapse
Hi, I have a similar issue with the decryption. My Phone is Sky Vega IM-A880S. This makes it a lot harder to get hold of ROMS and recoveries . I have been able to find just one recovery that works for it. But it won't decrypt the phone when I give in my PIN.
Is there anyway I can maybe get around this ?
Thanks.

Disable encryption on 7.1.1

Hi guys,
I tried a couple of years ago disabling encryption on my Nexus 6 and the performance was great, but as updates were released it turned out to be a pain to keep up always having to manually update the phone. My nexus 6 now is crawling and I'm thinking about trying to disable encryption. I could not find any sort of reports if it can be done on 7.1.1
Has anyone tried? Is there any guide? Thanks!
Mephisto_POA said:
Hi guys,
I tried a couple of years ago disabling encryption on my Nexus 6 and the performance was great, but as updates were released it turned out to be a pain to keep up always having to manually update the phone. My nexus 6 now is crawling and I'm thinking about trying to disable encryption. I could not find any sort of reports if it can be done on 7.1.1
Has anyone tried? Is there any guide? Thanks!
Click to expand...
Click to collapse
It's no different. If your bootloader is not unlocked, unlocking it will wipe the user data partition. If the bootloader is already unlocked, you'll need to wipe the user data partition.
*IN EITHER CASE YOU WILL LOSE YOUR DATA. DO A BACKUP FIRST
Then flash a ROM with an included kernel that doesn't force encrypt. Or, just flash a kernel that doesn't force encrypt.
Now that I've answered your question, IMHO, it's not worth the effort. If your phone is crawling, do a factory reset. On a stock ROM, go to Settings > Backup & Reset and make sure you have your Google backup settings enabled. Use the Factory Data Reset button to actually reset. READ through the information and confirm. This will cause your phone to reboot with a wiped system partition.
If your on a custom ROM I'm going to assume you know how to wipe through recovery.
ktmom said:
...., IMHO, it's not worth the effort. If your phone is crawling, do a factory reset.....
Click to expand...
Click to collapse
My 7.1.1 uses the lite stock rom of Danvdh.
I think you're right about the hassle. Only decrypting is not enough. But debloating and removing unused stuff and decrypting the data partition did raise performance on my N6.
Yeah, I know it is a bit of a hassle, but considering there will be no more updates after 7.1.1 it should be a once only process right? Is possible to disable encryption on 7.1.1. without rooting?
I'm happy to unlock the bootloader and wipe the phone, not a problem.
Mephisto_POA said:
Yeah, I know it is a bit of a hassle, but considering there will be no more updates....
Click to expand...
Click to collapse
Don;t forget the monthly security updates.
I am using the lite stock room of Danvdh. It's a pre-rooted stock room.
But I think updates can be dirty flashed because the system, radio and bootloader will not change anymore.
So root and install TWRP to flash the updates
the problem with rooting is that many apps will not work, I'm cool staying without root and vanilla android, I just want to get rid of the encryption
Mephisto_POA said:
the problem with rooting is that many apps will not work, I'm cool staying without root and vanilla android, I just want to get rid of the encryption
Click to expand...
Click to collapse
In that case the post of @ktmom is applicable.
I am on 7.1.1 and have used the fed patcher mentioned on this site and it has worked nicely on custom and stock ROMs. But u have to be rooted.
NLBeev said:
In that case the post of @ktmom is applicable.
Click to expand...
Click to collapse
I'm a bit illiterate in this aspect, apologies. but I could not find a vanilla android for nexus 6 with just encryption disabled and no root. I would really appreciate if you could give me some directions?
The NEXUS 6 ANDROID DEVELOPMENT and NEXUS 6 ORIGINAL ANDROID DEVELOPMENT seems both to have only modified versions. I'm a bit confused
Mephisto_POA said:
I'm a bit illiterate in this aspect, apologies. but I could not find a vanilla android for nexus 6 with just encryption disabled and no root. I would really appreciate if you could give me some directions?
The NEXUS 6 ANDROID DEVELOPMENT and NEXUS 6 ORIGINAL ANDROID DEVELOPMENT seems both to have only modified versions. I'm a bit confused
Click to expand...
Click to collapse
Plain vanilla unencrypted would be google factory image plus a non forced enforcing kernel. B14CKB1RD, Franco there are others.
Custom ROM that is close to vanilla but comes with a non forced encrypting kernel would be Pure Nexus.
Mephisto_POA said:
I would really appreciate if you could give me some directions?
Click to expand...
Click to collapse
I have only one direction for you and that's the lite stock rom of Danvdh.
The kernel is the modified part. (no forced encryption).
After flashing this rom, you can unroot by uninstalling supersu.
https://forum.xda-developers.com/showthread.php?p=59561445/
NLBeev said:
I have only one direction for you and that's the lite stock rom of Danvdh.
The kernel is the modified part. (no forced encryption).
After flashing this rom, you can unroot by uninstalling supersu.
https://forum.xda-developers.com/showthread.php?p=59561445/
Click to expand...
Click to collapse
Hi, I also want to remove encryption from my Nexus 6 Stock as it is a stuttering mess.
I have rooted and installed the stock rom of Danvdh, but to my disappointment on boot up the phone is still showing as encrypted.
Have I done something wrong?
saltyzip said:
Hi, I also want to remove encryption from my Nexus 6 Stock as it is a stuttering mess.
I have rooted and installed the stock rom of Danvdh, but to my disappointment on boot up the phone is still showing as encrypted.
Have I done something wrong?
Click to expand...
Click to collapse
That was an answer to a different question.
The ROM you installed I believe has a non-force encrypting kernel. But just installing a non-force encrypting kernel isn't enough. You need to wipe user data and install a kernel that doesn't force encrypt.
Please read back a page to two for the whole recent conversation that has more details, like the fact that you'll lose all of your data in this process.
saltyzip said:
Hi, I also want to remove encryption from my Nexus 6 Stock as it is a stuttering mess.
I have rooted and installed the stock rom of Danvdh, but to my disappointment on boot up the phone is still showing as encrypted.
Have I done something wrong?
Click to expand...
Click to collapse
Got it working, just followed this:
Just because forced encryption is disabled doesn't mean it decrypts you. You have to do that yourself by formatting data either through TWRP (TWRP > Wipe > Format Data button) or through fastboot (fastboot format userdata), which will wipe out your app data and your internal storage partition so make the appropriate backups.
saltyzip said:
Got it working, just followed this:
Click to expand...
Click to collapse
You going to take credit, you should at least use your own words ?
I've gone with your guys suggestion with stock lite, working like a charm, very snappy. The phone feels indeed light, and multitasking is way smoother now, thanks!!!
just on a side note, after you install the rom you need to wipe the data partition to get rid of the encryption
Installed twrp on bn Nexus 6 os 5.1 OTA for 7.1.1 encrypted it
No clue how to fix this I'm a noob unlocked bootloader unencrypted Android 5 then it OTA updated to 7.1.1 and now can't get to twrp to wipe encryption how can I get this going again phones working just can't use cable to computer have the SD card reader micro SD any help would be appreciated
kudabee61 said:
...just can't use cable to computer...
Click to expand...
Click to collapse
Get your phone's USB port fixed, then you can fix the ROM issue.

[Q] Magisk data partition remain encrypted.

Hi, everyone
Is it possible after installing magisk and rooted,to keep the data partition remain encrypted without bootloop ?
I have yet to find a way, however there is a user claiming to have root with data & system encryption on the Oreo 8.1 ROM. I'm on 9.0 Global, and tried a million different ways. Encryption is different from 8.1 to 9.0 ROMs. I think the .eu multi-language ROM based on China disables the Data encryption (even though it reports Encrypted, the system is encrypted). There was a thread here that told about possibly enabling data encryption while keeping root on the .eu multi-roms, but i have not tried. I prefer the Global ROM.
If anyone can get root with the System partition AND the Data partition fully encrypted, please let us know!
Here in the forum there is a topic where one member helps another to get it done, and the encryption is done. I do not know if there's root in the middle of the tutorial.
on official global I think there is no way to run rooted and encrypted.
on xiaomi EU encryption is disabled by default, but you can enable it by editing fstab. qcom in /vendor/etc. I have already posted about how to do it, search xda
The newer versions break twrp encryption support I was running miui.eu with encryption up untill stable 10.0.0.2. in 10.0.0.3 their must have been some sequrity upgrade that changed the encryption because twrp would no longer decrypt the data partition
mikefallen said:
The newer versions break twrp encryption support I was running miui.eu with encryption up untill stable 10.0.0.2. in 10.0.0.3 their must have been some sequrity upgrade that changed the encryption because twrp would no longer decrypt the data partition
Click to expand...
Click to collapse
The new TWRP-3.2.3-0918-XIAOMI8-CN-wzsx150 does decrypt 9.0 without issues. I use it, but still no way to have encrypted data with ROOT that i know of on Global ROM.
Is there any way to root/magisk global rom 10.0.3 ?, no need encrypted data.
Agimax said:
The new TWRP-3.2.3-0918-XIAOMI8-CN-wzsx150 does decrypt 9.0 without issues. I use it, but still no way to have encrypted data with ROOT that i know of on Global ROM.
Click to expand...
Click to collapse
Oh sweet ill have to check that out i hate not having encryption'
And yes you can run global with no encryption and root just flash no dm-crypt and wipe userdata, lots of guides

How do I upgrade from an rooted and unencrypted OOS 5.0.4 to OOS 9.0.5?

So recently I've been thinking of upgrading my phone from Oreo to Pie now that it is available and has had a few updates.
Now I haven't updated my phone in a while. The last time was around the summer of 2018. The OxygenOS version my 3T currently is running is 5.0.4 and my TWRP is on version 3.2.3-0.
A while back I was using the custom ROM 'FreedomOS' (for anyone that still remembers) but that ROM hit it's EOL point last year.
After FreedomOS went EOL I switched to stock ROM following this guide to stay decrypted: https://forum.xda-developers.com/oneplus-3t/how-to/disable-dm-verity-force-encryption-op3t-t3688748
Since I switched back to stock I haven't touched the system or recovery at all besides updating Magisk now and then.
Now the question I'm having is how do I update my phone to the latest Pie version of OxygenOS? Which is version 9.0.5 as of writing this post.
Preferably I would like to upgrade with a dirty flash to keep my data (if I run into issues after I'll clean flash) and I also want to stay dencrypted and have Magisk as root.
For your own sakes don't do that. You probably won't be happy unless you want to update to have bigger numer in info screen. (Well if you would like to update to have bigger number in info screen I would suggest editing some conf file to achieve that.)
it's here all the the time, just follow the guide
https://forum.xda-developers.com/oneplus-3t/how-to/official-oxygenos-5-0-1-android-8-0-t3728119
First of all, both of you thanks for the replies.
wojtek007pl said:
For your own sakes don't do that. You probably won't be happy unless you want to update to have bigger numer in info screen. (Well if you would like to update to have bigger number in info screen I would suggest editing some conf file to achieve that.)
Click to expand...
Click to collapse
Is the update that bad? If so, what makes Pie so much worse when comparing it to Oreo?
BrahmaGandhi said:
it's here all the the time, just follow the guide
https://forum.xda-developers.com/oneplus-3t/how-to/official-oxygenos-5-0-1-android-8-0-t3728119
Click to expand...
Click to collapse
I've read through the thread a bit and notices this: "Important Note: If your device’s Bootloader is Unlocked, then installing this firmware will factory reset your phone as this is a firmware upgrade. All your personal data and app data will be wiped clean! So backup before flashing!"
Does this mean it will actually reset the entire phone and will wipe all of my apps and files? Is there not a way to dirty flash this new version without losing my apps and such?
Now also in the "Custom ROM" part it says the following: "3. Format Data partition - system will be encrypted (this is a must else system will not boot the new Android version)"
As my device is unencrypted at the moment do I need to let it encrypt for OOS 9 to actually boot up? Or can I just follow the steps in this guide and follow procedure 1 to stay unencrypted? https://forum.xda-developers.com/oneplus-3t/how-to/dm-verity-disable-oxygen-os-t3922324
allard1997 said:
First of all, both of you thanks for the replies.
Is the update that bad? If so, what makes Pie so much worse when comparing it to Oreo?
Click to expand...
Click to collapse
In simple words phone is slower and hotter. Battery isn't better too (battery life for me was decreased from 5 to 3, 3.5 hours screen on time). You can find more on Oneplus forums.
allard1997 said:
First of all, both of you thanks for the replies.
Is the update that bad? If so, what makes Pie so much worse when comparing it to Oreo?
I've read through the thread a bit and notices this: "Important Note: If your device’s Bootloader is Unlocked, then installing this firmware will factory reset your phone as this is a firmware upgrade. All your personal data and app data will be wiped clean! So backup before flashing!"
Does this mean it will actually reset the entire phone and will wipe all of my apps and files? Is there not a way to dirty flash this new version without losing my apps and such?
Now also in the "Custom ROM" part it says the following: "3. Format Data partition - system will be encrypted (this is a must else system will not boot the new Android version)"
As my device is unencrypted at the moment do I need to let it encrypt for OOS 9 to actually boot up? Or can I just follow the steps in this guide and follow procedure 1 to stay unencrypted? https://forum.xda-developers.com/oneplus-3t/how-to/dm-verity-disable-oxygen-os-t3922324
Click to expand...
Click to collapse
i personally would suggest you to stay on oreo or jump to pie custom roms, just skip the oos 9.0.5..
the only thing that really fast and smooth just the face unlock feature :laugh:
as far as i know when you flashed stock oos your data will always be (re)encrypted, unless you do the firmware's patch things like you did before.
jumping (upgrade) from diff. android version it's better to do a clean flash (4 wipes, exclude int. storage will be saved)...and it's mandatory required (from stock to any custom roms). except when you forced to format data you'll lost all data in your phone, for sure.
and if you want to stay unencrypted and disable dm verity for good, it's better to do all that stuffs while on stock oos before you jump onto custom roms.
for more details and assistance i suggest you post on the main thread.

Categories

Resources