TarballCoLtd / iOS-Restrictions-Recovery

Finds Screen Time/Restrictions passcodes on iOS 7-12 (by @tarbaII)
GNU General Public License v3.0
51 stars 10 forks source link

Error: java.lang.ArrayIndexOutOfBoundsException: 1 #4

Open Vizera opened 3 years ago

Vizera commented 3 years ago

I tried running versions 1.0b4 and 1.0b3 but they don't start up on my computer for some reason.

So I tried running v0.7.3, v0.7.2, v0.7.1, and v0.7

After trying to SSH (I am running iOS 13.3.1 on an iPhone 7), I am prompted by the following pop-up window:

"Please make sure your device is unlocked and on the home screen"

I click OK and the process continues, it prompts me to put in Touch ID on my phone, which I do.

Then a pop-up window appears with the following message:

"Error: java.lang.ArrayIndexOutOfBoundsException: 1"

I've tried everything, maybe it's something to do with the root device port/username/password? If so, is there any way to change it? I'm not really sure, but I would really appreciate some help with this.

tarbaII commented 3 years ago

@Vizera You need Java 14 or later to run the latest betas, I haven't gotten around to compiling them with an earlier version of Java.

Unless you're on iOS 12 or below, I doubt this program will work for you. keychain_dumper, which is the program used to find the passcode on iOS 12 and up, hasn't been properly updated for iOS 13 and 14, and its out of my control when (if at all) it gets updated, as I'm not a developer for it. If you're on iOS 12 or below, I'd give v1.0 beta 4 a try though. Just make sure to download Java 14 or 15. If you have any trouble you can let me know, but I probably won't be able to help you unfortunately.

Vizera commented 3 years ago

Hey, I just did the following and it seemed to fix the problem:

Fixed my issue. Thanks again for creating this tool. It helped a lot!

tarbaII commented 3 years ago

@Vizera What version of iOS were you using?

Vizera commented 3 years ago

iOS 13.3.1 checkra1n jailbreak iPhone 7

I guess keychain_dumper works for iOS 13 as well

tarbaII commented 3 years ago

@Vizera Hmm, that's interesting, haven't seen anyone get it working on iOS 13. Well, glad it worked out for you 😁