Repository navigation
Nestvane 1.8
Android 17 inside an iPhone or iPad app, with no JIT and no jailbreak. Version 1.8 is a release of small fixes: storage that adds up, a way to clear background apps, root shells, and a crash of Android's system server fixed.
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.8
- Storage that adds up. 1.7 gave Android's data partition the whole volume, and Android adds the system partition to it before rounding up, so a 256 GB iPhone showed 512 GB. Now the total is the device's: 128 GB on a 128 GB iPad, with the same amount used as iOS shows.
- Clear background apps. Touch and hold Home in Nestvane's bar and choose Clear Background Apps. Recent tasks other than the app on the screen are removed, your apps in the background are ended, and Android's cached processes with them. System processes and the app in front are left alone. On an iPad Air memory went from 4.42 GB to 2.83 GB.
- Android's system server no longer aborts on a death notice. When a process died while another thread was calling it, Nestvane's Binder gave the death notice to that thread, and its reply then went to the wrong call:
system_serveraborted ("Unexpected BR_REPLY") and Android restarted. Clearing background apps with a WebView among them did this two times in three, and Android ending an app could too. Death notices are now work for the whole process, as in Linux, and a reply goes only to the thread waiting for that very call. - Root shells. An app can start
suand keep writing commands to it, as terminal apps and most root apps do. - Names in the root prompt. The iOS prompt and the list in Settings show the app's name and its package, not the package alone.
Checked after release
- The microphone records. With the microphone allowed for Nestvane in iOS, a test app on an iPad Air recorded the room: Android received 16 kHz mono at about 31 KB a second, with peaks of 787 to 947 where silence is 0. It has not been judged by ear.
- Turning an iPad by hand turns Android. Twice to landscape and back with Android's Settings open; Settings turned each time, the right way up.
Start time
On an iPhone 14, the median of five starts to the home screen is 9.1 s (8.9 to 9.3 s), against 10.9 s for 1.7's recorded baseline. Measured in turn on the same phone with the same apps, 1.8 took 11.0 and 9.1 s and 1.7 took 9.1 s: the two start in the same time, and the lower figure comes from a cooler, quieter phone. Memory at the home screen is 2.62 GB. On an iPad Air the second start after installing took 7.6 s.
Known problems
- The home screen does not turn with the device. Apps turn. Planned for 2.2.
- Android has no Wi-Fi service: an app that insists on one stops (KDE Connect). Planned for 2.2.
- Apps' own native libraries are interpreted and remain slow: ScriptWidget's widget previews do not appear, and Douyin showed no video. Planned for 1.9.
- On an iPad, Android is laid out as on a phone. Video is decoded in software. Both need Android rebuilt; planned for 2.3.
- Large apps start slowly. Camera recording. Google apps and Play services (this is AOSP). Real phone calls and SMS.
Next
1.9 makes apps' own native libraries faster, by work that helps every app and every version. 2.0 tries to do without the paid developer account, 2.1 brings KernelSU compatibility, 2.2 the home screen turning, a live shared folder, IPv6 and a Wi-Fi service, and 2.3 a tablet layout and hardware video decoding. The roadmap (in Chinese).
Install
Nestvane-1.8.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) and an iPad Air 11-inch M3 (iPadOS 27.0.1).
- A paid Apple Developer Program membership (US$99 a year) is needed.
- 1.24 GB to download, about 4 GB installed.
- SHA-256:
2913f4cfef656391038cd94108df490ae5a2f5aecf652728f19afb811f26fad2
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.