Skip to content
Padraic Hoselton edited this page Jul 10, 2023 · 4 revisions

What is F3

F3 is the flowpilot mode that runs all the latest openpilot versions including it's latest vision models and supports features like stopping at redlights, taking 90 degree turns, navigation, etc.

F3 requires wide camera angle stream to perform best. It is also more computationally heavy so you would require more powerful devices to run f3.

You can enble F3 by enabling the toggle in setting.

This requires full reboot of the app including termux side

The Problem

Most android smart phones now days come with wide angle lens cameras. But the problem is, they don't allow third party apps to to access these camera at all. The flowpilot F3 requires wide angle camera stream for it to be usable. This wiki will show you some hacks to get access to other cameras in flowpilot app.

Mostly, we have noticed that Xiaomi, OnePlus phones require this hack. For Samsung, google phones, the camera are ususally accessible without this hack.

Enable access to wide angle cam for flowpilot (Requires Root)

  • Flash this magisk module on your phone.
  • Open root shell (can be done via termux or adb) type su in terminal to get root terminal
  • In root terminal, do props vendor.camera.aux.packagelist net.sourceforge.opencamera,ai.flow.android
  • Set all options to default and reboot your device.
  • open root shell again and check output of getprop vendor.camera.aux.packagelist, make sure its net.sourceforge.opencamera,ai.flow.android and check for any typos.

The flowpilot app should now be able to access the wide angle camera.

pc: paperboypaddy

Is flowpilot crashing or stuck at loading or still opening wrong camera after enabling f3 ?

Sometimes, the vendor puts in wrong camera characteristics. Flowpilot internally checks these characteristics to determine the camera with lowest focal length. If these charachteristics are wrong or empty, flowpilot cannot determine which camera is wide angled and can end up choosing wrong camera.

In that case, Download the Open Camera app from playstore, Open the app and see if it has access to other cameras. cycle through camera, if opencamera still cannot access the wide angle cam even after the patch, you could be out of luck. This happens in some devices.

Cycle through cameras and note the correct camera ID for the wide angle camera. Now open a python shell and type.

python
from common.params import Params
Params().put("WideCameraID", "2")

If you experience a crash and want to switch back to f2, log into your flowpilot env terminal

python
>>> from common.params import Params
>>> Params().put_bool("F3", False)