开发者

how to reboot the emulator into recovery mode

is there any way to reboot the emulator into 开发者_如何学Crecovery mode??


  • Android emulator does not support recovery mode, just normal boot mode
  • Android emulator accepts Android images -including kernel and ramdisk images - as standalone images on it's command line interface. They are not compiled to one big image as in a real world scenario where all Android partitions are stored to the same phone storage
  • The kernel of Android emulator is a custom build of a android kernel, it's called goldfish kernel which can communicate with the virtual platform developed by Google engineers named as "goldfish", a pre-built of this kernel can be found under $sdk/system-images/android-22/default/armeabi-v7a/kernel-qemu Please note you can not just replace it by kernels other than goldfish kernels. However, goldfish kernel source code can be found @ gooogle repo and can be easily compiled and replaced by the default one that comes with the Android SDK
  • In case you need to run the android emulator with another Linux kernel, then you have to port this kernel to the golfish virtual hardware (which is not a straight-forward process). I did it before and I can elaborate more on how to do it if needed.
  • In order to boot the android emulator in the recovery mode, you need to do an extra effort of porting a tool called "u-boot" (i.e. a well-known and widely used 2nd stage boot-loader used in real phones) to the goldish virtual board to be able to run it on top of android emulator. I did that a couple of years ago and it was very mind-blowing process. I can provide you with tremendous information if you are interested in doing so.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜