How to restart the emulator in recovery mode

Is there a way to restart the emulator in recovery mode?

+10
android reboot
source share
1 answer
  • Android emulator does not support recovery mode, just normal boot mode
  • The Android emulator accepts Android images - including kernels and ramdisk images - as separate images on the command line interface. They are not compiled into one large image, as in a real-world scenario, where all Android sections are stored in the same phone memory.
  • The core of the Android emulator is a custom build of the Android kernel, called the goldfish kernel, which can interact with a virtual platform developed by Google engineers called the "goldfish". A pre-built version of this kernel is located in the $ sdk / system directory. -images / android-22 / default / armeabi-v7a / kernel-qemu Note that you cannot just replace it with kernels other than goldfish kernels. However, the source code for the goldfish core can be found in the gooogle repository and is easy to compile and replace with the standard one that comes with the Android SDK.
  • In case you need to run the Android emulator with a different Linux kernel, you must transfer this kernel to the Golfish virtual hardware (which is not a simple process). I have done this before, and I can tell you more about how to do it, if necessary.
  • To load the Android emulator in recovery mode, you need to make extra efforts to transfer the tool called "u-boot" (that is, the well-known and widely used 2nd-stage bootloader used in real phones) to a golden virtual whiteboard to be able to Run it on top of the Android emulator. I did this a couple of years ago, and it was an incredible process. I can provide you with great information if you are interested in this.
+4
source share

All Articles