Jump to content

Apple iPhone 6 (apple-n61)

From postmarketOS Wiki
Apple iPhone 6
File:apple-iphone6_xfce4.jpeg
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
The version the device was shipped with.
8
postmarketOS
Category testing
Pre-built images
Whether pre-built images are available here.
no
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
partial
pmOS kernel
The kernel version that runs on the device's port.
6.13.0_rc6
Features
Flashing
It is possible to flash the device with pmbootstrap flasher.
Broken
USB Networking
After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system).
Works
Battery
Charging and battery level reporting works
Broken
Screen
Display works. Ideally with sleep mode and brightness control.
Partial
Touchscreen
Broken
Multimedia
3D Acceleration
Broken
Audio
Audio playback, microphone, headset and buttons.
Broken
Camera
Broken
Connectivity
WiFi
Broken
Bluetooth
Broken
GPS
Broken
Modem
Calls
Broken
SMS
Broken
Mobile data
Broken
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Broken
USB OTG
USB On-The-Go or USB-C Role switching
Broken
Sensors
Accelerometer
Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile
Broken


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)

How to Enter Flash Mode

1. Plug the device into your computer.

  • Only lightning to USB-A cables have been tested. YMMV with lightning to USB-C.

2. Power off the device.

3. Enter DFU mode.

  • Hold Power for 3 seconds.
  • Hold Power and Home for 8 seconds.
  • Release Power but keep holding Home for 10 seconds.

4. Verify DFU mode.

Notice Your display should remain black. If the Apple logo appears you will have to redo the steps above.

Type lsusb into your console. A new device including the text (DFU Mode) should appear.

Flashing

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

Follow this guide to get the starting pieces up and running.

Prerequisites

Warning WARNING: Compilation of these tools on Alpine is broken currently. You can get some pre-compiled binaries here.
TODO TODO: Document extracting dtbs from kernel package.


$ pmbootstrap init
Select 'apple' for vendor and 'n61' for codename
$ pmbootstrap install
Optionally enable netboot
$ pmbootstrap initfs hook_add netboot
Get the linux and initramfs
$ pmbootstrap export
Prep the m1n1 bootloader
$ cat path/to/m1n1.bin \
    path/to/boot/dtbs/apple/*.dtb \
    /tmp/postmarketOS-export/vmlinuz  \
    /tmp/postmarketOS-export/initramfs \
    > m1n1-linux.bin
Use palera1n to boot PongoOS
$ PALERA1N_BYPASS_PASSCODE_CHECK=1 doas palera1n -f -k path/to/Pongo.bin
Boot postmarketOS!
$ printf '/send path/to/m1n1-linux.bin\nbootm\n' | doas path/to/pongoterm

At this point your device should have gone through PongoOS, m1n1, and now be showing the postmarketOS bootsplash!

Netboot

Warning WARNING: Netbooting is broken currently for all devices. For more information look here.

If you enabled netbooting during the flashing setup you can use it to boot a rootfs. To serve the rootfs, run:

$ pmbootstrap netboot serve

If you see a tty and a login screen, that means pmOS is working! Now you can go through the usual procedures. (Using ssh, getting internet, etc.)

Users Owning This Device

  • AskorbinovayaKislota (Notes: killed by a broken lightning cable)
  • Choc
  • Clygro (Notes: 16GB iOS 8.4, 64GB iOS 11.2.6, low battery capacity)
  • JoseskVolpe (Notes: iPhone 6 Plus variant)
  • Justsoup (Notes: A1549 / 32G / Mainline Porting)
  • MelvinSGjr (Notes: My phone for test and fun, I have two of these phones, on one of them the microphone, some things from the speaker and fingerprint don't work)
  • Randomtek (Notes: Aftermarket display, earpiece, battery)
  • V6lhost (Notes: EMMC Burned. Needs new motherboard but PongoOS boots.)

See Also

External Links