Skip to content

Nestvane 1.14

Choose a tag to compare

@everettjf everettjf released this 26 Nov 20:26
· 36 commits to main since this release

Android 17 inside an iPhone or iPad app, with no JIT and no jailbreak. Version 1.14 fixes problems found after 1.13 was released: apps with a WebView no longer crash after a few seconds, apps that use the older camera interface can open the camera, and Android's data no longer grows with free space that every start had to read through.

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

  • WebView no longer crashes. Chromium locks and unlocks its discardable memory with ashmem's pin and unpin requests, which Nestvane's kernel layer refused. Chromium then freed memory that was still in use, and about eleven seconds after a WebView opened its renderer crashed and Android ended the app showing it (1.12 and 1.13 both did this). The kernel layer now answers those requests. On an iPhone 14 a WebView test app stayed open through three rounds of 25 seconds, and eight apps opened three times each in one start without a crash.
  • Apps that use the older camera interface (Camera API 1) can open the camera. Android's built-in video sizes stop at 352×288, so Camera API 1 offered no preview size for the 640×480 cameras. Nestvane now gives Android media profiles with 640×480. Open Camera (from F-Droid) took photos and recorded a six-second video with sound on an iPhone 14.
  • Android's data stays compact. Android's /data is kept in one database that is read in full at every start. After many apps are installed and removed it is mostly free space (on the test phone, 209 MB holding 45 MB of records). When more than a quarter of it is free, it is now compacted when Android starts; that made starting about 170 ms faster on an iPhone 14.

Start time

The boot check did not pass; the gap is under 5% and was the same for 1.11, so this release ships. On an iPhone 14, the median of five starts to the Android home screen is 8.7 s (8665 ms), 3.3% above the 8388 ms recorded for 1.11. Taken in turns on the same phone the same afternoon, 1.11 (built from its tag) started in 8560 and 8562 ms and 1.14 in 8533 and 8665 ms. The recorded baseline stays at 1.11's 8388 ms.

Memory 36 s after launch is 3.00 GB, as in 1.13: four apps Android wakes after it starts are already running at that moment.

Known problems

  • The camera gives 640×480 only, and a video that fails to record leaves an empty hidden .pending- file in DCIM/Camera.
  • Apps that do not open yet: NetEase Cloud Music, 12306, Zhihu, Mihon, WPS, Session (needs the Wi-Fi service, 1.16), bilibili, Quark, UC, iQIYI, Opera, LocalSend (too slow), Zoom (its window stays blank). Baidu Netdisk ships only 32-bit code, which Nestvane does not run. The list.
  • KernelSU modules do not work.
  • No Wi-Fi service yet. An app that asks Android's Wi-Fi service for the Wi-Fi state gets nothing and may stop. Planned for 1.16.
  • 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. Planned for 1.16.
  • Apps' own native libraries are still interpreted, and apps whose work is there remain slow.
  • Google apps and Play services (this is AOSP), real phone calls and SMS.

Next

1.15 fixes what the second round of feedback in #5 found that needs no rebuild; rebuilding Android moves to 1.16: the tablet layout on iPad, hardware video decoding, the home screen turning with the device, and the Wi-Fi service. The roadmap (in Chinese).

Install

Nestvane-1.14.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: ccb5af72d40acbd2ed5533d54b0ba9d0331a9750620841059d568a2915f8d83a

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.