[One (M9) Q&A, Help & Troubleshooting] gnufreak:
Hi folks,

I'm new here. I've thought I'd ask for help here. Feel free to let me know if there's a better place to post it, if this turns out to be affecting more than just me.

I purchased new international/unlocked HTC One M9, flashed TWRP, then cm13 (nightly), had absolutely no issues with the software but I did notice that sometimes the phone would losie GSM reception, sometimes this was accompanied by message stating there was no SIM card. After a while it would usually get the signal back to some usable level. Other than that, no issues at all.

I thought an OTA from HTC might contain some radio related firmware updates and decided to go back to stock, upgrade via OTA from HTC, check if the baseband firmware version changed (it did) and then flash cm13 back to the device.

When I was back on cm13 after the HTC OTA updates, my device wasn't able to play any sound. Tested with media files, YT but most importantly the stock phone app. When I tried to make a call, it would show its standard blue screen with the red "hang up" icon, but there would be no text in this window and it would take a very long time (~1min) to respond to ending that call. I was able to switch back to the home screen, though. It was reproducible every time.

Everything else worked fine. I heard about `adb logcat`, so I tried it and it was showing that the OS wasn't able to communicate with a sound card since there were none detected by the kernel.

Here's the logcat output capturing the whole boot. I do have a longer one but I had to truncate it to be able to upload it to pastebin: pastebin.com/zEjt2giB

Most worrying log even, which is generated non-stop is:

02-08 02:18:03.164 484 610 D AudioDaemon: Opening sound card state : /proc/asound/card---/state

02-08 02:18:03.164 484 610 E AudioDaemon: Open /proc/asound/card---/state failed : No such file or directory

02-08 02:18:03.164 484 610 V AudioDaemon: bool android::AudioDaemon::getStateFDs(std::__1::vector<std::__1::pair<int, int> >&): 0 sound cards detected

02-08 02:18:03.164 484 610 E AudioDaemon: Sleeping for 100 ms

I was able to reproduce this issue by wiping the boot/system/data, going back to stock HTC ROM, flashing CM13 again and encountering the same issue. On stock HTC ROM (both on the older and the newest one) everything works.

When I purchased the phone:

% fastboot getvar all

(bootloader) kernel: lk

(bootloader) product: htc_himauhl

(bootloader) version: 1.0

(bootloader) imei: xxxxxxxxxxxxxx

(bootloader) version-main: 2.10.401.1

(bootloader) boot-mode: download

(bootloader) version-baseband: 01.04_U11440601_71.02.50709G_F

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 0PJA10000

(bootloader) cid: HTC__102

It was running 5.0.2 or 5.1, I can't remember.

It was also S-ON.

Bootloader was locked.

After receiving all HTC OTA updates and flashing CM13 again (paragraph 3 above):

% fastboot getvar all

(bootloader) kernel: lk

(bootloader) product: htc_himauhl

(bootloader) version: 1.0

(bootloader) imei: xxxxxxxxxxxxxx

(bootloader) version-main: 3.35.401.12

(bootloader) boot-mode: download

(bootloader) version-baseband: 01.01_U11440792_97.00.51203G_F

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 0PJA10000

(bootloader) cid: HTC__102

In the bootloader, in addition to the details above, it shows (not sure if this is relevant and I don't have the version from when I first got the device):

- OpenDSP-15.6.1.00522.8994_1026

- Software status: official

- UNLOCKED

- Dec 16 2015, 15:37:25(671758)

- S-OFF (I did pay to get S-ON disabled to be able to downgrade firmware among other things).

Is this a known compatibility issue between firmware that's part of the latest HTC OTA updates and CM13?

Cheers!