MikroTik hAP acで作るHotspot 2.0環境 (プロファイルをインストールできない端末のログを見てみる)
MikroTik hAP acで作るHotspot 2.0環境 (Android編) - pirosapの備忘録の続き。
前回作ったAndroid用のプロファイルは、Nexus 5XのAndroid 7.1.1/Android O developer previewではインストールできるものの、Android One 507SHにおいては6.0.1/7.0/7.1.1全てインストールできない。
何故?ということで、実機のログを見てみる。
実機を開発者向けオプションから、USBデバッグを有効にして、PCとUSBで接続する。
実機はAndroid 7.1.1にアップデート済のAndroid One 507SH。Android Oneはメーカ独自のカスタマイズが少ないと見込んで選んだ。
ちょいちょい関係ないログも混じっていると思われる。
$ adb logcat -v time (略) 05-06 16:37:40.116 I/ActivityManager( 1253): START u0 {act=android.intent.action.VIEW dat=content://downloads/all_downloads/34 typ=application/x-wifi-config flg=0x10000001 cmp=com.android.certinstaller/.CertInstallerMain} from uid 10042 on display 0 05-06 16:37:40.164 I/ActivityManager( 1253): Start proc 7972:com.android.certinstaller/u0a41 for activity com.android.certinstaller/.CertInstallerMain 05-06 16:37:40.210 W/System ( 7972): ClassLoader referenced unknown path: /system/app/CertInstaller/lib/arm 05-06 16:37:40.282 I/ActivityManager( 1253): START u0 {cmp=com.android.certinstaller/.WiFiInstaller (has extras)} from uid 10041 on display 0 05-06 16:37:40.343 I/Adreno ( 7972): QUALCOMM build : 602b6aa, Ic1695e72bc 05-06 16:37:40.343 I/Adreno ( 7972): Build Date : 07/28/16 05-06 16:37:40.343 I/Adreno ( 7972): OpenGL ES Shader Compiler Version: XE031.09.00.03 05-06 16:37:40.343 I/Adreno ( 7972): Local Branch : 05-06 16:37:40.343 I/Adreno ( 7972): Remote Branch : refs/tags/AU_LINUX_ANDROID_LA.BR.1.3.6.06.00.01.005.033 05-06 16:37:40.343 I/Adreno ( 7972): Remote Branch : NONE 05-06 16:37:40.343 I/Adreno ( 7972): Reconstruct Branch : NOTHING 05-06 16:37:40.347 D/WifiInstaller( 7972): WiFi data for wifi-config: application/x-wifi-config is 7141 05-06 16:37:40.350 D/WCFG ( 1253): Content: 7141 05-06 16:37:40.350 D/WCFG ( 1253): Decoded: 5286 bytes. 05-06 16:37:40.352 D/HS20 ( 1253): plain MIME container, boundary '{boundary}', type 'application/x-passpoint-profile', encoding [base64] 05-06 16:37:40.353 D/HS20 ( 1253): plain MIME container, boundary '{boundary}', type 'application/x-x509-ca-cert', encoding [base64] 05-06 16:37:40.353 I/OpenGLRenderer( 7972): Initialized EGL, version 1.4 05-06 16:37:40.354 D/OpenGLRenderer( 7972): Swap behavior 1 05-06 16:37:40.354 D/HS20 ( 1253): multipart MIME container, boundary 'null', type 'multipart/mixed', encoding [base64] 05-06 16:37:40.354 D/WCFG ( 1253): + Content Type: application/x-passpoint-profile 05-06 16:37:40.354 D/WCFG ( 1253): OMA: <MgmtTree xmlns="syncml:dmddf1.2"> 05-06 16:37:40.354 D/WCFG ( 1253): <VerDTD>1.2</VerDTD> 05-06 16:37:40.354 D/WCFG ( 1253): <Node> 05-06 16:37:40.354 D/WCFG ( 1253): <NodeName>PerProviderSubscription</NodeName> 05-06 16:37:40.354 D/WCFG ( 1253): <RTProperties> 05-06 16:37:40.354 D/WCFG ( 1253): <Type> 05-06 16:37:40.354 D/WCFG ( 1253): <DDFName>urn:wfa:mo:hotspot2dot0-perprovidersubscription:1.0</DDFName> 05-06 16:37:40.354 D/WCFG ( 1253): </Type> 05-06 16:37:40.354 D/WCFG ( 1253): </RTProperties> 05-06 16:37:40.354 D/WCFG ( 1253): <Node> 05-06 16:37:40.354 D/WCFG ( 1253): <NodeName>X1</NodeName> 05-06 16:37:40.354 D/WCFG ( 1253): <Node> 05-06 16:37:40.354 D/WCFG ( 1253): <NodeName>Credential</NodeName> 05-06 16:37:40.354 D/WCFG ( 1253): <Node> 05-06 16:37:40.354 D/WCFG ( 1253): <NodeName>CreationDate</NodeName> 05-06 16:37:40.354 D/WCFG ( 1253): <Value>2017-02-16T14:21:36Z</Value> 05-06 16:37:40.354 D/WCFG ( 1253): </Node> 05-06 16:37:40.354 D/WCFG ( 1253): <Node> 05-06 16:37:40.354 D/WCFG ( 1253): <NodeName>UsernamePassword</NodeName> 05-06 16:37:40.354 D/WCFG ( 1253): <Node> 05-06 16:37:40.354 D/WCFG ( 1253): <NodeName>MachineManaged</NodeName> 05-06 16:37:40.354 D/WCFG ( 1253): <Value>true</Value> 05-06 16:37:40.354 D/WCFG ( 1253): </Node> 05-06 16:37:40.354 D/WCFG ( 1253): <Node> 05-06 16:37:40.354 D/WCFG ( 1253): <NodeName>EAPMethod</NodeName> 05-06 16:37:40.354 D/WCFG ( 1253): <Node> 05-06 16:37:40.354 D/WCFG ( 1253): <NodeName>EAPType</NodeName> 05-06 16:37:40.354 D/WCFG ( 1253): <Value>21</Value> 05-06 16:37:40.354 D/WCFG ( 1253): </Node> 05-06 16:37:40.354 D/WCFG ( 1253): <Node> 05-06 16:37:40.354 D/WCFG ( 1253): <NodeName>InnerMethod</NodeName> 05-06 16:37:40.354 D/WCFG ( 1253): <Value>MS-CHAP-V2</Value> 05-06 16:37:40.354 D/WCFG ( 1253): </Node> 05-06 16:37:40.354 D/WCFG ( 1253): </Node> 05-06 16:37:40.354 D/WCFG ( 1253): <Node> 05-06 16:37:40.354 D/WCFG ( 1253): <NodeName>Username</NodeName> 05-06 16:37:40.354 D/WCFG ( 1253): <Value>hoge</Value> 05-06 16:37:40.354 D/WCFG ( 1253): </Node> 05-06 16:37:40.354 D/WCFG ( 1253): <Node> 05-06 16:37:40.354 D/WCFG ( 1253): <NodeName>Password</NodeName> 05-06 16:37:40.354 D/WCFG ( 1253): <Value>aHMyMCF0ZXN0MTc=</Value> 05-06 16:37:40.354 D/WCFG ( 1253): </Node> 05-06 16:37:40.354 D/WCFG ( 1253): </Node> 05-06 16:37:40.354 D/WCFG ( 1253): <Node> 05-06 16:37:40.354 D/WCFG ( 1253): <NodeName>Realm</NodeName> 05-06 16:37:40.354 D/WCFG ( 1253): <Value>pirosap.tech</Value> 05-06 16:37:40.354 D/WCFG ( 1253): </Node> 05-06 16:37:40.354 D/WCFG ( 1253): </Node> 05-06 16:37:40.354 D/WCFG ( 1253): <Node> 05-06 16:37:40.354 D/WCFG ( 1253): <NodeName>HomeSP</NodeName> 05-06 16:37:40.354 D/WCFG ( 1253): <Node> 05-06 16:37:40.354 D/WCFG ( 1253): <NodeName>FriendlyName</NodeName> 05-06 16:37:40.354 D/WCFG ( 1253): <Value>NGH testbed by pirosap.tech</Value> 05-06 16:37:40.354 D/WCFG ( 1253): </Node> 05-06 16:37:40.354 D/WCFG ( 1253): <Node> 05-06 16:37:40.354 D/WCFG ( 1253): <NodeName>FQDN</NodeName> 05-06 16:37:40.354 D/WCFG ( 1253): <Value>ngh.pirosap.tech</Value> 05-06 16:37:40.354 D/WCFG ( 1253): </Node> 05-06 16:37:40.354 D/WCFG ( 1253): </Node> 05-06 16:37:40.354 D/WCFG ( 1253): </Node> 05-06 16:37:40.354 D/WCFG ( 1253): </Node> 05-06 16:37:40.354 D/WCFG ( 1253): </MgmtTree> 05-06 16:37:40.355 D/WCFG ( 1253): + Content Type: application/x-x509-ca-cert 05-06 16:37:40.356 D/WCFG ( 1253): Cert subject CN=DST Root CA X3, O=Digital Signature Trust Co. 05-06 16:37:40.361 D/WCFG ( 1253): Full Cert: Certificate: 05-06 16:37:40.361 D/WCFG ( 1253): Data: 05-06 16:37:40.361 D/WCFG ( 1253): Version: 3 (0x2) 05-06 16:37:40.361 D/WCFG ( 1253): Serial Number: 05-06 16:37:40.361 D/WCFG ( 1253): 44:af:b0:80:d6:a3:27:ba:89:30:39:86:2e:f8:40:6b 05-06 16:37:40.361 D/WCFG ( 1253): Signature Algorithm: sha1WithRSAEncryption 05-06 16:37:40.361 D/WCFG ( 1253): Issuer: O=Digital Signature Trust Co., CN=DST Root CA X3 05-06 16:37:40.361 D/WCFG ( 1253): Validity 05-06 16:37:40.361 D/WCFG ( 1253): Not Before: Sep 30 21:12:19 2000 GMT 05-06 16:37:40.361 D/WCFG ( 1253): Not After : Sep 30 14:01:15 2021 GMT 05-06 16:37:40.361 D/WCFG ( 1253): Subject: O=Digital Signature Trust Co., CN=DST Root CA X3 05-06 16:37:40.361 D/WCFG ( 1253): Subject Public Key Info: 05-06 16:37:40.361 D/WCFG ( 1253): Public Key Algorithm: rsaEncryption 05-06 16:37:40.361 D/WCFG ( 1253): Public-Key: (2048 bit) 05-06 16:37:40.361 D/WCFG ( 1253): Modulus: 05-06 16:37:40.361 D/WCFG ( 1253): 00:df:af:e9:97:50:08:83:57:b4:cc:62:65:f6:90: 05-06 16:37:40.361 D/WCFG ( 1253): 82:ec:c7:d3:2c:6b:30:ca:5b:ec:d9:c3:7d:c7:40: 05-06 16:37:40.361 D/WCFG ( 1253): c1:18:14:8b:e0:e8:33:76:49:2a:e3:3f:21:49:93: 05-06 16:37:40.361 D/WCFG ( 1253): ac:4e:0e:af:3e:48:cb:65:ee:fc:d3:21:0f:65:d2: 05-06 16:37:40.361 D/WCFG ( 1253): 2a:d9:32:8f:8c:e5:f7:77:b0:12:7b:b5:95:c0:89: 05-06 16:37:40.361 D/WCFG ( 1253): a3:a9:ba:ed:73:2e:7a:0c:06:32:83:a2:7e:8a:14: 05-06 16:37:40.361 D/WCFG ( 1253): 30:cd:11:a0:e1:2a:38:b9:79:0a:31:fd:50:bd:80: 05-06 16:37:40.361 D/WCFG ( 1253): 65:df:b7:51:63:83:c8:e2:88:61:ea:4b:61:81:ec: 05-06 16:37:40.361 D/WCFG ( 1253): 52:6b:b9:a2:e2:4b:1a:28:9f:48:a3:9e:0c:da:09: 05-06 16:37:40.361 D/WCFG ( 1253): 8e:3e:17:2e:1e:dd:20:df:5b:c6:2a:8a:ab:2e:bd: 05-06 16:37:40.361 D/WCFG ( 1253): 70:ad:c5:0b:1a:25:90:74:72:c5:7b:6a:ab:34:d6: 05-06 16:37:40.361 D/WCFG ( 1253): 30:89:ff:e5:68:13:7b:54:0b:c8:d6:ae:ec:5a:9c: 05-06 16:37:40.361 D/WCFG ( 1253): 92:1e:3d:64:b3:8c:c6:df:bf:c9:41:70:ec:16:72: 05-06 16:37:40.361 D/WCFG ( 1253): d5:26:ec:38:55:39:43:d0:fc:fd:18:5c:40:f1:97: 05-06 16:37:40.361 D/WCFG ( 1253): eb:d5:9a:9b:8d:1d:ba:da:25:b9:c6:d8:df:c1:15: 05-06 16:37:40.361 D/WCFG ( 1253): 02:3a:ab:da:6e:f1:3e:2e:f5:5c:08:9c:3c:d6:83: 05-06 16:37:40.361 D/WCFG ( 1253): 69:e4:10:9b:19:2a:b6:29:57:e3:e5:3d:9b:9f:f0: 05-06 16:37:40.361 D/WCFG ( 1253): 02:5d 05-06 16:37:40.361 D/WCFG ( 1253): Exponent: 65537 (0x10001) 05-06 16:37:40.361 D/WCFG ( 1253): X509v3 extensions: 05-06 16:37:40.361 D/WCFG ( 1253): X509v3 Basic Constraints: critical 05-06 16:37:40.361 D/WCFG ( 1253): CA:TRUE 05-06 16:37:40.361 D/WCFG ( 1253): X509v3 Key Usage: critical 05-06 16:37:40.361 D/WCFG ( 1253): Certificate Sign, CRL Sign 05-06 16:37:40.361 D/WCFG ( 1253): X509v3 Subject Key Identifier: 05-06 16:37:40.361 D/WCFG ( 1253): C4:A7:B1:A4:7B:2C:71:FA:DB:E1:4B:90:75:FF:C4:15:60:85:89:10 05-06 16:37:40.361 D/WCFG ( 1253): Signature Algorithm: sha1WithRSAEncryption 05-06 16:37:40.361 D/WCFG ( 1253): a3:1a:2c:9b:17:00:5c:a9:1e:ee:28:66:37:3a:bf:83:c7:3f: 05-06 16:37:40.361 D/WCFG ( 1253): 4b:c3:09:a0:95:20:5d:e3:d9:59:44:d2:3e:0d:3e:bd:8a:4b: 05-06 16:37:40.361 D/WCFG ( 1253): a0:74:1f:ce:10:82:9c:74:1a:1d:7e:98:1a:dd:cb:13:4b:b3: 05-06 16:37:40.361 D/WCFG ( 1253): 20:44:e4:91:e9:cc:fc:7d:a5:db:6a:e5:fe:e6:fd:e0:4e:dd: 05-06 16:37:40.361 D/WCFG ( 1253): b7:00:3a:b5:70:49:af:f2:e5:eb:02:f1:d1:02:8b:19:cb:94: 05-06 16:37:40.361 D/WCFG ( 1253): 3a:5e:48:c4:18:1e:58:19:5f:1e:02:5a:f0:0c:f1:b1:ad:a9: 05-06 16:37:40.361 D/WCFG ( 1253): dc:59:86:8b:6e:e9:91:f5:86:ca:fa:b9:66:33:aa:59:5b:ce: 05-06 16:37:40.361 D/WCFG ( 1253): e2:a7:16:73:47:cb:2b:cc:99:b0:37:48:cf:e3:56:4b:f5:cf: 05-06 16:37:40.361 D/WCFG ( 1253): 0f:0c:72:32:87:c6:f0:44:bb:53:72:6d:43:f5:26:48:9a:52: 05-06 16:37:40.361 D/WCFG ( 1253): 67:b7:58:ab:fe:67:76:71:78:db:0d:a2:56:14:13:39:24:31: 05-06 16:37:40.361 D/WCFG ( 1253): 85:a2:a8:02:5a:30:47:e1:dd:50:07:bc:02:09:90:00:eb:64: 05-06 16:37:40.361 D/WCFG ( 1253): 63:60:9b:16:bc:88:c9:12:e6:d2:7d:91:8b:f9:3d:32:8d:65: 05-06 16:37:40.361 D/WCFG ( 1253): b4:e9:7c:b1:57:76:ea:c5:b6:28:39:bf:15:65:1c:c8:f6:77: 05-06 16:37:40.361 D/WCFG ( 1253): 96:6a:0a:8d:77:0b:d8:91:0b:04:8e:07:db:29:b6:0a:ee:9d: 05-06 16:37:40.361 D/WCFG ( 1253): 82:35:35:10
ここらへんまでは良さげ。ちゃんとプロファイルの内容を読み取っている。
05-06 16:37:40.416 V/DownloadManager( 6879): Deleting /storage/emulated/0/Download/pirosap-tech-20170429.config via provider delete 05-06 16:37:40.419 D/MediaProvider( 6879): object removed 78 05-06 16:37:40.637 I/ActivityManager( 1253): Displayed com.android.certinstaller/.WiFiInstaller: +326ms (total +495ms) 05-06 16:37:40.787 W/WindowManager( 1253): Attempted to remove non-existing token: android.os.Binder@758837a 05-06 16:37:47.979 W/QCNEJ ( 4290): |CORE| CNE received unexpected action: android.intent.action.BATTERY_CHANGED 05-06 16:37:47.980 I/DownloadManagerWrapper( 6905): onReceive() : Charging = true 05-06 16:37:50.495 I/ActivityManager( 1253): Start proc 7994:com.google.android.apps.photos:CameraShortcut/u0a70 for service com.google.android.apps.photos/.camerashortcut.CameraShortcutServiceImpl 05-06 16:37:50.537 I/art ( 7994): Starting a blocking GC AddRemoveAppImageSpace 05-06 16:37:50.539 W/System ( 7994): ClassLoader referenced unknown path: /system/app/Photos/lib/arm 05-06 16:37:50.883 I/art ( 7994): Do partial code cache collection, code=0B, data=12KB 05-06 16:37:50.884 I/art ( 7994): After code cache collection, code=0B, data=12KB 05-06 16:37:50.884 I/art ( 7994): Increasing code cache capacity to 128KB 05-06 16:37:51.246 D/CryptdConnector( 1253): SND -> {17 cryptfs getpwtype} 05-06 16:37:51.246 D/VoldCryptCmdListener( 346): cryptfs getpwtype 05-06 16:37:51.252 D/CryptdConnector( 1253): RCV <- {213 17 default} 05-06 16:37:51.888 I/Babel_ConcService( 6673): Acquired partial wake lock to keep ConcurrentService alive 05-06 16:37:51.891 I/Babel_ConcService( 6673): Released partial wake lock as ConcurrentService became idle 05-06 16:37:53.690 I/MSM-irqbalance( 620): Decided to move IRQ166 from CPU7 to CPU6 05-06 16:37:54.513 I/Icing ( 4606): Usage reports 0 indexed 0 rejected 0 imm upload false 05-06 16:37:54.522 W/IcingInternalCorpora( 4606): getNumBytesRead when not calculated. 05-06 16:37:55.431 I/QtiTetherService( 4290): limitReached Alert received limitName: globalAlert on Interface: lo 05-06 16:37:55.532 I/Icing ( 4606): Indexing DCAFEA8F428F46304CB1907AEB6237632734F373 from com.android.chrome 05-06 16:37:55.659 I/Icing ( 4606): Indexing done DCAFEA8F428F46304CB1907AEB6237632734F373 05-06 16:37:56.163 I/addOrUpdateNetwork( 1253): uid = 10041 SSID null nid=-1 05-06 16:37:56.164 E/WifiConfigManager( 1253): Passpoint is not enabled 05-06 16:37:56.167 I/ActivityManager( 1253): START u0 {cmp=com.android.certinstaller/.CredentialsInstallDialog (has extras)} from uid 10041 on display 0 05-06 16:37:56.406 I/ActivityManager( 1253): Displayed com.android.certinstaller/.CredentialsInstallDialog: +212ms 05-06 16:37:56.635 W/Icing ( 4252): isOptedInForAppHistory: empty Account Name encountered 05-06 16:37:56.679 I/Icing ( 4606): Usage reports 1 indexed 0 rejected 0 imm upload false 05-06 16:37:57.706 I/Icing ( 4606): Usage reports 0 indexed 0 rejected 0 imm upload false 05-06 16:37:58.690 I/MSM-irqbalance( 620): Decided to move IRQ240 from CPU7 to CPU6 05-06 16:37:58.754 W/WindowManager( 1253): Attempted to remove non-existing token: android.os.Binder@74b7443
うーん。
Passpoint is not enabled が気になるなあ。
Passpointが有効でないから、CredentialInstallDialogでインストール失敗を出しているように見える。
でも507SHにはWi-Fiの詳細設定とかにはPasspointを有効にするみたいなのはないんだよなあ。
うーん。