1,adb shell查看应用mainfest信息
mainfest里的
- senrsl@senrsl-T540p:~$ adb shell dumpsys package com.vcyber.drivers
- Activity Resolver Table:
- Non-Data Actions:
- android.intent.action.MAIN:
- 41cf5408 com.vcyber.drivers/.activity.ConnectActivity filter 41cc8058
- Receiver Resolver Table:
- Non-Data Actions:
- android.intent.action.MEDIA_BUTTON:
- 41cde1a0 com.vcyber.drivers/.broadcast.MediaButtonReceiver filter 41cdd330
- PROTOCAL_CONNECT:
- 41cf61b8 com.vcyber.drivers/.broadcast.ProtocalReceiver filter 41cbf1b0
- android.net.wifi.STATE_CHANGE:
- 41cb63e0 com.vcyber.drivers/.broadcast.WifiReceiver filter 41d044f0
- android.hardware.usb.action.USB_DEVICE_ATTACHED:
- 41cb4cb8 com.vcyber.drivers/.broadcast.USBBroadcastReceiver filter 41c97348
- android.hardware.usb.action.USB_DEVICE_DETACHED:
- 41cb4cb8 com.vcyber.drivers/.broadcast.USBBroadcastReceiver filter 41c97348
- android.net.wifi.WIFI_STATE_CHANGED:
- 41cb63e0 com.vcyber.drivers/.broadcast.WifiReceiver filter 41d044f0
- android.intent.action.BOOT_COMPLETED:
- 41c630a8 com.vcyber.drivers/.broadcast.BootReceiver filter 41cfdcb0
- android.net.wifi.RSSI_CHANGED:
- 41cb63e0 com.vcyber.drivers/.broadcast.WifiReceiver filter 41d044f0
- Service Resolver Table:
- Non-Data Actions:
- com.geniusgithub.start.engine:
- 41c9baf0 com.vcyber.drivers/com.geniusgithub.mediarender.service.MediaRenderService filter 41cb69c8
- com.geniusgithub.restart.engine:
- 41c9baf0 com.vcyber.drivers/com.geniusgithub.mediarender.service.MediaRenderService filter 41cb69c8
- Registered ContentProviders:
- com.vcyber.drivers/com.yixia.zi.provider.SessionProvider:
- Provider{41c4e558 com.yixia.zi.provider.SessionProvider}
- ContentProvider Authorities:
- [com.yixia.zi.provider.session]:
- Provider{41c4e558 com.yixia.zi.provider.SessionProvider}
- applicationInfo=ApplicationInfo{41d19718 com.vcyber.drivers}
- Packages:
- Package [com.vcyber.drivers] (41c07798):
- userId=10055 gids=[3003, 1015, 1028]
- sharedUser=null
- pkg=Package{41d6dc48 com.vcyber.drivers}
- codePath=/data/app/com.vcyber.drivers-1.apk
- resourcePath=/data/app/com.vcyber.drivers-1.apk
- nativeLibraryPath=/data/app-lib/com.vcyber.drivers-1
- versionCode=201512040
- applicationInfo=ApplicationInfo{41d19718 com.vcyber.drivers}
- flags=[ HAS_CODE ALLOW_CLEAR_USER_DATA ALLOW_BACKUP ]
- versionName=1.1.1
- dataDir=/data4write/data/com.vcyber.drivers
- targetSdk=19
- supportsScreens=[small, medium, large, xlarge, resizeable, anyDensity]
- timeStamp=2015-01-01 00:11:51
- firstInstallTime=2015-01-01 00:11:56
- lastUpdateTime=2015-01-01 00:11:56
- signatures=PackageSignatures{41c126a0 [41c084e0]}
- permissionsFixed=true haveGids=true installStatus=1
- pkgFlags=[ HAS_CODE ALLOW_CLEAR_USER_DATA ALLOW_BACKUP ]
- User 0: installed=true stopped=false notLaunched=false enabled=0
- grantedPermissions:
- android.permission.READ_EXTERNAL_STORAGE
- android.permission.CHANGE_WIFI_MULTICAST_STATE
- android.permission.GET_TASKS
- android.permission.WRITE_EXTERNAL_STORAGE
- android.permission.PROCESS_OUTGOING_CALLS
- android.permission.WRITE_CALL_LOG
- android.permission.ACCESS_WIFI_STATE
- android.permission.ACCESS_COARSE_LOCATION
- android.permission.READ_CONTACTS
- android.permission.CALL_PHONE
- android.permission.WRITE_CONTACTS
- android.permission.READ_PHONE_STATE
- android.permission.RECEIVE_BOOT_COMPLETED
- android.permission.ACCESS_FINE_LOCATION
- android.permission.BROADCAST_STICKY
- android.permission.ACCESS_NETWORK_STATE
- android.permission.WAKE_LOCK
- android.permission.RECORD_AUDIO
- android.permission.MODIFY_AUDIO_SETTINGS
- android.permission.SYSTEM_ALERT_WINDOW
- android.permission.INTERNET
- android.permission.WRITE_SETTINGS
- android.permission.CHANGE_WIFI_STATE
- android.permission.ACCESS_LOCATION_EXTRA_COMMANDS
- android.permission.VIBRATE
- android.permission.READ_CALL_LOG
- android.permission.CHANGE_NETWORK_STATE
- senrsl@senrsl-T540p:~$
2,git修改remote地址
- 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 同步时间
还少个自动同步
- [root@Android ~]# cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
- cp:是否覆盖"/etc/localtime"? yes
- [root@Android ~]# vi /etc/sysconfig/clock
- [root@Android ~]# hwclock -r
- 2015年12月22日 星期二 00时15分38秒 -0.578395 seconds
- [root@Android ~]# date
- 2015年 12月 22日 星期二 00:15:58 CST
- [root@Android ~]# date -s 16:12:20
- 2015年 12月 22日 星期二 16:12:20 CST
- [root@Android ~]# hwclock -w
- [root@Android ~]# hwclock -r
- 2015年12月22日 星期二 16时12分40秒 -0.672133 seconds
- [root@Android ~]# clock -w
- [root@Android ~]# ntpdate time.nist.gov
- -bash: ntpdate: command not found
- [root@Android ~]#
5,把已有用户gerrit加到已有组git-ro中
把gerrit用户加入git-ro组,然后cd /home/git-ro/一直没权限,目录权限750。
- [root@Android home]# usermod -a -G git-ro gerrit
- #查看用户所属的组
- [root@Android home]# groups git-ro
- git-ro : git-ro dc git-g
- [root@Android home]# groups gerrit
- gerrit : gerrit git-ro
- #查看组内成员
- [root@Android home]# cat /etc/group | grep git-ro
- dc:x:502:git-ro
- git-ro:x:503:gerrit
- git-g:x:504:git-ro
- [root@Android home]# cat /etc/group | grep gerrit
- git-ro:x:503:gerrit
- gerrit:x:505:
- [root@Android home]#
折腾半天reboot一下就好了。。。。
6,clapper p2phls插件
官方demo一直跑不起来
尝试编译
开始一堆错误。。。。。
- senrsl@senrsl-T540p:~/tools/hls$ sudo npm install gulp -g
- senrsl@senrsl-T540p:~/tools/hls$ git clone -q https://github.com/bemtv/clappr-p2phls-plugin.git
- senrsl@senrsl-T540p:~/tools/hls/clappr-p2phls-plugin$ cd clappr-p2phls-plugin
- 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
- 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
然后回eclipse,变成了3.0但是报错
- <?xml version="1.0" encoding="UTF-8"?>
- <faceted-project>
- <fixed facet="wst.jsdt.web"/>
- <installed facet="java" version="1.5"/>
- <installed facet="jst.web" version="3.0"/>
- <installed facet="wst.jsdt.web" version="1.0"/>
- </faceted-project>
。。。。我明明配置了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,加
然后 右键,Maven-->Update Projects,就好了。。。。
- <build>
- <plugins>
- <plugin>
- 其他的
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.1</version>
- <configuration>
- <source>1.7</source>
- <target>1.7</target>
- </configuration>
- </plugin>
- </plugins>
- </build>
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蓝牙修改名称
查看当前名称
增加配置
- senrsl@senrsl-T540p:~$ cat /var/lib/bluetooth/10\:4A\:7D\:BF\:58\:73/config
- name ubuntu-0
- pairable yes
- onmode discoverable
- mode discoverable
- senrsl@senrsl-T540p:~$
再查看就变了
- senrsl@senrsl-T540p:/etc$ sudo touch machine-info
- senrsl@senrsl-T540p:/etc$ sudo su
- root@senrsl-T540p:/etc# echo 'PRETTY_HOSTNAME=SENRSL_UBT'>>machine-info
- root@senrsl-T540p:/etc# cat machine-info
- PRETTY_HOSTNAME=SENRSL_UBT
- root@senrsl-T540p:/etc# service bluetooth restart
- bluetooth stop/waiting
- bluetooth start/running, process 10542
- root@senrsl-T540p:/etc#
12,android修改运营商代码
版本1:
版本2:
- shell@virgo:/ $ getprop
- [DEVICE_PROVISIONED]: [1]
- [audio.offload.buffer.size.kb]: [32]
- [audio.offload.disable]: [true]
- [audio.offload.gapless.enabled]: [false]
- [audio.offload.pcm.16bit.enable]: [true]
- [audio.offload.pcm.24bit.enable]: [true]
- [audio.offload.pcm.enable]: [true]
- [audio.offload.video]: [true]
- [bluetooth.hfp.client]: [1]
- [camera2.portability.force_api]: [1]
- [dalvik.vm.dex2oat-Xms]: [64m]
- [dalvik.vm.dex2oat-Xmx]: [512m]
- [dalvik.vm.heapgrowthlimit]: [128m]
- [dalvik.vm.heapmaxfree]: [32m]
- [dalvik.vm.heapminfree]: [8m]
- [dalvik.vm.heapsize]: [512m]
- [dalvik.vm.heapstartsize]: [8m]
- [dalvik.vm.heaptargetutilization]: [0.75]
- [dalvik.vm.image-dex2oat-Xms]: [64m]
- [dalvik.vm.image-dex2oat-Xmx]: [64m]
- [dalvik.vm.isa.arm.features]: [default]
- [dalvik.vm.isa.arm.variant]: [krait]
- [dalvik.vm.stack-trace-file]: [/data/anr/traces.txt]
- [debug.atrace.tags.enableflags]: [0]
- [debug.composition.type]: [c2d]
- [debug.egl.hw]: [1]
- [debug.force_rtl]: [0]
- [debug.mdpcomp.logs]: [0]
- [debug.sf.hw]: [1]
- [dev.bootcomplete]: [1]
- [dev.pm.dyn_samplingrate]: [1]
- [drm.service.enabled]: [true]
- [gsm.apn.sim.operator.numeric]: [46001,46001]
- [gsm.current.phone-type]: [1,1]
- [gsm.defaultpdpcontext.active]: [true]
- [gsm.network.type]: [LTE,Unknown]
- [gsm.nitz.time]: [1468922077038]
- [gsm.operator.alpha]: [Verizon]
- [gsm.operator.iso-country]: [cn]
- [gsm.operator.isroaming]: [false,false]
- [gsm.operator.numeric]: [46001]
- [gsm.sim.operator.alpha]: [Verizon]
- [gsm.sim.operator.iso-country]: [cn]
- [gsm.sim.operator.numeric]: [46001]
- [gsm.sim.state]: [READY,READY]
- [gsm.version.baseband]: [MPSS.DI.4.0-63d722f]
- [gsm.version.baseband1]: [MPSS.DI.4.0-63d722f]
- [gsm.version.ril-impl]: [Qualcomm RIL 1.0]
- [hw.ad.mode]: [1]
- [hw.cabl.version]: [2.0.20140905]
- [hw.cabl.yuv]: [0]
- [hw.pp.cfg]: [/data/misc/display/pp_data.cfg]
- [init.svc.adbd]: [stopping]
- [init.svc.adsprpcd]: [running]
- [init.svc.atfwd]: [stopped]
- [init.svc.audiod]: [running]
- [init.svc.bootanim]: [stopped]
- [init.svc.changepowermode]: [stopped]
- [init.svc.charger_monitor]: [running]
- [init.svc.checkpath]: [stopped]
- [init.svc.checksdkpath]: [stopped]
- [init.svc.cnd]: [running]
- [init.svc.config_bluetooth]: [stopped]
- [init.svc.daemonsu]: [stopped]
- [init.svc.debuggerd]: [running]
- [init.svc.displayfeature]: [running]
- [init.svc.dpmd]: [running]
- [init.svc.drm]: [running]
- [init.svc.fdpp]: [running]
- [init.svc.gatekeeperd]: [running]
- [init.svc.healthd]: [running]
- [init.svc.hvdcp]: [running]
- [init.svc.imsdatadaemon]: [running]
- [init.svc.imsqmidaemon]: [running]
- [init.svc.installd]: [running]
- [init.svc.irsc_util]: [stopped]
- [init.svc.keystore]: [running]
- [init.svc.lmkd]: [running]
- [init.svc.loc_launcher]: [running]
- [init.svc.logd]: [running]
- [init.svc.logd-reinit]: [stopped]
- [init.svc.mcd_init]: [stopped]
- [init.svc.mcd_service]: [running]
- [init.svc.media]: [running]
- [init.svc.modem_dump]: [running]
- [init.svc.mpdecision]: [running]
- [init.svc.mtpd]: [running]
- [init.svc.netd]: [running]
- [init.svc.netmgrd]: [running]
- [init.svc.p2p_supplicant]: [running]
- [init.svc.ppd]: [running]
- [init.svc.qcamerasvr]: [running]
- [init.svc.qcom-c_core-sh]: [stopped]
- [init.svc.qcom-c_main-sh]: [stopped]
- [init.svc.qcom-post-boot]: [stopped]
- [init.svc.qcom-sh]: [stopped]
- [init.svc.qcom-usb-sh]: [stopped]
- [init.svc.qcomsysd]: [running]
- [init.svc.qmuxd]: [running]
- [init.svc.qseecomd]: [running]
- [init.svc.qti-testscripts]: [stopped]
- [init.svc.racoon]: [stopped]
- [init.svc.rfs_access]: [running]
- [init.svc.ril-daemon]: [running]
- [init.svc.ril-daemon2]: [running]
- [init.svc.rmt_storage]: [running]
- [init.svc.servicemanager]: [running]
- [init.svc.setlockstate]: [stopped]
- [init.svc.shelld]: [running]
- [init.svc.ssr_setup]: [stopped]
- [init.svc.surfaceflinger]: [running]
- [init.svc.thermal-engine]: [running]
- [init.svc.thermal-perf]: [stopped]
- [init.svc.time_daemon]: [running]
- [init.svc.ueventd]: [running]
- [init.svc.usf-post-boot]: [stopped]
- [init.svc.vold]: [running]
- [init.svc.wcnss-service]: [running]
- [init.svc.zygote]: [running]
- [keyguard.no_require_sim]: [true]
- [media.aac_51_output_enabled]: [true]
- [media.stagefright.enable-aac]: [true]
- [media.stagefright.enable-fma2dp]: [true]
- [media.stagefright.enable-http]: [true]
- [media.stagefright.enable-player]: [true]
- [media.stagefright.enable-qcp]: [true]
- [media.stagefright.enable-scan]: [true]
- [mm.enable.qcom_parser]: [37491]
- [mm.enable.smoothstreaming]: [true]
- [mmp.enable.3g2]: [true]
- [net.bt.name]: [Android]
- [net.change]: [net.rmnet0.gw]
- [net.dns1]: [202.106.46.151]
- [net.dns2]: [202.106.0.20]
- [net.dns3]: [114.114.114.114]
- [net.hostname]: [MINOTELTE-SENRSL_XM]
- [net.qtaguid_enabled]: [1]
- [net.rmnet0.dns1]: []
- [net.rmnet0.dns2]: []
- [net.rmnet0.gw]: []
- [net.tcp.buffersize.default]: [4096,87380,110208,4096,16384,110208]
- [net.tcp.buffersize.edge]: [4093,26280,35040,4096,16384,35040]
- [net.tcp.buffersize.evdo]: [4094,87380,262144,4096,16384,262144]
- [net.tcp.buffersize.gprs]: [4092,8760,11680,4096,8760,11680]
- [net.tcp.buffersize.hsdpa]: [4094,87380,1220608,4096,16384,1220608]
- [net.tcp.buffersize.hspa]: [4094,87380,1220608,4096,16384,1220608]
- [net.tcp.buffersize.hspap]: [4094,87380,1220608,4096,16384,1220608]
- [net.tcp.buffersize.hsupa]: [4094,87380,1220608,4096,16384,1220608]
- [net.tcp.buffersize.lte]: [524288,1048576,2097152,262144,524288,1048576]
- [net.tcp.buffersize.umts]: [4094,87380,110208,4096,16384,110208]
- [net.tcp.buffersize.wifi]: [524288,2097152,4194304,262144,524288,1048576]
- [net.tcp.default_init_rwnd]: [60]
- [net.tcp.delack.default]: [1]
- [net.tcp.delack.lte]: [8]
- [net.tcp.delack.wifi]: [20]
- [net.tcp.usercfg.default]: [0]
- [net.tcp.usercfg.lte]: [1]
- [net.tcp.usercfg.wifi]: [1]
- [persist.audio.fluence.speaker]: [true]
- [persist.audio.fluence.voicecall]: [true]
- [persist.audio.fluence.voicerec]: [false]
- [persist.audio.hifi]: [false]
- [persist.audio.hifi.volume]: [0]
- [persist.cne.feature]: [0]
- [persist.data.netmgrd.qos.enable]: [true]
- [persist.data.tcp_rst_drop]: [true]
- [persist.debug.wfd.enable]: [1]
- [persist.demo.hdmirotationlock]: [false]
- [persist.env.fastdorm.enabled]: [true]
- [persist.fd.scroff.timer]: [3000]
- [persist.fd.scron.timer]: [10000]
- [persist.fuse_sdcard]: [true]
- [persist.gps.qc_nlp_in_use]: [1]
- [persist.hwc.mdpcomp.enable]: [true]
- [persist.loc.nlp_name]: [com.qualcomm.location]
- [persist.logd.size]: []
- [persist.logd.size.radio]: [4M]
- [persist.miui.density_v2]: [440]
- [persist.omh.enabled]: [true]
- [persist.power.useautobrightadj]: [true]
- [persist.radio.adb_log_on]: [0]
- [persist.radio.apm_sim_not_pwdn]: [0]
- [persist.radio.custom_ecc]: [1]
- [persist.radio.data_no_toggle]: [1]
- [persist.radio.default.data]: [0]
- [persist.radio.default.voice]: [1]
- [persist.radio.eons.enabled]: [false]
- [persist.radio.force_on_dc]: [true]
- [persist.radio.iccid]: [89860115817082754524,89860115811011188029]
- [persist.radio.ignore_dom_time]: [5]
- [persist.radio.imei]: [865982025679997]
- [persist.radio.imei1]: [865982025679997]
- [persist.radio.imei2]: [865982025679997]
- [persist.radio.modem]: [LTE-X5]
- [persist.radio.msim.stackid_0]: [0]
- [persist.radio.msim.stackid_1]: [1]
- [persist.radio.multisim.config]: [dsds]
- [persist.radio.ramdump_sdcard]: [1]
- [persist.radio.rat_on]: [combine]
- [persist.radio.ril_payload_on]: [0]
- [persist.radio.sglte_target]: [0]
- [persist.radio.stack_id_0]: [0]
- [persist.radio.stack_id_1]: [1]
- [persist.rild.nitz_long_ons_0]: []
- [persist.rild.nitz_long_ons_1]: []
- [persist.rild.nitz_long_ons_2]: []
- [persist.rild.nitz_long_ons_3]: []
- [persist.rild.nitz_plmn]: []
- [persist.rild.nitz_short_ons_0]: []
- [persist.rild.nitz_short_ons_1]: []
- [persist.rild.nitz_short_ons_2]: []
- [persist.rild.nitz_short_ons_3]: []
- [persist.speaker.prot.enable]: [true]
- [persist.sys.aries.power_profile]: [middle]
- [persist.sys.button_headset_hook]: [media]
- [persist.sys.button_jack_profile]: [volume]
- [persist.sys.button_jack_switch]: [0]
- [persist.sys.country]: []
- [persist.sys.dalvik.vm.lib.2]: [libart.so]
- [persist.sys.device_name]: [SENRSL_XM]
- [persist.sys.display_cabc]: [1]
- [persist.sys.display_ce]: [10]
- [persist.sys.display_eyecare]: [0]
- [persist.sys.dpmd.nsrm]: [2]
- [persist.sys.dpmd.tcm]: [2]
- [persist.sys.klo]: [on]
- [persist.sys.klo.rec_start]: [1469096042]
- [persist.sys.language]: []
- [persist.sys.locale]: [zh-CN]
- [persist.sys.localevar]: []
- [persist.sys.ltm_enable]: [true]
- [persist.sys.mcd_config_file]: [/system/etc/mcd_default.conf]
- [persist.sys.memctrl]: [supported]
- [persist.sys.mitalk.enable]: [true]
- [persist.sys.profiler_ms]: [0]
- [persist.sys.released]: [true]
- [persist.sys.sc_allow_conn]: [true]
- [persist.sys.screenshot_mode]: [1]
- [persist.sys.silent]: [0]
- [persist.sys.smartcover_enabled]: [false]
- [persist.sys.smartcover_mode]: [1]
- [persist.sys.ssr.restart_level]: [ALL_ENABLE]
- [persist.sys.strict_op_enable]: [false]
- [persist.sys.strictmode.disable]: [true]
- [persist.sys.timezone]: [Asia/Shanghai]
- [persist.sys.usb.config]: [mtp,adb]
- [persist.sys.usb.config.extra]: [none]
- [persist.sys.webview.vmsize]: [104857600]
- [persist.sys.wfd.virtual]: [0]
- [persist.sys.whitelist]: [/system/etc/whitelist_appops.xml]
- [persist.timed.enable]: [true]
- [persist.usb.hvdcp.detect]: [true]
- [qc.izat.gtp.wifi.low_power]: [DISABLED]
- [qcom.hw.aac.encoder]: [false]
- [radio.atfwd.start]: [false]
- [ril.ecclist]: [*911,#911,911,112,110,119,120,122,999]
- [ril.ecclist1]: [*911,#911,911,112,110,119,120,122,999]
- [ril.limit_service_mnc]: [GSM_460]
- [ril.qcril_pre_init_lock_held]: [0]
- [ril.subscription.types]: [RUIM]
- [rild.libargs]: [-d /dev/smd0]
- [rild.libpath]: [/vendor/lib/libril-qc-qmi-1.so]
- [ro.adb.secure]: [1]
- [ro.allow.mock.location]: [0]
- [ro.audio.hifi]: [true]
- [ro.baseband]: [msm]
- [ro.bluetooth.dun]: [true]
- [ro.bluetooth.hfp.ver]: [1.7]
- [ro.bluetooth.sap]: [true]
- [ro.board.platform]: [msm8974]
- [ro.boot.baseband]: [msm]
- [ro.boot.bootdevice]: [msm_sdcc.1]
- [ro.boot.emmc]: [true]
- [ro.boot.hardware]: [qcom]
- [ro.boot.hwversion]: [54]
- [ro.boot.serialno]: [da91853a]
- [ro.bootimage.build.date]: [Thu Mar 17 00:57:35 CST 2016]
- [ro.bootimage.build.date.utc]: [1458147455]
- [ro.bootimage.build.fingerprint]: [Xiaomi/virgo/virgo:6.0.1/MMB29M/6.3.17:user/test-keys]
- [ro.bootloader]: [unknown]
- [ro.bootmode]: [unknown]
- [ro.btconfig.chip]: [WCN3680]
- [ro.btconfig.dev]: [/dev/smd3]
- [ro.btconfig.if]: [smd]
- [ro.btconfig.vendor]: [qcom]
- [ro.build.characteristics]: [nosdcard]
- [ro.build.date]: [Thu Mar 17 00:56:07 CST 2016]
- [ro.build.date.utc]: [1458147367]
- [ro.build.description]: [virgo-user 6.0.1 MMB29M 6.3.17 release-keys]
- [ro.build.display.id]: [MMB29M]
- [ro.build.fingerprint]: [Xiaomi/virgo/virgo:6.0.1/MMB29M/6.3.17:user/release-keys]
- [ro.build.flavor]: [virgo-user]
- [ro.build.host]: [qh-miui-ota-bd62]
- [ro.build.id]: [MMB29M]
- [ro.build.product]: [virgo]
- [ro.build.tags]: [release-keys]
- [ro.build.type]: [user]
- [ro.build.user]: [builder]
- [ro.build.version.all_codenames]: [REL]
- [ro.build.version.base_os]: []
- [ro.build.version.codename]: [REL]
- [ro.build.version.incremental]: [6.3.17]
- [ro.build.version.preview_sdk]: [0]
- [ro.build.version.release]: [6.0.1]
- [ro.build.version.sdk]: [23]
- [ro.build.version.security_patch]: [2016-03-01]
- [ro.carrier]: [unknown]
- [ro.com.android.dataroaming]: [false]
- [ro.com.android.mobiledata]: [false]
- [ro.com.google.clientidbase]: [android-xiaomi]
- [ro.com.google.gmsversion]: [6.0_r2]
- [ro.com.widevine.cachesize]: [16777216]
- [ro.config.alarm_alert]: [Alarm_Classic.ogg]
- [ro.config.elder-ringtone]: [Angel.mp3]
- [ro.config.notification_sound]: [pixiedust.ogg]
- [ro.config.ringtone]: [Ring_Synth_04.ogg]
- [ro.config.sms_delivered_sound]: [MessageComplete.ogg]
- [ro.config.sms_received_sound]: [FadeIn.ogg]
- [ro.crypto.state]: [unencrypted]
- [ro.dalvik.vm.native.bridge]: [0]
- [ro.data.large_tcp_window_size]: [true]
- [ro.debuggable]: [0]
- [ro.expect.recovery_id]: [0x26f7e4aef2aff9f03d2160e365c67ce383c8e9e4000000000000000000000000]
- [ro.gps.agps_provider]: [1]
- [ro.hardware]: [qcom]
- [ro.hardware.sensors]: [leo]
- [ro.hdmi.enable]: [true]
- [ro.hwui.drop_shadow_cache_size]: [6]
- [ro.hwui.gradient_cache_size]: [1]
- [ro.hwui.layer_cache_size]: [48]
- [ro.hwui.path_cache_size]: [32]
- [ro.hwui.r_buffer_cache_size]: [8]
- [ro.hwui.text_large_cache_height]: [1024]
- [ro.hwui.text_large_cache_width]: [2048]
- [ro.hwui.text_small_cache_height]: [1024]
- [ro.hwui.text_small_cache_width]: [1024]
- [ro.hwui.texture_cache_flushrate]: [0.4]
- [ro.hwui.texture_cache_size]: [72]
- [ro.hwversion]: [54]
- [ro.miui.cust_variant]: [hk]
- [ro.miui.has_handy_mode_sf]: [1]
- [ro.miui.has_real_blur]: [1]
- [ro.miui.internal.storage]: [/data/media]
- [ro.miui.mcc]: [9454]
- [ro.miui.mnc]: [9999]
- [ro.miui.region]: [HK]
- [ro.miui.ui.version.code]: [5]
- [ro.miui.ui.version.name]: [V7]
- [ro.nfc.port]: [I2C]
- [ro.opengles.version]: [196608]
- [ro.product.board]: [MSM8974]
- [ro.product.brand]: [Xiaomi]
- [ro.product.cpu.abi]: [armeabi-v7a]
- [ro.product.cpu.abi2]: [armeabi]
- [ro.product.cpu.abilist]: [armeabi-v7a,armeabi]
- [ro.product.cpu.abilist32]: [armeabi-v7a,armeabi]
- [ro.product.cpu.abilist64]: []
- [ro.product.cuptsm]: [XIAOMI|ESE|02|01]
- [ro.product.device]: [virgo]
- [ro.product.locale]: [en-GB]
- [ro.product.locale.language]: [zh]
- [ro.product.locale.region]: [TW]
- [ro.product.manufacturer]: [Xiaomi]
- [ro.product.mod_device]: [virgo_global]
- [ro.product.model]: [MI NOTE LTE]
- [ro.product.name]: [virgo]
- [ro.qc.sdk.audio.fluencetype]: [fluence]
- [ro.qc.sdk.audio.ssr]: [false]
- [ro.qc.sdk.camera.facialproc]: [false]
- [ro.qc.sdk.gestures.camera]: [false]
- [ro.qc.sdk.sensors.gestures]: [true]
- [ro.qc.sdk.us.digitalpen]: [1]
- [ro.qcom.ad]: [1]
- [ro.qcom.ad.calib.data]: [/system/etc/calib.cfg]
- [ro.qcom.ad.sensortype]: [2]
- [ro.qualcomm.bluetooth.ftp]: [true]
- [ro.qualcomm.bluetooth.hfp]: [true]
- [ro.qualcomm.bluetooth.hsp]: [true]
- [ro.qualcomm.bluetooth.map]: [true]
- [ro.qualcomm.bluetooth.nap]: [true]
- [ro.qualcomm.bluetooth.opp]: [true]
- [ro.qualcomm.bluetooth.pbap]: [true]
- [ro.qualcomm.bt.hci_transport]: [smd]
- [ro.qualcomm.cabl]: [0]
- [ro.qualcomm.perf.cores_online]: [2]
- [ro.revision]: [0]
- [ro.ril.ftm_mode]: [0]
- [ro.ril.oem.imei]: [865982025679997]
- [ro.ril.oem.imei1]: [865982025679997]
- [ro.ril.oem.imei2]: [865982025679997]
- [ro.ril.svdo]: [false]
- [ro.ril.svlte1x]: [false]
- [ro.runtime.firstboot]: [1468490706821]
- [ro.secure]: [1]
- [ro.serialno]: [da91853a]
- [ro.setupwizard.mode]: [OPTIONAL]
- [ro.sf.lcd_density]: [480]
- [ro.sys.ft_whole_anim]: [true]
- [ro.sys.oem.sno]: [4X5330A21541]
- [ro.syspart]: [system]
- [ro.telephony.call_ring.multiple]: [false]
- [ro.telephony.default_cdma_sub]: [0]
- [ro.telephony.default_network]: [20]
- [ro.use_data_netmgrd]: [true]
- [ro.vendor.extension_library]: [libqti-perfd-client.so]
- [ro.wifi.channels]: []
- [ro.zygote]: [zygote32]
- [selinux.reload_policy]: [1]
- [service.bootanim.exit]: [1]
- [sukernel.mount]: [1]
- [supolicy.loaded]: [1]
- [sys.boot_completed]: [1]
- [sys.ims.QMI_DAEMON_STATUS]: [1]
- [sys.is_keyguard_showing]: [1]
- [sys.keyguard.bleunlock]: [true]
- [sys.keyguard.screen_off_by_lid]: [false]
- [sys.keymaster.loaded]: [true]
- [sys.listeners.registered]: [true]
- [sys.miui.user_authenticated]: [true]
- [sys.panel.color]: [WHITE]
- [sys.settings_global_version]: [149]
- [sys.settings_secure_version]: [141]
- [sys.settings_system_version]: [953]
- [sys.sysctl.extra_free_kbytes]: [24300]
- [sys.sysctl.tcp_def_init_rwnd]: [60]
- [sys.usb.config]: [mtp,adb]
- [sys.usb.configfs]: [0]
- [sys.usb.state]: [mtp,adb]
- [tunnel.audio.encode]: [false]
- [use.voice.path.for.pcm.voip]: [true]
- [vidc.debug.level]: [1]
- [vold.has_adoptable]: [0]
- [vold.post_fs_data_done]: [1]
- [wifi.interface]: [wlan0]
- [wlan.driver.ath]: [0]
- [wlan.driver.status]: [ok]
- shell@virgo:/ $
- shell@virgo:/ $ getprop
- [DEVICE_PROVISIONED]: [1]
- [audio.offload.buffer.size.kb]: [32]
- [audio.offload.disable]: [true]
- [audio.offload.gapless.enabled]: [false]
- [audio.offload.pcm.16bit.enable]: [true]
- [audio.offload.pcm.24bit.enable]: [true]
- [audio.offload.pcm.enable]: [true]
- [audio.offload.video]: [true]
- [bluetooth.hfp.client]: [1]
- [camera2.portability.force_api]: [1]
- [dalvik.vm.dex2oat-Xms]: [64m]
- [dalvik.vm.dex2oat-Xmx]: [512m]
- [dalvik.vm.heapgrowthlimit]: [128m]
- [dalvik.vm.heapmaxfree]: [32m]
- [dalvik.vm.heapminfree]: [8m]
- [dalvik.vm.heapsize]: [512m]
- [dalvik.vm.heapstartsize]: [8m]
- [dalvik.vm.heaptargetutilization]: [0.75]
- [dalvik.vm.image-dex2oat-Xms]: [64m]
- [dalvik.vm.image-dex2oat-Xmx]: [64m]
- [dalvik.vm.isa.arm.features]: [default]
- [dalvik.vm.isa.arm.variant]: [krait]
- [dalvik.vm.stack-trace-file]: [/data/anr/traces.txt]
- [debug.atrace.tags.enableflags]: [0]
- [debug.composition.type]: [c2d]
- [debug.egl.hw]: [1]
- [debug.force_rtl]: [0]
- [debug.mdpcomp.logs]: [0]
- [debug.sf.hw]: [1]
- [dev.bootcomplete]: [1]
- [dev.pm.dyn_samplingrate]: [1]
- [drm.service.enabled]: [true]
- [gsm.apn.sim.operator.numeric]: [46001,46001]
- [gsm.current.phone-type]: [1,1]
- [gsm.defaultpdpcontext.active]: [true]
- [gsm.network.type]: [LTE,Unknown]
- [gsm.nitz.time]: [1468922077038]
- [gsm.operator.alpha]: [Verizon]
- [gsm.operator.iso-country]: [us]
- [gsm.operator.isroaming]: [false,false]
- [gsm.operator.numeric]: [310004]
- [gsm.sim.operator.alpha]: [Verizon]
- [gsm.sim.operator.iso-country]: [us]
- [gsm.sim.operator.numeric]: [310004]
- [gsm.sim.state]: [READY,READY]
- [gsm.version.baseband]: [MPSS.DI.4.0-63d722f]
- [gsm.version.baseband1]: [MPSS.DI.4.0-63d722f]
- [gsm.version.ril-impl]: [Qualcomm RIL 1.0]
- [hw.ad.mode]: [1]
- [hw.cabl.version]: [2.0.20140905]
- [hw.cabl.yuv]: [0]
- [hw.pp.cfg]: [/data/misc/display/pp_data.cfg]
- [init.svc.adbd]: [stopping]
- [init.svc.adsprpcd]: [running]
- [init.svc.atfwd]: [stopped]
- [init.svc.audiod]: [running]
- [init.svc.bootanim]: [stopped]
- [init.svc.changepowermode]: [stopped]
- [init.svc.charger_monitor]: [running]
- [init.svc.checkpath]: [stopped]
- [init.svc.checksdkpath]: [stopped]
- [init.svc.cnd]: [running]
- [init.svc.config_bluetooth]: [stopped]
- [init.svc.daemonsu]: [stopped]
- [init.svc.debuggerd]: [running]
- [init.svc.displayfeature]: [running]
- [init.svc.dpmd]: [running]
- [init.svc.drm]: [running]
- [init.svc.fdpp]: [running]
- [init.svc.gatekeeperd]: [running]
- [init.svc.healthd]: [running]
- [init.svc.hvdcp]: [running]
- [init.svc.imsdatadaemon]: [running]
- [init.svc.imsqmidaemon]: [running]
- [init.svc.installd]: [running]
- [init.svc.irsc_util]: [stopped]
- [init.svc.keystore]: [running]
- [init.svc.lmkd]: [running]
- [init.svc.loc_launcher]: [running]
- [init.svc.logd]: [running]
- [init.svc.logd-reinit]: [stopped]
- [init.svc.mcd_init]: [stopped]
- [init.svc.mcd_service]: [running]
- [init.svc.media]: [running]
- [init.svc.modem_dump]: [running]
- [init.svc.mpdecision]: [running]
- [init.svc.mtpd]: [running]
- [init.svc.netd]: [running]
- [init.svc.netmgrd]: [running]
- [init.svc.p2p_supplicant]: [running]
- [init.svc.ppd]: [running]
- [init.svc.qcamerasvr]: [running]
- [init.svc.qcom-c_core-sh]: [stopped]
- [init.svc.qcom-c_main-sh]: [stopped]
- [init.svc.qcom-post-boot]: [stopped]
- [init.svc.qcom-sh]: [stopped]
- [init.svc.qcom-usb-sh]: [stopped]
- [init.svc.qcomsysd]: [running]
- [init.svc.qmuxd]: [running]
- [init.svc.qseecomd]: [running]
- [init.svc.qti-testscripts]: [stopped]
- [init.svc.racoon]: [stopped]
- [init.svc.rfs_access]: [running]
- [init.svc.ril-daemon]: [running]
- [init.svc.ril-daemon2]: [running]
- [init.svc.rmt_storage]: [running]
- [init.svc.servicemanager]: [running]
- [init.svc.setlockstate]: [stopped]
- [init.svc.shelld]: [running]
- [init.svc.ssr_setup]: [stopped]
- [init.svc.surfaceflinger]: [running]
- [init.svc.thermal-engine]: [running]
- [init.svc.thermal-perf]: [stopped]
- [init.svc.time_daemon]: [running]
- [init.svc.ueventd]: [running]
- [init.svc.usf-post-boot]: [stopped]
- [init.svc.vold]: [running]
- [init.svc.wcnss-service]: [running]
- [init.svc.zygote]: [running]
- [keyguard.no_require_sim]: [true]
- [media.aac_51_output_enabled]: [true]
- [media.stagefright.enable-aac]: [true]
- [media.stagefright.enable-fma2dp]: [true]
- [media.stagefright.enable-http]: [true]
- [media.stagefright.enable-player]: [true]
- [media.stagefright.enable-qcp]: [true]
- [media.stagefright.enable-scan]: [true]
- [mm.enable.qcom_parser]: [37491]
- [mm.enable.smoothstreaming]: [true]
- [mmp.enable.3g2]: [true]
- [net.bt.name]: [Android]
- [net.change]: [net.rmnet0.gw]
- [net.dns1]: [202.106.46.151]
- [net.dns2]: [202.106.0.20]
- [net.dns3]: [114.114.114.114]
- [net.hostname]: [MINOTELTE-SENRSL_XM]
- [net.qtaguid_enabled]: [1]
- [net.rmnet0.dns1]: []
- [net.rmnet0.dns2]: []
- [net.rmnet0.gw]: []
- [net.tcp.buffersize.default]: [4096,87380,110208,4096,16384,110208]
- [net.tcp.buffersize.edge]: [4093,26280,35040,4096,16384,35040]
- [net.tcp.buffersize.evdo]: [4094,87380,262144,4096,16384,262144]
- [net.tcp.buffersize.gprs]: [4092,8760,11680,4096,8760,11680]
- [net.tcp.buffersize.hsdpa]: [4094,87380,1220608,4096,16384,1220608]
- [net.tcp.buffersize.hspa]: [4094,87380,1220608,4096,16384,1220608]
- [net.tcp.buffersize.hspap]: [4094,87380,1220608,4096,16384,1220608]
- [net.tcp.buffersize.hsupa]: [4094,87380,1220608,4096,16384,1220608]
- [net.tcp.buffersize.lte]: [524288,1048576,2097152,262144,524288,1048576]
- [net.tcp.buffersize.umts]: [4094,87380,110208,4096,16384,110208]
- [net.tcp.buffersize.wifi]: [524288,2097152,4194304,262144,524288,1048576]
- [net.tcp.default_init_rwnd]: [60]
- [net.tcp.delack.default]: [1]
- [net.tcp.delack.lte]: [8]
- [net.tcp.delack.wifi]: [20]
- [net.tcp.usercfg.default]: [0]
- [net.tcp.usercfg.lte]: [1]
- [net.tcp.usercfg.wifi]: [1]
- [persist.audio.fluence.speaker]: [true]
- [persist.audio.fluence.voicecall]: [true]
- [persist.audio.fluence.voicerec]: [false]
- [persist.audio.hifi]: [false]
- [persist.audio.hifi.volume]: [0]
- [persist.cne.feature]: [0]
- [persist.data.netmgrd.qos.enable]: [true]
- [persist.data.tcp_rst_drop]: [true]
- [persist.debug.wfd.enable]: [1]
- [persist.demo.hdmirotationlock]: [false]
- [persist.env.fastdorm.enabled]: [true]
- [persist.fd.scroff.timer]: [3000]
- [persist.fd.scron.timer]: [10000]
- [persist.fuse_sdcard]: [true]
- [persist.gps.qc_nlp_in_use]: [1]
- [persist.hwc.mdpcomp.enable]: [true]
- [persist.loc.nlp_name]: [com.qualcomm.location]
- [persist.logd.size]: []
- [persist.logd.size.radio]: [4M]
- [persist.miui.density_v2]: [440]
- [persist.omh.enabled]: [true]
- [persist.power.useautobrightadj]: [true]
- [persist.radio.adb_log_on]: [0]
- [persist.radio.apm_sim_not_pwdn]: [0]
- [persist.radio.custom_ecc]: [1]
- [persist.radio.data_no_toggle]: [1]
- [persist.radio.default.data]: [0]
- [persist.radio.default.voice]: [1]
- [persist.radio.eons.enabled]: [false]
- [persist.radio.force_on_dc]: [true]
- [persist.radio.iccid]: [89860115817082754524,89860115811011188029]
- [persist.radio.ignore_dom_time]: [5]
- [persist.radio.imei]: [865982025679997]
- [persist.radio.imei1]: [865982025679997]
- [persist.radio.imei2]: [865982025679997]
- [persist.radio.modem]: [LTE-X5]
- [persist.radio.msim.stackid_0]: [0]
- [persist.radio.msim.stackid_1]: [1]
- [persist.radio.multisim.config]: [dsds]
- [persist.radio.ramdump_sdcard]: [1]
- [persist.radio.rat_on]: [combine]
- [persist.radio.ril_payload_on]: [0]
- [persist.radio.sglte_target]: [0]
- [persist.radio.stack_id_0]: [0]
- [persist.radio.stack_id_1]: [1]
- [persist.rild.nitz_long_ons_0]: []
- [persist.rild.nitz_long_ons_1]: []
- [persist.rild.nitz_long_ons_2]: []
- [persist.rild.nitz_long_ons_3]: []
- [persist.rild.nitz_plmn]: []
- [persist.rild.nitz_short_ons_0]: []
- [persist.rild.nitz_short_ons_1]: []
- [persist.rild.nitz_short_ons_2]: []
- [persist.rild.nitz_short_ons_3]: []
- [persist.speaker.prot.enable]: [true]
- [persist.sys.aries.power_profile]: [middle]
- [persist.sys.button_headset_hook]: [media]
- [persist.sys.button_jack_profile]: [volume]
- [persist.sys.button_jack_switch]: [0]
- [persist.sys.country]: []
- [persist.sys.dalvik.vm.lib.2]: [libart.so]
- [persist.sys.device_name]: [SENRSL_XM]
- [persist.sys.display_cabc]: [1]
- [persist.sys.display_ce]: [10]
- [persist.sys.display_eyecare]: [0]
- [persist.sys.dpmd.nsrm]: [2]
- [persist.sys.dpmd.tcm]: [2]
- [persist.sys.klo]: [on]
- [persist.sys.klo.rec_start]: [1469096042]
- [persist.sys.language]: []
- [persist.sys.locale]: [zh-CN]
- [persist.sys.localevar]: []
- [persist.sys.ltm_enable]: [true]
- [persist.sys.mcd_config_file]: [/system/etc/mcd_default.conf]
- [persist.sys.memctrl]: [supported]
- [persist.sys.mitalk.enable]: [true]
- [persist.sys.profiler_ms]: [0]
- [persist.sys.released]: [true]
- [persist.sys.sc_allow_conn]: [true]
- [persist.sys.screenshot_mode]: [1]
- [persist.sys.silent]: [0]
- [persist.sys.smartcover_enabled]: [false]
- [persist.sys.smartcover_mode]: [1]
- [persist.sys.ssr.restart_level]: [ALL_ENABLE]
- [persist.sys.strict_op_enable]: [false]
- [persist.sys.strictmode.disable]: [true]
- [persist.sys.timezone]: [Asia/Shanghai]
- [persist.sys.usb.config]: [mtp,adb]
- [persist.sys.usb.config.extra]: [none]
- [persist.sys.webview.vmsize]: [104857600]
- [persist.sys.wfd.virtual]: [0]
- [persist.sys.whitelist]: [/system/etc/whitelist_appops.xml]
- [persist.timed.enable]: [true]
- [persist.usb.hvdcp.detect]: [true]
- [qc.izat.gtp.wifi.low_power]: [DISABLED]
- [qcom.hw.aac.encoder]: [false]
- [radio.atfwd.start]: [false]
- [ril.ecclist]: [*911,#911,911,112,110,119,120,122,999]
- [ril.ecclist1]: [*911,#911,911,112,110,119,120,122,999]
- [ril.limit_service_mnc]: [GSM_460]
- [ril.qcril_pre_init_lock_held]: [0]
- [ril.subscription.types]: [RUIM]
- [rild.libargs]: [-d /dev/smd0]
- [rild.libpath]: [/vendor/lib/libril-qc-qmi-1.so]
- [ro.adb.secure]: [1]
- [ro.allow.mock.location]: [0]
- [ro.audio.hifi]: [true]
- [ro.baseband]: [msm]
- [ro.bluetooth.dun]: [true]
- [ro.bluetooth.hfp.ver]: [1.7]
- [ro.bluetooth.sap]: [true]
- [ro.board.platform]: [msm8974]
- [ro.boot.baseband]: [msm]
- [ro.boot.bootdevice]: [msm_sdcc.1]
- [ro.boot.emmc]: [true]
- [ro.boot.hardware]: [qcom]
- [ro.boot.hwversion]: [54]
- [ro.boot.serialno]: [da91853a]
- [ro.bootimage.build.date]: [Thu Mar 17 00:57:35 CST 2016]
- [ro.bootimage.build.date.utc]: [1458147455]
- [ro.bootimage.build.fingerprint]: [Xiaomi/virgo/virgo:6.0.1/MMB29M/6.3.17:user/test-keys]
- [ro.bootloader]: [unknown]
- [ro.bootmode]: [unknown]
- [ro.btconfig.chip]: [WCN3680]
- [ro.btconfig.dev]: [/dev/smd3]
- [ro.btconfig.if]: [smd]
- [ro.btconfig.vendor]: [qcom]
- [ro.build.characteristics]: [nosdcard]
- [ro.build.date]: [Thu Mar 17 00:56:07 CST 2016]
- [ro.build.date.utc]: [1458147367]
- [ro.build.description]: [virgo-user 6.0.1 MMB29M 6.3.17 release-keys]
- [ro.build.display.id]: [MMB29M]
- [ro.build.fingerprint]: [Xiaomi/virgo/virgo:6.0.1/MMB29M/6.3.17:user/release-keys]
- [ro.build.flavor]: [virgo-user]
- [ro.build.host]: [qh-miui-ota-bd62]
- [ro.build.id]: [MMB29M]
- [ro.build.product]: [virgo]
- [ro.build.tags]: [release-keys]
- [ro.build.type]: [user]
- [ro.build.user]: [builder]
- [ro.build.version.all_codenames]: [REL]
- [ro.build.version.base_os]: []
- [ro.build.version.codename]: [REL]
- [ro.build.version.incremental]: [6.3.17]
- [ro.build.version.preview_sdk]: [0]
- [ro.build.version.release]: [6.0.1]
- [ro.build.version.sdk]: [23]
- [ro.build.version.security_patch]: [2016-03-01]
- [ro.carrier]: [unknown]
- [ro.com.android.dataroaming]: [false]
- [ro.com.android.mobiledata]: [false]
- [ro.com.google.clientidbase]: [android-xiaomi]
- [ro.com.google.gmsversion]: [6.0_r2]
- [ro.com.widevine.cachesize]: [16777216]
- [ro.config.alarm_alert]: [Alarm_Classic.ogg]
- [ro.config.elder-ringtone]: [Angel.mp3]
- [ro.config.notification_sound]: [pixiedust.ogg]
- [ro.config.ringtone]: [Ring_Synth_04.ogg]
- [ro.config.sms_delivered_sound]: [MessageComplete.ogg]
- [ro.config.sms_received_sound]: [FadeIn.ogg]
- [ro.crypto.state]: [unencrypted]
- [ro.dalvik.vm.native.bridge]: [0]
- [ro.data.large_tcp_window_size]: [true]
- [ro.debuggable]: [0]
- [ro.expect.recovery_id]: [0x26f7e4aef2aff9f03d2160e365c67ce383c8e9e4000000000000000000000000]
- [ro.gps.agps_provider]: [1]
- [ro.hardware]: [qcom]
- [ro.hardware.sensors]: [leo]
- [ro.hdmi.enable]: [true]
- [ro.hwui.drop_shadow_cache_size]: [6]
- [ro.hwui.gradient_cache_size]: [1]
- [ro.hwui.layer_cache_size]: [48]
- [ro.hwui.path_cache_size]: [32]
- [ro.hwui.r_buffer_cache_size]: [8]
- [ro.hwui.text_large_cache_height]: [1024]
- [ro.hwui.text_large_cache_width]: [2048]
- [ro.hwui.text_small_cache_height]: [1024]
- [ro.hwui.text_small_cache_width]: [1024]
- [ro.hwui.texture_cache_flushrate]: [0.4]
- [ro.hwui.texture_cache_size]: [72]
- [ro.hwversion]: [54]
- [ro.miui.cust_variant]: [hk]
- [ro.miui.has_handy_mode_sf]: [1]
- [ro.miui.has_real_blur]: [1]
- [ro.miui.internal.storage]: [/data/media]
- [ro.miui.mcc]: [9454]
- [ro.miui.mnc]: [9999]
- [ro.miui.region]: [HK]
- [ro.miui.ui.version.code]: [5]
- [ro.miui.ui.version.name]: [V7]
- [ro.nfc.port]: [I2C]
- [ro.opengles.version]: [196608]
- [ro.product.board]: [MSM8974]
- [ro.product.brand]: [Xiaomi]
- [ro.product.cpu.abi]: [armeabi-v7a]
- [ro.product.cpu.abi2]: [armeabi]
- [ro.product.cpu.abilist]: [armeabi-v7a,armeabi]
- [ro.product.cpu.abilist32]: [armeabi-v7a,armeabi]
- [ro.product.cpu.abilist64]: []
- [ro.product.cuptsm]: [XIAOMI|ESE|02|01]
- [ro.product.device]: [virgo]
- [ro.product.locale]: [en-GB]
- [ro.product.locale.language]: [zh]
- [ro.product.locale.region]: [TW]
- [ro.product.manufacturer]: [Xiaomi]
- [ro.product.mod_device]: [virgo_global]
- [ro.product.model]: [MI NOTE LTE]
- [ro.product.name]: [virgo]
- [ro.qc.sdk.audio.fluencetype]: [fluence]
- [ro.qc.sdk.audio.ssr]: [false]
- [ro.qc.sdk.camera.facialproc]: [false]
- [ro.qc.sdk.gestures.camera]: [false]
- [ro.qc.sdk.sensors.gestures]: [true]
- [ro.qc.sdk.us.digitalpen]: [1]
- [ro.qcom.ad]: [1]
- [ro.qcom.ad.calib.data]: [/system/etc/calib.cfg]
- [ro.qcom.ad.sensortype]: [2]
- [ro.qualcomm.bluetooth.ftp]: [true]
- [ro.qualcomm.bluetooth.hfp]: [true]
- [ro.qualcomm.bluetooth.hsp]: [true]
- [ro.qualcomm.bluetooth.map]: [true]
- [ro.qualcomm.bluetooth.nap]: [true]
- [ro.qualcomm.bluetooth.opp]: [true]
- [ro.qualcomm.bluetooth.pbap]: [true]
- [ro.qualcomm.bt.hci_transport]: [smd]
- [ro.qualcomm.cabl]: [0]
- [ro.qualcomm.perf.cores_online]: [2]
- [ro.revision]: [0]
- [ro.ril.ftm_mode]: [0]
- [ro.ril.oem.imei]: [865982025679997]
- [ro.ril.oem.imei1]: [865982025679997]
- [ro.ril.oem.imei2]: [865982025679997]
- [ro.ril.svdo]: [false]
- [ro.ril.svlte1x]: [false]
- [ro.runtime.firstboot]: [1468490706821]
- [ro.secure]: [1]
- [ro.serialno]: [da91853a]
- [ro.setupwizard.mode]: [OPTIONAL]
- [ro.sf.lcd_density]: [480]
- [ro.sys.ft_whole_anim]: [true]
- [ro.sys.oem.sno]: [4X5330A21541]
- [ro.syspart]: [system]
- [ro.telephony.call_ring.multiple]: [false]
- [ro.telephony.default_cdma_sub]: [0]
- [ro.telephony.default_network]: [20]
- [ro.use_data_netmgrd]: [true]
- [ro.vendor.extension_library]: [libqti-perfd-client.so]
- [ro.wifi.channels]: []
- [ro.zygote]: [zygote32]
- [selinux.reload_policy]: [1]
- [service.bootanim.exit]: [1]
- [sukernel.mount]: [1]
- [supolicy.loaded]: [1]
- [sys.boot_completed]: [1]
- [sys.ims.QMI_DAEMON_STATUS]: [1]
- [sys.is_keyguard_showing]: [0]
- [sys.keyguard.bleunlock]: [true]
- [sys.keyguard.screen_off_by_lid]: [false]
- [sys.keymaster.loaded]: [true]
- [sys.listeners.registered]: [true]
- [sys.miui.user_authenticated]: [true]
- [sys.panel.color]: [WHITE]
- [sys.settings_global_version]: [149]
- [sys.settings_secure_version]: [141]
- [sys.settings_system_version]: [953]
- [sys.sysctl.extra_free_kbytes]: [24300]
- [sys.sysctl.tcp_def_init_rwnd]: [60]
- [sys.usb.config]: [mtp,adb]
- [sys.usb.configfs]: [0]
- [sys.usb.state]: [mtp,adb]
- [tunnel.audio.encode]: [false]
- [use.voice.path.for.pcm.voip]: [true]
- [vidc.debug.level]: [1]
- [vold.has_adoptable]: [0]
- [vold.post_fs_data_done]: [1]
- [wifi.interface]: [wlan0]
- [wlan.driver.ath]: [0]
- [wlan.driver.status]: [ok]
- shell@virgo:/ $
版本4:
看起来变化不小呢
- shell@virgo:/ $ getprop
- [DEVICE_PROVISIONED]: [1]
- [audio.offload.buffer.size.kb]: [32]
- [audio.offload.disable]: [true]
- [audio.offload.gapless.enabled]: [false]
- [audio.offload.pcm.16bit.enable]: [true]
- [audio.offload.pcm.24bit.enable]: [true]
- [audio.offload.pcm.enable]: [true]
- [audio.offload.video]: [true]
- [bluetooth.hfp.client]: [1]
- [camera2.portability.force_api]: [1]
- [dalvik.vm.dex2oat-Xms]: [64m]
- [dalvik.vm.dex2oat-Xmx]: [512m]
- [dalvik.vm.heapgrowthlimit]: [128m]
- [dalvik.vm.heapmaxfree]: [32m]
- [dalvik.vm.heapminfree]: [8m]
- [dalvik.vm.heapsize]: [512m]
- [dalvik.vm.heapstartsize]: [8m]
- [dalvik.vm.heaptargetutilization]: [0.75]
- [dalvik.vm.image-dex2oat-Xms]: [64m]
- [dalvik.vm.image-dex2oat-Xmx]: [64m]
- [dalvik.vm.isa.arm.features]: [default]
- [dalvik.vm.isa.arm.variant]: [krait]
- [dalvik.vm.stack-trace-file]: [/data/anr/traces.txt]
- [debug.atrace.tags.enableflags]: [0]
- [debug.composition.type]: [c2d]
- [debug.egl.hw]: [1]
- [debug.force_rtl]: [0]
- [debug.mdpcomp.logs]: [0]
- [debug.sf.hw]: [1]
- [dev.bootcomplete]: [1]
- [dev.pm.dyn_samplingrate]: [1]
- [drm.service.enabled]: [true]
- [gsm.apn.sim.operator.numeric]: [46001]
- [gsm.current.phone-type]: [1,1]
- [gsm.network.type]: [LTE,Unknown]
- [gsm.operator.alpha]: [CHN-UNICOM,CHN-UNICOM]
- [gsm.operator.iso-country]: [cn,cn]
- [gsm.operator.isroaming]: [false,false]
- [gsm.operator.numeric]: [46001,46001]
- [gsm.sim.operator.alpha]: [,]
- [gsm.sim.operator.iso-country]: [cn,cn]
- [gsm.sim.operator.numeric]: [46001,46001]
- [gsm.sim.state]: [READY,READY]
- [gsm.version.baseband]: [MPSS.DI.4.0-63d722f]
- [gsm.version.baseband1]: [MPSS.DI.4.0-63d722f]
- [gsm.version.ril-impl]: [Qualcomm RIL 1.0]
- [hw.ad.mode]: [1]
- [hw.cabl.version]: [2.0.20140905]
- [hw.cabl.yuv]: [0]
- [hw.pp.cfg]: [/data/misc/display/pp_data.cfg]
- [init.svc.adbd]: [running]
- [init.svc.adsprpcd]: [running]
- [init.svc.atfwd]: [running]
- [init.svc.audiod]: [running]
- [init.svc.bootanim]: [stopped]
- [init.svc.changepowermode]: [stopped]
- [init.svc.charger_monitor]: [running]
- [init.svc.checkpath]: [stopped]
- [init.svc.checksdkpath]: [stopped]
- [init.svc.cnd]: [running]
- [init.svc.config_bluetooth]: [stopped]
- [init.svc.daemonsu]: [stopped]
- [init.svc.debuggerd]: [running]
- [init.svc.displayfeature]: [running]
- [init.svc.dpmd]: [running]
- [init.svc.drm]: [running]
- [init.svc.fdpp]: [running]
- [init.svc.gatekeeperd]: [running]
- [init.svc.healthd]: [running]
- [init.svc.hvdcp]: [running]
- [init.svc.imsdatadaemon]: [running]
- [init.svc.imsqmidaemon]: [running]
- [init.svc.installd]: [running]
- [init.svc.irsc_util]: [stopped]
- [init.svc.keystore]: [running]
- [init.svc.lmkd]: [running]
- [init.svc.loc_launcher]: [running]
- [init.svc.logd]: [running]
- [init.svc.logd-reinit]: [stopped]
- [init.svc.mcd_init]: [stopped]
- [init.svc.mcd_service]: [running]
- [init.svc.media]: [running]
- [init.svc.modem_dump]: [running]
- [init.svc.mpdecision]: [running]
- [init.svc.netd]: [running]
- [init.svc.netmgrd]: [running]
- [init.svc.p2p_supplicant]: [running]
- [init.svc.ppd]: [running]
- [init.svc.qcamerasvr]: [running]
- [init.svc.qcom-c_core-sh]: [stopped]
- [init.svc.qcom-c_main-sh]: [stopped]
- [init.svc.qcom-post-boot]: [stopped]
- [init.svc.qcom-sh]: [stopped]
- [init.svc.qcom-usb-sh]: [stopped]
- [init.svc.qcomsysd]: [running]
- [init.svc.qmuxd]: [running]
- [init.svc.qseecomd]: [running]
- [init.svc.qti-testscripts]: [stopped]
- [init.svc.rfs_access]: [running]
- [init.svc.ril-daemon]: [running]
- [init.svc.ril-daemon2]: [running]
- [init.svc.rmt_storage]: [running]
- [init.svc.servicemanager]: [running]
- [init.svc.setlockstate]: [stopped]
- [init.svc.shelld]: [running]
- [init.svc.ssr_setup]: [stopped]
- [init.svc.surfaceflinger]: [running]
- [init.svc.thermal-engine]: [running]
- [init.svc.thermal-perf]: [stopped]
- [init.svc.time_daemon]: [running]
- [init.svc.ueventd]: [running]
- [init.svc.usf-post-boot]: [stopped]
- [init.svc.vold]: [running]
- [init.svc.wcnss-service]: [running]
- [init.svc.zygote]: [running]
- [keyguard.no_require_sim]: [true]
- [media.aac_51_output_enabled]: [true]
- [media.stagefright.enable-aac]: [true]
- [media.stagefright.enable-fma2dp]: [true]
- [media.stagefright.enable-http]: [true]
- [media.stagefright.enable-player]: [true]
- [media.stagefright.enable-qcp]: [true]
- [media.stagefright.enable-scan]: [true]
- [mm.enable.qcom_parser]: [37491]
- [mm.enable.smoothstreaming]: [true]
- [mmp.enable.3g2]: [true]
- [net.bt.name]: [Android]
- [net.change]: [net.dns3]
- [net.dns1]: [202.106.46.151]
- [net.dns2]: [202.106.0.20]
- [net.dns3]: [114.114.114.114]
- [net.hostname]: [MINOTELTE-SENRSL_XM]
- [net.qtaguid_enabled]: [1]
- [net.tcp.buffersize.default]: [4096,87380,110208,4096,16384,110208]
- [net.tcp.buffersize.edge]: [4093,26280,35040,4096,16384,35040]
- [net.tcp.buffersize.evdo]: [4094,87380,262144,4096,16384,262144]
- [net.tcp.buffersize.gprs]: [4092,8760,11680,4096,8760,11680]
- [net.tcp.buffersize.hsdpa]: [4094,87380,1220608,4096,16384,1220608]
- [net.tcp.buffersize.hspa]: [4094,87380,1220608,4096,16384,1220608]
- [net.tcp.buffersize.hspap]: [4094,87380,1220608,4096,16384,1220608]
- [net.tcp.buffersize.hsupa]: [4094,87380,1220608,4096,16384,1220608]
- [net.tcp.buffersize.lte]: [524288,1048576,2097152,262144,524288,1048576]
- [net.tcp.buffersize.umts]: [4094,87380,110208,4096,16384,110208]
- [net.tcp.buffersize.wifi]: [524288,2097152,4194304,262144,524288,1048576]
- [net.tcp.default_init_rwnd]: [60]
- [net.tcp.delack.default]: [1]
- [net.tcp.delack.lte]: [8]
- [net.tcp.delack.wifi]: [20]
- [net.tcp.usercfg.default]: [0]
- [net.tcp.usercfg.lte]: [1]
- [net.tcp.usercfg.wifi]: [1]
- [persist.audio.fluence.speaker]: [true]
- [persist.audio.fluence.voicecall]: [true]
- [persist.audio.fluence.voicerec]: [false]
- [persist.audio.hifi]: [false]
- [persist.audio.hifi.volume]: [0]
- [persist.cne.feature]: [0]
- [persist.data.netmgrd.qos.enable]: [true]
- [persist.data.tcp_rst_drop]: [true]
- [persist.debug.wfd.enable]: [1]
- [persist.demo.hdmirotationlock]: [false]
- [persist.env.fastdorm.enabled]: [true]
- [persist.fd.scroff.timer]: [3000]
- [persist.fd.scron.timer]: [10000]
- [persist.fuse_sdcard]: [true]
- [persist.gps.qc_nlp_in_use]: [1]
- [persist.hwc.mdpcomp.enable]: [true]
- [persist.loc.nlp_name]: [com.qualcomm.location]
- [persist.logd.size]: []
- [persist.logd.size.radio]: [4M]
- [persist.miui.density_v2]: [440]
- [persist.omh.enabled]: [true]
- [persist.power.useautobrightadj]: [true]
- [persist.radio.adb_log_on]: [0]
- [persist.radio.apm_sim_not_pwdn]: [0]
- [persist.radio.custom_ecc]: [1]
- [persist.radio.data_no_toggle]: [1]
- [persist.radio.default.data]: [0]
- [persist.radio.default.voice]: [1]
- [persist.radio.eons.enabled]: [false]
- [persist.radio.force_on_dc]: [true]
- [persist.radio.iccid]: [89860115817082754524,89860115811011188029]
- [persist.radio.ignore_dom_time]: [5]
- [persist.radio.imei]: [865982025679997]
- [persist.radio.imei1]: [865982025679997]
- [persist.radio.imei2]: [865982025679997]
- [persist.radio.modem]: [LTE-X5]
- [persist.radio.msim.stackid_0]: [0]
- [persist.radio.msim.stackid_1]: [1]
- [persist.radio.multisim.config]: [dsds]
- [persist.radio.ramdump_sdcard]: [1]
- [persist.radio.rat_on]: [combine]
- [persist.radio.ril_payload_on]: [0]
- [persist.radio.sglte_target]: [0]
- [persist.radio.stack_id_0]: [0]
- [persist.radio.stack_id_1]: [1]
- [persist.rild.nitz_long_ons_0]: []
- [persist.rild.nitz_long_ons_1]: []
- [persist.rild.nitz_long_ons_2]: []
- [persist.rild.nitz_long_ons_3]: []
- [persist.rild.nitz_plmn]: []
- [persist.rild.nitz_short_ons_0]: []
- [persist.rild.nitz_short_ons_1]: []
- [persist.rild.nitz_short_ons_2]: []
- [persist.rild.nitz_short_ons_3]: []
- [persist.speaker.prot.enable]: [true]
- [persist.sys.aries.power_profile]: [middle]
- [persist.sys.button_headset_hook]: [media]
- [persist.sys.button_jack_profile]: [volume]
- [persist.sys.button_jack_switch]: [0]
- [persist.sys.country]: []
- [persist.sys.dalvik.vm.lib.2]: [libart.so]
- [persist.sys.device_name]: [SENRSL_XM]
- [persist.sys.display_cabc]: [1]
- [persist.sys.display_ce]: [10]
- [persist.sys.display_eyecare]: [0]
- [persist.sys.dpmd.nsrm]: [2]
- [persist.sys.dpmd.tcm]: [2]
- [persist.sys.klo]: [on]
- [persist.sys.klo.rec_start]: [1469178734]
- [persist.sys.language]: []
- [persist.sys.locale]: [zh-CN]
- [persist.sys.localevar]: []
- [persist.sys.ltm_enable]: [true]
- [persist.sys.mcd_config_file]: [/system/etc/mcd_default.conf]
- [persist.sys.memctrl]: [supported]
- [persist.sys.mitalk.enable]: [true]
- [persist.sys.profiler_ms]: [0]
- [persist.sys.released]: [true]
- [persist.sys.sc_allow_conn]: [true]
- [persist.sys.screenshot_mode]: [1]
- [persist.sys.silent]: [0]
- [persist.sys.smartcover_enabled]: [false]
- [persist.sys.smartcover_mode]: [1]
- [persist.sys.ssr.restart_level]: [ALL_ENABLE]
- [persist.sys.strict_op_enable]: [false]
- [persist.sys.strictmode.disable]: [true]
- [persist.sys.timezone]: [Asia/Shanghai]
- [persist.sys.usb.config]: [mtp,adb]
- [persist.sys.usb.config.extra]: [none]
- [persist.sys.webview.vmsize]: [104857600]
- [persist.sys.wfd.virtual]: [0]
- [persist.sys.whitelist]: [/system/etc/whitelist_appops.xml]
- [persist.timed.enable]: [true]
- [persist.usb.hvdcp.detect]: [true]
- [qc.izat.gtp.wifi.low_power]: [DISABLED]
- [qcom.hw.aac.encoder]: [false]
- [ril.ecclist]: [*911,#911,911,112,110,119,120,122,999]
- [ril.ecclist1]: [*911,#911,911,112,110,119,120,122,999]
- [ril.limit_service_mnc]: [GSM_460]
- [ril.qcril_pre_init_lock_held]: [0]
- [ril.subscription.types]: [RUIM]
- [rild.libargs]: [-d /dev/smd0]
- [rild.libpath]: [/vendor/lib/libril-qc-qmi-1.so]
- [ro.adb.secure]: [1]
- [ro.allow.mock.location]: [0]
- [ro.audio.hifi]: [true]
- [ro.baseband]: [msm]
- [ro.bluetooth.dun]: [true]
- [ro.bluetooth.hfp.ver]: [1.7]
- [ro.bluetooth.sap]: [true]
- [ro.board.platform]: [msm8974]
- [ro.boot.baseband]: [msm]
- [ro.boot.bootdevice]: [msm_sdcc.1]
- [ro.boot.emmc]: [true]
- [ro.boot.hardware]: [qcom]
- [ro.boot.hwversion]: [54]
- [ro.boot.serialno]: [da91853a]
- [ro.bootimage.build.date]: [Thu Mar 17 00:57:35 CST 2016]
- [ro.bootimage.build.date.utc]: [1458147455]
- [ro.bootimage.build.fingerprint]: [Xiaomi/virgo/virgo:6.0.1/MMB29M/6.3.17:user/test-keys]
- [ro.bootloader]: [unknown]
- [ro.bootmode]: [unknown]
- [ro.btconfig.chip]: [WCN3680]
- [ro.btconfig.dev]: [/dev/smd3]
- [ro.btconfig.if]: [smd]
- [ro.btconfig.vendor]: [qcom]
- [ro.build.characteristics]: [nosdcard]
- [ro.build.date]: [Thu Mar 17 00:56:07 CST 2016]
- [ro.build.date.utc]: [1458147367]
- [ro.build.description]: [virgo-user 6.0.1 MMB29M 6.3.17 release-keys]
- [ro.build.display.id]: [MMB29M]
- [ro.build.fingerprint]: [Xiaomi/virgo/virgo:6.0.1/MMB29M/6.3.17:user/release-keys]
- [ro.build.flavor]: [virgo-user]
- [ro.build.host]: [qh-miui-ota-bd62]
- [ro.build.id]: [MMB29M]
- [ro.build.product]: [virgo]
- [ro.build.tags]: [release-keys]
- [ro.build.type]: [user]
- [ro.build.user]: [builder]
- [ro.build.version.all_codenames]: [REL]
- [ro.build.version.base_os]: []
- [ro.build.version.codename]: [REL]
- [ro.build.version.incremental]: [6.3.17]
- [ro.build.version.preview_sdk]: [0]
- [ro.build.version.release]: [6.0.1]
- [ro.build.version.sdk]: [23]
- [ro.build.version.security_patch]: [2016-03-01]
- [ro.carrier]: [unknown]
- [ro.com.android.dataroaming]: [false]
- [ro.com.android.mobiledata]: [false]
- [ro.com.google.clientidbase]: [android-xiaomi]
- [ro.com.google.gmsversion]: [6.0_r2]
- [ro.com.widevine.cachesize]: [16777216]
- [ro.config.alarm_alert]: [Alarm_Classic.ogg]
- [ro.config.elder-ringtone]: [Angel.mp3]
- [ro.config.notification_sound]: [pixiedust.ogg]
- [ro.config.ringtone]: [Ring_Synth_04.ogg]
- [ro.config.sms_delivered_sound]: [MessageComplete.ogg]
- [ro.config.sms_received_sound]: [FadeIn.ogg]
- [ro.crypto.state]: [unencrypted]
- [ro.dalvik.vm.native.bridge]: [0]
- [ro.data.large_tcp_window_size]: [true]
- [ro.debuggable]: [0]
- [ro.expect.recovery_id]: [0x26f7e4aef2aff9f03d2160e365c67ce383c8e9e4000000000000000000000000]
- [ro.gps.agps_provider]: [1]
- [ro.hardware]: [qcom]
- [ro.hardware.sensors]: [leo]
- [ro.hdmi.enable]: [true]
- [ro.hwui.drop_shadow_cache_size]: [6]
- [ro.hwui.gradient_cache_size]: [1]
- [ro.hwui.layer_cache_size]: [48]
- [ro.hwui.path_cache_size]: [32]
- [ro.hwui.r_buffer_cache_size]: [8]
- [ro.hwui.text_large_cache_height]: [1024]
- [ro.hwui.text_large_cache_width]: [2048]
- [ro.hwui.text_small_cache_height]: [1024]
- [ro.hwui.text_small_cache_width]: [1024]
- [ro.hwui.texture_cache_flushrate]: [0.4]
- [ro.hwui.texture_cache_size]: [72]
- [ro.hwversion]: [54]
- [ro.miui.cust_variant]: [hk]
- [ro.miui.has_handy_mode_sf]: [1]
- [ro.miui.has_real_blur]: [1]
- [ro.miui.internal.storage]: [/data/media]
- [ro.miui.mcc]: [9454]
- [ro.miui.mnc]: [9999]
- [ro.miui.region]: [HK]
- [ro.miui.ui.version.code]: [5]
- [ro.miui.ui.version.name]: [V7]
- [ro.nfc.port]: [I2C]
- [ro.opengles.version]: [196608]
- [ro.product.board]: [MSM8974]
- [ro.product.brand]: [Xiaomi]
- [ro.product.cpu.abi]: [armeabi-v7a]
- [ro.product.cpu.abi2]: [armeabi]
- [ro.product.cpu.abilist]: [armeabi-v7a,armeabi]
- [ro.product.cpu.abilist32]: [armeabi-v7a,armeabi]
- [ro.product.cpu.abilist64]: []
- [ro.product.cuptsm]: [XIAOMI|ESE|02|01]
- [ro.product.device]: [virgo]
- [ro.product.locale]: [en-GB]
- [ro.product.locale.language]: [zh]
- [ro.product.locale.region]: [TW]
- [ro.product.manufacturer]: [Xiaomi]
- [ro.product.mod_device]: [virgo_global]
- [ro.product.model]: [MI NOTE LTE]
- [ro.product.name]: [virgo]
- [ro.qc.sdk.audio.fluencetype]: [fluence]
- [ro.qc.sdk.audio.ssr]: [false]
- [ro.qc.sdk.camera.facialproc]: [false]
- [ro.qc.sdk.gestures.camera]: [false]
- [ro.qc.sdk.sensors.gestures]: [true]
- [ro.qc.sdk.us.digitalpen]: [1]
- [ro.qcom.ad]: [1]
- [ro.qcom.ad.calib.data]: [/system/etc/calib.cfg]
- [ro.qcom.ad.sensortype]: [2]
- [ro.qualcomm.bluetooth.ftp]: [true]
- [ro.qualcomm.bluetooth.hfp]: [true]
- [ro.qualcomm.bluetooth.hsp]: [true]
- [ro.qualcomm.bluetooth.map]: [true]
- [ro.qualcomm.bluetooth.nap]: [true]
- [ro.qualcomm.bluetooth.opp]: [true]
- [ro.qualcomm.bluetooth.pbap]: [true]
- [ro.qualcomm.bt.hci_transport]: [smd]
- [ro.qualcomm.cabl]: [0]
- [ro.qualcomm.perf.cores_online]: [2]
- [ro.revision]: [0]
- [ro.ril.ftm_mode]: [0]
- [ro.ril.oem.imei]: [865982025679997]
- [ro.ril.oem.imei1]: [865982025679997]
- [ro.ril.oem.imei2]: [865982025679997]
- [ro.ril.svdo]: [false]
- [ro.ril.svlte1x]: [false]
- [ro.runtime.firstboot]: [1469178734873]
- [ro.secure]: [1]
- [ro.serialno]: [da91853a]
- [ro.setupwizard.mode]: [OPTIONAL]
- [ro.sf.lcd_density]: [480]
- [ro.sys.ft_whole_anim]: [true]
- [ro.sys.oem.sno]: [4X5330A21541]
- [ro.syspart]: [system]
- [ro.telephony.call_ring.multiple]: [false]
- [ro.telephony.default_cdma_sub]: [0]
- [ro.telephony.default_network]: [20]
- [ro.use_data_netmgrd]: [true]
- [ro.vendor.extension_library]: [libqti-perfd-client.so]
- [ro.wifi.channels]: []
- [ro.zygote]: [zygote32]
- [selinux.reload_policy]: [1]
- [service.bootanim.exit]: [1]
- [sukernel.mount]: [1]
- [supolicy.loaded]: [1]
- [sys.boot_completed]: [1]
- [sys.ims.QMI_DAEMON_STATUS]: [1]
- [sys.is_keyguard_showing]: [1]
- [sys.keyguard.bleunlock]: [true]
- [sys.keymaster.loaded]: [true]
- [sys.listeners.registered]: [true]
- [sys.miui.user_authenticated]: [true]
- [sys.panel.color]: [WHITE]
- [sys.settings_system_version]: [31]
- [sys.sysctl.extra_free_kbytes]: [24300]
- [sys.sysctl.tcp_def_init_rwnd]: [60]
- [sys.usb.config]: [mtp,adb]
- [sys.usb.configfs]: [0]
- [sys.usb.state]: [mtp,adb]
- [tunnel.audio.encode]: [false]
- [use.voice.path.for.pcm.voip]: [true]
- [vidc.debug.level]: [1]
- [vold.has_adoptable]: [0]
- [vold.post_fs_data_done]: [1]
- [wifi.interface]: [wlan0]
- [wlan.driver.ath]: [0]
- [wlan.driver.status]: [ok]
- shell@virgo:/ $
1为第一次用market unlocker修改后,2为修改回来,3为又修改后,4为重启手机后
看起来重启手机就把配置恢复回来了。
对比一下,变动很大
按照懒得查就去猜的写程序原则,应该是这样
美版运营商:
- [gsm.apn.sim.operator.numeric]: [46001,46001]
- [gsm.current.phone-type]: [1,1]
- [gsm.defaultpdpcontext.active]: [true]
- [gsm.network.type]: [LTE,Unknown]
- [gsm.nitz.time]: [1468922077038]
- [gsm.operator.alpha]: [Verizon]
- [gsm.operator.iso-country]: [us]
- [gsm.operator.isroaming]: [false,false]
- [gsm.operator.numeric]: [310004]
- [gsm.sim.operator.alpha]: [Verizon]
- [gsm.sim.operator.iso-country]: [us]
- [gsm.sim.operator.numeric]: [310004]
联通运营商:
那么
- [gsm.apn.sim.operator.numeric]: [46001]
- [gsm.current.phone-type]: [1,1]
- [gsm.network.type]: [LTE,Unknown]
- [gsm.operator.alpha]: [CHN-UNICOM,CHN-UNICOM]
- [gsm.operator.iso-country]: [cn,cn]
- [gsm.operator.isroaming]: [false,false]
- [gsm.operator.numeric]: [46001,46001]
- [gsm.sim.operator.alpha]: [,]
- [gsm.sim.operator.iso-country]: [cn,cn]
- [gsm.sim.operator.numeric]: [46001,46001]
挂vpn,还是不能用位置记录
- root@virgo:/ # setprop gsm.sim.operator.numeric 310004
- root@virgo:/ # setprop gsm.operator.numeric 310004
- root@virgo:/ # setprop gsm.operator.iso-country us
- root@virgo:/ # setprop gsm.sim.operator.iso-country us
- root@virgo:/ # setprop gsm.sim.operator.alpha Verizon
- root@virgo:/ # setprop gsm.operator.alpha Verizon
- root@virgo:/ # set gsm.apn.sim.operator.numeric 460001,460001
- root@virgo:/ # getprop
- [DEVICE_PROVISIONED]: [1]
- [audio.offload.buffer.size.kb]: [32]
- [audio.offload.disable]: [true]
- [audio.offload.gapless.enabled]: [false]
- [audio.offload.pcm.16bit.enable]: [true]
- [audio.offload.pcm.24bit.enable]: [true]
- [audio.offload.pcm.enable]: [true]
- [audio.offload.video]: [true]
- [bluetooth.hfp.client]: [1]
- [camera2.portability.force_api]: [1]
- [dalvik.vm.dex2oat-Xms]: [64m]
- [dalvik.vm.dex2oat-Xmx]: [512m]
- [dalvik.vm.heapgrowthlimit]: [128m]
- [dalvik.vm.heapmaxfree]: [32m]
- [dalvik.vm.heapminfree]: [8m]
- [dalvik.vm.heapsize]: [512m]
- [dalvik.vm.heapstartsize]: [8m]
- [dalvik.vm.heaptargetutilization]: [0.75]
- [dalvik.vm.image-dex2oat-Xms]: [64m]
- [dalvik.vm.image-dex2oat-Xmx]: [64m]
- [dalvik.vm.isa.arm.features]: [default]
- [dalvik.vm.isa.arm.variant]: [krait]
- [dalvik.vm.stack-trace-file]: [/data/anr/traces.txt]
- [debug.atrace.tags.enableflags]: [0]
- [debug.composition.type]: [c2d]
- [debug.egl.hw]: [1]
- [debug.force_rtl]: [0]
- [debug.mdpcomp.logs]: [0]
- [debug.sf.hw]: [1]
- [dev.bootcomplete]: [1]
- [dev.pm.dyn_samplingrate]: [1]
- [drm.service.enabled]: [true]
- [gsm.apn.sim.operator.numeric]: [46001]
- [gsm.current.phone-type]: [1,1]
- [gsm.network.type]: [LTE,Unknown]
- [gsm.operator.alpha]: [Verizon]
- [gsm.operator.iso-country]: [us]
- [gsm.operator.isroaming]: [false,false]
- [gsm.operator.numeric]: [310004]
- [gsm.sim.operator.alpha]: [Verizon]
- [gsm.sim.operator.iso-country]: [us]
- [gsm.sim.operator.numeric]: [310004]
- [gsm.sim.state]: [READY,READY]
- [gsm.version.baseband]: [MPSS.DI.4.0-63d722f]
- [gsm.version.baseband1]: [MPSS.DI.4.0-63d722f]
- [gsm.version.ril-impl]: [Qualcomm RIL 1.0]
- [hw.ad.mode]: [1]
- [hw.cabl.version]: [2.0.20140905]
- [hw.cabl.yuv]: [0]
- [hw.pp.cfg]: [/data/misc/display/pp_data.cfg]
- [init.svc.adbd]: [running]
- [init.svc.adsprpcd]: [running]
- [init.svc.atfwd]: [stopped]
- [init.svc.audiod]: [running]
- [init.svc.bootanim]: [stopped]
- [init.svc.changepowermode]: [stopped]
- [init.svc.charger_monitor]: [running]
- [init.svc.checkpath]: [stopped]
- [init.svc.checksdkpath]: [stopped]
- [init.svc.cnd]: [running]
- [init.svc.config_bluetooth]: [stopped]
- [init.svc.daemonsu]: [stopped]
- [init.svc.debuggerd]: [running]
- [init.svc.displayfeature]: [running]
- [init.svc.dpmd]: [running]
- [init.svc.drm]: [running]
- [init.svc.fdpp]: [running]
- [init.svc.gatekeeperd]: [running]
- [init.svc.healthd]: [running]
- [init.svc.hvdcp]: [running]
- [init.svc.imsdatadaemon]: [running]
- [init.svc.imsqmidaemon]: [running]
- [init.svc.installd]: [running]
- [init.svc.irsc_util]: [stopped]
- [init.svc.keystore]: [running]
- [init.svc.lmkd]: [running]
- [init.svc.loc_launcher]: [running]
- [init.svc.logd]: [running]
- [init.svc.logd-reinit]: [stopped]
- [init.svc.mcd_init]: [stopped]
- [init.svc.mcd_service]: [running]
- [init.svc.media]: [running]
- [init.svc.modem_dump]: [running]
- [init.svc.mpdecision]: [running]
- [init.svc.netd]: [running]
- [init.svc.netmgrd]: [running]
- [init.svc.p2p_supplicant]: [running]
- [init.svc.ppd]: [running]
- [init.svc.qcamerasvr]: [running]
- [init.svc.qcom-c_core-sh]: [stopped]
- [init.svc.qcom-c_main-sh]: [stopped]
- [init.svc.qcom-post-boot]: [stopped]
- [init.svc.qcom-sh]: [stopped]
- [init.svc.qcom-usb-sh]: [stopped]
- [init.svc.qcomsysd]: [running]
- [init.svc.qmuxd]: [running]
- [init.svc.qseecomd]: [running]
- [init.svc.qti-testscripts]: [stopped]
- [init.svc.rfs_access]: [running]
- [init.svc.ril-daemon]: [running]
- [init.svc.ril-daemon2]: [running]
- [init.svc.rmt_storage]: [running]
- [init.svc.servicemanager]: [running]
- [init.svc.setlockstate]: [stopped]
- [init.svc.shelld]: [running]
- [init.svc.ssr_setup]: [stopped]
- [init.svc.surfaceflinger]: [running]
- [init.svc.thermal-engine]: [running]
- [init.svc.thermal-perf]: [stopped]
- [init.svc.time_daemon]: [running]
- [init.svc.ueventd]: [running]
- [init.svc.usf-post-boot]: [stopped]
- [init.svc.vold]: [running]
- [init.svc.wcnss-service]: [running]
- [init.svc.zygote]: [running]
- [keyguard.no_require_sim]: [true]
- [media.aac_51_output_enabled]: [true]
- [media.stagefright.enable-aac]: [true]
- [media.stagefright.enable-fma2dp]: [true]
- [media.stagefright.enable-http]: [true]
- [media.stagefright.enable-player]: [true]
- [media.stagefright.enable-qcp]: [true]
- [media.stagefright.enable-scan]: [true]
- [mm.enable.qcom_parser]: [37491]
- [mm.enable.smoothstreaming]: [true]
- [mmp.enable.3g2]: [true]
- [net.bt.name]: [Android]
- [net.change]: [net.dns3]
- [net.dns1]: [202.106.46.151]
- [net.dns2]: [202.106.0.20]
- [net.dns3]: [114.114.114.114]
- [net.hostname]: [MINOTELTE-SENRSL_XM]
- [net.qtaguid_enabled]: [1]
- [net.tcp.buffersize.default]: [4096,87380,110208,4096,16384,110208]
- [net.tcp.buffersize.edge]: [4093,26280,35040,4096,16384,35040]
- [net.tcp.buffersize.evdo]: [4094,87380,262144,4096,16384,262144]
- [net.tcp.buffersize.gprs]: [4092,8760,11680,4096,8760,11680]
- [net.tcp.buffersize.hsdpa]: [4094,87380,1220608,4096,16384,1220608]
- [net.tcp.buffersize.hspa]: [4094,87380,1220608,4096,16384,1220608]
- [net.tcp.buffersize.hspap]: [4094,87380,1220608,4096,16384,1220608]
- [net.tcp.buffersize.hsupa]: [4094,87380,1220608,4096,16384,1220608]
- [net.tcp.buffersize.lte]: [524288,1048576,2097152,262144,524288,1048576]
- [net.tcp.buffersize.umts]: [4094,87380,110208,4096,16384,110208]
- [net.tcp.buffersize.wifi]: [524288,2097152,4194304,262144,524288,1048576]
- [net.tcp.default_init_rwnd]: [60]
- [net.tcp.delack.default]: [1]
- [net.tcp.delack.lte]: [8]
- [net.tcp.delack.wifi]: [20]
- [net.tcp.usercfg.default]: [0]
- [net.tcp.usercfg.lte]: [1]
- [net.tcp.usercfg.wifi]: [1]
- [persist.audio.fluence.speaker]: [true]
- [persist.audio.fluence.voicecall]: [true]
- [persist.audio.fluence.voicerec]: [false]
- [persist.audio.hifi]: [false]
- [persist.audio.hifi.volume]: [0]
- [persist.cne.feature]: [0]
- [persist.data.netmgrd.qos.enable]: [true]
- [persist.data.tcp_rst_drop]: [true]
- [persist.debug.wfd.enable]: [1]
- [persist.demo.hdmirotationlock]: [false]
- [persist.env.fastdorm.enabled]: [true]
- [persist.fd.scroff.timer]: [3000]
- [persist.fd.scron.timer]: [10000]
- [persist.fuse_sdcard]: [true]
- [persist.gps.qc_nlp_in_use]: [1]
- [persist.hwc.mdpcomp.enable]: [true]
- [persist.loc.nlp_name]: [com.qualcomm.location]
- [persist.logd.size]: []
- [persist.logd.size.radio]: [4M]
- [persist.miui.density_v2]: [440]
- [persist.omh.enabled]: [true]
- [persist.power.useautobrightadj]: [true]
- [persist.radio.adb_log_on]: [0]
- [persist.radio.apm_sim_not_pwdn]: [0]
- [persist.radio.custom_ecc]: [1]
- [persist.radio.data_no_toggle]: [1]
- [persist.radio.default.data]: [0]
- [persist.radio.default.voice]: [1]
- [persist.radio.eons.enabled]: [false]
- [persist.radio.force_on_dc]: [true]
- [persist.radio.iccid]: [89860115817082754524,89860115811011188029]
- [persist.radio.ignore_dom_time]: [5]
- [persist.radio.imei]: [865982025679997]
- [persist.radio.imei1]: [865982025679997]
- [persist.radio.imei2]: [865982025679997]
- [persist.radio.modem]: [LTE-X5]
- [persist.radio.msim.stackid_0]: [0]
- [persist.radio.msim.stackid_1]: [1]
- [persist.radio.multisim.config]: [dsds]
- [persist.radio.ramdump_sdcard]: [1]
- [persist.radio.rat_on]: [combine]
- [persist.radio.ril_payload_on]: [0]
- [persist.radio.sglte_target]: [0]
- [persist.radio.stack_id_0]: [0]
- [persist.radio.stack_id_1]: [1]
- [persist.rild.nitz_long_ons_0]: []
- [persist.rild.nitz_long_ons_1]: []
- [persist.rild.nitz_long_ons_2]: []
- [persist.rild.nitz_long_ons_3]: []
- [persist.rild.nitz_plmn]: []
- [persist.rild.nitz_short_ons_0]: []
- [persist.rild.nitz_short_ons_1]: []
- [persist.rild.nitz_short_ons_2]: []
- [persist.rild.nitz_short_ons_3]: []
- [persist.speaker.prot.enable]: [true]
- [persist.sys.aries.power_profile]: [middle]
- [persist.sys.button_headset_hook]: [media]
- [persist.sys.button_jack_profile]: [volume]
- [persist.sys.button_jack_switch]: [0]
- [persist.sys.country]: []
- [persist.sys.dalvik.vm.lib.2]: [libart.so]
- [persist.sys.device_name]: [SENRSL_XM]
- [persist.sys.display_cabc]: [1]
- [persist.sys.display_ce]: [10]
- [persist.sys.display_eyecare]: [0]
- [persist.sys.dpmd.nsrm]: [2]
- [persist.sys.dpmd.tcm]: [2]
- [persist.sys.klo]: [on]
- [persist.sys.klo.rec_start]: [1469178734]
- [persist.sys.language]: []
- [persist.sys.locale]: [zh-CN]
- [persist.sys.localevar]: []
- [persist.sys.ltm_enable]: [true]
- [persist.sys.mcd_config_file]: [/system/etc/mcd_default.conf]
- [persist.sys.memctrl]: [supported]
- [persist.sys.mitalk.enable]: [true]
- [persist.sys.profiler_ms]: [0]
- [persist.sys.released]: [true]
- [persist.sys.sc_allow_conn]: [true]
- [persist.sys.screenshot_mode]: [1]
- [persist.sys.silent]: [0]
- [persist.sys.smartcover_enabled]: [false]
- [persist.sys.smartcover_mode]: [1]
- [persist.sys.ssr.restart_level]: [ALL_ENABLE]
- [persist.sys.strict_op_enable]: [false]
- [persist.sys.strictmode.disable]: [true]
- [persist.sys.timezone]: [Asia/Shanghai]
- [persist.sys.usb.config]: [mtp,adb]
- [persist.sys.usb.config.extra]: [none]
- [persist.sys.webview.vmsize]: [104857600]
- [persist.sys.wfd.virtual]: [0]
- [persist.sys.whitelist]: [/system/etc/whitelist_appops.xml]
- [persist.timed.enable]: [true]
- [persist.usb.hvdcp.detect]: [true]
- [qc.izat.gtp.wifi.low_power]: [DISABLED]
- [qcom.hw.aac.encoder]: [false]
- [radio.atfwd.start]: [false]
- [ril.ecclist]: [*911,#911,911,112,110,119,120,122,999]
- [ril.ecclist1]: [*911,#911,911,112,110,119,120,122,999]
- [ril.limit_service_mnc]: [GSM_460]
- [ril.qcril_pre_init_lock_held]: [0]
- [ril.subscription.types]: [RUIM]
- [rild.libargs]: [-d /dev/smd0]
- [rild.libpath]: [/vendor/lib/libril-qc-qmi-1.so]
- [ro.adb.secure]: [1]
- [ro.allow.mock.location]: [0]
- [ro.audio.hifi]: [true]
- [ro.baseband]: [msm]
- [ro.bluetooth.dun]: [true]
- [ro.bluetooth.hfp.ver]: [1.7]
- [ro.bluetooth.sap]: [true]
- [ro.board.platform]: [msm8974]
- [ro.boot.baseband]: [msm]
- [ro.boot.bootdevice]: [msm_sdcc.1]
- [ro.boot.emmc]: [true]
- [ro.boot.hardware]: [qcom]
- [ro.boot.hwversion]: [54]
- [ro.boot.serialno]: [da91853a]
- [ro.bootimage.build.date]: [Thu Mar 17 00:57:35 CST 2016]
- [ro.bootimage.build.date.utc]: [1458147455]
- [ro.bootimage.build.fingerprint]: [Xiaomi/virgo/virgo:6.0.1/MMB29M/6.3.17:user/test-keys]
- [ro.bootloader]: [unknown]
- [ro.bootmode]: [unknown]
- [ro.btconfig.chip]: [WCN3680]
- [ro.btconfig.dev]: [/dev/smd3]
- [ro.btconfig.if]: [smd]
- [ro.btconfig.vendor]: [qcom]
- [ro.build.characteristics]: [nosdcard]
- [ro.build.date]: [Thu Mar 17 00:56:07 CST 2016]
- [ro.build.date.utc]: [1458147367]
- [ro.build.description]: [virgo-user 6.0.1 MMB29M 6.3.17 release-keys]
- [ro.build.display.id]: [MMB29M]
- [ro.build.fingerprint]: [Xiaomi/virgo/virgo:6.0.1/MMB29M/6.3.17:user/release-keys]
- [ro.build.flavor]: [virgo-user]
- [ro.build.host]: [qh-miui-ota-bd62]
- [ro.build.id]: [MMB29M]
- [ro.build.product]: [virgo]
- [ro.build.tags]: [release-keys]
- [ro.build.type]: [user]
- [ro.build.user]: [builder]
- [ro.build.version.all_codenames]: [REL]
- [ro.build.version.base_os]: []
- [ro.build.version.codename]: [REL]
- [ro.build.version.incremental]: [6.3.17]
- [ro.build.version.preview_sdk]: [0]
- [ro.build.version.release]: [6.0.1]
- [ro.build.version.sdk]: [23]
- [ro.build.version.security_patch]: [2016-03-01]
- [ro.carrier]: [unknown]
- [ro.com.android.dataroaming]: [false]
- [ro.com.android.mobiledata]: [false]
- [ro.com.google.clientidbase]: [android-xiaomi]
- [ro.com.google.gmsversion]: [6.0_r2]
- [ro.com.widevine.cachesize]: [16777216]
- [ro.config.alarm_alert]: [Alarm_Classic.ogg]
- [ro.config.elder-ringtone]: [Angel.mp3]
- [ro.config.notification_sound]: [pixiedust.ogg]
- [ro.config.ringtone]: [Ring_Synth_04.ogg]
- [ro.config.sms_delivered_sound]: [MessageComplete.ogg]
- [ro.config.sms_received_sound]: [FadeIn.ogg]
- [ro.crypto.state]: [unencrypted]
- [ro.dalvik.vm.native.bridge]: [0]
- [ro.data.large_tcp_window_size]: [true]
- [ro.debuggable]: [0]
- [ro.expect.recovery_id]: [0x26f7e4aef2aff9f03d2160e365c67ce383c8e9e4000000000000000000000000]
- [ro.gps.agps_provider]: [1]
- [ro.hardware]: [qcom]
- [ro.hardware.sensors]: [leo]
- [ro.hdmi.enable]: [true]
- [ro.hwui.drop_shadow_cache_size]: [6]
- [ro.hwui.gradient_cache_size]: [1]
- [ro.hwui.layer_cache_size]: [48]
- [ro.hwui.path_cache_size]: [32]
- [ro.hwui.r_buffer_cache_size]: [8]
- [ro.hwui.text_large_cache_height]: [1024]
- [ro.hwui.text_large_cache_width]: [2048]
- [ro.hwui.text_small_cache_height]: [1024]
- [ro.hwui.text_small_cache_width]: [1024]
- [ro.hwui.texture_cache_flushrate]: [0.4]
- [ro.hwui.texture_cache_size]: [72]
- [ro.hwversion]: [54]
- [ro.miui.cust_variant]: [hk]
- [ro.miui.has_handy_mode_sf]: [1]
- [ro.miui.has_real_blur]: [1]
- [ro.miui.internal.storage]: [/data/media]
- [ro.miui.mcc]: [9454]
- [ro.miui.mnc]: [9999]
- [ro.miui.region]: [HK]
- [ro.miui.ui.version.code]: [5]
- [ro.miui.ui.version.name]: [V7]
- [ro.nfc.port]: [I2C]
- [ro.opengles.version]: [196608]
- [ro.product.board]: [MSM8974]
- [ro.product.brand]: [Xiaomi]
- [ro.product.cpu.abi]: [armeabi-v7a]
- [ro.product.cpu.abi2]: [armeabi]
- [ro.product.cpu.abilist]: [armeabi-v7a,armeabi]
- [ro.product.cpu.abilist32]: [armeabi-v7a,armeabi]
- [ro.product.cpu.abilist64]: []
- [ro.product.cuptsm]: [XIAOMI|ESE|02|01]
- [ro.product.device]: [virgo]
- [ro.product.locale]: [en-GB]
- [ro.product.locale.language]: [zh]
- [ro.product.locale.region]: [TW]
- [ro.product.manufacturer]: [Xiaomi]
- [ro.product.mod_device]: [virgo_global]
- [ro.product.model]: [MI NOTE LTE]
- [ro.product.name]: [virgo]
- [ro.qc.sdk.audio.fluencetype]: [fluence]
- [ro.qc.sdk.audio.ssr]: [false]
- [ro.qc.sdk.camera.facialproc]: [false]
- [ro.qc.sdk.gestures.camera]: [false]
- [ro.qc.sdk.sensors.gestures]: [true]
- [ro.qc.sdk.us.digitalpen]: [1]
- [ro.qcom.ad]: [1]
- [ro.qcom.ad.calib.data]: [/system/etc/calib.cfg]
- [ro.qcom.ad.sensortype]: [2]
- [ro.qualcomm.bluetooth.ftp]: [true]
- [ro.qualcomm.bluetooth.hfp]: [true]
- [ro.qualcomm.bluetooth.hsp]: [true]
- [ro.qualcomm.bluetooth.map]: [true]
- [ro.qualcomm.bluetooth.nap]: [true]
- [ro.qualcomm.bluetooth.opp]: [true]
- [ro.qualcomm.bluetooth.pbap]: [true]
- [ro.qualcomm.bt.hci_transport]: [smd]
- [ro.qualcomm.cabl]: [0]
- [ro.qualcomm.perf.cores_online]: [2]
- [ro.revision]: [0]
- [ro.ril.ftm_mode]: [0]
- [ro.ril.oem.imei]: [865982025679997]
- [ro.ril.oem.imei1]: [865982025679997]
- [ro.ril.oem.imei2]: [865982025679997]
- [ro.ril.svdo]: [false]
- [ro.ril.svlte1x]: [false]
- [ro.runtime.firstboot]: [1469178734873]
- [ro.secure]: [1]
- [ro.serialno]: [da91853a]
- [ro.setupwizard.mode]: [OPTIONAL]
- [ro.sf.lcd_density]: [480]
- [ro.sys.ft_whole_anim]: [true]
- [ro.sys.oem.sno]: [4X5330A21541]
- [ro.syspart]: [system]
- [ro.telephony.call_ring.multiple]: [false]
- [ro.telephony.default_cdma_sub]: [0]
- [ro.telephony.default_network]: [20]
- [ro.use_data_netmgrd]: [true]
- [ro.vendor.extension_library]: [libqti-perfd-client.so]
- [ro.wifi.channels]: []
- [ro.zygote]: [zygote32]
- [selinux.reload_policy]: [1]
- [service.bootanim.exit]: [1]
- [sim.operator.iso-country]: [us]
- [sukernel.mount]: [1]
- [supolicy.loaded]: [1]
- [sys.boot_completed]: [1]
- [sys.ims.QMI_DAEMON_STATUS]: [1]
- [sys.is_keyguard_showing]: [1]
- [sys.keyguard.bleunlock]: [true]
- [sys.keyguard.screen_off_by_lid]: [false]
- [sys.keymaster.loaded]: [true]
- [sys.listeners.registered]: [true]
- [sys.miui.user_authenticated]: [true]
- [sys.panel.color]: [WHITE]
- [sys.settings_system_version]: [35]
- [sys.sysctl.extra_free_kbytes]: [24300]
- [sys.sysctl.tcp_def_init_rwnd]: [60]
- [sys.usb.config]: [mtp,adb]
- [sys.usb.configfs]: [0]
- [sys.usb.state]: [mtp,adb]
- [tunnel.audio.encode]: [false]
- [use.voice.path.for.pcm.voip]: [true]
- [vidc.debug.level]: [1]
- [vold.has_adoptable]: [0]
- [vold.post_fs_data_done]: [1]
- [wifi.interface]: [wlan0]
- [wlan.driver.ath]: [0]
- [wlan.driver.status]: [ok]
- root@virgo:/ #
难道是要删了账号重新登。。。。
一重启又变回到初始化去了。。。。
算了。。。。
感觉花几块钱买张国外的电话卡更容易些呢。。。。
哎,下周弄。。。。
13,screenfetch
真丑
- senrsl@senrsl-T540p:~/下载$ wget https://github.com/KittyKatt/screenFetch/archive/master.zip
- --2016-07-25 14:17:36-- https://github.com/KittyKatt/screenFetch/archive/master.zip
- 正在解析主机 github.com (github.com)... 192.30.253.113
- 正在连接 github.com (github.com)|192.30.253.113|:443... 已连接。
- 已发出 HTTP 请求,正在等待回应... 302 Found
- 位置:https://codeload.github.com/KittyKatt/screenFetch /zip/master [跟随至新的 URL]
- --2016-07-25 14:17:38-- https://codeload.github.com/KittyKatt/screenFetch/zip/master
- 正在解析主机 codeload.github.com (codeload.github.com)... 192.30.253.121
- 正在连接 codeload.github.com (codeload.github.com)|192.30.253.121|:443... 已连接。
- 已发出 HTTP 请求,正在等待回应... 200 OK
- 长度: 未指定 [application/zip]
- 正在保存至: "master.zip"
- [ <=> ] 68,899 91.8KB/s 用时 0.7s
- 2016-07-25 14:17:41 (91.8 KB/s) - "master.zip" 已保存 [68899]
- senrsl@senrsl-T540p:~/下载$ unzip master.zip
- Archive: master.zip
- ce7cd738606a841e0973a7d9f4f3e7c419b20fa8
- creating: screenFetch-master/
- inflating: screenFetch-master/CHANGELOG
- inflating: screenFetch-master/COPYING
- inflating: screenFetch-master/README.mkdn
- inflating: screenFetch-master/TODO
- inflating: screenFetch-master/screenfetch-dev
- inflating: screenFetch-master/screenfetch.1
- inflating: screenFetch-master/update-manpage.sh
- senrsl@senrsl-T540p:~/下载$ sudo mv screenFetch-master/screenfetch-dev /usr/bin/screenfetch
- senrsl@senrsl-T540p:~/下载$ screenfetch
- No such schema 'org.gnome.shell.extensions.user-theme'
- ./+o+- senrsl@senrsl-T540p
- yyyyy- -yyyyyy+ OS: Ubuntu 14.04 trusty
- ://+//////-yyyyyyo Kernel: x86_64 Linux 3.19.0-28-generic
- .++ .:/++++++/-.+sss/` Uptime: 4h 8m
- .:++o: /++++++++/:--:/- Packages: 2306
- o:+o+:++.`..```.-/oo+++++/ Shell: bash 4.3.11
- .:+o:+o/. `+sssoo+/ Resolution: 3360x1080
- .++/+:+oo+o:` /sssooo. DE: Unity 7.2.5
- /+++//+:`oo+o /::--:. WM: Compiz
- \+/+o+++`o++o ++////. WM Theme: Ambiance
- .++.o+++oo+:` /dddhhh. GTK Theme: Ambiance [GTK2/3]
- .+.o+oo:. `oddhhhh+ Icon Theme: ubuntu-mono-dark
- \+.++o+o``-````.:ohdhhhhh+ Font: Ubuntu 11
- `:o+++ `ohhhhhhhhyo++os: CPU: Intel Core i7-4710MQ CPU @ 8x 3.5GHz
- .o:`.syhhhhhhh/.oo++o` GPU: GeForce GT 730M
- /osyyyyyyo++ooo+++/ RAM: 4278MiB / 15737MiB
- ````` +oo+++o\:
- `oo++.
- senrsl@senrsl-T540p:~/下载$
14,打开eclipse报Unrecognized VM option 'UseStringDeduplication'
eclipse版本是neon,之前jdk版本是1.7.打开报错
切到1.8就好了
- senrsl@senrsl-T540p:~/python/eclipse$ ./eclipse
- Unrecognized VM option 'UseStringDeduplication'
- Error: Could not create the Java Virtual Machine.
- Error: A fatal exception has occurred. Program will exit.
.bashrc 更新
- #java path
- export JAVA_HOME=/home/senrsl/java/jdk1.8.0_25
- #export JAVA_HOME=/home/senrsl/java/jdk1.7.0_71
- #export JAVA_HOME=/home/senrsl/java/openjdk7u/build/j2sdk-image
- #export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
- #export JAVA_HOME=/home/senrsl/java/jdk1.6.0_45
- export JRE_HOME=${JAVA_HOME}/jre
- export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
- export PATH=${JAVA_HOME}/bin:$PATH
- #android sdk path
- export ANDROID_HOME=/home/senrsl/android/android-sdk-linux
- export PATH=$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$PATH
- #android ndk path
- export ANDROID_NDK_ROOT=/home/senrsl/android/android-ndk-r10e
- export NDK_HOME=/home/senrsl/android/android-ndk-r10e
- export PATH=$NDK_HOME:$PATH
- #depot_tools
- #export DEPOT_TOOLS_HOME=/home/senrsl/test/depot_tools
- #export PATH=$DEPOT_TOOLS_HOME:$PATH
- #repo
- export PATH=/home/senrsl/android/source/bin:$PATH
- #buck
- export PATH=/home/senrsl/tools/gerrit/buck/bin:$PATH
15,ubuntu下eclipse neon黑色
之前用的eclipse,把当前主题下gtk2.0/gtkrc里改成
颜色一直很正常。
- 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里面的
发现鼠标悬浮代码上的描述颜色对了,但是右键新建项目那个不对。。。。
- @define-color tooltip_bg_color #f2edbc;
- @define-color tooltip_fg_color #000000;
改了很多颜色,连系统颜色都变了,那个安然不动文如山。。。。
好吧,此事容后再议。
16,蓝牙锁屏及解锁ubuntu
昨天凭空想到的,今天一查发现很多年前就有成熟产品实现了。。。。
1)安装blueproximity
上面那个&是后台执行,这一步视情况
- senrsl@senrsl-T540p:~$ sudo apt-get install blueproximity
- senrsl@senrsl-T540p:~$ blueproximity &
二次测试没加那个&
2)编写命令脚本,设置755权限
- senrsl@senrsl-T540p:~$ cd /usr/share/blueproximity/
- senrsl@senrsl-T540p:/usr/share/blueproximity$ vi lockScreen.sh
- senrsl@senrsl-T540p:/usr/share/blueproximity$ sudo touch lockScreen.sh
- senrsl@senrsl-T540p:/usr/share/blueproximity$ sudo gedit lockScreen.sh
- senrsl@senrsl-T540p:/usr/share/blueproximity$ sudo touch unlockScreen.sh
- senrsl@senrsl-T540p:/usr/share/blueproximity$ sudo gedit unlockScreen.sh
- senrsl@senrsl-T540p:/usr/share/blueproximity$ sudo chmod 755 lockScreen.sh
- senrsl@senrsl-T540p:/usr/share/blueproximity$ sudo chmod 755 unlockScreen.sh
- senrsl@senrsl-T540p:/usr/share/blueproximity$ ll
- 总用量 396
- drwxr-xr-x 3 root root 4096 8月 5 11:08 ./
- drwxr-xr-x 328 root root 12288 8月 5 10:48 ../
- -rw-r--r-- 1 root root 37657 2月 28 2008 blueproximity_attention.svg
- -rw-r--r-- 1 root root 34112 2月 28 2008 blueproximity_base.svg
- -rw-r--r-- 1 root root 35908 2月 28 2008 blueproximity_error.svg
- -rw-r--r-- 1 root root 44447 2月 28 2008 blueproximity_nocon.svg
- -rw-r--r-- 1 root root 34256 2月 28 2008 blueproximity_pause.svg
- drwxr-xr-x 11 root root 4096 8月 5 10:48 LANG/
- -rwxr-xr-x 1 root root 119 8月 5 11:07 lockScreen.sh*
- -rw-r--r-- 1 root root 0 8月 5 11:07 lockScreen.sh~
- -rw-r--r-- 1 root root 79786 2月 28 2008 proximity.glade
- -rwxr-xr-x 1 root root 57150 12月 12 2011 proximity.py*
- -rw-r--r-- 1 root root 38578 8月 5 10:48 proximity.pyc
- -rwxr-xr-x 1 root root 121 8月 5 11:08 unlockScreen.sh*
- -rw-r--r-- 1 root root 0 8月 5 11:08 unlockScreen.sh~
- senrsl@senrsl-T540p:/usr/share/blueproximity$ cat lockScreen.sh
- #!/bin/bash
- session=$(loginctl show-user $SUDO_USER | sed -n '/Display/ s/Display=//p')
- loginctl lock-session $session
- xset dpms force off
- senrsl@senrsl-T540p:/usr/share/blueproximity$ cat unlockScreen.sh
- #!/bin/bash
- session=$(loginctl show-user $SUDO_USER | sed -n '/Display/ s/Display=//p')
- loginctl unlock-session $session
- xset dpms force on
- senrsl@senrsl-T540p:/usr/share/blueproximity$
3)设置脚本可以免密运行
- senrsl@senrsl-T540p:/usr/share/blueproximity$ sudo gedit /etc/sudoers.d/blueproximity
- senrsl@senrsl-T540p:/usr/share/blueproximity$ cat /etc/sudoers.d/blueproximity
- # Allow users to lock and unlock their screens by running these scripts as sudo
- #zhi xing bu xuyao mima
- ALL ALL=NOPASSWD: /usr/share/blueproximity/lockScreen.sh
- ALL ALL=NOPASSWD: /usr/share/blueproximity/unlockScreen.sh
- senrsl@senrsl-T540p:/usr/share/blueproximity$
4)测试脚本
执行后锁屏,过10秒自动解锁
- senrsl@senrsl-T540p:/usr/share/blueproximity$ sudo /usr/share/blueproximity/lockScreen.sh ; sleep 10; sudo /usr/share/blueproximity/unlockScreen.sh
5)配置脚本到blueproximity配置
上面的配置可以在GUI的界面上配置,但是只有删除这个配置文件的时候GUI才能启动。。。。
- senrsl@senrsl-T540p:/usr/share/blueproximity$ cat ~/.blueproximity/standard.conf
- device_mac = 00:00:00:00:5A:AD
- device_channel = 2
- lock_distance = 2
- lock_duration = 1
- unlock_distance = 1
- unlock_duration = 1
- lock_command = sudo /usr/share/blueproximity/lockScreen.sh
- unlock_command = sudo /usr/share/blueproximity/unlockScreen.sh
- proximity_command = sudo /usr/share/blueproximity/unlockScreen.sh
- proximity_interval = 15
- buffer_size = 1
- log_to_syslog = True
- log_syslog_facility = local7
- log_to_file = True
- log_filelog_filename = ~/.blueproximity/log
- senrsl@senrsl-T540p:/usr/share/blueproximity$
6)开机自启
安上之后才发现,这个东西果然是无聊拿来玩的。。。。
至少还不适用个人PC机
蓝牙对于距离的控制不够精确,范围太远了
而且安上后莫名其妙整个系统都变卡了,肯定是配置写的频率太高了吧。。。但是为什么系统的任务管理器都呼不出来了。。。。
这个可以考虑放到服务器机房去,拿着手机一进机房,所有机器都亮屏解锁了,想想都感觉很爽呢。。。。
所以,如果个人PC上用,目前的问题在于精度控制
本着使劲作死,我决定再试一下。。。。
二次测试,发现这个blueproximity里的配置,如果距离小的话会闪屏。
目前standard.conf配置文件内容如下:
其中,proximity_command是接近时执行命令,之前把它设置成unlokScreen,那么蓝牙没连接 上,只是搜索到就执行解锁了。
- device_mac = 00:00:00:00:5A:AD
- device_channel = 4
- lock_distance = 2
- lock_duration = 1
- unlock_distance = 1
- unlock_duration = 2
- lock_command = sudo /usr/share/blueproximity/lockScreen.sh
- unlock_command = sudo /usr/share/blueproximity/unlockScreen.sh
- proximity_command = ""
- proximity_interval = 30
- buffer_size = 1
- log_to_syslog = False
- log_syslog_facility = local7
- log_to_file = True
- log_filelog_filename = /home/senrsl/blueproximity.log
还有之前机器卡死的问题,发现在命令行里关掉blueproximity后,在进程里还在运行,多开几次后应该就相互抢资源了,二次测 试,每次关掉后手动杀死进程就好
然后设置开机自启
- senrsl@senrsl-T540p:/usr/share/blueproximity$ sudo kill -9 10532
- senrsl@senrsl-T540p:/usr/share/blueproximity$ sudo kill -9 8625
- senrsl@senrsl-T540p:/usr/share/blueproximity$ sudo kill -9 11160
- senrsl@senrsl-T540p:/usr/share/blueproximity$ sudo kill -9 14337
- senrsl@senrsl-T540p:/usr/share/blueproximity$ sudo kill -9 17545
重启下机器,发现这软件自带了开机自启。。。。
然后,开机之后又有几次闪屏,应该跟距离配置有关。
目前除了蓝牙精度引起的问题外没发现其他反人类的地方。。。。
或许换个iphone手机应该精度会准一些吧。。。。
我设置的1米,结果从三米开外机器就亮屏了,靠。。。。
三日后增加:之前都是一周关一次机,安上这个之后三天已经卡死2次了。。。。
17,ubuntu14.04双显示器扩展屏分辨率错误
出现过好多次了,硬件上的调整无法影响系统的配置
那么,从系统里面改
这样就调整好了
- senrsl@senrsl-T540p:~$ lspci | grep VGA
- 00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
- 01:00.0 VGA compatible controller: NVIDIA Corporation GK208M [GeForce GT 730M] (rev a1)
- senrsl@senrsl-T540p:~$ xrandr
- Screen 0: minimum 8 x 8, current 2944 x 1080, maximum 32767 x 32767
- eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
- 1920x1080 60.0*+ 59.9
- 1680x1050 60.0 59.9
- 1600x1024 60.2
- 1400x1050 60.0
- 1280x1024 60.0
- 1440x900 59.9
- 1280x960 60.0
- 1360x768 59.8 60.0
- 1152x864 60.0
- 1024x768 60.0
- 800x600 60.3 56.2
- 640x480 59.9
- DP1 disconnected (normal left inverted right x axis y axis)
- DP2 disconnected (normal left inverted right x axis y axis)
- HDMI1 disconnected (normal left inverted right x axis y axis)
- HDMI2 disconnected (normal left inverted right x axis y axis)
- VGA1 connected 1024x768+1920+11 (normal left inverted right x axis y axis) 0mm x 0mm
- 1024x768 60.0*
- 800x600 60.3 56.2
- 848x480 60.0
- 640x480 59.9
- VIRTUAL1 disconnected (normal left inverted right x axis y axis)
- senrsl@senrsl-T540p:~$ sudo xrandr --addmode DVI-I-1 1440x900
- [sudo] password for senrsl:
- xrandr: cannot find output "DVI-I-1"
- senrsl@senrsl-T540p:~$ sudo xrandr --addmode VGA1 1440x900
- senrsl@senrsl-T540p:~$ sudo xrandr --output VGA1 --mode 1440x900
- 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,一抓就抓出来了!!!
哈哈,太赞了!!!
踏破铁鞋无觅处,得来全不费工夫!
- 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正式做东西,结果搭完项目跑不起来。。。。
可以build success,but can't run.
- Error:Error converting bytecode to dex:
- Cause: java.lang.RuntimeException: Exception parsing classes
- Error:Error converting bytecode to dex:
- Cause: java.lang.RuntimeException: Exception parsing classes
- Error:Error converting bytecode to dex:
- Cause: java.lang.RuntimeException: Exception parsing classes
- Error:Error converting bytecode to dex:
- Cause: java.lang.RuntimeException: Exception parsing classes
- Error:Error converting bytecode to dex:
- Cause: java.lang.RuntimeException: Exception parsing classes
- Error:Error converting bytecode to dex:
- Cause: java.lang.RuntimeException: Exception parsing classes
- Error:Error converting bytecode to dex:
- Cause: java.lang.RuntimeException: Exception parsing classes
- Error:Error converting bytecode to dex:
- Cause: java.lang.RuntimeException: Exception parsing classes
- Error:Error converting bytecode to dex:
- Cause: java.lang.RuntimeException: Exception parsing classes
- Error:9 errors; aborting
- Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
- > 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
然后报
做了测试,发现,这个问题是因为引了java lib module.
- Error:Error converting bytecode to dex:
- Cause: java.lang.RuntimeException: Exception parsing classes
- Error:1 error; aborting
- Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
- > 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
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了。。。。
这样写的测试例子通过测试。
然后引入到正常的项目,报错
- Error:Error converting bytecode to dex:
- Cause: com.android.dex.DexException: Multiple dex files define Ldc/common/log/LoggerSaveManager;
- Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
- > 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}
在布局里面用了这个
-
android:background="?attr/menuBackground"
然后发现是在这里配置的样式
之前用的是默认的 ,把它改成自定义的theme,例如这个:<application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:supportsRtl="true" android:name=".VsfApplication" android:theme="@style/AppTheme"/>
里面就有menuBackground属性,就不会报错了。。。。<!--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>
21,adb shell查看尺寸和密度
- senrsl@senrsl-T540p:~$ adb shell
- root@deb:/ # wm size
- Physical size: 1200x1920
- root@deb:/ # wm density
- Physical density: 320
- root@deb:/ #
22,ubuntu批量修改文件后缀
使用rename命令
示例中的那个
- senrsl@senrsl-T540p:~/share/temp/mov/test$ l
- 1.txt1 1 (第4个复件).txt1 1 (第6个复件).txt1 1 (另一个复件).txt1
- 1 (第3个复件).txt1 1 (第5个复件).txt1 1 (复件).txt1
- senrsl@senrsl-T540p:~/share/temp/mov/test$ rename 's/\.txt1' *.txt
- Substitution pattern not terminated at (eval 1) line 1.
- senrsl@senrsl-T540p:~/share/temp/mov/test$ rename 's/\.txt1/.txt/' *.txt1
- senrsl@senrsl-T540p:~/share/temp/mov/test$ l
- 1.txt 1 (第4个复件).txt 1 (第6个复件).txt 1 (另一个复件).txt
- 1 (第3个复件).txt 1 (第5个复件).txt 1 (复件).txt
- 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表示为字符串类型
<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文件是
改成:
- allprojects {
- repositories {
- mavenCentral()
- mavenLocal()
- jcenter()
- }
- }
- buildscript {
- dependencies {
- classpath 'com.android.tools.build:gradle:2.0.0'
- }
- }
- apply plugin: 'com.android.application'
- dependencies {
- compile fileTree(include: '*.jar', dir: 'libs')
- }
- android {
- compileSdkVersion 23
- buildToolsVersion "23.0.2"
- sourceSets {
- main {
- manifest.srcFile 'AndroidManifest.xml'
- java.srcDirs = ['src']
- resources.srcDirs = ['src']
- aidl.srcDirs = ['src']
- renderscript.srcDirs = ['src']
- res.srcDirs = ['res']
- assets.srcDirs = ['assets']
- jniLibs.srcDirs = ['libs']
- }
- // Move the tests to tests/java, tests/res, etc...
- instrumentTest.setRoot('tests')
- // Move the build types to build-types/<type>
- // For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
- // This moves them out of them default location under src/<type>/... which would
- // conflict with src/ being used by the main source set.
- // Adding new build types or product flavors should be accompanied
- // by a similar customization.
- debug.setRoot('build-types/debug')
- release.setRoot('build-types/release')
- }
- }
就好了
- allprojects {
- repositories {
- mavenCentral()
- mavenLocal()
- jcenter()
- }
- }
- buildscript {
- repositories {
- jcenter()
- }
- dependencies {
- classpath 'com.android.tools.build:gradle:2.0.0'
- // NOTE: Do not place your application dependencies here; they belong
- // in the individual module build.gradle files
- }
- }
- apply plugin: 'com.android.application'
- dependencies {
- compile fileTree(include: '*.jar', dir: 'libs')
- }
- android {
- compileSdkVersion 23
- buildToolsVersion "23.0.2"
- sourceSets {
- main {
- manifest.srcFile 'AndroidManifest.xml'
- java.srcDirs = ['src']
- resources.srcDirs = ['src']
- aidl.srcDirs = ['src']
- renderscript.srcDirs = ['src']
- res.srcDirs = ['res']
- assets.srcDirs = ['assets']
- jniLibs.srcDirs = ['libs']
- }
- // Move the tests to tests/java, tests/res, etc...
- instrumentTest.setRoot('tests')
- // Move the build types to build-types/<type>
- // For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
- // This moves them out of them default location under src/<type>/... which would
- // conflict with src/ being used by the main source set.
- // Adding new build types or product flavors should be accompanied
- // by a similar customization.
- debug.setRoot('build-types/debug')
- release.setRoot('build-types/release')
- }
- }
25,Native method not found: com.autonavi.amap.mapcore.MapCore.nativeNewInstance
高德地图只给了armeabi平台的库,设备是armeabi-v7a,复制一份过去就可以了。。。。
26,linux or android 查看cpu架构
只要cat下文件就好了
- senrsl@senrsl-T540p:~$ adb -s 95373306026767 shell
- shell@V2S:/ $ cat /proc/cpuinfo
- Processor : ARMv7 Processor rev 5 (v7l)
- processor : 0
- model name : ARMv7 Processor rev 5 (v7l)
- BogoMIPS : 2721.38
- Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32
- CPU implementer : 0x41
- CPU architecture: 7
- CPU variant : 0x0
- CPU part : 0xc07
- CPU revision : 5
- processor : 1
- model name : ARMv7 Processor rev 5 (v7l)
- BogoMIPS : 2721.38
- Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32
- CPU implementer : 0x41
- CPU architecture: 7
- CPU variant : 0x0
- CPU part : 0xc07
- CPU revision : 5
- processor : 2
- model name : ARMv7 Processor rev 5 (v7l)
- BogoMIPS : 2721.38
- Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32
- CPU implementer : 0x41
- CPU architecture: 7
- CPU variant : 0x0
- CPU part : 0xc07
- CPU revision : 5
- processor : 3
- model name : ARMv7 Processor rev 5 (v7l)
- BogoMIPS : 2721.38
- Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32
- CPU implementer : 0x41
- CPU architecture: 7
- CPU variant : 0x0
- CPU part : 0xc07
- CPU revision : 5
- Hardware : sc9830
- Revision : 0000
- Serial : 0000000000000000
- shell@V2S:/ $
ubuntu系统也适用
- senrsl@senrsl-T540p:~$ cat /proc/cpuinfo
- processor : 0
- vendor_id : GenuineIntel
- cpu family : 6
- model : 60
- model name : Intel(R) Core(TM) i7-4710MQ CPU @ 2.50GHz
- stepping : 3
- microcode : 0x1c
- cpu MHz : 2702.832
- cache size : 6144 KB
- physical id : 0
- siblings : 8
- core id : 0
- cpu cores : 4
- apicid : 0
- initial apicid : 0
- fpu : yes
- fpu_exception : yes
- cpuid level : 13
- wp : yes
- 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
- bugs :
- bogomips : 4988.35
- clflush size : 64
- cache_alignment : 64
- address sizes : 39 bits physical, 48 bits virtual
- power management:
- processor : 1
- vendor_id : GenuineIntel
- cpu family : 6
- model : 60
- model name : Intel(R) Core(TM) i7-4710MQ CPU @ 2.50GHz
- stepping : 3
- microcode : 0x1c
- cpu MHz : 2765.625
- cache size : 6144 KB
- physical id : 0
- siblings : 8
- core id : 0
- cpu cores : 4
- apicid : 1
- initial apicid : 1
- fpu : yes
- fpu_exception : yes
- cpuid level : 13
- wp : yes
- 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
- bugs :
- bogomips : 4988.35
- clflush size : 64
- cache_alignment : 64
- address sizes : 39 bits physical, 48 bits virtual
- power management:
- processor : 2
- vendor_id : GenuineIntel
- cpu family : 6
- model : 60
- model name : Intel(R) Core(TM) i7-4710MQ CPU @ 2.50GHz
- stepping : 3
- microcode : 0x1c
- cpu MHz : 2618.457
- cache size : 6144 KB
- physical id : 0
- siblings : 8
- core id : 1
- cpu cores : 4
- apicid : 2
- initial apicid : 2
- fpu : yes
- fpu_exception : yes
- cpuid level : 13
- wp : yes
- 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
- bugs :
- bogomips : 4988.35
- clflush size : 64
- cache_alignment : 64
- address sizes : 39 bits physical, 48 bits virtual
- power management:
- processor : 3
- vendor_id : GenuineIntel
- cpu family : 6
- model : 60
- model name : Intel(R) Core(TM) i7-4710MQ CPU @ 2.50GHz
- stepping : 3
- microcode : 0x1c
- cpu MHz : 2883.007
- cache size : 6144 KB
- physical id : 0
- siblings : 8
- core id : 1
- cpu cores : 4
- apicid : 3
- initial apicid : 3
- fpu : yes
- fpu_exception : yes
- cpuid level : 13
- wp : yes
- 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
- bugs :
- bogomips : 4988.35
- clflush size : 64
- cache_alignment : 64
- address sizes : 39 bits physical, 48 bits virtual
- power management:
- processor : 4
- vendor_id : GenuineIntel
- cpu family : 6
- model : 60
- model name : Intel(R) Core(TM) i7-4710MQ CPU @ 2.50GHz
- stepping : 3
- microcode : 0x1c
- cpu MHz : 2719.824
- cache size : 6144 KB
- physical id : 0
- siblings : 8
- core id : 2
- cpu cores : 4
- apicid : 4
- initial apicid : 4
- fpu : yes
- fpu_exception : yes
- cpuid level : 13
- wp : yes
- 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
- bugs :
- bogomips : 4988.35
- clflush size : 64
- cache_alignment : 64
- address sizes : 39 bits physical, 48 bits virtual
- power management:
- processor : 5
- vendor_id : GenuineIntel
- cpu family : 6
- model : 60
- model name : Intel(R) Core(TM) i7-4710MQ CPU @ 2.50GHz
- stepping : 3
- microcode : 0x1c
- cpu MHz : 2537.109
- cache size : 6144 KB
- physical id : 0
- siblings : 8
- core id : 2
- cpu cores : 4
- apicid : 5
- initial apicid : 5
- fpu : yes
- fpu_exception : yes
- cpuid level : 13
- wp : yes
- 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
- bugs :
- bogomips : 4988.35
- clflush size : 64
- cache_alignment : 64
- address sizes : 39 bits physical, 48 bits virtual
- power management:
- processor : 6
- vendor_id : GenuineIntel
- cpu family : 6
- model : 60
- model name : Intel(R) Core(TM) i7-4710MQ CPU @ 2.50GHz
- stepping : 3
- microcode : 0x1c
- cpu MHz : 2831.152
- cache size : 6144 KB
- physical id : 0
- siblings : 8
- core id : 3
- cpu cores : 4
- apicid : 6
- initial apicid : 6
- fpu : yes
- fpu_exception : yes
- cpuid level : 13
- wp : yes
- 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
- bugs :
- bogomips : 4988.35
- clflush size : 64
- cache_alignment : 64
- address sizes : 39 bits physical, 48 bits virtual
- power management:
- processor : 7
- vendor_id : GenuineIntel
- cpu family : 6
- model : 60
- model name : Intel(R) Core(TM) i7-4710MQ CPU @ 2.50GHz
- stepping : 3
- microcode : 0x1c
- cpu MHz : 2500.097
- cache size : 6144 KB
- physical id : 0
- siblings : 8
- core id : 3
- cpu cores : 4
- apicid : 7
- initial apicid : 7
- fpu : yes
- fpu_exception : yes
- cpuid level : 13
- wp : yes
- 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
- bugs :
- bogomips : 4988.35
- clflush size : 64
- cache_alignment : 64
- address sizes : 39 bits physical, 48 bits virtual
- power management:
- 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>
怎么调都不行
AlertDialog.Builder builder = new AlertDialog.Builder(mContext,R.style.DialogStyle);
然后,无奈之下把引入的包改成
竟然变成黑的了。。。。。
import android.support.v7.app.AlertDialog;
shit!
一定要有干货
来个布局的定义
解释:
恩。。。。就酱
- android:colorPrimaryDark 应用的主要暗色调,statusBarColor默认使用该颜色
- android:statusBarColor 状态栏颜色,默认使用colorPrimaryDark
- android:colorPrimary 应用的主要色调,actionBar默认使用该颜色
- android:windowBackground 窗口背景颜色
- android:navigationBarColor 底部栏颜色
- android:colorForeground 应用的前景色,ListView的分割线,switch滑动区默认使用该颜色
- android:colorBackground 应用的背景色,popMenu的背景默认使用该颜色
- android:colorAccent 一般控件的选种效果默认采用该颜色
- android:colorControlNormal 控件的默认色调
- android:colorControlHighlight 控件按压时的色调
- android:colorControlActivated 控件选中时的颜色,默认使用colorAccent
- android:colorButtonNormal 默认按钮的背景颜色
- android:textColor Button,textView的文字颜色
- android:textColorPrimaryDisableOnly RadioButton checkbox等控件的文字
- 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 |
以上仅供参考
- senrsl@senrsl-T540p:~$ adb shell wm size
- Physical size: 1080x1920
- senrsl@senrsl-T540p:~$ adb shell wm density
- Physical density: 480
- senrsl@senrsl-T540p:~$ adb shell wm size
- Physical size: 1200x1920
- senrsl@senrsl-T540p:~$ adb shell wm density
- 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指纹 33,android桌面不显示图标 注释
- senrsl@senrsl-T540p:~/android/IdeaProjects/nvn$ keytool -list -v -keystore keystore.jks
- 输入密钥库口令:
- 密钥库类型: JKS
- 密钥库提供方: SUN
- 您的密钥库包含 1 个条目
- 别名: nvn
- 创建日期: 2016-11-3
- 条目类型: PrivateKeyEntry
- 证书链长度: 1
- 证书[1]:
- 所有者: CN=senRsl, OU=SENRSL, O=SENRSL, L=PEK, ST=CN, C=86
- 发布者: CN=senRsl, OU=SENRSL, O=SENRSL, L=PEK, ST=CN, C=86
- 序列号: 48119086
- 有效期开始日期: Thu Nov 03 14:44:08 CST 2016, 截止日期: Mon Oct 28 14:44:08 CST 2041
- 证书指纹:
- MD5: 37:CB:6F:C9:37:18:E9:CD:B2:18:64:C7:43:AC:11:EB
SHA1: 04:B8:AC:7E:D0:07:29:25:DA:E8:63:15:84:23:69:2E:DF:FA:7F:5F - 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
- 签名算法名称: SHA256withRSA
- 版本: 3
- 扩展:
- #1: ObjectId: 2.5.29.14 Criticality=false
- SubjectKeyIdentifier [
- KeyIdentifier [
- 0000: 57 B3 23 F9 B8 B9 A0 1A 3D 1C 24 0A B8 9B A0 40 W.#.....=.$....@
- 0010: 38 A8 AA 46 8..F
- ]
- ]
- *******************************************
- *******************************************
- senrsl@senrsl-T540p:~/android/IdeaProjects/nvn$
然后命令启动
- <activity
- android:name=".activity.AboutActivity"
- android:launchMode="singleTop"
- android:screenOrientation="sensor" >
- <intent-filter>
- <action android:name="android.intent.action.MAIN" />
- <!--
- <category android:name="android.intent.category.LAUNCHER" />
- -->
- </intent-filter>
- </activity>
2016年11月03日18:17:21 明天开始喝中药
- senrsl@senrsl-T540p:~/android/IdeaProjects/nvn$ adb shell am start -n dc.android.post/dc.android.post.activity.AboutActivity
- Starting: Intent { cmp=dc.android.post/.activity.AboutActivity }
- senrsl@senrsl-T540p:~/android/IdeaProjects/nvn$
--
senRsl 2015年12月14日14:36:16
没有评论 :
发表评论