Skip to content
Snippets Groups Projects
  1. Mar 06, 2025
  2. Feb 26, 2025
  3. Jan 22, 2025
  4. Jan 17, 2025
  5. Oct 30, 2024
  6. Oct 12, 2024
  7. Sep 19, 2024
  8. Aug 15, 2024
  9. Aug 13, 2024
    • Wei Li's avatar
      Use GSI-specific init script to detect GSI image. · 9772f86f
      Wei Li authored
      Now IsGsiRunning() uses "/metadata/gsi/dsu/booted" to detect GSI build.
      But this file only exists when GSI is booted via DSU. If we flash the
      GSI to the device via fastbootd, the file will not exist. So this method
      is not suitable for GSI fastboot flashing scenario.
      
      File "/system/system_ext/etc/init/init.gsi.rc" is the GSI-specific init
      script defined in build/make/target/product/gsi/Android.mk. So, add a
      separate function IsGsiImage() that uses this file as GSI image marker.
      
      Change-Id: I63072fd93dcf97b9b26b2e3b3cc33e2c49125776
      9772f86f
  10. Jun 10, 2024
  11. Jun 07, 2024
  12. Apr 29, 2024
  13. Apr 18, 2024
Loading