[Magisk] glorem:
Patcher aborting on Kitkat

Hello,

I'm trying to flash the signature spoofing patch via TWRP on Slimkat Rom (based on Android 4.4.) but the process ends with an error message:

>> patching services.jar
Aborted
!! failed to apply patches
Updater process ended with ERROR: 1

Does anyone have any advice?

Here's my full recovery.log:

__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
Starting TWRP 3.2.1-0 on Sat Feb 24 16:02:55 2018
(pid 117)
BOARD_HAS_NO_REAL_SDCARD := true
RECOVERY_SDCARD_ON_DATA := true
I:CPU temperature file '/sys/class/thermal/thermal_zone0/temp' not found, disabling CPU temp.
I:Lun file '/sys/class/android_usb/android0/f_mass_storage/lun0/file' does not exist, USB storage mode disabled
TW_INCLUDE_CRYPTO := true
I:Found brightness file at '/sys/devices/platform/pwm-backlight/backlight/pwm-backlight/brightness'
I:Got max brightness 255 from '/sys/devices/platform/pwm-backlight/backlight/pwm-backlight/max_brightness'
I:TWFunc::Set_Brightness: Setting brightness control to 255
I:LANG: en
Starting the UI...setting DRM_FORMAT_RGBX8888 and GGL_PIXEL_FORMAT_RGBX_8888
Skipping drm graphics -- not present in build tree
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 (800 x 1280)
Using fbdev graphics.
I:TWFunc::Set_Brightness: Setting brightness control to 255
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 0.740741x and height 0.666667x, offsets x: 0 y: 0
I:Loading resources...
I:Loading variables...
I:Loading mouse cursor...
I:Loading pages...
I:Loading page splash
I:Switching packages (splash)
=> Linking mtab
Renaming regular /etc/recovery.fstab -> /etc/recovery.fstab.bak
Moving /etc/twrp.fstab -> /etc/recovery.fstab
=> Processing recovery.fstab
I:Processing '/system'
I:Processing '/cache'
I:Processing '/data'
I:Setting up '/data' as data/media emulated storage.
I:Created '/sdcard' folder.
I:mount -o bind '/data/media' '/sdcard' process ended with RC=0
I:mount -o bind '/data/media/0' '/sdcard' process ended with RC=0
I:mount -o bind '/data/media/0' '/sdcard' process ended with RC=0
I:Processing '/misc'
I:Processing '/boot'
I:Processing '/recovery'
I:Processing '/staging'
I:Processing '/usb-otg'
I:Created '/usb-otg' folder.
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/015d2856954c0c13'
I:Settings storage is '/data/media/0'
I:Decrypt adopted storage starting
I:PageManager::LoadFileToBuffer loading filename: '/data/system/storage.xml' directly
Updating partition details...
I:Data backup size is 829MB, free: 25262MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Unmounting main partitions...

Partition Logs:
/system | /dev/block/mmcblk0p3 | Size: 639MB Used: 243MB Free: 396MB Backup Size: 243MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p3
Display_Name: System
Storage_Name: System
Backup_Path: /system
Backup_Name: system
Backup_Display_Name: System
Storage_Path: /system
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/cache | /dev/block/mmcblk0p5 | Size: 436MB Used: 7MB Free: 428MB Backup Size: 7MB
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/mmcblk0p5
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

/data | /dev/block/mmcblk0p10 | Size: 28221MB Used: 829MB Free: 25262MB Backup Size: 829MB
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/0
Symlink_Mount_Point: /sdcard
Primary_Block_Device: /dev/block/mmcblk0p10
Crypto_Key_Location: /dev/block/platform/sdhci-tegra.3/by-name/MDA
Display_Name: Data
Storage_Name: Internal Storage
Backup_Path: /data
Backup_Name: data
Backup_Display_Name: Data
Storage_Path: /data/media/0
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
MTP_Storage_ID: 65537

/misc | /dev/block/mmcblk0p6 | Size: 0MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mmcblk0p6
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

/boot | /dev/block/mmcblk0p2 | Size: 8MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/mmcblk0p2
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

/recovery | /dev/block/mmcblk0p1 | Size: 12MB
Flags: IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/mmcblk0p1
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

/staging | /dev/block/mmcblk0p7 | Size: 10MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mmcblk0p7
Display_Name: staging
Storage_Name: staging
Backup_Path: /staging
Backup_Name: staging
Backup_Display_Name: staging
Storage_Path: /staging
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/usb-otg | | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Removable Is_Storage
Primary_Block_Device: /dev/block/sda1
Alternate_Block_Device: /dev/block/sda
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
MTP_Storage_ID: 65538

I:Loading package: TWRP (/data/media/0/TWRP/theme/ui.zip)
I:Loading zip theme
I:Loading package: TWRP (/twres/ui.xml)
I:Load XML directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/uk.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/tr.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/sv.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/sl.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/sk.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/ru.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/pt_BR.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/pl.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/nl.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/it.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/hu.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/fr.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/es.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/el.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/de.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/cz.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 0.740741x and height 0.666667x, offsets x: 0 y: 0
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 flashimage_confirm
I:Loading page clear_vars
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 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: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 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 advanced
I:Loading page partsdcardsel
I:Loading page partsdcardcheck
I:Loading page partsdcard
I:Loading page htcdumlock
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 slideout
I:Loading page select_storage
I:Loading page select_language
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Switching packages (TWRP)
SELinux contexts loaded from /file_contexts
Full SELinux support is present.
Startup Commands:
ro.sf.lcd_density=213
ro.com.google.clientidbase=android-google
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.wifi-watchlist=GoogleGuest
ro.url.legal=(googleURL)
ro.boot.baseband=1231_0.18.0_0409
ro.boot.serialno=015d2856954c0c13
ro.boot.bootloader=4.23
ro.omni.device=tilapia
ro.omni.version=5.1.1-20160405-tilapia-HOMEMADE
ro.twrp.boot=1
ro.twrp.version=3.2.1-0
ro.wifi.channels=
ro.allow.mock.location=1
ro.audio.monitorOrientation=true
ro.board.platform=tegra3
ro.build.id=LYZ28J
ro.build.date=Tue Apr 5 04:41:55 EDT 2016
ro.build.date.utc=0
ro.build.host=build
ro.build.tags=test-keys
ro.build.type=eng
ro.build.user=jenkins
ro.build.flavor=omni_tilapia-eng
ro.build.display.id=omni_tilapia-eng 5.1.1 LYZ28J 6 test-keys
ro.build.product=tilapia
ro.build.version.sdk=22
ro.build.version.base_os=
ro.build.version.release=5.1.1
ro.build.version.codename=REL
ro.build.version.incremental=6
ro.build.version.all_codenames=REL
ro.build.version.security_patch=2015-11-01
ro.build.description=omni_tilapia-eng 5.1.1 LYZ28J 6 test-keys
ro.build.fingerprint=Android/omni_tilapia/tilapia:5.1.1/LYZ28J/6:eng/test-keys
ro.build.characteristics=tablet,nosdcard
ro.config.ringtone=Orion.ogg
ro.config.alarm_alert=Argon.ogg
ro.config.notification_sound=pixiedust.ogg
ro.dalvik.vm.native.bridge=0
ro.kernel.android.checkjni=1
ro.secure=0
ro.zygote=zygote32
ro.carrier=unknown
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.cpu.abilist=armeabi-v7a,armeabi
ro.product.cpu.abilist32=armeabi-v7a,armeabi
ro.product.cpu.abilist64=
ro.product.name=omni_tilapia
ro.product.board=grouper
ro.product.brand=Android
ro.product.model=Nexus 7
ro.product.device=tilapia
ro.product.locale.region=US
ro.product.locale.language=en
ro.product.manufacturer=unknown
ro.baseband=1231_0.18.0_0409
ro.bootmode=unknown
ro.hardware=grouper
ro.opengles.version=131072
ro.revision=0
ro.serialno=015d2856954c0c13
ro.bootloader=4.23
ro.debuggable=1
ro.modversion=OmniROM-5.1.1-20160405-tilapia-HOMEMADE
ro.factorytest=0
ro.setupwizard.enterprise_mode=1
tf.enable=y
drm.service.enabled=true
net.bt.name=Android
net.change=net.bt.name
init.svc.adbd=running
init.svc.healthd=running
init.svc.ueventd=running
init.svc.recovery=running
init.svc.set_permissive=stopped
rild.libargs=-d /dev/ttyACM0
rild.libpath=/system/lib/libxgold-ril.so
twrp.crash_counter=0
twrp.action_complete=0
wifi.interface=wlan0
wifi.supplicant_scan_interval=15
debug.nfc.se=false
debug.nfc.fw_download=false
dalvik.vm.isa.arm.features=default
dalvik.vm.heapsize=384m
dalvik.vm.dex2oat-Xms=64m
dalvik.vm.dex2oat-Xmx=512m
dalvik.vm.heapmaxfree=8m
dalvik.vm.heapminfree=512k
dalvik.vm.dexopt-flags=m=y
dalvik.vm.heapstartsize=8m
dalvik.vm.dex2oat-filter=interpret-only
dalvik.vm.heapgrowthlimit=80m
dalvik.vm.stack-trace-file=/data/anr/traces.txt
dalvik.vm.image-dex2oat-Xms=64m
dalvik.vm.image-dex2oat-Xmx=64m
dalvik.vm.image-dex2oat-filter=verify-none
dalvik.vm.heaptargetutilization=0.75
persist.sys.usb.config=mtp,adb
persist.sys.dalvik.vm.lib.2=libart.so
persist.sys.root_access=1
persist.tegra.nvmmlite=1
service.adb.root=1

I:Copying file /cache/recovery/log to /cache/recovery/last_log
tw_get_context got selinux context: u:object_r:system_data_file:s0
I:Got default contexts and file mode for storage files.
I:Attempt to load settings from settings file...
I:InfoManager loading from '/data/media/0/TWRP/.twrps'.
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/015d2856954c0c13'
I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
__bionic_open_tzdata: couldn't find any tzdata when looking for CST6CDT,M3.2.0,M11.1.0!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
I:TWFunc::Set_Brightness: Setting brightness control to 255
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/0/TWRP/BACKUPS/015d2856954c0c13'
I:Enabling MTP during startup
I:Starting MTP
Starting MTP
I:sending message to add 65537 '/data/media/0' 'Internal Storage'
I:Message sent, add storage ID: 65537
MTP Enabled
I:Check_Lifetime_Writes result: '247936'
I:Switching packages (TWRP)
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
created new mtpserver object
MtpServer::run fd: 15
mtppipe add storage 65537 '/data/media/0'
MtpStorage id: 65537 path: /data/media/0
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
I:operation_start: 'Flashing'
Installing zip file '/sdcard/Download/NanoDroid-patcher-16.2.beta1.zip'
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.

********************************
NanoDroid 16.2.99999999
created by @Nanolx
Framework Patcher
Powered by DexPatcher (@lanchon)
********************************

> preparing environment
Archive: /sdcard/Download/NanoDroid-patcher-16.2.beta1.zip
creating: dexpatcher/
inflating: dexpatcher/core_services.jar.dex
inflating: dexpatcher/dexpatcher.dex
inflating: dexpatcher/file.arm
inflating: dexpatcher/file.x86
inflating: dexpatcher/hook_4.1-6.0_services.jar.dex
inflating: dexpatcher/hook_7.0-8.0_services.jar.dex
inflating: dexpatcher/magic.mgc
inflating: dexpatcher/ui_4.1-6.0_Settings.apk.dex
inflating: dexpatcher/ui_4.1-6.0_services.jar.dex
inflating: dexpatcher/ui_7.0-8.0_Settings.apk.dex
inflating: dexpatcher/ui_7.0-8.0_services.jar.dex
inflating: dexpatcher/zip.arm
inflating: dexpatcher/zip.x86
inflating: dexpatcher/75-nanodroidpatcher.sh
creating: META-INF/
creating: META-INF/com/
creating: META-INF/com/google/
creating: META-INF/com/google/android/
inflating: META-INF/com/google/android/updater-script
inflating: META-INF/com/google/android/update-binary
inflating: README.md
inflating: ChangeLog.md
> Android 4.1 - 6.0 (SDK 19) detected
> device architecture: arm

> patching signature spoofing support

>> patching services.jar
Aborted
!! failed to apply patches
Updater process ended with ERROR: 1
I:Legacy property environment disabled.
Error installing zip file '/sdcard/Download/NanoDroid-patcher-16.2.beta1.zip'
Updating partition details...
I:Data backup size is 829MB, free: 25262MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Set page: 'flash_done'
I:operation_end - status=1
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: 'confirm_action'
I:Set page: 'action_page'
I:operation_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /data/media/0/recovery.log

TWRP ver. 3.2.1-0

OS: Slimkat Tilapia 4.4.4 ver. 9.0