it is a 'native' applications. JAVA use java machine->processor. Elf use processor directly (fast). and elf can use all functions of phone.
Search 'Executable and Linking Format' for more info.
how to add: patch 'elfpack' for phone model and firmware, put in special folders library-file, constant-file (dynconst? sorry), elfs :) that`s all.