Update documentation for passcode configurator, duress mode, Bluetooth OBEX, and Scoundrel
This commit is contained in:
1 parent
ea5c36d711
commit
c017c0037a
4 files changed
+45
-27
No files matched your search
+14
-4
@@ -21,9 +21,18 @@ Release versions follow the `<year-letter><MM><DD>` format (where `2026` is `a`,
|
||||
- **GPS reception test utility (`bananarchy-gps`) and OpenStreetMap navigator (`gps.so` / `xgps` / `xmaps` / `xnav`)**:
|
||||
- Added `/usr/bin/bananarchy-gps` (`status|enable|disable|nmea|watch`) to configure and inspect GNSS (`--location-enable-gps-nmea --location-enable-gps-raw --location-enable-3gpp`) and QMI PDS (`qmicli -d qrtr://0 --pds-*`) reception from the command line.
|
||||
- Implemented `gps.so` (`xgps` / `xmaps` / `xnav`) with 3 tabs: **`1:GPS Status`** (live Fix state, Latitude, Longitude, Altitude, Speed, Heading, Satellites used/in-view, HDOP, UTC time, 3GPP cell `MCC`/`MNC`/`TAC`/`CID`, and raw NMEA stream), **`2:OSM Map`** (interactive `240x212` OpenStreetMap slippy-map tile viewer with offline PNG tile caching in `~/.cache/sxmo/osm_tiles/<z>/<x>/<y>.png`, pan/zoom, GPS follow marker, waypoint pins, and route polyline overlay), and **`3:Nav/Search`** (Nominatim geocoding search, saved waypoints in `~/.config/sxmo/gps_waypoints.tsv`, and OSRM turn-by-turn road routing).
|
||||
- **Passcode-based fullscreen phone locker (`locker.so` / `xlocker` and `bananarchy-verify-passcode`)**:
|
||||
- Added a fullscreen `240x320` (`X=0, Y=0`) override-redirect numeric passcode lock screen (`xlocker` / `locker.so`) verified against the current user's shadow password (`147147` by default) via `/usr/bin/bananarchy-verify-passcode`, activating automatically upon GUI startup on device boot.
|
||||
- **Passcode-based fullscreen phone locker (`locker.so` / `xlocker`), GUI passcode configurator (`passcode.so` / `xpasscode`), and duress mode (`bananarchy-duress-activate`)**:
|
||||
- Added a fullscreen `240x320` (`X=0, Y=0`) override-redirect numeric passcode lock screen (`xlocker` / `locker.so`) verified against the current user's shadow password (`147147` by default, supporting any numeric passcode of `4+` digits) via `/usr/bin/bananarchy-verify-passcode`, activating automatically upon GUI startup on device boot.
|
||||
- Added a NeoUI-based **Passcode & Duress Configurator (`passcode.so` / `xpasscode`)** in the **Config** and **Applications** menus with two tabs (`User PIN` and `Duress PIN`) to change the real Linux `user` password in `/etc/shadow` (`4+` numeric digits) and configure or clear a separate numeric duress passcode (`/etc/bananarchy/duress.hash`).
|
||||
- Implemented **duress mode** (`/tmp/bananarchy_duress_mode` and blank profile `/tmp/duress_home`, activated via `/usr/bin/bananarchy-duress-activate` when the duress passcode is entered on `xlocker`): switches to a clean session with zero contacts, SMS, call log, or personal files, unmounts and blocks microSD card access, clamps `xfiles` inside `/tmp/duress_home`, hides and disables `xpasscode`, `xtox`, `xirc`, `xsip`, and `st`, generates a session-persistent random Luhn-valid IMEI from the device's 8-digit TAC for `*#06#`, and locks the UI theme and wallpaper to `NordFrost.xth` and `/usr/share/wallpapers/nordic-peaks.png` until reboot or poweroff.
|
||||
- Enforced zero keypad, softkey, slider, or power-button bypass across `dwm`, `dmenu`, `xdrawer`, `neoui`, and `sxmo_hook_inputhandler.sh` while locked (`/tmp/bananarchy_screen_locked`), allowing only incoming calls to temporarily raise `xcallscreen` and immediately restoring the passcode lock screen when the call ends.
|
||||
- **Bluetooth OBEX file transfer (`bananarchy-bt-obex`, `xnetworks`, and `xfiles`)**:
|
||||
- Added `/usr/bin/bananarchy-bt-obex` (`daemon|stop|status|send|devices`) wrapping BlueZ `obexpushd` / `obexd` and `obexftp` / `bt-obex` so enabling Bluetooth (`sxmo_bluetoothtoggle.sh on` or `xnetworks`) automatically starts an OBEX Object Push receiver saving incoming files to `~/Downloads/` with toast and sound notifications.
|
||||
- Added a live **OBEX File Receiver** status widget (and `#` shortcut to open `~/Downloads/` in `xfiles`) to the `3:Bluetooth` tab of `xnetworks`, and added **Send via Bluetooth** with an interactive device-picker modal to **file manager (`xfiles`)**.
|
||||
- **Native Scoundrel (`scoundrel`) roguelike solitaire card game**:
|
||||
- Built a native `240x320` C++20 X11/NeoUI implementation of the Zach Gage / Kurt Bieg roguelike solitaire dungeon crawler (`src/games/scoundrel.cpp` -> `/usr/bin/scoundrel`), featuring custom graphical playing cards, suit icons, health bar, equipped weapon and slain-monster stack display, combat choice modal (`[1] Weapon` vs `[2] Barehanded`), keypad controls (`1`–`4` or `Left`/`Right` + `5`/`OK` to play a room card, `0`/`*` to flee the room, `#` for rules), and persistent stats in `~/.local/share/sxmo/scoundrel_stats.txt`.
|
||||
- **Dynamic NeoUI theme synchronization for `dunst` notifications (`bananarchy-sync-dunst-theme`)**:
|
||||
- Added `/usr/bin/bananarchy-sync-dunst-theme` and wired it into `dunst.service`, `themes.so` (`xthemes`), and `reloadAllThemeableApps()` so `dunst` notification popups dynamically adopt the active `.xth` / `.Xresources` font, background, foreground, border, and urgency colors whenever the theme changes.
|
||||
- **MicroSD card (`mmcblk1`) autodetection, automount, and GUI/`dmenu` mounter**:
|
||||
- Enabled the external microSD controller (`&sdhc_2` / `mmc1`, 4-bit bus, `vdd-io` `pm8909_l5`, card-detect `GPIO 38`) in the device trees across all 5 supported devices (`nokia-argon`, `nokia-beatles`, `nokia-tough`, `nokia-sparkler`, `nokia-leo`).
|
||||
- Added `/etc/udev/rules.d/88-bananarchy-sdcard.rules` and `/usr/bin/sxmo_sdcard.sh` to automatically mount inserted microSD cards (FAT32/vfat, exFAT, ext4/2/3, f2fs, btrfs, NTFS) at `/media/sdcard` with `uid=10000,gid=10000`, and added **SD Card** mount/unmount/browse actions to `dmenu` (`System -> SD Card`, `Config -> SD Card`) and **file manager (`xfiles`)**.
|
||||
@@ -38,8 +47,9 @@ Release versions follow the `<year-letter><MM><DD>` format (where `2026` is `a`,
|
||||
- Added a dedicated **Ringtone Viewer (`RingtoneView`)** to **file manager (`xfiles`)** for `.nrt`, `.rtttl`, `.rtx`, `.emy`, and `.imy` files, displaying melody metadata, a graphical piano-roll pitch contour, a scrollable note sequence, live audio preview (`*` / `Center OK`), `Left`/`Right` folder stepping, **Left softkey (`Set Ring`)** to set as the call ringtone, **`#`** to set as the notification/SMS sound, and **Actions** menu items (`Preview Ringtone`, `Set as Ringtone`, `Set as Notif / SMS Sound`, `Open in Ringtones App`, `Play in Music Player`, `View Ringtone Text`, `Edit in Text Editor`), plus `.nrt`/`.rtttl`/`.rtx`/`.emy`/`.imy` playback in `xmusic`.
|
||||
- Expanded **ringtones manager (`xringtones`)** to 3 tabs (`1:Ringtone`, `2:Notif/SMS`, `3:Settings`, plus `xringtones --notif` and **Notification Sound** in the `Notifs` menu) with a dedicated **Notification / SMS Sound** configuration (`~/.config/sxmo/notif_sound` and `SXMO_TEXTSOUND` in `~/.config/sxmo/ringsettings`, including `None (Mute Sound)`) wired directly into the system notification manager (`sxmo_notifs.sh`, `sxmo_hook_notification.sh`, `sxmo_hook_sms.sh`, `xirc`, and `xtox`) and incoming call ringer (`sxmo_hook_ring.sh`).
|
||||
- **Battery and idle power optimizations**:
|
||||
- Added VM writeback (`dirty_writeback_centisecs=6000`), `printk` throttling, `sched_autogroup_enabled=0`, Wi-Fi powersave (`iw dev wlan0 set power_save on`), and USB/platform runtime PM (`power/control = auto`) in `/etc/local.d/10-power-save.start` and `/etc/sysctl.d/10-power.conf`.
|
||||
- Increased `conky` desktop clock refresh interval to `15.0s` and froze `conky` (`SIGSTOP`/`SIGCONT`) whenever the screen is off or locked, replaced polling in `sxmo_modemmonitor.sh` with event-driven `dbus-monitor`, skipped redundant `sxmo_hook_statusbar.sh` updates while `screenoff`, and drained queued X11 `UnmapNotify` events in `neoui_hide()` so all 22 resident DWM plugins sleep at `0%` CPU when hidden.
|
||||
- Added VM writeback (`dirty_writeback_centisecs=6000`), `printk` throttling, `sched_autogroup_enabled=0`, `nmi_watchdog=0`, `schedutil` governor rate-limit tuning (`rate_limit_us=2000`, fixing the 6.44s default caused by `qcom-cpufreq` `UINT_MAX` transition latency so cores downclock to `200 MHz` within `2 ms`), Wi-Fi powersave (`iw dev wlan0 set power_save on`), USB/platform runtime PM (`power/control = auto`), and automatic unbinding of the `7864900.sdhci` microSD host controller when no card is inserted (along with `bias-pull-up` on `sdc2-cd-off-state` across all 5 device trees to eliminate floating-pin leakage).
|
||||
- Replaced the 120ms busy-wait loop in `gps.so` (`OsmTileCache::workerLoop`) with `std::condition_variable`, cached Dual-SIM status in `/tmp/sxmo_dsds_active` to avoid repeated `qmicli` wakes on single-SIM setups, increased the DSDS idle `select()` timeout to `300s`, and set display framebuffer `bl_power = 4` (`FB_BLANK_POWERDOWN`) whenever the screen is blanked.
|
||||
- Increased `conky` desktop clock refresh interval to `15.0s` and froze `conky` (`SIGSTOP`/`SIGCONT`) whenever the screen is off or locked, replaced polling in `sxmo_modemmonitor.sh` with event-driven `dbus-monitor`, skipped redundant `sxmo_hook_statusbar.sh` updates while `screenoff` or locked, and drained queued X11 `UnmapNotify` events in `neoui_hide()` so all resident DWM plugins sleep at `0%` CPU when hidden.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in new issue
Block a user