Aosp build  mini_emulator_x86_64-userdebug/aosp_x86_64-eng-userdebug/emulator FAQ!

苏洛城
2023-12-01

AOSP$ lunch  mini_emulator_x86_64-userdebug

AOSP$$ source  build/envsetup.sh 

make 

>>>>> error: ro.build.fingerprint cannot exceed 91 bytes:  Android/mini_emulator_x86_64/mini-emulator-x86_64   (96)

>>>> Android build error: ro.build.fingerprint cannot exceed 91 bytes

 

# manually set BUILD_FINGERPRINT to short string in build 

 make -j64    BUILD_FINGERPRINT="Android/mini_emulator_x86_64/mini-emulator-x86_64:7.1.2/N2G47H/lake11020115"

 

FAQ 

Refer to https://developer.android.com/studio/run/emulator-commandline

1. For Linux host without acceleration

For Windows, please try install android-sdk-windows\extras\intel\Hardware_Accelerated_Execution_Manager

For no KVM/Linux

-no-accelDisable emulator VM acceleration when using an x86 or x86_64 system image. It's useful for debugging only and is the same as specifying -accel off. For example:

 

emulator @Nexus_5X_API_23 -no-accel

 

X86_64__host > ./prebuilts/android-emulator/linux-x86_64/emulator  -verbose   -show-kernel   -no-accel
.................

emulator: GPU emulation is disabled
emulator: CPU Acceleration: DISABLED
emulator: CPU Acceleration status: KVM is not installed on this machine (/dev/kvm is missing).
emulator: WARNING: x86_64 emulation may not work without hardware acceleration!

 

For acceleration by default, refer to (RHEL7 build AOSP8.1 Build aosp_x86_64-eng  https://blog.csdn.net/hushui/article/details/80882557 ) 

2. Print kernel log 

Print/log

-show-kernelDisplay kernel debug messages in the terminal window. For example:

 

emulator @Nexus_5X_API_23 -show-kernel

 

One use of this option is to check that the boot process works correctly.

-verbosePrint emulator initialization messages to the terminal window. For example:

 

emulator @Nexus_5X_API_23 -verbose

 

It displays which files and settings are actually selected when starting a virtual device defined in an AVD. This option is the same as specifying -debug-init.

 

-shell

Create a root shell console on the current terminal. It differs from the adb shell command in the following ways:

  • It creates a root shell that allows you to modify many parts of the system.
  • It works even if the adb daemon in the emulated system is broken.
  • Pressing Ctrl+C (⌘C) stops the emulator, instead of the shell.

For example:

emulator @Nexus_5X_API_23 -shell

3.    QEM1 VS QEMU2

The Android Emulator uses the Quick Emulator (QEMU) hypervisor. Initial versions of the Android Emulator used QEMU 1 (goldfish), and later versions use QEMU 2 (ranchu).

Refer to https://developer.android.com/studio/releases/emulator

The emulator now includes a headless build for 32-bit x86 guests (qemu-system-i386). This feature enables x86 32-bit images for API levels 26 and lower to run with the headless build. Note that for 32-bit x86 guests with API 27 and later, the emulator uses the 64-bit engine (qemu-system-x86_64) because in these system images, while the userspace is 32-bit, the kernel is 64-bit. Android Studio uses the kernel to select emulation engines.

-engine engine

Specify the emulator engine:

  • auto - Automatically select an engine (default).
  • classic - Use the older QEMU 1 engine.
  • qemu2 - Use the newer QEMU 2 engine.

For example:

 

emulator @Nexus_5X_API_23 -engine auto

 

Auto-detection should choose the value that provides the best performance when emulating a particular AVD. You should use the -engine option for debugging and comparison purposes only.

 

For emulator/Linux host(aosp7.1 build), please use -ranchu to start QEMU2

Note: 

https://developer.android.com/studio/releases/emulator#29.0.6-qemu1-win32

29.0.6 (May 1, 2019)

This update includes several new features, improvements to existing features, and bug fixes.

Removal of QEMU1 and 32-bit Windows support

To better maintain the emulator, we no longer ship QEMU1 and 32-bit Windows binaries. If you are using Windows 32-bit, you cannot upgrade to version 29.0.6.

 

4. Disable selinux in command line 

By default, SELinux is in enforcing mode,

[   2.970000] init: Service qemu-props does not have a SELinux domain defined.
[    2.970000] init: Starting service 'lmkd'...
[    2.980000] binder: 1033:1033 transaction failed 29189, size 0-0
[    2.990000] logd.daemon: reinit
[    3.010000] init: Starting service 'servicemanager'...
[    3.010000] init: Starting service 'surfaceflinger'...
[    3.010000] init: Service 'logd-reinit' (pid 1032) exited with statu

..................

[    4.360000] init: Service 'audioserver' is being killed...
[    4.360000] init: Service 'cameraserver' is being killed...
[    4.370000] init: Service 'media' is being killed...
[    4.380000] init: Service 'netd' is being killed...
[    4.380000] init: Service 'audioserver' (pid 1044) killed by signal 9
[    4.380000] init: Service 'audioserver' (pid 1044) killing any children in process group
[    4.390000] init: Service 'cameraserver' (pid 1045) killed by signal 9
[    4.420000] init: Service 'cameraserver' (pid 1045) killing any children in process group
[    4.420000] init: Service 'media' (pid 1052) killed by signal 9
[    4.420000] init: Service 'media' (pid 1052) killing any children in process group
[    4.440000] init: Service 'netd' (pid 1053) killed by signal 9
[    4.440000] init: Service 'netd' (pid 1053) killing any children in process group
[    4.440000] init: Untracked pid 1075 exited with status 0

-selinux {disabled|permissive}Set the Security-Enhanced Linux (SELinux) security module to either disabled or permissive mode on a Linux operating system. For example:

 

me-linux$ emulator @Nexus_5X_API_23 -selinux permissive

 

By default, SELinux is in enforcing mode, meaning the security policy is enforced. permissive mode loads the SELinux policy, but doesn't enforce it; it just logs policy violations. disabled mode disables kernel support for SELinux.

 

 

 

lake@localhost:~/local/git-aosp-AndroidN7.1.x$ prebuilts/android-emulator/linux-x86_64/emulator64-ranchu-x86_64
emulator: WARNING: system partition size adjusted to match image file (750 MB > 200 MB)

emulator: WARNING: data partition size adjusted to match image file (550 MB > 200 MB)

emulator: WARNING: Increasing RAM size to 1GB
emulator: ERROR: x86_64 emulation currently requires hardware acceleration!
Please ensure KVM is properly installed and usable.
CPU acceleration status: KVM is not installed on this machine (/dev/kvm is missing).
lake@localhost:~/local/git-aosp-AndroidN7.1.x$ prebuilts/android-emulator/linux-x86_64/emulator64-ranchu-x86_64   -verbose   -show-kernel     -no-accel
emulator: found Android build root: /localrepo/jhula/git-aosp-AndroidN7.1.x
emulator: found Android build out:  /localrepo/jhula/git-aosp-AndroidN7.1.x/out/target/product/mini-emulator-x86_64
emulator: Read property file at /localrepo/jhula/git-aosp-AndroidN7.1.x/out/target/product/mini-emulator-x86_64/system/build.prop
emulator: Cannot find boot properties file: /localrepo/jhula/git-aosp-AndroidN7.1.x/out/target/product/mini-emulator-x86_64/boot.prop

emulator: Found target API sdkVersion: 25

emulator: virtual device has no config file - no problem
emulator: using core hw config path: /localrepo/jhula/git-aosp-AndroidN7.1.x/out/target/product/mini-emulator-x86_64/hardware-qemu.ini
emulator: found skin-specific hardware.ini: /localrepo/jhula/git-aosp-AndroidN7.1.x/development/tools/emulator/skins/HVGA/hardware.ini
emulator: autoconfig: -kernel /localrepo/jhula/git-aosp-AndroidN7.1.x/out/target/product/mini-emulator-x86_64/kernel
emulator: Target arch = 'x86_64'
emulator: Auto-detect: Kernel image requires new device naming scheme.
emulator: Auto-detect: Kernel does not support YAFFS2 partitions.
emulator: autoconfig: -ramdisk /localrepo/jhula/git-aosp-AndroidN7.1.x/out/target/product/mini-emulator-x86_64/ramdisk.img
emulator: autoconfig: -sysdir /localrepo/jhula/git-aosp-AndroidN7.1.x/out/target/product/mini-emulator-x86_64
emulator: Using initial system image: /localrepo/jhula/git-aosp-AndroidN7.1.x/out/target/product/mini-emulator-x86_64/system.img
emulator: WARNING: system partition size adjusted to match image file (750 MB > 200 MB)

emulator: autoconfig: -data /localrepo/jhula/git-aosp-AndroidN7.1.x/out/target/product/mini-emulator-x86_64/userdata-qemu.img
emulator: autoconfig: -initdata /localrepo/jhula/git-aosp-AndroidN7.1.x/out/target/product/mini-emulator-x86_64/userdata.img
emulator: WARNING: data partition size adjusted to match image file (550 MB > 200 MB)

emulator: autoconfig: -cache /localrepo/jhula/git-aosp-AndroidN7.1.x/out/target/product/mini-emulator-x86_64/cache.img
emulator: WARNING: Increasing RAM size to 1GB
emulator: Physical RAM size: 1024MB

emulator: GPU emulation is disabled
emulator: QEMU EXECUTABLE=prebuilts/android-emulator/linux-x86_64/qemu/linux-x86_64/qemu-system-x86_64

emulator: CPU Acceleration: DISABLED
emulator: CPU Acceleration status: KVM is not installed on this machine (/dev/kvm is missing).
emulator: WARNING: x86_64 emulation may not work without hardware acceleration!

QEMU options list:
emulator: argv[00] = "prebuilts/android-emulator/linux-x86_64/qemu/linux-x86_64/qemu-system-x86_64"
emulator: argv[01] = "-cpu"
emulator: argv[02] = "qemu64"
emulator: argv[03] = "-m"
emulator: argv[04] = "1024"
emulator: argv[05] = "-append"
emulator: argv[06] = "qemu=1 console=ttyS0,38400 androidboot.hardware=ranchu qemu.gles=0"
emulator: argv[07] = "-lcd-density"
emulator: argv[08] = "160"
emulator: argv[09] = "-serial"
emulator: argv[10] = "mon:stdio"
emulator: argv[11] = "-kernel"
emulator: argv[12] = "/localrepo/jhula/git-aosp-AndroidN7.1.x/out/target/product/mini-emulator-x86_64/kernel"
emulator: argv[13] = "-initrd"
emulator: argv[14] = "/localrepo/jhula/git-aosp-AndroidN7.1.x/out/target/product/mini-emulator-x86_64/ramdisk.img"
emulator: argv[15] = "-drive"
emulator: argv[16] = "if=none,index=0,id=system,file=/localrepo/jhula/git-aosp-AndroidN7.1.x/out/target/product/mini-emulator-x86_64/system.img"
emulator: argv[17] = "-device"
emulator: argv[18] = "virtio-blk-pci,drive=system"
emulator: argv[19] = "-drive"
emulator: argv[20] = "if=none,index=1,id=cache,file=/localrepo/jhula/git-aosp-AndroidN7.1.x/out/target/product/mini-emulator-x86_64/cache.img"
emulator: argv[21] = "-device"
emulator: argv[22] = "virtio-blk-pci,drive=cache"
emulator: argv[23] = "-drive"
emulator: argv[24] = "if=none,index=2,id=userdata,file=/localrepo/jhula/git-aosp-AndroidN7.1.x/out/target/product/mini-emulator-x86_64/userdata-qemu.img"
emulator: argv[25] = "-device"
emulator: argv[26] = "virtio-blk-pci,drive=userdata"
emulator: argv[27] = "-netdev"
emulator: argv[28] = "user,id=mynet"
emulator: argv[29] = "-device"
emulator: argv[30] = "virtio-net-pci,netdev=mynet"
emulator: argv[31] = "-show-cursor"
emulator: argv[32] = "-L"
emulator: argv[33] = "prebuilts/android-emulator/linux-x86_64/lib/pc-bios"
emulator: argv[34] = "-vga"
emulator: argv[35] = "none"
Concatenated QEMU options:
 prebuilts/android-emulator/linux-x86_64/qemu/linux-x86_64/qemu-system-x86_64 -cpu qemu64 -m 1024 -append 'qemu=1 console=ttyS0,38400 androidboot.hardware=ranchu qemu.gles=0' -lcd-density 160 -serial mon:stdio -kernel /localrepo/jhula/git-aosp-AndroidN7.1.x/out/target/product/mini-emulator-x86_64/kernel -initrd /localrepo/jhula/git-aosp-AndroidN7.1.x/out/target/product/mini-emulator-x86_64/ramdisk.img -drive if=none,index=0,id=system,file=/localrepo/jhula/git-aosp-AndroidN7.1.x/out/target/product/mini-emulator-x86_64/system.img -device virtio-blk-pci,drive=system -drive if=none,index=1,id=cache,file=/localrepo/jhula/git-aosp-AndroidN7.1.x/out/target/product/mini-emulator-x86_64/cache.img -device virtio-blk-pci,drive=cache -drive if=none,index=2,id=userdata,file=/localrepo/jhula/git-aosp-AndroidN7.1.x/out/target/product/mini-emulator-x86_64/userdata-qemu.img -device virtio-blk-pci,drive=userdata -netdev user,id=mynet -device virtio-net-pci,netdev=mynet -show-cursor -L prebuilts/android-emulator/linux-x86_64/lib/pc-bios -vga none
console on port 5554, ADB on port 5555
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.0+ (android-build@wphq4.hot.corp.google.com) (gcc version 4.9 20140827 (prerelease) (GCC) ) #1 PREEMPT Thu Jan 26 20:44:06 UTC 2017
[    0.000000] Command line: qemu=1 console=ttyS0,38400 androidboot.hardware=ranchu qemu.gles=0
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000003ffdffff] usable
[    0.000000] BIOS-e820: [mem 0x000000003ffe0000-0x000000003fffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.8 present.
[    0.000000] No AGP bridge found
[    0.000000] e820: last_pfn = 0x3ffe0 max_arch_pfn = 0x400000000
[    0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
[    0.000000] found SMP MP-table at [mem 0x000f0e80-0x000f0e8f] mapped at [ffff8800000f0e80]
[    0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
[    0.000000] init_memory_mapping: [mem 0x3fc00000-0x3fdfffff]
[    0.000000] init_memory_mapping: [mem 0x3c000000-0x3fbfffff]
[    0.000000] init_memory_mapping: [mem 0x00100000-0x3bffffff]
[    0.000000] init_memory_mapping: [mem 0x3fe00000-0x3ffdffff]
[    0.000000] cma: CMA: reserved 16 MiB at 3ec00000
[    0.000000] RAMDISK: [mem 0x3fe35000-0x3ffdffff]
[    0.000000] ACPI: RSDP 00000000000f0c80 00014 (v00 BOCHS )
[    0.000000] ACPI: RSDT 000000003ffe1a4a 00034 (v01 BOCHS  BXPCRSDT 00000001 BXPC 00000001)
[    0.000000] ACPI: FACP 000000003ffe1033 00074 (v01 BOCHS  BXPCFACP 00000001 BXPC 00000001)
[    0.000000] ACPI: DSDT 000000003ffe0040 00FF3 (v01 BOCHS  BXPCDSDT 00000001 BXPC 00000001)
[    0.000000] ACPI: FACS 000000003ffe0000 00040
[    0.000000] ACPI: SSDT 000000003ffe10a7 008F3 (v01 BOCHS  BXPCSSDT 00000001 BXPC 00000001)
[    0.000000] ACPI: APIC 000000003ffe199a 00078 (v01 BOCHS  BXPCAPIC 00000001 BXPC 00000001)
[    0.000000] ACPI: HPET 000000003ffe1a12 00038 (v01 BOCHS  BXPCHPET 00000001 BXPC 00000001)
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x00001000-0x00ffffff]
[    0.000000]   DMA32    [mem 0x01000000-0xffffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00001000-0x0009efff]
[    0.000000]   node   0: [mem 0x00100000-0x3ffdffff]
[    0.000000] ACPI: PM-Timer IO Port: 0x608
[    0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[    0.000000] ACPI: IOAPIC (id[0x00] address[0xfec00000] gsi_base[0])
[    0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[    0.000000] e820: [mem 0x40000000-0xfffbffff] available for PCI devices
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 257896
[    0.000000] Kernel command line: qemu=1 console=ttyS0,38400 androidboot.hardware=ranchu qemu.gles=0
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Checking aperture...
[    0.000000] No AGP bridge found
[    0.000000] Memory: 999228k/1048448k available (5903k kernel code, 392k absent, 48828k reserved, 5130k data, 840k init)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  CONFIG_RCU_FANOUT set to non-default value of 32
[    0.000000] NR_IRQS:4352 nr_irqs:256 16
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [ttyS0] enabled
[    0.000000] tsc: Fast TSC calibration using PIT
[    0.000000] tsc: Detected 3407.986 MHz processor
[    0.020154] Calibrating delay loop (skipped), value calculated using timer frequency.. 6815.97 BogoMIPS (lpj=34079860)
[    0.020789] pid_max: default: 32768 minimum: 301
[    0.021445] Security Framework initialized
[    0.022092] SELinux:  Initializing.
[    0.022993] Mount-cache hash table entries: 256
[    0.028804] Initializing cgroup subsys debug
[    0.029044] Initializing cgroup subsys freezer
[    0.030871] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.030871] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.030871] tlb_flushall_shift: -1
[    0.031207] CPU: AMD QEMU Virtual CPU version 2.2.0 (fam: 06, model: 06, stepping: 03)
[    0.032411] ACPI: Core revision 20130328
[    0.043745] ACPI: All ACPI Tables successfully acquired
[    0.049341] Performance Events: Broken PMU hardware detected, using software events only.
[    0.049728] Failed to access perfctr msr (MSR c0010004 is 0)
[    0.055651] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.160000] NET: Registered protocol family 16
 

 

 

5.  Full log for aosp_x86_64-eng with KVM enabled, need ROOT priveledge!!

lake@lake-Latitude-5491:~/git-aosp-AndroidN7.1.x$ su  -  root
Password: 
root@lake-Latitude-5491:~# cd ~lake/git-aosp-AndroidN7.1.x/
root@lake-Latitude-5491:/home/lake/git-aosp-AndroidN7.1.x# source  build/envsetup.sh 
including device/asus/fugu/vendorsetup.sh
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-mips64/vendorsetup.sh
including device/generic/mini-emulator-mips/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including device/google/dragon/vendorsetup.sh
including device/google/marlin/vendorsetup.sh
including device/htc/flounder/vendorsetup.sh
including device/huawei/angler/vendorsetup.sh
including device/lge/bullhead/vendorsetup.sh
including device/linaro/hikey/vendorsetup.sh
including device/moto/shamu/vendorsetup.sh
including sdk/bash_completion/adb.bash
root@lake-Latitude-5491:/home/lake/git-aosp-AndroidN7.1.x# lunch 

You're building on Linux

Lunch menu... pick a combo:
     1. aosp_arm-eng
     2. aosp_arm64-eng
     3. aosp_mips-eng
     4. aosp_mips64-eng
     5. aosp_x86-eng
     6. aosp_x86_64-eng
     7. full_fugu-userdebug
     8. aosp_fugu-userdebug
     9. mini_emulator_arm64-userdebug
     10. m_e_arm-userdebug
     11. m_e_mips64-eng
     12. m_e_mips-userdebug
     13. mini_emulator_x86_64-userdebug
     14. mini_emulator_x86-userdebug
     15. aosp_dragon-userdebug
     16. aosp_dragon-eng
     17. aosp_marlin-userdebug
     18. aosp_sailfish-userdebug
     19. aosp_flounder-userdebug
     20. aosp_angler-userdebug
     21. aosp_bullhead-userdebug
     22. hikey-userdebug
     23. aosp_shamu-userdebug

Which would you like? [aosp_arm-eng] aosp_x86_64-eng

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
TARGET_PRODUCT=aosp_x86_64
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=x86_64
TARGET_ARCH_VARIANT=x86_64
TARGET_CPU_VARIANT=
TARGET_2ND_ARCH=x86
TARGET_2ND_ARCH_VARIANT=x86
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-29-generic-x86_64-with-Ubuntu-18.04-bionic
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=N2G47T
OUT_DIR=out
============================================
root@lake-Latitude-5491:/home/lake/git-aosp-AndroidN7.1.x#  /home/lake/git-aosp-AndroidN7.1.x/prebuilts/android-emulator/linux-x86_64/emulator64-x86 -verbose -show-kernel
emulator: found Android build root: /home/lake/git-aosp-AndroidN7.1.x
emulator: found Android build out:  /home/lake/git-aosp-AndroidN7.1.x/out/target/product/generic_x86_64
emulator: Read property file at /home/lake/git-aosp-AndroidN7.1.x/out/target/product/generic_x86_64/system/build.prop
emulator: Cannot find boot properties file: /home/lake/git-aosp-AndroidN7.1.x/out/target/product/generic_x86_64/boot.prop

emulator: Found target API sdkVersion: 25

emulator: virtual device has no config file - no problem
emulator: using core hw config path: /home/lake/git-aosp-AndroidN7.1.x/out/target/product/generic_x86_64/hardware-qemu.ini
emulator: found skin-specific hardware.ini: /home/lake/git-aosp-AndroidN7.1.x/development/tools/emulator/skins/HVGA/hardware.ini
emulator: autoconfig: -skin HVGA
emulator: autoconfig: -skindir /home/lake/git-aosp-AndroidN7.1.x/development/tools/emulator/skins
emulator: found skin-specific hardware.ini: /home/lake/git-aosp-AndroidN7.1.x/development/tools/emulator/skins/HVGA/hardware.ini

emulator: writing default keyset file to /root/.android/default.keyset
emulator: write_default_keyset: could not create file: No such file or directory
emulator: trying to load skin file '/home/lake/git-aosp-AndroidN7.1.x/development/tools/emulator/skins/HVGA/layout'
emulator: skin network speed: 'full'
emulator: skin network delay: 'none'
emulator: autoconfig: -kernel /home/lake/git-aosp-AndroidN7.1.x/out/target/product/generic_x86_64/kernel-qemu
emulator: Target arch = 'x86_64'
emulator: Auto-detect: Kernel image requires new device naming scheme.
emulator: Auto-detect: Kernel does not support YAFFS2 partitions.
emulator: autoconfig: -ramdisk /home/lake/git-aosp-AndroidN7.1.x/out/target/product/generic_x86_64/ramdisk.img
emulator: autoconfig: -sysdir /home/lake/git-aosp-AndroidN7.1.x/out/target/product/generic_x86_64
emulator: Using initial system image: /home/lake/git-aosp-AndroidN7.1.x/out/target/product/generic_x86_64/system.img
emulator: WARNING: system partition size adjusted to match image file (2048 MB > 200 MB)

emulator: autoconfig: -data /home/lake/git-aosp-AndroidN7.1.x/out/target/product/generic_x86_64/userdata-qemu.img
emulator: autoconfig: -initdata /home/lake/git-aosp-AndroidN7.1.x/out/target/product/generic_x86_64/userdata.img
emulator: WARNING: data partition size adjusted to match image file (550 MB > 200 MB)

emulator: autoconfig: -cache /home/lake/git-aosp-AndroidN7.1.x/out/target/product/generic_x86_64/cache.img
emulator: WARNING: Increasing RAM size to 1GB
emulator: Physical RAM size: 1024MB

emulator: GPU emulation is disabled
emulator: CPU Acceleration: working
emulator: CPU Acceleration status: KVM (version 12) is installed and usable.
Content of hardware configuration file:
  hw.cpu.arch = x86
  hw.ramSize = 1024
  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/lake/git-aosp-AndroidN7.1.x/out/target/product/generic_x86_64/cache.img
  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.gpu.mode = auto
  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/lake/git-aosp-AndroidN7.1.x/out/target/product/generic_x86_64/kernel-qemu
  kernel.parameters =  androidboot.hardware=goldfish clocksource=pit android.checkjni=1
  kernel.newDeviceNaming = yes
  kernel.supportsYaffs2 = no
  disk.ramdisk.path = /home/lake/git-aosp-AndroidN7.1.x/out/target/product/generic_x86_64/ramdisk.img
  disk.systemPartition.initPath = /home/lake/git-aosp-AndroidN7.1.x/out/target/product/generic_x86_64/system.img
  disk.systemPartition.size = 2g
  disk.dataPartition.path = /home/lake/git-aosp-AndroidN7.1.x/out/target/product/generic_x86_64/userdata-qemu.img
  disk.dataPartition.size = 550m
  avd.name = <build>
.
QEMU options list:
emulator: argv[00] = "/home/lake/git-aosp-AndroidN7.1.x/prebuilts/android-emulator/linux-x86_64/emulator64-x86"
emulator: argv[01] = "-show-kernel"
emulator: argv[02] = "-enable-kvm"
emulator: argv[03] = "-android-hw"

emulator: argv[04] = "/home/lake/git-aosp-AndroidN7.1.x/out/target/product/generic_x86_64/hardware-qemu.ini"
Concatenated QEMU options:
 /home/lake/git-aosp-AndroidN7.1.x/prebuilts/android-emulator/linux-x86_64/emulator64-x86 -show-kernel -enable-kvm -android-hw /home/lake/git-aosp-AndroidN7.1.x/out/target/product/generic_x86_64/hardware-qemu.ini
emulator: Starting QEMU main loop
emulator:     trying to find: /home/lake/git-aosp-AndroidN7.1.x/prebuilts/android-emulator/linux-x86_64/lib/ca-bundle.pem

emulator: registered 'boot-properties' qemud service
emulator: Using kernel serial device prefix: ttyGF
emulator: Ramdisk image contains fstab.goldfish file
emulator: Found format of system partition: 'ext4'
emulator: Found format of userdata partition: 'ext4'
emulator: Found format of cache partition: 'ext4'
emulator: system partition format: ext4
emulator: Mapping 'system' partition image to /tmp/android-root/emulator-zkBk45
emulator: nand_add_dev: system,size=0x80000000,file=/tmp/android-root/emulator-zkBk45,initfile=/home/lake/git-aosp-AndroidN7.1.x/out/target/product/generic_x86_64/system.img,pagesize=512,extrasize=0
emulator: userdata partition format: ext4
emulator: nand_add_dev: userdata,size=0x22600000,file=/home/lake/git-aosp-AndroidN7.1.x/out/target/product/generic_x86_64/userdata-qemu.img,pagesize=512,extrasize=0
emulator: cache partition format: ext4
emulator: nand_add_dev: cache,size=0x4200000,file=/home/lake/git-aosp-AndroidN7.1.x/out/target/product/generic_x86_64/cache.img,pagesize=512,extrasize=0
emulator: registered 'boot-properties' qemud service
emulator: Adding boot property: 'dalvik.vm.heapsize' = '48m'
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: Kernel parameters: qemu.gles=0 qemu=1 console=ttyGF0 android.qemud=ttyGF1 androidboot.hardware=goldfish clocksource=pit android.checkjni=1 ndns=1
emulator:     trying to find: /home/lake/git-aosp-AndroidN7.1.x/prebuilts/android-emulator/linux-x86_64/bios.bin

emulator:     trying to find: /home/lake/git-aosp-AndroidN7.1.x/prebuilts/android-emulator/linux-x86_64/lib/pc-bios/bios.bin

emulator:     trying to find: /home/lake/git-aosp-AndroidN7.1.x/prebuilts/android-emulator/linux-x86_64/vgabios-cirrus.bin

emulator:     trying to find: /home/lake/git-aosp-AndroidN7.1.x/prebuilts/android-emulator/linux-x86_64/lib/pc-bios/vgabios-cirrus.bin

emulator: autoconfig: -scale 1
serial0 console
emulator: Forcing ro.adb.qemud to "0".
emulator: control console listening on port 5554, ADB on port 5555
emulator: can't connect to ADB server: Transport endpoint is not connected (errno = 107)
emulator: android_hw_fingerprint_init: fingerprint qemud listen service initialized

emulator: Failed to parse .AndroidStudio preferences file usage.statistics.xml
emulator: Defaulting user crash-report opt-in to false
emulator: Skipping metrics reporting: No user opt-in.
emulator: UpdateCheck: current version 'invalid', last version '24.4.1'
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.0+ (android-build@wphq4.hot.corp.google.com) (gcc version 4.9 20140827 (prerelease) (GCC) ) #1 PREEMPT Thu Jan 26 20:44:06 UTC 2017
[    0.000000] Command line: qemu.gles=0 qemu=1 console=ttyGF0 android.qemud=ttyGF1 androidboot.hardware=goldfish clocksource=pit android.checkjni=1 ndns=1
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009efff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009f000-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000e8000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000003ffeffff] usable
[    0.000000] BIOS-e820: [mem 0x000000003fff0000-0x000000003fffffff] ACPI data
[    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.4 present.
[    0.000000] No AGP bridge found
[    0.000000] e820: last_pfn = 0x3fff0 max_arch_pfn = 0x400000000
[    0.000000] PAT not supported by CPU.
[    0.000000] found SMP MP-table at [mem 0x000fbae0-0x000fbaef] mapped at [ffff8800000fbae0]
[    0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
[    0.000000] init_memory_mapping: [mem 0x3fc00000-0x3fdfffff]
[    0.000000] init_memory_mapping: [mem 0x3c000000-0x3fbfffff]
[    0.000000] init_memory_mapping: [mem 0x00100000-0x3bffffff]
[    0.000000] init_memory_mapping: [mem 0x3fe00000-0x3ffeffff]
[    0.000000] cma: CMA: reserved 16 MiB at 3ec00000
[    0.000000] RAMDISK: [mem 0x3fe44000-0x3ffeffff]
[    0.000000] ACPI BIOS Bug: Error: A valid RSDP was not found (20130328/tbxfroot-218)
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x00001000-0x00ffffff]
[    0.000000]   DMA32    [mem 0x01000000-0xffffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00001000-0x0009efff]
[    0.000000]   node   0: [mem 0x00100000-0x3ffeffff]
[    0.000000] Intel MultiProcessor Specification v1.4
[    0.000000] MPTABLE: OEM ID: QEMUCPU 
[    0.000000] MPTABLE: Product ID: 0.1         
[    0.000000] MPTABLE: APIC at: 0xFEE00000
[    0.000000] Processor #0 (Bootup-CPU)
[    0.000000] IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-23
[    0.000000] Processors: 1
[    0.000000] e820: [mem 0x40000000-0xfffbffff] available for PCI devices
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 257912
[    0.000000] Kernel command line: qemu.gles=0 qemu=1 console=ttyGF0 android.qemud=ttyGF1 androidboot.hardware=goldfish clocksource=pit android.checkjni=1 ndns=1
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Checking aperture...
[    0.000000] No AGP bridge found
[    0.000000] Memory: 999288k/1048512k available (5903k kernel code, 392k absent, 48832k reserved, 5130k data, 840k init)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]     CONFIG_RCU_FANOUT set to non-default value of 32
[    0.000000] NR_IRQS:4352 nr_irqs:256 16
[    0.000000] Console: colour dummy device 80x25
[    0.000000] tsc: Fast TSC calibration failed
[    0.000000] tsc: Unable to calibrate against PIT
[    0.000000] tsc: No reference (HPET/PMTIMER) available
[    0.000000] tsc: Marking TSC unstable due to could not calculate TSC khz
[    0.070000] Calibrating delay loop... 6745.29 BogoMIPS (lpj=33726464)
[    0.070000] pid_max: default: 32768 minimum: 301
[    0.070000] Security Framework initialized
[    0.070000] SELinux:  Initializing.
[    0.070000] Mount-cache hash table entries: 256
[    0.070000] Initializing cgroup subsys debug
[    0.070000] Initializing cgroup subsys freezer
[    0.070000] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.070000] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.070000] tlb_flushall_shift: 6
[    0.070000] CPU: Intel QEMU Virtual CPU version 0.10.50 (fam: 06, model: 02, stepping: 03)
[    0.070000] Performance Events: unsupported p6 CPU model 2 no PMU driver, software events only.
[    0.070000] ------------[ cut here ]------------
[    0.070000] WARNING: at /usr/local/google/buildbot/src/partner-android/n-dev-android-goldfish-3.10-x86_64-qemu1/goldfish/arch/x86/kernel/apic/apic.c:1370 setup_local_APIC+0x18f/0x25d()
[    0.070000] CPU: 0 PID: 1 Comm: swapper Not tainted 3.10.0+ #1
[    0.070000] Hardware name:  , BIOS QEMU 01/01/2007
[    0.070000]  000000000000055a ffff88003e833e68 ffffffff815bae53 ffff88003e833e98
[    0.070000]  ffffffff8102703b 0000000000000000 0000000000000000 0000000000000000
[    0.070000]  0000000000000000 ffff88003e833ee8 ffffffff81b1d9c5 ffff88003e833ec8
[    0.070000] Call Trace:
[    0.070000]  [<ffffffff815bae53>] dump_stack+0x19/0x1b
[    0.070000]  [<ffffffff8102703b>] warn_slowpath_null+0x3e/0x52
[    0.070000]  [<ffffffff81b1d9c5>] setup_local_APIC+0x18f/0x25d
[    0.070000]  [<ffffffff81ad619f>] APIC_init_uniprocessor+0x9e/0xf2
[    0.070000]  [<ffffffff81ac8de5>] kernel_init_freeable+0x63/0x180
[    0.070000]  [<ffffffff815b659a>] ? rest_init+0x7e/0x7e
[    0.070000]  [<ffffffff815b65a3>] kernel_init+0x9/0xd1
[    0.070000]  [<ffffffff815bfeaa>] ret_from_fork+0x7a/0xb0
[    0.070000]  [<ffffffff815b659a>] ? rest_init+0x7e/0x7e
[    0.070000] ---[ end trace a050cf8734eebd2b ]---
[    0.090000] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.310000] NET: Registered protocol family 16
[    0.310000] PCI: Using configuration type 1 for base access
[    0.310000] bio: create slab <bio-0> at 0
[    0.310000] ACPI: Interpreter disabled.
[    0.310000] vgaarb: loaded
[    0.310000] SCSI subsystem initialized
[    0.310000] usbcore: registered new interface driver usbfs
[    0.310000] usbcore: registered new interface driver hub
[    0.310000] usbcore: registered new device driver usb
[    0.310000] pps_core: LinuxPPS API ver. 1 registered
[    0.310000] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.310000] PTP clock support registered
[    0.310000] Advanced Linux Sound Architecture Driver Initialized.
[    0.310000] PCI: Probing PCI hardware
[    0.310000] PCI host bridge to bus 0000:00
[    0.310000] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.310000] pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffffff]
[    0.310000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.310000] pci 0000:00:01.0: PIIX/ICH IRQ router [8086:7000]
[    0.310000] cfg80211: Calling CRDA to update world regulatory domain
[    0.310000] NetLabel: Initializing
[    0.310000] NetLabel:  domain hash size = 128
[    0.310000] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.310000] NetLabel:  unlabeled traffic allowed by default
[    0.310000] Switching to clocksource refined-jiffies
[    0.320000] pnp: PnP ACPI: disabled
[    0.320000] NET: Registered protocol family 2
[    0.320000] TCP established hash table entries: 8192 (order: 5, 131072 bytes)
[    0.320000] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.320000] TCP: Hash tables configured (established 8192 bind 8192)
[    0.320000] TCP: reno registered
[    0.320000] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.320000] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.320000] NET: Registered protocol family 1
[    0.320000] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    0.320000] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[    0.320000] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[    0.320000] Trying to unpack rootfs image as initramfs...
[    0.340000] Freeing initrd memory: 1712k freed
[    0.340000] platform rtc_cmos: registered platform RTC device (no PNP device found)
[    0.340000] audit: initializing netlink socket (disabled)
[    0.340000] type=2000 audit(1573902190.340:1): initialized
[    0.340000] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.340000] VFS: Disk quotas dquot_6.5.2
[    0.340000] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.340000] fuse init (API version 7.22)
[    0.340000] msgmni has been set to 1987
[    0.340000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.340000] io scheduler noop registered
[    0.340000] io scheduler deadline registered
[    0.340000] io scheduler cfq registered (default)
[    0.340000] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    0.340000] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.340000] Non-volatile memory driver v1.3
[    0.340000] Linux agpgart interface v0.103
[    0.340000] [drm] Initialized drm 1.1.0 20060810
[    0.340000] brd: module loaded
[    0.340000] loop: module loaded
[    0.340000] Loading iSCSI transport class v2.0-870.
[    0.340000] tun: Universal TUN/TAP device driver, 1.6
[    0.340000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    0.340000] ne2k-pci.c:v1.03 9/22/2003 D. Becker/P. Gortmaker
[    0.340000] ne2k-pci 0000:00:02.0: can't find IRQ for PCI INT A; probably buggy MP table
[    0.340000] eth0: RealTek RTL-8029 found at 0xc000, IRQ 9, 52:54:00:12:34:56.
[    0.340000] e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
[    0.340000] e100: Copyright(c) 1999-2006 Intel Corporation
[    0.340000] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[    0.340000] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    0.340000] e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
[    0.340000] e1000e: Copyright(c) 1999 - 2013 Intel Corporation.
[    0.340000] sky2: driver version 1.30
[    0.340000] PPP generic driver version 2.4.2
[    0.340000] PPP BSD Compression module registered
[    0.340000] PPP Deflate Compression module registered
[    0.340000] PPP MPPE Compression module registered
[    0.340000] NET: Registered protocol family 24
[    0.340000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.340000] ehci-pci: EHCI PCI platform driver
[    0.340000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.340000] uhci_hcd: USB Universal Host Controller Interface driver
[    0.340000] usbcore: registered new interface driver usblp
[    0.340000] usbcore: registered new interface driver usb-storage
[    0.340000] mousedev: PS/2 mouse device common for all mice
[    0.350000] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[    0.350000] rtc_cmos rtc_cmos: alarms up to one day, 114 bytes nvram
[    0.350000] device-mapper: uevent: version 1.0.3
[    0.350000] device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-devel@redhat.com
[    0.350000] cpuidle: using governor ladder
[    0.350000] cpuidle: using governor menu
[    0.350000] hidraw: raw HID events driver (C) Jiri Kosina
[    0.350000] usbcore: registered new interface driver usbhid
[    0.350000] usbhid: USB HID core driver
[    0.350000] ashmem: initialized
[    0.350000] u32 classifier
[    0.350000]     Actions configured
[    0.350000] Netfilter messages via NETLINK v0.30.
[    0.350000] nf_conntrack version 0.5.0 (7948 buckets, 31792 max)
[    0.350000] ctnetlink v0.93: registering with nfnetlink.
[    0.350000] NF_TPROXY: Transparent proxy support initialized, version 4.1.0
[    0.350000] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
[    0.350000] xt_time: kernel timezone is -0000
[    0.350000] ip_tables: (C) 2000-2006 Netfilter Core Team
[    0.350000] arp_tables: (C) 2002 David S. Miller
[    0.350000] TCP: cubic registered
[    0.350000] Initializing XFRM netlink socket
[    0.350000] NET: Registered protocol family 10
[    0.350000] mip6: Mobile IPv6
[    0.350000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    0.350000] sit: IPv6 over IPv4 tunneling driver
[    0.350000] NET: Registered protocol family 17
[    0.350000] NET: Registered protocol family 15
[    0.350000] registered taskstats version 1
[    0.350000] console [netcon0] enabled
[    0.350000] netconsole: network logging started
[    0.360000] ALSA device list:
[    0.360000]   No soundcards found.

[    0.360000] Freeing unused kernel memory: 840k freed
[    0.360000] Write protecting the kernel read-only data: 10240k
[    0.360000] Freeing unused kernel memory: 228k freed
[    0.360000] Freeing unused kernel memory: 1872k freed
[    0.360000] init: init first stage started!
[    0.370000] console [ttyGF0] enabled
goldfish_fb_get_pixel_format:170: display surface,pixel format:
  bits/pixel:  16
  bytes/pixel: 2
  depth:       16
  red:         bits=5 mask=0xf800 shift=11 max=0x1f
  green:       bits=6 mask=0x7e0 shift=5 max=0x3f
  blue:        bits=5 mask=0x1f shift=0 max=0x1f
  alpha:       bits=0 mask=0x0 shift=0 max=0x0
[    0.370000] input: qwerty2 as /devices/platform/goldfish_events.0/input/input0
[    0.390000] type=1403 audit(1573902190.390:2): policy loaded auid=4294967295 ses=4294967295
[    0.390000] type=1404 audit(1573902190.390:3): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295
[    0.420000] init: (Initializing SELinux enforcing took 0.06s.)
[    0.420000] init: init second stage started!
[    0.420000] init: Running restorecon...
[    0.420000] init: waitpid failed: No child processes
[    0.420000] init: (Loading properties from /default.prop took 0.00s.)
[    0.420000] init: (Parsing /init.environ.rc took 0.00s.)
[    0.420000] init: (Parsing /init.usb.rc took 0.00s.)
[    0.420000] init: (Parsing /init.goldfish.rc took 0.00s.)
[    0.420000] init: (Parsing /init.usb.configfs.rc took 0.00s.)
[    0.420000] init: (Parsing /init.zygote64_32.rc took 0.00s.)
[    0.420000] init: (Parsing /init.rc took 0.00s.)
[    0.420000] init: Starting service 'ueventd'...
[    0.420000] init: Waiting for /dev/.coldboot_done...
[    0.420000] ueventd: ueventd started!
[    0.440000] ueventd: Coldboot took 0.02s.
[    0.460000] init: Waiting for /dev/.coldboot_done took 0.04s.
[    0.460000] init: /dev/hw_random not found
[    0.460000] init: write_file: Unable to open '/proc/sys/kernel/hung_task_timeout_secs': No such file or directory
[    0.460000] init: write_file: Unable to open '/proc/cpu/alignment': No such file or directory
[    0.460000] init: write_file: Unable to open '/proc/sys/kernel/sched_tunable_scaling': No such file or directory
[    0.460000] init: write_file: Unable to open '/proc/sys/abi/swp': No such file or directory
[    0.460000] init: /dev/hw_random not found
[    0.460000] EXT4-fs (mtdblock0): mounted filesystem with ordered data mode. Opts: barrier=1
[    0.460000] fs_mgr: __mount(source=/dev/block/mtdblock0,target=/system,type=ext4)=0
[    0.460000] EXT4-fs (mtdblock1): Ignoring removed nomblk_io_submit option
[    0.480000] EXT4-fs (mtdblock1): mounted filesystem with ordered data mode. Opts: errors=remount-ro,nomblk_io_submit
[    0.480000] fs_mgr: check_fs(): mount(/dev/block/mtdblock1,/data,ext4)=0: Success
[    0.480000] fs_mgr: check_fs(): unmount(/data) succeeded
[    0.480000] fs_mgr: Running /system/bin/e2fsck on /dev/block/mtdblock1
[    0.680000] e2fsck: e2fsck 1.42.9 (28-Dec-2013)
[    0.680000] 
[    0.680000] e2fsck: Pass 1: Checking inodes, blocks, and sizes
[    0.680000] 
[    0.680000] e2fsck: Pass 2: Checking directory structure
[    0.680000] 
[    0.680000] e2fsck: Pass 3: Checking directory connectivity
[    0.680000] 
[    0.680000] e2fsck: Pass 4: Checking reference counts
[    0.680000] 
[    0.680000] e2fsck: Pass 5: Checking group summary information
[    0.680000] 
[    0.680000] e2fsck: data: 67/35200 files (0.0% non-contiguous), 13288/140800 blocks
[    0.680000] 
[    0.680000] EXT4-fs (mtdblock1): Ignoring removed nomblk_io_submit option
[    0.690000] EXT4-fs (mtdblock1): mounted filesystem with ordered data mode. Opts: barrier=1,nomblk_io_submit
[    0.690000] fs_mgr: __mount(source=/dev/block/mtdblock1,target=/data,type=ext4)=0
[    0.690000] EXT4-fs (mtdblock2): Ignoring removed nomblk_io_submit option
[    0.690000] EXT4-fs (mtdblock2): mounted filesystem with ordered data mode. Opts: errors=remount-ro,nomblk_io_submit
[    0.690000] fs_mgr: check_fs(): mount(/dev/block/mtdblock2,/cache,ext4)=0: Success
[    0.690000] fs_mgr: check_fs(): unmount(/cache) succeeded
[    0.690000] fs_mgr: Running /system/bin/e2fsck on /dev/block/mtdblock2
[    0.740000] e2fsck: e2fsck 1.42.9 (28-Dec-2013)
[    0.740000] 
[    0.740000] e2fsck: Pass 1: Checking inodes, blocks, and sizes
[    0.740000] 
[    0.740000] e2fsck: Pass 2: Checking directory structure
[    0.740000] 
[    0.740000] e2fsck: Pass 3: Checking directory connectivity
[    0.740000] 
[    0.740000] e2fsck: Pass 4: Checking reference counts
[    0.740000] 
[    0.740000] e2fsck: Pass 5: Checking group summary information
[    0.740000] 
[    0.740000] e2fsck: cache: 11/4224 files (0.0% non-contiguous), 1302/16896 blocks
[    0.740000] 
[    0.740000] EXT4-fs (mtdblock2): mounted filesystem with ordered data mode. Opts: (null)
[    0.740000] fs_mgr: __mount(source=/dev/block/mtdblock2,target=/cache,type=ext4)=0
[    0.740000] init: (Parsing /system/etc/init/atrace.rc took 0.00s.)
[    0.740000] init: (Parsing /system/etc/init/audioserver.rc took 0.00s.)
[    0.740000] init: (Parsing /system/etc/init/bootanim.rc took 0.00s.)
[    0.740000] init: (Parsing /system/etc/init/bootstat.rc took 0.00s.)
[    0.740000] init: (Parsing /system/etc/init/cameraserver.rc took 0.00s.)
[    0.740000] init: (Parsing /system/etc/init/debuggerd.rc took 0.00s.)
[    0.740000] init: (Parsing /system/etc/init/debuggerd64.rc took 0.00s.)
[    0.740000] init: (Parsing /system/etc/init/drmserver.rc took 0.00s.)
[    0.740000] init: (Parsing /system/etc/init/dumpstate.rc took 0.00s.)
[    0.740000] init: (Parsing /system/etc/init/gatekeeperd.rc took 0.00s.)
[    0.740000] init: (Parsing /system/etc/init/init-debug.rc took 0.00s.)
[    0.740000] init: (Parsing /system/etc/init/installd.rc took 0.00s.)
[    0.740000] init: (Parsing /system/etc/init/keystore.rc took 0.00s.)
[    0.740000] init: (Parsing /system/etc/init/lmkd.rc took 0.00s.)
[    0.740000] init: (Parsing /system/etc/init/logcatd.rc took 0.00s.)
[    0.740000] init: (Parsing /system/etc/init/logd.rc took 0.00s.)
[    0.740000] init: (Parsing /system/etc/init/mdnsd.rc took 0.00s.)
[    0.740000] init: (Parsing /system/etc/init/mediacodec.rc took 0.00s.)
[    0.740000] init: (Parsing /system/etc/init/mediadrmserver.rc took 0.00s.)
[    0.740000] init: (Parsing /system/etc/init/mediaextractor.rc took 0.00s.)
[    0.740000] init: (Parsing /system/etc/init/mediaserver.rc took 0.00s.)
[    0.740000] init: (Parsing /system/etc/init/mtpd.rc took 0.00s.)
[    0.740000] init: (Parsing /system/etc/init/netd.rc took 0.00s.)
[    0.740000] init: (Parsing /system/etc/init/perfprofd.rc took 0.00s.)
[    0.740000] init: (Parsing /system/etc/init/racoon.rc took 0.00s.)
[    0.740000] init: (Parsing /system/etc/init/rild.rc took 0.00s.)
[    0.740000] init: (Parsing /system/etc/init/servicemanager.rc took 0.00s.)
[    0.740000] init: (Parsing /system/etc/init/surfaceflinger.rc took 0.00s.)
[    0.740000] init: (Parsing /system/etc/init/uncrypt.rc took 0.00s.)
[    0.740000] init: (Parsing /system/etc/init/vdc.rc took 0.00s.)
[    0.740000] init: (Parsing /system/etc/init/vold.rc took 0.00s.)
[    0.740000] init: Starting service 'logd'...
[    0.770000] logd.auditd: start
[    0.770000] logd.klogd: 770000000
[    0.800000] init: property_set("ro.kernel.android.checkjni", "1") failed
[    0.800000] init: (Loading properties from /system/build.prop took 0.00s.)
[    0.800000] init: (Loading properties from /vendor/build.prop took 0.00s.)
[    0.800000] init: (Loading properties from /factory/factory.prop took 0.00s.)
[    0.800000] init: /recovery not specified in fstab
[    0.800000] init: Starting service 'debuggerd'...
[    0.800000] init: Starting service 'debuggerd64'...
[    0.800000] init: Starting service 'vold'...
[    0.800000] init: Not bootcharting.
[    1.050000] init: Starting service 'exec 1 (/system/bin/tzdatacheck)'...
[    1.150000] init: Service 'exec 1 (/system/bin/tzdatacheck)' (pid 1029) exited with status 0
[    1.150000] init: (Loading properties from /data/local.prop took 0.00s.)
[    1.150000] init: Starting service 'logd-reinit'...
[    1.150000] init: Starting service 'healthd'...
[    1.150000] init: Starting service 'qemu-props'...
[    1.150000] init: Starting service 'lmkd'...
[    1.150000] init: Starting service 'servicemanager'...
[    1.150000] init: Starting service 'surfaceflinger'...
[    1.150000] init: property_set("ro.build.product", "generic") failed
[    1.150000] init: property_set("ro.product.device", "generic") failed
[    1.150000] init: do_stop: Service dund not found
[    1.150000] init: do_stop: Service akmd not found
[    1.150000] init: Starting service 'qemud'...
[    1.150000] init: Starting service 'goldfish-logcat'...
[    1.150000] init: Starting service 'goldfish-setup'...
[    1.150000] init: Starting service 'console'...
[    1.150000] init: Starting service 'adbd'...
[    1.150000] init: write_file: Unable to open '/sys/class/android_usb/android0/enable': No such file or directory
[    1.150000] init: write_file: Unable to open '/sys/class/android_usb/android0/idVendor': No such file or directory
[    1.150000] init: write_file: Unable to open '/sys/class/android_usb/android0/idProduct': No such file or directory
[    1.150000] init: write_file: Unable to open '/sys/class/android_usb/android0/functions': No such file or directory
[    1.150000] init: write_file: Unable to open '/sys/class/android_usb/android0/enable': No such file or directory
[    1.150000] init: cannot find '/system/bin/update_verifier' (No such file or directory), disabling 'exec 2 (/system/bin/update_verifier)'
[    1.150000] init: cannot find '/system/bin/install-recovery.sh' (No such file or directory), disabling 'flash_recovery'
[    1.150000] init: Starting service 'zygote'...
[    1.150000] init: Starting service 'zygote_secondary'...
[    1.150000] init: Starting service 'audioserver'...
[    1.150000] init: Starting service 'cameraserver'...
[    1.150000] init: Starting service 'drm'...
[    1.150000] init: Starting service 'installd'...
[    1.150000] init: Starting service 'keystore'...
[    1.150000] init: Starting service 'mediacodec'...
[    1.150000] init: Starting service 'mediadrm'...
[    1.150000] init: Starting service 'mediaextractor'...
[    1.150000] init: Starting service 'media'...
[    1.150000] init: Starting service 'netd'...
[    1.150000] init: Starting service 'ril-daemon'...
[    1.150000] init: Starting service 'fingerprintd'...
[    1.150000] init: Starting service 'gatekeeperd'...
[    1.150000] init: couldn't write 1044 to /dev/cpuset/camera-daemon/tasks: No such file or directory
[    1.160000] binder: 1031:1031 transaction failed 29189, size 0-0
[    1.160000] logd.daemon: reinit
[    1.200000] type=1400 audit(1573902191.200:4): avc: denied { getattr } for pid=1048 comm="mediacodec" path="/vendor" dev="rootfs" ino=2944 scontext=u:r:mediacodec:s0 tcontext=u:object_r:rootfs:s0 tclass=lnk_file permissive=0
[    1.210000] type=1400 audit(1573902191.210:5): avc: denied { getattr } for pid=1044 comm="cameraserver" path="/vendor" dev="rootfs" ino=2944 scontext=u:r:cameraserver:s0 tcontext=u:object_r:rootfs:s0 tclass=lnk_file permissive=0
[    1.210000] type=1400 audit(1573902191.210:6): avc: denied { getattr } for pid=1043 comm="audioserver" path="/vendor" dev="rootfs" ino=2944 scontext=u:r:audioserver:s0 tcontext=u:object_r:rootfs:s0 tclass=lnk_file permissive=0
[    1.220000] type=1400 audit(1573902191.220:7): avc: denied { getattr } for pid=1049 comm="mediadrmserver" path="/vendor" dev="rootfs" ino=2944 scontext=u:r:mediadrmserver:s0 tcontext=u:object_r:rootfs:s0 tclass=lnk_file permissive=0
[    1.660000] init: Starting service 'perfprofd'...
[    1.660000] init: Service 'logd-reinit' (pid 1030) exited with status 0
[    1.750000] binder: 1055:1055 transaction failed 29189, size 0-0
[    1.780000] init: Service 'qemu-props' (pid 1032) exited with status 0
generic_x86_64:/ $ [    1.880000] init: Service 'goldfish-logcat' (pid 1037) exited with status 0
[    1.890000] init: Service 'goldfish-setup' (pid 1038) exited with status 0
[    2.170000] healthd: BatteryVoltagePath not found
[    2.170000] healthd: BatteryTemperaturePath not found
[    2.170000] healthd: BatteryCurrentNowPath not found
[    2.170000] healthd: BatteryFullChargePath not found
[    2.170000] healthd: BatteryCycleCountPath not found
[    2.170000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[    2.840000] init: Starting service 'bootanim'...
[    2.900000] type=1400 audit(1573902192.900:8): avc: denied { getattr } for pid=1168 comm="bootanimation" path="/vendor" dev="rootfs" ino=2944 scontext=u:r:bootanim:s0 tcontext=u:object_r:rootfs:s0 tclass=lnk_file permissive=0
[   11.450000] warning: `main' uses 32-bit capabilities (legacy support in use)
[   49.900000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[   55.980000] init: Service 'bootanim' (pid 1168) exited with status 0
[   56.100000] init: Starting service 'exec 3 (/system/bin/bootstat)'...
[   56.130000] init: Service 'exec 3 (/system/bin/bootstat)' (pid 1901) exited with status 0
[   56.130000] init: Starting service 'exec 4 (/system/bin/bootstat)'...
[   56.230000] init: Service 'exec 4 (/system/bin/bootstat)' (pid 1902) exited with status 0
[   56.230000] init: Starting service 'exec 5 (/system/bin/bootstat)'...
[   56.260000] init: Service 'exec 5 (/system/bin/bootstat)' (pid 1914) exited with status 0
[   56.260000] init: Starting service 'exec 6 (/system/bin/bootstat)'...
[   56.310000] init: Service 'exec 6 (/system/bin/bootstat)' (pid 1916) exited with status 0
[   56.710000] type=1400 audit(1573902247.910:9): avc: denied { getattr } for pid=1901 comm="bootstat" path="/vendor" dev="rootfs" ino=2944 scontext=u:r:bootstat:s0 tcontext=u:object_r:rootfs:s0 tclass=lnk_file permissive=0
[   56.710000] type=1400 audit(1573902247.930:10): avc: denied { getattr } for pid=1902 comm="bootstat" path="/vendor" dev="rootfs" ino=2944 scontext=u:r:bootstat:s0 tcontext=u:object_r:rootfs:s0 tclass=lnk_file permissive=0
[   56.710000] type=1400 audit(1573902248.040:11): avc: denied { getattr } for pid=1914 comm="bootstat" path="/vendor" dev="rootfs" ino=2944 scontext=u:r:bootstat:s0 tcontext=u:object_r:rootfs:s0 tclass=lnk_file permissive=0
[   56.710000] type=1400 audit(1573902248.070:12): avc: denied { getattr } for pid=1916 comm="bootstat" path="/vendor" dev="rootfs" ino=2944 scontext=u:r:bootstat:s0 tcontext=u:object_r:rootfs:s0 tclass=lnk_file permissive=0
[   62.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[  122.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[  182.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[  242.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[  302.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[  362.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[  422.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[  482.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[  542.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[  602.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[  662.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[  722.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[  782.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[  842.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[  902.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[  962.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 1022.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 1082.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 1142.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 1202.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 1262.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 1322.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 1382.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 1442.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 1502.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 1562.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 1622.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 1682.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 1742.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 1802.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 1862.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 1922.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 1982.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 2042.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 2102.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 2162.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 2222.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 2282.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 2342.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 2402.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 2462.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 2522.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 2582.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 2642.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 2702.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 2762.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 2822.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 2882.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 2942.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 3002.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 3062.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 3122.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 3182.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 3302.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 3362.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 3422.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 3482.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 3542.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 3602.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 3662.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 3722.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 3782.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 3842.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 3902.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 3962.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 4022.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 4082.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 4142.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 4202.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 4262.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 4322.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
[ 4382.180000] healthd: battery l=50 v=0 t=0.0 h=2 st=2 chg=a
emulator: Done with QEMU main loop
emulator: User configuration saved to /root/.android/emulator-user.ini
root@lake-Latitude-5491:/home/lake/git-aosp-AndroidN7.1.x#  

 类似资料:

相关阅读

相关文章

相关问答