Git Product home page Git Product logo

android_kernel_oneplus_msm8998's Issues

Compile fatal error

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?

Dots pattern on IMX398 (OP5 + OP5T) in HAL3 RAW

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 :

  • 0x40003 in HAL1
  • 0x40005 in HAL3

The axi_src: IDEAL_RAW is only mentionned when HAL1 is used.

RAW image from HAL1
oneplusstockcamera hal1

RAW image from HAL3
opencamera hal3

project treble

will you enable project treble for android 8.0 on OP5 or OP5t ?

Source code not updated

Beta 3 was released and source code of kernel is not updated yet. Could you please update it? Thanks.

Hello world

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.

Android 10 Kernel

New Open Beta - Android 10 is available yet kernel source is not released.

Jelly scrolling

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?

Sorry, delete me!

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

Removal of 4.5.11 commit?

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?

b9e9c1f

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:

  1. Please consider reverting commits in the future if there is an issue with them (noting what the issue is in the commit message).
  2. Consider using a tagging system so that you can explicitly mark a commit as good for multiple OOS version (something like git tag -a "OOS-4.5.12" -m "Kernel source for OOS-4.5.12"). This would help eliminate issues such as #8.

@aaronqiuchiu @leonfish77101 @Kevin-Shan

Trying to recompile kernel in order to enable rfcomm support

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.

Unable to build Kernel (no rule for vmlinux)

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:

  • cheeseburger_defconfig
  • defconfig
  • lineage_cheeseburger_defconfig
  • msm_defconfig
  • msm-perf_defconfig

Can it be that I am missing a source?

Can't find trace/events/system.h

include/trace/define_trace.h:72:34: fatal error: trace/events/kgsl_trace.h: No such file or directory

define __TRACE_INCLUDE(system) <trace/events/system.h>

So How can i fix it?Thanks

Compiling OP5 stock kernel successfully / unable to flash it

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

dash充电电流疑问?

在OP-batterydata-3300mah.dtsi中,qcom,fastchg-current-ma = <3000>,但是dush标配充电器不是5V/4A的吗,这是不意味着到达电池只有3A?

RFCOMM support for bluetooth devices

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

Wifi doesn't work after flush 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

Sourcecode is not updated

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!

Compile fatal error

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.

SDCardFS OnePlus Changes

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.

cannot recompile kernel

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

Respect the GNU GPLv2!!

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

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.