From 01010df4ec8c9e6f0ef04863ed16924611ef9f72 Mon Sep 17 00:00:00 2001 From: Simon Fondrie-Teitler Date: Tue, 5 Aug 2025 17:59:13 -0400 Subject: [PATCH 1/2] Update instructions for installing from source Command changed in #460 --- doc/installing-from-source.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/installing-from-source.md b/doc/installing-from-source.md index 52c0af0..339fe4c 100644 --- a/doc/installing-from-source.md +++ b/doc/installing-from-source.md @@ -36,10 +36,11 @@ rustup target add x86_64-pc-windows-gnu Now you can root your device and install Rayhunter by running: ```sh -cargo build --bin rayhunter-daemon --target armv7-unknown-linux-musleabihf --profile firmware --no-default-features --features orbic +cargo build --bin rayhunter-daemon --target armv7-unknown-linux-musleabihf --profile firmware-devel -cargo build --bin rootshell --target armv7-unknown-linux-musleabihf --profile firmware +cargo build --bin rootshell --target armv7-unknown-linux-musleabihf --profile firmware-devel +# Replace 'orbic' with your device type if different (i.e. tmobile, uz801, pinephone, tplink, wingtech) cargo run --bin installer orbic ``` From 0f53da58bcccef604cad922c283908e937b01e96 Mon Sep 17 00:00:00 2001 From: Simon Fondrie-Teitler Date: Wed, 6 Aug 2025 10:55:05 -0400 Subject: [PATCH 2/2] Better document options when installing from source --- doc/installing-from-source.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/installing-from-source.md b/doc/installing-from-source.md index 339fe4c..ca17371 100644 --- a/doc/installing-from-source.md +++ b/doc/installing-from-source.md @@ -36,11 +36,14 @@ rustup target add x86_64-pc-windows-gnu Now you can root your device and install Rayhunter by running: ```sh -cargo build --bin rayhunter-daemon --target armv7-unknown-linux-musleabihf --profile firmware-devel +# Profile can be changed to 'firmware-devel' when building for development. +# Build time will decrease at the expense of binary size. +cargo build --bin rayhunter-daemon --target armv7-unknown-linux-musleabihf --profile firmware -cargo build --bin rootshell --target armv7-unknown-linux-musleabihf --profile firmware-devel +cargo build --bin rootshell --target armv7-unknown-linux-musleabihf --profile firmware -# Replace 'orbic' with your device type if different (i.e. tmobile, uz801, pinephone, tplink, wingtech) +# Replace 'orbic' with your device type if different. +# A list possible values can be found with 'cargo run --bin installer help'. cargo run --bin installer orbic ```