Skip to content

Commit

Permalink
fastboot: add optimize-factory-image command
Browse files Browse the repository at this point in the history
optimize-factory-image command captures commands that fastboot issues during flashing of the update
zip (which is nested in factory image zip) to the script.txt file. Partition images and script.txt
are copied to the output optimized factory image zip. flash-all.sh commands are parsed manually.

Optimized factory image zip is intended to be used by the fastboot.js-based web installer.

Main advantages of using optimized factory images instead of standard images in fastboot.js:
- code for creating optimized super partition image on the fly is reused, which removes the need
to use fastbootd during flashing. fastbootd currently requires manual driver installation on Windows.
- lowering of install-time storage and memory requirements
- simplification of fastboot.js code
- consistency between fastboot and fastboot.js flashing sequence
  • Loading branch information
muhomorr authored and thestinger committed Sep 4, 2024
1 parent 578c0a9 commit e9caffa
Show file tree
Hide file tree
Showing 4 changed files with 787 additions and 28 deletions.
Loading

0 comments on commit e9caffa

Please sign in to comment.