Skip to content

Commit 2eecb34

Browse files
Fix wrong fuction name
1 parent fb59405 commit 2eecb34

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

scripts/odysseyra1n

+3-3
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ clear
8383
if ! ls ./*.tar > /dev/null 2>&1; then
8484
blue_echo 'Extracting resources...'
8585
if xz -vd ./*.tar.xz; then
86-
done_green_echo 'Done extracting resources.'
86+
done_echo 'Done extracting resources.'
8787
else
8888
failed 'Failed to extract resources.'
8989
fi
@@ -105,7 +105,7 @@ if sshpass -p 'alpine' scp -qP28605 -o "StrictHostKeyChecking no" -o "UserKnownH
105105
org.swift.libswift_5.0-electra2_iphoneos-arm.deb \
106106
odysseyra1n-install.bash \
107107
[email protected]:/var/root/; then
108-
done_green_echo 'Done copying resources to your device.'
108+
done_echo 'Done copying resources to your device.'
109109
else
110110
failed_echo 'Failed to copy resources to your device.'
111111
fi
@@ -116,7 +116,7 @@ blue_echo "Bootstrapping your device..."
116116
# * Added check if command is successful
117117
# * Added sshpass -p 'alpine'
118118
if sshpass -p 'alpine' ssh -qp28605 -o "StrictHostKeyChecking no" -o "UserKnownHostsFile=/dev/null" [email protected] "bash /var/root/odysseyra1n-install.bash"; then
119-
done_green_echo 'Done bootstrapping your device.'
119+
done_echo 'Done bootstrapping your device.'
120120
else
121121
failed_echo 'Failed to bootstrap your device.'
122122
fi

scripts/setup_android-sandcastle

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ clear
3333

3434
blue_echo 'Copying the setup script to your device...'
3535
if scp -qP28605 -o "StrictHostKeyChecking no" -o "UserKnownHostsFile=/dev/null" isetup [email protected]:/tmp/setup.sh; then
36-
done_green_echo 'Done copying the setup script to your device.'
36+
done_echo 'Done copying the setup script to your device.'
3737
else
3838
failed_echo 'Failed to copy the setup script to your device.'
3939
fi
4040

4141
blue_echo 'Downloading NAND...'
4242
if ssh -qp28605 -o "StrictHostKeyChecking no" -o "UserKnownHostsFile=/dev/null" [email protected] "chmod 755 /tmp/setup.sh && /tmp/setup.sh"; then
43-
done_green_echo 'Done downloading NAND.'
43+
done_echo 'Done downloading NAND.'
4444
echo 'Select "Start Android" to boot into Android'
4545
enter_to_quit
4646
/usr/bin/menu_projectsandcastle

scripts/start_project_sandcastle

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ esac
1818
cd /root/android-sandcastle/
1919

2020
# Show ASCII art
21-
android_logo
21+
"${1}"_logo
2222

23-
CHECKRA1N="$(CHECKRA1N_LOG_PATH=pongo_shell.log /usr/bin/checkra1n -cp)"
23+
CHECKRA1N="$(/usr/bin/checkra1n -cp > pongo_shell.log 2>&1 & echo $!)"
2424
echo 'Please put your device into DFU mode'
2525
sleep 1
2626
while true; do
@@ -34,7 +34,7 @@ done
3434
sleep 5
3535
blue_echo "Starting $PROJECT_SANDCASTLE..."
3636
if /usr/bin/load-linux ${PROJECT_SANDCASTLE}.lzma dtbpack; then
37-
done_green_echo "Done starting $PROJECT_SANDCASTLE."
37+
done_echo "Done starting $PROJECT_SANDCASTLE."
3838
enter_to_quit
3939
else
4040
failed_echo "Failed to start $PROJECT_SANDCASTLE."

0 commit comments

Comments
 (0)