Jump to content
vit9696

Lilu — kext and process patcher

357 posts in this topic

Recommended Posts

@Sherlocks, you didn't provide me with a full log, I don't see the first call of FakeBrcm::init, FakeBrcm::start.

And the last lines for AirportBrcmFixup:

2018-08-05 17:49:41.602104+0900  localhost kernel[0]: (kernel) AirportBrcmFixup:  BRCMFX @ (DBG) start is called, service name is AirPort_BrcmNIC, provider name is ARPT
2018-08-05 17:49:41.602113+0900  localhost kernel[0]: (kernel) AirportBrcmFixup:  BRCMFX @ (DBG) brcmfx-country in ioreg is set to #a

 

It means everything is OK, driver started!

What happened later?

Share this post


Link to post
Share on other sites
Advertisement
[mention=980913]Sherlocks[/mention], you didn't provide me with a full log, I don't see the first call of FakeBrcm::init, FakeBrcm::start.
And the last lines for AirportBrcmFixup:
2018-08-05 17:49:41.602104+0900  localhost kernel[0]: (kernel) AirportBrcmFixup:  BRCMFX @ (DBG) start is called, service name is AirPort_BrcmNIC, provider name is ARPT
2018-08-05 17:49:41.602113+0900  localhost kernel[0]: (kernel) AirportBrcmFixup:  BRCMFX @ (DBG) brcmfx-country in ioreg is set to #a
 
It means everything is OK, driver started!
What happened later?
okay wait. right now, i will give full log without grep option.

나의 LG-F800S 의 Tapatalk에서 보냄

Share this post


Link to post
Share on other sites
1 minute ago, Sherlocks said:

okay wait. right now, i will give full log without grep option.

나의 LG-F800S 의 Tapatalk에서 보냄
 

After using the new version, I have the same problem as you.

Share this post


Link to post
Share on other sites
7 minutes ago, lvs1974 said:

@Sherlocks, you didn't provide me with a full log, I don't see the first call of FakeBrcm::init, FakeBrcm::start.

And the last lines for AirportBrcmFixup:

2018-08-05 17:49:41.602104+0900  localhost kernel[0]: (kernel) AirportBrcmFixup:  BRCMFX @ (DBG) start is called, service name is AirPort_BrcmNIC, provider name is ARPT
2018-08-05 17:49:41.602113+0900  localhost kernel[0]: (kernel) AirportBrcmFixup:  BRCMFX @ (DBG) brcmfx-country in ioreg is set to #a

 

It means everything is OK, driver started!

What happened later?

 

here

 

fulllog.zip

Share this post


Link to post
Share on other sites
6 minutes ago, lvs1974 said:

One more question: what is a real device-id of your wi-fi card?

1.PNG.4ee7dea5710098e00f5dc5dd4efd83dd.PNG

 

real device id is 14E4-43B1 in aida64. i never use FakePCIID kext. only use DSDT injection for device id.

Edited by Sherlocks

Share this post


Link to post
Share on other sites
18 minutes ago, lvs1974 said:

@Sherlocks, could you test attached kexts please?

I added some fixes into AirportBrcmFixup, btw I also have card 43b1, it works (and worked before changes) on my laptop.

AirportBrcmFixup 1.1.5 (DEBUG).zip

Lilu 1.2.6 (DEBUG).zip

 

first of all, sorry for confused info before.

i found some info

wifi is working in your commit "Version 1.1.5: Mojave compatible"

https://github.com/acidanthera/AirportBrcmFixup/commit/4593a28aad10405ab46db6a5d8ddc1cfc9984279

log is here

1.txt

 

exactly, since vit9696's commit, my wifi is not working.

https://github.com/acidanthera/AirportBrcmFixup/commit/8f9c51d21a4bb3fc361571646b9ee97db39fa823

log is here

2.txt

 

now, i test your latest fixed version. then right, i will write report

 

EDIT1.

your latest version is working :)

here

working log.txt

 

 

 

Edited by Sherlocks

Share this post


Link to post
Share on other sites
8 minutes ago, lvs1974 said:

@Sherlocks, thank you for testing! I am glad to hear it works again. Would be nice to get more successful reports from other people, and I will commit my changes.

 

@lvs1974

you're welcome. i like a debug. i'm glad to help you fixed this issue.
always thank you for your hard work.

Edited by Sherlocks

Share this post


Link to post
Share on other sites

@vit9696

sorry for report here.

i don't know where i report some info in your project "https://github.com/acidanthera/macserial".

a model code of MacBookPro15,2 is "JHCC, JHCD"

thanks in advance

 

EDIT1.

also some shiki instruction was omitted compared original shiki repo.

 

original

https://github.com/acidanthera/Shiki/blob/cd67c8d9b4732bfc717956c95e92ceda7e7ab83c/Shiki/kern_start.cpp#L51

 

WEG

https://github.com/acidanthera/WhateverGreen/blob/master/WhateverGreen/kern_shiki.hpp#L61

 

Edited by Sherlocks

Share this post


Link to post
Share on other sites

Thanks, this one was dropped as the fix landed in macOS.

Share this post


Link to post
Share on other sites

Hi,

 

Last Lilu update broke iTunes dam play.

Some Lilu error trace at boot.

Don't have log atm.

 

Fixed Thanks Vit9696.

 

Fred

Edited by FredWst

Share this post


Link to post
Share on other sites
4 hours ago, vit9696 said:

VirtualSMC source code was published: https://github.com/acidanthera/VirtualSMC. Enjoy!

 

so what's better to use? this or the dear old fake smc? Which are the mein differences beetween this and your standard fake smc kext?

Share this post


Link to post
Share on other sites

Hi,

 

is it somehow possible to load a kext before another kext while booting up, and even further, ensuring that there will be 6 seconds of pause/other kext loading until the second kext will be loaded?

Edited by Funky frank

Share this post


Link to post
Share on other sites

Hey :)

 

as both Plugins dont have a seperate thread, just posting here, hope its ok?!

 

BT4LEContiunityFixup and AirportBrcmFixup dont load on 10.10.5 for me with the following errors,

built myself with newest Lilu-Dev-Build.

 

26.09.18 16:00:57,000 kernel[0]: BT4LEContiunityFixup:    init @ failed to call parent 6
26.09.18 16:09:03,000 kernel[0]: BT4LEContiunityFixup: bt4lefx @ failed to resolve __ZN25IOBluetoothHostController25SetControllerFeatureFlagsEj 2
 

26.09.18 16:09:07,000 kernel[0]: kxld[as.lvs1974.AirportBrcmFixup]: The following symbols are unresolved for this kext:
26.09.18 16:09:07,000 kernel[0]: kxld[as.lvs1974.AirportBrcmFixup]:     __ZN13Configuration18bootargBrcmCountryE
26.09.18 16:09:07,000 kernel[0]: Failed to load executable for kext as.lvs1974.AirportBrcmFixup.
26.09.18 16:09:07,000 kernel[0]: Kext as.lvs1974.AirportBrcmFixup failed to load (0xdc008016).
26.09.18 16:09:07,000 kernel[0]: Failed to load kext as.lvs1974.AirportBrcmFixup (error 0xdc008016).

 

thx :D
 

Share this post


Link to post
Share on other sites
On 9/26/2018 at 4:18 PM, reelgirly said:

Hey :)

 

as both Plugins dont have a seperate thread, just posting here, hope its ok?!

 

BT4LEContiunityFixup and AirportBrcmFixup dont load on 10.10.5 for me with the following errors,

built myself with newest Lilu-Dev-Build.

 

26.09.18 16:00:57,000 kernel[0]: BT4LEContiunityFixup:    init @ failed to call parent 6
26.09.18 16:09:03,000 kernel[0]: BT4LEContiunityFixup: bt4lefx @ failed to resolve __ZN25IOBluetoothHostController25SetControllerFeatureFlagsEj 2
 

26.09.18 16:09:07,000 kernel[0]: kxld[as.lvs1974.AirportBrcmFixup]: The following symbols are unresolved for this kext:
26.09.18 16:09:07,000 kernel[0]: kxld[as.lvs1974.AirportBrcmFixup]:     __ZN13Configuration18bootargBrcmCountryE
26.09.18 16:09:07,000 kernel[0]: Failed to load executable for kext as.lvs1974.AirportBrcmFixup.
26.09.18 16:09:07,000 kernel[0]: Kext as.lvs1974.AirportBrcmFixup failed to load (0xdc008016).
26.09.18 16:09:07,000 kernel[0]: Failed to load kext as.lvs1974.AirportBrcmFixup (error 0xdc008016).

 

thx :D
 

Hello,

I tried to solve these issues, you can checkout the latest versions and try again.

BTW: which Xcode version do you use to build? 

Share this post


Link to post
Share on other sites
22 hours ago, lvs1974 said:

Hello,

I tried to solve these issues, you can checkout the latest versions and try again.

BTW: which Xcode version do you use to build? 

hey,

thx for your reply :)

 

tried both kexts right now, sadly both still dont work :/

im still using xcode 7.2.1 but the prebuilt binaries didnt work also.

 

for AirportBrcmFixup last working version was 1.1.2 if i remember correctly and BT4LEContiunityFixup has never been working for me on yosemite.

 

these are the logs now:

 

AirportBrcmFixup:

Oct  2 18:08:16 I3BebeFlexi kernel[0]: kxld[as.lvs1974.AirportBrcmFixup]: The following symbols are unresolved for this kext:
Oct  2 18:08:16 I3BebeFlexi kernel[0]: kxld[as.lvs1974.AirportBrcmFixup]: 	__ZN13Configuration18bootargBrcmCountryE
Oct  2 18:08:16 I3BebeFlexi kernel[0]: kxld[as.lvs1974.AirportBrcmFixup]: 	__ZN13Configuration19bootargWlanMsgLevelE
Oct  2 18:08:16 I3BebeFlexi kernel[0]: kxld[as.lvs1974.AirportBrcmFixup]: 	__ZN13Configuration20bootargWlanMsgLevel2E
Oct  2 18:08:16 I3BebeFlexi kernel[0]: kxld[as.lvs1974.AirportBrcmFixup]: 	__ZN13Configuration21bootargBrcmEnableWowlE
Oct  2 18:08:16 I3BebeFlexi kernel[0]: Can't load kext as.lvs1974.AirportBrcmFixup - link failed.
Oct  2 18:08:16 I3BebeFlexi kernel[0]: Failed to load executable for kext as.lvs1974.AirportBrcmFixup.
Oct  2 18:08:16 I3BebeFlexi kernel[0]: Kext as.lvs1974.AirportBrcmFixup failed to load (0xdc008016).
Oct  2 18:08:16 I3BebeFlexi kernel[0]: Failed to load kext as.lvs1974.AirportBrcmFixup (error 0xdc008016).
Oct  2 18:08:16 I3BebeFlexi.local com.apple.kextd[48]: Failed to load /System/Library/Extensions/LiluFriend.kext/Contents/PlugIns/AirportBrcmFixup.kext - (libkern/kext) link error.
Oct  2 18:08:16 I3BebeFlexi.local com.apple.kextd[48]: Load as.lvs1974.AirportBrcmFixup failed; removing personalities from kernel.

BT4LEContiunityFixup's error msgs has been gone but it breaks bluetooth now completely:

Oct  2 18:27:48 localhost kernel[0]: [IOBluetoothHCIController][start] -- completed
Oct  2 18:27:50 I3BebeFlexi kernel[0]: **** [IOBluetoothHostControllerUSBTransport][start] -- completed -- result = TRUE -- 0x0000 ****
Oct  2 18:27:50 I3BebeFlexi kernel[0]: **** [BroadcomBluetoothHostControllerUSBTransport][start] -- Completed (matched on Device) -- 0x0000 ****
Oct  2 18:27:50 I3BebeFlexi kernel[0]: [IOBluetoothHCIController][staticBluetoothTransportShowsUp] -- Received Bluetooth Controller register service notification -- 0x0000 

booting without it connects to the transport and starts up the adapter:

Oct  2 18:33:26 localhost kernel[0]: [IOBluetoothHCIController][start] -- completed
Oct  2 18:33:28 I3BebeFlexi kernel[0]: **** [IOBluetoothHostControllerUSBTransport][start] -- completed -- result = TRUE -- 0x5000 ****
Oct  2 18:33:28 I3BebeFlexi kernel[0]: **** [BroadcomBluetoothHostControllerUSBTransport][start] -- Completed (matched on Device) -- 0x5000 ****
Oct  2 18:33:28 I3BebeFlexi kernel[0]: [IOBluetoothHCIController][staticBluetoothTransportShowsUp] -- Received Bluetooth Controller register service notification -- 0x5000 
Oct  2 18:33:28 I3BebeFlexi kernel[0]: [IOBluetoothHCIController::setConfigState] calling registerService
Oct  2 18:33:28 I3BebeFlexi kernel[0]: **** [IOBluetoothHCIController][ProcessBluetoothTransportShowsUpActionWL] -- Connected to the transport successfully -- 0x9180 -- 0xa000 -- 0x5000 ****

thx again for your help :)

Edited by reelgirly

Share this post


Link to post
Share on other sites

Hi, I think Lilu is not loading on my system. Installed through Clover Configurator with Whatevergreen and AppleALC. Please help:

 

2018-09-14 12:26:07.058039+0200  localhost kernel[0]: Kext as.vit9696.Lilu start failed (result 0x5).
2018-09-14 12:26:07.058044+0200  localhost kernel[0]: Kext as.vit9696.Lilu failed to load (0xdc008017).
2018-09-14 12:26:07.058049+0200  localhost kernel[0]: Failed to load kext as.vit9696.Lilu (error 0xdc008017).
2018-09-14 12:26:07.155891+0200  localhost kernel[0]: Kext as.vit9696.AppleALC - library kext as.vit9696.Lilu not found.
2018-09-14 12:26:07.155901+0200  localhost kernel[0]: Can't load kext as.vit9696.AppleALC - failed to resolve library dependencies.
2018-09-14 12:26:07.155907+0200  localhost kernel[0]: Kext as.vit9696.AppleALC failed to load (0xdc00800e).
2018-09-14 12:26:07.155912+0200  localhost kernel[0]: Failed to load kext as.vit9696.AppleALC (error 0xdc00800e).
2018-09-14 12:26:07.178475+0200  localhost kernel[0]: Couldn't alloc class "Lilu"
2018-09-14 12:26:07.178513+0200  localhost kernel[0]: Couldn't alloc class "AppleALC"

Tom.

Share this post


Link to post
Share on other sites
15 hours ago, Kyvaith said:

I've compiled Lilu and AppleALC from master now, but I'm getting exact same output in log.

 

There are release for Lilu and AppleALC from repo. Do you try them? 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By ltooz_audis
      Some people do have problem understanding AppleALC, how to use it for their own codecs. Here's how I used it for both Realtek ALC and IDT audio codecs.
      https://youtu.be/ZNUzQkb6p5g
      For more info on Catalina click here.
      Cheers,
      Louis
    • By headkaze
      English: https://github.com/acidanthera/WhateverGreen/blob/master/Manual/FAQ.IntelHD.en.md
      Russian: https://www.applelife.ru/threads/intel-hd-graphics-3000-4000-4400-4600-5000-5500-5600-520-530-630.1289648/
      Chinese: https://github.com/acidanthera/WhateverGreen/blob/master/Manual/FAQ.IntelHD.cn.md
    • By AbhilashSathe
      I'm currently using AppleALC inside /EFI/Clover/Kexts.
      Sound works fine through Laptop speakers. However, as soon as I connect my earphones, i start getting a continuous buzzing sound. Can anyone help me with this?

      config.plist
      SSDTS_DSDT.zip

       
      rough 
    • By monw3d
      hey everybody
       
      as title said lilu causing very long boot 5-6 mins on SSD
      my EFI is up to date and set properly, only usb3 not working looking for kext
       
      OS 10.14.5
      my mobo p61a-d3 with i5 2400
      when -liluoff is used bood time is under 30 seconds
       
      i have tried lilu 1.2.6 to 1.3.3 same results
       
      how can i get lilu bootlog?
      i dont know how to solve this problem
       
      edit - usb3 fixed and working
    • By noisegate
      Hi,
       
      I use AppleALC v1.3.5, I can see the device in system info but no sound. Any idea?
       
      Thanks!
       
×