Repository navigation
Nestvane 1.11
Android 17 inside an iPhone or iPad app, with no JIT and no jailbreak. Version 1.11 is about the network, recordings and freezes, from the feedback in #5: apps see Wi-Fi, IPv6 works, Android finally has a low-memory killer, and a new menu item exports what Android is doing when it seems stuck.
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.11
- Apps see Wi-Fi (#5, item 4). Android's network is now reported to apps as a connected, validated Wi-Fi network. Many apps count only Wi-Fi and cellular as being online, and took the Ethernet network Android had before for no network at all. That is the most likely reason for "no internet"; it could not be reproduced here, so please say in #5 whether it helps.
- IPv6. Where the phone's network has IPv6, Android looks up IPv6 addresses and connects to them; IPv4 is still tried first when a name has both. On a network with no IPv4 at all, IPv4 addresses go through the network's NAT64 gateway, as before.
- Export Diagnostics (#5, item 10), in the More menu. When Android seems frozen, it writes one text file and opens the share sheet. The file has what every Android thread is waiting for, memory, the system server's Java stacks and Android's recent log. Please attach it in #5. The log can name your apps and accounts, so read it before you share it.
- A low-memory killer, and room for new apps. Android's low-memory daemon (
lmkd) stopped at its very first system call in every earlier version, so Android never knew which apps it could end. It runs now, from when the home screen is up. When a new app finds no room left in the address space iOS gives Nestvane, the cached app Android ranks lowest is ended and the new one starts. Before, it did not start, and the app you tapped never opened: with a few large apps started at boot this happened within a minute on an iPhone 14. This is one cause of the freezes in #5, item 10. - Screen recordings (#5, item 8). The system's screen recorder records and saves: a 10-second recording on an iPhone 14 came out at 668 KB, listed in the media library. The empty (0 KB) recordings could not be reproduced. They were most likely the media-library wait that 1.10 fixed. Please try again and say in #5.
- A gentler update notice. The note at the bottom of the screen about a new version now comes once for each version; after that only the More menu and Settings mention it.
- Recording sound (#5, item 13). Sample rate and channels arrive as asked (48 kHz mono, 44.1 kHz stereo). One way it went wrong is fixed: when iOS changed the microphone's format in the middle of a recording (another sound, headphones), the recording stood still or went on at the old rate. A short recording or the app's name would still help.
Start time
On an iPhone 14, the median of five starts to the Android home screen is 8.4 s (8388 ms), against 8.7 s (8747 ms) for 1.10. Memory at the home screen: 2.64 GB.
The new features first made the start slower, so 1.11 also makes it faster: closing a file or reading from a socket no longer wakes every waiting Android thread (26,000 times before the home screen), the table that finds translated code is no longer written to its file one system call per page, and looking up a file's inode and mount point no longer walks lists of thousands of entries. The Wi-Fi service stays out because it cost 0.3 s.
Known problems
- 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). The service was ready, but it made the start 0.3 s slower, so it waits until it can start without that. Apps that use the old
NetworkInfo.getType()still see Ethernet: changing that needs Android rebuilt (1.14). - Screen recordings are choppy, about 6 frames a second: the video encoder is Android's software one.
- The home screen does not turn with the device; apps do. Planned for 1.14, with Android rebuilt.
- On an iPad, Android is laid out as on a phone. Video is decoded in software. Both 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.12: KernelSU (#5, item 5) and backup and restore of the whole Android (#5, item 12). 1.13: the camera (#5, item 14). The roadmap (in Chinese).
Install
Nestvane-1.11.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:
59b34dbce3c0fc0bc1248b181c8b46df56d88681cb2264c831d83cd5e70fb6ef
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.