Run the Device lab on a MediaTek Dimensity phone

Offen Anfängerfreundlich
#43 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
72/100
Issue-Typ
Feature
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
android, react-native, typescript
Bereich
data, mobile

Rechercherichtung

Folge Abschnitt 1 in docs/devices.md, um die Vorschau-APK zu installieren und zu überprüfen. Führe dann das Device lab auf einem MediaTek-Dimensity-Telefon aus und reiche den Bericht ein. Das Issue fordert Berichte von mindestens zwei Telefonmodellen, idealerweise aus der 9000-Serie und der 8000-Serie oder darunter. Speichere vor dem Einreichen den kopierten Bericht als report.json und führe node scripts/devices/validate.mjs report.json aus; abgeschlossen ist die Aufgabe, wenn hier gültige Berichte verlinkt sind.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

device-lab

Why

Many Android phones from many makers run on MediaTek Dimensity chips, and the Device lab hasn't measured one yet. ROADMAP.md, Now: speed and accuracy numbers from phones other than the one Hermit was tuned on.

What to do

What these reports show: how Hermit reads these phones (the chip name, each core's top clock in coreMaxMHz, and the cores Android allows in allowedCpus), and whether its thread plan fits them. The plan uses the cores within 75% of the fastest one's clock, at most 5 threads (fastCores() and threadPlan() in packages/model/src/runtime.ts). The lab also times 2 and 4 threads, so a better count shows up in the report.

  1. Install the newest preview APK from https://github.com/DojoCodingLabs/hermit/releases and check its SHA-256 against the release notes, as docs/devices.md, section 1, explains.
  2. Open Hermit and let it download its model once (about 530 MB; Wi-Fi is best).
  3. Turn battery saver off, and let the phone cool down if it's warm.
  4. Open Settings, then Device lab, and tap Start the lab (in Spanish: Ajustes, Laboratorio del teléfono, Empezar la prueba). Keep Hermit open on that screen until it ends: leaving the screen stops the lab. docs/devices.md says it runs for about 10 minutes on a mid-range phone.
  5. Read the report. If you're happy to share it, tap File it on GitHub, sign in, tick the box that says the report contains no personal data, and submit the Device report form. If the report is too long for a link, the app copies it and opens an empty form: paste it into the Report field.
  6. Wait for the workflow's comment on your report issue. Then comment here with a link to it, plus anything worth knowing, such as a phone case, charging, or other apps open.
  7. If the lab stops with an error, there is no report. Comment here with the message it showed, the phone model, its memory and its Android version.

Done when

  • Reports from at least two different Dimensity phone models passed the check and are linked here, ideally one 9000-series and one 8000-series or below.

How to check

Before you file, you can run the same check yourself. Tap Copy in the lab, save the text as report.json on a computer, and run this from a clone of the repository. It needs only Node 24.9 or later, no install:

node scripts/devices/validate.mjs report.json

It prints valid: report.json, or what is wrong. Your phone shows up in the device table in docs/devices.md after a maintainer merges the device-data branch.

Keep in mind

  • Nothing is sent on its own. The report leaves the phone only when you file it, copy it or share it.
  • A report holds device and benchmark facts only. Keep personal details out of the form's Notes field and out of this issue: GitHub issues are public and show your account.
  • File the report exactly as the app made it. The check refuses any field the schema doesn't list (docs/devices/schema.json).
  • Hermit is pre-alpha. If something else breaks, file it with the Bug report form.
Vorherrschende Sprache
TypeScript
Sterne
11
Forks
0
Ø Merge
10 Min.
Gemergte PRs (30 T.)
6

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus DojoCodingLabs/hermit

Alle Issues in DojoCodingLabs/hermit

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.