- 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)
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.
- 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.