[question] how to restore PineTime to a factory state after flashing non-OTA/directly
#1
Question 
what is the proper way to restore the PineTime state after flashing it using SWD flasher?  Huh

i noticed, that while flashing a pinetime-app (e.g. "pinetime-app-1.9.0.hex" or "bin" one) leads to the state where the InfiniTime works, 
but the PineTime can't reboots or be updated with OTA package with companion app: the OTA-update is transferring OK, InfiniTime dsplays "Image OK", but no reboot and installation happens.



from my understanding, flashing "pinetime-app" also erases the whole memory, and also the bootloader: on InfiniTime "About" screen it looks like "Bootloader 0.0.0".

however, flashing the InfiniTime 1.0.0 bootloader "reloader-mcuboot.zip" from this wiki page does nothing to make the PineTime work at all - just a black screen.
probably that one is supposed to be used only as an OTA update...

the only way to restore the device i found, looks really overcomplicated, and not sure if it's intended way.
so, steps that worked for me:

1) using SWD flasher, flash the "bootloader.hex"
from https://github.com/InfiniTimeOrg/pinetim...es/tag/RC1

2) wait for an old InfiniTime "triangular" boot loader

3) using Singlo on linux flash "pinetime-mcuboot-recovery-loader-dfu-0.14.1.zip" from this wiki page
for me neither Gadgetbridge nor nRF Connect were able to transfer the OTA image till the end.  

4) wait for several reboots...

5) using Singlo flash "pinetime-mcuboot-app-dfu-0.14.1.zip"

6) using Singlo or another app flash the latest "pinetime-mcuboot-app-dfu"

7) flash the latest bootloader "reloader-mcuboot.zip" from this wiki page
also, there is the page with bootloaders releases.

8) wait for several reboots...

9) check the "About" for "Bootloader 1.0.0" info




so, what's the proper/easy way to do that? 
how it's done on factory? by flashing with a single file?
Away
  Reply
#2
Last time I flashed non-OTA I used https://github.com/lupyuen/pinetime-updater with a Pi - it looks like it's been kept mostly up to date although it could do with a PR for the InfiniTime 1.9.0 release a few days ago. I've not used it in over a year since OTA became stable and I glued the back on.
  Reply
#3
@JF002could you please advise on this?
hope i just overlooked this info... otherwise, it will be really useful to have such a guide on wiki.
Away
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinetime Black Screen philipallmon 0 124 11-11-2024, 12:47 AM
Last Post: philipallmon
  PineTime charging issues - connecting pins black gsoundsgood 2 453 09-15-2024, 02:59 PM
Last Post: gsoundsgood
  How do I clear all personal data from the pinetime smartwatch? taltamir 7 593 08-23-2024, 04:44 AM
Last Post: 67man
  [SOLVED] Gadgetbridge not pairing with pinetime zoof 3 5,128 06-25-2024, 12:21 AM
Last Post: Amen
  PineTime at FOSDEM jmlich 5 1,862 02-07-2024, 11:48 PM
Last Post: tllim
  PineTime turns off when removed from cradle tynstar 0 572 01-31-2024, 11:57 AM
Last Post: tynstar
  No Luck flashing WaspOS MadHatter 0 685 12-11-2023, 01:19 AM
Last Post: MadHatter
  PineTime and Amazfish on Ubuntu Touch jmlich 1 1,229 10-14-2023, 04:12 PM
Last Post: tllim
  PineTime is dead!! Markdanni123 12 16,288 09-18-2023, 10:17 PM
Last Post: ccchan234
  PineTime Sleep Tracking any_mouse 12 15,268 07-10-2023, 05:41 PM
Last Post: davidair

Forum Jump:


Users browsing this thread: 2 Guest(s)