oneplusoss / android_kernel_oneplus_msm8998 Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
LD drivers/gpu/drm/built-in.o
CC drivers/gpu/msm/kgsl.o
CC drivers/gpu/msm/kgsl_trace.o
In file included from drivers/gpu/msm/kgsl_trace.h:1235:0,
from drivers/gpu/msm/kgsl_trace.c:21:
include/trace/define_trace.h:83:43: fatal error: ./kgsl_trace.h: No such file or directory
#include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
^
compilation terminated.
scripts/Makefile.build:263: recipe for target 'drivers/gpu/msm/kgsl_trace.o' failed
make[3]: *** [drivers/gpu/msm/kgsl_trace.o] Error 1
scripts/Makefile.build:408: recipe for target 'drivers/gpu/msm' failed
make[2]: *** [drivers/gpu/msm] Error 2
scripts/Makefile.build:408: recipe for target 'drivers/gpu' failed
make[1]: *** [drivers/gpu] Error 2
Makefile:977: recipe for target 'drivers' failed
make: *** [drivers] Error 2
how can i do?
When Camera2 API is used (HAL3), a RAW picture taken with OP5 and OP5T has a dots pattern. But when you take with HAL1 (Oneplus stock camera), RAW picture hasn't dots pattern.
What I found in logs:
The mct_stream_start_link (raw stream with is_secure 0) is different :
The axi_src: IDEAL_RAW is only mentionned when HAL1 is used.
will you enable project treble for android 8.0 on OP5 or OP5t ?
Beta 3 was released and source code of kernel is not updated yet. Could you please update it? Thanks.
Glad to see this already up, even tho it's placeholder atm.
I hope that you will keep your good track record in releasing kernel sources.
New Open Beta - Android 10 is available yet kernel source is not released.
Hi,
my screen has this weird jelly like effect when scrolling. The screen refreshes in the opposite direction than other phones. Can you revert the direction for this to be fixed?
Just flashed TWRP and tried to use the Terminal to decrypt my device. I followed TWRP's guide with the three different tables (3x3, 4x4, 5x5). Mine was set to 3x3 and was an easy combination of swipes to unlock, but it says it failed to decrypt when I enter the command.
https://twrp.me/faq/openrecoveryscript.html
twrp decrypt /data 1253
I don't know if you guys even check GitHub issues anymore but this is worth a shot. Why was the 4.5.11 commit removed from source via a force push?
Was there an issue with it? Did you just want to repush with the same commit but with 4.5.12 in the commit message?
Force pushing a public tree like this is a git cardinal sin; it gives us custom kernel developers zero context as to why this commit was removed. I ask two things from you for the future:
git tag -a "OOS-4.5.12" -m "Kernel source for OOS-4.5.12"
). This would help eliminate issues such as #8.OnePlus 5 Android hardware.camera2 api does see only one of rear camera.
CameraManager.getCameraIdList()
returns only 2 ids.
Hello
I'm trying to recompile the android_kernel_oneplus_msm8998 in order to enable RFCOMM support.
I have followed the following instrustions:
https://github.com/offensive-security/kali-nethunter/wiki/Porting-Nethunter
https://github.com/offensive-security/kali-nethunter/wiki/Modifying-the-Kernel
But when i try to make oneplus5-stock_defconfig i get the following error:
`root@ubuntu-VirtualBox:/home/ubuntu/Downloads/new-kernel/android_kernel_oneplus_msm8998# make oneplus5-stock_defconfig
./scripts/gcc-version.sh: line 25: /home/arter97/arm64-gcc/bin/aarch64-elf-gcc: No such file or directory
./scripts/gcc-version.sh: line 26: /home/arter97/arm64-gcc/bin/aarch64-elf-gcc: No such file or directory
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/bin2c
configuration written to .config
`
The directory /home/arter97/arm64-gcc/bin/aarch64-elf-gcc doesn't exist on my pc. Have you any idea what am i doing wrong???
Or maybe you could give some instructions how to recompile kernel.
Here's my stack:
Information about my OS:
OS: Arch Linux
Kernel: x86_64 Linux 4.11.9-1-ARCH
CPU: Intel Core i5-2520M @ 4x 3.2GHz [25.0°C]
GPU: intel
RAM: 2286MiB / 7867MiB
Some DEV ENV information:
[INFO] KERNEL_DIR: arch/arm64/boot
[INFO] KERNELNAME: Image.gz-dtb
[INFO] TARGET: arm64
[INFO] KERNELCONF: lineage_cheeseburger_defconfig
[INFO] TOOLCHAIN: linaro 4.9
Prepare:
export ARCH=arm64
export SUBARCH=arm64
export CROSS_COMPILE=prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-linaro-4.9/bin/aarch64-linux-android-
git clone https://android.git.linaro.org/git-ro/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9-linaro.git prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-linaro-4.9
Compile issue:
[...]
LD drivers/usb/host/built-in.o
CC drivers/usb/storage/scsiglue.o
CC drivers/usb/phy/phy-msm-qusb.o
CC drivers/usb/phy/phy-msm-qusb-v2.o
CC drivers/usb/storage/protocol.o
CC drivers/usb/storage/transport.o
CC drivers/usb/storage/usb.o
CC drivers/usb/storage/initializers.o
LD drivers/usb/phy/built-in.o
CC drivers/usb/storage/sierra_ms.o
CC drivers/usb/storage/option_ms.o
CC drivers/usb/storage/usual-tables.o
LD drivers/usb/storage/usb-storage.o
LD drivers/usb/storage/built-in.o
LD drivers/usb/built-in.o
LD drivers/built-in.o
prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-linaro-4.9/bin/aarch64-linux-android-ld: cannot find drivers/soc/built-in.o: Datei oder Verzeichnis nicht gefunden
prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-linaro-4.9/bin/aarch64-linux-android-ld: cannot find drivers/gpu/built-in.o: Datei oder Verzeichnis nicht gefunden
prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-linaro-4.9/bin/aarch64-linux-android-ld: cannot find drivers/net/built-in.o: Datei oder Verzeichnis nicht gefunden
prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-linaro-4.9/bin/aarch64-linux-android-ld: cannot find drivers/media/built-in.o: Datei oder Verzeichnis nicht gefunden
prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-linaro-4.9/bin/aarch64-linux-android-ld: cannot find drivers/power/built-in.o: Datei oder Verzeichnis nicht gefunden
prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-linaro-4.9/bin/aarch64-linux-android-ld: cannot find drivers/bluetooth/built-in.o: Datei oder Verzeichnis nicht gefunden
prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-linaro-4.9/bin/aarch64-linux-android-ld: cannot find drivers/platform/built-in.o: Datei oder Verzeichnis nicht gefunden
make[1]: [scripts/Makefile.build:337: drivers/built-in.o] Fehler 1 (ignoriert)
LINK vmlinux
LD vmlinux.o
prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-linaro-4.9/bin/aarch64-linux-android-ld: cannot find drivers/built-in.o: Datei oder Verzeichnis nicht gefunden
prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-linaro-4.9/bin/aarch64-linux-android-ld: cannot find sound/built-in.o: Datei oder Verzeichnis nicht gefunden
make: [Makefile:946: vmlinux] Fehler 1 (ignoriert)
Building modules, stage 2.
make[1]: *** Keine Regel vorhanden, um das Ziel „vmlinux“,
benötigt von „arch/arm64/boot/Image“, zu erstellen.
make[1]: Das Ziel „arch/arm64/boot/Image.gz-dtb“ wurde wegen Fehlern nicht aktualisiert.
make: [arch/arm64/Makefile:120: Image.gz-dtb] Fehler 2 (ignoriert)
MODPOST 7 modules
CC drivers/char/rdbg.mod.o
CC drivers/media/platform/msm/broadcast/tspp.mod.o
CC drivers/media/platform/msm/dvb/adapter/mpq-adapter.mod.o
[...]
I tried with the following defconfigs:
Can it be that I am missing a source?
include/trace/define_trace.h:72:34: fatal error: trace/events/kgsl_trace.h: No such file or directory
So How can i fix it?Thanks
Hello,
I used this guide https://forum.xda-developers.com/android/software-hacking/reference-how-to-compile-android-kernel-t3627297 to compile Oneplus 5 stock kernel.
(I'm using Ubuntu 17.04)
I used aarch64-linux-android-4.9 as toolchain
I took msmcortex-perf_defconfig as defconfig file
And anykernel2 to obtain a zip file
And to config the anykernel.sh text file I took example on https://github.com/nathanchance/AnyKernel2 (just changed the codename)
When I flash through my TWRP, it says like "fatal error... Aborting..."
I used boeffla kernel before but before flashing my own kernel I flash the boeffla backup for stock krl
I'd really like to know what is not working to fix it or at least understand why things are broken :3
Thank you in advance
FSW
在OP-batterydata-3300mah.dtsi中,qcom,fastchg-current-ma = <3000>,但是dush标配充电器不是5V/4A的吗,这是不意味着到达电池只有3A?
Hello
I'm trying to recompile this kernel in order to enable RFCOMM support for Bluetooth Arsenal in nethunter apk.
I get a bunch of errors. One of these is this:
arch/arm64/Makefile:55: *** /home/arter97/arm32-gcc/bin/arm-eabi-gcc not found
Could you please give instructions how to recompile your kernel??
Branch: android10_beta
Defconfig: msmcortex-perf_defconfig
Build tools: gcc4.9
Target devices: Oneplus5T
Target system: h2os android 10 newest, release date is 2020-6-23.
Just cannot open wifi, I don't know cellular work status.
how can i do to fix it.
PS: where can i get android 10 system source code for oneplus5T
thanks for your reply
Please push the updated and working code. Sourcecode is not good and it causes kernel panic and reboot once it is compiled and flashed....
Also CONFIG_OEM_FORCE_DUMP sourcecode is missing!
Please release Mi6(sagit) kernel source , as titled.
drivers/bluetooth/btfm_slim.c:26:23: fatal error: btfm_slim.h: No such file or directory
#include <btfm_slim.h>
^
compilation terminated.
sound/soc/msm/msm8998.c:36:26: fatal error: device_event.h: No such file or directory
#include <device_event.h>
^
compilation terminated.
And later if you change <> to ""
drivers/bluetooth/btfm_slim.c:27:31: fatal error: btfm_slim_wcn3990.h: No such file or directory
#include <btfm_slim_wcn3990.h>
^
compilation terminated.
In file included from drivers/bluetooth/btfm_slim.c:27:0:
drivers/bluetooth/btfm_slim_wcn3990.h:15:23: fatal error: btfm_slim.h: No such file or directory
#include <btfm_slim.h>
^
compilation terminated.
drivers/bluetooth/btfm_slim_codec.c:27:23: fatal error: btfm_slim.h: No such file or directory
#include <btfm_slim.h>
^
compilation terminated.
Please release the commit history for the changes to SDCardFS, this is nearly impossible to track upstream and get the device booting due to the one mass commit you have released.
I'm trying to recompile the kernel in order to enable RFCOMM support. I have download the (gcc-arm-8.3-2019.03-x86_64-aarch64-elf) toolchain and i tried to export cross_compile to the bin folder of the toolchain. But when i proceed to the command make clean i get the followin error:
root@ubuntu:/home/path_of_kernel# export CROSS_COMPILE="/home/path_of_kernel/android_kernel_oneplus_msm8998/gcc-arm-8.3-2019.03-x86_64-aarch64-elf/bin/aarch64-elf-"
root@ubuntu:/home/path_of_kernel# make clean
./scripts/gcc-version.sh: line 26: /home/arter97/arm64-gcc/bin/aarch64-elf-gcc: No such file or directory
./scripts/gcc-version.sh: line 26: /home/arter97/arm64-gcc/bin/aarch64-elf-gcc: No such file or directory
it seems that the direction of the folder is wrong and i cannot changed it.
Why is trying to access "/home/arter97/arm64-gcc/bin/aarch64-elf-gcc" ????
How can i change it????
Linux is distributed under the GNU GPLv2 license, you can not distribute software without source!
Oneplus have just violated the GNU GPLv2 with the distribution of Oxygen 4.5.6 and Oxygen 4.5.7!
I will contact the copyright owner (Linus Torvalds) to report the repeated violation of the license by Oneplus
Thanks for the attention
Ernesto Castellotti
Italy
You need use
$git branch -a
show all remote branch, and you can see
remotes/origin/oneplus/QC8998_N_7.1
then
$git checkout remotes/origin/oneplus/QC8998_N_7.1 -b NameYouWant
now you can see the code.
Maybe it's very easy to find the answer. XD.
Find from stackoverflow
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.