* GNU Guix on iPad2 (A1395)
@ 2022-09-24 11:31 Jacob Hrbek
2022-09-25 21:11 ` Csepp
0 siblings, 1 reply; 4+ messages in thread
From: Jacob Hrbek @ 2022-09-24 11:31 UTC (permalink / raw)
To: guix-devel@gnu.org
[-- Attachment #1: Type: text/plain, Size: 1159 bytes --]
Context: I have this iPad 2 that I got as a gift from a friend who was upgrading on the newer version to try to get me to like Apple. I hate it and it was in my storage unused for many years so now I am trying to get GNU Guix on it with GNOME.
To achieve this I merged the required packages in guix (https://issues.guix.gnu.org/57902 and https://issues.guix.gnu.org/57871) and thanks to the jailbreaking community i can use Checkm8 exploit([https://github.com/axi0mX/ipwndfu](https://github.com/axi0mX/ipwndfu[12])) to get full write access to the device and unlock the bootloader to boot unsigned OS and linux-libre seems to have all required drivers to run on the device, see the current progress in https://git.dotya.ml/kreyren/kreyren/issues/30
The issue is that i can't get libusbmuxd (the daemon used to communicate with iDevices from Linux) to work on GNU Guix likely due to a configuration error in guix to perform the exploit and install guix, can someone help? https://github.com/libimobiledevice/ideviceinstaller/issues/147
Any relevant info on how to get iPad 2 or other iDevices to work with GNU Guix also appreciated.
-- Jacob "Kreyren" Hrbek
[-- Attachment #2: Type: text/html, Size: 2061 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: GNU Guix on iPad2 (A1395)
2022-09-24 11:31 GNU Guix on iPad2 (A1395) Jacob Hrbek
@ 2022-09-25 21:11 ` Csepp
2022-09-26 8:04 ` Jacob Hrbek
0 siblings, 1 reply; 4+ messages in thread
From: Csepp @ 2022-09-25 21:11 UTC (permalink / raw)
To: Jacob Hrbek; +Cc: guix-devel
Jacob Hrbek <kreyren@rixotstudio.cz> writes:
> Context: I have this iPad 2 that I got as a gift from a friend who was upgrading on the newer version to try
> to get me to like Apple. I hate it and it was in my storage unused for many years so now I am trying to get
> GNU Guix on it with GNOME.
>
> To achieve this I merged the required packages in guix (https://issues.guix.gnu.org/57902 and
> https://issues.guix.gnu.org/57871) and thanks to the jailbreaking community i can use Checkm8 exploit
> (https://github.com/axi0mX/ipwndfu) to get full write access to the device and unlock the bootloader to
> boot unsigned OS and linux-libre seems to have all required drivers to run on the device, see the current
> progress in https://git.dotya.ml/kreyren/kreyren/issues/30
>
> The issue is that i can't get libusbmuxd (the daemon used to communicate with iDevices from Linux) to
> work on GNU Guix likely due to a configuration error in guix to perform the exploit and install guix, can
> someone help? https://github.com/libimobiledevice/ideviceinstaller/issues/147
>
> Any relevant info on how to get iPad 2 or other iDevices to work with GNU Guix also appreciated.
>
> -- Jacob "Kreyren" Hrbek
Not a real answer, but have you tried contacting projects like
postmarketOS? They have much more experience with this sort of thing
and might be able to help with configuration issues.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: GNU Guix on iPad2 (A1395)
2022-09-25 21:11 ` Csepp
@ 2022-09-26 8:04 ` Jacob Hrbek
2022-09-27 17:28 ` Timothy Sample
0 siblings, 1 reply; 4+ messages in thread
From: Jacob Hrbek @ 2022-09-26 8:04 UTC (permalink / raw)
To: Csepp; +Cc: guix-devel
It seems to be guix specific as the usbmuxd seems to work fine on other distros, but has issues on NixOS and Guix thus why asking here
-- Jacob "Kreyren" Hrbek
Sent with Proton Mail secure email.
------- Original Message -------
On Sunday, September 25th, 2022 at 11:11 PM, Csepp <raingloom@riseup.net> wrote:
> Jacob Hrbek kreyren@rixotstudio.cz writes:
>
> > Context: I have this iPad 2 that I got as a gift from a friend who was upgrading on the newer version to try
> > to get me to like Apple. I hate it and it was in my storage unused for many years so now I am trying to get
> > GNU Guix on it with GNOME.
> >
> > To achieve this I merged the required packages in guix (https://issues.guix.gnu.org/57902 and
> > https://issues.guix.gnu.org/57871) and thanks to the jailbreaking community i can use Checkm8 exploit
> > (https://github.com/axi0mX/ipwndfu) to get full write access to the device and unlock the bootloader to
> > boot unsigned OS and linux-libre seems to have all required drivers to run on the device, see the current
> > progress in https://git.dotya.ml/kreyren/kreyren/issues/30
> >
> > The issue is that i can't get libusbmuxd (the daemon used to communicate with iDevices from Linux) to
> > work on GNU Guix likely due to a configuration error in guix to perform the exploit and install guix, can
> > someone help? https://github.com/libimobiledevice/ideviceinstaller/issues/147
> >
> > Any relevant info on how to get iPad 2 or other iDevices to work with GNU Guix also appreciated.
> >
> > -- Jacob "Kreyren" Hrbek
>
>
> Not a real answer, but have you tried contacting projects like
> postmarketOS? They have much more experience with this sort of thing
> and might be able to help with configuration issues.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: GNU Guix on iPad2 (A1395)
2022-09-26 8:04 ` Jacob Hrbek
@ 2022-09-27 17:28 ` Timothy Sample
0 siblings, 0 replies; 4+ messages in thread
From: Timothy Sample @ 2022-09-27 17:28 UTC (permalink / raw)
To: Jacob Hrbek; +Cc: Csepp, guix-devel
[-- Attachment #1: Type: text/plain, Size: 688 bytes --]
Hi Jacob,
Jacob Hrbek <kreyren@rixotstudio.cz> writes:
> The issue is that i can't get libusbmuxd (the daemon used to
> communicate with iDevices from Linux) to work on GNU Guix likely due
> to a configuration error in guix to perform the exploit and install
> guix, can someone help?
> https://github.com/libimobiledevice/ideviceinstaller/issues/147
>
> [...]
>
> It seems to be guix specific as the usbmuxd seems to work fine on
> other distros, but has issues on NixOS and Guix thus why asking here
I’ve run into this before. Guix is currently on libusb 1.0.24, which
has a bug: <https://github.com/libusb/libusb/issues/825>.
Here’s the workaround I use:
[-- Attachment #2: iphone-with-guix.scm --]
[-- Type: text/plain, Size: 747 bytes --]
;; Use this version of usbmuxd to access an iPhone.
;; Cf. <https://github.com/libusb/libusb/issues/825>.
(use-modules ((gnu packages libusb) #:select (libusb usbmuxd))
(guix download)
(guix packages)
(ice-9 match))
(define libusb-1.0.25
(package
(inherit libusb)
(version "1.0.25")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/libusb/libusb/releases"
"/download/v1.0.25/libusb-1.0.25.tar.bz2"))
(sha256
(base32 "0j88ym7afy4wj3x789zzxsr04asyjy0mw29gf31blzkrg8cyya4a"))))))
(package
(inherit usbmuxd)
(inputs (modify-inputs (package-inputs usbmuxd)
(replace "libusb" libusb-1.0.25))))
[-- Attachment #3: Type: text/plain, Size: 233 bytes --]
With this, I just use “guix shell -f” to launch a shell with access to
the fixed usbmuxd.
There are 1.5K packages that depend on libusb, so an update will have to
wait for the next core-updates cycle.
HTH!
-- Tim
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-09-27 17:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-24 11:31 GNU Guix on iPad2 (A1395) Jacob Hrbek
2022-09-25 21:11 ` Csepp
2022-09-26 8:04 ` Jacob Hrbek
2022-09-27 17:28 ` Timothy Sample
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).