Apple iPhone 5s (apple-n51): Difference between revisions
Add instructions to boot pongoOS |
Edit codename to match page name |
||
(11 intermediate revisions by 11 users not shown) | |||
Line 1: | Line 1: | ||
A mainline fork for this device is available [https://github.com/konradybcio/linux-apple here] with further instructions [https://github.com/SoMainline/linux-apple-resources here]. Still needs to be tested and ported to postmarketOS. | |||
{{Infobox device | {{Infobox device | ||
| manufacturer = Apple | | manufacturer = Apple | ||
| name = iPhone 5s | | name = iPhone 5s | ||
| codename = apple- | | codename = apple-n51 | ||
| image = File:apple-iphone5s.png | | image = File:apple-iphone5s.png | ||
| releaseyear = 2013 | | releaseyear = 2013 | ||
| originalsoftware = iOS 7 | | originalsoftware = iOS | ||
| originalversion = 7 | |||
| chipset = Apple A7 | | chipset = Apple A7 | ||
| cpu = Dual core (2x 1.3 GHz Cyclone) | | cpu = Dual core (2x 1.3 GHz Cyclone) | ||
Line 15: | Line 16: | ||
| memory = 1 GB | | memory = 1 GB | ||
| architecture = aarch64 | | architecture = aarch64 | ||
| type = handset | |||
| status_usbnet = | | status_usbnet = Y | ||
| status_flashing = | | status_flashing = N | ||
| status_touch = | | status_touch = | ||
| status_screen = | | status_screen = Y | ||
| status_wifi = | | status_wifi = N | ||
| status_xwayland = | | status_xwayland = | ||
| status_fde = | | status_fde = | ||
| status_battery = N | |||
| status_battery = | |||
| status_3d = | | status_3d = | ||
| status_accel = | | status_accel = | ||
| status_audio = | | status_audio = N | ||
| status_bluetooth = | | status_bluetooth = N | ||
| status_camera = | | status_camera = N | ||
| status_gps = | | status_gps = N | ||
| status_mobiledata = | | status_mobiledata = N | ||
| status_sms = | | status_nfc = - | ||
| status_calls = | | status_sms = N | ||
| status_calls = N | |||
| booting = no | | status = bare bone | ||
| | | booting = yes | ||
| packaged = no | |||
| category = | |||
| pmoskernel = | | pmoskernel = | ||
| status_otg = | | status_otg = | ||
| whet_dhry = | |||
| whet_dhry = | |||
}} | }} | ||
== Users owning this device == | == Users owning this device == | ||
Line 56: | Line 48: | ||
== How to enter flash mode == | == How to enter flash mode == | ||
For macOS: | |||
1. Install checkra1n | |||
2. Boot pongoOS: `/Applications/checkra1n.app/Contents/MacOS/checkra1n -pc` | 2. Boot pongoOS: `/Applications/checkra1n.app/Contents/MacOS/checkra1n -pc` | ||
For linux: | |||
1.install checkra1n | |||
2.Download ''PongoConsolidated.bin'' from [https://github.com/checkra1n/PongoOS/releases/tag/2.5.1 github page] | |||
3.checkra1n -v -V -k -p PongoConsolidated.bin | |||
Follow the 6th step on booting section for booting. | |||
== | If you execute this ''without'' '''-p''' flag, you will jailbreak your device with checkra1n. | ||
< | == Booting (?) == | ||
If you | Orginal instructions [https://github.com/hmk3r/iphone-5s-linux-howto here] | ||
<br> | |||
<br> | |||
- | 1.Install usbmuxd. | ||
<br> | |||
2.<code> git clone https://github.com/hmk3r/iphone-5s-linux-howto.git </code> | |||
<br> | |||
3.<code> cd iphone-5s* </code> | |||
<br> | |||
4.<code> sudo ./scripts/checkra1n -v -V -p -k ./resources/Pongo.bin </code> | |||
<br> | |||
5.Follow the instructions and prepare yourself. | |||
<br> | |||
6.When '''"Right before trigger (this is the real bug setup)"''' occurs,count to ''three'' and '''plug out''' the ''cable''.Then,''again'',count to ''three'' and '''plug the cable back in'''.''Repeat'' these steps '''until''' you get to '''"Booting"''' stage. If you are ''lucky'',you will get a ''pongo shell'' on your phone. | |||
<br> | |||
7.<code> sudo python3 ./scripts/load_linux.py -k ./resources/Image.lzma -d ./resources/dtbpack -r ./resources/nbramdisk.img </code> | |||
<br> | |||
8.A '''"success"''' message will displayed if ''linux'' is loaded '''correctly''' and you will shortly see the '''pmOS splash.''' | |||
<br> | |||
9.''telnet'' into your ''phone'' when '''debug shell''' appears. | |||
<br> | |||
10.<code>pmos_continue_boot</code> | |||
<br> | |||
11.Generate a '''rootfs''' of ''apple-idevice''. | |||
<br> | |||
12.<code> pmbootstrap netboot serve </code> | |||
<br> | |||
13.<code> script -f /dev/tty1 </code> | |||
<br> | |||
14.<code>startxfce4</code> | |||
<br> | |||
Done! |
Latest revision as of 16:54, 31 August 2025
A mainline fork for this device is available here with further instructions here. Still needs to be tested and ported to postmarketOS.
This device has been tested with postmarketOS, but its device package has not yet been added to the postmarketOS repositories. This means that it cannot be selected in pmbootstrap. Status: bare bone |
![]() | |
Manufacturer | Apple |
---|---|
Name | iPhone 5s |
Codename | apple-n51 |
Released | 2013 |
Type | handset |
Hardware | |
Chipset | Apple A7 |
CPU | Dual core (2x 1.3 GHz Cyclone) |
GPU | PowerVR G6430 (quad-core) |
Display | 640×1136 (326 ppi) |
Storage | 16, 32, 64 GB |
Memory | 1 GB |
Architecture | aarch64 |
Software | |
Original software |
iOS 7 |
Extended version |
iOS |
Mainline |
no |
Flashing |
Broken
|
---|---|
USB Networking |
Works
|
Battery |
Broken
|
Screen |
Works
|
Touchscreen |
Untested
|
Multimedia | |
3D Acceleration |
Untested
|
Audio |
Broken
|
Camera |
Broken
|
Connectivity | |
WiFi |
Broken
|
Bluetooth |
Broken
|
GPS |
Broken
|
Modem | |
Calls |
Broken
|
SMS |
Broken
|
Mobile data |
Broken
|
Miscellaneous | |
FDE |
Untested
|
USB OTG |
Untested
|
Sensors | |
Accelerometer |
Untested
|
Users owning this device
How to enter flash mode
For macOS: 1. Install checkra1n
2. Boot pongoOS: `/Applications/checkra1n.app/Contents/MacOS/checkra1n -pc`
For linux:
1.install checkra1n
2.Download PongoConsolidated.bin from github page
3.checkra1n -v -V -k -p PongoConsolidated.bin
Follow the 6th step on booting section for booting.
If you execute this without -p flag, you will jailbreak your device with checkra1n.
Booting (?)
Orginal instructions here
1.Install usbmuxd.
2. git clone https://github.com/hmk3r/iphone-5s-linux-howto.git
3. cd iphone-5s*
4. sudo ./scripts/checkra1n -v -V -p -k ./resources/Pongo.bin
5.Follow the instructions and prepare yourself.
6.When "Right before trigger (this is the real bug setup)" occurs,count to three and plug out the cable.Then,again,count to three and plug the cable back in.Repeat these steps until you get to "Booting" stage. If you are lucky,you will get a pongo shell on your phone.
7. sudo python3 ./scripts/load_linux.py -k ./resources/Image.lzma -d ./resources/dtbpack -r ./resources/nbramdisk.img
8.A "success" message will displayed if linux is loaded correctly and you will shortly see the pmOS splash.
9.telnet into your phone when debug shell appears.
10.pmos_continue_boot
11.Generate a rootfs of apple-idevice.
12. pmbootstrap netboot serve
13. script -f /dev/tty1
14.startxfce4
Done!