opencode.siil.arti.ee b3217380a5 docs(gui): remove the Screenshots section from the README
Drop the long SVG/PNG pipeline description; the images at the top and
the screenshots.sh row in the files table still document the output.
Point the caption at screenshots.sh instead of the removed anchor.
2026-11-29 22:27:55 +00:00

HK Aura (1st Gen) — Reverse Engineering, Repair & Android 15 Revival

Everything learned while repairing, dumping, and reverse-engineering a 1st-generation Harman Kardon Aura (HKAURA, BridgeCo / SMSC JukeBlox platform, 2013–2015) and getting the Harman Kardon Remote app (com.harman.hkremote v4.5) running on Android 15.

Current status

  • Hardware root cause resolved (2026-11-29): Replacing three aged electrolytic capacitors on the Power Board — CE204 (220 µF / 35 V, 19 V VCC_IN/VCC_AMP), CE4 (47 µF / 35 V, U5 19 V → 3V3 buck input), and CE26 (220 µF / 16 V, U18 G5725 1.2VD DM870 core rail) — resolved both the audio and Wi-Fi failures at once. U17 (woofer amp) was not dead: both woofer (U17) and L/R (U18) amplifiers now run together without disrupting the AK7742 DSP, Wi-Fi/AirPlay/Spotify work cleanly (Setup AP HK_Aura*****, Bonjour _airplay._tcp/_raop._tcp, AirPlay ALAC, Spotify esdk 1.17.0), and max-volume tests passed cleanly. See docs/05-status.md.
  • Remaining preventive work: Replace the remaining 12 aged aluminum electrolytics on the Power Board (CE1, CE5, CE27, CE28) and Main Board (CE202, CE203, CE205, CE37, CE16, CE36, CE34, CE35). Full BOM: docs/digikey-order.md.
  • Bluetooth SPP (HarmanSpp) working on stock firmware (2026-11-29): Connecting directly to RFCOMM channel 2 (avoiding channel 1 = Apple iAP1, which latches dev[8] = 1 until a full BT disconnect) makes tools/aura_wifi_bt.py --list and all 11/11 safe HarmanSpp queries respond cleanly. See docs/06-bt-protocol.md and docs/09-command-probe.md.
  • Android 15 app: Repacked APK (v3–v6) installs and runs on 64-bit Android 15 (targetSdk 24, ABI-neutral with NFLC DLNA stubs, runtime Bluetooth location permission, public-API A2DP check, and logcat forwarding).
  • Full flash backups verified: Complete bit-exact dumps of both the 256 KiB STM32F105RC internal flash (over SWD) and the 8 MiB DM870 MX29GL640E parallel NOR flash (over UART1 fburn rd + XMODEM-CRC) are archived in firmware/.
  • Near-100% firmware reversal across all 5 binaries: All five firmware binaries in ghidra/hk_aura.gpr are reversed and synced into DeepWiki (26,681 / 26,712 functions named = 99.88%, with 100% coverage on STM32 app, DM870 Stage-2, DM870 AirPlay app, and DM870 Bootloader Level 1), including 1,643 reconstructed DM870 C++ classes (1,464 vtables) from intact RTTI — documented in deepwiki/README.md (stm32.md, dm870.md, dm870_bl1.md).

Hardware architecture & key facts

Harman Kardon Aura (1st Gen) System & Audio Architecture

The 1st-generation Aura is a three-processor system spanning seven documented PCBs plus the DM870 daughterboard and external 19 V / 3 A PSU:

Model / IDs HARMAN KARDON AURA (HKAURA), 1st gen — FCC ID APIHKAURA (2013-09-30), IC 6132A-HKAURA (2013-10-10)
Host MCU (U14) STM32F105RC (72 MHz ARM Cortex-M3, 256 KiB flash, 64 KiB SRAM, no RDP), IAR EWARM, bare-metal 6-task cooperative scheduler
Wi-Fi / AirPlay SoC BridgeCo / SMSC DM870-CE2 ("Sulu", CX870-3B, DEVICE ID 0x70) — ARM926EJ-S (ARMv5TE), 8 MiB Macronix MX29GL640E parallel NOR (TSOP), 16 MiB SDRAM, ITCM/DTCM, 24 MHz crystal, KnOS RTOS + ARM RVCT C++
Bluetooth module (U10) Microchip / Roving Networks RN52 on Power Board 40-KS320U-PSK2G (CSR BC57F687A + external Macronix MX25L8006 SOIC-8 SPI flash, VER=118) on UART4 (PC10/PC11, 115200); outputs S/PDIF (BT_DATA) to AK4117 RX0
S/PDIF receiver (U21) AK4117 DIR with 12.288 MHz crystal (Y4), bit-banged SPI (PC4/PC5/PB0/PB1); RX0 = BT, RX1 = Optical; its MCKO (DIR_MCLK) is the AK7742's only crystal clock (XTI)
Audio DSP (U20) AK7742 on I2C2 (0x30, PB10/PB11, reset PB2): 2ch ADC (Aux) + dual PRAM DSP (48 kHz / 96 kHz) + 4ch DAC (AOUT1 → U18 L/R, AOUT2 → U17 sub, SDOUT1 → U22 headphones)
I2S mux (U15) & HP DAC (U22) SN74CBTLV3257 (I2S_SW PA6, /I2S_OE PC15) switches DM870 vs. AK4117 (disabled for Aux); AK4366 headphone DAC (A_PDN PC9, EAR_DET PB15, EAR_CDTI PB14)
Power amps (U17, U18) 2× TPA3116D2 Class-D (U17 woofer, U18 L/R), AMP_MUTE = PA5 via Q202, /FAULTZ tied to /SDZ (TI auto-recovery), powered directly from VCC_IN (19 V)
Top UI & LEDs Capacitive touch/slider CY8C20334 (U6, I2C1 0xDA); 30-LED dome ring driver BU26507 (U23, soft-I2C 0xEA)
Firmware build For HK AURA V0.34 MP software (20150804070002) — Main 0.0.4.6, MCU 0.0.4.6, BT 0.1.1.8, AirPlay 0.0.4.7
Setup AP & network Open 2.4 GHz AP HK_Aura + 5/6 MAC hex chars, IP 192.168.1.1, DHCP 192.168.1.101+, AirPlay :5000, HTTP-MM XML :10025, Telnet shell :8000

On-board debug & test interfaces

  • STM32 SWD (live debug & flash dump): PA14 (SWCLK) and PA13 (SWDIO) — JTAG pins PA15/PB3/PB4 are repurposed for SPI3 (AirPlay link), so 3-wire SWD is required. Works cleanly with an FT2232HL V3.6 (tools/ft2232hl-swd.cfg, Channel B, jumper J6 closed) and tools/aura_swd.py. See docs/04-backup-and-flash.md.
  • STM32 Debug UART: USART2 (PA2/PA3, TX1/RX1/GND header on MCU sheet, 115200 8N1) — full boot/runtime logs + 48-command CLI (devstatus, hwmute 1|2, damute 1|2, upgrade, upg YMODEM).
  • DM870 Debug Shell: UART1 (sds://>) and Telnet port 8000 (TelnetShellEnable.1) — 164 ShellCmd commands including fburn rd (XMODEM flash readout), sys ver, sys map, sys memdump, persparam, filetransfer.
  • AK7742 I2C debug pads: DSP_SCL/DSP_SDA/GND/DSP-3V3 ("FOR DEBUG" on the DSP schematic sheet).

Key findings & lessons learned

1. Root cause of audio & Wi-Fi failure (Power Board electrolytics CE204/CE4/CE26)

  • How the fault manifested & why U17 looked dead: On headphone insertion, the firmware mutes the amps (PA5), mutes the AK7742 DAC, enables headphone output (PB14), and then unconditionally unmutes the amps 1 s later (amp_unmute_timer_cb @ 0x08015274). Whenever the woofer amp (U17, TPA3116D2) switched, the AK7742 stopped answering on I2C (1–7% ACK with NAK/ARLO vs. 100% muted, while AK4117 stayed locked with zero errors) and killed all audio outputs without resetting the DSP. Pulling U17 /SDZ (AMP1-SD) to GND temporarily restored L/R playback (with AK7742 I2C still degraded to ~24% ACK while U18 ran). Meanwhile, the DM870 repeatedly boot-looped (FLB → Bootloader Level 1) and failed to bring up its setup AP.
  • Actual root cause (resolved 2026-11-29): U17 was fine. On the Power Board, VCC_IN (19 V) feeds VCC_AMP directly and simultaneously powers the 5.19 V (U1), 3.34 V (U5), and 1.26 V DM870 core (U18) bucks. With CE204 (220 µF / 35 V) and CE4 (47 µF / 35 V) dried out, U17's pulsed Class-D switching current on the shared 19 V rail destabilized 3V3/AVCC and disrupted the AK7742 I2C bus, while aged CE26 (220 µF / 16 V) starved the DM870 1.2VD core. Replacing CE204, CE4, and CE26 restored woofer (U17), L/R (U18), and Wi-Fi/AirPlay cleanly through max-volume testing. See docs/05-status.md.
  • Audio clocking & routing (docs/08-audio-routing.md):
    • Every source depends on the AK4117 (Y4 12.288 MHz crystal) driving DIR_MCLK → AK7742 XTI at boot before DSP_RST releases. The STM32 does not clock the audio path.
    • Aux / Savior (idle): AK4117 crystal mode 3 (01h=0x27, 12.288 MHz MCKO) → AK7742 CKM 0 (I2S master, drives DSP_BCK/DSP_LRCK for the AK4366 too); U15 disabled.
    • Bluetooth (S/PDIF on RX0) & Optical ≤48 kHz (RX1): AK4117 PLL mode 2 (01h=0x46) → BICK 64fs via U15 → AK7742 CKM 3. Optical 96 kHz switches to PRAM variant 1 and CKM 2. The firmware masks AK4117 unlock interrupts (0xDB) and never reads UNLCK, so lost lock is silent in logs.
    • Quirks: CMD_SET_CURRENT_SOURCE (0x0E03) only writes a shadow byte and never changes audio routing; optical 176.4/192 kHz silences SDIN1 gains and 32 kHz is unhandled; BT mode switches do not mute the amps before reloading DSP PRAM.
  • Full capacitor inventory & preventive recap BOM (docs/13-capacitor-tables.md, docs/digikey-order.md, bom/):
    • All 269 capacitors across the 7 documented PCBs were cataloged from Service Manual Rev 1.1 (40-KS320U-*), isolating all 15 aging-prone aluminum electrolytics (7 on Power Board, 8 on Main Board; 3 replaced, 12 remaining for preventive recap) with CAD-measured footprints from the 1.400× vector PCB layouts and a ~€8.42 DigiKey BOM (docs/digikey-order.csv, ~€7.92 without the two optional 0805 X5R upgrades C721/C433).

2. Firmware container, flash maps & full backups

  • HUI container (docs/02-firmware-format.md): 5,093,444 bytes, 2 checksummed segments:
    • Header (0x00..0x6F): "HUI " magic, container version 0x0406, whole-file 32-bit two's-complement checksum at 0x14 (sum(all u32 words) == 0), "HK AURA" at 0x20, and two 32-byte descriptors at 0x30 (type 0 MCU, version 0x0406, checksum at 0x40) and 0x50 (type 2 AirPlay/DM870, version 0x0407, checksum at 0x60).
    • Segment 1 (0x70..0x32444, 205,780 B): STM32 Thumb-2 app linked at 0x0800C000. CountryCodeUS at file offset 0x3233E (0x0803E2C3) can be patched to EU (ch 1–13) or JP (ch 1–14) via tools/patch_firmware.py / tools/patch_hui.py.
    • Segment 2 (0x32444..EOF, 4,887,552 B, bCoD): DM870 bundle containing the 8 KiB Stage-2 ITCM loader (0x0040DA00), 3.88 MiB SDRAM app (0x60008000, Fletcher-32 0xAFB432F9), and web UI/resources.
    • The official January 2016 "Spotify Connect" AURA-SW.zip ships the byte-identical V0.34 HK_AURA.bin (sha256 11052bd8...) as the 2015-08-04 US image.
  • STM32F105RC 256 KiB flash map (firmware/stm32_full_flash.bin, sha256 3b7250ae...):
    • 0x08000000..0x0800BFFF (48 KiB): USB-host FAT32 / LAC XMODEM bootloader (firmware/stm32_bootloader.bin, sha256 c752077b...).
    • 0x0800C000..0x0803E3D3 (~201 KiB): Segment 1 application (0 byte diffs vs. HK_AURA_US_original.bin).
    • 0x0803F000..0x0803FFFF (4 KiB): Persistent config sector (boot launch type word 0, stored versions Main 0x0406 / BT 0x00010108 / AirPlay 0x0407 / MCU 0x0406, volume/EQ/bass, FireCast data).
  • DM870 8 MiB MX29GL640E parallel NOR flash map (firmware/dm870_full_flash.bin, sha256 0679cd4e..., dumped over UART1 via fburn rd in 16 × 512 KiB XMODEM-CRC chunks with 0 NAKs):
Flash Range Size Partition Verification
0x000000..0x010000 64 KiB FLB (First Level Bootloader) Verified (FLB running @ 24000000Hz)
0x010000..0x020000 64 KiB PersParam (unit MAC, persistent settings) Verified
0x020000..0x030000 64 KiB CnE Factory CRC-32 0x5a64d9d0, 0 diffs vs. original
0x030000..0x050000 128 KiB CnE User / Temp Verified
0x050000..0x1C0000 1,472 KiB Bootloader Level 1 (20130829081037) CRC-32 0x181df020, Fletcher-32 0x5caa4428 (full KnOS rescue/factory OS)
0x1C0000..0x5B0000 4,032 KiB Application + Stage-2 Loader CRC-32 0xcdc12327, Fletcher-32 0xafb432f9, 0 diffs vs. extracted bins
0x700000..0x7C0000 768 KiB FFSResources / WebUI (rom:///ui_NOR/) CRC-32 0x4a3c98a7
0x7E0000..0x800000 128 KiB CnE User / Backup Verified

3. Bootloader rules, USB update trap & AURA_FU.bin (docs/11-update-trace.md)

  • Touch button combos: Power + Wi-Fi held 2.2 s (not 5 s) starts USB upgrade (HK_AURA.bin); Power + Source (2.2 s) = factory reset; Wi-Fi + Source (2.2 s) = bypass mode; Wi-Fi (2.2 s / 5 s) = setup AP / long Wi-Fi; Source (2.2 s) = BT pairing.
  • Two completely different USB stacks: seg1.bin uses commercial HCC Embedded USBH + VFAT, whereas stm32_bootloader.bin uses an early 2011 ST STM32_USB_HOST_Library + ChaN FatFs R0.08.
  • Why custom USB updates failed silently after ~20 s:
    1. seg1.bin gates each module on file_ver > flash_ver (bypassable via serial CLI upgrade), cannot write its own app flash (0x0800C000..0x0803E3D4), and hands MCU updates off by writing 1 to config word 0 (0x0803F000), waiting 5.0 s, and executing NVIC_SystemReset().
    2. In the bootloader, ST's USBH_MSC_ModeSense6 (0x08004362) sends SCSI MODE SENSE (6) (0x1A) with a malformed 10-byte CDB (bCBWCBLength = 10). Modern USB drives that STALL on it hit 10 retries, time out, write 3 (System upg fail!), and reboot back to the old app.
    3. Bootloader ChaN FatFs R0.08 also requires MBR (no GPT), 512-byte sectors, 8.3 filenames, MaxLUN == 0, <= 2 interfaces, and <= 3 endpoints.
  • Bootloader acceptance rules & AURA_FU.bin backdoor: The bootloader checks no signature, no version gate, and no checksums — only "HK AURA" at +0x20 and a type-0 record < 0x33002 bytes. Launch type 0x12 is written after erase for automatic infinite recovery on power loss, and on every normal cold boot (boot_init_dfu_context @ 0x08009088) the bootloader looks for AURA_FU.bin on USB, flashing segment 1 directly without button combos or version bumps.

4. Ghidra reversal, DeepWikis & reconstructed DM870 C++ hierarchy

All five firmware binaries are loaded in ghidra/hk_aura.gpr and exported live via tools/ghidra/ExportDeepWikiSnapshot.java into static Markdown wikis (deepwiki/README.md) and offline interactive HTML explorers:

Binary Arch / Base Named Functions Labels, RTTI & DeepWiki
stm32_bootloader.bin Thumb-2 @ 0x08000000 531 / 562 (94.5%) 634 RAM/MMIO labels (tools/ghidra/annotate_bootloader.py) → deepwiki/stm32.md
seg1.bin (STM32 app) Thumb-2 @ 0x0800C000 1,404 / 1,404 (100%) 754 RAM/MMIO labels → deepwiki/stm32.md
dm870_stage2_loader.bin ARMv5T @ 0x0040DA00 41 / 41 (100%) JEDEC NOR probe, EMC/PLL init, Fletcher-32 check → deepwiki/dm870.md
dm870_airplay.bin ARMv5TE @ 0x60008000 + ITCM 0x00400000 18,392 / 18,392 (100%, 0 undef) 1,435 C++ classes (218 root, 1,104 single, 113 multiple), 1,308 vtables, 2,740 labels, 6,333 class-bound methods (docs/dm870_cpp_classes.h, docs/dm870_cpp_hierarchy.md) → deepwiki/dm870.md
dm870_bootloader_l1.bin ARMv5TE @ 0x60008000 + ITCM 0x00400000 6,313 / 6,313 (100%, 0 undef) 208 C++ classes (17 root, 174 single, 17 multiple), 156 vtables, 364 labels, 395 class-bound methods (docs/dm870_bl1_cpp_classes.json) — full KnOS rescue/factory OS (cne_mainMenu GUID/MAC/TVID/JTAG, fburn, UART1/SPI XMODEM-CRC, 5-mode TFTP, HTTP OTA, USB MSC/MTP/FAT, SuluWLAN/lwIP, GoAhead webs) → deepwiki/dm870_bl1.md
Total (hk_aura.gpr) 5 binaries 26,681 / 26,712 (99.88%) 1,643 C++ classes · 1,464 vtables · 4,493 labels · 6,728 class-bound methods

5. Bluetooth SPP protocol & channel-1 iAP1 latch (docs/06-bt-protocol.md, docs/07-firmware-spp-state-machine.md)

  • SPP protocol (HarmanSpp, UUID 00001101-..., RFCOMM channel 2): Big-endian 16-bit commands (03 01 scan → 03 02/03 03 list, 03 04 join, 03 06 IP; 53 04 iOS targeted share via Spp_4_Wifi_Share at 0x2000B83E). Implemented for Linux in tools/aura_wifi_bt.py — works on stock firmware (all 11/11 safe commands + live Wi-Fi scan verified 2026-11-29).
  • Why earlier probes got 55 04 00 38 00 00 c4 and silence: RFCOMM channel 1 is Apple iAP1 (00000000-deca-fade-deca-deafdecacaff), not SPP. Connecting to channel 1 triggers +IAP:3,0, emits iAP1 StartIDPS (55 04 00 38 00 00 c4), and latches dev[8] = 1 (iAP mode) in bt_spp_connection_handler (0x08017512); disconnecting channel 1 never clears dev[8] back to 0 (only a full BT/A2DP disconnect in bt_handle_a2dp_status_resp @ 0x0801733c resets it), silencing SPP on channel 2. tools/aura_wifi_bt.py now defaults to channel 2 when sdptool is absent.
  • The app's SB26/SB35 Bluetooth firmware-upgrade trigger (05 06) is not in the Aura's HarmanSpp dispatcher (FUN_08019816).

6. Security review of segment 1 parsers (docs/12-parser-security-review.md)

Static audit of the STM32 application parsers (no ASLR, SRAM executable by default):

Parser / Command Finding Severity
USB iAP 0x55 transport (uart_frame55_rx_parser, 0x0802349C) Pre-auth stack overflow: 16-bit frame length copied into 256 B stack buffer, overwriting saved LR before checksum check (no MFi auth or VID/PID gate) Critical
iAP app cmd 0x0304 (0x08018960) Stack overflow from unbounded SSID/password length bytes High
Apple Lingo 0 cmd 0x006A (0x080182DA) Unbounded strcpy stack overflow from SSID/password strings High
iAP app cmd 0x0403 (0x080188AC) Global overflow from device-name length (can corrupt g_bcsp_auth_ctx) Medium
USB HUI updater (usb_upg_check_hui_file, 0x0801F9C0) No buffer overflow (fixed 0x20 copies), but unbounded count/size/offset DoS, no magic/checksum check, stale slots Low/Med
YMODEM (ymodem_receive_file, 0x080121DC) 1-byte OOB NUL on 256+ byte filename into adjacent USART2 CLI buffer Low

7. Android 15 app repack (com.harman.hkremote v4.5, docs/01-app-repack.md)

The original 2015 APK (targetSdk 18, 32-bit armeabi only) fails on Android 15 due to SDK floor (>= 24), 64-bit-only ABIs, implicit MusicService intents, missing BT location permission, and a broken hidden-API reflection check (BluetoothA2dp.isSinkConnected). Smali/AXML patches in tools/apk/ and patches/ produce:

  • v3: targetSdk 24, lib/armeabi/ removed + 152 native NFLC methods stubbed (ABI-neutral; DLNA/Music tab intentionally disabled), 6 implicit service intents fixed, ACCESS_FINE_LOCATION + PermHelper.
  • v4: exports DiscoveredSpeakersActivity for direct adb shell am start launch of the Wi-Fi setup menu.
  • v5: replaces hidden-API A2DP check with BluetoothAdapter.getProfileConnectionState(A2DP).
  • v6: forwards stubbed HarmanLog methods to android.util.Log for logcat diagnostics.

Repository layout

Path Contents
apk/ Original HarmanKardonRemote-4.5-original.apk + Android 15 patched builds HKRemote-4.5-bt-v3..v6-debuglog.apk
aura-gtk/ GTK4/libadwaita desktop app for the speaker over Bluetooth SPP (aura_bt_gtk.py), firmware-faithful speaker simulator (aura_sim.py) and client tests
bom/ Full 269-capacitor CSV (capacitors-all.csv) and 15-cap electrolytic recap table (electrolytics-recap.csv)
deepwiki/ Static Markdown architecture wikis (README.md, stm32.md, dm870.md, dm870_bl1.md), matching offline interactive HTML explorers, and live-Ghidra generate*.py generators
docs/ Detailed technical notes (01–13), system architecture diagram (architecture.svg), DigiKey recap BOM (digikey-order.md/.csv), and reconstructed DM870 C++ class hierarchies (dm870_cpp_classes.h/.json, dm870_cpp_hierarchy.md, dm870_bl1_cpp_classes.json)
firmware/ Stock US/EU HUI images, Jan 2016 AURA-SW.zip, verified STM32 (stm32_bootloader.bin, stm32_full_flash.bin) & DM870 (dm870_full_flash.bin) hardware dumps, RN52 DFU images (RN52/), and experimental test builds
ghidra/ Analyzed Ghidra project (hk_aura.gpr) + extracted binaries (seg1.bin, dm870_stage2_loader.bin, dm870_airplay.bin, dm870_bootloader_l1.bin)
manual/ Owner's manual, Aura Rev 0 & Rev 1.1 service manuals, Aura Studio 1–4 service manuals, Spotify upgrade PDF, FCC exhibits (FCC/), RN52 docs (RN52/), and AK4117/AK7742 datasheets (datasheets/)
patches/ Smali diff (harman-changes.diff) and added PermHelper.smali for the Android app
tools/ APK patch scripts (apk/), HUI/region/experimental firmware patchers (patch_*.py), telnet XMODEM dumper (aura_dump.py), Linux BT SPP control & provisioning tools (aura_bt.py, aura_wifi_bt.py; the GTK4 GUI lives in aura-gtk/), FT2232HL SWD config + live MCU debugger (ft2232hl-swd.cfg, aura_swd.py), and Ghidra setup/annotation/RTTI/DeepWiki-export scripts (ghidra/)

Documentation index

Doc Topic
deepwiki/README.md Firmware DeepWiki index across all 5 Ghidra binaries + regeneration instructions
deepwiki/stm32.md STM32F105xC host MCU architecture (seg1.bin + stm32_bootloader.bin)
deepwiki/dm870.md BridgeCo DM870-CE2 AirPlay app & Stage-2 loader architecture
deepwiki/dm870_bl1.md BridgeCo DM870-CE2 Bootloader Level 1 rescue/factory OS architecture
docs/01-app-repack.md Android 15 APK repacking pipeline, smali changes, build history (v1–v6)
docs/02-firmware-format.md HUI container layout, checksums, region patch, BridgeCo/JukeBlox platform
docs/03-wifi-provisioning.md Setup AP defaults, LED blink codes, provisioning paths, direct adb launch
docs/04-backup-and-flash.md Telnet/UART fburn XMODEM dump, STM32 SWD wiring & dump, RN52 DFU/SPI readout, USB flashing
docs/05-status.md Chronological troubleshooting log, U17 woofer amp diagnosis, SWD measurements, open items
docs/06-bt-protocol.md Classic BT SPP Wi-Fi provisioning & SB26/SB35 BT upgrade frames
docs/07-firmware-spp-state-machine.md HarmanSpp dispatcher, Spp_4_Wifi_Share, 0x55 framing & RN52 mode mismatch
docs/08-audio-routing.md Complete audio schematic wiring, AK4117/AK7742 clocking, DSP commands, GPIOs, headphone unmute timer
docs/09-command-probe.md HarmanSpp live command probe table and pre/post-patch results
docs/10-led-and-logging.md 30-LED ring soft-I2C animation service (0xEA) and debug/USB logging options
docs/11-update-trace.md Touch combo timing, HUI upgrade trace, bootloader launch types, ST MODE SENSE (6) bug, AURA_FU.bin
docs/12-parser-security-review.md Security review of HUI, YMODEM, and USB iAP parsers in seg1.bin
docs/13-capacitor-tables.md Per-PCB capacitor inventory (269 caps), power-rail failure chain, CAD-measured footprints
docs/14-harmanspp-replies.md HarmanSpp reply lengths, which commands reply, 31-step volume quantisation, write-only mute, unsolicited 02 02 broadcasts
docs/digikey-order.md DigiKey electrolytic recap order sheet (digikey-order.csv) & deviation notes
docs/dm870_cpp_hierarchy.md Reconstructed 1,435-class DM870 C++ RTTI hierarchy & multiple-inheritance layouts

Warnings

  • Debug-signed APK: Uninstall any store build before installing (adb install -r fails with INSTALL_FAILED_UPDATE_INCOMPATIBLE). The Music/DLNA tab is intentionally disabled (NFLC removed); storage crash dumps fail silently at targetSdk 24.
  • Flashing risks: Never run stm32f1x unlock 0 on STM32F1 over SWD (it mass-erases flash). Keep verified backups (firmware/stm32_full_flash.bin, firmware/dm870_full_flash.bin, firmware/HK_AURA_US_original.bin) before flashing anything, and do not flash stock Microchip RN52 DFU images onto the Aura without backing up its custom Harman RN52 image first.
  • Ownership: Original APK, firmware images, and service manuals remain Harman/SMSC/Microchip/AKM property, kept here for personal repair and documentation of one device.

Cloning

The Gitea instance uses the gitea@ SSH user (not git@):

git clone gitea@git.wut.ee:arti/hk-aura.git

Upstream

S
Description
Harman Kardon Aura (1st gen 2013) hardware repair, full STM32/DM870 flash dumps, 99.88% Ghidra firmware reversal & DeepWiki, capacitor recap BOM, and Android 15 Remote APK revival
Readme
164 MiB
0 Stars 2 Watchers 0 Forks
Languages
Python 72.8%
HTML 26.1%
Java 1.1%