universal7885: Import debugging script

* https://github.com/SamarV-121/android_vendor_extra/blob/android-12.0/prebuilt/init/debugging.rc
This commit is contained in:
Gabriel2392 2021-10-22 10:34:56 +00:00 committed by roynatech2544
commit af95ebdf2b
No known key found for this signature in database
GPG key ID: 9675C32163D88D30
9 changed files with 46 additions and 4 deletions

5
.gitignore vendored Normal file
View file

@ -0,0 +1,5 @@
universal7885-common/vendor_name
a20e/AndroidProducts.mk
a20/AndroidProducts.mk

2
a20e/AndroidProducts.mk Normal file
View file

@ -0,0 +1,2 @@
# Auto-Generated by device/samsung/a20e/setup.sh
PRODUCT_MAKEFILES += $(LOCAL_DIR)/aosp_a20e.mk

View file

@ -65,8 +65,8 @@
<name>IDrmFactory</name>
<instance>default</instance>
</interface>
<fqname>@1.2::ICryptoFactory/widevine</fqname>
<fqname>@1.2::IDrmFactory/widevine</fqname>
<fqname>@1.3::ICryptoFactory/widevine</fqname>
<fqname>@1.3::IDrmFactory/widevine</fqname>
</hal>
<hal format="hidl">
<name>android.hardware.gatekeeper</name>

View file

@ -29,7 +29,6 @@
<item>"/system_ext/priv-app/SystemUI/SystemUI.apk"</item>
<item>"/system/bin/surfaceflinger"</item>
</string-array>
<bool name="config_pinnerCameraApp">true</bool>
<string name="config_radio_access_family">GSM|CDMA|EVDO|WCDMA|LTE</string>
<integer name="config_fingerprintMaxTemplatesPerUser">4</integer>
<integer-array name="config_longPressVibePattern">

View file

@ -40,3 +40,11 @@ LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/$(LOCAL_MODULE)
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := debug.rc
LOCAL_MODULE_TAGS := optional
LOCAL_MODUE_CLASS := ETC
LOCAL_SRC_FILES := etc/$(LOCAL_MODULE)
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init
include $(BUILD_PREBUILT)

View file

@ -0,0 +1,17 @@
on property:sys.boot_completed=1
stop kerneld
stop logd
on post-fs-data
rm /data/kmsg.txt
rm /data/misc/logd/logcat.txt
service kerneld /system/bin/sh -c "cat /proc/kmsg > /data/kmsg.txt"
class main
user root
group system
service logcatd /system/bin/logcat -f /data/misc/logd/logcat.txt -v threadtime
class main
user root
group system

View file

@ -1 +1 @@
allow hal_keymaster_default prov_efs_file r_file_perms;
allow hal_keymaster_default prov_efs_file:file r_file_perms;

View file

@ -270,3 +270,13 @@ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf
PRODUCT_CFI_INCLUDE_PATHS += hardware/samsung_slsi/scsc_wifibt/wpa_supplicant_lib
# SamsungParts
PRODUCT_PACKAGES += \
SamsungParts \
android.software.samsungparts@1.0-service
# Debug
ifeq ($(TARGET_BUILD_VARIENT),eng)
PRODUCT_PACKAGES += debug.rc
endif

View file

@ -0,0 +1 @@
aosp