Skip to content

Patching kernel fails? #152

@LucaCraft89

Description

@LucaCraft89

here is the log

Now you can boot untrusted images.
[libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227
Found the USB handle.
+ sleep 1
+ /home/luca/Downloads/downr1n-main/binaries/Linux/iBoot64Patcher work/iBSS.dec work/iBSS.patched -n
+ /home/luca/Downloads/downr1n-main/binaries/Linux/img4 -i work/iBSS.patched -o work/iBSS.img4 -M work/IM4M -A -T ibss
++ awk '/d211ap/{x=1}x&&/iBoot[.]/{print;exit}' work/BuildManifest.plist
++ grep '<string>'
++ cut '-d>' -f2
++ cut '-d<' -f1
++ sed 's/Firmware[/]all_flash[/]//'
+ /home/luca/Downloads/downr1n-main/binaries/Linux/gaster decrypt work/iBoot.d21.RELEASE.im4p work/iBEC.dec
+ sleep 1
++ '[' 0x8015 = 0x8960 ']'
++ '[' 0x8015 = 0x7000 ']'
++ '[' 0x8015 = 0x7001 ']'
+ /home/luca/Downloads/downr1n-main/binaries/Linux/iBoot64Patcher work/iBEC.dec work/iBEC.patched -b '-v wdt=-1 ' -n
++ [[ 0x8015 == *\0\x\8\0\1* ]]
++ echo ibss
+ /home/luca/Downloads/downr1n-main/binaries/Linux/img4 -i work/iBEC.patched -o work/iBEC.img4 -M work/IM4M -A -T ibss
+ '[' '' = 1 ']'
+ printg '[*] Patching the kernel'
+ echo -e '\033[1;32m[*] Patching the kernel\033[0m'
[*] Patching the kernel
++ '[' '' = 1 ']'
++ '[' '' = 1 ']'
++ [[ 16.6.1 = \1\5\.* ]]
++ [[ 16.6.1 = \1\4\.* ]]
++ [[ 16.6.1 = \1\3\.* ]]
+ /home/luca/Downloads/downr1n-main/binaries/Linux/Kernel64Patcher work/kcache.raw work/kcache.patched
+ [[ iPhone10,5 == *\i\P\h\o\n\e\8* ]]
+ [[ iPhone10,5 == *\i\P\a\d\6* ]]
+ [[ iPhone10,5 == *\i\P\a\d\5* ]]
+ python3 -m pyimg4 im4p create -i work/kcache.patched -o work/kcache.im4p -f rkrn --lzss
Usage: python -m pyimg4 im4p create [OPTIONS]
Try 'python -m pyimg4 im4p create --help' for help.

Error: Invalid value for '-i' / '--input': 'work/kcache.patched': No such file or directory
++ _exit_handler
++ '[' Linux = Darwin ']'
++ '[' 0 -eq 0 ']'
++ exit

i am on Debian 13 on a Dell Inspiron 16 with AMD CPU

phone is Iphone 8 plus (GSM), iPhome 10,5
It is now on 16.7.21
want to downgrade to 16.6.1

i addedd --downgrade 16.6.1 and --debug to command

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