mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-10 20:07:04 +01:00
phone_focus_mode: whitelist run-with-music apps + FOSS stock-app replacements
Some checks are pending
Pre-commit checks / pre-commit (push) Waiting to run
Some checks are pending
Pre-commit checks / pre-commit (push) Waiting to run
Enable "go for a run with music" end-to-end and unhide the newly-installed FOSS alternatives to Google stock apps. WHITELIST (daytime): - de.kicktipp.mbookmark (new Sports category) - com.bnyro.clock, com.vayunmathur.camera, com.rama.teyin, com.yoshi.rain, com.jksalcedo.librefind (FOSS replacements; drops dead org.fossify.clock) - net.thunderbird.android.beta (Gmail replacement, Email section) NIGHT_WHITELIST (23:00-05:00 curfew): - com.metrolist.music so music survives the curfew for a night run - swap non-installed org.fossify.clock -> installed com.bnyro.clock so alarms fire during curfew Google originals are left to be hidden in the launcher, NOT package-disabled: they are system apps and BLOCKED_SYSTEM_APPS is intentionally empty to avoid the MTK bootloop/factory-wipe risk on the BL9000. Verified on device BL9000EEA0000102: deploy regenerates whitelist.txt / night_whitelist.txt with all entries; the 6 previously-disabled FOSS apps go from enabled=3 to enabled=1; daemon RUNNING. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018foXmPkuawBLAzsCdKD6ky
This commit is contained in:
parent
deada49399
commit
7e59abdcaa
@ -0,0 +1,39 @@
|
||||
{
|
||||
"intent": "Whitelist the apps needed to go for a run with music (RunnerUp + Metrolist + workout_app) including during the 23:00-05:00 night curfew, whitelist the kicktipp football-prediction app for daytime, and unhide the user's newly-installed FOSS stock-app replacements (Clock You, Camera, Teyin file manager, Rain weather, LibreFind, Thunderbird) so focus mode stops disabling them near home.",
|
||||
"scope": [
|
||||
"phone_focus_mode/config.sh (WHITELIST + NIGHT_WHITELIST arrays only)",
|
||||
"Non-goal: hiding Google system apps via package-disable (unsafe on BL9000 - MTK bootloop/factory-wipe risk; done via launcher instead)",
|
||||
"Non-goal: no changes to enforcement logic, curfew timing, or other packages"
|
||||
],
|
||||
"changes": [
|
||||
"NIGHT_WHITELIST: added com.metrolist.music so music survives the curfew for a night run",
|
||||
"WHITELIST: added de.kicktipp.mbookmark (daytime only) under a new Sports category",
|
||||
"WHITELIST: added FOSS stock-app replacements com.bnyro.clock, com.vayunmathur.camera, com.rama.teyin, com.yoshi.rain, com.jksalcedo.librefind (removed dead org.fossify.clock entry) and net.thunderbird.android.beta under Email",
|
||||
"NIGHT_WHITELIST: replaced non-installed org.fossify.clock with the installed com.bnyro.clock so alarms fire during curfew"
|
||||
],
|
||||
"verification": [
|
||||
{
|
||||
"command": "bash -n phone_focus_mode/config.sh",
|
||||
"result": "pass",
|
||||
"evidence": "syntax OK"
|
||||
},
|
||||
{
|
||||
"command": "ADB_SERIAL=BL9000EEA0000102 ./deploy.sh (device BL9000EEA0000102)",
|
||||
"result": "pass",
|
||||
"evidence": "Daemon RUNNING (PID 19994), Mode focus. Regenerated whitelist.txt contains all 7 FOSS packages + metrolist + kicktipp; night_whitelist.txt contains com.metrolist.music and com.bnyro.clock, no org.fossify.clock."
|
||||
},
|
||||
{
|
||||
"command": "adb -s BL9000EEA0000102 shell dumpsys package <pkg> | grep enabled=",
|
||||
"result": "pass",
|
||||
"evidence": "All 6 previously-disabled FOSS apps (bnyro.clock, vayunmathur.camera, rama.teyin, yoshi.rain, librefind, thunderbird) went from enabled=3 to enabled=1 after deploy; pm list packages -d shows none of them disabled."
|
||||
}
|
||||
],
|
||||
"risks": [
|
||||
"kicktipp/Rain package identity confirmed off-device (de.kicktipp.mbookmark; com.yoshi.rain label 'Rain', internet-only perms = weather) per user confirmation",
|
||||
"Whitelisting a package only stops focus-mode from disabling it; it does not force-hide the Google originals - user hides those in the launcher"
|
||||
],
|
||||
"rollback": [
|
||||
"git revert the commit, then ADB_SERIAL=BL9000EEA0000102 ./deploy.sh to regenerate the state files from the old config",
|
||||
"After rollback, confirm daemon RUNNING and that whitelist.txt no longer lists the reverted packages"
|
||||
]
|
||||
}
|
||||
@ -306,7 +306,16 @@ com.shazam.android
|
||||
com.ichi2.anki
|
||||
com.metrolist.music
|
||||
org.mozilla.fenix
|
||||
org.fossify.clock
|
||||
# --- FOSS replacements for stock/Google apps (unhidden per request; hide the
|
||||
# Google originals in the launcher, NOT via package-disable — see the
|
||||
# BLOCKED_SYSTEM_APPS note about MTK bootloop/wipe risk on BL9000) ---
|
||||
# Clock You (replaces stock Clock), Camera, Teyin file manager (Google Files),
|
||||
# Rain weather, LibreFind (Google Search replacement)
|
||||
com.bnyro.clock
|
||||
com.vayunmathur.camera
|
||||
com.rama.teyin
|
||||
com.yoshi.rain
|
||||
com.jksalcedo.librefind
|
||||
ws.xsoh.etar
|
||||
com.fsck.k9
|
||||
com.kuhy.pomodoro_app
|
||||
@ -366,6 +375,7 @@ oracle.idm.mobile.authenticator
|
||||
com.kunzisoft.keepass.libre
|
||||
|
||||
# --- Email & communication ---
|
||||
net.thunderbird.android.beta
|
||||
com.microsoft.office.outlook
|
||||
com.google.android.gm
|
||||
ch.protonmail.android
|
||||
@ -405,6 +415,9 @@ pl.orange.mojeorange
|
||||
# --- Fitness ---
|
||||
org.runnerup
|
||||
|
||||
# --- Sports / football predictions ---
|
||||
de.kicktipp.mbookmark
|
||||
|
||||
# --- Diet & calorie tracking ---
|
||||
com.fitatu.tracker
|
||||
com.waist.line
|
||||
@ -463,8 +476,8 @@ com.google.android.apps.maps
|
||||
# Calendar
|
||||
com.google.android.calendar
|
||||
ws.xsoh.etar
|
||||
# Alarm clock
|
||||
org.fossify.clock
|
||||
# Alarm clock (Clock You — the installed clock; org.fossify.clock is not present)
|
||||
com.bnyro.clock
|
||||
# Government / digital ID
|
||||
pl.nask.mobywatel
|
||||
# Authenticators / password vault (needed to log into banking)
|
||||
@ -483,6 +496,8 @@ com.kuhy.wake_alarm_sync
|
||||
com.stronglifts.app
|
||||
com.kuhy.workout_app
|
||||
org.runnerup
|
||||
# Music player — kept so a night run has music in the background
|
||||
com.metrolist.music
|
||||
com.fitatu.tracker
|
||||
com.waist.line
|
||||
com.maksimowiczm.foodyou
|
||||
|
||||
Loading…
Reference in New Issue
Block a user