Commit Graph
139 Commits
Author SHA1 Message Date
Luxferre 7b6c6b25d4 Fix display DPMS power-down and schedutil rate limit
Enable the X11 DPMS extension and force the DRM connector off/on on blank
and wake, including the lid-close and lockscreen paths that write backlight
sysfs directly (driven by a backlight change udev rule and a small sync
helper). DPMS timeouts stay at zero so unlocked auto-blanking remains off.

Re-apply schedutil rate_limit_us=40000 after every powersave to schedutil
governor switch, which recreates the kobject with the 6.44 s default, and
drop the writes to nonexistent up_rate_limit_us / down_rate_limit_us files.

Remove the dead iw power-save call: NetworkManager wifi.powersave=3 and the
wcn36xx WIPHY_FLAG_PS_ON_BY_DEFAULT patch already report "Power save: on".
2026-11-05 21:04:06 +02:00
Luxferre 16df110b0b Fix full-length SMS rendering and Unicode-aware segment counting
The expanded xsms conversation view handed the whole message body to
pango_xft_render_layout() as one multiline layout; on the target Pango/Xft
stack that call only paints the first line, so long concatenated/UCS-2
messages (e.g. the Ukrainian 'Мелорінг дарує хіти!' example) stopped right
before the first non-ASCII character. Verified on the connected phone with an
instrumented sms.so (530-byte body, 13 measured lines, one painted line) and
a standalone ARM reproducer; the QMI WMS reassembly and sms.txt parser are
correct.

- Draw message bodies and long drafts line by line via a shared
  renderLayoutLines() helper with an Xft clip, so nothing overflows the
  bubble or softkey bar; use the same layout width for measuring and drawing.
- Make the selected message scrollable with Up/Down (one line per press plus
  a right-edge scrollbar), stepping to the previous/next message only at the
  top/bottom of an overflowing message.
- Replace the byte-based compose counter with smsTextMetrics(), which decodes
  UTF-8, detects the GSM 7-bit alphabet/extension table and reports GSM-7
  septets (160/153) or UCS-2 UTF-16 units (70/67) with the right part count.
- Strip [SIM n] tags from QMI/local SMS log headers and stop writing them in
  the offline-send fallback; log units instead of bytes.
- Add a check-rebuild.sh guard against reintroducing the bulk layout render.
- Rebuild prebuilt/overlay sms.so and engmenu.so, sync docs, and regenerate
  images/bananarchy-nokia-argon.img.
2026-11-05 17:34:21 +02:00
Luxferre dc2b6f6364 Update Bantam to upstream 0cd1a67 and rebuild the nokia-argon image
- Cross-compile bantam-cpp master (0cd1a67, "Send stable x-opencode-session
  header based on project_id") for armv7 and refresh prebuilt/, overlay/rootfs/,
  and the target rootfs; the new binary carries the x-opencode-session header.
- Rebuild images/bananarchy-nokia-argon.img with the updated agent (1.84 GiB,
  down from 2.01 GiB) and verify the binary inside the ext4 image by hash.
- Fix a prune regression seen in the rebuild log: apk install_if re-adds
  imv-wayland, gstreamer-ptp-helper and libheif-rav1e, so apk del alone leaves
  the Wayland viewer and two Rust helpers installed. Pin them with negative
  !pkg world constraints and run apk fix after each purge.
- Verify the constraints in check-rebuild.sh and document the fix.
2026-11-05 14:39:21 +02:00
Luxferre 0ab9367e28 Make clean-clone OS rebuilds autonomous
A fresh clone can now bootstrap a complete armv7 rootfs, apply the Bananarchy overlay, regenerate boot artifacts, and produce a flashable image without local build artifacts.

- Add a shared package list and Docker-based rootfs bootstrap, wired into rebuild-image.sh and chroot-shell.sh.
- Add offline rebuild preflight checks and prebuilt-to-overlay artifact synchronization.
- Vendor the patched EDL client and provision host flashing dependencies.
- Remove the hardcoded credential from the power menu helper.
- Refresh documentation and changelog for the autonomous workflow.
2026-11-05 13:40:53 +02:00
Luxferre c9c870c3bb Fix instant QMI call hangup, eliminate post-call dialer/callscreen popups and desktop clock flicker 2026-11-05 09:51:53 +02:00
Luxferre 1d71bc81d8 Fix lid wake blanking, passcode lag, idle drain, zero-log privacy default, and replace Conky with native dwm clock 2026-11-05 08:07:10 +02:00
Luxferre a078cb3383 Import os in msm-modem-uim-selection QMI voice call handler 2026-11-04 18:56:24 +02:00
Luxferre 0c352f0a10 Fix background call hangup and end calls on screen lock or lid close 2026-11-04 17:59:19 +02:00
Luxferre c7cdde6734 Optimize Bluetooth volume control latency and fix WirePlumber startup race 2026-11-04 16:39:05 +02:00
Luxferre dbd8cef2e1 Prevent duplicate xlocker activation during X11 session startup 2026-11-04 15:58:34 +02:00
Luxferre b8dea31b59 Fix A2DP Bluetooth audio routing, stream migration, hotplug monitoring, and q6voice teardown 2026-11-04 15:42:58 +02:00
Luxferre b2ade2dc42 bluetooth: add QDSP6 internal BT-SCO audio routing, fix A2DP/HSP-HFP profile handling, and add in-call Bluetooth route 2026-11-04 13:34:18 +02:00
Luxferre 02ce3ab1f4 bluetooth: fix BLE/HID keyboard & mouse pairing, auto-bypass T9 on external keyboard, and show mouse cursor 2026-11-03 20:24:54 +02:00
Luxferre b9e7c6847b Fix msm8916-wcd-digital ASoC DAPM teardown crash after notification audio 2026-11-03 13:40:42 +02:00
Luxferre 06d991d4fa power: fix LBC charger FSM, BMS-VM fuel gauge, WCN36xx BMPS, WCD clock gating, and battery UI 2026-11-03 12:44:17 +02:00
Luxferre ebdb0f8ee2 Fix bulls_cows.yab UI layout/scrolling and index engmenu items 1 to 7 2026-11-03 10:05:34 +02:00
Luxferre 6d31efd796 Port Wallace Toolbox and Project Lycan Qualcomm features to engmenu 2026-11-03 09:55:18 +02:00
Luxferre 49830e137d Remove example client.ovpn from gs-warp and add automatic rootfs/prebuilt dependency checks to build scripts 2026-11-02 07:58:28 +02:00
Luxferre 2030201539 Add Privacy Center (Tor, GS-Warp, OpenVPN, GSocket, WireGuard), tunneled DNS, and stage a1105 (vendetta) changelog 2026-11-01 20:58:18 +02:00
Luxferre 471916424e Add Bluetooth audio/HID/discoverability/alias support, fix SD card hotplug & caller ID matching, and expand ReMEdy J2ME JSRs + 64MB GC 2026-11-01 16:18:04 +02:00
Luxferre 456d3fbc42 Optimize kernel-to-userspace battery life across CAMSS, SPI runtime PM, dwm, NeoUI, and plugins 2026-11-01 11:56:28 +02:00
Luxferre f112b6ae72 Preempt X11 keyboard grabs and window stacking when lockscreen is active 2026-11-01 10:39:40 +02:00
Luxferre 83dd79fe76 sip: integrate PJSIP pjmedia G.722 and G.711 codecs and direct aplay ringbuffer playout 2026-10-31 20:32:00 +02:00
Luxferre 0af39d9fa0 Fix global Power menu key handling, SIP G.711 audio routing, Webarchy audio playback, and ReMEdy Call menu key 2026-10-31 19:39:28 +02:00
Luxferre d7335b5ebe Add Webarchy WPE/WebKit browser, SIP ZRTP/SRTP & codecs, xirc buffer fixes, and Noto web fonts 2026-10-31 17:34:43 +02:00
Luxferre 61768fa88e Add ZRTP/SRTP encryption, direct accountless calling, and alphanumeric input fix to SIP client 2026-10-31 13:38:44 +02:00
Luxferre 16552d5580 Fix overflowing credits, rules, and HUD/status labels in Scoundrel 2026-10-30 20:47:31 +02:00
Luxferre a36b908faf Fix Scoundrel softkey handling and ignore spurious MBHC jack keys in Xorg 2026-10-30 20:01:17 +02:00
Luxferre ea5c36d711 Add native 240x320 NeoUI Scoundrel roguelike solitaire card game 2026-10-30 19:28:31 +02:00
Luxferre 62ac46e498 Add NeoUI passcode configurator, duress mode profile, and Bluetooth OBEX UI 2026-10-30 19:28:31 +02:00
Luxferre 51a1a91d42 Add Bluetooth OBEX file transfer helper and receiver daemon integration 2026-10-30 19:28:17 +02:00
Luxferre 80ec989b50 Synchronize dunst notification manager colors and font with active NeoUI theme 2026-10-30 19:28:17 +02:00
Luxferre 0a24bf8aff Optimize battery life across DTB pinctrl, schedutil, SDHCI, and background daemons 2026-10-30 19:28:07 +02:00
Luxferre 9c28fa1e4c Add RTTTL/eMelody/iMelody ringtones and separate notification/SMS sound config 2026-10-30 12:11:16 +02:00
Luxferre 8df412085b Activate passcode lockscreen immediately upon GUI startup on boot 2026-10-30 09:34:09 +02:00
Luxferre 8c2a337c0d Fix multipart incoming SMS QMI WMS routing and CSMS reassembly 2026-10-29 22:32:09 +02:00
Luxferre 35d90fb6f7 Add GPS reception test utility and OpenStreetMap GPS navigator plugin 2026-10-29 22:10:29 +02:00
Luxferre be9ec9af0b Add native NeoUI SIP, Email, IRCv3, Tox, and Kopher SmallWeb plugins 2026-10-29 22:10:20 +02:00
Luxferre 0656042f7f Implement passcode-based fullscreen phone locker (locker.so / xlocker) 2026-10-29 21:31:00 +02:00
Luxferre 32d5d2f2b4 Implement SD card autodetection, automount, and GUI/dmenu mounter
- Enable GPIO 38 active-low card detect (cd-gpios) with bias-pull-up on
  sdhci@7864000 across all MSM8905/MSM8909 device trees and DTBs
- Add sxmo_sdcard.sh and 88-bananarchy-sdcard.rules udev rules for
  automatic mounting at /media/sdcard on insertion and cleanup on
  removal
- Integrate SD card mount, unmount/eject, and navigation into the GUI
  File Manager (files.so) and built-in dmenu SD Card menu (@menu:sdcard)
2026-10-29 21:02:51 +02:00
Luxferre 370f8b085c Implement headphone autodetection, earpiece routing, and linear volume controls
- Fix msm8916-wcd ALSA UCM2 configs (Earpiece.conf, Speaker.conf,
  Headphones.conf, PrimaryMic.conf, HeadsetMic.conf) so Speaker,
  Earpiece, and Headphones outputs and Mic1/Headset inputs are always
  available and mutually exclusive without invalid mixer controls
- Add event-driven wired headphone/headset jack detection and automatic
  audio routing in sxmo_soundmonitor.sh via evtest on the msm8916
  Headset Jack input device
- Make Earpiece, Speaker, and Headphones first-class routable output
  devices across sxmo_audio.sh, sxmo_modemaudio.sh, xdrawer, dmenu, and
  callscreen
- Make volume controls strictly linear across all channels by keeping
  PipeWire software gain at unity (100%) when unmuted and linearly
  mapping 0-100% to hardware digital volume registers (RX3 for Speaker,
  RX1 for Earpiece, RX1+RX2 for Headphones, TX1+ADC for Microphone)
2026-10-29 20:42:26 +02:00
Luxferre e42eb573ed power: optimize kernel timers, GPU devfreq, conky, and D-Bus monitors for battery life 2026-10-29 19:20:54 +02:00
Luxferre 5da053d8a5 msm-modem-uim-selection, sxmo_modem: fix incoming SMS TPDU decoding and delivery 2026-10-29 18:45:18 +02:00
Luxferre a4dbf71af9 modem: fix missing call log entries and rejected calls still ringing
On a freshly flashed image the root-run dual-SIM daemon created
~/.local/share/sxmo/modem as root. sxmo_modemcall.sh runs under set -e,
so its failed modemlog.tsv write aborted hangup() before the call was
ended on the network (the caller kept ringing), and no call was ever
logged for xcalllog.

- dsds-daemon: create the log and call state directories owned by user,
  append to modemlog.tsv through a helper that keeps it user-owned, and
  repair root-owned leftovers on start; never create /run/user/10000.
- sxmo_modemcall.sh: make log_event non-fatal and hang up on the network
  before logging and running the hangup/discard hooks.
- sxmo_modemmonitor.sh: only fall back to an unprivileged dsds-daemon
  when doas is unavailable, not whenever the root instance exits.
- apply-bananarchy-overlay.sh: pre-create the modem and block log
  directories in the image.
2026-10-28 20:07:42 +02:00
Luxferre ac9f9bb19e remedy: fix MMAPI audio, speed up interpreter, follow system volume
- Audio: 48 kHz mixer with a 512/3072-frame ALSA ring and table-based
  polyphonic MIDI synth (no stutter or tempo drag under load), Standard
  MIDI Format 0/1, ToneControl sequences, multi-stream WAV, and MIDP
  VolumeControl levels mapped to perceived loudness.
- Volume: track the system speaker volume and mute state live
  (speaker_vol, RX3 Digital Volume, SPK DAC Switch) with the same cubic
  gain PipeWire clients get; pause menu Audio item and volume keys now
  change the system speaker volume like the xdrawer slider.
- JVM: key fields by name and descriptor so obfuscated classes with
  same-named fields of different types work; cache resolved constant
  pool refs, static field slots and monomorphic call targets; use a
  stable deque heap; raise startApp/<clinit> budgets and run Java
  threads on a wall-clock budget per frame.
- M3G and LCDUI additions needed by Tomb Raider 3D Underworld and
  Castlevania: Aria of Sorrow.
2026-10-28 15:25:07 +02:00
Luxferre 66769d7c2e Add ReMEdy native 240x320 J2ME (MIDP 2.0 / CLDC 1.1 / M3G 3D) emulator and file manager integration 2026-10-28 12:41:00 +02:00
Luxferre 3b9f2ee28d Add Adreno 304 (FD304) GPU acceleration, Xlibre Glamor/DRI3/GLX offload, and OpenGL demos 2026-10-28 09:26:24 +02:00
Luxferre 4aa087f372 modem: prevent duplicate SIM PIN entry dialog in dual-SIM mode 2026-10-28 08:32:05 +02:00
Luxferre 2e2adcc7f2 Persist screen brightness, enable universal evdev key/lid wake, and add *+# screenshot combo 2026-10-27 22:24:39 +02:00
Luxferre eef8584a8d feat(camera): support GalaxyCore GC2385 (TA-1059) and GC2365 alongside GC2395 (TA-1048) 2026-10-27 18:28:32 +02:00