Jump to content
496 posts in this topic

Recommended Posts

sometime i dont get logs on 1st boot. do some reboots and check with hacintool kernel log

try wg and nblue (download it again from other thread as i set default frame to system icl so dont need /L/E kexts)

Edited by jalavoui

hey all, hate to post this here, but i got my laptop to load with nblue but the trackpad and acceleration isn't working nor is sound output. it sees the sound output device but nothing plays it's quiet and nothing's muted, i need help.. and i dont know or remember the commands to obtain logs sorry. and i have the same issue with the weg fork.

Edited by benmacfreak

wlc ben you're in the right thread

 

asus do you wanna change this thread name to include RaptorLake ?

cause i think others might wanna join and make the driver work for RaptorLake cards

Edited by jalavoui
  • Like 1

well jala do you have any suggestions for my tigerlake asus pls man? as i said i got all working except igpu, audio (where i tried audio ID 38 and 66 no output but it does see devices) and trackpad so i have to use a usb mouse. i did try your binaries of voodooi2c no fix even IF i use ishbluesky's suggested device/vendorids and i did check via linux and windows i have the tigerlake H ID. and my iGPU is intel UHD iris xe, 0x9a688086.

Edited by benmacfreak

But panic could be not the better solution.. I should put a delay between message and panic..

 

[SOLVED]

uint32_t delay = 20000;
IOSleep(delay);
Edited by ASUS Vivobook

this is  a sample from asus dsdt.aml - the OSYS variable is patched using SSDT-OSYS.aml

if this is not set to a good value then os x might fail for some devices

on my system a low OSYS value won't allow touchpad tobe detected and work

so this is always important. howto check ? check in dsdt.aml and try some values

 

image.png.98afe24c2a73e8e95ba6a522498421ba.png

 

i guess there's no easy way to fix os x setup - it's a process of trial and error

 

btw asus does the Change GPRW, to XPRW patch + SSDT-GPRW.aml works for you ?

Edited by jalavoui
31 minutes ago, jalavoui said:

this is  a sample from asus dsdt.aml - the OSYS variable is patched using SSDT-OSYS.aml

if this is not set to a good value then os x might fail for some devices

on my system a low OSYS value won't allow touchpad tobe detected and work

so this is always important. howto check ? check in dsdt.aml and try some values

 

image.png.98afe24c2a73e8e95ba6a522498421ba.png

 

i guess there's no easy way to fix os x setup - it's a process of trial and error

from my dsdt or asus's dsdt? i can grab ssdt time and  post my dsdt? 

[WEG-FORKED] I'm near the spoof.. got this kernel panic with weg forked by me (according to lshbluesky changes)

 

Boot args in photo

IMG_20241028_002139595_HDR.jpg

 

configsku.plist

Edited by ASUS Vivobook

[SOLVED] I can finally have logs.. I had my SIP in status "unknown" ... everything seemed disabled but... not everything at all....

Now i put car-active-config to <6F020000> and it's finally set to disabled!!! I think that i can have log about kernel panic too now.. finally...

 

Boot-args : -v keepsyms=1 debug=0x100 IGLogLevel=8 lilucpu=17 -wegdbg -liludbg liludump=60

 

[EDIT] The panic logs are not reported on system directories ...

Edited by ASUS Vivobook
  • Like 1

idk if you wanna load kexts from /S/L/E but

 

if you're not in ventura you migth enconter a problem with symbols not found

starting with sonoma some functions symbols might need a mask find pattern (check NootedRed github code)

 

on nblue you have this panic cond - so if the symbol can't be found you get a kpimage.png.13dc347f43c81f4a09df3d6ea3deaf3f.png

 

on wg none of this happens and if the symbol is not found you get no error. then the wg code does nothing or just crash

 

your best option here is use /L/E kexts cause theyre from the dtk image and all symbols already in nblue code.

 

so in doubt just use panic_cond tobe sure the code is doing what you want

[WEG forked] kernel panic triggered by system iokit libraries in /System/Library/Extensions like IOGraphicsFamily.kext, IOSurface.kext, IOAcceleratorFamily.kext, IOPCIFamily.kext, and com.apple.driver.AppleIntelICLGraphics..

 

[NBLUE, with *LE Drivers] I'm suspicious that the kext is doing is job and kernel panics are triggered by library extensions.. not internally the kext..

 

------------------------

 

Problems : can't have kernel panic logs print in system.. and both weg and nblue don't print in system if a kernel panic occurs.. can't catch anything like this way

 

Conclusions : Kernel panics are triggered externally from the two kexts.. i can't isolate the problem like this way...

Edited by ASUS Vivobook

le2 are same kexts but with function renamed. goal is load from /L/E and use other class functions (kind like in NRed). don't use them

 

kp wont print in syslog

when a kp happens you get a mac os x msg on next reboot. also a panic log file is created on /Library/Logs/DiagnosticReports

if this is not happening them you have some crazy setup preventing this (boot flags maybe)

image.png.0497885eacd75b5fc920009761ee825e.png

 

here's a sample

Kernel-2024-10-27-203801.panic

 

from the kp panic u them can see last calls. in this case the crash + line was in diagnosisrep at line 0x4b

 

image.png.782b6f244bc2b5e0de56065155ffc6a8.png

 

next u load the binary kext in ghidra and check where it crashed. maybe u need my kext extract tool from other thread if using /S/L/E kexts

image.thumb.png.228f6905653b80aa34bb5846e172645f.png

 

so to create a patch u can change for instance bytes a8 70 74 4f to 90 90 eb 4f (change JZ to JMP)

in order to use the patch create a long byte chain so it won't match anywere in the binary

so find= a8 70 74 4f 49 8b 3f 48 85 ff 74 47 41 8b 36 48 83 fe 02

rep =      90 90 eb 4f 49 8b 3f 48 85 ff 74 47 41 8b 36 48 83 fe 02

this is just a sample but it's the logic of a patch

 

anyway 1st step is find exactly where the driver crashed - them do someting about it

Edited by jalavoui
  • Like 1

I've paired my confs like the confs you indicated me, except only these two params

 

-----------------------------

Kernel -> quirks

ProvideCurrentCpuInfo - true (if false my system doesn't boot)

------------------------------

Miax -> security

Securebootmodel - Disabled (if Default my system doesn't boot)

------------------------------

 

Now i can install with native NVRAM [Canceled OpenVariableRuntimeDxe.efi (which emulated NVRAM) from drivers]

Finally hope can have panic reports!!!

 

[EDIT] I got newly car-active-config set to unknown and I can't modify it.. wtf

Edited by ASUS Vivobook
On 10/27/2024 at 3:24 PM, jalavoui said:

always from yours. you can then check some things from what we post here

ok so i got progress (somewhat) no audio, no trackpad, or acceleration. I checked my DSDT voodooi2c is loaded but idk what my device name is or how to find it. I tried the tigerlake 43e8 geni2c app says it's not in my DSDT, so i dont know what to do. I know my audio is realtek alc256 according to windows device manager, and my igpu is 9a68 8086 beyond that im dumbfound jala, sorry.

×
×
  • Create New...