[Amazfit] killus_:
I continued digging into this issue. Found out it is a "common" error on Android systems (Hamazfit OS is based on Android).

What is pointed on most topics is a permission issue. Seems like when permissions are fixed, the problem is solved.

If this is the right direction to follow, the question remains on how to adapt it for this OS as the packages and the permissions may be different.

The main topic I found was on android.stackexchange (can't link with a new account for now).

Interesting part here :

I noticed when clicking report that the issue was a permissions issue.

using adb shell dumpsys package com.google.android.setupwizard you will see two lists related to permissions, one requested permissions, and one install permissions.

Comparing these lists, there were 8 items requested, but not installed. I fixed this using:

pm grant com.google.android.setupwizard android.permission.CALL_PHONE

pm grant com.google.android.setupwizard android.permission.GET_ACCOUNTS

pm grant com.google.android.setupwizard android.permission.PROCESS_OUTGOING_CALLS

pm grant com.google.android.setupwizard android.permission.READ_CONTACTS

pm grant com.google.android.setupwizard android.permission.READ_PHONE_STATE

pm grant com.google.android.setupwizard android.permission.WRITE_CONTACTS

pm grant com.google.android.setupwizard android.permission.READ_OWNER_DATA

pm grant com.google.android.setupwizard android.permission.WRITE_OWNER_DATA

Note that the last two items gave an error message: Bad argument: java.lang.IllegalArgumentException: Unknown permission: android.permission.READ_OWNER_DATA. But ignoring those, now my phone worked again.

I'm no expert in this, I'll take any advices or recommendations.

EDIT : Just did the dumpsys on the watch. There is only the "grantedPermissions" at the end. No list of RequestedPermissions ... :(

C:\adb>adb shell dumpsys package com.huami.watch.setupwizard

Activity Resolver Table:

Non-Data Actions:

android.intent.action.MAIN:

6b57ee6 com.huami.watch.setupwizard/.InitialLanguageActivity

Key Set Manager:

[com.huami.watch.setupwizard]

Signing KeySets: 1

Packages:

Package [com.huami.watch.setupwizard] (33d54c27):

userId=10023 gids=[3002, 3001]

pkg=Package{3afe11f8 com.huami.watch.setupwizard}

codePath=/system/app/SetupWizard

resourcePath=/system/app/SetupWizard

legacyNativeLibraryDir=/system/app/SetupWizard/lib

primaryCpuAbi=null

secondaryCpuAbi=null

versionCode=22 targetSdk=23

versionName=5.1-55

splits=[base]

applicationInfo=ApplicationInfo{1c2f7ed4 com.huami.watch.setupwizard}

flags=[ SYSTEM HAS_CODE ALLOW_CLEAR_USER_DATA ALLOW_BACKUP ]

dataDir=/data/data/com.huami.watch.setupwizard

supportsScreens=[small, medium, large, xlarge, resizeable, anyDensity]

timeStamp=2020-01-25 01:55:45

firstInstallTime=2020-01-25 01:55:45

lastUpdateTime=2020-01-25 01:55:45

signatures=PackageSignatures{24d5c87d [1fcaa372]}

permissionsFixed=false haveGids=true installStatus=1

pkgFlags=[ SYSTEM HAS_CODE ALLOW_CLEAR_USER_DATA ALLOW_BACKUP ]

User 0: installed=true hidden=false stopped=false notLaunched=false enabled=0

grantedPermissions:

android.permission.WRITE_SETTINGS

com.huami.watch.permission.READ_USER_SETTINGS

com.huami.watch.permission.WRITE_USER_SETTINGS

android.permission.DEVICE_POWER

android.permission.BLUETOOTH

android.permission.BLUETOOTH_ADMIN

android.permission.WRITE_SECURE_SETTINGS

android.permission.CHANGE_CONFIGURATION

android.permission.VIBRATE

android.permission.WAKE_LOCK