I strongly suggest you have a look at the various Mobian repos, especially the pinephone-related ones:
- modem scripts for power on/off and modem setup are in, well, pinephone-modem-scripts
- other PP-specific tweaks are in package pinephone-tweaks
- Wifi/BT firmware files are in firmware-rtl8723cs
Still not sure about the anx7688 firmware (we would probably need analogix's permission for that)
EDIT: Oh, and packages/alsa-ucm-conf might help with audio too
- modem scripts for power on/off and modem setup are in, well, pinephone-modem-scripts
- other PP-specific tweaks are in package pinephone-tweaks
- Wifi/BT firmware files are in firmware-rtl8723cs
Still not sure about the anx7688 firmware (we would probably need analogix's permission for that)
EDIT: Oh, and packages/alsa-ucm-conf might help with audio too