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.

119 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
0 answers
15k views

How to read/interpret Bluetooth HCI snoop log?

... to continue troubleshooting to my previous question: bluetooth - Nexus 6p - kernel wakelock - bluesleep - Android Enthusiasts Stack Exchange, I Enable Bluetooth HCI snoop log via (Settings -> ...
user avatar
  • 998
3 votes
0 answers
494 views

Emulator startup issue

I am trying to run a standard AVD (ARM, empty layout, other settings as proposed by Android Studio) on the emulator. Enabled -verbose, -debug all and -show-kernel modes. The emulator boots, but ends ...
user avatar
  • 131
3 votes
0 answers
5k views

Why does the Kernel and Android System/Android OS drain my battery?

3 hours since unplugging my phone, and at light usage it's at 61%. It is the kind of problem I've had with my previous phone, and I have with my current phone, often starting a few months in and ...
user avatar
  • 131
2 votes
0 answers
104 views

Does turning off cpu cores will actually save power?

My phone is using custom kernel that has cpu hotplug in it. The hotplug name is AutoSMP and it has max cpu (big & little) core that should be online option in it. Currently I'm using 3 + 3 core ...
user avatar
  • 151
2 votes
0 answers
264 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 ...
user avatar
2 votes
1 answer
2k 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 ...
user avatar
  • 121
2 votes
0 answers
1k views

Android OS (Phoenix OS) restarts when i insert headphone in 3.5mm jack

What I have tried: I have tried USB earphones and mic, both works perfectly, So it should not be Sound/Audio issue in Android. If I keep earphones plugged in during boot, PC shuts down at "...
user avatar
2 votes
1 answer
889 views

Possible to patch the Android kernel with root?

Basically there's a boot rom exploit on Tegra X1 chips, specifically the Nintendo Switch that allows you send payloads while it is in Recovery Mode and basically run unsigned code (homebrew, custom ...
user avatar
2 votes
0 answers
615 views

Linux kernel 4.4 Android devices

I am trying to find out what all devices are running linux kernel 4.4+ and having a hard time finding all. Till now I could only find Sony Xperia devices running kernel 4.4. The reason I was trying ...
user avatar
  • 21
2 votes
0 answers
780 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 /...
user avatar
  • 21
2 votes
0 answers
87 views

What's the logical name for Android's native GPS interface?

I'm trying to identify and locate the /dev/ pseudo-file that corresponds to the onboard, hardware GPS devices; installed in most modern Android smartphones, and tablets. I know that it probably varies ...
user avatar
  • 197
2 votes
0 answers
940 views

Remix OS Android Kernel Upgrade

I have recently Installed Remix OS on my pc. I found out that the linux kernel version on this version of Remix OS is 4.4.3 which doesnot support dual band wifi. How can I upgrade the linux kernel ?
user avatar
  • 121
2 votes
0 answers
405 views

Powersave governor VS Marshmallow Doze

After searching on Google and XDA for an answer (which I didn't find), I decided to pose this as a question here. So, I guess that the majority of us know about the so-called big difference between ...
user avatar
  • 2,909
2 votes
0 answers
319 views

Automatic turning on an android

i have found a solution of the problem of automatic turning on an android (not samsung), when battery is charging for this i've inserting the line /system/bin/reboot in the file /system/bin/ipod ...
user avatar
2 votes
1 answer
4k views

How do I mount an NFS share on an CM 12?

I'd like to mount an NFS share on my Android cell phone, with perhaps a mount-unmount button on the home screen. Any ideas of how to accomplish this? My /system/lib/modules is empty. It doesn't have ...
user avatar
  • 3,805
1 vote
0 answers
41 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 ...
user avatar
  • 61
1 vote
0 answers
87 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 ...
user avatar
  • 61
1 vote
0 answers
113 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 ...
user avatar
  • 61
1 vote
0 answers
41 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 ...
user avatar
1 vote
0 answers
100 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 ...
user avatar
1 vote
0 answers
39 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 ...
user avatar
1 vote
0 answers
126 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 ...
user avatar
1 vote
0 answers
44 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 ...
user avatar
1 vote
0 answers
76 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 ...
user avatar
1 vote
1 answer
44 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 ...
user avatar
1 vote
1 answer
412 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 rooted device). Unfortinatly it does not ...
user avatar
1 vote
0 answers
65 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 ...
user avatar
1 vote
0 answers
153 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 ...
user avatar
1 vote
0 answers
62 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 ...
user avatar
1 vote
0 answers
347 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 ...
user avatar
  • 151
1 vote
0 answers
232 views

Why does android has only one zram but linux distros use many zram equal to the number of cpu cores?

Most android roms have only one zram device [zram0] but linux distros use many zram like zram0, zram1 .... Why is it like that? Does using many zram consumes more power or adds complexity? what's the ...
user avatar
1 vote
0 answers
39 views

What algorithm does Android used to translate touchscreen events to scancodes?

I have been debating someone recently about whether physical keyboards are faster than touchscreen keyboards. I have a lot of CS knowledge, but not a lot of Android knowledge. Therefore, during this ...
user avatar
1 vote
0 answers
28 views

What is the most stable kernel for my ALE-L21 (2015) alice and ROM?

I'm pretty sure that this is already a weak legacy device but I want it to be useful and stable in performance to the max. Can you suggest the ultimate kernel for my 7.1.2 AOSP based custom ROM? Note:...
user avatar
1 vote
0 answers
149 views

Linux Deploy Ubuntu share folder

I wasn't sure if I had to ask this question on a Linux Exchange or on the Android one, but since folder sharing is working fine on the Linux that are running on my computer, I thought that it is an ...
user avatar
1 vote
0 answers
746 views

How to force SELinux to permissive even when setenforce 0 is not working and kernel was 100% permissive when flashed?

I don't know what to do, I'm using Samsung Note 3 (Exynos) - N900 with custom Resurrection Remix 5.8.5 ROM (Android 7.1.2) with it's own permissive kernel and rooted with Magisk. Yesterday it turned ...
user avatar
  • 11
1 vote
0 answers
27 views

PIO CLI support for normal Android

Question is simple, is it possible to integrate PIO CLI tool to normal AOSP project for cellular device? According to my current knowledge Android Things OS is not open sourced, at least not ...
user avatar
1 vote
0 answers
1k 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 ...
user avatar
1 vote
0 answers
126 views

How to increase the sample rate of the current measured from the Android kernel?

I need to monitor some applications power consumption of my Samsung A8, programmatically. I'm doing this by accessing the files: /sys/class/power_supply/battery/current_now /sys/class/power_supply/...
user avatar
1 vote
0 answers
1k views

How to capture kernel panic logs when ROM failed to flash?

Background: Stuck in boot-loop when unpack and pack system.img? Short Description: I am trying to modify the system partition of my Samsung S10 5G system-as-root treble device. I have successfully ...
user avatar
1 vote
0 answers
626 views

Is it a Kernel or a ROM that provides power_supply battery files?

Long story short I was installing custom ROMs to my Android device and one thing that stays in place regardless of ROM I use is a wrong battery stats monitoring. The device always behaves like it's ...
user avatar
  • 111
1 vote
1 answer
755 views

Are android system kernel panic logs available in TWRP recovery?

I am trying to debug a rom I built but can't seem to find the any kernel panic or system logs in TWRP recovery. Is it possible to create logs for a failed boot to see whats going wrong? I am still ...
user avatar
  • 121
1 vote
0 answers
170 views

Location and filenames of wireless drivers on Android 5.02, Kernel 3.10.49?

I am looking to fuzz the wireless drivers and linked / associated files on Android 5.02, kernel version 3.10.49. I am looking for vulnerabilities in those files. I believe I need to know what the ...
user avatar
1 vote
0 answers
200 views

Phone runs out of memory; reboots

Phone is an Alcatel Pixi 4 4034 (which has 512MB RAM). For various reasons, I've ended up with an unofficial Cyanogenmod 13 port on it. The problem I have is that the phone periodically slows down ...
user avatar
  • 171
1 vote
0 answers
2k views

Samsung's equivalent to Fastboot's Temporary Flash

Questions that address Samsung not having fastboot can be found here and here. My question: With fastboot you are able to use fastboot boot boot.img to temporarily boot your phone with a custom ...
user avatar
  • 889
1 vote
1 answer
516 views

What is the difference between File based encryption and Full disk encryption. Can someone explain in brief

Can someone explain what is difference between File based encryption and Full disk encryption. I had gone through Android Developer Page but it is not clear. Can someone explain with examples.
user avatar
  • 331
1 vote
1 answer
821 views

How to get a clean device tree to build the drivers of the msm8939/snapdragon 615

I come to you with many interrogations about qualcomm msm8939 SoC. I bought the Archos 50 diamond last year and have since been waiting for archos to make their move regarding android software ...
user avatar
1 vote
0 answers
206 views

Custom ROM on a stock S5 with custom kernel?

A couple months back, I have installed a custom kernel on my Samsung S5 with stock Touchwiz. Now I want to flash a custom ROM on this phone and was wondering if I can do it while my kernel is not the ...
user avatar
1 vote
0 answers
733 views

Is it possible to have the system/kernel reverse x-axis touch input?

I have a galaxy S6 G920F. I have this problem with my touchscreen. The x-axis input is reversed. When I touch it on the left part it registers the touch on the right etc.. Is there a way to just ...
user avatar
1 vote
0 answers
183 views

Samsung I9300 Galaxy S 3 CPU default clock speed info Changed after installing Boeffla-Kernel

Original Clock Speed: Quad-core 1.4 GHz Cortex-A9 Samsung I9300 Galaxy S III - Full phone specifications But after installed Boeffla-Kernel it changed to Quad-core 1.6 GHz Cortex-A9 Looked up the ...
user avatar
  • 161
1 vote
0 answers
73 views

Can't sideload some apps on some kernels (idlekernel, Cyanogenmod kernel)

I always wanted to use idlekernel but once I install it, the apps would disappear (also happened on Cyanogenmod kernel). Usually the apps that it doesn't want me to sideload are the ones that gets ...
user avatar