yashsingh1/xdaforums huggingface dataset:
[Android Software Development] diehard2013:
according to chatgpt:

Determining whether an Android partition is encrypted can be done with the following methods:

1. **Check Encryption Status in Settings**:

- On most Android devices, you can check the encryption status in the device settings.

- Go to "Settings" > "Security" or "Security & Location" > "Encryption & credentials" or a similar path.

- Look for the "Encryption" or "Encrypt phone" option.

- If your device is encrypted, it will show details about the encryption, such as "Encrypted" or "Encrypted with PIN."

2. **Check Device Information**:

- You can also check your device's specifications online or in the user manual.

- Search for your device model and check if it includes encryption as a security feature.

3. **ADB (Android Debug Bridge)**:

- Connect your device to a computer with ADB installed.

- Open a command prompt or terminal on your computer.

- Run the following command to check the encryption status of the userdata partition:

```

adb shell getprop ro.crypto.state

```

- If the output is "encrypted," the partition is encrypted.

4. **File Explorer**:

- Install a file explorer app on your Android device that can access root-level directories (requires a rooted device).

- Use the file explorer to navigate to the root directory, typically represented as `/`.

- Look for a folder named `data`. If it's named `data`, it's likely encrypted. Encrypted data appears as a block device (e.g., `/dev/block/dm-0`) and cannot be accessed directly.

5. **Command Line on Rooted Devices**:

- If your device is rooted, you can use a terminal emulator app or ADB to check the encryption status.

- Open a terminal emulator or use ADB to access the command line.

- Run the following command:

```

cat /proc/mounts | grep /data

```

- If the output includes "encryptable=footer," the partition may be encrypted.

Please note that checking the encryption status might require root access in some cases, and attempting to decrypt an encrypted partition without proper knowledge can lead to data loss. If you are unsure about the encryption status of your Android device or need to perform actions related to encryption, it's advisable to seek guidance from knowledgeable sources or professionals.
[Android Software Development] WoKoschekk:
Termux -> getprop (no root needed)

data loss is for sure
[Android Software Development] cytochrom:
Can I flash it on a system which is unsed for a while or is is it nessecary to do this step during the ROM installation?
[Android Software Development] WoKoschekk:
it has to be flashed during the installation
[Android Software Development] Vovan2k:
This say's deprecated, is there alternative similar utility that is up to date?
[Android Software Development] Lord Sithek:
[A/B][A-ONLY][SCRIPT][READ-ONLY][EROFS][ANDROID 10+] Disable Force Encryption Native Early Override (DFE NEO v2) | Disable encryption /data | userdata

Brief description: Disabling encryption without direct modification of system files. Mount method, i.e., RW not required. Supports EXT4(RO/RW), EROFS, F2FS(RO/RW). Description: DFE-NEO v2 is a script designed to disable forced encryption of the...

xdaforums.com
[Android Software Development] Ggff5:
I want to decrypt so I can write to / freely but I want to encrypt when I'm running a script or something on termux that would write to / and break things up
[Android Software Development] WoKoschekk:
encryption is only for /data
[Android Software Development] Ggff5:
Then why can't I write to root of system?
[Android Software Development] Jesuel75:
If I want to completely remove the decryption, then how do I modify /vendor?
[Android Software Development] WoKoschekk:
remove decryption = encryption
[Android Software Development] Jesuel75:
Of course I want it to be encrypted, because after flashing this zip I have not been able to install any ROM, I have been able to enable ForceEncrypt again, but I have not been able to enable DM-Verity
[Android Software Development] WoKoschekk:
flash your stock ROM to remove any modifications. then you will be able to flash other ROMs.
[Android Software Development] sjamie:
Depending on the device, you may need to format the data partition first then reflash your ROM when attempting to move from a decrypted state to an encrypted one.
[Android Software Development] diehard2013:
the error shown in screenshot happened because I didn't format data after installing TWRP and magisk as instructed....

everything was working seemingly ok, except the above.

so I redid the whole thing.
[Android Software Development] RootedLee:
Is there any DM-Verity/ Disable Force Encrypt for Android 13 (LineageOS 20) on a phone w/o a super partition?
[Android Software Development] sjamie:
Yes, the one posted in the OP still works in that scenario. I use it frequently.
[Android Software Development] RootedLee:
@sjamie can you please post a link to the ROM you're using? Even if you have a different phone than I most likely, It would be helpful to see why it's compatible and which Android version it's based upon. Thanks.

(BTW, accdg. to LeeGarChat, one main deciding factor if a DFE script works on some ROMs but not on all is the content of the ROM's fstab file)
[Android Software Development] Rul3s:
this is no longer working with Magisk v27? With magisk v23 it works, but if I root with magist v27 and then , aply this zip, i got a bootloop on Poco F1.

Any idea? Thanks!
[Android Software Development] Omarkhafaga:
will it work with android 14 ?
[Android Software Development] sjamie:
Yes
[Android Software Development] oldman20:
is possible running custom rom with encryption while still use root manager like ksu?
[Android Software Development] kevin01523:
this still works as of today i just finished compiling and signing my own lineage build. i only flash this after flashing the rom so this goes the very last and never boot to system after flashing the rom without flashing this

flash order

rom

gapps

optional(reboot to recovery,flash pre patched magisk boot image)

flash

Universal DM-Verity, ForceEncrypt, Disk Quota Disabler​

reboot to system > profit

passes device and basic needed some magisk modules
[Android Software Development] oldman20:
do that can make encrypt on custom rom?
[Android Software Development] kevin01523:
more like it disables encryption so when you clean install your data is not encrypted well for me i do it cuz its easier to restore backed up twrp backups if its not encrypted and i can recover easilly from bootloops etc
[Android Software Development] oldman20:
yes, i know that. But just wonder if it can work or not to test
[Android Software Development] Zackptg5:
This mod also patches fstabs else where like in vendor
[Android Software Development] radz_:
Been using this zip for a while and never had issues with it, but today its not working with the latest Magisk Canary. Though I'm not using official Canary from john, but its the same build of kanjer, Magisk Snapshots.

Flash ROM, this zip, Magisk. Still shows Encrypted. But in MM app 2 box are unchecked. Preserv force encrytion and dm verity.

Not sure if its Magisk issue or this zip needs an update to support the latest Magisk.
[Android Software Development] Zackptg5:
Were you encrypted before? This zip isn't dependent on the magisk version you install and since the boxes were unchecked, it means magisk didn't force encrypted and so that part of the zip worked. I recommend formatting data and flashing again (back up sdcard stuff first of course).

This zip patches all fstab files and the boot img. It's possible that you could have an fstab file in a location that the zip didn't patch. Run this command to list them all:

su -c find / -name "fstab*" -type f 2>/dev/null

If you find any that aren't in root (/), vendor/etc, or /sbin/.core/mirror/vendor/etc, post it here and I'll look into updating the zip for them but most likely something weird just happened during flashing
[Android Software Development] amg314:
I am Chuwi Hi9 Air (CPU MTK6797) tablet user. It works under Oreo, and is rooted by Magisk 17.1.

All is fine, except non working TWRP 3.2.2 due to data encryption in the latest firmware installed(((

I am going to try your script in such a sequence:

*----------------------------------------------------------------------------------------------*

1. Reflash stock boot.img thru SP Flash Tool

2. Wipe data:	fastboot -w erase data

3. Flash script:	fastboot update Disable_Dm-Verity_ForceEncrypt-master.zip

4. Flash Magisk:	fastboot update magisk.zip

5. Flash TWRP.img thru SP Flash Tool

6. Hope for the best.

*----------------------------------------------------------------------------------------------*

Please check my plan. I believe that it is better to ask questions before than after)))
[Android Software Development] Zackptg5:
You need to format your internal storage (sdcard):

fastboot format userdata

So you'll want to do this first (make sure you back up everything to your pc cause this will wipe all of your sdcard/internal storage stuff on your phone).

Also, if you're just trying to decrypt, you don't need magisk
[Android Software Development] amg314:
Thanks for your prompt reply.

I need Magisk --> Xposed --> microG --> etc.)))
[Android Software Development] chooks06:
I'm not sure if my reply is inappropriate (or even totally wrong) but once Xposed is installed, it's impossible (in layman's terms) to pass the checks.
[Android Software Development] radz_:
Your right man. Something weird happened during flash.

Its works fine now.
[Android Software Development] amg314:
"To pass the checks" of WHAT?
[Android Software Development] chooks06:
Sorry, my mistake. Don't need to SHOUT!

I apologise.

Cheers!

---------- Post added at 01:28 PM ---------- Previous post was at 01:00 PM ----------

Edited.

Thanks to feedback from [MENTION=8056188]amg314[/MENTION]..

I was referring to the point that safety net checks would fail due to Xposed being installed.

Sorry for being confused and apologies if I'm off tangent..

Cheers.
[Android Software Development] amg314:
Dear chooks06!

I am awfully sorry for my "shout".

Please take into account my lack of knowledge of the nuances of the English language.
[Android Software Development] chooks06:
Hi mate!

No worries on that.

Partly also my fault for not being clearer.

Sorry for sounding retaliatory but not intended.

Have a great weekend mate!

Cheers!
[Android Software Development] dmilz:
Thanks for this, finally something that managed to disable force encryption on Lenovo s5 (k520). Had tried other force encryption disablers all failed but this one worked
[Android Software Development] alecthenice:
ROM/ kernel flash

If I do not flash a ROM or kernel after I format my data and then reboot to recovery with twrp only booted not installed will I simply boot it again and continue with the tutorial or be bricked? I just want the stock everything except for this .zip and magisk. Thanks to the XDA community :)
[Android Software Development] Rohan Ramachandra:
Hi sir.

I'm currently running Android Pie (Statix OS) on my Nexus 6P. I spot this problem that all names are strange and zip files are not visible in TWRP. I could reboot system, and in file explorer, everything was fine. But suddenly in the evening, system rebooted automatically into TWRP. Reboot system option also wasn't working, back to TWRP. I had all the necessary ROM files but storage crypted !!! However, I managed to mount otg and flash BLOD for N5X & N6P. Device booted. But now, even in the file manager, files are with those same strange names as in TWRP. You had suggested to take a back up and then flash the file you uploaded right ? I can't copy-paste any file... Can't move files from otg to internal... Cant download files for the web. Everything is numb. Can't even take a screenshot right now. Its saying limited storage. Please help me recover my files.

Greetings.
[Android Software Development] alecthenice:
Questions about ROMs go with their threads

I am running that same set up. You did not follow the installation instructions and should take your questions to that thread. Your problem is not blod. You failed to format your data before ROM install . Basically restart and read the directions before you cant get into twrp. Questions about ROMs go with their threads.
[Android Software Development] Rohan Ramachandra:
Hello sir.

I don't think the problem is with the ROM. After installing the BLOD using OTG, (of course after wiping data) system started fine. But internal storage is messed up.

[To mention, this problem didn't occur while I flashed the ROM. It happened after 1 day of flashing ROM, when everything was working fine and I had to flash the Gapps. And I'm currently using XDA on the same device. I can install apps, but can't download, view or edit files in internal]

Okay, I go with you... Reinstalling the ROM. But are you sure that should work, without wiping my internal storage ???

Greetings.
[Android Software Development] alecthenice:
Can someone advise me on how to install this.zip if I am booted to twrp but the stock recovery is the one on my device?
[Android Software Development] amg314:
If your device is rooted, you need to unroot it first.

If you have stock recovery only, you can use ADB (Android Debug Bridge).

*------------------------------------------------------*

adb devices	(check connection)

adb reboot-bootloader

fastboot devices

fastboot format userdata	(Attention! All your data will be lost!)

fastboot update /path_to_zip/Disable_Dm-Verity_ForceEncrypt_09.02.2018.zip

*------------------------------------------------------*

If you need Magisk systemless root:

fastboot update /path_to_magisk/Magisk-v17.1.zip

*------------------------------------------------------*

fastboot reboot
[Android Software Development] folusmile:
Those this work for Samsung phones..Oreo.
[Android Software Development] alecthenice:
you are my hero <3

---------- Post added at 04:17 PM ---------- Previous post was at 04:02 PM ----------

yes!
[Android Software Development] maces198701:
Web is down

Looks like the web is down so I cant download the file? I need it for C9 Pro, Android 8 Debloated version.

Could you please upload send me anything the dm-verity.zip ?

Thanks again for the great work i owe you coffee
[Android Software Development] Zackptg5:
Looks like my server provider is undergoing maintenance. Not sure how much longer it'll be down (shouldn't be more than a day) but here it is :)

Note that GitHub is always up so you can just download the source and zip it yourself
[Android Software Development] folusmile:
It means this has to be flashed before SuperSu/Magisk
[Android Software Development] elkay:
Tried this on a Pixel 3. Boot loop at the bootloader.

All I'm trying to do is pass SafetyNet on a completely stock system except an unlocked bootloader. Will this actually accomplish that? I don't care about encryption and currently have an encrypted file system that I'm fine with leaving encrypted. I don't want to have to format my phone.

EDIT: Also tried the verity-only zip. Causes failed boot on Pixel 3 November patch. Bootloader error: "error booting boot.img".

I'm willing to guinea pig anything you might want to try to fix this on the Pixel 3 devices. I'm assuming it's something to do with a/b partitions and the version of magisk that was used as the base.
[Android Software Development] Zackptg5:
I mean, magisk should work fine for that but I'll need more information. You would want to use verity only zip. Can you pm me the recovery log after flashing it? I think I may have an idea as to what the problem is
[Android Software Development] elkay:
Magisk has been having issues on the Pixel 3s. Sometimes hiding Magisk Manager results in 2 apps and a broken install. That mostly works now, but within 5 minutes of booting up root is lost and SafetyNet fails now. Only a reboot fixes it. Since I don't really need root but want to stay bootloader unlocked, a stock kernel with the unlock check disabled is really where I want to be.

I can grab you a log later if you tell me where it is written to. Thanks!
[Android Software Development] Zackptg5:
Try this zip. I updated it to magisk 17.3 tools which had some fixes for pixel 3's. the recovery log should be: /tmp/recovery.log
[Android Software Development] elkay:
No dice. I had also tried updating the binaries in the zip from the latest Canary Magisk to no avail. The zip you just provided didn't output much to the screen like the others did, so I'm not sure that it even actually installed. Attached is recovery.log of this zip and I got you a non-beta install log, too.

Also a side note - I reflashed the stock boot.img and then flashed the ElementalX kernel, which was able to boot and keep SafetyNet passing for 30 mins, so I know that outside the boot image is sound and is the only hurdle of this working rootless for me. I just want to stay with the stock kernel if I can.
[Android Software Development] Zackptg5:
Hmm, logs seem fine so not sure what the problem is there. I'm assuming that it's something being worked on in magisk though so I'm sure it'll be fixed soon. If you're staying on all stock, why not just relock the bootloader? (It'll wipe everything in the process though). I'll look into it more myself too when I get the chance
[Android Software Development] elkay:
Because this haha. I do like trying out new stuff now and then, and do hope resolution comes to magisk working clean on the device, but magisk is also always a cat & mouse thing with Google, and I have grown tired of doing device wipes lol.
[Android Software Development] Zackptg5:
Once last attempt here. I looked through stock pixel 3 rom and boot.img and found a recovery.fstab file that wasn't patched due to the grep logic. I fixed it in this one. See if you can boot (post recovery.log too so I can make sure it works)
[Android Software Development] elkay:
No dice. Note that these do boot, it's just that SafetyNet CTS fails. Maybe it also requires a patch inside the kernel zImage itself beyond just the boot image patch in order for CTS to pass on these devices.

FWIW, these are the Canary builds that the P3 users need to use to get Magisk to pass CTS.

https://github.com/topjohnwu/magisk_files/tree/master/canary_builds

I did try updating the beta2 zip with all the binaries from these build, still no go.

Anyway, thanks for trying, really appreciate it.
[Android Software Development] Zackptg5:
Well the fact that it boots now means that that missed fstab file may have been the problem. Safetynet is a whole other ball game. Good luck :/
[Android Software Development] Zackptg5:
Updated all of the zips to magisk 17.3 tools! Also fixed fstab detection in ramdisk. People having issues with boot loops before should give this version a try (magisk v17.3 had some fixes for pixel 3's and some other stuff I forget)

Edit: pulled update for now
[Android Software Development] LttHckr:
Can't flash Disable_Dm-Verity_ForceEncrypt_11.18.2018

Error: 1

Mi 8 Dev MIUI10 8.11.15 Android Pie 9.0

Disable_Dm-Verity_ForceEncrypt_09.02.2018 work fine.
[Android Software Development] radz_:
Error 1

OB OSS OP5T.
[Android Software Development] Zackptg5:
In the future, reports like these are useless. I need an actual recovery log.

Looks like there's some issues with magiskboot and such so I rolled back to 9.2.18 release for now till I figure out where the problem lies
[Android Software Development] solar666:
Thanks man but where can we get this new updated zips?
[Android Software Development] Zackptg5:
I pulled them for now due to some problems they were having
[Tilt, TyTN II, MDA Vario III General] johnpwu:
I'd like to set my Touchflo gesture, left to right, to rotate my screen, but i'm not sure how exactly to do so. i got as far was the part where I reconfigure gestures, but within the listing of programs, I don't know what to select. Any help would be much appreciated. Thanks
[Tilt, TyTN II, MDA Vario III General] kidnamedAlbert:
i think theres an app to rotate the screen.

i think it comes with htc home.
[Tilt, TyTN II, MDA Vario III General] johnpwu:
Yea, there's one there, but do you happen to know what its name is, so that I can find it in the massive directory of all .exe's that opens when i go to configure a gesture?
[Tilt, TyTN II, MDA Vario III General] kidnamedAlbert:
yeah thats the problem.

i know folderview.exe is link to programs but i dont know about the screen rotate
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] Soul Spark:
Screenshots please
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] avinaash.raut:
Stable oreo Afterall

flashed successfully.:good::good: all work fine. much needed stable rom after long waiting. :o:o but missing customization options. Pls add them.
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] chriz:
It have all the customisations that the ROM provided

I don't removed or added anything extras

If u need customisation use gravitybox it will be superfine
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] avinaash.raut:
Okk. I will use Gravity and Substratum :good:

Any Chances about 8.1 ?? :):)
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] Anuraj KR:
No camera options and pixelmaster not working
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] Kaustav365:
Is it working with asus zenfone max 2016 sd 615?
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] chriz:
Yeah
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] Anshuljain280719:
Is crdroid rom discontinued plz don't do it
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] Abi sajith:
Not working for sd615 version black screen after asus logo
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] jeyPueyo:
Camera

Camera not working. pls.. fix
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] chriz:
Have u flashed sd615 kernel on top
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] Abi sajith:
Sorry i didn't. I'll check

---------- Post added at 04:47 PM ---------- Previous post was at 04:43 PM ----------

I can't find it can you please sent the link
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] chriz:
Download for Z010DD from here https://xdaforums.com/asus-zenfone-max/development/dark-heal-project-t3815987

U can choose reaper or any kernel of ur choice

I have get reported that this is working in bootlegerrs
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] Abi sajith:
Thanks i'll try it
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] Abi sajith:
I flashed the kernal for Z010DD after flashing the rom but now i am stuck at the boot leggers logo, its just showing the logo nothings happening

I tried to flash the gapps but my twrp freezes while flashing it and then black screen

Please help me????
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] chriz:
Idk ,I get reported that it booted that y i brecomended
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] Abi sajith:
OkK thanks i'll try to solve it
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] Anshuljain280719:
Plz. Someone put screenshots of this rom
[Asus Zenfone Max ROMs, Kernels, Recoveries, & Othe] Kaustav365:
Abhi sajith

Did u get any solutions? do u successfully install bootloger?
[Xiaomi Mi A1 Questions & Answers] heehaa123:
Hi

My phone is unlocked. If I update OTA directly, will it wipe my whole phone data?
[Xiaomi Mi A1 Questions & Answers] Dead-neM:
Not at all it will do the same thing as if you were locked
[Xiaomi Mi A1 Questions & Answers] heehaa123:
Thanks for reply

Did you updated to July patch?
[Xiaomi Mi A1 Questions & Answers] Dead-neM:
Yes nothing bad to report
[Xiaomi Mi A1 Questions & Answers] heehaa123:
I saw they reported LED notification bug. Is there any new changes?:)
[Xiaomi Mi A1 Questions & Answers] Dead-neM:
I don't have this "problem" as it could also be intense to have notification led always on

There's many new little things from 8.0 to 8.1 and there is also some Xiaomi fixes and new bugs like every update from any brand ,?
[Xiaomi Mi A1 Questions & Answers] heehaa123:
Because my bootloader unlock, it cause my playstore uncertified? I already updated to July