The Sandcastle project prepared Linux and Android builds for installation on the iPhone 7

Project Sandcastle ΠΎΠΏΡƒΠ±Π»ΠΈΠΊΠΎΠ²Π°Π» assembly Linux and Android, suitable for installation on iPhone 7 and 7+ smartphones in addition to iOS. The project also provides limited support for the iPod Touch 7G and is being ported to various iPhone 6, 8, X, 11 and iPod Touch 6G models. Developments published on GitHub.

The builds are in beta testing and do not cover some features, for example, sound, camera, GPU acceleration, making calls through mobile operators are not supported. At the same time, when using the iPhone 7, Wi-Fi, Bluetooth, screen output, multi-touch, power management, I2C, SPI, USB, AIC, NAND Flash, APCIe, DART and the Tristar charge management chip work. Compared to iPhone 7, when using Sandcastle, Wi-Fi, Bluetooth, and multi-touch are not available on iPod Touch 7G.

To remove the protection that binds the device to the Apple firmware, offered use jailbreak toolkit checkra1n. Firmware loading directly from the Flash device and stored using the native APFS file system (a new partition is created), which allows Sandcastle to coexist with iOS. The original firmware from iOS is saved and at any time the user can reboot the device of his choice into an environment with iOS or Android. Instructions for installing Sandcastle are provided in the "README.txt" file located inside the downloads zip archives (after installing checkra1n, you need to copy the setup.sh, loadlinux.c and Android.lzma files to your phone, run setup.sh, build loadlinux and run "loadlinux Android.lzma dtbpack").

A modified driver is used to access the APFS file system linux-apfs, extended with support for parallel mounting of subsections and the ability to work with compressed files. Despite the fact that the APFS implementation used supports write mode, this mode is still experimental and partitions are mounted in read-only mode by default (data in the Android environment is not saved and is lost after a restart).

The project uses modified vanilla linux kernel. To build a Linux system environment applies buildroot. Android environment based on platform Android 10. Default home screen openlauncher and the messaging program Signal. To install Android applications, it is proposed to use the adb utility. Java APKs are supported. ARMv8 executable APKs require a rebuild (ARMv7 packages are not supported).

The goal of the development is to give iPhone users the freedom to choose a platform and get rid of the restrictions and bindings to the equipment imposed by Apple. According to the developers of the project, the owner of the equipment is the user who bought the phone, and not Apple, so he is free to install any operating systems on the devices.

Development is carried out by a team that developed the project ten years ago iPhone Linuxand now working for the company Corellium, which offers a cloud service with iOS virtual environments for developers. Apple last year filed a legal action against Corellium for bypassing iOS protection and device binding (jailbreak).

Source: opennet.ru

Add a comment