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
0 votes
0 answers
50 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
148 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
  • 575
0 votes
0 answers
41 views

I can't interact with android over hypervisor using virtio-input

I am running the android trout as a guest in a hypervisor, the problem is when I am interacting with it using virtio-input the events detected using getevent but not reflected Thanks in advance
Mostafa Gamal's user avatar
0 votes
0 answers
83 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
0 votes
0 answers
88 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
67 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
  • 40.3k
0 votes
1 answer
133 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
171 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
137 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
0 votes
0 answers
84 views

Delete sit0 interface

My samsung smartphone keeps losing network connection. Internet will work only when I restart the mobile. By default my custom Android 12 (rooted with magisk) use ipv4 routing table. ip route show ...
olga olga's user avatar
1 vote
1 answer
361 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
0 votes
0 answers
92 views

Unable to install btusb.ko driver on Android TV (Android 5.1)

Having Amlogic Android TV Android 5.1 without Bluetooth inbuilt, but having root access. I'm trying to install an external USB Bluetooth driver btusb.ko which is compatible with Android 5.1 and has ...
user9330612's user avatar
1 vote
2 answers
595 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
0 votes
0 answers
49 views

Nokia G10 Android kernel source code availability and GPL request procedure

I'm thinking about doing a LineageOS port for the Nokia G10. One part of doing the port is getting access to the Android kernel sources. Since the Android kernel is GPL 2, HMD - the company behind the ...
k_o_'s user avatar
  • 133
1 vote
0 answers
30 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
168 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
326 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
115 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
181 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
36 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
321 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
103 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
232 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
90 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
302 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
234 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
306 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
1k 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
135 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
20 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
209 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
88 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
50 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
142 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
269 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
631 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
549 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
506 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
510 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 vote
2 answers
1k views

Modifications of vendor image on Android 10

There is a vendor image in my device I want to change (unpack/mount, doing changes, pack/umount). My purpose is to update boot.img with my new kernel (in a rooted device). Unfortunately, it does not ...
sivandahan's user avatar
1 vote
0 answers
113 views

How to get information parameters from kernel after boot loads android?

when an (Android) bootloader starts loading kernel, it passes some parameters to the kernel (for example androidboot.verifiedbootstate, ...),how to get the information whether boot gets successful or ...
Abracadabra's user avatar
1 vote
0 answers
532 views

How to automatically set a CPU governor on boot?

There are apps that can accomplish this task (e.g. "Kernel Adiutor" and others), however they in turn require other apps that can grant them root access to begin with, which is a lot of ...
Prototype700's user avatar
2 votes
1 answer
829 views

AOSP Android 11 Kernel build for Pixel3a/Sargo Touchscreen not working

Intro: I had an issue getting the build to compile, but finally got it to successfully build/compile, & installed on my phone, as covered here: mkbootfs command not found while trying to build ...
Kevin's user avatar
  • 191
2 votes
1 answer
956 views

`mkbootfs` command not found while trying to build AOSP kernel

Followed guide here: https://source.android.com/setup/build/building-kernels mkdir android-kernel && cd android-kernel repo init -u https://android.googlesource.com/kernel/manifest -b android-...
Kevin's user avatar
  • 191
1 vote
0 answers
100 views

What can I do with an open source phone/kernel?

So this is my very first attempt in any kind of android development. I have here my phone's official kernel source. I was wondering if I can build this to boot or if it's ready for building. Also this ...
Abdelrahman Esam's user avatar
3 votes
1 answer
289 views

Salvage Android Phone as Linux-Server (radio/wifi hardware broken)

My device has hardware problems with radio/wifi. Hence it's not possible to use sim-card or wifi. That also makes it restart frequently. Now it's useless as a phone. So I am trying to turn it in a ...
imbr's user avatar
  • 198
1 vote
0 answers
719 views

Is it safe to turn off kernel panic in Android?

So I'm using a custom kernel that overclocked my CPU and GPU. I turned down the frequency to stock but the big cpu freq can't be set(restore itself to default after some time), causing my phone to ...
Jtnqr's user avatar
  • 151
0 votes
0 answers
83 views

Add more clock speeds

I know that the phone's kernel contains the clock speeds but is there a way to add your own clock speeds? What do I have to do to edit the kernel, where is the the clock speed data stored?
PranshuTheGamer's user avatar

1
2 3 4 5
7