linuxkernelnewbies | Unsorted

Telegram-канал linuxkernelnewbies - Linux Kernel Brickers

2892

Subscribe to a channel

Linux Kernel Brickers

I installed the extra lib as i was looking for a solution

Читать полностью…

Linux Kernel Brickers

[julian@julian-82xt android_kernel_nokia_sdm660_44]$ make ARCH=arm64 CC=/home/julian/Downloads/clang+llvm-9.0.0-x86_64-pc-linux-gnu/bin/clang CROSS_COMPILE=/home/julian/Downloads/gcc-arm-8.2-2019.01-x86_64-aarch64-linux-gnu/bin/aarch64-linux-gnu- CROSS_COMPILE_ARM32=/run/media/julian/762f771f-ef43-4854-ab49-1b09a204f60e/arm-linux-androideabi-5.1/bin/arm-eabi- -j12

Читать полностью…

Linux Kernel Brickers

No he want k4.14 -> k4.19

Читать полностью…

Linux Kernel Brickers

Are u want 4.19 for op6t?

Читать полностью…

Linux Kernel Brickers

https://github.com/EdwinMoq/android_kernel_oneplus_sdm845

https://github.com/duckyduckG/android_kernel_xiaomi_sdm845_419

Читать полностью…

Linux Kernel Brickers

GitHub

Читать полностью…

Linux Kernel Brickers

https://suicidepreventionlifeline.org/chat/ always helps me when I can't boot

Читать полностью…

Linux Kernel Brickers

https://developer.android.com/studio/profile/inspect-gpu-rendering
https://developer.android.com/topic/performance/rendering/profile-gpu

Читать полностью…

Linux Kernel Brickers

List of notes in Linux Kernel Brickers:
- als
- aosp_docs
- authorship
- benchkit
- bisect
- bldgcc
- bringupchat
- caftracker
- cherrypicking
- clang
- compilation
- errortemplate
- gpu_profiling
- hackbench
- hastebin
- help
- io_bench
- io_bench_help
- meld_merge
- mergeqcacld
- mergingcaf
- missingheaders
- newgcc
- oem_caftag
- oemcommits
- ot
- patching
- powerofstable
- pstore
- subtreemerge
- tc-build
- upstream
You can retrieve these notes by using /get notename, or #notename

Читать полностью…

Linux Kernel Brickers

https://git-scm.com/docs/git-cherry-pick

Читать полностью…

Linux Kernel Brickers

Repo

Guide

android-linux-stable

Читать полностью…

Linux Kernel Brickers

@meghthebot seeing ur builds of oppo a37

Читать полностью…

Linux Kernel Brickers

Just boot recovery temporarily
fastboot boot recovery.img

Читать полностью…

Linux Kernel Brickers

I flash my custom boot.img, i loose my my recovery and my phone doesn't boot, only option ive is to turn on my device to pull

Читать полностью…

Linux Kernel Brickers

If you have the directory /sys/fs/pstore in recovery means recovery kernel obviously has pstore in its defconfig. Also look at the .config generated instead of the defconfig because it should say CONFIG_PSTORE=y or that it's not set, either way you can just add it to defconfig

in arch/<architecture>/boot/dts there should be a dtsi file that has reserved memory for ramoops you could also check /sys/module/ramoops exists if you can boot your kernel

if your kernel gets to splash, it has a dtb attached. Dtbo is just an overlay for the dtbs

Читать полностью…

Linux Kernel Brickers

/home/julian/Downloads/clang+llvm-9.0.0-x86_64-pc-linux-gnu/bin/clang: error while loading shared libraries: libz3.so.4.8: cannot open shared object file: No such file or directory
CC scripts/mod/devicetable-offsets.s
make[2]: *** [scripts/Makefile.build:286: scripts/mod/empty.o] Error 127
make[2]: *** Waiting for unfinished jobs....
/home/julian/Downloads/clang+llvm-9.0.0-x86_64-pc-linux-gnu/bin/clang: error while loading shared libraries: libz3.so.4.8: cannot open shared object file: No such file or directory
make[2]: *** [scripts/Makefile.build:158: scripts/mod/devicetable-offsets.s] Error 127
make[1]: *** [scripts/Makefile.build:514: scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:555: scripts] Error 2
[julian@julian-82xt android_kernel_nokia_sdm660_44]$

Читать полностью…

Linux Kernel Brickers

Can somebody help me compile a 4.4 kernel for nokia 7 plus with clang?

Читать полностью…

Linux Kernel Brickers

DMSG output

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x51df805e]
[ 0.000000] Linux version 4.19.81-perf () (clang version 8.0.12) #1 SMP PREEMPT Wed Jul 30 20:23:32 EEST 2025
[ 0.000000] Powerup reason=0x40041
[ 0.000000] Machine model: Qualcomm Technologies, Inc. xiaomi cas
[ 0.000000] ramoops: msm_reserve_ramoops_memory addr=b0000000,size=400000
[ 0.000000] ramoops: msm_reserve_ramoops_memory record_size=0,ftrace_size=0


console-ramoops-0
[    0.000000] Bootijg Linu8 mî `hisi#a( CPU  x0000000000 [0x% d$805d]
[ 0& 00 00] L(nux Versioj ´.19.81%paRf () (cla g version 8.0.12) #1 SMP PREEMPT Wed Jul 2 20:23:32 AEST 2025J[ $ 0.000000L Powep%p reason-0x40441 [ 0>000 00] Machine model: ualcomm Te#hno,oEieS, Inc. hyaomi #as
[ 0.000000] r`monps: msi_rd3erve]famoopc Lmmory addr5b00 0000,size=400000
[ 0.000000] raLoO`c2 ECi_r%se2reWbamokps_mamory rebkrdWsize 0,ftrace_ri8e=0


Getting corrupt for some reason.

Читать полностью…

Linux Kernel Brickers

Is it possible to adapt to sm8150 ?

Читать полностью…

Linux Kernel Brickers

Link to repo if you have

Читать полностью…

Linux Kernel Brickers

https://gist.github.com/nathanchance/965028fc180b1cced015ac7530b2eaeb

Читать полностью…

Linux Kernel Brickers

List of notes in Linux Kernel Brickers:
- als
- aosp_docs
- authorship
- benchkit
- bisect
- bldgcc
- bringupchat
- caftracker
- cherrypicking
- clang
- compilation
- errortemplate
- gpu_profiling
- hackbench
- hastebin
- help
- io_bench
- io_bench_help
- meld_merge
- mergeqcacld
- mergingcaf
- missingheaders
- newgcc
- oem_caftag
- oemcommits
- ot
- patching
- powerofstable
- pstore
- subtreemerge
- tc-build
- upstream
You can retrieve these notes by using /get notename, or #notename

Читать полностью…

Linux Kernel Brickers

http://t.me/AndroidBuildingOT

Читать полностью…

Linux Kernel Brickers

Hi Can someone please help me with error https://txtshare.co/xT6snHIB7NLPCDkQ
Thanks

Читать полностью…

Linux Kernel Brickers

Example commit

https://github.com/MiCode/Xiaomi_Kernel_OpenSource/commit/4d40ad79436fec3874f79f14d9534cfe0e47e315

Breaking down a massive OEM commits

git reset HEAD^ drivers/gpu

This resets the HEAD and only grabs the directories I specify

git commit --amend

This obviously amends the original commit

git add --all

This adds the directories I specified above

git commit -a -m "Import OEM gpu driver changes"

This obviously adds the commit message

And finally this is the weird part

git rebase -i HEAD~2

After that last command is executed it will display a commit window.
This rebases and displays the last 2 commits in the repo. The original Xiaomi commit is on top and my commit is underneath. Xiaomi commit being the 2nd and mine being the first. So I need to move that Xiaomi commit to be the latest commit in git history.. Ctrl+k to cut the Xiaomi commit, and Ctrl+u to paste it under my commit. Boom, history is re-written and my commit is now older in history so I can proceed to do the same thing over and over again to the rest of the directories in this massive commit.

Then you get sexy commit history like this and makes things easier to find when you hit conflicts or build errors after merging your kernel with kernel-msm or caf or upstream.

https://github.com/deadman96385/android_kernel_lenovo_msm8909/commits/LA.BR.1.2.7-02810-8x09

Читать полностью…

Linux Kernel Brickers

List of notes in Linux Kernel Brickers:
- als
- aosp_docs
- authorship
- benchkit
- bisect
- bldgcc
- bringupchat
- caftracker
- cherrypicking
- clang
- compilation
- errortemplate
- gpu_profiling
- hackbench
- hastebin
- help
- io_bench
- io_bench_help
- meld_merge
- mergeqcacld
- mergingcaf
- missingheaders
- newgcc
- oem_caftag
- oemcommits
- ot
- patching
- powerofstable
- pstore
- subtreemerge
- tc-build
- upstream
You can retrieve these notes by using /get notename, or #notename

Читать полностью…

Linux Kernel Brickers

@meghthebot hello can I DM u sir having one request. Plz . I am from India

Читать полностью…

Linux Kernel Brickers

Stuck on boot logo until i force it to bootloader and from then if i try to boot, it loops

Читать полностью…

Linux Kernel Brickers

Repo

Guide

android-linux-stable

Читать полностью…

Linux Kernel Brickers

List of notes in Linux Kernel Brickers:
- als
- aosp_docs
- authorship
- benchkit
- bisect
- bldgcc
- bringupchat
- caftracker
- cherrypicking
- clang
- compilation
- errortemplate
- gpu_profiling
- hackbench
- hastebin
- help
- io_bench
- io_bench_help
- meld_merge
- mergeqcacld
- mergingcaf
- missingheaders
- newgcc
- oem_caftag
- oemcommits
- ot
- patching
- powerofstable
- pstore
- subtreemerge
- tc-build
- upstream
You can retrieve these notes by using /get notename, or #notename

Читать полностью…
Subscribe to a channel