oneplusoss / android_kernel_oneplus_sm8150 Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
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.
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.
.
If changes have, indeed, been made, OnePlus is now refusing to submitting their sources, even when asked.
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.
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
Battery percentage didn't update when screen is on. Only when user turn-off turn-on screen, battery percentage will update. Fix this please!
my touchscreen doesnt work without dc dimming so please
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>
2.17.1
Hello,
Could you pleae publishe Kernel source since Oxygen OS 11.0.5.1 ?
Thank you. :-)
The commit f8fb5fb (cc: @binson-xu) introduced hotdog
device support which "added" following files:
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
โ 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
@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!
The left and right sideslip must slide horizontally to return, not diagonally, please fix this problem in the next version, thanks.
Hello @OnePlusOSSAdmin
Please, can you update and release respective kernel for the latest firmware version H.33? The latest released is for H.26.
Thanks in advance
DC dimming source code does not seem to be included in your source.
Please provide the full source code per the gpl. thanks @hecaiqiang
Please release sm8150 A11 kernel source code immediately, thank you
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
In the past One Plus allowed to lock the bootloader for custom ROMs. This is a important security feature! Lately some updates removed this feature [0, 1] for a lot of devices.
Please restore this functionality!
[0] https://calyxos.org/news/2022/07/06/oneplus-android-12-relock-issue/
[1] Divested-Mobile/DivestOS-Build#167
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-
Only sharing .o files for this one are we?
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.