[General Questions and Answers] maryfei:
I use fedora 21-x64 build cm12.1 for n7100 in the sdk manager sdk build tool 24.0.3 Android sdk tool 25.2.2 I also install Android 5.1.1 API 22 such as Sources for Andorid SDK, sdk platform.

please help me . thanks advance.

$ emulator -debug-init -logcat '*:v'

emulator: found Android build root: /home/pengfei/android/system

emulator: found Android build out: /home/pengfei/android/system/out/target/product/n7100

emulator: Read property file at /home/pengfei/android/system/out/target/product/n7100/system/build.prop

emulator: Cannot find boot properties file: /home/pengfei/android/system/out/target/product/n7100/boot.prop

emulator: Found target API sdkVersion: 22

emulator: virtual device has no config file - no problem

emulator: using core hw config path: /home/pengfei/android/system/out/target/product/n7100/hardware-qemu.ini

emulator: found skin-specific hardware.ini: /home/pengfei/android/system/development/tools/emulator/skins/HVGA/hardware.ini

emulator: autoconfig: -skin HVGA

emulator: autoconfig: -skindir /home/pengfei/android/system/development/tools/emulator/skins

emulator: found skin-specific hardware.ini: /home/pengfei/android/system/development/tools/emulator/skins/HVGA/hardware.ini

emulator: keyset loaded from: /home/pengfei/.android/default.keyset

emulator: trying to load skin file '/home/pengfei/android/system/development/tools/emulator/skins/HVGA/layout'

emulator: skin network speed: 'full'

emulator: skin network delay: 'none'

emulator: autoconfig: -kernel /home/pengfei/android/system/out/target/product/n7100/kernel

emulator: Auto-detect: Kernel image requires legacy device naming scheme.

emulator: Auto-detect: Kernel does not support YAFFS2 partitions.

emulator: autoconfig: -ramdisk /home/pengfei/android/system/out/target/product/n7100/ramdisk.img

emulator: autoconfig: -sysdir /home/pengfei/android/system/out/target/product/n7100

emulator: Using initial system image: /home/pengfei/android/system/out/target/product/n7100/system.img

emulator: WARNING: system partition size adjusted to match image file (424 MB > 200 MB)

emulator: autoconfig: -data /home/pengfei/android/system/out/target/product/n7100/userdata-qemu.img

emulator: autoconfig: -initdata /home/pengfei/android/system/out/target/product/n7100/userdata.img

emulator: Physical RAM size: 512MB

emulator: WARNING: CPU acceleration only works with x86/x86_64 system images.

emulator: Auto-config: -qemu -cpu cortex-a8

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.size = 66m

hw.lcd.width = 320

hw.lcd.height = 480

hw.lcd.depth = 16

hw.lcd.density = 160

hw.lcd.backlight = yes

hw.gpu.enabled = no

hw.initialOrientation = portrait

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

hw.useext4 = yes

kernel.path = /home/pengfei/android/system/out/target/product/n7100/kernel

kernel.parameters = androidboot.console=ttyS2 android.checkjni=1 androidboot.logcat=*:v

kernel.newDeviceNaming = no

kernel.supportsYaffs2 = no

disk.ramdisk.path = /home/pengfei/android/system/out/target/product/n7100/ramdisk.img

disk.systemPartition.initPath = /home/pengfei/android/system/out/target/product/n7100/system.img

disk.systemPartition.size = 424m

disk.dataPartition.path = /home/pengfei/android/system/out/target/product/n7100/userdata-qemu.img

disk.dataPartition.size = 200m

avd.name = <build>

.

QEMU options list:

emulator: argv[00] = "/home/pengfei/android/system/prebuilts/android-emulator/linux-x86_64/emulator64-arm"

emulator: argv[01] = "-serial"

emulator: argv[02] = "stdio"

emulator: argv[03] = "-android-hw"

emulator: argv[04] = "/home/pengfei/android/system/out/target/product/n7100/hardware-qemu.ini"

Concatenated QEMU options:

/home/pengfei/android/system/prebuilts/android-emulator/linux-x86_64/emulator64-arm -serial stdio -android-hw /home/pengfei/android/system/out/target/product/n7100/hardware-qemu.ini

emulator: registered 'boot-properties' qemud service

emulator: Using kernel serial device prefix: ttyS

emulator: No fstab.goldfish file in ramdisk image

emulator: Probing system image file for partition type: /home/pengfei/android/system/out/target/product/n7100/system.img

emulator: system partition format: yaffs2

emulator: Mapping 'system' partition image to /tmp/android-pengfei/emulator-i5hKet

emulator: nand_add_dev: system,size=0x1a800000,file=/tmp/android-pengfei/emulator-i5hKet,initfile=/home/pengfei/android/system/out/target/product/n7100/system.img

emulator: rounding devsize up to a full eraseunit, now 1a81a000

emulator: Probing userdata image file for partition type: /home/pengfei/android/system/out/target/product/n7100/userdata-qemu.img

emulator: userdata partition format: yaffs2

emulator: nand_add_dev: userdata,size=0xc800000,file=/home/pengfei/android/system/out/target/product/n7100/userdata-qemu.img

emulator: rounding devsize up to a full eraseunit, now c810000

emulator: cache partition format: ext4

emulator: Mapping 'cache' partition image to /tmp/android-pengfei/emulator-OPFxL0

emulator: Creating empty cache partition image at: /tmp/android-pengfei/emulator-OPFxL0

Creating filesystem with parameters:

Size: 69206016

Block size: 4096

Blocks per group: 32768

Inodes per group: 4224

Inode size: 256

Journal blocks: 1024

Label:

Blocks: 16896

Block groups: 1

Reserved block group size: 7

Created filesystem with 11/4224 inodes and 1302/16896 blocks

emulator: nand_add_dev: cache,size=0x4200000,file=/tmp/android-pengfei/emulator-OPFxL0,pagesize=512,extrasize=0

emulator: registered 'boot-properties' qemud service

emulator: Adding boot property: 'dalvik.vm.heapsize' = '48m'

emulator: Adding boot property: 'ro.config.low_ram' = 'true'

emulator: Adding boot property: 'qemu.sf.lcd_density' = '160'

emulator: Adding boot property: 'qemu.hw.mainkeys' = '1'

emulator: Adding boot property: 'qemu.sf.fake_camera' = 'back'

emulator: Initializing hardware OpenGLES emulation support

emulator: Kernel parameters: qemu.gles=0 qemu=1 console=ttyS0 android.qemud=ttyS1 androidboot.console=ttyS2 android.checkjni=1

androidboot.logcat=*:v ndns=3

emulator: autoconfig: -scale 1

emulator: Forcing ro.adb.qemud to "0".

emulator: control console listening on port 5554, ADB on port 5555

emulator: sent '0012host:emulator:5555' to ADB server

emulator: ping program: /home/pengfei/android/system/prebuilts/android-emulator/linux-x86_64/ddms