Jump to content

Apple iPhone 8 (apple-d20)

From Nura Wiki
Note This device is supported as part of a generic port. Refer to Apple_Generic_iDevice_(apple-idevice) for installation instructions and more information.
Apple iPhone 8
iPhone 8
iPhone 8
Manufacturer Apple
Name iPhone 8
Codename apple-d20
Released 2017
Type handset
Hardware
Chipset Apple A11
CPU 2.39 GHz hexa-core 64-bit
GPU Custom Tri-Core Apple GPU
Display 750x1334 (326 ppi) Retina IPS LCD
Storage 64GB, 128GB, 256GB
Memory 2GB
Architecture aarch64
Software
Original software
The software and version the device was shipped with.
iOS 11
Extended version
The most recent supported version from the manufacturer.
iOS 16.7.11
Nura
Category testing
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
yes
Nura kernel
The kernel version that runs on the device's port.
7.0.12-0
Generic port Apple_Generic_iDevice_(apple-idevice)
Device package device-apple-idevice
Kernel package linux-postmarketos-apple-16k
Features
Flashing
Whether it is possible to flash the device with pmbootstrap flasher.
Untested
USB Networking
After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system).
Untested
Battery
Whether charging and battery level reporting work.
Untested
Screen
Whether the display works; ideally with sleep mode and brightness control.
Untested
Touchscreen
Untested
Multimedia
3D Acceleration
Untested
Audio
Audio playback, microphone, headset and buttons.
Untested
Camera
Untested
Connectivity
Wi-Fi
Untested
Bluetooth
Untested
GPS
Untested
NFC
Near Field Communication
Untested
Modem
Calls
Untested
SMS
Untested
Mobile data
Untested
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Untested
USB OTG
USB On-The-Go or USB-C Role switching.
Untested
Sensors
Accelerometer
Handles automatic screen rotation in many interfaces.
Untested
Magnetometer
Sensor to measure the Earth's magnetism
Untested
Ambient Light
Measures the light level; used for automatic screen dimming in many interfaces.
Untested
Proximity
Untested
Hall Effect
Measures magnetic fields; usually used as a flip cover sensor
Untested
Barometer
Sensor to measure air pressure
Untested
Power Sensor
Sensor to monitor current, voltage and power. Not fuel gauge!
Untested

Contributors

Users owning this device

Booting

Follow the guide from Apple Generic iDevice (apple-idevice)#Booting

What do to now?

Currently, not much is possible.

Accessing the terminal

$ telnet 172.16.42.1 23

Unpacking and repacking the initramfs

You'd want to do this to add more software / modify the filesystem.

Set up working directory
$ mkdir initramfs
$ mv initramfs.gz initramfs/
$ cd initramfs/

Unpack the initramfs
# zcat initramfs.gz | cpio -iv --make-directories

Remove the residue
$ rm initramfs.gz

Do your modifications here!
e.g. mv $(which neowofetch) bin/neowofetch (as root)

Re-pack it!
# find . | cpio -ov --format=newc | gzip -c -1 > initramfs.gz

At this point, you can re-make the m1n1 blob and re-boot your iPhone 8 and you'll use the new initramfs.