From 3c6568951609c56c5dfe193bd563d9b910070b3b Mon Sep 17 00:00:00 2001
From: IFOKNR <253658289+ifoknr@users.noreply.github.com>
Date: Thu, 22 Oct 2026 04:14:32 +0000
Subject: [PATCH 01/10] WebUI: new app icon in the header and as the favicon
The phone with a puzzle piece on dark teal, the same icon as on ifoknr.com
and the other Fastboot Studio tools (webroot/logo.svg). For the next release.
---
module/webroot/index.html | 10 +++++++---
module/webroot/logo.svg | 7 +++++++
module/webroot/style.css | 3 +++
3 files changed, 17 insertions(+), 3 deletions(-)
create mode 100644 module/webroot/logo.svg
diff --git a/module/webroot/index.html b/module/webroot/index.html
index bbe85db..839b3e5 100644
--- a/module/webroot/index.html
+++ b/module/webroot/index.html
@@ -5,13 +5,17 @@
Fastboot Studio Companion
+
-
-
Companion
-
…
+
+
+
+
Companion
+
…
+
diff --git a/module/webroot/logo.svg b/module/webroot/logo.svg
new file mode 100644
index 0000000..6a6ba0f
--- /dev/null
+++ b/module/webroot/logo.svg
@@ -0,0 +1,7 @@
+
\ No newline at end of file
diff --git a/module/webroot/style.css b/module/webroot/style.css
index 0282676..eda051e 100644
--- a/module/webroot/style.css
+++ b/module/webroot/style.css
@@ -56,6 +56,9 @@ button, input { font: inherit; color: inherit; }
position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: .5rem;
padding: calc(var(--top) + .8rem) 1rem .8rem; background: var(--bg); border-bottom: 1px solid var(--line);
}
+/* The app icon, the same as on ifoknr.com and the other Fastboot Studio tools. */
+.brand { display: flex; align-items: center; gap: .7rem; min-width: 0; }
+.brand .logo { width: 2.5rem; height: 2.5rem; flex: none; display: block; }
.appbar .title { font-weight: 700; font-size: 1.15rem; line-height: 1.25; display: flex; align-items: center; gap: .5rem; }
.appbar .title .chip { font-size: .7rem; padding: .05rem .45rem; }
.appbar .sub { font-size: .8rem; color: var(--faint); direction: ltr; unicode-bidi: isolate; }
From 8be5d30cc280b21060fb87a4c5047da22bacb74d Mon Sep 17 00:00:00 2001
From: IFOKNR <253658289+ifoknr@users.noreply.github.com>
Date: Wed, 28 Oct 2026 03:22:56 +0000
Subject: [PATCH 02/10] webui: IFOKNR in the Swamp Ninja lettering on the About
card
---
module/webroot/ifoknr-dark.svg | 1 +
module/webroot/ifoknr-light.svg | 1 +
module/webroot/index.html | 1 +
module/webroot/style.css | 11 +++++++++++
4 files changed, 14 insertions(+)
create mode 100644 module/webroot/ifoknr-dark.svg
create mode 100644 module/webroot/ifoknr-light.svg
diff --git a/module/webroot/ifoknr-dark.svg b/module/webroot/ifoknr-dark.svg
new file mode 100644
index 0000000..17bc917
--- /dev/null
+++ b/module/webroot/ifoknr-dark.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/module/webroot/ifoknr-light.svg b/module/webroot/ifoknr-light.svg
new file mode 100644
index 0000000..1d57656
--- /dev/null
+++ b/module/webroot/ifoknr-light.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/module/webroot/index.html b/module/webroot/index.html
index 839b3e5..a916984 100644
--- a/module/webroot/index.html
+++ b/module/webroot/index.html
@@ -142,6 +142,7 @@
+
diff --git a/module/webroot/style.css b/module/webroot/style.css
index eda051e..295e0e2 100644
--- a/module/webroot/style.css
+++ b/module/webroot/style.css
@@ -286,3 +286,14 @@ pre.code .hit { color: var(--danger); }
}
@media (prefers-reduced-motion: reduce) { .core .bar, .meter i, body { transition: none; } }
+
+/* IFOKNR in the Swamp Ninja lettering, as outlines; one picture per theme. */
+.sig-row { margin: 2px 0 10px; }
+.sig { height: 18px; width: auto; display: block; }
+.sig-light { display: none; }
+:root[data-theme="light"] .sig-dark { display: none; }
+:root[data-theme="light"] .sig-light { display: block; }
+@media (prefers-color-scheme: light) {
+ :root:not([data-theme="dark"]) .sig-dark { display: none; }
+ :root:not([data-theme="dark"]) .sig-light { display: block; }
+}
From 98d7c8dc6389e9983b631201eb5fbc56d6d732e6 Mon Sep 17 00:00:00 2001
From: IFOKNR <253658289+ifoknr@users.noreply.github.com>
Date: Wed, 28 Oct 2026 06:13:07 +0000
Subject: [PATCH 03/10] Draw the Companion name in the header in the Prixma
lettering
---
module/webroot/index.html | 2 +-
module/webroot/style.css | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/module/webroot/index.html b/module/webroot/index.html
index a916984..4b12e1d 100644
--- a/module/webroot/index.html
+++ b/module/webroot/index.html
@@ -13,7 +13,7 @@
-
Companion
+
…
diff --git a/module/webroot/style.css b/module/webroot/style.css
index 295e0e2..3fc9b6b 100644
--- a/module/webroot/style.css
+++ b/module/webroot/style.css
@@ -61,6 +61,7 @@ button, input { font: inherit; color: inherit; }
.brand .logo { width: 2.5rem; height: 2.5rem; flex: none; display: block; }
.appbar .title { font-weight: 700; font-size: 1.15rem; line-height: 1.25; display: flex; align-items: center; gap: .5rem; }
.appbar .title .chip { font-size: .7rem; padding: .05rem .45rem; }
+.wm { display: block; height: 1em; overflow: visible; }
.appbar .sub { font-size: .8rem; color: var(--faint); direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .appbar .sub { text-align: right; }
.bar-end { display: flex; align-items: center; gap: .5rem; }
From 8dae8b53a61788d3d060cd4771aaf990ef51d6ee Mon Sep 17 00:00:00 2001
From: IFOKNR <253658289+ifoknr@users.noreply.github.com>
Date: Wed, 28 Oct 2026 06:38:16 +0000
Subject: [PATCH 04/10] New icon: a neon phone with a puzzle piece, light teal
on dark
---
module/webroot/logo.svg | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/module/webroot/logo.svg b/module/webroot/logo.svg
index 6a6ba0f..eeffdc9 100644
--- a/module/webroot/logo.svg
+++ b/module/webroot/logo.svg
@@ -1,7 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
From 71bdc7e58363b33a3d93b3b71361546669c2df65 Mon Sep 17 00:00:00 2001
From: IFOKNR <253658289+ifoknr@users.noreply.github.com>
Date: Thu, 29 Oct 2026 04:06:38 +0000
Subject: [PATCH 05/10] v2.5.2: the bootloader state from the bootloader first,
and root means unlocked
---
CHANGELOG.md | 10 +++++++++
module/bin/fbs | 2 +-
module/lib/detect.sh | 48 ++++++++++++++++++++++++++++++++++++++----
module/module.prop | 4 ++--
module/webroot/app.js | 5 +++--
module/webroot/i18n.js | 4 ++--
tests/run.sh | 22 +++++++++++++++++++
update.json | 6 +++---
8 files changed, 87 insertions(+), 14 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0bd803f..be90cc6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,16 @@
+## v2.5.2
+- البوت لودر يطلع «مفتوح» صح حتى لو الروم أو مود إخفاء خلّى خصائص الإقلاع تقول «مقفل» (مثل أجهزة كوالكوم القديمة)
+- الحالة تنقرا من البوت لودر نفسه أول، والروت يعني إن البوت لودر مفتوح
+- لو الحالة مو معروفة تطلع «؟» بدل «مقفل»
+
+**English**
+- The bootloader shows as unlocked even when the ROM or a hiding module makes the boot properties say locked (older Qualcomm phones, for one)
+- The state comes from the bootloader itself first, and root means the bootloader is unlocked
+- An unknown state shows as "?" instead of "locked"
+
## v2.5.1
- أول إصدار رسمي: الإضافة طلعت من التجريبي (Beta)
- زر «حذف» لكل نسخة احتياطية في تبويب الباك أب، مع تأكيد قبل الحذف
diff --git a/module/bin/fbs b/module/bin/fbs
index 01f56f8..a6b7462 100755
--- a/module/bin/fbs
+++ b/module/bin/fbs
@@ -5,7 +5,7 @@
# (or one JSON object per line for long jobs), so all three always agree. Nothing here writes
# to a partition: the only writes are backups and reports under /sdcard/FastbootStudio.
-FBS_VERSION=2.5.1
+FBS_VERSION=2.5.2
# beta while the module is experimental; stable once it is not. release.yml publishes a beta
# as a pre-release, the WebUI shows a Beta badge, and tools/build.sh checks module.prop agrees.
FBS_CHANNEL=stable
diff --git a/module/lib/detect.sh b/module/lib/detect.sh
index fcbc6b0..a4764ce 100644
--- a/module/lib/detect.sh
+++ b/module/lib/detect.sh
@@ -63,6 +63,48 @@ storage_json() {
printf null
}
+# Locked or unlocked, in I_DEVSTATE and I_LOCKED. Older bootloaders (Qualcomm msm89xx and the
+# like) give no vbmeta.device_state, and ROMs and hiding modules set ro.boot.* to "locked"
+# for Play Integrity, so the properties come last: first the kernel command line or
+# bootconfig, then what the bootloader's AVB state means (orange is unlocked). Root needs a
+# modified boot image, which a locked bootloader does not start, so with root it is unlocked.
+boot_state() {
+ I_DEVSTATE=$(bootarg vbmeta.device_state)
+ if [ -z "$I_DEVSTATE" ]; then
+ case $(bootarg flash.locked) in
+ 0) I_DEVSTATE=unlocked ;;
+ 1) I_DEVSTATE=locked ;;
+ esac
+ fi
+ if [ -z "$I_DEVSTATE" ]; then
+ case $(bootarg verifiedbootstate) in
+ orange) I_DEVSTATE=unlocked ;;
+ green | yellow) I_DEVSTATE=locked ;;
+ esac
+ fi
+ _pstate=$(prop ro.boot.vbmeta.device_state)
+ if [ -z "$_pstate" ]; then
+ case $(prop ro.boot.flash.locked) in
+ 0) _pstate=unlocked ;;
+ 1) _pstate=locked ;;
+ esac
+ fi
+ [ -n "$I_DEVSTATE" ] || I_DEVSTATE=$_pstate
+ if [ "$I_ROOT" != unknown ] && [ "$I_DEVSTATE" != unlocked ]; then
+ I_DEVSTATE=unlocked
+ # Root on a phone the bootloader or the properties call locked: they were changed.
+ [ "$I_VBSTATE" != green ] || I_VBSTATE=orange
+ fi
+ if [ "$I_DEVSTATE" = unlocked ] && [ "$_pstate" = locked ]; then
+ I_VB_SPOOFED=true
+ fi
+ case $I_DEVSTATE in
+ unlocked) I_LOCKED=0 ;;
+ locked) I_LOCKED=1 ;;
+ *) I_LOCKED=$(prop ro.boot.flash.locked) ;;
+ esac
+}
+
collect() {
I_MODEL=$(prop ro.product.model)
I_BRAND=$(prop ro.product.brand)
@@ -90,15 +132,13 @@ collect() {
elif [ -n "$_p" ] && [ "$_p" != "$I_VBSTATE" ]; then
I_VB_SPOOFED=true
fi
- I_DEVSTATE=$(bootarg vbmeta.device_state)
- [ -n "$I_DEVSTATE" ] || I_DEVSTATE=$(prop ro.boot.vbmeta.device_state)
- I_LOCKED=$(prop ro.boot.flash.locked)
+ I_ROOT=$(root_manager)
+ boot_state
rd "$R/proc/sys/kernel/osrelease"; I_KERNEL=$REPLY
I_KMI=$(kmi_of "$I_KERNEL")
rd "$R/sys/fs/selinux/enforce"
case $REPLY in 1) I_SELINUX=Enforcing ;; 0) I_SELINUX=Permissive ;; *) I_SELINUX=$(getenforce 2>/dev/null) ;; esac
- I_ROOT=$(root_manager)
I_REASON=$(prop sys.boot.reason)
[ -n "$I_REASON" ] || I_REASON=$(prop ro.boot.bootreason)
diff --git a/module/module.prop b/module/module.prop
index 993f31e..2327cb3 100644
--- a/module/module.prop
+++ b/module/module.prop
@@ -1,7 +1,7 @@
id=fastboot_studio_companion
name=Fastboot Studio Companion
-version=v2.5.1
-versionCode=251
+version=v2.5.2
+versionCode=252
author=IFOKNR
description=Device check, partitions, live kernel log and SHA-256 backups for Fastboot Studio. Read-only, nothing runs at boot. Open the WebUI or press Action.
updateJson=https://raw.githubusercontent.com/ifoknr/FastbootStudio-Companion/main/update.json
diff --git a/module/webroot/app.js b/module/webroot/app.js
index 9b9098f..5325aaf 100644
--- a/module/webroot/app.js
+++ b/module/webroot/app.js
@@ -160,9 +160,10 @@ function renderDevice() {
const avb = $('#avbChip');
avb.textContent = vb ? 'AVB ' + vb : 'AVB ?';
avb.className = 'chip ' + (vb === 'green' ? '' : vb === 'orange' ? 'warn' : vb ? 'danger' : 'mute');
- const unlocked = i.boot.device_state ? i.boot.device_state === 'unlocked' : i.boot.locked === false;
+ // Not known stays "?": showing "locked" would be a guess.
+ const unlocked = i.boot.device_state ? i.boot.device_state === 'unlocked' : typeof i.boot.locked === 'boolean' ? !i.boot.locked : null;
kv($('#bootKv'), [
- [T('boot.bootloader'), unlocked ? T('boot.unlocked') : T('boot.locked')],
+ [T('boot.bootloader'), unlocked === null ? '?' : unlocked ? T('boot.unlocked') : T('boot.locked')],
['SELinux', i.selinux],
[T('boot.slot'), i.slot || T('boot.none')],
[T('boot.layout'), [i.slot ? 'A/B' : 'A-only', i.dynamic ? 'dynamic' : 'static'].join(' · ')],
diff --git a/module/webroot/i18n.js b/module/webroot/i18n.js
index 60bbc20..836a87a 100644
--- a/module/webroot/i18n.js
+++ b/module/webroot/i18n.js
@@ -17,7 +17,7 @@ const STRINGS = {
'boot.title': 'Boot and security', 'boot.bootloader': 'Bootloader', 'boot.locked': 'locked', 'boot.unlocked': 'unlocked',
'boot.slot': 'Active slot', 'boot.layout': 'Layout', 'boot.treble': 'Treble / GSI', 'boot.none': 'none',
- 'boot.spoofed': 'A hiding module changed ro.boot.verifiedbootstate. The state shown here is the one the bootloader reported.',
+ 'boot.spoofed': 'The ROM or a hiding module changed the boot properties (ro.boot.*) to look locked. The state shown here is the real one: from the bootloader, and root only works when it is unlocked.',
'kernel.title': 'Kernel', 'kernel.version': 'Version', 'kernel.nokmi': 'not GKI', 'kernel.patch': 'Security patch',
'kernel.android': 'Android', 'kernel.build': 'Build',
@@ -92,7 +92,7 @@ const STRINGS = {
'boot.title': 'الإقلاع والحماية', 'boot.bootloader': 'البوت لودر', 'boot.locked': 'مقفول', 'boot.unlocked': 'مفتوح',
'boot.slot': 'السلوت الحالي', 'boot.layout': 'التقسيم', 'boot.treble': 'Treble / GSI', 'boot.none': 'ما فيه',
- 'boot.spoofed': 'فيه مود إخفاء غيّر ro.boot.verifiedbootstate. الحالة المعروضة هنا هي اللي أرسلها البوت لودر نفسه.',
+ 'boot.spoofed': 'الروم أو مود إخفاء غيّر خصائص الإقلاع (ro.boot.*) عشان يبان الجوال مقفل. الحالة المعروضة هنا هي الحقيقية: من البوت لودر نفسه، والروت ما يشتغل إلا والبوت لودر مفتوح.',
'kernel.title': 'الكيرنل', 'kernel.version': 'النسخة', 'kernel.nokmi': 'مو GKI', 'kernel.patch': 'الباتش الأمني',
'kernel.android': 'أندرويد', 'kernel.build': 'البيلد',
diff --git a/tests/run.sh b/tests/run.sh
index 28f63fd..ef5e665 100755
--- a/tests/run.sh
+++ b/tests/run.sh
@@ -273,6 +273,28 @@ for SHN in $SHELLS; do
expect "device.json still JSON after masking" sh -c 'jq -e .model "$1"/*/device.json' _ "$WORK/x"
rm -rf "$WORK/x"
+ # ---- older bootloaders: only verifiedbootstate on the command line, properties set to locked
+ mv "$R/proc/bootconfig" "$R/bootconfig.keep"
+ cp "$R/proc/cmdline" "$R/cmdline.keep"
+ printf 'console=ttyMSM0 androidboot.hardware=qcom androidboot.verifiedbootstate=orange\n' > "$R/proc/cmdline"
+ cp "$R/props" "$R/props.keep"
+ sed -i 's/^ro.boot.flash.locked=.*/ro.boot.flash.locked=1/' "$R/props"
+ out=$(fbs info)
+ expect "orange on the command line means unlocked" jqt "$out" '.boot.device_state == "unlocked" and .boot.locked == false'
+ expect "properties that say locked count as changed" jqt "$out" '.boot.spoofed == true'
+ # no word from the bootloader at all: root still means unlocked
+ printf 'console=ttyMSM0\n' > "$R/proc/cmdline"
+ out=$(fbs info)
+ expect "root means unlocked whatever the properties say" jqt "$out" '.boot.device_state == "unlocked" and .boot.locked == false and .boot.vbstate == "orange"'
+ # no root, no word from the bootloader: the properties are all there is
+ mv "$R/data/adb/ksud" "$R/ksud.keep"
+ out=$(fbs info)
+ expect "without root or bootloader words, the properties decide" jqt "$out" '.boot.device_state == "locked" and .boot.locked == true and .boot.spoofed == false'
+ mv "$R/ksud.keep" "$R/data/adb/ksud"
+ mv "$R/bootconfig.keep" "$R/proc/bootconfig"
+ mv "$R/cmdline.keep" "$R/proc/cmdline"
+ mv "$R/props.keep" "$R/props"
+
# ---- the Action button runs from the module folder
out=$(FBS_ROOT=$R FBS_RUN=$WORK/run PATH="$HERE/shims:$PATH" $SH "$ROOT/module/action.sh")
expect "action prints the report" sh -c 'printf "%s\n" "$1" | head -n 1 | grep -q "^Fastboot Studio Companion "' _ "$out"
diff --git a/update.json b/update.json
index 07d3a1f..6bf0d9e 100644
--- a/update.json
+++ b/update.json
@@ -1,6 +1,6 @@
{
- "version": "v2.5.1",
- "versionCode": 251,
- "zipUrl": "https://github.com/ifoknr/FastbootStudio-Companion/releases/download/v2.5.1/FastbootStudio-Companion-v2.5.1.zip",
+ "version": "v2.5.2",
+ "versionCode": 252,
+ "zipUrl": "https://github.com/ifoknr/FastbootStudio-Companion/releases/download/v2.5.2/FastbootStudio-Companion-v2.5.2.zip",
"changelog": "https://raw.githubusercontent.com/ifoknr/FastbootStudio-Companion/main/CHANGELOG.md"
}
From af75a5fa70c9a6867acd180413547ebf741ae188 Mon Sep 17 00:00:00 2001
From: IFOKNR <253658289+ifoknr@users.noreply.github.com>
Date: Thu, 29 Oct 2026 05:38:51 +0000
Subject: [PATCH 06/10] Material 3 Expressive look in the WebUI: muted grey
surfaces, tonal blue and slate fills, rounded cards and pill buttons; IFOKNR
in violet
---
module/webroot/ifoknr-dark.svg | 2 +-
module/webroot/ifoknr-light.svg | 2 +-
module/webroot/style.css | 44 +++++++++++++++++++++++++++++++++
3 files changed, 46 insertions(+), 2 deletions(-)
diff --git a/module/webroot/ifoknr-dark.svg b/module/webroot/ifoknr-dark.svg
index 17bc917..01b9552 100644
--- a/module/webroot/ifoknr-dark.svg
+++ b/module/webroot/ifoknr-dark.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/module/webroot/ifoknr-light.svg b/module/webroot/ifoknr-light.svg
index 1d57656..36bd9e6 100644
--- a/module/webroot/ifoknr-light.svg
+++ b/module/webroot/ifoknr-light.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/module/webroot/style.css b/module/webroot/style.css
index 3fc9b6b..032d764 100644
--- a/module/webroot/style.css
+++ b/module/webroot/style.css
@@ -298,3 +298,47 @@ pre.code .hit { color: var(--danger); }
:root:not([data-theme="dark"]) .sig-dark { display: none; }
:root:not([data-theme="dark"]) .sig-light { display: block; }
}
+
+/* ---------- Material 3 Expressive: muted grey surfaces, tonal blue / slate fills, big rounded
+ shapes, pill buttons. The same palette as Fastboot Studio's new design. */
+:root, :root[data-theme="dark"] {
+ --bg: #2a2a2c; --rail: #2a2a2c; --surface: #353537; --raised: #3d3d40; --hover: #47474b; --line: #4a4a4f;
+ --text: #e5e3e8; --dim: #c4c4cb; --faint: #8f8f95;
+ --accent: #a8c4ff; --accent-ink: #152c5e; --accent-soft: #2e4d9d; --accent-line: #4a68b8;
+ --warn: #e9c77a; --warn-soft: #46402c; --warn-line: #6d5f34;
+ --danger: #ffb4ab; --danger-soft: #6e2a27; --danger-line: #8c3a3a;
+ --ok: #9bd7a8; --info: #a8c4ff; --info-soft: #3f455a; --info-line: #5a6488;
+ --sel: #414a6b; --on-sel: #dde1f9; --alert-bg: #4a2c2b;
+}
+@media (prefers-color-scheme: light) {
+ :root:not([data-theme="dark"]) {
+ --bg: #faf9fd; --rail: #faf9fd; --surface: #efedf1; --raised: #e6e4ea; --hover: #dcdae0; --line: #c6c5cd;
+ --text: #1b1b1f; --dim: #46464f; --faint: #77767e;
+ --accent: #2e4d9d; --accent-ink: #ffffff; --accent-soft: #dae2ff; --accent-line: #a8c4ff;
+ --warn: #7a5900; --warn-soft: #ffefc8; --warn-line: #e9c77a;
+ --danger: #ba1a1a; --danger-soft: #ffdad6; --danger-line: #f0aba4;
+ --ok: #1f7a3a; --info: #2e4d9d; --info-soft: #dde1f9; --info-line: #a8b4dc;
+ --sel: #d6dcf5; --on-sel: #1b2550; --alert-bg: #ffe5e1;
+ }
+}
+:root[data-theme="light"] {
+ --bg: #faf9fd; --rail: #faf9fd; --surface: #efedf1; --raised: #e6e4ea; --hover: #dcdae0; --line: #c6c5cd;
+ --text: #1b1b1f; --dim: #46464f; --faint: #77767e;
+ --accent: #2e4d9d; --accent-ink: #ffffff; --accent-soft: #dae2ff; --accent-line: #a8c4ff;
+ --warn: #7a5900; --warn-soft: #ffefc8; --warn-line: #e9c77a;
+ --danger: #ba1a1a; --danger-soft: #ffdad6; --danger-line: #f0aba4;
+ --ok: #1f7a3a; --info: #2e4d9d; --info-soft: #dde1f9; --info-line: #a8b4dc;
+ --sel: #d6dcf5; --on-sel: #1b2550; --alert-bg: #ffe5e1;
+}
+.appbar { border-bottom: none; }
+.card { border: none !important; border-radius: 24px; }
+.card.alert { background: var(--alert-bg); }
+.chip { border-radius: 8px; }
+.nav { background: var(--rail); border-top: none; }
+.nav button[aria-selected="true"] { color: var(--text); font-weight: 700; }
+.nav button[aria-selected="true"] .ico { background: var(--sel); color: var(--on-sel); border-radius: 999px; }
+.btn { border-radius: 999px !important; }
+.btn-s, .fbtn, .seg button, .search { border-radius: 999px; }
+.fbtn[aria-pressed="true"], .btn-s[aria-pressed="true"], .seg button[aria-pressed="true"] { background: var(--sel); color: var(--on-sel); border-color: var(--accent); }
+.stat { border: none; border-radius: 16px; background: var(--raised); }
+.iconbtn { border-radius: 999px; background: var(--raised); border: none; }
From f76324cfc2a3b1e2033e60320be5a5a74b69c0ad Mon Sep 17 00:00:00 2001
From: IFOKNR <253658289+ifoknr@users.noreply.github.com>
Date: Thu, 29 Oct 2026 05:56:49 +0000
Subject: [PATCH 07/10] WebUI logo: muted grey version of the phone and puzzle
icon
---
module/webroot/logo.svg | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/module/webroot/logo.svg b/module/webroot/logo.svg
index eeffdc9..07af835 100644
--- a/module/webroot/logo.svg
+++ b/module/webroot/logo.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
From c8a9809dc88a637cf3862d6cadfcf1504430bbc2 Mon Sep 17 00:00:00 2001
From: IFOKNR <253658289+ifoknr@users.noreply.github.com>
Date: Thu, 29 Oct 2026 06:02:20 +0000
Subject: [PATCH 08/10] WebUI demo: version 2.5.2
---
module/webroot/demo.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/module/webroot/demo.js b/module/webroot/demo.js
index 702aef6..f06131f 100644
--- a/module/webroot/demo.js
+++ b/module/webroot/demo.js
@@ -22,7 +22,7 @@
];
const info = {
- fbs: '2.5.1', channel: 'stable', model: 'Demo Phone', brand: 'Demo', device: 'demo', product: 'demo_mt6789',
+ fbs: '2.5.2', channel: 'stable', model: 'Demo Phone', brand: 'Demo', device: 'demo', product: 'demo_mt6789',
android: '14', sdk: '34', patch: '2026-08-05', build: 'DEMO-14.0.1', platform: 'mt6789', soc: 'mediatek',
arch: 'arm64-v8a', slot: '_a', dynamic: true, treble: true, vndk: '34',
boot: { vbstate: 'orange', device_state: 'unlocked', locked: false, spoofed: true },
@@ -158,7 +158,7 @@
const modules = {
root: '/data/adb/modules',
modules: [
- m('fastboot_studio_companion', 'Fastboot Studio Companion', 'v2.5.1', { webui: true, action: true }),
+ m('fastboot_studio_companion', 'Fastboot Studio Companion', 'v2.5.2', { webui: true, action: true }),
m('systemless_hosts', 'Systemless Hosts', 'v1.2', { files: 1 }),
m('adblock_plus', 'AdBlock Plus', 'v4.0', { files: 1, props: 2, scripts: ['service.sh'] }),
m('google_sans_font', 'Google Sans Font', 'v3.1', { files: 46 }),
From 5826c3278662931d9bc947ed10bcc4d1b95f6348 Mon Sep 17 00:00:00 2001
From: IFOKNR <253658289+ifoknr@users.noreply.github.com>
Date: Thu, 29 Oct 2026 16:49:29 +0000
Subject: [PATCH 09/10] WebUI: muted blue-slate for tinted fills (the KernelSU
chip and selections), less room above the header and under the bottom
navigation
---
module/webroot/style.css | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/module/webroot/style.css b/module/webroot/style.css
index 032d764..f6890cb 100644
--- a/module/webroot/style.css
+++ b/module/webroot/style.css
@@ -54,7 +54,7 @@ button, input { font: inherit; color: inherit; }
/* ---------- header and navigation */
.appbar {
position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: .5rem;
- padding: calc(var(--top) + .8rem) 1rem .8rem; background: var(--bg); border-bottom: 1px solid var(--line);
+ padding: calc(var(--top) + .45rem) 1rem .6rem; background: var(--bg); border-bottom: 1px solid var(--line);
}
/* The app icon, the same as on ifoknr.com and the other Fastboot Studio tools. */
.brand { display: flex; align-items: center; gap: .7rem; min-width: 0; }
@@ -75,7 +75,7 @@ main { padding: 1rem 1rem calc(var(--bottom) + 6rem); max-width: 1500px; margin:
.nav {
position: fixed; inset-inline: 0; bottom: 0; z-index: 3; display: grid; grid-template-columns: repeat(6, 1fr);
- background: var(--rail); border-top: 1px solid var(--line); padding: .4rem .25rem calc(var(--bottom) + .5rem);
+ background: var(--rail); border-top: 1px solid var(--line); padding: .35rem .25rem calc(var(--bottom) + .2rem);
}
.nav button { background: none; border: 0; padding: .3rem .1rem; display: flex; flex-direction: column; align-items: center; gap: .15rem; font-size: .75rem; color: var(--faint); cursor: pointer; }
.nav svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@@ -304,7 +304,7 @@ pre.code .hit { color: var(--danger); }
:root, :root[data-theme="dark"] {
--bg: #2a2a2c; --rail: #2a2a2c; --surface: #353537; --raised: #3d3d40; --hover: #47474b; --line: #4a4a4f;
--text: #e5e3e8; --dim: #c4c4cb; --faint: #8f8f95;
- --accent: #a8c4ff; --accent-ink: #152c5e; --accent-soft: #2e4d9d; --accent-line: #4a68b8;
+ --accent: #a8c4ff; --accent-ink: #152c5e; --accent-soft: #343b50; --accent-line: #4e5878;
--warn: #e9c77a; --warn-soft: #46402c; --warn-line: #6d5f34;
--danger: #ffb4ab; --danger-soft: #6e2a27; --danger-line: #8c3a3a;
--ok: #9bd7a8; --info: #a8c4ff; --info-soft: #3f455a; --info-line: #5a6488;
From 9159f62c64e5856bcc0ade7f240a9302e97ba6aa Mon Sep 17 00:00:00 2001
From: IFOKNR <253658289+ifoknr@users.noreply.github.com>
Date: Fri, 30 Oct 2026 06:13:10 +0000
Subject: [PATCH 10/10] v2.5.2 notes: the new look
---
CHANGELOG.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index be90cc6..1342d02 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,11 +6,13 @@
- البوت لودر يطلع «مفتوح» صح حتى لو الروم أو مود إخفاء خلّى خصائص الإقلاع تقول «مقفل» (مثل أجهزة كوالكوم القديمة)
- الحالة تنقرا من البوت لودر نفسه أول، والروت يعني إن البوت لودر مفتوح
- لو الحالة مو معروفة تطلع «؟» بدل «مقفل»
+- شكل جديد هادي وأيقونة رمادية، ومسافة أقل فوق وتحت
**English**
- The bootloader shows as unlocked even when the ROM or a hiding module makes the boot properties say locked (older Qualcomm phones, for one)
- The state comes from the bootloader itself first, and root means the bootloader is unlocked
- An unknown state shows as "?" instead of "locked"
+- A calm new look and a grey icon, with less empty space above and below
## v2.5.1
- أول إصدار رسمي: الإضافة طلعت من التجريبي (Beta)