I've finished the Onyx Boox device plugin at
https://github.com/davidfor/calibre-annotations/pull/21 . Please review (I've attached some screenshots in there as well).
However, the only issue I'm facing is imported annotations not being sorted chronologically, even though I've specified the "ann_mi.location_sort" property as an integer offset from the book start.
Any idea why this might be happening?