edk2-porting / edk2-msm

Broken edk2 port for Qualcomm platforms xD
https://renegade-project.tech/
BSD 2-Clause "Simplified" License
2.31k stars 437 forks source link

OnePlus 5t (dumpling) Volume/Power keys don't work in UEFI #294

Open wolfinabox opened 1 year ago

wolfinabox commented 1 year ago

Prerequisites

Description

Volume/Power keys on OnePlus 5t (dumpling) don't work in the UEFI boot menu, which prevents navigating the menu. (No messages/errors show upon pressing, there's just no response. The device automatically boots into the EFI shell after the timeout) Tried release 2301.1 as well as compiling 880e0104bc35a182b88c7ad81c2b0f843aa5d202 from source, no dice. The volume/power keys do still work in Android, and the power button works to go past the "This boot loader is unlocked" screen before booting, just not in the edk2-msm UEFI. Wiki says UEFI buttons should be supported, so not sure if I've done something wrong, or there's an issue.

Happy to test/provide any other info that's needed, as I'd love to get this running on my old phone.

qaz6750 commented 1 year ago
shenghuang147 commented 10 months ago

Yeah I'm having the same problem.

NetuserPRO commented 10 months ago

@shenghuang147 worked for me before my op5t broke

shenghuang147 commented 10 months ago
  • We need to fix buttondxe for it

I used Cheeseburger's ButtonsDxe and the buttons worked fine.

Ok12340 commented 3 months ago
  • We need to fix buttondxe for it

I used Cheeseburger's ButtonsDxe and the buttons worked fine.

Could you tell me how to do it please

shenghuang147 commented 3 months ago

Could you tell me how to do it please

I'm sorry, because the time is too far in the past. I'm not sure if I'll forget some details.

As far as I remember, all you need to do is copy the content from https://github.com/edk2-porting/edk2-msm/blob/81e670bf6a92a8f7044b393012423f2e72ad8c43/Platform/Oneplus/msm8998/cheeseburger.fdf.inc#L2-L6

to

https://github.com/edk2-porting/edk2-msm/blob/81e670bf6a92a8f7044b393012423f2e72ad8c43/Platform/Oneplus/msm8998/dumpling.fdf.inc

Ok12340 commented 3 months ago

Could you tell me how to do it please

I'm sorry, because the time is too far in the past. I'm not sure if I'll forget some details.

As far as I remember, all you need to do is copy the content from

https://github.com/edk2-porting/edk2-msm/blob/81e670bf6a92a8f7044b393012423f2e72ad8c43/Platform/Oneplus/msm8998/cheeseburger.fdf.inc#L2-L6

to

https://github.com/edk2-porting/edk2-msm/blob/81e670bf6a92a8f7044b393012423f2e72ad8c43/Platform/Oneplus/msm8998/dumpling.fdf.inc

And what should i do after that. I have to get the .img file somehow

shenghuang147 commented 3 months ago

And what should i do after that. I have to get the .img file somehow

The time is too long ago, I don't remember the build process, you need to review the documents yourself. Perhaps it's build.sh --device dumpling ?

Daniel224455 commented 3 months ago

have you tried edk2-msm8998