remove installer for now

This commit is contained in:
Nebula committed 2022-09-17 19:26:53 -04:00
1 parent 8652f49424
commit 355d10fc9d
4 files changed
+61 -57

No files matched your search

+1 -1
View File
@@ -4,4 +4,4 @@ binaries/Linux/gaster
binaries/Darwin/gaster binaries/Darwin/gaster
work work
boot boot
.irecovery .irecovery
+9 -5
View File
@@ -10,15 +10,19 @@ It boots the device with AMFI patches, and installs Pogo by Amy to the Tips app.
1. Install libimobiledevice 1. Install libimobiledevice
- It's needed for `ideviceenterrecovery` and `ideviceinfo` - It's needed for `ideviceenterrecovery` and `ideviceinfo`
2. Clone this repo with `git clone https://github.com/itsnebulalol/palera1n && cd palera1n` 2. Clone this repo with `git clone https://github.com/itsnebulalol/palera1n && cd palera1n`
3. Prepare your blob for the current version you're on 3. Prepare your blob for the **current version** you're on
4. Run `./palera1n.sh path/to/blob.shsh2 install` <!-- 4. Run `./palera1n.sh path/to/blob.shsh2 install`
- \[A10+\] Before running, you **must** disable your passcode - \[A10+\] Before running, you **must** disable your passcode
- If you want to start from DFU, run `./palera1n.sh path/to/blob.shsh2 --dfu <your iOS version here> install` - If you want to start from DFU, run `./palera1n.sh path/to/blob.shsh2 --dfu <your iOS version here> install` -->
4. Run `./palera1n.sh path/to/blob.shsh2`
- \[A10+\] Before running, you **must** disable your passcode
- If you want to start from DFU, run `./palera1n.sh path/to/blob.shsh2 --dfu <your iOS version here>`
5. Make sure your device is in normal mode, if you didn't start from DFU 5. Make sure your device is in normal mode, if you didn't start from DFU
6. Follow the steps 6. Follow the steps
- Right now, getting into DFU is steps for A11, please suppliment the steps for your device - Right now, getting into DFU is steps for A11, please suppliment the steps for your device
7. Once your device reboots, run the script again, but without `install` <!-- 7. Once your device reboots, run the script again, but without `install` -->
8. Open the Tips app, and hit install! 7. Install Pogo through TrollStore, then hit Install in the Pogo app!
- You can get a Pogo IPA from [here](https://nightly.link/elihwyma/Pogo/workflows/build/main/Pogo.zip)
- You should now see Sileo on your homescreen, enjoy! - You should now see Sileo on your homescreen, enjoy!
- You'll have to uicache in the Pogo app every reboot - You'll have to uicache in the Pogo app every reboot
Binary file not shown.
+51 -51
View File
@@ -184,14 +184,14 @@ if [ ! -e boot ]; then
$dir/pzb -g "$($dir/PlistBuddy BuildManifest.plist -c "Print BuildIdentities:0:Manifest:StaticTrustCache:Info:Path" | sed 's/"//g')" $ipswurl > /dev/null $dir/pzb -g "$($dir/PlistBuddy BuildManifest.plist -c "Print BuildIdentities:0:Manifest:StaticTrustCache:Info:Path" | sed 's/"//g')" $ipswurl > /dev/null
fi fi
if [[ "$@" == *"install"* ]]; then #if [[ "$@" == *"install"* ]]; then
echo "[*] Downloading ramdisk" # echo "[*] Downloading ramdisk"
if [ "$os" = 'Darwin' ]; then # if [ "$os" = 'Darwin' ]; then
$dir/pzb -g "$(/usr/bin/plutil -extract "BuildIdentities".0."Manifest"."RestoreRamDisk"."Info"."Path" xml1 -o - BuildManifest.plist | grep '<string>' | cut -d\> -f2 | cut -d\< -f1 | head -1)" $ipswurl > /dev/null # $dir/pzb -g "$(/usr/bin/plutil -extract "BuildIdentities".0."Manifest"."RestoreRamDisk"."Info"."Path" xml1 -o - BuildManifest.plist | grep '<string>' | cut -d\> -f2 | cut -d\< -f1 | head -1)" $ipswurl > /dev/null
else # else
$dir/pzb -g "$($dir/PlistBuddy BuildManifest.plist -c "Print BuildIdentities:0:Manifest:RestoreRamDisk:Info:Path" | sed 's/"//g')" $ipswurl > /dev/null # $dir/pzb -g "$($dir/PlistBuddy BuildManifest.plist -c "Print BuildIdentities:0:Manifest:RestoreRamDisk:Info:Path" | sed 's/"//g')" $ipswurl > /dev/null
fi # fi
fi #fi
echo "[*] Downloading kernelcache" echo "[*] Downloading kernelcache"
$dir/pzb -g "$(awk "/""$cpid""/{x=1}x&&/kernelcache.release/{print;exit}" BuildManifest.plist | grep '<string>' | cut -d\> -f2 | cut -d\< -f1)" $ipswurl > /dev/null $dir/pzb -g "$(awk "/""$cpid""/{x=1}x&&/kernelcache.release/{print;exit}" BuildManifest.plist | grep '<string>' | cut -d\> -f2 | cut -d\< -f1)" $ipswurl > /dev/null
@@ -199,15 +199,15 @@ if [ ! -e boot ]; then
echo "[*] Patching and repacking iBSS/iBEC" echo "[*] Patching and repacking iBSS/iBEC"
$dir/iBoot64Patcher iBSS.dec iBSS.patched > /dev/null $dir/iBoot64Patcher iBSS.dec iBSS.patched > /dev/null
$dir/iBoot64Patcher iBEC.dec iBEC.patched -b '-v keepsyms=1 debug=0xfffffffe panic-wait-forever=1 wdt=-1' > /dev/null $dir/iBoot64Patcher iBEC.dec iBEC.patched -b '-v keepsyms=1 debug=0xfffffffe panic-wait-forever=1 wdt=-1' > /dev/null
if [[ "$@" == *"install"* ]]; then #if [[ "$@" == *"install"* ]]; then
$dir/iBoot64Patcher iBEC.patched restore_ibec.patched -b '-v rd=md0 debug=0x2014e wdt=-1' > /dev/null # $dir/iBoot64Patcher iBEC.patched restore_ibec.patched -b '-v rd=md0 debug=0x2014e wdt=-1' > /dev/null
fi #fi
cd .. cd ..
$dir/img4 -i work/iBSS.patched -o boot/iBSS.img4 -M work/IM4M -A -T ibss > /dev/null $dir/img4 -i work/iBSS.patched -o boot/iBSS.img4 -M work/IM4M -A -T ibss > /dev/null
$dir/img4 -i work/iBEC.patched -o boot/iBEC.img4 -M work/IM4M -A -T ibec > /dev/null $dir/img4 -i work/iBEC.patched -o boot/iBEC.img4 -M work/IM4M -A -T ibec > /dev/null
if [[ "$@" == *"install"* ]]; then #if [[ "$@" == *"install"* ]]; then
$dir/img4 -i work/restore_ibec.patched -o boot/restore_ibec.img4 -M work/IM4M -A -T ibec > /dev/null # $dir/img4 -i work/restore_ibec.patched -o boot/restore_ibec.img4 -M work/IM4M -A -T ibec > /dev/null
fi #fi
echo "[*] Patching and converting kernelcache" echo "[*] Patching and converting kernelcache"
$dir/img4 -i work/"$(awk "/""$model""/{x=1}x&&/kernelcache.release/{print;exit}" work/BuildManifest.plist | grep '<string>' | cut -d\> -f2 | cut -d\< -f1)" -o work/kcache.raw > /dev/null $dir/img4 -i work/"$(awk "/""$model""/{x=1}x&&/kernelcache.release/{print;exit}" work/BuildManifest.plist | grep '<string>' | cut -d\> -f2 | cut -d\< -f1)" -o work/kcache.raw > /dev/null
@@ -225,17 +225,17 @@ if [ ! -e boot ]; then
$dir/img4 -i work/"$(Linux/PlistBuddy work/BuildManifest.plist -c "Print BuildIdentities:0:Manifest:StaticTrustCache:Info:Path" | sed 's/"//g'| sed 's/Firmware\///')" -o boot/trustcache.img4 -M work/IM4M -T rtsc > /dev/null $dir/img4 -i work/"$(Linux/PlistBuddy work/BuildManifest.plist -c "Print BuildIdentities:0:Manifest:StaticTrustCache:Info:Path" | sed 's/"//g'| sed 's/Firmware\///')" -o boot/trustcache.img4 -M work/IM4M -T rtsc > /dev/null
fi fi
if [[ "$@" == *"install"* ]]; then #if [[ "$@" == *"install"* ]]; then
echo "[*] Making ramdisk... this may take awhile" # echo "[*] Making ramdisk... this may take awhile"
if [ "$os" = 'Darwin' ]; then # if [ "$os" = 'Darwin' ]; then
$dir/img4 -i work/"$(/usr/bin/plutil -extract "BuildIdentities".0."Manifest"."RestoreRamDisk"."Info"."Path" xml1 -o - work/BuildManifest.plist | grep '<string>' | cut -d\> -f2 | cut -d\< -f1 | head -1)" -o work/ramdisk.dmg > /dev/null # $dir/img4 -i work/"$(/usr/bin/plutil -extract "BuildIdentities".0."Manifest"."RestoreRamDisk"."Info"."Path" xml1 -o - work/BuildManifest.plist | grep '<string>' | cut -d\> -f2 | cut -d\< -f1 | head -1)" -o work/ramdisk.dmg > /dev/null
else # else
$dir/img4 -i work/"$(Linux/PlistBuddy work/BuildManifest.plist -c "Print BuildIdentities:0:Manifest:RestoreRamDisk:Info:Path" | sed 's/"//g')" -o work/ramdisk.dmg > /dev/null # $dir/img4 -i work/"$(Linux/PlistBuddy work/BuildManifest.plist -c "Print BuildIdentities:0:Manifest:RestoreRamDisk:Info:Path" | sed 's/"//g')" -o work/ramdisk.dmg > /dev/null
fi # fi
$dir/hfsplus work/ramdisk.dmg grow 300000000 > /dev/null # $dir/hfsplus work/ramdisk.dmg grow 300000000 > /dev/null
$dir/hfsplus work/ramdisk.dmg untar other/ramdisk.tar.gz > /dev/null # $dir/hfsplus work/ramdisk.dmg untar other/ramdisk.tar.gz > /dev/null
$dir/img4 -i work/ramdisk.dmg -o boot/ramdisk.img4 -M work/IM4M -A -T rdsk > /dev/null # $dir/img4 -i work/ramdisk.dmg -o boot/ramdisk.img4 -M work/IM4M -A -T rdsk > /dev/null
fi #fi
fi fi
echo "[*] Booting device" echo "[*] Booting device"
@@ -243,29 +243,29 @@ $dir/gaster reset > /dev/null
sleep 1 sleep 1
$dir/irecovery -f boot/iBSS.img4 $dir/irecovery -f boot/iBSS.img4
sleep 3 sleep 3
if [[ "$@" == *"install"* ]]; then #if [[ "$@" == *"install"* ]]; then
$dir/irecovery -f boot/restore_ibec.img4 # $dir/irecovery -f boot/restore_ibec.img4
sleep 2 # sleep 2
else #else
$dir/irecovery -f boot/iBEC.img4 $dir/irecovery -f boot/iBEC.img4
sleep 2 sleep 2
fi #fi
if [[ "$cpid" == *"0x80"* ]]; then if [[ "$cpid" == *"0x80"* ]]; then
if [[ "$@" == *"install"* ]]; then #if [[ "$@" == *"install"* ]]; then
$dir/irecovery -f boot/restore_ibec.img4 # $dir/irecovery -f boot/restore_ibec.img4
else #else
$dir/irecovery -f boot/iBEC.img4 # $dir/irecovery -f boot/iBEC.img4
fi #fi
sleep 2 sleep 2
$dir/irecovery -c "go" $dir/irecovery -c "go"
sleep 5 sleep 5
fi fi
if [[ "$@" == *"install"* ]]; then #if [[ "$@" == *"install"* ]]; then
$dir/irecovery -f boot/ramdisk.img4 # $dir/irecovery -f boot/ramdisk.img4
sleep 2 # sleep 2
$dir/irecovery -c "ramdisk" # $dir/irecovery -c "ramdisk"
sleep 2 # sleep 2
fi #fi
$dir/irecovery -f boot/devicetree.img4 $dir/irecovery -f boot/devicetree.img4
sleep 1 sleep 1
$dir/irecovery -c "devicetree" $dir/irecovery -c "devicetree"
@@ -289,11 +289,11 @@ fi
rm -rf work rm -rf work
echo "" echo ""
echo "Done!" echo "Done!"
if [[ "$@" == *"install"* ]]; then #if [[ "$@" == *"install"* ]]; then
echo "The device should now reboot after about 30 seconds, then you can rerun the script without the install arg" # echo "The device should now reboot after about 30 seconds, then you can rerun the script without the install arg"
else #else
echo "The device should now boot to iOS, and you can open the Tips app and install Pogo (if you ran install before)" echo "The device should now boot to iOS"
echo "Add the repo mineek.github.io/repo for Procursus" echo "If you already have installed Pogo, click uicache and remount preboot in the tools section"
echo "If you already have installed Pogo, click uicache and remount preboot in the tools section" echo "If not, get an IPA from the latest action build of Pogo and install with TrollStore"
echo "If Pogo doesn't install to Tips, get an IPA from the latest action build of Pogo and install with TrollStore" echo "Add the repo mineek.github.io/repo for Procursus"
fi #fi