fix jailbreak
This commit is contained in:
parent
368d3e8426
commit
d51331f5b4
4 changed files with 9 additions and 13 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
# downr1n
|
# downr1n
|
||||||
downgrade tethered checkm8 idevices ios 14, 15.
|
downgrade tethered checkm8 idevices ios 14, 15.
|
||||||
|
|
||||||
|
downgrades are shit tbh xd, I mean dualboot is much better option if you have the storage needed.
|
||||||
# Usage
|
# Usage
|
||||||
|
|
||||||
download the ipsw and put it into ipsw/ directory
|
download the ipsw and put it into ipsw/ directory
|
||||||
|
|
|
||||||
21
downr1n.sh
21
downr1n.sh
|
|
@ -685,36 +685,30 @@ if [ true ]; then
|
||||||
echo "[*] installing dualra1n-loader"
|
echo "[*] installing dualra1n-loader"
|
||||||
unzip other/dualra1n-loader.ipa -d other/
|
unzip other/dualra1n-loader.ipa -d other/
|
||||||
mkdir -p other/Payload/Applications/
|
mkdir -p other/Payload/Applications/
|
||||||
mv -nv other/Payload/dualra1n-loader.app/ other/Payload/Applications/
|
mv -nv other/Payload/dualra1n-loader.app other/Payload/Applications
|
||||||
remote_cp other/Payload/Applications/ root@localhost:/mnt1/
|
remote_cp other/Payload/Applications/ root@localhost:/mnt1/
|
||||||
|
|
||||||
echo "[*] Saving snapshot"
|
echo "[*] Saving snapshot"
|
||||||
if [ "$(remote_cmd "/usr/bin/snaputil -c orig-fs /mnt1")" ]; then
|
if [ ! "$(remote_cmd "/usr/bin/snaputil -c orig-fs /mnt1")" ]; then
|
||||||
echo "error saving snapshot, SKIPPING ..."
|
echo "the snapshot are already created, SKIPPING ..."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! $(remote_cmd "trollstoreinstaller TV") ]; then
|
if [ ! $(remote_cmd "trollstoreinstaller TV") ]; then
|
||||||
echo "[/] error installing trollstore on TV app"
|
echo "[/] error installing trollstore on TV app"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "[*] it is copying so hang on please "
|
echo "[*] Fixing dualra1n-loader"
|
||||||
remote_cmd "chmod +x /mnt1/Applications/Pogo.app/Pogo* && /usr/sbin/chown 33 /mnt1/Applications/Pogo.app/Pogo && /bin/chmod 755 /mnt1/Applications/Pogo.app/PogoHelper && /usr/sbin/chown 0 /mnt1/Applications/Pogo.app/PogoHelper"
|
remote_cmd "chmod +x /mnt1/Applications/dualra1n-loader.app/dualra1n* && /usr/sbin/chown 33 /mnt1/Applications/dualra1n-loader.app/dualra1n-loader && /bin/chmod 755 /mnt1/Applications/dualra1n-loader.app/dualra1n-helper && /usr/sbin/chown 0 /mnt1/Applications/dualra1n-loader.app/dualra1n-helper"
|
||||||
|
|
||||||
if [ "$taurine" = 1 ]; then
|
if [ "$taurine" = 1 ]; then
|
||||||
echo "installing taurine"
|
echo "installing taurine"
|
||||||
remote_cp other/taurine/* root@localhost:/mnt1/
|
remote_cp other/taurine/* root@localhost:/mnt1/
|
||||||
echo "[*] finish now it will reboot"
|
echo "[*] Finished, now your downgrade is jailbroken, you can boot it"
|
||||||
remote_cmd "/sbin/reboot"
|
remote_cmd "/sbin/reboot"
|
||||||
exit;
|
exit;
|
||||||
fi
|
fi
|
||||||
remote_cp other/Payload/Pogo.app root@localhost:/mnt1/Applications/
|
|
||||||
echo "[*] it is copying so hang on please "
|
|
||||||
remote_cmd "chmod +x /mnt1/Applications/dualra1n-loader.app/dual* && /usr/sbin/chown 33 /mnt1/Applications/dualra1n-loader.app/dualra1n-loader && /bin/chmod 755 /mnt1/Applications/dualra1n-loader.app/dualra1n-helper && /usr/sbin/chown 0 /mnt1/Applications/dualra1n-loader.app/dualra1n-helper"
|
|
||||||
|
|
||||||
if [ ! $(remote_cmd "trollstoreinstaller TV") ]; then
|
echo "installing JBINIT jailbreak, thanks palera1n"
|
||||||
echo "you have to install trollstore in order to intall taurine"
|
|
||||||
fi
|
|
||||||
echo "installing palera1n jailbreak, thanks palera1n team"
|
|
||||||
echo "[*] Copying files to rootfs"
|
echo "[*] Copying files to rootfs"
|
||||||
remote_cmd "rm -rf /mnt1/jbin /mnt1/.installed_palera1n"
|
remote_cmd "rm -rf /mnt1/jbin /mnt1/.installed_palera1n"
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
@ -736,6 +730,7 @@ if [ true ]; then
|
||||||
exit;
|
exit;
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "[*] Patching kernel ..." # this will send and patch the kernel
|
echo "[*] Patching kernel ..." # this will send and patch the kernel
|
||||||
|
|
||||||
cp "$extractedIpsw$(awk "/""${model}""/{x=1}x&&/kernelcache.release/{print;exit}" work/BuildManifest.plist | grep '<string>' |cut -d\> -f2 |cut -d\< -f1)" "work/kernelcache"
|
cp "$extractedIpsw$(awk "/""${model}""/{x=1}x&&/kernelcache.release/{print;exit}" work/BuildManifest.plist | grep '<string>' |cut -d\> -f2 |cut -d\< -f1)" "work/kernelcache"
|
||||||
|
|
|
||||||
BIN
other/dualra1n-loader.ipa
Normal file
BIN
other/dualra1n-loader.ipa
Normal file
Binary file not shown.
Binary file not shown.
Loading…
Add table
Reference in a new issue