bfdecrypt icon indicating copy to clipboard operation
bfdecrypt copied to clipboard

[!] Unknown jailbreak. Aborting.

Open hoootan opened this issue 7 years ago • 5 comments

I got this error on iPhone X with Electra version 1.02 and nothing works.

hoootan avatar Mar 04 '18 05:03 hoootan

@hoootan, this is an issue with Electra v1.xx. BfInject (engine that bfdecrypt relies on) requires JTool to function. JTool used to come installed with early beta versions of Electra, but doesn't seem to be installed in the release versions (V1.0+). From the bfinject script you can see it's trying to find JTool and can't, so it won't work until Electra is updated adding JTool or JTool is installed manually. I'm unsure how to install JTool manually at the moment though...

# Detect LiberiOS vs Electra
#
if [ -f /bootstrap/inject_criticald ]; then
    # This is Electra
    echo "[+] Electra detected."
    cp jtool.liberios /bootstrap/usr/local/bin/
    chmod +x /bootstrap/usr/local/bin/jtool.liberios
    JTOOL=/bootstrap/usr/local/bin/jtool.liberios
    cp bfinject4realz /bootstrap/usr/local/bin/
    INJECTOR=/bootstrap/usr/local/bin/bfinject4realz
elif [ -f /jb/usr/local/bin/jtool ]; then
    # This is LiberiOS
    echo "[+] Liberios detected"
    JTOOL=jtool
    INJECTOR=`pwd`/bfinject4realz
else
    echo "[!] Unknown jailbreak. Aborting."
    exit 1
fi```

nickcastel50 avatar Mar 13 '18 22:03 nickcastel50

@nickcastel50 JTool 1.0 released on Electra's source, but the problem is still alive.

hoootan avatar Mar 18 '18 21:03 hoootan

I used this to fix my problem: https://gist.github.com/klmitchell2/536bce0cec94d24a5799ba3b17499b54

klmitchell2 avatar Mar 26 '18 16:03 klmitchell2

@klmitchell2 - Can you elaborate? How to get this on my device?

ghost avatar Mar 30 '18 13:03 ghost

Sorry for being vague. Check out this fork of bfinject that I made: https://github.com/klmitchell2/bfinject/tree/electra-1.0.4

I've updated bfinject and bfinject.tar to support Electra 1.0.4. Follow the README and it should work.

klmitchell2 avatar Mar 30 '18 15:03 klmitchell2