diff --git a/resources/jailbreak/daibutsu/move.sh b/resources/jailbreak/daibutsu/move.sh new file mode 100755 index 0000000..7889d5a --- /dev/null +++ b/resources/jailbreak/daibutsu/move.sh @@ -0,0 +1,15 @@ +#!/bin/bash +set -x +mv /mnt1/usr/libexec/CrashHousekeeping /mnt1/usr/libexec/CrashHousekeeping_o +mv /mnt1/Library/LaunchDaemons/com.saurik.Cydia.Startup.plist /mnt1/System/Library/LaunchDaemons/com.saurik.Cydia.Startup.plist +rm -rf /mnt1/Library/LaunchDaemons +mv /mnt1/System/Library/LaunchDaemons /mnt1/Library/LaunchDaemons +mv /mnt1/System/Library/NanoLaunchDaemons /mnt1/Library/NanoLaunchDaemons +mkdir -p /mnt1/System/Library/LaunchDaemons +mv /mnt1/Library/LaunchDaemons/bootps.plist /mnt1/System/Library/LaunchDaemons/bootps.plist +mv /mnt1/Library/LaunchDaemons/com.apple.CrashHousekeeping.plist /mnt1/System/Library/LaunchDaemons/com.apple.CrashHousekeeping.plist +mv /mnt1/Library/LaunchDaemons/com.apple.MobileFileIntegrity.plist /mnt1/System/Library/LaunchDaemons/com.apple.MobileFileIntegrity.plist +mv /mnt1/Library/LaunchDaemons/com.apple.mDNSResponder.plist /mnt1/System/Library/LaunchDaemons/com.apple.mDNSResponder.plist_ +mv /mnt1/Library/LaunchDaemons/com.apple.mobile.softwareupdated.plist /mnt1/System/Library/LaunchDaemons/com.apple.mobile.softwareupdated.plist_ +mv /mnt1/Library/LaunchDaemons/com.apple.softwareupdateservicesd.plist /mnt1/System/Library/LaunchDaemons/com.apple.softwareupdateservicesd.plist_ +mv /mnt1/Library/LaunchDaemons/com.apple.jetsamproperties.*.plist /mnt1/System/Library/LaunchDaemons diff --git a/restore.sh b/restore.sh index acb9911..a6a30d3 100755 --- a/restore.sh +++ b/restore.sh @@ -2808,7 +2808,6 @@ device_ramdisk() { 4.2.1 ) $ssh -p 2222 root@127.0.0.1 "[[ ! -e /mnt1/sbin/punchd ]] && mv /mnt1/sbin/launchd /mnt1/sbin/punchd";; esac case $vers in - 8.4.1 ) untether="untether.tar";; 4.2.1 | 4.1 | 4.0* | 3.2.2 ) untether="${device_type}_${build}.tar" if [[ $device_type == "iPod2,1" ]]; then @@ -2820,7 +2819,7 @@ device_ramdisk() { ;; esac case $vers in - 4.1 | 4.0* | 3.2.2 ) :;; + 8.4.1 | 4.1 | 4.0* | 3.2.2 ) :;; * ) log "Extracting $untether" $ssh -p 2222 root@127.0.0.1 "tar -xvf /mnt1/$untether -C /mnt1; rm /mnt1/$untether" @@ -2829,6 +2828,13 @@ device_ramdisk() { device_ramdisktar freeze.tar data sleep 3 if [[ $vers == "8.4.1" ]]; then + log "Sending daibutsu/move.sh" + $scp -P 2222 $jelbrek/daibutsu/move.sh root@127.0.0.1:/ + log "Moving files" + $ssh -p 2222 root@127.0.0.1 "bash /move.sh" + untether="untether.tar" + log "Extracting $untether" + $ssh -p 2222 root@127.0.0.1 "tar -xvf /mnt1/$untether -C /mnt1; rm /mnt1/$untether" log "Sending daibutsu/bin.tar" $scp -P 2222 $jelbrek/daibutsu/bin.tar root@127.0.0.1:/mnt1 log "Extracting bin.tar"