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

Remove passcode requirement for jailbroken devices from jitterbugpair #88

Open
Mia-Rain opened this issue Mar 11, 2024 · 3 comments
Open

Comments

@Mia-Rain
Copy link

Newer A11 using a palera1n jailbreak are unable to set a passcode
However it seems that a passcode isn't required, at least on these devices
As removing the code to check for the passcode in jitterbugpair causes no issues and a working mobiledevicepairing file is still produced

The below patch works and has no issues in my usage

diff --git a/JitterbugPair/main.c b/JitterbugPair/main.c
index dba9d4b..c4578e5 100644
--- a/JitterbugPair/main.c
+++ b/JitterbugPair/main.c
@@ -170,17 +170,6 @@ int main(int argc, const char * argv[]) {
         goto leave;
     }
     
-    lerr = lockdownd_set_value(client, "com.apple.mobile.wireless_lockdown", "EnableWifiDebugging", plist_new_bool(1));
-    if (lerr != LOCKDOWN_E_SUCCESS) {
-        result = EXIT_FAILURE;
-        if (lerr == LOCKDOWN_E_UNKNOWN_ERROR) {
-            fprintf(stderr, "ERROR: You must set up a passcode to enable wireless pairing.\n");
-        } else {
-            print_error_message(lerr, udid);
-        }
-        goto leave;
-    }
-    
     if (!plist_write_to_filename(pair_record, path, PLIST_FORMAT_XML)) {
         result = EXIT_FAILURE;
         goto leave;
@Montivillon
Copy link

No one replies

@Mia-Rain
Copy link
Author

yeah it really seems like this repo is dead tbh

@Montivillon
Copy link

After all, iOS 17 doesn’t have a disk image and I kind of found a disk image that is personalized but I can’t use JIT with it and Jitterbug is glitching

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