It seems that for some reason the application works on the device when the developer mode has been enabled but not without. Maybe something to do with the aegis as it does not depend on anything there.. oh man.. i hate aegis...