This is a cache of https://discuss.96boards.org/t/aosp-built-from-master-branch-failed-to-boot-on-hikey960/8639. It is a snapshot of the page at 2024-10-31T11:49:52.612+0000.
AOSP built from master branch failed to boot on HiKey960 - HiKey 960 - 96Boards Forum

AOSP built from master branch failed to boot on HiKey960

Hi,
I have built the latest AOSP from master branch and flashed to HiKey960 board according to the steps
described in Using Reference Boards  |  Android Open Source Project. But, android is not booting and I see following trace in loop from logcat:

01-01 00:01:10.960 3613 3613 I wificond: wificond is starting up…
01-01 00:01:10.966 3612 3612 I netdClient: Skipping libnetd_client init since we are netd
01-01 00:01:10.968 3612 3612 I netd : netd 1.0 starting
01-01 00:01:10.970 3612 3612 I Netd : Loaded resolver library from /apex/com.android.resolv/lib64/libnetd_resolv.so
01-01 00:01:10.970 3612 3612 D TetherController: Setting IP forward enable = 0
01-01 00:01:10.989 3612 3612 I netd : Creating child chains: 16167us
01-01 00:01:10.989 3612 3612 I netd : Setting up OEM hooks: 131us
01-01 00:01:10.990 3612 3612 I netd : Setting up FirewallController hooks: 15us
01-01 00:01:10.991 3612 3612 I netd : Setting up TetherController hooks: 1493us
01-01 00:01:10.992 3612 3612 I netd : Setting up BandwidthController hooks: 1331us
01-01 00:01:10.992 3612 3612 I netd : Setting up IdletimerController hooks: 48us
01-01 00:01:11.016 3611 3611 I mediaserver: ServiceManager: 0xf5ec01c0
01-01 00:01:11.016 3611 3611 D : Time zone APEX ICU file found: /apex/com.android.tzdata/etc/icu/icu_tzdata.dat
01-01 00:01:11.016 3611 3611 D : I18n APEX ICU file found: /apex/com.android.i18n/etc/icu/icudt64l.dat
01-01 00:01:11.016 3611 3611 W BatteryNotifier: batterystats service unavailable!
01-01 00:01:11.066 3608 3608 D AndroidRuntime: >>>>>> START com.android.internal.os.ZygoteInit uid 0 <<<<<<
01-01 00:01:11.070 3608 3608 I AndroidRuntime: Using default boot image
01-01 00:01:11.070 3608 3608 I AndroidRuntime: Leaving lock profiling enabled
01-01 00:01:11.071 3608 3608 I zygote64: option[0]=-Xzygote


01-01 00:01:11.071 3608 3608 I zygote64: option[52]=-Xfingerprint:Android/hikey960/hikey960:R/PI/eng.venkat.20190814.014444:userdebug/test-keys
01-01 00:01:11.073 3608 3608 I zygote64: Core platform API reporting enabled, enforcing=false
01-01 00:01:11.073 3608 3608 W zygote64: Incomplete boot detected. Pruning dalvik cache
01-01 00:01:11.077 3610 3610 I cameraserver: ServiceManager: 0xf12a1100
01-01 00:01:11.077 3610 3610 I CameraService: CameraService started (pid=3610)
01-01 00:01:11.077 3610 3610 I CameraService: CameraService process starting
01-01 00:01:11.077 3610 3610 W BatteryNotifier: batterystats service unavailable!
01-01 00:01:11.077 3610 3610 W BatteryNotifier: batterystats service unavailable!
01-01 00:01:11.079 2419 2419 I hwservicemanager: getTransport: Cannot find entry android.hardware.camera.provider@2.4::ICameraProvider/legacy/0 in either framework or device manifest.
01-01 00:01:11.079 2419 2419 I hwservicemanager: getTransport: Cannot find entry android.hardware.camera.provider@2.4::ICameraProvider/external/0 in either framework or device manifest.
01-01 00:01:11.080 3610 3610 I : Waiting for activity service
01-01 00:01:11.146 3608 3608 D : Time zone APEX ICU file found: /apex/com.android.tzdata/etc/icu/icu_tzdata.dat
01-01 00:01:11.146 3608 3608 D : I18n APEX ICU file found: /apex/com.android.i18n/etc/icu/icudt64l.dat
01-01 00:01:11.153 3608 3608 I zygote64: Using memfd for future sealing
01-01 00:01:11.167 3608 3608 D Zygote : begin preload
01-01 00:01:11.167 3608 3608 I Zygote : Calling ZygoteHooks.beginPreload()
01-01 00:01:11.171 3608 3608 D Zygote64Timing: BeginPreload took to complete: 4ms
01-01 00:01:11.171 3608 3608 I Zygote : Preloading classes…
01-01 00:01:11.182 3608 3608 W Zygote : Class not found for preloading: android.app.ActivityThread$2
01-01 00:01:11.184 3608 3608 W Zygote : Class not found for preloading: android.app.ActivityThread$DropBoxReporter
01-01 00:01:11.184 3608 3608 W Zygote : Class not found for preloading: android.app.ActivityThread$EventLoggingReporter
01-01 00:01:11.191 3608 3608 W Zygote : Class not found for preloading: android.bluetooth.BluetoothA2dp$2
01-01 00:01:11.192 3608 3608 W Zygote : Class not found for preloading: android.bluetooth.IBluetoothHealth
01-01 00:01:11.192 3608 3608 W Zygote : Class not found for preloading: android.bluetooth.IBluetoothHealth$Stub
01-01 00:01:11.193 3608 3608 W Zygote : Class not found for preloading: android.content.pm.-$$Lambda$FMztmpMwSp3D3ge8Zxr31di8ZBg
01-01 00:01:11.193 3608 3608 I PackageBackwardCompatibility: Loaded android.content.pm.AndroidTestBaseUpdater
01-01 00:01:11.251 3609 3609 D AndroidRuntime: >>>>>> START com.android.internal.os.ZygoteInit uid 0 <<<<<<
01-01 00:01:11.256 3609 3609 I AndroidRuntime: Using default boot image
01-01 00:01:11.256 3609 3609 I AndroidRuntime: Leaving lock profiling enabled
01-01 00:01:11.258 3609 3609 I zygote : option[0]=-Xzygote
01-01 00:01:11.258 3609 3609 I zygote : option[1]=exit


01-01 00:01:11.259 3609 3609 I zygote : option[51]=-Xfingerprint:Android/hikey960/hikey960:R/PI/eng.venkat.20190814.014444:userdebug/test-keys
01-01 00:01:11.265 3609 3609 W zygote : Could not reserve sentinel fault page
01-01 00:01:11.265 3609 3609 I zygote : Core platform API reporting enabled, enforcing=false
01-01 00:01:11.265 3609 3609 W zygote : Incomplete boot detected. Pruning dalvik cache
01-01 00:01:11.299 3612 3612 I netd : Setting up StrictController hooks: 306169us
01-01 00:01:11.299 3612 3612 I ClatdController: 4.9+ kernel and device shipped with Q+ - clat ebpf should work.
01-01 00:01:11.299 3612 3612 I netd : Initializing ClatdController: 165us
01-01 00:01:11.300 3612 3612 I netd : Initializing traffic control: 760us
01-01 00:01:11.303 3612 3612 I netd : Enabling bandwidth control: 2952us
01-01 00:01:11.303 3612 3612 E Netd : cannot find interface dummy0
01-01 00:01:11.304 3612 3612 I netd : Initializing RouteController: 970us
01-01 00:01:11.304 3612 3612 D XfrmController: XfrmController::ipSecAddXfrmInterface, line=1378
01-01 00:01:11.305 3612 3612 D XfrmController: XfrmController::ipSecRemoveTunnelInterface, line=1591
01-01 00:01:11.305 3612 3612 D XfrmController: deviceName=ipsec_test
01-01 00:01:11.316 3608 3608 E ActivityRecognitionHardware: activity_recognition HAL is deprecated. class_init is effectively a no-op
01-01 00:01:11.316 3608 3608 W Zygote : Class not found for preloading: android.hidl.base.V1_0.DebugInfo
01-01 00:01:11.316 3608 3608 W Zygote : Class not found for preloading: android.hidl.base.V1_0.IBase
01-01 00:01:11.316 3608 3608 W Zygote : Class not found for preloading: android.hidl.manager.V1_0.IServiceManager
01-01 00:01:11.316 3608 3608 W Zygote : Class not found for preloading: android.hidl.manager.V1_0.IServiceManager$Proxy
01-01 00:01:11.317 3608 3608 W Zygote : Class not found for preloading: android.hidl.manager.V1_0.IServiceNotification
01-01 00:01:11.317 3608 3608 W Zygote : Class not found for preloading: android.hidl.manager.V1_0.IServiceNotification$Stub
01-01 00:01:11.327 3608 3608 W Zygote : Class not found for preloading: android.icu.impl.number.Parse
01-01 00:01:11.327 3608 3608 W Zygote : Class not found for preloading: android.icu.impl.number.Parse$1
01-01 00:01:11.327 3608 3608 W Zygote : Class not found for preloading: android.icu.impl.number.Parse$2
01-01 00:01:11.327 3608 3608 W Zygote : Class not found for preloading: android.icu.number.CurrencyRounder
01-01 00:01:11.327 3608 3608 W Zygote : Class not found for preloading: android.icu.number.FractionRounder
01-01 00:01:11.327 3608 3608 W Zygote : Class not found for preloading: android.icu.number.NumberPropertyMapper$PropertiesAffixPatternProvider
01-01 00:01:11.327 3608 3608 W Zygote : Class not found for preloading: android.icu.number.Rounder
01-01 00:01:11.327 3612 3612 D XfrmController: Sending Netlink XFRM Message: XFRM_MSG_FLUSHSA
01-01 00:01:11.327 3608 3608 W Zygote : Class not found for preloading: android.icu.number.Rounder$CurrencyRounderImpl
01-01 00:01:11.327 3608 3608 W Zygote : Class not found for preloading: android.icu.number.Rounder$FracSigRounderImpl
01-01 00:01:11.327 3608 3608 W Zygote : Class not found for preloading: android.icu.number.Rounder$FractionRounderImpl
01-01 00:01:11.327 3608 3608 W Zygote : Class not found for preloading: android.icu.number.Rounder$IncrementRounderImpl
01-01 00:01:11.327 3608 3608 W Zygote : Class not found for preloading: android.icu.number.Rounder$InfiniteRounderImpl
01-01 00:01:11.327 3612 3612 D XfrmController: Sending Netlink XFRM Message: XFRM_MSG_FLUSHPOLICY
01-01 00:01:11.327 3608 3608 W Zygote : Class not found for preloading: android.icu.number.Rounder$PassThroughRounderImpl
01-01 00:01:11.327 3608 3608 W Zygote : Class not found for preloading: android.icu.number.Rounder$SignificantRounderImpl
01-01 00:01:11.327 3612 3612 I netd : Initializing XfrmController: 23891us
01-01 00:01:11.328 3612 3612 E Netd : Unable to create netlink socket for family 5: Protocol not supported
01-01 00:01:11.328 3612 3612 W Netd : Unable to open qlog quota socket, check if xt_quota2 can send via UeventHandler
01-01 00:01:11.329 3612 3612 I libnetd_resolv: resolv_init: Initializing resolver
01-01 00:01:11.333 3612 3612 D MDnsDS : MDnsSdListener::Hander starting up
01-01 00:01:11.333 3612 3638 D MDnsDS : MDnsSdListener starting to monitor
01-01 00:01:11.333 3612 3638 D MDnsDS : Going to poll with pollCount 1
01-01 00:01:11.333 3612 3612 I netd : Registering NetdNativeService: 262us
01-01 00:01:11.336 3612 3612 I HidlServiceManagement: Registered android.system.net.netd@1.1::INetd/default (start delay of 411ms)
01-01 00:01:11.337 3612 3612 I netd : Registering NetdHwService: 3453us
01-01 00:01:11.337 3612 3612 I netd : Netd started in 369041us
01-01 00:01:11.339 3608 3608 W Zygote : Class not found for preloading: android.icu.text.DecimalFormat$1
01-01 00:01:11.339 3608 3608 W Zygote : Class not found for preloading: android.icu.text.DecimalFormat_ICU58_Android
01-01 00:01:11.339 3608 3608 W Zygote : Class not found for preloading: android.icu.text.DecimalFormat_ICU58_Android$Unit
01-01 00:01:11.339 3608 3608 W Zygote : Class not found for preloading: android.icu.text.DigitList_Android
01-01 00:01:11.340 3608 3608 W Zygote : Class not found for preloading: android.icu.text.RBBIDataWrapper
01-01 00:01:11.340 3608 3608 W Zygote : Class not found for preloading: android.icu.text.RBBIDataWrapper$IsAcceptable
01-01 00:01:11.340 3608 3608 W Zygote : Class not found for preloading: android.icu.text.RBBIDataWrapper$RBBIDataHeader
01-01 00:01:11.341 3608 3608 W Zygote : Class not found for preloading: android.icu.util.Calendar$CalType
01-01 00:01:11.341 3608 3608 W Zygote : Class not found for preloading: android.icu.util.Currency$EquivalenceRelation
01-01 00:01:11.345 3608 3608 I zygote64: Thread[1,tid=3608,Native,Thread*=0x739e241c00,peer=0x12c020b8,“main”] recursive attempt to load library “libmedia_jni.so”
01-01 00:01:11.345 3608 3608 D MtpDeviceJNI: register_android_mtp_MtpDevice
01-01 00:01:11.345 3608 3608 I zygote64: Thread[1,tid=3608,Native,Thread*=0x739e241c00,peer=0x12c020b8,“main”] recursive attempt to load library “libmedia_jni.so”
01-01 00:01:11.345 3608 3608 I zygote64: Thread[1,tid=3608,Native,Thread*=0x739e241c00,peer=0x12c020b8,“main”] recursive attempt to load library “libmedia_jni.so”
01-01 00:01:11.345 3608 3608 W MediaProfiles: Could not find a validated xml file. Using the default instance instead.
01-01 00:01:11.355 3608 3608 W zygote64: Core platform API violation: Ljava/nio/NIOAccess;->getBasePointer(Ljava/nio/Buffer;)J from Landroid/opengl/GLES10; using JNI
01-01 00:01:11.355 3608 3608 W zygote64: Core platform API violation: Ljava/nio/NIOAccess;->getBaseArray(Ljava/nio/Buffer;)Ljava/lang/Object; from Landroid/opengl/GLES10; using JNI
01-01 00:01:11.355 3608 3608 W zygote64: Core platform API violation: Ljava/nio/NIOAccess;->getBaseArrayOffset(Ljava/nio/Buffer;)I from Landroid/opengl/GLES10; using JNI
01-01 00:01:11.355 3608 3608 W zygote64: Core platform API violation: Ljava/nio/Buffer;->position:I from Landroid/opengl/GLES10; using JNI
01-01 00:01:11.355 3608 3608 W zygote64: Core platform API violation: Ljava/nio/Buffer;->limit:I from Landroid/opengl/GLES10; using JNI
01-01 00:01:11.355 3608 3608 W zygote64: Core platform API violation: Ljava/nio/Buffer;->_elementSizeShift:I from Landroid/opengl/GLES10; using JNI
01-01 00:01:11.355 3608 3608 W Zygote : Class not found for preloading: android.os.-$$Lambda$BatteryStats$q1UvBdLgHRZVzc68BxdksTmbuCw
01-01 00:01:11.357 3608 3608 W Zygote : Class not found for preloading: android.security.IKeystoreService

01-01 00:01:11.422 3608 3608 W Zygote : Class not found for preloading: dalvik.system.-$$Lambda$DexPathList$8b_maZ6RkV67r03QVmaVjC7Wj6M
01-01 00:01:11.428 3609 3609 D : Time zone APEX ICU file found: /apex/com.android.tzdata/etc/icu/icu_tzdata.dat
01-01 00:01:11.429 3609 3609 D : I18n APEX ICU file found: /apex/com.android.i18n/etc/icu/icudt64l.dat
01-01 00:01:11.431 3608 3608 W Zygote : Class not found for preloading: java.util.concurrent.atomic.AtomicIntegerFieldUpdater$AtomicIntegerFieldUpdaterImpl$1
01-01 00:01:11.432 3608 3608 W Zygote : Class not found for preloading: libcore.net.UriCodec
01-01 00:01:11.433 3608 3608 W Zygote : Class not found for preloading: org.apache.harmony.luni.internal.util.TimezoneGetter
01-01 00:01:11.437 3608 3608 I Zygote : …preloaded 6465 classes in 266ms.
01-01 00:01:11.437 3608 3608 I zygote64: VMRuntime.preloadDexCaches starting
01-01 00:01:11.448 3609 3609 I zygote : Using memfd for future sealing
01-01 00:01:11.453 3608 3608 I zygote64: VMRuntime.preloadDexCaches strings total=362499 before=10753 after=10753
01-01 00:01:11.453 3608 3608 I zygote64: VMRuntime.preloadDexCaches types total=34105 before=8056 after=8129
01-01 00:01:11.453 3608 3608 I zygote64: VMRuntime.preloadDexCaches fields total=149921 before=10040 after=10162
01-01 00:01:11.453 3608 3608 I zygote64: VMRuntime.preloadDexCaches methods total=270303 before=13106 after=13128
01-01 00:01:11.453 3608 3608 I zygote64: VMRuntime.preloadDexCaches finished
01-01 00:01:11.453 3608 3608 D Zygote64Timing: PreloadClasses took to complete: 282ms
01-01 00:01:11.454 3608 3608 I zygote64: The ClassLoaderContext is a special shared library.
01-01 00:01:11.455 3608 3608 D ApplicationLoaders: Created zygote-cached class loader: /system/framework/android.hidl.base-V1.0-java.jar
01-01 00:01:11.456 3608 3608 I zygote64: The ClassLoaderContext is a special shared library.
01-01 00:01:11.456 3608 3608 D ApplicationLoaders: Created zygote-cached class loader: /system/framework/android.hidl.manager-V1.0-java.jar
01-01 00:01:11.456 3608 3608 D Zygote64Timing: CacheNonBootClasspathClassLoaders took to complete: 4ms
01-01 00:01:11.497 3609 3609 I zygote : Explicit concurrent copying GC freed 192(25KB) AllocSpace objects, 0(0B) LOS objects, 98% free, 22KB/1558KB, paused 67us total 5.949ms
01-01 00:01:11.505 3609 3609 I zygote : Explicit concurrent copying GC freed 5(32KB) AllocSpace objects, 0(0B) LOS objects, 98% free, 22KB/1558KB, paused 52us total 6.013ms
01-01 00:01:11.505 3609 3609 D Zygote32Timing: PostZygoteInitGC took to complete: 14ms
01-01 00:01:11.505 3609 3609 D Zygote32Timing: ZygoteInit took to complete: 16ms
01-01 00:01:11.522 3609 3609 I Zygote : Accepting command socket connections
01-01 00:01:11.548 3608 3608 I Zygote : Preloading resources…
01-01 00:01:11.557 3608 3608 W Resources: Preloaded drawable resource #0x1080265 (android:drawable/dialog_background_material) that varies with configuration!!
01-01 00:01:11.569 3608 3608 I Zygote : …preloaded 64 resources in 20ms.
01-01 00:01:11.572 3608 3608 I Zygote : …preloaded 41 resources in 3ms.
01-01 00:01:11.572 3608 3608 D Zygote64Timing: PreloadResources took to complete: 116ms
01-01 00:01:11.594 3608 3608 D libEGL : loaded /vendor/lib64/egl/libGLES_mali.so
01-01 00:01:11.604 3608 3608 I Zygote : Preloading shared libraries…
01-01 00:01:11.607 3608 3608 I Zygote : Called ZygoteHooks.endPreload()
01-01 00:01:11.607 3608 3608 I Zygote : Installed AndroidKeyStoreProvider in 0ms.
01-01 00:01:11.612 3608 3608 I Zygote : Warmed up JCA providers in 4ms.
01-01 00:01:11.612 3608 3608 D Zygote : end preload
01-01 00:01:11.612 3608 3608 D Zygote64Timing: ZygotePreload took to complete: 445ms
01-01 00:01:11.631 3608 3608 I zygote64: Explicit concurrent copying GC freed 55802(2998KB) AllocSpace objects, 16(392KB) LOS objects, 49% free, 2588KB/5176KB, paused 53us total 18.479ms
01-01 00:01:11.657 3608 3608 I zygote64: Explicit concurrent copying GC freed 6525(231KB) AllocSpace objects, 0(0B) LOS objects, 49% free, 2388KB/4777KB, paused 58us total 12.941ms
01-01 00:01:11.657 3608 3608 D Zygote64Timing: PostZygoteInitGC took to complete: 45ms
01-01 00:01:11.657 3608 3608 D Zygote64Timing: ZygoteInit took to complete: 491ms
01-01 00:01:11.733 3608 3608 D Zygote : Forked child process 3648
01-01 00:01:11.733 3608 3608 I Zygote : System server process 3648 has been created
01-01 00:01:11.737 3608 3608 I Zygote : Accepting command socket connections
01-01 00:01:11.760 3648 3648 I system_server: The ClassLoaderContext is a special shared library.
01-01 00:01:11.783 3648 3648 I chatty : uid=1000 system_server identical 2 lines
01-01 00:01:11.786 3648 3648 I system_server: The ClassLoaderContext is a special shared library.
01-01 00:01:11.800 2588 2609 I adbd : jdwp connection from 3648
01-01 00:01:11.820 3648 3648 I SystemServer: InitBeforeStartServices
01-01 00:01:11.820 3648 3648 W SystemServer: System clock is before 1970; setting to 1970.
01-01 00:01:11.821 3648 3648 I SystemServer: Entered the Android system server!
01-01 00:01:11.965 3648 3648 E UsbAlsaJackDetectorJNI: Can’t register UsbAlsaJackDetector native methods
01-01 00:01:11.978 3648 3648 D SystemServerTiming: InitBeforeStartServices took to complete: 158ms
01-01 00:01:11.978 3648 3648 I SystemServer: StartServices
01-01 00:01:11.979 3648 3648 I SystemServer: Reading configuration…
01-01 00:01:11.979 3648 3648 I SystemServer: ReadingSystemConfig
01-01 00:01:11.979 3648 3648 D SystemServerTiming: ReadingSystemConfig took to complete: 0ms
01-01 00:01:11.979 3648 3648 I SystemServer: StartInstaller
01-01 00:01:11.979 3648 3648 I SystemServiceManager: Starting com.android.server.pm.Installer
01-01 00:01:11.980 3648 3667 D SystemServerInitThreadPool: Started executing ReadingSystemConfig
01-01 00:01:11.982 3648 3667 W SystemConfig: Got exception parsing permissions.
01-01 00:01:11.982 3648 3667 W SystemConfig: org.xmlpull.v1.XmlPullParserException: Unexpected token (position:unknown @1:2 in java.io.FileReader@e14c425)
01-01 00:01:11.982 3648 3667 W SystemConfig: at com.android.org.kxml2.io.KXmlParser.next(KXmlParser.java:428)
01-01 00:01:11.982 3648 3667 W SystemConfig: at com.android.org.kxml2.io.KXmlParser.next(KXmlParser.java:313)
01-01 00:01:11.982 3648 3667 W SystemConfig: at com.android.server.SystemConfig.readPermissionsFromXml(SystemConfig.java:410)
01-01 00:01:11.982 3648 3667 W SystemConfig: at com.android.server.SystemConfig.readPermissions(SystemConfig.java:385)
01-01 00:01:11.982 3648 3667 W SystemConfig: at com.android.server.SystemConfig.(SystemConfig.java:299)
01-01 00:01:11.982 3648 3667 W SystemConfig: at com.android.server.SystemConfig.getInstance(SystemConfig.java:183)
01-01 00:01:11.982 3648 3667 W SystemConfig: at com.android.server.-$$Lambda$YWiwiKm_Qgqb55C6tTuq_n2JzdY.run(Unknown Source:0)
01-01 00:01:11.982 3648 3667 W SystemConfig: at com.android.server.SystemServerInitThreadPool.lambda$submit$0(SystemServerInitThreadPool.java:64)
01-01 00:01:11.982 3648 3667 W SystemConfig: at com.android.server.-$$Lambda$SystemServerInitThreadPool$7wfLGkZF7FvYZv7xj3ghvuiJJGk.run(Unknown Source:4)
01-01 00:01:11.982 3648 3667 W SystemConfig: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
01-01 00:01:11.982 3648 3667 W SystemConfig: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
01-01 00:01:11.982 3648 3667 W SystemConfig: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
01-01 00:01:11.982 3648 3667 W SystemConfig: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
01-01 00:01:11.982 3648 3667 W SystemConfig: at com.android.internal.util.ConcurrentUtils$1$1.run(ConcurrentUtils.java:62)
01-01 00:01:11.983 3648 3648 D SystemServerTiming: StartInstaller took to complete: 4ms
01-01 00:01:11.983 3648 3648 I SystemServer: DeviceIdentifiersPolicyService
01-01 00:01:11.983 3648 3648 I SystemServiceManager: Starting com.android.server.os.DeviceIdentifiersPolicyService
01-01 00:01:11.983 3648 3648 D SystemServerTiming: DeviceIdentifiersPolicyService took to complete: 1ms
01-01 00:01:11.984 3648 3648 I SystemServer: StartActivityManager
01-01 00:01:11.984 3648 3648 I SystemServiceManager: Starting com.android.server.am.ActivityManagerService$Lifecycle
01-01 00:01:11.996 3648 3648 I ActivityManager: Memory class: 192
01-01 00:01:11.998 3648 3667 W SystemConfig: No directory /product/etc/sysconfig, skipping
01-01 00:01:12.000 3648 3667 D SystemServerInitThreadPool: Finished executing ReadingSystemConfig
01-01 00:01:12.004 3648 3648 D BatteryStatsImpl: Reading daily items from /data/system/batterystats-daily.xml
01-01 00:01:12.007 3648 3673 E BluetoothAdapter: Bluetooth binder is null
01-01 00:01:12.008 3648 3673 E BatteryExternalStatsWorker: no controller energy info supplied for telephony
01-01 00:01:12.008 3648 3673 E KernelUidCpuFreqTimeReader: Failed to read /proc/uid_time_in_state: java.io.FileNotFoundException: /proc/uid_time_in_state: open failed: ENOENT (No such file or directory)
01-01 00:01:12.011 3648 3673 W KernelCpuProcReader: File not exist: /proc/uid_cpupower/concurrent_active_time
01-01 00:01:12.012 3648 3673 W KernelCpuProcReader: File not exist: /proc/uid_cpupower/concurrent_policy_time
01-01 00:01:12.014 2483 2487 E /system/bin/hw/android.system.suspend@1.0-service: SystemSuspend: Failed to get directory pointer to kernel wakelock stats dir: Bad file descriptor
01-01 00:01:12.017 3648 3673 I PowerManagerService-JNI: Loaded power HAL 1.0 service
01-01 00:01:12.018 3648 3673 I PowerManagerService-JNI: Loaded power HAL 1.1 service
01-01 00:01:12.018 3648 3673 E KernelUidCpuFreqTimeReader: Failed to read /proc/uid_time_in_state: java.io.FileNotFoundException: /proc/uid_time_in_state: open failed: ENOENT (No such file or directory)
01-01 00:01:12.084 3648 3648 I AppOps : No existing app ops /data/system/appops.xml; starting empty
01-01 00:01:12.086 3648 3648 I IntentFirewall: Read new rules (A:0 B:0 S:0)
01-01 00:01:12.093 3648 3648 D AppOps : AppOpsService published
01-01 00:01:12.094 3648 3648 D SystemServerTiming: StartActivityManager took to complete: 110ms
01-01 00:01:12.094 3648 3648 I SystemServer: StartPowerManager
01-01 00:01:12.094 3648 3648 I SystemServiceManager: Starting com.android.server.power.PowerManagerService
01-01 00:01:12.098 2419 2419 I hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients
01-01 00:01:12.099 2552 2552 E HiKeyPowerHAL: Error opening /sys/devices/system/cpu/cpufreq/interactive/io_is_busy: No such file or directory
01-01 00:01:12.100 3648 3648 D SystemServerTiming: StartPowerManager took to complete: 6ms
01-01 00:01:12.100 3648 3648 I SystemServer: InitPowerManagement
01-01 00:01:12.101 3648 3648 D SystemServerTiming: InitPowerManagement took to complete: 0ms
01-01 00:01:12.101 3648 3648 I SystemServer: StartRecoverySystemService
01-01 00:01:12.101 3648 3648 I SystemServiceManager: Starting com.android.server.RecoverySystemService
01-01 00:01:12.102 3648 3648 D SystemServerTiming: StartRecoverySystemService took to complete: 1ms
01-01 00:01:12.102 3648 3648 V RescueParty: Disabled because of active USB connection
01-01 00:01:12.102 3648 3648 I SystemServer: StartLightsService
01-01 00:01:12.102 3648 3648 I SystemServiceManager: Starting com.android.server.lights.LightsService
01-01 00:01:12.102 3648 3648 D SystemServerTiming: StartLightsService took to complete: 1ms
01-01 00:01:12.102 3648 3648 I SystemServer: StartSidekickService
01-01 00:01:12.103 3648 3648 D SystemServerTiming: StartSidekickService took to complete: 0ms
01-01 00:01:12.103 3648 3648 I SystemServer: StartDisplayManager
01-01 00:01:12.103 3648 3648 I SystemServiceManager: Starting com.android.server.display.DisplayManagerService
01-01 00:01:12.104 3648 3648 D SystemServerTiming: StartDisplayManager took to complete: 1ms
01-01 00:01:12.104 3648 3648 I SystemServer: WaitForDisplay
01-01 00:01:12.104 3648 3648 I SystemServiceManager: Starting phase 100
01-01 00:01:12.104 3648 3677 I ServiceManager: Waiting for service ‘SurfaceFlinger’ on ‘/dev/binder’…
01-01 00:01:15.558 0 0 I init : starting service ‘vendor.audio-hal-2-0’…
01-01 00:01:15.571 0 0 I init : starting service ‘vendor.hwcomposer-2-1’…
01-01 00:01:15.584 0 0 I init : starting service ‘audioserver’…
01-01 00:01:15.594 0 0 I init : starting service ‘surfaceflinger’…
01-01 00:01:15.441 3648 3677 I chatty : uid=1000(system) android.display identical 33 lines
01-01 00:01:15.542 3648 3677 I ServiceManager: Waiting for service ‘SurfaceFlinger’ on ‘/dev/binder’…
01-01 00:01:15.610 3682 3682 I HidlServiceManagement: Registered android.hardware.audio@4.0::IDevicesFactory/default (start delay of 45ms)
01-01 00:01:15.611 3682 3682 I HidlServiceManagement: Removing namespace from process name android.hardware.audio@2.0-service to audio@2.0-service.
01-01 00:01:15.611 3682 3682 I audiohalservice: Registration complete for android.hardware.audio@4.0::IDevicesFactory/default.
01-01 00:01:15.616 3682 3682 I HidlServiceManagement: Registered android.hardware.audio.effect@4.0::IEffectsFactory/default (start delay of 51ms)
01-01 00:01:15.616 3682 3682 I audiohalservice: Registration complete for android.hardware.audio.effect@4.0::IEffectsFactory/default.
01-01 00:01:15.616 2419 2419 I hwservicemanager: getTransport: Cannot find entry android.hardware.soundtrigger@2.1::ISoundTriggerHw/default in either framework or device manifest.
01-01 00:01:15.616 3682 3682 E audiohalservice: Could not get passthrough implementation for android.hardware.soundtrigger@2.1::ISoundTriggerHw/default.
01-01 00:01:15.617 3682 3682 E SoundTriggerHalImpl: couldn’t load sound trigger module sound_trigger.primary (No such file or directory)
01-01 00:01:15.618 3682 3682 I HidlServiceManagement: Registered android.hardware.soundtrigger@2.0::ISoundTriggerHw/default (start delay of 53ms)
01-01 00:01:15.618 3682 3682 I audiohalservice: Registration complete for android.hardware.soundtrigger@2.0::ISoundTriggerHw/default.
01-01 00:01:15.619 3682 3682 I BTAudioProviderA2dpSoftware: A2dpSoftwareAudioProvider - size of audio buffer 7168 byte(s)
01-01 00:01:15.619 3682 3682 I BTAudioProviderHearingAid: HearingAidAudioProvider - size of audio buffer 3584 byte(s)
01-01 00:01:15.619 3682 3682 I HidlServiceManagement: Registered android.hardware.bluetooth.audio@2.0::IBluetoothAudioProvidersFactory/default (start delay of 55ms)
01-01 00:01:15.619 3682 3682 I audiohalservice: Registration complete for android.hardware.bluetooth.audio@2.0::IBluetoothAudioProvidersFactory/default.
01-01 00:01:15.620 2419 2419 I hwservicemanager: getTransport: Cannot find entry android.hardware.bluetooth.a2dp@1.0::IBluetoothAudioOffload/default in either framework or device manifest.
01-01 00:01:15.620 3682 3682 E audiohalservice: Could not get passthrough implementation for android.hardware.bluetooth.a2dp@1.0::IBluetoothAudioOffload/default.
01-01 00:01:15.620 3682 3682 W audiohalservice: Could not register Bluetooth audio offload 1.0
01-01 00:01:15.604 0 0 I init : Created socket ‘/dev/socket/pdx/system/vr/display/client’, mode 666, user 1000, group 1003
01-01 00:01:15.615 0 0 I init : Created socket ‘/dev/socket/pdx/system/vr/display/manager’, mode 666, user 1000, group 1003
01-01 00:01:15.634 3683 3683 I ComposerHal: falling back to gralloc module
01-01 00:01:15.626 0 0 I init : Created socket ‘/dev/socket/pdx/system/vr/display/vsync’, mode 666, user 1000, group 1003
01-01 00:01:15.642 3648 3677 I ServiceManager: Waiting for service ‘SurfaceFlinger’ on ‘/dev/binder’…
01-01 00:01:15.656 3683 3683 E ComposerHal: failed to open framebuffer device: No such file or directory
01-01 00:01:15.657 3683 3683 E android.hardware.graphics.composer@2.1-service: Could not get passthrough implementation for android.hardware.graphics.composer@2.1::IComposer/default.
01-01 00:01:15.662 0 0 I init : Service ‘vendor.hwcomposer-2-1’ (pid 3683) exited with status 1
01-01 00:01:15.670 0 0 I init : Sending signal 9 to service ‘vendor.hwcomposer-2-1’ (pid 3683) process group…
01-01 00:01:15.679 0 0 I libprocessgroup: Successfully killed process cgroup uid 1000 pid 3683 in 0ms
01-01 00:01:15.689 3684 3684 I FastMixerState: sMaxFastTracks = 8
01-01 00:01:15.690 3684 3684 V MediaUtils: physMem: 4132323328
01-01 00:01:15.690 3684 3684 V MediaUtils: requested limit: 536870912
01-01 00:01:15.690 3684 3684 I libc : malloc_limit: Allocation limit enabled, max size 536870912 bytes
01-01 00:01:15.691 3684 3684 I audioserver: ServiceManager: 0xe831c100
01-01 00:01:15.692 3648 3666 W ContextImpl: Missing ActivityManager; assuming 1041 does not hold android.permission.UPDATE_DEVICE_STATS
01-01 00:01:15.742 0 0 I binder : release 3648:3666 transaction 8564 in, still active
01-01 00:01:15.754 2417 2417 I ServiceManager: service ‘batterystats’ died
01-01 00:01:15.754 2417 2417 I ServiceManager: service ‘appops’ died
01-01 00:01:15.754 2417 2417 I ServiceManager: service ‘power’ died
01-01 00:01:15.754 2417 2417 I ServiceManager: service ‘recovery’ died
01-01 00:01:15.754 2417 2417 I ServiceManager: service ‘display’ died
01-01 00:01:15.754 2417 2417 I ServiceManager: service ‘device_identifiers’ died
01-01 00:01:15.749 0 0 I binder : send failed reply for transaction 8564 to 3684:3684
01-01 00:01:15.761 0 0 I binder : undelivered TRANSACTION_COMPLETE
01-01 00:01:15.766 0 0 I binder : undelivered TRANSACTION_ERROR: 29189
01-01 00:01:15.772 2417 2417 I ServiceManager: service ‘media.player’ died
01-01 00:01:15.772 2417 2417 I ServiceManager: service ‘media.resource_manager’ died
01-01 00:01:15.780 2417 2417 I ServiceManager: service ‘netd’ died
01-01 00:01:15.780 2417 2417 I ServiceManager: service ‘dnsresolver’ died
01-01 00:01:15.835 2417 2417 I ServiceManager: service ‘wificond’ died

Please help me to resolve this issue.

Regards,
Venkatesh

Its the nature of AOSP MASTER to break frequently. Its usually temporary, but Hikey960 specific maintenance on aosp has been pretty slow over the summer.

Use a known-good manifest:

Thanks for suggestion. However, I get same boot error even if I flash the images from https://snapshots.linaro.org/96boards/hikey960/linaro/aosp-master/855/hikey960-linaro-2019.04.23-factory-5dcf37eb.zip , the recent one mentioned by aosp-known-good-manifest. I tried going back to older revisions one by one and found the the android boots only after flashing the image from https://snapshots.linaro.org/96boards/hikey960/linaro/aosp-master/763/hikey960-linaro-2019.01.21-factory-360873d6.zip or older revisions. The main difference between these two revisions (855 and 763) is the Linux kernel version. I see revision 855 uses Linux-4.14, whereas 763 uses Linux-4.9.

So, basically, my HiKey960 board failed to boot if I flash the image with Linux-4.14. Are there any limitation in my board?

Sounds like you are mix matching partitions built against 4.9 and 4.14. If you build AOSP with kernel 4.14, you need to flash ALL the partitions that you built. Same with 4.9. if you switch kernel versions and want to rebuild, you need to make clean between.

Partitions include;
system
vendor
boot
dts