decrypts self files
Usage: decrypt-self {self file} {elf file} {key file} {fix}
self file: file you want to decrypt
elf file: your output file
key file: use one of the included (e.g. "315.appkey")
all x**.appkey files are unknown fw numbers
find out on your own 
fix: 0 (zero)
shows self info
Usage: read-self {self file}
self file: file you want to decrypt
rebuild self?
Usage: rebuild-self {self file} {elf file}
unpack pup files (get core_os_package.pkg, etc.)
Usage: pup_unpack {filename} {directory}
filename: your pup
directory: destination for pup contents
decrypt pkgs (you extracted with pup_unpack)
Usage: fwpkg {mode} {input file} {output file}
Mode: - e: Encrypt PKG
- d: Decrypt PKG
input file: your crypted pkg
output file: decrypted output
extracts/rebuilds the decrypted CORE_OS_PACKAGE
Pack CoreOS : coreos_tool p {output pkg} {files...}
Unpack CoreOS: coreos_tool u {decrypted CORE_OS_PACKAGE.pkg}
first 32 bytes: erk
last 16 bytes: riv
Copyright © 2026, NextGenUpdate.
All Rights Reserved.