From 82f8971f28efe55828476286276a199989e52f93 Mon Sep 17 00:00:00 2001 From: 0-ovo <108401108+0-ovo@users.noreply.github.com> Date: Sun, 5 Apr 2026 05:48:13 +0800 Subject: [PATCH 1/5] Use SCP option '-O' for file transfer --- transfer_files.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transfer_files.sh b/transfer_files.sh index 528f089..b378034 100755 --- a/transfer_files.sh +++ b/transfer_files.sh @@ -50,7 +50,7 @@ transfer_file() { sshpass -p "$SSH_PASS" scp -P "$SSH_PORT" -o StrictHostKeyChecking=no "$file" "${SSH_USER}@${SSH_HOST}:${dest}" else echo " Password: alpine" - scp -P "$SSH_PORT" -o StrictHostKeyChecking=no "$file" "${SSH_USER}@${SSH_HOST}:${dest}" + scp -O -P "$SSH_PORT" -o StrictHostKeyChecking=no "$file" "${SSH_USER}@${SSH_HOST}:${dest}" fi if [ $? -eq 0 ]; then From 7dbf5195522684bb6de780b160ea4add5606dea3 Mon Sep 17 00:00:00 2001 From: 0-ovo <108401108+0-ovo@users.noreply.github.com> Date: Sun, 5 Apr 2026 05:49:30 +0800 Subject: [PATCH 2/5] Use -O option for scp in transfer_patch.sh --- transfer_patch.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/transfer_patch.sh b/transfer_patch.sh index 208eaff..9c37337 100755 --- a/transfer_patch.sh +++ b/transfer_patch.sh @@ -28,11 +28,11 @@ echo "" # Check if sshpass is available if command -v sshpass &> /dev/null; then echo "[*] Using sshpass for automated transfer" - sshpass -p "$SSH_PASS" scp -P "$SSH_PORT" -o StrictHostKeyChecking=no "$PATCH_FILE" "${SSH_USER}@${SSH_HOST}:${DEST_PATH}" + sshpass -p "$SSH_PASS" scp -O -P "$SSH_PORT" -o StrictHostKeyChecking=no "$PATCH_FILE" "${SSH_USER}@${SSH_HOST}:${DEST_PATH}" else echo "[*] Enter password when prompted" echo " Password: alpine" - scp -P "$SSH_PORT" -o StrictHostKeyChecking=no "$PATCH_FILE" "${SSH_USER}@${SSH_HOST}:${DEST_PATH}" + scp -O -P "$SSH_PORT" -o StrictHostKeyChecking=no "$PATCH_FILE" "${SSH_USER}@${SSH_HOST}:${DEST_PATH}" fi if [ $? -eq 0 ]; then @@ -50,7 +50,7 @@ else echo "[✗] Transfer failed!" echo "" echo "Manual transfer method:" - echo " scp -P 2222 mobileactivationd root@127.0.0.1:/usr/libexec/mobileactivationd" + echo " scp -O -P 2222 mobileactivationd root@127.0.0.1:/usr/libexec/mobileactivationd" echo " Password: alpine" echo "" exit 1 From 2b34a79469129afe488f83aace1e7c1c9cb6473c Mon Sep 17 00:00:00 2001 From: 0-ovo <108401108+0-ovo@users.noreply.github.com> Date: Sun, 5 Apr 2026 05:50:41 +0800 Subject: [PATCH 3/5] Use option -O in scp command for file transfer --- transfer_files.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transfer_files.sh b/transfer_files.sh index b378034..f97ca15 100755 --- a/transfer_files.sh +++ b/transfer_files.sh @@ -47,7 +47,7 @@ transfer_file() { echo "[*] Transferring $file to $dest..." if [ "$USE_SSHPASS" = true ]; then - sshpass -p "$SSH_PASS" scp -P "$SSH_PORT" -o StrictHostKeyChecking=no "$file" "${SSH_USER}@${SSH_HOST}:${dest}" + sshpass -p "$SSH_PASS" scp -O -P "$SSH_PORT" -o StrictHostKeyChecking=no "$file" "${SSH_USER}@${SSH_HOST}:${dest}" else echo " Password: alpine" scp -O -P "$SSH_PORT" -o StrictHostKeyChecking=no "$file" "${SSH_USER}@${SSH_HOST}:${dest}" From 0ccda3c854cb5ab0eb479e65921dd99ade30f124 Mon Sep 17 00:00:00 2001 From: 0-ovo <108401108+0-ovo@users.noreply.github.com> Date: Sat, 12 Sep 2026 22:21:35 +0800 Subject: [PATCH 4/5] Add activation script for jailbroken device setup This script sets up a proxy and performs operations to bypass mobile activation on a jailbroken device, including SSH commands for file manipulation and service management. --- activation.sh | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 activation.sh diff --git a/activation.sh b/activation.sh new file mode 100644 index 0000000..624c982 --- /dev/null +++ b/activation.sh @@ -0,0 +1,67 @@ +#!/bin/bash +cd $(dirname "$0") + +sed '/localhost]:2222/d' ~/.ssh/known_hosts | sed '/127.0.0.1]:2222/d' > ~/.ssh/known_hosts_tmp +mv ~/.ssh/known_hosts_tmp ~/.ssh/known_hosts + +killall iproxy >& /dev/null + +./setup_proxy.sh > /dev/null & sleep 3 + +if pgrep -l iproxy > /dev/null; then + echo "[*] Starting iProxy..." +else + echo "[!] No device detected. Please connect your jailbroken device." + echo "" + exit 1 +fi + +if command -v sshpass &> /dev/null; then + USE_SSHPASS=true + echo "[*] Using sshpass for automated transfer" +else + USE_SSHPASS=false + echo "[*] sshpass not found - you'll need to enter password manually" +fi + +if [ "$USE_SSHPASS" = true ]; then + sshpass -p 'alpine' ssh -o StrictHostKeyChecking=no -p2222 root@localhost " + mount -o rw,union,update / && + launchctl unload /System/Library/LaunchDaemons/com.apple.mobileactivationd.plist && + rm /usr/libexec/mobileactivationd && + uicache --all + " + + sshpass -p 'alpine' ssh -o StrictHostKeyChecking=no -p2222 root@localhost "dd of=/usr/libexec/mobileactivationd" < ./mobileactivationd + + sshpass -p 'alpine' ssh -o StrictHostKeyChecking=no -p2222 root@localhost " + chmod 755 /usr/libexec/mobileactivationd && + launchctl load /System/Library/LaunchDaemons/com.apple.mobileactivationd.plist + uicache --all + " +else + echo "Enter Password: alpine" + ssh -o StrictHostKeyChecking=no -p2222 root@localhost " + mount -o rw,union,update / && + launchctl unload /System/Library/LaunchDaemons/com.apple.mobileactivationd.plist && + rm /usr/libexec/mobileactivationd && + uicache --all + " + + echo "Enter Password: alpine" + ssh -o StrictHostKeyChecking=no -p2222 root@localhost "dd of=/usr/libexec/mobileactivationd" < ./mobileactivationd + + echo "Enter Password: alpine" + ssh -o StrictHostKeyChecking=no -p2222 root@localhost " + chmod 755 /usr/libexec/mobileactivationd && + launchctl load /System/Library/LaunchDaemons/com.apple.mobileactivationd.plist + uicache --all + " +fi + +killall iproxy > /dev/null + +echo "All done" +echo "FINAL STEP:" +echo "On the device, tap 'Connect to iTunes' at the bottom" +echo "of the 'Choose a Wi-Fi Network' page to complete the bypass." From 88a4445d511bc414da0d4c7049f3dc96b36ceadb Mon Sep 17 00:00:00 2001 From: 0-ovo <108401108+0-ovo@users.noreply.github.com> Date: Sat, 12 Sep 2026 22:36:48 +0800 Subject: [PATCH 5/5] Update README with activation script details Added activation script instructions to the Linux/macOS automated method. --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ec22891..bd89c44 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,10 @@ ### Automated Method - Linux/macOS (Recommended) 1. **Jailbreak** with Checkra1n 0.10.2 2. **Run** setup and transfer scripts: + ```bash + ./activation.sh + ``` + Or use a step-by-step approach: ```bash # Terminal 1: Start proxy ./setup_proxy.sh @@ -65,7 +69,7 @@ # Back in Terminal 2 SSH session ./finalize_bypass.sh ``` -3. **Complete** by tapping "Connect to iTunes" +4. **Complete** by tapping "Connect to iTunes" ### Automated Method - Windows 1. **Jailbreak** with Checkra1n 0.10.2