Hi,
Follow my steps,
-------------------------------------------------------------------------------
remount the file system as write
-------------------------------------------------------------------------------
--------------------------------
Error
----------------------------------
sabresd_6dq:/ # mount -o remount,rw '/system'
EXT4-fs (dm-0): previous I/O error to superblock detected
Buffer I/O error on dev dm-0, logical block 0, lost sync page write
EXT4-fs (dm-0): re-mounted. Opts: block_validity,delalloc,barrier,user_xattr,acl,inode_readahead_blks=8
sabresd_6dq:/ # cat /proc/cmdline
console=ttymxc0,115200 init=/init video=mxcfb0:dev=hdmi,1920x1080M@60,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=128M androidboot.console=ttymxc0
consoleblank=0 androidboot.hardware=freescale cma=320M galcore.contiguousSize=33554432 loop.max_part=7 androidboot.selinux=permissive buildvariant=userdebug
androidboot.serialno=102519d4d81917c9 androidboot.btmacaddr=10:25:19:d4:d8:19 androidboot.soc_type=imx6q androidboot.storage_type=emmc
androidboot.boottime=1BLL:0,1BLE:1912,KL:0,KD:0,AVB:994,ODT:0,SW:0 androidboot.bootreason=cold,powerkey androidboot.verifiedbootstate=green
androidboot.slot_suffix= androidboot.vbmeta.device=PARTUUID=e6d02de1-556d-4bad-b465-1fc4b65e2416 androidboot.vbmeta.avb_version=1.1 androidboot.vbmeta.device_state=locked
androidboot.vbmeta.hash_alg=sha256 androidboot.vbmeta.size=2944 androidboot.vbmeta.digest=57e82ca11300d0959cfcb2ac6b5f653e0770210e98d3039726c7297c73926385
androidboot.veritymode=enforcing androidboot.dtbo_idx=0 androidboot.keystore=software
-----------------------------------
Solutions:
----------------------------------
From Host,
reboot bootloader
From Windows Power Shell,
PS C:\platform-tools> ./fastboot.exe devices
102519d4d81917c9 fastboot
PS C:\platform-tools> ./fastboot.exe oem unlock
...
OKAY [ 53.794s]
Terminal,
finished. total time: 53.795s
Fastboot: Got bootloader commands!
flashing unlock.
RNG already instantiated 0x40000003
It is able to unlock device. 1
RNG already instantiated 0x40000003
Start userdata wipe process....
erase target is MMC:2
Erasing blocks 4939776 to 4947968 due to alignment
........ erased 4194304 bytes from 'misc'
erase target is MMC:2
Erasing blocks 3891200 to 4939776 due to alignment
........ erased 536870912 bytes from 'cache'
Wipe userdata completed.
From Windows Power Shell,
PS C:\platform-tools> ./adb root
PS C:\platform-tools> ./adb disable-verity
Successfully disabled verity
Now reboot your device for settings to take effect
PS C:\platform-tools>
sabresd_6dq:/ # mount -o rw,remount /system
EXT4-fs (mmcblk3p4): re-mounted. Opts: block_validity,delalloc,barrier,user_xattr,acl,inode_readahead_blks=8
sabresd_6dq:/ # rm -rf system/app/VD
sabresd_6dq:/ # cp -rf mnt/media_rw/B91D-0AB7/VD/ /system/app/.
sabresd_6dq:/ # cat /proc/cmdline
console=ttymxc0,115200 init=/init video=mxcfb0:dev=hdmi,1920x1080M@60,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=128M androidboot.console=ttymxc0
consoleblank=0 androidboot.hardware=freescale cma=320M galcore.contiguousSize=33554432 loop.max_part=7 androidboot.selinux=permissive buildvariant=userdebug
androidboot.serialno=102519d4d81917c9 androidboot.btmacaddr=10:25:19:d4:d8:19 androidboot.soc_type=imx6q androidboot.storage_type=emmc
androidboot.boottime=1BLL:0,1BLE:3294,KL:0,KD:0,AVB:2296,ODT:0,SW:0 androidboot.bootreason=cold,powerkey androidboot.verifiedbootstate=orange
androidboot.slot_suffix= androidboot.vbmeta.device=PARTUUID=e6d02de1-556d-4bad-b465-1fc4b65e2416 androidboot.vbmeta.avb_version=1.1 androidboot.vbmeta.device_state=unlocked
androidboot.vbmeta.hash_alg=sha256 androidboot.vbmeta.size=2944 androidboot.vbmeta.digest=53b72192a85753db0b1cc21a79a170fa3298d8c600c2d85f8434eff01185de1d
androidboot.veritymode=disabled androidboot.dtbo_idx=0 androidboot.keystore=software
---------------------------------------------------------------------------------------------------------------------------------------
VInoth S,
Regards,
Vinothkumar Sekar