Skip to content

Nestvane 1.12

Choose a tag to compare

@everettjf everettjf released this 25 Nov 22:04
· 61 commits to main since this release

Android 17 inside an iPhone or iPad app, with no JIT and no jailbreak. Version 1.12 adds two things asked for in #5: a backup of the whole Android, and the official KernelSU Manager.

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.12

  • Back up and restore Android (#5, item 12). Two new items in the More menu. Back Up Android… stops Android, saves its apps, their data, its settings and your root answers in one file, and lets you choose where to keep it; Android then starts again. Restore Android… puts a backup you choose in place and starts Android from it. What Android had before is kept until Android reaches its home screen from the backup, and put back if it does not get there. The shared folder (On My iPhone → Nestvane → Android) is not in the backup: it is in the Files app already. On an iPhone 14, 507 MB of Android data made a 331 MB backup, and restoring it took under a second. An iPhone backup already includes Android's data; this is for going back to a moment (before trying something with root, say) or for moving only Android.
  • KernelSU Manager (#5, item 5). With root turned on in Nestvane's Settings, the official KernelSU Manager (3.3.1, from KernelSU's releases) shows KernelSU as Working, lists your apps, and its switch for each app allows or refuses root. Its answers and the ones you give in the iOS prompt are the same answers: change one and the other shows it. Only the Manager signed by KernelSU is recognized. KernelSU's driver is answered by Nestvane's own kernel layer; no KernelSU code is in Nestvane. Download the Manager yourself and install it as any APK.
  • Programs inside an app's own files run. An app that ships a program in its native libraries and starts it (as KernelSU Manager, terminal apps and many root tools do) got "Permission denied" in every earlier version. It runs now.
  • A hang fixed. An app that ended another process with SIGTERM, where that process handled SIGTERM itself, stopped there for good. Apps that close a root shell do this.

Start time

On an iPhone 14, the median of five starts to the Android home screen is 8.5 s (8466 ms). That is 78 ms above the 8388 ms recorded for 1.11, but the phone was slower that day: taken in turns on the same phone the same afternoon, 1.11 started in 8584 and 8751 ms and 1.12 in 8552 and 8497 ms. An earlier 1.12 build had been about 400 ms slower, from the way new state was laid out in memory; that is fixed. The recorded baseline stays at 1.11's 8388 ms. Memory at the home screen: 2.64 GB.

Known problems

  • KernelSU modules do not work. The Manager lists none and cannot install one: nothing runs KernelSU's ksud as Android starts, and there are no overlay mounts for a module's files. The Manager also says GKI mode is meant for testing; that note is about real kernels and can be ignored here.
  • KernelSU Manager takes about a minute to show its first screen the first time, while its own tools are set up.
  • No Wi-Fi service yet. An app that asks Android's Wi-Fi service for the Wi-Fi state gets nothing and may stop (KDE Connect does). Planned for 1.14.
  • The home screen does not turn with the device; apps do. On an iPad, Android is laid out as on a phone, and video is decoded in software. All three need Android rebuilt; planned for 1.14.
  • Apps' own native libraries are still interpreted, and apps whose work is there remain slow.
  • Camera recording, Google apps and Play services (this is AOSP), real phone calls and SMS.

Next

1.13: the front camera, and photos and videos that save (#5, item 14). The roadmap (in Chinese).

Install

Nestvane-1.12.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 an iPhone 14 (iOS 17.3.1).
  • A paid Apple Developer Program membership (US$99 a year) is needed.
  • 1.24 GB to download, about 4 GB installed.
  • SHA-256: c513581838e653ab405b879965e0a472e3682e6ca955147a39a7283764a6d6d9

Inside

The app contains an Android 17 system built from the Android Open Source Project with this repository's patch, Android System WebView (AOSP's prebuilt build of Chromium 128.0.6613.88), and gfxstream and ANGLE. Their notices are inside the app, in Licenses/, and attached here as NOTICE-AOSP.txt, NOTICE-WEBVIEW.html 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. WebView's source is Chromium at 128.0.6613.88.

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