Just re-root. Your bootloader is still unlocked, so nothing is preventing you from doing so. The Nexus Root Toolkit should do the heavy lifting for you if you want (just press "Root"). Manual steps would be:
- Download a custom recovery, like ClockworkMod, and save it to your computer
- Download the Superuser/su package for ARM and copy it to your phone
- Reboot into your bootloader, either by holding Volume Down while turning on your device or by issuing
adb reboot bootloader from a PC (plugged in via USB with debugging enabled on the phone)
fastboot utility to install the recovery image from your PC via:
fastboot flash recovery /path/to/recovery.img
Reboot into recovery (boot into your bootloader, then press either of the volume buttons to cycle to "Recovery" and press power).
- Install the the Superuser zip file from your recovery menu
- Reboot. You now have root.
In general, if you don't want to lose root, don't install OTA updates. You can try apps like OTA Rootkeeper or Superuser's in-built functionality, but there's no guarantee that it will work since it depends on exactly how the OTA is applied. Some devices (the Kindle Fire is one example) will actually wipe the entire
/system partition when performing an update, making OTA Rootkeeper apps useless. The only guaranteed method of updating and keeping root would be to wait for a repackaged (rooted) version of the OTA to appear on somewhere like XDA and then flash that from your recovery, or repackage it yourself.