Unable to sideload zips with zip signature verification (pre-) enabled
free-droid.log
2019-12-17 19:45:05 +0100 - Performing a systest...
2019-12-17 19:45:24 +0100 - NoMethodError: undefined method `-' for nil:NilClass
2019-12-17 19:45:24 +0100 - uri:classloader:/shoes-app/res/twrp.rb:321:in `systest'
2019-12-17 19:45:24 +0100 - uri:classloader:/shoes-app/res/main.rb:709:in `flash_systest'
2019-12-17 19:45:24 +0100 - uri:classloader:/shoes-app/res/main.rb:522:in `flash_rest'
2019-12-17 19:45:24 +0100 - uri:classloader:/shoes-app/res/main.rb:264:in `block in flash_conductor'
2019-12-17 19:45:24 +0100 - uri:classloader:/shoes-app/res/log.rb:91:in `log_on_fail'
2019-12-17 19:45:24 +0100 - uri:classloader:/shoes-app/res/main.rb:238:in `flash_conductor'
2019-12-17 19:45:24 +0100 - uri:classloader:/shoes-app/res/notifier.rb:62:in `update'
2019-12-17 19:45:24 +0100 - uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/observer.rb:197:in `block in notify_observers'
2019-12-17 19:45:24 +0100 - org/jruby/RubyHash.java:1428:in `each'
2019-12-17 19:45:24 +0100 - uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/observer.rb:196:in `notify_observers'
2019-12-17 19:45:24 +0100 - uri:classloader:/shoes-app/res/device.rb:64:in `block in observe'
2019-12-17 19:45:24 +0100 - uri:classloader:/shoes-app/res/log.rb:91:in `log_on_fail'
2019-12-17 19:45:24 +0100 - uri:classloader:/shoes-app/res/device.rb:59:in `block in observe'
2019-12-17 19:45:24 +0100 - org/jruby/RubyKernel.java:1446:in `loop'
2019-12-17 19:45:24 +0100 - uri:classloader:/shoes-app/res/device.rb:59:in `block in observe'
recovery.log
I:operation_start: 'TWRP CLI Command'
I:Inserting 'sideload'
command is: 'sideload' and there is no value
Starting ADB sideload feature...
Stopping adbd...
E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop
BOARD_HAS_NO_REAL_SDCARD := true
TW_NO_REBOOT_BOOTLOADER := true
RECOVERY_SDCARD_ON_DATA := true
I:Lun file '/sys/class/android_usb/android0/f_mass_storage/lun0/file' does not exist, USB storage mode disabled
TW_HAS_DOWNLOAD_MODE := true
TW_INCLUDE_CRYPTO := true
I:TW_BRIGHTNESS_PATH := /sys/devices/platform/s5p-mipi-dsim.0/backlight/panel/brightness
I:Found brightness file at '/sys/devices/platform/s5p-mipi-dsim.0/backlight/panel/brightness'
I:Got max brightness 255 from '/sys/devices/platform/s5p-mipi-dsim.0/backlight/panel/max_brightness'
I:TWFunc::Set_Brightness: Setting brightness control to 255
I:LANG: en
I:TW_NO_LEGACY_PROPS := true
I:[MTP] MtpServer::run fd: 22
sideload-host file size 3453113 block size 65536
unknown fuse request opcode 22
Installing zip file '/sideload/package.zip'
Verifying zip signature...
I:Zip signature verification failed: 1
Zip signature verification failed!
I:Signaling child sideload process to exit.
I:Waiting for child sideload process to exit.
sideload_host finished
E:[MTP] request read returned -1, errno: 5, exiting MtpServer::run loop
Done.
Done processing script file
I:Done reading ORS command from command line
I:operation_end - status=0
I:Set page: 'main2'
I:[MTP] MtpServer::run fd: 22