Repository navigation
Closed
Description
When the script comes to the building stage, it errors out like this:
mintvm@mint-vm:~/Downloads/ios3ds-0.3.0$ python3 install.py iPod2,1_4.2.1_8C148_Restore.ipsw
ios3ds installer (m1-0.2-15-gcc88384-20261119.2203)
== 1. Checking this PC
Python 3.12.3, cryptography, HFS+ tool prebuilt/hfsplus-linux-x86_64
== 2. Extracting your IPSW (kernel, device tree, root filesystem; a few minutes)
[fwprep] crypto backend: cryptography
[fwprep] IPSW: iPod2,1 iOS 4.2.1 (8C148)
[fwprep] IPSW sha1 b9efddc7bb4350c237a8d3846af61bbfc8a2f647 (matches Apple's published file)
[fwprep] keys: fetching https://api.ipsw.me/v4/keys/ipsw/iPod2,1/8C148
[fwprep] kernel: root:xnu-1504.58.28~3/RELEASE_ARM_S5L8720X, entry 0x80067050, 99 kexts, 8273920 bytes
[fwprep] devicetree: 38940 bytes, 77 nodes, round-trip OK
[fwprep] rootfs: decrypting 038-0014-002.dmg (311 MiB)
[fwprep] decrypt 100.0% (311/311 MiB)
[fwprep] udif partition: Driver Descriptor Map (DDM : 0) first=0 sectors=1
[fwprep] udif partition: (Apple_Free : 1) first=1 sectors=3
[fwprep] udif partition: Apple (Apple_partition_map : 2) first=4 sectors=60
[fwprep] udif partition: Macintosh (Apple_Driver_ATAPI : 3) first=64 sectors=4
[fwprep] udif partition: (Apple_Free : 4) first=68 sectors=4
[fwprep] udif partition: disk image (Apple_HFSX : 5) first=72 sectors=1287512
[fwprep] udif partition: (Apple_Free : 6) first=1287584 sectors=12
[fwprep] inflate 93.9% (590/628 MiB)[fwprep] rootfs: HFS+ volume OK (HX), 628 MiB
[fwprep] done -> /home/mintvm/Downloads/ios3ds-0.3.0/ios3ds-work/staging
== 3. Patching the kernel, building the iOS disk image (a few minutes)
Traceback (most recent call last):
File "/home/mintvm/Downloads/ios3ds-0.3.0/install.py", line 5, in <module>
runpy.run_path(os.path.join(os.path.dirname(os.path.abspath(__file__)), "scripts", "install.py"),
File "<frozen runpy>", line 286, in run_path
File "<frozen runpy>", line 98, in _run_module_code
File "<frozen runpy>", line 88, in _run_code
File "/home/mintvm/Downloads/ios3ds-0.3.0/scripts/install.py", line 287, in <module>
main()
File "/home/mintvm/Downloads/ios3ds-0.3.0/scripts/install.py", line 255, in main
build_tree(staging, tree, a.prebuilt, hfs, cydia=not a.no_cydia,
File "/home/mintvm/Downloads/ios3ds-0.3.0/scripts/install.py", line 148, in build_tree
mksd.build_tree(args)
File "/home/mintvm/Downloads/ios3ds-0.3.0/scripts/mksd.py", line 60, in build_tree
mkboot.build(args.staging, os.path.join(tree, "ios3ds"), cmdline=args.cmdline,
File "/home/mintvm/Downloads/ios3ds-0.3.0/scripts/mkboot.py", line 166, in build
import dtgen
File "/home/mintvm/Downloads/ios3ds-0.3.0/kernel/dtgen.py", line 44, in <module>
import dt_mcu # noqa: E402
^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'dt_mcu'
Every subsequent step that imports this module fails like this due to it being supposedly missing.
I'm using the latest release 0.3.0 of the script and satisfy all dependencies to build the image. The host is Linux Mint XFCE 22.2 x64.
Am I doing something wrong or is something broken here?
Metadata
Metadata
Assignees
Labels
No labels
Activity
Jaylink5353 commentedon Nov 19, 2026
Also having this problem with the 0.3.0 script.
devilAPI commentedon Nov 20, 2026
Fixed: the 0.3.0 zip was missing one file. Until the next release (in about 12 hours there will be the next one), run this inside the extracted
ios3ds-0.3.0folder, then reruninstall.py:Marda33 commentedon Nov 20, 2026
Can confirm it successfuly builds and boots on my O3DS XL now.
3.1.3/2.2.1 shim: replay the kernel's 'mrs sp,spsr' after the IRQ hook
Release zip: ship tools/ios3ds-mcu/dt_mcu.py; mkrelease refuses a zip…