2024-12-29 08:19:20 +00:00
2024-12-29 08:19:20 +00:00
2024-12-29 08:19:20 +00:00
2024-12-29 08:19:20 +00:00
2024-12-29 08:19:20 +00:00
2024-12-29 08:19:20 +00:00
2024-12-29 08:19:20 +00:00
2024-02-22 15:50:14 -05:00
2024-12-29 08:19:20 +00:00

kvs

KVS: Kernel Version Switcher (anti-rollback rollbacker)
build kvs build kvg

my first real C project, the code may look like shit, dont get mad at me because of it! :3

Build Instructions

  1. Clone the repo:
git clone https://github.com/kxtzownsu/KVS.git
cd KVS/builder/
  1. Make sure you have the following dependicies installed:
gdisk e2fsprogs
  1. Run the builder:
sudo bash builder.sh <path to RAW shim> <optional flags>

Booting a KVS shim

After installing KVS to a raw shim, download & open the Chrome Recovery Utility.
image
Press the Settings (⚙️) icon in the top right, and press "Use Local Image". Select your built KVS shim, and then select your target USB / SD.

After flashing the USB/SD, insert the newly-flashed USB/SD into your target device. Once inserted, press ESC + REFRESH (↻) + PWR (⏻) and then press CTRL+D and then enter.

Once in Developer Mode, your screen should look similar to this: image

Now, press ESC + REFRESH (↻) + PWR (⏻) again and it should load into KVS.

DISCLAIMER

I am unable to provide any raw shim files directly. Raw shims are Google's property signed with their private keys.
Any legal trouble you recieve due to possessing a raw shim for KVS is not my responsibility.

Credits

kxtzownsu - writing KVS & KVG, porting to C
hannah - writing the tpm2 api in src/KVS/tpm.c, moral support, testing
people in TN - giving me the original kernver files before KVG existed

Description
KVS: Kernel Version Switcher
Readme 1.4 MiB
Languages
C 45.5%
Shell 20.1%
Rust 12.9%
HTML 9.2%
JavaScript 5.9%
Other 6.4%