I've changed my battery after this question:
Does battery condition have anything to do with macbook pro performance?
The performance has significantly increased, however I have a new problem.
My Macbook's Keyboard and Trackpad are not working at all.
Only the power button works. I've connected an external mouse and Apple keyboard via USB slots. They work just fine, the problem is it's not a laptop anymore.
This happened after I changed the battery and replaced it with an iFixIt battery while going over their tutorial. I did use Listerine instead of adhesive removal, because apparently shipping them is illegal in my country. Some comments said that's a good alternative, I'm not sure if this caused the issue or not.
After the keyboard and trackpad became unresponsive, I've read that the Touchpad Trackpad Ribbon Flex Cable is very sensitive and it easily gets damaged. I've ordered a new one and installed it, didn't help.
Right now I'm looking for more solutions on how to fix my device.
Mid 2015 MBP Retina
Best Answer
If before replacing battery, your Mac's keyboard & trackpad were working fine, then generally after replacing old battery, Mac MUST work fine, provided you've placed+inserted new battery correctly+completely, and you've made sure (old) keyboard & trackpad connectors are properly connected.
KB = Keyboard . TP = Trackpad (aka: Touchpad).
Mac = Macintosh = MacBook Pro/Air/etc.
Replacing hardware parts (especially the TP), again, seems to be the remaining last option for your case.
Just do this extra step: Once you attach the ribbon flex cable connector (of KB, TP or battery, etc) onto Mac board's socket, then fully INSERT & slide it in completely into the socket, then use the lock mechanism in the socket, and put a tape on it, (tape piece should cover the socket and bit more area around it, and some portion of the flex-cable as well.)
The reason I'm suggesting that, as I'm suspecting, this connection is not stable in your case, and some pins are disconnecting when you're re-assembling back, as your comment indicates that you later also obtained new keyboard & trackpad, (so problem is not inside the keyboard or trackpad itself).
Low-Quality and/or older-generation Lithium battery packs in Mac can degrade very quickly when HEAT or high-temperature is applied or around the Mac.
When battery swell-up it pushes/expands upward, few components that suffer from this, one of them is Trackpad (aka: Touchpad), etc.
Trackpad's touch sensor may have developed cracks or some circuit has disconnected partially, so replacing atleast Trackpad may be necessary.
Heat expands different type of materials at different rate, so electrical disconnect, etc can occur from this.
Your sentence is not clear enough what exactly you've ordered-for, is it just the "ribbon flex" cable-conector, Or new keaboard & trackpad ? i would guess that you've ordered new keyboard & new trackpad (which includes new ribbon-flex connector).
New ones should work, & you may need to reset SMC and reset NVRAM/PRAM, see below details.
If new ones (new battery, new keayboard, new trackpad) are correct item for your exact Mac model# and still not working, then my remaining deduction would be, that, your Mac board itself has disconnected/faulty circuits near the area where battery pack is.
KB = Keyboard . TP = Trackpad (aka: Touchpad).
Mac = Macintosh = MacBook Pro/Air/etc.
You may be already aware-of and already applied the solutions mentioned in this answer, but I'm including it anyway, so that other users with a similar problem can understand what options are there, and how to do it systematically.
When the keyboard and trackpad stops working, are unresponsive or partially not-working, then in problem(s) like this, Mac owners have to use USB based mouse and keyboard.
After attaching external, wired/hardware based USB Mouse, Mac owner MUST do these:
KB = Keyboard . TP = Trackpad (aka: Touchpad).
( Few unicode symbols from IEC : Power - ⏻ - | ⏽ . Toggle Power - ⏼ - ⏼ . Power On - ⏽ - ⏽ . Power Off - ⭘ - ⭘ . Sleep Mode - ⏾ - ⏾ )
TROUBLESHOOT:
After you've done ⚙ System Preferences configuration shown above, then take below troubleshoot steps (before getting/ordering hardware parts)
Unplug USB-mouse & KB, and check if internal KB & TP are working or not.
If internal KB & TP are working then NO need to follow any other steps, but if NOT-working then plug back in your USB-mouse & KB.
if your specific Mac model has no T2 chip, then press & hold all of those FOUR button altogether from beginning, & just use left-side ⇧ Shift button, instead of right-side.
Unplug external USB mouse & KB, & wait for around 5-seconds.
Turn ON Mac with ⏽ Power button.
Check, if internal KB & TP are working or not: if internal KB & TP are working then NO-need to follow next steps,
but if internal KB & TP are still not working, then plug back in your external USB-mouse & KB.
Check, if internal KB & TP are working or not, (if internal KB & TP working then NO-need to follow next steps), but if internal KB & TP are still not working then plug in your external USB mouse & KB back.
.plist = Property-List . cmd = Command .
KB = Keyboard . TP = Trackpad (aka: Touchpad).
FEW MORE TROUBLESHOOT OPTIONS:
Began to shutdown Mac and wait for around 60-seconds to complete shutdown. Then, wait around 15-seconds, and turn ON Mac with ⏽ Power button, and immediately after that Press & hold onto the ⇧ Shift button, until you reach login credential (username & password) entering screen, then release ⇧ Shift button.
(if you've disabled login into Mac to reach Mac Desktop mode quickly, then hold onto ⇧ Shift button for around 90-seconds after you see Mac desktop, then release ⇧ Shift button.)
In "Safe-Mode" you'll see the words ”Safe Boot” in top-right corner of screen.
Check if internal KB & TP are working or not, if working then (try to) find out which 3rd-party software's extension is causing this conflict that in normal-mode KB & TP stop working. (Follow the "REMOVE .plist FILES" step in below).
If internal KB & TP still did not work/response in "Safe mode", then this step indicated, problem is NOT related with any 3rd-party extensions or any (3rd-party) startup software,
So plug back in USB-mouse & KB, and Shutdown or "Restart" Mac, and goto next step.
~/Library/Preferences/
(aka: "User Library/Preferences" folder) INTO~/Desktop/Backup/MyLibraryPreferences/
FOLDER:~/Library/Preferences/
, so follow these steps : open "Finder" (file browser) → click/select your Mac storage drive → find & go inside "Users" folder → then go inside the folder that has your UserName, f.e. in my case its "atErik" → press ⌘ Command + ⇧ Shift + >̣ buttons (Command+Shift+dot) altogether for once, it will goto "Unhide Files and Folders" mode (aka: Unhide/Unhidden Files and Directories mode, aka: show hidden files & folders mode) temporarily. Find & go inside the "Library" folder, then find & go inside the "Preferences" folder.• Here, the beginning
~
(tilde) symbol means: inside your HOME directory/folder. The~
is a shortened form of, for-example:/Users/atErik/
folder, Or/Users/<UserName>/
folder (aka: "HOME" folder/directory).• So
~/Library/Preferences/
in its expanded form, indicates to/Users/atErik/Library/Preferences/
folder (or/Users/<UserName>/Library/Preferences/
folder)..plist
files into a "Backup" folder on your Mac Desktop:• Select all of these below property-list files (they have
.plist
filename-extension) and also select other.plist
files related to any (KTM) keyboard, trackpad, touchpad or mouse, then select "Copy" option for all selected files by using ⌘ Command + C ( or use "Copy" option in Finder's "Edit" menu. )• Then in "Finder" goto your "Desktop", create a folder "Backup" (if it does not exists), then inside the "Backup" create another sub-folder "MyLibraryPreferences".
• Now you MUST MOVE those selected
.plist
files into~/Desktop/Backup/MyLibraryPreferences/
folder, by using ⌘ Command + ⌥ Option + V buttons ( Or goto "Edit" menu in "Finder" file-browser, & press & hold ⌥ Option button in software/hardware KB, you will see that "Paste"-mode will change, & "Move"-mode will appear & available, so select "Move" option. )• You may have to enter a privileged admin type of user's username & password, to complete the "Move" process.
.plist
FILES:•
com.apple.driver.AppleBluetoothMultitouch.trackpad.plist1
(Magic Trackpad)•
com.apple.driver.AppleBluetoothMultitouch.mouse.plist
(Magic mouse)•
com.apple.driver.AppleBluetoothMultitouch.trackpad.plist
•
com.apple.AppleMultitouchTrackpad.plist
•
com.apple.preference.trackpad.plist
•
com.apple.driver.AppleHIDMouse.plist
(wired USB mouse)•
com.apple.AppleMultitouchMouse.plist
(to select multiple files, you have to press ⌘ Command button before clicking on next/another
.plist
file)(Mac will auto-create above files with default settings, after a restart/start)
3rd-party software often uses their parent company (or developer) name or their own company (or one of the developer's) name or uses the software name for their software files & directories/folders.
So to detect 3rd-party software files, you will need to know 3rd-party software's company name or developer name also.
3rd-party can+may use these set of folders, which can+may reside inside here ("/Library/") or here("~/Library/") or both : ".../Application Support/", ".../Caches/", ".../Containers/", ".../Frameworks/", ".../Logs/", ".../Preferences/", ".../Saved/", ".../Application State/", ".../WebKit/", etc.
• We will disable those (by using CLI+GUI, etc) temporarily after making backup (so that they can be retrieved/restored easily later).
• Open the "Terminal" (press Fn + F4 > click on "Other" icon > click on "Terminal") : To view hidden files & folders in "Finder", in Terminal run this
cmd:
sudo defaults write com.apple.finder AppleShowAllFiles -bool true
To apply the above new settings, we have to stop all running "Finder" instances/sessions, (macOS will auto start a new instance of "Finder" after we stop all), do that with cmd:
killall Finder
• NOTE: Do Not Use The Word "cmd:" Itself, When You Copy Or Paste A Command From Here, I Used "cmd:" Here To Make It Clear That Words Used After "cmd:" (inside grey box) are ("Terminal") commands.
• run cmd:
launchctl list
to view various STARTUP items. Keep a backup list what items are set as STARTUP item, withcmd:
dt="/bin/date +'%Y-%m-%d_%H-%M-%S'" ; dv=`$dt` ; launchctl list > ~/launchctl-list_${dv}.txt ; unset dt; more ~/launchctl-list_${dv}.txt && unset dv;
• These (AUTO-STARTUP) type of software items/componenets are placed inside these folders usually :
"/Library/StartUpItems/"
(items in it are launched by system when Mac system starts-up),"/Library/LaunchDaemons/"
(launched by system "root"-user when system starts-up, with bit more detail or specific options),"/Library/LaunchAgents/"
(items in it are launched by user-account when user logins, so these are LOGIN-time AUTO-START items), macOS also starts various system & other software items from"/System/Library/LaunchDaemons/"
folder (items are launched by "root"-user at system startup) &"/System/Library/LaunchAgentsitems/"
folder (items are launched by user-account when user logins), but these two"/System/..."
folders are usually for CORE system components & must not-be changed/touched by any general users, unless you're capable to work in that level. 3rd-party software must-not be inside"/System/..."
. And 3rd-party LOGIN AUTO-START items are also inside"~/Library/LaunchAgents/"
or"/Users/<UserName>/Library/LaunchAgents/"
folders (items in it are launched by user-account when user logins).• Move (all 3rd-party & risky 2nd-party) items from LaunchDaemons & LaunchAgents, etc into a backup folder after disabling them, (and also save attribute & property list of all files in those folders), with this shell script/program here: https://GitHub.com/atErik/Disable-MacOS-3rd-Party-Startup
• after moving above items, make another backup list of STARTUP items, with
cmd:
dt="/bin/date +'%Y-%m-%d_%H-%M-%S'" ; dv=`$dt` ; launchctl list > ~/launchctl-list_${dv}.txt ; unset dt; more ~/launchctl-list_${dv}.txt && unset dv;
• Below PLIST files also contain STARTUP items (and not-disabled even in Safe-Mode, so these can be RISKY/abused) and these MUST-NOT be used by any 3rd-Party, unless it has SHOWN you this (below "/private/var/db/launchd.db/...") data & informed you & obtained your fully-aware full & explicit consent to use it:
/private/var/db/launchd.db/com.apple.launchd.peruser.501/overrides.plist
/private/var/db/launchd.db/com.apple.launchd/overrides.plist
Run this cmd to view list of these PLIST files:
sudo ls -Gal /private/var/db/launchd.db/
User can view items in them with these
cmd:
nano /private/var/db/launchd.db/com.apple.launchd.peruser.501/overrides.plist
cmd:
sudo nano /private/var/db/launchd.db/com.apple.launchd/overrides.plist
Run this:
launchctl list
& findout which "Label" does NOT begin with"com.apple..."
, so those are 3rd-party STARTUP items, and use below commands to disable them.Disable 3rd-party and RISKY 2nd-Party items in above two PLIST files, with such EXAMPLE commands:
disable "rexecd":
sudo defaults write /private/var/db/launchd.db/com.apple.launchd/overrides.plist 'com.apple.rexecd' -dict Disabled -bool true ;
now with "nano" open the plist, and apply similar "Disabled" pattern of XML-codes, on other entries that are 3rd-party or risky 2nd-party items.
Some (harmful) developer's App/pkg installer sets-up various non-standard (and constitutional amendment violating) ways (one of such shown in above) to start various (fishy, aka: Anti-Privacy, etc) items (by violating the Privacy-Rights, human-rights, etc to SPY & data-collect, etc), So one way to quickly & temporarily disable these fishy/immoral/unethical activities is, MOVE them in a different folder : with "Finder", go inside "Applications", select all apps that are 3rd-party apps (installed by you), (to multi-select, use ⌘ Command button each time before you select/click on an app), then in "Finder" select "Copy" option in "Edit" (or press ⌘ Command + C altogether for once), then on your Mac "Desktop" create a new folder "Backup", then create a sub-folder "Apps" inside the "Backup". Go inside that "Apps" & press ⌘ Command + ⌥ Option + V buttons altogether once (or goto "Edit" menu in "Finder", press ⌥ Option & then select "Move" option), you may have to enter a privileged admin type of user's username & password to complete the MOVE process. (Don't forget to restart Mac once, after below steps).
/Library/Preferences/
(aka: "Mac Library/Preferences") INTO~/Desktop/Backup/MacLibraryPreferences/
FOLDER:• In "Finder" → click/select your Mac storage drive → press ⌘ Command + ⇧ Shift + >̣ buttons (Command+Shift+dot) altogether for once to show hidden files & folders, → find & go inside "Library" folder, → then find & go inside "Preferences" folder, → and check-for & find & select
.plist
files (that are shown & listed in above), → also find & select any other (KTM) keyboard & trackpad & touchpad & mouse related.plist
files, → then select "Copy" option for all selected files by using ⌘ Command + C (or use "Copy" option in Finder's "Edit" menu).• Goto your "Desktop" folder, find & go inside "Backup" folder, create a sub-folder "MacLibraryPreferences" inside the "Backup".
• Now you MUST MOVE those selected
.plist
files into~/Desktop/Backup/MacLibraryPreferences/
folder, by using ⌘ Command + ⌥ Option + V buttons ( Or goto "Edit" menu in "Finder" file-browser, & press & hold ⌥ Option button in software/hardware KB, you will see that "Paste"-mode will change, & "Move"-mode will appear & available, so select "Move" option. )• You have to enter a privileged admin type of user's username & password, to complete the "Move" process.
Boot/Start your Mac, and check if internal KB & TP are working or not, if yes then NO-need to follow next steps,
if internal KB & TP are still not-working after SAFE-MODE & PLIST-REMOVAL, then follow (shown in above) SMC-reset & PRAM-reset steps AGAIN,
and again check if internal KB & TP are working or not, if yes then NO-need to follow next steps,
if internal KB & TP are still not-working, then plug back in (external) USB-mouse & KB, & Restart Mac.
ioreg | grep Keyboard
normally, when internal keyboard works, then you should see (6-Lines of) similar output shown below, with above command:
•
| | | | | +-o Apple Internal Keyboard / Trackpad@1d183000 <class IOUSBHostDevice, id 0x100012c9c, registered, matched, active, busy 0 (7371 ms), retain 33>
•
| | | | | +-o Apple Internal Keyboard@0 <class IOUSBHostInterface, id 0x100012ca7, registered, matched, active, busy 0 (7357 ms), retain 11>
•
| | | | | | +-o AppleUSBTCKeyboard@1d183000,0 <class AppleUSBTCKeyboard, id 0x100012cb1, registered, matched, active, busy 0 (7349 ms), retain 8>
•
| | | | | | +-o AppleEmbeddedKeyboard <class AppleEmbeddedKeyboard, id 0x100012d0d, registered, matched, active, busy 0 (0 ms), retain 8>
•
| | | +-o Apple Internal Keyboard / Trackpad@1d183000 <class AppleUSBDevice, id 0x100012c9e, registered, matched, active, busy 0 (1 ms), retain 15>
•
| | | | +-o Apple Internal Keyboard@0 <class AppleUSBInterface, id 0x100012caa, registered, matched, active, busy 0 (0 ms), retain 5>
ioreg | grep Trackpad
normally, when internal trackpad works, then you should see (2-Lines of) similar output shown below, with above command:
•
| | | | | +-o Apple Internal Keyboard / Trackpad@1d183000 <class IOUSBHostDevice, id 0x100012c9c, registered, matched, active, busy 0 (7371 ms), retain 33>
•
| | | +-o Apple Internal Keyboard / Trackpad@1d183000 <class AppleUSBDevice, id 0x100012c9e, registered, matched, active, busy 0 (1 ms), retain 15>
ioreg | grep Touchpad
normally, when internal trackpad (aka: Touchpad) works, then you should also see (4-Lines of) similar output shown below, when above command is run:
•
| | | | | +-o Touchpad@1 <class IOUSBHostInterface, id 0x100012ca8, registered, matched, active, busy 0 (551 ms), retain 11>
•
| | | | | +-o Touchpad@2 <class IOUSBHostInterface, id 0x100012ca9, registered, matched, active, busy 0 (10 ms), retain 11>
•
| | | | +-o Touchpad@1 <class AppleUSBInterface, id 0x100012cad, registered, matched, active, busy 0 (0 ms), retain 5>
•
| | | | +-o Touchpad@2 <class AppleUSBInterface, id 0x100012caf, registered, matched, active, busy 0 (0 ms), retain 5>
If similar lines are present, (and internal KB & TP are still not-working properly), then thats indicating: some software/settings, etc are causing conflict, Or there is a partial hardware malfunction.
Please use one ` backtick symbol (aka: back-quote, aka: grave-accent) in beginning of each "output" code-line (Backtick button ̀̃ is in top-left corner of keyboard, under the esc). Any text or code inside 2-Backticks creates an "inline"-mode code-line which can wrap at-edge without crossing-over & all text or code is also viewable without sliding left/right. And at-end of each code-line please also use one-more ` backtick-symbol and two "space" characters. Two-spaces at-end of a text/code line, creates a Line-Break(LB)
<br />
.so i.e. the
`a ̪test ̪code-line` ̪ ̪
( "space" character is shown as̪
)will become:
a test code-line
f.e. = for example . i.e. = in example . e.g. = example goes.
KB = Keyboard . TP = Trackpad (aka: Touchpad).
REPLACE HARDWARE:
if troubleshoot steps (mentioned in above) did not solve problem,
Replace hardware parts (at-least replace keyboard) by yourself. Its better to replace both KB & TP at same time.
When you have a chance, read-up on these, watch videos on YouTube, etc: it will become very easy to you once you watch few videos & read docs, then if you're confident to do it by yourself, order hardware parts.
So begin with the sites below:
After you've replaced (internal) keyboard/trackpad, unplug external USB-mouse & KB, and check+test if internal KB & TP are working or not, if working then NO-need to plug back in USB-mouse & KB, and go back to previously mentioned options in "Accessibility", and change/suite with your preference/choice.
But if internal KB & TP are not-working then plug back in (external) USB mouse & KB.