yzyhk904 / audio-samplerate-changer

A Magisk module for changing audio samplerates at the system-wide mixer for the best Hi-Fi experience.
GNU Affero General Public License v3.0
6 stars 0 forks source link

Pixel 9 pro xl Aborted: no 7.0 audio policy implementation #1

Open g1nt0 opened 1 week ago

g1nt0 commented 1 week ago
yzyhk904 commented 1 week ago

Do you know where android.hardware.audio@7.1.so exists? I cannot fix this issue without this info because I don't have Pixel 9 PRO X.

I've heard about Pixel9 that some libraries in "/vendor/lib64" have been moved into "/system". If the above library is such, try this testing magisk-module-audio-samplerate-changer.zip.

g1nt0 commented 1 week ago

same result with test module...

I couldn't find this file, only 6.0 in system/lib64 Screenshot_20241031-143216

yzyhk904 commented 6 days ago

This module cannot run on AIDL only devices like Pixel 9 series. I will add another warning for such devices.

3ndrop4in commented 6 days ago

Got similar problem with lineage 21 OS for Poco F4. Is it because I use nightly bulid? Found it, but in system/lib64 and it's 6.0 version.

yzyhk904 commented 5 days ago

I made a root (or adb) script checking the audio configuration on your devices. Please unzip CheckAudioConfiguration.zip and execute sh ./CheckAudioConfiguration.sh.

I'm fixing in some situations, e.g., using A13 or later GSI's (7.1 imp. under /system/lib64) and possibly some custom ROM's (the same). If you like, try testing magisk-module-audio-samplerate-changer.zip.

3ndrop4in commented 5 days ago

Ok. This is the output. Screenshot1

yzyhk904 commented 4 days ago

There isn't any Android devices having no "/system/bin/dumpsys"! The settings of you terminal emulator is something wrong. Restricted to be toybox command only?

By looking into sources of LineageOS, I think your device has pre 7.0 audio configuration only.

3ndrop4in commented 4 days ago

Unfortunately. Couldn't find the file you mentioned android.hardware.audio@7.1.so Too bad. It would be great to use your script. Thanks for the effort. Hopefully my next phone will have that policy enabled. I am not very proficient in using Termux, so there is a chance that I may do something wrong.

yzyhk904 commented 4 days ago

Sorry.

If you dare to install TD GSI over LineageOS on your device, you could use this module.