Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seriously OnePlus ? When do we get src we can build? #4

Open
vczilla opened this issue Nov 22, 2022 · 62 comments
Open

Seriously OnePlus ? When do we get src we can build? #4

vczilla opened this issue Nov 22, 2022 · 62 comments

Comments

@vczilla
Copy link

vczilla commented Nov 22, 2022

Lo and behold the Android 13 kernel source still doesn't compile.
Several different reasons for it: the building system is picking the wrong .config fragments or
rather the incomplete ones because some files that are referred to are not there.
(build.config.msm.wapio.oplus ( note that waipio was also misspelt) , modules.list.oplus being also conscipcuously absent ). Even what's there wouldn't allow to build the kernel since you end up with a defconfig that lacks both CONFIG_QCOM_SMEM and CONFIG_OPLUS_FEATURE_OPROJECT that will prevent the linking phase to work.

Also talking about project_info the same annoying bugs are still there when it's trying to compile against the QCOM variant: it's using a struct file_operations for the project_info_fops variable instead of using a struct proc_ops and it's also using boot_command_line instead of saved _command_line.

Plus obviously the stock kernel is actually using gki/project_info.c and not qcom/project_info.c even though the last one gets picked up because of a config setting CONFIG_OPLUS_KERNEL_QCOM
How difficult would it be to release the source to a fully working kernel ?
Answer not whatsoever since Asus was able to do it .

@EviraKernel
Copy link

idk why oneplus stop listen dev community we wait working source wake up oneplus

@Proxy13
Copy link

Proxy13 commented Feb 16, 2023

@OnePlusOSSAdmin

@SaeedDev94
Copy link

@EviraKernel Probably because it's not OnePlus anymore, it's OPPO

@Proxy13
Copy link

Proxy13 commented Feb 20, 2023

@vczilla maybe u can patch it using this repe.

https://github.com/severecold/oplus_oss_sm8450_kernel

@vczilla
Copy link
Author

vczilla commented Feb 20, 2023

Well I patched by not using it and using Realme's kernel and vendor src code for the gt2 pro.

( Like you did with Oppo's vendor stuff I'm not mistaken).

Actually I ended up using qcom"s vanilla kernel for the waipio soc ( which was 5.10.136 ) and I slowly reintroduced Realme's vendor stuff that wasn't in qcom 's kernel .

End result for now; it boots into recovery ( stock and twrp ) ( with touchscreen working ) but not into system ( and I tried both OOS and a GSI ).

I reckon I missed something obvious regarding vendor_dlkm but I haven't found what yet .

@stonmick
Copy link

@OnePlusOSSAdmin, once upon a time, everyone bought your company's phones because you listened to your company's customers. Your phones could be customized, thanks to good kernel sources, but now the situation is completely different. Many people who have already fallen in love with your phones will leave you soon. Personally, I am selling my OnePlus 10 Pro and will never buy your company's phone again. I advise others to do this as well.

@SaeedDev94
Copy link

@OnePlusOSSAdmin, once upon a time, everyone bought your company's phones because you listened to your company's customers. Your phones could be customized, thanks to good kernel sources, but now the situation is completely different. Many people who have already fallen in love with your phones will leave you soon. Personally, I am selling my OnePlus 10 Pro and will never buy your company's phone again. I advise others to do this as well.

Same here, No more BugPlus.

@DeeparthGupta
Copy link

Is this a GPL violation? It should be reported if so.

@Proxy13
Copy link

Proxy13 commented Feb 22, 2023

@vczilla Can you share your improvements and patches with us?

which tag or branch based qcom"s vanilla kernel for the waipio soc used ?

@OnePlusOSSAdmin
Copy link

Following missing config file would be released. If any more file or information is needed, we'll provide.
abi_gki_aarch64_oplus_internal
build.config.msm.wapio.oplus
modules.ext.oplus
modules.list.oplus
waipio_oplus.config

@stonmick
Copy link

Following missing config file would be released. If any more file or information is needed, we'll provide. abi_gki_aarch64_oplus_internal build.config.msm.wapio.oplus modules.ext.oplus modules.list.oplus waipio_oplus.config

oplus_project.h

@OnePlusOSSAdmin
Copy link

Code has been updated.
https://github.com/OnePlusOSS/android_kernel_modules_and_devicetree_oneplus_sm8450/tree/oneplus/sm8450_t_13.0_10pro
@stonmick oplus_project.h is located in vendor/oplus/kernel/boot/include.

@yaymalaga
Copy link

@OnePlusOSSAdmin Could you also check the 10T kernel missing parts? OnePlusOSS/android_kernel_modules_and_devicetree_oneplus_sm8475#1

@OnePlusOSSAdmin
Copy link

@yaymalaga Sure. It'll be updated.

@x1906875173
Copy link

@OnePlusOSSAdmin Will msmtool be released to users in the future?

@stonmick
Copy link

Code has been updated. https://github.com/OnePlusOSS/android_kernel_modules_and_devicetree_oneplus_sm8450/tree/oneplus/sm8450_t_13.0_10pro @stonmick oplus_project.h is located in vendor/oplus/kernel/boot/include.

Thanks a lot

@DeeparthGupta
Copy link

@OnePlusOSSAdmin Will msmtool be released to users in the future?

+1
Though I don't think this is the right place to ask this question. At the same time, OP doesn't seem to want to respond to questions like this on other channels.

@OnePlusOSSAdmin
Copy link

@x1906875173 @DeeparthGupta This tool is not managed by OSS team. This tool is for internal use only and there's no plan to release it to users. If you need help, you could contact customer support.

@Proxy13
Copy link

Proxy13 commented Apr 1, 2023

is anyone boot successfully the kernel ? @vczilla

@Proxy13
Copy link

Proxy13 commented Apr 1, 2023

@OnePlusOSSAdmin we (me and @EviraKernel ) can finally compile kernel source after months .But cant boot kernel.Phone goes black screen . are u sure source is complete ?

@Proxy13
Copy link

Proxy13 commented Apr 1, 2023

if someone try to compile our last point is ->
https://github.com/negroni-development/OOS-sm8450_t_13.0_10pro

@EviraKernel
Copy link

EviraKernel commented Apr 2, 2023

@OnePlusOSSAdmin can relase source with gki repo can syncronize and compile how Google do with pixel 7/7 pro? Source compile go all ok in build with latest source relase but go fail where try to boot same with GT2pro for realme source relase it

@JimmyMultani
Copy link

Hey @OnePlusOSSAdmin, it would be great if we could get a response about the kernel source not booting.

@EviraKernel
Copy link

Oneplus and realme relase not booting source idk why relase source when not boot this is violation of gpl so relase working build or relase a working method to build kernel

@OnePlusOSSAdmin
Copy link

Could you provide more detailed information. After code update, we think code is complete. It would be helpful if we could know wich specific files or configs needed. Also you could send detailed information to [email protected]

@x1906875173
Copy link

Could you provide more detailed information. After code update, we think code is complete. It would be helpful if we could know wich specific files or configs needed. Also you could send detailed information to [email protected]

The problem is that we currently have no way of knowing where the problem is

@EviraKernel
Copy link

[email protected] actually we not idk why not boot if see on top we relase link of source gki with source updated relase it for build we have all need for boot but not boot phone go on fast boot so or relase a working method with linked clang gcc and command use to build how oneplus do or we after some months not have working kernel source becouse we build all but phone continue not boot

@Proxy13
Copy link

Proxy13 commented May 14, 2023

@OnePlusOSSAdmin u can't be serious.I think the test is not too hard.Why not try compile released source and try to flash any device ? I think u are just kidding us ...

@Proxy13
Copy link

Proxy13 commented May 26, 2023

@OnePlusOSSAdmin pls update 13.1 .we need tested source .

@x1906875173
Copy link

@OnePlusOSSAdmin In the past, OnePlus actively listened to our opinions, recognized our problems, and supported the development of developers. Since OnePlus entered OPPO, everything has become a thing of the past. No one has successfully developed your new devices until now. You are preventing developers from developing. You must have tampered with the open source parts, and you are not willing to release the files that are missing in open source. You just want to ensure that the compilation is successful, and you are not responsible for the follow-up problems. The problem lies with you. , and are unwilling to listen to other people's opinions. Now you are only willing to release new devices and no longer support development. You have already restricted msmtool. There are always people who can test, but you are unwilling to continue to support development. It doesn't matter if you don't care, you have already violated your initial wishes.

@W-M-D
Copy link

W-M-D commented Jun 18, 2023

@EviraKernel Probably because it's not OnePlus anymore, it's OPPO

yeah, i knew i should have stayed away from this state owned spyware garbage

@Machad3x
Copy link

Machad3x commented Jul 4, 2023

@OnePlusOSSAdmin How to correctly build this kernel? We're not able to boot, you guys even tested this source?

That's a GPL violation, a kernel source need to be complete and functional.

@Proxy13
Copy link

Proxy13 commented Jul 6, 2023

@Machad3x we did it. finally can compile kernel succesfully but device did not boot when we try. we got all kernel modules and img files. if u wanna try compile check older comments u can found complete source .

@W-M-D
Copy link

W-M-D commented Jul 6, 2023

@Proxy13 yeah, without edl testing kernels is too risky. i'm returning

@OnePlusOSSAdmin
Copy link

We'll provide a guide on how to compile kernel and flash it to device. It's expected to be released in August.

@x1906875173
Copy link

We'll provide a guide on how to compile kernel and flash it to device. It's expected to be released in August.

Have you ever booted the device with your own distributed kernel sources?

@EviraKernel
Copy link

Guide for make kernel 🤣🤣🤣 you tested source relase it and boot on phone? For kernel build major error is on build superimage stop compile and have error

@OnePlusOSSAdmin
Copy link

@x1906875173 Yes. We would test code before we release it to github. But internal we use the full system build, not just kernel.
@EviraKernel For kernel build error, you could provide error log then we could check what's wrong. Maybe it's because of incorrect config, or other parameters that not included in the code which should be.
We would improve developers' experience by releasing complete compile and install guide.

@spectrum70
Copy link

Something is changed, sure, but i don't think a bad atmosphere here will bring anything good.

I am not a big expert of android, but, is it possible to enable the low level console and see where the kernel hangs ?

@OnePlusOSSAdmin is there any update ? August is near :)

@OnePlusOSSAdmin
Copy link

@spectrum70 There's still some work to do before it could be released to developers.

@pjgowtham
Copy link

pjgowtham commented Jul 21, 2023

Doing this fixes the issue of recovery not booting with OSS kernel modules. Maybe some touchpanel codes are incomplete. Kindly look into it when you update the source.

udon-development/android_device_oneplus_sm8450-common@f036a8c

@Machad3x
Copy link

Machad3x commented Aug 16, 2023

@OnePlusOSSAdmin Any update about the guide or when will be released? We already in mid August.

@OnePlusOSSAdmin
Copy link

We could release part of work this week. Here‘s our plan.
1, release build script
2, release tool chain or download link.
3, release manifest

@AngelaCooljx
Copy link

hope it's also applicable to SM8475 devices

@EviraKernel
Copy link

@OnePlusOSSAdmin we wait no news?

@stonmick
Copy link

@OnePlusOSSAdmin, we are still waiting 🫠

@SaeedDev94
Copy link

It seems that week will never come 😏

@Machad3x
Copy link

@OnePlusOSSAdmin We're still waiting! 😐

@Machad3x
Copy link

Machad3x commented Sep 6, 2023

@OnePlusOSSAdmin Have a roadmap to realease? Updated source? Waiting Android 14 release? Plz, tell us.

@EviraKernel
Copy link

This week when come?

@DeeparthGupta
Copy link

We're looking at a GPL violation at this point.

@Proxy13
Copy link

Proxy13 commented Sep 25, 2023

@OnePlusOSSAdmin ??

@EviraKernel
Copy link

@OnePlusOSSAdmin this is becouse i hope Never continue buy oppo/oneplus/realme device after merge oneplus still bad and not listen community

@SaeedDev94
Copy link

@OnePlusOSSAdmin this is becouse i hope Never continue buy oppo/oneplus/realme device after merge oneplus still bad and not listen community

No more OnePlus phones for sure
The fact is the old and gold OnePlus died a lot of time ago ...
We all fooled by OPPO ...
OPPO used OnePlus name to sell this piece of shit to us 😑 R.I.P. OnePlus

@Kikoarl
Copy link

Kikoarl commented Oct 8, 2023

This has been my first and for sure will be the last OPPO phone I'll ever buy. And I'm going to make sure that no one around me buys another phone from this joke of a company.

@chandu078
Copy link

We could release part of work this week. Here‘s our plan. 1, release build script 2, release tool chain or download link. 3, release manifest

This is joke?

@crackedpotato007
Copy link

Its been a year...

@MandySingh3
Copy link

We could release part of work this week. Here‘s our plan. 1, release build script 2, release tool chain or download link. 3, release manifest

...............

@UploadMaster1
Copy link

We could release part of work this week. Here‘s our plan. 1, release build script 2, release tool chain or download link. 3, release manifest

@OnePlusOSSAdmin now its more than a year i didn't see these anywhere, i think i am blind can you please tag me if this is not anywhere please remove this crap source from here its giving bootloop if you think we are joking let me know i will screen record and build kernel with this shit source and send you boot.img and you can flash on your device let us know if that works or if you think this source works good, from scratch git clone this repo and build kernel and provide us terminal log if you cant do it on your system i will provide remote access to my system just let me know.

@OnePlusOSSAdmin
Copy link

We've done it for other chipset platform, pelase see https://github.com/OnePlusOSS/kernel_manifest.
For OnePlus 10R, we'll update to latest code for android 14, plus kernel manifest and build command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests