Run the Device lab on a phone running Android 13

Aberta Para iniciantes
#45 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
2/5
Tempo estimado
1-3 horas
Facilidade para iniciantes
70/100
Tipo de issue
Funcionalidade
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
android, node.js, react-native, typescript
Domínio
mobile-dev, testing

Direção de pesquisa

Leia docs/devices.md, seção 1, para instalar e verificar o APK de prévia. Em seguida, siga as etapas do issue para executar o Device lab em um celular Android 13. Confira o relatório e, se ele for concluído, envie-o e adicione aqui um link para o issue do relatório; a tarefa estará concluída quando os relatórios de pelo menos dois modelos diferentes de celulares Android 13 passarem na verificação e estiverem vinculados aqui. Se o lab apresentar um erro, informe a mensagem e os detalhes do celular solicitados no issue.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

device-lab

Why

Android 13 is the oldest Android Hermit supports (FLOOR in packages/model/src/floor.ts), and the phone it was tuned on runs a newer one. ROADMAP.md, Now: the Device lab.

What to do

What these reports show: whether the lab reads the phone's facts the same way on Hermit's oldest Android: the chip name (Build.SOC_MODEL), the cores the app may use, the thermal status and battery saver. Check the version in the phone's own settings (About phone). The report shows it on its Android line as "13 (API 33)".

  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 phone models running Android 13 (API 33) passed the check and are linked here.

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.
Linguagem predominante
TypeScript
Estrelas
11
Forks
0
Merge médio
10min
PRs com merge (30d)
6

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de DojoCodingLabs/hermit

Todas as issues de DojoCodingLabs/hermit

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.