jamie72 / XNUQEMUScripts

Some scripts I made to patch iOS device trees.

Home Page:https://worthdoingbadly.com/xnuqemu2/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Some scripts for modifying iOS device trees.

See the tutorial for usage instructions.

  • modifydevicetree.py: modifies an iOS device tree for QEMU.
  • ./runqemu.sh: starts qemu. Assumes kernel at kcache_out.bin, ramdisk at ramdisk.dmg, devicetree at devicetree.dtb, and QEMU at qemu/build-aarch64/qemu-aarch64-softmmu.
  • ./lldbit.sh: starts lldb with required breakpoints to boot iOS to userspace. Requires arm64 capable LLDB, such as the one from Xcode.
  • ./gdbit.sh: starts gdb with required breakpoints to boot iOS to userspace. Requires arm64 GDB, such as gdb-multiarch or devkitA64's gdb.
  • ./linux_installgdb.sh, ./windows_installgdb.sh: downloads Linaro's prebuilt copy of GDB and extracts it to the current directory for ./gdbit.sh.

All scripts are licensed under CC0 - do whatever you want with them.

About

Some scripts I made to patch iOS device trees.

https://worthdoingbadly.com/xnuqemu2/


Languages

Language:Python 70.6%Language:Shell 26.4%Language:GDB 3.0%