You are reading a single comment by @fanoush and its replies. Click here to read the full conversation.
  • Today was also kind of a long/busy day, but I figured I'd post now while I remember it best:

    1. I managed to soft-brick my Bangle v1. I strongly suspect it has to to with my "great" idea to log all GB messages, which probably resulted in a combination of out-of-memory errors and Storage calls happening at almost the same time.
    2. When I got home, the web IDE didn't list any files left in storage, so I figured I'd reset my watch
    3. "Install default apps" didn't work, because https://banglejs.com/apps/defaultapps_ba­nglejs.json doesn't exist
    4. Manually reinstalled apps, including my beloved barclock
    5. Ran into some errors caused by Layout (a bit fuzzy what went wrong exactly... probably missing polyfills from me forgetting to install the bootloader.)
    6. Tried to update to cutting edge firmware by downloading the zip, ran into an error because of

      function stepDownload(data) {
      if (window && window.location &&
          window.location.protocol=="https:" &&
          data.binary_url.substr(0,5)=="http:") // Uncaught TypeError: Cannot read properties of undefined (reading 'substr')
        data.binary_url = "https:"+data.binary_url.substr(5);
      data.flashFn(data);
      }
      
    7. managed to flash the cutting edge firmware, still errors

    8. uploading the latest bootloader fixed it (I think I probably forgot to upload it, and just tried to load() the clock from the web IDE, getting those errors because it was missing polyfills)

    tl;dr:

    • messing with Storage while out-of-memory probably somehow managed to erase all storage, no idea if it's reproducible
    • "Install default apps" is broken
    • Flashing a local zip file is broken
About

Avatar for fanoush @fanoush started