Can you tell me what’s the difference between clang toolchains?

|
siimsek 2022-07-28 14:34:11
Aniki 2022-07-28 14:33:44
i tried cross compiling with toolchain
error-: aarch64-linux-android-gcc: no such file or directory
i tried with clang
error-: cant execute binary files

try different build script

siimsek 2022-07-28 14:34:16
whats ur device codename
Aniki 2022-07-28 14:34:28
i trying compiling from 4-5 days using different meathods with different toolchain
Aniki 2022-07-28 14:34:35
merlin
siimsek 2022-07-28 14:35:49
Aniki 2022-07-28 14:34:35
merlin

can u send any kernel

siimsek 2022-07-28 14:35:55
source
Aniki 2022-07-28 14:38:02
https://github.com/Redmi-MT6768/android_kernel_xiaomi_mt6768/tree/ten

GitHub – Redmi-MT6768/android_kernel_xiaomi_mt6768 at tenGitHub
Contribute to Redmi-MT6768/android_kernel_xiaomi_mt6768 development by creating an account on GitHub.
Aniki 2022-07-28 14:38:51
siimsek 2022-07-28 14:35:55
source

here’s the source

Aniki 2022-07-28 14:41:32
if you want my device info here

Device-: Mi Note 9 Merlin
device id-: Merlin
Arch-: aarch64
android version-: 10
MiUi Version-: 12.0.6(Global)
device speci
128gb storage and 6gb ram

siimsek 2022-07-28 14:43:47
Aniki 2022-07-28 14:41:32
if you want my device info here

Device-: Mi Note 9 Merlin
device id-: Merlin
Arch-: aarch64
android version-: 10
MiUi Version-: 12.0.6(Global)
device speci
128gb storage and 6gb ram

https://github.com/Arafattex/shas-dream-oc-mt6768/blob/eleven/merlin.sh

shas-dream-oc-mt6768/merlin.sh at eleven · Arafattex/shas-dream-oc-mt6768GitHub
Contribute to Arafattex/shas-dream-oc-mt6768 development by creating an account on GitHub.
siimsek 2022-07-28 14:43:57
try this build script
NUMAflex 2022-07-28 14:50:27
Kernel Source: https://github.com/NUMAflex/android_kernel_odin_sdm845
Hastebin URL: https://www.toptal.com/developers/hastebin/raw/zukeqavaru

would appreciate any knowledge sharing

GitHub – NUMAflex/android_kernel_odin_sdm845: Odin SD845 Linux kernel 4.9 20220531GitHub
Odin SD845 Linux kernel 4.9 20220531. Contribute to NUMAflex/android_kernel_odin_sdm845 development by creating an account on GitHub.
siimsek 2022-07-28 15:06:19
NUMAflex 2022-07-28 14:50:27
Kernel Source: https://github.com/NUMAflex/android_kernel_odin_sdm845
Hastebin URL: https://www.toptal.com/developers/hastebin/raw/zukeqavaru

would appreciate any knowledge sharing

did u tried kali’s build script?

NUMAflex 2022-07-28 15:06:52
siimsek 2022-07-28 15:06:19
did u tried kali’s build script?

yes just using that

Aniki 2022-07-28 15:07:08
can you build a nethunter kernel for me for me
because i tried everything plus i doinv all this work on nethunter and on termux-ubuntu
cyberknight777 2022-07-28 15:09:43
Aniki 2022-07-28 12:35:20
so which toolchain should i use

just use proton clang

cyberknight777 2022-07-28 15:09:57
for nethunter specific configurations, use github.com/cyberknight777/android_kernel_nethunter
vedantsabharwal 2022-07-28 15:12:42
cyberknight777 2022-07-28 15:09:43
just use proton clang

Can you tell me what’s the difference between clang toolchains?

vedantsabharwal 2022-07-28 15:12:55
Like between proton clang neutron clang etc
cyberknight777 2022-07-28 15:37:25
difference of who’s working on it and what’s being done with em
cyberknight777 2022-07-28 15:37:49
proton clang was made by kdrag0n, a reputed android dev who forked CBL and made improvements alongside it
cyberknight777 2022-07-28 15:38:10
Most custom clang toolchains nowadays are either direct CBL forks with stuff from proton or proton forks
cyberknight777 2022-07-28 15:38:15
neutron is not one of em
cyberknight777 2022-07-28 15:39:13
neutron was initially made to follow through what proton did after proton went eol. A while later, we switched to using our own scripts instead of being a mere CBL fork, we have our own scripts to build, apply optimizations, do PGO and stuff
NUMAflex 2022-07-28 16:29:15
cyberknight777 2022-07-28 15:09:57
for nethunter specific configurations, use github.com/cyberknight777/android_kernel_nethunter

very nice this one does all this https://www.kali.org/docs/nethunter/nethunter-kernel-2-config-1/
https://www.kali.org/docs/nethunter/nethunter-kernel-3-config-2/
https://www.kali.org/docs/nethunter/nethunter-kernel-4-config-3/
https://www.kali.org/docs/nethunter/nethunter-kernel-5-config-4/

Configuring the Kernel – General | Kali Linux DocumentationKali Linux
Kernel Configuration General In section “General Setup”:
clear “Local version” set “Default host name” to “kali” select “System V IPC” (CONFIG_SYSVIPC=y) Modules We want to enable modules in Enable Loadable Module Support just in case there are any devices we want to load through the command line using modprobe. We discourage to build frequently used rivers as modules:
vedantsabharwal 2022-07-28 18:55:37
cyberknight777 2022-07-28 15:39:13
neutron was initially made to follow through what proton did after proton went eol. A while later, we switched to using our own scripts instead of being a mere CBL fork, we have our own scripts to build, apply optimizations, do PGO and stuff

Detailed Elaboration Appreciated bro👍

cyberknight777 2022-07-28 19:14:38
NUMAflex 2022-07-28 16:29:15
very nice this one does all this https://www.kali.org/docs/nethunter/nethunter-kernel-2-config-1/
https://www.kali.org/docs/nethunter/nethunter-kernel-3-config-2/
https://www.kali.org/docs/nethunter/nethunter-kernel-4-config-3/
https://www.kali.org/docs/nethunter/nethunter-kernel-5-config-4/

yes

NUMAflex 2022-07-28 19:21:29
cyberknight777 2022-07-28 19:14:38
yes

excusi 🙂
i was stalking your repos
did you made any customization on local.config in order to compile nethunter here https://github.com/Team-420/android_kernel_xiaomi_sdm845
or straight default config (and their respective toolchains)

GitHub – Team-420/android_kernel_xiaomi_sdm845: Kernel that is based on LawRun and is modified for nethunter. For Beryllium, Dipper, Polaris.GitHub
Kernel that is based on LawRun and is modified for nethunter. For Beryllium, Dipper, Polaris. – GitHub – Team-420/android_kernel_xiaomi_sdm845: Kernel that is based on LawRun and is modified for ne…
NUMAflex 2022-07-28 19:46:38
to all greetings from Brazil
help a brotha out please, been ghosted 2 times before today
it compiles for 15min and hangs, got the kernel from manufacturer itself, just trying to compile the “perf” config for device

DTC arch/arm64/boot/dts/qcom/sdm845-v2-robotics.dtb
ERROR (duplicate_label): Duplicate label ‘actuator_front’ on /soc/qcom,cci@ac4a000/qcom,actuator@2 and /soc/qcom,cci@ac4a000/qcom,actuator@1
ERROR (duplicate_label): Duplicate label ‘actuator_rear_aux’ on /soc/qcom,cci@ac4a000/qcom,actuator@2 and /soc/qcom,cci@ac4a000/qcom,actuator@1
ERROR: Input tree has errors, aborting (use -f to force output)
make[3]: *** [scripts/Makefile.lib:319: arch/arm64/boot/dts/qcom/sdm845-v2-robotics.dtb] Error 2
make[2]: *** [/home/numaflex/src/android_kernel_odin_sdm845/scripts/Makefile.build:653: arch/arm64/boot/dts/qcom] Error 2
make[1]: *** [arch/arm64/Makefile:161: dtbs] Error 2
make[1]: *** Waiting for unfinished jobs….

me2151 2022-07-28 19:53:59
/unban 5204949254
cyberknight777 2022-07-28 19:59:29
NUMAflex 2022-07-28 19:21:29
excusi 🙂
i was stalking your repos
did you made any customization on local.config in order to compile nethunter here https://github.com/Team-420/android_kernel_xiaomi_sdm845
or straight default config (and their respective toolchains)

I didn’t work on that device

NUMAflex 2022-07-28 20:21:43
cyberknight777 2022-07-28 19:59:29
I didn’t work on that device

just trying to figure out if i missing something by looking yours/someone else’s work, not following any guide, just going with what i got

PiotrBurdzinski 2022-07-28 22:51:50
Hey guys, im stuck af rn.
PiotrBurdzinski 2022-07-28 22:51:52
fatal error: ‘generated/autoconf.h’ file not found
PiotrBurdzinski 2022-07-28 22:52:05
file isn’t there
|