Android Question jcifs-ng SMB-Client Windows share problems

CaptKronos

Active Member
Licensed User
I'm experiencing some problems using DonManfred's jcifs-ng library.
All the following tests were done using Don's jcifs-ng-Example app and v0.32 of the library. (I also tried v0.26, and that didn't make any difference to the following results.)
Trying to connect to shares on a fully up-to-date Windows 10 box which are accessible without credentials (i.e. Everyone), I don't get any response.
Connecting to Windows hosted shares which require user credentials, the connection is successful after about 35s.
If the shares are hosted on a Linux box then jcifs-ng works perfectly.
I am using the app AndSMB app (freely availably on the Play Store) to confirm settings. Both Windows and Linux boxes have SMB1 disabled. Which I have confirmed by configuring AndSMB to try to connect using SMB1, and as expected it fails to connect. Using AndSMB to connect using SMB2, the Windows and Linux hosted shares work flawlessly, both for shares requiring credentials and those that don't.
When using jcifs-ng to connect to a Windows share requiring credentials I see the following in the unfiltered log. (The hello.txt at the end of the log is the one file in the shared folder.)
B4X:
Delivering touch to (25051): action: 0x1, displayId: 0, 'd07e363', toolType: 1
ViewPostIme pointer 1
Domain =
Username = xxxxxx@hotmail.com
Password = xxxxxx
Share = smb://192.168.1.246/testshare
init
netId is 0
getNetworkForDns: getNetId from enterpriseCtrl is netid 0
DNSDBG::dns addrinfo af 0
SMBClient_Resource(true,OK,smb://192.168.1.246/testshare,smb://192.168.1.246/testshare)
SMBClient_Resource(smb://192.168.1.246/testshare, smb://192.168.1.246/testshare)
CanonicalPath = smb://192.168.1.246/testshare
CanonicalUncPath = smb://192.168.1.246/testshare
ListFiles2(res,"*.*")
netId is 0
getNetworkForDns: getNetId from enterpriseCtrl is netid 0
DNSDBG::dns addrinfo af 0
BarTender: pid : 27451 cached=true abnormal=false kill=false stay=false release=false
updateState: WifiIconState(resId=2131232632, visible=true, activityId=2131232638)
onSignalStrengthsChanged signalStrength=SignalStrength: 99 99 -120 -160 -120 -160 -1 43 -94 -7 260 15 0 2147483647 99 255 2147483647 0x4000 P gsm|lte use_rsrp_and_rssnr_for_lte_level  [-128, -118, -108, -98] [-115, -105, -95, -85] level=4
getMobileIconGroup(): 13
isSIMandOperatorMatched simNumeric = 23430
SIOP:: AP:205(299,110) BAT:276(276,0) CHG:292(292,0) USB:273(273,0) PA:237(284,50) LRP:0(0,-999) ATC:0(0,-999)
TrafficStats TxPkts=2355670 RxPkts=2850047 TxBytes=2163744956 RxBytes=2489524566 , Foreground uid=10264 pkgName=de.donmanfred.jcifsngex TxPackets=376913 RxPackets=391920 TxBytes=20232689 RxBytes=21263121
updateState: WifiIconState(resId=2131232632, visible=true, activityId=2131232637)
!@   8,0 r 31908342 1141838556 w 4630969 127172108 d 375337 76417588 f 1038405 1051884 iot 10543396 9044243 th 307200 0 0 pt 0 inp 0 0 229647.595
getWifiLinkLayerStats(l.2973) before calling iface.getLinkLayerStats
enter getLinkLayerStats
enter getLinkLayerStatsInternal
Successfully getLinkLayerStats.
getWifiLinkLayerStats(l.2973) after calling iface.getLinkLayerStats
checkScoreBasedQuality -  mPreviousScore[0]:87 mPreviousScore[1]:87 mPreviousScore[2]:87 s2Score:88mPrevoiusScoreAverage:87
updateState: WifiIconState(resId=2131232632, visible=true, activityId=2131232638)
onSignalStrengthsChanged signalStrength=SignalStrength: 99 99 -120 -160 -120 -160 -1 46 -92 -8 230 15 0 2147483647 99 255 2147483647 0x4000 P gsm|lte use_rsrp_and_rssnr_for_lte_level  [-128, -118, -108, -98] [-115, -105, -95, -85] level=4
getMobileIconGroup(): 13
isSIMandOperatorMatched simNumeric = 23430
getAudioPolicyConfig: audioParam;outDevice
getNewOutputDevice() selected device 0
### curdevice : 2
updateState: WifiIconState(resId=2131232632, visible=true, activityId=2131232637)
canAccessScanResults: pkgName = com.sec.android.sdhms, uid = 1000
updateState: WifiIconState(resId=2131232632, visible=true, activityId=2131232638)
getWifiLinkLayerStats(l.2973) before calling iface.getLinkLayerStats
enter getLinkLayerStats
enter getLinkLayerStatsInternal
Successfully getLinkLayerStats.
getWifiLinkLayerStats(l.2973) after calling iface.getLinkLayerStats
checkScoreBasedQuality -  mPreviousScore[0]:87 mPreviousScore[1]:87 mPreviousScore[2]:88 s2Score:88mPrevoiusScoreAverage:87
TrafficStats TxPkts=2355677 RxPkts=2850057 TxBytes=2163745705 RxBytes=2489525240 , Foreground uid=10264 pkgName=de.donmanfred.jcifsngex TxPackets=376914 RxPackets=391920 TxBytes=20232749 RxBytes=21263121
updateState: WifiIconState(resId=2131232632, visible=true, activityId=2131232637)
getExternalStorageMountMode : 3
getExternalStorageMountMode : 3
getExternalStorageMountMode : final mountMode=3, uid : 5004, packageName : com.samsung.faceservice
isApplicationExternalStorageWhitelisted:com.samsung.faceservice user:0
isApplicationExternalStorageWhitelisted: DO is not enabled on user 0. Allowed.
package  com.samsung.faceservice, user - 0 is SDcard whitelisted
isApplicationExternalStorageBlacklisted:com.samsung.faceservice user:0
isApplicationExternalStorageBlacklisted: DO is not enabled on user 0. Allowed.
isApplicationExternalStorageBlacklisted:com.samsung.faceservice user:0
isApplicationExternalStorageBlacklisted: DO is not enabled on user 0. Allowed.
isWhitelistProcess - Process is Whitelisted
Start proc 27535:com.samsung.faceservice/5004 for service com.samsung.faceservice/.FaceService
accessInfo : 1
Not starting debugger since process cannot load the jdwp agent.
DSS on for com.samsung.faceservice and scale is 1.0
The ClassLoaderContext is a special shared library.
The ClassLoaderContext is a special shared library.
[FaceService] onBind() called
[FaceService] release engines before initialize
create new instance
File : /data/user/0/com.samsung.faceservice/face/face_data
[SmartCropping v3.0] native version is 2018-12-03-01
[SmartCropping v2.0] DB path is /system/saiv/smartcropping_2.0/db
smart_cropping in srcb_Smartcrop_Init() : 497502633216 & its size is 8
SmartCropper Handle after srcb_Smartcrop_Init() : 497502633216 & its size is 8
long bytes num: 8
jlong bytes num: 8
filepathname: /system/saiv/smartcropping_2.0/db/.
filepathname: /system/saiv/smartcropping_2.0/db/..
filepathname: /system/saiv/smartcropping_2.0/db/smartcrop_saliency_deploy.prototxt
o_f_d loading start
o_f_d loading success
filepathname: /system/saiv/smartcropping_2.0/db/smartcrop_saliency_train
o_f_t loading start
o_f_t loading success
DB file count : 2
native init exit
SmartCropper Handle is 497502633216
SmartCropper Handle is 497502633216 & its size is 8
address(jlong): 497502633216
SAIV_HPRFACE_GAE_VERSION : 20170310
CGAEMain_success
GAE Init Success
DMC LMD ENGINE INIT 1.0.08 [Option-0/Profile-0]
DMC LMD ENGINE : ret 4096
Killing 26512:com.samsung.android.mobileservice/u0a362 (adj 906): empty #25
kill(-26512, 9) failed: No such process
uid=1000(system) ActivityManager identical 2 lines
kill(-26512, 9) failed: No such process
[#CMH#] Bound to Package  com.samsung.faceservice
kill(-26512, 9) failed: No such process
[#CMH#] Bound to Package  com.samsung.faceservice
uid=5004(vendor_cmhservice) com.samsung.cmh:CMH identical 9 lines
[#CMH#] Bound to Package  com.samsung.faceservice
kill(-26512, 9) failed: No such process
uid=1000(system) ActivityManager identical 11 lines
kill(-26512, 9) failed: No such process
Process 26512 exited due to signal (9)
kill(-26512, 9) failed: No such process
could not check pending caller
Successfully killed process cgroup uid 10362 pid 26512 in 103ms
handleMessage(): msg.what=8
unregisterAppUid(): uid=10362
unregisterAppUid(): caller UID doesn't match user UID
!@   8,0 r 31908517 1141853204 w 4630981 127172160 d 375337 76417588 f 1038405 1051884 iot 10543472 9044318 th 307200 0 0 pt 0 inp 0 0 229652.598
updateState: WifiIconState(resId=2131232632, visible=true, activityId=2131232638)
Remote logger timeout: 3
getWifiLinkLayerStats(l.2973) before calling iface.getLinkLayerStats
enter getLinkLayerStats
enter getLinkLayerStatsInternal
Successfully getLinkLayerStats.
getWifiLinkLayerStats(l.2973) after calling iface.getLinkLayerStats
checkScoreBasedQuality -  mPreviousScore[0]:87 mPreviousScore[1]:88 mPreviousScore[2]:88 s2Score:88mPrevoiusScoreAverage:87
Starting remote logger. Port: 30795
Saving the database
Skip saving CastDeviceInfo: "Nearby device" (__cast_nearby___V_a373b7e5-9a16-4521-aae2-385eaf1f041f)
[CastNetworkInfo] saved: 2, skipped: 0, [CastDeviceInfo]: saved 1, skipped 1, [Paired Guest Mode DeviceInfo] saved: 0, skipped: 0. [ProbedNetworks]: saved 0, skipped: 0, [ProbedSocketAddress]: saved 1, skipped: 0, [Network-Device pairs]: saved: 2
updateState: WifiIconState(resId=2131232632, visible=true, activityId=2131232637)
[#CMH#] nonJustShotRunningPossible pendingCount 0
[#CMH#] nonJustShotRunningPossible pendingCount 0
TrafficStats TxPkts=2355681 RxPkts=2850065 TxBytes=2163746113 RxBytes=2489526313 , Foreground uid=10264 pkgName=de.donmanfred.jcifsngex TxPackets=376915 RxPackets=391920 TxBytes=20232809 RxBytes=21263121
getWifiLinkLayerStats(l.2973) before calling iface.getLinkLayerStats
enter getLinkLayerStats
enter getLinkLayerStatsInternal
Successfully getLinkLayerStats.
getWifiLinkLayerStats(l.2973) after calling iface.getLinkLayerStats
checkScoreBasedQuality -  mPreviousScore[0]:88 mPreviousScore[1]:88 mPreviousScore[2]:88 s2Score:88mPrevoiusScoreAverage:88
SIOP:: AP:202(297,110) BAT:276(276,0) CHG:291(291,0) USB:273(273,0) PA:236(284,50) LRP:0(0,-999) ATC:0(0,-999)
!@   8,0 r 31908563 1141853932 w 4630996 127172332 d 375338 76417592 f 1038408 1051887 iot 10543500 9044335 th 307200 0 0 pt 0 inp 0 0 229657.602
onSignalStrengthsChanged signalStrength=SignalStrength: 99 99 -120 -160 -120 -160 -1 44 -93 -7 220 15 0 2147483647 99 255 2147483647 0x4000 P gsm|lte use_rsrp_and_rssnr_for_lte_level  [-128, -118, -108, -98] [-115, -105, -95, -85] level=4
getMobileIconGroup(): 13
isSIMandOperatorMatched simNumeric = 23430
TCP socket from 10.1.10.1/51140 to 51.104.136.2/443 ESTABLISHED loc 6238 rem 1026 SO_ERROR 104: Connection reset by peer
AudioPolicyManager:setRecordSilenced(uid:10276, silenced:1)
getAudioPolicyConfig: audioParam;outDevice
getNewOutputDevice() selected device 0
### curdevice : 2
canAccessScanResults: pkgName = com.sec.android.sdhms, uid = 1000
TrafficStats TxPkts=2355681 RxPkts=2850070 TxBytes=2163746113 RxBytes=2489526469 , Foreground uid=10264 pkgName=de.donmanfred.jcifsngex TxPackets=376915 RxPackets=391920 TxBytes=20232809 RxBytes=21263121
getWifiLinkLayerStats(l.2973) before calling iface.getLinkLayerStats
enter getLinkLayerStats
enter getLinkLayerStatsInternal
Successfully getLinkLayerStats.
getWifiLinkLayerStats(l.2973) after calling iface.getLinkLayerStats
checkScoreBasedQuality -  mPreviousScore[0]:88 mPreviousScore[1]:88 mPreviousScore[2]:88 s2Score:88mPrevoiusScoreAverage:88
notify() code: 614, msg: Address updated fdaa:bbcc:ddee:0:8e3e:3dfc:d0ab:73d2/64 wlan0 0 0
notify() code: 614, msg: Address updated fdaa:bbcc:ddee:0:3ce1:6046:f7a2:7c2e/64 wlan0 1 0
Interface wlan0 address updated
EpdgAddressUpdated: address: fdaa:bbcc:ddee:0:8e3e:3dfc:d0ab:73d2 iface: wlan0mFqdnRetryCount : 0
Interface wlan0 address updated
EpdgAddressUpdated: address: fdaa:bbcc:ddee:0:3ce1:6046:f7a2:7c2e iface: wlan0mFqdnRetryCount : 0
Expired : 8
Sending to uid : 1000 action=android.intent.action.TIME_TICK alarm=Alarm{85c082c type 3 when 614420826 android}
Sending to uid : 1001 action=com.android.internal.telephony.data-stall alarm=Alarm{25de88a type 3 when 614378133 com.android.phone}
Sending to uid : 10084 action=com.samsung.action.EVERY_MINUTE_CLOCK_UPDATE alarm=Alarm{3923efb type 1 when 1619604720000 com.sec.android.app.launcher}
setLocked to kernel - T:2 / 20210428T111209, SetElapsed=614430643, nowELAPSED=614420843
onReceive: com.samsung.action.EVERY_MINUTE_CLOCK_UPDATE
setExact Intent (T:3/F:1/AC:false) 20210428T111300 - CU:1000/CP:3910
setLocked to kernel - T:2 / 20210428T111209, SetElapsed=614430643, nowELAPSED=614420855
handleTimeUpdate
refreshTime() 1
setInexact Intent (T:1/F:0/AC:false) 20210428T111300 - CU:10084/CP:2627
setLocked to kernel - T:2 / 20210428T111209, SetElapsed=614430643, nowELAPSED=614420870
setInexact Intent (T:3/F:8/AC:false) 20210428T111300 - CU:1001/CP:14031
setLocked to kernel - T:2 / 20210428T111209, SetElapsed=614430643, nowELAPSED=614420881
refreshAlarmStatus() alarm is null
He is ready to ring the bell. (((timeText:11:12, skipUpdateForDemo:false, dateText:Wed 28 April)))
status_bar_clock notifyTimeChanged(currentTime:11:12) mClockVisibleByPolicy:true, mClockVisibleByUser:true, visible?true, parent:android.widget.LinearLayout{c9eeb69 V.E...... ......ID 0,0-123,72 #7f0a02df app:id/left_clock_container}
Everyone heard the bell. run(currentTime:1619604720059,   getTime():Wed Apr 28 11:12:00 GMT+01:00 2021,   getTimeZone():libcore.util.ZoneInfo[id="Europe/London",mRawOffset=0,mEarliestRawOffset=0,mUseDst=true,mDstSavings=3600000,transitions=242])
ADJUST STACK.TRANSLATION
uid=10005(com.samsung.android.app.aodservice) com.android.systemui identical 4 lines
ADJUST STACK.TRANSLATION
updateState: WifiIconState(resId=2131232632, visible=true, activityId=2131232638)
onSignalStrengthsChanged signalStrength=SignalStrength: 99 99 -120 -160 -120 -160 -1 46 -92 -8 200 15 0 2147483647 99 255 2147483647 0x4000 P gsm|lte use_rsrp_and_rssnr_for_lte_level  [-128, -118, -108, -98] [-115, -105, -95, -85] level=4
getMobileIconGroup(): 13
isSIMandOperatorMatched simNumeric = 23430
updateState: WifiIconState(resId=2131232632, visible=true, activityId=2131232637)
!@   8,0 r 31908578 1141854036 w 4631008 127172392 d 375338 76417592 f 1038409 1051888 iot 10543504 9044340 th 307200 0 0 pt 0 inp 0 0 229662.609
getWifiLinkLayerStats(l.2973) before calling iface.getLinkLayerStats
enter getLinkLayerStats
enter getLinkLayerStatsInternal
Successfully getLinkLayerStats.
getWifiLinkLayerStats(l.2973) after calling iface.getLinkLayerStats
checkScoreBasedQuality -  mPreviousScore[0]:88 mPreviousScore[1]:88 mPreviousScore[2]:88 s2Score:88mPrevoiusScoreAverage:88
TrafficStats TxPkts=2355682 RxPkts=2850100 TxBytes=2163746173 RxBytes=2489538651 , Foreground uid=10264 pkgName=de.donmanfred.jcifsngex TxPackets=376916 RxPackets=391920 TxBytes=20232869 RxBytes=21263121
onSignalStrengthsChanged signalStrength=SignalStrength: 99 99 -120 -160 -120 -160 -1 44 -93 -7 250 15 0 2147483647 99 255 2147483647 0x4000 P gsm|lte use_rsrp_and_rssnr_for_lte_level  [-128, -118, -108, -98] [-115, -105, -95, -85] level=4
getMobileIconGroup(): 13
isSIMandOperatorMatched simNumeric = 23430
!@Sync 7642 [2021-04-28 11:12:05.740] FD count : 769
getWifiLinkLayerStats(l.2973) before calling iface.getLinkLayerStats
enter getLinkLayerStats
enter getLinkLayerStatsInternal
Successfully getLinkLayerStats.
getWifiLinkLayerStats(l.2973) after calling iface.getLinkLayerStats
checkScoreBasedQuality -  mPreviousScore[0]:88 mPreviousScore[1]:88 mPreviousScore[2]:88 s2Score:87mPrevoiusScoreAverage:88
SIOP:: AP:199(295,110) BAT:276(276,0) CHG:290(290,0) USB:273(273,0) PA:235(282,50) LRP:0(0,-999) ATC:0(0,-999)
!@   8,0 r 31908578 1141854036 w 4631009 127172396 d 375338 76417592 f 1038409 1051888 iot 10543504 9044341 th 307200 0 0 pt 0 inp 0 0 229667.615
TrafficStats TxPkts=2355682 RxPkts=2850116 TxBytes=2163746173 RxBytes=2489544815 , Foreground uid=10264 pkgName=de.donmanfred.jcifsngex TxPackets=376916 RxPackets=391920 TxBytes=20232869 RxBytes=21263121
getAudioPolicyConfig: audioParam;outDevice
getNewOutputDevice() selected device 0
### curdevice : 2
getWifiLinkLayerStats(l.2973) before calling iface.getLinkLayerStats
enter getLinkLayerStats
enter getLinkLayerStatsInternal
Successfully getLinkLayerStats.
getWifiLinkLayerStats(l.2973) after calling iface.getLinkLayerStats
checkScoreBasedQuality -  mPreviousScore[0]:88 mPreviousScore[1]:88 mPreviousScore[2]:87 s2Score:87mPrevoiusScoreAverage:87
canAccessScanResults: pkgName = com.sec.android.sdhms, uid = 1000
Expired : 4
Sending to uid : 1000 listener=android.app.AlarmManager$ListenerWrapper@fb3fa94 alarm=Alarm{43a0356 type 2 when 614430643 android}
setLocked to kernel - T:2 / 20210428T111315, SetElapsed=614495905, nowELAPSED=614430645
setLocked to kernel - T:3 / 20210428T111239, SetElapsed=614460000, nowELAPSED=614430645
setExact Listener (T:2/F:0/AC:false) 20210428T111210 - CU:1000/CP:3910
setLocked to kernel - T:2 / 20210428T111210, SetElapsed=614431644, nowELAPSED=614430647
BarTender: pid : 27286 cached=true abnormal=false kill=false stay=false release=false
Expired : 4
Sending to uid : 1000 listener=android.app.AlarmManager$ListenerWrapper@43bcfd7 alarm=Alarm{e1530c4 type 2 when 614431018 android}
setLocked to kernel - T:2 / 20210428T111315, SetElapsed=614495905, nowELAPSED=614431651
setLocked to kernel - T:3 / 20210428T111239, SetElapsed=614460000, nowELAPSED=614431653
setExact Listener (T:2/F:0/AC:false) 20210428T111219 - CU:1000/CP:3910
setLocked to kernel - T:2 / 20210428T111219, SetElapsed=614440412, nowELAPSED=614431659
Backhaul result - RSSI:-45, CE:15, PE:15, TI:19, PTI:19, TW:0, PTW:0, Tx:0, Rx:2, TxS:0, RxS:0, RESULT:true, IC:3, ICT:5, WC:27, WCT:5, R:0, RC:0, IE:0, EC:0
[Check Backhaul]
setCurrentLinkProperties: lp={InterfaceName: wlan0 LinkAddresses: [fe80::4372:98cf:8ab1:f7f1/64,192.168.1.130/24,fdaa:bbcc:ddee:0:8e3e:3dfc:d0ab:73d2/64,fdaa:bbcc:ddee:0:3ce1:6046:f7a2:7c2e/64,]  Routes: [fe80::/64 -> :: wlan0,fe80::/64 -> fe80::8220:daff:fe7c:e98e wlan0,fdaa:bbcc:ddee::/64 -> fe80::8220:daff:fe7c:e98e wlan0,fdaa:bbcc:ddee::/64 -> :: wlan0,192.168.1.0/24 -> 0.0.0.0 wlan0,0.0.0.0/0 -> 192.168.1.1 wlan0,] DnsAddresses: [192.168.1.1,] UsePrivateDns: false PrivateDnsServerName: null Domains: lan MTU: 0 TcpBufferSizes: 524288,1048576,4194304,524288,1048576,4194304}
TrafficStats TxPkts=2355682 RxPkts=2850132 TxBytes=2163746173 RxBytes=2489551084 , Foreground uid=10264 pkgName=de.donmanfred.jcifsngex TxPackets=376916 RxPackets=391920 TxBytes=20232869 RxBytes=21263121
canAccessScanResults: pkgName = android, uid = 1000
#1 GW MAC address found in ARP table.1 msec.
[|219]
DNS resultType : 0, responseTime : 219
getWifiLinkLayerStats(l.2973) before calling iface.getLinkLayerStats
enter getLinkLayerStats
enter getLinkLayerStatsInternal
Successfully getLinkLayerStats.
getWifiLinkLayerStats(l.2973) after calling iface.getLinkLayerStats
checkScoreBasedQuality -  mPreviousScore[0]:88 mPreviousScore[1]:87 mPreviousScore[2]:87 s2Score:87mPrevoiusScoreAverage:87
updateState: WifiIconState(resId=2131232632, visible=true, activityId=2131232638)
SurfaceFlinger is stopped during 30001 ms, stop count=1
SFWD update time=229673235537032
Binding service Intent { cmp=com.samsung.android.smartmirroring/.tile.SmartMirroringTile (has extras) } UserHandle{0}
getExternalStorageMountMode : 1
getExternalStorageMountMode : 3
getExternalStorageMountMode : final mountMode=1, uid : 10367, packageName : com.samsung.android.smartmirroring
isApplicationExternalStorageWhitelisted:com.samsung.android.smartmirroring user:0
isApplicationExternalStorageWhitelisted: DO is not enabled on user 0. Allowed.
package  com.samsung.android.smartmirroring, user - 0 is SDcard whitelisted
isApplicationExternalStorageBlacklisted:com.samsung.android.smartmirroring user:0
isApplicationExternalStorageBlacklisted: DO is not enabled on user 0. Allowed.
isApplicationExternalStorageBlacklisted:com.samsung.android.smartmirroring user:0
isApplicationExternalStorageBlacklisted: DO is not enabled on user 0. Allowed.
onStartListening
handleUpdateState : hasPendingBind Smart View
handleUpdateState : hasPendingBind Smart View
onStopListening
Start proc 27561:com.samsung.android.smartmirroring/u0a367 for service com.samsung.android.smartmirroring/.tile.SmartMirroringTile
isWhitelistProcess - Process is Whitelisted
accessInfo : 1
Not starting debugger since process cannot load the jdwp agent.
DSS on for com.samsung.android.smartmirroring and scale is 1.0
AudioPolicyManager:setRecordSilenced(uid:10367, silenced:0)
handleMessage(): msg.what=8
updateState: WifiIconState(resId=2131232632, visible=true, activityId=2131232637)
The ClassLoaderContext is a special shared library.
The ClassLoaderContext is a special shared library.
onCreate
mContext: com.samsung.android.smartmirroring.SmartMirroringApplication@2f2c272
cf feature is supported
[Tracker] Tracker start:1.11.040
Bixby Supported:true
set stateListener for Bixby
Version Name:6.0.66
BixbyActionHandler
DeviceManager Constructor :
mContext: com.samsung.android.smartmirroring.SmartMirroringApplication@2f2c272
Adding route: RouteInfo{ name=Phone, description=null, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
getWifiDisplayStatusLocked: result=WifiDisplayStatus{featureState=2, scanState=0, activeDisplayState=0, activeDisplay=null, displays=[], sessionInfo=WifiDisplaySessionInfo:
    Client/Owner: Client
    GroupId:
    Passphrase:
    SessionId: 0
    IP Address: , connectedState=-1}
Adding route: RouteInfo{ name=Living Room TV, description=Chromecast, status=Available, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
Selecting route: RouteInfo{ name=Phone, description=null, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
BleAdapter Constructor
initialize, allShareFlag = [NONE]
getMessenger: uid=10367, binder=android.os.BinderProxy@b9e10e1, messenger=android.os.Messenger@f57d445
getWifiDisplayStatusLocked: result=WifiDisplayStatus{featureState=2, scanState=0, activeDisplayState=0, activeDisplay=null, displays=[], sessionInfo=WifiDisplaySessionInfo:
    Client/Owner: Client
    GroupId:
    Passphrase:
    SessionId: 0
    IP Address: , connectedState=-1}
InactiveState{ when=-3ms what=143376 target=com.android.internal.util.StateMachine$SmHandler }
P2pEnabledState{ when=-4ms what=143376 target=com.android.internal.util.StateMachine$SmHandler }
onCreate
onBind : mService = android.service.quicksettings.IQSService$Stub$Proxy@4afb6c, mTileToken = android.os.BinderProxy@a102535
onBind : mTile = android.service.quicksettings.Tile@342dca
onServiceConnected ComponentInfo{com.samsung.android.smartmirroring/com.samsung.android.smartmirroring.tile.SmartMirroringTile}
MSG_START_SUCCESS
getWifiLinkLayerStats(l.2973) before calling iface.getLinkLayerStats
enter getLinkLayerStats
enter getLinkLayerStatsInternal
Successfully getLinkLayerStats.
getWifiLinkLayerStats(l.2973) after calling iface.getLinkLayerStats
checkScoreBasedQuality -  mPreviousScore[0]:87 mPreviousScore[1]:87 mPreviousScore[2]:87 s2Score:87mPrevoiusScoreAverage:87
TrafficStats TxPkts=2355685 RxPkts=2850141 TxBytes=2163746541 RxBytes=2489552197 , Foreground uid=10264 pkgName=de.donmanfred.jcifsngex TxPackets=376916 RxPackets=391920 TxBytes=20232869 RxBytes=21263121
filterNetworkStateForUid() uid: 10024, pid: 26598
isNetworkWithLinkPropertiesBlocked: uid=10024, vpn=DISCONNECTED,false
filterNetworkStateForUid() uid: 10024, pid: 26598, networkInfo: [type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
contents_sample_state: [CONTACT contacts(154) data(2191) accounts({vnd.sec.contact.phone (1)=146, com.google (7)=153, com.whatsapp (16)=49, org.telegram.messenger (57)=7, vnd.sec.contact.sim (3)=2, com.samsung.android.coreapps (17)=8}) accounts deleted({}) calls([logtype:100 cnt:884, logtype:200 cnt:18, logtype:300 cnt:482, logtype:1000 cnt:38]) countryIso(GB) userId(0)  ]
contents_sample_state: [ agr({[7]=7, [7 ,16 ,57]=1, [1 ,7]=85, [7 ,16 ,57 ,57]=1, [1 ,3]=1, [1]=4, [1 ,1 ,7 ,7]=1, [1 ,7 ,16]=27, [1 ,1 ,7]=3, [57]=1, [1 ,7 ,16 ,57]=3, [1 ,1 ,7 ,7 ,16]=3, [1 ,1 ,1 ,7 ,7]=1, [7 ,16]=8, [1 ,1 ,7 ,3]=1, [1 ,7 ,17 ,17]=1, [1 ,7 ,17 ,16]=6})  ]
contents_sample_state: [ actCnt({android.process.acore(2945)=1})  ]
contents_sample_state: [PROFILE contacts(1) data(2) accounts({vnd.sec.contact.phone (1)=1})  ] [SAPROFILE contacts(1) data(10) accounts({vnd.sec.contact.phone (1)=1})  ]
contents_sample_state: [STORAGE Contacts(CE) Profile(CE) SAProfile(CE) CallLog(CE)  ]
SIOP:: AP:195(295,110) BAT:276(276,0) CHG:290(290,0) USB:273(273,0) PA:234(281,50) LRP:0(0,-999) ATC:0(0,-999)
!@   8,0 r 31908774 1141862168 w 4631015 127172496 d 375339 76417596 f 1038411 1051890 iot 10543572 9044389 th 307200 0 0 pt 0 inp 0 0 229677.627
contents_sample_state: [CONTACT contacts(0) data(0) accounts({}) accounts deleted({}) calls([]) countryIso(GB) userId(150)  ]
contents_sample_state: [ agr({})  ]
contents_sample_state: [ actCnt({})  ]
contents_sample_state: [PROFILE contacts(0) data(0) accounts({})  ] [SAPROFILE contacts(0) data(0) accounts({})  ]
contents_sample_state: [STORAGE Contacts(CE) Profile(CE) SAProfile(CE) CallLog(CE)  ]
getWifiLinkLayerStats(l.2973) before calling iface.getLinkLayerStats
enter getLinkLayerStats
enter getLinkLayerStatsInternal
Successfully getLinkLayerStats.
getWifiLinkLayerStats(l.2973) after calling iface.getLinkLayerStats
checkScoreBasedQuality -  mPreviousScore[0]:87 mPreviousScore[1]:87 mPreviousScore[2]:87 s2Score:87mPrevoiusScoreAverage:87
getAudioPolicyConfig: audioParam;outDevice
getNewOutputDevice() selected device 0
### curdevice : 2
canAccessScanResults: pkgName = com.sec.android.sdhms, uid = 1000
Expired : 4
Sending to uid : 1000 listener=android.app.AlarmManager$ListenerWrapper@f79abad alarm=Alarm{af5fe63 type 2 when 614440412 android}
setLocked to kernel - T:2 / 20210428T111315, SetElapsed=614495905, nowELAPSED=614440419
setLocked to kernel - T:3 / 20210428T111239, SetElapsed=614460000, nowELAPSED=614440420
setInexact Listener (T:2/F:0/AC:false) 20210428T111815 - CU:1000/CP:3910
setLocked to kernel - T:2 / 20210428T111315, SetElapsed=614495905, nowELAPSED=614440426
setLocked to kernel - T:3 / 20210428T111239, SetElapsed=614460000, nowELAPSED=614440426
TrafficStats TxPkts=2355688 RxPkts=2850147 TxBytes=2163746754 RxBytes=2489552394 , Foreground uid=10264 pkgName=de.donmanfred.jcifsngex TxPackets=376920 RxPackets=391926 TxBytes=20233542 RxBytes=21264628
updateState: WifiIconState(resId=2131232632, visible=true, activityId=2131232638)
A resource failed to call close.
FileName:testsharehello.txt
FileCreateTime:1619598002989
FileLastAccess:1619598208827
FileDate:1619598002989
SMBClient_ListFiles([smb://192.168.1.246/hello.txt])
FILE CanonicalPath = smb://192.168.1.246/testsharehello.txt (0)

When trying to access a share which doesn't require credentials. I see the following in the unfiltered log.
B4X:
Domain =
Username =
Password =
Share = smb://192.168.1.246/testshare
netId is 0
getNetworkForDns: getNetId from enterpriseCtrl is netid 0
DNSDBG::dns addrinfo af 0
SMBClient_Resource(true,OK,smb://192.168.1.246/testshare,smb://192.168.1.246/testshare)
SMBClient_Resource(smb://192.168.1.246/testshare, smb://192.168.1.246/testshare)
CanonicalPath = smb://192.168.1.246/testshare
CanonicalUncPath = smb://192.168.1.246/testshare
ListFiles2(res,"*.*")
start capture - drawingEnabled : false
capture targetView width : 1080 height : 2220
onSignalStrengthsChanged signalStrength=SignalStrength: 99 99 -120 -160 -120 -160 -1 43 -96 -9 230 15 0 2147483647 99 255 2147483647 0x4000 P gsm|lte use_rsrp_and_rssnr_for_lte_level  [-128, -118, -108, -98] [-115, -105, -95, -85] level=4
getMobileIconGroup(): 13
isSIMandOperatorMatched simNumeric = 23430
jcifs.smb.SmbAuthException: Access is denied.
    at jcifs.smb.SmbTransportImpl.checkStatus2(SmbTransportImpl.java:1410)
    at jcifs.smb.SmbTransportImpl.checkStatus(SmbTransportImpl.java:1552)
    at jcifs.smb.SmbTransportImpl.sendrecv(SmbTransportImpl.java:1007)
    at jcifs.smb.SmbTransportImpl.send(SmbTransportImpl.java:1523)
    at jcifs.smb.SmbSessionImpl.sessionSetupSMB2(SmbSessionImpl.java:549)
    at jcifs.smb.SmbSessionImpl.sessionSetup(SmbSessionImpl.java:483)
    at jcifs.smb.SmbSessionImpl.send(SmbSessionImpl.java:369)
    at jcifs.smb.SmbSessionImpl.send(SmbSessionImpl.java:347)
    at jcifs.smb.SmbTreeImpl.treeConnect(SmbTreeImpl.java:607)
    at jcifs.smb.SmbTreeConnection.connectTree(SmbTreeConnection.java:619)
    at jcifs.smb.SmbTreeConnection.connectHost(SmbTreeConnection.java:563)
    at jcifs.smb.SmbTreeConnection.connectHost(SmbTreeConnection.java:484)
    at jcifs.smb.SmbTreeConnection.connect(SmbTreeConnection.java:460)
    at jcifs.smb.SmbTreeConnection.connectWrapException(SmbTreeConnection.java:421)
    at jcifs.smb.SmbFile.ensureTreeConnected(SmbFile.java:551)
    at jcifs.smb.SmbEnumerationUtil.doEnum(SmbEnumerationUtil.java:225)
    at jcifs.smb.SmbEnumerationUtil.listFiles(SmbEnumerationUtil.java:283)
    at jcifs.smb.SmbFile.listFiles(SmbFile.java:1192)
    at de.donmanfred.SMBClientwrapper$11.run(SMBClientwrapper.java:445)
    at java.lang.Thread.run(Thread.java:764)
capture took  116
 
Last edited:
Top