Jump to content


  • Content count

  • Joined

  • Last visited

About BugsB

  • Rank
    InsanelyMac Legend

Contact Methods

  • Website URL

Profile Information

  • Gender
  • Location
    Kauai, Hawai'i

Recent Profile Visitors

14,481 profile views
  1. SleepOnLowBattery (“SOLB”) by BugsB, based on a script by Toggi3 * + more code snippets from the www IMPORTANT NOTICE: I am in exam mode right now, "squeezed this in" and likely don't have time to reply or even read all comments until early mid December, so it won't help to PM me - I'll have to ignore. From my side this utility is as it is for now. If anybody with scripting skills knows improvements, just go ahead and provide them below. Thank you for your understanding. For those of us whose HackBook/ MacBook does not go to into power saving mode automatically on very low battery but just powers down coldly: “SOLB”, a small and low load footprint AppleScript based utility that checks the battery level every 2 minutes. You can choose between two versions, either with or without sound. Both display a notification in the top right of your screen. Between ≤10 and >8% battery charge: Between ≤8 and >5% battery charge: On ≤ 5% battery charge you will see a 10 seconds countdown dialog box in 1 second intervals: which you can cancel, or have your your *ac*Book be sent to sleep when down to 0. The version with sound uses the pleasant macOS US female voice Allison. If the lady is not installed, you can download "her" via System Preferences, Accessibility, Speech (pane tab should get opened by the install script), click onto the two arrows to the right of System Voice, Customize, English (Unites States) -- Female, activate Allison, OK (macOS downloads voices to /System/Library/Speech/Voices - Allison consumes 120 MB). If you want to see/ see and listen first, disconnect your Mac from its power supply and double click the “run Demo” file in either folder, with or without sound. The launcher is installed per user, so one user can use the script with and another user the script without sound. Run your desired install.command, with or without sound. The script should be active right away without restart. Regarding the sound version, you can also: - download any other English voice of your liking and edit the name inside the script at the very top - download any language voice and translate the text inside the script Edit with with Apple Script Editor, save, install, reboot. Tested working in macOS High Sierra 10.13.6. Please feedback if this utility also works in Mojave. If you have ideas, experience bugs, etc., please contribute as precise, succinct, productive and friendly as possible. In case of a bug, always include your version of macOS for me or others to try and help. Thank you. ENJOY VERSION HISTORY: 2018-11-10: 1.0 (initial version) IDEAS TO IMPLEMENT IN FUTURE RELEASES: Have the sound version install script check if Allison is installed, and if not, offer to download and install it. Purely cosmetic: find a way to have the display notification in the top right of the screen not display the Script Editor icon but the one of the utility without turning the utility into an app but by maintaining a script to keep the load footprint low. This is currently neither possible with an Apple Script nor with an Apple Script Bundle file, only with the script compiled into an app. One possibility might be a Perl approach, if someone volunteers. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * Thanks to Toggi3 for the base script @ https://hints.macworld.com/article.php?story=20110219013713667 SleepOnLowBattery (SOLB) by BugsB v.1.0 (2018-11-10).zip
  2. Hello tluck. Thanks for maintaining this package. I was lead here through your Broadcom PatchRAM driver package with changes of the timings to support USB BT on the Lenovo T460. For me (and also others across the hackintosh forums), your kexts solved the glitch of no Bluetooth after wake from sleep after two or more wake-ups on battery with stock RehabMan kexts (for me most current v.2.2.10, 2018-05-06). I am running a swapped Lenovo FRU 04X6020 BCM94352Z NGFF M.2 in my Asus Vivobook Laptop. The kexts on your releases page are very old (v1.4.1, 2015-02-08), so I compiled your latest 2.2.7c code from 2018-04-09 myself, and the resulting release built BrcmFirmwareRepo.kext and BrcmPatchRAM2.kext work just fine. I bet you are fully aware that they are based on old code - RehabMan 2.2.7 2016-07-05, thus compatibility will most likely become an issue sooner or later. A few questions and requests to you, if I may: 1. Have you tried to apply your timing changes to RehabMan's latest code from 2018-05-06? If so, did it result in the desired effects, or not? 2. Can you update your releases page with the latest working kext binaries, either 2.2.7c or 2.2.10, if you have compiled them and you have tested them to be working? 3. Can you document your modifications, best on github? Which file(s) did you modify, and with which modifications (find/ replace with, single or all occurrences)? Just 6 IOSleep value changes and 1 IOSleep addition in BrcmPatchRAM.cpp, or anything else? With fork mod info on github, others can potentially carry on your work (it's always sad when knowledge dissipates into the nothingness of time) Would be great to hear from you (I hope you are reading this). Cheers, Bugs
  3. BugsB

    Shutdown on low battery

    Very cool. Is any of the sleep or hibernate scripts still known to work in macOS High Sierra 10.13.6? /Applications/Utilities/deepsleep ; exit; dyld: lazy symbol binding failed: Symbol not found: _IOPMCopyActivePowerProfiles Referenced from: /Applications/Utilities/deepsleep Expected in: /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit dyld: Symbol not found: _IOPMCopyActivePowerProfiles Referenced from: /Applications/Utilities/deepsleep Expected in: /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit Abort trap: 6 logout
  4. OK. Is that something you consider in an update? From what I understand, ever since Sierra (or maybe already before), /S/LE is reserved for Apple kexts, and 3rd party kexts are supposed to be installed to /L/E?
  5. @cvad: how do I change the default install path to /L/E instead /S/LE?
  6. Thank you cvad for your utility. Is there any reason you don't correct this right on the first page here? Seems like a 5 seconds edit ?
  7. BugsB

    Disk Utility (patched_v2)

    Is there any version with debug menu for High Sierra 10.13.5+?
  8. BugsB

    Disk Utility v13 for macOS Sierra.zip

    Is there a working version for 10.13.4+? Paragon substitute: do you mean Paragon Hard Disk Manager?
  9. Thanks, but is there a version for High Sierra, too, because this one does not work in 10.13.5.
  10. My Broadcom BCM94352Z M.2 NGFF 802.11AC 867Mbps BT4.0 Lenovo FRU 04X6020 Bluetooth only works in 10.13.5 with above mentioned RehabMan's kexts (BrcmFirmwareRepo.kext (S/L/E), BrcmPatchRAM2.kext (L/E) + USB and PCI-ID kexts) directly after booting Windows. After sleep and wake-up no BT devices are detected, and my Hackbook is not detectable on other devices, either. From Windows Device Manager: Broadcom Bluetooth 4.0 USB Location: Port_#0008.Hub_#0001 Device Instance Path: USB\VID_0489&PID_E07A\B01041F26194 Hardware-IDs: USB\VID_0489&PID_E07A&REV_0112 USB\VID_0489&PID_E07A Seems I need to create a custom SSDT..
  11. BugsB

    Missing signatures

    oh boy - if even Grandmaster Slice does not know how to do something in cyberspace, that's like doomsday, all hope lost ..
  12. BugsB

    Missing signatures

    interesting.. now it's there again. It wasn't when I went there right before I asked my question. I even tried a different browser and a different theme to make sure it's not a browser issue. So that was just a temporary forum glitch. Thanks RobertX!
  13. BugsB

    Missing signatures

    The old place where to edit my signature is gone since the update? Where is it now?