[!] Unknown jailbreak. Aborting.
hoootan opened this issue · 5 comments
I got this error on iPhone X with Electra version 1.02 and nothing works.
@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 JTool 1.0 released on Electra's source, but the problem is still alive.
I used this to fix my problem: https://gist.github.com/klmitchell2/536bce0cec94d24a5799ba3b17499b54
@klmitchell2 - Can you elaborate? How to get this on my device?
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.