Jump to content

Lilu — kext and process patcher


vit9696
395 posts in this topic

Recommended Posts

[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에서 보냄

Link to comment
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.

  • Like 1
Link to comment
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

Link to comment
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
Link to comment
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
  • Like 2
Link to comment
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
  • Like 2
Link to comment
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
  • Like 1
Link to comment
Share on other sites

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

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...
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?

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...

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
 

Link to comment
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? 

Link to comment
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
Link to comment
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.

Link to comment
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? 

Link to comment
Share on other sites

×
×
  • Create New...