Hacking My Hearing Aids
October 2023
My Hearing Aids
I have two Phonak Sky Marvel hearing aids, these hearing aids support Bluetooth for audio streaming and BLE for connecting to an app.
Initially, I was excited to receive this since the app allowed you to tweak options for the hearing aids, unfortunately, it seemed my hearing aids were considered “children’s hearing aids” by the manufacturer, and as such only allowed you to use the “junior” Phonak app.
Unlike the normal Phonak app, this reduced feature-set version did not allow you to actually alter the options of the program, providing limited options for selecting a premade program and adjusting volume.

where is my equalizer phonak???
The Regular App

Such controls!
The regular app is significantly more capable, allowing for more powerful customizations, such as via the equalizer.
Unfortunately, when trying to connect it to my Hearing Aids, it marks them as “incompatible”.
I did have a suspicion, however, that this was moreso due to a software lock rather than the Hearing Aids actually being incapable of these program adjustments
Reverse Engineering Both Apps
When attempting to connect my hearing aids to the standard app, the following error presented itself:
Searching...
Looking for hearing aids
INCOMPATIBLE HEARING AIDS
These hearing aids are not supported by myPhonak. Please contact your hearing care professional.
CLOSE
As such I started by opening the apk in `jadx-gui` and searching for the string:
Resources
resources.arsc
res
values
- arrays.xml
- attrs.xml
- bools.xml
- colors.xml
- dimens.xml
- drawables.xml
- integers.xml
- plurals.xml
- strings.xml
- styles.xml
1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910
<string name="searching_alert_elr_button_download">Download Easy Line</string>
<string name="searching_alert_elr_message_android">This hearing aid is not supported by myPhonak. Please visit Google Play Store and download the Easy Line Remote app that is compatible with your devices.</string>
<string name="searching_alert_elr_title">Incompatible hearing aid</string>
<string name="searching_alert_hinotfitted_message">These hearing aids cannot be paired with the myPhonak app because they have not been fitted. Please contact your hearing care professional.</string>
<string name="searching_alert_notfittedhi_bottombutton">Close</string>
<string name="searching_alert_notfittedhi_message">These hearing aids cannot be paired with the myPhonak app because they have not been fitted. Please contact your hearing care professional.</string>
<string name="searching_alert_notfittedhi_title">Hearing aids not fitted</string>
<string name="searching_detailtext">Looking for hearing aids</string>
<string name="searching_device_incompatible_bottombutton">Close</string>
<string name="searching_device_incompatible_detailtext">These hearing aids are not supported by myPhonak. Please contact your hearing care professional.</string>
<string name="searching_device_incompatible_text">These hearing aids are not supported by myPhonak. Please contact your hearing care professional.</string>
<string name="searching_device_incompatible_title">Incompatible hearing aids</string>
<string name="searching_device_searching">Searching…</string>
<string name="searching_device_searching2">Searching for second device...</string>
<string name="searching_highlight_ha_detailtext">Pushing the button on the hearing aid will highlight it in the list.</string>
<string name="searching_highlight_ha_title">Highlight your device</string>
Looking for usage of the string led me to the code for the dialog itself:
Source code
app.myphonak
android
ui
pairing
- DiscoverHiFragment
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
@Override // app.myphonak.android.bluetooth.BluetoothDialogNavigation
public void onBluetoothEnablingDenied() {
FragmentExtensionsKt.navigate$default(this, DiscoverHiFragmentDirections.INSTANCE.actionOpenPairingIntro(), (NavOptions) null, 2, (Object) null);
}
public final void showIncompatibleHiDialog() {
FragmentExtensionsKt.showMaterialDialog$default(this, Integer.valueOf(R.string.searching_device_incompatible_title), Integer.valueOf(R.string.searching_device_incompatible_text), R.string.searching_device_incompatible_bottombutton, new DialogInterface.OnClickListener() { // from class: app.myphonak.android.ui.pairing.discoverHi.DiscoverHiFragment$$ExternalSyntheticLambda4
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i) {
DiscoverHiFragment.showIncompatibleHiDialog$lambda$10(dialogInterface, i);
}
}, null, null, null, null, false, null, false, 2032, null);
}
/* JADX INFO: Access modifiers changed from: private */
public static final void showIncompatibleHiDialog$lambda$10(DialogInterface dialogInterface, int i) {
if (dialogInterface != null) {
dialogInterface.dismiss();
}
}
private final void showNonFittedHiDialog() {
FragmentExtensionsKt.showMaterialDialog$default(this, Integer.valueOf(R.string.searching_alert_notfittedhi_title), Integer.valueOf(R.string.searching_alert_hinotfitted_message), R.string.searching_alert_notfittedhi_bottombutton, new DialogInterface.OnClickListener() { // from class: app.myphonak.android.ui.pairing.discoverHi.DiscoverHiFragment$$ExternalSyntheticLambda2
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i) {
DiscoverHiFragment.showNonFittedHiDialog$lambda$11(dialogInterface, i);
}
}, null, null, null, null, false, null, false, 2032, null);
}
Going deeper, there was an event that would trigger the dialog showing:
Source code
app.myphonak
android
ui
pairing
- DiscoverHiFragment
88 89 90 91 92 93 94 95 96 97 98
ClickLiveEvent incompatibleHiClickedLE = getViewModel().getIncompatibleHiClickedLE();
LifecycleOwner viewLifecycleOwner4 = getViewLifecycleOwner();
Intrinsics.checkNotNullExpressionValue(viewLifecycleOwner4, "getViewLifecycleOwner(...)");
incompatibleHiClickedLE.observe(viewLifecycleOwner4, new DiscoverHiFragment$sam$androidx_lifecycle_Observer$0(new Function1() { // from class: app.myphonak.android.ui.pairing.discoverHi.DiscoverHiFragment$$ExternalSyntheticLambda8
@Override // kotlin.jvm.functions.Function1
public final Object invoke(Object obj) {
Unit configureObservers$lambda$7;
configureObservers$lambda$7 = DiscoverHiFragment.configureObservers$lambda$7(DiscoverHiFragment.this, (Unit) obj);
return configureObservers$lambda$7;
}
}));
And checking what triggered the event led me to this:
Source code
app.myphonak
android
ui
pairing
- DiscoverHiViewModel
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
public final void groupClicked(DiscoveredHiGroup discoveredHiGroup) {
Intrinsics.checkNotNullParameter(discoveredHiGroup, "discoveredHiGroup");
if (discoveredHiGroup.getCanPairDiscoveredDevice()) {
if (discoveredHiGroup.isCompatible()) {
this.navigateToPairingLE.setValue(discoveredHiGroup);
return;
}
if (discoveredHiGroup.isNotSupportedSpecificHi()) {
this.specificHiNotSupportedClickedLE.fireEvent();
return;
}
if (!discoveredHiGroup.isWhitelisted()) {
this.incompatibleHiClickedLE.fireEvent();
return;
}
if (!discoveredHiGroup.getAreAllHisFitted()) {
this.nonFittedHiClickedLE.fireEvent();
} else if (discoveredHiGroup.isBimodal()) {
this.bimodalHiClickedLE.fireEvent();
} else {
this.incompatibleHiClickedLE.fireEvent();
}
}
}
discoveredHiGroup.isWhitelisted()
bingo!
Finding the whitelist
Diving into the isWhitelisted function, I was eventually able to find a HiType object which had a list of serials(?) and another object linking the HiType objects to model names and images:
Source code
app.myphonak
domain
models
- HiType
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533
package app.myphonak.domain.models;
import com.sonova.health.device.DeviceManager;
import dagger.hilt.processor.internal.Processors;
import java.util.Iterator;
import kotlin.Metadata;
import kotlin.enums.EnumEntries;
import kotlin.enums.EnumEntriesKt;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import org.apache.http.cookie.ClientCookie;
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
/* compiled from: HiType.kt */
@Metadata(d1 = {"\u0000\r\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0003\b\u009c\u0001\b\u0086\u0081\u0002\u0018\u0000 \u009c\u00012\b\u0012\u0004\u0012\u00020\u00000\u0001:\u0002\u009c\u0001B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003j\u0002\b\u0004j\u0002\b\u0005j\u0002\b\u0006j\u0002\b\u0007j\u0002\b\bj\u0002\b\tj\u0002\b\nj\u0002\b\u000bj\u0002\b\fj\u0002\b\rj\u0002\b\u000ej\u0002\b\u000fj\u0002\b\u0010j\u0002\b\u0011j\u0002\b\u0012j\u0002\b\u0013j\u0002\b\u0014j\u0002\b\u0015j\u0002\b\u0016j\u0002\b\u0017j\u0002\b\u0018j\u0002\b\u0019j\u0002\b\u001aj\u0002\b\u001bj\u0002\b\u001cj\u0002\b\u001dj\u0002\b\u001ej\u0002\b\u001fj\u0002\b j\u0002\b!j\u0002\b\"j\u0002\b#j\u0002\b$j\u0002\b%j\u0002\b&j\u0002\b'j\u0002\b(j\u0002\b)j\u0002\b*j\u0002\b+j\u0002\b,j\u0002\b-j\u0002\b.j\u0002\b/j\u0002\b0j\u0002\b1j\u0002\b2j\u0002\b3j\u0002\b4j\u0002\b5j\u0002\b6j\u0002\b7j\u0002\b8j\u0002\b9j\u0002\b:j\u0002\b;j\u0002\b<j\u0002\b=j\u0002\b>j\u0002\b?j\u0002\b@j\u0002\bAj\u0002\bBj\u0002\bCj\u0002\bDj\u0002\bEj\u0002\bFj\u0002\bGj\u0002\bHj\u0002\bIj\u0002\bJj\u0002\bKj\u0002\bLj\u0002\bMj\u0002\bNj\u0002\bOj\u0002\bPj\u0002\bQj\u0002\bRj\u0002\bSj\u0002\bTj\u0002\bUj\u0002\bVj\u0002\bWj\u0002\bXj\u0002\bYj\u0002\bZj\u0002\b[j\u0002\b\\j\u0002\b]j\u0002\b^j\u0002\b_j\u0002\b`j\u0002\baj\u0002\bbj\u0002\bcj\u0002\bdj\u0002\bej\u0002\bfj\u0002\bgj\u0002\bhj\u0002\bij\u0002\bjj\u0002\bkj\u0002\blj\u0002\bmj\u0002\bnj\u0002\boj\u0002\bpj\u0002\bqj\u0002\brj\u0002\bsj\u0002\btj\u0002\buj\u0002\bvj\u0002\bwj\u0002\bxj\u0002\byj\u0002\bzj\u0002\b{j\u0002\b|j\u0002\b}j\u0002\b~j\u0002\b\u007fj\u0003\b\u0080\u0001j\u0003\b\u0081\u0001j\u0003\b\u0082\u0001j\u0003\b\u0083\u0001j\u0003\b\u0084\u0001j\u0003\b\u0085\u0001j\u0003\b\u0086\u0001j\u0003\b\u0087\u0001j\u0003\b\u0088\u0001j\u0003\b\u0089\u0001j\u0003\b\u008a\u0001j\u0003\b\u008b\u0001j\u0003\b\u008c\u0001j\u0003\b\u008d\u0001j\u0003\b\u008e\u0001j\u0003\b\u008f\u0001j\u0003\b\u0090\u0001j\u0003\b\u0091\u0001j\u0003\b\u0092\u0001j\u0003\b\u0093\u0001j\u0003\b\u0094\u0001j\u0003\b\u0095\u0001j\u0003\b\u0096\u0001j\u0003\b\u0097\u0001j\u0003\b\u0098\u0001j\u0003\b\u0099\u0001j\u0003\b\u009a\u0001j\u0003\b\u009b\u0001¨\u0006\u009d\u0001"}, d2 = {"Lapp/myphonak/domain/models/HiType;", "", Processors.CONSTRUCTOR_NAME, "(Ljava/lang/String;I)V", DeviceManager.UNKNOWN_DEVICE, "067-1602", "067-1603", "067-1240", "067-1241", "067-1242", "067-1243", "067-1300", "067-1301", "067-1302", "067-1303", "067-1304", "067-1305", "067-1306", "067-1307", "067-1308", "067-1309", "067-1310", "067-1311", "067-1312", "067-1313", "067-1314", "067-1315", "067-1316", "067-1317", "067-1318", "067-1319", "067-1320", "067-1322", "067-1323", "067-1325", "067-1326", "067-1328", "067-1329", "067-1331", "067-1332", "067-1333", "067-1334", "067-1335", "067-1337", "067-1338", "067-1357", "067-1359", "067-1360", "067-1361", "067-1400", "067-1434", "067-1435", "067-1436", "067-1437", "067-1438", "067-1439", "067-1440", "067-1441", "067-1442", "067-1443", "067-1444", "067-1445", "067-1446", "067-1447", "067-1448", "067-1449", "067-1450", "067-1451", "067-1452", "067-1453", "067-1454", "067-1455", "067-1456", "067-1457", "067-1458", "067-1459", "067-1460", "067-1461", "067-1462", "067-1463", "067-1466", "067-1467", "067-1468", "067-1469", "067-1470", "067-1471", "067-1500", "067-1501", "067-1502", "067-1503", "067-1504", "067-1505", "067-1506", "067-1507", "067-1508", "067-1509", "067-1510", "067-1511", "067-1512", "067-1515", "067-1516", "068-1310", "068-1311", "068-1312", "068-1313", "068-1314", "068-1430", "068-1431", "068-1432", "068-1433", "067-1473", "067-1474", "067-1475", "067-1476", "067-1518", "067-1519", "067-1520", "067-1521", "067-1522", "067-1523", "067-1524", "067-1525", "067-1526", "067-1527", "067-1528", "067-1529", "067-1554", "067-1555", "067-1556", "067-1557", "067-1550", "067-1551", "067-1552", "067-1553", "067-1558", "067-1559", "067-1560", "067-1561", "067-1562", "067-1563", "067-1564", "067-1565", "067-1570", "067-1572", "067-1574", "067-1576", "067-1604", "067-1605", "067-1606", "067-1607", "067-1608", "068-1500", "068-1501", "068-1502", "068-1503", "067-1566", "Companion", ClientCookie.DOMAIN_ATTR}, k = 1, mv = {2, 0, 0}, xi = 48)
/* loaded from: classes4.dex */
public final class HiType {
private static final /* synthetic */ EnumEntries $ENTRIES;
private static final /* synthetic */ HiType[] $VALUES;
/* renamed from: Companion, reason: from kotlin metadata */
public static final Companion INSTANCE;
public static final HiType UNKNOWN = new HiType(DeviceManager.UNKNOWN_DEVICE, 0);
/* renamed from: 067-1602, reason: not valid java name */
public static final HiType f3640671602 = new HiType("067-1602", 1);
/* renamed from: 067-1603, reason: not valid java name */
public static final HiType f3650671603 = new HiType("067-1603", 2);
/* renamed from: 067-1240, reason: not valid java name */
public static final HiType f2330671240 = new HiType("067-1240", 3);
/* renamed from: 067-1241, reason: not valid java name */
public static final HiType f2340671241 = new HiType("067-1241", 4);
/* renamed from: 067-1242, reason: not valid java name */
public static final HiType f2350671242 = new HiType("067-1242", 5);
/* renamed from: 067-1243, reason: not valid java name */
public static final HiType f2360671243 = new HiType("067-1243", 6);
/* renamed from: 067-1300, reason: not valid java name */
public static final HiType f2370671300 = new HiType("067-1300", 7);
/* renamed from: 067-1301, reason: not valid java name */
public static final HiType f2380671301 = new HiType("067-1301", 8);
/* renamed from: 067-1302, reason: not valid java name */
public static final HiType f2390671302 = new HiType("067-1302", 9);
/* renamed from: 067-1303, reason: not valid java name */
public static final HiType f2400671303 = new HiType("067-1303", 10);
/* renamed from: 067-1304, reason: not valid java name */
public static final HiType f2410671304 = new HiType("067-1304", 11);
/* renamed from: 067-1305, reason: not valid java name */
public static final HiType f2420671305 = new HiType("067-1305", 12);
/* renamed from: 067-1306, reason: not valid java name */
public static final HiType f2430671306 = new HiType("067-1306", 13);
/* renamed from: 067-1307, reason: not valid java name */
public static final HiType f2440671307 = new HiType("067-1307", 14);
/* renamed from: 067-1308, reason: not valid java name */
public static final HiType f2450671308 = new HiType("067-1308", 15);
/* renamed from: 067-1309, reason: not valid java name */
public static final HiType f2460671309 = new HiType("067-1309", 16);
/* renamed from: 067-1310, reason: not valid java name */
public static final HiType f2470671310 = new HiType("067-1310", 17);
/* renamed from: 067-1311, reason: not valid java name */
public static final HiType f2480671311 = new HiType("067-1311", 18);
/* renamed from: 067-1312, reason: not valid java name */
public static final HiType f2490671312 = new HiType("067-1312", 19);
/* renamed from: 067-1313, reason: not valid java name */
public static final HiType f2500671313 = new HiType("067-1313", 20);
/* renamed from: 067-1314, reason: not valid java name */
public static final HiType f2510671314 = new HiType("067-1314", 21);
/* renamed from: 067-1315, reason: not valid java name */
public static final HiType f2520671315 = new HiType("067-1315", 22);
/* renamed from: 067-1316, reason: not valid java name */
public static final HiType f2530671316 = new HiType("067-1316", 23);
/* renamed from: 067-1317, reason: not valid java name */
public static final HiType f2540671317 = new HiType("067-1317", 24);
/* renamed from: 067-1318, reason: not valid java name */
public static final HiType f2550671318 = new HiType("067-1318", 25);
/* renamed from: 067-1319, reason: not valid java name */
public static final HiType f2560671319 = new HiType("067-1319", 26);
/* renamed from: 067-1320, reason: not valid java name */
public static final HiType f2570671320 = new HiType("067-1320", 27);
/* renamed from: 067-1322, reason: not valid java name */
public static final HiType f2580671322 = new HiType("067-1322", 28);
/* renamed from: 067-1323, reason: not valid java name */
public static final HiType f2590671323 = new HiType("067-1323", 29);
/* renamed from: 067-1325, reason: not valid java name */
public static final HiType f2600671325 = new HiType("067-1325", 30);
/* renamed from: 067-1326, reason: not valid java name */
public static final HiType f2610671326 = new HiType("067-1326", 31);
/* renamed from: 067-1328, reason: not valid java name */
public static final HiType f2620671328 = new HiType("067-1328", 32);
/* renamed from: 067-1329, reason: not valid java name */
public static final HiType f2630671329 = new HiType("067-1329", 33);
/* renamed from: 067-1331, reason: not valid java name */
public static final HiType f2640671331 = new HiType("067-1331", 34);
/* renamed from: 067-1332, reason: not valid java name */
public static final HiType f2650671332 = new HiType("067-1332", 35);
/* renamed from: 067-1333, reason: not valid java name */
public static final HiType f2660671333 = new HiType("067-1333", 36);
/* renamed from: 067-1334, reason: not valid java name */
public static final HiType f2670671334 = new HiType("067-1334", 37);
/* renamed from: 067-1335, reason: not valid java name */
public static final HiType f2680671335 = new HiType("067-1335", 38);
/* renamed from: 067-1337, reason: not valid java name */
public static final HiType f2690671337 = new HiType("067-1337", 39);
/* renamed from: 067-1338, reason: not valid java name */
public static final HiType f2700671338 = new HiType("067-1338", 40);
/* renamed from: 067-1357, reason: not valid java name */
public static final HiType f2710671357 = new HiType("067-1357", 41);
/* renamed from: 067-1359, reason: not valid java name */
public static final HiType f2720671359 = new HiType("067-1359", 42);
/* renamed from: 067-1360, reason: not valid java name */
public static final HiType f2730671360 = new HiType("067-1360", 43);
/* renamed from: 067-1361, reason: not valid java name */
public static final HiType f2740671361 = new HiType("067-1361", 44);
/* renamed from: 067-1400, reason: not valid java name */
public static final HiType f2750671400 = new HiType("067-1400", 45);
/* renamed from: 067-1434, reason: not valid java name */
public static final HiType f2760671434 = new HiType("067-1434", 46);
/* renamed from: 067-1435, reason: not valid java name */
public static final HiType f2770671435 = new HiType("067-1435", 47);
/* renamed from: 067-1436, reason: not valid java name */
public static final HiType f2780671436 = new HiType("067-1436", 48);
/* renamed from: 067-1437, reason: not valid java name */
public static final HiType f2790671437 = new HiType("067-1437", 49);
/* renamed from: 067-1438, reason: not valid java name */
public static final HiType f2800671438 = new HiType("067-1438", 50);
/* renamed from: 067-1439, reason: not valid java name */
public static final HiType f2810671439 = new HiType("067-1439", 51);
/* renamed from: 067-1440, reason: not valid java name */
public static final HiType f2820671440 = new HiType("067-1440", 52);
/* renamed from: 067-1441, reason: not valid java name */
public static final HiType f2830671441 = new HiType("067-1441", 53);
/* renamed from: 067-1442, reason: not valid java name */
public static final HiType f2840671442 = new HiType("067-1442", 54);
/* renamed from: 067-1443, reason: not valid java name */
public static final HiType f2850671443 = new HiType("067-1443", 55);
/* renamed from: 067-1444, reason: not valid java name */
public static final HiType f2860671444 = new HiType("067-1444", 56);
/* renamed from: 067-1445, reason: not valid java name */
public static final HiType f2870671445 = new HiType("067-1445", 57);
/* renamed from: 067-1446, reason: not valid java name */
public static final HiType f2880671446 = new HiType("067-1446", 58);
/* renamed from: 067-1447, reason: not valid java name */
public static final HiType f2890671447 = new HiType("067-1447", 59);
/* renamed from: 067-1448, reason: not valid java name */
public static final HiType f2900671448 = new HiType("067-1448", 60);
/* renamed from: 067-1449, reason: not valid java name */
public static final HiType f2910671449 = new HiType("067-1449", 61);
/* renamed from: 067-1450, reason: not valid java name */
public static final HiType f2920671450 = new HiType("067-1450", 62);
/* renamed from: 067-1451, reason: not valid java name */
public static final HiType f2930671451 = new HiType("067-1451", 63);
/* renamed from: 067-1452, reason: not valid java name */
public static final HiType f2940671452 = new HiType("067-1452", 64);
/* renamed from: 067-1453, reason: not valid java name */
public static final HiType f2950671453 = new HiType("067-1453", 65);
/* renamed from: 067-1454, reason: not valid java name */
public static final HiType f2960671454 = new HiType("067-1454", 66);
/* renamed from: 067-1455, reason: not valid java name */
public static final HiType f2970671455 = new HiType("067-1455", 67);
/* renamed from: 067-1456, reason: not valid java name */
public static final HiType f2980671456 = new HiType("067-1456", 68);
/* renamed from: 067-1457, reason: not valid java name */
public static final HiType f2990671457 = new HiType("067-1457", 69);
/* renamed from: 067-1458, reason: not valid java name */
public static final HiType f3000671458 = new HiType("067-1458", 70);
/* renamed from: 067-1459, reason: not valid java name */
public static final HiType f3010671459 = new HiType("067-1459", 71);
/* renamed from: 067-1460, reason: not valid java name */
public static final HiType f3020671460 = new HiType("067-1460", 72);
/* renamed from: 067-1461, reason: not valid java name */
public static final HiType f3030671461 = new HiType("067-1461", 73);
/* renamed from: 067-1462, reason: not valid java name */
public static final HiType f3040671462 = new HiType("067-1462", 74);
/* renamed from: 067-1463, reason: not valid java name */
public static final HiType f3050671463 = new HiType("067-1463", 75);
/* renamed from: 067-1466, reason: not valid java name */
public static final HiType f3060671466 = new HiType("067-1466", 76);
/* renamed from: 067-1467, reason: not valid java name */
public static final HiType f3070671467 = new HiType("067-1467", 77);
/* renamed from: 067-1468, reason: not valid java name */
public static final HiType f3080671468 = new HiType("067-1468", 78);
/* renamed from: 067-1469, reason: not valid java name */
public static final HiType f3090671469 = new HiType("067-1469", 79);
/* renamed from: 067-1470, reason: not valid java name */
public static final HiType f3100671470 = new HiType("067-1470", 80);
/* renamed from: 067-1471, reason: not valid java name */
public static final HiType f3110671471 = new HiType("067-1471", 81);
/* renamed from: 067-1500, reason: not valid java name */
public static final HiType f3160671500 = new HiType("067-1500", 82);
/* renamed from: 067-1501, reason: not valid java name */
public static final HiType f3170671501 = new HiType("067-1501", 83);
/* renamed from: 067-1502, reason: not valid java name */
public static final HiType f3180671502 = new HiType("067-1502", 84);
/* renamed from: 067-1503, reason: not valid java name */
public static final HiType f3190671503 = new HiType("067-1503", 85);
/* renamed from: 067-1504, reason: not valid java name */
public static final HiType f3200671504 = new HiType("067-1504", 86);
/* renamed from: 067-1505, reason: not valid java name */
public static final HiType f3210671505 = new HiType("067-1505", 87);
/* renamed from: 067-1506, reason: not valid java name */
public static final HiType f3220671506 = new HiType("067-1506", 88);
/* renamed from: 067-1507, reason: not valid java name */
public static final HiType f3230671507 = new HiType("067-1507", 89);
/* renamed from: 067-1508, reason: not valid java name */
public static final HiType f3240671508 = new HiType("067-1508", 90);
/* renamed from: 067-1509, reason: not valid java name */
public static final HiType f3250671509 = new HiType("067-1509", 91);
/* renamed from: 067-1510, reason: not valid java name */
public static final HiType f3260671510 = new HiType("067-1510", 92);
/* renamed from: 067-1511, reason: not valid java name */
public static final HiType f3270671511 = new HiType("067-1511", 93);
/* renamed from: 067-1512, reason: not valid java name */
public static final HiType f3280671512 = new HiType("067-1512", 94);
/* renamed from: 067-1515, reason: not valid java name */
public static final HiType f3290671515 = new HiType("067-1515", 95);
/* renamed from: 067-1516, reason: not valid java name */
public static final HiType f3300671516 = new HiType("067-1516", 96);
/* renamed from: 068-1310, reason: not valid java name */
public static final HiType f3710681310 = new HiType("068-1310", 97);
/* renamed from: 068-1311, reason: not valid java name */
public static final HiType f3720681311 = new HiType("068-1311", 98);
/* renamed from: 068-1312, reason: not valid java name */
public static final HiType f3730681312 = new HiType("068-1312", 99);
/* renamed from: 068-1313, reason: not valid java name */
public static final HiType f3740681313 = new HiType("068-1313", 100);
/* renamed from: 068-1314, reason: not valid java name */
public static final HiType f3750681314 = new HiType("068-1314", 101);
/* renamed from: 068-1430, reason: not valid java name */
public static final HiType f3760681430 = new HiType("068-1430", 102);
/* renamed from: 068-1431, reason: not valid java name */
public static final HiType f3770681431 = new HiType("068-1431", 103);
/* renamed from: 068-1432, reason: not valid java name */
public static final HiType f3780681432 = new HiType("068-1432", 104);
/* renamed from: 068-1433, reason: not valid java name */
public static final HiType f3790681433 = new HiType("068-1433", 105);
/* renamed from: 067-1473, reason: not valid java name */
public static final HiType f3120671473 = new HiType("067-1473", 106);
/* renamed from: 067-1474, reason: not valid java name */
public static final HiType f3130671474 = new HiType("067-1474", 107);
/* renamed from: 067-1475, reason: not valid java name */
public static final HiType f3140671475 = new HiType("067-1475", 108);
/* renamed from: 067-1476, reason: not valid java name */
public static final HiType f3150671476 = new HiType("067-1476", 109);
/* renamed from: 067-1518, reason: not valid java name */
public static final HiType f3310671518 = new HiType("067-1518", 110);
/* renamed from: 067-1519, reason: not valid java name */
public static final HiType f3320671519 = new HiType("067-1519", 111);
/* renamed from: 067-1520, reason: not valid java name */
public static final HiType f3330671520 = new HiType("067-1520", 112);
/* renamed from: 067-1521, reason: not valid java name */
public static final HiType f3340671521 = new HiType("067-1521", 113);
/* renamed from: 067-1522, reason: not valid java name */
public static final HiType f3350671522 = new HiType("067-1522", 114);
/* renamed from: 067-1523, reason: not valid java name */
public static final HiType f3360671523 = new HiType("067-1523", 115);
/* renamed from: 067-1524, reason: not valid java name */
public static final HiType f3370671524 = new HiType("067-1524", 116);
/* renamed from: 067-1525, reason: not valid java name */
public static final HiType f3380671525 = new HiType("067-1525", 117);
/* renamed from: 067-1526, reason: not valid java name */
public static final HiType f3390671526 = new HiType("067-1526", 118);
/* renamed from: 067-1527, reason: not valid java name */
public static final HiType f3400671527 = new HiType("067-1527", 119);
/* renamed from: 067-1528, reason: not valid java name */
public static final HiType f3410671528 = new HiType("067-1528", 120);
/* renamed from: 067-1529, reason: not valid java name */
public static final HiType f3420671529 = new HiType("067-1529", 121);
/* renamed from: 067-1554, reason: not valid java name */
public static final HiType f3470671554 = new HiType("067-1554", 122);
/* renamed from: 067-1555, reason: not valid java name */
public static final HiType f3480671555 = new HiType("067-1555", 123);
/* renamed from: 067-1556, reason: not valid java name */
public static final HiType f3490671556 = new HiType("067-1556", 124);
/* renamed from: 067-1557, reason: not valid java name */
public static final HiType f3500671557 = new HiType("067-1557", 125);
/* renamed from: 067-1550, reason: not valid java name */
public static final HiType f3430671550 = new HiType("067-1550", 126);
/* renamed from: 067-1551, reason: not valid java name */
public static final HiType f3440671551 = new HiType("067-1551", 127);
/* renamed from: 067-1552, reason: not valid java name */
public static final HiType f3450671552 = new HiType("067-1552", 128);
/* renamed from: 067-1553, reason: not valid java name */
public static final HiType f3460671553 = new HiType("067-1553", 129);
/* renamed from: 067-1558, reason: not valid java name */
public static final HiType f3510671558 = new HiType("067-1558", 130);
/* renamed from: 067-1559, reason: not valid java name */
public static final HiType f3520671559 = new HiType("067-1559", 131);
/* renamed from: 067-1560, reason: not valid java name */
public static final HiType f3530671560 = new HiType("067-1560", 132);
/* renamed from: 067-1561, reason: not valid java name */
public static final HiType f3540671561 = new HiType("067-1561", 133);
/* renamed from: 067-1562, reason: not valid java name */
public static final HiType f3550671562 = new HiType("067-1562", 134);
/* renamed from: 067-1563, reason: not valid java name */
public static final HiType f3560671563 = new HiType("067-1563", 135);
/* renamed from: 067-1564, reason: not valid java name */
public static final HiType f3570671564 = new HiType("067-1564", 136);
/* renamed from: 067-1565, reason: not valid java name */
public static final HiType f3580671565 = new HiType("067-1565", 137);
/* renamed from: 067-1570, reason: not valid java name */
public static final HiType f3600671570 = new HiType("067-1570", 138);
/* renamed from: 067-1572, reason: not valid java name */
public static final HiType f3610671572 = new HiType("067-1572", 139);
/* renamed from: 067-1574, reason: not valid java name */
public static final HiType f3620671574 = new HiType("067-1574", 140);
/* renamed from: 067-1576, reason: not valid java name */
public static final HiType f3630671576 = new HiType("067-1576", 141);
/* renamed from: 067-1604, reason: not valid java name */
public static final HiType f3660671604 = new HiType("067-1604", 142);
/* renamed from: 067-1605, reason: not valid java name */
public static final HiType f3670671605 = new HiType("067-1605", 143);
/* renamed from: 067-1606, reason: not valid java name */
public static final HiType f3680671606 = new HiType("067-1606", 144);
/* renamed from: 067-1607, reason: not valid java name */
public static final HiType f3690671607 = new HiType("067-1607", 145);
/* renamed from: 067-1608, reason: not valid java name */
public static final HiType f3700671608 = new HiType("067-1608", 146);
/* renamed from: 068-1500, reason: not valid java name */
public static final HiType f3800681500 = new HiType("068-1500", 147);
/* renamed from: 068-1501, reason: not valid java name */
public static final HiType f3810681501 = new HiType("068-1501", 148);
/* renamed from: 068-1502, reason: not valid java name */
public static final HiType f3820681502 = new HiType("068-1502", 149);
/* renamed from: 068-1503, reason: not valid java name */
public static final HiType f3830681503 = new HiType("068-1503", 150);
/* renamed from: 067-1566, reason: not valid java name */
public static final HiType f3590671566 = new HiType("067-1566", 151);
private static final /* synthetic */ HiType[] $values() {
return new HiType[]{UNKNOWN, f3640671602, f3650671603, f2330671240, f2340671241, f2350671242, f2360671243, f2370671300, f2380671301, f2390671302, f2400671303, f2410671304, f2420671305, f2430671306, f2440671307, f2450671308, f2460671309, f2470671310, f2480671311, f2490671312, f2500671313, f2510671314, f2520671315, f2530671316, f2540671317, f2550671318, f2560671319, f2570671320, f2580671322, f2590671323, f2600671325, f2610671326, f2620671328, f2630671329, f2640671331, f2650671332, f2660671333, f2670671334, f2680671335, f2690671337, f2700671338, f2710671357, f2720671359, f2730671360, f2740671361, f2750671400, f2760671434, f2770671435, f2780671436, f2790671437, f2800671438, f2810671439, f2820671440, f2830671441, f2840671442, f2850671443, f2860671444, f2870671445, f2880671446, f2890671447, f2900671448, f2910671449, f2920671450, f2930671451, f2940671452, f2950671453, f2960671454, f2970671455, f2980671456, f2990671457, f3000671458, f3010671459, f3020671460, f3030671461, f3040671462, f3050671463, f3060671466, f3070671467, f3080671468, f3090671469, f3100671470, f3110671471, f3160671500, f3170671501, f3180671502, f3190671503, f3200671504, f3210671505, f3220671506, f3230671507, f3240671508, f3250671509, f3260671510, f3270671511, f3280671512, f3290671515, f3300671516, f3710681310, f3720681311, f3730681312, f3740681313, f3750681314, f3760681430, f3770681431, f3780681432, f3790681433, f3120671473, f3130671474, f3140671475, f3150671476, f3310671518, f3320671519, f3330671520, f3340671521, f3350671522, f3360671523, f3370671524, f3380671525, f3390671526, f3400671527, f3410671528, f3420671529, f3470671554, f3480671555, f3490671556, f3500671557, f3430671550, f3440671551, f3450671552, f3460671553, f3510671558, f3520671559, f3530671560, f3540671561, f3550671562, f3560671563, f3570671564, f3580671565, f3600671570, f3610671572, f3620671574, f3630671576, f3660671604, f3670671605, f3680671606, f3690671607, f3700671608, f3800681500, f3810681501, f3820681502, f3830681503, f3590671566};
}
public static EnumEntries<HiType> getEntries() {
return $ENTRIES;
}
private HiType(String str, int i) {
}
static {
HiType[] $values = $values();
$VALUES = $values;
$ENTRIES = EnumEntriesKt.enumEntries($values);
INSTANCE = new Companion(null);
}
/* compiled from: HiType.kt */
@Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003J\u0011\u0010\u0004\u001a\u00020\u00052\u0006\u0010\u0006\u001a\u00020\u0007H\u0086\u0002¨\u0006\b"}, d2 = {"Lapp/myphonak/domain/models/HiType$Companion;", "", Processors.CONSTRUCTOR_NAME, "()V", "get", "Lapp/myphonak/domain/models/HiType;", "hiType", "", ClientCookie.DOMAIN_ATTR}, k = 1, mv = {2, 0, 0}, xi = 48)
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
public final HiType get(String hiType) {
Object obj;
Intrinsics.checkNotNullParameter(hiType, "hiType");
Iterator<E> it = HiType.getEntries().iterator();
while (true) {
if (!it.hasNext()) {
obj = null;
break;
}
obj = it.next();
if (Intrinsics.areEqual(((HiType) obj).name(), hiType)) {
break;
}
}
HiType hiType2 = (HiType) obj;
return hiType2 == null ? HiType.UNKNOWN : hiType2;
}
}
public static HiType valueOf(String str) {
return (HiType) Enum.valueOf(HiType.class, str);
}
public static HiType[] values() {
return (HiType[]) $VALUES.clone();
}
}
Looking into the Jr App
For the Jr app, code paths were surprisingly quite different but I was eventually able to find the corresponding serial number for my hearing aids:
Source code
mpj
compatability
- SupportedDeviceModel
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
public final class SupportedDeviceModel {
public static final /* synthetic */ a A9;
/* renamed from: z9, reason: collision with root package name */
public static final /* synthetic */ SupportedDeviceModel[] f65151z9;
/* renamed from: x, reason: collision with root package name and from kotlin metadata */
@k
public final String productName;
/* renamed from: y, reason: collision with root package name and from kotlin metadata */
@k
public final String hardwareType;
public static final SupportedDeviceModel A = new SupportedDeviceModel("SKY_M90_M", 0, "Sky M90-M", "067-1341");
public static final SupportedDeviceModel B = new SupportedDeviceModel("SKY_M70_M", 1, "Sky M70-M", "067-1344");
public static final SupportedDeviceModel X = new SupportedDeviceModel("SKY_M50_M", 2, "Sky M50-M", "067-1347");
public static final SupportedDeviceModel Y = new SupportedDeviceModel("SKY_M30_M", 3, "Sky M30-M", "067-1350");
public static final SupportedDeviceModel Z = new SupportedDeviceModel("SKY_M90_PR", 4, "Sky M90-PR", "067-1353");
public static final SupportedDeviceModel C1 = new SupportedDeviceModel("SKY_M70_PR", 5, "Sky M70-PR", "067-1354");
/* renamed from: p7, reason: collision with root package name */
public static final SupportedDeviceModel f65119p7 = new SupportedDeviceModel("SKY_M50_PR", 6, "Sky M50-PR", "067-1355");
/* renamed from: q7, reason: collision with root package name */
public static final SupportedDeviceModel f65122q7 = new SupportedDeviceModel("SKY_M30_PR", 7, "Sky M30-PR", "067-1356");
/* renamed from: r7, reason: collision with root package name */
public static final SupportedDeviceModel f65125r7 = new SupportedDeviceModel("SKY_M90_SP", 8, "Sky M90-SP", "067-1343");
/* renamed from: s7, reason: collision with root package name */
public static final SupportedDeviceModel f65128s7 = new SupportedDeviceModel("SKY_M70_SP", 9, "Sky M70-SP", "067-1346");
/* renamed from: t7, reason: collision with root package name */
public static final SupportedDeviceModel f65131t7 = new SupportedDeviceModel("SKY_M50_SP", 10, "Sky M50-SP", "067-1349");
/* renamed from: u7, reason: collision with root package name */
public static final SupportedDeviceModel f65134u7 = new SupportedDeviceModel("SKY_M30_SP", 11, "Sky M30-SP", "067-1352");
/* renamed from: v7, reason: collision with root package name */
public static final SupportedDeviceModel f65137v7 = new SupportedDeviceModel("SKY_LINK_M", 12, "Sky Link M", "067-1401");
/* renamed from: w7, reason: collision with root package name */
public static final SupportedDeviceModel f65140w7 = new SupportedDeviceModel("NAIDA_P90_UP", 13, "Naída P90-UP", "067-1450");
/* renamed from: x7, reason: collision with root package name */
public static final SupportedDeviceModel f65143x7 = new SupportedDeviceModel("NAIDA_P70_UP", 14, "Naída P70-UP", "067-1451");
/* renamed from: y7, reason: collision with root package name */
public static final SupportedDeviceModel f65146y7 = new SupportedDeviceModel("NAIDA_P50_UP", 15, "Naída P50-UP", "067-1452");
...
Patching the standard app
Now I had everything I needed, I extracted the apk using apktool and openned the corresponding smali file for the HiType mappings object.
FOLDERS
smali_classes4
app
myphonak
data
repositories
local
hiinfo
- MyPhonakWhitelist.smali
smali_classes4/app/myphonak/data/repositories/local/hiinfo/MyPhonakWhitelist.smali
424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557
.class public final Lapp/myphonak/data/repositories/local/hiinfo/MyPhonakWhitelist;
.super Ljava/lang/Object;
.source "MyPhonakWhitelist.kt"
# annotations
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0003\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\u0008\u0003\u0008\u00c6\u0002\u0018\u00002\u00020\u0001B\t\u0008\u0002\u00a2\u0006\u0004\u0008\u0002\u0010\u0003R\u0017\u0010\u0004\u001a\u0008\u0012\u0004\u0012\u00020\u00060\u00058F\u00a2\u0006\u0006\u001a\u0004\u0008\u0007\u0010\u0008\u00a8\u0006\t"
}
d2 = {
"Lapp/myphonak/data/repositories/local/hiinfo/MyPhonakWhitelist;",
"",
"<init>",
"()V",
"entries",
"",
"Lapp/myphonak/data/models/HiInfoData;",
"getEntries",
"()Ljava/util/List;",
"data_myphonakRestofworldProductionRelease"
}
k = 0x1
mv = {
0x2,
0x0,
0x0
}
xi = 0x30
.end annotation
# static fields
.field public static final INSTANCE:Lapp/myphonak/data/repositories/local/hiinfo/MyPhonakWhitelist;
# direct methods
.method static constructor <clinit>()V
.locals 1
new-instance v0, Lapp/myphonak/data/repositories/local/hiinfo/MyPhonakWhitelist;
invoke-direct {v0}, Lapp/myphonak/data/repositories/local/hiinfo/MyPhonakWhitelist;-><init>()V
sput-object v0, Lapp/myphonak/data/repositories/local/hiinfo/MyPhonakWhitelist;->INSTANCE:Lapp/myphonak/data/repositories/local/hiinfo/MyPhonakWhitelist;
return-void
.end method
.method private constructor <init>()V
.locals 0
.line 7
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final getEntries()Ljava/util/List;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Lapp/myphonak/data/models/HiInfoData;",
">;"
}
.end annotation
const/16 v0, 0xbf
.line 11
new-array v0, v0, [Lapp/myphonak/data/models/HiInfoData;
new-instance v1, Lapp/myphonak/data/models/HiInfoData;
sget-object v2, Lapp/myphonak/domain/models/HiType;->067-1241:Lapp/myphonak/domain/models/HiType;
sget-object v3, Lapp/myphonak/domain/models/HiPrivateLabel;->NO:Lapp/myphonak/domain/models/HiPrivateLabel;
const-string v4, "Aud\u00e9o B50-Direct"
invoke-direct {v1, v4, v2, v3}, Lapp/myphonak/data/models/HiInfoData;-><init>(Ljava/lang/String;Lapp/myphonak/domain/models/HiType;Lapp/myphonak/domain/models/HiPrivateLabel;)V
const/4 v2, 0x0
aput-object v1, v0, v2
...
.line 58
new-instance v1, Lapp/myphonak/data/models/HiInfoData;
sget-object v2, Lapp/myphonak/domain/models/HiType;->067-1309:Lapp/myphonak/domain/models/HiType;
sget-object v3, Lapp/myphonak/domain/models/HiPrivateLabel;->NO:Lapp/myphonak/domain/models/HiPrivateLabel;
const-string v4, "Aud\u00e9o M30-312"
invoke-direct {v1, v4, v2, v3}, Lapp/myphonak/data/models/HiInfoData;-><init>(Ljava/lang/String;Lapp/myphonak/domain/models/HiType;Lapp/myphonak/domain/models/HiPrivateLabel;)V
const/16 v2, 0x17
aput-object v1, v0, v2
.line 59
new-instance v1, Lapp/myphonak/data/models/HiInfoData;
.line 61
sget-object v2, Lapp/myphonak/domain/models/HiType;->067-1309:Lapp/myphonak/domain/models/HiType;
.line 62
sget-object v3, Lapp/myphonak/domain/models/HiPrivateLabel;->AMPLIFON:Lapp/myphonak/domain/models/HiPrivateLabel;
.line 59
const-string v4, "ampli-mini R 2 M PH"
invoke-direct {v1, v4, v2, v3}, Lapp/myphonak/data/models/HiInfoData;-><init>(Ljava/lang/String;Lapp/myphonak/domain/models/HiType;Lapp/myphonak/domain/models/HiPrivateLabel;)V
const/16 v2, 0x18
aput-object v1, v0, v2
...
.line 10
invoke-static {v0}, Lkotlin/collections/CollectionsKt;->listOf([Ljava/lang/Object;)Ljava/util/List;
move-result-object v0
return-object v0
.end method
I opted to modify the Audeo hearing aid model since it seemed fairly similar to the Sky M70-Ms that I have
All I did was replace Aud\u00e9o M30-312 with Hackerdude's Sky M70-M, followed by a global find+replace…

Testing
Packaging, zipaligning and signing the apk with apktool, zipalign and apksign yeilded a patched apk.
Now was the moment of truth, would it work?

Yep! The app worked flawlessly
Admitedly this isn’t the most interesting hack but I thought it was neat so…