Installs IPAs built for a different device family (iPhone / iPad / tvOS) on jailbroken iOS 14+, rootless and rootful, and lets installed apps see a different device. Made mainly for directly installing encrypted (licensed) IPAs.
Three switches in Settings -> CrossFamilyInstall, each skipping one installd check:
- Allow Other Device Family -
UIDeviceFamily. HooksMIIsApplicableToCurrentDeviceFamilyWithErrorinInstalledContentLibrary(see REVERSE_ENGINEERING.md). - Ignore Device Model -
UIRequiredDeviceCapabilities,UISupportedDevices. - Ignore iOS Version -
MinimumOSVersion.
The last two hook Objective-C methods found at load time: methods named
isApplicable... / isCompatible... whose type encoding is exactly
- (BOOL)...WithError:(NSError **) or - (BOOL)...:(id) error:(NSError **). Each candidate
is logged (candidate -[Class selector] ... -> hooked (os)); if nothing matches, the log
says 0 method(s) hooked and the switch does nothing.
This only gets an app installed. An app that needs newer iOS APIs or hardware the device lacks will still crash at launch.
Sets what an installed app sees about the device. Apps lists the installed apps; App Store and its product sheets are right below.
Each app's page has its Enabled switch and two pages: Device Spoofing (below) and Graphics & Performance (see Memory and Graphics). Device Spoofing has two modes: Simple (family, device, iOS; picking a device also fills in its CPU, cores, RAM and GPU) and Advanced (every value separately). Both edit the same values.
| Setting | What the app gets |
|---|---|
| Device Family | UIDevice.userInterfaceIdiom (+ UIDevice.model if no device is set) |
Device (iPad13,16) |
hw.machine (sysctlbyname, sysctl), uname().machine, UIDevice.model |
iOS Version (17.4.1) |
UIDevice.systemVersion, NSProcessInfo version methods, kern.osproductversion |
CPU (Apple A16 Bionic) |
machdep.cpu.brand_string |
| CPU Cores | hw.ncpu and the other core counts, NSProcessInfo processor counts, host_info |
| RAM (MB) | NSProcessInfo.physicalMemory, hw.memsize / physmem / memsize_usable, host_info |
GPU (Apple A16 GPU) |
-[MTLDevice name] |
| GPU Memory (MB) | -[MTLDevice recommendedMaxWorkingSetSize] (iOS 16+) |
The hardware values are for games that check the device before they start (Unity logs
lines like GameSupportChecker: Memory not supported! got 1975MB, expected 3100MB+).
Devices report a bit less RAM than their nominal size, so pick the next step up.
What stays real: #available / @available, since a newer version there makes apps call
APIs that don't exist; UITraitCollection, which UIKit lays itself out from; the real
memory limit, so an app told it has more RAM still gets killed at the real one; and GPU
feature sets, only the GPU name changes.
In the app list: search, swipe to enable or disable, and Select to set the same values on several apps at once.
Also on Device Spoofing, for apps with an iPad and an iPhone interface built in (the iPad one often has better controls or more settings):
| Setting | What the app gets |
|---|---|
| Size Class (Regular / Compact) | UITraitCollection horizontal / vertical size class: what most UIKit apps switch layouts on. iOS 17+: the windows' traitOverrides (reaches every view); all versions: the trait collection getters, with the screen's and windows' trait collections merged so stored and read values agree. Try this first: the screen size stays real. |
| UIKit Idiom (Real / iPad / iPhone) | UITraitCollection.userInterfaceIdiom (same two ways as Size Class), independent of Family, which is what UIDevice reports. UIKit then lays itself out as on that device as well. |
Screen (768x1024@2) |
UIScreen bounds, nativeBounds, scale, nativeScale of the main screen, for apps that pick their layout from the screen size (often older OpenGL games). The game also draws at exactly that resolution. bounds turns with the real screen (or stays Portrait / Landscape for engines that read it once); nativeBounds is portrait, like on a real device. |
| Mode: Fit (default) | The app's windows get exactly the spoofed size and are scaled to fit inside the real screen with their shape kept (letterbox, centred), refitted on rotation. Nothing sticks out: a small square stays a square, a huge size is shrunk. Touches line up by themselves (UIKit maps them through the window's scale). Keyboard windows are left alone. |
| Mode: Report only | Only the reported values change, the window stays real (the older behaviour). For apps that misbehave with Fit. |
| Touches (Report only) | Touches scaled by spoofed / real size in the current orientation, so they still line up after a rotation. Auto does this only in the game's own Metal / OpenGL ES view, so UIKit buttons keep working. |
Screen and Render Scale "Screen" combine (pixels = spoofed size x render scale). Layout and Screen apply on the app's next launch.
The App Store entry lets the store offer and download apps it would call "not supported on this device". That takes getting past three checks:
- The App Store app asks MobileGestalt for performance gates
(
iphone-ipad-minimum-performance-a12and up,iphone-performance-gaming-tier). They are answered for the chosen device's chip, andProductType/HardwarePlatformreport its model and chip. - Apple's servers look at the
User-Agentof store requests (iOS/16.7 model/iPhone10,1 hwp/t8015). It's rewritten in the App Store apps, and inappstoredfor purchases only, so other apps' updates stay for the real device. This is the approach of appstoretroller, which rewrites the iOS version only. - Before the download,
appstoredasksinstalldwhether the device has the app's required capabilities. The answer is corrected only if every mismatch is a performance gate the chosen chip passes; a missing hardware capability keeps the refusal. The install itself is covered by Ignore Device Model.
The iOS version can only be raised. Apple ties the store's sign-in to the device's real
version, and a lower one ends in repeated password prompts and
MZCommerce.ASN.Redownload.BadPasswordToken. That's why the App Store entry only offers
newer versions. To get an older build that runs on the device, get the app with a raised
version, then turn the App Store entry off: the store then offers the last compatible
version, if there is one.
Real limits, not spoofing: for games that load fine on a bigger device and get closed by iOS on this one (typically while loading a level). On each app's Graphics & Performance page:
| Setting | What it does |
|---|---|
| Memory Limit | The app's jetsam limit in MB (how much RAM iOS lets it use before closing it). Presets are shares of the device's real RAM. |
| Soft Limit | Going over the limit only warns; the app is closed only when the whole system runs out. |
| Close Background Apps | While the app is in front, other App Store apps in the background are closed so their memory goes to it. Apps playing audio are kept. |
| Diagnostics | Peak memory of the last run and why it ended (the JetsamEvent reason, e.g. per-process-limit or vm-pageshortage, or a crash report). |
Limits apply on Apply, right away, also to a running app. Memory Status & Tuning on the main page shows RAM and compressor numbers, the daemon's log, and the VM compressor / jetsam kernel tunables this kernel lets root change (many release kernels expose few or none). Changed tunables are put back when cleared, on uninstall and on reboot.
How it works: runningboardd resets app limits on every launch and foreground /
background switch. crossfamilymemd (root) sets them back with memorystatus_control
(when the app reports a state change, every 100 ms while it runs, and on memory
pressure). CrossFamilyMemory inside runningboardd rewrites its limit calls so they
don't fall back at all; it loads after a userspace reboot, everything else works
without it. CLI (root): crossfamilymemd --status, --apps, --probe [all].
Log: memd.log.
iOS already compresses memory in RAM (like zram), and compressed memory still counts against the limit. Swap to flash isn't available on iPhones; GPU memory is neither compressed nor swapped.
Also on Graphics & Performance, for Metal and OpenGL ES games (CrossFamilyGraphics,
loaded only into apps that have one of these set; applies on the app's next launch):
| Setting | What it does |
|---|---|
| Render Scale | Share of the native resolution (25-99%). 75% is ~1.8x fewer pixels, 50% is 4x. |
| Method: Layer (default) | Lowers the Metal / OpenGL ES layer's contentsScale. |
| Method: Screen | Lowers UIScreen scale instead; the app's UI gets softer too. Try it if Layer changes nothing. |
| Frame Rate Limit | 10-120: CADisplayLink, MTKView, GLKViewController, and the present itself for custom loops. On 60 Hz: 60 / 30 / 20. |
| Show FPS | Counter of frames actually presented, top left. |
The Apply button (top right of the main settings page) makes everything live: the install switches and every app's values. Apps pick up their values on their next launch, so close a running app in the app switcher first.
installd has to restart to load changes. Apply posts a Darwin notification, the tweak
inside installd exits, and launchd starts it again. The state also lives in
/var/tmp/com.soulrune.crossfamilyinstall.state, which installd re-checks on every
install, so it applies even if installd wasn't running when a switch changed.
appstored gets the App Store values through cfprefsd, without a restart.
Debug Logs on the main page (applied with Apply) writes detailed logs from every part of the tweak, one file per part, into one folder:
- rootless:
/var/jb/var/mobile/Library/Logs/CrossFamilyInstall/ - rootful:
/var/mobile/Library/Logs/CrossFamilyInstall/
| File | From |
|---|---|
install.log |
installd (install checks) |
spoof.log |
apps with Per-App Spoofing on, appstored: values, hooks, layout traits per window |
graphics.log |
apps with graphics / screen settings: hooks, layer scales, UIScreen values as they change, every window fit (sizes, scale, orientation), touch factor, present path, FPS every ~5 s |
memory.log |
runningboardd: the limits it set and what they became |
memd.log |
crossfamilymemd (always on: limits, closed apps, exit reasons, tunables) |
logd.log |
crossfamilylogd, the collector: what it attached to, what it couldn't read |
Method (modules run inside sandboxed processes):
| Method | How |
|---|---|
| Auto (default) | Logger daemon; if it can't attach in time, Direct, else System log (buffered lines are replayed). |
| Logger daemon | In-memory ring buffer read by crossfamilylogd (root, vm_read). |
| System log | Tagged lines in the system log, filed by crossfamilylogd. |
| Direct | The module writes its file itself (where its sandbox allows). |
Files rotate at 1 MB to .log.old. Apps pick the setting up on next launch.
Clear Logs removes the files.
Get a .deb from Releases or
the Actions artifacts, or build
it yourself (BUILD.md). Requires PreferenceLoader.
# rootless # rootful
make package make package THEOS_PACKAGE_SCHEME=After installing: close Settings and any app you want to use it with (they load the
tweak on their next launch); the daemons start by themselves and installd restarts by
itself. Then Settings -> CrossFamilyInstall, set things up and tap Apply (top
right). Only the extra hold on memory limits inside runningboardd waits for a
userspace reboot (see Memory); no rush.
Confirmed on iPhone 8, iOS 16.7.10, rootless. The hooks rely on private frameworks with
no stability guarantee across iOS versions, so they fail safe: whatever isn't found on a
given iOS is logged and left alone, and installd / the App Store behave as stock. Check
oslog for [CrossFamilyInstall], [CrossFamilySpoof], [CrossFamilyMemory] and
[CrossFamilyGraphics] to see what was hooked.
- tvOS apps will most likely crash on launch.
dyldrefuses frameworks built for another platform; the tweak only clears the installer's check. iPad and iPhone share a platform, so those apps have a real chance of working. - tvOS apps may show no icon on the home screen.