oneplusoss / android_kernel_oneplus_sm8350 Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Hi @YuHuang65, you have been so helpful with the other issue, I wanted to bring to your attention that anytime the power key is pressed, the following is triggered in the kernel:
[12434.277491] [20210504_15:08:27.067097]@0 ------------[ cut here ]------------
[12434.277511] [20210504_15:08:27.067121]@0 WARNING: CPU: 0 PID: 2071 at kernel/time/timer.c:1394 del_timer_sync+0xb8/0xd0
[12434.277520] [20210504_15:08:27.067131]@0 CPU: 0 PID: 2071 Comm: netmgrd Tainted: G S W 5.4.61-Omega #1
[12434.277525] [20210504_15:08:27.067135]@0 Hardware name: Qualcomm Technologies, Inc. Lahaina MTP lemonadep (DT)
[12434.277530] [20210504_15:08:27.067141]@0 pstate: 00400085 (nzcv daIf +PAN -UAO)
[12434.277536] [20210504_15:08:27.067147]@0 pc : del_timer_sync+0xb8/0xd0
[12434.277546] [20210504_15:08:27.067157]@0 lr : __kthread_cancel_work_sync+0xe0/0x150
[12434.277550] [20210504_15:08:27.067161]@0 sp : ffffffc010003cf0
[12434.277554] [20210504_15:08:27.067164]@0 x29: ffffffc010003cf0 x28: ffffffd397707018
[12434.277559] [20210504_15:08:27.067170]@0 x27: ffffff81f3d9d800 x26: ffffffd397707018
[12434.277565] [20210504_15:08:27.067176]@0 x25: ffffffd397a79ca8 x24: ffffff81f3166d48
[12434.277570] [20210504_15:08:27.067181]@0 x23: ffffff81f3166dd8 x22: ffffff81f30de584
[12434.277575] [20210504_15:08:27.067186]@0 x21: ffffff81f30de584 x20: ffffff81f3166d70
[12434.277580] [20210504_15:08:27.067191]@0 x19: ffffff81f3166d48 x18: 0000000000080000
[12434.277585] [20210504_15:08:27.067196]@0 x17: 0000000000000000 x16: 0000000000000000
[12434.277591] [20210504_15:08:27.067201]@0 x15: 000000000632ea00 x14: 0000000000000000
[12434.277596] [20210504_15:08:27.067207]@0 x13: 00000000000066eb x12: 0000000000000001
[12434.277601] [20210504_15:08:27.067212]@0 x11: 0000000000000000 x10: 0000000000000000
[12434.277606] [20210504_15:08:27.067217]@0 x9 : 000000000000cddb x8 : 000000000085a4a3
[12434.277612] [20210504_15:08:27.067222]@0 x7 : ffffff81fecbd240 x6 : 0000005c1ee08d27
[12434.277617] [20210504_15:08:27.067228]@0 x5 : ffffff8040ac5c80 x4 : 0000000000000000
[12434.277622] [20210504_15:08:27.067233]@0 x3 : ffffff81f30de584 x2 : 0000000000000000
[12434.277627] [20210504_15:08:27.067238]@0 x1 : ffffff8040ac5c80 x0 : 000000002e000000
[12434.277633] [20210504_15:08:27.067244]@0 Call trace:
[12434.277639] [20210504_15:08:27.067250]@0 del_timer_sync+0xb8/0xd0
[12434.277644] [20210504_15:08:27.067255]@0 __kthread_cancel_work_sync+0xe0/0x150
[12434.277650] [20210504_15:08:27.067260]@0 kthread_cancel_delayed_work_sync+0x10/0x20
[12434.277660] [20210504_15:08:27.067271]@0 qpnp_pon_input_dispatch+0x21c/0x2e0
[12434.277666] [20210504_15:08:27.067276]@0 qpnp_kpdpwr_irq+0x1c/0x50
[12434.277673] [20210504_15:08:27.067284]@0 __handle_irq_event_percpu+0x58/0x2a0
[12434.277678] [20210504_15:08:27.067289]@0 handle_irq_event+0x60/0x130
[12434.277684] [20210504_15:08:27.067295]@0 handle_edge_irq+0xb4/0x210
[12434.277689] [20210504_15:08:27.067300]@0 generic_handle_irq+0x28/0x40
[12434.277698] [20210504_15:08:27.067309]@0 periph_interrupt+0xa8/0x130
[12434.277703] [20210504_15:08:27.067313]@0 pmic_arb_chained_irq+0x140/0x240
[12434.277707] [20210504_15:08:27.067318]@0 __handle_domain_irq+0x74/0xd0
[12434.277714] [20210504_15:08:27.067324]@0 gic_handle_irq+0xc0/0x164
[12434.277720] [20210504_15:08:27.067331]@0 el1_irq+0xf0/0x1c0
[12434.277730] [20210504_15:08:27.067340]@0 _raw_spin_unlock_irq+0x10/0x50
[12434.277737] [20210504_15:08:27.067347]@0 __schedule+0x320/0x860
[12434.277741] [20210504_15:08:27.067352]@0 schedule+0x40/0xe0
[12434.277748] [20210504_15:08:27.067359]@0 __refrigerator+0x44/0xe0
[12434.277755] [20210504_15:08:27.067366]@0 get_signal+0x7c8/0x840
[12434.277763] [20210504_15:08:27.067374]@0 do_notify_resume+0x16c/0x1420
[12434.277768] [20210504_15:08:27.067379]@0 work_pending+0x8/0x10
[12434.277772] [20210504_15:08:27.067383]@0 ---[ end trace 7bbf3fd4650fdb41 ]---
vendor/qcom/opensource/wlan/fw-api
vendor/qcom/opensource/wlan/qca-wifi-host-cmn
vendor/qcom/opensource/wlan/qcacld-3.0
Please upload these to match the SM8450 source drop. Would be greatly appreciated.
Dear Oneplus team,
I'm a proud user of the Oneplus 9 Pro Android phone, and I've been looking to modify and customize its kernel to better suit my needs. In this regard, I've been trying to use the OneplusOSS/android_kernel_oneplus_sm8350 repository as a starting point.
However, I've noticed that the kernel source code provided on this repository is outdated and doesn't match the current kernel version running on my device. As a result, I've been unable to compile and use custom kernels on my device.
Therefore, I would like to request an update to the Oneplus 9 Pro kernel source code on the OneplusOSS/android_kernel_oneplus_sm8350 repository. This would enable me and other users to better customize and optimize our devices for our specific use cases.
Thank you for your attention and consideration. I look forward to hearing back from you soon.
OnePlus 9rt, OOS 13.1
Build number: MT2111_13.1.0.500(EX01)
Kernel: 5.4.210-qgki-g7faff7b28df2
Logcat is completely occupied by thousands of identical lines:
06-12 18:04:52.843 E/SchedAssist( 1549): ofbSetSfMsgTrans pid(1549) failed with error=Permission denied
06-12 18:04:52.851 E/SchedAssist( 1549): ofbSetSfMsgTrans pid(1549) failed with error=Permission denied
06-12 18:04:52.868 E/SchedAssist( 1549): ofbSetSfMsgTrans pid(1549) failed with error=Permission denied
06-12 18:04:52.876 E/SchedAssist( 1549): ofbSetSfMsgTrans pid(1549) failed with error=Permission denied
06-12 18:04:52.884 E/SchedAssist( 1549): ofbSetSfMsgTrans pid(1549) failed with error=Permission denied
06-12 18:04:52.892 E/SchedAssist( 1549): ofbSetSfMsgTrans pid(1549) failed with error=Permission denied
06-12 18:04:52.900 E/SchedAssist( 1549): ofbSetSfMsgTrans pid(1549) failed with error=Permission denied
06-12 18:04:52.909 E/SchedAssist( 1549): ofbSetSfMsgTrans pid(1549) failed with error=Permission denied
06-12 18:04:52.917 E/SchedAssist( 1549): ofbSetSfMsgTrans pid(1549) failed with error=Permission denied
why is the oos 13 beta 2 kernel not available yet
Good morning @YuHuang65, can you please push the latest sources for 11.2.8.8? Thank you!
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
Will it be released and if yes, by when can it be expected?
OnePlus hasn't pushed the source for the latest Android 12 stable since last December, this is violating GPL.
I also send emails to you but haven't any reply so far. @YuHuang65 @op-codes
Under certain circumstances the CPU is not clocking down beyond a certain level. Replicated on 8 Pro too ever since open beta 2.
Unknown trigger. Everything from near instantly after a reboot to several days later.
A Dev linked commits from 8/8T series on this topic may be interesting to look at since the issue remains the same even here. Users of both stock kernel and custom kernels all the same issue since a certain date on 8 series. Unverified if kernels that includes the Dev commits are solved.
OnePlusOSS/android_kernel_oneplus_sm8250#12
Hi @YuHuang65, should this not be "FFC_TEMP_INVALID" instead of "BATT_TEMP_INVALID"?
Regards,
Kristof
When debugging system, I found that seteuid() call is completely broken. After some search, I found that it is kernel issue. This issue influences official ColorOS and OOS 13 with sm8250/sm8350.
Take sm8350_t_13.0.0_op9rt branch as an example. In the big commit Synchronize codes for OnePlus 9RT 5G MT2110_11_F.07/MT2111_11_F.07, upstream patch "binder: use euid from cred instead of using task" is picked, but the subsequent fix commit "binder: fix test regression due to sender_euidchange" is not. This causes caused some Android system test regressions, as described in the fix commit itself. This makes CTS like CredentialsTest#CaptureLayersTest test fail, and will cause more problems for end users. Same issue exists in SM8250 kernel too.
Solution is simple: pick "binder: fix test regression due to sender_euidchange" .
Source code of wakelock & network modules are missing.
In drivers/soc/oplus/oplus_wakelock
and net/oplus_modules
.
I've checked https://github.com/OnePlusOSS/android_kernel_modules_and_devicetree_oneplus_sm8350. They are not there.
can some one share information about this product 2080A
An error occurs during compilation:
android_kernel_oneplus_sm8350/arch/arm64/boot/dts/vendor/oplus/lemonadev/Makefile:14: *** Missing separator. Stop.
How can I fix it?
Hello, I've managed to get the kernel compiled and booted, but I have an issue with the touchscreen. The touch registers 5-10mm from where the screen is actually touched.
Is there an additional parameter that needs to be set for the 9 Pro? Our can you please make sure that all sources needed for proper functionality are here on GitHub?
Thank you!
Kristof
@YuHuang65,
why has the kernel source not yet been released for the oos 12 C62 kernel???
please update the kernel source
It is really not good to abide by the open source agreement.
Please synchronize the latest 9RT source code as soon as possible. Some updates are already F13/F14, but it is still in the state of F07, and it can't run normally after compilation.
Thanks
Please, Thanks
I'm compiling for Nethunter, the compilation is successful, but only the image file is generated at the output, but the image.gz-dtb file I need.
When I looked in menuconfig, I could not find the image.gz-dtb option under the boot menu, but when I looked at the kernel of the kernel_oneplus_sm8250 oneplus8 device, this option is available.
how time we need wait for fix source dropped of a12 kernel? idk why oneplus keep ignoring the community!!
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.