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.

125 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
0 answers
584 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 ...
Enrico's user avatar
  • 141
4 votes
0 answers
16k 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 -> ...
alexus's user avatar
  • 1,038
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 ...
jonallard's user avatar
  • 131
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. ...
beeshyams's user avatar
  • 40.8k
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 ...
Joel Vázquez's user avatar
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 ...
Rafaelo's user avatar
  • 71
2 votes
0 answers
426 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 ...
Jtnqr's user avatar
  • 161
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 ...
William Wilkerson's user avatar
2 votes
0 answers
795 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 ...
Usurer's 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 "...
Sonu Panchal's user avatar
2 votes
1 answer
1k 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 ...
Nishikata's user avatar
2 votes
0 answers
674 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 ...
Bharat's user avatar
  • 21
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 /...
Sebastl's user avatar
  • 21
2 votes
0 answers
89 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 ...
voices's user avatar
  • 217
2 votes
0 answers
993 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 ?
spaul's user avatar
  • 121
2 votes
0 answers
409 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 ...
Grimoire's user avatar
  • 2,969
2 votes
0 answers
324 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 ...
user3111350's 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 ...
Evan Carroll's user avatar
  • 4,257
1 vote
0 answers
110 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
1 vote
0 answers
204 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
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....
Konnlori's user avatar
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 ...
Ummm's user avatar
  • 67
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 ...
Rafaelo's user avatar
  • 71
1 vote
0 answers
372 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
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
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 ...
EFI Shell's user avatar
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 ...
Guerlando OCs's user avatar
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 ...
Guerlando OCs's user avatar
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 ...
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
1 vote
0 answers
137 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
660 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
1 vote
0 answers
111 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
1 vote
0 answers
800 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
  • 161
1 vote
0 answers
406 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 ...
Arun_005's user avatar
1 vote
0 answers
47 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 ...
Austin Cory Bart's user avatar
1 vote
0 answers
59 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:...
Mohammed Mehdi TBER's user avatar
1 vote
0 answers
226 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 ...
Karampistis Dimitrios's user avatar
1 vote
0 answers
2k 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 ...
Marty's user avatar
  • 11
1 vote
0 answers
30 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 ...
Burznazg's user avatar
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 ...
Vatish Sharma's user avatar
1 vote
0 answers
153 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/...
Eduardo macedo's user avatar
1 vote
0 answers
2k 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 ...
Vatish Sharma's user avatar
1 vote
1 answer
1k 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 ...
Top-Bot's user avatar
  • 121
1 vote
0 answers
174 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 ...
unseen_rider's user avatar
1 vote
0 answers
237 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 ...
Jules's 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 ...
Matt07211's user avatar
  • 919
1 vote
1 answer
544 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.
Spyder's user avatar
  • 361
1 vote
1 answer
452 views

what is irq/464-14c2000 android

What's this process doing in android? irq/464-14c2000 I see it often - when cpu usage is turned on in developer options of my android device. Is it some kind of interrupt service routine? it has a ...
java's user avatar
  • 223
1 vote
1 answer
887 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 ...
Satan-lui-mm's user avatar