summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspv420 <spv@spv.sh>2022-07-31 03:05:01 -0400
committerspv420 <spv@spv.sh>2022-07-31 03:05:01 -0400
commit351555b741389c0046a8b596ab0dbf81682b5df7 (patch)
treefd5ac6d070fbb822878fe3051fcc869fe54a5755
parentb4c8eae5358953b4b55f6a7df2e8c9836b8d3c13 (diff)
fuck
-rw-r--r--install_media.sh4
-rw-r--r--src/gen/main.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/install_media.sh b/install_media.sh
new file mode 100644
index 0000000..4df87ff
--- /dev/null
+++ b/install_media.sh
@@ -0,0 +1,4 @@
+rm stage4.js
+find src/stage4 -name '*.js' -exec cat {} \; >> stage4.js
+
+cp stage4.js /home/spv/media/p0laris/ \ No newline at end of file
diff --git a/src/gen/main.c b/src/gen/main.c
index 4ee9e61..4cde64e 100644
--- a/src/gen/main.c
+++ b/src/gen/main.c
@@ -206,12 +206,12 @@ int main(int argc,
fprintf(stderr, "0x%x\n", RTLD_DEFAULT);
- uint32_t stack_base = 0x1c7718; // my shell setup
+// uint32_t stack_base = 0x1c7718; // my shell setup
// uint32_t stack_base = 0x1c7708; // my shell setup
// uint32_t stack_base = 0x1c7728; // my shell setup
// uint32_t stack_base = 0x1c77a8 ; // my 4s shell setup
// uint32_t stack_base = 0x1c2e48; // my lldb
-// uint32_t stack_base = 0x1c7d68; // btserver env
+ uint32_t stack_base = 0x1c7d68; // btserver env
// uint32_t stack_base = 0x1c7dd8; // wifiFirmwareLoader env
uint32_t magic_trigger_addr = 0xb6074;