Universal DM-Verity, ForceEncrypt, Disk Quota Disabler [11/2/2020]

Search This thread

giogio80

Member
Jan 15, 2013
10
0
On S9 + with Android 10 universal dm verity with magisk 22 and 22.1 does not work. I can't get root and the smartphone has sudden reboots or the interface freezes. As a recovery I tried TWRP 3.4, 3.5, 3.5.1 etc.
after a month no response. Could someone kindly explain to me how to get root on S9 + with android 10?
 

shafi1885

Member
  • Apr 18, 2021
    35
    6
    Xiaomi Mi 3
    Xiaomi Mi 9 SE
    after a month no response. Could someone kindly explain to me how to get root on S9 + with android 10?
    Brother, don't spam this thread,this is not for the question you asked. Search it in your device's thread, rooting your phone is pretty basic thing to do and lots of YouTube videos. If you face any particular problem while rooting, something like for which you can't proceed, then you can ask about it in your device's rooting thread, but not here. I hope you have understood. Let me know if I can be of any assistance. Thank You
     

    vp1117

    Senior Member
    Jan 30, 2019
    55
    6
    Hello knowledgeable friends!

    Is there any way how DM-Verity script can be flashed to the phone which doesn't have custom recovery and there is no way for sideload ?

    Also, my phone does not allow me to run fastboot flash command.

    I only can run adb shell commands. Strange enough, but on my unrooted phone running stock ROM I can run <adb shell> commands as if the phone was rooted: I have # prompt in command line of adb shell instead of $. Worth mentioning that I did not do anything to be able to run commands as root. It appears to be a strange specifics of stock ROM. However, android applications do not have root privileges.

    I know it might be very manual way and it might take time, but running commands from <adb shell> command line seems to be my only option to run DM-Verity script.

    Can anybody help me how to run this script from adb shell?
     
    Last edited:

    giogio80

    Member
    Jan 15, 2013
    10
    0
    Brother, don't spam this thread,this is not for the question you asked. Search it in your device's thread, rooting your phone is pretty basic thing to do and lots of YouTube videos. If you face any particular problem while rooting, something like for which you can't proceed, then you can ask about it in your device's rooting thread, but not here. I hope you have understood. Let me know if I can be of any assistance. Thank You
    sorry I have the wrong 3d. truly forgive me.
     

    jbiribi

    Member
    Oct 1, 2017
    13
    0
    I'm getting an error. I didn't find what could be causing it. I formated it before.


    IMG_20210523_130120.jpg
     

    9062038026

    Member
    Apr 15, 2017
    7
    3
    kalyani
    repacking image failed error 1
    Here is log:
    I:eek:peration_start: 'Flashing'
    Installing zip file '/sdcard/Download/Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip'
    Unmounting System...
    I:Update binary zip
    Verifying package compatibility...
    Package doesn't contain compatibility.zip entry
    I:Extracting updater binary 'META-INF/com/google/android/update-binary'
    I:Zip does not contain SELinux file_contexts file in its root.

    Archive: /sdcard/Download/Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip
    inflating: tools/arm/magiskpolicy
    inflating: tools/avb/verity.x509.pem
    inflating: tools/x86/futility
    inflating: META-INF/com/google/android/updater-script
    inflating: META-INF/com/google/android/update-binary
    inflating: tools/util_functions.sh
    inflating: tools/chromeos/kernel.keyblock
    inflating: tools/arm/futility
    inflating: README.md
    inflating: tools/chromeos/kernel_data_key.vbprivk
    inflating: tools/ak3-core.sh
    inflating: tools/arm/magiskboot
    inflating: anykernel.sh
    inflating: tools/boot_signer-dexed.jar
    inflating: tools/arm/keycheck
    inflating: tools/x86/magiskboot
    inflating: tools/x86/busybox
    inflating: tools/x86/keycheck
    inflating: tools/arm/busybox
    inflating: banner
    inflating: tools/x86/magiskpolicy
    inflating: tools/avb/verity.pk8
    "*************************************************"
    "* DmVerity,ForceEncrypt, and DiscQuota Disabler *"
    "* By: Zackptg5 *"
    "* Heavily based on the work of: *"
    "* TopJohnWu and Jcadduono *"
    "*************************************************"



    AnyKernel3 by osm0sis @ xda-developers


    mount: mounting /dev/block/loop0 on /apex/com.android.apex.cts.shim failed: Invalid argument
    mount: mounting /dev/block/loop1 on /apex/com.android.art.release failed: Invalid argument
    mount: mounting /dev/block/loop2 on /apex/com.android.i18n failed: Invalid argument
    mount: mounting /dev/block/loop3 on /apex/com.android.runtime failed: Invalid argument
    mount: mounting /dev/block/loop4 on /apex/com.android.vndk.current failed: Invalid argument
    mount: mounting /dev/block/loop5 on /apex/com.android.wifi failed: Invalid argument
    mount: mounting /dev/block/loop6 on /apex/com.google.android.adbd failed: Invalid argument
    mount: mounting /dev/block/loop7 on /apex/com.google.android.cellbroadcast failed: Invalid argument
    mount: mounting /dev/block/loop8 on /apex/com.google.android.conscrypt failed: Invalid argument
    mount: mounting /dev/block/loop9 on /apex/com.google.android.extservices failed: Invalid argument
    mount: mounting /dev/block/loop10 on /apex/com.google.android.ipsec failed: Invalid argument
    mount: mounting /dev/block/loop11 on /apex/com.google.android.media failed: Invalid argument
    mount: mounting /dev/block/loop12 on /apex/com.google.android.media.swcodec failed: Invalid argument
    mount: mounting /dev/block/loop13 on /apex/com.google.android.mediaprovider failed: Invalid argument
    mount: mounting /dev/block/loop14 on /apex/com.google.android.neuralnetworks failed: Invalid argument
    mount: mounting /dev/block/loop15 on /apex/com.google.android.os.statsd failed: Invalid argument
    mount: mounting /dev/block/loop16 on /apex/com.google.android.permission failed: Invalid argument
    mount: mounting /dev/block/loop17 on /apex/com.google.android.resolv failed: Invalid argument
    mount: mounting /dev/block/loop18 on /apex/com.google.android.sdkext failed: Invalid argument
    mount: mounting /dev/block/loop19 on /apex/com.google.android.tethering failed: Invalid argument
    mount: mounting /dev/block/loop20 on /apex/com.google.android.tzdata2 failed: Invalid argument
    Installing...
    /dev/block/by-name/boot_a

    - Chosen/Default Arguments:
    Keep ForceEncrypt: false
    Keep Dm-Verity: false
    Keep Disc Quota: true

    - Detecting Root Method...
    MagiskSU detected!
    - Unpacking boot img...
    192+0 records in
    192+0 records out
    201326592 bytes (192.0MB) copied, 0.450294 seconds, 426.4MB/s
    Parsing boot image: [/tmp/anykernel/boot.img]
    HEADER_VER [0]
    KERNEL_SZ [50475020]
    RAMDISK_SZ [369099093]
    SECOND_SZ [0]
    EXTRA_SZ [3]
    PAGESIZE [0]
    NAME []
    CMDLINE []
    CHECKSUM [0000000000000000000000000000000000000000000000000000000000000000]
    Floating point exception
    - Modifying existing .magisk file...
    - Patching fstabs:
    /vendor/etc/fstab.qcom
    sed: can't create temp file '/vendor/etc/fstab.qcomkSf2uH': Read-only file system
    sed: can't create temp file '/vendor/etc/fstab.qcomQg1Dby': Read-only file system
    - Repacking boot img...
    Parsing boot image: [/tmp/anykernel/boot.img]
    HEADER_VER [0]
    KERNEL_SZ [50475020]
    RAMDISK_SZ [369099093]
    SECOND_SZ [0]
    EXTRA_SZ [3]
    PAGESIZE [0]
    NAME []
    CMDLINE []
    CHECKSUM [0000000000000000000000000000000000000000000000000000000000000000]
    Floating point exception

    Repacking image failed. Aborting...
    /tmp/updater[429]: /system/bin/basename: No such file or directory
    Updater process ended with ERROR: 1
    I:Install took 6 second(s).
    Error installing zip file '/sdcard/Download/Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip'
    Updating partition details...
    I:checking for twrp app
    I:Data backup size is 15406MB, free: 89772MB.
    ...done
    I:Set page: 'flash_done'
    I:eek:peration_end - status=1
    I:Cannot find file /sys/class/timed_output/vibrator/enable
    I:Set page: 'clear_vars'
    I:Set page: 'install'
    I:Cannot find file /sys/class/timed_output/vibrator/enable
    I:Set page: 'main'
    I:Set page: 'clear_vars'
    I:Set page: 'main2'
    I:Cannot find file /sys/class/timed_output/vibrator/enable
    I:Set page: 'advanced'
    I:Cannot find file /sys/class/timed_output/vibrator/enable
    I:Set page: 'copylog'
    I:Cannot find file /sys/class/timed_output/vibrator/enable
    I:Set page: 'action_page'
    I:eek:peration_start: 'Copy Log'
     

    TheDrive

    Member
  • Jan 10, 2007
    47
    49
    Moscow
    Hi all!

    For the past couple of months, I've been looking into making a more universal solution to disable dm-verity and forceencrypt. Needing to take different zips, modify them for different devices, and then cross your fingers when you switch between custom and stock roms simply wasn't good enough for me. After lots of searching around, failed attempts, and some guidance by @Xennet, @osm0sis, and @nathanchance (thank you all for your help), I finally got a working solution. Ironically, it was under my nose the whole time.

    @topjohnwu figured much of this out a while ago with his magiskboot binary - just modify the fstabs. Magiskboot only works for fstabs in the ramdisk though and dm-verity and forceencrypt are only disabled under certain conditions (when you create a .magisk file with the variables set to false and place it in the proper location). So I made an installker with AK3 by @osm0sis and used a combination of sed patches by @jcadduono in addition to others I found for fstabs not in the ramdisk, modified magiskboot with some extra entries I found need to be removed on some devices, and added some stuff of my own like the creation of .magisk and .supersu files in the right location with the proper contents.

    The end result: a zip that will remove dm-verity and/or forceencrypt from all fstabs on your device
    It can also remove disk quota if you choose. This may be needed if you have an older twrp and/or want to downgrade to Nougat. More info here: https://source.android.com/devices/storage/faster-stats

    Instructions:
    The zipname tells the installer what to do. Here are the current options:
    • Add 'enfec' or en'forceencrypt' to zipname to keep forceencrypt enabled if present
    • Add 'fec' or 'forceencrypt' to zipname to disable forceencrypt (zipname already has this so remove these if you want to keep it enabled)
    • Add 'quota' to zipname to disable disc quota
    Note that verity is always disabled - it has to be for any modifications with this mod

    If you're currently encrypted:
    1. BACKUP YOUR INTERNAL STORAGE TO YOUR PC
    2. Format data (this is NOT the same as Wipe data) (In TWRP: Wipe -> Format Data)
    3. Reboot back into recovery
    4. Follow the directions below for when you're not encrypted

    If you're not encrypted: flash all of your stuff, then FLASH THIS ZIP LAST

    Some extra details for Slot devices:
    1. Flash ROM
    2. Flash TWRP Installer Zip
    3. Reboot into TWRP
    4. Flash everything else
    5. Flash this zip

    Only difference here is the twrp zip and the recovery reboot, main principle is the same - FLASH THIS ZIP LAST

    Troubleshooting:
    • Take a recovery log after flashing this zip (thanks to @aIecxs for the imgs):
      recovery_log.png
    • If the zip isn't patching any fstabs that it should be, then it's possible that the previous zip(s) didn't unmount system and/or vendor properly. Either unmount them in twrp, or just reboot back into recovery and flash this zip again

    Compatibility: Any android device

    Source: https://github.com/Zackptg5/Disable_Dm-Verity_ForceEncrypt

    Download
    Hello!
    I've patched the boot image on a fresh, Android 11 based Samsung A52 (SM-A525F) with newest available disable_dm-verity_forceencrypt_11-02-2020-zip
    And got a bootloop. Also the patched boot does always encrypt back userdata partition once it tries to boot the OS, so the next recovery boot TWRP can't mount it.

    Plz help me correctly patch the original FW's A525FXXU1AUC4 boot image to fully disable verity and userdata encryption.

    Here is the link to my post with full problem description in A52 TWRP thread. Logs are attached as the following posts there.
     

    michael205

    Senior Member
    Apr 2, 2010
    110
    7
    After installing this with Android 11 GSI rom (all of them) i can't connect to wifi, also during installation "Interface" is hanging up and i can't finish normal configuration. Any idea what can be done to fix it ?

    Doogee S95

    Edit.

    Well now it looks like every rom will behave like this no matter if i install this or not.
    I have to restore oryginal rom and try again. Maybe with more luck :)
     

    Attachments

    • recovery.log
      44.8 KB · Views: 1
    Last edited:

    michael205

    Senior Member
    Apr 2, 2010
    110
    7
    Starting TWRP 3.3.2b-0221-b18f2dbb-dirty on Sat Jun 12 03:02:37 2021
    (pid 406)
    TWRP Version : 3.3.2b-0221
    Build Date : 2020年 02月 21日 星期五 14:03:59 CST
    Build User : wzsx150
    Build Device : OPPO Reno Z
    TW_DEFAULT_DEVICE_NAME := OPPO Reno Z
    TW_NO_VERITY_OPT_ENCRYPT := true
    TW_EXCLUDE_DEL_PWD := true
    TW_USE_RESTORE_STOCK_REC := true
    TW_USE_PATCH_AVB2_BOOT := true
    TW_USE_LEDS_HAPTICS := true
    RECOVERY_SDCARD_ON_DATA := true
    TW_NO_USB_STORAGE := true
    TW_INCLUDE_CRYPTO := true
    I:Found brightness file at '/sys/class/leds/lcd-backlight/brightness'
    I:Got max brightness 255 from '/sys/class/leds/lcd-backlight/max_brightness'
    I:persist tw_brightness: '102'
    I:TWFunc::Set_Brightness: Setting brightness control to 102
    I:LANG: zh_CN
    Starting the UI...
    setting DRM_FORMAT_RGBX8888 and GGL_PIXEL_FORMAT_RGBX_8888
    cannot find/open a drm device: No such file or directory
    fb0 reports (possibly inaccurate):
    vi.bits_per_pixel = 32
    vi.red.offset = 0 .length = 8
    vi.green.offset = 8 .length = 8
    vi.blue.offset = 16 .length = 8
    setting GGL_PIXEL_FORMAT_RGBA_8888
    double buffered
    framebuffer: 0 (1080 x 2340)
    Using fbdev graphics.
    I:TWFunc::Set_Brightness: Setting brightness control to 102
    I:Loading package: splash (/twres/splash.xml)
    I:Load XML directly
    I:pageManager::LoadFileToBuffer loading filename: '/twres/splash.xml' directly
    I:Checking resolution...
    I:Scaling theme width 1.000000x and height 1.171875x, offsets x: 0 y: 90 w: 0 h: -90
    I:Loading resources...
    I:Loading variables...
    I:Loading mouse cursor...
    I:Loading pages...
    I:Loading page splash
    I:Switching packages (splash)
    => Linking mtab
    => Processing /etc/twrp.fstab
    I:Reading /etc/twrp.fstab
    I:processing '/data'
    I:FBE contents 'aes-256-xts', filenames ''
    I:processing '/cache'
    I:processing '/system_root'
    I:processing '/system_image'
    I:processing '/boot'
    I:processing '/dtbo'
    I:processing '/recovery'
    I:processing '/bootloader'
    I:processing '/bootloader2'
    I:processing '/vendor'
    I:processing '/vendor_image'
    I:processing '/opporeserve'
    I:Created '/opporeserve' folder.
    I:processing '/oreserve_img'
    I:processing '/persist'
    I:Created '/persist' folder.
    I:Attempt to load settings from /persist settings file...
    I:InfoManager loading from '/persist/.twrps_wzsx150'.
    I:TWFunc::Set_Brightness: Setting brightness control to 38
    I:TWFunc::Fixup_Time: Pre-fix date and time: 2021-06-11--20-02-37
    I:TWFunc::Fixup_Time: Setting time offset from file /sys/class/rtc/rtc0/since_epoch
    I:TWFunc::Fixup_Time: Date and time corrected: 2021-06-11--20-02-37
    I:processing '/persist_image'
    I:processing '/odm'
    I:processing '/nvram'
    I:processing '/proinfo'
    I:processing '/logo'
    I:processing '/tee1'
    I:processing '/tee2'
    I:processing '/vbmeta'
    I:processing '/misc'
    I:processing '/para'
    I:processing '/persistent'
    I:processing '/protect_f'
    I:Created '/protect_f' folder.
    I:processing '/protect_s'
    I:Created '/protect_s' folder.
    I:processing '/nvdata'
    I:Created '/nvdata' folder.
    I:processing '/nvcfg'
    I:Created '/nvcfg' folder.
    I:processing '/usb-otg'
    I:Created '/usb-otg' folder.
    I:Done processing fstab files
    I:Setting up '/data' as data/media emulated storage.
    I:Can't probe device /dev/block/sdc41
    I:Unable to mount '/data'
    I:Actual block device: '/dev/block/sdc41', current file system: 'ext4'
    I:Can't probe device /dev/block/sdc41
    I:Unable to mount '/data'
    I:Actual block device: '/dev/block/sdc41', current file system: 'ext4'
    E:Unexpected value for crypto key location
    Could not mount /data and unable to find crypto footer.
    I:Setting up '/data' as data/media emulated storage.
    I:Can't probe device /dev/block/sdc41
    I:Unable to mount '/data'
    I:Actual block device: '/dev/block/sdc41', current file system: 'ext4'
    I:Can't probe device /dev/block/sdc41
    Failed to mount '/data' (Invalid argument)
    I:Actual block device: '/dev/block/sdc41', current file system: 'ext4'
    Unable to recreate /data/media folder.
    I:Backup folder set to '/data/media/TWRP/BACKUPS/S95EEA0000000000813'
    I:Settings storage is '/data/media'
    I:Can't probe device /dev/block/sdc41
    I:Unable to mount '/data'
    I:Actual block device: '/dev/block/sdc41', current file system: 'ext4'
    Updating partition details...
    I:Can't probe device /dev/block/sdc41
    Failed to mount '/data' (Invalid argument)
    I:Actual block device: '/dev/block/sdc41', current file system: 'ext4'
    Failed to mount '/opporeserve' (Invalid argument)
    I:Actual block device: '', current file system: 'ext4'
    Failed to mount '/odm' (Invalid argument)
    I:Actual block device: '', current file system: 'ext4'
    I:Unable to mount '/usb-otg'
    I:Actual block device: '', current file system: 'vfat'
    I:Translating partition display names
    I:String resources not loaded when looking for 'system'. Using default value.
    I:String resources not loaded when looking for 'system_image'. Using default value.
    I:String resources not loaded when looking for 'vendor'. Using default value.
    I:String resources not loaded when looking for 'vendor_image'. Using default value.
    I:String resources not loaded when looking for 'cache'. Using default value.
    I:String resources not loaded when looking for 'boot'. Using default value.
    I:String resources not loaded when looking for 'recovery'. Using default value.
    I:String resources not loaded when looking for 'data'. Using default value.
    I:String resources not loaded when looking for 'data_backup'. Using default value.
    I:String resources not loaded when looking for 'internal'. Using default value.
    I:String resources not loaded when looking for 'usbotg'. Using default value.
    I:String resources not loaded when looking for 'usbotg'. Using default value.
    I:Backup folder set to '/data/media/TWRP/BACKUPS/S95EEA0000000000813'
    ...done
    I:Can't probe device /dev/block/sdc41
    I:Unable to mount '/data'
    I:Actual block device: '/dev/block/sdc41', current file system: 'ext4'
    I:Unable to mount storage
    I:Unmounting main partitions...


    Partition Logs:
    /data | /dev/block/sdc41 | Size: 0.0MB Used: 0.0MB Free: 0.0MB Backup Size: 0.0MB
    Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Can_Be_Encrypted Has_Data_Media Can_Encrypt_Backup Use_Userdata_Encryption Is_Storage Is_Settings_Storage
    Symlink_Path: /data/media
    Symlink_Mount_Point: /sdcard
    Primary_Block_Device: /dev/block/sdc41
    Display_Name: Data
    Storage_Name: Internal Storage
    Backup_Path: /data
    Backup_Name: data
    Backup_Display_Name: Data (excl. storage)
    Storage_Path: /data/media
    Current_File_System: ext4
    Fstab_File_System: ext4
    Backup_Method: files
    MTP_Storage_ID: 65537

    /cache | /dev/block/sdc40 | Size: 402.4MB Used: 0.4MB Free: 402.0MB Backup Size: 0.4MB
    Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent
    Primary_Block_Device: /dev/block/sdc40
    Display_Name: Cache
    Storage_Name: Cache
    Backup_Path: /cache
    Backup_Name: cache
    Backup_Display_Name: Cache
    Storage_Path: /cache
    Current_File_System: ext4
    Fstab_File_System: ext4
    Backup_Method: files

    /system_root | /dev/block/sdc39 | Size: 3581.2MB Used: 3364.6MB Free: 216.6MB Backup Size: 3364.6MB
    Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent Mount_Read_Only
    Primary_Block_Device: /dev/block/sdc39
    Display_Name: System
    Storage_Name: System
    Backup_Path: /system_root
    Backup_Name: system_root
    Backup_Display_Name: System
    Storage_Path: /system_root
    Current_File_System: ext4
    Fstab_File_System: ext4
    Backup_Method: files

    /system_image | /dev/block/sdc39 | Size: 3584.0MB
    Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
    Primary_Block_Device: /dev/block/sdc39
    Display_Name: System Image
    Storage_Name: system_image
    Backup_Path: /system_image
    Backup_Name: system_image
    Backup_Display_Name: System Image
    Storage_Path: /system_image
    Current_File_System: emmc
    Fstab_File_System: emmc
    Backup_Method: dd

    /boot | /dev/block/sdc33 | Size: 32.0MB
    Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
    Primary_Block_Device: /dev/block/sdc33
    Display_Name: Boot
    Storage_Name: boot
    Backup_Path: /boot
    Backup_Name: boot
    Backup_Display_Name: Boot
    Storage_Path: /boot
    Current_File_System: emmc
    Fstab_File_System: emmc
    Backup_Method: dd

    /dtbo | /dev/block/sdc35 | Size: 8.0MB
    Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
    Primary_Block_Device: /dev/block/sdc35
    Display_Name: dtbo
    Storage_Name: dtbo
    Backup_Path: /dtbo
    Backup_Name: dtbo
    Backup_Display_Name: dtbo
    Storage_Path: /dtbo
    Current_File_System: emmc
    Fstab_File_System: emmc
    Backup_Method: dd

    /recovery | /dev/block/sdc1 | Size: 32.0MB
    Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
    Primary_Block_Device: /dev/block/sdc1
    Display_Name: Recovery
    Storage_Name: recovery
    Backup_Path: /recovery
    Backup_Name: recovery
    Backup_Display_Name: Recovery
    Storage_Path: /recovery
    Current_File_System: emmc
    Fstab_File_System: emmc
    Backup_Method: dd

    /bootloader | /dev/block/sdc31 | Size: 2.0MB
    Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
    Primary_Block_Device: /dev/block/sdc31
    Display_Name: bootloader
    Storage_Name: bootloader
    Backup_Path: /bootloader
    Backup_Name: bootloader
    Backup_Display_Name: bootloader
    Storage_Path: /bootloader
    Current_File_System: emmc
    Fstab_File_System: emmc
    Backup_Method: dd

    /bootloader2 | /dev/block/sdc32 | Size: 2.0MB
    Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
    Primary_Block_Device: /dev/block/sdc32
    Display_Name: bootloader2
    Storage_Name: bootloader2
    Backup_Path: /bootloader2
    Backup_Name: bootloader2
    Backup_Display_Name: bootloader2
    Storage_Path: /bootloader2
    Current_File_System: emmc
    Fstab_File_System: emmc
    Backup_Method: dd

    /vendor | /dev/block/sdc38 | Size: 873.8MB Used: 415.9MB Free: 457.8MB Backup Size: 415.9MB
    Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent Mount_Read_Only
    Primary_Block_Device: /dev/block/sdc38
    Display_Name: Vendor
    Storage_Name: vendor
    Backup_Path: /vendor
    Backup_Name: vendor
    Backup_Display_Name: Vendor
    Storage_Path: /vendor
    Current_File_System: ext4
    Fstab_File_System: ext4
    Backup_Method: files

    /vendor_image | /dev/block/sdc38 | Size: 904.0MB
    Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
    Primary_Block_Device: /dev/block/sdc38
    Display_Name: Vendor Image
    Storage_Name: vendor_image
    Backup_Path: /vendor_image
    Backup_Name: vendor_image
    Backup_Display_Name: Vendor Image
    Storage_Path: /vendor_image
    Current_File_System: emmc
    Fstab_File_System: emmc
    Backup_Method: dd

    /opporeserve | | Size: 0.0MB Used: 0.0MB Free: 0.0MB Backup Size: 0.0MB
    Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up
    Primary_Block_Device: /dev/block/platform/bootdevice/by-name/opporeserve2
    Display_Name: opporeserve
    Storage_Name: opporeserve
    Backup_Path: /opporeserve
    Backup_Name: opporeserve
    Backup_Display_Name: opporeserve
    Storage_Path: /opporeserve
    Current_File_System: ext4
    Fstab_File_System: ext4
    Backup_Method: files

    /oreserve_img | | Size: 0.0MB
    Flags: Can_Flash_Img
    Primary_Block_Device: /dev/block/platform/bootdevice/by-name/opporeserve2
    Display_Name: opporeserve2
    Storage_Name: opporeserve2
    Backup_Path: /oreserve_img
    Backup_Name: oreserve_img
    Backup_Display_Name: opporeserve2
    Storage_Path: /oreserve_img
    Current_File_System: emmc
    Fstab_File_System: emmc
    Backup_Method: dd

    /persist | /dev/block/sdc10 | Size: 42.5MB Used: 0.3MB Free: 42.1MB Backup Size: 0.3MB
    Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up IsPresent
    Primary_Block_Device: /dev/block/sdc10
    Display_Name: persist
    Storage_Name: persist
    Backup_Path: /persist
    Backup_Name: persist
    Backup_Display_Name: persist
    Storage_Path: /persist
    Current_File_System: ext4
    Fstab_File_System: ext4
    Backup_Method: files

    /persist_image | /dev/block/sdc10 | Size: 48.0MB
    Flags: IsPresent Can_Flash_Img
    Primary_Block_Device: /dev/block/sdc10
    Display_Name: persist
    Storage_Name: persist
    Backup_Path: /persist_image
    Backup_Name: persist_image
    Backup_Display_Name: persist
    Storage_Path: /persist_image
    Current_File_System: emmc
    Fstab_File_System: emmc
    Backup_Method: dd

    /odm | | Size: 0.0MB Used: 0.0MB Free: 0.0MB Backup Size: 0.0MB
    Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up
    Primary_Block_Device: /dev/block/platform/bootdevice/by-name/odm
    Display_Name: odm
    Storage_Name: odm
    Backup_Path: /odm
    Backup_Name: odm
    Backup_Display_Name: odm
    Storage_Path: /odm
    Current_File_System: ext4
    Fstab_File_System: ext4
    Backup_Method: files

    /nvram | /dev/block/sdc17 | Size: 64.0MB
    Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
    Primary_Block_Device: /dev/block/sdc17
    Display_Name: nvram
    Storage_Name: nvram
    Backup_Path: /nvram
    Backup_Name: nvram
    Backup_Display_Name: nvram
    Storage_Path: /nvram
    Current_File_System: emmc
    Fstab_File_System: emmc
    Backup_Method: dd

    /proinfo | /dev/block/sdc16 | Size: 3.0MB
    Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
    Primary_Block_Device: /dev/block/sdc16
    Display_Name: proinfo
    Storage_Name: proinfo
    Backup_Path: /proinfo
    Backup_Name: proinfo
    Backup_Display_Name: proinfo
    Storage_Path: /proinfo
    Current_File_System: emmc
    Fstab_File_System: emmc
    Backup_Method: dd

    /logo | /dev/block/sdc34 | Size: 8.0MB
    Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
    Primary_Block_Device: /dev/block/sdc34
    Display_Name: logo
    Storage_Name: logo
    Backup_Path: /logo
    Backup_Name: logo
    Backup_Display_Name: logo
    Storage_Path: /logo
    Current_File_System: emmc
    Fstab_File_System: emmc
    Backup_Method: dd

    /tee1 | /dev/block/sdc36 | Size: 5.0MB
    Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
    Primary_Block_Device: /dev/block/sdc36
    Display_Name: trustzone1
    Storage_Name: trustzone1
    Backup_Path: /tee1
    Backup_Name: tee1
    Backup_Display_Name: trustzone1
    Storage_Path: /tee1
    Current_File_System: emmc
    Fstab_File_System: emmc
    Backup_Method: dd

    /tee2 | /dev/block/sdc37 | Size: 10.0MB
    Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
    Primary_Block_Device: /dev/block/sdc37
    Display_Name: trustzone2
    Storage_Name: trustzone2
    Backup_Path: /tee2
    Backup_Name: tee2
    Backup_Display_Name: trustzone2
    Storage_Path: /tee2
    Current_File_System: emmc
    Fstab_File_System: emmc
    Backup_Method: dd

    /vbmeta | /dev/block/sdc6 | Size: 8.0MB
    Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
    Primary_Block_Device: /dev/block/sdc6
    Display_Name: vbmeta
    Storage_Name: vbmeta
    Backup_Path: /vbmeta
    Backup_Name: vbmeta
    Backup_Display_Name: vbmeta
    Storage_Path: /vbmeta
    Current_File_System: emmc
    Fstab_File_System: emmc
    Backup_Method: dd

    /misc | /dev/block/sdc2 | Size: 0.5MB
    Flags: IsPresent
    Primary_Block_Device: /dev/block/sdc2
    Display_Name: misc
    Storage_Name: misc
    Backup_Path: /misc
    Backup_Name: misc
    Backup_Display_Name: misc
    Storage_Path: /misc
    Current_File_System: emmc
    Fstab_File_System: emmc
    Backup_Method: dd

    /para | /dev/block/sdc3 | Size: 0.5MB
    Flags: IsPresent
    Primary_Block_Device: /dev/block/sdc3
    Display_Name: para
    Storage_Name: para
    Backup_Path: /para
    Backup_Name: para
    Backup_Display_Name: para
    Storage_Path: /para
    Current_File_System: emmc
    Fstab_File_System: emmc
    Backup_Method: dd

    /persistent | /dev/block/sdc5 | Size: 1.0MB
    Flags: IsPresent
    Primary_Block_Device: /dev/block/sdc5
    Display_Name: persistent
    Storage_Name: persistent
    Backup_Path: /persistent
    Backup_Name: persistent
    Backup_Display_Name: persistent
    Storage_Path: /persistent
    Current_File_System: emmc
    Fstab_File_System: emmc
    Backup_Method: dd

    /protect_f | /dev/block/sdc11 | Size: 5.6MB Used: 0.1MB Free: 5.5MB Backup Size: 0.1MB
    Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up IsPresent
    Primary_Block_Device: /dev/block/sdc11
    Display_Name: protect_f
    Storage_Name: protect_f
    Backup_Path: /protect_f
    Backup_Name: protect_f
    Backup_Display_Name: protect_f
    Storage_Path: /protect_f
    Current_File_System: ext4
    Fstab_File_System: ext4
    Backup_Method: files

    /protect_s | /dev/block/sdc12 | Size: 3.7MB Used: 0.1MB Free: 3.6MB Backup Size: 0.1MB
    Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up IsPresent
    Primary_Block_Device: /dev/block/sdc12
    Display_Name: protect_s
    Storage_Name: protect_s
    Backup_Path: /protect_s
    Backup_Name: protect_s
    Backup_Display_Name: protect_s
    Storage_Path: /protect_s
    Current_File_System: ext4
    Fstab_File_System: ext4
    Backup_Method: files

    /nvdata | /dev/block/sdc8 | Size: 58.0MB Used: 4.5MB Free: 53.5MB Backup Size: 4.5MB
    Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up IsPresent
    Primary_Block_Device: /dev/block/sdc8
    Display_Name: nvdata
    Storage_Name: nvdata
    Backup_Path: /nvdata
    Backup_Name: nvdata
    Backup_Display_Name: nvdata
    Storage_Path: /nvdata
    Current_File_System: ext4
    Fstab_File_System: ext4
    Backup_Method: files

    /nvcfg | /dev/block/sdc7 | Size: 27.0MB Used: 0.1MB Free: 26.9MB Backup Size: 0.1MB
    Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up IsPresent
    Primary_Block_Device: /dev/block/sdc7
    Display_Name: nvcfg
    Storage_Name: nvcfg
    Backup_Path: /nvcfg
    Backup_Name: nvcfg
    Backup_Display_Name: nvcfg
    Storage_Path: /nvcfg
    Current_File_System: ext4
    Fstab_File_System: ext4
    Backup_Method: files

    /usb-otg | | Size: 0.0MB Used: 0.0MB Free: 0.0MB Backup Size: 0.0MB
    Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable Is_Storage
    Primary_Block_Device: /dev/block/sdd1
    Alternate_Block_Device: /dev/block/sdd
    Display_Name: USB-OTG
    Storage_Name: USB-OTG
    Backup_Path: /usb-otg
    Backup_Name: usb-otg
    Backup_Display_Name: USB-OTG
    Storage_Path: /usb-otg
    Current_File_System: vfat
    Fstab_File_System: vfat
    Backup_Method: files
    Mount_Flags: 0, Mount_Options: utf8
    MTP_Storage_ID: 65538

    I:Can't probe device /dev/block/sdc41
    I:Unable to mount '/data'
    I:Actual block device: '/dev/block/sdc41', current file system: 'ext4'
    I:Can't probe device /dev/block/sdc41
    I:Unable to mount '/data'
    I:Actual block device: '/dev/block/sdc41', current file system: 'ext4'
    I:Can't probe device /dev/block/sdc41
    I:Unable to mount '/data'
    I:Actual block device: '/dev/block/sdc41', current file system: 'ext4'
    I:Can't probe device /dev/block/sdc41
    I:Unable to mount '/data'
    I:Actual block device: '/dev/block/sdc41', current file system: 'ext4'
    I:Can't probe device /dev/block/sdc41
    I:Unable to mount '/data'
    I:Actual block device: '/dev/block/sdc41', current file system: 'ext4'
    I:Can't probe device /dev/block/sdc41
    I:Unable to mount '/data'
    I:Actual block device: '/dev/block/sdc41', current file system: 'ext4'
    I:Can't probe device /dev/block/sdc41
    Failed to mount '/data' (Invalid argument)
    I:Actual block device: '/dev/block/sdc41', current file system: 'ext4'
    I:Unable to mount /data/media during GUI startup.
    I:Loading package: TWRP (/twres/ui.xml)
    I:Load XML directly
    I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/zh_CN.xml' directly
    I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly
    I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly
    parsing languageFile
    parsing languageFile done
    I:pageManager::LoadFileToBuffer loading filename: '/twres/ui.xml' directly
    I:Checking resolution...
    I:Scaling theme width 1.000000x and height 1.171875x, offsets x: 0 y: 90 w: 0 h: -90
    I:Loading resources...
    I:Failed to load image from indeterminate013, error -1
    I:Loading variables...
    I:Loading mouse cursor...
    I:Loading pages...
    I:Including file: /twres/portrait.xml...
    I:pageManager::LoadFileToBuffer loading filename: '/twres/portrait.xml' directly
    I:Loading resources...
    I:Loading variables...
    I:Loading mouse cursor...
    I:Loading pages...
    I:Loading page main
    I:Loading page main2
    I:Loading page install
    I:Loading page flash_confirm
    I:Loading page flash_zip
    I:Loading page flash_done
    I:Loading page flash_sleep_and_reboot
    I:Loading page flashimage_confirm
    I:Loading page clear_vars
    I:Loading page reboot_system_routine
    I:Loading page confirm_action
    I:Loading page action_page
    I:Loading page singleaction_page
    I:Loading page action_complete
    I:Loading page filecheck
    I:Loading page rebootcheck
    I:Loading page appcheck
    I:Loading page wipe
    I:Loading page advancedwipe
    I:Loading page formatdata
    I:Loading page formatdata_confirm
    I:Loading page checkpartitionlist
    I:Loading page partitionoptions
    I:Loading page refreshfilesystem
    I:Loading page selectfilesystem
    I:Loading page backup
    I:Loading page backup_options
    I:Loading page backupname1
    I:Loading page backupname2
    I:Loading page backupencryption
    I:Loading page backupencryption2
    I:Loading page checkbackuppassword
    I:Loading page backup_run
    I:Loading page restore
    I:Unable to open '/data/media/TWRP/BACKUPS/S95EEA0000000000813'
    I:Loading page restore_read
    I:Loading page restore_decrypt
    I:Loading page try_restore_decrypt
    I:Loading page restore_select
    I:Loading page renamebackup
    I:Loading page restore_run
    I:Loading page mount
    I:Loading page usb_mount
    I:Loading page usb_umount
    I:Loading page system_readonly_check
    I:Loading page reboot
    I:Loading page rebootapp
    I:Loading page system_readonly
    I:Loading page settings
    I:Loading page settings_timezone
    I:Loading page settings_screen
    I:Loading page settings_vibration
    I:Loading page settings_language
    I:Loading page copylog
    I:Loading page rmforceencrypt
    I:Loading page close_avb_2
    I:Loading page advanced
    I:Loading page partsdcardsel
    I:Loading page partsdcardcheck
    I:Loading page partsdcard
    I:Loading page htcdumlock
    I:Loading page repackselect
    I:Loading page repackconfirm
    I:Loading page lock
    I:Loading page filemanagerlist
    I:Loading page filemanageroptions
    I:Loading page choosedestinationfolder
    I:Loading page filemanagerrenamefile
    I:Loading page filemanagerrenamefolder
    I:Loading page filemanagerchmod
    I:Loading page filemanagerconfirm
    I:Loading page filemanageraction
    I:Loading page decrypt
    I:Loading page decrypt_pattern
    I:Loading page trydecrypt
    I:Loading page terminalcommand
    I:Loading page sideload
    I:Loading page fixcontexts
    I:Loading page installsu
    I:Loading page installsu_userdo
    I:Loading page slideout
    I:Loading page select_storage
    I:Loading page select_language
    I:Loading page decrypt_users
    I:Set page: 'clear_vars'
    I:Set page: 'main2'
    I:Switching packages (TWRP)
    Startup Commands:


    ro.boot.bootreason=reboot
    ro.boottime.adbd=5842418153
    ro.boottime.init=4573
    ro.boottime.init.selinux=59
    ro.boottime.init.cold_boot_wait=91
    ro.boottime.logd=4846872076
    ro.boottime.ueventd=4718917230
    ro.boottime.mobicore=6033529922
    ro.boottime.recovery=4850218845
    ro.boottime.fingerprintid=4719438769
    ro.boottime.keymaster-3-0=6033863769
    ro.boottime.gatekeeper-1-0=6034156999
    ro.boottime.servicemanager=4846470845
    ro.boottime.set_permissive=4849834769
    ro.boottime.hwservicemanager=4846001922
    ro.config.ringtone=omni_ringtone1.ogg,omni_ringtone1.ogg
    ro.config.alarm_alert=omni_alarm1.ogg
    ro.config.notification_sound=omni_notification1.ogg
    ro.dalvik.vm.native.bridge=0
    dalvik.vm.isa.arm.variant=cortex-a53
    dalvik.vm.isa.arm.features=default
    dalvik.vm.isa.arm64.variant=cortex-a53
    dalvik.vm.isa.arm64.features=default
    dalvik.vm.dexopt.secondary=true
    dalvik.vm.usejit=true
    dalvik.vm.lockprof.threshold=500
    dalvik.vm.dex2oat-Xms=64m
    dalvik.vm.dex2oat-Xmx=512m
    dalvik.vm.appimageformat=lz4
    dalvik.vm.usejitprofiles=true
    dalvik.vm.stack-trace-dir=/data/anr
    dalvik.vm.image-dex2oat-Xms=64m
    dalvik.vm.image-dex2oat-Xmx=64m
    dalvik.vm.image-dex2oat-filter=verify-at-runtime
    dalvik.vm.dex2oat-minidebuginfo=true
    debug.atrace.tags.enableflags=0
    ro.sf.lcd_density=440
    ro.adb.secure=0
    ro.art.hiddenapi.warning=1
    ro.com.google.clientidbase=android-oppo
    ro.com.android.dataroaming=false
    ro.com.android.wifi-watchlist=GoogleGuest
    ro.opa.eligible_device=true
    ro.sys.usb.mtp.whql.enable=0
    ro.sys.usb.bicr=no
    ro.sys.usb.storage.type=mtp
    ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
    ro.boot.mode=recovery
    ro.boot.init_rc=/init.rc
    ro.boot.selinux=permissive
    ro.boot.dtbo_idx=0
    ro.boot.hardware=mt6779
    ro.boot.avb_version=1.1
    ro.boot.meta_log_disable=0
    ro.boot.verifiedbootstate=orange
    ro.omni.device=renoZ
    ro.omni.version=9-20200221-renoZ-HOMEMADE
    ro.omni.version.security_patch=
    ro.oppo.market.name=OPPO Reno Z
    ro.twrp.boot=1
    ro.twrp.version=3.3.2b-0221
    ro.vndk.lite=true
    ro.vndk.version=28
    ro.wifi.channels=
    ro.allow.mock.location=1
    ro.board.platform=mt6779
    ro.build.id=PQ3B.190801.002
    ro.build.date=2020年 02月 21日 星期五 14:03:59 CST
    ro.build.date.utc=1420041600
    ro.build.host=wzsx150-virtual-machine
    ro.build.tags=test-keys
    ro.build.type=eng
    ro.build.user=wzsx150
    ro.build.flavor=omni_renoZ-eng
    ro.build.display.id=omni_renoZ-eng 9 PQ3B.190801.002 eng.wzsx15.20200221.140258 test-keys
    ro.build.product=OP4699
    ro.build.selinux=1
    ro.build.version.sdk=30
    ro.build.version.base_os=
    ro.build.version.release=11
    ro.build.version.codename=REL
    ro.build.version.incremental=eng.wzsx15.20200221.140258
    ro.build.version.preview_sdk=0
    ro.build.version.all_codenames=REL
    ro.build.version.security_patch=2021-05-05
    ro.build.version.min_supported_target_sdk=17
    ro.build.description=full_oppo6779_18073-user 9 PPR1.180610.011 eng.root.20200104.182840 release-keys
    ro.build.characteristics=default
    ro.build.system_root_image=true
    ro.bionic.ld.warning=1
    ro.kernel.android.checkjni=1
    ro.secure=0
    ro.treble.enabled=true
    ro.zygote=zygote64_32
    ro.carrier=unknown
    ro.product.cpu.abi=arm64-v8a
    ro.product.cpu.abilist=arm64-v8a,armeabi-v7a,armeabi
    ro.product.cpu.abilist32=armeabi-v7a,armeabi
    ro.product.cpu.abilist64=arm64-v8a
    ro.product.name=PCDM10
    ro.product.board=mt6779
    ro.product.brand=OPPO
    ro.product.model=PCDM10
    ro.product.device=OP4699
    ro.product.locale=zh-CN
    ro.product.locale.region=CN
    ro.product.locale.language=zh
    ro.product.vendor.name=omni_renoZ
    ro.product.vendor.brand=OPPO
    ro.product.vendor.model=PCDM10
    ro.product.vendor.device=renoZ
    ro.product.vendor.manufacturer=OPPO
    ro.product.oppo_model=PCDM10_ORANGE
    ro.product.manufacturer=OPPO
    ro.baseband=unknown
    ro.bootmode=recovery
    ro.hardware=mt6779
    ro.mediatek.platform=MT6779
    ro.revision=0
    ro.services.whitelist.packagelist=com.google.android.gms
    ro.bootimage.build.date=Fri Feb 21 14:01:41 CST 2020
    ro.bootimage.build.date.utc=1582264901
    ro.bootimage.build.fingerprint=OPPO/omni_renoZ/renoZ:9/PQ3B.190801.002/wzsx15002211401:eng/test-keys
    ro.bootloader=unknown
    ro.debuggable=1
    ro.modversion=OmniROM-9-20200221-renoZ-HOMEMADE
    ro.recovery_id=0x5ea34f3c8955d14635856db2cec1ef2d9a0ea769000000000000000000000000
    ro.setupwizard.enterprise_mode=1
    ro.property_service.version=2
    ro.control_privapp_permissions=enforce
    ro.actionable_compatible_property.enabled=false
    fbe.contents=aes-256-xts
    fbe.filenames=
    init.svc.adbd=running
    init.svc.logd=running
    init.svc.ueventd=running
    init.svc.mobicore=restarting
    init.svc.recovery=running
    init.svc.fingerprintid=stopped
    init.svc.keymaster-3-0=restarting
    init.svc.gatekeeper-1-0=running
    init.svc.servicemanager=running
    init.svc.set_permissive=stopped
    init.svc.hwservicemanager=running
    twrp.crash_counter=0
    twrp.fingerprintid.prop=1
    twrp.fingerprintid.system=/dev/block/by-name/system
    twrp.fingerprintid.vendor=/dev/block/by-name/vendor
    twrp.fingerprintid.sys_root=1
    twrp.action_complete=0
    keyguard.no_require_sim=true
    recovery.perf.mode=0
    tombstoned.max_tombstone_count=50
    sys.usb.ffs.ready=1
    sys.usb.ffs.aio_compat=1
    ro.build.fingerprint=OPPO/PCDM10/OP4699:9/PPR1.180610.011/1577291405:user/release-keys
    hwservicemanager.ready=true
    log.tag.stats_log=I
    ro.logd.size.stats=64K
    ro.persistent_properties.ready=true
    pm.dexopt.boot=extract
    pm.dexopt.ab-ota=speed-profile
    pm.dexopt.shared=speed
    pm.dexopt.install=speed-profile
    pm.dexopt.inactive=verify
    pm.dexopt.bg-dexopt=speed-profile
    pm.dexopt.first-boot=extract
    ro.boot.serialno=S95EEA0000000000813
    ro.serialno=S95EEA0000000000813
    service.adb.root=1
    net.bt.name=Android
    net.tethering.noprovisioning=true
    sys.usb.state=adb
    sys.usb.controller=musb-hdrc
    persist.sys.usb.config=adb
    persist.sys.dalvik.vm.lib.2=libart.so
    persist.sys.country=CN
    persist.sys.language=zh
    persist.sys.timezone=Asia/Shanghai
    persist.sys.disable_rescue=true
    persist.sys.isUsbOtgEnabled=true
    sys.usb.config=adb
    sys.usb.configfs=1
    ro.vendor.build.date=Fri Feb 21 14:01:41 CST 2020
    ro.vendor.build.date.utc=1582264901
    ro.vendor.build.fingerprint=OPPO/omni_renoZ/renoZ:9/PQ3B.190801.002/wzsx15002211401:eng/test-keys
    ro.vendor.build.security_patch=2020-08-05
    ro.vendor.product.cpu.abilist=arm64-v8a,armeabi-v7a,armeabi
    ro.vendor.product.cpu.abilist32=armeabi-v7a,armeabi
    ro.vendor.product.cpu.abilist64=arm64-v8a
    vendor.usb.acm_cnt=0
    vendor.usb.acm_port0=
    vendor.usb.acm_port1=
    vendor.usb.acm_enable=0
    vendor.usb.controller=musb-hdrc
    ro.crypto.type=file
    ro.crypto.state=encrypted

    SELinux contexts loaded from /file_contexts
    Full SELinux support is present.
    tw_get_context failed to get selinux context
    I:Failed to get default contexts and file mode for storage files.
    I:Unable to find source file /cache/recovery/log.gz
    I:Can't probe device /dev/block/sdc41
    I:Unable to mount '/data'
    I:Actual block device: '/dev/block/sdc41', current file system: 'ext4'
    I:Can't probe device /dev/block/sdc41
    I:Unable to mount '/data'
    I:Actual block device: '/dev/block/sdc41', current file system: 'ext4'
    Unable to mount /data/media/TWRP/.twrps_wzsx150
    I:Attempt to load settings from settings file...
    I:InfoManager file '/data/media/TWRP/.twrps_wzsx150' not found.
    I:Backup folder set to '/data/media/TWRP/BACKUPS/S95EEA0000000000813'
    I:Mount: Unable to find partition for path '/etc'
    I:Copied file /etc/recovery.fstab to /cache/recovery/recovery.fstab
    I:Version number saved to '/cache/recovery/.version'
    I:Can't probe device /dev/block/sdc41
    I:Unable to mount '/data'
    I:Actual block device: '/dev/block/sdc41', current file system: 'ext4'
    I:Unable to mount '/usb-otg'
    I:Actual block device: '', current file system: 'vfat'
    I:TWFunc::Set_Brightness: Setting brightness control to 38
    I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly
    parsing languageFile
    parsing languageFile done
    I:Translating partition display names
    I:Backup folder set to '/data/media/TWRP/BACKUPS/S95EEA0000000000813'
    I:Starting MTP
    I:Cannot find file /sys/class/android_usb/android0/idVendor
    I:Cannot find file /sys/class/android_usb/android0/idProduct
    MTP Enabled
    I:[MTP] Starting MTP
    I:Check_Lifetime_Writes result: '3575185'
    I:Starting Adb Backup FIFO
    I:Switching packages (TWRP)
    I:Set page: 'main'
    I:Set page: 'clear_vars'
    I:Set page: 'main2'
    I:Found no matching fstab entry for uevent device '/devices/platform/externdevice/mmc_host/mmc0/mmc0:0001/block/mmcblk0' - add
    I:[MTP] created new mtpserver object
    E:[MTP] Failed to start usb driver!
    I:Set page: 'wipe'
    I:Set page: 'advancedwipe'
    I:checkpartitionlist list '/data;'
    I:checkpartitionlist part_path '/data'
    I:Set page: 'checkpartitionlist'
    I:getpartitiondetails list '/data;'
    I:getpartitiondetails part_path '/data'
    I:Set page: 'partitionoptions'
    I:Set page: 'advancedwipe'
    I:Set page: 'wipe'
    I:Set page: 'main'
    I:Set page: 'clear_vars'
    I:Set page: 'main2'
    I:Set page: 'advanced'
    I:Set page: 'copylog'
    I:Set page: 'advanced'
    I:Set page: 'main'
    I:Set page: 'clear_vars'
    I:Set page: 'main2'
    I:Set page: 'wipe'
    I:Set page: 'advancedwipe'
    I:Set page: 'wipe'
    I:Set page: 'advancedwipe'
    I:Set page: 'action_page'
    I:eek:peration_start: 'Format'
    I:wipe list 'DALVIK;/cache;'
    I:wipe_path 'DALVIK'
    I:Can't probe device /dev/block/sdc41
    Failed to mount '/data' (Invalid argument)
    I:Actual block device: '/dev/block/sdc41', current file system: 'ext4'
    Failed to wipe dalvik
    Updating partition details...
    I:Can't probe device /dev/block/sdc41
    Failed to mount '/data' (Invalid argument)
    I:Actual block device: '/dev/block/sdc41', current file system: 'ext4'
    Failed to mount '/opporeserve' (Invalid argument)
    I:Actual block device: '', current file system: 'ext4'
    Failed to mount '/odm' (Invalid argument)
    I:Actual block device: '', current file system: 'ext4'
    I:Unable to mount '/usb-otg'
    I:Actual block device: '', current file system: 'vfat'
    I:Translating partition display names
    I:Backup folder set to '/data/media/TWRP/BACKUPS/S95EEA0000000000813'
    ...done
    I:Can't probe device /dev/block/sdc41
    I:Unable to mount '/data'
    I:Actual block device: '/dev/block/sdc41', current file system: 'ext4'
    I:Unable to mount storage
    I:Set page: 'action_complete'
    I:eek:peration_end - status=1
    I:Set page: 'clear_vars'
    I:Set page: 'advancedwipe'
    I:Set page: 'wipe'
    I:Set page: 'formatdata'
    I:Set page: 'formatdata_confirm'
    I:Set page: 'action_page'
    I:eek:peration_start: 'Format'
    Formatting Data using mke2fs...
    I:mke2fs command: mke2fs -t ext4 -b 4096 /dev/block/sdc41 29792248
    mke2fs 1.43.3 (04-Sep-2016)
    Discarding device blocks: 4096/29792248 1052672/2979224813111296/2979224825694208/29792248 done
    Creating filesystem with 29792248 4k blocks and 7454720 inodes
    Filesystem UUID: e776ce42-6ffd-4785-9d2d-af316e32826b
    Superblock backups stored on blocks:
    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
    4096000, 7962624, 11239424, 20480000, 23887872

    Allocating group tables: 0/910 done
    Writing inode tables: 0/910 done
    Creating journal (131072 blocks): done
    Writing superblocks and filesystem accounting information: 0/910 done

    I:mke2fs -t ext4 -b 4096 /dev/block/sdc41 29792248 process ended with RC=0
    I:e2fsdroid command: e2fsdroid -e -S /file_contexts -a /data /dev/block/sdc41
    SELinux: Loaded file_contexts
    Created filesystem with 11/7454720 inodes and 614193/29792248 blocks
    I:e2fsdroid -e -S /file_contexts -a /data /dev/block/sdc41 process ended with RC=0
    Done.
    I:sending message to add 65537 '/data/media' 'Internal Storage'
    I:[MTP] mtppipe add storage 65537 '/data/media'
    E:[MTP] error opening '/data/media' -- error: No such file or directory
    I:Message sent, add storage ID: 65537 '/data/media'
    I:Recreating /data/media folder.
    I:sending message to remove 65537
    I:Message sent, remove storage ID: 65537
    I:[MTP] mtppipe remove storage 65537
    I:mount -o bind '/data/media' '/sdcard' process ended with RC=0
    I:sending message to add 65537 '/data/media' 'Internal Storage'
    I:Message sent, add storage ID: 65537 '/data/media'
    You may need to reboot recovery to be able to use /data again.
    I:[MTP] mtppipe add storage 65537 '/data/media'
    Updating partition details...
    I:Data backup size is 0MB, free: 113976MB.
    Failed to mount '/opporeserve' (Invalid argument)
    I:Actual block device: '', current file system: 'ext4'
    Failed to mount '/odm' (Invalid argument)
    I:Actual block device: '', current file system: 'ext4'
    I:Unable to mount '/usb-otg'
    I:Actual block device: '', current file system: 'vfat'
    I:Translating partition display names
    I:Backup folder set to '/data/media/TWRP/BACKUPS/S95EEA0000000000813'
    ...done
    I:Set page: 'action_complete'
    I:eek:peration_end - status=0
    I:Set page: 'clear_vars'
    I:Set page: 'formatdata'
    I:Set page: 'wipe'
    I:Set page: 'main'
    I:Set page: 'clear_vars'
    I:Set page: 'main2'
    I:Set page: 'mount'
    I:sending message to remove 65537
    I:[MTP] mtppipe remove storage 65537
    I:Message sent, remove storage ID: 65537
    I:Set page: 'main'
    I:Set page: 'clear_vars'
    I:Set page: 'main2'
    I:Set page: 'install'
    I:Set page: 'install'
    I:Set page: 'install'
    I:Set page: 'install'
    I:Set page: 'main'
    I:Set page: 'clear_vars'
    I:Set page: 'main2'
    I:Set page: 'mount'
    I:mount -o bind '/data/media' '/sdcard' process ended with RC=0
    I:sending message to add 65537 '/data/media' 'Internal Storage'
    I:Message sent, add storage ID: 65537 '/data/media'
    I:[MTP] mtppipe add storage 65537 '/data/media'
    I:Set page: 'main'
    I:Set page: 'clear_vars'
    I:Set page: 'main2'
    I:Set page: 'install'
    I:Set page: 'flash_confirm'
    I:Set page: 'flash_zip'
    I:eek:peration_start: 'Flashing'
    Installing zip file '/sdcard/Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip'
    Checking for Digest file...
    I:Update binary zip
    I:Extracting updater binary 'META-INF/com/google/android/update-binary'
    I:Zip does not contain SELinux file_contexts file in its root.
    I:Legacy property environment not used in updater.

    Archive: /sdcard/Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip
    inflating: anykernel.sh
    inflating: banner
    creating: META-INF/
    creating: META-INF/com/
    creating: META-INF/com/google/
    creating: META-INF/com/google/android/
    inflating: META-INF/com/google/android/update-binary
    inflating: META-INF/com/google/android/updater-script
    inflating: README.md
    creating: tools/
    inflating: tools/ak3-core.sh
    creating: tools/arm/
    inflating: tools/arm/busybox
    inflating: tools/arm/futility
    inflating: tools/arm/keycheck
    inflating: tools/arm/magiskboot
    inflating: tools/arm/magiskpolicy
    creating: tools/avb/
    inflating: tools/avb/verity.pk8
    inflating: tools/avb/verity.x509.pem
    inflating: tools/boot_signer-dexed.jar
    creating: tools/chromeos/
    inflating: tools/chromeos/kernel.keyblock
    inflating: tools/chromeos/kernel_data_key.vbprivk
    inflating: tools/util_functions.sh
    creating: tools/x86/
    inflating: tools/x86/busybox
    inflating: tools/x86/futility
    inflating: tools/x86/keycheck
    inflating: tools/x86/magiskboot
    inflating: tools/x86/magiskpolicy
    "*************************************************"
    "* DmVerity,ForceEncrypt, and DiscQuota Disabler *"
    "* By: Zackptg5 *"
    "* Heavily based on the work of: *"
    "* TopJohnWu and Jcadduono *"
    "*************************************************"



    AnyKernel3 by osm0sis @ xda-developers


    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop0' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop1' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop2' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop3' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop4' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop5' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop6' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop7' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop8' - add
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop8' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop9' - add
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop9' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop10' - add
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop10' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop11' - add
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop11' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop12' - add
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop12' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop13' - add
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop13' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop14' - add
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop14' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop15' - add
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop15' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop16' - add
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop16' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop17' - add
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop17' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop18' - add
    Installing...
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop18' - change
    /dev/block/by-name/boot

    - Chosen/Default Arguments:
    Keep ForceEncrypt: false
    Keep Dm-Verity: false
    Keep Disc Quota: true

    - Detecting Root Method...
    No Magisk or SuperSu detected!
    - Unpacking boot img...
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop19' - add
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop19' - change
    32+0 records in
    32+0 records out
    33554432 bytes (32.0MB) copied, 0.140004 seconds, 228.6MB/s
    Parsing boot image: [/tmp/anykernel/boot.img]
    HEADER_VER [1]
    KERNEL_SZ [10540457]
    RAMDISK_SZ [0]
    SECOND_SZ [0]
    RECOV_DTBO_SZ [0]
    OS_VERSION [9.0.0]
    OS_PATCH_LEVEL [2020-08]
    PAGESIZE [2048]
    NAME []
    CMDLINE [bootopt=64S3,32N2,64N2 buildvariant=user]
    CHECKSUM [8b9fdf5718bac18975847b2825337052e9e9c9c3000000000000000000000000]
    KERNEL_DTB [142249]
    KERNEL_FMT [gzip]
    RAMDISK_FMT [raw]
    EXTRA_FMT [raw]
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop20' - add
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop20' - change
    - Creating .magisk and .supersu files...
    - Mounting nvdata
    - Patching fstabs:
    /vendor/etc/fstab.mt6779
    /nvdata/fstab.mt6779
    Loading dtbs from [kernel_dtb]
    Loading dtb.0000
    Found fstab entry [vendor]

    - Unmounting nvdata
    - Repacking boot img...
    cp: '/tmp/anykernel/split_img/kernel' and 'kernel' are the same file
    Parsing boot image: [/tmp/anykernel/boot.img]
    HEADER_VER [1]
    KERNEL_SZ [10540457]
    RAMDISK_SZ [0]
    SECOND_SZ [0]
    RECOV_DTBO_SZ [0]
    OS_VERSION [9.0.0]
    OS_PATCH_LEVEL [2020-08]
    PAGESIZE [2048]
    NAME []
    CMDLINE [bootopt=64S3,32N2,64N2 buildvariant=user]
    CHECKSUM [8b9fdf5718bac18975847b2825337052e9e9c9c3000000000000000000000000]
    KERNEL_DTB [142249]
    KERNEL_FMT [gzip]
    RAMDISK_FMT [raw]
    EXTRA_FMT [raw]
    Repack to boot image: [/tmp/anykernel/boot-new.img]
    HEADER_VER [1]
    KERNEL_SZ [10540457]
    RAMDISK_SZ [0]
    SECOND_SZ [0]
    RECOV_DTBO_SZ [0]
    OS_VERSION [9.0.0]
    OS_PATCH_LEVEL [2020-08]
    PAGESIZE [2048]
    NAME []
    CMDLINE [bootopt=64S3,32N2,64N2 buildvariant=user]
    CHECKSUM [8b9fdf5718bac18975847b2825337052e9e9c9c3000000000000000000000000]
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop20' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop19' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop18' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop17' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop16' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop15' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop14' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop13' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop12' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop11' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop10' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop9' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop8' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop7' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop6' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop5' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop4' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop3' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop2' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop1' - change
    I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop0' - change


    Done!
    I:Updater process ended with RC=0
    I:Install took 13 second(s).
    Updating partition details...
    I:Data backup size is 0MB, free: 113971MB.
    Failed to mount '/opporeserve' (Invalid argument)
    I:Actual block device: '', current file system: 'ext4'
    Failed to mount '/odm' (Invalid argument)
    I:Actual block device: '', current file system: 'ext4'
    Failed to mount '/nvdata' (No such file or directory)
    I:Actual block device: '/dev/block/sdc8', current file system: 'ext4'
    I:Unable to mount '/usb-otg'
    I:Actual block device: '', current file system: 'vfat'
    I:Translating partition display names
    I:Backup folder set to '/data/media/TWRP/BACKUPS/S95EEA0000000000813'
    ...done
    I:Set page: 'flash_done'
    I:eek:peration_end - status=0
    I:Set page: 'clear_vars'
    I:Set page: 'install'
    I:Set page: 'main'
    I:Set page: 'clear_vars'
    I:Set page: 'main2'
    I:Set page: 'advanced'
    I:Set page: 'copylog'
    I:Set page: 'action_page'
    I:eek:peration_start: 'Copy Log'
     

    Dixon A

    Member
  • Apr 4, 2014
    22
    2
    29
    India
    Can someone help me,
    I am trying to root my Realme U1(rmx1831) .
    *Unlocked bootloader
    *Flashed twrp , but this is were i messed up. I used these commands in fastboot mode.

    fastboot erase recovery

    fastboot flash recovery recovery.img

    (fastboot reboot recovery , ,this command didn't work so)
    fastboot oem reboot-recovery

    Long story short i messed up my recovery. I couldn't flash any custom rom properly. Every time I've to use this command 'fastboot flash recovery recovery.img' to force enter to twrp.

    Lastly i tried oem stock rom. And went back to default os. But still i didn't have oem recovery nor twrp.

    Even when in twrp i couldn't flash lineage 10, pixelplusexp 11 properly. When i restart I'm having a bootloop.

    In oem rom (it says the rom is rooted) but i don't have any recovery.

    What should i do .? Can someone help me .
    Will this thread help me ..
     

    Top Liked Posts

    • There are no posts matching your filters.
    • 275
      Hi all!

      For the past couple of months, I've been looking into making a more universal solution to disable dm-verity and forceencrypt. Needing to take different zips, modify them for different devices, and then cross your fingers when you switch between custom and stock roms simply wasn't good enough for me. After lots of searching around, failed attempts, and some guidance by @Xennet, @osm0sis, and @nathanchance (thank you all for your help), I finally got a working solution. Ironically, it was under my nose the whole time.

      @topjohnwu figured much of this out a while ago with his magiskboot binary - just modify the fstabs. Magiskboot only works for fstabs in the ramdisk though and dm-verity and forceencrypt are only disabled under certain conditions (when you create a .magisk file with the variables set to false and place it in the proper location). So I made an installker with AK3 by @osm0sis and used a combination of sed patches by @jcadduono in addition to others I found for fstabs not in the ramdisk, modified magiskboot with some extra entries I found need to be removed on some devices, and added some stuff of my own like the creation of .magisk and .supersu files in the right location with the proper contents.

      The end result: a zip that will remove dm-verity and/or forceencrypt from all fstabs on your device
      It can also remove disk quota if you choose. This may be needed if you have an older twrp and/or want to downgrade to Nougat. More info here: https://source.android.com/devices/storage/faster-stats

      Instructions:
      The zipname tells the installer what to do. Here are the current options:
      • Add 'enfec' or en'forceencrypt' to zipname to keep forceencrypt enabled if present
      • Add 'fec' or 'forceencrypt' to zipname to disable forceencrypt (zipname already has this so remove these if you want to keep it enabled)
      • Add 'quota' to zipname to disable disc quota
      Note that verity is always disabled - it has to be for any modifications with this mod

      If you're currently encrypted:
      1. BACKUP YOUR INTERNAL STORAGE TO YOUR PC
      2. Format data (this is NOT the same as Wipe data) (In TWRP: Wipe -> Format Data)
      3. Reboot back into recovery
      4. Follow the directions below for when you're not encrypted

      If you're not encrypted: flash all of your stuff, then FLASH THIS ZIP LAST

      Some extra details for Slot devices:
      1. Flash ROM
      2. Flash TWRP Installer Zip
      3. Reboot into TWRP
      4. Flash everything else
      5. Flash this zip

      Only difference here is the twrp zip and the recovery reboot, main principle is the same - FLASH THIS ZIP LAST

      Troubleshooting:
      • Take a recovery log after flashing this zip (thanks to @aIecxs for the imgs):
        recovery_log.png
      • If the zip isn't patching any fstabs that it should be, then it's possible that the previous zip(s) didn't unmount system and/or vendor properly. Either unmount them in twrp, or just reboot back into recovery and flash this zip again

      Compatibility: Any android device

      Source: https://github.com/Zackptg5/Disable_Dm-Verity_ForceEncrypt

      Download
      17
      Hey everyone! It's been a while thanks to life and such but I have a test build out that I'll make the next release if all goes well. Let me know if it works for you, I'm especially interested in system as root devices.

      I completely revamped the zip to now use AK3 by @osm0sis and have a modified version of magiskboot in it that'll do some extra stuff for ramdisk patching :)
      16
      Merry Christmas everybody! Posted another build - lots of bug fixes - think I got everything ironed out. Here's the changelog:
      • Added vol key selection method for adb sideloading
      • Fixed dtbo patching bugs
      • Fixed magiskboot bug
      • Ignore twrp fstabs if installed in boot img (system as root devices)
      • Add x86 chromeos support
      • Fix apex mounting
      • Misc bug fixes/improvements
      13
      Updated the zip!
      Changelog:
      - Update ak3
      - Always disable verity - required for any other options
      - Added keep encryption option to zip
      - Added new verity flags
      12
      Updated zip! Fixes problem where kernel fstabs weren't being patched. Thanks to lastsaskatchewanpirate @ github for the fix