Coder Social home page Coder Social logo

Comments (5)

Zackptg5 avatar Zackptg5 commented on September 16, 2024

Looks fine to me. I recommend using the zips I already made though just to rule out compression issues : zackptg5.com/android.php#disverfe

from disable_dm-verity_forceencrypt.

giantpune avatar giantpune commented on September 16, 2024

I tried again using your zip. Flash factory images to the device, boot up latest twrp image, flash your zip, when I go to reboot the device, it throws an error and refuses to boot. Even verified directly before installing the sha1sum of the file to make sure it was corrupt somehow in transfer.

$ adb shell sha1sum /tmp/disable_verity_fec.zip
98dc79656fc4d85824670485fb517e4fcd4fc912  /tmp/disable_verity_fec.zip
$ adb shell twrp install /tmp/disable_verity_fec.zip
Installing zip file '/tmp/disable_verity_fec.zip'
Checking for Digest file...
Skipping Digest check: no Digest file found
*************************************************
* DmVerity,ForceEncrypt, and DiscQuota Disabler *
*                 By: Zackptg5                  *
*         Heavily based on the work of:         *
*            TopJohnWu and Jcadduono            *
*************************************************
- Current boot slot: _a
- Mounting /system, /vendor
- Device is system-as-root
- Target image: /dev/block/sda11
- Creating/modifying .magisk and .supersu files...
- Unpacking boot image
- Disabling selections in vendor fstabs...
  Patching: /system/vendor/etc/fstab.persist
  Patching: /system/vendor/etc/fstab.sdm845
- Patching ramdisk
- Removing dm(avb)-verity in dtb
- Repacking boot image
- Flashing new boot image
- DTBO image: /dev/block/sde11
- Unmounting partitions
- Done
Done processing script file

image

from disable_dm-verity_forceencrypt.

Zackptg5 avatar Zackptg5 commented on September 16, 2024

Log looks good. The device shouldn't even try to encrypt so there's the main problem. Did you format data first? (Different from wipe data).

Can you attach your boot img and fstabs? I won't be able to look at them till probably next week though cause my pc's in the shop

from disable_dm-verity_forceencrypt.

giantpune avatar giantpune commented on September 16, 2024

The boot.img is the one thats installed when you flash the zip from google.
https://developers.google.com/android/images#blueline
https://dl.google.com/dl/android/aosp/blueline-pq2a.190305.002-factory-b8869812.zip

When I flash the images, I can boot directly into twrp and flash magisk no problem. The device will work as expected. But if I start over from the beginning and try to add your encryption disable, then thats when the device refuses to boot.

I'm not sure where to find the fstab for you. Which file would that be inside?

This same sequence of actions is working fine on the pixel 1 and 2 still. It seems like we're missing some bit to make it work on the pixel 3.

from disable_dm-verity_forceencrypt.

Zackptg5 avatar Zackptg5 commented on September 16, 2024

Can you try today's version? Something changed in the busybox binary so grep logic wasn't detecting kernel fstabs

from disable_dm-verity_forceencrypt.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.