[高通MSM8909][Android8.1]默认启用第三方输入法

高通MSM8909下Android 7.1.2的GPIO驱动配置记录 需要修改的文件: 1. 修改设备树文件 kernel/arch/arm/boot/dts/qcom/msm8909-mtp.dtsi 在&soc下添加 test_gpio { compatible = "test_gpio"; test_gpio,gpio0 = <&msm_gpio 0 0>; qcom,num-grp-pins = <1>; qcom,pin-f 阅读详情

开发平台基本信息

芯片: MSM8909
版本: Android 8.1
kernel: msm-3.18

问题描述

Android原生系统默认的输入法只支持英语输入,而经常有客户要求内置其他语言的输入法,比如中文拼音、韩语、法语等等。为了维护固件的统一性,第三方输入法我一般不会编译到内核中,都是后续通过oem镜像或者静默安装内置的;将输入法安装进系统发现第三方输入法不会默认启用,需要到系统设置的输入法中进行启用。

解决方法

--- a/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
+++ b/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
@@ -18,6 +18,7 @@
 -->
 <resources>
     <bool name="def_dim_screen">true</bool>
+    <string name="google_input_method" translatable="false">com.google.android.inputmethod.pinyin/.PinyinIME</string>
     <integer name="def_screen_off_timeout">60000</integer>
        <integer name="Telpo_screen_never_sleep">2147483646</integer>
     <integer name="def_sleep_timeout">-1</integer>
--- a/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java
+++ b/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java
@@ -2399,6 +2399,9 @@ class DatabaseHelper extends SQLiteOpenHelper {
 
             loadStringSetting(stmt, Settings.Secure.LOCATION_PROVIDERS_ALLOWED,
                     R.string.def_location_providers_allowed);
+
+            loadStringSetting(stmt, Settings.Secure.ENABLED_INPUT_METHODS,R.string.google_input_method);
+
 
             // Don't do this.  The SystemServer will initialize ADB_ENABLED from a
             // persistent system property instead.
高通MSM8909芯片参考资料免费下载 高通MSM8909芯片参考资料免费下载 MSM8909,高通MSM8909的 原理图及PCB,PCBlayout指南,绝对的干货,不是干货都不分享给你们,资料比较难找,自行下载吧,都放在闯客网技术论坛,还有一个高通芯片资料交流群:813238832,也可以在群上下载资料,群上的大牛比较多,可以讨论交流问题 资料链接:https://bbs.usoftchina.com/thread-199461-... 阅读详情

相关推荐

Android 7.0 OTA升级(高通)

文档中主要描述 Full OTA 升级和 Incremental OTA 两种升级方式。

Framework-coder的博客 1万+

MSM8909处理器、原理图

MSM8909是高通公司骁龙210系列(低端入门手机,299/399的4G手机可能都是骁龙210的天下),2015年第二季度发布,28nm,四核ARM Cortex A7 CPU,最高主频1.1GHz,GPU为 Adreno 304,只是305的低频版,400MHz,带宽19.2GB/s,21.6Gflops。 相关资料和原理图查看,可到http://bbs.16rd.com/topic-MSM

szx940213的博客 1万+

Android8.1 MSM8909平台增加温度传感器

Android8.1 MSM8909平台增加温度传感器 物联网模块为了提高性价比,一般使用高通低端的MSM8909平台。最近在该平台的Android 8.1版本上调试了温度传感器,包括driver代码和HAL层,作个记录。 客户使用的是MIcrochip的AT30TS74(Atmel被Microchip收购),本来是很简单的I2c芯片,但是厂家没有提供驱动参考代码,适配android的驱动代码得自...

cornerstone1的博客 1554

高通210系列-MSM8909 核心板(ARM Cortex-A7架构)

核心板特性 A7架构 4核(4*1.1GHz(A7)) 产品尺寸小,便于客户集成,减少产品体积; 支持4G LTE超高速上网,单板兼容移动/联通/电信2G/3G/4G; 支持2...

counai4985的博客 1714

Android 5.1-7.1 高通驱动修改 - 上篇

目录1:打开驱动日志 2:移除emmc版本检查 3:在系统崩溃时关闭qload mode 4:打开关机充电功能 5:打开lk串口日志6:高通8909 驱动修改充电电流限制[kernel]7:bootloader中添加emergency download mode (组合按键开机)8:高通平台禁用热插拔 9:高通平台电池直冲实时刷新电量10:打开wcd-mbhc-v2.c 耳机插拔的日志 11:打开q6asm.c 驱动日志12:usb或dc充电插入时打开电源 13:修复MSM8909 4.4 音频声音跳变呼

gjy_it的博客 3790

[高通MSM8909][Android7.1]新增并挂载custom分区

文章目录开发平台基本信息问题描述解决方法1.调整分区大小2.挂载分区并给分区权限3.修改烧录的xml4.更新后的分区表 开发平台基本信息 芯片: 高通MSM8909 版本: Android 7.1 kernel: msm-3.18 问题描述 作为一个智能硬件定制设备厂商,往往会有一个产品供应给不同客户的情况;那如果一个客户提供一个固件的话,对于系统人员的工作量会很大;所以,比较好的解决方案就是在系统中将各个客户的定制需求都实现,然后,在系统中新创建一个分区用户存放客户定制的信息,系统通过加载分区内的配置文

小小码农 3745

android modem 编译,android开发笔记之高通MSM8909编译刷机脚本

#!/bin/bashecho "..................................start make ............................"############################################### make boot (sbl) #############################boot_images/bu...

weixin_39672296的博客 1162

高通MSM8909:LCD hx8394d驱动调试

高通平台 MSM8909 LCD驱动 hx8394d panel MIPI

不秃头的程序猿Gabriel的博客 2404

高通msm8909增加GPIO按键

1、根据原理图确定GPIO。 2、在设备树,msm8909-mpt.dtsi文件中找到gpio_keys,增加相关内容: scan { label = "scan"; gpios = <&msm_gpio 96 0x1>;//GPIO口选带中断功能的引脚 linux,input-type = <1>; linux,code = &l...

Kaeson 1715

手把手教你用Simulink搭建BPSK调制解调系统(附完整参数设置与波形分析)

本文详细指导如何使用Simulink搭建BPSK调制解调系统,涵盖从理论到实践的全流程,包括参数设置、模块连接和波形分析。重点解析调制解调中的关键参数和常见问题,如带通滤波器设计、载波同步等,帮助读者快速掌握BPSK系统的实现与调试技巧。

weixin_27741699的博客 433

虚拟机安装Centos8.5

Centos8.5

weixin_63604047的博客 971

Ubuntu编译Android系统源码(msm8909_android5.1.1)

安装工具 下载Android源码需要git,repo等工具,启动repo是Google写的一个专门用于下载Android源码的工具,主要调用了git。 科普一下git与repo的区别 Git:Git是一个开源的分布式版本控制系统,用以有效、高速的处理从很小到非常大的项目版本管理。 Repo: Repo是谷歌用Python脚本写的调用git的一个脚本。主要是用来 下载、管理Android项目的软件仓库(也就是说Repo是用来管理给Git管理的一个个仓库的) 安装git .

Amoour的博客 3210

Ubuntu20.04安全重启后WiFi图标消失?MT7922网卡驱动修复全攻略

本文详细解析了Ubuntu20.04安全重启后WiFi图标消失的问题,特别是针对MT7922网卡驱动失效的情况。通过诊断命令和分步解决方案,包括禁用PCIe ASPM、更新无线固件和升级HWE内核,帮助用户快速恢复网络连接。文章还提供了进阶排查技巧和系统优化建议,确保WiFi稳定运行。

weixin_29202687的博客 376

高通210系列-MSM8909核心板 (ARM Cortex-A7架构)

核心板特性 A7架构 4核(4*1.1GHz(A7)) 产品尺寸小,便于客户集成,减少产品体积; 支持4G LTE超高速上网,单板兼容移动/联通/电信2G/3G/4G; 支持2+32存储器,Micro SD支持32G; 尺寸小、集成度高、大板布板灵活; 支持全网通、wifi、蓝牙、GPS; 支持 HD(1280*720) 接口丰富,可扩展性强 Sim 卡*2/MicroSD 卡*1/...

miaiz的博客 2289

FPGA远程升级避坑实录:用STARTUPE2原语搞定Flash时钟,K7325T实测有效

本文深入解析了FPGA远程升级中的STARTUPE2原语应用,特别针对K7325T芯片的Flash时钟问题提供了实测有效的解决方案。通过详细的原语工作机制、Vivado工程实现步骤及调试技巧,帮助工程师规避常见陷阱,提升远程升级的可靠性和效率。

weixin_42558093的博客 147

高德地图-获取定位-失败原因-浏览器定位异常场景

提示:也能实现,但是需要https协议,而且请求时间很长,要么你用梯子,还是不太合适.

shi15926lei的博客 4219

Android源码下载&编译(高通)

本文介绍如何下载高通平台的Android源码,然后进行编译。

OneSea 1万+

3D高斯泼溅实战:如何用自采数据集训练出高质量3D模型(附COLMAP避坑指南)

本文详细介绍了使用自采数据集训练高质量3D高斯泼溅模型的完整实战流程。从数据采集规范、COLMAP稀疏重建的深度配置与避坑指南,到数据格式转换及3DGS训练调优策略,提供了针对自采数据的关键参数调整与问题排查方案,帮助读者高效构建专属3D场景。

g9h0i1的博客 984

[高通MSM8909][Android7.1]移除电池显示选项

文章目录开发平台基本信息问题描述解决方法1. 系统设置屏蔽电池选项2.隐藏状态栏电池图标3.隐藏低电量系统弹框4.隐藏下拉菜单电池图标 开发平台基本信息 芯片: 高通MSM8909 版本: Android 7.1 kernel: msm-3.18 问题描述 Android系统自带电池选项,如果设备没有电池功能,那么就要将系统中电池的选项移除掉,包括系统设置、状态栏、下拉菜单以及低电量报警弹框。 解决方法 1. 系统设置屏蔽电池选项 diff --git a/packages/apps/Settings/s

小小码农 1652

5G核心网Framed Routing功能解析:基于PFCP的帧路由机制与多终端互联实践

5G核心网Framed Routing功能解析:基于PFCP的帧路由机制与多终端互联实践

大家好,我是码农老gou,一名专注于编程技术的程序员。在这个博客中,我将与大家分享我在工作和学习中的经验、见解以及一些实用的技术干货。 1475

知识存储之Apache Jena

知识图谱的存储可以分为基于表结构的存储和基于图结构的存储。1️⃣基于表结构的存储基于表结构的存储利用二维的数据表对知识图谱中的数据进行存储。根据不同的设计原则,知识图谱可以具有不同的表结构:💨知识图谱实质上是一个个的三元组,一种简单直接的存储方式是设计一张三元组表用于存储所有三元组,有不少比较成熟的产品利用该形式存储知识图谱,包括Jena、Oracle、Virtuoso等。💨为每种类型构建一张表,同一类型的实例存放在相同的表中。

Puzzle的博客 6069

android开发笔记之高通MSM8909编译刷机脚本

高通平台的编译和MTK的编译还是有一些不同,多了一些项,并且打包生成的刷机文件也是分散在各个地方,导致这个好像非常玄,弄的我也是老问人,非常不好意思。这二天,自己看了一下的脚本,搞的非常复杂,自己把核心的弄出来,大家看一下就明白了。这是以MSM8909为例的:编译脚本build.sh———–一个综合编译,打包的脚本 使用方法:source build.shbuild.sh内部#!/bin/bash

hfreeman2008的专栏 1万+

假人有限元模型

假人模型,车辆碰撞假人有限元模型,适合做乘员安全的研究者利用

高通安卓msm8909适配gt1xx系列的TP

最近新开发项目,需要适配新的TP,lcd等等,因为更换了TP IC,适配需要更换驱动和节点信息等等,为了以后快速适配,写下来作为记录。 准备东西 1、找厂商拿配置文件,一般会提供xxxxx.cfg文件 2、找对应的驱动文件(一般内核都会有,在kernel/drivers/input/touchscreen/ 路径下),像我适配gt1151,找gt1xx驱动即可 3、硬件原理图(出问题后,排查需要查看) 开始适配 1、在kernel/arch/arm/configs/msm8909-1gb-perf.

Hold on 的博客 993

win10 跳过U8环境检测的IE WebControls.rar

win10 安装u8的时候 提示IE WebControls 不通过,这个工具可以欺骗u8的检查。 跳过U8环境检测的IE WebControls。提示导入失败后,重新检测通过。

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

msm8909 android5.1.1,MSM8909+Android5.1.1启动流程(1)---概述

MSM8909+Android5.1.1启动流程(1)---概述PBL:APPS PBL(ApplicationPrimary Boot Loader),主引导加载程序RPM:ResourcePower Manager,资源电源管理器RPM(ResourcePower Manager)是高通MSM平台另外加的一块芯片,虽然与AP芯片打包在一起,但其是一个独立的ARM Core。之所以加这个东西,就...

weixin_39618824的博客 1185

LinePhone3.2.7(android端最新版本) sip客户端

SIP客户端For android:LinePhone3.2.7(最新版本),官网地址:http://www.linphone.org/

android高通平台regulator,Andorid:msm8909:MIPI转HDMI调试记录

写在前面SOC:Qualcomm msm8909Core-Board:SC20-CE QA/PJBase-Board:xxxLinux Kernel:xxxAndroid:7.1本次目的将核心板输出的MIPI显示信号通过LT8912B芯片转换成HDMI信号输出详细步骤LT8912B驱动的添加新增驱动文件:kernel\drivers\video\lt8912_dsi0.c/* Copyright ...

weixin_42302384的博客 1516

高通 msm8909平台 Android5.1.1 代码

近日需要使用高通 msm8909平台的Android5.1.1 代码,使用以下git地址下载 repo init -u git://codeaurora.org/platform/manifest.git -b release -m LA.BR.1.2.3-10210-8x09.0.xml --repo-url=git://codeaurora.org/tools/repo.git --repo...

1543
上一篇: [高通MSM8953_64][Android10]解决制作差分包不生成system_manifest.xml的问题
下一篇: [高通SDM450][Android9.0]默认取消dm-verity以及解决OTA校验vbmeta失败问题
Mr. 码农
Mr. 码农 领域专家: 操作系统技术领域 领域专家: 操作系统技术领域
博客等级 码龄12年 212粉丝 145原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值