Questions tagged [kernel]
The kernel is a central component of most computer operating systems. It acts as bridge between applications and the hardware and also manages the systems's resources.
321 questions
0
votes
0
answers
30
views
Pixel XL (2016) – Network chip dead. Is there any way to use external WiFi or wireless internet?
I have a 2016 Pixel XL and the network chip is completely dead — no WiFi, no SIM detection, no cellular, nothing. I’ve tried messing around with the kernel to get an external USB WiFi adapter working, ...
1
vote
0
answers
39
views
selinux avc: denied { write } because the source level (s0:c145,c256,c512,c768) and target level (s0) are different [closed]
My platform app is trying to write to /dev/video0 file but getting the avc denied:
10-31 08:31:42.987 4786 4786 W com.my.app: type=1400 audit(0.0:41): avc: denied { write } for name="video0&...
1
vote
1
answer
60
views
Flashing modified KERNEL.img on Huawei breaks boot — SELinux remains enforcing, cannot use Frida
I have a Huawei P10 Lite (Kirin 658).
I attempted using Magisk modules to force SELinux permissive, but getenforce still reports Enforcing, so Frida cannot attach to processes. I then tried modifying ...
1
vote
0
answers
72
views
Error during kernel build Google Pixel 5 [closed]
I am building a kernel for a google pixel 5 (first time, guides here have been a huge help!).
Getting to the issue:
I'm trying out the following steps as they seem to be tailored to what I'm doing ...
2
votes
1
answer
198
views
What is binder doing what unix sockets and sysv ipc can not?
Android has this binder thing. If I understand it well, from my linux-centered viewpoint, it is a char device in /dev, and apps are using it for some interprocess communication.
Linux kernel has ...
1
vote
0
answers
152
views
How to add mt7601u driver in android kernel 3.18.140? [closed]
I have rooted Redmi 4x (santoni) with installed Lineage-14.1 (Nougat, kernel is 3.18.140-Loup) and mediatek mt7601u wifi adapter. Last week was spent to connect this adapter to use with Nethunter, but ...
0
votes
0
answers
470
views
Install Linux on Android phones (bare metal but with needed drivers)
So, to summarise the questions:
How do I get the bootloader to work if I want to install Linux ARM distro on Android phones (in this case, OnePlus 5T)
Is it possible to copy drivers in /vendor in any ...
1
vote
1
answer
104
views
Installing kernel from another device
I installed Samsung Galaxy S9 firmware (Android 8.0) on a Samsung Galaxy Note9 because they have almost the same specifications, but the problem is that some drivers don't work correctly (fingerprint, ...
1
vote
0
answers
266
views
Boot Pixel 8 with AOSP kernel
I am currently using Google Pixel 8. I am trying to download the AOSP kernel, compile it, and flash it into my device.
I followed the instructions from the document below.
https://source.android.com/...
1
vote
0
answers
237
views
Unable to boot android emulator with my custom kernel
I did build a custom kernel like this:
mkdir -p ~/dlink-decompile
cd ./dlink-decompile
git clone https://android.googlesource.com/kernel/common.git
cd common
git checkout android14-6.1-2024-04_r11
...
1
vote
0
answers
179
views
Can a "proper" Linux userspace run on an Android kernel?
I've been reading about the challenges of getting Android phones to boot up using a close to mainline Linux kernel, and it got me thinking, manufacturers have their own kernels with all the correct ...
1
vote
1
answer
103
views
How I can point the `rtl8188eus` build towards the cloned android kernel source instead of the system one?
I try to build the https://github.com/aircrack-ng/rtl8188eus driver for android so I can load it into the emulator.
So far I have installed both android sdk, afterwards I have installed ndk
sdkmanager ...
2
votes
0
answers
453
views
Android 14 USB Tethering RNDIS not working
The Killer 1650i Wi-Fi card in my Dell G5 5511 laptop died on me recently and I need to use my smartphone as a Wi-Fi adapter for a substitute without having to order a replacement Wi-Fi card. My phone ...
1
vote
1
answer
987
views
How to build and flash Pixel 8 platform and kernel
I am a complete newbie to AOSP and I'm having trouble building and flashing android kernel for Pixel 8.
I've been trying to follow Building Pixel Kernels instructions, but I'm experiencing some issues....
0
votes
0
answers
69
views
Kernel BUG at drivers/gpu/msm/adreno_dispatch.c
OnePlus 7T smartphone randomly freezes and rebooting.
Bootloader unlocked and rooted. Smartphone runs on Android 11, but the same behavior occurred on a purely installed Android 12. Often the error ...