[roll] Roll fuchsia [starnix] Support limited Android factory reset

When Android reboots into recovery with the intention to initiate an
FDR, Starnix will capture this and instead call
fuchsia.factory.FactoryReset/Reset, which wipes user data.

A few new pieces of machinery were necessary to support this:

- A remote block device, currently backed by a VMO, is exposed to the
  Linux namespace at /dev/block/remoteblk-{name}.  This is configured
  via structured configuration.
- If a `misc` remote block device is provided, it is assumed that
  Android will write a bootloader message into this to provide the
  --wipe_data command (which initiates FDR) to the bootloader.  For now,
  Starnix will capture the bootloader message and read it as needed
  during reboot.

This is gated by the android_fdr feature.

Original-Bug: 306749272
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1042043
Original-Revision: a8ba5eaa2494326aab3b8fd0ca94a9f04071417b
GitOrigin-RevId: 77fe6452b72ed5d4db56eede498364f120fb9c53
Change-Id: I6466a209ec8dec553a5bfd2ef44877b6e70a7cde
1 file changed
tree: dc74c21a26bd8a8e61f724cf9349b9365da58bb8
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.