Skip to content

Please update the img2sdat for Android 10 & Android 11 #19

Open
@ghost

Description

I've tried to debug the flash errors & I've noticed that

img2sdat/common.py

is not making a compatible transfer.list for Android 10 & Android 11 devices. I always get some errors when I try to remove those lines...

erasing 93285 blocks
package_extract_file from system_ext.transfer.list to memory took 00s.BLKDISCARD ioctl failed: Invalid argument
failed to execute command [erase 8,88590,97792,98833,130561,131594,163328,164385,185006]
new data receiver is still available after executing all commands.
script aborted: E2001: Failed to flash system_ext_a partition.
E2001: Failed to flash system_ext_a partition.error: 2001
Updater process ended with ERROR: 1
I:Install took 0 second(s).
Error installing zip file '/sdcard/crDroidAndroid-11.0-20210614-mojito-v7.6.zip'

When I try to remove that line, I get another set of following errors:

writing 512 blocks of new data
writing 512 blocks of new data
writing 512 blocks of new data
writing 512 blocks of new data
writing 512 blocks of new data
writing 1 blocks of new data
writing 512 blocks of new data
writing 457 blocks of new data
lseek64 failed: Invalid argument
Failed to write 23442 bytes.
missing 1871872 bytes of new data
failed to execute command [new 4,188006,188462,188513,188514]
script aborted: E2001: Failed to flash system_ext_a partition.
E2001: Failed to flash system_ext_a partition.error: 2001
cause: 103
Updater process ended with ERROR: 1
I:Install took 7 second(s).
Error installing zip file '/sdcard/crDroidAndroid-11.0-20210611-mojito-v7.6.zip'

lseek64() couldn't able to parse the transfer.list

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions