android modem调试的一点点经验

1. mv /system/lib/libserria_gps.so /system/

 这个是关掉gps


2. mv /system/lib/libnm-ril.so /system/

 这个是关掉ril

3. nmea就是gps规范格式的gps数据


4.查找哪个ttyUSBx为AT/PPP的方法

对每个/dev/ttyUSBx的节点写“ati\r\n",并读取该节点

例如:

 进入ADB

                                        1stopril-daemon

                                        2cat/dev/ttyUSB2

                                        3:在另外shell打开。

                                        4:执行   echo -e "ati\r\n" > /dev/ttyUSB2

该命令还可以请查看模块的版本。 


5.Bridge驱动是直接把modem的接口转成模拟成串口输出到PC.

模拟的串口可能需要PC端装驱动

Bridge驱动的配置两种方法

a.+CONFIG_USB_G_SERIAL=y

-CONFIG_USB_ANDROID=y

-CONFIG_USB_ANDROID_ADB=y

-CONFIG_USB_ANDROID_DIAG=y

-CONFIG_USB_ANDROID_MASS_STORAGE=y

-CONFIG_USB_ANDROID_RNDIS=y

-CONFIG_USB_AN1DROID_RNDIS_WCEIS=y

-CONFIG_USB_ANDROID_RMNET=y

webos中就是采用这种方式

b.配置Android相应的f_serial的驱动



7.win7都是有证书检测,就是如何关闭证书检测

在以管理员权限运行cmd命令
输入 Bcdedit.exe /set nointegritychecks ON ,然后回车


8.(网上抄的,没试过)有些设备在WIN7下的驱动没有经过微软认证就装不上去,有办法把检查去掉:
1. 启动时按F8选择用“禁用驱动程序签名强制”模式进入系统
2.bcdedit /set testsigning on然后重启动就可以关闭强制数字签名但是启动到桌面后会有提示水印
3. bcdedit -set loadoptions DDISABLE_INTEGRITY_CHECKS
4.关闭UAC


9. Enable Windows' Test Signing boot mode
  1. Via the command prompt run: Bcdedit.exe -set TESTSIGNING ON
  2. If you laptop is encrypted by BitLocker then you MUST do these steps
    1. NOTE:  If you don't do these steps then your Windows will not boot up without the BitLocker Encryption Recovery Key
    2. Print your BitLocker Encryption Recovery Key via
      • Control Panel\System and Security\BitLocker Drive Encryption\Manage BitLocker
    3. After running the bcdedit.exe command from step 1, suspend and resume BitLocker via
      • Control Panel\System and Security\BitLocker Drive Encryption
        1. Click on Suspend Protection then click on Resume Protection
  3. Reboot your laptop
  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值