预装讯飞输入法 1 vendor iFlyIME_v6.0.2649.apk 拷贝到 \alps\vendor\MTK_SysTestadmin管理员组文章数量:1564645
iFlyIME_v6.0.2649.apk 改iFlyIME_v6.0.2649.zip 解压取其中lib 拷贝到
\alps\vendor\MTK_SysTest 2 iFlyIME_v6.0.2649.apk 改 iFlyIME_v6.0.2649.zip 解压取其中lib 拷贝到
\alps\out\target\product\bd6735_65c_a_l1\system\app\iFlyIME\lib\arm
修改\alps\vendor\MTK_SysTest\ Android.mk 添加 include $(CLEAR_VARS) LOCAL_MODULE := iFlyIME LOCAL_MODULE_TAGS := optional LOCAL_SRC_FILES := $(LOCAL_MODULE).apk LOCAL_MODULE_CLASS := APPS LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX) LOCAL_CERTIFICATE := PRESIGNED #LOCAL_MODULE_PATH := $(TARGET_OUT)/vendor/operator/app LOCAL_POST_PROCESS_COMMAND := $(shell cp -r $(LOCAL_PATH)/iFlyIME.apk $(TARGET_OUT)/app/) include $(BUILD_PREBUILT)
\alps\build\target\product\core.mk
PRODUCT_PACKAGES += \ 添加 iFlyIME \
添加 PRODUCT_COPY_FILES += vendor/MTK_SysTest/libBugly.so:system/app/iFlyIME/lib/arm/libBugly.so PRODUCT_COPY_FILES += vendor/MTK_SysTest/libmsc-v8.so:system/app/iFlyIME/lib/arm/libmsc-v8.so PRODUCT_COPY_FILES += vendor/MTK_SysTest/libsmartaiwrite-jni-v18.so:system/app/iFlyIME/lib/arm/libsmartaiwrite-jni-v18.so PRODUCT_COPY_FILES += vendor/MTK_SysTest/libvadLib-v5.so:system/app/iFlyIME/lib/arm/libvadLib-v5.so
alps\device\bird\xxxxxxxxxx\ ProjectConfig.mk DEFAULT_INPUT_METHOD = com.iflytek.inputmethod.FlyIME
3 alps\frameworks\base\services\core\java\com\android\server\InputMethodManagerService.java
//M:make sure at least enable one input method @{ if (TextUtils.isEmpty(mSettings.getEnabledInputMethodsStr())) { for (int i = 0; i < list.size(); ++i) { final InputMethodInfo imi = list.get(i); if (InputMethodUtils.isSystemIme(imi)) { setInputMethodEnabledLocked(imi.getId(), true); break; } } } 2833行 add //default input mothod else{ setInputMethodEnabledLocked(mSettings.getEnabledInputMethodsStr(), true); }
4
E:\workspace\MTK6735_default_inputmethod\frameworks\base\packages\SettingsProvider\src\com\android\providers\settings\DatabaseHelper.java
(1) private void loadSystemSettings(SQLiteDatabase db) { SQLiteStatement stmt = null; try { stmt = dbpileStatement("INSERT OR IGNORE INTO system(name,value)" + " VALUES(?,?);");
(2) // Allow mock locations default, based on build loadSetting(stmt, Settings.Secure.ALLOW_MOCK_LOCATION, "1".equals(SystemProperties.get("ro.allow.mock.location")) ? 1 : 0);
loadSecure35Settings(stmt);
loadStringSetting(stmt, Settings.Secure.ENABLED_INPUT_METHODS, R.string.def_input_method); loadStringSetting(stmt, Settings.Secure.DEFAULT_INPUT_METHOD, R.string.def_input_method);
5 alps\MTK6735_default_inputmethod\frameworks\base\packages\SettingsProvider\res\values\defaults.xml
末尾add <string name="def_barcode_separator_prefix"></string> <string name="def_barcode_separator_suffix"></string>
<string name="def_security_password" translatable="false"></string> <string name="def_app_restrict_list" translatable="false"></string>
<string name="def_input_method" translatable="false"></string> </resources>
mtkapp预装位置 alps\vendor\mediatek\proprietary\packages\autosanity
firefox 预装方法
1 vendor Firefox.apk 拷贝到 alps\vendor\MTK_SysTest
Firefox.apk 改Firefox.zip 解压取其中lib 拷贝到
alps\vendor\MTK_SysTest 2 Firefox.apk 改 Firefox.zip 解压取其中lib 拷贝到 \alps\out\target\product\xxxxxxxxxx\system\app\ Firefox\lib\arm Firefox .apk 拷贝到
alps\out\target\product\xxxxxxxxx\system\app\
\alps\out\target\product\xxxxxxxx\system\app\Firefox
修改\alps\vendor\MTK_SysTest\ Android.mk 添加 # add firefox qnnming include $(CLEAR_VARS) LOCAL_MODULE := Firefox LOCAL_MODULE_TAGS := optional LOCAL_SRC_FILES := $(LOCAL_MODULE).apk LOCAL_MODULE_CLASS := APPS LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX) LOCAL_CERTIFICATE := PRESIGNED #LOCAL_MODULE_PATH := $(TARGET_OUT)/vendor/operator/app LOCAL_POST_PROCESS_COMMAND := $(shell cp -r $(LOCAL_PATH)/Firefox.apk $(TARGET_OUT)/app/) include $(BUILD_PREBUILT)
alps\build\target\product\core.mk
PRODUCT_PACKAGES += \ 添加 Firefox \ 末尾 #qnnming add Firefox PRODUCT_COPY_FILES += vendor/MTK_SysTest/liblocSDK6a.so:system/app/Firefox/lib/arm/liblocSDK6a.so PRODUCT_COPY_FILES += vendor/MTK_SysTest/libmozglue.so:system/app/Firefox/lib/arm/libmozglue.so PRODUCT_COPY_FILES += vendor/MTK_SysTest/libplugin-container.so:system/app/Firefox/lib/arm/libplugin-container.so PRODUCT_COPY_FILES += vendor/MTK_SysTest/libplugin-container-pie.so:system/app/Firefox/lib/arm/libplugin-container-pie.so $(call inherit-product, $(SRC_TARGET_DIR)/product/core_base.mk)
本文标签: app
版权声明:本文标题:[mt6735]预装APp 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/xitong/1727480007a1116708.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论