jalavoui Posted Wednesday at 01:03 PM Share Posted Wednesday at 01:03 PM i just found out that anything wrong related with kexts in /L/E will cause a igpu hang at boot i was messing with them and due to not loading the igpu hanged at boot Link to comment Share on other sites More sharing options...
ASUS Vivobook Posted Wednesday at 07:32 PM Author Share Posted Wednesday at 07:32 PM Can't have *.panic logs.. my system isn't working properly.. tryed to downgrade to ventura but same problem.. still need a lot of work.. Link to comment Share on other sites More sharing options...
ASUS Vivobook Posted Wednesday at 08:23 PM Author Share Posted Wednesday at 08:23 PM (edited) I don't think i've native nvram setupped correctly... Edited Wednesday at 08:36 PM by ASUS Vivobook Link to comment Share on other sites More sharing options...
jalavoui Posted Thursday at 02:24 AM Share Posted Thursday at 02:24 AM (edited) nvram emulation is for old systems u dont need that. it is something else u might be using old nblue or kexts versions. check other thread as i update it a lot Edited Thursday at 02:26 AM by jalavoui 1 Link to comment Share on other sites More sharing options...
ASUS Vivobook Posted Thursday at 05:49 PM Author Share Posted Thursday at 05:49 PM (edited) 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 Thursday at 07:01 PM by ASUS Vivobook Link to comment Share on other sites More sharing options...
benmacfreak Posted Thursday at 10:03 PM Share Posted Thursday at 10:03 PM 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. Link to comment Share on other sites More sharing options...
jalavoui Posted Thursday at 10:53 PM Share Posted Thursday at 10:53 PM (edited) so many questions. but this is the right place to help you. start by uploading oc config and ioreg so we can check what is loading on your system asus i think you miss delete some vars here. (check my config or the 1 i send to ben) Edited Friday at 12:26 PM by jalavoui 1 Link to comment Share on other sites More sharing options...
benmacfreak Posted Thursday at 11:42 PM Share Posted Thursday at 11:42 PM (edited) 56 minutes ago, jalavoui said: so many questions. but this is the right place to help you. start by uploading oc config and ioreg so we can check what is loading on your system ok here's my oc config plist and my IOreg file config.plist bennji’s MacBook Pro.ioreg and a link to my full EFI https://download1503.mediafire.com/fxjvfhg84xkg_Ln6dftTS904XILAm6qG3JW34MYT4FMOs1e_d6QUASeBtLYw3JKr3wmzxzG0n0VcZwye3-wqAAo5iaNIvcLR2ogPTH0z0VLwed5lLHJSD91HEWeUSiO4OXyMmzBBpTWEH8oLNDtXE06crg0dEAvqH48Ov5X_ZaHAgw/xtbn5d2o4xvk1ox/EFI-OC-Ben-ASUS-TGL.zip Edited Thursday at 11:49 PM by benmacfreak Link to comment Share on other sites More sharing options...
jalavoui Posted Friday at 02:46 AM Share Posted Friday at 02:46 AM (edited) nice you can boot. get macial and attach dsdt.aml you just need small fixs and soon can try igpu hope you can read this thread and do the fixing youself. you and asus and kinda on same hardware try start with this config based on yours. check you have the match OpenCore Configurator for your opencore version or you will get oc errors at boot. i'm using this old version but you can try with a more recent OC. just open this config and save using your OpenCore Configurator - test this on a usb pen - open this config use OpenCore Configurator and save it. check for errors or it won't boot - check if this devices path are correct - add the .aml files to oc/acpi folder - if you get a boot screen try old nbue or wahtevergreen releases from other thread (for wg add back some properties for igpu) - if all good get xcode and try new nblue Arquivo.zip Edited Friday at 12:23 PM by jalavoui Link to comment Share on other sites More sharing options...
ArtikDiamond Posted Friday at 06:13 PM Share Posted Friday at 06:13 PM On 10/27/2024 at 4:24 PM, jalavoui said: wlc ben you're in the right thread Me too I guess? Link to comment Share on other sites More sharing options...
jalavoui Posted Friday at 07:06 PM Share Posted Friday at 07:06 PM better ask asus Link to comment Share on other sites More sharing options...
ASUS Vivobook Posted Friday at 09:55 PM Author Share Posted Friday at 09:55 PM (edited) in oc verbose i got this strange message.. this is the cause why my nvram doesn't give me a sip disabled 00:398 00:011 OCVAR: Setting NVRAM 7C436110-AB2A-4BBB-A880-FE41995C9F82:csr-active-config - ignored, exists can't reset because sip is in unknown state... and if I modify car-active-config it doesn't came modified because of this verb. Not showing anything .. can't see picker selection menu either in dos way or Syrah.. but it boots fortunately directly in macOS APFS partition 05:820 00:009 OCB: Adding custom entry CleanNvram.efi (tool|B:0) -> CleanNvram.efi 05:828 00:008 OCB: Registering entry CleanNvram.efi [Auto] (T:128|F:0|G:0|E:0|B:0) - <nil> 05:837 00:009 OCB: Adding custom entry OpenShell.efi (tool|B:0) -> OpenShell.efi 05:846 00:008 OCB: Registering entry OpenShell.efi [OpenShell:UEFIShell:Shell] (T:128|F:0|G:0|E:0|B:0) - <nil> 05:855 00:009 BEP: Reset NVRAM entry, preserve boot 0, apple 0 05:865 00:009 OCB: Adding custom entry Reset NVRAM (action|B:1) -> <null string> 05:875 00:009 OCB: Registering entry Reset NVRAM [ResetNVRAM:NVRAMTool] (T:256|F:0|G:0|E:0|B:1) - <nil> 05:883 00:008 OCB: Showing menu... 05:892 00:009 OCHK: InitHotKeys 05:901 00:008 OCKM: Allocated key repeat context 274A6218 274A6298 2748AE18 05:910 00:009 OCAE: Set screen resolution to 2560x1600 - Success 05:919 00:008 OCTY: Registered handler 05:928 00:009 OCAE: Set screen resolution to 2560x1600 - Success 05:937 00:008 OCUI: Console attributes: 0 05:946 00:009 OCUI: UseDiskLabel: 0, UseGenericLabel: 0 05:956 00:009 OCB: Get volume icon for Windows <null string> - Not Found 05:966 00:010 OCUI: Using flavour icon, custom: 0 05:975 00:008 OCUI: Console attributes: 0 05:984 00:009 OCUI: UseDiskLabel: 0, UseGenericLabel: 0 05:993 00:008 OCB: Get volume icon for MacOSX D6F62EB5-0852-4CD3-A22B-DC9D3DCA8C73\ - Not Found 06:002 00:009 OCUI: Using flavour icon, custom: 0 06:011 00:008 OCUI: Console attributes: 0 06:020 00:009 OCUI: UseDiskLabel: 0, UseGenericLabel: 0 06:029 00:008 OCB: Get volume icon for Recovery 14.7.1 D6F62EB5-0852-4CD3-A22B-DC9D3DCA8C73\ - Not Found 06:038 00:009 OCUI: Using flavour icon, custom: 0 06:046 00:008 OCUI: Console attributes: 0 06:056 00:009 OCUI: UseDiskLabel: 0, UseGenericLabel: 0 06:066 00:009 OCUI: Console attributes: 0 06:075 00:009 OCUI: UseDiskLabel: 0, UseGenericLabel: 0 06:084 00:008 OCUI: Using flavour icon, custom: 0 06:093 00:009 OCUI: Console attributes: 0 06:102 00:008 OCUI: UseDiskLabel: 0, UseGenericLabel: 0 06:111 00:009 OCUI: Using flavour icon, custom: 0 11:137 05:025 OCHK: FreeHotKeys 11:148 00:011 OCTY: Unregistered handler 11:159 00:010 OCKM: Freeing key repeat context 274A6218 274A6298 2748AE18 11:167 00:008 OCB: Should boot from 2. MacOSX (T:2|F:0|G:0|E:0|DEF:0) 11:177 00:009 OCB: Saved mode 0/0/0 - Success 11:185 00:008 OCB: Perform boot MacOSX opencore-2024-11-01-233752.txt Edited Saturday at 12:59 PM by ASUS Vivobook Link to comment Share on other sites More sharing options...
jalavoui Posted Friday at 11:33 PM Share Posted Friday at 11:33 PM (edited) you need to delete the vars you create in nvram this is your config - check agains mine fix it and do clear nvram with console tool csr unknow msg is fine for 0xFFFFFFFF do you have opencore configurator for this OpenCore DBG-102-2024-10-08 ?? otherwise you can get config errors idk if you really need lilucpu=17 slide=0 idk if you need this resetnvram as driver. maybe use console tool? no SSDT-OSYS.aml enabled OMFG!! review all i think you miss others this is invalid - check my config Edited Friday at 11:43 PM by jalavoui 1 Link to comment Share on other sites More sharing options...
ASUS Vivobook Posted Friday at 11:44 PM Author Share Posted Friday at 11:44 PM (edited) 2 hours ago, jalavoui said: you need to delete the vars you create in nvram this is your config - check agains mine fix it and do clear nvram with console tool csr unknow msg is fine for 0xFFFFFFFF do you have opencore configurator for this OpenCore DBG-102-2024-10-08 ?? otherwise you can get config errors idk if you really need lilucpu=17 slide=0 Can't have access to console tool because oc picker is not showing... and I can't undestand why... I think I must insert acpi disable gpu.aml P.S. I need lilucpu=17 because it sets my cpu gen to raptor lake gen... I see in weg source code that 17 represent my gen.. because exploring weg in detail I saw that my cpu is set to gen 0 or unknown and modified forked weg doesn't work Edited Saturday at 02:27 AM by ASUS Vivobook Link to comment Share on other sites More sharing options...
jalavoui Posted Saturday at 12:36 AM Share Posted Saturday at 12:36 AM access to console tool because oc picker is not showing. it's some config flag not shure which. check in my config ok for lilucpu then Link to comment Share on other sites More sharing options...
ASUS Vivobook Posted Saturday at 01:00 AM Author Share Posted Saturday at 01:00 AM (edited) Just added this to NVRAM settings Delete 7C436110-AB2A-4BBB-A880-FE41995C9F82 csr-active-config and it worked!! Now I've got SIP disabled... finally!! P.S. with secure bootmodel set to default my system won't boot Now, I can go to the night club happy Edited Saturday at 08:31 AM by ASUS Vivobook Link to comment Share on other sites More sharing options...
jalavoui Posted Saturday at 01:11 AM Share Posted Saturday at 01:11 AM check you have reset tool display at boot logo so you can reset nvram Link to comment Share on other sites More sharing options...
ASUS Vivobook Posted Saturday at 02:19 AM Author Share Posted Saturday at 02:19 AM Uefi -> output -> provideconsolegop set to false resolved my problems!! 1 Link to comment Share on other sites More sharing options...
ASUS Vivobook Posted Saturday at 09:00 AM Author Share Posted Saturday at 09:00 AM (edited) Got it !!! It is strange how can someone be happy to have a kernel panic! XD Kernel-2024-11-02-095354.panic I think i've found the exact point : in 0x3ed (i think line 1005 of com.apple.driver.AppleIntelICLGraphics binary) and after in 0x51 (i think line 81 of WhateverGreen binary) 0xffffff7f94e37e8b com.apple.driver.AppleIntelICLGraphics : __ZN16IntelAccelerator10getGPUInfoEv + 0x3ed 0xfffffff4130a3b20 : 0xffffff800586d4c1 as.vit9696.WhateverGreen : __ZN4IGFX10getGPUInfoEPv + 0x51 0xfffffff4130a3b80 : 0xffffff7f94e37a71 com.apple.driver.AppleIntelICLGraphics : __ZN16IntelAccelerator15configureDeviceEP11IOPCIDevice + 0x31 0xfffffff4130a3ba0 : 0xffffff7f954e4e3d com.apple.iokit.IOAcceleratorFamily2 : __ZN22IOGraphicsAccelerator25startEP9IOService + 0x2d5 And voilà.. it is the commit that lshBluesky did to bypass ICL SKU kp which generates a kp to me (https://github.com/lshbluesky/WhateverGreen/commit/54257ca01f9475c163e1693a981b7968474d8d09) KernelPatcher::RouteRequest request("__ZN16IntelAccelerator10getGPUInfoEv", getGPUInfo, ogetGPUInfo); patcher.routeMultiple(index, &request, 1, address, size); Him talking about it at page 6 : Edited Saturday at 11:05 AM by ASUS Vivobook 1 Link to comment Share on other sites More sharing options...
ASUS Vivobook Posted Saturday at 11:23 AM Author Share Posted Saturday at 11:23 AM (edited) Just a try : by commenting these two lines in wet source code KernelPatcher::RouteRequest request("__ZN16IntelAccelerator10getGPUInfoEv", getGPUInfo, ogetGPUInfo); patcher.routeMultiple(index, &request, 1, address, size); and adding -igfxdvmt to boot args result is the same, kp always 0x3ed problem 0xffffff7f94e37e8b com.apple.driver.AppleIntelICLGraphics : __ZN16IntelAccelerator10getGPUInfoEv + 0x3ed Kernel-2024-11-02-121950.panic Edited Saturday at 11:40 AM by ASUS Vivobook Link to comment Share on other sites More sharing options...
ASUS Vivobook Posted Saturday at 11:58 AM Author Share Posted Saturday at 11:58 AM (edited) Can't find kext extract tool.. and.. the kext inside /System/Library/Extensions if I look manually has no binary file inside.. [EDIT] Found here : Edited Saturday at 12:24 PM by ASUS Vivobook Link to comment Share on other sites More sharing options...
jalavoui Posted Saturday at 12:07 PM Share Posted Saturday at 12:07 PM (edited) nice. give me a sec i've added gen7icl back to nblue info.plist (was disabled cause i went focus on tgl) the iclgraph patches start here mostly ventura patches. note that the patches have a syslog_cond. so if they fail to apply you won't be noticed better change to panic_cond after changing them. why? cause if the patch fails to apply you get a nice kp warn msg as for kext extract go check decompkernelcache on or load /System/Library/KernelCollections/SystemKernelExtensions.kc on ida pro (takes long time) you can copy nblue patches to wg if you want let's say this patch is for ventura if you're on sonoma just check the function Intelaccelerator::init and try guess the bytes offset Edited Saturday at 12:28 PM by jalavoui Link to comment Share on other sites More sharing options...
ASUS Vivobook Posted Saturday at 12:28 PM Author Share Posted Saturday at 12:28 PM (edited) $ sudo ./decompkernelcache /System/Library/Extensions/AppleIntelICLGraphics.kext -kexts ERROR: Read too few bytes from file /System/Library/Extensions/AppleIntelICLGraphics.kext, 96 bytes wanted but 0 bytes read! Edited Saturday at 12:28 PM by ASUS Vivobook Link to comment Share on other sites More sharing options...
jalavoui Posted Saturday at 12:31 PM Share Posted Saturday at 12:31 PM (edited) u miss the destination folder. note the "x" its a folder that will be created usage: ./decompkernelcache /System/Library/KernelCollections/SystemKernelExtensions.kc x -kexts i think you dont need sudo cause then you get root permissions on files error if this doesnt work for the os x version you have u might need to check with xcode decompkernelcache src code. btw now that you finally have a working system do you wanna publish it so others can copy your configs, etc? oh w8 better when you have working trackpad,etc then publish it this are from ventura. i just used the tool to extract. you can check then for nblue patched bytes dam this are latest ventura and i'm using an old ventura release. i'mi not sure if nblue bytes will match Arquivo.zip a good idea is install kdk depends on os x version and sometimes as usefull kexts inside. but care cause those kexts dont have the same bytes as the ones from /S/L/E theyre good to read the code cause all offsets are fixed and they load fine on ghidra,etc i think youi should focus on framebuffer 1st cause linux shows you have a display family 13 and also an edp connector Edited Saturday at 01:12 PM by jalavoui 1 Link to comment Share on other sites More sharing options...
ASUS Vivobook Posted Saturday at 01:22 PM Author Share Posted Saturday at 01:22 PM (edited) Thanks!!! decompkernelcache is working now Edited Saturday at 02:37 PM by ASUS Vivobook Link to comment Share on other sites More sharing options...
Recommended Posts