Giter VIP home page Giter VIP logo

android_kernel_samsung_msm8974's Issues

Increase wireless charging limit

i got s4 e330l running on lineage 16 by kyasu
how do i set wireless (or any other charge type) limit to say 1500mAh?
can you compile one for me with elevated charge limits? or maybe point me to the right direction and i will try try to compile it myself(never done before)

Can't compile.

With arm-eabi-4.8 and included lineageos_ks01ltexx-defconfig, it brings me errors below.

ERROR: modpost: Found 13 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
To build the kernel despite the mismatches, build with:
'make CONFIG_NO_ERROR_ON_MISMATCH=y'
(NOTE: This is not recommended)

Enable External WiFi Adapter Support

Hello kyasu!
Please add external wifi adapter support in kernel or please guide me to make changes in the kernel's config for external adapter support
I'm using LOS 16 in GT-I9506
Thanks for your rom...

error linking: undefined reference to 'msm_8974_init_gpiomux'

Hello, Kyasu.
Thank you for perfect build of LineageOS 15.1 for i9506!
I'm going to patch kernel source to support HID keybord/mouse gadget (based on https://github.com/pelya/android-keyboard-gadget/blob/master/patches/existing_tested/by-generic-kernel-version/generic_kernel_3.04.patch).
I'm trying to compile the kernel myself (just as is, without any changes), but it fails with error.
How to reproduce:
Take clean ubuntu 16.04 x64 vm.
Run:

sudo apt install git ccache automake lzop bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 g++-multilib python-networkx libxml2-utils bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev squashfs-tools pngcrush schedtool dpkg-dev liblz4-tool make optipng bc libcloog-isl-dev
git clone https://github.com/kyasu/android_kernel_samsung_msm8974.git
cd android_kernel_samsung_msm8974/
git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9
chmod +x build_kernel.sh
./build_kernel.sh

After a while I get:

...some successful build lines skiped...
  LD      vmlinux.o
  MODPOST vmlinux.o
  GEN     .version
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
/home/hal/android_kernel_samsung_msm8974/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 11 of arch/arm/crypto/built-in.o is not in EXIDX output section
/home/hal/android_kernel_samsung_msm8974/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 28 of arch/arm/mach-msm/built-in.o is not in EXIDX output section
/home/hal/android_kernel_samsung_msm8974/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 55 of mm/built-in.o is not in EXIDX output section
/home/hal/android_kernel_samsung_msm8974/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 37 of fs/built-in.o is not in EXIDX output section
/home/hal/android_kernel_samsung_msm8974/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 22 of security/built-in.o is not in EXIDX output section
/home/hal/android_kernel_samsung_msm8974/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 11 of crypto/built-in.o is not in EXIDX output section
/home/hal/android_kernel_samsung_msm8974/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 36 of block/built-in.o is not in EXIDX output section
/home/hal/android_kernel_samsung_msm8974/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 22 of lib/built-in.o is not in EXIDX output section
/home/hal/android_kernel_samsung_msm8974/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 24 of drivers/built-in.o is not in EXIDX output section
/home/hal/android_kernel_samsung_msm8974/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 6 of sound/built-in.o is not in EXIDX output section
/home/hal/android_kernel_samsung_msm8974/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 6 of arch/arm/oprofile/built-in.o is not in EXIDX output section
/home/hal/android_kernel_samsung_msm8974/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 34 of net/built-in.o is not in EXIDX output section
arch/arm/mach-msm/built-in.o:msm8974-thermistor.c:function msm8974_init: error: undefined reference to 'msm_8974_init_gpiomux'
arch/arm/mach-msm/built-in.o:msm8974-thermistor.c:function pil_boot: error: undefined reference to 'poweroff_charging'
arch/arm/mach-msm/built-in.o:msm8974-thermistor.c:function msm_restart: error: undefined reference to 'poweroff_charging'
drivers/built-in.o:sii8240.c:function of_sii8240_probe_dt: error: undefined reference to 'acc_register_notifier'
/home/hal/android_kernel_samsung_msm8974/Makefile:889: recipe for target '.tmp_vmlinux1' failed
make[1]: *** [.tmp_vmlinux1] Error 1
Makefile:130: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2
make: Leaving directory '/home/hal/android_kernel_samsung_msm8974'
cp: cannot stat 'output/arch/arm/boot/Image': No such file or directory

Any ideas on how to solve this error? Is this kernel supposed to be buildable separately from LOS? Am I doing something wrong?
Thank you!

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.