東川印記

一本東川,笑看爭龍斗虎;寰茫兦者,度橫佰昧人生。

ubuntu14.04x64在thinkpad-T540px02

2016年11月3日星期四



1,adb shell查看应用mainfest信息
mainfest里的
  1. senrsl@senrsl-T540p:~$ adb shell dumpsys package com.vcyber.drivers
  2. Activity Resolver Table:
  3.   Non-Data Actions:
  4.       android.intent.action.MAIN:
  5.         41cf5408 com.vcyber.drivers/.activity.ConnectActivity filter 41cc8058
  6. Receiver Resolver Table:
  7.   Non-Data Actions:
  8.       android.intent.action.MEDIA_BUTTON:
  9.         41cde1a0 com.vcyber.drivers/.broadcast.MediaButtonReceiver filter 41cdd330
  10.       PROTOCAL_CONNECT:
  11.         41cf61b8 com.vcyber.drivers/.broadcast.ProtocalReceiver filter 41cbf1b0
  12.       android.net.wifi.STATE_CHANGE:
  13.         41cb63e0 com.vcyber.drivers/.broadcast.WifiReceiver filter 41d044f0
  14.       android.hardware.usb.action.USB_DEVICE_ATTACHED:
  15.         41cb4cb8 com.vcyber.drivers/.broadcast.USBBroadcastReceiver filter 41c97348
  16.       android.hardware.usb.action.USB_DEVICE_DETACHED:
  17.         41cb4cb8 com.vcyber.drivers/.broadcast.USBBroadcastReceiver filter 41c97348
  18.       android.net.wifi.WIFI_STATE_CHANGED:
  19.         41cb63e0 com.vcyber.drivers/.broadcast.WifiReceiver filter 41d044f0
  20.       android.intent.action.BOOT_COMPLETED:
  21.         41c630a8 com.vcyber.drivers/.broadcast.BootReceiver filter 41cfdcb0
  22.       android.net.wifi.RSSI_CHANGED:
  23.         41cb63e0 com.vcyber.drivers/.broadcast.WifiReceiver filter 41d044f0
  24. Service Resolver Table:
  25.   Non-Data Actions:
  26.       com.geniusgithub.start.engine:
  27.         41c9baf0 com.vcyber.drivers/com.geniusgithub.mediarender.service.MediaRenderService filter 41cb69c8
  28.       com.geniusgithub.restart.engine:
  29.         41c9baf0 com.vcyber.drivers/com.geniusgithub.mediarender.service.MediaRenderService filter 41cb69c8
  30.  
  31. Registered ContentProviders:
  32.   com.vcyber.drivers/com.yixia.zi.provider.SessionProvider:
  33.     Provider{41c4e558 com.yixia.zi.provider.SessionProvider}
  34.  
  35. ContentProvider Authorities:
  36.   [com.yixia.zi.provider.session]:
  37.     Provider{41c4e558 com.yixia.zi.provider.SessionProvider}
  38.       applicationInfo=ApplicationInfo{41d19718 com.vcyber.drivers}
  39.  
  40. Packages:
  41.   Package [com.vcyber.drivers] (41c07798):
  42.     userId=10055 gids=[3003, 1015, 1028]
  43.     sharedUser=null
  44.     pkg=Package{41d6dc48 com.vcyber.drivers}
  45.     codePath=/data/app/com.vcyber.drivers-1.apk
  46.     resourcePath=/data/app/com.vcyber.drivers-1.apk
  47.     nativeLibraryPath=/data/app-lib/com.vcyber.drivers-1
  48.     versionCode=201512040
  49.     applicationInfo=ApplicationInfo{41d19718 com.vcyber.drivers}
  50.     flags=[ HAS_CODE ALLOW_CLEAR_USER_DATA ALLOW_BACKUP ]
  51.     versionName=1.1.1
  52.     dataDir=/data4write/data/com.vcyber.drivers
  53.     targetSdk=19
  54.     supportsScreens=[small, medium, large, xlarge, resizeable, anyDensity]
  55.     timeStamp=2015-01-01 00:11:51
  56.     firstInstallTime=2015-01-01 00:11:56
  57.     lastUpdateTime=2015-01-01 00:11:56
  58.     signatures=PackageSignatures{41c126a0 [41c084e0]}
  59.     permissionsFixed=true haveGids=true installStatus=1
  60.     pkgFlags=[ HAS_CODE ALLOW_CLEAR_USER_DATA ALLOW_BACKUP ]
  61.     User 0:  installed=true stopped=false notLaunched=false enabled=0
  62.     grantedPermissions:
  63.       android.permission.READ_EXTERNAL_STORAGE
  64.       android.permission.CHANGE_WIFI_MULTICAST_STATE
  65.       android.permission.GET_TASKS
  66.       android.permission.WRITE_EXTERNAL_STORAGE
  67.       android.permission.PROCESS_OUTGOING_CALLS
  68.       android.permission.WRITE_CALL_LOG
  69.       android.permission.ACCESS_WIFI_STATE
  70.       android.permission.ACCESS_COARSE_LOCATION
  71.       android.permission.READ_CONTACTS
  72.       android.permission.CALL_PHONE
  73.       android.permission.WRITE_CONTACTS
  74.       android.permission.READ_PHONE_STATE
  75.       android.permission.RECEIVE_BOOT_COMPLETED
  76.       android.permission.ACCESS_FINE_LOCATION
  77.       android.permission.BROADCAST_STICKY
  78.       android.permission.ACCESS_NETWORK_STATE
  79.       android.permission.WAKE_LOCK
  80.       android.permission.RECORD_AUDIO
  81.       android.permission.MODIFY_AUDIO_SETTINGS
  82.       android.permission.SYSTEM_ALERT_WINDOW
  83.       android.permission.INTERNET
  84.       android.permission.WRITE_SETTINGS
  85.       android.permission.CHANGE_WIFI_STATE
  86.       android.permission.ACCESS_LOCATION_EXTRA_COMMANDS
  87.       android.permission.VIBRATE
  88.       android.permission.READ_CALL_LOG
  89.       android.permission.CHANGE_NETWORK_STATE
  90. senrsl@senrsl-T540p:~$

2,git修改remote地址
  1. senrsl@senrsl-T540p:~/tools/gerrit$ git remote set-url origin https://github.com/senRsl/gerrit.git

3,ubuntu14.04x64禁用dash更多建议
全是广告
senrsl@senrsl-T540p:~$ gsettings set com.canonical.Unity.Lenses remote-content-search none
注销重启都不行,试了几条命令也不行

然后
senrsl@senrsl-T540p:~$ sudo apt-get install unity-tweak-tool
配置这里面的

还有Web应用什么的,不需要注销或者重启就好了

4,centos 同步时间

  1. [root@Android ~]# cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
  2. cp:是否覆盖"/etc/localtime"? yes
  3. [root@Android ~]#  vi /etc/sysconfig/clock
  4. [root@Android ~]# hwclock -r
  5. 2015年12月22日 星期二 00时15分38秒  -0.578395 seconds
  6. [root@Android ~]# date
  7. 2015年 12月 22日 星期二 00:15:58 CST
  8. [root@Android ~]# date -s 16:12:20
  9. 2015年 12月 22日 星期二 16:12:20 CST
  10. [root@Android ~]# hwclock -w
  11. [root@Android ~]# hwclock -r
  12. 2015年12月22日 星期二 16时12分40秒  -0.672133 seconds
  13. [root@Android ~]# clock -w
  14. [root@Android ~]# ntpdate time.nist.gov
  15. -bash: ntpdate: command not found
  16. [root@Android ~]#
还少个自动同步

5,把已有用户gerrit加到已有组git-ro中

  1. [root@Android home]# usermod -a -G git-ro gerrit
  2. #查看用户所属的组
  3. [root@Android home]# groups git-ro
  4. git-ro : git-ro dc git-g
  5. [root@Android home]# groups gerrit
  6. gerrit : gerrit git-ro
  7. #查看组内成员
  8. [root@Android home]# cat /etc/group | grep git-ro
  9. dc:x:502:git-ro
  10. git-ro:x:503:gerrit
  11. git-g:x:504:git-ro
  12. [root@Android home]# cat /etc/group | grep gerrit
  13. git-ro:x:503:gerrit
  14. gerrit:x:505:
  15. [root@Android home]#
把gerrit用户加入git-ro组,然后cd /home/git-ro/一直没权限,目录权限750。
折腾半天reboot一下就好了。。。。

6,clapper p2phls插件
官方demo一直跑不起来
尝试编译
  1. senrsl@senrsl-T540p:~/tools/hls$ sudo npm install gulp -g
  2. senrsl@senrsl-T540p:~/tools/hls$ git clone -q https://github.com/bemtv/clappr-p2phls-plugin.git
  3. senrsl@senrsl-T540p:~/tools/hls/clappr-p2phls-plugin$ cd clappr-p2phls-plugin
  4. senrsl@senrsl-T540p:~/tools/hls/clappr-p2phls-plugin$ sudo npm install
开始一堆错误。。。。。

研究了下,这插件都两年没维护了。。。。
而且支持的clapper是目前的最低版本,差了几十个迭代。。。。
换低版本也不行。。。。

出差上海2016年01月12日20:47:21

7,ubuntu文件分割
2016年03月09日15:07:30
  1. split -b 1024m 文档资料收集.tar.gz 文档资料收集.tar.gz.

8,Cannot change version of project facet Dynamic Web Module to 3.0.
从SVN上导了个maven项目过来,报这错。。。。

直接右键改报错


那就改
/home/senrsl/j2ee/workspace/sgmPlatDemo/.settings/org.eclipse.wst.common.project.facet.core.xml
改成3.0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <faceted-project>
  3.   <fixed facet="wst.jsdt.web"/>
  4.   <installed facet="java" version="1.5"/>
  5.   <installed facet="jst.web" version="3.0"/>
  6.   <installed facet="wst.jsdt.web" version="1.0"/>
  7. </faceted-project>
然后回eclipse,变成了3.0但是报错


。。。。我明明配置了1.7啊。。。。

哦,原来这个表里也有个java。。。。


为什么还报
Dynamic Web Module 3.0 requires Java 1.6 or newer.
Java compiler level does not match the version of the installed Java project facet.
One or more constraints have not been satisfied.

还报错。。。。
找到pom.xml,加
  1. <build>
  2.         <plugins>
  3.             <plugin>
  4.                其他的
  5.             </plugin>
  6.            
  7.             <plugin>
  8.         <groupId>org.apache.maven.plugins</groupId>
  9.         <artifactId>maven-compiler-plugin</artifactId>
  10.         <version>3.1</version>
  11.         <configuration>
  12.             <source>1.7</source>
  13.             <target>1.7</target>
  14.         </configuration>
  15.     </plugin>
  16.         </plugins>
  17.     </build>
然后 右键,Maven-->Update Projects,就好了。。。。
2016年04月19日16:50:54

9,Web app root system property already set to different value: 'webapp.root'
Web app root system property already set to different value: 'webapp.root' = [E:\Tomcat 8.0\webapps\sgmPlatDemo\] instead of [E:\Tomcat 8.0\webapps\ROOT\] - Choose unique values for the 'webAppRootKey' context-param in your web.xml files!
搜了一下这玩意好像是配置log4j的。。。。
web.xml里改成不同的就好了

10,多线程存储上传
存储:
厂家一
04-25 12:20:20.039: W/System.err(28282): android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file (code 14)
04-21 16:16:11.870: W/System.err(13762): java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteQuery: SELECT TIMER, CONTENT FROM IC WHERE ADDR=? ORDER BY TIMER ASC
android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database
04-21 14:52:24.410: E/SQLiteDatabase(2170): android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file (code 14): , while compiling: PRAGMA journal_mode
04-21 14:52:24.420: E/DatabaseUtils(2170): android.database.sqlite.SQLiteDiskIOException: disk I/O error (code 3850)
03-30 04:17:31.056: W/System.err(31415): android.database.CursorWindowAllocationException: Cursor window allocation of 2048 kb failed.
04-25 12:44:27.619: E/AndroidRuntime(26432): Caused by: android.database.sqlite.SQLiteDatabaseLockedException: database is locked (code 5)
04-25 13:28:20.669: E/AndroidRuntime(18620): android.database.sqlite.SQLiteDiskIOException: disk I/O error (code 3850)

厂家二
04-25 18:04:59.200: E/CursorWindow(1718): Could not allocate CursorWindow '/data4write/data/。。。.android.vsf/databases/vb.db' of size 2097152 due to error -24.

单例数据库,读写分离,解决。

上传
04-25 16:43:03.559: W/System.err(5341): javax.net.ssl.SSLException: Unable to create application data
04-21 14:53:52.270: E/NativeCrypto(2170): AppData::create pipe(2) failed: Too many open files

关闭httpconnection.

11,ubuntu蓝牙修改名称
查看当前名称
  1. senrsl@senrsl-T540p:~$ cat /var/lib/bluetooth/10\:4A\:7D\:BF\:58\:73/config
  2. name ubuntu-0
  3. pairable yes
  4. onmode discoverable
  5. mode discoverable
  6. senrsl@senrsl-T540p:~$
增加配置
  1. senrsl@senrsl-T540p:/etc$ sudo touch machine-info
  2. senrsl@senrsl-T540p:/etc$ sudo su
  3. root@senrsl-T540p:/etc# echo 'PRETTY_HOSTNAME=SENRSL_UBT'>>machine-info
  4. root@senrsl-T540p:/etc# cat machine-info
  5. PRETTY_HOSTNAME=SENRSL_UBT
  6. root@senrsl-T540p:/etc# service bluetooth restart
  7. bluetooth stop/waiting
  8. bluetooth start/running, process 10542
  9. root@senrsl-T540p:/etc#
再查看就变了


12,android修改运营商代码

版本1:
  1. shell@virgo:/ $ getprop                                                       
  2. [DEVICE_PROVISIONED]: [1]
  3. [audio.offload.buffer.size.kb]: [32]
  4. [audio.offload.disable]: [true]
  5. [audio.offload.gapless.enabled]: [false]
  6. [audio.offload.pcm.16bit.enable]: [true]
  7. [audio.offload.pcm.24bit.enable]: [true]
  8. [audio.offload.pcm.enable]: [true]
  9. [audio.offload.video]: [true]
  10. [bluetooth.hfp.client]: [1]
  11. [camera2.portability.force_api]: [1]
  12. [dalvik.vm.dex2oat-Xms]: [64m]
  13. [dalvik.vm.dex2oat-Xmx]: [512m]
  14. [dalvik.vm.heapgrowthlimit]: [128m]
  15. [dalvik.vm.heapmaxfree]: [32m]
  16. [dalvik.vm.heapminfree]: [8m]
  17. [dalvik.vm.heapsize]: [512m]
  18. [dalvik.vm.heapstartsize]: [8m]
  19. [dalvik.vm.heaptargetutilization]: [0.75]
  20. [dalvik.vm.image-dex2oat-Xms]: [64m]
  21. [dalvik.vm.image-dex2oat-Xmx]: [64m]
  22. [dalvik.vm.isa.arm.features]: [default]
  23. [dalvik.vm.isa.arm.variant]: [krait]
  24. [dalvik.vm.stack-trace-file]: [/data/anr/traces.txt]
  25. [debug.atrace.tags.enableflags]: [0]
  26. [debug.composition.type]: [c2d]
  27. [debug.egl.hw]: [1]
  28. [debug.force_rtl]: [0]
  29. [debug.mdpcomp.logs]: [0]
  30. [debug.sf.hw]: [1]
  31. [dev.bootcomplete]: [1]
  32. [dev.pm.dyn_samplingrate]: [1]
  33. [drm.service.enabled]: [true]
  34. [gsm.apn.sim.operator.numeric]: [46001,46001]
  35. [gsm.current.phone-type]: [1,1]
  36. [gsm.defaultpdpcontext.active]: [true]
  37. [gsm.network.type]: [LTE,Unknown]
  38. [gsm.nitz.time]: [1468922077038]
  39. [gsm.operator.alpha]: [Verizon]
  40. [gsm.operator.iso-country]: [cn]
  41. [gsm.operator.isroaming]: [false,false]
  42. [gsm.operator.numeric]: [46001]
  43. [gsm.sim.operator.alpha]: [Verizon]
  44. [gsm.sim.operator.iso-country]: [cn]
  45. [gsm.sim.operator.numeric]: [46001]
  46. [gsm.sim.state]: [READY,READY]
  47. [gsm.version.baseband]: [MPSS.DI.4.0-63d722f]
  48. [gsm.version.baseband1]: [MPSS.DI.4.0-63d722f]
  49. [gsm.version.ril-impl]: [Qualcomm RIL 1.0]
  50. [hw.ad.mode]: [1]
  51. [hw.cabl.version]: [2.0.20140905]
  52. [hw.cabl.yuv]: [0]
  53. [hw.pp.cfg]: [/data/misc/display/pp_data.cfg]
  54. [init.svc.adbd]: [stopping]
  55. [init.svc.adsprpcd]: [running]
  56. [init.svc.atfwd]: [stopped]
  57. [init.svc.audiod]: [running]
  58. [init.svc.bootanim]: [stopped]
  59. [init.svc.changepowermode]: [stopped]
  60. [init.svc.charger_monitor]: [running]
  61. [init.svc.checkpath]: [stopped]
  62. [init.svc.checksdkpath]: [stopped]
  63. [init.svc.cnd]: [running]
  64. [init.svc.config_bluetooth]: [stopped]
  65. [init.svc.daemonsu]: [stopped]
  66. [init.svc.debuggerd]: [running]
  67. [init.svc.displayfeature]: [running]
  68. [init.svc.dpmd]: [running]
  69. [init.svc.drm]: [running]
  70. [init.svc.fdpp]: [running]
  71. [init.svc.gatekeeperd]: [running]
  72. [init.svc.healthd]: [running]
  73. [init.svc.hvdcp]: [running]
  74. [init.svc.imsdatadaemon]: [running]
  75. [init.svc.imsqmidaemon]: [running]
  76. [init.svc.installd]: [running]
  77. [init.svc.irsc_util]: [stopped]
  78. [init.svc.keystore]: [running]
  79. [init.svc.lmkd]: [running]
  80. [init.svc.loc_launcher]: [running]
  81. [init.svc.logd]: [running]
  82. [init.svc.logd-reinit]: [stopped]
  83. [init.svc.mcd_init]: [stopped]
  84. [init.svc.mcd_service]: [running]
  85. [init.svc.media]: [running]
  86. [init.svc.modem_dump]: [running]
  87. [init.svc.mpdecision]: [running]
  88. [init.svc.mtpd]: [running]
  89. [init.svc.netd]: [running]
  90. [init.svc.netmgrd]: [running]
  91. [init.svc.p2p_supplicant]: [running]
  92. [init.svc.ppd]: [running]
  93. [init.svc.qcamerasvr]: [running]
  94. [init.svc.qcom-c_core-sh]: [stopped]
  95. [init.svc.qcom-c_main-sh]: [stopped]
  96. [init.svc.qcom-post-boot]: [stopped]
  97. [init.svc.qcom-sh]: [stopped]
  98. [init.svc.qcom-usb-sh]: [stopped]
  99. [init.svc.qcomsysd]: [running]
  100. [init.svc.qmuxd]: [running]
  101. [init.svc.qseecomd]: [running]
  102. [init.svc.qti-testscripts]: [stopped]
  103. [init.svc.racoon]: [stopped]
  104. [init.svc.rfs_access]: [running]
  105. [init.svc.ril-daemon]: [running]
  106. [init.svc.ril-daemon2]: [running]
  107. [init.svc.rmt_storage]: [running]
  108. [init.svc.servicemanager]: [running]
  109. [init.svc.setlockstate]: [stopped]
  110. [init.svc.shelld]: [running]
  111. [init.svc.ssr_setup]: [stopped]
  112. [init.svc.surfaceflinger]: [running]
  113. [init.svc.thermal-engine]: [running]
  114. [init.svc.thermal-perf]: [stopped]
  115. [init.svc.time_daemon]: [running]
  116. [init.svc.ueventd]: [running]
  117. [init.svc.usf-post-boot]: [stopped]
  118. [init.svc.vold]: [running]
  119. [init.svc.wcnss-service]: [running]
  120. [init.svc.zygote]: [running]
  121. [keyguard.no_require_sim]: [true]
  122. [media.aac_51_output_enabled]: [true]
  123. [media.stagefright.enable-aac]: [true]
  124. [media.stagefright.enable-fma2dp]: [true]
  125. [media.stagefright.enable-http]: [true]
  126. [media.stagefright.enable-player]: [true]
  127. [media.stagefright.enable-qcp]: [true]
  128. [media.stagefright.enable-scan]: [true]
  129. [mm.enable.qcom_parser]: [37491]
  130. [mm.enable.smoothstreaming]: [true]
  131. [mmp.enable.3g2]: [true]
  132. [net.bt.name]: [Android]
  133. [net.change]: [net.rmnet0.gw]
  134. [net.dns1]: [202.106.46.151]
  135. [net.dns2]: [202.106.0.20]
  136. [net.dns3]: [114.114.114.114]
  137. [net.hostname]: [MINOTELTE-SENRSL_XM]
  138. [net.qtaguid_enabled]: [1]
  139. [net.rmnet0.dns1]: []
  140. [net.rmnet0.dns2]: []
  141. [net.rmnet0.gw]: []
  142. [net.tcp.buffersize.default]: [4096,87380,110208,4096,16384,110208]
  143. [net.tcp.buffersize.edge]: [4093,26280,35040,4096,16384,35040]
  144. [net.tcp.buffersize.evdo]: [4094,87380,262144,4096,16384,262144]
  145. [net.tcp.buffersize.gprs]: [4092,8760,11680,4096,8760,11680]
  146. [net.tcp.buffersize.hsdpa]: [4094,87380,1220608,4096,16384,1220608]
  147. [net.tcp.buffersize.hspa]: [4094,87380,1220608,4096,16384,1220608]
  148. [net.tcp.buffersize.hspap]: [4094,87380,1220608,4096,16384,1220608]
  149. [net.tcp.buffersize.hsupa]: [4094,87380,1220608,4096,16384,1220608]
  150. [net.tcp.buffersize.lte]: [524288,1048576,2097152,262144,524288,1048576]
  151. [net.tcp.buffersize.umts]: [4094,87380,110208,4096,16384,110208]
  152. [net.tcp.buffersize.wifi]: [524288,2097152,4194304,262144,524288,1048576]
  153. [net.tcp.default_init_rwnd]: [60]
  154. [net.tcp.delack.default]: [1]
  155. [net.tcp.delack.lte]: [8]
  156. [net.tcp.delack.wifi]: [20]
  157. [net.tcp.usercfg.default]: [0]
  158. [net.tcp.usercfg.lte]: [1]
  159. [net.tcp.usercfg.wifi]: [1]
  160. [persist.audio.fluence.speaker]: [true]
  161. [persist.audio.fluence.voicecall]: [true]
  162. [persist.audio.fluence.voicerec]: [false]
  163. [persist.audio.hifi]: [false]
  164. [persist.audio.hifi.volume]: [0]
  165. [persist.cne.feature]: [0]
  166. [persist.data.netmgrd.qos.enable]: [true]
  167. [persist.data.tcp_rst_drop]: [true]
  168. [persist.debug.wfd.enable]: [1]
  169. [persist.demo.hdmirotationlock]: [false]
  170. [persist.env.fastdorm.enabled]: [true]
  171. [persist.fd.scroff.timer]: [3000]
  172. [persist.fd.scron.timer]: [10000]
  173. [persist.fuse_sdcard]: [true]
  174. [persist.gps.qc_nlp_in_use]: [1]
  175. [persist.hwc.mdpcomp.enable]: [true]
  176. [persist.loc.nlp_name]: [com.qualcomm.location]
  177. [persist.logd.size]: []
  178. [persist.logd.size.radio]: [4M]
  179. [persist.miui.density_v2]: [440]
  180. [persist.omh.enabled]: [true]
  181. [persist.power.useautobrightadj]: [true]
  182. [persist.radio.adb_log_on]: [0]
  183. [persist.radio.apm_sim_not_pwdn]: [0]
  184. [persist.radio.custom_ecc]: [1]
  185. [persist.radio.data_no_toggle]: [1]
  186. [persist.radio.default.data]: [0]
  187. [persist.radio.default.voice]: [1]
  188. [persist.radio.eons.enabled]: [false]
  189. [persist.radio.force_on_dc]: [true]
  190. [persist.radio.iccid]: [89860115817082754524,89860115811011188029]
  191. [persist.radio.ignore_dom_time]: [5]
  192. [persist.radio.imei]: [865982025679997]
  193. [persist.radio.imei1]: [865982025679997]
  194. [persist.radio.imei2]: [865982025679997]
  195. [persist.radio.modem]: [LTE-X5]
  196. [persist.radio.msim.stackid_0]: [0]
  197. [persist.radio.msim.stackid_1]: [1]
  198. [persist.radio.multisim.config]: [dsds]
  199. [persist.radio.ramdump_sdcard]: [1]
  200. [persist.radio.rat_on]: [combine]
  201. [persist.radio.ril_payload_on]: [0]
  202. [persist.radio.sglte_target]: [0]
  203. [persist.radio.stack_id_0]: [0]
  204. [persist.radio.stack_id_1]: [1]
  205. [persist.rild.nitz_long_ons_0]: []
  206. [persist.rild.nitz_long_ons_1]: []
  207. [persist.rild.nitz_long_ons_2]: []
  208. [persist.rild.nitz_long_ons_3]: []
  209. [persist.rild.nitz_plmn]: []
  210. [persist.rild.nitz_short_ons_0]: []
  211. [persist.rild.nitz_short_ons_1]: []
  212. [persist.rild.nitz_short_ons_2]: []
  213. [persist.rild.nitz_short_ons_3]: []
  214. [persist.speaker.prot.enable]: [true]
  215. [persist.sys.aries.power_profile]: [middle]
  216. [persist.sys.button_headset_hook]: [media]
  217. [persist.sys.button_jack_profile]: [volume]
  218. [persist.sys.button_jack_switch]: [0]
  219. [persist.sys.country]: []
  220. [persist.sys.dalvik.vm.lib.2]: [libart.so]
  221. [persist.sys.device_name]: [SENRSL_XM]
  222. [persist.sys.display_cabc]: [1]
  223. [persist.sys.display_ce]: [10]
  224. [persist.sys.display_eyecare]: [0]
  225. [persist.sys.dpmd.nsrm]: [2]
  226. [persist.sys.dpmd.tcm]: [2]
  227. [persist.sys.klo]: [on]
  228. [persist.sys.klo.rec_start]: [1469096042]
  229. [persist.sys.language]: []
  230. [persist.sys.locale]: [zh-CN]
  231. [persist.sys.localevar]: []
  232. [persist.sys.ltm_enable]: [true]
  233. [persist.sys.mcd_config_file]: [/system/etc/mcd_default.conf]
  234. [persist.sys.memctrl]: [supported]
  235. [persist.sys.mitalk.enable]: [true]
  236. [persist.sys.profiler_ms]: [0]
  237. [persist.sys.released]: [true]
  238. [persist.sys.sc_allow_conn]: [true]
  239. [persist.sys.screenshot_mode]: [1]
  240. [persist.sys.silent]: [0]
  241. [persist.sys.smartcover_enabled]: [false]
  242. [persist.sys.smartcover_mode]: [1]
  243. [persist.sys.ssr.restart_level]: [ALL_ENABLE]
  244. [persist.sys.strict_op_enable]: [false]
  245. [persist.sys.strictmode.disable]: [true]
  246. [persist.sys.timezone]: [Asia/Shanghai]
  247. [persist.sys.usb.config]: [mtp,adb]
  248. [persist.sys.usb.config.extra]: [none]
  249. [persist.sys.webview.vmsize]: [104857600]
  250. [persist.sys.wfd.virtual]: [0]
  251. [persist.sys.whitelist]: [/system/etc/whitelist_appops.xml]
  252. [persist.timed.enable]: [true]
  253. [persist.usb.hvdcp.detect]: [true]
  254. [qc.izat.gtp.wifi.low_power]: [DISABLED]
  255. [qcom.hw.aac.encoder]: [false]
  256. [radio.atfwd.start]: [false]
  257. [ril.ecclist]: [*911,#911,911,112,110,119,120,122,999]
  258. [ril.ecclist1]: [*911,#911,911,112,110,119,120,122,999]
  259. [ril.limit_service_mnc]: [GSM_460]
  260. [ril.qcril_pre_init_lock_held]: [0]
  261. [ril.subscription.types]: [RUIM]
  262. [rild.libargs]: [-d /dev/smd0]
  263. [rild.libpath]: [/vendor/lib/libril-qc-qmi-1.so]
  264. [ro.adb.secure]: [1]
  265. [ro.allow.mock.location]: [0]
  266. [ro.audio.hifi]: [true]
  267. [ro.baseband]: [msm]
  268. [ro.bluetooth.dun]: [true]
  269. [ro.bluetooth.hfp.ver]: [1.7]
  270. [ro.bluetooth.sap]: [true]
  271. [ro.board.platform]: [msm8974]
  272. [ro.boot.baseband]: [msm]
  273. [ro.boot.bootdevice]: [msm_sdcc.1]
  274. [ro.boot.emmc]: [true]
  275. [ro.boot.hardware]: [qcom]
  276. [ro.boot.hwversion]: [54]
  277. [ro.boot.serialno]: [da91853a]
  278. [ro.bootimage.build.date]: [Thu Mar 17 00:57:35 CST 2016]
  279. [ro.bootimage.build.date.utc]: [1458147455]
  280. [ro.bootimage.build.fingerprint]: [Xiaomi/virgo/virgo:6.0.1/MMB29M/6.3.17:user/test-keys]
  281. [ro.bootloader]: [unknown]
  282. [ro.bootmode]: [unknown]
  283. [ro.btconfig.chip]: [WCN3680]
  284. [ro.btconfig.dev]: [/dev/smd3]
  285. [ro.btconfig.if]: [smd]
  286. [ro.btconfig.vendor]: [qcom]
  287. [ro.build.characteristics]: [nosdcard]
  288. [ro.build.date]: [Thu Mar 17 00:56:07 CST 2016]
  289. [ro.build.date.utc]: [1458147367]
  290. [ro.build.description]: [virgo-user 6.0.1 MMB29M 6.3.17 release-keys]
  291. [ro.build.display.id]: [MMB29M]
  292. [ro.build.fingerprint]: [Xiaomi/virgo/virgo:6.0.1/MMB29M/6.3.17:user/release-keys]
  293. [ro.build.flavor]: [virgo-user]
  294. [ro.build.host]: [qh-miui-ota-bd62]
  295. [ro.build.id]: [MMB29M]
  296. [ro.build.product]: [virgo]
  297. [ro.build.tags]: [release-keys]
  298. [ro.build.type]: [user]
  299. [ro.build.user]: [builder]
  300. [ro.build.version.all_codenames]: [REL]
  301. [ro.build.version.base_os]: []
  302. [ro.build.version.codename]: [REL]
  303. [ro.build.version.incremental]: [6.3.17]
  304. [ro.build.version.preview_sdk]: [0]
  305. [ro.build.version.release]: [6.0.1]
  306. [ro.build.version.sdk]: [23]
  307. [ro.build.version.security_patch]: [2016-03-01]
  308. [ro.carrier]: [unknown]
  309. [ro.com.android.dataroaming]: [false]
  310. [ro.com.android.mobiledata]: [false]
  311. [ro.com.google.clientidbase]: [android-xiaomi]
  312. [ro.com.google.gmsversion]: [6.0_r2]
  313. [ro.com.widevine.cachesize]: [16777216]
  314. [ro.config.alarm_alert]: [Alarm_Classic.ogg]
  315. [ro.config.elder-ringtone]: [Angel.mp3]
  316. [ro.config.notification_sound]: [pixiedust.ogg]
  317. [ro.config.ringtone]: [Ring_Synth_04.ogg]
  318. [ro.config.sms_delivered_sound]: [MessageComplete.ogg]
  319. [ro.config.sms_received_sound]: [FadeIn.ogg]
  320. [ro.crypto.state]: [unencrypted]
  321. [ro.dalvik.vm.native.bridge]: [0]
  322. [ro.data.large_tcp_window_size]: [true]
  323. [ro.debuggable]: [0]
  324. [ro.expect.recovery_id]: [0x26f7e4aef2aff9f03d2160e365c67ce383c8e9e4000000000000000000000000]
  325. [ro.gps.agps_provider]: [1]
  326. [ro.hardware]: [qcom]
  327. [ro.hardware.sensors]: [leo]
  328. [ro.hdmi.enable]: [true]
  329. [ro.hwui.drop_shadow_cache_size]: [6]
  330. [ro.hwui.gradient_cache_size]: [1]
  331. [ro.hwui.layer_cache_size]: [48]
  332. [ro.hwui.path_cache_size]: [32]
  333. [ro.hwui.r_buffer_cache_size]: [8]
  334. [ro.hwui.text_large_cache_height]: [1024]
  335. [ro.hwui.text_large_cache_width]: [2048]
  336. [ro.hwui.text_small_cache_height]: [1024]
  337. [ro.hwui.text_small_cache_width]: [1024]
  338. [ro.hwui.texture_cache_flushrate]: [0.4]
  339. [ro.hwui.texture_cache_size]: [72]
  340. [ro.hwversion]: [54]
  341. [ro.miui.cust_variant]: [hk]
  342. [ro.miui.has_handy_mode_sf]: [1]
  343. [ro.miui.has_real_blur]: [1]
  344. [ro.miui.internal.storage]: [/data/media]
  345. [ro.miui.mcc]: [9454]
  346. [ro.miui.mnc]: [9999]
  347. [ro.miui.region]: [HK]
  348. [ro.miui.ui.version.code]: [5]
  349. [ro.miui.ui.version.name]: [V7]
  350. [ro.nfc.port]: [I2C]
  351. [ro.opengles.version]: [196608]
  352. [ro.product.board]: [MSM8974]
  353. [ro.product.brand]: [Xiaomi]
  354. [ro.product.cpu.abi]: [armeabi-v7a]
  355. [ro.product.cpu.abi2]: [armeabi]
  356. [ro.product.cpu.abilist]: [armeabi-v7a,armeabi]
  357. [ro.product.cpu.abilist32]: [armeabi-v7a,armeabi]
  358. [ro.product.cpu.abilist64]: []
  359. [ro.product.cuptsm]: [XIAOMI|ESE|02|01]
  360. [ro.product.device]: [virgo]
  361. [ro.product.locale]: [en-GB]
  362. [ro.product.locale.language]: [zh]
  363. [ro.product.locale.region]: [TW]
  364. [ro.product.manufacturer]: [Xiaomi]
  365. [ro.product.mod_device]: [virgo_global]
  366. [ro.product.model]: [MI NOTE LTE]
  367. [ro.product.name]: [virgo]
  368. [ro.qc.sdk.audio.fluencetype]: [fluence]
  369. [ro.qc.sdk.audio.ssr]: [false]
  370. [ro.qc.sdk.camera.facialproc]: [false]
  371. [ro.qc.sdk.gestures.camera]: [false]
  372. [ro.qc.sdk.sensors.gestures]: [true]
  373. [ro.qc.sdk.us.digitalpen]: [1]
  374. [ro.qcom.ad]: [1]
  375. [ro.qcom.ad.calib.data]: [/system/etc/calib.cfg]
  376. [ro.qcom.ad.sensortype]: [2]
  377. [ro.qualcomm.bluetooth.ftp]: [true]
  378. [ro.qualcomm.bluetooth.hfp]: [true]
  379. [ro.qualcomm.bluetooth.hsp]: [true]
  380. [ro.qualcomm.bluetooth.map]: [true]
  381. [ro.qualcomm.bluetooth.nap]: [true]
  382. [ro.qualcomm.bluetooth.opp]: [true]
  383. [ro.qualcomm.bluetooth.pbap]: [true]
  384. [ro.qualcomm.bt.hci_transport]: [smd]
  385. [ro.qualcomm.cabl]: [0]
  386. [ro.qualcomm.perf.cores_online]: [2]
  387. [ro.revision]: [0]
  388. [ro.ril.ftm_mode]: [0]
  389. [ro.ril.oem.imei]: [865982025679997]
  390. [ro.ril.oem.imei1]: [865982025679997]
  391. [ro.ril.oem.imei2]: [865982025679997]
  392. [ro.ril.svdo]: [false]
  393. [ro.ril.svlte1x]: [false]
  394. [ro.runtime.firstboot]: [1468490706821]
  395. [ro.secure]: [1]
  396. [ro.serialno]: [da91853a]
  397. [ro.setupwizard.mode]: [OPTIONAL]
  398. [ro.sf.lcd_density]: [480]
  399. [ro.sys.ft_whole_anim]: [true]
  400. [ro.sys.oem.sno]: [4X5330A21541]
  401. [ro.syspart]: [system]
  402. [ro.telephony.call_ring.multiple]: [false]
  403. [ro.telephony.default_cdma_sub]: [0]
  404. [ro.telephony.default_network]: [20]
  405. [ro.use_data_netmgrd]: [true]
  406. [ro.vendor.extension_library]: [libqti-perfd-client.so]
  407. [ro.wifi.channels]: []
  408. [ro.zygote]: [zygote32]
  409. [selinux.reload_policy]: [1]
  410. [service.bootanim.exit]: [1]
  411. [sukernel.mount]: [1]
  412. [supolicy.loaded]: [1]
  413. [sys.boot_completed]: [1]
  414. [sys.ims.QMI_DAEMON_STATUS]: [1]
  415. [sys.is_keyguard_showing]: [1]
  416. [sys.keyguard.bleunlock]: [true]
  417. [sys.keyguard.screen_off_by_lid]: [false]
  418. [sys.keymaster.loaded]: [true]
  419. [sys.listeners.registered]: [true]
  420. [sys.miui.user_authenticated]: [true]
  421. [sys.panel.color]: [WHITE]
  422. [sys.settings_global_version]: [149]
  423. [sys.settings_secure_version]: [141]
  424. [sys.settings_system_version]: [953]
  425. [sys.sysctl.extra_free_kbytes]: [24300]
  426. [sys.sysctl.tcp_def_init_rwnd]: [60]
  427. [sys.usb.config]: [mtp,adb]
  428. [sys.usb.configfs]: [0]
  429. [sys.usb.state]: [mtp,adb]
  430. [tunnel.audio.encode]: [false]
  431. [use.voice.path.for.pcm.voip]: [true]
  432. [vidc.debug.level]: [1]
  433. [vold.has_adoptable]: [0]
  434. [vold.post_fs_data_done]: [1]
  435. [wifi.interface]: [wlan0]
  436. [wlan.driver.ath]: [0]
  437. [wlan.driver.status]: [ok]
  438. shell@virgo:/ $
版本2:
  1. shell@virgo:/ $ getprop                                                       
  2. [DEVICE_PROVISIONED]: [1]
  3. [audio.offload.buffer.size.kb]: [32]
  4. [audio.offload.disable]: [true]
  5. [audio.offload.gapless.enabled]: [false]
  6. [audio.offload.pcm.16bit.enable]: [true]
  7. [audio.offload.pcm.24bit.enable]: [true]
  8. [audio.offload.pcm.enable]: [true]
  9. [audio.offload.video]: [true]
  10. [bluetooth.hfp.client]: [1]
  11. [camera2.portability.force_api]: [1]
  12. [dalvik.vm.dex2oat-Xms]: [64m]
  13. [dalvik.vm.dex2oat-Xmx]: [512m]
  14. [dalvik.vm.heapgrowthlimit]: [128m]
  15. [dalvik.vm.heapmaxfree]: [32m]
  16. [dalvik.vm.heapminfree]: [8m]
  17. [dalvik.vm.heapsize]: [512m]
  18. [dalvik.vm.heapstartsize]: [8m]
  19. [dalvik.vm.heaptargetutilization]: [0.75]
  20. [dalvik.vm.image-dex2oat-Xms]: [64m]
  21. [dalvik.vm.image-dex2oat-Xmx]: [64m]
  22. [dalvik.vm.isa.arm.features]: [default]
  23. [dalvik.vm.isa.arm.variant]: [krait]
  24. [dalvik.vm.stack-trace-file]: [/data/anr/traces.txt]
  25. [debug.atrace.tags.enableflags]: [0]
  26. [debug.composition.type]: [c2d]
  27. [debug.egl.hw]: [1]
  28. [debug.force_rtl]: [0]
  29. [debug.mdpcomp.logs]: [0]
  30. [debug.sf.hw]: [1]
  31. [dev.bootcomplete]: [1]
  32. [dev.pm.dyn_samplingrate]: [1]
  33. [drm.service.enabled]: [true]
  34. [gsm.apn.sim.operator.numeric]: [46001,46001]
  35. [gsm.current.phone-type]: [1,1]
  36. [gsm.defaultpdpcontext.active]: [true]
  37. [gsm.network.type]: [LTE,Unknown]
  38. [gsm.nitz.time]: [1468922077038]
  39. [gsm.operator.alpha]: [Verizon]
  40. [gsm.operator.iso-country]: [us]
  41. [gsm.operator.isroaming]: [false,false]
  42. [gsm.operator.numeric]: [310004]
  43. [gsm.sim.operator.alpha]: [Verizon]
  44. [gsm.sim.operator.iso-country]: [us]
  45. [gsm.sim.operator.numeric]: [310004]
  46. [gsm.sim.state]: [READY,READY]
  47. [gsm.version.baseband]: [MPSS.DI.4.0-63d722f]
  48. [gsm.version.baseband1]: [MPSS.DI.4.0-63d722f]
  49. [gsm.version.ril-impl]: [Qualcomm RIL 1.0]
  50. [hw.ad.mode]: [1]
  51. [hw.cabl.version]: [2.0.20140905]
  52. [hw.cabl.yuv]: [0]
  53. [hw.pp.cfg]: [/data/misc/display/pp_data.cfg]
  54. [init.svc.adbd]: [stopping]
  55. [init.svc.adsprpcd]: [running]
  56. [init.svc.atfwd]: [stopped]
  57. [init.svc.audiod]: [running]
  58. [init.svc.bootanim]: [stopped]
  59. [init.svc.changepowermode]: [stopped]
  60. [init.svc.charger_monitor]: [running]
  61. [init.svc.checkpath]: [stopped]
  62. [init.svc.checksdkpath]: [stopped]
  63. [init.svc.cnd]: [running]
  64. [init.svc.config_bluetooth]: [stopped]
  65. [init.svc.daemonsu]: [stopped]
  66. [init.svc.debuggerd]: [running]
  67. [init.svc.displayfeature]: [running]
  68. [init.svc.dpmd]: [running]
  69. [init.svc.drm]: [running]
  70. [init.svc.fdpp]: [running]
  71. [init.svc.gatekeeperd]: [running]
  72. [init.svc.healthd]: [running]
  73. [init.svc.hvdcp]: [running]
  74. [init.svc.imsdatadaemon]: [running]
  75. [init.svc.imsqmidaemon]: [running]
  76. [init.svc.installd]: [running]
  77. [init.svc.irsc_util]: [stopped]
  78. [init.svc.keystore]: [running]
  79. [init.svc.lmkd]: [running]
  80. [init.svc.loc_launcher]: [running]
  81. [init.svc.logd]: [running]
  82. [init.svc.logd-reinit]: [stopped]
  83. [init.svc.mcd_init]: [stopped]
  84. [init.svc.mcd_service]: [running]
  85. [init.svc.media]: [running]
  86. [init.svc.modem_dump]: [running]
  87. [init.svc.mpdecision]: [running]
  88. [init.svc.mtpd]: [running]
  89. [init.svc.netd]: [running]
  90. [init.svc.netmgrd]: [running]
  91. [init.svc.p2p_supplicant]: [running]
  92. [init.svc.ppd]: [running]
  93. [init.svc.qcamerasvr]: [running]
  94. [init.svc.qcom-c_core-sh]: [stopped]
  95. [init.svc.qcom-c_main-sh]: [stopped]
  96. [init.svc.qcom-post-boot]: [stopped]
  97. [init.svc.qcom-sh]: [stopped]
  98. [init.svc.qcom-usb-sh]: [stopped]
  99. [init.svc.qcomsysd]: [running]
  100. [init.svc.qmuxd]: [running]
  101. [init.svc.qseecomd]: [running]
  102. [init.svc.qti-testscripts]: [stopped]
  103. [init.svc.racoon]: [stopped]
  104. [init.svc.rfs_access]: [running]
  105. [init.svc.ril-daemon]: [running]
  106. [init.svc.ril-daemon2]: [running]
  107. [init.svc.rmt_storage]: [running]
  108. [init.svc.servicemanager]: [running]
  109. [init.svc.setlockstate]: [stopped]
  110. [init.svc.shelld]: [running]
  111. [init.svc.ssr_setup]: [stopped]
  112. [init.svc.surfaceflinger]: [running]
  113. [init.svc.thermal-engine]: [running]
  114. [init.svc.thermal-perf]: [stopped]
  115. [init.svc.time_daemon]: [running]
  116. [init.svc.ueventd]: [running]
  117. [init.svc.usf-post-boot]: [stopped]
  118. [init.svc.vold]: [running]
  119. [init.svc.wcnss-service]: [running]
  120. [init.svc.zygote]: [running]
  121. [keyguard.no_require_sim]: [true]
  122. [media.aac_51_output_enabled]: [true]
  123. [media.stagefright.enable-aac]: [true]
  124. [media.stagefright.enable-fma2dp]: [true]
  125. [media.stagefright.enable-http]: [true]
  126. [media.stagefright.enable-player]: [true]
  127. [media.stagefright.enable-qcp]: [true]
  128. [media.stagefright.enable-scan]: [true]
  129. [mm.enable.qcom_parser]: [37491]
  130. [mm.enable.smoothstreaming]: [true]
  131. [mmp.enable.3g2]: [true]
  132. [net.bt.name]: [Android]
  133. [net.change]: [net.rmnet0.gw]
  134. [net.dns1]: [202.106.46.151]
  135. [net.dns2]: [202.106.0.20]
  136. [net.dns3]: [114.114.114.114]
  137. [net.hostname]: [MINOTELTE-SENRSL_XM]
  138. [net.qtaguid_enabled]: [1]
  139. [net.rmnet0.dns1]: []
  140. [net.rmnet0.dns2]: []
  141. [net.rmnet0.gw]: []
  142. [net.tcp.buffersize.default]: [4096,87380,110208,4096,16384,110208]
  143. [net.tcp.buffersize.edge]: [4093,26280,35040,4096,16384,35040]
  144. [net.tcp.buffersize.evdo]: [4094,87380,262144,4096,16384,262144]
  145. [net.tcp.buffersize.gprs]: [4092,8760,11680,4096,8760,11680]
  146. [net.tcp.buffersize.hsdpa]: [4094,87380,1220608,4096,16384,1220608]
  147. [net.tcp.buffersize.hspa]: [4094,87380,1220608,4096,16384,1220608]
  148. [net.tcp.buffersize.hspap]: [4094,87380,1220608,4096,16384,1220608]
  149. [net.tcp.buffersize.hsupa]: [4094,87380,1220608,4096,16384,1220608]
  150. [net.tcp.buffersize.lte]: [524288,1048576,2097152,262144,524288,1048576]
  151. [net.tcp.buffersize.umts]: [4094,87380,110208,4096,16384,110208]
  152. [net.tcp.buffersize.wifi]: [524288,2097152,4194304,262144,524288,1048576]
  153. [net.tcp.default_init_rwnd]: [60]
  154. [net.tcp.delack.default]: [1]
  155. [net.tcp.delack.lte]: [8]
  156. [net.tcp.delack.wifi]: [20]
  157. [net.tcp.usercfg.default]: [0]
  158. [net.tcp.usercfg.lte]: [1]
  159. [net.tcp.usercfg.wifi]: [1]
  160. [persist.audio.fluence.speaker]: [true]
  161. [persist.audio.fluence.voicecall]: [true]
  162. [persist.audio.fluence.voicerec]: [false]
  163. [persist.audio.hifi]: [false]
  164. [persist.audio.hifi.volume]: [0]
  165. [persist.cne.feature]: [0]
  166. [persist.data.netmgrd.qos.enable]: [true]
  167. [persist.data.tcp_rst_drop]: [true]
  168. [persist.debug.wfd.enable]: [1]
  169. [persist.demo.hdmirotationlock]: [false]
  170. [persist.env.fastdorm.enabled]: [true]
  171. [persist.fd.scroff.timer]: [3000]
  172. [persist.fd.scron.timer]: [10000]
  173. [persist.fuse_sdcard]: [true]
  174. [persist.gps.qc_nlp_in_use]: [1]
  175. [persist.hwc.mdpcomp.enable]: [true]
  176. [persist.loc.nlp_name]: [com.qualcomm.location]
  177. [persist.logd.size]: []
  178. [persist.logd.size.radio]: [4M]
  179. [persist.miui.density_v2]: [440]
  180. [persist.omh.enabled]: [true]
  181. [persist.power.useautobrightadj]: [true]
  182. [persist.radio.adb_log_on]: [0]
  183. [persist.radio.apm_sim_not_pwdn]: [0]
  184. [persist.radio.custom_ecc]: [1]
  185. [persist.radio.data_no_toggle]: [1]
  186. [persist.radio.default.data]: [0]
  187. [persist.radio.default.voice]: [1]
  188. [persist.radio.eons.enabled]: [false]
  189. [persist.radio.force_on_dc]: [true]
  190. [persist.radio.iccid]: [89860115817082754524,89860115811011188029]
  191. [persist.radio.ignore_dom_time]: [5]
  192. [persist.radio.imei]: [865982025679997]
  193. [persist.radio.imei1]: [865982025679997]
  194. [persist.radio.imei2]: [865982025679997]
  195. [persist.radio.modem]: [LTE-X5]
  196. [persist.radio.msim.stackid_0]: [0]
  197. [persist.radio.msim.stackid_1]: [1]
  198. [persist.radio.multisim.config]: [dsds]
  199. [persist.radio.ramdump_sdcard]: [1]
  200. [persist.radio.rat_on]: [combine]
  201. [persist.radio.ril_payload_on]: [0]
  202. [persist.radio.sglte_target]: [0]
  203. [persist.radio.stack_id_0]: [0]
  204. [persist.radio.stack_id_1]: [1]
  205. [persist.rild.nitz_long_ons_0]: []
  206. [persist.rild.nitz_long_ons_1]: []
  207. [persist.rild.nitz_long_ons_2]: []
  208. [persist.rild.nitz_long_ons_3]: []
  209. [persist.rild.nitz_plmn]: []
  210. [persist.rild.nitz_short_ons_0]: []
  211. [persist.rild.nitz_short_ons_1]: []
  212. [persist.rild.nitz_short_ons_2]: []
  213. [persist.rild.nitz_short_ons_3]: []
  214. [persist.speaker.prot.enable]: [true]
  215. [persist.sys.aries.power_profile]: [middle]
  216. [persist.sys.button_headset_hook]: [media]
  217. [persist.sys.button_jack_profile]: [volume]
  218. [persist.sys.button_jack_switch]: [0]
  219. [persist.sys.country]: []
  220. [persist.sys.dalvik.vm.lib.2]: [libart.so]
  221. [persist.sys.device_name]: [SENRSL_XM]
  222. [persist.sys.display_cabc]: [1]
  223. [persist.sys.display_ce]: [10]
  224. [persist.sys.display_eyecare]: [0]
  225. [persist.sys.dpmd.nsrm]: [2]
  226. [persist.sys.dpmd.tcm]: [2]
  227. [persist.sys.klo]: [on]
  228. [persist.sys.klo.rec_start]: [1469096042]
  229. [persist.sys.language]: []
  230. [persist.sys.locale]: [zh-CN]
  231. [persist.sys.localevar]: []
  232. [persist.sys.ltm_enable]: [true]
  233. [persist.sys.mcd_config_file]: [/system/etc/mcd_default.conf]
  234. [persist.sys.memctrl]: [supported]
  235. [persist.sys.mitalk.enable]: [true]
  236. [persist.sys.profiler_ms]: [0]
  237. [persist.sys.released]: [true]
  238. [persist.sys.sc_allow_conn]: [true]
  239. [persist.sys.screenshot_mode]: [1]
  240. [persist.sys.silent]: [0]
  241. [persist.sys.smartcover_enabled]: [false]
  242. [persist.sys.smartcover_mode]: [1]
  243. [persist.sys.ssr.restart_level]: [ALL_ENABLE]
  244. [persist.sys.strict_op_enable]: [false]
  245. [persist.sys.strictmode.disable]: [true]
  246. [persist.sys.timezone]: [Asia/Shanghai]
  247. [persist.sys.usb.config]: [mtp,adb]
  248. [persist.sys.usb.config.extra]: [none]
  249. [persist.sys.webview.vmsize]: [104857600]
  250. [persist.sys.wfd.virtual]: [0]
  251. [persist.sys.whitelist]: [/system/etc/whitelist_appops.xml]
  252. [persist.timed.enable]: [true]
  253. [persist.usb.hvdcp.detect]: [true]
  254. [qc.izat.gtp.wifi.low_power]: [DISABLED]
  255. [qcom.hw.aac.encoder]: [false]
  256. [radio.atfwd.start]: [false]
  257. [ril.ecclist]: [*911,#911,911,112,110,119,120,122,999]
  258. [ril.ecclist1]: [*911,#911,911,112,110,119,120,122,999]
  259. [ril.limit_service_mnc]: [GSM_460]
  260. [ril.qcril_pre_init_lock_held]: [0]
  261. [ril.subscription.types]: [RUIM]
  262. [rild.libargs]: [-d /dev/smd0]
  263. [rild.libpath]: [/vendor/lib/libril-qc-qmi-1.so]
  264. [ro.adb.secure]: [1]
  265. [ro.allow.mock.location]: [0]
  266. [ro.audio.hifi]: [true]
  267. [ro.baseband]: [msm]
  268. [ro.bluetooth.dun]: [true]
  269. [ro.bluetooth.hfp.ver]: [1.7]
  270. [ro.bluetooth.sap]: [true]
  271. [ro.board.platform]: [msm8974]
  272. [ro.boot.baseband]: [msm]
  273. [ro.boot.bootdevice]: [msm_sdcc.1]
  274. [ro.boot.emmc]: [true]
  275. [ro.boot.hardware]: [qcom]
  276. [ro.boot.hwversion]: [54]
  277. [ro.boot.serialno]: [da91853a]
  278. [ro.bootimage.build.date]: [Thu Mar 17 00:57:35 CST 2016]
  279. [ro.bootimage.build.date.utc]: [1458147455]
  280. [ro.bootimage.build.fingerprint]: [Xiaomi/virgo/virgo:6.0.1/MMB29M/6.3.17:user/test-keys]
  281. [ro.bootloader]: [unknown]
  282. [ro.bootmode]: [unknown]
  283. [ro.btconfig.chip]: [WCN3680]
  284. [ro.btconfig.dev]: [/dev/smd3]
  285. [ro.btconfig.if]: [smd]
  286. [ro.btconfig.vendor]: [qcom]
  287. [ro.build.characteristics]: [nosdcard]
  288. [ro.build.date]: [Thu Mar 17 00:56:07 CST 2016]
  289. [ro.build.date.utc]: [1458147367]
  290. [ro.build.description]: [virgo-user 6.0.1 MMB29M 6.3.17 release-keys]
  291. [ro.build.display.id]: [MMB29M]
  292. [ro.build.fingerprint]: [Xiaomi/virgo/virgo:6.0.1/MMB29M/6.3.17:user/release-keys]
  293. [ro.build.flavor]: [virgo-user]
  294. [ro.build.host]: [qh-miui-ota-bd62]
  295. [ro.build.id]: [MMB29M]
  296. [ro.build.product]: [virgo]
  297. [ro.build.tags]: [release-keys]
  298. [ro.build.type]: [user]
  299. [ro.build.user]: [builder]
  300. [ro.build.version.all_codenames]: [REL]
  301. [ro.build.version.base_os]: []
  302. [ro.build.version.codename]: [REL]
  303. [ro.build.version.incremental]: [6.3.17]
  304. [ro.build.version.preview_sdk]: [0]
  305. [ro.build.version.release]: [6.0.1]
  306. [ro.build.version.sdk]: [23]
  307. [ro.build.version.security_patch]: [2016-03-01]
  308. [ro.carrier]: [unknown]
  309. [ro.com.android.dataroaming]: [false]
  310. [ro.com.android.mobiledata]: [false]
  311. [ro.com.google.clientidbase]: [android-xiaomi]
  312. [ro.com.google.gmsversion]: [6.0_r2]
  313. [ro.com.widevine.cachesize]: [16777216]
  314. [ro.config.alarm_alert]: [Alarm_Classic.ogg]
  315. [ro.config.elder-ringtone]: [Angel.mp3]
  316. [ro.config.notification_sound]: [pixiedust.ogg]
  317. [ro.config.ringtone]: [Ring_Synth_04.ogg]
  318. [ro.config.sms_delivered_sound]: [MessageComplete.ogg]
  319. [ro.config.sms_received_sound]: [FadeIn.ogg]
  320. [ro.crypto.state]: [unencrypted]
  321. [ro.dalvik.vm.native.bridge]: [0]
  322. [ro.data.large_tcp_window_size]: [true]
  323. [ro.debuggable]: [0]
  324. [ro.expect.recovery_id]: [0x26f7e4aef2aff9f03d2160e365c67ce383c8e9e4000000000000000000000000]
  325. [ro.gps.agps_provider]: [1]
  326. [ro.hardware]: [qcom]
  327. [ro.hardware.sensors]: [leo]
  328. [ro.hdmi.enable]: [true]
  329. [ro.hwui.drop_shadow_cache_size]: [6]
  330. [ro.hwui.gradient_cache_size]: [1]
  331. [ro.hwui.layer_cache_size]: [48]
  332. [ro.hwui.path_cache_size]: [32]
  333. [ro.hwui.r_buffer_cache_size]: [8]
  334. [ro.hwui.text_large_cache_height]: [1024]
  335. [ro.hwui.text_large_cache_width]: [2048]
  336. [ro.hwui.text_small_cache_height]: [1024]
  337. [ro.hwui.text_small_cache_width]: [1024]
  338. [ro.hwui.texture_cache_flushrate]: [0.4]
  339. [ro.hwui.texture_cache_size]: [72]
  340. [ro.hwversion]: [54]
  341. [ro.miui.cust_variant]: [hk]
  342. [ro.miui.has_handy_mode_sf]: [1]
  343. [ro.miui.has_real_blur]: [1]
  344. [ro.miui.internal.storage]: [/data/media]
  345. [ro.miui.mcc]: [9454]
  346. [ro.miui.mnc]: [9999]
  347. [ro.miui.region]: [HK]
  348. [ro.miui.ui.version.code]: [5]
  349. [ro.miui.ui.version.name]: [V7]
  350. [ro.nfc.port]: [I2C]
  351. [ro.opengles.version]: [196608]
  352. [ro.product.board]: [MSM8974]
  353. [ro.product.brand]: [Xiaomi]
  354. [ro.product.cpu.abi]: [armeabi-v7a]
  355. [ro.product.cpu.abi2]: [armeabi]
  356. [ro.product.cpu.abilist]: [armeabi-v7a,armeabi]
  357. [ro.product.cpu.abilist32]: [armeabi-v7a,armeabi]
  358. [ro.product.cpu.abilist64]: []
  359. [ro.product.cuptsm]: [XIAOMI|ESE|02|01]
  360. [ro.product.device]: [virgo]
  361. [ro.product.locale]: [en-GB]
  362. [ro.product.locale.language]: [zh]
  363. [ro.product.locale.region]: [TW]
  364. [ro.product.manufacturer]: [Xiaomi]
  365. [ro.product.mod_device]: [virgo_global]
  366. [ro.product.model]: [MI NOTE LTE]
  367. [ro.product.name]: [virgo]
  368. [ro.qc.sdk.audio.fluencetype]: [fluence]
  369. [ro.qc.sdk.audio.ssr]: [false]
  370. [ro.qc.sdk.camera.facialproc]: [false]
  371. [ro.qc.sdk.gestures.camera]: [false]
  372. [ro.qc.sdk.sensors.gestures]: [true]
  373. [ro.qc.sdk.us.digitalpen]: [1]
  374. [ro.qcom.ad]: [1]
  375. [ro.qcom.ad.calib.data]: [/system/etc/calib.cfg]
  376. [ro.qcom.ad.sensortype]: [2]
  377. [ro.qualcomm.bluetooth.ftp]: [true]
  378. [ro.qualcomm.bluetooth.hfp]: [true]
  379. [ro.qualcomm.bluetooth.hsp]: [true]
  380. [ro.qualcomm.bluetooth.map]: [true]
  381. [ro.qualcomm.bluetooth.nap]: [true]
  382. [ro.qualcomm.bluetooth.opp]: [true]
  383. [ro.qualcomm.bluetooth.pbap]: [true]
  384. [ro.qualcomm.bt.hci_transport]: [smd]
  385. [ro.qualcomm.cabl]: [0]
  386. [ro.qualcomm.perf.cores_online]: [2]
  387. [ro.revision]: [0]
  388. [ro.ril.ftm_mode]: [0]
  389. [ro.ril.oem.imei]: [865982025679997]
  390. [ro.ril.oem.imei1]: [865982025679997]
  391. [ro.ril.oem.imei2]: [865982025679997]
  392. [ro.ril.svdo]: [false]
  393. [ro.ril.svlte1x]: [false]
  394. [ro.runtime.firstboot]: [1468490706821]
  395. [ro.secure]: [1]
  396. [ro.serialno]: [da91853a]
  397. [ro.setupwizard.mode]: [OPTIONAL]
  398. [ro.sf.lcd_density]: [480]
  399. [ro.sys.ft_whole_anim]: [true]
  400. [ro.sys.oem.sno]: [4X5330A21541]
  401. [ro.syspart]: [system]
  402. [ro.telephony.call_ring.multiple]: [false]
  403. [ro.telephony.default_cdma_sub]: [0]
  404. [ro.telephony.default_network]: [20]
  405. [ro.use_data_netmgrd]: [true]
  406. [ro.vendor.extension_library]: [libqti-perfd-client.so]
  407. [ro.wifi.channels]: []
  408. [ro.zygote]: [zygote32]
  409. [selinux.reload_policy]: [1]
  410. [service.bootanim.exit]: [1]
  411. [sukernel.mount]: [1]
  412. [supolicy.loaded]: [1]
  413. [sys.boot_completed]: [1]
  414. [sys.ims.QMI_DAEMON_STATUS]: [1]
  415. [sys.is_keyguard_showing]: [0]
  416. [sys.keyguard.bleunlock]: [true]
  417. [sys.keyguard.screen_off_by_lid]: [false]
  418. [sys.keymaster.loaded]: [true]
  419. [sys.listeners.registered]: [true]
  420. [sys.miui.user_authenticated]: [true]
  421. [sys.panel.color]: [WHITE]
  422. [sys.settings_global_version]: [149]
  423. [sys.settings_secure_version]: [141]
  424. [sys.settings_system_version]: [953]
  425. [sys.sysctl.extra_free_kbytes]: [24300]
  426. [sys.sysctl.tcp_def_init_rwnd]: [60]
  427. [sys.usb.config]: [mtp,adb]
  428. [sys.usb.configfs]: [0]
  429. [sys.usb.state]: [mtp,adb]
  430. [tunnel.audio.encode]: [false]
  431. [use.voice.path.for.pcm.voip]: [true]
  432. [vidc.debug.level]: [1]
  433. [vold.has_adoptable]: [0]
  434. [vold.post_fs_data_done]: [1]
  435. [wifi.interface]: [wlan0]
  436. [wlan.driver.ath]: [0]
  437. [wlan.driver.status]: [ok]
  438. shell@virgo:/ $

版本4:
  1. shell@virgo:/ $ getprop                                                       
  2. [DEVICE_PROVISIONED]: [1]
  3. [audio.offload.buffer.size.kb]: [32]
  4. [audio.offload.disable]: [true]
  5. [audio.offload.gapless.enabled]: [false]
  6. [audio.offload.pcm.16bit.enable]: [true]
  7. [audio.offload.pcm.24bit.enable]: [true]
  8. [audio.offload.pcm.enable]: [true]
  9. [audio.offload.video]: [true]
  10. [bluetooth.hfp.client]: [1]
  11. [camera2.portability.force_api]: [1]
  12. [dalvik.vm.dex2oat-Xms]: [64m]
  13. [dalvik.vm.dex2oat-Xmx]: [512m]
  14. [dalvik.vm.heapgrowthlimit]: [128m]
  15. [dalvik.vm.heapmaxfree]: [32m]
  16. [dalvik.vm.heapminfree]: [8m]
  17. [dalvik.vm.heapsize]: [512m]
  18. [dalvik.vm.heapstartsize]: [8m]
  19. [dalvik.vm.heaptargetutilization]: [0.75]
  20. [dalvik.vm.image-dex2oat-Xms]: [64m]
  21. [dalvik.vm.image-dex2oat-Xmx]: [64m]
  22. [dalvik.vm.isa.arm.features]: [default]
  23. [dalvik.vm.isa.arm.variant]: [krait]
  24. [dalvik.vm.stack-trace-file]: [/data/anr/traces.txt]
  25. [debug.atrace.tags.enableflags]: [0]
  26. [debug.composition.type]: [c2d]
  27. [debug.egl.hw]: [1]
  28. [debug.force_rtl]: [0]
  29. [debug.mdpcomp.logs]: [0]
  30. [debug.sf.hw]: [1]
  31. [dev.bootcomplete]: [1]
  32. [dev.pm.dyn_samplingrate]: [1]
  33. [drm.service.enabled]: [true]
  34. [gsm.apn.sim.operator.numeric]: [46001]
  35. [gsm.current.phone-type]: [1,1]
  36. [gsm.network.type]: [LTE,Unknown]
  37. [gsm.operator.alpha]: [CHN-UNICOM,CHN-UNICOM]
  38. [gsm.operator.iso-country]: [cn,cn]
  39. [gsm.operator.isroaming]: [false,false]
  40. [gsm.operator.numeric]: [46001,46001]
  41. [gsm.sim.operator.alpha]: [,]
  42. [gsm.sim.operator.iso-country]: [cn,cn]
  43. [gsm.sim.operator.numeric]: [46001,46001]
  44. [gsm.sim.state]: [READY,READY]
  45. [gsm.version.baseband]: [MPSS.DI.4.0-63d722f]
  46. [gsm.version.baseband1]: [MPSS.DI.4.0-63d722f]
  47. [gsm.version.ril-impl]: [Qualcomm RIL 1.0]
  48. [hw.ad.mode]: [1]
  49. [hw.cabl.version]: [2.0.20140905]
  50. [hw.cabl.yuv]: [0]
  51. [hw.pp.cfg]: [/data/misc/display/pp_data.cfg]
  52. [init.svc.adbd]: [running]
  53. [init.svc.adsprpcd]: [running]
  54. [init.svc.atfwd]: [running]
  55. [init.svc.audiod]: [running]
  56. [init.svc.bootanim]: [stopped]
  57. [init.svc.changepowermode]: [stopped]
  58. [init.svc.charger_monitor]: [running]
  59. [init.svc.checkpath]: [stopped]
  60. [init.svc.checksdkpath]: [stopped]
  61. [init.svc.cnd]: [running]
  62. [init.svc.config_bluetooth]: [stopped]
  63. [init.svc.daemonsu]: [stopped]
  64. [init.svc.debuggerd]: [running]
  65. [init.svc.displayfeature]: [running]
  66. [init.svc.dpmd]: [running]
  67. [init.svc.drm]: [running]
  68. [init.svc.fdpp]: [running]
  69. [init.svc.gatekeeperd]: [running]
  70. [init.svc.healthd]: [running]
  71. [init.svc.hvdcp]: [running]
  72. [init.svc.imsdatadaemon]: [running]
  73. [init.svc.imsqmidaemon]: [running]
  74. [init.svc.installd]: [running]
  75. [init.svc.irsc_util]: [stopped]
  76. [init.svc.keystore]: [running]
  77. [init.svc.lmkd]: [running]
  78. [init.svc.loc_launcher]: [running]
  79. [init.svc.logd]: [running]
  80. [init.svc.logd-reinit]: [stopped]
  81. [init.svc.mcd_init]: [stopped]
  82. [init.svc.mcd_service]: [running]
  83. [init.svc.media]: [running]
  84. [init.svc.modem_dump]: [running]
  85. [init.svc.mpdecision]: [running]
  86. [init.svc.netd]: [running]
  87. [init.svc.netmgrd]: [running]
  88. [init.svc.p2p_supplicant]: [running]
  89. [init.svc.ppd]: [running]
  90. [init.svc.qcamerasvr]: [running]
  91. [init.svc.qcom-c_core-sh]: [stopped]
  92. [init.svc.qcom-c_main-sh]: [stopped]
  93. [init.svc.qcom-post-boot]: [stopped]
  94. [init.svc.qcom-sh]: [stopped]
  95. [init.svc.qcom-usb-sh]: [stopped]
  96. [init.svc.qcomsysd]: [running]
  97. [init.svc.qmuxd]: [running]
  98. [init.svc.qseecomd]: [running]
  99. [init.svc.qti-testscripts]: [stopped]
  100. [init.svc.rfs_access]: [running]
  101. [init.svc.ril-daemon]: [running]
  102. [init.svc.ril-daemon2]: [running]
  103. [init.svc.rmt_storage]: [running]
  104. [init.svc.servicemanager]: [running]
  105. [init.svc.setlockstate]: [stopped]
  106. [init.svc.shelld]: [running]
  107. [init.svc.ssr_setup]: [stopped]
  108. [init.svc.surfaceflinger]: [running]
  109. [init.svc.thermal-engine]: [running]
  110. [init.svc.thermal-perf]: [stopped]
  111. [init.svc.time_daemon]: [running]
  112. [init.svc.ueventd]: [running]
  113. [init.svc.usf-post-boot]: [stopped]
  114. [init.svc.vold]: [running]
  115. [init.svc.wcnss-service]: [running]
  116. [init.svc.zygote]: [running]
  117. [keyguard.no_require_sim]: [true]
  118. [media.aac_51_output_enabled]: [true]
  119. [media.stagefright.enable-aac]: [true]
  120. [media.stagefright.enable-fma2dp]: [true]
  121. [media.stagefright.enable-http]: [true]
  122. [media.stagefright.enable-player]: [true]
  123. [media.stagefright.enable-qcp]: [true]
  124. [media.stagefright.enable-scan]: [true]
  125. [mm.enable.qcom_parser]: [37491]
  126. [mm.enable.smoothstreaming]: [true]
  127. [mmp.enable.3g2]: [true]
  128. [net.bt.name]: [Android]
  129. [net.change]: [net.dns3]
  130. [net.dns1]: [202.106.46.151]
  131. [net.dns2]: [202.106.0.20]
  132. [net.dns3]: [114.114.114.114]
  133. [net.hostname]: [MINOTELTE-SENRSL_XM]
  134. [net.qtaguid_enabled]: [1]
  135. [net.tcp.buffersize.default]: [4096,87380,110208,4096,16384,110208]
  136. [net.tcp.buffersize.edge]: [4093,26280,35040,4096,16384,35040]
  137. [net.tcp.buffersize.evdo]: [4094,87380,262144,4096,16384,262144]
  138. [net.tcp.buffersize.gprs]: [4092,8760,11680,4096,8760,11680]
  139. [net.tcp.buffersize.hsdpa]: [4094,87380,1220608,4096,16384,1220608]
  140. [net.tcp.buffersize.hspa]: [4094,87380,1220608,4096,16384,1220608]
  141. [net.tcp.buffersize.hspap]: [4094,87380,1220608,4096,16384,1220608]
  142. [net.tcp.buffersize.hsupa]: [4094,87380,1220608,4096,16384,1220608]
  143. [net.tcp.buffersize.lte]: [524288,1048576,2097152,262144,524288,1048576]
  144. [net.tcp.buffersize.umts]: [4094,87380,110208,4096,16384,110208]
  145. [net.tcp.buffersize.wifi]: [524288,2097152,4194304,262144,524288,1048576]
  146. [net.tcp.default_init_rwnd]: [60]
  147. [net.tcp.delack.default]: [1]
  148. [net.tcp.delack.lte]: [8]
  149. [net.tcp.delack.wifi]: [20]
  150. [net.tcp.usercfg.default]: [0]
  151. [net.tcp.usercfg.lte]: [1]
  152. [net.tcp.usercfg.wifi]: [1]
  153. [persist.audio.fluence.speaker]: [true]
  154. [persist.audio.fluence.voicecall]: [true]
  155. [persist.audio.fluence.voicerec]: [false]
  156. [persist.audio.hifi]: [false]
  157. [persist.audio.hifi.volume]: [0]
  158. [persist.cne.feature]: [0]
  159. [persist.data.netmgrd.qos.enable]: [true]
  160. [persist.data.tcp_rst_drop]: [true]
  161. [persist.debug.wfd.enable]: [1]
  162. [persist.demo.hdmirotationlock]: [false]
  163. [persist.env.fastdorm.enabled]: [true]
  164. [persist.fd.scroff.timer]: [3000]
  165. [persist.fd.scron.timer]: [10000]
  166. [persist.fuse_sdcard]: [true]
  167. [persist.gps.qc_nlp_in_use]: [1]
  168. [persist.hwc.mdpcomp.enable]: [true]
  169. [persist.loc.nlp_name]: [com.qualcomm.location]
  170. [persist.logd.size]: []
  171. [persist.logd.size.radio]: [4M]
  172. [persist.miui.density_v2]: [440]
  173. [persist.omh.enabled]: [true]
  174. [persist.power.useautobrightadj]: [true]
  175. [persist.radio.adb_log_on]: [0]
  176. [persist.radio.apm_sim_not_pwdn]: [0]
  177. [persist.radio.custom_ecc]: [1]
  178. [persist.radio.data_no_toggle]: [1]
  179. [persist.radio.default.data]: [0]
  180. [persist.radio.default.voice]: [1]
  181. [persist.radio.eons.enabled]: [false]
  182. [persist.radio.force_on_dc]: [true]
  183. [persist.radio.iccid]: [89860115817082754524,89860115811011188029]
  184. [persist.radio.ignore_dom_time]: [5]
  185. [persist.radio.imei]: [865982025679997]
  186. [persist.radio.imei1]: [865982025679997]
  187. [persist.radio.imei2]: [865982025679997]
  188. [persist.radio.modem]: [LTE-X5]
  189. [persist.radio.msim.stackid_0]: [0]
  190. [persist.radio.msim.stackid_1]: [1]
  191. [persist.radio.multisim.config]: [dsds]
  192. [persist.radio.ramdump_sdcard]: [1]
  193. [persist.radio.rat_on]: [combine]
  194. [persist.radio.ril_payload_on]: [0]
  195. [persist.radio.sglte_target]: [0]
  196. [persist.radio.stack_id_0]: [0]
  197. [persist.radio.stack_id_1]: [1]
  198. [persist.rild.nitz_long_ons_0]: []
  199. [persist.rild.nitz_long_ons_1]: []
  200. [persist.rild.nitz_long_ons_2]: []
  201. [persist.rild.nitz_long_ons_3]: []
  202. [persist.rild.nitz_plmn]: []
  203. [persist.rild.nitz_short_ons_0]: []
  204. [persist.rild.nitz_short_ons_1]: []
  205. [persist.rild.nitz_short_ons_2]: []
  206. [persist.rild.nitz_short_ons_3]: []
  207. [persist.speaker.prot.enable]: [true]
  208. [persist.sys.aries.power_profile]: [middle]
  209. [persist.sys.button_headset_hook]: [media]
  210. [persist.sys.button_jack_profile]: [volume]
  211. [persist.sys.button_jack_switch]: [0]
  212. [persist.sys.country]: []
  213. [persist.sys.dalvik.vm.lib.2]: [libart.so]
  214. [persist.sys.device_name]: [SENRSL_XM]
  215. [persist.sys.display_cabc]: [1]
  216. [persist.sys.display_ce]: [10]
  217. [persist.sys.display_eyecare]: [0]
  218. [persist.sys.dpmd.nsrm]: [2]
  219. [persist.sys.dpmd.tcm]: [2]
  220. [persist.sys.klo]: [on]
  221. [persist.sys.klo.rec_start]: [1469178734]
  222. [persist.sys.language]: []
  223. [persist.sys.locale]: [zh-CN]
  224. [persist.sys.localevar]: []
  225. [persist.sys.ltm_enable]: [true]
  226. [persist.sys.mcd_config_file]: [/system/etc/mcd_default.conf]
  227. [persist.sys.memctrl]: [supported]
  228. [persist.sys.mitalk.enable]: [true]
  229. [persist.sys.profiler_ms]: [0]
  230. [persist.sys.released]: [true]
  231. [persist.sys.sc_allow_conn]: [true]
  232. [persist.sys.screenshot_mode]: [1]
  233. [persist.sys.silent]: [0]
  234. [persist.sys.smartcover_enabled]: [false]
  235. [persist.sys.smartcover_mode]: [1]
  236. [persist.sys.ssr.restart_level]: [ALL_ENABLE]
  237. [persist.sys.strict_op_enable]: [false]
  238. [persist.sys.strictmode.disable]: [true]
  239. [persist.sys.timezone]: [Asia/Shanghai]
  240. [persist.sys.usb.config]: [mtp,adb]
  241. [persist.sys.usb.config.extra]: [none]
  242. [persist.sys.webview.vmsize]: [104857600]
  243. [persist.sys.wfd.virtual]: [0]
  244. [persist.sys.whitelist]: [/system/etc/whitelist_appops.xml]
  245. [persist.timed.enable]: [true]
  246. [persist.usb.hvdcp.detect]: [true]
  247. [qc.izat.gtp.wifi.low_power]: [DISABLED]
  248. [qcom.hw.aac.encoder]: [false]
  249. [ril.ecclist]: [*911,#911,911,112,110,119,120,122,999]
  250. [ril.ecclist1]: [*911,#911,911,112,110,119,120,122,999]
  251. [ril.limit_service_mnc]: [GSM_460]
  252. [ril.qcril_pre_init_lock_held]: [0]
  253. [ril.subscription.types]: [RUIM]
  254. [rild.libargs]: [-d /dev/smd0]
  255. [rild.libpath]: [/vendor/lib/libril-qc-qmi-1.so]
  256. [ro.adb.secure]: [1]
  257. [ro.allow.mock.location]: [0]
  258. [ro.audio.hifi]: [true]
  259. [ro.baseband]: [msm]
  260. [ro.bluetooth.dun]: [true]
  261. [ro.bluetooth.hfp.ver]: [1.7]
  262. [ro.bluetooth.sap]: [true]
  263. [ro.board.platform]: [msm8974]
  264. [ro.boot.baseband]: [msm]
  265. [ro.boot.bootdevice]: [msm_sdcc.1]
  266. [ro.boot.emmc]: [true]
  267. [ro.boot.hardware]: [qcom]
  268. [ro.boot.hwversion]: [54]
  269. [ro.boot.serialno]: [da91853a]
  270. [ro.bootimage.build.date]: [Thu Mar 17 00:57:35 CST 2016]
  271. [ro.bootimage.build.date.utc]: [1458147455]
  272. [ro.bootimage.build.fingerprint]: [Xiaomi/virgo/virgo:6.0.1/MMB29M/6.3.17:user/test-keys]
  273. [ro.bootloader]: [unknown]
  274. [ro.bootmode]: [unknown]
  275. [ro.btconfig.chip]: [WCN3680]
  276. [ro.btconfig.dev]: [/dev/smd3]
  277. [ro.btconfig.if]: [smd]
  278. [ro.btconfig.vendor]: [qcom]
  279. [ro.build.characteristics]: [nosdcard]
  280. [ro.build.date]: [Thu Mar 17 00:56:07 CST 2016]
  281. [ro.build.date.utc]: [1458147367]
  282. [ro.build.description]: [virgo-user 6.0.1 MMB29M 6.3.17 release-keys]
  283. [ro.build.display.id]: [MMB29M]
  284. [ro.build.fingerprint]: [Xiaomi/virgo/virgo:6.0.1/MMB29M/6.3.17:user/release-keys]
  285. [ro.build.flavor]: [virgo-user]
  286. [ro.build.host]: [qh-miui-ota-bd62]
  287. [ro.build.id]: [MMB29M]
  288. [ro.build.product]: [virgo]
  289. [ro.build.tags]: [release-keys]
  290. [ro.build.type]: [user]
  291. [ro.build.user]: [builder]
  292. [ro.build.version.all_codenames]: [REL]
  293. [ro.build.version.base_os]: []
  294. [ro.build.version.codename]: [REL]
  295. [ro.build.version.incremental]: [6.3.17]
  296. [ro.build.version.preview_sdk]: [0]
  297. [ro.build.version.release]: [6.0.1]
  298. [ro.build.version.sdk]: [23]
  299. [ro.build.version.security_patch]: [2016-03-01]
  300. [ro.carrier]: [unknown]
  301. [ro.com.android.dataroaming]: [false]
  302. [ro.com.android.mobiledata]: [false]
  303. [ro.com.google.clientidbase]: [android-xiaomi]
  304. [ro.com.google.gmsversion]: [6.0_r2]
  305. [ro.com.widevine.cachesize]: [16777216]
  306. [ro.config.alarm_alert]: [Alarm_Classic.ogg]
  307. [ro.config.elder-ringtone]: [Angel.mp3]
  308. [ro.config.notification_sound]: [pixiedust.ogg]
  309. [ro.config.ringtone]: [Ring_Synth_04.ogg]
  310. [ro.config.sms_delivered_sound]: [MessageComplete.ogg]
  311. [ro.config.sms_received_sound]: [FadeIn.ogg]
  312. [ro.crypto.state]: [unencrypted]
  313. [ro.dalvik.vm.native.bridge]: [0]
  314. [ro.data.large_tcp_window_size]: [true]
  315. [ro.debuggable]: [0]
  316. [ro.expect.recovery_id]: [0x26f7e4aef2aff9f03d2160e365c67ce383c8e9e4000000000000000000000000]
  317. [ro.gps.agps_provider]: [1]
  318. [ro.hardware]: [qcom]
  319. [ro.hardware.sensors]: [leo]
  320. [ro.hdmi.enable]: [true]
  321. [ro.hwui.drop_shadow_cache_size]: [6]
  322. [ro.hwui.gradient_cache_size]: [1]
  323. [ro.hwui.layer_cache_size]: [48]
  324. [ro.hwui.path_cache_size]: [32]
  325. [ro.hwui.r_buffer_cache_size]: [8]
  326. [ro.hwui.text_large_cache_height]: [1024]
  327. [ro.hwui.text_large_cache_width]: [2048]
  328. [ro.hwui.text_small_cache_height]: [1024]
  329. [ro.hwui.text_small_cache_width]: [1024]
  330. [ro.hwui.texture_cache_flushrate]: [0.4]
  331. [ro.hwui.texture_cache_size]: [72]
  332. [ro.hwversion]: [54]
  333. [ro.miui.cust_variant]: [hk]
  334. [ro.miui.has_handy_mode_sf]: [1]
  335. [ro.miui.has_real_blur]: [1]
  336. [ro.miui.internal.storage]: [/data/media]
  337. [ro.miui.mcc]: [9454]
  338. [ro.miui.mnc]: [9999]
  339. [ro.miui.region]: [HK]
  340. [ro.miui.ui.version.code]: [5]
  341. [ro.miui.ui.version.name]: [V7]
  342. [ro.nfc.port]: [I2C]
  343. [ro.opengles.version]: [196608]
  344. [ro.product.board]: [MSM8974]
  345. [ro.product.brand]: [Xiaomi]
  346. [ro.product.cpu.abi]: [armeabi-v7a]
  347. [ro.product.cpu.abi2]: [armeabi]
  348. [ro.product.cpu.abilist]: [armeabi-v7a,armeabi]
  349. [ro.product.cpu.abilist32]: [armeabi-v7a,armeabi]
  350. [ro.product.cpu.abilist64]: []
  351. [ro.product.cuptsm]: [XIAOMI|ESE|02|01]
  352. [ro.product.device]: [virgo]
  353. [ro.product.locale]: [en-GB]
  354. [ro.product.locale.language]: [zh]
  355. [ro.product.locale.region]: [TW]
  356. [ro.product.manufacturer]: [Xiaomi]
  357. [ro.product.mod_device]: [virgo_global]
  358. [ro.product.model]: [MI NOTE LTE]
  359. [ro.product.name]: [virgo]
  360. [ro.qc.sdk.audio.fluencetype]: [fluence]
  361. [ro.qc.sdk.audio.ssr]: [false]
  362. [ro.qc.sdk.camera.facialproc]: [false]
  363. [ro.qc.sdk.gestures.camera]: [false]
  364. [ro.qc.sdk.sensors.gestures]: [true]
  365. [ro.qc.sdk.us.digitalpen]: [1]
  366. [ro.qcom.ad]: [1]
  367. [ro.qcom.ad.calib.data]: [/system/etc/calib.cfg]
  368. [ro.qcom.ad.sensortype]: [2]
  369. [ro.qualcomm.bluetooth.ftp]: [true]
  370. [ro.qualcomm.bluetooth.hfp]: [true]
  371. [ro.qualcomm.bluetooth.hsp]: [true]
  372. [ro.qualcomm.bluetooth.map]: [true]
  373. [ro.qualcomm.bluetooth.nap]: [true]
  374. [ro.qualcomm.bluetooth.opp]: [true]
  375. [ro.qualcomm.bluetooth.pbap]: [true]
  376. [ro.qualcomm.bt.hci_transport]: [smd]
  377. [ro.qualcomm.cabl]: [0]
  378. [ro.qualcomm.perf.cores_online]: [2]
  379. [ro.revision]: [0]
  380. [ro.ril.ftm_mode]: [0]
  381. [ro.ril.oem.imei]: [865982025679997]
  382. [ro.ril.oem.imei1]: [865982025679997]
  383. [ro.ril.oem.imei2]: [865982025679997]
  384. [ro.ril.svdo]: [false]
  385. [ro.ril.svlte1x]: [false]
  386. [ro.runtime.firstboot]: [1469178734873]
  387. [ro.secure]: [1]
  388. [ro.serialno]: [da91853a]
  389. [ro.setupwizard.mode]: [OPTIONAL]
  390. [ro.sf.lcd_density]: [480]
  391. [ro.sys.ft_whole_anim]: [true]
  392. [ro.sys.oem.sno]: [4X5330A21541]
  393. [ro.syspart]: [system]
  394. [ro.telephony.call_ring.multiple]: [false]
  395. [ro.telephony.default_cdma_sub]: [0]
  396. [ro.telephony.default_network]: [20]
  397. [ro.use_data_netmgrd]: [true]
  398. [ro.vendor.extension_library]: [libqti-perfd-client.so]
  399. [ro.wifi.channels]: []
  400. [ro.zygote]: [zygote32]
  401. [selinux.reload_policy]: [1]
  402. [service.bootanim.exit]: [1]
  403. [sukernel.mount]: [1]
  404. [supolicy.loaded]: [1]
  405. [sys.boot_completed]: [1]
  406. [sys.ims.QMI_DAEMON_STATUS]: [1]
  407. [sys.is_keyguard_showing]: [1]
  408. [sys.keyguard.bleunlock]: [true]
  409. [sys.keymaster.loaded]: [true]
  410. [sys.listeners.registered]: [true]
  411. [sys.miui.user_authenticated]: [true]
  412. [sys.panel.color]: [WHITE]
  413. [sys.settings_system_version]: [31]
  414. [sys.sysctl.extra_free_kbytes]: [24300]
  415. [sys.sysctl.tcp_def_init_rwnd]: [60]
  416. [sys.usb.config]: [mtp,adb]
  417. [sys.usb.configfs]: [0]
  418. [sys.usb.state]: [mtp,adb]
  419. [tunnel.audio.encode]: [false]
  420. [use.voice.path.for.pcm.voip]: [true]
  421. [vidc.debug.level]: [1]
  422. [vold.has_adoptable]: [0]
  423. [vold.post_fs_data_done]: [1]
  424. [wifi.interface]: [wlan0]
  425. [wlan.driver.ath]: [0]
  426. [wlan.driver.status]: [ok]
  427. shell@virgo:/ $
看起来变化不小呢
1为第一次用market unlocker修改后,2为修改回来,3为又修改后,4为重启手机后

看起来重启手机就把配置恢复回来了。

对比一下,变动很大










按照懒得查就去猜的写程序原则,应该是这样
美版运营商:
  1. [gsm.apn.sim.operator.numeric]: [46001,46001]
  2. [gsm.current.phone-type]: [1,1]
  3. [gsm.defaultpdpcontext.active]: [true]
  4. [gsm.network.type]: [LTE,Unknown]
  5. [gsm.nitz.time]: [1468922077038]
  6. [gsm.operator.alpha]: [Verizon]
  7. [gsm.operator.iso-country]: [us]
  8. [gsm.operator.isroaming]: [false,false]
  9. [gsm.operator.numeric]: [310004]
  10. [gsm.sim.operator.alpha]: [Verizon]
  11. [gsm.sim.operator.iso-country]: [us]
  12. [gsm.sim.operator.numeric]: [310004]

联通运营商:
  1. [gsm.apn.sim.operator.numeric]: [46001]
  2. [gsm.current.phone-type]: [1,1]
  3. [gsm.network.type]: [LTE,Unknown]
  4. [gsm.operator.alpha]: [CHN-UNICOM,CHN-UNICOM]
  5. [gsm.operator.iso-country]: [cn,cn]
  6. [gsm.operator.isroaming]: [false,false]
  7. [gsm.operator.numeric]: [46001,46001]
  8. [gsm.sim.operator.alpha]: [,]
  9. [gsm.sim.operator.iso-country]: [cn,cn]
  10. [gsm.sim.operator.numeric]: [46001,46001]
那么
  1. root@virgo:/ # setprop gsm.sim.operator.numeric 310004
  2. root@virgo:/ # setprop gsm.operator.numeric 310004
  3. root@virgo:/ # setprop gsm.operator.iso-country us
  4. root@virgo:/ # setprop gsm.sim.operator.iso-country us
  5. root@virgo:/ # setprop gsm.sim.operator.alpha Verizon
  6. root@virgo:/ # setprop gsm.operator.alpha Verizon
  7. root@virgo:/ # set gsm.apn.sim.operator.numeric 460001,460001
  8. root@virgo:/ # getprop
  9. [DEVICE_PROVISIONED]: [1]
  10. [audio.offload.buffer.size.kb]: [32]
  11. [audio.offload.disable]: [true]
  12. [audio.offload.gapless.enabled]: [false]
  13. [audio.offload.pcm.16bit.enable]: [true]
  14. [audio.offload.pcm.24bit.enable]: [true]
  15. [audio.offload.pcm.enable]: [true]
  16. [audio.offload.video]: [true]
  17. [bluetooth.hfp.client]: [1]
  18. [camera2.portability.force_api]: [1]
  19. [dalvik.vm.dex2oat-Xms]: [64m]
  20. [dalvik.vm.dex2oat-Xmx]: [512m]
  21. [dalvik.vm.heapgrowthlimit]: [128m]
  22. [dalvik.vm.heapmaxfree]: [32m]
  23. [dalvik.vm.heapminfree]: [8m]
  24. [dalvik.vm.heapsize]: [512m]
  25. [dalvik.vm.heapstartsize]: [8m]
  26. [dalvik.vm.heaptargetutilization]: [0.75]
  27. [dalvik.vm.image-dex2oat-Xms]: [64m]
  28. [dalvik.vm.image-dex2oat-Xmx]: [64m]
  29. [dalvik.vm.isa.arm.features]: [default]
  30. [dalvik.vm.isa.arm.variant]: [krait]
  31. [dalvik.vm.stack-trace-file]: [/data/anr/traces.txt]
  32. [debug.atrace.tags.enableflags]: [0]
  33. [debug.composition.type]: [c2d]
  34. [debug.egl.hw]: [1]
  35. [debug.force_rtl]: [0]
  36. [debug.mdpcomp.logs]: [0]
  37. [debug.sf.hw]: [1]
  38. [dev.bootcomplete]: [1]
  39. [dev.pm.dyn_samplingrate]: [1]
  40. [drm.service.enabled]: [true]
  41. [gsm.apn.sim.operator.numeric]: [46001]
  42. [gsm.current.phone-type]: [1,1]
  43. [gsm.network.type]: [LTE,Unknown]
  44. [gsm.operator.alpha]: [Verizon]
  45. [gsm.operator.iso-country]: [us]
  46. [gsm.operator.isroaming]: [false,false]
  47. [gsm.operator.numeric]: [310004]
  48. [gsm.sim.operator.alpha]: [Verizon]
  49. [gsm.sim.operator.iso-country]: [us]
  50. [gsm.sim.operator.numeric]: [310004]
  51. [gsm.sim.state]: [READY,READY]
  52. [gsm.version.baseband]: [MPSS.DI.4.0-63d722f]
  53. [gsm.version.baseband1]: [MPSS.DI.4.0-63d722f]
  54. [gsm.version.ril-impl]: [Qualcomm RIL 1.0]
  55. [hw.ad.mode]: [1]
  56. [hw.cabl.version]: [2.0.20140905]
  57. [hw.cabl.yuv]: [0]
  58. [hw.pp.cfg]: [/data/misc/display/pp_data.cfg]
  59. [init.svc.adbd]: [running]
  60. [init.svc.adsprpcd]: [running]
  61. [init.svc.atfwd]: [stopped]
  62. [init.svc.audiod]: [running]
  63. [init.svc.bootanim]: [stopped]
  64. [init.svc.changepowermode]: [stopped]
  65. [init.svc.charger_monitor]: [running]
  66. [init.svc.checkpath]: [stopped]
  67. [init.svc.checksdkpath]: [stopped]
  68. [init.svc.cnd]: [running]
  69. [init.svc.config_bluetooth]: [stopped]
  70. [init.svc.daemonsu]: [stopped]
  71. [init.svc.debuggerd]: [running]
  72. [init.svc.displayfeature]: [running]
  73. [init.svc.dpmd]: [running]
  74. [init.svc.drm]: [running]
  75. [init.svc.fdpp]: [running]
  76. [init.svc.gatekeeperd]: [running]
  77. [init.svc.healthd]: [running]
  78. [init.svc.hvdcp]: [running]
  79. [init.svc.imsdatadaemon]: [running]
  80. [init.svc.imsqmidaemon]: [running]
  81. [init.svc.installd]: [running]
  82. [init.svc.irsc_util]: [stopped]
  83. [init.svc.keystore]: [running]
  84. [init.svc.lmkd]: [running]
  85. [init.svc.loc_launcher]: [running]
  86. [init.svc.logd]: [running]
  87. [init.svc.logd-reinit]: [stopped]
  88. [init.svc.mcd_init]: [stopped]
  89. [init.svc.mcd_service]: [running]
  90. [init.svc.media]: [running]
  91. [init.svc.modem_dump]: [running]
  92. [init.svc.mpdecision]: [running]
  93. [init.svc.netd]: [running]
  94. [init.svc.netmgrd]: [running]
  95. [init.svc.p2p_supplicant]: [running]
  96. [init.svc.ppd]: [running]
  97. [init.svc.qcamerasvr]: [running]
  98. [init.svc.qcom-c_core-sh]: [stopped]
  99. [init.svc.qcom-c_main-sh]: [stopped]
  100. [init.svc.qcom-post-boot]: [stopped]
  101. [init.svc.qcom-sh]: [stopped]
  102. [init.svc.qcom-usb-sh]: [stopped]
  103. [init.svc.qcomsysd]: [running]
  104. [init.svc.qmuxd]: [running]
  105. [init.svc.qseecomd]: [running]
  106. [init.svc.qti-testscripts]: [stopped]
  107. [init.svc.rfs_access]: [running]
  108. [init.svc.ril-daemon]: [running]
  109. [init.svc.ril-daemon2]: [running]
  110. [init.svc.rmt_storage]: [running]
  111. [init.svc.servicemanager]: [running]
  112. [init.svc.setlockstate]: [stopped]
  113. [init.svc.shelld]: [running]
  114. [init.svc.ssr_setup]: [stopped]
  115. [init.svc.surfaceflinger]: [running]
  116. [init.svc.thermal-engine]: [running]
  117. [init.svc.thermal-perf]: [stopped]
  118. [init.svc.time_daemon]: [running]
  119. [init.svc.ueventd]: [running]
  120. [init.svc.usf-post-boot]: [stopped]
  121. [init.svc.vold]: [running]
  122. [init.svc.wcnss-service]: [running]
  123. [init.svc.zygote]: [running]
  124. [keyguard.no_require_sim]: [true]
  125. [media.aac_51_output_enabled]: [true]
  126. [media.stagefright.enable-aac]: [true]
  127. [media.stagefright.enable-fma2dp]: [true]
  128. [media.stagefright.enable-http]: [true]
  129. [media.stagefright.enable-player]: [true]
  130. [media.stagefright.enable-qcp]: [true]
  131. [media.stagefright.enable-scan]: [true]
  132. [mm.enable.qcom_parser]: [37491]
  133. [mm.enable.smoothstreaming]: [true]
  134. [mmp.enable.3g2]: [true]
  135. [net.bt.name]: [Android]
  136. [net.change]: [net.dns3]
  137. [net.dns1]: [202.106.46.151]
  138. [net.dns2]: [202.106.0.20]
  139. [net.dns3]: [114.114.114.114]
  140. [net.hostname]: [MINOTELTE-SENRSL_XM]
  141. [net.qtaguid_enabled]: [1]
  142. [net.tcp.buffersize.default]: [4096,87380,110208,4096,16384,110208]
  143. [net.tcp.buffersize.edge]: [4093,26280,35040,4096,16384,35040]
  144. [net.tcp.buffersize.evdo]: [4094,87380,262144,4096,16384,262144]
  145. [net.tcp.buffersize.gprs]: [4092,8760,11680,4096,8760,11680]
  146. [net.tcp.buffersize.hsdpa]: [4094,87380,1220608,4096,16384,1220608]
  147. [net.tcp.buffersize.hspa]: [4094,87380,1220608,4096,16384,1220608]
  148. [net.tcp.buffersize.hspap]: [4094,87380,1220608,4096,16384,1220608]
  149. [net.tcp.buffersize.hsupa]: [4094,87380,1220608,4096,16384,1220608]
  150. [net.tcp.buffersize.lte]: [524288,1048576,2097152,262144,524288,1048576]
  151. [net.tcp.buffersize.umts]: [4094,87380,110208,4096,16384,110208]
  152. [net.tcp.buffersize.wifi]: [524288,2097152,4194304,262144,524288,1048576]
  153. [net.tcp.default_init_rwnd]: [60]
  154. [net.tcp.delack.default]: [1]
  155. [net.tcp.delack.lte]: [8]
  156. [net.tcp.delack.wifi]: [20]
  157. [net.tcp.usercfg.default]: [0]
  158. [net.tcp.usercfg.lte]: [1]
  159. [net.tcp.usercfg.wifi]: [1]
  160. [persist.audio.fluence.speaker]: [true]
  161. [persist.audio.fluence.voicecall]: [true]
  162. [persist.audio.fluence.voicerec]: [false]
  163. [persist.audio.hifi]: [false]
  164. [persist.audio.hifi.volume]: [0]
  165. [persist.cne.feature]: [0]
  166. [persist.data.netmgrd.qos.enable]: [true]
  167. [persist.data.tcp_rst_drop]: [true]
  168. [persist.debug.wfd.enable]: [1]
  169. [persist.demo.hdmirotationlock]: [false]
  170. [persist.env.fastdorm.enabled]: [true]
  171. [persist.fd.scroff.timer]: [3000]
  172. [persist.fd.scron.timer]: [10000]
  173. [persist.fuse_sdcard]: [true]
  174. [persist.gps.qc_nlp_in_use]: [1]
  175. [persist.hwc.mdpcomp.enable]: [true]
  176. [persist.loc.nlp_name]: [com.qualcomm.location]
  177. [persist.logd.size]: []
  178. [persist.logd.size.radio]: [4M]
  179. [persist.miui.density_v2]: [440]
  180. [persist.omh.enabled]: [true]
  181. [persist.power.useautobrightadj]: [true]
  182. [persist.radio.adb_log_on]: [0]
  183. [persist.radio.apm_sim_not_pwdn]: [0]
  184. [persist.radio.custom_ecc]: [1]
  185. [persist.radio.data_no_toggle]: [1]
  186. [persist.radio.default.data]: [0]
  187. [persist.radio.default.voice]: [1]
  188. [persist.radio.eons.enabled]: [false]
  189. [persist.radio.force_on_dc]: [true]
  190. [persist.radio.iccid]: [89860115817082754524,89860115811011188029]
  191. [persist.radio.ignore_dom_time]: [5]
  192. [persist.radio.imei]: [865982025679997]
  193. [persist.radio.imei1]: [865982025679997]
  194. [persist.radio.imei2]: [865982025679997]
  195. [persist.radio.modem]: [LTE-X5]
  196. [persist.radio.msim.stackid_0]: [0]
  197. [persist.radio.msim.stackid_1]: [1]
  198. [persist.radio.multisim.config]: [dsds]
  199. [persist.radio.ramdump_sdcard]: [1]
  200. [persist.radio.rat_on]: [combine]
  201. [persist.radio.ril_payload_on]: [0]
  202. [persist.radio.sglte_target]: [0]
  203. [persist.radio.stack_id_0]: [0]
  204. [persist.radio.stack_id_1]: [1]
  205. [persist.rild.nitz_long_ons_0]: []
  206. [persist.rild.nitz_long_ons_1]: []
  207. [persist.rild.nitz_long_ons_2]: []
  208. [persist.rild.nitz_long_ons_3]: []
  209. [persist.rild.nitz_plmn]: []
  210. [persist.rild.nitz_short_ons_0]: []
  211. [persist.rild.nitz_short_ons_1]: []
  212. [persist.rild.nitz_short_ons_2]: []
  213. [persist.rild.nitz_short_ons_3]: []
  214. [persist.speaker.prot.enable]: [true]
  215. [persist.sys.aries.power_profile]: [middle]
  216. [persist.sys.button_headset_hook]: [media]
  217. [persist.sys.button_jack_profile]: [volume]
  218. [persist.sys.button_jack_switch]: [0]
  219. [persist.sys.country]: []
  220. [persist.sys.dalvik.vm.lib.2]: [libart.so]
  221. [persist.sys.device_name]: [SENRSL_XM]
  222. [persist.sys.display_cabc]: [1]
  223. [persist.sys.display_ce]: [10]
  224. [persist.sys.display_eyecare]: [0]
  225. [persist.sys.dpmd.nsrm]: [2]
  226. [persist.sys.dpmd.tcm]: [2]
  227. [persist.sys.klo]: [on]
  228. [persist.sys.klo.rec_start]: [1469178734]
  229. [persist.sys.language]: []
  230. [persist.sys.locale]: [zh-CN]
  231. [persist.sys.localevar]: []
  232. [persist.sys.ltm_enable]: [true]
  233. [persist.sys.mcd_config_file]: [/system/etc/mcd_default.conf]
  234. [persist.sys.memctrl]: [supported]
  235. [persist.sys.mitalk.enable]: [true]
  236. [persist.sys.profiler_ms]: [0]
  237. [persist.sys.released]: [true]
  238. [persist.sys.sc_allow_conn]: [true]
  239. [persist.sys.screenshot_mode]: [1]
  240. [persist.sys.silent]: [0]
  241. [persist.sys.smartcover_enabled]: [false]
  242. [persist.sys.smartcover_mode]: [1]
  243. [persist.sys.ssr.restart_level]: [ALL_ENABLE]
  244. [persist.sys.strict_op_enable]: [false]
  245. [persist.sys.strictmode.disable]: [true]
  246. [persist.sys.timezone]: [Asia/Shanghai]
  247. [persist.sys.usb.config]: [mtp,adb]
  248. [persist.sys.usb.config.extra]: [none]
  249. [persist.sys.webview.vmsize]: [104857600]
  250. [persist.sys.wfd.virtual]: [0]
  251. [persist.sys.whitelist]: [/system/etc/whitelist_appops.xml]
  252. [persist.timed.enable]: [true]
  253. [persist.usb.hvdcp.detect]: [true]
  254. [qc.izat.gtp.wifi.low_power]: [DISABLED]
  255. [qcom.hw.aac.encoder]: [false]
  256. [radio.atfwd.start]: [false]
  257. [ril.ecclist]: [*911,#911,911,112,110,119,120,122,999]
  258. [ril.ecclist1]: [*911,#911,911,112,110,119,120,122,999]
  259. [ril.limit_service_mnc]: [GSM_460]
  260. [ril.qcril_pre_init_lock_held]: [0]
  261. [ril.subscription.types]: [RUIM]
  262. [rild.libargs]: [-d /dev/smd0]
  263. [rild.libpath]: [/vendor/lib/libril-qc-qmi-1.so]
  264. [ro.adb.secure]: [1]
  265. [ro.allow.mock.location]: [0]
  266. [ro.audio.hifi]: [true]
  267. [ro.baseband]: [msm]
  268. [ro.bluetooth.dun]: [true]
  269. [ro.bluetooth.hfp.ver]: [1.7]
  270. [ro.bluetooth.sap]: [true]
  271. [ro.board.platform]: [msm8974]
  272. [ro.boot.baseband]: [msm]
  273. [ro.boot.bootdevice]: [msm_sdcc.1]
  274. [ro.boot.emmc]: [true]
  275. [ro.boot.hardware]: [qcom]
  276. [ro.boot.hwversion]: [54]
  277. [ro.boot.serialno]: [da91853a]
  278. [ro.bootimage.build.date]: [Thu Mar 17 00:57:35 CST 2016]
  279. [ro.bootimage.build.date.utc]: [1458147455]
  280. [ro.bootimage.build.fingerprint]: [Xiaomi/virgo/virgo:6.0.1/MMB29M/6.3.17:user/test-keys]
  281. [ro.bootloader]: [unknown]
  282. [ro.bootmode]: [unknown]
  283. [ro.btconfig.chip]: [WCN3680]
  284. [ro.btconfig.dev]: [/dev/smd3]
  285. [ro.btconfig.if]: [smd]
  286. [ro.btconfig.vendor]: [qcom]
  287. [ro.build.characteristics]: [nosdcard]
  288. [ro.build.date]: [Thu Mar 17 00:56:07 CST 2016]
  289. [ro.build.date.utc]: [1458147367]
  290. [ro.build.description]: [virgo-user 6.0.1 MMB29M 6.3.17 release-keys]
  291. [ro.build.display.id]: [MMB29M]
  292. [ro.build.fingerprint]: [Xiaomi/virgo/virgo:6.0.1/MMB29M/6.3.17:user/release-keys]
  293. [ro.build.flavor]: [virgo-user]
  294. [ro.build.host]: [qh-miui-ota-bd62]
  295. [ro.build.id]: [MMB29M]
  296. [ro.build.product]: [virgo]
  297. [ro.build.tags]: [release-keys]
  298. [ro.build.type]: [user]
  299. [ro.build.user]: [builder]
  300. [ro.build.version.all_codenames]: [REL]
  301. [ro.build.version.base_os]: []
  302. [ro.build.version.codename]: [REL]
  303. [ro.build.version.incremental]: [6.3.17]
  304. [ro.build.version.preview_sdk]: [0]
  305. [ro.build.version.release]: [6.0.1]
  306. [ro.build.version.sdk]: [23]
  307. [ro.build.version.security_patch]: [2016-03-01]
  308. [ro.carrier]: [unknown]
  309. [ro.com.android.dataroaming]: [false]
  310. [ro.com.android.mobiledata]: [false]
  311. [ro.com.google.clientidbase]: [android-xiaomi]
  312. [ro.com.google.gmsversion]: [6.0_r2]
  313. [ro.com.widevine.cachesize]: [16777216]
  314. [ro.config.alarm_alert]: [Alarm_Classic.ogg]
  315. [ro.config.elder-ringtone]: [Angel.mp3]
  316. [ro.config.notification_sound]: [pixiedust.ogg]
  317. [ro.config.ringtone]: [Ring_Synth_04.ogg]
  318. [ro.config.sms_delivered_sound]: [MessageComplete.ogg]
  319. [ro.config.sms_received_sound]: [FadeIn.ogg]
  320. [ro.crypto.state]: [unencrypted]
  321. [ro.dalvik.vm.native.bridge]: [0]
  322. [ro.data.large_tcp_window_size]: [true]
  323. [ro.debuggable]: [0]
  324. [ro.expect.recovery_id]: [0x26f7e4aef2aff9f03d2160e365c67ce383c8e9e4000000000000000000000000]
  325. [ro.gps.agps_provider]: [1]
  326. [ro.hardware]: [qcom]
  327. [ro.hardware.sensors]: [leo]
  328. [ro.hdmi.enable]: [true]
  329. [ro.hwui.drop_shadow_cache_size]: [6]
  330. [ro.hwui.gradient_cache_size]: [1]
  331. [ro.hwui.layer_cache_size]: [48]
  332. [ro.hwui.path_cache_size]: [32]
  333. [ro.hwui.r_buffer_cache_size]: [8]
  334. [ro.hwui.text_large_cache_height]: [1024]
  335. [ro.hwui.text_large_cache_width]: [2048]
  336. [ro.hwui.text_small_cache_height]: [1024]
  337. [ro.hwui.text_small_cache_width]: [1024]
  338. [ro.hwui.texture_cache_flushrate]: [0.4]
  339. [ro.hwui.texture_cache_size]: [72]
  340. [ro.hwversion]: [54]
  341. [ro.miui.cust_variant]: [hk]
  342. [ro.miui.has_handy_mode_sf]: [1]
  343. [ro.miui.has_real_blur]: [1]
  344. [ro.miui.internal.storage]: [/data/media]
  345. [ro.miui.mcc]: [9454]
  346. [ro.miui.mnc]: [9999]
  347. [ro.miui.region]: [HK]
  348. [ro.miui.ui.version.code]: [5]
  349. [ro.miui.ui.version.name]: [V7]
  350. [ro.nfc.port]: [I2C]
  351. [ro.opengles.version]: [196608]
  352. [ro.product.board]: [MSM8974]
  353. [ro.product.brand]: [Xiaomi]
  354. [ro.product.cpu.abi]: [armeabi-v7a]
  355. [ro.product.cpu.abi2]: [armeabi]
  356. [ro.product.cpu.abilist]: [armeabi-v7a,armeabi]
  357. [ro.product.cpu.abilist32]: [armeabi-v7a,armeabi]
  358. [ro.product.cpu.abilist64]: []
  359. [ro.product.cuptsm]: [XIAOMI|ESE|02|01]
  360. [ro.product.device]: [virgo]
  361. [ro.product.locale]: [en-GB]
  362. [ro.product.locale.language]: [zh]
  363. [ro.product.locale.region]: [TW]
  364. [ro.product.manufacturer]: [Xiaomi]
  365. [ro.product.mod_device]: [virgo_global]
  366. [ro.product.model]: [MI NOTE LTE]
  367. [ro.product.name]: [virgo]
  368. [ro.qc.sdk.audio.fluencetype]: [fluence]
  369. [ro.qc.sdk.audio.ssr]: [false]
  370. [ro.qc.sdk.camera.facialproc]: [false]
  371. [ro.qc.sdk.gestures.camera]: [false]
  372. [ro.qc.sdk.sensors.gestures]: [true]
  373. [ro.qc.sdk.us.digitalpen]: [1]
  374. [ro.qcom.ad]: [1]
  375. [ro.qcom.ad.calib.data]: [/system/etc/calib.cfg]
  376. [ro.qcom.ad.sensortype]: [2]
  377. [ro.qualcomm.bluetooth.ftp]: [true]
  378. [ro.qualcomm.bluetooth.hfp]: [true]
  379. [ro.qualcomm.bluetooth.hsp]: [true]
  380. [ro.qualcomm.bluetooth.map]: [true]
  381. [ro.qualcomm.bluetooth.nap]: [true]
  382. [ro.qualcomm.bluetooth.opp]: [true]
  383. [ro.qualcomm.bluetooth.pbap]: [true]
  384. [ro.qualcomm.bt.hci_transport]: [smd]
  385. [ro.qualcomm.cabl]: [0]
  386. [ro.qualcomm.perf.cores_online]: [2]
  387. [ro.revision]: [0]
  388. [ro.ril.ftm_mode]: [0]
  389. [ro.ril.oem.imei]: [865982025679997]
  390. [ro.ril.oem.imei1]: [865982025679997]
  391. [ro.ril.oem.imei2]: [865982025679997]
  392. [ro.ril.svdo]: [false]
  393. [ro.ril.svlte1x]: [false]
  394. [ro.runtime.firstboot]: [1469178734873]
  395. [ro.secure]: [1]
  396. [ro.serialno]: [da91853a]
  397. [ro.setupwizard.mode]: [OPTIONAL]
  398. [ro.sf.lcd_density]: [480]
  399. [ro.sys.ft_whole_anim]: [true]
  400. [ro.sys.oem.sno]: [4X5330A21541]
  401. [ro.syspart]: [system]
  402. [ro.telephony.call_ring.multiple]: [false]
  403. [ro.telephony.default_cdma_sub]: [0]
  404. [ro.telephony.default_network]: [20]
  405. [ro.use_data_netmgrd]: [true]
  406. [ro.vendor.extension_library]: [libqti-perfd-client.so]
  407. [ro.wifi.channels]: []
  408. [ro.zygote]: [zygote32]
  409. [selinux.reload_policy]: [1]
  410. [service.bootanim.exit]: [1]
  411. [sim.operator.iso-country]: [us]
  412. [sukernel.mount]: [1]
  413. [supolicy.loaded]: [1]
  414. [sys.boot_completed]: [1]
  415. [sys.ims.QMI_DAEMON_STATUS]: [1]
  416. [sys.is_keyguard_showing]: [1]
  417. [sys.keyguard.bleunlock]: [true]
  418. [sys.keyguard.screen_off_by_lid]: [false]
  419. [sys.keymaster.loaded]: [true]
  420. [sys.listeners.registered]: [true]
  421. [sys.miui.user_authenticated]: [true]
  422. [sys.panel.color]: [WHITE]
  423. [sys.settings_system_version]: [35]
  424. [sys.sysctl.extra_free_kbytes]: [24300]
  425. [sys.sysctl.tcp_def_init_rwnd]: [60]
  426. [sys.usb.config]: [mtp,adb]
  427. [sys.usb.configfs]: [0]
  428. [sys.usb.state]: [mtp,adb]
  429. [tunnel.audio.encode]: [false]
  430. [use.voice.path.for.pcm.voip]: [true]
  431. [vidc.debug.level]: [1]
  432. [vold.has_adoptable]: [0]
  433. [vold.post_fs_data_done]: [1]
  434. [wifi.interface]: [wlan0]
  435. [wlan.driver.ath]: [0]
  436. [wlan.driver.status]: [ok]
  437. root@virgo:/ #
挂vpn,还是不能用位置记录

难道是要删了账号重新登。。。。

一重启又变回到初始化去了。。。。

算了。。。。

感觉花几块钱买张国外的电话卡更容易些呢。。。。


哎,下周弄。。。。


13,screenfetch
  1. senrsl@senrsl-T540p:~/下载$ wget https://github.com/KittyKatt/screenFetch/archive/master.zip
  2. --2016-07-25 14:17:36--  https://github.com/KittyKatt/screenFetch/archive/master.zip
  3. 正在解析主机 github.com (github.com)... 192.30.253.113
  4. 正在连接 github.com (github.com)|192.30.253.113|:443... 已连接。
  5. 已发出 HTTP 请求,正在等待回应... 302 Found
  6. 位置:https://codeload.github.com/KittyKatt/screenFetch /zip/master [跟随至新的 URL]
  7. --2016-07-25 14:17:38--  https://codeload.github.com/KittyKatt/screenFetch/zip/master
  8. 正在解析主机 codeload.github.com (codeload.github.com)... 192.30.253.121
  9. 正在连接 codeload.github.com (codeload.github.com)|192.30.253.121|:443... 已连接。
  10. 已发出 HTTP 请求,正在等待回应... 200 OK
  11. 长度: 未指定 [application/zip]
  12. 正在保存至: "master.zip"
  13.     [   <=>                                 ] 68,899      91.8KB/s   用时 0.7s
  14. 2016-07-25 14:17:41 (91.8 KB/s) - "master.zip" 已保存 [68899]
  15. senrsl@senrsl-T540p:~/下载$ unzip master.zip
  16. Archive:  master.zip
  17. ce7cd738606a841e0973a7d9f4f3e7c419b20fa8
  18.    creating: screenFetch-master/
  19.   inflating: screenFetch-master/CHANGELOG 
  20.   inflating: screenFetch-master/COPYING 
  21.   inflating: screenFetch-master/README.mkdn 
  22.   inflating: screenFetch-master/TODO 
  23.   inflating: screenFetch-master/screenfetch-dev 
  24.   inflating: screenFetch-master/screenfetch.1 
  25.   inflating: screenFetch-master/update-manpage.sh 
  26. senrsl@senrsl-T540p:~/下载$ sudo mv screenFetch-master/screenfetch-dev /usr/bin/screenfetch
  27. senrsl@senrsl-T540p:~/下载$ screenfetch
  28. No such schema 'org.gnome.shell.extensions.user-theme'
  29.                           ./+o+-       senrsl@senrsl-T540p
  30.                   yyyyy- -yyyyyy+      OS: Ubuntu 14.04 trusty
  31.                ://+//////-yyyyyyo      Kernel: x86_64 Linux 3.19.0-28-generic
  32.            .++ .:/++++++/-.+sss/`      Uptime: 4h 8m
  33.          .:++o:  /++++++++/:--:/-      Packages: 2306
  34.         o:+o+:++.`..```.-/oo+++++/     Shell: bash 4.3.11
  35.        .:+o:+o/.          `+sssoo+/    Resolution: 3360x1080
  36.   .++/+:+oo+o:`             /sssooo.   DE: Unity 7.2.5
  37.  /+++//+:`oo+o               /::--:.   WM: Compiz
  38.  \+/+o+++`o++o               ++////.   WM Theme: Ambiance
  39.   .++.o+++oo+:`             /dddhhh.   GTK Theme: Ambiance [GTK2/3]
  40.        .+.o+oo:.          `oddhhhh+    Icon Theme: ubuntu-mono-dark
  41.         \+.++o+o``-````.:ohdhhhhh+     Font: Ubuntu 11
  42.          `:o+++ `ohhhhhhhhyo++os:      CPU: Intel Core i7-4710MQ CPU @ 8x 3.5GHz
  43.            .o:`.syhhhhhhh/.oo++o`      GPU: GeForce GT 730M
  44.                /osyyyyyyo++ooo+++/     RAM: 4278MiB / 15737MiB
  45.                    ````` +oo+++o\:   
  46.                           `oo++.     
  47. senrsl@senrsl-T540p:~/下载$
真丑



14,打开eclipse报Unrecognized VM option 'UseStringDeduplication'
eclipse版本是neon,之前jdk版本是1.7.打开报错
  1. senrsl@senrsl-T540p:~/python/eclipse$ ./eclipse
  2. Unrecognized VM option 'UseStringDeduplication'
  3. Error: Could not create the Java Virtual Machine.
  4. Error: A fatal exception has occurred. Program will exit.
切到1.8就好了

.bashrc 更新
  1. #java path
  2. export JAVA_HOME=/home/senrsl/java/jdk1.8.0_25
  3. #export JAVA_HOME=/home/senrsl/java/jdk1.7.0_71
  4. #export JAVA_HOME=/home/senrsl/java/openjdk7u/build/j2sdk-image
  5. #export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
  6. #export JAVA_HOME=/home/senrsl/java/jdk1.6.0_45
  7. export JRE_HOME=${JAVA_HOME}/jre
  8. export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
  9. export PATH=${JAVA_HOME}/bin:$PATH
  10. #android sdk path
  11. export ANDROID_HOME=/home/senrsl/android/android-sdk-linux
  12. export PATH=$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$PATH
  13. #android ndk path
  14. export ANDROID_NDK_ROOT=/home/senrsl/android/android-ndk-r10e
  15. export NDK_HOME=/home/senrsl/android/android-ndk-r10e
  16. export PATH=$NDK_HOME:$PATH
  17. #depot_tools
  18. #export DEPOT_TOOLS_HOME=/home/senrsl/test/depot_tools
  19. #export PATH=$DEPOT_TOOLS_HOME:$PATH
  20. #repo
  21. export PATH=/home/senrsl/android/source/bin:$PATH
  22. #buck
  23. export PATH=/home/senrsl/tools/gerrit/buck/bin:$PATH

15,ubuntu下eclipse neon黑色
之前用的eclipse,把当前主题下gtk2.0/gtkrc里改成
  1. gtk-color-scheme = "base_color:#ffffff\nfg_color:#4c4c4c\ntooltip_fg_color:#000000\nselected_bg_color:#f07746\nselected_fg_color:#FFFFFF\ntext_color:#3C3C3C\nbg_color:#F2F1F0\ntooltip_bg_color:#f2edbc\nlink_color:#DD4814"
颜色一直很正常。

这几天安了新版的eclipse,发现又变成黑色了。

连蒙带猜找了半天,发现eclipse neon使用的是gtk3.0的主题。。。。

然后修改gtk-main.css里面的
  1. @define-color tooltip_bg_color #f2edbc;
  2. @define-color tooltip_fg_color #000000;
发现鼠标悬浮代码上的描述颜色对了,但是右键新建项目那个不对。。。。

改了很多颜色,连系统颜色都变了,那个安然不动文如山。。。。

好吧,此事容后再议。


16,蓝牙锁屏及解锁ubuntu
昨天凭空想到的,今天一查发现很多年前就有成熟产品实现了。。。。

1)安装blueproximity
  1. senrsl@senrsl-T540p:~$ sudo apt-get install blueproximity
  2. senrsl@senrsl-T540p:~$ blueproximity &
上面那个&是后台执行,这一步视情况
二次测试没加那个&

2)编写命令脚本,设置755权限
  1. senrsl@senrsl-T540p:~$ cd /usr/share/blueproximity/
  2. senrsl@senrsl-T540p:/usr/share/blueproximity$ vi lockScreen.sh
  3. senrsl@senrsl-T540p:/usr/share/blueproximity$ sudo touch lockScreen.sh
  4. senrsl@senrsl-T540p:/usr/share/blueproximity$ sudo gedit lockScreen.sh
  5. senrsl@senrsl-T540p:/usr/share/blueproximity$ sudo touch unlockScreen.sh
  6. senrsl@senrsl-T540p:/usr/share/blueproximity$ sudo gedit unlockScreen.sh
  7. senrsl@senrsl-T540p:/usr/share/blueproximity$ sudo chmod 755 lockScreen.sh
  8. senrsl@senrsl-T540p:/usr/share/blueproximity$ sudo chmod 755 unlockScreen.sh
  9. senrsl@senrsl-T540p:/usr/share/blueproximity$ ll
  10. 总用量 396
  11. drwxr-xr-x   3 root root  4096  8月  5 11:08 ./
  12. drwxr-xr-x 328 root root 12288  8月  5 10:48 ../
  13. -rw-r--r--   1 root root 37657  2月 28  2008 blueproximity_attention.svg
  14. -rw-r--r--   1 root root 34112  2月 28  2008 blueproximity_base.svg
  15. -rw-r--r--   1 root root 35908  2月 28  2008 blueproximity_error.svg
  16. -rw-r--r--   1 root root 44447  2月 28  2008 blueproximity_nocon.svg
  17. -rw-r--r--   1 root root 34256  2月 28  2008 blueproximity_pause.svg
  18. drwxr-xr-x  11 root root  4096  8月  5 10:48 LANG/
  19. -rwxr-xr-x   1 root root   119  8月  5 11:07 lockScreen.sh*
  20. -rw-r--r--   1 root root     0  8月  5 11:07 lockScreen.sh~
  21. -rw-r--r--   1 root root 79786  2月 28  2008 proximity.glade
  22. -rwxr-xr-x   1 root root 57150 12月 12  2011 proximity.py*
  23. -rw-r--r--   1 root root 38578  8月  5 10:48 proximity.pyc
  24. -rwxr-xr-x   1 root root   121  8月  5 11:08 unlockScreen.sh*
  25. -rw-r--r--   1 root root     0  8月  5 11:08 unlockScreen.sh~
  26. senrsl@senrsl-T540p:/usr/share/blueproximity$ cat lockScreen.sh
  27. #!/bin/bash
  28. session=$(loginctl show-user $SUDO_USER | sed -n '/Display/ s/Display=//p')
  29. loginctl lock-session $session
  30. xset dpms force off
  31. senrsl@senrsl-T540p:/usr/share/blueproximity$ cat unlockScreen.sh
  32. #!/bin/bash
  33. session=$(loginctl show-user $SUDO_USER | sed -n '/Display/ s/Display=//p')
  34. loginctl unlock-session $session
  35. xset dpms force on
  36. senrsl@senrsl-T540p:/usr/share/blueproximity$

3)设置脚本可以免密运行
  1. senrsl@senrsl-T540p:/usr/share/blueproximity$ sudo gedit /etc/sudoers.d/blueproximity
  2. senrsl@senrsl-T540p:/usr/share/blueproximity$ cat /etc/sudoers.d/blueproximity
  3. # Allow users to lock and unlock their screens by running these scripts as sudo
  4. #zhi xing bu xuyao mima
  5. ALL ALL=NOPASSWD: /usr/share/blueproximity/lockScreen.sh
  6. ALL ALL=NOPASSWD: /usr/share/blueproximity/unlockScreen.sh
  7. senrsl@senrsl-T540p:/usr/share/blueproximity$

4)测试脚本
  1. senrsl@senrsl-T540p:/usr/share/blueproximity$ sudo /usr/share/blueproximity/lockScreen.sh ; sleep 10; sudo /usr/share/blueproximity/unlockScreen.sh
执行后锁屏,过10秒自动解锁

5)配置脚本到blueproximity配置
  1. senrsl@senrsl-T540p:/usr/share/blueproximity$ cat ~/.blueproximity/standard.conf
  2. device_mac = 00:00:00:00:5A:AD
  3. device_channel = 2
  4. lock_distance = 2
  5. lock_duration = 1
  6. unlock_distance = 1
  7. unlock_duration = 1
  8. lock_command = sudo /usr/share/blueproximity/lockScreen.sh
  9. unlock_command = sudo /usr/share/blueproximity/unlockScreen.sh
  10. proximity_command = sudo /usr/share/blueproximity/unlockScreen.sh
  11. proximity_interval = 15
  12. buffer_size = 1
  13. log_to_syslog = True
  14. log_syslog_facility = local7
  15. log_to_file = True
  16. log_filelog_filename = ~/.blueproximity/log
  17. senrsl@senrsl-T540p:/usr/share/blueproximity$
上面的配置可以在GUI的界面上配置,但是只有删除这个配置文件的时候GUI才能启动。。。。

6)开机自启
安上之后才发现,这个东西果然是无聊拿来玩的。。。。
至少还不适用个人PC机
蓝牙对于距离的控制不够精确,范围太远了
而且安上后莫名其妙整个系统都变卡了,肯定是配置写的频率太高了吧。。。但是为什么系统的任务管理器都呼不出来了。。。。
这个可以考虑放到服务器机房去,拿着手机一进机房,所有机器都亮屏解锁了,想想都感觉很爽呢。。。。

所以,如果个人PC上用,目前的问题在于精度控制


本着使劲作死,我决定再试一下。。。。


二次测试,发现这个blueproximity里的配置,如果距离小的话会闪屏。
目前standard.conf配置文件内容如下:
  1. device_mac = 00:00:00:00:5A:AD
  2. device_channel = 4
  3. lock_distance = 2
  4. lock_duration = 1
  5. unlock_distance = 1
  6. unlock_duration = 2
  7. lock_command = sudo /usr/share/blueproximity/lockScreen.sh
  8. unlock_command = sudo /usr/share/blueproximity/unlockScreen.sh
  9. proximity_command = ""
  10. proximity_interval = 30
  11. buffer_size = 1
  12. log_to_syslog = False
  13. log_syslog_facility = local7
  14. log_to_file = True
  15. log_filelog_filename = /home/senrsl/blueproximity.log
其中,proximity_command是接近时执行命令,之前把它设置成unlokScreen,那么蓝牙没连接 上,只是搜索到就执行解锁了。

还有之前机器卡死的问题,发现在命令行里关掉blueproximity后,在进程里还在运行,多开几次后应该就相互抢资源了,二次测 试,每次关掉后手动杀死进程就好

  1. senrsl@senrsl-T540p:/usr/share/blueproximity$ sudo kill -9 10532
  2. senrsl@senrsl-T540p:/usr/share/blueproximity$ sudo kill -9 8625
  3. senrsl@senrsl-T540p:/usr/share/blueproximity$ sudo kill -9 11160
  4. senrsl@senrsl-T540p:/usr/share/blueproximity$ sudo kill -9 14337
  5. senrsl@senrsl-T540p:/usr/share/blueproximity$ sudo kill -9 17545
然后设置开机自启

重启下机器,发现这软件自带了开机自启。。。。

然后,开机之后又有几次闪屏,应该跟距离配置有关。

目前除了蓝牙精度引起的问题外没发现其他反人类的地方。。。。
或许换个iphone手机应该精度会准一些吧。。。。
我设置的1米,结果从三米开外机器就亮屏了,靠。。。。

三日后增加:之前都是一周关一次机,安上这个之后三天已经卡死2次了。。。。

17,ubuntu14.04双显示器扩展屏分辨率错误
出现过好多次了,硬件上的调整无法影响系统的配置
那么,从系统里面改
  1. senrsl@senrsl-T540p:~$ lspci | grep VGA
  2. 00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
  3. 01:00.0 VGA compatible controller: NVIDIA Corporation GK208M [GeForce GT 730M] (rev a1)
  4. senrsl@senrsl-T540p:~$ xrandr
  5. Screen 0: minimum 8 x 8, current 2944 x 1080, maximum 32767 x 32767
  6. eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
  7.    1920x1080      60.0*+   59.9 
  8.    1680x1050      60.0     59.9 
  9.    1600x1024      60.2 
  10.    1400x1050      60.0 
  11.    1280x1024      60.0 
  12.    1440x900       59.9 
  13.    1280x960       60.0 
  14.    1360x768       59.8     60.0 
  15.    1152x864       60.0 
  16.    1024x768       60.0 
  17.    800x600        60.3     56.2 
  18.    640x480        59.9 
  19. DP1 disconnected (normal left inverted right x axis y axis)
  20. DP2 disconnected (normal left inverted right x axis y axis)
  21. HDMI1 disconnected (normal left inverted right x axis y axis)
  22. HDMI2 disconnected (normal left inverted right x axis y axis)
  23. VGA1 connected 1024x768+1920+11 (normal left inverted right x axis y axis) 0mm x 0mm
  24.    1024x768       60.0*
  25.    800x600        60.3     56.2 
  26.    848x480        60.0 
  27.    640x480        59.9 
  28. VIRTUAL1 disconnected (normal left inverted right x axis y axis)
  29. senrsl@senrsl-T540p:~$ sudo xrandr --addmode DVI-I-1 1440x900
  30. [sudo] password for senrsl:
  31. xrandr: cannot find output "DVI-I-1"
  32. senrsl@senrsl-T540p:~$ sudo xrandr --addmode VGA1 1440x900
  33. senrsl@senrsl-T540p:~$ sudo xrandr --output VGA1 --mode 1440x900
  34. senrsl@senrsl-T540p:~$
这样就调整好了

18,android使用ubuntu内win虚拟机fiddler抓包
折腾了半天,ubuntu的也可以安,但是不好用
这是ubuntu的地址fiddler.wikidot.com/mono

然后,在windows虚拟机里安fiddler,虚拟机设置网络为桥接网卡
win虚拟机竟然获取到一个跟宿主机一个网域的地址。。。。
这样可以直接在android上配置过去,就OK了

虚拟机桥接网卡:


Fiddler的配置:
Tools--Telerik Fiddler Options--HTTPS:


然后旁边那个选项卡Connections:


这个工具用起来简单多了

啧啧

试用一下,太赞了

之前一直找不到的api,一抓就抓出来了!!!

哈哈,太赞了!!!

  1. api.weibo.cn/2/cardlist?networktype=wifi&extparam=discover&uicode=10000011&moduleID=708&c=android&i=4ac6a49&s=b2241301&ua=ASUS-AOSP%20on%20Deb__weibo__6.7.2__android__android4.4.2&wm=3333_1001&aid=01Aif4FhxtCEZCLlS-iSQczuaBkdAsN7tEjq4KMLTk0NhDZ2s.&fid=102803_ctg1_9999_-_ctg1_9999&uid=2652708694&v_f=2&v_p=32&from=1067295010&gsid=_2A25628eODeTxGeRI7lAW8CbKwjiIHXVXsVxGrDV6PUJbkdANLXShkWomLpuPyevXwbuLaZ5TSU5DrE208Q..&lang=en_US&page=1&skin=default&count=20&oldwm=3333_1001&sflag=1&containerid=102803_ctg1_9999_-_ctg1_9999&need_head_cards=1
踏破铁鞋无觅处,得来全不费工夫!


19,Error:Error converting bytecode to dex:Cause: java.lang.RuntimeException: Exception parsing classes
头一次用Intellij正式做东西,结果搭完项目跑不起来。。。。
  1. Error:Error converting bytecode to dex:
  2. Cause: java.lang.RuntimeException: Exception parsing classes
  3. Error:Error converting bytecode to dex:
  4. Cause: java.lang.RuntimeException: Exception parsing classes
  5. Error:Error converting bytecode to dex:
  6. Cause: java.lang.RuntimeException: Exception parsing classes
  7. Error:Error converting bytecode to dex:
  8. Cause: java.lang.RuntimeException: Exception parsing classes
  9. Error:Error converting bytecode to dex:
  10. Cause: java.lang.RuntimeException: Exception parsing classes
  11. Error:Error converting bytecode to dex:
  12. Cause: java.lang.RuntimeException: Exception parsing classes
  13. Error:Error converting bytecode to dex:
  14. Cause: java.lang.RuntimeException: Exception parsing classes
  15. Error:Error converting bytecode to dex:
  16. Cause: java.lang.RuntimeException: Exception parsing classes
  17. Error:Error converting bytecode to dex:
  18. Cause: java.lang.RuntimeException: Exception parsing classes
  19. Error:9 errors; aborting
  20. Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
  21. > com.android.build.api.transform.TransformException: java.lang.RuntimeException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/home/senrsl/java/jdk1.8.0_25/bin/java'' finished with non-zero exit value 1
可以build success,but can't run.


然后报
  1. Error:Error converting bytecode to dex:
  2. Cause: java.lang.RuntimeException: Exception parsing classes
  3. Error:1 error; aborting
  4. Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
  5. > com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/home/senrsl/java/jdk1.8.0_25/bin/java'' finished with non-zero exit value 1
做了测试,发现,这个问题是因为引了java lib module.
app  <-- android lib module <-- java lib module : 这是最开始的情况,会一直报错;
app  <-- android lib module1 <-- android lib module2 : 这个不报错;

第一种情况在app的UI dependencies里,显示 引入了 android lib module and java lib module;
第二种情况在app的UI dependencies里,仅显示引入的android lib module1;

说明要引java lib module,是要做处理的。
回家吧,明天搞
2016年09月26日18:56:50


附录1:maven依赖关系中Scope的作用  Dependency Scope

在POM 4中,<dependency>中还引入了<scope>,它主要管理依赖的部署。目前<scope>可以使用5个 值:

    * compile,缺省值,适用于所有阶段,会随着项目一起发布。
    * provided,类似compile,期望JDK、容器或使用者会提供这个依赖。如servlet.jar。
    * runtime,只在运行时使用,如JDBC驱动,适用运行和测试阶段。
    * test,只在测试时使用,用于编译和运行测试代码。不会随项目发布。
    * system,类似provided,需要显式提供包含依赖的jar,Maven不会在Repository中查找它。


2016年09月27日11:53:27
找了半天,发现貌似切到jdk1.7就好了,jdk1.8有问题

解决方法:
在根目录的build.gradle,在allprojects里面增加:
allprojects {      repositories {          jcenter()      }      tasks.withType(JavaCompile) {          sourceCompatibility = 1.7          targetCompatibility = 1.7      }  }
这样切换到1.7,就可以make了。。。。
这样写的测试例子通过测试。

然后引入到正常的项目,报错
  1. Error:Error converting bytecode to dex:
  2. Cause: com.android.dex.DexException: Multiple dex files define Ldc/common/log/LoggerSaveManager;
  3. Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
  4. > com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/home/senrsl/java/jdk1.8.0_25/bin/java'' finished with non-zero exit value 2

终于有个明确的错误了。。。。
果然是重复呢。
app平行引入了 lib-android-common 跟 lib-test,,这俩库里都放了logger包,删一个就好了。。。。

这样就OK了。


20,android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x2/d=0x7f010027 a=-1}
在布局里面用了这个
  1. android:background="?attr/menuBackground"
然后一直报上面那个错,找不到资源。
然后发现是在这里配置的样式
<application      android:allowBackup="true"      android:icon="@mipmap/ic_launcher"      android:label="@string/app_name"      android:supportsRtl="true"      android:name=".VsfApplication"      android:theme="@style/AppTheme"/>  
之前用的是默认的 ,把它改成自定义的theme,例如这个:
<!--brownTheme-->  <style name="BrownTheme" parent="AppTheme">      <item name="colorPrimary">@color/colorBrownPrimary</item>      <item name="colorPrimaryDark">@color/colorBrownPrimaryDark</item>      <item name="colorAccent">@color/colorBrownPrimaryDark</item>      <item name="menuBackground">@drawable/brown_background</item>      <item name="md_title_color">@color/colorBrownPrimary</item>      <item name="md_link_color">@color/colorBrownPrimary</item>      <item name="md_positive_color">@color/colorBrownPrimary</item>    </style>
里面就有menuBackground属性,就不会报错了。。。。

21,adb shell查看尺寸和密度
  1. senrsl@senrsl-T540p:~$ adb shell
  2. root@deb:/ # wm size
  3. Physical size: 1200x1920
  4. root@deb:/ # wm density
  5. Physical density: 320
  6. root@deb:/ #

22,ubuntu批量修改文件后缀
使用rename命令
  1. senrsl@senrsl-T540p:~/share/temp/mov/test$ l
  2. 1.txt1              1 (第4个复件).txt1  1 (第6个复件).txt1  1 (另一个复件).txt1
  3. 1 (第3个复件).txt1  1 (第5个复件).txt1  1 (复件).txt1
  4. senrsl@senrsl-T540p:~/share/temp/mov/test$ rename 's/\.txt1' *.txt
  5. Substitution pattern not terminated at (eval 1) line 1.
  6. senrsl@senrsl-T540p:~/share/temp/mov/test$ rename 's/\.txt1/.txt/' *.txt1
  7. senrsl@senrsl-T540p:~/share/temp/mov/test$ l
  8. 1.txt              1 (第4个复件).txt  1 (第6个复件).txt  1 (另一个复件).txt
  9. 1 (第3个复件).txt  1 (第5个复件).txt  1 (复件).txt
  10. senrsl@senrsl-T540p:~/share/temp/mov/test$
示例中的那个
senrsl@senrsl-T540p:~/share/temp/mov/test$ man rename
是去掉不是替换

23,Error:(482) Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
新的SDK采用了新版本的aapt(Android项目编译器), 这个版本的aapt编译起来会比老版本更加的严格, 在Android最新的开发文档中描述String的部分,地址为
developer.android.com/guide/topics/resources/string-resource.html#String
简单解决方法就是:把%s之类的变量格式替换成%1$s, %1表示第一个位置的变量, $s表示为字符串类型
  1. <string name="result_tips">已为您找到%1$s相关%2$d个结果</string>

24, org.gradle.internal.resolve.ModuleVersionNotFoundException: Cannot resolve external dependency com.android.tools.build:gradle:2.0.0 because no repositories are defined.Required by::NaviDemo:unspecified
这个是eclipse项目改的grade项目
之前build.gradle文件是
  1. allprojects {
  2.     repositories {
  3.         mavenCentral()
  4.         mavenLocal()
  5.         jcenter()
  6.     }
  7. }
  8. buildscript {
  9.     dependencies {
  10.         classpath 'com.android.tools.build:gradle:2.0.0'
  11.     }
  12. }
  13. apply plugin: 'com.android.application'
  14.  
  15. dependencies {
  16.     compile fileTree(include: '*.jar', dir: 'libs')
  17. }
  18.  
  19. android {
  20.     compileSdkVersion 23
  21.     buildToolsVersion "23.0.2"
  22.     sourceSets {
  23.         main {
  24.             manifest.srcFile 'AndroidManifest.xml'
  25.             java.srcDirs = ['src']
  26.             resources.srcDirs = ['src']
  27.             aidl.srcDirs = ['src']
  28.             renderscript.srcDirs = ['src']
  29.             res.srcDirs = ['res']
  30.             assets.srcDirs = ['assets']
  31.             jniLibs.srcDirs = ['libs']
  32.         }
  33.  
  34.         // Move the tests to tests/java, tests/res, etc...
  35.         instrumentTest.setRoot('tests')
  36.  
  37.         // Move the build types to build-types/<type>
  38.         // For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
  39.         // This moves them out of them default location under src/<type>/... which would
  40.         // conflict with src/ being used by the main source set.
  41.         // Adding new build types or product flavors should be accompanied
  42.         // by a similar customization.
  43.         debug.setRoot('build-types/debug')
  44.         release.setRoot('build-types/release')
  45.     }
  46. }
改成:
  1. allprojects {
  2.     repositories {
  3.         mavenCentral()
  4.         mavenLocal()
  5.         jcenter()
  6.     }
  7. }
  8. buildscript {
  9.     repositories {
  10.         jcenter()
  11.     }
  12.     dependencies {
  13.         classpath 'com.android.tools.build:gradle:2.0.0'
  14.         // NOTE: Do not place your application dependencies here; they belong
  15.         // in the individual module build.gradle files
  16.     }
  17. }
  18. apply plugin: 'com.android.application'
  19.  
  20. dependencies {
  21.     compile fileTree(include: '*.jar', dir: 'libs')
  22. }
  23.  
  24. android {
  25.     compileSdkVersion 23
  26.     buildToolsVersion "23.0.2"
  27.     sourceSets {
  28.         main {
  29.             manifest.srcFile 'AndroidManifest.xml'
  30.             java.srcDirs = ['src']
  31.             resources.srcDirs = ['src']
  32.             aidl.srcDirs = ['src']
  33.             renderscript.srcDirs = ['src']
  34.             res.srcDirs = ['res']
  35.             assets.srcDirs = ['assets']
  36.             jniLibs.srcDirs = ['libs']
  37.         }
  38.  
  39.         // Move the tests to tests/java, tests/res, etc...
  40.         instrumentTest.setRoot('tests')
  41.  
  42.         // Move the build types to build-types/<type>
  43.         // For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
  44.         // This moves them out of them default location under src/<type>/... which would
  45.         // conflict with src/ being used by the main source set.
  46.         // Adding new build types or product flavors should be accompanied
  47.         // by a similar customization.
  48.         debug.setRoot('build-types/debug')
  49.         release.setRoot('build-types/release')
  50.     }
  51. }
就好了

25,Native method not found: com.autonavi.amap.mapcore.MapCore.nativeNewInstance
高德地图只给了armeabi平台的库,设备是armeabi-v7a,复制一份过去就可以了。。。。

26,linux or android 查看cpu架构
只要cat下文件就好了
  1. senrsl@senrsl-T540p:~$ adb -s 95373306026767 shell
  2. shell@V2S:/ $ cat /proc/cpuinfo
  3. Processor    : ARMv7 Processor rev 5 (v7l)
  4. processor    : 0
  5. model name    : ARMv7 Processor rev 5 (v7l)
  6. BogoMIPS    : 2721.38
  7. Features    : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32
  8. CPU implementer    : 0x41
  9. CPU architecture: 7
  10. CPU variant    : 0x0
  11. CPU part    : 0xc07
  12. CPU revision    : 5
  13. processor    : 1
  14. model name    : ARMv7 Processor rev 5 (v7l)
  15. BogoMIPS    : 2721.38
  16. Features    : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32
  17. CPU implementer    : 0x41
  18. CPU architecture: 7
  19. CPU variant    : 0x0
  20. CPU part    : 0xc07
  21. CPU revision    : 5
  22. processor    : 2
  23. model name    : ARMv7 Processor rev 5 (v7l)
  24. BogoMIPS    : 2721.38
  25. Features    : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32
  26. CPU implementer    : 0x41
  27. CPU architecture: 7
  28. CPU variant    : 0x0
  29. CPU part    : 0xc07
  30. CPU revision    : 5
  31. processor    : 3
  32. model name    : ARMv7 Processor rev 5 (v7l)
  33. BogoMIPS    : 2721.38
  34. Features    : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32
  35. CPU implementer    : 0x41
  36. CPU architecture: 7
  37. CPU variant    : 0x0
  38. CPU part    : 0xc07
  39. CPU revision    : 5
  40. Hardware    : sc9830
  41. Revision    : 0000
  42. Serial        : 0000000000000000
  43. shell@V2S:/ $

ubuntu系统也适用
  1. senrsl@senrsl-T540p:~$ cat /proc/cpuinfo
  2. processor    : 0
  3. vendor_id    : GenuineIntel
  4. cpu family    : 6
  5. model        : 60
  6. model name    : Intel(R) Core(TM) i7-4710MQ CPU @ 2.50GHz
  7. stepping    : 3
  8. microcode    : 0x1c
  9. cpu MHz        : 2702.832
  10. cache size    : 6144 KB
  11. physical id    : 0
  12. siblings    : 8
  13. core id        : 0
  14. cpu cores    : 4
  15. apicid        : 0
  16. initial apicid    : 0
  17. fpu        : yes
  18. fpu_exception    : yes
  19. cpuid level    : 13
  20. wp        : yes
  21. flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt
  22. bugs        :
  23. bogomips    : 4988.35
  24. clflush size    : 64
  25. cache_alignment    : 64
  26. address sizes    : 39 bits physical, 48 bits virtual
  27. power management:
  28. processor    : 1
  29. vendor_id    : GenuineIntel
  30. cpu family    : 6
  31. model        : 60
  32. model name    : Intel(R) Core(TM) i7-4710MQ CPU @ 2.50GHz
  33. stepping    : 3
  34. microcode    : 0x1c
  35. cpu MHz        : 2765.625
  36. cache size    : 6144 KB
  37. physical id    : 0
  38. siblings    : 8
  39. core id        : 0
  40. cpu cores    : 4
  41. apicid        : 1
  42. initial apicid    : 1
  43. fpu        : yes
  44. fpu_exception    : yes
  45. cpuid level    : 13
  46. wp        : yes
  47. flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt
  48. bugs        :
  49. bogomips    : 4988.35
  50. clflush size    : 64
  51. cache_alignment    : 64
  52. address sizes    : 39 bits physical, 48 bits virtual
  53. power management:
  54. processor    : 2
  55. vendor_id    : GenuineIntel
  56. cpu family    : 6
  57. model        : 60
  58. model name    : Intel(R) Core(TM) i7-4710MQ CPU @ 2.50GHz
  59. stepping    : 3
  60. microcode    : 0x1c
  61. cpu MHz        : 2618.457
  62. cache size    : 6144 KB
  63. physical id    : 0
  64. siblings    : 8
  65. core id        : 1
  66. cpu cores    : 4
  67. apicid        : 2
  68. initial apicid    : 2
  69. fpu        : yes
  70. fpu_exception    : yes
  71. cpuid level    : 13
  72. wp        : yes
  73. flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt
  74. bugs        :
  75. bogomips    : 4988.35
  76. clflush size    : 64
  77. cache_alignment    : 64
  78. address sizes    : 39 bits physical, 48 bits virtual
  79. power management:
  80. processor    : 3
  81. vendor_id    : GenuineIntel
  82. cpu family    : 6
  83. model        : 60
  84. model name    : Intel(R) Core(TM) i7-4710MQ CPU @ 2.50GHz
  85. stepping    : 3
  86. microcode    : 0x1c
  87. cpu MHz        : 2883.007
  88. cache size    : 6144 KB
  89. physical id    : 0
  90. siblings    : 8
  91. core id        : 1
  92. cpu cores    : 4
  93. apicid        : 3
  94. initial apicid    : 3
  95. fpu        : yes
  96. fpu_exception    : yes
  97. cpuid level    : 13
  98. wp        : yes
  99. flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt
  100. bugs        :
  101. bogomips    : 4988.35
  102. clflush size    : 64
  103. cache_alignment    : 64
  104. address sizes    : 39 bits physical, 48 bits virtual
  105. power management:
  106. processor    : 4
  107. vendor_id    : GenuineIntel
  108. cpu family    : 6
  109. model        : 60
  110. model name    : Intel(R) Core(TM) i7-4710MQ CPU @ 2.50GHz
  111. stepping    : 3
  112. microcode    : 0x1c
  113. cpu MHz        : 2719.824
  114. cache size    : 6144 KB
  115. physical id    : 0
  116. siblings    : 8
  117. core id        : 2
  118. cpu cores    : 4
  119. apicid        : 4
  120. initial apicid    : 4
  121. fpu        : yes
  122. fpu_exception    : yes
  123. cpuid level    : 13
  124. wp        : yes
  125. flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt
  126. bugs        :
  127. bogomips    : 4988.35
  128. clflush size    : 64
  129. cache_alignment    : 64
  130. address sizes    : 39 bits physical, 48 bits virtual
  131. power management:
  132. processor    : 5
  133. vendor_id    : GenuineIntel
  134. cpu family    : 6
  135. model        : 60
  136. model name    : Intel(R) Core(TM) i7-4710MQ CPU @ 2.50GHz
  137. stepping    : 3
  138. microcode    : 0x1c
  139. cpu MHz        : 2537.109
  140. cache size    : 6144 KB
  141. physical id    : 0
  142. siblings    : 8
  143. core id        : 2
  144. cpu cores    : 4
  145. apicid        : 5
  146. initial apicid    : 5
  147. fpu        : yes
  148. fpu_exception    : yes
  149. cpuid level    : 13
  150. wp        : yes
  151. flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt
  152. bugs        :
  153. bogomips    : 4988.35
  154. clflush size    : 64
  155. cache_alignment    : 64
  156. address sizes    : 39 bits physical, 48 bits virtual
  157. power management:
  158. processor    : 6
  159. vendor_id    : GenuineIntel
  160. cpu family    : 6
  161. model        : 60
  162. model name    : Intel(R) Core(TM) i7-4710MQ CPU @ 2.50GHz
  163. stepping    : 3
  164. microcode    : 0x1c
  165. cpu MHz        : 2831.152
  166. cache size    : 6144 KB
  167. physical id    : 0
  168. siblings    : 8
  169. core id        : 3
  170. cpu cores    : 4
  171. apicid        : 6
  172. initial apicid    : 6
  173. fpu        : yes
  174. fpu_exception    : yes
  175. cpuid level    : 13
  176. wp        : yes
  177. flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt
  178. bugs        :
  179. bogomips    : 4988.35
  180. clflush size    : 64
  181. cache_alignment    : 64
  182. address sizes    : 39 bits physical, 48 bits virtual
  183. power management:
  184. processor    : 7
  185. vendor_id    : GenuineIntel
  186. cpu family    : 6
  187. model        : 60
  188. model name    : Intel(R) Core(TM) i7-4710MQ CPU @ 2.50GHz
  189. stepping    : 3
  190. microcode    : 0x1c
  191. cpu MHz        : 2500.097
  192. cache size    : 6144 KB
  193. physical id    : 0
  194. siblings    : 8
  195. core id        : 3
  196. cpu cores    : 4
  197. apicid        : 7
  198. initial apicid    : 7
  199. fpu        : yes
  200. fpu_exception    : yes
  201. cpuid level    : 13
  202. wp        : yes
  203. flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt
  204. bugs        :
  205. bogomips    : 4988.35
  206. clflush size    : 64
  207. cache_alignment    : 64
  208. address sizes    : 39 bits physical, 48 bits virtual
  209. power management:
  210. senrsl@senrsl-T540p:~$


27,AlertDialog.Builder xml style

找了快一下午,想通过style.xml来改 AlertDialog.Builder的样式,主要是现在这个风格是黑的,Dialog出来总是白的。。。。

尝试按这样写样式然后引入
<style name="DialogStyle" parent="Base.V7.Theme.AppCompat.Dialog">      <!-- 这里设置背景为透明,为了隐藏边框-->      <item name="android:windowBackground">@android:color/transparent</item>      <item name="android:windowNoTitle">true</item>      <!-- 这里是修改顶部标题背景颜色,具体颜色自己定,可以是图片 -->      <item name="android:topDark">@color/colorRedAccent</item>      <!-- 这里是修改内容区域背景颜色 -->      <item name="android:centerDark">@color/colorBlueGreyPrimary</item>      <item name="android:windowIsTranslucent">true</item>      <item name="android:windowAnimationStyle">@android:style/Animation.Translucent</item>        <item name="android:textSize">@dimen/setting_text_size</item>      <item name="android:textColor">@color/white</item>  </style>
代码里定义
  1. AlertDialog.Builder builder = new AlertDialog.Builder(mContext,R.style.DialogStyle);
怎么调都不行

然后,无奈之下把引入的包改成

  1. import android.support.v7.app.AlertDialog;
竟然变成黑的了。。。。。

shit!

一定要有干货
来个布局的定义


解释:
  1. android:colorPrimaryDark 应用的主要暗色调,statusBarColor默认使用该颜色
  2. android:statusBarColor 状态栏颜色,默认使用colorPrimaryDark
  3. android:colorPrimary 应用的主要色调,actionBar默认使用该颜色
  4. android:windowBackground 窗口背景颜色
  5. android:navigationBarColor 底部栏颜色
  6. android:colorForeground 应用的前景色,ListView的分割线,switch滑动区默认使用该颜色
  7. android:colorBackground 应用的背景色,popMenu的背景默认使用该颜色
  8. android:colorAccent 一般控件的选种效果默认采用该颜色
  9. android:colorControlNormal 控件的默认色调 
  10. android:colorControlHighlight 控件按压时的色调
  11. android:colorControlActivated 控件选中时的颜色,默认使用colorAccent
  12. android:colorButtonNormal 默认按钮的背景颜色
  13. android:textColor Button,textView的文字颜色
  14. android:textColorPrimaryDisableOnly RadioButton checkbox等控件的文字
  15. android:textColorPrimary 应用的主要文字颜色,actionBar的标题文字默认使用该颜色
恩。。。。就酱


28,AudioRecord: start() status -38
频繁的开启关闭AudioRecord会出现这个问题。。。。

返回-3。。。。。

用了下三星,提示这个
 E/AudioRecord: AudioFlinger could not create record track, status: -12
 E/AudioRecord-JNI: Error creating AudioRecord instance: initialization check failed with status -12.
E/android.media.AudioRecord: Error code -20 when initializing native AudioRecord object.

找了好久,发现有存在AudioRecord没关闭的情况

在每次有可能关闭的地方 release 然后置null就好了。。。。


29,android 屏幕分辨率适配

x,xx,xxx的区别
1)、创建不同位图
  • xxxhdpi: 5.0                    500*500 
  • xxhdpi: 3.0                      300*300
  • xhdpi:2.0                      200*200
  • hdpi:1.5                        150*150
  • mdpi:1.0(baseline)    100*100
  • ldpi:0.75                       75*75 
文件夹名称 比例 图片大小(示例) 屏幕宽度 DPI值 分辨率举例
drawable-xxxhdpi 5.0 500*500 1440左右 640dpi 2560*1440(Nexus6)
drawable-xxhdpi 3.0 300*300 1080左右 480dpi 1080*1920
drawable-xhdpi 2.0 200*200 720左右 320dpi 720*1280
drawable-hdpi 1.5 150*150 480左右 240dpi 480*800,480*854,540*960
drawable-mdpi 1.0(BaseLine) 100*100 360左右 160dpi 320*480
drawable-ldpi 0.75 75*75 240左右    


2、借鉴drawable文件夹,依次创建values,values-mdpi, values-hdpi,values-xhdpi, values-xxhdpi, values-xxxhdpi。 (鉴于现在ldpi的机型很少,就直接使用默认的values来做适配)。

测试的过程中,使用mdpi做为基线 ,我针对 像素单位dp使用10dp, 字体大小单位sp使用10sp。其它文件的单位,分别使用上面的比例关系,设置字体,边距大小。

文件夹名称 字体大小sp 距离大小dp 手机输出值(字体大小) 手机显示值(距离大小)
values-xxxhdpi 50 50 175.0 175.0
values-xxhdpi 30 30 90.0 90.0
values-xhdpi 20 20 40.0 40.0
values-hdpi 15 15 22.5 22.5
values-hdpi(854*480)

25.87 22.5
values-mdpi 10 10 10.0 10.0
values-ldpi 7.5 7.5 5.625 5.625


以上仅供参考
  1. senrsl@senrsl-T540p:~$ adb shell wm size
  2. Physical size: 1080x1920
  3. senrsl@senrsl-T540p:~$ adb shell wm density
  4. Physical density: 480
  5. senrsl@senrsl-T540p:~$ adb shell wm size
  6. Physical size: 1200x1920
  7. senrsl@senrsl-T540p:~$ adb shell wm density
  8. Physical density: 320


30,Caused by: java.lang.RuntimeException: Failed to resolve attribute at index 13
切换fragment报错:
android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.RuntimeException: Failed to resolve attribute at index 13

这个貌似是因为在一个layout里放了三个不同的高德地图,但这个问题仅出现在android5.0上

Attempt to invoke virtual method 'int android.view.View.getHeight()' on a null object reference

Attempt to invoke virtual method 'android.view.ViewGroup$LayoutParams android.view.View.getLayoutParams()' on a null object reference

问题在android5.0上一直出现,在android4跟6工作正常。。。。

没办法,只好做了个判断,android5系的版本时,用activity,其他版本用之前fragment.

但在android5上还是有问题。。。。
activity以dialog的形势展现,无法全屏。。。。。

哎,折腾一下午。。。。
2016年11月02日20:27:42

31,Error:(3) Error: "asr_keywords" is not translated in "zh-CN" (Chinese: China) [MissingTranslation]
忽略
android {      lintOptions{         checkReleaseBuilds false         abortOnError false      }  }  
或者在values新建donottranslate.xml文件,并把non-translatable 的字符串放入其中. donottranslate.xml: Error:Execution failed for task ':app:transformClassesAndResourcesWithProguardForRelease'. > java.io.IOException: The same input jar  is specified twice. 混淆文件引库注释掉
#-libraryjars libs/Msc.jar
因为build已经引过了 32,查看jks指纹
  1. senrsl@senrsl-T540p:~/android/IdeaProjects/nvn$ keytool -list -v -keystore keystore.jks
  2. 输入密钥库口令: 
  3. 密钥库类型: JKS
  4. 密钥库提供方: SUN
  5. 您的密钥库包含 1 个条目
  6. 别名: nvn
  7. 创建日期: 2016-11-3
  8. 条目类型: PrivateKeyEntry
  9. 证书链长度: 1
  10. 证书[1]:
  11. 所有者: CN=senRsl, OU=SENRSL, O=SENRSL, L=PEK, ST=CN, C=86
  12. 发布者: CN=senRsl, OU=SENRSL, O=SENRSL, L=PEK, ST=CN, C=86
  13. 序列号: 48119086
  14. 有效期开始日期: Thu Nov 03 14:44:08 CST 2016, 截止日期: Mon Oct 28 14:44:08 CST 2041
  15. 证书指纹:
  16.      MD5: 37:CB:6F:C9:37:18:E9:CD:B2:18:64:C7:43:AC:11:EB
  17.      SHA1: 04:B8:AC:7E:D0:07:29:25:DA:E8:63:15:84:23:69:2E:DF:FA:7F:5F
  18.      SHA256: 31:83:69:CD:0D:E4:4B:A7:7A:00:32:5A:A3:C4:67:59:30:C4:C6:F5:03:28:4C:38:B6:53:88:3E:02:B1:6A:33
  19.      签名算法名称: SHA256withRSA
  20.      版本: 3
  21. 扩展:
  22. #1: ObjectId: 2.5.29.14 Criticality=false
  23. SubjectKeyIdentifier [
  24. KeyIdentifier [
  25. 0000: 57 B3 23 F9 B8 B9 A0 1A   3D 1C 24 0A B8 9B A0 40  W.#.....=.$....@
  26. 0010: 38 A8 AA 46                                        8..F
  27. ]
  28. ]
  29. *******************************************
  30. *******************************************
  31. senrsl@senrsl-T540p:~/android/IdeaProjects/nvn$
33,android桌面不显示图标 注释
  1.  <activity
  2.             android:name=".activity.AboutActivity"
  3.             android:launchMode="singleTop"
  4.             android:screenOrientation="sensor" >
  5.              <intent-filter>
  6.                 <action android:name="android.intent.action.MAIN" />
  7.                 <!--
  8.                 <category android:name="android.intent.category.LAUNCHER" />
  9.                  -->
  10.             </intent-filter>
  11.             </activity>
然后命令启动
  1. senrsl@senrsl-T540p:~/android/IdeaProjects/nvn$ adb shell am start -n dc.android.post/dc.android.post.activity.AboutActivity
  2. Starting: Intent { cmp=dc.android.post/.activity.AboutActivity }
  3. senrsl@senrsl-T540p:~/android/IdeaProjects/nvn$
2016年11月03日18:17:21 明天开始喝中药
--
senRsl 2015年12月14日14:36:16

没有评论 :

发表评论