Hi!
I would like to be able to build rayhunter at home and possibly contribute to the project. I cloned the repository and I’m following the build instructions (https://efforg.github.io/rayhunter/installing-from-source.html). I’m getting two warnings (okay, no big deal) and also getting four compile errors:
Compiling rayhunter v0.8.0 (/home/gary/rayhunter-dec2025/rayhunter/lib)
warning: unused import: `error`
--> lib/src/diag.rs:8:11
|
8 | use log::{error, warn};
| ^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: value assigned to `hdr_len` is never read
--> lib/src/diag.rs:153:14
|
153 | #[deku(ctx = "log_type: u16, hdr_len: u16", id = "log_type")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: maybe it is overwritten before being read?
= note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
warning: `rayhunter` (lib) generated 2 warnings (run `cargo fix --lib -p rayhunter` to apply 1 suggestion)
Compiling rayhunter-daemon v0.8.0 (/home/gary/rayhunter-dec2025/rayhunter/daemon)
error: couldn't read `daemon/src/../web/build/rayhunter_orca_only.png`: No such file or directory (os error 2)
--> daemon/src/server.rs:79:13
|
79 | include_bytes!("../web/build/rayhunter_orca_only.png"),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: couldn't read `daemon/src/../web/build/rayhunter_text.png`: No such file or directory (os error 2)
--> daemon/src/server.rs:84:13
|
84 | include_bytes!("../web/build/rayhunter_text.png"),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: couldn't read `daemon/src/../web/build/favicon.png`: No such file or directory (os error 2)
--> daemon/src/server.rs:89:13
|
89 | include_bytes!("../web/build/favicon.png"),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: couldn't read `daemon/src/../web/build/index.html.gz`: No such file or directory (os error 2)
--> daemon/src/server.rs:97:13
|
97 | include_bytes!("../web/build/index.html.gz"),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: could not compile `rayhunter-daemon` (bin "rayhunter-daemon") due to 4 previous errors
I did not see rayhunter_orca_only.png at the location above, but rather at rayhunter/daemon/web/static.
I’ve been a programmer for a while, but I’m new to Rust, so apologies if I’m missing a simple fix.
Thank you for the help!
Gary
You’re missing the web UI artifacts. You first need to build the web UI:
Then you can:
And then build the rootshell:
Finally, flash onto your device with adb:
Nice! Thank you, and “pilot error” on my part. :-)
My Orbic is attached via usb, so I needed to update the final step to “./target/debug/installer orbic-usb” (added -usb).
Now, it’s built and re-loaded and I’m interested to start learning how this thing works!
THANK YOU AGAIN!
Gary