Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
12 views

Is there a kernel with CONFIG_PSTORE_CONSOLE enabled, which is compatible with LineageOS 14? [closed]

The device is an S5 (klte). I'm asking because my device reboots unpredictably, and since pstore is not enabled on the default kernel, I can't diagnose it (I have no idea when it will happen, which ...
1
vote
1answer
50 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
21 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
31 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
22 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 ...
1
vote
0answers
128 views

Is there an Arm emulator for android devices?

My android device has an MTK6797 Soc(Xiaomi Redmi note 4x mtk version), and the company never released the kernel source, now I want to connect a USB device through OTG and control it from a chrooted ...
2
votes
2answers
75 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
88 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
125 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
7 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
82 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
31 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
69 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 ...
0
votes
0answers
51 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
229 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
545 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
33 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
110 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
42 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
2k 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
140 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
166 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
287 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 ...
0
votes
0answers
143 views

Samsung T700 (klimtwifi) WiFi Trouble With ac Routers (RR 5.6.9 MM)

Samsung T700 (klimtwifi) WiFi Trouble With ac Routers (RR 5.6.9 MM) I have a problem with my tablet's wifi and my new router. For some reason RR 6.0.1, ResurrectionRemix-M-v5.6.9-20160602-...
2
votes
0answers
264 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
0answers
151 views

Why is my Android kernel using up too much space?

I have a Lenovo Vibe K5 Note (4GB) running Android 6.0. My device is not rooted and the excess memory usage is kind of lagging each and every operation in my phone. Why is my Android kernel using up ...
0
votes
1answer
157 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
939 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
121 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
463 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
707 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
4k 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
153 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
436 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
58 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
585 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
224 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
309 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
688 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
1answer
1k views

Kernel module for create hostapd on android things

Hello 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 ...
1
vote
2answers
277 views

Default terminal emulator/console

There should be at least a console accessible since Android use the linux kernel. Why is there no terminal emulator or console installed by default in Android OS ? Is there a particular reason?
2
votes
0answers
72 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 ...
3
votes
1answer
4k views

Is USB debugging needed when flashing stuff?

I mostly worked on Samsung phones, but I also had a shot on some cheap MTK phones. Over the course of rooting/flashing roms/flashing kernels I built myself/using Odin (Samsung)/etc. on a lot of ...
2
votes
0answers
193 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 ...
2
votes
0answers
738 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 ?
2
votes
2answers
3k 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 ...
0
votes
2answers
72 views

How to stop power intake when completely charged?

Is it possible a process should run in the background of Android OS, and the only task of that process is to stop the power intake to the device when the battery is completely charged?
0
votes
1answer
172 views

CM-14.1 compilation error on Ubuntu 32 bit [closed]

I'm attempting to rebuild Cyanogenmod 14.1 with Realtek drivers support. I have managed to download the entire CM source code as well proprietary specific files for my phone which is a Motorola Nexus ...
-2
votes
1answer
776 views

How does someone add devices to the lineageOS github repo?

My phone isnt currently supported by lineage and many other phones that either my friends or i have. So i would like to know how to add a new device tree and kernel for any self-builder to use out ...