miami: intial port

This commit is contained in:
ast261 2023-10-23 17:16:27 +02:00
parent ae55a7ba6f
commit 7415d50d0e
41 changed files with 396 additions and 63 deletions

View File

@ -6,7 +6,7 @@
LOCAL_PATH := $(call my-dir)
ifeq ($(TARGET_DEVICE),corfur)
ifeq ($(TARGET_DEVICE),miami)
include $(call all-makefiles-under,$(LOCAL_PATH))

View File

@ -5,7 +5,7 @@
#
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/twrp_corfur.mk
$(LOCAL_DIR)/twrp_miami.mk
COMMON_LUNCH_CHOICES := \
twrp_corfur-eng
twrp_miami-eng

View File

@ -4,7 +4,7 @@
# SPDX-License-Identifier: Apache-2.0
#
DEVICE_PATH := device/motorola/corfur
DEVICE_PATH := device/motorola/miami
# Architecture
TARGET_ARCH := arm64
@ -22,7 +22,7 @@ TARGET_2ND_CPU_VARIANT := generic
TARGET_2ND_CPU_VARIANT_RUNTIME := cortex-a75
# Bootloader
TARGET_BOOTLOADER_BOARD_NAME := corfur
TARGET_BOOTLOADER_BOARD_NAME := miami
TARGET_NO_BOOTLOADER := true
# Kernel
@ -53,9 +53,9 @@ TARGET_USERIMAGES_USE_F2FS := true
BOARD_BUILD_SYSTEM_ROOT_IMAGE := false
BOARD_SUPER_PARTITION_SIZE := 14512291840
BOARD_SUPER_PARTITION_SIZE := 9529458688
BOARD_SUPER_PARTITION_GROUPS := qti_dynamic_partitions
BOARD_QTI_DYNAMIC_PARTITIONS_SIZE := 7256141824 # BOARD_SUPER_PARTITION_SIZE/2 - 4MB
BOARD_QTI_DYNAMIC_PARTITIONS_SIZE := 4764729344 # BOARD_SUPER_PARTITION_SIZE/2 - 4MB
BOARD_QTI_DYNAMIC_PARTITIONS_PARTITION_LIST := product system system_ext vendor
BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE := ext4
@ -110,7 +110,7 @@ TW_Y_OFFSET := 115
TW_NO_EXFAT_FUSE := true
TW_INCLUDE_REPACKTOOLS := true
TW_INCLUDE_RESETPROP := true
TW_LOAD_VENDOR_MODULES := "adsp_loader_dlkm.ko mmi_relay.ko moto_f_usbnet.ko wl2864c.ko exfat.ko mmi_annotate.ko mmi_sc8549.ko qpnp_adaptive_charge.ko wl2866d.ko focaltech_v2_mmi.ko mmi_info.ko mmi-smbcharger-iio.ko sensors_class.ko goodix_v1510_mmi.ko mmi_parallel_charger_iio.ko mmi_sys_temp.ko touchscreen_mmi.ko"
TW_LOAD_VENDOR_MODULES := "adsp_loader_dlkm.ko mmi_relay.ko moto_f_usbnet.ko wl2864c.ko exfat.ko mmi_annotate.ko qpnp_adaptive_charge.ko wl2868c.ko focaltech_fts.ko mmi_info.ko mmi_charger.ko sensors_class.ko goodix_brl_mmi.ko mmi_sys_temp.ko touchscreen_mmi.ko"
# TWRP-debug
TARGET_USES_LOGD := true

View File

@ -33,12 +33,12 @@ cc_defaults {
cc_library {
name: "bootctrl.holi",
defaults: ["bootctrl_hal_defaults"],
static_libs: ["libgptutils.corfur"],
static_libs: ["libgptutils.miami"],
}
cc_library_shared {
name: "android.hardware.boot@1.1-impl-qti",
stem: "android.hardware.boot@1.0-impl-1.1-qti",
defaults: ["android.hardware.boot@1.1-impl-qti_defaults"],
static_libs: ["libgptutils.corfur"],
static_libs: ["libgptutils.miami"],
}

View File

@ -23,7 +23,7 @@ AB_OTA_PARTITIONS += \
vbmeta \
vbmeta_system \
vendor
AB_OTA_POSTINSTALL_CONFIG += \
RUN_POSTINSTALL_system=true \
POSTINSTALL_PATH_system=system/bin/otapreopt_script \

View File

@ -16,7 +16,7 @@
cc_library {
name: "libgptutils.corfur",
name: "libgptutils.miami",
vendor: true,
recovery_available: true,
shared_libs: [

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
prebuilt/focaltech_fts.ko Normal file

Binary file not shown.

Binary file not shown.

BIN
prebuilt/goodix_brl_mmi.ko Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
prebuilt/mmi_charger.ko Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
prebuilt/wl2868c.ko Normal file

Binary file not shown.

Binary file not shown.

View File

@ -106,7 +106,7 @@
27533 notification_autogrouped (key|3)
27535 notification_adjusted (key|3),(adjustment_type|3),(new_value|3)
30001 wm_finish_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3),(Reason|3),(DisplayId|1|5)
30002 wm_task_to_front (User|1|5),(Task|1|5)
30002 wm_task_to_front (User|1|5),(Task|1|5),(DisplayId|1|5)
30003 wm_new_intent (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3),(Action|3),(MIME Type|3),(URI|3),(Flags|1|5),(DisplayId|1|5)
30004 wm_create_task (User|1|5),(Task ID|1|5),(DisplayId|1|5)
30005 wm_create_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3),(Action|3),(MIME Type|3),(URI|3),(Flags|1|5),(DisplayId|1|5)
@ -123,8 +123,8 @@
30016 am_proc_good (User|1|5),(UID|1|5),(Process Name|3)
30017 am_low_memory (Num Processes|1|1)
30018 wm_destroy_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3),(Reason|3),(DisplayId|1|5)
30019 wm_relaunch_resume_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3),(DisplayId|1|5)
30020 wm_relaunch_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3),(DisplayId|1|5)
30019 wm_relaunch_resume_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3),(Reason|3),(DisplayId|1|5)
30020 wm_relaunch_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3),(Reason|3),(DisplayId|1|5)
30021 wm_on_paused_called (Token|1|5),(Component Name|3),(Reason|3),(DisplayId|1|5)
30022 wm_on_resume_called (Token|1|5),(Component Name|3),(Reason|3),(DisplayId|1|5)
30023 am_kill (User|1|5),(PID|1|5),(Process Name|3),(OomAdj|1|5),(Reason|3)
@ -165,7 +165,7 @@
30064 wm_on_top_resumed_gained_called (Token|1|5),(Component Name|3),(Reason|3),(DisplayId|1|5)
30065 wm_on_top_resumed_lost_called (Token|1|5),(Component Name|3),(Reason|3),(DisplayId|1|5)
30066 wm_add_to_stopping (User|1|5),(Token|1|5),(Component Name|3),(Reason|3),(DisplayId|1|5)
30067 wm_set_keyguard_shown (keyguardShowing|1),(aodShowing|1),(keyguardGoingAway|1),(Reason|3)
30067 wm_set_keyguard_shown (Display Id|1|5),(keyguardShowing|1),(aodShowing|1),(keyguardGoingAway|1),(Reason|3)
30068 am_freeze (Pid|1|5),(Process Name|3)
30069 am_unfreeze (Pid|1|5),(Process Name|3)
30070 uc_finish_user_unlocking (userId|1|5)
@ -186,13 +186,18 @@
30085 ssm_user_unlocked (userId|1|5)
30086 ssm_user_stopping (userId|1|5)
30087 ssm_user_stopped (userId|1|5)
31000 wm_no_surface_memory (Window|3),(PID|1|5),(Operation|3)
30088 ssm_user_completed_event (userId|1|5),(eventFlag|1|5)
30100 am_foreground_service_start (User|1|5),(Component Name|3),(allowWhileInUse|1),(startReasonCode|3),(targetSdk|1|1),(callerTargetSdk|1|1),(notificationWasDeferred|1),(notificationShown|1),(durationMs|1|3),(startForegroundCount|1|1),(stopReason|3)
30101 am_foreground_service_denied (User|1|5),(Component Name|3),(allowWhileInUse|1),(startReasonCode|3),(targetSdk|1|1),(callerTargetSdk|1|1),(notificationWasDeferred|1),(notificationShown|1),(durationMs|1|3),(startForegroundCount|1|1),(stopReason|3)
30102 am_foreground_service_stop (User|1|5),(Component Name|3),(allowWhileInUse|1),(startReasonCode|3),(targetSdk|1|1),(callerTargetSdk|1|1),(notificationWasDeferred|1),(notificationShown|1),(durationMs|1|3),(startForegroundCount|1|1),(stopReason|3)
31000 wm_no_surface_memory (Window|3),(PID|1|5),(Operation|3),(DisplayId|1|5)
31001 wm_task_created (TaskId|1|5),(RootTaskId|1|5)
31002 wm_task_moved (TaskId|1|5),(ToTop|1),(Index|1),(DisplayId|1|5)
31003 wm_task_removed (TaskId|1|5),(Reason|3),(DisplayId|1|5)
31007 wm_boot_animation_done (time|2|3)
32000 imf_force_reconnect_ime (IME|4),(Time Since Connect|2|3),(Showing|1|1)
33000 wp_wallpaper_crashed (component|3)
33001 wm_wallpaper_surface (Display Id|1|5),(visible|1)
34000 device_idle (state|1|5), (reason|3)
34001 device_idle_step
34002 device_idle_wake_from_idle (is_idle|1|5), (reason|3)
@ -297,6 +302,7 @@
62000 input_interaction (windows|4)
62001 input_focus (window|3),(reason|3)
62002 view_enqueue_input_event (eventType|3),(action|3)
62003 input_cancel (window|3),(reason|3)
65537 exp_det_netlink_failure (uid|1)
70000 screen_toggled (screen_state|1|5)
70001 intercept_power (action|3),(mPowerKeyHandled|1),(mPowerKeyPressCounter|1)
@ -336,6 +342,10 @@
90202 exp_det_device_admin_declined_by_user (app_signature|3)
90203 exp_det_device_admin_uninstalled_by_user (app_signature|3)
90204 settings_latency (action|1|6),(latency|1|3)
120000 dsu_progress_update (partition_name|3),(installed_bytes|2|5),(total_bytes|2|5),(partition_number|1|5),(total_partition_number|1|5),(total_progress_percentage|1|5)
120001 dsu_install_complete
120002 dsu_install_failed (cause|3)
120003 dsu_install_insufficient_space
150000 car_helper_start
150001 car_helper_boot_phase (phase|1)
150002 car_helper_user_starting (user_id|1)
@ -344,12 +354,7 @@
150005 car_helper_user_unlocked (user_id|1)
150006 car_helper_user_stopping (user_id|1)
150007 car_helper_user_stopped (user_id|1)
150008 car_helper_svc_connected (pending_operations|1)
150009 car_helper_hal_request (request_type|1)
150010 car_helper_hal_response (result_code|1)
150011 car_helper_hal_default_behavior (fallback|1),(user_locales|3)
150012 car_helper_hal_start_user (user_id|1),(user_locales|3)
150013 car_helper_hal_create_user (flags|1),(safe_name|3),(user_locales|3)
150008 car_helper_svc_connected
150050 car_service_init (number_services|1)
150051 car_service_vhal_reconnected (number_services|1)
150052 car_service_set_car_service_helper (pid|1)
@ -360,11 +365,11 @@
150058 car_service_vhal_died (cookie|2)
150059 car_service_init_boot_user
150060 car_service_on_user_removed (user_id|1)
150100 car_user_svc_initial_user_info_req (request_type|1),(timeout|1)
150100 car_user_svc_initial_user_info_req (request_type|1),(timeout|1),(current_user_id|1),(current_user_flags|1),(number_existing_users|1)
150101 car_user_svc_initial_user_info_resp (status|1),(action|1),(user_id|1),(flags|1),(safe_name|3),(user_locales|3)
150103 car_user_svc_set_initial_user (user_id|1)
150104 car_user_svc_set_lifecycle_listener (uid|1)
150105 car_user_svc_reset_lifecycle_listener (uid|1)
150104 car_user_svc_set_lifecycle_listener (uid|1),(package_name|3)
150105 car_user_svc_reset_lifecycle_listener (uid|1),(package_name|3)
150106 car_user_svc_switch_user_req (user_id|1),(timeout|1)
150107 car_user_svc_switch_user_resp (hal_callback_status|1),(user_switch_status|1),(error_message|3)
150108 car_user_svc_post_switch_user_req (target_user_id|1),(current_user_id|1)
@ -374,13 +379,13 @@
150112 car_user_svc_switch_user_from_hal_req (request_id|1),(uid|1)
150113 car_user_svc_set_user_auth_req (uid|1),(user_id|1),(number_associations|1)
150114 car_user_svc_set_user_auth_resp (number_values|1),(error_message|3)
150115 car_user_svc_create_user_req (safe_name|3),(user_type|3),(flags|1),(timeout|1)
150115 car_user_svc_create_user_req (safe_name|3),(user_type|3),(flags|1),(timeout|1),(hasCallerRestrictions|1)
150116 car_user_svc_create_user_resp (status|1),(result|1),(error_message|3)
150117 car_user_svc_create_user_user_created (user_id|1),(safe_name|3),(user_type|3),(flags|1)
150118 car_user_svc_create_user_user_removed (user_id|1),(reason|3)
150119 car_user_svc_remove_user_req (user_id|1),(hasCallerRestrictions|1)
150120 car_user_svc_remove_user_resp (user_id|1),(result|1)
150121 car_user_svc_notify_app_lifecycle_listener (uid|1),(event_type|1),(from_user_id|1),(to_user_id|1)
150121 car_user_svc_notify_app_lifecycle_listener (uid|1),(package_name|3),(event_type|1),(from_user_id|1),(to_user_id|1)
150122 car_user_svc_notify_internal_lifecycle_listener (listener_name|3),(event_type|1),(from_user_id|1),(to_user_id|1)
150123 car_user_svc_pre_creation_requested (number_users|1),(number_guests|1)
150124 car_user_svc_pre_creation_status (number_existing_users|1),(number_users_to_add|1),(number_users_to_remove|1),(number_existing_guests|1),(number_guests_to_add|1),(number_guests_to_remove|1),(number_invalid_users_to_remove|1)
@ -389,22 +394,24 @@
150127 car_user_svc_stop_user_req (user_id|1)
150128 car_user_svc_stop_user_resp (user_id|1),(result|1)
150129 car_user_svc_initial_user_info_req_complete (request_type|1)
150130 car_user_svc_logout_user_req (user_id|1),(timeout|1)
150131 car_user_svc_logout_user_resp (hal_callback_status|1),(user_switch_status|1),(error_message|3)
150140 car_user_hal_initial_user_info_req (request_id|1),(request_type|1),(timeout|1)
150141 car_user_hal_initial_user_info_resp (request_id|1),(status|1),(action|1),(user_id|1),(flags|1),(safe_name|3),(user_locales|3)
150142 car_user_hal_switch_user_req (request_id|1),(user_id|1),(user_flags|1),(timeout|1)
150143 car_user_hal_switch_user_resp (request_id|1),(status|1),(result|1),(error_message|3)
150144 car_user_hal_post_switch_user_req (request_id|1),(target_user_id|1),(current_user_id|1)
150145 car_user_hal_get_user_auth_req (int32values|4)
150146 car_user_hal_get_user_auth_resp (int32values|4),(error_message|3)
150146 car_user_hal_get_user_auth_resp (valuesAndError|4)
150147 car_user_hal_legacy_switch_user_req (request_id|1),(target_user_id|1),(current_user_id|1)
150148 car_user_hal_set_user_auth_req (int32values|4)
150149 car_user_hal_set_user_auth_resp (int32values|4),(error_message|3)
150149 car_user_hal_set_user_auth_resp (valuesAndError|4)
150150 car_user_hal_oem_switch_user_req (request_id|1),(target_user_id|1)
150151 car_user_hal_create_user_req (request_id|1),(safe_name|3),(flags|1),(timeout|1)
150152 car_user_hal_create_user_resp (request_id|1),(status|1),(result|1),(error_message|3)
150153 car_user_hal_remove_user_req (target_user_id|1),(current_user_id|1)
150171 car_user_mgr_add_listener (uid|1)
150172 car_user_mgr_remove_listener (uid|1)
150171 car_user_mgr_add_listener (uid|1),(package_name|3),(has_filter|1)
150172 car_user_mgr_remove_listener (uid|1),(package_name|3)
150173 car_user_mgr_disconnected (uid|1)
150174 car_user_mgr_switch_user_req (uid|1),(user_id|1)
150175 car_user_mgr_switch_user_resp (uid|1),(status|1),(error_message|3)
@ -418,6 +425,8 @@
150183 car_user_mgr_remove_user_resp (uid|1),(status|1)
150184 car_user_mgr_notify_lifecycle_listener (number_listeners|1),(event_type|1),(from_user_id|1),(to_user_id|1)
150185 car_user_mgr_pre_create_user_req (uid|1)
150186 car_user_mgr_logout_user_req (uid|1)
150187 car_user_mgr_logout_user_resp (uid|1),(status|1),(error_message|3)
150200 car_dp_mgr_remove_user_req (uid|1),(user_id|1)
150201 car_dp_mgr_remove_user_resp (uid|1),(status|1)
150202 car_dp_mgr_create_user_req (uid|1),(safe_name|3),(flags|1)
@ -426,6 +435,10 @@
150205 car_dp_mgr_start_user_in_background_resp (uid|1),(status|1)
150206 car_dp_mgr_stop_user_req (uid|1),(user_id|1)
150207 car_dp_mgr_stop_user_resp (uid|1),(status|1)
150300 car_pwr_mgr_state_change (state|1)
150301 car_pwr_mgr_garage_mode (status|1)
150302 car_pwr_mgr_pwr_policy_change (policy|3)
150303 car_pwr_mgr_state_req (state|1),(param|1)
201001 system_update (status|1|5),(download_result|1|5),(bytes|2|2),(url|3)
201002 system_update_user (action|3)
202001 vending_reconstruct (changes|1)
@ -486,6 +499,11 @@
210033 security_cert_validation_failure (reason|3)
210034 security_camera_policy_set (package|3),(admin_user|1),(target_user|1),(disabled|1)
210035 security_password_complexity_required (package|3),(admin_user|1),(target_user|1),(complexity|1)
210036 security_password_changed (password_complexity|1),(target_user|1)
210037 security_wifi_connection (bssid|3),(event_type|3),(reason|3)
210038 security_wifi_disconnection (bssid|3),(reason|3)
210039 security_bluetooth_connection (addr|3),(success|1),(reason|3)
210040 security_bluetooth_disconnection (addr|3),(reason|3)
230000 service_manager_stats (call_count|1),(total_time|1|3),(duration|1|3)
230001 service_manager_slow (time|1|3),(service|3)
275534 notification_unautogrouped (key|3)
@ -501,7 +519,8 @@
1010000 bt_hci_timeout (opcode|1)
1010001 bt_config_source (opcode|1)
1010002 bt_hci_unknown_type (hci_type|1)
1030000 wm_rm_from_stopping (User|1|5),(Token|1|5),(Component Name|3),(Reason|3),(Locked|3)
10195355 killinfo (Pid|1|5),(Uid|1|5),(OomAdj|1),(MinOomAdj|1),(TaskSize|1),(enum kill_reasons|1|5),(MemFree|1),(Cached|1),(SwapCached|1),(Buffers|1),(Shmem|1),(Unevictable|1),(SwapTotal|1),(SwapFree|1),(ActiveAnon|1),(InactiveAnon|1),(ActiveFile|1),(InactiveFile|1),(SReclaimable|1),(SUnreclaim|1),(KernelStack|1),(PageTables|1),(IonHeap|1),(IonHeapPool|1),(CmaFree|1),(MsSinceEvent|1),(MsSincePrevWakeup|1),(WakeupsSinceEvent|1),(SkippedWakeups|1),(TaskSwapSize|1),(GPU|1)
1030000 wm_rm_from_stopping (User|1|5),(Token|1|5),(Component Name|3),(Reason|3),(DisplayId|1|5),(Locked|3)
2000000 framework_stats_log (data|4)
10195355 killinfo (Pid|1|5),(Uid|1|5),(OomAdj|1),(MinOomAdj|1),(TaskSize|1),(enum kill_reasons|1|5),(MemFree|1),(Cached|1),(SwapCached|1),(Buffers|1),(Shmem|1),(Unevictable|1),(SwapTotal|1),(SwapFree|1),(ActiveAnon|1),(InactiveAnon|1),(ActiveFile|1),(InactiveFile|1),(SReclaimable|1),(SUnreclaim|1),(KernelStack|1),(PageTables|1),(IonHeap|1),(IonHeapPool|1),(CmaFree|1),(MsSinceEvent|1),(MsSincePrevWakeup|1),(WakeupsSinceEvent|1),(SkippedWakeups|1),(TaskSwapSize|1),(GPU|1),(Thrashing|1),(MaxThrashing|1),(PsiMemSome|5),(PsiMemFull|5),(PsiIoSome|5),(PsiIoFull|5),(PsiCpuSome|5)
1397638484 snet_event_log (subtag|3) (uid|1) (message|3)
1937006964 stats_log (atom_id|1|5),(data|4)

View File

@ -18,4 +18,9 @@
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
system /postinstall ext4 ro,nosuid,nodev,noexec slotselect_other,logical
system /postinstall erofs ro,nosuid,nodev,noexec slotselect_other,logical
/dev/block/by-name/system /postinstall ext4 ro,nosuid,nodev,noexec slotselect_other
/dev/block/by-name/system /postinstall erofs ro,nosuid,nodev,noexec slotselect_other
/dev/block/mapper/system /postinstall ext4 ro,nosuid,nodev,noexec slotselect_other
/dev/block/mapper/system /postinstall erofs ro,nosuid,nodev,noexec slotselect_other

View File

@ -20,22 +20,48 @@
"Controller": "cpuset",
"File": "audio-app/cpus"
},
{
"Name": "MemStats",
"Controller": "memory",
"File": "memory.stat"
},
{
"Name": "MemLimit",
"Controller": "memory",
"File": "memory.limit_in_bytes"
"File": "memory.limit_in_bytes",
"FileV2": "memory.max"
},
{
"Name": "MemSoftLimit",
"Controller": "memory",
"File": "memory.soft_limit_in_bytes"
"File": "memory.soft_limit_in_bytes",
"FileV2": "memory.low"
},
{
"Name": "MemSwappiness",
"Controller": "memory",
"File": "memory.swappiness"
},
{
"Name": "MemUsage",
"Controller": "memory",
"File": "memory.usage_in_bytes"
},
{
"Name": "MemAndSwapUsage",
"Controller": "memory",
"File": "memory.memsw.usage_in_bytes"
},
{
"Name": "MemPressureLevel",
"Controller": "memory",
"File": "memory.pressure_level"
},
{
"Name": "MemCgroupEventControl",
"Controller": "memory",
"File": "cgroup.event_control"
},
{
"Name": "UClampMin",
"Controller": "cpu",
@ -202,7 +228,19 @@
}
]
},
{
"Name": "Dex2oatPerformance",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpu",
"Path": "dex2oat"
}
}
]
},
{
"Name": "CpuPolicySpread",
"Actions": [
@ -455,7 +493,6 @@
}
]
},
{
"Name": "LowIoPriority",
"Actions": [
@ -561,6 +598,33 @@
]
},
{
"Name": "SFMainBoostPolicy",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpuset",
"Path": "boost-app"
}
}
]
},
{
"Name": "SFRenderEngineBoostPolicy",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpuset",
"Path": "boost-app"
}
}
]
},
{
"Name": "PerfBoost",
"Actions": [
@ -667,6 +731,10 @@
"Name": "SCHED_SP_SYSTEM",
"Profiles": [ "ServicePerformance", "LowIoPriority", "TimerSlackNormal" ]
},
{
"Name": "VMCompilationPerformance",
"Profiles": [ "HighPerformance", "ProcessCapacityHigh", "LowIoPriority", "TimerSlackNormal" ]
},
{
"Name": "SCHED_SP_RT_APP",
"Profiles": [ "RealtimePerformance", "MaxIoPriority", "TimerSlackNormal" ]
@ -697,7 +765,11 @@
},
{
"Name": "Dex2OatBootComplete",
"Profiles": [ "SCHED_SP_BACKGROUND" ]
"Profiles": [ "Dex2oatPerformance", "LowIoPriority", "TimerSlackHigh" ]
},
{
"Name": "OtaProfiles",
"Profiles": [ "ServiceCapacityLow", "LowIoPriority", "HighEnergySaving" ]
}
]
}

View File

@ -45,6 +45,11 @@
"Name": "UClampMax",
"Controller": "cpu",
"File": "cpu.uclamp.max"
},
{
"Name": "FreezerState",
"Controller": "freezer",
"File": "cgroup.freeze"
}
],
@ -66,11 +71,11 @@
"Name": "Frozen",
"Actions": [
{
"Name": "JoinCgroup",
"Name": "SetAttribute",
"Params":
{
"Controller": "freezer",
"Path": "frozen"
"Name": "FreezerState",
"Value": "1"
}
}
]
@ -79,11 +84,11 @@
"Name": "Unfrozen",
"Actions": [
{
"Name": "JoinCgroup",
"Name": "SetAttribute",
"Params":
{
"Controller": "freezer",
"Path": ""
"Name": "FreezerState",
"Value": "0"
}
}
]

View File

@ -1,5 +1,7 @@
<!--
Input:
manifest.xml
manifest_wfd.xml
manifest.xml
manifest.xml
manifest.xml
@ -66,6 +68,12 @@
</interface>
<fqname>@2.4::ICameraProvider/legacy/0</fqname>
</hal>
<hal format="hidl">
<name>android.hardware.drm</name>
<transport>hwbinder</transport>
<fqname>@1.3::ICryptoFactory/wfdhdcp</fqname>
<fqname>@1.3::IDrmFactory/wfdhdcp</fqname>
</hal>
<hal format="hidl">
<name>android.hardware.gatekeeper</name>
<transport>hwbinder</transport>
@ -201,6 +209,16 @@
</interface>
<fqname>@1.1::IDisplayPanel/default</fqname>
</hal>
<hal format="hidl">
<name>com.motorola.hardware.display.touch</name>
<transport>hwbinder</transport>
<version>1.1</version>
<interface>
<name>IMotTouch</name>
<instance>default</instance>
</interface>
<fqname>@1.1::IMotTouch/default</fqname>
</hal>
<hal format="hidl">
<name>com.qualcomm.qti.dpm.api</name>
<transport>hwbinder</transport>
@ -281,6 +299,26 @@
</interface>
<fqname>@1.0::IMotStorage/default</fqname>
</hal>
<hal format="hidl">
<name>motorola.hardware.light</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IMotLight</name>
<instance>default</instance>
</interface>
<fqname>@1.0::IMotLight/default</fqname>
</hal>
<hal format="hidl">
<name>motorola.hardware.vibrator</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IMotVibrator</name>
<instance>default</instance>
</interface>
<fqname>@1.0::IMotVibrator/default</fqname>
</hal>
<hal format="hidl">
<name>motorola.hardware.wifi.supplicant</name>
<transport>hwbinder</transport>
@ -291,6 +329,36 @@
</interface>
<fqname>@1.1::ISupplicantMot/default</fqname>
</hal>
<hal format="hidl">
<name>motorola.hardware.wireless.wlc</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IMotWlc</name>
<instance>default</instance>
</interface>
<fqname>@1.0::IMotWlc/default</fqname>
</hal>
<hal format="hidl">
<name>vendor.nxp.nxpnfc</name>
<transport>hwbinder</transport>
<version>2.0</version>
<interface>
<name>INxpNfc</name>
<instance>default</instance>
</interface>
<fqname>@2.0::INxpNfc/default</fqname>
</hal>
<hal format="hidl">
<name>vendor.nxp.nxpnfclegacy</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>INxpNfcLegacy</name>
<instance>default</instance>
</interface>
<fqname>@1.0::INxpNfcLegacy/default</fqname>
</hal>
<hal format="hidl">
<name>vendor.qti.data.factory</name>
<transport>hwbinder</transport>
@ -528,14 +596,14 @@
<hal format="hidl">
<name>vendor.qti.hardware.radio.qtiradio</name>
<transport>hwbinder</transport>
<version>2.6</version>
<version>2.7</version>
<interface>
<name>IQtiRadio</name>
<instance>slot1</instance>
<instance>slot2</instance>
</interface>
<fqname>@2.6::IQtiRadio/slot1</fqname>
<fqname>@2.6::IQtiRadio/slot2</fqname>
<fqname>@2.7::IQtiRadio/slot1</fqname>
<fqname>@2.7::IQtiRadio/slot2</fqname>
</hal>
<hal format="hidl">
<name>vendor.qti.hardware.radio.uim</name>
@ -603,6 +671,31 @@
</interface>
<fqname>@1.0::IWifiStats/wifiStats</fqname>
</hal>
<hal format="hidl">
<name>vendor.qti.hardware.wifidisplaysession</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IWifiDisplaySession</name>
<instance>wifidisplaysession</instance>
</interface>
<interface>
<name>IWifiDisplaySessionAudioTrack</name>
<instance>wifidisplaysessionaudiotrack</instance>
</interface>
<interface>
<name>IWifiDisplaySessionImageTrack</name>
<instance>wifidisplaysessionimagetrack</instance>
</interface>
<interface>
<name>IWifiDisplaySessionVideoTrack</name>
<instance>wifidisplaysessionvideotrack</instance>
</interface>
<fqname>@1.0::IWifiDisplaySession/wifidisplaysession</fqname>
<fqname>@1.0::IWifiDisplaySessionAudioTrack/wifidisplaysessionaudiotrack</fqname>
<fqname>@1.0::IWifiDisplaySessionImageTrack/wifidisplaysessionimagetrack</fqname>
<fqname>@1.0::IWifiDisplaySessionVideoTrack/wifidisplaysessionvideotrack</fqname>
</hal>
<hal format="hidl">
<name>vendor.qti.ims.callinfo</name>
<transport>hwbinder</transport>
@ -617,11 +710,13 @@
<name>vendor.qti.ims.factory</name>
<transport>hwbinder</transport>
<version>1.1</version>
<version>2.2</version>
<interface>
<name>IImsFactory</name>
<instance>default</instance>
</interface>
<fqname>@1.1::IImsFactory/default</fqname>
<fqname>@2.2::IImsFactory/default</fqname>
</hal>
<hal format="hidl">
<name>vendor.qti.imsrtpservice</name>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -72,7 +72,6 @@ firmware_directories /vendor/firmware_mnt/image/
/dev/smd2 0660 bluetooth bluetooth
/dev/smd3 0660 bluetooth bluetooth
/dev/btpower 0660 bluetooth system
/dev/btfmslim 0660 bluetooth system
#permissions for pta
/dev/pta 0660 system system
@ -135,6 +134,7 @@ firmware_directories /vendor/firmware_mnt/image/
/dev/cvp* 0660 system camera
/dev/media* 0660 system camera
/dev/v4l-subdev* 0660 system camera
/dev/cci_intf 0660 system camera
/dev/qseecom 0660 system drmrpc
/dev/qce 0660 system drmrpc
/dev/smcinvoke 0660 system drmrpc
@ -174,11 +174,30 @@ firmware_directories /vendor/firmware_mnt/image/
#qvr
/dev/qvr_external_sensor_ioctl 0660 system system
/dev/bus/usb/* 0660 root usb
/dev/hidraw* 0660 root usb
/sys/kernel/qvr_external_sensor/fd 0660 system system
/dev/bus/usb/001/002 0660 system system
/dev/bus/usb/001/003 0660 system system
/dev/bus/usb/001/004 0660 system system
/dev/bus/usb/001/005 0660 system system
/dev/bus/usb/002/002 0660 system system
/dev/bus/usb/002/003 0660 system system
/dev/bus/usb/002/004 0660 system system
/dev/bus/usb/002/005 0660 system system
/dev/bus/usb/003/002 0660 system system
/dev/bus/usb/003/003 0660 system system
/dev/bus/usb/003/004 0660 system system
/dev/bus/usb/003/005 0660 system system
/dev/hidraw0 0660 system system
/dev/hidraw1 0660 system system
/dev/hidraw2 0660 system system
/dev/hidraw3 0660 system system
/dev/hidraw4 0660 system system
/dev/hidraw5 0660 system system
/dev/hidraw6 0660 system system
/dev/hidraw7 0660 system system
/dev/hidraw8 0660 system system
/dev/hidraw9 0660 system system
#rawdump
/dev/block/platform/soc/*/by-name/rawdump 0660 root system
# Trustonic TEE device
/dev/mobicore 0600 system system
/dev/mobicore-user 0666 system system
@ -408,9 +427,6 @@ firmware_directories /vendor/firmware_mnt/image/
/sys/devices/virtual/hdcp/msm_hdcp min_level_change 0664 system graphics
#KGSL
/sys/class/kgsl/kgsl-3d0 perfcounter 0660 root shell
# sys-fs display
/sys/class/graphics/fb* hpd 0664 system graphics
/sys/class/graphics/fb* res_info 0664 system graphics
@ -509,7 +525,7 @@ firmware_directories /vendor/firmware_mnt/image/
/dev/fpsensor 0660 system system
/dev/goodix_fp 0664 system system
/dev/esfp0 0664 system system
/dev/silead_fp 0664 system system
/dev/focaltech_fp 0664 system system
# Change permission for FPC fingerprint
/sys/class/fingerprint/fpc1020 nav 0440 system system

View File

@ -8,15 +8,16 @@
$(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
# Inherit from corfur device
$(call inherit-product, device/motorola/corfur/device.mk)
# Inherit from miami device
$(call inherit-product, device/motorola/miami/device.mk)
# Inherit some common twrp stuff.
$(call inherit-product, vendor/twrp/config/common.mk)
## Device identifier. This must come after all inclusions
PRODUCT_NAME := twrp_corfur
PRODUCT_DEVICE := corfur
PRODUCT_NAME := twrp_miami
PRODUCT_DEVICE := miami
PRODUCT_MANUFACTURER := motorola
PRODUCT_BRAND := motorola
PRODUCT_MODEL := moto g71 5G
PRODUCT_MODEL := edge 30 neo