QMG is Proprietary to QuramSoft
Unfortunately, these qmg files are compressed and can only be decompressed by proprietary libraries which is present in Samsung android phones gingerbread and up. You may find more info about the technology by searching for quramsoft in google.
The "codecs/decoder" libraries are below:
Unless someone knows how to use theses in an application to decode the bootani.qmg file, that will be great.