Skip to content

Nestvane 1.5

Choose a tag to compare

@everettjf everettjf released this 24 Nov 01:28
· 167 commits to main since this release

Android 17 inside an iPhone or iPad app, with no JIT and no jailbreak. Version 1.5 makes more apps start, turns Android with the device, plays 1080p video, and gives Android apps the microphone.

Nestvane is still for developers only. The only way to run it is to sign the IPA with a paid Apple Developer Program membership (US$99 a year) and sideload it.

New in 1.5

  • More apps start. Fifty-four apps have now been tried and fifty open: the list. Among the thirty-two tried for this version are Telegram, Signal, Firefox (Fennec), Element, OsmAnd, Nextcloud, Joplin, and Toutiao and Douyin. What they needed:
    • Keys. No app could make a key in Android's keystore, so Signal and Element stopped as they started, as would any app that keeps its settings encrypted.
    • Named pipes, made with mkfifo and watched for changes, which Element's database needs.
    • About seventy more instructions in the interpreter that runs apps' own native libraries. Telegram stopped on one of them. Each vector instruction is run on a Mac's processor and in the interpreter with the same operands and the results compared: 557 cases.
    • Room for large apps. A package may be up to 1 GiB (Douyin's is 271 MB), Android may have 4,096 threads, and an app's Java code 256 MB.
    • Host names whose answer goes through several aliases resolve.
  • Landscape. Turn the device and Android's apps turn with it. An app that asks for landscape, a game for example, is shown the right way up.
  • 1080p video. H.264 and HEVC play at 1080p and 30 frames a second with Android's software decoders. Before, an HEVC video stopped the decoder.
  • The microphone. An Android app that records is given the device's microphone; iOS asks you the first time. This is new and has only been seen as far as Android starting to record: what it records has not been listened to yet.

Known problems

  • Web pages inside apps do not work: the Android system has no WebView. Toutiao and Douyin open, but nothing loads in them: their network library needs one. AnkiDroid and Jellyfin need one too.
  • On an iPad, Android is laid out as on a phone. At a tablet's density this build of Android does not work.
  • The home screen does not turn with the device: it keeps the way Nestvane was started. Apps turn.
  • Large apps start slowly. Firefox takes up to two minutes to its first screen, Element about a minute.
  • Video is decoded in software, not by the phone's decoder. Camera recording.
  • Android has no Wi-Fi service: an app that insists on one stops (KDE Connect).
  • Google apps and Play services: this is AOSP. TikTok and YouTube were not tried.
  • An app's own native libraries are interpreted and slow.
  • Real phone calls and SMS.

Install

Nestvane-1.5.ipa carries no signature and no provisioning profile. Sign it with your own Apple developer identity, with the Extended Virtual Addressing and Increased Memory Limit capabilities, then install it: docs/installing.md. Installing over an earlier version with the same identity keeps Android's apps and data.

  • iOS or iPadOS 17 or later, and at least 6 GB of memory. This version was tested on iPhone 14 (iOS 17.3.1) and, before its last changes, on iPad Air 11-inch M3 (iPadOS 27.0.1).
  • A paid Apple Developer Program membership (US$99 a year) is needed.
  • 1.07 GB to download, about 3.3 GB installed.
  • SHA-256: 61d1127d2473c69c572cf20362079a50f0619189194eed96794b1962daba93e4

Measured

On an iPhone 14 with about a dozen apps installed.

Boot to the Android home screen 10.9 to 12.4 s; about 15 s the first time after installing
Memory footprint at the home screen 2.43 to 2.56 GB
1920×1080 H.264 video, 6 Mbit/s 30 frames a second, in step with the clock, half of one processor core
1920×1080 HEVC video, 4 Mbit/s in step with the clock; 29 to 31 frames a second once settled
Text message, announced to apps yes
Installing an APK 0.7 s

The 1.4 code on the same phone in the same hour reached the home screen in 10.0 to 10.5 s.

Not tried: the final build on an iPad or on an iPhone 15 Pro or 17 Pro, what the microphone records, the device physically turned by hand (the turn was asked for by the tests), video above 1080p, iOS 18, a cellular network without IPv4, sound judged by ear, and a phone that is really hot.

Inside

The app contains an Android 17 system built from the Android Open Source Project with this repository's patch, and gfxstream and ANGLE. Their notices are inside the app, in Licenses/, and attached here as NOTICE-AOSP.txt and THIRD-PARTY-NOTICES.txt. Nestvane's own code is under the Apache License 2.0.

A few parts of that Android system, iptables and libexif among them, are under the GPL or the LGPL. Their source is AOSP at android-17.0.0_r1 with this repository's patch; for three years from this release AtomSprout will also send a copy to anyone who asks at atomsprout@gmail.com, for no more than the cost of the transfer.

With thanks to Twoyi and Kernarium: how the three compare.