mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-29 04:29:48 +01:00
fix bootlogo
This commit is contained in:
4 files changed
+10
-9
No files matched your search
+1
-1
@@ -5,7 +5,7 @@ binaries/Darwin/gaster
|
|||||||
work
|
work
|
||||||
rdwork
|
rdwork
|
||||||
boot*
|
boot*
|
||||||
!bootlogo.img4
|
!bootlogo.im4p
|
||||||
.irecovery
|
.irecovery
|
||||||
BuildManifest.plist
|
BuildManifest.plist
|
||||||
blobs
|
blobs
|
||||||
File renamed without changes.
+8
-7
@@ -247,6 +247,7 @@ if [ ! -f blobs/"$deviceid"-"$version".shsh2 ]; then
|
|||||||
chmod +x sshrd.sh
|
chmod +x sshrd.sh
|
||||||
echo "[*] Creating ramdisk"
|
echo "[*] Creating ramdisk"
|
||||||
./sshrd.sh 14.8 &> "$out" > "$out"
|
./sshrd.sh 14.8 &> "$out" > "$out"
|
||||||
|
|
||||||
echo "[*] Booting ramdisk"
|
echo "[*] Booting ramdisk"
|
||||||
./sshrd.sh boot > "$out"
|
./sshrd.sh boot > "$out"
|
||||||
cd ..
|
cd ..
|
||||||
@@ -375,6 +376,8 @@ if [ ! -e boot-"$deviceid" ]; then
|
|||||||
else
|
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"
|
"$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
|
fi
|
||||||
|
|
||||||
|
"$dir"/img4 -i other/bootlogo.im4p -o boot-"$deviceid"/bootlogo.img4 -M work/IM4M -A -T rlgo > "$out"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ============
|
# ============
|
||||||
@@ -387,17 +390,15 @@ echo "[*] Booting device"
|
|||||||
"$dir"/irecovery -f boot-"$deviceid"/iBSS.img4
|
"$dir"/irecovery -f boot-"$deviceid"/iBSS.img4
|
||||||
sleep 1
|
sleep 1
|
||||||
"$dir"/irecovery -f boot-"$deviceid"/iBSS.img4
|
"$dir"/irecovery -f boot-"$deviceid"/iBSS.img4
|
||||||
sleep 3
|
|
||||||
"$dir"/irecovery -f boot-"$deviceid"/iBEC.img4
|
|
||||||
sleep 2
|
sleep 2
|
||||||
|
"$dir"/irecovery -f boot-"$deviceid"/iBEC.img4
|
||||||
|
sleep 1
|
||||||
if [[ "$cpid" == *"0x80"* ]]; then
|
if [[ "$cpid" == *"0x80"* ]]; then
|
||||||
"$dir"/irecovery -c "go"
|
"$dir"/irecovery -c "go"
|
||||||
sleep 3
|
sleep 2
|
||||||
fi
|
fi
|
||||||
"$dir"/irecovery -f other/bootlogo.img4
|
"$dir"/irecovery -f boot-"$deviceid"/bootlogo.img4
|
||||||
sleep 1
|
"$dir"/irecovery -c "setpicture 0x1"
|
||||||
"$dir"/irecovery -f other/bootlogo.img4
|
|
||||||
"$dir"/irecovery -c 'setpicture 0x0'
|
|
||||||
"$dir"/irecovery -f boot-"$deviceid"/devicetree.img4
|
"$dir"/irecovery -f boot-"$deviceid"/devicetree.img4
|
||||||
"$dir"/irecovery -c "devicetree"
|
"$dir"/irecovery -c "devicetree"
|
||||||
"$dir"/irecovery -f boot-"$deviceid"/trustcache.img4
|
"$dir"/irecovery -f boot-"$deviceid"/trustcache.img4
|
||||||
|
|||||||
+1
-1
Submodule ramdisk updated: 5d19063d63...a13f56fe22.
Reference in new issue
Block a user