Skip to content
This repository has been archived by the owner on Mar 2, 2021. It is now read-only.

Better build #3

Closed
hieplpvip opened this issue Jul 31, 2018 · 42 comments
Closed

Better build #3

hieplpvip opened this issue Jul 31, 2018 · 42 comments
Labels
enhancement New feature or request

Comments

@hieplpvip
Copy link
Contributor

I've created a universal build for Asus Zenbook here. It's much better organized than your build. I can add support for your laptop if you want.

If you don't want to merge your build into mine, these are several things that will help you:

  1. Use ApfsDriverLoader instead of apfs.efi. It will automatically load apfs.efi from system volume and disable verbose logging too.
  2. Don't use OsxAptioFix3Drv-64.efi. Use AptioMemoryFix. You will have native nvram working.
  3. Don't use VoodooHDA, it's kind of a general kext. Use AppleALC. It will patch AppleHDA for you.
  4. IntelGraphicsDVMTFixup.kext is not need if you change DVMT to 64mb in BIOS. Also, IntelGraphicsFixup has been merged into WhateverGreen. You may want to try it.
  5. If you have Wifi card working, you can remove NullEthernet. It's only needed when using USB Wifi.
  6. It's better to install all kexts to /Library/Extensions. Some kexts won't work from Clover, for example: AppleBacklightInjector (used to get full range brightness), FakeSMC plugins...
  7. To get full range brightness from Clover, you can try my kext
  8. You may want to try hot patching, that way you won't have to patch DSDT every time you update BIOS
@tctien342
Copy link
Owner

Thanks ông nhiều nghen <3!

  1. Đã thay
  2. Đã thay
  3. CX8050 của mình sài appleALC hay patched AppleHDA đều bị hư mic do layout nó chỉ hỗ trợ là 3 nên mình sài VoodooHDA, Bản voodooHDA này mình mod lại đúng node nên âm thanh cũng hay chỉ mỗi tội HDMI audio bug thôi
  4. Đã thay
  5. Đã thay
  6. Chưa thử push vô đó :))), thấy cũng full work, blacklight nhận đủ, nchung ổn hết ông ạ
  7. Bug k sài được, bị panic ngay
  8. Chưa biết làm hot patch kiểu gì :(

@tctien342 tctien342 added the enhancement New feature or request label Jul 31, 2018
@hieplpvip
Copy link
Contributor Author

Dân việt với nhau mà ko biết :)

@tctien342
Copy link
Owner

@hieplpvip bác thông cảm =)), đi làm sml nên hay quên!
Trc thấy bác bảo mà em quên rep cmn luôn =)))))))))
Con CX8050 giờ chắc em phải thử tạo cái layout khác cho nó quá :(((

@hieplpvip
Copy link
Contributor Author

Bạn vào đây mở issue nhờ patch codec đi

@hieplpvip
Copy link
Contributor Author

mình nghĩ bạn cài lỗi gì đó nên AppleBacklightFixup mới gây panic. Máy mình vẫn xài ok mà

@tctien342
Copy link
Owner

E cũng k biết nữa, cơ mà Backlight máy e ổn, k có vấn đề gì nên em nghĩ k cần kext đó đâu bác

@hieplpvip
Copy link
Contributor Author

s510ua.zip
Bạn dùng thử build này xem sao

@tctien342
Copy link
Owner

Có cách nào build hot patch chỉ gồm i2c, battery, asus FN và instant USB fix k bác :)))

@hieplpvip
Copy link
Contributor Author

Build của mình ngoài mấy cái đó còn vài patch khác nữa bạn. Bạn test thử được thì mình hướng dẫn làm hot patch

@tctien342
Copy link
Owner

Bug bác ới ! bug card đồ họa ! nhận 7 mb thôi

@hieplpvip
Copy link
Contributor Author

Mấy thứ khác sao bạn?

@hieplpvip
Copy link
Contributor Author

Bạn inject id nào cho IGPU?

@tctien342
Copy link
Owner

Mấy thứ khác sơ qua thì ổn bác! chưa thử speedstep, GPU e k cần inject id bở kext nó fix cho r !

@hieplpvip
Copy link
Contributor Author

Bạn có thay file aml trong Clover bằng những file trong thư mục acpi ko?

@tctien342
Copy link
Owner

Thay toàn bộ theo bác luôn, xóa dsdt luôn!

@hieplpvip
Copy link
Contributor Author

bạn gửi thư mục efi mình xem thử

@tctien342
Copy link
Owner

CLOVER.zip
Đây ạ :3
mic vẫn lỗi như thường nhé, con CX8050 trên con lap em k dùng appleHDA đc

@hieplpvip
Copy link
Contributor Author

Bạn cài thêm FakePCIID_Intel_HD... gpu có hoạt động ko

@tctien342
Copy link
Owner

k bác :))), nát, âm thanh k có luôn, cái SSDT FAN MOD bác sài ngon <3

@hieplpvip
Copy link
Contributor Author

Bạn xóa SSDT-IGPU thử

@hieplpvip
Copy link
Contributor Author

Bạn thử trên 10.14 hay 10.13 vậy?

@hieplpvip
Copy link
Contributor Author

s510ua.zip
Bạn thử bản này xem. Nhớ compile dsl thành aml. Bản này dùng hotpatch đó

@hieplpvip
Copy link
Contributor Author

Bạn dùng Ubuntu dump codec theo hướng dẫn này đi: http://osxarena.com/2015/09/getting-codec-information-for-applehda-patching/

@tctien342
Copy link
Owner

10.14 nhé bác ! e dump codec làm thành layout mới luôn r =))))), vẫn bị ngu mỗi cái micro thôi, thử đủ loại layout

@hieplpvip
Copy link
Contributor Author

Bạn thử build mình mới gửi chưa?

@tctien342
Copy link
Owner

FN bug, pin phải rút sạc cắm lại, bluetooth bug luôn :V và k chịu nhận lại, k biết chuyện gì đã xảy ra!!!
Boot lâu hơn ! trackpad nhận

@hieplpvip
Copy link
Contributor Author

Bạn gửi cho mình output từ tool này đi: https://www.tonymacx86.com/threads/tool-generate-proper-problem-reporting-files.235953/

Máy mình chạy ok cả, boot khoảng 10s thôi

@tctien342
Copy link
Owner

debug_9634.zip
Đây bác !

@hieplpvip
Copy link
Contributor Author

Bạn cài kext vào /Library/Extensions nhưng chưa fix permission cho kexts nên nó bị lỗi.

Kext Utility.zip
Bạn dùng tool này để fix

@hieplpvip
Copy link
Contributor Author

Nhân tiện bạn gửi mình codec của bạn được không?
Mình chưa patch AppleHDA bao giờ, nên giờ mình muốn thử

@tctien342
Copy link
Owner

Em fix xong trên hot patch của bác r <3, thanks bác nhé, cái SSDT ATK bị bug nên em ngồi mix nó lại 1 chút và ổn r ạ! đợi e dump lại =)) vừa delete sạch

@tctien342
Copy link
Owner

codec.txt
codec dump!

@hieplpvip
Copy link
Contributor Author

ATK bị bug gì thế?

@hieplpvip
Copy link
Contributor Author

Build của mình dành cho Zenbook mình dùng script để tự động tải, cài đặt kexts, compile dsl.
Nếu bạn muốn mình có thể port script đó cho Vivobook.

Mình mới mở 1 pull request xoá các file .DS_Store đi. Để nó ngứa mắt quá :v

@hieplpvip
Copy link
Contributor Author

Mình thấy patch AppleHDA thì nên nhờ chuyên gia patch.
Bạn dump theo hướng dẫn này rồi post lên đây nhờ patch đi

@tctien342
Copy link
Owner

ATK k sử dụng được thôi bác, tăng giảm sáng bàn phím với ánh sáng màn hình k được nên em kiếm file ssdtt FN sài đcc r ngồi merge code dsdt sang! em merge pull bác vào rồi,sài dot_clean k clean đc =)))! để em thử dump r send qua đó

@hieplpvip
Copy link
Contributor Author

Mình thấy file SSDT-ASUSFN của bạn chỉ khác file SSDT-ATK hai dòng XQ0E() và XQ0F() thôi.
Bạn thử xoá 2 dòng đó xem còn tăng giảm độ sáng được ko?

@hieplpvip
Copy link
Contributor Author

Bạn thử patch AppleHDA nào mà speaker và headphone hoạt động?

@tctien342
Copy link
Owner

em fix r nhé bác, sử dụng custom command trong CodecCommander.kext

@hieplpvip
Copy link
Contributor Author

Bạn patch gì trong CodecCommander vậy?
Góp ý nhỏ là nên dùng SSDT để inject custom command, ko nên patch info.plist

@tctien342
Copy link
Owner

ok e chuyển qua patch bằng ssdt r !
dùng hda-verd thực thi 2 lệnh này bác:
0x19 SET_PIN_WIDGET_CONTROL 0x24
0x1a SET_PIN_WIDGET_CONTROL 0x24

@DJohnston79
Copy link

Can someone help with my audio? I've got coxenant 8121 apparently and can't get it to work using lilu and ALC

Laptop is vivobook x405ua

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants