Commit Graph
97 Commits
Author SHA1 Message Date
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
Luxferre 7927bacb67 modem, callscreen, ring: fix DSDS incoming ring hangup/volume and add Primary/Secondary GW SIM swap UI 2026-10-27 13:02:14 +02:00
Luxferre 9a079e1068 Fix dual-SIM operator/MSISDN parsing, secondary SIM USSD, and callscreen auto-close 2026-10-27 12:01:04 +02:00
Luxferre 46f1255905 Add Dual-SIM Dual Standby (DSDS), outgoing SIM selection, and instant charging icon update 2026-10-27 11:36:00 +02:00
Luxferre 5132deb4d8 Keep kill-plymouth enabled so plymouthd releases DRM master before Xorg starts 2026-10-27 08:13:51 +02:00
Luxferre 68cf9c515b Remove unnecessary background services and polling loops to improve battery life 2026-10-27 08:08:05 +02:00
Luxferre 726500085a Add NeoNet Yabasic networking FFI library, fix fcitx5 service and WM context menus, install yabasic-doc and mandoc 2026-10-27 07:39:07 +02:00
Luxferre c8b90640fb Remove Toggle Bar item from Config menu 2026-10-26 19:15:20 +02:00
Luxferre c137feee0e Add NeoUI 240x320 UI SDK, migrate all GUI plugins, add Yabasic FFI wrapper and fix camera rotation 2026-10-26 19:11:58 +02:00
Luxferre 6db14be799 Add Gambatte GB/GBC emulator, Call/SMS anti-spam blocklist, and Lua/bc/dc/Yabasic 2026-10-26 15:17:55 +02:00
Luxferre a8a28fa685 Fix mobile data static IP bearer, call recording, earpiece audio, and ringtone/vibration 2026-10-25 20:23:17 +02:00
Luxferre 21dfb187be Fix USSD D-Bus property extraction and session status parsing 2026-10-25 18:33:19 +02:00
Luxferre f4fe5ce8e9 Fix WAV call recording/playback, ALSA call audio routing, and tracker ringtones 2026-10-25 18:15:36 +02:00
Luxferre 30c3e817dc Add xmusic tracker/audio player, xfiles media actions, ringtone volume & vibration fix 2026-10-25 17:31:54 +02:00
Luxferre 0aff8a3379 Prevent duplicate X11 session loops from killing Conky and daemonize Conky cleanly 2026-10-25 16:18:43 +02:00
Luxferre 651720b56b sxmo, plugins: restart Conky on time/timezone/wallpaper/logout and shorten # Input mode hints 2026-10-25 16:06:47 +02:00
Luxferre b2216c186f Fix QMI USSD async response handling and prevent st terminal popup 2026-10-25 13:32:17 +02:00
Luxferre b56f310f21 Fix SIM2 QMI UIM provisioning, auto-enable ModemManager, PIN auto-prompt, call audio, and Dunst clearing 2026-10-25 11:31:41 +02:00
Luxferre fb5b9c9982 Unify Power menu bootloader entry as 'Reboot to loader' into lk2nd Fastboot menu 2026-10-25 08:36:27 +02:00
Luxferre a117e74452 Add Fastboot/EDL reboot modes and SIM contact import/export 2026-10-25 07:56:44 +02:00
Luxferre 5646f03ebe dwm-plugins: fix vibration test, AT debug channel, and Close softkey leak 2026-10-24 21:11:57 +03:00
Luxferre dc59704547 Add ringtones/wallpapers plugins, AT console, dialer USSD/*#06#, and SIM icon fix 2026-10-24 19:58:11 +03:00
Luxferre e549aaf413 Add modem/networks DWM plugins, Dual-SIM & PIN/PUK support, built-in dmenu views, and game UX fixes 2026-10-24 18:59:48 +03:00
Luxferre 0e670d7224 games: jitter-free stepping via timerfd + clearer Snake playfield
Replace the select() timeout sleep with a Linux timerfd high-resolution
timer. It fires on an absolute CLOCK_MONOTONIC deadline, so wakeups are
no longer quantized to the kernel tick (a short final wait was rounded
up to a whole tick, causing +-10-22ms jitter and lurches). The loop now
select()s on both the X connection fd and the timer fd, so input still
wakes it immediately and no busy-spin is needed -- the controls stay
responsive. A select()-timeout fallback is kept for non-timerfd setups.

Snake: draw a bright frame around the actual playfield so its boundary is
unmistakable, and move the SCORE/BEST label down into the margin between
the window frame and the playfield frame.
2026-10-24 14:21:24 +03:00
Luxferre eb78f314a3 games: rewrite both games with fixed-timestep accumulator loop
The snake speed instability was caused by cumulative timing drift in the
select()-based loop (nextTick reset to now+speed each step). Both games now
use a fixed-timestep accumulator: elapsed time is accumulated each frame and
the game logic steps when enough has built up, so movement is perfectly
periodic regardless of frame timing or rendering cost. Frame pacing caps
elapsed at 200ms to prevent a spiral of death.

Both files were fully rewritten to eliminate structural corruption (duplicate
function definitions / missing braces) introduced by many incremental edits:
- Snake: turn queue (max 2), batched body rendering, 90 px/sec base, 30 fps.
- Tetris: batched beveled-block rendering (XFillRectangles), Gameboy palette,
  XK_KP_Divide pause, 30 fps accumulator loop.

Both compile cleanly (no -Wall/-Wextra warnings) as valid armv7 ELF.
2026-10-24 10:31:10 +03:00
Luxferre 52ac64e9b3 games: fix timing drift with cumulative nextTick, 30fps render, 90 pps base
Root cause of unstable speed: nextTick was reset to 'now + speed' each step,
accumulating timing drift. Now uses 'nextTick += speed' with a floor (if
nextTick < now, reset to now) to prevent drift and catch-up spirals.

- Both games: 30 fps render cap (FRAME_MS = 33 ms), nextTick updated
  cumulatively to eliminate drift.
- Snake: base speed 90 px/sec (~100 ms per step at cell=9), turn queue
  unchanged, edge wrap unchanged.
- Tetris: gravity step uses cumulative nextTick, controls unchanged.
2026-10-24 09:44:24 +03:00
Luxferre 1d1c4524de games: revert to 60 fps, slower Snake base speed
Switched both games back to 60 fps (FRAME_MS = 16 ms) for smoother rendering
and reduced Snake base speed from 150 to 90 px/sec (~60 ms -> ~100 ms per
step at cell=9) so the snake is controllable and doesn't feel too fast.
Progressive difficulty (+1 px/sec per 5 food) and turn queue are unchanged.
2026-10-24 09:41:42 +03:00
Luxferre ff29160461 games: fix input/rendering lag and missed keypresses
Identified and fixed rendering/input optimization issues:
- Snake: added turn queue (max 2 pending turns) so rapid key presses are
  never lost; filters reversals and duplicates against the last queued
  direction. Batched snake body rendering into a single XFillRectangles call
  instead of one XFillRectangle per segment.
- Tetris: batched settled-block rendering into 3 XFillRectangles calls
  (body, highlight, shadow) instead of 5 XFillRectangle calls per cell.
  This reduces ~1000 X11 calls per frame to 3, fixing frame drops and
  input lag.
- Both: non-blocking input polling before every frame (already in place)
  ensures no keypress is missed.
2026-10-24 09:36:38 +03:00
Luxferre eee12181c7 games: responsive game loop with non-blocking input polling
Replaced the blocking select()-based main loop with a proper game loop:
- Process ALL pending X11 input (XPending) before every frame — no more
  missed keypresses from select() blocking for up to a full frame
- Render every frame at 30 fps (FRAME_MS = 33 ms) consistently
- Frame pacing uses select() with a timeout that wakes immediately on
  input, so keypresses are processed within milliseconds
- Game logic (snake steps, tetris gravity) still runs at its own rate via
  nextTick, decoupled from render rate

This eliminates input lag and missed keypresses in both Snake and Tetris.
2026-10-24 09:03:38 +03:00
Luxferre 8ccfdb8d44 games: 30 fps render loop + immediate Snake turns
Switched both games to a 30 fps render cap (FRAME_MS = 33 ms) for smoother,
more predictable frame pacing. Snake base speed raised to 150 px/sec (~60 ms
per step at cell=9) so turn commands take effect at the next step without
perceived lag. The buffered-direction model (latest keypress wins) is
unchanged — turns apply at the next step, which is immediate in snake terms.

Progressive difficulty (+1 px/sec per 5 food in Snake, +1 px/sec per 10 lines
in Tetris), edge wrap, Gameboy-style beveled blocks, and all controls are
unchanged.
2026-10-24 08:54:25 +03:00
Luxferre 9d4ca2e3a6 games: 60 fps rendering loop + smoother Snake controls
Both games now render at 60 fps independent of the game-logic step rate:
the main loop caps select() at one frame (16 ms) so the screen updates
smoothly even when gravity/snake steps are slow, and renders every frame
or whenever state changed.

Snake: replaced the turn queue with a single buffered direction (latest
keypress wins) so rapid key presses don't queue up and misfire. Base speed
set to 100 px/sec (~90 ms per step) for controllable, responsive play.
Progressive difficulty (+1 px/sec per 5 food) and edge wrap are unchanged.
2026-10-24 08:43:39 +03:00