Correction: I make images for android-wear-9.0.0_r11(aosp_x86-eng) and changes in config.ini image.sysdir.1=/media/imam/Study/Projects/Android/WearOS/wearos/out/target/ product/generic_x86/
then run below command: emulator emulator: argv[24] = "if=none,index=0,id=system,file=/media/imam/Study/Projects/Android/WearOS/wearos/out/target/product/generic_x86/system-qemu.img,read-only" it's starting with *android emulator* rather than *wearos emulator* which uses system-qemu.img. Now I run the command with below for system.img. emulator -avd Wear_OS_Round_API_28_2 -verbose -show-kernel -shell -system / media/imam/Study/Projects/Android/WearOS/wearos/out/target/product/ generic_x86/system.img It's getting Kernel panic. 1.416855] Call Trace: [ 1.417125] [<ffffffff9ff296bc>] dump_stack+0x61/0x7e [ 1.417681] [<ffffffff9ff284de>] panic+0xd0/0x1ec [ 1.418222] [<ffffffffa05554e1>] mount_block_root+0x28d/0x29c [ 1.418849] [<ffffffffa055569d>] mount_root+0x67/0x6a [ 1.419405] [<ffffffffa0555811>] prepare_namespace+0x171/0x19d [ 1.420064] [<ffffffffa0555175>] kernel_init_freeable+0x18a/0x19f [ 1.420159] [<ffffffff9ff2c5bd>] ? rest_init+0x82/0x82 [ 1.420159] [<ffffffff9ff2c5c6>] kernel_init+0x9/0xee [ 1.420159] [<ffffffff9ff31835>] ret_from_fork+0x55/0x80 [ 1.420159] [<ffffffff9ff2c5bd>] ? rest_init+0x82/0x82 [ 1.420159] Kernel Offset: 0x1f600000 from 0xffffffff80200000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 1.420159] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(253,1) So, anybody lead me to port system.img on WearOS emulator? On Thursday, 30 January 2020 22:24:42 UTC+6, Imam Mohammad Bokhary wrote: > > Android Studio Version: 3.5.3 > > Emulator Version (Emulator--> Extended Controls--> Emulator Version): > 29.3.4-6110076 > HAXM / KVM Version: KVM - v12 > > Android SDK Tools: 26.1.1 > > Host Operating System: Linux 4.15.0-74-generic #83~16.04.1-Ubuntu x86_64 > x86_64 x86_64 GNU/Linux > > CPU Manufacturer: [Intel / AMD / Other] Intel® Core™ i7-7820X CPU @ > 3.60GHz × 16 > > Steps to Reproduce Problem: > 1. I downloaded android-9.0.0_r43 to port 'system.img' on emulator > 2. After making images when I run the below command it's launch android > emulator rather than wearos round or square avd configured emulator > emulator -verbose -show-kernel > > 3. It's not a big deal the skin design is but the images I built only > 'system-qemu.img' is ported. > 4. Even I tried with below command: > emulator -verbose -show-kernel -shell -system ./system.img > > but not reflect the WearOS emulator. > > 5. When I run below command: > emulator -avd Wear_OS_Round_API_28_2 -verbose -show-kernel -shell -system > ./system.img > > it shows: > >> qemu: linux kernel too old to load a ram disk >> > > Can anybody give me proper way to launch custom system.img to WearOS > emulator? > Which configuration will I need to changed? > > > -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/android-porting/ac0845ed-75d2-4385-acbc-e85562c50ea0%40googlegroups.com.