And you using clang for wrong architecture need aarch64
Читать полностью…
Seems like clang executable missing some .so try pre built clang from google repository
Читать полностью…
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
/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]$
Can somebody help me compile a 4.4 kernel for nokia 7 plus with clang?
Читать полностью…
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
[ 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
https://gist.github.com/nathanchance/965028fc180b1cced015ac7530b2eaeb
Читать полностью…
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
Hi Can someone please help me with error https://txtshare.co/xT6snHIB7NLPCDkQ
Thanks
Example commit
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/commit/4d40ad79436fec3874f79f14d9534cfe0e47e315
Breaking down a massive OEM commitsgit reset HEAD^ drivers/gpu
This resets the HEAD and only grabs the directories I specifygit commit --amend
This obviously amends the original commitgit add --all
This adds the directories I specified abovegit commit -a -m "Import OEM gpu driver changes"
This obviously adds the commit message
And finally this is the weird partgit 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
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
@meghthebot hello can I DM u sir having one request. Plz . I am from India
Читать полностью…
PS Current version of clang is v19 or newer, you using v9
Читать полностью…
https://github.com/nathanchance/android-kernel-clang
Читать полностью…
I installed the extra lib as i was looking for a solution
Читать полностью…
[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Читать полностью…
https://github.com/EdwinMoq/android_kernel_oneplus_sdm845
https://github.com/duckyduckG/android_kernel_xiaomi_sdm845_419
https://suicidepreventionlifeline.org/chat/ always helps me when I can't boot
Читать полностью…
https://developer.android.com/studio/profile/inspect-gpu-rendering
https://developer.android.com/topic/performance/rendering/profile-gpu
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
Just boot recovery temporarily
fastboot boot recovery.img