That’s the difficult bit. If you are using WiFi to connect, try a cable connection instead. If that fails, attach a USB keyboard and hit Esc when Kodi is trying to restart, you may get a console where you can log in. If you can get a console that way, read the last part of this post where it says how to remove previous versions of the BT audio packages.
It’s not normal for those old packages to stop Kodi from starting but it’s worth a try to get rid of them first. With the console, you should be able to back up your .kodi directory to a thumbdrive if you don’t have a backup. Then re-installing won’t be so painful if it comes to that.