Questions tagged [android-kernel]

Core component of Android OS that bridges between applications and the actual data processing done at the hardware level. It is based on the Linux kernel.

218 questions
79
votes
1 answer

Modifying in-call voice playback in Android custom ROM

I would like to modify Android OS (official image from AOSP) to add preprocessing to a normal phone call playback sound. I've already achieved this filtering for app audio playback (by modifying HAL and audioflinger). I'm OK with targeting only a…
SirKnigget
  • 3,614
  • 2
  • 28
  • 61
9
votes
3 answers

kernel config file location in android

I need to compile custom kernel with dvb-t drivers as kernel modules on _rkm mk602_ android device with rk3066 processor. I have downloaded the kernel source for this processor, however I am having trouble configuring kernel for this device from…
Dreamo
  • 139
  • 1
  • 2
  • 9
9
votes
2 answers

Getting 'root" permission for Android App

I would like to know how can we get root permission from android app? Are there any app out there in android market? I tried out the below line of code to list out files but nothing happened Process process = Runtime.getRuntime().exec(new String[] {…
ik024
  • 3,566
  • 7
  • 38
  • 61
8
votes
0 answers

type=1400 audit: avc: denied { read write }

type=1400 audit(506975.539:15): avc: denied { read write } for pid=5920 comm="print" name="prn0" dev="tmpfs" ino=1600 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:device:s0 tclass=chr_file permissive=0 Getting this issue in Android…
Deepak Nasir
  • 91
  • 1
  • 1
  • 3
8
votes
0 answers

Assigning Wifi Direct Group Owner's IP address in Android

I am working on building a mesh of android devices using Wifi Direct and Wifi. My basic scheme is as follows: 1) Each node builds a Wifi Direct Group Owner (GO) access point using the WifiP2pManager.createGroup() method. It then advertises it by…
6
votes
1 answer

How to reduce boot time in embedded android os.?

Initially android os was booting in 28 secs. Already I have reduced it to 19 secs removing boot-delay,boot animation and disabling preloading of classes. I want to boot os within 10 secs. Please suggest me some tips kernel level or u-boot level to…
Kumara
  • 301
  • 1
  • 3
  • 10
5
votes
2 answers

Android 4.0 kernel source code?

Where can I get the Android 4.0 (Ice Cream Sandwich) kernel source code? While this might be a stupid question that some people have asked before, I can't seem to find a suitable answer anywhere because: Google decided to be really useful and…
Kristina
  • 15,859
  • 29
  • 111
  • 181
5
votes
2 answers

Android 10: Update kernel modules

Background: I am working with a Pixel 4, build QQ2A.200501.001.B2, which is Android 10. When I build the kernel from the official sources and flash it, the touchscreen, wlan and other features do not work. I tracked this down to the fact that the…
5
votes
1 answer

How to flash the kernel image on android device?

I am trying to learn the kernel customization and for this I have target OnePlus 6T device. I am able to compile the kernel source code on my Ubuntu 18 with the following steps: Download latest dtc from…
Vatish Sharma
  • 1,536
  • 3
  • 16
  • 35
5
votes
4 answers

Android LowMemoryKiller Failing to Kill Webviews

For quite some time now, I've been trying to debug major bursts of lag/stuttering on my device, when playing heavy games. After analyzing my logcat a lot, I feel I've identified what is causing the spikes of unbearable lag. The following error shows…
Koolstr
  • 464
  • 1
  • 10
  • 20
5
votes
1 answer

Linux character device -- what to do if read buffer is too small?

I'm creating a linux device driver that create a character device. The data that it returns on reads is logically divided into 16-byte units. I was planning on implementing this division by returning however many units fit into the read buffer, but…
Gavin S. Yancey
  • 1,216
  • 1
  • 13
  • 34
5
votes
2 answers

make[1]: *** No rule to make target `firmware/am335x-pm-firmware.bin', needed by `firmware/am335x-pm-firmware.bin.gen.o'. Stop

I have a Ti Sitara AM335x Starter Kit and I want to use USB 3G-Modem on it. I am following these documents: http://processors.wiki.ti.com/index.php/Android-USB-3G-Modem-Integration &…
4
votes
1 answer

Google removed cross compilers for Android Kernel. Where are they now?

I've used UBERTC prebuilt cross compilers so far, but I get errors when compiling an android kernel, and they haven't updated their stuff since 2016, so I just would like to find an alternative. Google should have them, obviosly. But I'm unable to…
winwin
  • 958
  • 7
  • 25
4
votes
2 answers

Integrate separately built android kernel into AOSP

How do I properly build an Android kernel then build the AOSP with this kernel? For now I am virtualizing Android on a Linux x86_64 host. The AOSP lunch option I use is aosp_cf_x86_64_phone-userdebug. The AOSP is on the master branch and synced back…
davidj361
  • 147
  • 7
4
votes
2 answers

How to interpret ARM's SMC calls?

I have been reading Android's kernel to see how dynamic power management for CPU cores (aka DVFS, DCVS) is being done. The code I found here makes some calls to the following function (defined here) which in turn calls the SMC assembly…
Matt
  • 796
  • 12
  • 25
1
2 3
14 15