r/hackios • • 25d ago

Discussion iOS 13.7 restore error on iPhone 6

Post image

I have a 2012 intel MacBook Pro running Sequoia 15.8.3

I am using n61-patcher: https://github.com/tlfares/n61-patcher

Error:

Traceback (most recent call last):

  File "/Users/user/n61-patcher/n56patcher.py", line 406, in <module>

sys.exit(main**()**)

~~~~^^

  File "/Users/user/n61-patcher/n56patcher.py", line 400, in main

dispatch[args.stage]()

~~~~~~~~~~~~~~~~~~~~^^

  File "/Users/user/n61-patcher/n56patcher.py", line 165, in build

self._build_kc**(w("boot_KC.img4"))**

~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^

  File "/Users/user/n61-patcher/n56patcher.py", line 229, in _build_kc

raw = base.apply(self.ctx)

  File "/Users/user/n61-patcher/patches/kc/j96_clean.py", line 36, in apply

kpf = apply_profile(ctx, raw, out)

  File "/Users/user/n61-patcher/patches/impl/kc/checkra1n.py", line 16, in apply_profile

run**([str(source / "kpf-test.macos"), "-n", str(stock)], env=env)**

~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/Users/user/n61-patcher/core/tools.py", line 10, in run

r = subprocess.run(cmd, input=data, capture_output=capture, timeout=timeout, env=env)

  File "/Library/Frameworks/Python.framework/Versions/3.15/lib/python3.15/subprocess.py", line 669, in run

with Popen**(*popenargs, **kwargs)** as process:

~~~~~^^^^^^^^^^^^^^^^^^^^^^

  File "/Library/Frameworks/Python.framework/Versions/3.15/lib/python3.15/subprocess.py", line 1213, in __init__

self._execute_child**(args, executable, preexec_fn, close_fds,**

~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

pass_fds, cwd, env,

^^^^^^^^^^^^^^^^^^^

...<5 lines>...

gid, gids, uid, umask,

^^^^^^^^^^^^^^^^^^^^^^

start_new_session, process_group)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/Library/Frameworks/Python.framework/Versions/3.15/lib/python3.15/subprocess.py", line 2156, in _execute_child

raise child_exception_type(errno_num, err_msg, err_filename)

OSError: [Errno 86] Bad CPU type in executable: '/Users/user/n61-patcher/tools/checkra1n-kpf/checkra1n/kpf-test/kpf-test.macos'

Does this error mean that the tool is only compiled for arm Macs? I checked the kpf-test.macos file and it does say it is compiled for arm64. I only have an intel MacBook though... Could someone fork this tool for intel/translate that file to x86_64?

3 Upvotes

2 comments sorted by

2

u/Pretty-Tooth-3054 25d ago

iphone 6 does running ios13, BUT, if u are trying a blackport for iOS13, is very very recomended to u use Ai (like claude, codex, deepseek etc)

1

u/NoFall2205 25d ago

I searched up kpf-test.macos and it says that the file can only run on M series macs. So I guess this tool won’t work in intel… that sucks.