Hacking Question Payload loader for iOS?

JustBrandonT

Well-Known Member
Newcomer
Joined
Mar 11, 2018
Messages
75
Trophies
0
Age
34
XP
518
Country
Canada
Hi gents, /r/jailbreak linked me to this thread. We've been working on the same problem in the past few weeks and with the iOS 11.3.1 jailbreak release I could finally complete and test mine. I'll post a write-up on my blog and link to it in this thread soon-ish.

@JustBrandonT I gave your PoC a try on my iPad with iOS 11.3.1, but found that it simply crashes the device while nothing happens on the Switch's end, so there may still be room for collaboration to create one implementation that works on all iOS versions. Ideally I'd aim to support iOS 9 to iOS 11, as these seem to be the most common jailbroken iOS versions out there that can be supported with reasonable effort.

Hey, I'm also visiting /r/jailbreak. Just saw that the 11.4.1 b3 jailbreak is out. I'm going to downgrade my iPhone-X and jailbreak and see how it goes.

Edit: Just jailbroke my iPhone-X on 11.4 b3.

Couldn't jailbreak the iPhone 6S so it's stuck on 10.3.3 jailbroken still. =]
 
Last edited by JustBrandonT,

Traiver

Developer
Developer
Joined
Aug 1, 2014
Messages
1,326
Trophies
1
Location
???
XP
2,950
Country
United States
I am ready to go

463128FC-619C-4DC9-8803-2FC9EB9A55FA.jpeg
 

JustBrandonT

Well-Known Member
Newcomer
Joined
Mar 11, 2018
Messages
75
Trophies
0
Age
34
XP
518
Country
Canada
Hmm.. I just tested on iOS 11.4 b3.. Does NOT work!
It seems that the Electra and other jailbreaks does NOT grant root permissions like the DoubleH3lix jailbreak and that you'd have to explicitly request root permissions. I've tried it but the app will crash on launch trying to request permissions with:

https://github.com/coolstar/electra/blob/master/docs/getting-started.md

but again, it will crash on launch with access violation.. Not sure how else to get root for the app. Because of this, libusb and any raw USB access with throw "Out of Resources" error.. IE: aka root access. In other words, it will "read" the USB port but cannot write.
 

mologie

Active Member
Newcomer
Joined
Jul 8, 2018
Messages
30
Trophies
0
XP
396
Country
Germany
I'm looking for testers for my app that I demo'd in the above video. It works on iOS 11.3.1 on my iPad Air 1, but I'd be interested to hear about other configurations prior to the public release. A jailbreak is required. It supports loading any payload (Hekate, SX OS, etc.) by importing it via the GUI, can quickly switch between payloads via 'boot profiles,' and can boot Lakka/Coreboot/Linux.

Since I don't have enough posts yet here to receive PMs (just signed up) and PMs are a mess to organize anyway, please send me an email with your:
  • Device model
  • iOS version
  • OTG adapter type
and I'll get back to you with download info. You can find my email in the footer of mologie.github.io/blog/

NOTE: If you're reading this just now and the current date is ≥ 2018-07-14 then don't send an e-mail, because the testing phase is likely over already :)

Thanks!
 

coned_miro

Well-Known Member
Newcomer
Joined
Nov 28, 2016
Messages
47
Trophies
0
Age
35
XP
211
Country
United States
An unofficial OTG cable w/ lightning power is failing with error:

Error: Payload write failed at offset 4096 with code e00002d6
 

Spy Pirate Shado

Member
Newcomer
Joined
Jun 15, 2007
Messages
19
Trophies
0
XP
10
Country
United States
Just got done doing a bunch of tests. This is a FANTASTIC piece of utility!

It works flawlessly on: iphone 7 10.1.1 with mach_portal+extra_recipe, iphone X on 11.3.1 with electra vfs (haven't needed to reboot to try mp+tcp, shouldn't be any different anyways), ipad pro 1st Gen on 10.2 with yalu, and ipad mini 2 on 10.2.1 with doubleh3lix. I am using the apple usb 3.0 adapter, and in case anyone was unsure or confused, this does not need to have power routed to it. It simply needs to sit between the cable going from the switch to the phone/tablet.

The payload selector works totally fine even without the files app itself on ios10 (it allows browsing icloud drive and google drive so I simply uploaded the payloads to gdrive once and transferred, made profiles for each payload on every device). SXOS, hekate 2.3 and hekate 3.2 all load perfectly fine, several times on each payload without a single error.

It's worth noting that even if nxloader on android does the same thing, I was impressed by both how quickly and automatically the payloads were being launched. The toggle for whether to send a payload automatically is a nice touch. If you have autoRCM enabled, you can select the new payload, simply power down the switch and within a few seconds your selected payload will be sent as soon as RCM gets toggled due to autoRCM. Choosing reboot to RCM or power down in hekate while connected to the switch is a 3-5 second process to have a new payload sent to the switch.

Also, despite having to use the usb 3.0 adapter, this is totally fine because the only "better" alternative (if it worked) would be to carry my only usb-c to lightning cable, which I leave the expensive power brick for at home anyways. I hardly ever use the usb3 adapter so that can just travel with the switch and I can use any of the ten or so lightning-usb cables I have instead!
 

mologie

Active Member
Newcomer
Joined
Jul 8, 2018
Messages
30
Trophies
0
XP
396
Country
Germany
There is a public release for the utility now. I've created a new thread for visibility in this forum section. Thanks to all the testers for your feedback!

Project website: mologie.github.io/nxboot/
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: I did use a bot for Diablo III though but no ban there lol