Skip to content

Instantly share code, notes, and snippets.

View C0DEbrained's full-sized avatar
Inhaling Caffeine

Corey C0DEbrained

Inhaling Caffeine
View GitHub Profile
@C0DEbrained
C0DEbrained / k1c-2025-exploit.md
Last active May 14, 2026 07:03
Creality K1C 2025 Root Exploit

K1C 2025 Root Exploit

PLEASE SEE NEW K1C-TOOLS REPO

I've migrated this script to a full repo, so that we can properly discuss the device, its firmware, and any tools created for it in a better way. Please check out that repo instead, PRs for tools are welcome!

ko-fi

All donations will help fund my new 3d printing habit...


private object UninitializedValue
open class NullablePreferenceDelegate<T : @Serializable Any?>(
protected val montoya: MontoyaApi,
protected var key: String? = null,
protected val customSerializer: KSerializer<in T>? = null,
protected val default: () -> T?
) : ReadWriteProperty<Any?, T?> {
protected val preferences: Preferences = montoya.persistence().preferences()
private val json = Json { ignoreUnknownKeys = true }