Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ios 17 | cant change location despite mounting personal image #471

Closed
Geczy opened this issue Jun 15, 2023 · 17 comments
Closed

ios 17 | cant change location despite mounting personal image #471

Geczy opened this issue Jun 15, 2023 · 17 comments

Comments

@Geczy
Copy link

Geczy commented Jun 15, 2023

Test environment

  • macos 13.4
  • iphone 13 pro max 17
python3 -m pymobiledevice3 mounter mount-personalized /Users/mgates/Desktop/022-15533-053.dmg /Users/mgates/Desktop/022-15533-053.dmg.trustcache /Users/mgates/Desktop/BuildManifest.plist

2023-06-15 11:58:41 M7V6KFVVNL pymobiledevice3.cli.mounter[81858] ERROR Given image was already mounted

➜  ~ pymobiledevice3 developer simulate-location set 0 0
Readline features including tab completion have been disabled because
no supported version of readline was found. To resolve this, install
pyreadline3 on Windows or gnureadline on Linux/Mac.

2023-06-15 11:58:46 M7V6KFVVNL pymobiledevice3.__main__[81865] ERROR Failed to access an invalid lockdown service, possibly from DeveloperDiskImage.dmg or a Cryptex. You may try: python3 -m pymobiledevice3 mounter auto-mount

huh ? it says personalized image already mounted, but then i cant change location because it says no image mounted?

Originally posted by @Geczy in libimobiledevice/libimobiledevice#1452 (comment)

@doronz88
Copy link
Owner

The simulate location and all other developer relays have been refactored to be over remotexpc. Still working on it

@doronz88
Copy link
Owner

The screenshot relay is yet another developer service that requires rework.
In general, everything in the developer category will work only if the old DeveloperDiskImage is mounted.
We'll probably add a new "personalized" category for the new personalized disk image once we finished the development. Apple has completely reworked this so it takes time to figure out how to implement everything yet again.

@truonggiang0710
Copy link

The screenshot relay is yet another developer service that requires rework.
In general, everything in the developer category will work only if the old DeveloperDiskImage is mounted.
We'll probably add a new "personalized" category for the new personalized disk image once we finished the development. Apple has completely reworked this so it takes time to figure out how to implement everything yet again.

Have you completed this, men?

@Karl0226
Copy link

I use remoteXpc but I receive this data
SettingsFrame(stream_id=0, flags=[]): settings={3: 100, 4: 1048576}
WindowUpdateFrame(stream_id=0, flags=[]): window_increment=983041
SettingsFrame(stream_id=0, flags=['ACK']): settings={}
HeadersFrame(stream_id=1, flags=['END_HEADERS']): exclusive=False, depends_on=0, stream_weight=0, data=None
RstStreamFrame(stream_id=1, flags=[]): error_code=5
None closing stream 1 on port 58783

what should I do

@doronz88
Copy link
Owner

@Karl0226 What command did you use?

Also there are a lot of changes so it will take some time. I can put you in the loop if you are willing to help with the implementation.

@Karl0226
Copy link

Karl0226 commented Jul 14, 2023

@doronz88 I use "remote create-listener"
When doing "self.peer_info = self.service.receive_response" I will receive RstStreamFrame

@doronz88
Copy link
Owner

Then remoted is probably killing your socket.
Try stopping it before:

sudo pkill -SIGSTOP remoted

@Karl0226
Copy link

@doronz88 I got that!

@doronz88
Copy link
Owner

I think I'll soon publish a post explaining how it all works, where we are now and what's left to do so others can maybe find a way to join the effort. There's quite a lot for a single person

@doronz88
Copy link
Owner

Location setting is now officially supported - starting at v2.2.0

@truonggiang0710
Copy link

Location setting is now officially supported - starting at v2.2.0

How about screenshot @doronz88 ?

@doronz88
Copy link
Owner

Also already supported and over DVT:

pymobiledevice3 developer dvt screenshot /path/to/screenshot.png --rsd HOST PORT

@truonggiang0710
Copy link

Thanks @doronz88

@imvab
Copy link

imvab commented Jul 27, 2023

@doronz88 can you please define HOST and PORT? What values needs to be passed there?

@imvab
Copy link

imvab commented Jul 28, 2023

Found the solution for it #502

@argunv
Copy link

argunv commented Jan 23, 2024

sudo pymobiledevice3 developer dvt simulate-location set --udid {udid} -- x y

The location of the devices did not change after using this command. (I looked in the Maps application). The devices are iPhone 14, and iPad Pro 11' (4th Gen). All devices are updated to the latest version.

@Fidetro
Copy link
Contributor

Fidetro commented Jan 23, 2024

sudo pymobiledevice3 developer dvt simulate-location set --udid {udid} -- x y

The location of the devices did not change after using this command. (I looked in the Maps application). The devices are iPhone 14, and iPad Pro 11' (4th Gen). All devices are updated to the latest version.

Starting at iOS 17.0,

sudo python3 -m pymobiledevice3 remote start-tunnel
pymobiledevice3 developer dvt simulate-location set --rsd HOST PORT -- x y

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants