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
0answers
8 views

How do I change the Battery Percentage that corresponds to a Voltage in Android

My original Li-ion has 3000mAh capacity. I've modded my device to have a total of 7000mAh capacity now. The enhanced capacity means that my percentage is not displayed accurately anymore. About ...
0
votes
0answers
14 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 ...
2
votes
0answers
19 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 ...
0
votes
0answers
12 views

Load kernel from usb pen-drive in android

Presently my board is loading kernel from eMMC. I am trying to understand to load kernel from USB pen-drive in android device(AOSP). Stopped in u-boot , USB driver is up. I could not able to find ...
0
votes
0answers
13 views

Use a moto g 2015 without screen

I have a problem with a moto g 2015 to use it with out screen. I need do a system ip cameras in my home because my housemaid is stealing me. So, Im using old moto g with out screen and I control it ...
1
vote
0answers
18 views

The Permission Paradox for Device Kernel [closed]

Details: Oppo F9 Pro CPH1823 So, I have installed Lineage into one of my phones that is officially supported. There was not problem I faced doing that. Now, my new phone is not officially supported, ...
0
votes
0answers
20 views

How to make the kernel to also check termux bin folders

How can i make android kernel to always check termux binary folder for some binaries assuming they are not found in /system/bin ? I tried copying those binaries from termux bin folder into /system/bin ...
0
votes
0answers
52 views

Autopsy of an android 8 death under low memory and battery conditions, manifested as pattern lock, cured by reinstalling OS

The device in question is a Samsung J4, the model was released in May 2018 and the device was purchased and activated in early 2019. The device came with Android 8.0, its consists of a standard ARM ...
0
votes
0answers
23 views

Use AOSP generated boot.img with Android 10 factory images

Is there a way to use a boot.img generated by AOSP sources with factory images of lets say sailfish (Google Pixel)? I used to do this in the past, but now this results into a bootloop. logcat haven't ...
1
vote
0answers
16 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 ...
1
vote
1answer
38 views

What feature of Android provide security to reset the /system changes on reboot?

I am stuck in a weird situation where I have two Android 10 phones from Samsung. I have rooted the stock recovery of both device as instructions given here. The problem is when I change something via ...
0
votes
0answers
47 views

Recompile kernel: no errors but it doesn't work

I'm a beginner, and at the moment I'm trying just to repack original boot image. I've discovered that boot partition is on the "/dev/block/mmcblk0p7", so I pulled it with adb pull /dev/block/mmcblk0p7 ...
1
vote
0answers
35 views

How to add a simple file on /system without actually modifying it but with using kernel sources? [closed]

From the time system-as-root came, developers have rooted different devices by patching the Magisk su binaries in the kernel. I want to understand how exactly they have done this so to start from ...
1
vote
0answers
141 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 ...
0
votes
1answer
70 views

What is needed to run ELF binaries compiled from android APKs? (understanding android internals)

I'm trying to understand how Android works internally. Before ART, it used Dalvik to run java code. I guess it created a Dalkiv process in 'Linux' kernel which was simply a VM that ran the dex ...
0
votes
1answer
207 views

there is an internal problem with your device

When I install my custom kernel i got this message after reboot. The phone working normal no kernel panic or etc. system/build.prop vendor/build.prop
2
votes
1answer
758 views

SELinux permissive kernel - is it a security risk?

As in title. I am talking of Kernel, not ROM (plenty of questions dealing with ROM on this site). I have a OnePlus 7 running stock Android 10 and prefer a custom kernel. Of late, OnePlus hasn't ...
0
votes
0answers
24 views

What happens in low level when booting a Android Q (10) device?

I have read this article which introduce Linux booting process. However, even if Android system also use Linux as kernel, the surrounding software is greatly different. So I have searched this post ...
1
vote
0answers
44 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/...
1
vote
0answers
248 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 ...
2
votes
1answer
257 views

How can /proc/sys values be changed at boot (sysctl.conf does this on normal Linuxes)?

How can /proc/sys values be changed at boot? sysctl.conf doesn't exist on Android and echoing values to the proc files isn't persistent.
1
vote
1answer
1k views

SELinux always set to permissive, how to set enforcing permanently?

I flash a custom ROM to my HTC B2UL. The ROM, by default, has the SELinux policy set to Permissive instead of Enforcing. I can use adb shell setenforce 1 to make SElinux enforcing. But after reboot, ...
1
vote
1answer
879 views

How to edit root files in /sys (Permission Denied)?

I have been trying to change root files in my phone through an app I am developing. The phone I have is a Moto G6, fully rooted. I'm using terminal emulators to run commands on my phone. I've tried "...
0
votes
1answer
42 views

How to view device kernel information (verbose)?

I need to view my device kernel info, in particular the architectures. The device is not rooted, therefore uname command isn't available in local terminal, but cat /proc/version doesn't have an ...
0
votes
1answer
277 views

How to install a 64bit gsi

I know, to some people, this question may seem illogical, but I have tried every possible solution available. I want to flash a 64 bit AOSP phusson's GSI in my Redmi S2, which has stock 32 bit OS, ...
0
votes
0answers
126 views

Phone only charging in offline charging (when powered off) Moto X play

I'm struggling with this issue for about two months now. ISSUE Phone, when on slowly charge to around 65% (rarely reaches 100%). Around +10%/h. Ampere reports battery overheat, when it's 25-32 C. On ...
0
votes
1answer
35 views

Is it possible to add a driver to my kernel without flashing a new kernel? [duplicate]

Is it possible to load a driver as a kernel module into my Galaxy S10, Magisk rooted without having to build a new kernel and flash it?
0
votes
0answers
17 views

Why does go_hispeedfrequency gets to 1.4Ghz even when I set to 648 mhz?

Using ElementalX kernel manager,stock android 8.1 and on ElementalX kernel.In interactive governor option,to save power I put the settings but it changes and also boost becomes 1 from 0 every time.
0
votes
1answer
212 views

Using wlan1 instead of wlan0 in Android Nexus 6

I am trying to use a WiFi dongle with Android Nexus 6 with custom ROM and kernel. I have installed drivers of USB WiFi dongle on Android phone that appears at wlan1 network interface in adb shell. ...
0
votes
0answers
160 views

Making external wifi adapter work on Android

I am having a problem understanding what options I have to use my external wifi adapter, TL WN722N, on my Android Phone. I am using a galaxy s10+, rooted with magisk, no custom recovery/kernel. My ...
2
votes
1answer
447 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 ...
0
votes
0answers
160 views

USB OTG not showing WiFi network even after drivers are installed in Android kernel

I am trying to connect to WiFi using a USB WiFi stick by making use of OTG on my Android Nexus 6. The USB WiFi stick has a separate AP. However, I am unable to see this AP in the list of available ...
1
vote
0answers
118 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 ...
2
votes
1answer
2k views

How can I enable last_kmsg?

I'm trying to diagnose a random reboot on LineageOS 14. last_kmsg is not in /proc, nor it is in /sys/fs/pstore/console-ramoops. EDIT: ~# mount | grep PSTORE ~# mkdir /mnt/pstore && mount ...
0
votes
1answer
66 views

Flashing andriod roms and kernals

If you have rooted an android phone and flashed a different kernel can you just flash over another rom or will it brick your phone. Is it necessary to go back to a google factory rom before you ...
2
votes
2answers
1k views

where kernel modules are installed?

I am trying to find Linux kernel modules on my nitrogen board. I have unpacked kernel config from /proc/config.gz and I see kernel was compiled with a lot of modules. I see only one in /vendor/lib/...
1
vote
1answer
400 views

Dirty Flash Android Kernel

Will it be an issue if I dirty flash android kernel? I am trying out a few kernels for my phone and I want to make sure that dirty flashing won't affect the efficiency of the kernel. If it does, what ...
1
vote
1answer
441 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 ...
1
vote
1answer
165 views

What position do cellular communcation (1G, 2G, 3G, 4G or other function only implemented in phone) play in Android operating system archtecture?

I am entirely new to Android, but have a little knowledge on Linux. I have view the architecture graph of android on official site: The Problem: Not all android device support cellar network. As a ...
1
vote
1answer
387 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 ...
0
votes
1answer
808 views

Should Android kernel version date match the release date?

In the process of checking the settings on my Sony Xperia XA I came across the Linux Kernel information. Version 3.18.35 was released in June 2016 but the date shown is from 2017: 3.18.35+ BuildUser@...
2
votes
0answers
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 "...
0
votes
0answers
52 views

How to disable sensors on-demand to reduce power consumption?

Nowadays, any Android device has a big sensor amount implemented. It is true that most of the sensors do not require a considerable amount of power for their operation. But the sum of the power ...
0
votes
1answer
1k views

Where to find information about WiFi connectivity of the device?

is there a way I can find information about my device's connectivity to WiFi network? I need information like: what network I'm connected too, what is the mac address of the router, how long have I ...
0
votes
1answer
75 views

bind mount / symlink - keep destination “tree” on removal of source?

I'm trying to accomplish something fairly odd, so bear with me. I've added an external SD card to my old Droid Mini (basically just for an experiment to see whether or not I could expand the storage ...
5
votes
1answer
5k views

Backup/dump kernel image (and full ROM) without root for Mediatek Devices

I would like to pull the boot image of my device Pipo N7. I don't have root. I found the following link: Backup/dump kernel image without root or twrp/cwm` But when I try to find /dev -name 'by-name'...
1
vote
1answer
336 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 ...
0
votes
0answers
272 views

Permission Denied on injected /sbin Scripts

I have an android device.. and Honor View 10... L04 version (US). I have a set of tweaks I am injecting into my kernels ramdisk, that all fire off without issue when I adb shell in and manually run ...
2
votes
1answer
490 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 ...
2
votes
0answers
416 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 ...

1
2 3 4 5 6