Hi,
I've just started working on a feature that is missing from one of the stock apps in the System folder. I'm new to developing for android, but not new to embedded development at all. I've got this built from 4.0.4 and running on my device, but as I make changes to the app and libraries, I'd like to test those changes and that's where I'm looking to speed up the process.
After re-building the apk in question, what is the best way to replace it on my device? I was using `adb install -r path/to/apk.apk` and while that succeeds, I realized that it wasn't changing the app in system/app on device. Next I tried `adb push ...` which returns with an error as system/app is read-only. Next, `adb remount` to then do a push, but the remount fails with a 'Operation not permitted'.
Now information about my build, and maybe here's where I'm going wrong. I've built 4.0.4 with the lunch option for full_maguro (so userdebug on a Galaxy Nexus), do I need to use the build type as eng to be able to remount system as r/w? Or how can this be done?
Can I just re-flash the system.img? And if so what does that do to the phone in terms of usability? I'd want to avoid having to re-setup my phone every time I make changes to the code as this isn't a dedicated development device per se (it's only used by me, but it's my day to day use phone as well as a place to develop.
Thanks,
Jeff.