Chosen Solution
Two days ago I wanted to continue with my video project on my MacBook Pro. I opened it (I don’t shut it down) and it was off. I thought maybe the battery was dead and I didn’t charge it. So, when I put my MacBook in the charger and click the on button it went on for 5 sec and then turned off. I pushed the button again and now I could login I looked at the battery it was still 80% so I thought that’s odd. Then when I logged in it shuts off again. I’ve tried for several times to turn it back on sometimes it didn’t even turn on and sometimes it turns on and then it shuts off again after seconds. I went to a computer store but they didn’t know what was going on the guy said that he couldn’t find anything weird in my MacBook (software) yes of course when the guy looked at it it worked. Until it suddenly shuts down and I was like: ‘Yes that’s the problem!’ But he had no clue. All he said was: ‘send it back to apple’ So another thing: I’m traveling and need my MacBook for my work (I’m a colorist and work in the film industry) I need it everyday. Maybe something important: last June I Accidentally closed my MacBook with the charger between so my display broke. I replaced it, cost me lots of money, and then after 2 months it was loose (I haven’t fixed it yet, been more than one month now) I can move my display up and down for at least 1cm. I can also detach the black bar underneath the display from the display, think this used to be glued together. I don’t know if this might be the problem from the MacBook shutting down randomly. Ps. Sometimes my MacBook doesn’t shut off completely and the fans start making extreme noises. It’s like my MacBook is frozen. Mid 2015 with Retina display 2,5 years oldUsed dailyMacOS Sierra UPDATE: I’ve turned it on again and clicked the D that brought me to some sort of check. It said: nothing is wrong. Now it just restarts randomly. It’s better but still not 100%
The problem should be solved once you turn off buggy Thunderbolt LAN Ethernet driver. Here are the steps:
- reboot with CMD+R pressed.
- open Terminal
- sudo csrutil disable
- reboot in normal mode
- sudo mv /System/Library/Extensions/AppleThunderboltNHI.kext /System/Library/Extensions/AppleThunderboltNHI.kext.BAK
- reboot with CMD+R pressed
- csrutil enable
- reboot and forget about problem Solution has been taken from one of the forums. That’s personally helped me with my mid14 macbook pro Retina 15 UPD: How did I find this I have the same issue with random “silent” shutdowns. Mac randomly turned off with the screen on, fans started to work at max level. Few repair services tried to diagnose the problem but unsuccessfully. All the times diagnostics showed “all is ok, maybe battery”. I have replaced the battery but issue was still there. In the 4th repair service engineer found out the issue with voltage: with some random load on computer voltage on motherboard was going down from 12V to 11,5, 11.2 or even 10V and after this macbook was crashing. The only possible solution as I was said by the service is to replace the motherboard. However, macbook was working perfectly when I connected external monitor. I have started to search through the forums and finally found people with the same problems and solution was found here: https://forums.macrumors.com/threads/hel… Good luck guys. I wish you could save your macbooks too! P.S. Another possible solution is to use the python script which you could also find by the link at the top. If I understand properly, it generates some specific load which keeps voltage at normal level. However script slightly affects on performance and battery life without plug.
I had this issue on a mid 2014, 15” MacbookPro (11,2), under OS X 10.11, 12 and 13.
Both renaming the kernel extension and running the python script worked.
However, just inactivating the service also worked for me.
In the Network control panel, select the thunderbolt bridge connection(s) and make the service(s) inactive from the options drop-down menu, at the bottom of the frame.
Whenever you need a wired connection through thunderbolt, activate the service and do your work (running the python script at these times to avoid crashes). When done, inactivate again.
BTW if you boot to recovery partition (CMD+R), renaming AppleThunderboltNHI.kext does not require inactivation of the system integrity protection through csrutil or issuing commands as sudo (since you run as root). I you just need to navigate (with the cd’ command) to your main HD extensions folder (usually /Volumes/Macintosh\ HD/System/Library/Extensions/) and rename (with the mv’ command) AppleThunderboltNHI.kext . If you can boot your mac from another partition, internal or external, you can do that through the Finder.
BEWARE! Driver fix will not be applicable with Catalina. When you install Catalina, It partitions the disk into 2 and save the OS on a Read Only partition. You can’t change driver to .bak. I will try disabling or removing Thunderbolt on Network and let you guys know.
MacBook Pro 15 - Retina - 2014 MID - CATALINA OSX
- Reboot with CMD + R
- Open terminal In Utilities
- csrutil disable
- Reboot in normal mode
- Terminal: cd /System/Library/Extensions
- In order to turn off read-only in Catalina in / catalog run in terminal: sudo mount -uw /
- Open this catalog in finder /System/Library/Extensions
- Find file AppleThunderboltNHI.kext and right click Get Info than click Sharing & Permission
- Instead of read-only change to read & write
- In terminal: mv AppleThunderboltNHI.kext AppleThunderboltNHI.kext.BAK
- After that Instead of read & write change to read-only
- Reboot with cmd+R
- csrutil enable
- Reboot in normal mode and forget about the problem :)
Let’s take a very hard look at that battery, There are known issues on your machine with it. https://www.macrumors.com/2017/10/13/app… Please download, install, run and post your findings. Coconut Battery http://www.coconut-flavour.com/coconutba…
Random Shutdown Fix You can prevent the random shutdown by connecting any device to the Thunderbolt port. Don’t have one, then do the following: Boot to recovery:
- Click on Apple logo at the top left of the screen.
- Select Restart.
- Immediately hold down the Command and R keys until you see an Apple logo or spinning globe. You will see the spinning globe if the Mac is trying to start macOS Recovery via the internet because it is unable to start from the built-in recovery system. Open Terminal :
- Type csrutil disable and press return.
- Reboot
- Open terminal
- go to /System/Library/Extensions
- sudo su
- enter the user pwd
- type “mv AppleThunderboltNHI.kext AppleThunderboltNHI.kext.BAK”
- Reboot to recovery
- Open the terminal
Ok Guys So Here’s the FIX with BIG SUR I did few modifications with whatever was available on internet to solve this problem Step 6 & 7 are few modifications which I did. Here it goes
Reboot in recovery mode (CMD+R) Utilities -> Terminalcsrutil disablecsrutil authenticated-root disablemount - uw /Volumes/Macos (Enter WHATEVER YOUR MACOS DRIVE NAME IS, my macOS drive name is Macos)cd /Volumes/Macos (Enter WHATEVER YOUR MACOS DRIVE NAME IS, my macOS drive name is Macos)/System/Library/Extensionsrm -rf AppleThunderboltNHI.kextrm -rf /System/Library/Caches/*Kmutil install -u –force –volume-root /Volumes/Macos (Enter WHATEVER YOUR MACOS DRIVE NAME IS, my macOS drive name is Macos)/System/Library/Extensionsbless -folder /Volumes/Macos(Enter WHATEVER YOUR MACOS DRIVE NAME IS, my macOS drive name is Macos)/System/Library/CoreServices —bootefi –create-snapshot FORGET THE PROBLEM :-D You’ll need to perform these steps every time you update Big sur with their security updates n all. No need to enable SIP Have a good life :-)
This article lists some possible fixes. There is also a lot of discussion about what the problem was, possible solutions, attempted solutions, etc in this thread: MBP turns off Randomly Without Warning. You might find other options in there if nothing in the first link works. Good luck!
Guys! I’ve replaced the AppleThunderboltNHI.kext with one from El Capitan (it’s version is 4.0.4), and now my MBP15 late 13 stopped shutting down. https://drive.google.com/open?id=1gDWF65… — here is the link. Hope it’ll help you too!
Okay ladies and gentlemen after 4 months of testing I have isolated the issue. Updated to Mojave problem still persistedRemoved Thunderbolt port in Network Preferences problem still persistedReset PRAM problem still persistedReset SMC problem still persistedTook my MBP to the genius bar, all hardware passed diagnostics problem still persistedTook my MBP to mac specialist, said it was a software issue or logic board issue. roll back OS to previous state problem still persisted.Rolled back to previous state problem still persistedRolled back to Mavericks original factory OS problem still persisted 3 things that could be wrong after this troubleshooting: CPU Core voltage is causing the random shutdowniGPU is bad (requires logic board replacement)Logic board needs to be replaced Before throwing in the towel to replace the logic board I attempted to try to code the python script posted by Anders Wiggers myself with no success as I ‘ not a coder and spent 3 hours wrecking my brain. so I decided to use the Mac-Mods software for $10 and ran the software which creates a gear spinning on the bar and voila the laptop no longer randomly shuts down! Updated to Mojave and just an FYI the gear is no longer in the bar but the laptop does not randomly shut down. The problem is CPU core voltage related which is corrected by the python script or the Mac-Mods software for $10. if this does not work it is most likely a logic board issue. Good Luck
Hi. Guess I get to join the party. My late 2013 MBP 15 has been shutting down. Using High Sierra. I tried a lot of the suggested fixes I could find online with no success. It would run ok and not crash if I had my audio hardware plugged into thunderbolt. If I unplugged, it would crash in a matter of minutes. I turned off the Thunderbolt /Ethernet ports in Sys Pref, and that seemed to work for a while. But, instead of entering sleep mode, it would shut down. Thought it was working enough to bring it to work (where I dont have a TB device) and it shut down within minutes of turning it on. UGH! Currently, I have the TB/Ethernet ports set back to “using DHCP”, but I decided to shut off my wifi (I’m currently typing on my work PC). My Mac is currently not shutting down, until I turned the wifi back on, then it shuts off in minutes. So, no TB plugged in and wifi OFF and machine acting stable. I’m curious if anyone else has had things stabilize by turning off wifi. And further, what this means for me and my MBP. Thanks
For whatever reason putting my flash drive in the USB slot fixes the problem. o.0 I havn’t tried the wifi thing yet, but that sounds interesting.
I do not think the issue resides with the battery at all. Apple products are know to do stupid $@$* to “protect " their devices. Sometimes your computer does stupid things from the humidity being a little to high for this delicate expensive device and trips a fuse. That being said a fuse in your motherboard could be fried and it keeps get tripped and it shuts down your computer. So this might need a full replacement of the mother board but I do not know for sure. Get a reliable repair person to check if this the case. This repair might cost half as much of the computer so I think it might be in your best interest to buy a new computer if this is the case. This repair could be very cheap though if the person just needs to replace the fuse and nothing else.
Any updates on whether this problem was fixed in Mojave or not? i guess not… seems they have forgotten about us
there might be a lot of reasons for that. It might be due to physical power cord or motherboard or power supply. Better to visit and consult some local support shop. If you want to figure out this on your own, then you have to diagnose the problem, you will have to try different things. You have to try to Reset your MacBook (follow this decent article on the internet for that https://www.experthoot.com/how-to-reset-…) You have to try to pull out and pull in the battery(yes you will have to open your MacBook)
Hi everyone. Im running Mojave on my MacBook Pro 13” Mid 2014. Im still having random shutdowns, even though that I have tried all the following solutions: NoCrashMBP (RealMacMods) as well as another 3 level no crash python script, from a German Mac/computer specialist workshop. Pythonscript from Anders Wigger Moving the AppleThunderboltNHI.kext file I have even put in a new fan with new thermal paste on. I’m now using Macs Fan Control as I noticed that the fan ran at 1399rpm as a default, and It didn’t increase in speed when I did CPU heavy tasks. I now simply have no clue, to what my next step should be to resolve this quite annoying issue. I’ve tried to get a crash report, when it shuts down, but as far as I am concerned I can’t get any or find the location of it. Does any of you have any experiences to share regarding my situation?
Hi All, I have the same problem on a MacBook Pro 15’’. I used a thunderbold cable for patching back to back the 2 thunderbold ports on the mac . This is working fine as well.
this solution is not working with Catalina 10.15.6 update, any other solution, please?
Hello, for all the people who have this problem, replacing the motherboard for 600€ solved this issue
guys I have a huge FIX TO THIS AND TRUST ME IT WORKS BETTER THAN I THOUGHT. IF YOU HAVE NO USE FOR A THUNDERBOLT PORT LIKE ME, YOU CAN ACTUALLY DELETE THE THUNDERBOLT .KEXT FILES IN FINDER. FOLLOW THE STEPS PROVIDED BY OTHER PEOPLE ABOVE AND REDIRECT TO THE EXTENSIONS FOLDER AND DELETE ALL THUNDERBOLT FILES. THIS MADE SURE THAT MY MAC NEVER CRASHED AND FOR ME IT WORKED PERFECTLY
I have had trouble in the past when updating the OS and the machine hanging and then shutting down. When it first happened I thought that the machine was finally done. But plugging in devices, particularly a Thunderbolt cable to an external hard drive (though I think I may have also used regular USB for other external drives on other occasions) kept the machine from going through it’s random shutdown and got me through to being able to use NoCrashMBP. As you may have read people use HDMI cables plugged in and have had good experience. Don’t know if this will help you. I finally gave up on the renaming, just too painful now with Big Sur and just use NoCrashMBP and pay the price in shorter battery life. This has been a very painful exercise for a few years now for me. It’s hard to believe Apple has never acknowledged the problem or provided a real solution.