[Android Q&A, Help & Troubleshooting] rmbq:
Hi!

i'm trying to use my custom kernel on avd, when i launch

./emulator -avd sgsp40 -kernel /home/rmbq/zImage -show-kernel -verbose

the output is:

emulator: found SDK root at /home/rmbq/android-sdk-linux
emulator: Android virtual device file at: /home/rmbq/.android/avd/sgsp40.ini
emulator: virtual device content at /home/rmbq/.android/avd/sgsp40.avd
emulator: virtual device config file: /home/rmbq/.android/avd/sgsp40.avd/config.ini
emulator: using core hw config path: /home/rmbq/.android/avd/sgsp40.avd/hardware-qemu.ini
emulator: Found AVD target API level: 15
emulator: found skin 'WVGA800' in directory: /home/rmbq/android-sdk-linux/platforms/android-15/skins
emulator: autoconfig: -skin WVGA800
emulator: autoconfig: -skindir /home/rmbq/android-sdk-linux/platforms/android-15/skins
emulator: found skin-specific hardware.ini: /home/rmbq/android-sdk-linux/platforms/android-15/skins/WVGA800/hardware.ini
emulator: keyset loaded from: /home/rmbq/.android/default.keyset
emulator: trying to load skin file '/home/rmbq/android-sdk-linux/platforms/android-15/skins/WVGA800/layout'
emulator: skin network speed: 'full'
emulator: skin network delay: 'none'
emulator: autoconfig: -ramdisk /home/rmbq/android-sdk-linux/system-images/android-15/armeabi-v7a//ramdisk.img
emulator: Using initial system image: /home/rmbq/android-sdk-linux/system-images/android-15/armeabi-v7a//system.img
emulator: autoconfig: -data /home/rmbq/.android/avd/sgsp40.avd/userdata-qemu.img
emulator: autoconfig: -initdata /home/rmbq/.android/avd/sgsp40.avd/userdata.img
emulator: autoconfig: -cache /home/rmbq/.android/avd/sgsp40.avd/cache.img
emulator: Physical RAM size: 512MB

Content of hardware configuration file:
hw.cpu.arch = arm
hw.cpu.model = cortex-a8
hw.ramSize = 512
hw.screen = touch
hw.mainKeys = yes
hw.trackBall = yes
hw.keyboard = no
hw.keyboard.lid = no
hw.keyboard.charmap = qwerty2
hw.dPad = yes
hw.gsmModem = yes
hw.gps = yes
hw.battery = yes
hw.accelerometer = yes
hw.audioInput = yes
hw.audioOutput = yes
hw.sdCard = yes
disk.cachePartition = yes
disk.cachePartition.path = /home/rmbq/.android/avd/sgsp40.avd/cache.img
disk.cachePartition.size = 66m
hw.lcd.width = 480
hw.lcd.height = 800
hw.lcd.depth = 16
hw.lcd.density = 240
hw.lcd.backlight = yes
hw.gpu.enabled = no
hw.camera.back = emulated
hw.camera.front = none
vm.heapSize = 48
hw.sensors.proximity = yes
hw.sensors.magnetic_field = yes
hw.sensors.orientation = yes
hw.sensors.temperature = yes
kernel.path = /home/rmbq/zImage
kernel.parameters = android.checkjni=1
disk.ramdisk.path = /home/rmbq/android-sdk-linux/system-images/android-15/armeabi-v7a//ramdisk.img
disk.systemPartition.initPath = /home/rmbq/android-sdk-linux/system-images/android-15/armeabi-v7a//system.img
disk.systemPartition.size = 200m
disk.dataPartition.path = /home/rmbq/.android/avd/sgsp40.avd/userdata-qemu.img
disk.dataPartition.size = 200m
avd.name = sgsp40
.
QEMU options list:
emulator: argv[00] = "./emulator-arm"
emulator: argv[01] = "-show-kernel"
emulator: argv[02] = "-android-hw"
emulator: argv[03] = "/home/rmbq/.android/avd/sgsp40.avd/hardware-qemu.ini"
Concatenated QEMU options:
./emulator-arm -show-kernel -android-hw /home/rmbq/.android/avd/sgsp40.avd/hardware-qemu.ini
emulator: registered 'boot-properties' qemud service
emulator: nand_add_dev: system,size=0xc800000,initfile=/home/rmbq/android-sdk-linux/system-images/android-15/armeabi-v7a//system.img
emulator: mapping 'system' NAND image to /tmp/android-rmbq/emulator-mPhPfB
emulator: rounding devsize up to a full eraseunit, now c810000

emulator: nand_add_dev: userdata,size=0xc800000,file=/home/rmbq/.android/avd/sgsp40.avd/userdata-qemu.img
emulator: rounding devsize up to a full eraseunit, now c810000

emulator: registered 'boot-properties' qemud service
emulator: Adding boot property: 'dalvik.vm.heapsize' = '48m'
emulator: Adding boot property: 'qemu.sf.lcd_density' = '240'
emulator: Adding boot property: 'qemu.hw.mainkeys' = '1'
emulator: Adding boot property: 'qemu.sf.fake_camera' = 'back'
emulator: nand_add_dev: cache,size=0x4200000,file=/home/rmbq/.android/avd/sgsp40.avd/cache.img
emulator: Initializing hardware OpenGLES emulation support
emulator: Kernel parameters: qemu.gles=0 qemu=1 console=ttyS0 android.qemud=ttyS1 android.checkjni=1 ndns=1
emulator: Trace file name is not set

emulator: autoconfig: -scale 1
serial0 console
emulator: Could not open file: (null)/system/build.prop: No such file or directory
emulator: control console listening on port 5554, ADB on port 5555
emulator: sent '0012host:emulator:5555' to ADB server
emulator: ping program: /home/rmbq/android-sdk-linux/tools/ddms
emulator: ping command: /home/rmbq/android-sdk-linux/tools/ddms ping emulator 20.0.1.0 "NVIDIA Corporation" "GeForce GTX 460/PCIe/SSE2" "4.2.0 NVIDIA 295.49"

and it freeze.

there is this line:

emulator: Could not open file: (null)/system/build.prop: No such file or directory

which appear only when i use a custom kernel.

Anyone know how to solve?

thanks :)