Jump to content

tluck

tluck

Member Since 27 Jan 2012
Offline Last Active Today, 09:09 AM
*****

#2387729 Lenovo ThinkPad T420 with UEFI Only

Posted by tluck on 20 March 2017 - 12:29 PM

While I was looking through the \T420-distribute\Utilities folder I noticed a universaltimefix.reg , which I do not see mentioned anywhere in this thread. Is this left over from creating the ZIP or something to that effect? ha looks like i forgot to make a note in the guide. I added this file universaltimefix.reg to adjust the windows time/date to be consistent with macOS. so if you dual boot windows, merge this into your windows registry and then the time/date will stay consistent between OS and BIOS clocks.

#2384960 [GUIDE] HWP(Intel Speed Shift) enable with full power management

Posted by tluck on 15 March 2017 - 04:51 PM

@xtddd it doesn't seem to make a difference - so you can leave Clover config.plist Generate/PStates or CStates/false.

#2382230 Clover General discussion

Posted by tluck on 10 March 2017 - 10:58 PM

@sherlocks there is no need to rerun the startup script after a logout.the LogoutHook definition persists until is deleted by a similar command

#2382011 Clover General discussion

Posted by tluck on 10 March 2017 - 07:29 PM

@sherlocks  if you installed nvram save script v1.16.1 by the installation script included the zip, then i believe you are launching the /etc/rc.shutdown.d/80*local script by LogoutHook - but not directly. The LogoutHook script is /Library/A S/Clover/CloverDaemon-stopservice - which runs then "shutdown scripts" in /etc/rc.shutdown.d i will try to explain rationale again:  I split the original CloverDaemon into 2 parts- to avoid trying to running the "shutdown scripts" during shutdown which is not reliable.- Changing the method to run these scripts by LogoutHook is reliable. CloverDaemon- runs all startup scripts /etc/rc.boot.d/- run by launchd, set by /Library/LaunchDaemons/com.projectosx.clover.daemon.plist CloverDaemon-stopservices - runs all shutdown scripts in /etc/rc.shutdown.d- run by LogoutHook, set by installation script

#2381652 Lenovo ThinkPad T420 with UEFI Only

Posted by tluck on 10 March 2017 - 04:07 AM

not having a T420s, i cant help you more. maybe its a USB3 thing? is there a port that is just usb2? or can you disable usb3? may the other T420s users can provide some advice. otherwise make a copy of your other hack's hardrive - sounded like you had another box running sierra.

#2381268 Clover General discussion

Posted by tluck on 09 March 2017 - 01:12 PM

@greatcornholio "nvram save" has been a topic of discussion debate and progress over the last month or so. btw, Clover 3974 is a bit old by the way! :)there is a new proposed script and method recently posted above (v.1.16.1) . but this new model is not yet incorporated into the Clover tree (or package installer). Note:1) saves NVRAM to ESP vs /2) uses LogoutHook vs shutdown3) needs some tools/scripts in /etc (rc.clover.lib, rc.shutdown.d) etc) So either way to your point, the old (your script) or new method does not handle the OS installer scenario very well. So yes, If there is extra stuff on the Installer - and if that somehow gets run, then the USB could provide the nvram.plist file on next boot presuming that is boot disk. perhaps you can expand on your idea to maintain variables from the install session ( are these really needed?)

#2380461 Clover General discussion

Posted by tluck on 08 March 2017 - 02:45 PM

@Slice http://www.insanelym...on#entry2379057 This rc script is no problem about known failure case and other issue(entire code is same before, tluck have optimized in latest code). I tested to find failure case and not work properly many times since find failure case. No more see failure case now. Hope update rc script in clover. Thanks @tluck @syscl @testers Thanks in advance. 나의 LG-F410S 의 Tapatalk에서 보냄 Note:the "LogoutHook method" needs more than just the rc.shutdown/80.save_nvram_plist.local updated in the Clover repo. CloverDaemon was split into 2 scripts and then the "Shutdown" part is the LogoutHook script.I suspect this could be easily implemented in the Clover installer with Emuvariable or  new Rc script option

#2380320 Lenovo ThinkPad T420 with UEFI Only

Posted by tluck on 08 March 2017 - 10:19 AM

@POWerSUrgeSW3 lots of good background.seems you are stuck on the installing Sierra on your T420s?on the USB installer in the ESP, did you replace the ACPI folder (for T420) with the ACPI.T420s folder?  you may want to add boot-arg -v to see what is the KP otherwise.

#2378906 Clover General discussion

Posted by tluck on 06 March 2017 - 01:49 AM

NVRAM save script zip v1.16.1 - final update for testing. - changed the logging to be more clean and list status of all disks scanned- better error checking for / , remove /nvram.plist when ESP found, no .metadata_never_index in / - fixes on syntax for mount points with spaces ----Install by using double clicking on the .command script or in the terminal"cd nvram-logouthook_v1.16.1sudo ./patch_nvram_save_scripts.commandthen a test run of the script would besudo /etc/rc.shutdown.d/80.save_nvram_plist.local Attached Files  nvram-logouthook_v1.16.1.zip 15.77KB 22 downloads

#2378006 Clover General discussion

Posted by tluck on 04 March 2017 - 03:27 PM

@Dajjal, the current nvram save method has some design flaws and/or execution issues  - meaning it can behave (fail) in ways you have described.  Specifically, running the 80.save_nvram_plist.fixed script via CloverDaemon during shutdown is not reliable. The LogoutHook method seems to work better in this situation. remove /.metadata_never_indexinstall the attached zip via the patch_nvram_save_scripts.command @Sherlocksthis script version has a check for /nvram.plist and will remove the file if there is an ESP.

#2377319 Clover General discussion

Posted by tluck on 03 March 2017 - 08:20 PM

@tluck i tested your rc script. it seems no failure case.i hope add remove nvram file in root if we have ESP. The code you added before did not work(maybe old rc script version when i request it).You can temporarily put the nvram file in the root and test whether the nvram file is deleted from the rc script. I will be constantly tested after it is reflected in official clover version and I will report later on whether there are any problems. thanks in advance @sherlocks- glad to hear the nvram save script as LogoutHook method is working for you.- The current script does not have a remove /nvram.plist feature.- The current script will only write /nvram.plist when an ESP is not located on the HDs (either not present or not mountable for some reason) - so I think you are asking for a new feature in the script to check and remove  /nvram.plist if an ESP is present. OK. - As far as "official clover"... it is left to the "Clover Dev Team" to decide how t...

#2372894 Clover General discussion

Posted by tluck on 24 February 2017 - 10:04 PM

@sherlocks (and others) - nvram save via logouthook only - here is a zip with a script to convert to the "dual script" CloverDaemon with LogoutHook.it is essentially using the same /etc/rc.shutdown.d script - but will be initiated by LogoutHook - unzip and run nvram_save_patch.command script- reboot    Attached Files  nvram-logouthook.zip 20.23KB 10 downloads

#2372751 Clover General discussion

Posted by tluck on 24 February 2017 - 05:43 PM

@sherlocks , philip_petev Good report. I also reported other issue. 1.5 still has issues. Spin wait and metadata never index can't help failure case in my case and your case. I will report it to syscl. Now, he is busy. Because he has exams. Thank you 나의 LG-F410S 의 Tapatalk에서 보냄 syscl and I had a brief chat about this issue and why there could be nvram.plist in / some times.  Note: we did not have a such an occurrence (file in /) However, the difference is likely because we are NOT running the nvram_script as part of the standard CloverDaemon shutdown process. we suspect this is the reason for random failure: why not? Running the nvram save script as a result of shutdown kill (in the standard CloverDaemon), is not going to be 100% reliable as there is a race to kill all processes and unmount all filesystems to shutdown gracefully. So sometimes it will work (mount ESP and complete the write) and every now and then it will not. A more reliabl...

#2372726 Lenovo ThinkPad T420 with UEFI Only

Posted by tluck on 24 February 2017 - 05:13 PM

In prep for 10.12.4 with brightness  changes, I updated the zip and added RehabMan's AppleBackLight Injector method. There is an Injector in the kext/Other folder which matches my LCD model 02e2 - which is an LG (or as it shows in the EDID 30e4e202) - I modified the script and Panel template to match the max of the SandyBridge framebuffer  and scales brightness in 17 steps from 0 to 4882 (0x1312).- This method (and kext) will replace the IntelBacklight.kext. Note: the real nice and smooth transitions are gone but we get a nice full range again. No additional DSDT patching was needed.  Please let me know if 1.49 modded bios is working. i don't really need it but it would be good to know that it is not risky.

#2371365 Lenovo ThinkPad T420 with UEFI Only

Posted by tluck on 22 February 2017 - 07:02 PM

well good news. there seems to be a brightness fix for 10.12.4 ... Turns out to be simple matter of each person creating the Injector to match your Panel to get full range. The brightness change is not as smooth on the transitions as with IntelBacklight.kext but there is a full brightness range. and no DSDT edits needed for me. i'll post a new zip with the script to create the injector later today.

© 2016 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy