Revert "RMX3031: Remove oplus logical partitions when necessary"

This reverts commit dda4d679cf.

* Doesn't makes sense in OSS vendor

Signed-off-by: Nishant Kumar <www.rajsonu13@gmail.com>
This commit is contained in:
Nishant Kumar
2023-10-03 18:43:05 +05:30
parent 3e81ef83eb
commit 3005ed833d
3 changed files with 0 additions and 31 deletions

View File

@@ -8,8 +8,6 @@ LOCAL_PATH := $(call my-dir)
ifeq ($(TARGET_DEVICE),RMX3031)
$(call add-radio-file,releasetools/dynamic-remove-oplus)
subdir_makefiles=$(call first-makefiles-under,$(LOCAL_PATH))
$(foreach mk,$(subdir_makefiles),$(info including $(mk) ...)$(eval include $(mk)))

View File

@@ -1,26 +0,0 @@
# Remove my_product since it might be there and we're not building super or rewriting it
remove my_product
# Remove my_engineering since it might be there and we're not building super or rewriting it
remove my_engineering
# Remove my_company since it might be there and we're not building super or rewriting it
remove my_company
# Remove my_carrier since it might be there and we're not building super or rewriting it
remove my_carrier
# Remove my_region since it might be there and we're not building super or rewriting it
remove my_region
# Remove my_heytap since it might be there and we're not building super or rewriting it
remove my_heytap
# Remove my_stock since it might be there and we're not building super or rewriting it
remove my_stock
# Remove my_preload since it might be there and we're not building super or rewriting it
remove my_preload
# Remove my_manifest since it might be there and we're not building super or rewriting it
remove my_manifest

View File

@@ -17,9 +17,6 @@
import common
def FullOTA_InstallBegin(info):
data = info.input_zip.read("RADIO/dynamic-remove-oplus")
common.ZipWriteStr(info.output_zip, "dynamic-remove-oplus", data)
info.script.AppendExtra('update_dynamic_partitions(package_extract_file("dynamic-remove-oplus"));')
info.script.AppendExtra("ifelse(is_mounted(\"/apex\"), unmount(\"/apex\"));")
return