Closed violoncelloCH closed 1 year ago
or at least a guide to find and reflash the original os
I'm not entirely sure whether we can document how to reinstall WearOS (both technically and legally). That being said, we could add a documentation page for "backups" with one subsection for backups of WearOS and one subsection for backups of AsteroidOS. I would recommend the usage of TWRP (when available) with links to official downloads https://twrp.me/Devices/ We could then point to that documentation page from the install pages.
Ohh, havn't known the legal issue Is it possible to backup the boot and userdata partition of Wear OS with twrp? If so I will try this and I could prepare a documentation page with at least some indications...
It is possible indeed. That would be super cool if you could send a PR! Keep me updated.
of course I could sand a PR! But twrp shows /system as 0MB and then fails to back up because it is unable to mount /system. any ideas or tricks?
Cool! Does this happen with wearOS or AsteroidOS? Because Asteroid doesn't use the /system partition at all. (but it shouldn't be empty, it should be wearOS's partition left untouched)
It's with wearOS. Thought I'will have to back it up too... Maybe it's something with Androids encryption? But if AsteroidOS lets /system untouched, it should be sufficient to back up /boot and /data...?
I'd like to propose an addition to our pages that may partially resolve this. It's possible to get a dump of all partitions using a temporary AsteroidOS installation, and possible to restore as well, so one reasonable thing we could do would be to describe how to do this with these steps:
With those accomplished, it's possible to restore to more or less the original state using this:
boot
partitionuserdata
partitionI've created some tools that help with this: https://github.com/beroset/asteroid-hosttools
I've created some tools that help with this: https://github.com/beroset/asteroid-hosttools
Great work indeed. Tested the tools on catfish and found no issues. Happy to test specific tasks.
Thanks for the useful hint!
Just tested the watch-image
tool to backup a sparrow
device. Works fine for me:
3909091328 bytes (3,9 GB, 3,6 GiB) copied, 598,255 s, 6,5 MB/s
Maybe a link to the hosttools could be added to the install page: https://github.com/AsteroidOS/asteroidos.org/blob/master/templates/layouts/aw-install.hbs#L92
This is now fixed by this commit https://github.com/AsteroidOS/asteroidos.org/pull/298
I would be very nice if you could provide information on how to backup userdata and boot partitions and maybe even how to restore them. What's the best way to do this? this would really help newcomers...