You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor volume table handling and Bluetooth connection logic
- Updated `uninstall_cinderhome.sh` to remove specific Cinder directories during uninstallation.
- Modified `fake_pst.cpp` to change Bluetooth address format in connection requests for consistency.
- Enhanced `cinder-voltable.c` to implement a more robust method for installing volume tables from predefined directories, ensuring proper checks for Sony's files.
- Adjusted `main.cpp` to reflect updated Bluetooth connection request logging.
- Improved `test_launcher.sh` to verify the presence of volume tables and log appropriate messages based on their availability.
- Expanded documentation to clarify the process of obtaining and using volume curve tables, emphasizing the need for user-provided files.
- Added a new raw HCI snoop capture file for Bluetooth analysis, ensuring sensitive data is redacted.
if [ -n"$vt_tbl" ] && [ !-f"/system/usr/share/audio_dac/$vt_tbl" ];then
327
-
echo"WARN: volume curve '$vt_now' needs /system/usr/share/audio_dac/$vt_tbl, which this playerdoes not have (it is not part of the stock firmware) — the stock curve stays."
echo"WARN: volume curve '$vt_now' needs Sony's $vt_tbl, which this player's firmware does not include and which was not found at the top of the drive or in Wampy — the stock curve stays. Put $vt_tbl on the drive and install again (install.md: The volume curve tables)."
328
374
fi
329
375
330
376
# 1f4) battery/charger reader. The bq24262 charger's registers live under /proc/regmon/bq24262/,
@@ -702,12 +748,13 @@ if [ -x "$VOLTABLE_BIN" ] && [ -f "$VOLTABLE_CONF" ]; then
702
748
vt_log "volume curve: stock — keeping the table the boot script loaded"
703
749
;;
704
750
wm1a|w1)
705
-
# Both need a table a STOCK NW-A50 DOES NOT HAVE: only its own 1291 set ships, and
706
-
# Cinder does not ship Sony's files. Look first, so the log says why instead of a bare
707
-
# FAILED — the helper's rc 4 means the same thing, silently.
751
+
# Both need a table a STOCK NW-A50 DOES NOT HAVE: only its own 1291 set ships. An
752
+
# install puts the user's own copy in Cinder's directory once its SHA-256 matches Sony's
753
+
# (step 1f3b above), and cinder-voltable looks in both places. Look first, so the log
754
+
# says why instead of a bare FAILED — the helper's rc 4 means the same thing, silently.
708
755
case "$vt" in wm1a) vt_tbl=ov_127x.tbl ;; *) vt_tbl=ov_1280.tbl ;; esac
709
-
if [ ! -f "/system/usr/share/audio_dac/$vt_tbl" ]; then
710
-
vt_log "volume curve: '$vt' needs /system/usr/share/audio_dac/$vt_tbl, which is not part of the stock firmware and is not on this player — stock curve stays"
756
+
if [ ! -f "/system/usr/share/audio_dac/$vt_tbl" ] && [ ! -f "/system/vendor/unknown321/usr/share/cinder/audio_dac/$vt_tbl" ]; then
757
+
vt_log "volume curve: '$vt' needs Sony's $vt_tbl, which this player's firmware does not include and no install has supplied — stock curve stays (put it at the top of the drive and install again)"
0 commit comments