Boot Sasmsung S7 Edge extraced Kernel from Device in Android Emulator

前端 未结 1 1677
庸人自扰
庸人自扰 2021-01-28 02:21

These are Samsung S7 edge zImage and ramdisk.

./emulator -gpu off -verbose -avd Nexus_5X_API_24_4 -ramdisk /home/user/s7boot/boot.emmc.win-ramdisk.gz -kernel /ho         


        
相关标签:
1条回答
  • 2021-01-28 02:59

    As a general rule, you can't just take a random kernel intended for one piece of Arm hardware and boot it on a different piece of Arm hardware. Because embedded/mobile Arm systems differ so much, typically operating system or firmware images intended to run on one machine will not run at all on any other. This is often surprising for new users who are used to the x86 world where every system looks like a standard PC.

    So you need to match the emulator machine type you're using with the kernel image. The Android emulator doesn't model a Samsung S7, so you need to use a generic kernel or one specifically targeting the machine model the emulator provides.

    0 讨论(0)
提交回复
热议问题