# KVS - Kernel Version Switcher
KVS is a side project of mine that will change your current tpm_kernver to ANY version between 0 and 3..

# KVS

Kernel Version Switcher

Kernel Version Switcher
writeup: https://blog.kxtz.dev/posts/kvs

### What is KVS?

KVS is a side project of mine that will change your current tpm_kernver to ANY version.

This works using the hexdumps of 0x1008 (kernver TPM index) and `tpmc` to write the hexdumps of your selected kernver to the 0x1008 TPM index.

YOU MUST BE UNENROLLED TO USE KVS! ANY ISSUES REPORTED RELATING TO BEING ENROLLED WHILE TRYING TO USE THIS WILL GET CLOSED IMMEDIATELY

### How do I use this?

To use KVS, you must download your shim from kxtz' shim mirror

After downloading, flash your USB/SD with the file, I recommend Chrome Recovery Utility.

### FAQ

####

Q: Will this brick my device?

A: No, KVS has no way to permanantly brick / hard brick a device. At most, it will make ChromeOS stop booting, but you will still be able to boot shims to recover the kernver index.

#### Q: What kernvers are there?

A: There are 4,294,967,296 possible kernel versions (0x00000000 - 0xFFFFFFFF)

#### Q: What versions can I downgrade to with kernver _

A: Heres what versions you can downgrade to with each official kernver

kernver 0: any

kernver 1: any

kernver 2: 112 - 119

kernver 4: 125 - latest

#### Q: What is the difference between kernver 0 and kernver 1?

A: literally none, its just cool to see

### Credits

kxtzownsu - Writing KVS

OlyB - Helping me with the shim builder, most of the shim builder wouldn't exist without him.

Google - Writing the `tpmc` command