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
1answer
8 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.
2
votes
1answer
110 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
146 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
18 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
61 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
31 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
24 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
14 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
50 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
76 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 ...
1
vote
1answer
129 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
48 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
23 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 ...
1
vote
1answer
429 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
0answers
34 views

How can i recognize what kind of wifi SoC that my phone using?

How can i recognize what kind of wifi SoC that my android smart phone using? etc bcm... and my smart phone can not access in dmesg. ㅜㅜ
0
votes
1answer
47 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 ...
0
votes
0answers
31 views

Update Remix kernel from Androidx86

I have installed new gtx 1050 gpu. But its not supported by remix os. But it is supported by Androidx86. And phoenix os is still buggy. I read about updating on xda. But its breaking the os. Can any ...
2
votes
2answers
257 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
213 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
217 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 ...
0
votes
0answers
9 views

Xperia Z1 freezes and reboots

I know that this is bug in Stock Lolipop 5.1.1, still i haven't collected any kernel logs because when i need root i just use custom roms, because they are more flexible and there i don't have that ...
1
vote
1answer
100 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 ...
0
votes
0answers
46 views

Can't use adb after phone startup until unplug/replug USB cable on Galaxy S3

I am doing some Android kernel development and would like to be able to quickly flash a kernel and reboot my phone to test my changes. Unfortunately, whenever my phone starts up, I can't access the ...
0
votes
0answers
169 views

How to install Kernel Driver

https://android.googlesource.com/kernel/msm/+/android-7.1.0_r0.2/drivers/hid/hid-huion.c I want to install the driver linked above. How should I do it? I'm running on a custom rom so do I tamper with ...
1
vote
1answer
122 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
406 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
789 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
41 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
314 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
53 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
3k 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
184 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
204 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
366 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
330 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 ...
0
votes
1answer
197 views

How can I disable the GPS functionality from my android phone at the kernel level?

How can I disable the GPS functionality from my android phone at the kernel level? I know this requires (though not sure) disabling either device drivers for GPS or kernel module BUT how to do it ...
0
votes
2answers
1k views

How do I get a version of Android with linux kernel >= 3.18 on a Nexus 5?

According to this post Android 7.1 has kernel 4.1.1 and Android 6.0 has kernel 3.18.10. I installed Android 6.0 on a Nexus 5 (using the latest google image) and ended up with kernel 3.4. Then I ...
0
votes
1answer
131 views

Build kernel module on locked bootloader [closed]

I have an device with locked bootloader, but i have the kernel source and prebuilt kernel. I have two questions: Do i need the kernel to be built to get a module working? Can i get an module to be ...
1
vote
0answers
496 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 /...
0
votes
1answer
1k views

Is android kernel a microkernel or a monolithic kernel?

Since the android kernel is derived from the mainstream Linux kernel, with additional drivers for a specific android device. is it safe to say that the Android kernel is also a monolithic kernel? But ...
0
votes
1answer
6k views

“Could not do normal boot invalid kernel length”

My G935F shows "Could not do normal boot invalid kernel length" when attempting to boot into TWRP or turn on the device normally. The only thing I can access is ODIN. This happened after attempting to ...
0
votes
1answer
155 views

How to add support to an external monitor in Android?

My Samsung Dex (with Android 7 in a Samsung Galaxy S8 phone) won't work with my LG 23MT75D-PU monitor. I think because the Android driver are not ready to talk with this monitor yet. I will want to ...
-5
votes
2answers
518 views

How to brick android

I'm currently trying to hard-brick my phone. Yes, you read right. The reason doesn't really matter. I tried flashing wrong recovery/ROM but no success. I could easily recover the smartphone afterwards ...
0
votes
0answers
60 views

login error into POS software

I have downloaded Yalp Store successfully. It seems to be working, but I'm unable to log in into one of the software I downloaded. Do you know what this means... "Not allowed to start service intent [...
0
votes
1answer
629 views

Unfortunately, Google Play services has stopped?

I recently bough an Android computer from China. However, it does not have Google Play Store on it. I've tried downloading and installing the Google Play APK. The installation appears to be successful,...
0
votes
1answer
245 views

As of current versions, would any of these setups pass safetynet checks?

Would these pass? OP3T + LineageOS + Kernel that doesn't show bootloader unlocked status? and also OP3T + LineageOS + Kernel that doesn't show bootloader unlocked status + Magisk? I'm currently on ...
0
votes
1answer
2k views

Booting kernel from fastboot

We all have heard of "fastboot boot xxxx" command. How does it work when you use it for kernel (fastboot boot boot.img)? Is it simple as this: it boot Android with that kernel if possible or it make ...
0
votes
1answer
328 views

Use an SD card as internal storage

I recently bought a Coowell V5 with a S905X mobo. I overwrote its firmware with one from a Nexbox A95 (that has the same S905X mobo), and now my internal partitions disappeared(mmcblk0p0,...p1,...). ...
0
votes
1answer
804 views

Change the actual kernel on my phone

After reading the "benefits" that I could have after changing the kernel of my phone I would change the actual one that my phone has. I've already flashed custom roms in the past and my question is if ...
0
votes
0answers
1k views

Kernel module for create hostapd on android things

I am trying to create an access point on android things for raspberry pi 3, the hostapd configuration: cat > data/misc/wifi/hostapd.conf << EOF interface=wlan0 driver=nl80211 ctrl_interface=/...