Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
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 ...
Dung Nguyen's user avatar
0 votes
0 answers
323 views

How to set TARGET_NO_KERNEL = true when building Android source code

Here is the warning message when building Android 14 source code: build/make/core/Makefile:4889: warning: Neither INSTALLED_KERNEL_TARGET nor INSTALLED_BOOTIMAGE_TARGET is defined when PRODUCT_O ...
stackbiz's user avatar
  • 1,352
0 votes
0 answers
105 views

How could I boot my Pixel 3 XL with the compiled android (version is 12.0, and branch name is crosshatch) AOSP kernel with KASAN and KCOV on?

I am here to seek for help as I have stuck in the problem for several weeks, and still have no idea how to deal with it. As I meant to test the android kernel with KASAN and KCOV on with syzkaller ...
cfenice's user avatar
1 vote
1 answer
1k views

Where is the property 'ro.boot.bootreason' being set in Android Open Source Project?

I have 2 devices with different android version (10 and 11) and i get a different boot reason on them. I have some specific logic and it depends on boot reason reboot or userrequested,but sometimes i ...
Rostyslav Sihovskiy's user avatar
0 votes
2 answers
972 views

How to Integrate custom android kernel for Pixel 6a (Bluejay) of AOSP 12 version

My AOSP building steps are as follows mkdir AOSP_ROOT && cd AOSP_ROOT repo init -u ``https://android.googlesource.com/platform/manifest`` -b android-12.1.0_r12 repo sync download ...
Ilaveni Ranjith's user avatar
0 votes
1 answer
523 views

How to port an android 11 kernel to android 12

I want to port a custom kernel which works on android 11 to android 12. https://github.com/morogoku/MoRoKernel-S7 This is the kernel i want to port I need some help regarding how to start or what to ...
Meesam's user avatar
  • 11
0 votes
1 answer
2k views

where is the property 'ro.boot.verifiedbootstate' being set in Android Open Source Project?

the command "adb shell getprop ro.boot.verifiedbootstate" is returning nothing I need to know where this property is being set in the Android Open Source Project in order to correct that. &...
AmenAllah HAMDI's user avatar
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 ...
TaiRon's user avatar
  • 19
4 votes
1 answer
1k views

Why Android kernel compilation needs both GCC and Clang?

Every tutorial I find about Android Kernel compilation (like this: https://gist.github.com/P1N2O/b9b2604c58aa4d7486e2fc0d327d23dc) does things like this: make O=out ARCH=arm64 <defconfig> PATH=&...
Guerlando OCs's user avatar
0 votes
1 answer
1k views

How to detect AVB is running normally or not android?

AVB is Android Verified Boot. How to detect in case an abnormality is detected while executing AVB? From boot, I need to notify whether it started normally or not. Is it possible to check through ...
Shadow's user avatar
  • 6,914
1 vote
0 answers
404 views

Device or resource busy error when pendrive is connected

I am working with AOSP-Q. When i connect the pendrive to my android device, i am getting prints like : [ 2955.285052] read strings [ 2955.288151] init: processing action (sys.usb.config=adb && ...
jayanth vutukuri's user avatar
1 vote
1 answer
913 views

Android Kernel panic Debugging - Android 10

I am currently building a lineage rom for SM-P555 Samsung Galaxy Tab A device Full dmesg log https://hastebin.com/ifavimodum.yaml The tablet hangs at boot up as shown in https://pasteboard.co/K68YclJ....
psuryatej_dev's user avatar
4 votes
3 answers
2k views

How to build without make clean after making changes in dts with AOSP?

I made few changes in dts and when i gave make -j8 from my aosp-root-directory, I don't see the changes taking place after building it and booting up my board. It just quickly builds in a minute or so....
Sourabrt's user avatar
  • 2,296
4 votes
1 answer
969 views

Load custom Android 11 kernel to AVD/emulator

I want to be able to build a custom kernel and run it on an Android Virtual Device (AVD). I have attempted the following instructions but it results in a boot loop. I followed instructions here: https:...
Katherine Perez's user avatar
2 votes
1 answer
100 views

How to intrepret some of the statements in Android.mk file

I have a Android.mk file which belongs to AOSP. There is a particular statement in this file: $(TARGET_KERNEL_CONFIG): $(KERNEL_CONFIG_FILE) $(LOCAL_PATH)/Android.mk Can anyone explain what is this ...
seereddi sekhar's user avatar

15 30 50 per page