profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/sdnr/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

sdnr/RNN-Conv-Decoder 5

Accompanying code of paper "On Recurrent Neural Networks for Sequence-based Processing in Communications" by Daniel Tandler, Sebastian Dörner, Sebastian Cammerer, Stephan ten Brink.

sdnr/DLACOM-notebooks 2

Supplementary material to the lecture course Deep Learning Applications in Communications at University of Stuttgart

sdnr/arxiv-latex-cleaner 0

arXiv LaTeX Cleaner: Easily clean the LaTeX code of your paper to submit to arXiv

PR merged libimobiledevice/usbmuxd

Add Apple Silicon restore support

Hello !

The M1 mac mini presents itself with PID 0x1901 when in restore mode.

This MR adds support for it in:

  • The udev rules
  • usb.c for usbmuxd to recognize it when triggered

If you don't like the constant name, i'd be happy to change it. Couldn't find anything better :/

+7 -5

1 comment

3 changed files

sywesk

pr closed time in 13 hours

push eventlibimobiledevice/usbmuxd

Benjamin BOURGEAIS

commit sha bb04e78eee0de10db3661ce6e29cf90fbff2a25d

udev: Add Apple Silicon restore mode to rules

view details

Benjamin BOURGEAIS

commit sha 5e484e18f1383b5a0bd6c353ab1d668b03e4ffab

usb: Enable Apple Silicon restore mode

view details

push time in 13 hours

pull request commentlibimobiledevice/usbmuxd

Move PIDFile to /run

Keep in mind that the tools around libimobiledevice (specifically libusbmuxd) expect the unix socket to be in /var/run/usbmuxd. While this can be changed I don't see a big issue having a symlink /var/run -> /run for these cases. As for the pidfile, there's actually a command line switch --pidfile now that lets you specify a different pidfile. A hardcoded path isn't really what would be desired here, I would rather find a better @rundir@ variable for autoconf that would solve this issue...

opoplawski

comment created time in 13 hours

pull request commentlibimobiledevice/usbmuxd

Add M1 restore support

Thanks for the PR. I should be ok like this, but good point on the constant name... it depends on wether Apple changes this for future generations, or if M2 etc will still have the same PID. I can't think of a better name at the moment. Maybe we need to also find out about the new iMacs, if they use the same PID or not.

sywesk

comment created time in 9 days

PR opened libimobiledevice/usbmuxd

Add M1 restore support

Hello !

The M1 mac mini presents itself with PID 0x1901 when in restore mode.

This MR adds support for it in:

  • The udev rules
  • usb.c for usbmuxd to recognize it when triggered
+6 -4

0 comment

3 changed files

pr created time in 9 days

pull request commentlibimobiledevice/usbmuxd

Move PIDFile to /run

We now have a bug for this on openSUSE/SLE, too.
I don't think that this patch is sufficient, since the /var/run path is also hard-coded in main.c.
I see that there is now an option to specify the pid via the command line, although we would still need to modify the service file in order to use it.

opoplawski

comment created time in 16 days

PR opened libimobiledevice/usbmuxd

log: print filename and line number

add more information when logging, like this

[20:55:03.616][3] main.c:719 enabling libimobiledevice logging
[20:55:03.616][3] main.c:730 usbmuxd v1.1.2 starting up
[20:55:03.616][4] main.c:838 Creating socket
[20:55:03.616][4] main.c:196 Preparing a Unix socket
[20:55:03.616][4] main.c:202 Binding to socket
[20:55:03.616][4] main.c:223 Starting to listen on socket
[20:55:03.616][4] main.c:933 Initializing USB
[20:55:03.616][3] usb.c:852 Using libusb 1.0.21
[20:55:03.618][4] usb.c:877 Registering for libusb hotplug events
[20:55:03.618][4] usb.c:418 Found new device with v/p 05ac:12a8 at 1-14
[20:55:03.618][4] usb.c:514 Found interface 1 with endpoints 04/85 for device 1-14
[20:55:03.618][4] usb.c:574 Using wMaxPacketSize=512 for device 1-14
[20:55:03.618][4] usb.c:594 USB Speed is 480 MBit/s for device 1-14
[20:55:03.618][4] main.c:938 1 device detected
[20:55:03.618][3] main.c:940 Initialization complete
[20:55:03.618][4] client.c:261 Client 12 accepted: /usr/lib/gvfs/gvfs-afc-volume-monitor[4254]
+4 -2

0 comment

2 changed files

pr created time in 17 days

issue commentlibimobiledevice/usbmuxd

How to build Android version?

@daomeixiong2547 你需要 搜索 /var/lib/lockdown ,然后替换为一个可读写的目录,这个位置是用来存储 iPhone 信任文件的。

我也搞好了 非常感谢!!!

你可以用root后的Android来连接手机了吗?

我手上没有root设备,但我用Genymoton和Virtual box模拟root设备连接usb的场景,替换了一下模拟器的cpu架构。 使用你描述的修改方法,打出来的包就可以可以通过 usbmuxd 和 libimobiledevice来信任手机并读取手机信息了。

模拟器和真机还是不一样的,我用Root过后的真机试了是不行,通信不了。

weng1250

comment created time in 20 days

issue commentlibimobiledevice/usbmuxd

How to build Android version?

@daomeixiong2547 你需要 搜索 /var/lib/lockdown ,然后替换为一个可读写的目录,这个位置是用来存储 iPhone 信任文件的。

我也搞好了 非常感谢!!!

你可以用root后的Android来连接手机了吗?

我手上没有root设备,但我用Genymoton和Virtual box模拟root设备连接usb的场景,替换了一下模拟器的cpu架构。 使用你描述的修改方法,打出来的包就可以可以通过 usbmuxd 和 libimobiledevice来信任手机并读取手机信息了。

weng1250

comment created time in a month

issue commentlibimobiledevice/usbmuxd

How to build Android version?

@XanaduAPI 感谢 通过你的方法确实可以连接上了

你用Root过的Android设备,可以通过 usbmuxd 和 libimobiledevice 来连接信任手机吗?

weng1250

comment created time in a month

issue commentlibimobiledevice/usbmuxd

How to build Android version?

@daomeixiong2547 你需要 搜索 /var/lib/lockdown ,然后替换为一个可读写的目录,这个位置是用来存储 iPhone 信任文件的。

我也搞好了 非常感谢!!!

你可以用root后的Android来连接手机了吗?

weng1250

comment created time in a month

issue commentlibimobiledevice/usbmuxd

How to build Android version?

@daomeixiong2547 你需要 搜索 /var/lib/lockdown ,然后替换为一个可读写的目录,这个位置是用来存储 iPhone 信任文件的。

我也搞好了 非常感谢!!!

weng1250

comment created time in a month

issue commentlibimobiledevice/usbmuxd

How to build Android version?

@daomeixiong2547 你需要 搜索 /var/lib/lockdown ,然后替换为一个可读写的目录,这个位置是用来存储 iPhone 信任文件的。

weng1250

comment created time in a month

issue commentlibimobiledevice/usbmuxd

How to build Android version?

首先,我想我们需要解决 Android 设备里面 /dev/bus/usb 目录的权限问题

image

usbmuxd 需要依赖 静态编译的 其它库。然后 修改以下代码 main.c

image

image

image

再修改 libusbmuxd 里面的 相应连接 libusbmuxd.c image

请问还需要修改其他地方吗?我按照修改后日志,我也该成通过127.0.0.1连接,但还是走了这个位置 Listening on /data/local/tmp/usbmuxd Failed to create required directory '/var/lib/lockdown': No such file or directory

weng1250

comment created time in a month

issue commentlibimobiledevice/usbmuxd

Unable to connect device (iPhone 7)

Additional info: The problem seems to occur always after installing a new kernel update.

After a kernel update the device isn´t recognized by usbmuxd. Some seconds afterh replugging the usb cable the ""Trust this computer?" messages pops up on the phone.

It doesn help to click "Trust" on the phone - you additionally need to restart usbmuxd to get the phone recognized by usbmuxd (see workaround above).

cooperbang

comment created time in a month

issue openedlibimobiledevice/usbmuxd

Unable to connect device (iPhone 7)

Sometimes my iPhone 7 is not recognized by usbmuxd.

Mär 19 08:11:50 localhost.localdomain usbmuxd[4297]: [08:11:50.120][3] Using libusb 1.0.24
Mär 19 08:11:50 localhost.localdomain usbmuxd[4297]: libusb: warning [op_get_configuration] device unconfigured
Mär 19 08:11:50 localhost.localdomain usbmuxd[4297]: libusb: error [op_get_active_config_descriptor] device unconfigured
Mär 19 08:11:50 localhost.localdomain usbmuxd[4297]: [08:11:50.126][3] Could not get old configuration descriptor for device 1-4: LIBUSB_ERROR_NOT_FOUND
Mär 19 08:11:50 localhost.localdomain usbmuxd[4297]: [08:11:50.128][3] Initialization complete
Mär 19 08:11:50 localhost.localdomain usbmuxd[4297]: [08:11:50.128][3] Enabled exit on SIGUSR1 if no devices are attached. Start a new instance with "--exit" to trigger.
Mär 19 08:11:50 localhost.localdomain usbmuxd[4297]: [08:11:50.128][3] Connecting to new device on location 0x10004 as ID 1
Mär 19 08:11:50 localhost.localdomain usbmuxd[4297]: [08:11:50.214][3] Removed device 1 on location 0x10004
Mär 19 08:11:50 localhost.localdomain usbmuxd[4297]: [08:11:50.214][2] Cannot find device entry while removing USB device 0x55dxxxxxxxxx on location 0x10004
Mär 19 08:11:50 localhost.localdomain usbmuxd[4297]: libusb: error [udev_hotplug_event] ignoring udev action unbind

After replugging the device I get:

Mär 19 08:17:39 localhost.localdomain usbmuxd[4297]: libusb: warning [op_get_configuration] device unconfigured
Mär 19 08:17:39 localhost.localdomain usbmuxd[4297]: libusb: error [op_get_active_config_descriptor] device unconfigured
Mär 19 08:17:39 localhost.localdomain usbmuxd[4297]: [08:17:39.342][3] Could not get old configuration descriptor for device 1-5: LIBUSB_ERROR_NOT_FOUND
Mär 19 08:17:39 localhost.localdomain usbmuxd[4297]: [08:17:39.358][3] Connecting to new device on location 0x10005 as ID 2
Mär 19 08:17:39 localhost.localdomain usbmuxd[4297]: [08:17:39.394][3] Connected to v2.0 device 2 on location 0x10005 with serial number 5c000xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Mär 19 08:17:39 localhost.localdomain usbmuxd[4297]: [08:17:39.395][1] preflight_worker_handle_device_add: ERROR: Could not connect to lockdownd on device 5c000xxxxxxxxx>

Workaround: systemctl stop usbmuxd and then systemctl start usbmuxd - after some time it will connect...

created time in 2 months

issue closedlibimobiledevice/usbmuxd

1.1.1: preflight_worker_handle_device_add: ERROR

hello, i've got following error when connecting my phone to PC.

sudo usbmuxd -fv                                                         
[13:37:46.097][3] usbmuxd v1.1.1 starting up
[13:37:46.097][4] Creating socket
[13:37:46.097][4] Initializing USB
[13:37:46.106][4] Registering for libusb hotplug events
[13:37:46.106][4] 0 devices detected
[13:37:46.106][3] Initialization complete
[13:38:13.918][4] Found new device with v/p 05ac:12a8 at 1-56
[13:38:13.918][3] Could not get old configuration descriptor for device 1-56: -5
[13:38:13.918][4] Setting configuration for device 1-56, from 0 to 4
[13:38:13.957][4] Found interface 1 with endpoints 04/85 for device 1-56
[13:38:13.958][4] Using wMaxPacketSize=512 for device 1-56
[13:38:13.958][4] USB Speed is 480 MBit/s for device 1-56
[13:38:13.958][4] Got lang ID 1033 for device 1-56
[13:38:13.959][4] Got serial 'd4545c5642b1baf4f75c69057fc4ad64c8e83ad6' for device 1-56
[13:38:13.959][3] Connecting to new device on location 0x10038 as ID 1
[13:38:13.959][3] Connected to v2.0 device 1 on location 0x10038 with serial number d4545c5642b1baf4f75c69057fc4ad64c8e83ad6
[13:38:13.959][4] preflight_worker_handle_device_add: Starting preflight on device d4545c5642b1baf4f75c69057fc4ad64c8e83ad6...
[13:38:13.959][4] New client on fd 13 (self)
[13:38:23.969][1] preflight_worker_handle_device_add: ERROR: Could not get lockdownd type from device d4545c5642b1baf4f75c69057fc4ad64c8e83ad6, lockdown error -7
[13:38:23.970][4] Disconnecting client fd 13

am i missing something?

closed time in 2 months

adrianaryaputra

issue commentlibimobiledevice/usbmuxd

1.1.1: preflight_worker_handle_device_add: ERROR

work after restarting and unlocking it. not working if not unlocked with passcode after reboot.

adrianaryaputra

comment created time in 2 months

issue commentlibimobiledevice/usbmuxd

1.1.1: preflight_worker_handle_device_add: ERROR

looks like usb communication issue, can be hardware problem (usb cable), or might be some hardlock inside phone USB stack (in that case it will require phone restart). first i would try to connect device to different computer with same cable, or connect to same computer but with different cable.

adrianaryaputra

comment created time in 2 months

issue commentlibimobiledevice/usbmuxd

1.1.1: preflight_worker_handle_device_add: ERROR

hmm it times out after 10 seconds, does it happen consistently when you replug the device a few times?

adrianaryaputra

comment created time in 2 months

issue openedlibimobiledevice/usbmuxd

1.1.1: preflight_worker_handle_device_add: ERROR

hello, i've got following error when connecting my phone to PC.

sudo usbmuxd -fv                                                         
[13:37:46.097][3] usbmuxd v1.1.1 starting up
[13:37:46.097][4] Creating socket
[13:37:46.097][4] Initializing USB
[13:37:46.106][4] Registering for libusb hotplug events
[13:37:46.106][4] 0 devices detected
[13:37:46.106][3] Initialization complete
[13:38:13.918][4] Found new device with v/p 05ac:12a8 at 1-56
[13:38:13.918][3] Could not get old configuration descriptor for device 1-56: -5
[13:38:13.918][4] Setting configuration for device 1-56, from 0 to 4
[13:38:13.957][4] Found interface 1 with endpoints 04/85 for device 1-56
[13:38:13.958][4] Using wMaxPacketSize=512 for device 1-56
[13:38:13.958][4] USB Speed is 480 MBit/s for device 1-56
[13:38:13.958][4] Got lang ID 1033 for device 1-56
[13:38:13.959][4] Got serial 'd4545c5642b1baf4f75c69057fc4ad64c8e83ad6' for device 1-56
[13:38:13.959][3] Connecting to new device on location 0x10038 as ID 1
[13:38:13.959][3] Connected to v2.0 device 1 on location 0x10038 with serial number d4545c5642b1baf4f75c69057fc4ad64c8e83ad6
[13:38:13.959][4] preflight_worker_handle_device_add: Starting preflight on device d4545c5642b1baf4f75c69057fc4ad64c8e83ad6...
[13:38:13.959][4] New client on fd 13 (self)
[13:38:23.969][1] preflight_worker_handle_device_add: ERROR: Could not get lockdownd type from device d4545c5642b1baf4f75c69057fc4ad64c8e83ad6, lockdown error -7
[13:38:23.970][4] Disconnecting client fd 13

am i missing something?

created time in 2 months

issue commentlibimobiledevice/usbmuxd

Porting to Android

@XanaduAPI Android devices need root permission to run .I made a small project based on this library. Here is the demo video link:https://www.bilibili.com/video/BV1MZ4y1P7K3

If you need to jailbreak to run it, it's not necessary. Because I'm already running it on regular ARM(Linux).

oct-test

comment created time in 2 months

issue commentlibimobiledevice/usbmuxd

Porting to Android

@XanaduAPI Android devices need root permission to run .I made a small project based on this library. Here is the demo video link:https://www.bilibili.com/video/BV1MZ4y1P7K3

oct-test

comment created time in 2 months

issue commentlibimobiledevice/usbmuxd

Porting to Android

If you need the executable files and library files transplanted from libimobiledevice open source project to Android platform, you can go to https://github.com/cczhr/libimobiledevice_android to view them. I compiled some of them .Hope to help you

I have compiled files too, but will yours work properly without jailbreaking? Or did you test it?

oct-test

comment created time in 2 months

issue commentlibimobiledevice/usbmuxd

Porting to Android

If you need the executable files and library files transplanted from libimobiledevice open source project to Android platform, you can go to https://github.com/cczhr/libimobiledevice_android to view them. I compiled some of them .Hope to help you

oct-test

comment created time in 2 months

issue closedsdnr/DLACOM-notebooks

Full course

Dear Sir/ Ma'am, I looked through the index of this course. The index looks great. It will be very helpful if I can access the PDFs or video tutorials of this course. It will save a lot of time. Can you please advise how to access this course? Thanks

closed time in 3 months

shubhamsrivast4u

issue openedsdnr/DLACOM-notebooks

Full course

Dear Sir/ Ma'am, I looked through the index of this course. The index looks great. It will be very helpful if I can access the PDFs or video tutorials of this course. It will save a lot of time. Can you please advise how to access this course? Thanks

created time in 3 months