efforg/rayhunter#327

View on GitHub →
#327 Windows Installation documentation and file structure

Hello All,

The windows installation is lacking when using the official documentation for a new device. Some of the issues:

  • Debug is not enabled. You have to use the Verizon update to update the ports
  • Zadig is easy to install but no information is available on how to change the driver. I found that I had to enable “List All Devices” under options, replace driver with winusb driver on “MDM9207-MTP” interface 0
  • Files are missing from the package: install.ps1 is needed at the root level of the rayhunter folder structure
  • download the “platform-tools-latest-windows” to the root level
  • download “config.toml.example” from the dist github repo to the root level
  • download “scripts/rayhunter_daemon” from the github repo to the root level
  • download “scripts/misc-daemon” from the github repo to the root level
  • test script needs /index.html to prevent a 308: $URL = “http://localhost:8080/index.html

I modified the ps1 to view the issues:

function _adb_push {
    Write-Host "Running: $global:adb push $($args[0]) $($args[1])"
    & $global:adb push $args[0] $args[1]
    $exitCode = $LASTEXITCODE
    if ($exitCode -ne 0) {
        Write-Host "adb push exited with exit code $exitCode"
    }
    return $exitCode

	#$proc = start-process -passthru -wait $global:adb -argumentlist "push", $args[0], $args[1]
	#if ($proc.exitcode -ne 0) {
	#	write-host "push exited with exit code $($proc.exitcode)"
	#}
	#return $proc.exitcode
}
Comments (4)

Thank you yes the windows install process is still lacking. I was working on this friday and continuing to work on it a bit this week but my time is limited. Working in #321

umm, I can’t help much with proper coding, but I just got my Orbic and if y’all need a test, I could definitely use the help getting mine to work. im using windows

I’m getting the following error, please advise.

PS F:\downloads\rayhunter-v0.3.3\installer-windows-x86_64> .\installer.exe orbic Forcing a switch into the debug mode to enable ADB ADB enabled, waiting for reboot… Failed to install rayhunter on the Orbic RC400L

Caused by: unsupported PS F:\downloads\rayhunter-v0.3.3\installer-windows-x86_64>

Additionally,. for Windows 11, Zadig will fail to install the drivers unless Sign Catalog & Install Autogenerated Certificate is checked in Options.

The image in the tutorial currently shows it as unchecked.