Skip to content
This repository was archived by the owner on Sep 12, 2025. It is now read-only.

Commit 02a2090

Browse files
committed
added vendor_kernel_boot to AvailablePartitions
1 parent c834f5f commit 02a2090

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ android {
1212
applicationId "com.github.capntrips.kernelflasher"
1313
minSdk 30
1414
targetSdk 33
15-
versionCode 13
16-
versionName "1.0.0-alpha13"
15+
versionCode 14
16+
versionName "1.0.0-alpha14"
1717

1818
vectorDrawables {
1919
useSupportLibrary true

app/src/main/java/com/github/capntrips/kernelflasher/common/PartitionUtil.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ object PartitionUtil {
1818
"vbmeta",
1919
"dtbo",
2020
"vendor_boot",
21+
"vendor_kernel_boot",
2122
"vendor_dlkm",
2223
"init_boot",
2324
"recovery"

app/src/main/java/com/github/capntrips/kernelflasher/common/types/partitions/Partitions.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ data class Partitions(
88
val vbmeta: String? = null,
99
val dtbo: String? = null,
1010
val vendor_boot: String? = null,
11+
val vendor_kernel_boot: String? = null,
1112
val vendor_dlkm: String? = null,
1213
val init_boot: String? = null,
1314
val recovery: String? = null
@@ -19,10 +20,11 @@ data class Partitions(
1920
val vbmeta by map
2021
val dtbo by map
2122
val vendor_boot by map
23+
val vendor_kernel_boot by map
2224
val vendor_dlkm by map
2325
val init_boot by map
2426
val recovery by map
25-
val partitions = Partitions(boot, vbmeta, dtbo, vendor_boot, vendor_dlkm, init_boot, recovery)
27+
val partitions = Partitions(boot, vbmeta, dtbo, vendor_boot, vendor_kernel_boot, vendor_dlkm, init_boot, recovery)
2628
}.partitions
2729
}
2830

@@ -32,6 +34,7 @@ data class Partitions(
3234
"vbmeta" -> vbmeta
3335
"dtbo" -> dtbo
3436
"vendor_boot" -> vendor_boot
37+
"vendor_kernel_boot" -> vendor_kernel_boot
3538
"vendor_dlkm" -> vendor_dlkm
3639
"init_boot" -> init_boot
3740
"recovery" -> recovery

0 commit comments

Comments
 (0)