Giter Site home page Giter Site logo

luanhalaiko / kernel_raphael_sm8150 Goto Github PK

View Code? Open in Web Editor NEW
14.0 14.0 9.0 1.45 GB

// Codelinaro Kernel for Raphael | Updated to CL tag LA.UM.9.1.r1-13000-SMxxx0.QSSI13.0 with android-4.14-stable merged and upstreamed TFA98xx drivers

Home Page: http://luanhalaiko.github.io/

License: Other

Makefile 0.24% C 98.36% Assembly 1.08% Shell 0.06% Perl 0.11% C++ 0.03% Awk 0.01% Python 0.06% GDB 0.01% sed 0.01% Yacc 0.01% Lex 0.01% UnrealScript 0.01% SmPL 0.01% Gherkin 0.01% XS 0.01% Raku 0.01% Roff 0.01% Clojure 0.01% M4 0.01%
android13 infinity kernel lto o3 ofast optimization performance polly raphael xiaomi

kernel_raphael_sm8150's Introduction

logo

Welcome 🔥

This is where I store all of my work, here you can find projects for android devices, my github page and modding in general, you may know me as "LuHx, LuHako or LH Dev" from telegram or XDA.

kernel_raphael_sm8150's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

kernel_raphael_sm8150's Issues

A commit causes zygisk of the latese magisk [8f7d6dfb-alpha(25206)] broken

  • Previously, I reported to the magisk alpha branch author that [8f7d6dfb-alpha(25206)] could not be activated on my device, and then he sent me several debug versions to collect logs to analyze the reason, but we still had no clue. Finally, at 5 o'clock in the morning on February 10th, he told me that after analysis, it was determined that it was caused by the kernel itself, and it was caused by an optimized commit of mm.

image

  • Then I searched for the introduction of the commit on github, which generally refers to performance improvement. But the author of the magisk alpha branch told me that although the commit has improved performance, it is based on the premise of errors (at least this is what the log tells us).

  • The commit that caused the error.

  • And we found a lot of behaviors of reverting the commit on github, maybe the commit really caused some bad things.
    image

Attachment: Logs provided to magisk alpha branch maintainers
lspd_1933.zip

An error occurred during compilation that aarch64-linux-android-objcopy: vmlinux: don't know how to handle section `.relr.dyn' [0x 13]

The completed error log is as follows:

 CC      init/version.o
  AR      init/built-in.o
  AR      built-in.o
  LTO     vmlinux.o
  MODPOST vmlinux.o
  KSYM    .tmp_kallsyms1.o
aarch64-linux-android-nm: .tmp_vmlinux1: don't know how to handle section `.relr.dyn' [0x      13]
  KSYM    .tmp_kallsyms2.o
aarch64-linux-android-nm: .tmp_vmlinux2: don't know how to handle section `.relr.dyn' [0x      13]
  LD      vmlinux
  SORTEX  vmlinux
  SYSMAP  System.map
aarch64-linux-android-nm: vmlinux: don't know how to handle section `.relr.dyn' [0x      13]
aarch64-linux-android-nm: .tmp_vmlinux2: don't know how to handle section `.relr.dyn' [0x      13]
  OBJCOPY arch/arm64/boot/Image
aarch64-linux-android-objcopy: vmlinux: don't know how to handle section `.relr.dyn' [0x      13]
aarch64-linux-android-objcopy: Unable to recognise the format of the input file `vmlinux'
make[2]: *** [../arch/arm64/boot/Makefile:46: arch/arm64/boot/Image] Error 1
make[1]: *** [arch/arm64/Makefile:238: Image] Error 2
make[1]: Leaving directory '/home/runner/work/kernelsu_action_full/kernelsu_action_full/kernel_raphael_sm8150/out'
make: *** [Makefile:148: sub-make] Error 2
Error: Process completed with exit code 2.

The compilation configuration is as follows:

          CLANG=~/clang/bin
          GCC32=~/arm-linux-androideabi-4.9/bin
          GCC64=~/aarch64-linux-android-4.9/bin
          PATH=$CLANG:$GCC64:$GCC32:$PATH
          export PATH
          export ARCH=arm64
          export CLANG_TRIPLE=aarch64-linux-gnu
          export CROSS_COMPILE=aarch64-linux-android-
          export CROSS_COMPILE_ARM32=arm-linux-androideabi-
          output_dir=out
          pushd kernel_raphael_sm8150
          make LLVM=1 LLVM_IAS=1 CC="ccache clang" raphael_defconfig
          make LLVM=1 LLVM_IAS=1 CC="ccache clang" -j$(grep -c ^processor /proc/cpuinfo)

The compiler used is as follows:

- Clang: 
git https://gitlab.com/crdroidandroid/android_prebuilts_clang_host_linux-x86_clang-r445002 --depth=1 --single-branch --no-tags -b 12.0 ~/clang
- Gcc:
git https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9 -b android-13.0.0_r0.13 --depth=1 --single-branch --no-tags ~/aarch64-linux-android-4.9
git https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9 -b android-13.0.0_r0.13 --depth=1 --single-branch --no-tags ~/arm-linux-androideabi-4.9

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.