diff --git a/.gitignore b/.gitignore index 9d587ab..24ac826 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,7 @@ binaries/Darwin/gaster work rdwork boot* -!bootlogo.img4 +!bootlogo.im4p .irecovery BuildManifest.plist blobs diff --git a/other/bootlogo.img4 b/other/bootlogo.im4p similarity index 100% rename from other/bootlogo.img4 rename to other/bootlogo.im4p diff --git a/palera1n.sh b/palera1n.sh index ad9f07a..de7acb2 100755 --- a/palera1n.sh +++ b/palera1n.sh @@ -247,6 +247,7 @@ if [ ! -f blobs/"$deviceid"-"$version".shsh2 ]; then chmod +x sshrd.sh echo "[*] Creating ramdisk" ./sshrd.sh 14.8 &> "$out" > "$out" + echo "[*] Booting ramdisk" ./sshrd.sh boot > "$out" cd .. @@ -375,6 +376,8 @@ if [ ! -e boot-"$deviceid" ]; then else "$dir"/img4 -i work/"$("$dir"/PlistBuddy work/BuildManifest.plist -c "Print BuildIdentities:0:Manifest:StaticTrustCache:Info:Path" | sed 's/"//g'| sed 's/Firmware\///')" -o boot-"$deviceid"/trustcache.img4 -M work/IM4M -T rtsc > "$out" fi + + "$dir"/img4 -i other/bootlogo.im4p -o boot-"$deviceid"/bootlogo.img4 -M work/IM4M -A -T rlgo > "$out" fi # ============ @@ -387,17 +390,15 @@ echo "[*] Booting device" "$dir"/irecovery -f boot-"$deviceid"/iBSS.img4 sleep 1 "$dir"/irecovery -f boot-"$deviceid"/iBSS.img4 -sleep 3 -"$dir"/irecovery -f boot-"$deviceid"/iBEC.img4 sleep 2 +"$dir"/irecovery -f boot-"$deviceid"/iBEC.img4 +sleep 1 if [[ "$cpid" == *"0x80"* ]]; then "$dir"/irecovery -c "go" - sleep 3 + sleep 2 fi -"$dir"/irecovery -f other/bootlogo.img4 -sleep 1 -"$dir"/irecovery -f other/bootlogo.img4 -"$dir"/irecovery -c 'setpicture 0x0' +"$dir"/irecovery -f boot-"$deviceid"/bootlogo.img4 +"$dir"/irecovery -c "setpicture 0x1" "$dir"/irecovery -f boot-"$deviceid"/devicetree.img4 "$dir"/irecovery -c "devicetree" "$dir"/irecovery -f boot-"$deviceid"/trustcache.img4 diff --git a/ramdisk b/ramdisk index 5d19063..a13f56f 160000 --- a/ramdisk +++ b/ramdisk @@ -1 +1 @@ -Subproject commit 5d19063d63b5bf321ba4089e443c562f0cd76887 +Subproject commit a13f56fe22526593a9b65b043b6e6a7373bcd60a