Thank you @aron for being my tester! Couldn’t have done it without you.
The Issue
Users have reported that flashing any old ROM on these new Qins break speaker functionality.
PSA
If you flashed 1.1.1 with spflashtool, you must follow all flashing instructions, as you overwrote the boot and dtbo partitions.
If you only flashed a super (not boot or dtbo), and then your speaker broke, you should be able to just flash a working super.
The Fix
The speaker requires three components to work:
-
Kernel — Contains the driver that knows how to communicate with the speaker hardware. Lives in the boot partition.
-
DTBO — Tells the kernel what speaker hardware exists and how it’s configured (addresses, pins, etc.). Lives in the dtbo partition.
-
Vendor firmware — The actual code that runs on the speaker’s own chip. The kernel loads this from /vendor/firmware/ and sends it to the speaker at boot.
All three new components are backward compatible with the old hardware.
Download
zip includes boot, dtbo, and 3 firmware files
Fix a ROM
Fix an existing ROM:
-
Unpack the ROM with your favorite tool(s).
-
Place the three firmware files in
/vendor/firmware -
Build the super (if you are using crb, rebuild the vendor partition first).
Flash boot & dtbo
I don’t have this phone, so I can only tell you what was tested on 2 phones. Other flashing methods may work.
There is more than one way to flash the required partitions, fully fastboot was not tested, but I don’t see why it wouldn’t work. Also, dtbo_b might not be necessary, but I included it anyway.
What was tested
-
Flash boot with fastboot. Flash dtbo_a and dtbo_b with mtkclient.
-
Flash boot, dtbo_a and dtbo_b with mtkclient.
Flash super
This is what I told him to do:
The “erase super” probably doesn’t matter, it’s just what I do.
adb reboot bootloader
# when he flashed boot via fastboot
fastboot flash boot boot_a.bin
fastboot -w
fastboot erase super
fastboot flash super name-of-super.bin
fastboot reboot
Working ROMs (super)
If you patch a ROM, please share it with the community.
I don’t recommend using this one. Weird issues and restrictions.
I recommend you patch your own ROM, or wait for someone else to do so. I might do some myself.