    if front_camera_allowed:
      os.environ["SEND_DRIVER"] = "1"
  
    try:
      HARDWARE.set_power_save(False)
      managed_processes['camerad'].start()
      frame = "wideRoadCameraState" if TICI else "roadCameraState"
      front_frame = "driverCameraState" if front_camera_allowed else None
      focus_perc_threshold = 0. if TICI else 10 / 12.
  
 
</s> remove     HARDWARE.set_power_save(True)

 </s> add  </s> remove   assert(ret == 0);
 </s> add   assert(ret == 0 || Params().getBool("IsOffroad")); // failure ok while offroad due to offlining cores </s> remove from selfdrive.hardware import HARDWARE, TICI
 </s> add from selfdrive.hardware import TICI
    if front_camera_allowed:
      os.environ["SEND_DRIVER"] = "1"
  
    try:

      managed_processes['camerad'].start()
      frame = "wideRoadCameraState" if TICI else "roadCameraState"
      front_frame = "driverCameraState" if front_camera_allowed else None
      focus_perc_threshold = 0. if TICI else 10 / 12.
  
keep keep keep keep replace keep keep keep keep keep
 camerad: allow core affinity setting to fail while offroad (#22664)

Co-authored-by: Comma Device <device@comma.ai> 
selfdrive/camerad/snapshot/snapshot.py