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
postmarketOS kernel 6.13.0_rc6
Features
Flashing
Broken
USB Networking
Works
Battery
Broken
Screen
Partial
Touchscreen
Broken
Multimedia
3D Acceleration
Broken
Audio
Broken
Camera
Broken
Connectivity
WiFi
Broken
Bluetooth
Broken
GPS
Broken
Modem
Calls
Broken
SMS
Broken
Mobile data
Broken
Miscellaneous
FDE
Broken
USB OTG
Broken
Sensors
Accelerometer
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

  • Choc
  • 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)

See Also

External Links