In the last chapter, we created an OTA package for our x86vbox device. We also improved the recovery to remove all dependencies from the Android system so that it becomes a self-contained environment. We can run recovery and update the system using the OTA package we created. After the system is updated, we cannot use a two stages boot since the system becomes a standard Android system image layout.
In this chapter, we will enhance both recovery and the updater to support both standard and two stages boot using one system image. We will also enhance recovery to resolve one issue that we haven't talked about, which is how we pick up the OTA package in the recovery environment. In this chapter, we will cover the following topics:
- Introducing the Android native application debug skill, which we can use to debug both recovery and the updater
- Extending recovery and the updater...