Put the diagnostic on a just-reset Android phone without finishing setup.
Phones left "managed" are no good to sell. This app hands device-owner back the moment the run finishes, so the phone is clean to sell. No wipe — the app stays on until you reset.
The QR shows here.
Factory-reset the phone and leave it on the first Hi there / Start screen.
Tap that screen 6 times in the same spot — a QR scanner opens.
Scan this QR. The phone installs SideKick Diagnostics and starts the run on its own.