Skip to content

Commit

Permalink
fix booting android
Browse files Browse the repository at this point in the history
  • Loading branch information
nift4 committed Jul 28, 2024
1 parent 3270b80 commit b7d47b2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/src/main/java/org/andbootmgr/app/DroidBootFlow.kt
Original file line number Diff line number Diff line change
Expand Up @@ -262,12 +262,12 @@ private fun Flash(vm: WizardActivityState) {
db.exportToFile(File(vm.logic.abmDb, "db.conf"))
val entry = ConfigFile()
entry["title"] = vm.texts["OsName"]!!
entry["linux"] = "real/kernel"
entry["initrd"] = "real/initrd.cpio.gz"
entry["dtb"] = "real/dtb.dtb"
entry["linux"] = "null"
entry["initrd"] = "null"
entry["dtb"] = "null"
if(vm.deviceInfo.havedtbo)
entry["dtbo"] = "real/dtbo.dtbo"
entry["options"] = "REPLACECMDLINE"
entry["dtbo"] = "null"
entry["options"] = "null"
entry["xtype"] = "droid"
entry["xpart"] = "real"
entry.exportToFile(File(vm.logic.abmEntries, "real.conf"))
Expand Down

0 comments on commit b7d47b2

Please sign in to comment.