They both worked in terminal, but it gave a warning multiple times (see below)
"WARNING: linker: app_process has text relocations. This is wasting memory and is a security risk. Please fix"
Sent from my Nexus 4 using xda app-developers app
I don't know then, was it adb shell or an actual app?
I'm basically running the exact same commands here, it should work the same.
If you have titanium backup, try converting condi to a system app, then it should be able to toggle air plane mode without root.