If I were to “port” one of their kernels, what would be the best approach?

|
cyberknight777 2022-08-05 11:46:53
just a simple script i made months ago
aoleary 2022-08-05 11:55:46
cyberknight777 2022-08-05 11:43:14
but it would

the script wasnt assigned execute permissions, so obviously it wouldnt work 🥴

Tashar02 2022-08-05 11:56:04
aoleary 2022-08-05 11:55:46
the script wasnt assigned execute permissions, so obviously it wouldnt work 🥴

aha

Tashar02 2022-08-05 11:56:07
yes
Ivan2005X 2022-08-05 15:41:54
Who knows how to take logs if my compiled twrp is bootlooping ??
aoleary 2022-08-05 18:46:01
Ivan2005X 2022-08-05 15:41:54
Who knows how to take logs if my compiled twrp is bootlooping ??

Check /tmp/recovery.log

Ivan2005X 2022-08-05 18:57:49
aoleary 2022-08-05 18:46:01
Check /tmp/recovery.log

Okk, thanks

Fernando 2022-08-05 20:21:37
Please guys, help me fix this
Fernando 2022-08-05 20:21:38
ld.lld: error: undefined symbol: __compiletime_assert_279
>>> referenced by tree_plugin.h:2282 (../../../../../../kernel/xiaomi/sm7350/kernel/rcu/tree_plugin.h:2282)
>>> vmlinux.o:(rcu_spawn_cpu_nocb_kthread)
make[1]: *** [/home/fernando/android/arrow/kernel/xiaomi/sm7350/Makefile:1198: vmlinux] Error 1
make[1]: Leaving directory ‘/home/fernando/android/arrow/out/target/product/renoir/obj/KERNEL_OBJ’
make: *** [Makefile:183: sub-make] Error 2
make: Leaving directory ‘/home/fernando/android/arrow/kernel/xiaomi/sm7350’
Fernando 2022-08-05 20:21:42
I’m completely lost
Tashar02 2022-08-05 20:26:43
Fernando 2022-08-05 20:21:38
ld.lld: error: undefined symbol: __compiletime_assert_279
>>> referenced by tree_plugin.h:2282 (../../../../../../kernel/xiaomi/sm7350/kernel/rcu/tree_plugin.h:2282)
>>> vmlinux.o:(rcu_spawn_cpu_nocb_kthread)
make[1]: *** [/home/fernando/android/arrow/kernel/xiaomi/sm7350/Makefile:1198: vmlinux] Error 1
make[1]: Leaving directory ‘/home/fernando/android/arrow/out/target/product/renoir/obj/KERNEL_OBJ’
make: *** [Makefile:183: sub-make] Error 2
make: Leaving directory ‘/home/fernando/android/arrow/kernel/xiaomi/sm7350’

Grepped that variable?

Tashar02 2022-08-05 20:27:07
rcu_spawn*
Fernando 2022-08-05 20:31:21
Tashar02 2022-08-05 20:26:43
Grepped that variable?

Sorry, grep?

Tashar02 2022-08-05 20:34:34
Fernando 2022-08-05 20:31:21
Sorry, grep?

Search for that variable

Tashar02 2022-08-05 20:34:45
Find what u added that is incomplete
Tashar02 2022-08-05 20:34:51
And remove it
Fernando 2022-08-05 21:29:09
Guys, I’ve got a question. I have a MI 11 Lite 5G. It has no custom kernels. There’s MI 11 Lite 5G NE, which is the same phone with an underclocked SoC (SD 778G, and mine has SD 780G); and this phone has several custom kernels.
Fernando 2022-08-05 21:29:22
If I were to “port” one of their kernels, what would be the best approach?
Fernando 2022-08-05 21:29:41
Like I wanna copy the configs for cpu/gpu and get better performance/battery…
cyberknight777 2022-08-05 21:29:46
Fernando 2022-08-05 21:29:09
Guys, I’ve got a question. I have a MI 11 Lite 5G. It has no custom kernels. There’s MI 11 Lite 5G NE, which is the same phone with an underclocked SoC (SD 778G, and mine has SD 780G); and this phone has several custom kernels.

mi 11 lite 5g

cyberknight777 2022-08-05 21:29:49
isn’t that renoir
Fernando 2022-08-05 21:29:55
cyberknight777 2022-08-05 21:29:49
isn’t that renoir

Yup

cyberknight777 2022-08-05 21:30:06
Fernando 2022-08-05 21:29:55
Yup

https://github.com/Kaz205/renoir/

GitHub – Kaz205/renoirGitHub
Contribute to Kaz205/renoir development by creating an account on GitHub.
Fernando 2022-08-05 21:31:19
cyberknight777 2022-08-05 21:30:06
https://github.com/Kaz205/renoir/

Is that yours?

cyberknight777 2022-08-05 21:31:33
no
siimsek 2022-08-05 21:39:02
https://hastebin.com/ejimamalid.m

Hastebin: Send and Save Text or Code Snippets for Free | Toptal®Hastebin
Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.
siimsek 2022-08-05 21:39:06
need help guys
cyberknight777 2022-08-05 21:40:13
siimsek 2022-08-05 21:39:02
https://hastebin.com/ejimamalid.m

https://github.com/cyberknight777/dragonheart_kernel_oneplus_sm8150/commit/ce66cc15c1a4b585506c096725b545c828bd40b7

wireguard: Adapt to latest CRNG changes · cyberknight777/dragonheart_kernel_oneplus_sm8150@ce66cc1GitHub
– Commit [1] removed the extern keyword from some functions in header.
– This essentially causes some build time errors with the WireGuard driver as the CRNG patchset was backported to k4.14 which …
cyberknight777 2022-08-05 21:40:16
try this
siimsek 2022-08-05 21:45:59
cyberknight777 2022-08-05 21:40:13
https://github.com/cyberknight777/dragonheart_kernel_oneplus_sm8150/commit/ce66cc15c1a4b585506c096725b545c828bd40b7

worked but now this

https://hastebin.com/ihuwihasum.rb

cyberknight777 2022-08-05 22:07:46
siimsek 2022-08-05 21:45:59
worked but now this

https://hastebin.com/ihuwihasum.rb

also fixed that

cyberknight777 2022-08-05 22:07:52
https://github.com/cyberknight777/dragonheart_kernel_oneplus_sm8150/commit/c6564ce06d4f80560ff86ac11d261f0b1405e6c8

wireguard: Rename `blake2s_*` to `wg_blake2s_*` · cyberknight777/dragonheart_kernel_oneplus_sm8150@c6564ceGitHub
– The WireGuard-Compat driver includes its own implementation of the blake2s hash algorithm.
– This conflicts with our own blake2s implementation which was added in commit [1].
– To resolve this co…
Dr Toboggan 2022-08-05 22:10:47
Hey! I’m having this issue where when I’m trying to compile my kernel the dt bindings are broken.. “dt-bindings/interrupt-controller/arm-gic.h: No such file…”. I guess symlinks are broken but recreating with ln -s didn’t help… Started fixing them manually but they’re way too many… Anyone got any ideas?
cyberknight777 2022-08-05 22:11:10
what is this kernel in question
cyberknight777 2022-08-05 22:11:14
provide link to the source
|