forked from wrcsubers/iOS_ActivationBypass
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbypass_device.sh
More file actions
executable file
·57 lines (51 loc) · 1.34 KB
/
Copy pathbypass_device.sh
File metadata and controls
executable file
·57 lines (51 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/bin/bash
# iOS Activation Bypass Script
# Run this on the jailbroken device via SSH
echo "=================================="
echo "iOS Activation Bypass Script"
echo "=================================="
echo ""
echo "[1/4] Mounting filesystem as read-write..."
mount -o rw,union,update /
if [ $? -eq 0 ]; then
echo "✓ Filesystem mounted successfully"
else
echo "✗ Failed to mount filesystem"
exit 1
fi
echo ""
echo "[2/4] Unloading mobileactivationd..."
launchctl unload /System/Library/LaunchDaemons/com.apple.mobileactivationd.plist
if [ $? -eq 0 ]; then
echo "✓ mobileactivationd unloaded"
else
echo "✗ Failed to unload mobileactivationd"
exit 1
fi
echo ""
echo "[3/4] Removing original mobileactivationd..."
rm /usr/libexec/mobileactivationd
if [ $? -eq 0 ]; then
echo "✓ Original mobileactivationd removed"
else
echo "✗ Failed to remove mobileactivationd"
exit 1
fi
echo ""
echo "[4/4] Updating UI cache..."
uicache --all
if [ $? -eq 0 ]; then
echo "✓ UI cache updated"
else
echo "✗ Failed to update UI cache"
exit 1
fi
echo ""
echo "=================================="
echo "Phase 1 Complete!"
echo "=================================="
echo ""
echo "NEXT STEPS:"
echo "1. Use WinSCP to transfer 'mobileactivationd' to /usr/libexec/"
echo "2. Run the finalize script: ./finalize_bypass.sh"
echo ""