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
3 votes
2 answers
4k views

Why isn't Android using kernel v4+?

While i understand that the patches needed to "support" Android operations aren't in the mainline kernel distribution, I don't understand why it isn't being ported to newer kernels. Newer kernels ...
EnzoR's user avatar
  • 212
3 votes
1 answer
8k views

How do I find the kernel config for my ROM?

I'm very happy with CM11 ported to my phone(Samsung Galaxy Ace 2). One day I bought Bluetooth keyboard. When I tried to connect it, it paired and... wat? No connection!? I thought that this ROM has ...
mikroskeem's user avatar
3 votes
1 answer
3k views

Low level Android kernel hacking

Where can I find information regarding low level kernel hacking on Android? For example, I'd like to know how the device boots and follow the execution path from that point. Where exactly is the code ...
boot-inspector's user avatar
3 votes
1 answer
209 views

Galaxy S7EDGE Random Reboots

Two months back from now I installed LightROM oreo, it was fine then but after two months it started to get slow. So I decided to flash pie or Q rom, but from my previous experience whenever I install ...
Areeb's user avatar
  • 51
3 votes
1 answer
5k views

How can I backup and restore Cyanogenmod 12.1 rom installed on my Samsung Galaxy 2 i9100?

Cyanogenmod(12.1)'s recovery has no backup or restore option. As I read in the answer of a previous post, CyanogenMod recovery is basic, so we should flash another recovery. The easiest way would be ...
Simine Sim's user avatar
3 votes
2 answers
2k views

How to interrupt Android boot sequence to force it boot to Linux kernel only

I am trying to do some low level performance testing related to device processor cores through adb which I feel it is affected by Android background services and system stuff. As I know that the ...
user2139641's user avatar
3 votes
1 answer
861 views

Flashing a New Kernel

If I'm going to flash a new Kernel with ROM Manager Pro, do I need to reinstall my MOD, delete my data, or delete my cache? I am running CM 6.1 and want to flash one of ChevyNo1's kernels but will ...
Matt's user avatar
  • 19.3k
3 votes
1 answer
3k views

My Huawei u8160(Vodafone 858) supports usb-host although not working?

I have a Huawei u8160 running Psyke83's Cyanogenmod 7.2 14/8/2012 which had a package with it to apply usb-host mode kernel called usbhost1-cm-7-20120814-MADTEAM-u8160.zip. So I flashed the zip using ...
Mohamed Essam's user avatar
3 votes
3 answers
20k views

Get root or re-install the OS without a USB cable?

Usually, the guides for getting root or re-installing the OS on an Android device (I have a Samsung Galaxy S, which I'm mostly inetersted about) tell to flash the device from another computer through ...
imz -- Ivan Zakharyaschev's user avatar
3 votes
2 answers
408 views

What parts of the regular Linux graphics driver architecture is used in Android?

For example, could the Nouveau driver be used and provide hardware accelerated drawing when Android is compiled for x86?
Stephan Aßmus's user avatar
3 votes
1 answer
3k views

Does Cyanogenmod Kernel support loop devices?

Since I am failing to mount a Nandroid image and since I have read that the kernel needs to support loop devices for that I need to know if anybody has managed to mount a loop device on CM7 or similar....
n3rd's user avatar
  • 507
3 votes
1 answer
2k views

Baseband and radio in Android

In the below picture 1, It seems that the radio firmware don't need a linux driver in Android, It just need a user space shared library, is it? 2, what is baseband?
lovespring's user avatar
  • 1,185
3 votes
0 answers
274 views

Unable to take kernel logs on a non-rooted device [duplicate]

I am trying to take kernel logs but so far have only got errors like 'permission denied', 'path does not exist' or 'kernel log does not exist'. I have tried this kernel panic link, this crash logs ...
TheCommentWriter's user avatar
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
3 votes
0 answers
1k views

Can someone recommend a ROM and kernel for the Galaxy S2 that works fully? [closed]

I have installed a kernel and ROM onto my Samsung Galaxy S2. However, it's been giving me a lot of problems. First the Compass didn't work, then when the compass was fixed by installing a patch the ...
Questioner's user avatar
  • 3,729
3 votes
1 answer
4k views

Android USB Gadget Driver

I am trying to get Ethernet over USB working for my Nexus S. I am running Ice Cream Sandwich v4.0.3 and have rebuilt the kernel with USB Gadget support turned on. When I connect the phone to my ...
bobbark's user avatar
  • 83
2 votes
1 answer
6k views

Why is EXT3 not supported on Android?

Android uses the Linux kernel instead of some "Android kernel", so why is ext3 not supported on Android 2.3?
Devyn Collier Johnson's user avatar
2 votes
1 answer
2k views

Is it possible to extract the kernel and device tree from a rom?

Is it possible to extract the kernel and device tree from an android 6.0 rom?
Stan Vanhoorn's user avatar
2 votes
1 answer
729 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
2 votes
1 answer
543 views

Application Sandboxing in Android

I came across a line in this page. "The Android system assigns a unique user ID (UID) to each Android application and runs it as that user in a separate process. This approach is different from ...
Prakhar Singh's user avatar
2 votes
1 answer
480 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
1 answer
2k views

Default kernel version of Android-x86 ISO

I know that android-x86[...]-k49.iso means it is using kernel version 4.9, but for some ISO like android-x86[...]-r4.iso, the kernel version is not mentioned. Since 64-bit isn't booting for me, it ...
K S Maan's user avatar
  • 104
2 votes
1 answer
1k views

How can I check if a device is booted into safe mode from adb?

Is it possible to use adb to detect whether a device is booted into "Safe Mode" or normal mode? I've looked through the output of getprop and other command-line tools and haven't found any good ...
Dan's user avatar
  • 440
2 votes
1 answer
4k views

Can I flash a custom ROM and a separate custom kernel after?

I currently use a Galaxy S3 Neo and have recently flashed the latest Resurrection Remix ROM (android 5.1.1 based on cm 12.1). After doing this, I have experienced multiple random reboots which I found ...
rodit's user avatar
  • 177
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-...
Kevin's user avatar
  • 191
2 votes
1 answer
2k views

How to load kernel module with Magisk root but without custom kernel?

I am having a really hard time finding anything about this on Google which is not from 2011. I have a Samsung Galaxy S10+. I have rooted it with Magisk without TWRP, i.e. no custom recovery or custom ...
DriverGUy's user avatar
2 votes
1 answer
2k views

Why files/directories under Android's root filesystem don't change across different version updates?

I compared 2 devices; one running Android v5.1.1 and other v9.0. So I noticed that files under /proc are same in both. Can anyone explain why there is no difference even though OEM's are different and ...
ghost_83's user avatar
2 votes
2 answers
5k views

Overcommit ratio settings for Android? (Kernal Adiutor)

I cannot seem to get a straight answer on this, and that is the Overcommit Settings in the Android Kernel. I only have a basic understanding of it, that it allows the system(?) to only use a certain ...
JCTechie's user avatar
  • 146
2 votes
2 answers
54k views

How to upgrade Android kernel version

I am running a Android device with a kernel version of 3.4.5 on a soc made by mediatek (MT6582). Now recently I found a within post with the stock untouched KitKat based kernel for MT6582. This new ...
Aditya Venkatesh's user avatar
2 votes
1 answer
924 views

Samsung Galaxy S2 bricked?

I own a galaxy sII. 3 weeks back, I downloaded and flashed the MIUI ICS rom on my phone. A week later I tried to update the ROM through ROM Manager. Everything went fine except when after flashing the ...
input's user avatar
  • 266
2 votes
2 answers
2k views

Install zImage on Android 2.2 devcie

How do I install zImage on Android 2.2 device? I have one galaxy tab 7.0 and one NVIDIA Tegra 250 delvel kit. I was trying to using fastboot on NVIDIA Tegra 250 but I failed. I could load zImage ...
cha5986's user avatar
  • 21
2 votes
1 answer
896 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
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 ...
Ciado's user avatar
  • 121
2 votes
1 answer
2k views

linux kernel not seen from android filesystem?

I'm reading 'embedded linux' and in chp.6 "filesystems" there is a figure that I do not understand. here it says that the 'linux kernel' is not seen from android filesystem. This give me some ...
kwagjj's user avatar
  • 151
2 votes
1 answer
979 views

Why is TRIM not supported on encrypted "/data" partition?

I have a rooted Lenovo A369i. I use LagFix (fstrim) to TRIM partitions. Previously it was working well with /data but after I encrypted my phone it doesn't. I decrypted my phone by formatting. But now ...
Aashish Kumar Shaw's user avatar
2 votes
1 answer
7k views

usb to ethernet driver installation

I am following this thread to enable my samsung android phone to do usb to ethernet communication http://forum.xda-developers.com/showthread.php?t=2039886 I copied the smsc75xx.ko generated by the ...
user2979872's user avatar
2 votes
1 answer
1k views

how to find out secret service codes for android

I have a Spice Dream Uno (Android One) and none of the secret service codes I found on the internet (like ##197328640## and ##7378423##) work on it. Do I have to root my phone in order for these to ...
Amit's user avatar
  • 129
2 votes
1 answer
1k views

Does Android 2 support swap space?

With Android 2.3 being Linux-based, can Android 2.3 use a swap partition without being rooted?
Devyn Collier Johnson's user avatar
2 votes
2 answers
569 views

My phone reboots after a kernel oops, what can I do?

I use the CyanogenMod firmware on my phone (CM7.2 on a HTC Wildfire) and when I take photos it sometimes reboots. I found out that a kernel oops happens due to a null pointer dereference in the kernel....
Gadcam's user avatar
  • 23
2 votes
1 answer
309 views

Create Defy Kernel Backup

I own a Motorola Defy and it is running 2.2.2. I was wondering if i could create a backup of my kernel by any means! Is there any software/application/method which can help me achieve this? Thanks
Shrewd Demon's user avatar
2 votes
1 answer
509 views

What is special/different about CyanogenMod's kernel? (especially compared to. DroidX GB kernel)

In an Phandroid article announcing the first successful attempt to run CyanogenMod on DroidX thanks to cvpcs's breakthrough, I noticed the following quote: CyanogenMod 7 will unfortunately be ...
DVK's user avatar
  • 2,059
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.7k
2 votes
0 answers
158 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
281 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
417 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
642 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
792 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

1
2
3 4 5
7