Akai MPC Firmware & Privacy (v3.9.1) - TheKikGen/MPC-LiveXplore GitHub Wiki
This audit assesses the privacy architecture, user tracking mechanisms, and European Union data protection compliance (GDPR - Regulation (EU) 2016/679 and ePrivacy Directive 2002/58/EC) of the Akai MPC standalone firmware binary (MPC v3.9.1).
Reverse engineering of the binary reveals that the firmware runs two parallel, persistent telemetry subsystems (PostHog Analytics and Sentry Native / Google Crashpad) that collect identifiable user information, hardware serial numbers, and behavioral usage metrics.
Critically, the user-facing privacy toggle ("Collect Usage Statistics") is pre-checked by default and is technically inoperative against the crash reporting pipeline, creating substantial regulatory and legal compliance liabilities under EU law.
Static and cryptographic analysis of the binary establishes that the device transmits the following data categories across multiple remote endpoints:
-
User Email Address (
AnalyticsSettings.PostHog.userEmail):- Transmitted in plaintext JSON payloads to the PostHog capture endpoint.
- Injected when the user logs into their inMusic Profile.
-
User Account ID (
AnalyticsSettings.PostHog.userId):- Unique internal customer account identifier within inMusic Brands database.
-
Persistent Unique Machine UUID (
AnalyticsSettings.PostHog.opaqueId):- Generated via
juce::Uuid::Uuid()(sub_15C861C) at first run and stored permanently in/data/Settings/Preferences.xml. - Emitted as both
distinct_idand$anon_distinct_idin PostHog$identifyevents.
- Generated via
-
Hardware Serial Numbers (
control_surface.serialnumber_reprogram):- Captured via
sub_15C3B4Cand transmitted to remote analytics upon connection.
- Captured via
-
Public IP Address:
- Inherent to all TCP/IP transactions to
posthog.inmusic-cloud.prod.aws.inmusic.devandingest.sentry.io.
- Inherent to all TCP/IP transactions to
-
Screen & Workflow Duration (
engine_mode.changed):- Tracks every mode transition (Main Mode, Grid, Program Edit, Sampler, Mixer) with millisecond-precision residency times (
msecs_since_last_event,previous_duration).
- Tracks every mode transition (Main Mode, Grid, Program Edit, Sampler, Mixer) with millisecond-precision residency times (
-
Connected Hardware Peripheral Tracking (
control_surface.attached):- Logs the connection and type (
attached_type) of external USB controllers and MIDI hardware.
- Logs the connection and type (
-
Audio Engine Dropouts (
AudioThread::AudioErrorType):- Real-time telemetry on DSP buffer overruns, underruns, and xruns.
- Via
libaz0x_info(az0x_info_getat0x15C40C4), the firmware extracts:- Internal flash memory wear indicators and bad block life metrics.
- NVMe storage detection.
- Internal PCB board revisions (
az01,az04,az05,az07). - Battery charge cycles and thermal status (
LinuxBatteryStateReader).
- Memory dumps and breadcrumbs recording up to 256 historical UI actions, memory addresses, and file paths.
In the standalone Touch UI Preferences screen (sub_3B6E41C at 0x3B6E41C):
/* Address 0x3B7048C */ v440 = "COLLECT USAGE STATISTICS";
/* Address 0x3B704B4 */ v441 = "AnalyticsEnabled";-
Pre-Activated by Default:
- In
sub_15C8E40, the preference keyAnalyticsSettings.enableddefaults to1(Enabled) upon initial firmware boot.
- In
-
Zero Impact on Sentry & Crashpad:
- The initialization routines (
SentryService_createat0x1A4C85CandSentryManager_initat0x12F5A64) execute unconditionally. - There is no conditional branch checking
AnalyticsSettings.enabledorAnalyticsEnabled. - Unchecking the box does not terminate
/usr/bin/crashpad_handlernor halt minidump transmission tosentry.io.
- The initialization routines (
-
Persistent Analytics State:
- Unchecking the box does not erase the machine UUID (
opaqueId) nor terminate the background worker thread (sub_15CE4A4).
- Unchecking the box does not erase the machine UUID (
Under Article 4(1) GDPR, personal data includes any information relating to an identified or identifiable natural person.
- According to established CJEU jurisprudence (CJEU Case C-582/14 Patrick Breyer v. Bundesrepublik Deutschland), dynamic IP addresses, combined with online identifiers and persistent device UUIDs, constitute personal data.
- The presence of unhashed user email addresses and user account IDs directly and unequivocally identifies the individual.
- Conclusion: All telemetry, analytics, and crash pipelines fall squarely under GDPR jurisdiction.
Under Article 4(11) and Article 7 GDPR, consent must be freely given, specific, informed, and unambiguous, requiring a clear affirmative action (Opt-In).
- Furthermore, Article 5(3) of the ePrivacy Directive (2002/58/EC) mandates prior consent for storing or accessing information on a user's terminal equipment unless strictly necessary for service delivery.
- In the landmark CJEU Case C-673/17 (Planet49), the Court ruled that:
"A consent is not validly constituted if the storage of information, or access to information already stored in the user's terminal equipment, is permitted by way of a pre-ticked checkbox which the user must deselect to refuse consent."
-
Conclusion: The pre-activated toggle
AnalyticsSettings.enabled = 1constitutes an illegal opt-out mechanism for non-essential behavioral analytics.
Article 25(2) GDPR imposes an affirmative legal obligation:
"The controller shall implement appropriate technical and organisational measures for ensuring that, by default, only personal data which are necessary for each specific purpose of the processing are processed."
- On a standalone hardware musical instrument sold as studio equipment, behavioral profiling, screen residency tracking, and hardware health telemetry are not strictly necessary to provide the core service (music production and audio playback).
- Enabling comprehensive behavioral tracking by default directly infringes Article 25(2).
The data controller must provide clear, concise, and intelligible information regarding:
- The identity of data recipients and third-party subprocessors (PostHog Inc., Sentry Inc., Amazon Web Services).
- The exact categories of data collected (hardware serial numbers, raw email, screen duration).
- The legal basis and retention periods.
- In the MPC standalone interface, the user is presented only with a generic checkbox label (
"COLLECT USAGE STATISTICS") devoid of any inline disclosure or link to a dedicated standalone privacy policy. - Users are never informed that unchecking this option leaves the crash reporting transmission intact.
Article 7(3) dictates that it must be as easy to withdraw consent as to give it, and withdrawal must be effective immediately.
- Providing a user interface control that purports to disable usage statistics while secretly continuing to transmit crash data, device metrics, and network requests constitutes an illusory consent mechanism (Dark Pattern).
- Under EU consumer protection regulations (Unfair Commercial Practices Directive 2005/29/EC), misleading consumers about privacy controls can be classified as a deceptive commercial practice.
- Payload destinations resolve to US corporate entities and infrastructure:
-
ingest.sentry.io$\rightarrow$ Sentry Inc. (San Francisco, CA, USA). -
posthog.inmusic-cloud.prod.aws.inmusic.dev$\rightarrow$ InMusic AWS US Regions.
-
- Following the CJEU Schrems II decision (Case C-311/18), transfer of EU personal data (IPs, emails, device IDs) to US jurisdictions requires verified Standard Contractual Clauses (SCCs) and active certification under the EU-US Data Privacy Framework (DPF). Failure to document and implement these safeguards violates Chapter V.
| Risk Category | Legal Basis | Exposure Level | Description |
|---|---|---|---|
| Administrative Fines | GDPR Art. 83(5) | HIGH | Violations of basic principles (consent, transparency, privacy by default) are subject to tier-2 fines up to €20,000,000 or 4% of total worldwide annual turnover. |
| Regulatory Enforcement | CNIL / DPC Audits | HIGH | European Data Protection Authorities (e.g., CNIL, BfDI, DPC) systematically sanction pre-checked telemetry and non-functional opt-outs. |
| Consumer Protection Litigation | Directive 2005/29/EC | MEDIUM-HIGH | Exposure to representative collective actions (class actions) by consumer privacy NGOs (such as NOYB) for deceptive design patterns. |
To achieve full legal compliance under EU regulations, the following technical modifications must be implemented in future firmware builds:
-
Strict Opt-In by Default:
- Change default initialization in
sub_15C8E40to0(AnalyticsSettings.enabled = 0). - Introduce a clear onboarding consent dialogue during initial device setup.
- Change default initialization in
-
Unified Kill-Switch Binding:
- Route the UI toggle directly into
SentryService_createandSentryManager_initso that unchecking the toggle completely halts/usr/bin/crashpad_handlerand closes all Sentry sockets.
- Route the UI toggle directly into
-
True Anonymization / Depersonalization:
- Strip raw email addresses (
userEmail) and hardware serial numbers from all telemetry payloads. - Pseudonymize or truncate IP addresses client-side before transmission.
- Strip raw email addresses (
-
Transparent Documentation:
- Provide an explicit, offline-readable Privacy Disclosure explaining exactly what diagnostics are collected and naming third-party processors.
Until official firmware updates resolve these non-compliances, users and studio engineers can immediately implement tiered countermeasures to protect their privacy without compromising audio performance or music production features:
-
Uncheck "COLLECT USAGE STATISTICS":
- Navigate to
Menu$\rightarrow$ Preferences$\rightarrow$ Generaltab. - Scroll down to
"COLLECT USAGE STATISTICS"and uncheck the box. - Effect: Minimizes behavioral mode residency tracking and pageview events.
- Navigate to
-
Avoid InMusic Profile Login on Device:
- Do not log in to your inMusic account on the standalone device unless strictly necessary for downloading store plugins.
-
Effect: Prevents the firmware from injecting your unhashed personal email address (
userEmail) and customer account ID (userId) into the persistent$identifypayload.
-
Studio Physical Disconnect:
- Turn off Wi-Fi and disconnect Ethernet cables when not actively using local network synchronization (such as Ableton Link or network MIDI).
The most elegant, zero-risk method that does not modify device files is blackholing telemetry domains at the router, hardware firewall, or local DNS sinkhole (e.g., Pi-hole, AdGuard Home, pfSense, Unifi):
Add the following exact domains to your network blocklist / DNS sinkhole (resolve to 0.0.0.0 or 127.0.0.1):
# --- InMusic PostHog Behavioral Tracking ---
posthog.inmusic-cloud.prod.aws.inmusic.dev
posthog.inmusic-cloud.dev.aws.inmusic.dev
# --- Sentry Crash Reporting & Diagnostics ---
o230257.ingest.sentry.io
sentry.io
# --- InMusic User Feedback Beacons ---
feedback.akaipro.com
# --- Remote Firmware XML Checkers (Optional) ---
authorizations.akaipro.com
-
Impact on Device Features:
- Local Wi-Fi, Ethernet, Ableton Link, Network MIDI, and local audio streaming remain 100% operational.
- PostHog and Sentry HTTP requests fail immediately and silently without freezing the audio thread or UI.
For users with shell access (via SSH, custom USB boot, or internal debug mounts):
-
Local DNS Redirection (
/etc/hosts): Append the sinkhole entries directly to/etc/hosts:cat << 'EOF' >> /etc/hosts 127.0.0.1 posthog.inmusic-cloud.prod.aws.inmusic.dev 127.0.0.1 o230257.ingest.sentry.io 127.0.0.1 feedback.akaipro.com EOF
-
Neutralize the Crashpad Handler Binary: Replace the Google Crashpad binary with a symlink to
/bin/true:mv /usr/bin/crashpad_handler /usr/bin/crashpad_handler.real ln -s /bin/true /usr/bin/crashpad_handler
- Effect: Completely prevents Sentry from spawning its background crash reporting daemon upon boot.
-
Purge Offline Telemetry Staging Queues:
rm -rf /data/sentry/.sentry-db/*
For custom firmware maintainers or patched kernel environments:
-
Function Target:
SentryManager_getInstance(0x12F5EB8) -
Original Opcode (ARMv7 32-bit):
LDR R0, =g_SentryManagerInstance LDR R0, [R0] BX LR -
Patch Replacement:
MOVS R0, #0 BX LR- Hex Bytes:
00 00 A0 E3 1E FF 2F E1
- Hex Bytes:
-
Effect: Causes
SentryManager_getInstance()to returnNULL(0). All upstream breadcrumb recorders, exception listeners, and telemetry hooks immediately bypass execution.
This appendix contains exact virtual memory addresses, assembly excerpts, cryptographic keys, and decompiled pseudocode directly extracted from the official Akai MPC standalone binary (MPC v3.9.1, ARMv7 32-bit).
The Sentry service constructor directly embeds the proprietary inMusic DSN without obfuscation:
-
Function Address:
0x1A4C85C(SentryService_create) -
DSN Ingestion Address:
0x1A4C90C - Decompiled Source Excerpt:
// Address 0x1A4C900 - 0x1A4C918
v23[0] = (void *)operator new(0x53u);
strcpy((char *)v23[0], "https://[email protected]/4504809045295104");
// Address 0x1A4C984: Resolves /data/sentry/.sentry-db
Sentry_getDatabasePath(v20);
// Address 0x1A4C9A0: Resolves /usr/bin/crashpad_handler
Sentry_getCrashpadHandlerPath(v21);
// Address 0x1A4C9EC: Initializes SDK and spawns Crashpad daemon
SentryManager_init(a1 + 32, v23, dword_6FFA4D8, v25, v27, v29, v31, v33, &v22);-
Target Verification Paths:
- Crashpad binary:
/usr/bin/crashpad_handler(returned by0x1A77AE0) - Local queue database:
/data/sentry/.sentry-db(returned by0x1A7D9DC) - Dynamic tags configuration:
/data/sentry/tags.json(returned by0x1A7D83C)
- Crashpad binary:
The PostHog credentials are encrypted in .rodata at 0x52285E0 and decrypted dynamically at runtime:
-
Deobfuscator Function Address:
0x9BBD50(PostHog_decryptApiCredentials) -
Encrypted Data Offset in Binary:
0x52285E0 - Raw Ciphertext Memory Dump (first 48 bytes for API Key):
0x52285E0: E9 2F CE 34 16 21 1C A2 C9 16 DF 01 76 4F 06 F6
0x52285F0: DB 13 E9 5D 4C 0F 4C 96 C0 34 FB 33 1A 11 2D 94
0x5228600: CC 25 D8 02 6F 36 47 F3 D3 22 9D 1E 69 34 19 C7
-
64-bit XOR Key 1:
0xC77F77236BAD4799(Bytes:99 47 AD 6B 23 77 7F C7) - Decrypted Project API Key:
phc_5VcePQrjU8y1BTD6ox3QYsVX9fRSUbuiLA84Je0uJCf
- Raw Ciphertext Memory Dump (59 bytes for Ingest URL):
0x5228610: B5 1F 71 DB DC 73 2E 52 AD 04 76 DF C7 26 66 53
0x5228620: B4 05 68 DE DC 20 62 50 BE 07 6A DE CB 67 71 0F
0x5228630: B2 0F 2B CA D8 3A 2F 14 B3 06 70 D8 C6 2A 2F 19
0x5228640: B8 1D 2A C8 CE 39 75 08 AF 0E 05
-
64-bit XOR Key 2:
0x7D0149AFAB056BDD(Bytes:DD 6B 05 AB AF 49 01 7D) - Decrypted Capture URL:
https://posthog.inmusic-cloud.prod.aws.inmusic.dev/capture
The firmware defaults to enabling usage statistics tracking unless the user actively toggles it off:
-
Function Address:
0x15C8E40(AnalyticsSettings_loadEnabled) - Decompiled Source Excerpt:
/* line: 0, address: 0x15c8e40 */ int __fastcall AnalyticsSettings_loadEnabled(int a1, int a2)
{
int v7;
sub_E0451C(&v7, "AnalyticsSettings.enabled");
// sub_E245D0 reads preference value with default fallback (arg3 = 1)
v5 = sub_E245D0(a2, v7, 1) != 0; // <-- 1 = TRUE (ENABLED BY DEFAULT)
return sub_12FA8BC(a1 + 8, v5);
}Disassembly of the system initialization dispatcher confirms that SentryService_create is invoked without checking AnalyticsSettings.enabled:
-
Function Address:
0x1A4C85C - Assembly Verification:
loc_1A4C85C:
PUSH {R4-R11,LR}
SUB SP, SP, #0xF4
...
LDR R0, =aHttpsE53c7927c8f44619b322ff4de861380f ; Hardcoded Sentry DSN
BL strcpy
...
BL SentryManager_init ; UNCONDITIONAL CALL
Notice: No conditional branch (CBZ, CMP, BEQ, BNE) tests the user preference state before initializing Sentry. The crash reporter executes for 100% of connected devices.
The firmware injects user account details into the PostHog profile:
-
Function Address:
0x15C9208(PostHog_saveUserIdentity) - Decompiled Source Excerpt:
// Address 0x15C9280 - 0x15C92F4
sub_E32120(v7, "AnalyticsSettings.PostHog.opaqueId");
sub_E0CFF0(v8, a1 + 4);
sub_E54B94(v3, v7, v8);
sub_E32120(v7, "AnalyticsSettings.PostHog.userId");
sub_E0CFF0(v8, a1 + 8);
sub_E54B94(v4, v7, v8);
sub_E32120(v7, "AnalyticsSettings.PostHog.userEmail");
sub_E0CFF0(v8, a1 + 12);
sub_E54B94(v5, v7, v8);-
Formatting Function Address:
0x15CBB28(PostHog_formatEventPayload)- String literal at
0x4F6FD38:"$identify" - String literal at
0x4F6FD44:"$anon_distinct_id" - String literal at
0x4F6FD58:"email" - Transmits raw user email directly to InMusic AWS endpoint.
- String literal at
-
Diagnostic Telemetry Address:
0x15C3CD0(Analytics_collectHardwareDiagnostics)
// Invokes hardware diagnostics library
az0x_info_get(&v48, 0x7FFFFFFF);
// Emits event to PostHog
sub_E32120(v47, "session.az0x_info");
sub_E32120(v46, "board_information_collected");
sub_15CA880(v43, &s);-
Peripheral Serial Number Leak Address:
0x15C3B4C(Analytics_onControlSurfaceSerialReprogram)
sub_E32120(&v6, "control_surface.serialnumber_reprogram");
sub_E32120(v7, "serialnumber");
sub_15CA880(a1 + 56, v8); // Uploads connected hardware serial number