Git Product home page Git Product logo

android_kernel_oneplus_sm8150's Introduction

Linux kernel
============

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.

android_kernel_oneplus_sm8150's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android_kernel_oneplus_sm8150's Issues

Lacking sources for the Open Beta 1 and 2 (both based on Android 11), and stable builds 10.3.6., 10.3.7. and 10.3.8.

OnePlus hasn't pushed the sources for the latest Android 11 beta, and for the stable builds 10.3.6 and 10.3.7. OnePlus is well aware that not submitting the modified code in a timely manner is a GPL violation.

Edit: OnePlus needs to submit sources from the latest beta 2 and the stable build 10.3.8. as well. It's been months and no answer as to why they've delayed that.

Edit 2: I've been in contact with the FreeSoftwareFoundation. Hopefully they'll investigate and see what can be done about this issue

Edit 3: OnePlus says no changes have been made since 10.3.5. I very much doubt that.
Screenshot_20210302-181606~2.

If changes have, indeed, been made, OnePlus is now refusing to submitting their sources, even when asked.

Dear administrator, hello. I encountered an error while compiling the kernel that I don't understand. How can I resolve this error

CC drivers/misc/oplus_motor/camera_motor_ic/oneplus_drv8834.o
In file included from ../drivers/media/platform/msm/camera/cam_core/cam_context.c:17:
../drivers/media/platform/msm/camera/cam_core/cam_context.h:117:11: warning: declaration of 'struct cam_dump_req_cmd' will not be visible outside of this function [-Wvisibility]
struct cam_dump_req_cmd *cmd);
^
../drivers/media/platform/msm/camera/cam_core/cam_context.h:462:9: warning: declaration of 'struct cam_dump_req_cmd' will not be visible outside of this function [-Wvisibility]
struct cam_dump_req_cmd *cmd);
^
../drivers/media/platform/msm/camera/cam_core/cam_context.c:528:9: warning: declaration of 'struct cam_dump_req_cmd' will not be visible outside of this function [-Wvisibility]
struct cam_dump_req_cmd *cmd)
^
../drivers/media/platform/msm/camera/cam_core/cam_context.c:527:5: error: conflicting types for 'cam_context_handle_dump_dev'
int cam_context_handle_dump_dev(struct cam_context *ctx,
^
../drivers/media/platform/msm/camera/cam_core/cam_context.h:461:5: note: previous declaration is here
int cam_context_handle_dump_dev(struct cam_context *ctx,
^
../drivers/media/platform/msm/camera/cam_core/cam_context.c:545:9: error: incompatible pointer types passing 'struct cam_dump_req_cmd *' to parameter of type 'struct cam_dump_req_cmd *' [-Werror,-Wincompatible-pointer-types]
ctx, cmd);
^~~
3 warnings and 2 errors generated.

Please publish the complete WiFi source code kernel

Why is the 5G WiFi signal of the ROM built with your source code is particularly weak and the signal of Oxygen OS 5G WiFi is particularly strong Please publish the complete or specially optimized WiFi code

Broken sources

Battery percentage didn't update when screen is on. Only when user turn-off turn-on screen, battery percentage will update. Fix this please!

I needed to add this include to get everything to compile

From 31bc9c14a6cf930f377bbaa5a7dd29bb7bc22c38 Mon Sep 17 00:00:00 2001
From: Kirby Kuehl [email protected]
Date: Wed, 31 Jul 2019 14:15:23 -0700
Subject: [PATCH] fix compilation.


arch/arm64/boot/dts/qcom/sm8150-pmic-overlay.dtsi | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/qcom/sm8150-pmic-overlay.dtsi b/arch/arm64/boot/dts/qcom/sm8150-pmic-overlay.dtsi
index db5573be3eb0..ebdee25e79bf 100644
--- a/arch/arm64/boot/dts/qcom/sm8150-pmic-overlay.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8150-pmic-overlay.dtsi
@@ -15,6 +15,7 @@
#include "pm8150b.dtsi"
#include "pm8150l.dtsi"
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
+#include <dt-bindings/gpio/gpio.h>

/* PMIC GPIO pin control configurations: */
&pm8150_gpios {

2.17.1

Missing OP7TPro dtbo overlay files in oneplus/SM8150_Q_10.0

The commit f8fb5fb (cc: @binson-xu) introduced hotdog device support which "added" following files:
image

Sadly it only "added" them as they are nowhere to be found and are needed for building a working dtbo.img. I was able to write my own .dts for production OnePlus 7T Pro unit but I think it'd be nice if me and possibly others wouldn't have to resort to doing that kind of stuff.

Also here's my .dts for those that need it:

$ gist -p arch/arm64/boot/dts/qcom/hotdog-overlay-pvt.dts
https://gist.github.com/a1a714048c7f69bfd4785be898ed9e3d

driver for touchscreen missing?

โžœ android_kernel_oneplus_sm8150 git:(oneplus/SM8150_Q_10.0) โœ— make oldconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --oldconfig Kconfig
drivers/input/Kconfig:212: can't open file "drivers/input/oneplus_touchscreen/Kconfig"
make[1]: *** [scripts/kconfig/Makefile:87: oldconfig] Error 1
make: *** [Makefile:534: oldconfig] Error 2

How to build kernel?

@OnePlusOSSAdmin @bettywangOP @hecaiqiang

I cloned OnePlusOSS/android_kernel_oneplus_sm8150 kernel code, but compile failed. Could you tell me how to compile successfully? Thanks.
I used config file is arch/arm64/configs/vendor/sm8150_defconfig, cross compile tool is aarch-linux-android-, CC compiler is clang. Command is below:
make O=out sm8150_defconfig
make O=out REAL_CC=../gclang9.0.6/bin/clang -j8

I am looking forward for your reply. Thank you!

help

The left and right sideslip must slide horizontally to return, not diagonally, please fix this problem in the next version, thanks.

Unified Kernel source for 5G

Hi
I was told the kernel source code for Oneplus 7 Pro and Pro 5G will be unified but there are 2 different branches currently. Will these be unified or stay in seperate branches? Reason I ask is Devs for custom kernels will not like to manage 2 different versions so those of us with 5G wont have option for custom kernel.
Thanks

Error When Building Kernel

Following error happens when I try to build the kernel. Could you please help to check possible root cause? Thank you!
../arch/arm64/kernel/vdso/note.S:26:1: warning: DWARF2 only supports one section per compilation unit
.pushsection .note.Linux, "a",@note ; .balign 4 ; .long 2f - 1f ; .long 4484f - 3f ; .long 0 ; 1:.asciz "Linux" ; 2:.balign 4 ; 3:
^
:1:5: error: expected absolute expression
.if (. - jumptable) != 4 * (0)
^
../arch/arm64/kernel/vdso/gettimeofday.S:194:2: note: while in macro instantiation
jump_slot jumptable, 0, realtime
^
:2:2: error: Jump slot index mismatch
.error "Jump slot index mismatch"
^
../arch/arm64/kernel/vdso/gettimeofday.S:194:2: note: while in macro instantiation
jump_slot jumptable, 0, realtime
^
../arch/arm64/kernel/vdso/gettimeofday.S:223:24: error: too many positional arguments
clock_gettime_return, shift=1
^
../arch/arm64/kernel/vdso/gettimeofday.S:246:24: error: too many positional arguments
clock_gettime_return, shift=1
^
../arch/arm64/kernel/vdso/gettimeofday.S:267:24: error: too many positional arguments
clock_gettime_return, shift=1
^
make[2]: *** [arch/arm64/kernel/vdso/gettimeofday.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [vdso_prepare] Error 2
make[1]: Leaving directory `/home/mbuse/Share_8T/clement/oneplus7/android_kernel_oneplus_sm8150-oneplus-SM8150_P_9.0/out'
make: *** [sub-make] Error 2

Following is my building process.
mkdir out
export PATH=$PATH:/home/test/oneplus7/linux-x86-clang-9.0.8/bin
make O=out ARCH=arm64 ranchu64_defconfig
make -j16 O=out ARCH=arm64 CC=clang CLANG_TRIPLE=aarch64-linux-gnu- CROSS_COMPILE=aarch64-linux-android-

LineageOS KernelsU > 4.18

Can you compile the kernel with a KernelsU larger than 4.18 for oneplus 7 LineageOS? Because the minimum support for ecapture is 4.18

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.