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

All Questions

0 votes
2 answers
542 views

Launching Android Open Source Project (AOSP) in AWS Cloud

I am planning to run an AOSP built on AWS Cloud that is on an EC2 named "a1.metal". My EC2 has the following configuration: CPU - 16 cores (AWS Graviton processor) RAM - 32 GB Architecture -...
Angad Bandal's user avatar
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
266 views

How to Build custom Kernel module for aosp13 for Raspberry Pi

Followed Steps Add module to the menuconfig: cd kernel/arpi/drivers/invcase/ # Invcase Device configuration menuconfig INVCASE tristate "Inverse Characters Case" default y help ...
Sidhiremath's user avatar
0 votes
0 answers
107 views

USB wakeup from suspended state on Android 13.x IMX8MQ evk

I am unable to use USB wake-up feature of Android on IMX8MQ evk. I am using the following setup: -Imx8mq EVK -Android 13 -Kernel 5.15.71-dirty -GSM modem is attached via USB I have set the following ...
Muhammad Awais's user avatar
0 votes
0 answers
186 views

Kernel Driver Not Detected by Apps in Android

I'm compiling Android 11 on a development board with an RK3568, and everything is working fine. I have an accelerometer sensor that was pre-configured on the board and is functioning as expected; I ...
AlejandroAlis's user avatar
0 votes
0 answers
380 views

insmod: failed to load /vendor/lib/modules/circular-char.ko (AOSP-barbet) (Pixel 5a)

I am new with AOSP and inserting kernel modules. I copied the module to /vendor/lib/modules/ on my phone and then tried to insmod, which is when I get the error. I think I have made it against the ...
Anish Puranik's user avatar
0 votes
1 answer
522 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
-2 votes
1 answer
457 views

Building kernel 5.10 for blueline

I was wondering if there's a way for me to port kernel 5.10 to my device Google Pixel 3 (blueline) as the official Google support ended with kernel 4.9, but there's features that I need of kernel 5.10 ...
aetherscx's user avatar
0 votes
1 answer
968 views

Add Custom sensor in AOSP

I want to add the LSM6DS3 sensor driver in my AOSP source code. I am using SC600T device. I have already add lsm6ds3 to the location /SC600T/SC60_SC600_Android9.0.0_kernel4.9_r029/kernel/msm-4.9/...
Aditya Oza's user avatar
0 votes
1 answer
807 views

Set file permissions in Android source code

In my Android 10 image I have the file (of type character) /dev/i2c-1: crw ------- 1 root root 89, 1 2021-05-26 11:51 /dev/i2c-1 I have the source code for this Android and I would like this file to ...
Gean Santos's user avatar
0 votes
1 answer
151 views

Create Service in Kernel Which is Monitoring Multiple Packages on Android

I want to write one script(.sh file) in the kernel which is continuously checking my System app. if my system app is crashed or for any other reason it stopped. my script(.sh file) will start the ...
Aditya Oza's user avatar
3 votes
1 answer
2k views

How do I compile the msm android kernel using the AOSP toolchain?

I've been stuck at this for more than a week, so I'd appreciate any help. What am I trying to do? (you can skip this part if you want) I'm trying to do android kernel exploitation. That's not my ...
None's user avatar
  • 617
1 vote
0 answers
595 views

How to modify AOSP to allow specific apps to get root access in Android 9?

I am working on the AOSP project in Android 9, i have to give root access of my system app to run the Specific Shell/ADB commands like dumpsys, dpm, etc, which need Super User permission. I took ...
Amit Gupta's user avatar
1 vote
0 answers
1k views

ARM32, phys_to_virt, Unable to handle kernel paging request at virtual address

I'm working on implementing a variant of https://apenwarr.ca/log/20190216. Long story short, the main idea is to have a space in memory where to keep informations and to retrieve this information ...
Thomas's user avatar
  • 21
1 vote
1 answer
188 views

Remote kernel debug on ARMv7 using Olimex ARM-USB-OCD adapter

I'm currently trying to debug my kernel. My goal is to put a breakpoint in a new syscall that I am implementing. The kernel runs on a remote Imx6q board. I've setup the JTAG debugger and I can connect ...
Thomas's user avatar
  • 21

15 30 50 per page
1
2 3 4 5