rosemary: Initial device vendor commit

This commit is contained in:
Matsvei Niaverau
2022-12-04 15:22:16 +01:00
commit 56fc5e19cf
2621 changed files with 47298 additions and 0 deletions

143
Android.bp Normal file
View File

@@ -0,0 +1,143 @@
// Automatically generated file. DO NOT MODIFY
//
// This file is generated by device/xiaomi/rosemary/setup-makefiles.sh
soong_namespace {
}
cc_prebuilt_library_shared {
name: "libwifi-hal-mtk",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: ["proprietary/vendor/lib64/libwifi-hal-mtk.so"],
},
},
compile_multilib: "64",
check_elf_files: false,
prefer: true,
soc_specific: true,
}
android_app_import {
name: "ImsService",
owner: "xiaomi",
apk: "proprietary/priv-app/ImsService/ImsService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
}
dex_import {
name: "mediatek-common",
owner: "xiaomi",
jars: ["proprietary/framework/mediatek-common.jar"],
}
dex_import {
name: "mediatek-framework",
owner: "xiaomi",
jars: ["proprietary/framework/mediatek-framework.jar"],
}
dex_import {
name: "mediatek-ims-base",
owner: "xiaomi",
jars: ["proprietary/framework/mediatek-ims-base.jar"],
}
dex_import {
name: "mediatek-ims-common",
owner: "xiaomi",
jars: ["proprietary/framework/mediatek-ims-common.jar"],
}
dex_import {
name: "mediatek-ims-extension-plugin",
owner: "xiaomi",
jars: ["proprietary/framework/mediatek-ims-extension-plugin.jar"],
}
dex_import {
name: "mediatek-ims-legacy",
owner: "xiaomi",
jars: ["proprietary/framework/mediatek-ims-legacy.jar"],
}
dex_import {
name: "mediatek-telecom-common",
owner: "xiaomi",
jars: ["proprietary/framework/mediatek-telecom-common.jar"],
}
dex_import {
name: "mediatek-telephony-base",
owner: "xiaomi",
jars: ["proprietary/framework/mediatek-telephony-base.jar"],
}
dex_import {
name: "mediatek-telephony-common",
owner: "xiaomi",
jars: ["proprietary/framework/mediatek-telephony-common.jar"],
}
prebuilt_etc_xml {
name: "vendor.mediatek.hardware.gpu@1.0-service",
owner: "xiaomi",
src: "proprietary/vendor/etc/vintf/manifest/vendor.mediatek.hardware.gpu@1.0-service.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "android.hardware.neuralnetworks@1.3-service-mtk-dsp-gpu",
owner: "xiaomi",
src: "proprietary/vendor/etc/vintf/manifest/android.hardware.neuralnetworks@1.3-service-mtk-dsp-gpu.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "android.hardware.wifi.hostapd",
owner: "xiaomi",
src: "proprietary/vendor/etc/vintf/manifest/android.hardware.wifi.hostapd.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "wpa_supplicant",
owner: "xiaomi",
src: "proprietary/vendor/etc/vintf/manifest/wpa_supplicant.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "manifest_android.hardware.drm@1.3-service.widevine",
owner: "xiaomi",
src: "proprietary/vendor/etc/vintf/manifest/manifest_android.hardware.drm@1.3-service.widevine.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "vendor.mediatek.hardware.dplanner@2.0-service",
owner: "xiaomi",
src: "proprietary/vendor/etc/vintf/manifest/vendor.mediatek.hardware.dplanner@2.0-service.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}

9
Android.mk Normal file
View File

@@ -0,0 +1,9 @@
# Automatically generated file. DO NOT MODIFY
#
# This file is generated by device/xiaomi/rosemary/setup-makefiles.sh
LOCAL_PATH := $(call my-dir)
ifeq ($(TARGET_DEVICE),rosemary)
endif

4
BoardConfigVendor.mk Normal file
View File

@@ -0,0 +1,4 @@
# Automatically generated file. DO NOT MODIFY
#
# This file is generated by device/xiaomi/rosemary/setup-makefiles.sh

BIN
proprietary/bin/kpoc_charger Executable file

Binary file not shown.

BIN
proprietary/bin/vtservice Executable file

Binary file not shown.

View File

@@ -0,0 +1,8 @@
# VTService .rc configure
service vtservice /system/bin/vtservice
class main
user system
group system camera graphics inet net_admin net_raw media sdcard_rw radio sdcard_r media_rw
capabilities NET_ADMIN NET_RAW
ioprio rt 4

View File

@@ -0,0 +1,7 @@
on charger
start kpoc_charger
service kpoc_charger /system/bin/kpoc_charger
class charger
group system wakelock
capabilities BLOCK_SUSPEND SYS_ADMIN SYS_BOOT

View File

@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!--
openssl x509 -in platform.x509.pem -outform DER | xxd -c 256 -g0 -p | awk '$1=$1' RS= OFS=
-->
<!-- C=FR, ST=Alpes Maritimes, L=Sophia, O=SMD, OU=MMS, CN=ADM -->
<signer
android:signature="308202fd308202bba003020102020453762c1e300b06072a8648ce38040305003062310b3009060355040613024652311830160603550408130f416c706573204d61726974696d6573310f300d06035504071306536f70686961310c300a060355040a1303534d44310c300a060355040b13034d4d53310c300a0603550403130341444d301e170d3134303531363135313735305a170d3334303531313135313735305a3062310b3009060355040613024652311830160603550408130f416c706573204d61726974696d6573310f300d06035504071306536f70686961310c300a060355040a1303534d44310c300a060355040b13034d4d53310c300a0603550403130341444d308201b73082012c06072a8648ce3804013082011f02818100fd7f53811d75122952df4a9c2eece4e7f611b7523cef4400c31e3f80b6512669455d402251fb593d8d58fabfc5f5ba30f6cb9b556cd7813b801d346ff26660b76b9950a5a49f9fe8047b1022c24fbba9d7feb7c61bf83b57e7c6a8a6150f04fb83f6d3c51ec3023554135a169132f675f3ae2b61d72aeff22203199dd14801c70215009760508f15230bccb292b982a2eb840bf0581cf502818100f7e1a085d69b3ddecbbcab5c36b857b97994afbbfa3aea82f9574c0b3d0782675159578ebad4594fe67107108180b449167123e84c281613b7cf09328cc8a6e13c167a8b547c8d28e0a3ae1e2bb3a675916ea37f0bfa213562f1fb627a01243bcca4f1bea8519089a883dfe15ae59f06928b665e807b552564014c3bfecf492a0381840002818039894cc2f3cca354fbffe6daf45559ba91ef6790276c1cdcc1853fed81dad3065efd50bbda158a89bcd5a75113df8f25ade1509e2715d28020966ecfbd83e2d44140cc79b1468e5264fc805c7c01176a1494e8e4c9b966655afd5193b70241e947e70bfbf56e3c02b3d941678a6b73c9baaa0aaceedbbd599faf94b7ef658d4b300b06072a8648ce3804030500032f00302c021459d0b2c254f722cbba9e2eb429fdc54668542a9702142c6d102451b55da8501003abeffb2f137b6a20d3">
<package android:name="com.android.stnfcmanager"/>
</signer>
<!-- C=TW, ST=Taipei, L=Mountain View, O=Android, OU=Android, CN=Android/emailAddress=MTK@MTK.com -->
<signer
android:signature="308204843082036ca00302010202090096656075da6656a9300d06092a864886f70d0101050500308188310b3009060355040613025457310f300d06035504081306546169706569311630140603550407130d4d6f756e7461696e20566965773110300e060355040a1307416e64726f69643110300e060355040b1307416e64726f69643110300e06035504031307416e64726f6964311a301806092a864886f70d010901160b4d544b404d544b2e636f6d301e170d3131303830333036323533365a170d3338313231393036323533365a308188310b3009060355040613025457310f300d06035504081306546169706569311630140603550407130d4d6f756e7461696e20566965773110300e060355040a1307416e64726f69643110300e060355040b1307416e64726f69643110300e06035504031307416e64726f6964311a301806092a864886f70d010901160b4d544b404d544b2e636f6d30820120300d06092a864886f70d01010105000382010d00308201080282010100ce83f9edb4fbd1512de26d2695ab9ebb663735628d5f3cea10ccfaaba5e35468aee0c155a7483c5744af647e6a8d4e9138c0ea471923b4a2ebf552b1b74bf67b0cc597811d48feadf2baf18e0f33383ef0de10a937ea18c05bfa49c96550dab4a4f5650349f7d6cbccaf57169e04f4eb689af74020e9c02c3a6bd6fc26e029de913575e074dd70bfa3f953b6d72cc02d64587c275a569061b7102222ef2c8241a2969348cbcfeb25bc99b14cf768c4eb82c79cffd3d322c8d5c67bdb24f4d1c3de5c5f5ba6818ab98dfa070fec98f5e1af4d0c5e1e13d58c204583d6e4e861ab5e012225000c7dd9882d2e1e8e111e2e4e3bd571356d54fda0c1bd6eaa45351d020103a381f03081ed301d0603551d0e04160414548337e068ce5c22ea1344740298198d9aabf1ac3081bd0603551d230481b53081b28014548337e068ce5c22ea1344740298198d9aabf1aca1818ea4818b308188310b3009060355040613025457310f300d06035504081306546169706569311630140603550407130d4d6f756e7461696e20566965773110300e060355040a1307416e64726f69643110300e060355040b1307416e64726f69643110300e06035504031307416e64726f6964311a301806092a864886f70d010901160b4d544b404d544b2e636f6d82090096656075da6656a9300c0603551d13040530030101ff300d06092a864886f70d01010505000382010100b6ecc63f97c379dfe40ce1853d77159f79491338e78de100a1f5d940ce9780a3a379ed1241b678162a17a5a2d6e147d5be6550ccfdfc139b2cb9d924d9ac49822a9cf3f3f9fb94041d3fc9317cbf011b1f17aa7a19657cde416c2049716857e2e1c169486752fa9f2096d0fb0ff07b8bde5a264d22103eeb24b0e1d0ad861fb51cd43dba724cc2b76d603245b1ab6c68b05222486c2563d5d10822079a516f676670fcfa964a4d4cd07ef3b69a2d2bacbeaec26b5b9b77f77d56ffaf230ae3422a760ae44d21f9eee84abf0f3a6e8c1bae2b737dd23dfa187769f5d75088998f9ad4125666c6cfb78c1f68de43e4f3b9ef68b1a4a79920463b35b7c79766527f">
<package android:name="org.simalliance.openmobileapi.service"/>
<package android:name="org.simalliance.openmobileapi.eseterminal"/>
<package android:name="com.android.se"/>
</signer>
<!-- /C=TW/ST=Taipei/L=Mountain View/O=Android/OU=Android/CN=Android/emailAddress=MTKandST@nfc.world -->
<signer
android:signature="308203f3308202dba003020102020900fed5ddb3feb08b04300d06092a864886f70d010105050030818f310b3009060355040613025457310f300d06035504080c065461697065693116301406035504070c0d4d6f756e7461696e20566965773110300e060355040a0c07416e64726f69643110300e060355040b0c07416e64726f69643110300e06035504030c07416e64726f69643121301f06092a864886f70d01090116124d544b616e645354406e66632e776f726c64301e170d3137303630313031333135335a170d3434313031373031333135335a30818f310b3009060355040613025457310f300d06035504080c065461697065693116301406035504070c0d4d6f756e7461696e20566965773110300e060355040a0c07416e64726f69643110300e060355040b0c07416e64726f69643110300e06035504030c07416e64726f69643121301f06092a864886f70d01090116124d544b616e645354406e66632e776f726c6430820122300d06092a864886f70d01010105000382010f003082010a0282010100c5eefdc725b661408c46835615990086079ffb0a645dc4617e115b72e350b77271cd1058da5eb4b241cc52759449267a7d9099fd1b6613797d352a4550cc871075ad372152a5e6ec97d0da6ddd10180ffb9a0bc659e55710a699aacf465ecbd63d5aacb7dbb6196bc5a34397805a5ff9ecfd6ec020bd7ba23c5f2da75decf5f6b12122f3341448ce340f01ebfa39d0dbd3680acac28a4ad1d4cbdbd0f2dc30d7e063c73f475e0e3640a2d23b0b130ad5f90651acd12c7ff87852007efc73a920d9be33f2b0a1169ba7249273217a6f1a92dbdadfdd2942775153939daebaa8093ddc59fb392091b515c184c821394bcc920ec1383f570caa5ec9161b488a1bfb0203010001a350304e301d0603551d0e04160414fb61086bd21d6f1fc42c47c1ddf1b17a0d633f0f301f0603551d23041830168014fb61086bd21d6f1fc42c47c1ddf1b17a0d633f0f300c0603551d13040530030101ff300d06092a864886f70d0101050500038201010098fb993edba156bf54258cdd3f5a3e9c050f6bc8e3b95eef7b74f92089c14d7d1fc81e260b7f3ac54d4b0d072ab8dbe2773f51258ed5d97263d3c564884991662386bfe90d16c9d9741494cfbd4c5c8c5b64845cb69f590b551c2ed1243bf01caed4a3dea3559cb1028cc868a26e26f1afa687457b90979d9440d8198695019ed87cd47d747280e956473bb603e54bb307161e08508d648f8197dbd0bd439b21e331cddbeb6650585e95eb63dd5f0afc91a36054e42f662562127ce133bf6f95a28967d010c96610bec0419543a12d27db477d6518bfa4cc44647a4932e4c8a8e7fef556c70c6311572787de4f2d0ff63b6ada67abb1a7421a7a895522cb1c0c">
<package android:name="org.simalliance.openmobileapi.service"/>
<package android:name="org.simalliance.openmobileapi.eseterminal"/>
<package android:name="com.android.se"/>
</signer>
<!-- C=US, ST=California, L=Mountain View, O=Android, OU=Android, CN=Android/emailAddress=android@android.com -->
<!-- <signer
android:signature="308204a830820390a003020102020900b3998086d056cffa300d06092a864886f70d0101040500308194310b3009060355040613025553311330110603550408130a43616c69666f726e6961311630140603550407130d4d6f756e7461696e20566965773110300e060355040a1307416e64726f69643110300e060355040b1307416e64726f69643110300e06035504031307416e64726f69643122302006092a864886f70d0109011613616e64726f696440616e64726f69642e636f6d301e170d3038303431353232343035305a170d3335303930313232343035305a308194310b3009060355040613025553311330110603550408130a43616c69666f726e6961311630140603550407130d4d6f756e7461696e20566965773110300e060355040a1307416e64726f69643110300e060355040b1307416e64726f69643110300e06035504031307416e64726f69643122302006092a864886f70d0109011613616e64726f696440616e64726f69642e636f6d30820120300d06092a864886f70d01010105000382010d003082010802820101009c780592ac0d5d381cdeaa65ecc8a6006e36480c6d7207b12011be50863aabe2b55d009adf7146d6f2202280c7cd4d7bdb26243b8a806c26b34b137523a49268224904dc01493e7c0acf1a05c874f69b037b60309d9074d24280e16bad2a8734361951eaf72a482d09b204b1875e12ac98c1aa773d6800b9eafde56d58bed8e8da16f9a360099c37a834a6dfedb7b6b44a049e07a269fccf2c5496f2cf36d64df90a3b8d8f34a3baab4cf53371ab27719b3ba58754ad0c53fc14e1db45d51e234fbbe93c9ba4edf9ce54261350ec535607bf69a2ff4aa07db5f7ea200d09a6c1b49e21402f89ed1190893aab5a9180f152e82f85a45753cf5fc19071c5eec827020103a381fc3081f9301d0603551d0e041604144fe4a0b3dd9cba29f71d7287c4e7c38f2086c2993081c90603551d230481c13081be80144fe4a0b3dd9cba29f71d7287c4e7c38f2086c299a1819aa48197308194310b3009060355040613025553311330110603550408130a43616c69666f726e6961311630140603550407130d4d6f756e7461696e20566965773110300e060355040a1307416e64726f69643110300e060355040b1307416e64726f69643110300e06035504031307416e64726f69643122302006092a864886f70d0109011613616e64726f696440616e64726f69642e636f6d820900b3998086d056cffa300c0603551d13040530030101ff300d06092a864886f70d01010405000382010100572551b8d93a1f73de0f6d469f86dad6701400293c88a0cd7cd778b73dafcc197fab76e6212e56c1c761cfc42fd733de52c50ae08814cefc0a3b5a1a4346054d829f1d82b42b2048bf88b5d14929ef85f60edd12d72d55657e22e3e85d04c831d613d19938bb8982247fa321256ba12d1d6a8f92ea1db1c373317ba0c037f0d1aff645aef224979fba6e7a14bc025c71b98138cef3ddfc059617cf24845cf7b40d6382f7275ed738495ab6e5931b9421765c491b72fb68e080dbdb58c2029d347c8b328ce43ef6a8b15533edfbe989bd6a48dd4b202eda94c6ab8dd5b8399203daae2ed446232e4fe9bd961394c6300e5138e3cfd285e6e4e483538cb8b1b357">
<package android:name="org.simalliance.openmobileapi.service"/>
<package android:name="org.simalliance.openmobileapi.eseterminal"/>
<package android:name="com.android.se"/>
</signer> -->
</resources>

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
proprietary/lib/libimsma.so 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.

BIN
proprietary/lib/libsink.so 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.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
proprietary/vendor/bin/STFlashTool vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/SoterProvisioningTool vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/atcid vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/audiocmdservice_atci vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/autobt vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/batterysecret vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/bip vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/bp_kmsetkey_ca vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/cal_tool vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/ccci_fsd vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/ccci_mdinit vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/ccci_rpcd vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/charon vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/consumerird vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/em_hidl vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/epdg_wod vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/factory vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/fuelgauged vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/fuelgauged_nvram vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/gsm0710muxd vendored Executable file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
proprietary/vendor/bin/hw/hostapd vendored Normal file

Binary file not shown.

BIN
proprietary/vendor/bin/hw/mtkfusionrild vendored 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.

BIN
proprietary/vendor/bin/hw/vtservice_hidl vendored Normal file

Binary file not shown.

BIN
proprietary/vendor/bin/hw/wpa_supplicant vendored Normal file

Binary file not shown.

BIN
proprietary/vendor/bin/ipsec_mon vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/kmsetkey vendored Executable file

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More