Decrypt /data on Oreo? - Honor 7X Questions & Answers

So, I have the AL10 variant of the phone, with Havoc android8 ROM + MORFUZ Custom kernel + Magisk v16.
I have formatted /data - not wipe , but formatted - and rebooted. Despite custom ROM+kernel+magisk I still have an encrypted /data partition.
What am I doing wrong?

Tweetytek said:
So, I have the AL10 variant of the phone, with Havoc android8 ROM + MORFUZ Custom kernel + Magisk v16.
I have formatted /data - not wipe , but formatted - and rebooted. Despite custom ROM+kernel+magisk I still have an encrypted /data partition.
What am I doing wrong?
Click to expand...
Click to collapse
Data is encrypted because the fstab file forces it to be .
Fstab file is in vendor partition.
This is good description on how to do it.
https://forum.xda-developers.com/showpost.php?p=76980317&postcount=3

sorted. thanks
mrmazak said:
Data is encrypted because the fstab file forces it to be .
Fstab file is in vendor partition.
This is good description on how to do it.
https://forum.xda-developers.com/showpost.php?p=76980317&postcount=3
Click to expand...
Click to collapse

Related

Modify partition Ext4 to F2FS File System

Hello, I would like to know which are the correct partitions to change the file system to F2FS. Can I flash to cache, cache and dalvik, system, data, internal storage? Or could you please indicate me which the correct partitions to change the file system to F2FS. The rom stock are compatible with that F2FS file system? I think that from recovery (twrp latest version) it is possible to change the F2FS file system of the partition, thank for you help.
Note:my phone model is LG g3 d851
F2FS on stock requires a compatible kernel and modded ramdisk (fstab), btw you can format data and cache (correct partitions) to F2FS but your phone won't boot.
Loller79 said:
F2FS on stock requires a compatible kernel and modded ramdisk (fstab), btw you can format data and cache (correct partitions) to F2FS but your phone won't boot.
Click to expand...
Click to collapse
Hello,
Could you please tell me that I must modify of the ramdisk (fstab) to avoid problems of bootloop. I have read in several sites that brings advantages in writing data to modify the System and data partition. Thank for you answer.

[noob] How can i change to f2fs inTwrp?

I'm on zenity rr latest build with render kernel eas, I'd like to know how i can change file system to f2fs and what it will erase...And then... Is it worth changing to f2fs? Probably this question has been asked many times, but if i found it i wouldn't have written noob in title
eraser3000 said:
I'm on zenity rr latest build with render kernel eas, I'd like to know how i can change file system to f2fs and what it will erase...And then... Is it worth changing to f2fs? Probably this question has been asked many times, but if i found it i wouldn't have written noob in title
Click to expand...
Click to collapse
f2fs is for good benchmarks in real life ext4 >> f2fs
and when you change the FS the data will be lost .
f2fs makes twrp very slow as well .
I was using f2fs for a month and reverted it back .
Didnt like it
Its very easy brother although formatting data to f2fs will erase everything like your download's/pictures, so the steps.
BACK UP YOUR SD CARD FOLDER.
1 - Reboot to twrp
2 - select wipe and then select advanced wipe/change filesystem.
3 - select data
4 - select change filesystem or format ( forgot which word it actually says )
5 - select f2fs and swipe to confirm flash
6 - reboot and restore data folder
People will say its not worth it but if you write to your data a lot and install apps you notice faster install times over EXT4
daviss101 said:
Its very easy brother although formatting data to f2fs will erase everything like your download's/pictures, so the steps.
BACK UP YOUR SD CARD FOLDER.
1 - Reboot to twrp
2 - select wipe and then select advanced wipe/change filesystem.
3 - select data
4 - select change filesystem or format ( forgot which word it actually says )
5 - select f2fs and swipe to confirm flash
6 - reboot and restore data folder
People will say its not worth it but if you write to your data a lot and install apps you notice faster install times over EXT4
Click to expand...
Click to collapse
Will it wipe even other partitions like /system? do I have to flash again something?
eraser3000 said:
Will it wipe even other partitions like /system? do I have to flash again something?
Click to expand...
Click to collapse
No just data so you won't have to flash ROM again
daviss101 said:
No just data so you won't have to flash ROM again
Click to expand...
Click to collapse
Ok thanks, i thought i had to flash rom again:silly:
daviss101 said:
No just data so you won't have to flash ROM again
Click to expand...
Click to collapse
Does supersu work with f2fs?
Format data in recovery WIPE ALL in youre phone.
Recovery > Wipe > Format Data > Yes.
null0seven said:
Format data in recovery WIPE ALL in youre phone.
Recovery > Wipe > Format Data > Yes.
Click to expand...
Click to collapse
yes but...It will wipe only internal not system partition right?
Mate, format data erase ALL.
You only have a empty TWRP directory in internal memory. It's healty for the phone, but if you like to keep data...
null0seven said:
Mate, format data erase ALL.
You only have a empty TWRP directory in internal memory. It's healty for the phone, but if you like to keep data...
Click to expand...
Click to collapse
Lol, now i only became more confused. If i format data all my internal storage will be wiped, right? But my other partitions will be kept? such as system? after formatting and clicking on reboot system it will boot or stay in boot loop?
eraser3000 said:
Lol, now i only became more confused. If i format data all my internal storage will be wiped, right? But my other partitions will be kept? such as system? after formatting and clicking on reboot system it will boot or stay in boot loop?
Click to expand...
Click to collapse
There's no major difference you will see in changing the filesystem to F2FS. I am using F2FS on Data Partition on Sultan CM & there is no major difference in real life.
qasimtb said:
There's no major difference you will see in changing the filesystem to F2FS. I am using F2FS on Data Partition on Sultan CM & there is no major difference in real life.
Click to expand...
Click to collapse
I want to give it a try, if I don't see any noticeable difference I could come back to ext4
eraser3000 said:
yes but...It will wipe only internal not system partition right?
Click to expand...
Click to collapse
There are a few partitions on your phone, just like a hard drive. Think of your /system partition as your C: drive. Your /data partition would then be D: Your apps, the data for the apps, your dalvik/art cache, and your "Internal storage" are all on /data.
Changing your file system is literally formatting the drive, which initializes a new file system. For Windows, it's NTFS, for Linux it's normally ext4. You are basically going to format D:
Got it? Your Rom is on C:, data and apps on D:
Sent from my ONEPLUS A3000 using Tapatalk
About F2FS some users sad that it's better on gaming. And benchmarks (this it's useless).
Other than that recovery open slowly comparing with ext4.
Le
You will see that youre internal memory it's smaller on F2FS.
uudruid74 said:
There are a few partitions on your phone, just like a hard drive. Think of your /system partition as your C: drive. Your /data partition would then be D: Your apps, the data for the apps, your dalvik/art cache, and your "Internal storage" are all on /data.
Changing your file system is literally formatting the drive, which initializes a new file system. For Windows, it's NTFS, for Linux it's normally ext4. You are basically going to format D:
Got it? Your Rom is on C:, data and apps on D:
Sent from my ONEPLUS A3000 using Tapatalk
Click to expand...
Click to collapse
Ok, now things are clear!

[Q] How change file system on Lineage OS ROM?

Hi,
Once I read that using determinate file systems on the diferents partition cloud lead to some benefits (better performance/less degradation) and I want try to change the File System, but I ask before get a brick.
The idea is to get this:
/storage/emulated/0 formatted in esdfs
/data formatted in f2fs
I use TWRP and official Lineage OS 14. In TWRP there is an option to change file system but i dont know if after change FS is necessary to install again the ROM and if do this would revert the FS to Ext4.
Sorry for my English.
LLKS said:
Hi,
Once I read that using determinate file systems on the diferents partition cloud lead to some benefits (better performance/less degradation) and I want try to change the File System, but I ask before get a brick.
The idea is to get this:
/storage/emulated/0 formatted in esdfs
/data formatted in f2fs
I use TWRP and official Lineage OS 14. In TWRP there is an option to change file system but i dont know if after change FS is necessary to install again the ROM and if do this would revert the FS to Ext4.
Sorry for my English.
Click to expand...
Click to collapse
Full backup (in TWRP) - factoryreset + change FS (in TWRP of course) - restore backup. Make sure you have your backup put on the SD, and have a copy of the full SD somewhere safe. Normally, flashing new ROM's afterwards would keep the FS intact.
Cheers

OxygenOS 4.1.3 and f2fs

Which filesystem is used for /data and /cache by latest OxygenOS (Nougat based)?
If I have formatted these 2 partitions as f2fs do I need to change them to ext4 before flashing latest Oxygen_4.1.3.zip in TWRP?
Just f2fs on data for OOS
rg_gapa said:
Which filesystem is used for /data and /cache by latest OxygenOS (Nougat based)?
If I have formatted these 2 partitions as f2fs do I need to change them to ext4 before flashing latest Oxygen_4.1.3.zip in TWRP?
Click to expand...
Click to collapse
I would stay on ext4 there is no real difference only in really big application. Also don't encrypt your device since it can take up to 10 minutes to boot in TWRP when encrypted on F2fs! Also it is not stable yet.
FYI: Currently I'm using data as f2fs and cache as ext4 - that's how OOS 4 works by default.

TWRP Unable to mount Data HELP!

When i flashed Stock Rom 8.0 to my phone it boot normal. Then i flash TWRP made for my device. Downloaded supersu and going to flash it but then in the end it says Unable to unmount or mount i forgot sorry!I see that my internal storage is 0MB in TWRP but its not! So it seems like TWRP didnt encrypt my data or what? I flashed stock again cuz i got bootloop after that! Than flashed TWRP again and Internal storage is 0MB! HELP!
You have to format (not wipe) /data in TWRP then it will work, although you will lose all data. TWRP can't mount Samsung encrypted partitions.
makeyourself said:
You have to format (not wipe) /data in TWRP then it will work, although you will lose all data. TWRP can't mount Samsung encrypted partitions.
Click to expand...
Click to collapse
Lol It working Thanks you! one more issue! I flashed super su and no verity no encrypt and when reboot i have Super Su installed! Okay so now if i want to flash something again i need to format again ? Cuz now i get same errors! Anyway thanks you so much i have rooted samsung galaxy a5 2017 8.0 Now!
gogo9211 said:
When i flashed Stock Rom 8.0 to my phone it boot normal. Then i flash TWRP made for my device. Downloaded supersu and going to flash it but then in the end it says Unable to unmount or mount i forgot sorry!I see that my internal storage is 0MB in TWRP but its not! So it seems like TWRP didnt encrypt my data or what? I flashed stock again cuz i got bootloop after that! Than flashed TWRP again and Internal storage is 0MB! HELP!
Click to expand...
Click to collapse
until twrp 3.2.1-0 I think I did not have full support for samsung 8.0, I used twrp 3.2.2-0, and the /data is getting decrypted even after reboot.
caiquess95 said:
until twrp 3.2.1-0 I think I did not have full support for samsung 8.0, I used twrp 3.2.2-0, and the /data is getting decrypted even after reboot.
Click to expand...
Click to collapse
Really? Your internal doesn't show 0MB and you can backup data partition with TWRP? I didn't think it was TWRP related... that would be awesome.
What did you do? Only format data or did you flash anything?
gogo9211 said:
Lol It working Thanks you! one more issue! I flashed super su and no verity no encrypt and when reboot i have Super Su installed! Okay so now if i want to flash something again i need to format again ? Cuz now i get same errors! Anyway thanks you so much i have rooted samsung galaxy a5 2017 8.0 Now!
Click to expand...
Click to collapse
I think you had same issue as mine
Check this out
https://forum.xda-developers.com/samsung-a-series-2017/help/root-issues-oreo-t3800852
makeyourself said:
You have to format (not wipe) /data in TWRP then it will work, although you will lose all data. TWRP can't mount Samsung encrypted partitions.
Click to expand...
Click to collapse
I've tried this "solution" several times and the error come back ever...
How to fix this DEFINITIVELY???
[TOOL][SCRIPT][A520X|A720X] Repartition tool for treble support
UPDATE repartitioner v1.2: Google Drive | Androidfilehost (Will resize your partitions and patch recovery) RecoveryPatcher: Google Drive | Androidfilehost (Will ONLY patch your recovery for treble support) Changelog Removed TWRP version check...
forum.xda-developers.com
If you have a5/a7 2017 you can edit this script to reformatting your data partition! (if you don't know how edit it can be very dangerous to your phone)

Categories

Resources