asteroidos / asteroidos.org Goto Github PK
View Code? Open in Web Editor NEWAsteroidOS official website. Built using Assemble, Grunt, Bootstrap and Less.
License: Other
AsteroidOS official website. Built using Assemble, Grunt, Bootstrap and Less.
License: Other
Make watchface developers aware that color use during displayAmbient is not advised.
Originally posted by @eLtMosen in AsteroidOS/meta-sparrow-hybris#15 (comment)
Currently, watchfaces can be prototyped from a computer using some hacks and wizardry described in the following documentation page. https://asteroidos.org/wiki/watchfaces-creation/
This requires a very complex development workflow including an entire SDK.
However, the QmlWeb project https://qmlweb.github.io/ provides an open source in-browser live coding platform that could easily be integrated in a webpage of asteroidos.org https://github.com/qmlweb/qmlweb.github.io/blob/master/index.html#L29 It would even remove the need for the background Image component and "new Date()" hacks.
Moreover, the webpage could export the .qml file and .jpg preview into a tarball that could be deployed on the watch.
Currently we have a wiki for creating an app for AsteroidOS: https://asteroidos.org/wiki/creating-an-asteroid-app/
While sufficient for simply building and creating a new app, it does not show what APIs are available for everyone to use.
Generally people have to search through this GitHub organization, which is not desirable.
Instead we should provide a new wiki page that provides this information.
Things that this page should have (more to be added/suggestions welcome ๐ ):
@FlorentRevest via matrix:
we just have a h1 "faq" at the top which isn't useful given that there's already a "Frequently asked question" in the breadcrumb. and when the page is open, the left navigation bar only contains that h1 which makes it look a bit awkward. but as soon as one scrolls a little it, all the questions (h2) appear in the side bar. I propose we just make every question a h1 and drop that "FAQ" top level title in the document
Apologies if this is not the best place to post such issues and let me know if this should be logged elsewhere.
Following /wiki/bluetooth/, everything goes fine until running:
./bt-pan --debug client MAC
At which point the command seems to complete successfully, with interface bnep0 being created. However, soon after it then disconnects.
In /var/log/messages just after connecting I see the line:
May 27 21:12:12 dory daemon.err connmand[328]: Can not request DHCP lease
And as it disconnects I see the lines:
May 27 21:12:12 dory daemon.info connmand[328]: (null) {del} route fe80:: gw :: scope 0
May 27 21:12:12 dory daemon.info systemd-networkd[279]: bnep0: Lost carrier
May 27 21:12:12 dory daemon.info connmand[328]: bnep0 {dellink} index 23 operstate 2
If I use hcitool cc to connect to the server I see the same behaviour โ it connects and then soon after disconnects.
The server is being run on a nearby Raspberry Pi.
The LG G watch is not paired with a phone at the time.
Hello, how do I download the firmware for TicWatch Pro?
Currently one has to skim through chats and github issues of AOS repos. But people have their own personal projects in their id's and one can not get a bird's eye view of things.
Things I think we should mention:
The 0e82dc2 patch (that I submitted!) was wrong and it should be reverted in its entirety. The problem was that the build I was using. Specifically, I had started atop an old build, pulled from the git repo and rebuild and inadvertently discovered a bug in git ( https://bugzilla.redhat.com/show_bug.cgi?id=1803506 ) as a byproduct. I believe that was why my build differed. Many thanks to @MagneFire for correctly questioning this pull request. See https://github.com/AsteroidOS/asteroidos.org/pull/52/files
I have an old device that is smartwatch that I'd like to try to port asteroid too, however when I went to try to follow the porting guide, it looked like the link to the initial PR as an example and some of the file references no longer matched up?
This was in following the first steps at: Creating an OpenEmbedded BSP layer
The feature list for each watch is listed under the Install
page for that watch. This is unwieldy and repetitive and does not easily allow for such things as a comparison page that shows all watches and features.
As a first step, it would be useful to gather all of the feature data into a .json
file and then use that file with a helper to populate the existing pages.
The next step will be to create a page showing all watches and all features, perhaps allowing for the ability to select features of interest and filter watches based on that.
Watch model: bass
AsteroidOS Image: nightly
Host OS: Debian 10
After following section 2a of the installation instructions here, my watch enters a boot loop where the LG logo appears on the screen, goes away and reappears, and so on.
I have had this issue in the past when i first loaded AsteroidOS on my watch, and reproduced it again today. The solution to this situation has been to run fastboot flash boot ~/Downloads/zImage-dtb-bass.fastboot
prior to fastboot flash userdata ~/Downloads/asteroid-image-bass.ext4
.
I see that this section of the page is generated within a layout template affecting many watches. Is this in fact the correct order for other watches and just doesn't work for bass? I'm asking because I don't want to submit a pull request in a way that makes the documentation work for my watch model and not for the other watch models.
Discussion on next steps for systematizing the wiki and making it more automated and just focusing on content not js modules. I think for us static site generation is best.
I elect https://nextra.site/
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...
https://asteroidos.org/install/beluga/ also has a stray "Hardware Support" :)
Originally posted by @FlorentRevest in #253 (comment)
(although this clipping is a bug and should be fixed separately)
Originally posted by @FlorentRevest in #236 (comment)
As first found by @MagneFire
Attached screen width should result in 3 columns.
Reducing the install-box margins might mitigate that while pushing the list off center.
Another approch would be to use Flexbox via display: flex
. Which is to be investigated.
frequently, conversation comes up about documenting certain specifics about individual smartwatches. I personally agree with this, since it is difficult to find robust information on the internet, with certain watches only being covered in reviews that do not cover any technical aspects.
This would be quite a large addition to our documentation, so it is worth considering how we want to take this forward.
A few methods have been suggested to allow these pages to be added:
Documentation
section on the website. This has the advantage of fitting comfortably into our current build system, and should give full control over the entire appearance and behaviour of the wiki pages, while providing a familiar markdown interface for implementing the content. The disadvantages are that 1) the documentation is difficult and unintuitive to edit, requiring use of github and standing in the way of spontaneous corrections or small additions. 2) beyond the most basic level of creating text-and-image articles, our current system is quite difficult to use. Any additions beyond the current templates require experience with javascript and html, and testing requires a local version of the website to be set up. While the website has been containerised, this setup is still quite a high bar for entry.I think that the wiki paradigm we choose now will be something that will be using for a very long time, so it is best to choose something that provides a good balance of customisation, functionality and extensibility
https://asteroidos.org/watches/tetra/ has the same issue ๐ฌ
Originally posted by @FlorentRevest in #264 (comment)
quick ideas to hold on
Currently we support watches that have multiple different revisions (examples: carp/smelt
, catfish/catfish_ext/catshark
, skipjack
).
It is desirable to have the installation pages show these codenames too.
In addition, the actual watch names might make sense too (in the case for skipjack
, it has a C2 and C2+ variant).
A recent PR (#156) added the relevant installation page for the LG Watch W7 (narwhal
) (https://asteroidos.org/install/narwhal/).
It however appears to be missing the needed changes for it to be visible on the install page (https://asteroidos.org/install/).
The installation page for narwhal
also appears to be missing the watch image currently showing a broken image:
Following a discussion on matrix, saving the log here to salvage from:
Now, HOW TO PR:
You sure have cloned the Asteroid unofficial repo already, you can not directly pull request to that for security and ease of review reasons.
Fork the repo on the github web page, this will make a forked repo available under your personal github account.
Clone this personal fork with git clone https://github.com//unofficial-watchfaces
Now cd into this folder and set a remote so you can push to your repo from your local machine git remote set-url origin [email protected]:/unofficial-watchfaces.git
Create a branch for your changes (=New addition) git checkout -b analog-brawnish
This command also checks you out from master to the new branch, so your changes will not affect the master branch and you can always fetch changes from upstream to your fork.
Now copy your watchface to the other ones with the same folder and file structure.
git add analog-brawnish/ will add all new files and changes so you can commit them.
git commit -m "Add analog-brawnish " commits the added state so you can push to this commit your repo.
git push origin analog-brawnish will create the analog brawnish branch in your online repo from where you can pull request to AsteroidOS repos.
git checkout master will bring you back to the local master branch. Mind that your changes are not available in this master branch and it looks like the files are deleted. But those will "reappear when chekcing out between branches. Now you would be set to create another wathface branch from master, which is independed from analog-brawnish. Which makes it possible to have two pull requests open from the same fork, but different branches.
Now Pull request from the git website
Select the repo from your account, select the analog-brawnish branch from the tiny branch selector top-left.
Finally, hit "contribute" to open the Pull request dialog. Add a descripton, mind that the Header/Topic suggests what will happen when accepting your pull request. Like "Add watchface X /Change XY /Optimise X/". That way it will help to make the commit list easy to understand when browsing through later.
RE "git add analog-brawnish/ will add all new files and changes so you can commit them."
You will also need to add the ./thumbnails and README.md. Just Tabcomplpete your way through after git add. Tab completion will offer all remaing addable changes in the branch.
beroset
Good writeup! If that isn't already part of the "creating watchfaces" write up, perhaps it should be?
eLtMosen
My thoughts while writing ๐
๐ฌ
But from scratch, git init, key login and such are missing. I did all that initial setup long ago and just copy my .git folder between machines ๐
beroset
For that, you can point to github's instructions.
This link is dead. It should be removed from https://asteroidos.org/wiki/boot-process/#troubleshooting
As part of the recent unifying of watches the topic of different models with the same codename came up. There are multiple ports that are compatible with different models (ray
, firefish
, harmony
, inharmony
).
An idea was to somehow show the different models that are compatible with a series of watches. Like the preview below:
I have the code WIP here: https://github.com/MagneFire/asteroidos.org/tree/feature/watch-previews
I'm just not sure if we want to take this route, hence this issue. A discussion on this would be great ๐
The recommended watches are the LG G Watch Urbane (bass) and the Huawei Watch (sturgeon).
Simply looking at the install page(https://asteroidos.org/install/) does not highlight this.
I think we should come up with a better method to distinguish the most recommended watches.
I purpose the following two changes:
Currently, there are watches that have the 3 stars while not being on-par with bass and sturgeon (harmony and smelt).
While others have 2 stars but have some essential features missing (swift, mooneye) others seems perfectly capable (wren, sparrow).
What do you think of the following:
1 star (horrible, has some serious issues): tetra
2 stars (ok, but missing some essential features (Bluetooth)): swift, mooneye
3 stars (good, but misses some great features (Always-on-Display, Tilt-to-wake, etc)): anthias, dory, (in)harmony
4 stars (Great, minor things are missing (microphone)): smelt, lenok, sparrow, wren
5 Excellent (No missing features): bass, sturgeon
Instead of alphabetically ordering the watches. The best supported watches will be the first in the list, no need to scroll down.
Please let me know what you think of this. Other suggestions are also welcome ๐
Currently, only some install pages have the product code of a watch mentioned in not so prominent place.
Product code however
Lets discuss where to put this specific info. And possibly how to extend it to other details that differ between models like strap width and casing size.
This just to start off the product code collection, please do not mind the formating at all and ideally past your corrections in a better formated list ๐
โ๏ธ W100 = dory [LG G Watch]
โ๏ธ W110 = lenok [LG G Watch R]
โ๏ธ W150 = bass [LG G Watch Urbane]
โ๏ธLM-W315 = narwhal [LG Watch W7]
โ๏ธ 360L = smelt [Moto 360 2nd gen, 46mm, 20mm]
โ๏ธ 360S = carp [Moto 360 2nd gen, 42mm, 18mm]
โ๏ธ 360W = carp [Moto 360 2nd gen, 42mm, 16mm]
โ๏ธ 360SP = sportscarp [Moto 360 sports]
โ๏ธ WF11018 = catfish-ext [TicWatch Pro LTE]
โ๏ธ WF12096 = catfish [TicWatch Pro]
โ๏ธ WF12106 = catshark [TicWatch Pro 2020]
โ๏ธ WG12016 = tunny [TicWatch S2]
โ๏ธ WG12036 = skipjack [TicWatch C2/C2+]
โ๏ธ WF12086 = mooneye [TicWatch E]
โ๏ธ WF12066 = mooneye [TicWatch S]
โ๏ธ WI500Q = anthias [Asus ZenWatch]
โ๏ธ WI501Q = sparrow [Asus ZenWatch 2, 46mm]
โ๏ธ WI502Q = wren [Asus ZenWatch 2, 41mm]
โ๏ธ WI503Q = swift [Asus ZenWatch 3]
โ๏ธ LEO-BX9 = Sawfish [Huawei Watch 2]
โ๏ธ LEO-DLXX = Sawshark [Huawei Watch 2 LTE]
โ๏ธ DW6F1 = firefish [Fossil Gen4]
โ๏ธ DW7F1 = ray [Fossil Gen4]
โ๏ธ OW19W6 = beluga [OPPO Watch 41mm WiFi]
โ๏ธ OW19W8 = beluga [OPPO Watch 46mm Wifi]
โ๏ธ OW19W12 (untested) = belugaxl [OPPO Watch 46mm LTE]
โ๏ธ SWR50 = tetra [Sony Smartwatch 3]
โ๏ธ SM-R382 = sprat [Samsung Gear Live]
โ๏ธ W1 = sturgeon [Huawei Watch]
โ๏ธ DW6xx & DW7xx = ray and firefish [Fossil gen4]
To be cleared:
Now that we have good/bad/na/partial/unknown as possible status entries, it's no longer quite intuitive what the five different colors mean. We should add a legend and/or tooltips so that when you hover over a square, it tells you the status of that feature for that watch.
Great idea! This makes me wonder if we should provide the `sha256sum` information on the install pages themselves too since we already know the checksums in advance: https://release.asteroidos.org/nightlies/beluga/MD5SUMS
(This also means that the We do not currently provide checksums for the files.
claim, is incorrect ๐ )
Originally posted by @MagneFire in #283 (comment)
AsteroidOS needs a forum so that people can suggest features. People have mentioned this on reddit, and the IRC channel is basically dead, so that is useless. I can modify the CSS of some open source forum software, and with some time I might be able to make a frontend for a forum. either way, this is the most important feature that AsteroidOS needs right now.
For newcomers that don't already have a smartwatch and are viewing the Install
page, it is challenging to quickly find a supported/recommended watch to purchase.
One improvement that could easily check the last box is to add either a label or a graphic corresponding to each of the supported watches to indicate whether or not they are discontinued products. These indicators could be updated periodically (every few months?) to ensure that they remain generally accurate.
... this is what it says on your homepage regarding the wearable devices.
Regarding privacy, why is it that your homepage does requests to google-analytics.com and ajax.googleapis.com. There some other requests to CDNs as well. All of them are probably not protecting the privacy of your visitors.
Either by giving the footer a top margin.
Or by adding bottom margins to each page.
Ray is listed as "Skagen Falster 2".
We should document all supported watches under the ray and firefish code name similar to the issue described on the ray repo: AsteroidOS/meta-smartwatch#48
Just a note, it seems that you introduced a stray "Preparation" title before "Choose your variant" in the MTK6580 watches page https://asteroidos.org/install/harmony/
Originally posted by @FlorentRevest in #253 (comment)
This could be a good first step towards consolidating all these templates https://github.com/AsteroidOS/asteroidos.org/tree/master/templates/layouts which are out of control already.
Alternatively, I've been talking a lot about using conditionals like https://github.com/AsteroidOS/asteroidos.org/blob/master/templates/includes/documentation-header.hbs#L5 to make templates more dynamic based on parameters (here the condition is on the slug variable: https://github.com/AsteroidOS/asteroidos.org/blob/master/pages/wiki/documentation.md?plain=1#L3 but we could use arbitrary variables. For example, we could have
{{#is codename 'beluga'}}
{{> bootloader-unlock-beluga}}
{{else}}
{{> bootloader-unlock-aw }}
{{/is}}
Or
{{#is watch-needs-simg 'yes'}}
<a class="btn btn-primary" href="https://release.asteroidos.org/nightlies/{{deviceName}}/asteroid-image-{{deviceName}}.simg" role="button">asteroid-image-{{deviceName}}.simg</a>
{{/is}}
Or {{#is two-columns 'yes'}}
(for firefish/ray) etc... There is a balance to be found between using different templates or include blocks. For example, maybe the mtk-install is so different from the aw-install that they shouldn't be folded together, but maybe they should, I'm not sure about that one. But ultimately the goal should just be to 1- avoid duplication 2- Keep things modular and easy.
For example, one thing I find quite bizarre looking back on our code (I should have noticed it at the time of the pull request review :) ) is our empty watches.md
https://raw.githubusercontent.com/AsteroidOS/asteroidos.org/master/pages/main/watches.md I would expect the content of that page to be in watches.md
because this is just an empty body
that gets included in https://github.com/AsteroidOS/asteroidos.org/blob/master/templates/layouts/watches.hbs#L33 (weirdly, just after the content of the page is defined in the layout...)
Similarly, we could hide the navbar of the documentation landing page only when {{#is slug 'documentation'}}
.
I've been restraining from being too annoying with this but I really think we're at the point where this sort of consolidation is needed to keep the website easy to evolve uh.
The language used for all this templating is called HandleBars https://handlebarsjs.com/guide/#what-is-handlebars
Originally posted by @FlorentRevest in #285 (comment)
Currently people who come to the website to find out about the OS might not have all their questions answered on the main page, and might not want to look into documentation as that can be intimidating. An FAQ exists on the install page but only gives information related to ports.
A proposed solution is a general FAQ. This could go in the top bar so it's easily found by anyone who is interested. Needs to answer at least the following, add more questions as needed.
And link to that page from the install instructions -> Real install description.
Hello,
After you install AsteroidOS on your device, in my case on a Asus Zenwatch 2 (sparrow). You can't use "adb reboot bootloader" anymore, it just freezes the terminal and the watch does nothing. Instead, you have to execute "adb shell reboot -f bootloader" in order to reboot into fastboot. I think this should be specify in the installation guide or fixed (best case).
Thank you
FAQ has moved from the wiki folder. We need to either adapt or duplicate /templates/includes/popover-source-link.hbs
where the wiki part of the link is currently hardcoded
Hi,
Instead of typing "fastboot continue" at the end of the flashing process, i wrote "exit" at the "command line".
So now the smartwatch is restarting endlessly.
Can you tell me what i am supossed to do now to recover the smartwatch at a right state ?
Regards.
Two users now reported the Windows ADB driver we link too does not work anymore. For one user, the official google platform-tools driver worked. The other case still in testing as i am writing this.
Problems is, where to find a linkable source for a compiled version of the driver.
Thats not from some shady google docs folder like this one:
https://drive.google.com/drive/folders/1H8DxaRta8gafcUA8bJqkajobnnfuw2et
The website is inaccessible over IPv6.
As discovered in AsteroidOS/meta-smartwatch#159 and AsteroidOS/meta-smartwatch#55 one might need to update lenok to a newer firmware in order to get the heart rate sensor to work in AsteroidOS.
AsteroidOS/meta-smartwatch#159 should contain all the necessary info/steps in order to get it working but we should still put up an info panel similar to the one we have for bass
Its just easy to contact people that way.
And maybe mention the Time Zone they are in? (helpful to coordinate communication and work?)
All links to builds are broken on https://asteroidos.org/ site. Every link leads to a 404 site error. As I understand, those files haven't been published to release.asteroid.org yet.
Could you provide a list of GitHub links to real files if they exist?
Thanks beforehand for an answer and for your great work!
Analog to how sparrow and wren are listed.
as referenced in this issue AsteroidOS/meta-smartwatch#150
I had a hard time trying to get the emulator to compile and run correctly and discovered some things that may help others, such as how to resolve problems using QEMU with the proprietary NVIDIA driver. This kind of information should be included in the emulator page.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.