Jump to content
Duran Keeley

[AMD] Yosemite Kernel Testing (for help use the Help Topic)

1,947 posts in this topic

Recommended Posts

 ....kernel invalid opcode 64 bit .....

 

1.)

It is always better to install the new kernel on a freshly installed version (clean Install without changes to the system drivers !! ). You must now reconstruct what changes you made before or after the update in the S/L/Extensions folder. make the changes undone! fix the permissions, renew the kernel cache.

 

2.)

should you not know what system drivers you have exchanged or changed, that would not be good! Then you need to replace S/L/Extensions with the current "Extensions" folder from the current Yosemite version! (***1) Then you have to reparier the permessions and renew the kernel cache!

 

Edit:

Install all drivers for your hardware and FakeSMC, Nullpower etc. in Extra/Extensions/
Boats with the addition: UsekernelCache=No

 

(***1)

Open the DMG with the DiskImageMounter or Disk Utility, or Pacifist, a pkg file can open with Pacifist.app and then export the complete Extensions folder, and thus exchange the Extensions folder in your partition. I hope that this description will help you to resolve your problem.

Share this post


Link to post
Share on other sites
Advertisement

@Gils,  which may be possible in his case, but I am not sure what he has made changes Previously, I gave him a description in order to make a limit any Possible errors. Basically, he must be remembered what he has changed before.

 

Edit:

But such questions belong to the help toppic.

Share this post


Link to post
Share on other sites

:)

 

the problem is that members confuse many things and created problems that do not exist now knowing that the update 10.10.5 asked many problems, members have mixed everything without knowing what changed.

I recommend reinstalling the combo via 10.10.5 pacifist and proper tree resume his rights, then just replace the kernel and reboot with -f simply.
 
 

post-1093405-0-45157200-1442749476_thumb.png

post-1093405-0-68772600-1442749504_thumb.png

Share this post


Link to post
Share on other sites

:)

 

no problem with Phenom x4 B55 ;)

 

sound works good , no crackle , no desynchro with voodooPstate enable ;)

 

and many thanks Bronya for file "boot" :) 

 

http://www.sendbox.fr/3f393d2ae7ff5b2b/small.zip

Last login: Sun Sep 20 14:30:58 on console
Mac-Pro-de-gils:~ gils$ uname -a
Darwin Mac-Pro-de-gils 14.5.0 Darwin Kernel Version 14.5.0: Thu Sep 17 21:09:40 ICT 2015; rootrootroot:xnu-2782.40.9/BUILD/obj/RELEASE_X86_64 x86_64
Mac-Pro-de-gils:~ gils$ sysctl machdep
machdep.user_idle_level: 0
machdep.cpu.max_basic: 5
machdep.cpu.max_ext: 2147483675
machdep.cpu.vendor: AuthenticAMD
machdep.cpu.brand_string: AMD Phenom(tm) II X4 B55 Processor
machdep.cpu.family: 16
machdep.cpu.model: 4
machdep.cpu.extmodel: 0
machdep.cpu.extfamily: 1
machdep.cpu.stepping: 3
machdep.cpu.feature_bits: 36064020440808447
machdep.cpu.extfeature_bits: 61572378786815
machdep.cpu.signature: 1052483
machdep.cpu.brand: 0
machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH MMX FXSR SSE SSE2 HTT SSE3 MON CX16 POPCNT
machdep.cpu.extfeatures: SYSCALL 1GBPAGE EM64T LAHF LZCNT PREFETCHW RDTSCP TSCI
machdep.cpu.logical_per_package: 4
machdep.cpu.cores_per_package: 4
machdep.cpu.microcode_version: 21
machdep.cpu.processor_flag: 1
machdep.cpu.mwait.linesize_min: 64
machdep.cpu.mwait.linesize_max: 64
machdep.cpu.mwait.extensions: 3
machdep.cpu.mwait.sub_Cstates: 0
machdep.cpu.cache.linesize: 64
machdep.cpu.cache.L2_associativity: 16
machdep.cpu.cache.size: 512
machdep.cpu.tlb.inst.small: 32
machdep.cpu.tlb.inst.large: 16
machdep.cpu.tlb.data.small: 48
machdep.cpu.tlb.data.small_level1: 512
machdep.cpu.tlb.data.large: 48
machdep.cpu.tlb.data.large_level1: 128
machdep.cpu.address_bits.physical: 48
machdep.cpu.address_bits.virtual: 48
machdep.cpu.core_count: 4
machdep.cpu.thread_count: 4
machdep.vectors.timer: 221
machdep.vectors.IPI: 222
machdep.pmap.hashwalks: 253818
machdep.pmap.hashcnts: 477535
machdep.pmap.hashmax: 30
machdep.pmap.kernel_text_ps: 2097152
machdep.pmap.kern_pv_reserve: 4000
machdep.memmap.Conventional: 4292390912
machdep.memmap.RuntimeServices: 0
machdep.memmap.ACPIReclaim: 53248
machdep.memmap.ACPINVS: 12288
machdep.memmap.PalCode: 0
machdep.memmap.Reserved: 290521088
machdep.memmap.Unusable: 0
machdep.memmap.Other: 0
machdep.tsc.frequency: 3214187560
machdep.tsc.deep_idle_rebase: 1
machdep.tsc.nanotime.tsc_base: 120325472800
machdep.tsc.nanotime.ns_base: 0
machdep.tsc.nanotime.scale: 1336252852
machdep.tsc.nanotime.shift: 0
machdep.tsc.nanotime.generation: 2
machdep.misc.panic_restart_timeout: 1266874889
machdep.misc.interrupt_latency_max: 0x1 0xde 0x1259af
machdep.misc.machine_check_panic: 
machdep.misc.timer_queue_trace: 
machdep.misc.nmis: 0
machdep.eager_timer_evaluations: 79
machdep.eager_timer_evaluation_max: 414126
Mac-Pro-de-gils:~ gils$ sysctl kern
kern.ostype: Darwin
kern.osrelease: 14.5.0
kern.osrevision: 199506
kern.version: Darwin Kernel Version 14.5.0: Thu Sep 17 21:09:40 ICT 2015; rootrootroot:xnu-2782.40.9/BUILD/obj/RELEASE_X86_64
kern.maxvnodes: 66560
kern.maxproc: 1064
kern.maxfiles: 12288
kern.argmax: 262144
kern.securelevel: 0
kern.hostname: Mac-Pro-de-gils
kern.hostid: 0
kern.clockrate: { hz = 100, tick = 10000, tickadj = 22, profhz = 100, stathz = 100 }
kern.posix1version: 200112
kern.ngroups: 16
kern.job_control: 1
kern.saved_ids: 1
kern.boottime: { sec = 1442752182, usec = 0 } Sun Sep 20 14:29:42 2015
kern.nisdomainname: 
kern.maxfilesperproc: 10240
kern.maxprocperuid: 709
kern.ipc.maxsockbuf: 4194304
kern.ipc.sockbuf_waste_factor: 8
kern.ipc.somaxconn: 128
kern.ipc.nmbclusters: 32768
kern.ipc.soqlimitcompat: 1
kern.ipc.mleak_sample_factor: 500
kern.ipc.mb_normalized: 0
kern.ipc.mb_watchdog: 0
kern.ipc.mb_drain_force: 0
kern.ipc.mb_drain_maxint: 0
kern.ipc.socket_debug: 0
kern.ipc.sosendminchain: 16384
kern.ipc.sorecvmincopy: 16384
kern.ipc.sosendjcl: 1
kern.ipc.sosendjcl_ignore_capab: 0
kern.ipc.sosendbigcl_ignore_capab: 0
kern.ipc.sodefunctlog: 0
kern.ipc.sothrottlelog: 0
kern.ipc.sorestrictrecv: 1
kern.ipc.sorestrictsend: 1
kern.ipc.sotcdb: 1
kern.ipc.njcl: 10920
kern.ipc.njclbytes: 16384
kern.ipc.soqlencomp: 0
kern.ipc.io_policy.throttled: 0
kern.ipc.io_policy.log: 0
kern.ipc.io_policy.uuid: 1
kern.usrstack: 1433247744
kern.netboot: 0
kern.sysv.shmmax: 4194304
kern.sysv.shmmin: 1
kern.sysv.shmmni: 32
kern.sysv.shmseg: 8
kern.sysv.shmall: 1024
kern.sysv.semmni: 87381
kern.sysv.semmns: 87381
kern.sysv.semmnu: 87381
kern.sysv.semmsl: 87381
kern.sysv.semume: 10
kern.aiomax: 90
kern.aioprocmax: 16
kern.aiothreads: 4
kern.corefile: /cores/core.%P
kern.coredump: 1
kern.sugid_coredump: 0
kern.delayterm: 0
kern.shreg_private: 0
kern.posix.sem.max: 10000
kern.usrstack64: 140734626635776
kern.nx: 0
kern.tfp.policy: 2
kern.procname: 
kern.speculative_reads_disabled: 0
kern.osversion: 14F27
kern.safeboot: 0
kern.lctx.last: 1
kern.lctx.count: 0
kern.lctx.max: 8192
kern.rage_vnode: 0
kern.tty.ptmx_max: 127
kern.threadname: 
kern.sleeptime: { sec = 0, usec = 0 } Thu Jan  1 01:00:00 1970
kern.waketime: { sec = 0, usec = 0 } Thu Jan  1 01:00:00 1970
kern.willshutdown: 0
kern.progressmeterenable: 0
kern.progressmeter: 0
kern.wakereason: 
kern.hibernatefile: 
kern.bootsignature: 
kern.hibernatemode: 0
kern.hibernategraphicsready: 0
kern.hibernatewakenotification: 0
kern.hibernatelockscreenready: 0
kern.hibernatehidready: 0
kern.wq_yielded_threshold: 2000
kern.wq_yielded_window_usecs: 30000
kern.wq_stalled_window_usecs: 200
kern.wq_reduce_pool_window_usecs: 5000000
kern.wq_max_timer_interval_usecs: 50000
kern.wq_max_threads: 512
kern.wq_max_constrained_threads: 64
kern.pthread_debug_tracing: 0
kern.dtrace.err_verbose: 0
kern.dtrace.buffer_memory_maxsize: 1431655765
kern.dtrace.buffer_memory_inuse: 0
kern.dtrace.difo_maxsize: 262144
kern.dtrace.dof_maxsize: 393216
kern.dtrace.global_maxsize: 16384
kern.dtrace.provide_private_probes: 0
kern.nbuf: 16384
kern.maxnbuf: 16384
kern.jnl_trim_flush: 240
kern.flush_cache_on_write: 0
kern.ds_supgroups_supported: 1
kern.sugid_scripts: 0
kern.zleak.active: 0
kern.zleak.max_zonemap_size: 1610612736
kern.zleak.global_threshold: 805306368
kern.zleak.zone_threshold: 100663296
kern.uuid: D7BFF2EB-DE16-35DF-A8B6-2FCDA64BC830
kern.bootargs: fsb=200 Mhz npci=0x2000 dart=0 -v
kern.num_files: 1556
kern.num_vnodes: 51583
kern.num_tasks: 2048
kern.num_threads: 10240
kern.num_taskthreads: 2048
kern.namecache_disabled: 0
kern.ignore_is_ssd: 0
kern.preheat_max_bytes: 1048576
kern.preheat_min_bytes: 32768
kern.speculative_prefetch_max: 201326592
kern.speculative_prefetch_max_iosize: 524288
kern.vm_page_free_target: 4000
kern.vm_page_free_min: 3500
kern.vm_page_free_reserved: 800
kern.vm_page_speculative_percentage: 5
kern.vm_page_speculative_q_age_ms: 500
kern.vm_max_delayed_work_limit: 32
kern.vm_max_batch: 256
kern.bootsessionuuid: C2468D37-B2EC-41F3-B6F4-0876F26B260F
kern.timer.coalescing_enabled: 1
kern.timer.deadline_tracking_bin_1: 2000000
kern.timer.deadline_tracking_bin_2: 5000000
kern.timer.longterm.threshold: 1000
kern.timer.longterm.qlen: 39
kern.singleuser: 0
kern.affinity_sets_enabled: 1
kern.affinity_sets_mapping: 1
kern.slide: 0
kern.ipc_voucher_trace_contents: 0
kern.stack_size: 16384
kern.stack_depth_max: 8744
kern.ipc_portbt: 0
kern.sched: multiq
kern.timer_coalesce_bg_scale: -5
kern.timer_resort_threshold_ns: 50000000
kern.timer_coalesce_bg_ns_max: 100000000
kern.timer_coalesce_kt_scale: 3
kern.timer_coalesce_kt_ns_max: 1000000
kern.timer_coalesce_fp_scale: 3
kern.timer_coalesce_fp_ns_max: 1000000
kern.timer_coalesce_ts_scale: 3
kern.timer_coalesce_ts_ns_max: 1000000
kern.timer_coalesce_tier0_scale: 3
kern.timer_coalesce_tier0_ns_max: 1000000
kern.timer_coalesce_tier1_scale: 2
kern.timer_coalesce_tier1_ns_max: 5000000
kern.timer_coalesce_tier2_scale: 1
kern.timer_coalesce_tier2_ns_max: 20000000
kern.timer_coalesce_tier3_scale: -2
kern.timer_coalesce_tier3_ns_max: 75000000
kern.timer_coalesce_tier4_scale: -15
kern.timer_coalesce_tier4_ns_max: 10000000000
kern.timer_coalesce_tier5_scale: -15
kern.timer_coalesce_tier5_ns_max: 10000000000
kern.hv_support: 0
kern.memorystatus_purge_on_warning: 2
kern.memorystatus_purge_on_urgent: 5
kern.memorystatus_purge_on_critical: 8
kern.msgbuf: 16384
kern.secure_kernel: 0
kern.interrupt_timer_coalescing_enabled: 1
kern.timer_coalesce_idle_entry_hard_deadline_max: 5000000
Mac-Pro-de-gils:~ gils$ 

Archive.zip

file boot.zip

Edited by gils83

Share this post


Link to post
Share on other sites

After update  via App Store get black screen when try to boot. I've tried both kernels, no luck...

try with: nvda_drv=1 or nv_disable=1

this bootflag was for Lion, to resolve the problem of the black screen.: darkwake=0

I do not know if that will work for Yosemite?

Edited by spakk

Share this post


Link to post
Share on other sites

try with: nvda_drv=1 or nv_disable=1

Didn't work.( I've using official mac driver so it's useless..

 

this bootflag was for Lion, to resolve the problem of the black screen.: darkwake=0

I do not know if that will work for Yosemite?

Same result. I think I will do a clean install of mac os x and then report here.) Edited by ImmortalSoulL

Share this post


Link to post
Share on other sites

black screen or reboot ? 

 

and GraphicsEnabler=No -f 

You're right, I was so blind! It was clover fault! When I've installed my mac, even then I couldn't boot, there was that black screen and then reboot! But then I've booted succesfully with chameleon, installed voodoohda, repair permissions and rebuild cache. And then I was able to boot into system with clover bootloader with my usual settings... Strange why clover couldn't boot for the first time after update or after clean installed mac. But now I have clean mac, I even have it working without patched pthread.kext, only original! Thank you guys for another good kernel! It's awesome!

post-1484325-0-34106100-1442777084_thumb.png

Share this post


Link to post
Share on other sites

You're right, I was so blind! It was clover fault! When I've installed my mac, even then I couldn't boot, there was that black screen and then reboot! But then I've booted succesfully with chameleon, installed voodoohda, repair permissions and rebuild cache. And then I was able to boot into system with clover bootloader with my usual settings... Strange why clover couldn't boot for the first time after update or after clean installed mac. But now I have clean mac, I even have it working without patched pthread.kext, only original! Thank you guys for another good kernel! It's awesome!

 

I had the same exact problem when trying to boot 10.10.5 vanilla fresh install :D

 

Clover didn't boot at all and even when it could, it ended up with black screen (old Nvidia GT 8600 btw use now AMD Radeon HD 5450 because of conflicts between integrated nForce Geforce chipset and discrete card). The only solution was to first boot with boot-flags -f (and GE=Yes in my case GE=No with patched AMD kexts) to let the system rebuild the cache and load all necessary kexts. I guess this has something to do with the way how Clover manage kernelcache vs Chameleon booting directly on the kernel :unsure:.

 

After that, Clover was able to boot and inject it's own kexts from CLOVER/kexts/10.10.

 

Now, it's not perfect since I'm still facing weird issues where the system boots but doesn't load the whole UI. I have mixed results using Clover or Chameleon but at the moment, it's still very hazardous and I can't figure why…

 

But one thing is for sure, this new kernel 10.10.5 works terrific with vanilla OS X 10.10.5 (at least on AMD systems which is kinda ironic for Intel's unsupported CPUs :P) and I want to thank all of you for this !

 

Guys, you rock as usual :thumbsup_anim:  !

 

 

 

 

AMD.png

 

 

 

Share this post


Link to post
Share on other sites

:)

 

you should know that with Clover, it is impossible to start without kernelCache, I tried all kinds of flag unsuccessful when the kernel change requires restart with Chameleon -f (ignore cache), once the cache rebuilt with kext wizard, it is then possible to restart with Clover ;) 

Share this post


Link to post
Share on other sites

:)

 

you should know that with Clover, it is impossible to start without kernelCache, I tried all kinds of flag unsuccessful when the kernel change requires restart with Chameleon -f (ignore cache), once the cache rebuilt with kext wizard, it is then possible to restart with Clover ;)

 

Correct !

 

Please be kind with me :queen: .

 

This is my very first attempt to use Clover as the main bootloader on an AMD system :P. My old one was a fu****g HP with a bios that remind me the 90's era :hysterical: !

Share this post


Link to post
Share on other sites

If you would told me that earlier, my old mac would be still live... :D

p.s. in my opinion clover is the best bootloader, but I like chameleon too... They are actually both good bootloaders I think...

Share this post


Link to post
Share on other sites

Correct !

 

Please be kind with me :queen: .

 

This is my very first attempt to use Clover as the main bootloader on an AMD system :P. My old one was a fu****g HP with a bios that remind me the 90's era :hysterical: !

 

:)

 

ne crois pas , peu de personne le savent et ils croient avoir loupé leur mise à jour , je n'ai jamais réussi à trouver le bon flag pour démarrer sans le cache kernel avec Clover , j'avais posé la question à Slice je n'a eu aucune réponse , la différence avec Intel ssse3 , tu n'as pas besoin de remplacer le kernel , le plus simple pour ceux qui utilisent Clover sur AMD64/Pentium64 est de garder un Chameleon à jour sur clef usb pour finaliser la mise à jour . 

cela dit , Chameleon fonctionne mieux que Clover sur AMD ;) 

 

do not believe few people know it and they think they have missed their updates, I never managed to find the right flag to start without the kernel hides with Clover, I asked the question I Slice n 'was no response, the difference with Intel SSSE3, you do not need to replace the kernel, the easiest way for those using Clover on AMD64 / Pentium64 Chameleon is to keep up to date on uSB key to finalize the update .

that said, Chameleon works better than Clover AMD

Share this post


Link to post
Share on other sites

Guyz, im using y2k4u kernel of 10.10.5 on chameleon..its working good but whenever im trying it on clover, it gives me a kernel panic as "system uptime in nanoseconds"

Share this post


Link to post
Share on other sites

Guyz, im using y2k4u kernel of 10.10.5 on chameleon..its working good but whenever im trying it on clover, it gives me a kernel panic as "system uptime in nanoseconds"

Please use for your concern the Help toppic. A kernel panic has many causes. To help, we need a picture of the kernel panic. A description in words is not enough.

Share this post


Link to post
Share on other sites

Please use for your concern the Help toppic. A kernel panic has many causes. To help, we need a picture of the kernel panic. A description in words is not enough.

spakk is there anything I can do to show the right frequency in cpu-x and also how to speedup the osx 10.10.5?

 

im using y2k4u kernel of 10.10.5

 

thanks in advance!

Share this post


Link to post
Share on other sites

spakk is there anything I can do to show the right frequency in cpu-x and also how to speedup the osx 10.10.5?

 

im using y2k4u kernel of 10.10.5

 

thanks in advance!

use my last kernel, the CPU frequency is thus displayed correctly. I have not checked the kernel of y2k4u in detail.

 

Edit:

 

see above #Post 1702, in the picture you can see that the CPU-X displayed the correct CPU frequency.

Share this post


Link to post
Share on other sites

sorry to ask you this but I couldnt find from google, maybe I am not looking the right place, 

 

what should I write clover config.plist to use patched kernel at boot?

and where should I put the kernel file?

Share this post


Link to post
Share on other sites

sorry to ask you this but I couldnt find from google, maybe I am not looking the right place, 

 

what should I write clover config.plist to use patched kernel at boot?

and where should I put the kernel file?

 

See here ;).

Share this post


Link to post
Share on other sites

Thank you for your kernel. Installed Mac OS X on the Phenom, Athlon without SSSE3. OS X: 10.10.5. All working. Thanks again!


I apologize for my English, because I live in Belarus, and then the main language is Russian.

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 Arman Hossain
      HI 
      I want install High Sierra  on my pc . my CPU is : AMD Ryzen 3 2200g and my MotherBoard is : ASUS EX A320m. and 8gb ram DDR4 ram . i dont have any external gripch card. i have seen some video on youtube how to install High Sierra but they use extranal gripch card to make it good  but i don't have any extranal gripch card . on my windows sysem the shared gpu is 2GB which is using my ram to crate the vega gripch  . i want know is it possible to install High Sierra on my pc with out any extarnal gripsh card  ?


    • By MatthewBayard
      Current Build ( just purchased the RX 580 )
       
      CPU Intel Core i7-3770K 3.5GHz Quad-Core Processor       CPU Cooler Corsair H100i 77.0 CFM Liquid CPU Cooler     Motherboard Gigabyte GA-Z87X-UD7 TH       Memory 4x 8gb     (Corsair CML16GX3M2A1600C10 Vengeance Low Profile   16GB (2x8GB) DDR3 1600 Mhz CL10 XMP Performance Desktop Memory Kit Black)       Case Fractal Design   Define R4 (Black Pearl)       Power Supply Corsair HX750       HDD SATA 6Gb / s 256GB SSD         Wifi TP-LINK TL-WDN4800 N900 Wireless PCI Express Adapter       Graphics Card MSI RADEON RX 580 ARMOR MK2 8G OC Graphic Card      
       
      The installation has failed a dozen times after creating a bootable USB via the instructions outlined at serval different places:
      https://www.tonymacx86.com/threads/[url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url]-install-macos-mojave-on-any-supported-intel-based-pc.259381/   
      https://hackintosher.com/forums/thread/mojave-flummoxed-with-ga-z97x-ud7.1338/
      https://hackintosher.com/guides/guide-to-fresh-installing-macos-mojave-on-a-hackintosh-10-14/
       
       
      I have used UniBest to create my builds in the past and they have mostly been successful. I tried the other methods as a last resort. I have not gotten past the Apple boot screen with any method attempting to install Mojave. 
       
       

       
       
       
      I have followed all the guides I can in order to get a successful install. However, it has been hard to get a definitive guide to solve my issues.
       
       
      Could somebody please help me with the correct [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] settings. Ie UEFI Boot Mode or Legacy Boot Mode? 
      Recommended BIOS Settings for my system. 
       
       
      It might also just be the required Clover boot screen setup / flags 
       
       
       
      I also have no clue which [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] configurations are required for me to build.
       
       
       
      Any help at all will be most appreciated.
       
       
      I can post any more information regarding errors and crashes if required.       
       
       
       
       
       
    • By shinho73
      Can someone help me fix reboot issue? Actually it reboots, but sometimes the hackintosh just hangs with screen off. Here is the Extra folder containing org.chameleon.boot.plist. https://drive.google.com/drive/folders/1MX8-DpQk9kaRUfjPcToxf-ElWh-bN6EY?usp=sharing  and the spec of the PC. https://drive.google.com/drive/folders/1NlcUNK5DBzJFxeFeuyt92eRjQqwO5T32?usp=sharing Can someone look at it? I might be doing something wrong. Any help will be greatly appreciated. Thank you. 

    • By fusion71au
      This is a brief guide on how to create a vanilla El Capitan (also same process for Sierra) OS X Installer USB with an updated prelinked kernel containing FakeSMC.

      It is tailored for those users who want to understand the “nuts and bolts” of how to create an installer and also to help brush up on their terminal skills (rather than have one made for them with the numerous automated “tools” available or even Apple’s createinstallmedia) :
       
       
      Specifically, it is also a “Proof of Concept” which shows that installation is possible without even having to rely on boot loader kext injection.

      Prerequisites
      Existing Yosemite installation (or Mavericks - see post#4 for steps 7,8) “Install OS X El Capitan.app" downloaded to the Applications folder Pacifist FakeSMC.kext - Slice or Kozlek branch Bootloader - Clover or Chameleon 8GB or larger USB drive (16GB recommended), formatted HFS+ (MBR or GUID) named “Installer”  
      Procedure
      1.  Boot into Yosemite with the kext-dev-mode=1 boot flag
      2.  Open OS X terminal and type the following lines, followed by <Enter> after each line.
          The image restore and file copying may take a while to complete, and at the end of the process, the Installer volume is renamed to “OS X Base System"....
       
      sudo -s hdiutil attach /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/SharedSupport/InstallESD.dmg asr restore -source /Volumes/OS\ X\ Install\ ESD/BaseSystem.dmg  -target /Volumes/Installer -erase -format HFS+ -noprompt -noverify rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages cp -av /Volumes/OS\ X\ Install\ ESD/Packages /Volumes/OS\ X\ Base\ System/System/Installation cp -av /Volumes/OS\ X\ Install\ ESD/BaseSystem.dmg /Volumes/OS\ X\ Install\ ESD/BaseSystem.chunklist /Volumes/OS\ X\ Base\ System diskutil unmount /Volumes/OS\ X\ Install\ ESD exit 3.  Right click on the “OS X Base System” Volume and click “Get Info”
       

      4.  Click on the lock icon and untick “Ignore ownership on this volume”
       

      5.  Extract/Copy the El Capitan Kernels folder into /System/Library/ of the USB with Pacifist.  NB It is found in the "Essentials.pkg" in /System/Installation/Packages
       

      6.  Delete or Rename the original /System/Library/PrelinkedKernels/prelinkedkernel —> OG.prelinkedkernel
       

      7.  Copy FakeSMC.kext and other necessary kexts (e.g. VoodooPS2Controller.kext for laptops) into the /Library/Extensions folder of the installer USB using Finder.
       

      8.  Back in terminal, type the following lines, followed by <Enter> after each line to rebuild the prelinkedkernel…..
       
      sudo -s chmod -R 755 /Volumes/OS\ X\ Base\ System/Library/Extensions chown -R 0:0 /Volumes/OS\ X\ Base\ System/Library/Extensions touch /Volumes/OS\ X\ Base\ System/System/Library/Extensions kextcache -u /Volumes/OS\ X\ Base\ System exit Any errors should be noted but the output below is normal e.g.


      9. Install your Bootloader targeting the OS X Base System volume
       
       
       
       
      10.  Boot your system with the USB without injected kexts into the OS X Installer GUI....
       
       
       
       
       
      Post Install
      The original prelinked kernel in a fresh install of El Capitan will also lack FakeSMC ie it will only be linked to Apple signed kexts.  In order to boot into El Capitan the first time around without boot loader kext injection, the PLK needs to be rebuilt for the El Capitan volume like we did for the installer:
       
      1.  Boot into Yosemite with the kext-dev-mode=1 boot flag
      2.  Delete or Rename the original /System/Library/PrelinkedKernels/prelinkedkernel for the El Capitan volume —> OG.prelinkedkernel
      3.  Copy FakeSMC.kext and other necessary kexts (e.g. VoodooPS2Controller.kext for laptops) into the /Library/Extensions folder of El Capitan using Finder
      4.  Back in terminal, type the following lines, followed by <Enter> after each line to rebuild the prelinkedkernel.  In this example, the El Capitan volume is named "El_Capitan" - change if you have named it something else...
      sudo -s chmod -R 755 /Volumes/El_Capitan/Library/Extensions chown -R 0:0 /Volumes/El_Capitan/Library/Extensions touch /Volumes/El_Capitan/System/Library/Extensions kextcache -u /Volumes/El_Capitan exit 5. Install your Bootloader targeting the El Capitan volume.  This step is only necessary if you are installing El Capitan on a new drive without existing boot loader (not required if installing on a disk with existing boot loader beside Yosemite).
      6. Reboot your system without injected kexts into El Capitan!
       
       
      Other links
      The All-In-One Guide to Vanilla OS X for beginners
       
      Updates for Sierra and High Sierra   Custom Prelinkedkernel Generator Tool I have made a custom prelinkedkernel generator "PLK.tool" for Sierra + El Capitan.  Instructions:   1.  Download and extract the attached BaseSystem_PLK.tool.zip into your ~/Downloads folder.   2.  Copy any extra kexts necessary for booting your hack to ~/Downloads/BaseSystem/ExtraKexts (e.g. FakeSMC, VoodooPS2Controller), making sure SIP is disabled. 3.  Copy BaseSystem.dmg to ~/Downloads/BaseSystem  4.  Open terminal and run the following commands... cd ~/Downloads/BaseSystem chmod +x PLK.tool ./PLK.tool ---> supply your admin password ---> will place your new custom prelinkedkernel on the desktop.       macOS High Sierra bypass Firmware and MBR checks in post#13.
      BaseSystem_PLK.tool_ElCap.zip
      BaseSystem_PLK.tool_Sierra.zip
      BaseSystem_PLK.tool_Mojave.zip (need to run in Mojave to avoid dependency errors)
      BaseSystem_PLK.tool_Catalina.zip
×