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
0 answers
108 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
32 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 ...
0 votes
0 answers
24 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 ...
0 votes
0 answers
247 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, ...
4 votes
2 answers
10k views

Is USB debugging needed when flashing stuff?

I mostly worked on Samsung phones, but I also had a shot on some cheap MTK phones. Over the course of rooting/flashing roms/flashing kernels I built myself/using Odin (Samsung)/etc. on a lot of ...
1 vote
1 answer
286 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&...
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 ...
0 votes
0 answers
160 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?
1 vote
1 answer
423 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 ...
1 vote
2 answers
2k 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 ...
1 vote
1 answer
547 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 ...
15 votes
1 answer
644 views

Are there any Google devices that support file based capabilities in their default kernel?

If I systemless root (no modification done to /system partition) a Nexus device, would I be able to able to set capabilities on executables without changing the original kernel binary ? I often want ...
0 votes
0 answers
60 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
1 vote
0 answers
203 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 ...
0 votes
1 answer
266 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 ...
2 votes
0 answers
87 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. ...
0 votes
0 answers
241 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....
0 votes
1 answer
203 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 ...
0 votes
0 answers
114 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 ...
1 vote
1 answer
3k views

What does "<string>@<string>" (ex: se.infra@SEP138#1) mean on kernel version?

I have broken my mobile, so I want to download the original version back. The original version is: Android version: 4.1.2 Kernel version: 3.0.31-638230 se.infra@SEP138#1 On kernel version, what ...
2 votes
0 answers
644 views

Android Boot Logs Before Logo

BTW, I am wanting to know what Android Boot Logs come before the Android Boot Logo. I see an Android Boot Logo, and I have to hold the power button, but what does it show in the boot logs in the ...
2 votes
1 answer
1k 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-...
1 vote
0 answers
43 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....
1 vote
0 answers
2k views

How can I lock device on a particular network frequency using android kernel sources?

Motivation My goal is to select or lock LTE frequency bands on mobile devices with Qualcomm chipset. On some devices like Samsung Galaxy S5, we can access hidden menu: *#2263# to select the radio ...
1 vote
0 answers
201 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 ...
2 votes
1 answer
486 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 ...
2 votes
0 answers
161 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 ...
1 vote
1 answer
291 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?
1 vote
0 answers
51 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 ...
0 votes
1 answer
394 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?
0 votes
0 answers
144 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 ...
1 vote
2 answers
18k views

How can I find the name of the Kernel and its version that is running in my phone?

I had flashed Android 6.0 Marshmallow in My Nexus 5. As a part of a rooting process, I had to flash the kernel to allow SU binary to work. All is fine and root works well. Kernel is a intangible ...
1 vote
0 answers
265 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 ...
1 vote
0 answers
370 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 ...
1 vote
0 answers
106 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?
2 votes
0 answers
283 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 ...
2 votes
0 answers
982 views

Write protection of loop device // Read-Only Filesystem

After spending days on that topic I am in need of additional ideas ;) Facts: MTK6757 / Android 7 / Kernel 4.4.15 / FS EXT4 (No F2FS) / Working Root I have a fresh and clean 64MB EXT4 .IMG File in /...
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 ...
1 vote
0 answers
151 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 ...
0 votes
1 answer
2k views

How to debug "wlan_wake kernel wakelock" on an unrooted device?

The question is as short as the title. I've a Samsung Galaxy Note 3 & it has started showing issues where the CPU remains in lowest possible frequency (250Mhz) and it doesn't go to deep sleep. I ...
1 vote
0 answers
22 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 ...
1 vote
0 answers
256 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 ...
0 votes
1 answer
2k views

How to unroot and remove a custom kernal on android

I have had my Samsung s5 mini (G800F) for some time now and am looking to sell it. I rooted the phone and used a custom kernal that allowed OTG support for the phone. How do I remove the root and the ...
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 ...
1 vote
1 answer
3k views

Cannot find HTC One in ADB, SD card not mounted, incorrect kernel for installed ROM, no backup

Pretty much what the title says. I have messed up big time. Because I am switching carriers, I have to switch back to the stock ROM. It is stuck at the loading screen, most likely because of a kernel ...
0 votes
0 answers
164 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?
2 votes
1 answer
3k views

How do I load an unsigned Kernel Module to my signature enforcing Kernel?

I compiled a kernel module (wacom.ko) using the proper kernel source for my device and Google toolchain. When I tried to insmod the module, an error message popped up saying required keys not ...
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 ...
1 vote
0 answers
56 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 ...
1 vote
0 answers
147 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 ...

1
2 3 4 5
7