Skip to content

Infinite "pcakage_native" errors #1

@Ruinland

Description

@Ruinland

Hi,

After trying the binary release which boot to GUI successfully, I recently have tried to build this AOSP release from source.

Yet I encounter an infinite loop of the following message :

01-01 00:57:11.294   342   342 W ServiceManagerCppClient: Waited one second for package_native (is service started? Number of threads started in the threadpool: 0. Are binder threads started and available?)
01-01 00:57:11.295   159  1276 W libc    : Unable to set property "ctl.interface_start" to "aidl/package_native": error code: 0x20
01-01 00:57:11.445     0     0 I servicemanager: Since 'package_native' could not be found (requested by debug pid 342), trying to start it as a lazy AIDL service. (if it's not configured to be a lazy service, it may be stuck starting or still starting).
01-01 00:57:11.446     0     0 E init    : Control message: Could not find 'aidl/package_native' for ctl.interface_start from pid: 159 (/system/bin/servicemanager)
01-01 00:57:11.446     0     0 I servicemanager: Tried to start aidl service package_native as a lazy service, but was unable to. Usually this happens when a service is not installed, but if the service is intended to be used as a lazy service, then it may be configured incorrectly.
01-01 00:57:12.294   342   342 W ServiceManagerCppClient: Waited one second for package_native (is service started? Number of threads started in the threadpool: 0. Are binder threads started and available?)

With a quick search on the web, it seems that the error message appears in Peter's RPi-Android base before :
https://groups.google.com/g/Android-rpi/c/0cJaKk-gEf0?pli=1

Have you encountered the issue as well ?

The files below are the full boot logs of my source build (fail to boot) and the binary release (success to boot).
log_failed.txt
log_sucesss.txt

By the way, even the binary release sometimes fail to boot properly and will trigger Android watchdog hung detection and ends up a reboot randomly (around 1 in 5 times).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions