All Questions
Tagged with android-source linux
103
questions
0
votes
0
answers
61
views
Build image using makefile
recently I saw that AOSP project uses Android.mk files which create image files as Target. For example ramdisk.img using make file
However, I do not understand how these images are built.
Is it ...
0
votes
0
answers
127
views
A ninja failed related error occurs during the build of the OTA package
In the process of building the OTA package, we were following the official document.
(https://source.android.com/docs/core/ota/tools)
. build/envsetup.sh && lunch tardis-eng
mkdir dist_output
...
0
votes
0
answers
76
views
Is it possible to create Android service in the yocto environment?
I want to implement firewall in the Android environment.
In the existing Linux environment, firewall was implemented based on the yocto build system, and I intend to use the yocto environment in AOSP.
...
0
votes
0
answers
172
views
AOSP 14 linux kernel: ERROR: modpost: "relay_*" [../mod_using_relay_*.ko] undefined
In common-android14-6.1-lts, I'm trying to export relay_* symbols by enabling CONFIG_RELAY, the output build kernel config is applied:
$ cat <path-to-kernel-out>/.config | grep RELAY
...
2
votes
0
answers
583
views
How to modify android x86 system.img properly (2023)?
A few years ago, I was able to easy execute the method described in this resolution (2019). However, when I attempted to test it again today and tried to mount the image, I encountered the following ...
0
votes
0
answers
2k
views
kex_exchange_identification: banner line contains invalid characters
When I try to init the AOSP repo, the foloowing mistakes occurred
Get ssh:xxxxxxxxxxxxxxxxxxxx/repo
kex_exchange_identification: banner line contains invalid characters
fatal: Could not read from ...
0
votes
1
answer
620
views
building AOSP 13 error:"bionic-benchmarks-glibc" depends on undefined module "libtinyxml2"
AILED: out/soong/build.ninja
cd "$(dirname "out/host/linux-x86/bin/soong_build")" && BUILDER="$PWD/$(basename "out/host/linux-x86/bin/soong_build")" &...
0
votes
1
answer
514
views
Host out binaries are missing when building AOSP on macos
I'm building AOSP (12) on macOS Monterey with M1. Overall it works well (successfully generates images even while macOS is not officially supported).
However, I've also built the same tree for the ...
0
votes
1
answer
840
views
It is not possible to pack Android 12 Automotive AVD with provided scripts
I correctly built an Android 12 Automotive Emulator (in a Linux build server, thus I couldn't even launch it) without issues.
Now I need to pack, download and share it with colleagues as we did so far ...
1
vote
0
answers
207
views
Increasing serial console suspend time in linux kernel?
I want to increase suspend time for serial console which is approximately 5 mins right now.
For disabling the suspend I'm using no_console_suspend in BOARD_KERNEL_CMDLINE. But ultimate goal is to ...
0
votes
1
answer
199
views
Failed to generate Android incremental OTA package
Getting error while trying to generate incremental OTA using the following command -
./build/tools/releasetools/ota_from_target_files -i PREVIOUS-msm8953_64-target_files-eng.root.zip NEW-msm8953_64-...
4
votes
0
answers
1k
views
Disable console output but show kernel boot logo
I'm currently working with AOSP Android 10 with Linux kernel v5.4.70 on a custom device and I'm trying to reduce the boot time of the device. Disabling the kernel console output with "quiet" ...
1
vote
1
answer
759
views
/dev/i2c is not showing Raspberry Pi4 running on Android
I am using AOSP android 11 in the RPi4. I have enabled the i2c in config.txt using the param dtparam=i2c_arm=on.
The i2c is showing in the /sys/bus/i2c/devices/i2c-1 but /dev/i2c is not listing in the ...
0
votes
0
answers
3k
views
Build sandboxing disabled due to nsjail error (ninja failed with: exit status 1)
I am trying to build AOSP.These were the following steps:
repo sync
make clobber
source build/envsetup.sh
lunch aosp_marlin_userdebug
m
When I execute the lunch, I get this in the console:
Build ...
0
votes
1
answer
269
views
Get notified about audit events in linux
I am using auditd to define some events I want to audit e.g.
./auditctl -w /some/local/folder -p wa -k MyRule
which when e.g. I create a file in the folder results in
2021-08-30 15:30:34.160 24217-...