funny nebula moment

This commit is contained in:
Mineek committed 2022-11-13 16:22:23 +01:00
1 parent c035a25b9e
commit fafdfef2b6
38 files changed
+7 -373

No files matched your search

+7 -3
View File
@@ -431,8 +431,12 @@ if [ ! -f blobs/"$deviceid"-"$version".shsh2 ]; then
echo "[*] Patching the kernel"
"$dir"/sshpass -p 'alpine' ssh -o StrictHostKeyChecking=no -p2222 root@localhost "rm -f /mnt6/$active/System/Library/Caches/com.apple.kernelcaches/kcache.raw /mnt6/$active/System/Library/Caches/com.apple.kernelcaches/kcache.patched /mnt6/$active/System/Library/Caches/com.apple.kernelcaches/kcache.im4p /mnt6/$active/System/Library/Caches/com.apple.kernelcaches/kernelcachd"
"$dir"/sshpass -p 'alpine' ssh -o StrictHostKeyChecking=no -p2222 root@localhost "cp /mnt6/$active/System/Library/Caches/com.apple.kernelcaches/kernelcache /mnt6/$active/System/Library/Caches/com.apple.kernelcaches/kernelcache.bak"
"$dir"/sshpass -p 'alpine' scp -o StrictHostKeyChecking=no -P2222 root@localhost:/mnt6/$active/System/Library/Caches/com.apple.kernelcaches/kernelcache work/
#"$dir"/sshpass -p 'alpine' ssh -o StrictHostKeyChecking=no -p2222 root@localhost "img4 -i /mnt6/$active/System/Library/Caches/com.apple.kernelcaches/kernelcache -o /mnt6/$active/System/Library/Caches/com.apple.kernelcaches/kcache.raw"
# download the kernel
echo "[*] Downloading BuildManifest"
"$dir"/pzb -g BuildManifest.plist "$ipswurl"
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"
mv kernelcache.release.* work/kernelcache
if [[ "$deviceid" == "iPhone8"* ]] || [[ "$deviceid" == "iPad6"* ]]|| [[ "$deviceid" == *'iPad5'* ]]; then
python3 -m pyimg4 im4p extract -i work/kernelcache -o work/kcache.raw --extra work/kpp.bin
else
@@ -442,7 +446,7 @@ if [ ! -f blobs/"$deviceid"-"$version".shsh2 ]; then
"$dir"/sshpass -p 'alpine' ssh -o StrictHostKeyChecking=no -p2222 root@localhost "/mnt1/private/var/root/Kernel15Patcher.ios /mnt6/$active/System/Library/Caches/com.apple.kernelcaches/kcache.raw /mnt6/$active/System/Library/Caches/com.apple.kernelcaches/kcache.patched"
"$dir"/sshpass -p 'alpine' scp -o StrictHostKeyChecking=no -P2222 root@localhost:/mnt6/$active/System/Library/Caches/com.apple.kernelcaches/kcache.patched work/
"$dir"/Kernel64Patcher work/kcache.patched work/kcache.patched2 -o -e -u
if [[ "$deviceid" == *'iPhone8'* ]] || [[ "$deviceid" == *'iPad6'* ]] || [[ "$deviceid" == *'iPad5'* ]] && [[ ! $1 == *"--tweaks"* ]]; then
if [[ "$deviceid" == *'iPhone8'* ]] || [[ "$deviceid" == *'iPad6'* ]] || [[ "$deviceid" == *'iPad5'* ]]; then
python3 -m pyimg4 im4p create -i work/kcache.patched2 -o work/kcache.im4p -f krnl --extra work/kpp.bin --lzss
elif [[ ! $1 == *"--tweaks"* ]]; then
python3 -m pyimg4 im4p create -i work/kcache.patched2 -o work/kcache.im4p -f krnl --lzss
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0x28a5d0 0x20 0x1f
0x28a5d1 0x1 0x20
0x28a5d2 0x0 0x3
0x28a5d3 0x54 0xd5
0x890a88 0xd8 0x1f
0x890a89 0x6 0x20
0x890a8a 0x0 0x3
0x890a8b 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0x28a5d0 0x20 0x1f
0x28a5d1 0x1 0x20
0x28a5d2 0x0 0x3
0x28a5d3 0x54 0xd5
0x890a88 0xd8 0x1f
0x890a89 0x6 0x20
0x890a8a 0x0 0x3
0x890a8b 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0x28a5d0 0x20 0x1f
0x28a5d1 0x1 0x20
0x28a5d2 0x0 0x3
0x28a5d3 0x54 0xd5
0x890a88 0xd8 0x1f
0x890a89 0x6 0x20
0x890a8a 0x0 0x3
0x890a8b 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0x28a5d0 0x20 0x1f
0x28a5d1 0x1 0x20
0x28a5d2 0x0 0x3
0x28a5d3 0x54 0xd5
0x890a88 0xd8 0x1f
0x890a89 0x6 0x20
0x890a8a 0x0 0x3
0x890a8b 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0xc9b988 0x20 0x1f
0xc9b989 0x1 0x20
0xc9b98a 0x0 0x3
0xc9b98b 0x54 0xd5
0x12a0bd4 0xd8 0x1f
0x12a0bd5 0x6 0x20
0x12a0bd6 0x0 0x3
0x12a0bd7 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0xc9b988 0x20 0x1f
0xc9b989 0x1 0x20
0xc9b98a 0x0 0x3
0xc9b98b 0x54 0xd5
0x12a0bd4 0xd8 0x1f
0x12a0bd5 0x6 0x20
0x12a0bd6 0x0 0x3
0x12a0bd7 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0xc442dc 0x20 0x1f
0xc442dd 0x1 0x20
0xc442de 0x0 0x3
0xc442df 0x54 0xd5
0xe44798 0xd8 0x1f
0xe44799 0x6 0x20
0xe4479a 0x0 0x3
0xe4479b 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0xc442dc 0x20 0x1f
0xc442dd 0x1 0x20
0xc442de 0x0 0x3
0xc442df 0x54 0xd5
0xe44798 0xd8 0x1f
0xe44799 0x6 0x20
0xe4479a 0x0 0x3
0xe4479b 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0xc8f988 0x20 0x1f
0xc8f989 0x1 0x20
0xc8f98a 0x0 0x3
0xc8f98b 0x54 0xd5
0x1294bd4 0xd8 0x1f
0x1294bd5 0x6 0x20
0x1294bd6 0x0 0x3
0x1294bd7 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0xc8f988 0x20 0x1f
0xc8f989 0x1 0x20
0xc8f98a 0x0 0x3
0xc8f98b 0x54 0xd5
0x1294bd4 0xd8 0x1f
0x1294bd5 0x6 0x20
0x1294bd6 0x0 0x3
0x1294bd7 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0x28a5d0 0x20 0x1f
0x28a5d1 0x1 0x20
0x28a5d2 0x0 0x3
0x28a5d3 0x54 0xd5
0x890a88 0xd8 0x1f
0x890a89 0x6 0x20
0x890a8a 0x0 0x3
0x890a8b 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0x28a5d0 0x20 0x1f
0x28a5d1 0x1 0x20
0x28a5d2 0x0 0x3
0x28a5d3 0x54 0xd5
0x890a88 0xd8 0x1f
0x890a89 0x6 0x20
0x890a8a 0x0 0x3
0x890a8b 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0x2453f0 0x20 0x1f
0x2453f1 0x1 0x20
0x2453f2 0x0 0x3
0x2453f3 0x54 0xd5
0x83f9ec 0xd8 0x1f
0x83f9ed 0x6 0x20
0x83f9ee 0x0 0x3
0x83f9ef 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0x2453f0 0x20 0x1f
0x2453f1 0x1 0x20
0x2453f2 0x0 0x3
0x2453f3 0x54 0xd5
0x83f9ec 0xd8 0x1f
0x83f9ed 0x6 0x20
0x83f9ee 0x0 0x3
0x83f9ef 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0x28a5d0 0x20 0x1f
0x28a5d1 0x1 0x20
0x28a5d2 0x0 0x3
0x28a5d3 0x54 0xd5
0x890a88 0xd8 0x1f
0x890a89 0x6 0x20
0x890a8a 0x0 0x3
0x890a8b 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0x28a5d0 0x20 0x1f
0x28a5d1 0x1 0x20
0x28a5d2 0x0 0x3
0x28a5d3 0x54 0xd5
0x890a88 0xd8 0x1f
0x890a89 0x6 0x20
0x890a8a 0x0 0x3
0x890a8b 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0x28a5d0 0x20 0x1f
0x28a5d1 0x1 0x20
0x28a5d2 0x0 0x3
0x28a5d3 0x54 0xd5
0x890a88 0xd8 0x1f
0x890a89 0x6 0x20
0x890a8a 0x0 0x3
0x890a8b 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0x28a5d0 0x20 0x1f
0x28a5d1 0x1 0x20
0x28a5d2 0x0 0x3
0x28a5d3 0x54 0xd5
0x890a88 0xd8 0x1f
0x890a89 0x6 0x20
0x890a8a 0x0 0x3
0x890a8b 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0x28a5d0 0x20 0x1f
0x28a5d1 0x1 0x20
0x28a5d2 0x0 0x3
0x28a5d3 0x54 0xd5
0x890a88 0xd8 0x1f
0x890a89 0x6 0x20
0x890a8a 0x0 0x3
0x890a8b 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0x2453f0 0x20 0x1f
0x2453f1 0x1 0x20
0x2453f2 0x0 0x3
0x2453f3 0x54 0xd5
0x83f9ec 0xd8 0x1f
0x83f9ed 0x6 0x20
0x83f9ee 0x0 0x3
0x83f9ef 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0x2453f0 0x20 0x1f
0x2453f1 0x1 0x20
0x2453f2 0x0 0x3
0x2453f3 0x54 0xd5
0x83f9ec 0xd8 0x1f
0x83f9ed 0x6 0x20
0x83f9ee 0x0 0x3
0x83f9ef 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0x28a5d0 0x20 0x1f
0x28a5d1 0x1 0x20
0x28a5d2 0x0 0x3
0x28a5d3 0x54 0xd5
0x890a88 0xd8 0x1f
0x890a89 0x6 0x20
0x890a8a 0x0 0x3
0x890a8b 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0x2453f0 0x20 0x1f
0x2453f1 0x1 0x20
0x2453f2 0x0 0x3
0x2453f3 0x54 0xd5
0x83f9ec 0xd8 0x1f
0x83f9ed 0x6 0x20
0x83f9ee 0x0 0x3
0x83f9ef 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0x2453f0 0x20 0x1f
0x2453f1 0x1 0x20
0x2453f2 0x0 0x3
0x2453f3 0x54 0xd5
0x83f9ec 0xd8 0x1f
0x83f9ed 0x6 0x20
0x83f9ee 0x0 0x3
0x83f9ef 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0x22206c 0x20 0x1f
0x22206d 0x1 0x20
0x22206e 0x0 0x3
0x22206f 0x54 0xd5
0x829968 0xd8 0x1f
0x829969 0x6 0x20
0x82996a 0x0 0x3
0x82996b 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0x22206c 0x20 0x1f
0x22206d 0x1 0x20
0x22206e 0x0 0x3
0x22206f 0x54 0xd5
0x829968 0xd8 0x1f
0x829969 0x6 0x20
0x82996a 0x0 0x3
0x82996b 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0x22206c 0x20 0x1f
0x22206d 0x1 0x20
0x22206e 0x0 0x3
0x22206f 0x54 0xd5
0x829968 0xd8 0x1f
0x829969 0x6 0x20
0x82996a 0x0 0x3
0x82996b 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0x22206c 0x20 0x1f
0x22206d 0x1 0x20
0x22206e 0x0 0x3
0x22206f 0x54 0xd5
0x829968 0xd8 0x1f
0x829969 0x6 0x20
0x82996a 0x0 0x3
0x82996b 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0x2453f0 0x20 0x1f
0x2453f1 0x1 0x20
0x2453f2 0x0 0x3
0x2453f3 0x54 0xd5
0x83f9ec 0xd8 0x1f
0x83f9ed 0x6 0x20
0x83f9ee 0x0 0x3
0x83f9ef 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0x2453f0 0x20 0x1f
0x2453f1 0x1 0x20
0x2453f2 0x0 0x3
0x2453f3 0x54 0xd5
0x83f9ec 0xd8 0x1f
0x83f9ed 0x6 0x20
0x83f9ee 0x0 0x3
0x83f9ef 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0x28a5d0 0x20 0x1f
0x28a5d1 0x1 0x20
0x28a5d2 0x0 0x3
0x28a5d3 0x54 0xd5
0x890a88 0xd8 0x1f
0x890a89 0x6 0x20
0x890a8a 0x0 0x3
0x890a8b 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0x2453f0 0x20 0x1f
0x2453f1 0x1 0x20
0x2453f2 0x0 0x3
0x2453f3 0x54 0xd5
0x83f9ec 0xd8 0x1f
0x83f9ed 0x6 0x20
0x83f9ee 0x0 0x3
0x83f9ef 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0x2453f0 0x20 0x1f
0x2453f1 0x1 0x20
0x2453f2 0x0 0x3
0x2453f3 0x54 0xd5
0x83f9ec 0xd8 0x1f
0x83f9ed 0x6 0x20
0x83f9ee 0x0 0x3
0x83f9ef 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0x2453f0 0x20 0x1f
0x2453f1 0x1 0x20
0x2453f2 0x0 0x3
0x2453f3 0x54 0xd5
0x83f9ec 0xd8 0x1f
0x83f9ed 0x6 0x20
0x83f9ee 0x0 0x3
0x83f9ef 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0x2453f0 0x20 0x1f
0x2453f1 0x1 0x20
0x2453f2 0x0 0x3
0x2453f3 0x54 0xd5
0x83f9ec 0xd8 0x1f
0x83f9ed 0x6 0x20
0x83f9ee 0x0 0x3
0x83f9ef 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0x2453f0 0x20 0x1f
0x2453f1 0x1 0x20
0x2453f2 0x0 0x3
0x2453f3 0x54 0xd5
0x83f9ec 0xd8 0x1f
0x83f9ed 0x6 0x20
0x83f9ee 0x0 0x3
0x83f9ef 0x34 0xd5
-10
View File
@@ -1,10 +0,0 @@
#AMFI
0x2453f0 0x20 0x1f
0x2453f1 0x1 0x20
0x2453f2 0x0 0x3
0x2453f3 0x54 0xd5
0x83f9ec 0xd8 0x1f
0x83f9ed 0x6 0x20
0x83f9ee 0x0 0x3
0x83f9ef 0x34 0xd5