aosp-stable: Add logic to wait until system boots up