MiCode / MiCode/Xiaomi_Kernel_OpenSource
Redmi A1 (ice) — Incomplete Kernel Source: Missing Drivers and Unbuildable Source Tree
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 9.9k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
Hello MiCode team,
My name is Matheus, and I am reporting a critical issue with the kernel source published for the Redmi A1 / POCO C50 under the branch ice-s-oss.
The kernel source is incomplete and cannot be compiled, even though the correct defconfig is provided.
Below is a clear list of problems encountered:
- Missing driver directories (SOLOMON)
The following file is referenced but does not exist:
drivers/input/touchscreen/mediatek/SOLOMON/Makefile
Make errors:
drivers/input/touchscreen/mediatek/SOLOMON/Makefile: No such file or directory
Multiple Makefiles reference the same missing directory.
- Assembly files contain invalid/truncated code
During the build, this error appears:
Error: junk at the end of line, first unrecognized character is '#'
This indicates truncated or corrupted source files, meaning the published code is not the same as the kernel shipped on the device.
- make mrproper fails
Running:
make mrproper
produces errors related to missing folders referenced by Makefiles. This confirms the source tree is incomplete.
- Source does not match the kernel from the stock ROM
Because of the missing drivers and corrupted assembly files, it is impossible to reproduce the stock kernel image.
Under GPLv2, Xiaomi is required to publish the complete corresponding source code necessary to rebuild the kernel used in production firmware. The current release does not meet GPL requirements.
Device Information
- Device: Redmi A1 / POCO C50
- Codename: ice
- Branch: ice-s-oss
- Kernel version: 4.19.191
- Build environment: Void Linux + aarch64/arm toolchains
Please provide:
- A corrected and complete kernel source tree for the Redmi A1 (ice)
I can provide full build logs if needed.
Thank you,
Matheus
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the ice-s-oss branch by checking the referenced drivers/input/touchscreen/mediatek/SOLOMON/Makefile paths and the assembly files reported by the build. Run make mrproper and the provided defconfig build with the listed toolchains; done means the source tree is complete, cleans successfully, builds, and can reproduce the stock kernel image.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100