Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve compilation speed for android build #1774

Open
wants to merge 1 commit into
base: celadon/s/mr0/master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions groups/flashfiles/ini/files.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[extrafiles]
installer.cmd : "hardcoded installer.cmd, need to be updated based on partition change"
16 changes: 16 additions & 0 deletions groups/flashfiles/ini/installer.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
flashing unlock
flash gpt gpt.bin
flash bootloader bootloader.img
erase teedata
erase misc
erase persistent
erase metadata
format userdata
format config
flash vbmeta_a vbmeta.img
flash vendor_boot_a vendor_boot.img
flash acpio_a acpio.img
flash boot_a boot.img
flash super super.img.part00 super.img.part01
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

R1 code will not work. command for R1 should be "flash super super.img"

flashing lock
continue
1 change: 1 addition & 0 deletions groups/flashfiles/ini/product.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PRODUCT_COPY_FILES += $(LOCAL_PATH)/extra_files/flashfiles/installer.cmd:$(PRODUCT_OUT)/installer.cmd
Loading