Git Product home page Git Product logo

android_kernel_5.10_oneplus_mt6895's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android_kernel_5.10_oneplus_mt6895's Issues

[oplus-5.10] Missing & Broken Kernel Code in Oneplus Ace/Race ColorOS 12.1 Source

Hi the following kernel drivers are missing in kernel code

splitted logs:-
https://katb.in/osamuzogobo
https://katb.in/nogitipikey
https://katb.in/isiwepugobu

Missing & Broken Kernel Code in Oneplus Ace/Race ColorOS 12.1 Source Cross compiling

Still getting errors from mt6895 12.1 kernel source :

using config : mgk_64_k510_defconfig and oplus6895.config
CROSS_COMPILE = aarch64-linux-gnu-

command to compile kernel :

make O=out -j4 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- mgk_64_k510_defconfig oplus6895.config
make O=out -j4 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu-

getting error :

GEN Makefile
CALL ../scripts/checksyscalls.sh
CALL ../scripts/atomic/check-atomics.sh
CHK include/generated/compile.h
CC arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.o
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:103:11: error: no member named 'android_kabi_reserved4' in 'struct task_struct'
current->android_kabi_reserved4 = regs->syscallno;

../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:104:11: error: no member named 'android_kabi_reserved5' in 'struct task_struct'
current->android_kabi_reserved5 = current_uid().val;
~~~~~~~ ^
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:105:11: error: no member named 'android_kabi_reserved6' in 'struct task_struct'
current->android_kabi_reserved6 = current_euid().val;
~~~~~~~ ^
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:106:11: error: no member named 'android_kabi_reserved7' in 'struct task_struct'
current->android_kabi_reserved7 = current_gid().val;
~~~~~~~ ^
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:107:11: error: no member named 'android_kabi_reserved8' in 'struct task_struct'
current->android_kabi_reserved8 = current_egid().val;
~~~~~~~ ^
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:114:23: error: no member named 'android_kabi_reserved4' in 'struct task_struct'
uid_t scno =current->android_kabi_reserved4;
~~~~~~~ ^
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:121:21: error: no member named 'android_kabi_reserved5' in 'struct task_struct'
if ((0 != current->android_kabi_reserved5 ) && (is_unlocked() == 0)){
~~~~~~~ ^
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:122:17: error: no member named 'android_kabi_reserved5' in 'struct task_struct'
if ((current->android_kabi_reserved5 != current_uid().val) || (current->android_kabi_reserved6 != current_euid().val) ||
~~~~~~~ ^
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:122:75: error: no member named 'android_kabi_reserved6' in 'struct task_struct'
if ((current->android_kabi_reserved5 != current_uid().val) || (current->android_kabi_reserved6 != current_euid().val) ||
~~~~~~~ ^
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:123:31: error: no member named 'android_kabi_reserved7' in 'struct task_struct'
(current->android_kabi_reserved7 != current_gid().val) || (current->android_kabi_reserved8 != current_egid().val) || (get_fs() > KERNEL_ADDR_LIMIT)){
~~~~~~~ ^
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:123:89: error: no member named 'android_kabi_reserved8' in 'struct task_struct'
(current->android_kabi_reserved7 != current_gid().val) || (current->android_kabi_reserved8 != current_egid().val) || (get_fs() > KERNEL_ADDR_LIMIT)){
~~~~~~~ ^
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:137:37: error: no member named 'android_kabi_reserved5' in 'struct task_struct'
oplus_root_check_succ(current->android_kabi_reserved5, current->android_kabi_reserved6, current->android_kabi_reserved8, current->android_kabi_reserved4);
~~~~~~~ ^
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:137:70: error: no member named 'android_kabi_reserved6' in 'struct task_struct'
oplus_root_check_succ(current->android_kabi_reserved5, current->android_kabi_reserved6, current->android_kabi_reserved8, current->android_kabi_reserved4);
~~~~~~~ ^
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:137:103: error: no member named 'android_kabi_reserved8' in 'struct task_struct'
oplus_root_check_succ(current->android_kabi_reserved5, current->android_kabi_reserved6, current->android_kabi_reserved8, current->android_kabi_reserved4);
~~~~~~~ ^
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:137:136: error: no member named 'android_kabi_reserved4' in 'struct task_struct'
oplus_root_check_succ(current->android_kabi_reserved5, current->android_kabi_reserved6, current->android_kabi_reserved8, current->android_kabi_reserved4);
~~~~~~~ ^
15 errors generated.
make[5]: *** [../scripts/Makefile.build:277: arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.o] Error 1
make[4]: *** [../scripts/Makefile.build:526: arch/arm64/kernel/secureguard/rootguard] Error 2
make[3]: *** [../scripts/Makefile.build:526: arch/arm64/kernel/secureguard] Error 2
make[2]: *** [../scripts/Makefile.build:526: arch/arm64/kernel] Error 2

please ask oneplus kernel team to just to test only the kernel compilation not the entire source.
Please tell me how to successfully compile the kernel. Is there a problem with the compiler used?
Thanks.

can't open file "kernel/oplus_perf_sched/Kconfig"

I tried using command

make O=out ARCH=arm64 LLVM=1 LLVM_IAS=1 mgk_64_k510_defconfig oplus6895.config

I notice:

(base) ➜  kernel git:(oneplus/mt6895_s_12.1_oneplus_ace_race) ✗ ls -l|grep oplus_perf_sched
lrwxrwxrwx 1 arch arch     55 Jan  9 19:51 oplus_perf_sched -> ../../vendor/oplus/kernel/oplus_performance_5.10/sched/

Am I missing oplus_performance_5.10 directory? Where can I fetch it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.