the-darkvoid / XPS9360-macOS

macOS Catalina on Dell XPS 9360
358 stars 85 forks source link

Shell64U.efi no 'setup_var' command #30

Closed agrabsi closed 6 years ago

agrabsi commented 6 years ago

Hello, I can't use the 'setup_var' command that is supposed to be in the patched Shell64U.efi

I just replaced the existing Shell64*.efi files with the one you provided here on my usb key. Maybe it was not how it was supposed to be done ?

Thank you for your help !

koseduhemak commented 6 years ago

Had the same problem. You need to rename DVMT.efi to Shell64U.efi (make backup of Shell64U.efi) in the Clover/tools folder. Then you can boot into Clover and select "Start efi shell" (don't know exactly how it is exactly named).

agrabsi commented 6 years ago

I ended up using the shell from https://www.tonymacx86.com/threads/guide-dell-xps-13-9360-on-macos-sierra-10-12-x-lts-long-term-support-guide.213141/ which is Grub (yay) and contains setup_var and setup_var2 commands 👍

WeiAnAn commented 6 years ago

You need to use same bios version Shell64U.efi, otherwise it will cause this error.

agrabsi commented 6 years ago

@WeiAnAn I'm not sure if I completely understood what you said but I have the same bios version on my xps 13 (2.6.2) as stated in the README file

the-darkvoid commented 6 years ago

The repository includes DVMT.efi which should be renamed to Shell64U.efi in order to use setup_var. I will update the docs to reflect that more clearly.

dschuler commented 6 years ago

I'm working on an XPS 9570 build (hoping to create a repo like yours @the-darkvoid by the time I'm done). I've figured out the bios variables for DVMT pre-alloc, but I can't get this shell to boot. It just hangs with a single underscore. Is there any info on this shell or how to build it, what the setup_var command actually does, etc?

Raymonf commented 6 years ago

@dschuler Same issue here, were you able to get it working at all? Also 9570 (4K) here.

the-darkvoid commented 6 years ago

@dschuler: It writes EFI variables into the BIOS settings. You might be able to find an updated revised version of DVMT.efi.

Essentially its a modified version of grub, you can find an example modification here: http://geek-mag.com/posts/258090/

dschuler commented 6 years ago

I have not been able to find an updated version of DVMT.efi, but I'm working on a new one. Got an EFI shell to build from grub source so far. Thanks for the link @the-darkvoid.

I'll provide an update here soon (1-2 weeks) - hopefully with a new shell or a workaround @Raymonf.

Raymonf commented 6 years ago

@dschuler I found out the maximum is 64MB anyways, and it's set to that by default. AmiSetupWriter can do it from a normal EFI shell.

I also built a version of GRUB with the setup_var patch but I didn't test it.

Do you have Telegram? I'd like to chat about this 1:1 if possible.

dschuler commented 6 years ago

@Raymonf sure, my Telegram username is @dschuler. I'll check out AmiShellWriter in the mean time, good find.