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

Rsync args ok. But app terminates with error: 'NSInvalidArgumentException', reason: 'launch path not accessible' #6

Open
TH4TN1NJ4 opened this issue Aug 22, 2022 · 3 comments

Comments

@TH4TN1NJ4
Copy link

TH4TN1NJ4 commented Aug 22, 2022

Hey! This software is jus what I've been looking for to restore a 6s plus on 14.5.1 Quick question... say I wanted to just restore one directory, is there a way to do this? I noticed in ur instructions:

--append-rsync-arg="--exclude=/some/directory"

Can I enter each root level directory appended back to back but the one I'd like replaced?

Also correct me if I'm overthinking this (which I do far too often) the instructions say:

--append-rsync-arg=RSYNC-ARG-TO-APPEND Specify an additional rsync argument to be passed in to rsync, for example: --append-rsync-arg="--exclude=/some/directory" will pass in --exclude=/some/directory to rsync

--restore Do a full restore with rsync. Note that this WILL erase your device.

--restore/-r must be used if the user wants the restore to be executed.

If -r must be used, and it will erase the device, does it still respect the --exclude argument?

Ty for reading and I'm looking forward to supporting this from beta to v1.0

@NSAntoine
Copy link
Owner

NSAntoine commented Aug 23, 2022

Can I enter each root level directory appended back to back but the one I'd like replaced?

Not sure

If -r must be used, and it will erase the device, does it still respect the --exclude argument?

Yes

@TH4TN1NJ4
Copy link
Author

I'll explain exactly why it's one directory I need restored in hopes of resolving this error I get. I foolishly experimented with deleting the /Applications/Setup.app directory on an activation locked iPhone 6s Plus running 14.5.1 via SSH and it does weird stuff now lol. So I'm unable to see if SuccessorCLI can download an ipsw (unless I edit some plist to turn the WiFi on if permissable) luckily I still have a 100% non corrupted copy of the correct firmware for this phone and copied it to the default search/download path /var/mobile/Library/SuccessorCLI but when I select [0] Extract and use ipsw restore.ipsw it immediately throws this error:

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'launch path not accessible'
*** First throw call stack:
(0x1a1787128 0x1b549a480 0x1a2aa847c 0x1047a1298 0x1047a9744 0x1a13de140)
libc++abi: terminating with uncaught exception of type NSException

Here's information I hope is helpful in determining what caused the error:

The patched toolkit used was for 14.5 said device is 14.5.1

Device hasn't been activated

Device runs odysseyra1n (checkra1n -cydia +Sileo with procursus boot strap)

SuccessorCLI installed with dpkg -i SuccessorCLI-version#.deb after resolving dependencies

Installed a copy of the same deb to this phone a 7 on 14.4 running same JB it begins option 0 and 1 flawlessly so the deb is good.

Any help I can be (tho I'm only proficient in Visual Basic) or additional info /questions I can answer hmb.

@TH4TN1NJ4 TH4TN1NJ4 changed the title Rsync args Rsync args ok, NSInvalidArgumentException', reason: 'launch path not accessible Aug 27, 2022
@TH4TN1NJ4 TH4TN1NJ4 changed the title Rsync args ok, NSInvalidArgumentException', reason: 'launch path not accessible Rsync args ok. ERROR: terminates NSInvalidArgumentException', reason: 'launch path not accessible' Aug 27, 2022
@TH4TN1NJ4 TH4TN1NJ4 changed the title Rsync args ok. ERROR: terminates NSInvalidArgumentException', reason: 'launch path not accessible' Rsync args ok. But app terminates with error: 'NSInvalidArgumentException', reason: 'launch path not accessible' Aug 27, 2022
@NSAntoine
Copy link
Owner

That means you don’t have rsync installed, do so please

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

2 participants