Jump to content

Apple iPhone 6 (apple-n61)

From postmarketOS Wiki
Apple iPhone 6
Manufacturer Apple
Name iPhone 6
Codename apple-n61
Released 2014
Type handset
Hardware
Chipset Apple A8
CPU 1.4 GHz dual core 64-bit ARMv8
GPU PowerVR GX6450
Display 750 x 1334 (IPS LCD, 4.7")
Storage 16, 32, 64, 128 GB
Memory 1 GB
Architecture aarch64
Software
Original software iOS
Original version 8
postmarketOS
Category testing
Pre-built images no
Mainline partial
Features
Flashing
USB Networking
Works
Internal storage
SD card
Battery
Screen
Partial
Touchscreen
Broken
Multimedia
3D Acceleration
Audio
Camera
Camera Flash
Connectivity
WiFi
Bluetooth
GPS
NFC
Modem
Calls
SMS
Mobile data
Miscellaneous
FDE
USB OTG
HDMI/DP
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Haptics
Barometer


The Apple iPhone 6 was an entry-level phone in the iPhone lineup. Featuring NFC, VoLTE, a hi-dpi display, fingerprint sensor, and other nice-to-haves. It also features the early aarch64 Apple A8 SOC.

Fun Fact: Contrary to the name, this is the 8th generation of iPhone.

Contributors

Maintainer(s)

Flashing

You can't currently flash via pmbootstrap, but the kernel can be booted via konradybcio/PongoOS.

Follow this guide to get the starting pieces up and running. If you run into errors compiling pongoOS, remove -Werror from the Makefile's EMBEDDED_CC_FLAGS. Stop after obtaining the dtbpack.

Now, we're going to use pmbootstrap (install it if you haven't already).

Run pmbootstrap init to get ready. Use "apple" for the vendor name and "n61" for the device name.

When choosing a username and password, write them down. They will be important later.

Choose "none" for the user interface. Do not change the presented options. Device hostname doesn't matter, so select whatever you'd like.

Now, run

$ pmbootstrap install
$ pmbootstrap initfs hook_add netboot
$ pmbootstrap export

to retrieve the rootfs and initramfs.

Now, go back to the pongoOS directory and run:

# python3 scripts/load_linux.py -k {path to linux-apple}/arch/arm64/boot/Image.lzma -d {path to linux-apple}/dtbpack -r /tmp/postmarketOS-export/initramfs

If all goes well, you should now see the Waiting for netboot image screen.

To serve the image, run

$ pmbootstrap netboot serve

If you see a tty and a login screen, that means pmOS is working.

Now's when we use the username and password we set.

Do:

$ ssh {username}@172.16.42.1 # Enter the password when prompted

Connecting to the internet over USB is recommended.

Users owning this device

  • Justsoup (Notes: A1549 / 32G / Mainline Porting)


See also