38 lines
1.7 KiB
Markdown
38 lines
1.7 KiB
Markdown
|
|
TK1 Loader (tk1-loader.sh)
|
||
|
|
|
||
|
|
A versatile payload injector designed for the NVIDIA Tegra K1 (T124) and similar platforms.
|
||
|
|
This script acts as a front-end "driver" for various RCM (Recovery Mode) exploitation and loading tools,
|
||
|
|
removing the need to remember complex command-line arguments or hex addresses.
|
||
|
|
- - -
|
||
|
|
|
||
|
|
Overview
|
||
|
|
The script automates the process of finding your compiled U-Boot or SPL binaries and pushing them to your device
|
||
|
|
using one of several supported backends. It saves your preferences in a local .tk1_loader_config file so you only have to
|
||
|
|
configure your tool paths once.
|
||
|
|
|
||
|
|
|
||
|
|
Setup & Usage
|
||
|
|
|
||
|
|
1. Initial ConfigurationBefore the first run, you must define which tool you are using and where it is located:
|
||
|
|
you mught have to chmod this as well : chmod +x tk1-loader.sh
|
||
|
|
./tk1-loader.sh setup
|
||
|
|
During setup, you will:
|
||
|
|
Select a backend (shofel2_T124, fusee_glee, tegrarcm, or Custom).
|
||
|
|
Provide the path to the executable.Optionally set a Default Payload (e.g., u-boot-dtb-tegra.bin) for auto loading.
|
||
|
|
|
||
|
|
2. Pushing a Payload
|
||
|
|
Once configured, simply run the script without arguments:
|
||
|
|
./tk1-loader.sh
|
||
|
|
If a default is set: It will immediately attempt to push that file.
|
||
|
|
If no default is set: It will recursively scan the current directory and all subfolders (like spl/) for any .bin
|
||
|
|
files and present a numbered menu for you to choose from.🛠
|
||
|
|
|
||
|
|
Supported Backends
|
||
|
|
Tool Internal Logic / Commands
|
||
|
|
Shofel2_T124sudo <tool> PAYLOAD <file>
|
||
|
|
fusee_gleesudo <tool> <file>
|
||
|
|
tegrarcm sudo <tool> --bootloader <file> --loadaddr 0x80108000
|
||
|
|
Custom User-defined command string using $TOOL_PATH and $PAYLOAD_PATH variables.
|
||
|
|
|
||
|
|
|