Skip to main content

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.

Filter by
Sorted by
Tagged with
1 vote
1 answer
42 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, ...
sans400's user avatar
  • 11
0 votes
0 answers
19 views

Building Android GKI kernel using "make"

I have kernel source for Qualcomm Snapdragon Kalama SOC. I wan't to build it, but i cannot use bazel as i'm building from Termux environment. The kernel is based on GKI. How to build the GKI kernel ...
Wolverine's user avatar
0 votes
0 answers
51 views

Android Virtual A/B OTA - Post Reboot merge failed during update_engine snapshot merge

So we have been trying Android OTA and AFAIK starting with Android 12 (which is what I am using now), android uses concept of virtual A/B where the super partition is dynamically sized during OTA. And ...
neevan's user avatar
  • 1
1 vote
0 answers
84 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/...
김의준's user avatar
0 votes
0 answers
83 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 ...
Dimitrios Desyllas's user avatar
0 votes
0 answers
21 views

How I can disable virt_wifi module and enable the rtl8188eus one?

At my quest using my usb stick I have build and Android kernel with rtl8188eus module fro android running upon x86_64: mkdir -p /home/pcmagas/dlink-decompile cd /home/pcmagas/rtlwifiand git clone ...
Dimitrios Desyllas's user avatar
1 vote
0 answers
44 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 ...
Yonatan Avhar's user avatar
1 vote
1 answer
66 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 ...
Dimitrios Desyllas's user avatar
0 votes
0 answers
23 views

USB Type-C Port stops working on Google Pixel 6 Pro when flashing Kernel built using official docs

Using the official docs, I built a Kernel for my Pixel 6 Pro codenamed "Raven" or "Raviole". After flashing the Kernel, the USB Type-C port stopped working. The phone charges fine ...
SK73106's user avatar
  • 101
2 votes
0 answers
215 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 ...
Devan Wolf's user avatar
1 vote
0 answers
361 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....
min893's user avatar
  • 11
0 votes
0 answers
91 views

Is it possible to flash custom kernel from older Android version?

I've recently rooted my POCO F1 and installed a custom ROM on it. I've tried to find a custom kernel for POCO F1 that is specifically for Android 14 and can't seem to find it. Is it possible for me to ...
Shadow Distinct's user avatar
0 votes
0 answers
39 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 ...
skrobbi's user avatar
0 votes
0 answers
216 views

How to enable RNDIS host mode in Android

I am building Android 13 AOSP but I need to enable RNDIS host mode from kernel. I am not sure which config flags need to be added to the kernel in order to enable RNDIS host mode. Can anybody help?
ktom79's user avatar
  • 1
1 vote
1 answer
396 views

How to obtain the Kernel Module Interface for my Android kernel?

I'm running Android 13 via crDroid 9.8 on my Pixel 7 Pro. I want to try KernelSU, but in order to download the proper version, I need to know my Android kernel's KMI ("Kernel Module Interface&...
HippoMan's user avatar
  • 745
0 votes
0 answers
328 views

Where should I put Android kernel modules?

I compiled custom kernel with couple extra drivers and due they had conflicts when I tried to add them as built-in drivers to kernel, I had to compile them as separate modules. I signed the modules, ...
Running Child's user avatar
1 vote
0 answers
308 views

How to get avc logging ( selinux ) in Android working?

I am on Android 10. Whether I setenforce 0 or 1- I cannot get avc ( aka SeLinux ) errors logged. I checked ramoops files also and its ditto. root@m20lte:/ # setenforce 1 ...
user1874594's user avatar
2 votes
0 answers
104 views

Kernel flashing needs data wipe. Why?

Pixel 6a running stock Android 13 There are very few custom kernels available for this device. I found a couple of kernels that I would like to try but here comes the caveat -it needs a factory-reset. ...
beeshyams's user avatar
  • 41.3k
0 votes
1 answer
408 views

Audio not transferring from USB in Oppo A53

I have Oppo A53. The 3.5mm jack did not work properly so I bought a USB type C to 3.5mm converter, but this is also not working with my phone which is running on Android 12. Does anyone know how to ...
KARTIK Rajput's user avatar
0 votes
0 answers
285 views

Cannot encrypt Realme 7 Pro running Android 13 (Project Elixir ROM)

I have Realme 7 Pro device with an unlocked bootloader and installed custom ROM: Project Elixir 3.8 Android 13 Kernel 4.14.212 Selinux Status "Enforcing" Custom Recovery "OrangeFox R11....
mohamed maher's user avatar
0 votes
1 answer
266 views

Adding iptables extensions

After a huge hustle I managed to compile the xt_DSCP.ko kernel module and it can be loaded with no errors. :/ $ su :/ # insmod /sdcard/xt_DSCP.ko :/ # I also managed to pull iptables external from ...
Silent's user avatar
  • 121
1 vote
1 answer
748 views

Building AOSP kernel with debug filesystem

As mentioned in android documention, Android 12 should not use debug filesystem in user mode. I want to build AOSP 12.1 for some device, but building in user mode results to error below: files are ...
a farahabadi's user avatar
1 vote
2 answers
1k views

How do I flash a custom kernel on Pixel 7

I built a custom kernel for my Pixel 7, to include the NFS kernel module. I'm struggling to flash this to my phone and get it loading. After I flash this to my phone, the Google text appears, but not ...
simonzack's user avatar
  • 111
1 vote
0 answers
50 views

Can't boot with OSS kernel

When booting with self-compiled kernel, this error appears in console-ramoops: [ 36.154875] (6)[5679:idmap2]WARNING: CPU: 6 PID: 5679 at fs/buffer.c:1154 __ext4_handle_dirty_super+0x50/0x1a8 [ 36....
Konnlori's user avatar
1 vote
0 answers
214 views

Camera driver in kernel

As far as I know.. 2 programs cannot access to camera hardware at sametime. but if developer has control in kernel or module or camera hardware(which could be modified by him) and when developer ...
Ummm's user avatar
  • 67
2 votes
1 answer
651 views

How can I enable cpu, memory, and io in cgroupv2 (attempt to run Docker on Android)

I am trying to run Docker on Android, using a Pixel 3a XL rooted, running stock rom but flashed a custom kernel. I need to enable cpu, cpuset, memory, io, and pid controllers in cgroupv2. After ...
Paul P's user avatar
  • 51
2 votes
0 answers
202 views

Why is the 'iptables' target 'NFLOG" not sending log messages to the Kernel?

I recently started using an old cell phone, Samsung Galaxy J7 model SM-J700M. I rooted it, flashed LineageOS and installed a SIM card and it works just fine. I decided to work on a script with ...
Joel Vázquez's user avatar
1 vote
1 answer
362 views

If I were to factory reset my device, would my kernel be reverted to my default one? [duplicate]

Would my kernel be reset to its default variant? If not, is the only way to factory reset my kernel to flash the default one?
Joshua's user avatar
  • 39
1 vote
0 answers
65 views

error when making a kernel My toolchain always says "no such file or directory" [closed]

So I am trying to make an old kernel on the newest Unbuntu. Set up build essentials libncurses5-dev bzip2 cant get kernel-package says its unavailable? Haven't found an alternate source. Ive gotten ...
Peter Robertson's user avatar
0 votes
1 answer
470 views

Are android kernel versions are same for identical device models?

I have a question: if I have two Samsung A52 devices are these both got the same kernel versions?
Sultan's user avatar
  • 1
0 votes
0 answers
159 views

Create boot.img from compiled kernel

I am trying to install Magisk on a RePhone. The only operating system related download I found (on the company's website or anywhere else) is this: https://myrephone.com/opensource.7z That seems to be ...
Fabian Röling's user avatar
1 vote
0 answers
290 views

Does Heimdall have the option to boot without flashing/substituting the kernel? (like fastboot boot boot.img)

Fastboot has the option fastboot boot Image.gz to boot a kernel without flashing it to the phone. Is there something similar for Heimdall? I did not want to mess with my phone's kernel for now. It's a ...
Rafaelo's user avatar
  • 71
1 vote
0 answers
114 views

Which phones today uses Android Common Kernel? [closed]

Android Common Kernel is an effor by google to unificate the kernels of the phones. What are examples of phones today that uses Android Common Kernels, except Pixel?
Rafaelo's user avatar
  • 71
1 vote
0 answers
419 views

unable to boot new kernel with kexec on android

As an alternative to pstore (pstore/ramoops won't work on Poco M3, rooted), I'm trying to boot another kernel into my already booted android kernel, to maybe see the kernel logs on boot, using ...
Rafaelo's user avatar
  • 71
2 votes
0 answers
323 views

pstore/ramoops won't work on Poco M3, rooted

I'm trying to use pstore logs on my Poco M3. I tried everything. PSTORE configs are activated on the kernel, pstore module is loaded on the phone, phone is rooted, /sys/fs/pstore is mounted ...
Rafaelo's user avatar
  • 71
1 vote
1 answer
546 views

Why is a vendor blob needed to build an Android ROM?

Why do we need a vendor blob in order to make our custom Android ROM from the AOSP project? As far as I know, the vendor blob contains the required proprietary drivers. But these drivers we could have ...
Priyanshu Jangid's user avatar
1 vote
0 answers
2k views

How to enable both "diag" and "rndis" port of Android?

I have One Plus Nord device which is rooted using Magisk. I am able to enable the usb tethering(rndis) and capturing modem logs(diag) separately using the libusb program. But the requirement is to ...
Vatish Sharma's user avatar
1 vote
0 answers
178 views

Fastboot Kernel Install

I want to install Arrow OS with OrangeFox. I understood the installation step, but I want to install the KVM opened kernel. I have it in the form of boot.img file and I install it with the fastboot ...
EFI Shell's user avatar
1 vote
0 answers
25 views

Change network interface name in persistent way on Android [duplicate]

Is it possible to change the name of a network interface in an Android 11 rooted system making the change persistent? I am not looking for just renaming the interface after the boot, I want to change ...
EM90's user avatar
  • 111
1 vote
0 answers
277 views

Can't run `fastboot boot kernel` on Poco M3

I'm trying to boot a kernel without flashing it, on my Poco M3. I already unlocked the booloader and I'm on fastboot mode. Some fastboot commands like reboot work, but for fastboot boot, I did ...
Guerlando OCs's user avatar
0 votes
0 answers
25 views

Is it possible to build a linux kernel/stripped down android version for Samsung Galaxy A5 and Tab 4? [duplicate]

I have been doing a lot of hobbyist electronics recently and was wondering if I can use my old Samsung Galaxy A5 duos phone, samsung galaxy core duos gt-i8262 and/or Samsung Galaxy Tab 4 7.0 3G in ...
StealthyPanda's user avatar
0 votes
0 answers
219 views

How to load android shared libraries

How does Android load /system/lib/*.so libraries? How does the system knows what file is for what purpose. Is there a database or list of expected.so files and their functions?
Lite Riyusaki's user avatar
1 vote
0 answers
65 views

How do I get the kernel for this phone?

I think companies are legally required to publish the kernel for their phone somewhere. I bought a phone derived from this one: https://www.paxtechnology.com/android-smart-pos and can't find the ...
Guerlando OCs's user avatar
1 vote
0 answers
161 views

flash boot.img to use the kernel

why to flash a kernel i need a zipper anykernel 3? i can't flash directly the boot.img of a rom, example (PixelExperience) to have oniichan kernel on (LineageOS)? i'm absolutely new in the world of ...
CadettoEx's user avatar
1 vote
1 answer
45 views

Does each ROM has its own boot?

At the moment, I have Redmi Note 7 on Pixel Experience. I do not like the kernel it has. As a result, I tried to change it by flashing the boot.img of the stock ROM. Unfortunately, it remains stuck at ...
Nocciola21's user avatar
0 votes
0 answers
490 views

Is there a way to stop Android messages from network providers?

I receive ads from my network provider via Android pop-ups: Is there a way to disable it? These messages are extremely annoying, I woke up last night due to the brightness of the screen, as these ...
Mohammed Ahmed's user avatar
0 votes
0 answers
869 views

Is it possible to run KVM-Accelerated VM on Android Devices?

I am trying to enable KVM on the Android kernel so that I can run KVM accelerated VM on my Android phone. However, after enabling KVM, checking the dmesg, I get this: [ 1.039716] c3 1 kvm [1]:...
overkill's user avatar
2 votes
1 answer
837 views

Native Linux on Android's SOCs

I wanted to know for quite some time why linux operating systems are not ported to phones or tablets SOCs with android? Like how they are on desktops and laptops. I know linux can run on various ...
imbr's user avatar
  • 198
1 vote
1 answer
560 views

Building Pixel 4a kernel [closed]

I'm trying to build my custom sunfish kernel on pixel 4a, note that the system is unlocked and rooted via "Magisk", After building success (for test I didn't change anything on kernel source)...
sivandahan's user avatar
1 vote
1 answer
637 views

Modifications of vendor image on Android 10 - alternative idea

Further to my earlier question here and according to the "Mounting Partitions Early" article, I'm looking the correct way to implement my new idea: Skipping the mounting in the startup of ...
sivandahan's user avatar

1
2 3 4 5
7