IR emitter under CM10.1 - Galaxy S 4 Q&A, Help & Troubleshooting

The one thing that I am missing under CM10.1 is the Watch ON App to use the phone as a remote control.
As far as I know there is no API available in the Android SDK itself. This is an addition that Samsung has made.
Is the IR sensor already working under CM10.1 and how could it be used? The kernel initializes several serial interfaces during boot up. Is the IR sensor one of them?

please post in Q&A

You are right. Can someone move it please or shall I open a new thread?
Gesendet von meinem GT-I9505 mit Tapatalk 2

Without being picky, it should be IR Emitter and not sensor. Just so people do not get the wrong end of the stick.

Thread moved

I finally managed to send an IR code to my Samsung TV. It is only possible with root though, but I would hope that Google is creating a System Service for this since they will release AOSP for the S4.
Here is how I did it:
The code need to be written to /sys/class/sec/sec_ir
The strings to write can be easily converted from the Pronto format.
Example to power off Samsung TV:
pronto
Device Code: 7.7 Function: 152
0000 006D 0000 0022 00AC 00AB 0015 0041 0015 0041 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0016 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0016 0015 0041 0015 0041 0015 0016 0015 0689
0000 -> not needed
006D -> convert to decimal first 109
Now use this formula
1000000/(109 * .241246) = 38000 rounded
Next 2 words 0000 0022 not needed
Now simply convert the other numbers to decimal and replace all spaces with commas.
From the command as root run the following:
echo "38000,172,171,21,65,21,65,21,65,21,22,21,22,21,22,21,22,21,22,21,65,21,65,21,65,21,22,21,22,21,22,21,22,21,22,21,22,21,22,21,22,21,65,21,65,21,22,21,22,21,65,21,65,21,65,21,65,21,22,21,22,21,65,21,65,21,22,21,1673" > /sys/class/sec/sec_ir/ir_send
Gesendet von meinem GT-I9505 mit Tapatalk 2

vogli said:
I finally managed to send an IR code to my Samsung TV. It is only possible with root though, but I would hope that Google is creating a System Service for this since they will release AOSP for the S4.
Here is how I did it:
The code need to be written to /sys/class/sec/sec_ir
The strings to write can be easily converted from the Pronto format.
Example to power off Samsung TV:
pronto
Device Code: 7.7 Function: 152
0000 006D 0000 0022 00AC 00AB 0015 0041 0015 0041 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0016 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0016 0015 0041 0015 0041 0015 0016 0015 0689
0000 -> not needed
006D -> convert to decimal first 109
Now use this formula
1000000/(109 * .241246) = 38000 rounded
Next 2 words 0000 0022 not needed
Now simply convert the other numbers to decimal and replace all spaces with commas.
From the command as root run the following:
echo "38000,172,171,21,65,21,65,21,65,21,22,21,22,21,22,21,22,21,22,21,65,21,65,21,65,21,22,21,22,21,22,21,22,21,22,21,22,21,22,21,22,21,65,21,65,21,22,21,22,21,65,21,65,21,65,21,65,21,22,21,22,21,65,21,65,21,22,21,1673" > /sys/class/sec/sec_ir/ir_send
Gesendet von meinem GT-I9505 mit Tapatalk 2
Click to expand...
Click to collapse
You might want to take a look at the Note 10.1 CM10.1 thread - someone made some progress with the IR sender there, but stopped at figuring out how to create a system service that matches Samsung's. (the N80xx maintainers are too burned out to bother.)

OK, I finally managed Tod implement a system service that seems to be compatible with the one from Samsung. I was able to use Smart Remote from the Play Store and also icontrol from XDA.
I have tested it with several devices.
Now I have the problem that I would like to contribute this to the CyanogenMod project, but I an not quite sure how to do this. The issue is that obviously not all devices have an IR emitter and I do not know where exactly I should implement the code. Maybe I will just clean up my code and upload it. Hopefully someone will then lead me in the right direction.
Gesendet von meinem GT-I9505 mit Tapatalk 2

Related

[Q] Vplayer for android

Did any one tried Vplayer ( http://www.appbrain.com/app/vplayer-alpha/me.abitno.vplayer ) on cyanogen mod... When i try to install .. after accepting the permission it says installation failed ..
This is the LOG that i got
Code:
10-16 17:57:07.470: INFO/ActivityManager(743): Start proc com.android.packageinstaller for activity com.android.packageinstaller/.PackageInstallerActivity: pid=14692 uid=10034 gids={}
10-16 17:57:07.610: DEBUG/dalvikvm(736): GC_EXPLICIT freed 268 objects / 10160 bytes in 149ms
10-16 17:57:07.730: WARN/PackageParser(14692): No actions in intent filter at /sdcard/download/VPlayer-0.7.7a1.apk Binary XML file line #22
10-16 17:57:07.750: WARN/PackageParser(14692): No actions in intent filter at /sdcard/download/VPlayer-0.7.7a1.apk Binary XML file line #43
10-16 17:57:07.810: DEBUG/dalvikvm(736): GC_EXPLICIT freed 42 objects / 1808 bytes in 160ms
10-16 17:57:07.930: DEBUG/dalvikvm(736): GC_EXPLICIT freed 2 objects / 48 bytes in 110ms
10-16 17:57:08.020: INFO/ActivityManager(743): Displayed activity com.android.packageinstaller/.PackageInstallerActivity: 568 ms (total 568 ms)
10-16 17:57:11.220: INFO/ActivityManager(743): Starting activity: Intent { dat=file:///sdcard/download/VPlayer-0.7.7a1.apk cmp=com.android.packageinstaller/.InstallAppProgress (has extras) }
10-16 17:57:11.360: INFO/ActivityManager(743): Start proc com.android.defcontainer for service com.android.defcontainer/.DefaultContainerService: pid=14699 uid=10018 gids={1015, 2001}
10-16 17:57:11.640: INFO/ActivityManager(743): Displayed activity com.android.packageinstaller/.InstallAppProgress: 376 ms (total 376 ms)
10-16 17:57:11.730: DEBUG/dalvikvm(14699): GC_EXPLICIT freed 609 objects / 49520 bytes in 113ms
10-16 17:57:16.770: DEBUG/dalvikvm(10446): GC_EXPLICIT freed 127 objects / 5536 bytes in 126ms
10-16 17:57:17.780: INFO/ActivityManager(743): No longer want com.agilesoftresource (pid 13959): hidden #16
10-16 17:57:17.800: DEBUG/PackageParser(743): Scanning package: /data/app/vmdl22181.tmp
10-16 17:57:17.800: WARN/PackageParser(743): No actions in intent filter at /data/app/vmdl22181.tmp Binary XML file line #22
10-16 17:57:17.810: WARN/PackageParser(743): No actions in intent filter at /data/app/vmdl22181.tmp Binary XML file line #43
10-16 17:57:18.690: DEBUG/PackageManager(743): Scanning package me.abitno.vplayer
10-16 17:57:18.700: INFO/PackageManager(743): /data/app/me.abitno.vplayer-1.apk changed; unpacking
10-16 17:57:18.700: ERROR/PackageManager(743): Package me.abitno.vplayer has mismatched uid: 10165 on disk, 10169 in settings
10-16 17:57:18.730: WARN/PackageManager(743): Native ABI mismatch from package file
10-16 17:57:18.730: WARN/PackageManager(743): Package couldn't be installed in /data/app/me.abitno.vplayer-1.apk
Please help ...
It's an alpha release. Don't expect it to work flawlessly.
Sent from my HTC Legend using XDA App
ananthm2k5 said:
It's an alpha release. Don't expect it to work flawlessly.
Sent from my HTC Legend using XDA App
Click to expand...
Click to collapse
But its not even allowing to install ... What can be the problem then .. please see the log there .. it says something about userid ... i am confused ..
http://forum.xda-developers.com/showpost.php?p=8632971&postcount=32
Legend not supported yet
I can't get it to install either on MyTouch Slide. I'm also running CM6. The app doesnt show up in the market for me either.
evilgold said:
I can't get it to install either on MyTouch Slide. I'm also running CM6. The app doesnt show up in the market for me either.
Click to expand...
Click to collapse
Author says that you need a CPU which has neon support ( http://www.arm.com/products/processors/technologies/neon.php )
If I understant that correctly, armv6 (hero, legend etc) doesn't have it.
I think that you need: snapdragon (armv7), cortex A8 (armv7?) or TI OMAP cpu...
EDIT: mytouch slide has the "600 Mhz Qualcomm MSM7227 processor" (same as legend's) which is armv6, so no support yet for your phone too

Axon 7 screen blinking problem

My Axon 7 is having screen blinking problem every 5 seconds.
This happens when i first turned off the screen and turned it back on, or if the screen is locked and i unlocked it.
BTW, i cleaned the cache partition and tried many version of Axon releases. The problem persists.
I managed to get some logs from the phone, can you tell if this is a software issue or hardware issue from the log?
10-16 14:22:15.539 610 701 I SDM : HWCSession::HWCUeventThreadHandler: Uevent FB0 = [email protected]/devices/virtual/graphics/fb0
10-16 14:22:15.549 610 610 W SDM : HWCSession:repare: panel is in bad state, resetting the panel
10-16 14:22:15.549 610 610 I SDM : HWCSession::ResetPanel: Powering off primary
10-16 14:22:15.549 610 610 I SDM : HWCDisplay::SetPowerMode: display = 0, mode = 0
10-16 14:22:15.549 610 610 I SDM : DisplayBase::SetDisplayState: Set state = 0, display 0
10-16 14:22:15.549 914 914 D FingerGoodix: sig handle, signo:29, sem_value:0
10-16 14:22:15.549 914 1105 D FingerGoodix: sig_handler_loop(), screen mode = 1, fp mode=2, enable=1
10-16 14:22:15.549 914 1105 D FingerGoodix: don't change mode from SLEEP to SLEEP.
10-16 14:22:15.549 914 1105 D FingerGoodix: delete timer: 0x0
10-16 14:22:15.839 610 610 I SDM : HWCSession::ResetPanel: Restoring power mode on primary
10-16 14:22:15.839 610 610 I SDM : HWCDisplay::SetPowerMode: display = 0, mode = 2
10-16 14:22:15.839 610 610 I SDM : DisplayBase::SetDisplayState: Set state = 1, display 0
10-16 14:22:15.839 914 914 D FingerGoodix: sig handle, signo:29, sem_value:0
10-16 14:22:15.839 914 1105 D FingerGoodix: sig_handler_loop(), screen mode = 0, fp mode=2, enable=1
10-16 14:22:15.839 914 1105 D FingerGoodix: RECOVERY last mode from FF mode.
10-16 14:22:15.839 914 1105 D FingerGoodix: change mode to 2 and start timer.
10-16 14:22:15.869 2092 2092 D MSimNetworkControllerImpl: onReceive action = android.net.wifi.RSSI_CHANGED
10-16 14:22:15.869 2092 2092 D MSimNetworkControllerImpl: updateWifiState()
10-16 14:22:15.869 2261 2261 D PhoneApp: - subId: 2147483643, action: android.net.wifi.RSSI_CHANGED
10-16 14:22:15.869 2261 2261 D PhoneApp: persist.sys.wificall.ready = no
10-16 14:22:15.869 2092 2092 D MSimNetworkControllerImpl: updateWifiState() mWifiEnabled:true ,mWifiConnected:true
10-16 14:22:15.879 2092 2092 D MSimNetworkControllerImpl: checkNetState() nc:[ Transports: WIFI Capabilities: NOT_METERED&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&VALIDATED&FOREGROUND LinkUpBandwidth>=1048576Kbps LinkDnBandwidth>=1048576Kbps SignalStrength: -66] ,isAbleToInternet:true
10-16 14:22:15.879 2092 2092 D MSimNetworkControllerImpl: refreshViews [0] isWifiStrengthChanged:false ,isAirplaneModeChanged:false ,isPhoneStrengthChanged:false ,isPhoneTypeChanged:false ,isPhoneActivityChanged:false ,isWifiActivityChangedfalse ,isNoSimChanged:false
10-16 14:22:15.879 2092 2092 D MSimNetworkControllerImpl: refreshViews [1] isWifiStrengthChanged:false ,isAirplaneModeChanged:false ,isPhoneStrengthChanged:false ,isPhoneTypeChanged:false ,isPhoneActivityChanged:false ,isWifiActivityChangedfalse ,isNoSimChanged:false
10-16 14:22:15.879 2261 2261 D Telephony WFC: mReceiver: RSSI_CHANGED_ACTION
10-16 14:22:15.879 1394 1489 D CompatibilityInfo: mCompatibilityFlags - 0
10-16 14:22:15.879 1394 1489 D CompatibilityInfo: applicationDensity - 640
10-16 14:22:15.879 1394 1489 D CompatibilityInfo: applicationScale - 1.0
10-16 14:22:15.879 4662 4662 D WifiCallingStatusContral: getMccMnc: sub= 2147483643 mccmnc=
10-16 14:22:15.879 4662 4662 D WifiCallingStatusContral: mccmnc:
10-16 14:22:15.879 4662 4662 E WifiCallingStatusContral: mccmnc?: is card availabe?: false
10-16 14:22:15.879 4662 4662 I WifiCallingStatusContral: ltw--OperatorWifiCallEnabled=false--strReady=no
10-16 14:22:15.879 4662 4662 D WifiCallingStatusContral: not support wfc
10-16 14:22:15.879 1394 1476 V Telecom : Logging: START_SESSION: [email protected]
10-16 14:22:15.879 1394 1476 V Telecom : Logging: END_SUBSESSION (dur: 1 mS): [email protected]
10-16 14:22:15.879 1394 1476 V Telecom : Logging: END_SESSION (dur: 1 ms): [email protected]
10-16 14:22:15.879 1394 2847 V Telecom : Logging: START_SESSION: [email protected]
10-16 14:22:15.879 1394 2847 V Telecom : Logging: END_SUBSESSION (dur: 0 mS): [email protected]
10-16 14:22:15.879 1394 2847 V Telecom : Logging: END_SESSION (dur: 0 ms): [email protected]
10-16 14:22:16.859 890 890 I cnss-daemon: RTM_NEWNEIGH message received: 28
10-16 14:22:16.859 890 890 I cnss-daemon: NDA_DST received: 192.168.1.1 ul: 562992919980224
10-16 14:22:16.859 890 890 I cnss-daemon: NDA_LLADDR received
10-16 14:22:16.859 890 890 E cnss-daemon: gateway mac address: %02x:%02x:%02x:%02x:%02x:%02x
10-16 14:22:16.859 890 890 E cnss-daemon: : 00:00:00:00:00:00
10-16 14:22:16.859 890 890 E cnss-daemon: Invalid mac address: 0x555555f110M
10-16 14:22:18.899 2092 2092 D MSimNetworkControllerImpl: onReceive action = android.net.wifi.RSSI_CHANGED
10-16 14:22:18.899 2092 2092 D MSimNetworkControllerImpl: updateWifiState()
10-16 14:22:18.899 2092 2092 D MSimNetworkControllerImpl: updateWifiState() mWifiEnabled:true ,mWifiConnected:true
10-16 14:22:18.899 2261 2261 D PhoneApp: - subId: 2147483643, action: android.net.wifi.RSSI_CHANGED
10-16 14:22:18.909 2261 2261 D PhoneApp: persist.sys.wificall.ready = no
10-16 14:22:18.909 1394 1489 D CompatibilityInfo: mCompatibilityFlags - 0
10-16 14:22:18.909 1394 1489 D CompatibilityInfo: applicationDensity - 640
10-16 14:22:18.909 1394 1489 D CompatibilityInfo: applicationScale - 1.0
10-16 14:22:18.909 2092 2092 D MSimNetworkControllerImpl: checkNetState() nc:[ Transports: WIFI Capabilities: NOT_METERED&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&VALIDATED&FOREGROUND LinkUpBandwidth>=1048576Kbps LinkDnBandwidth>=1048576Kbps SignalStrength: -66] ,isAbleToInternet:true
10-16 14:22:18.909 2092 2092 D MSimNetworkControllerImpl: refreshViews [0] isWifiStrengthChanged:false ,isAirplaneModeChanged:false ,isPhoneStrengthChanged:false ,isPhoneTypeChanged:false ,isPhoneActivityChanged:false ,isWifiActivityChangedfalse ,isNoSimChanged:false
10-16 14:22:18.909 2092 2092 D MSimNetworkControllerImpl: refreshViews [1] isWifiStrengthChanged:false ,isAirplaneModeChanged:false ,isPhoneStrengthChanged:false ,isPhoneTypeChanged:false ,isPhoneActivityChanged:false ,isWifiActivityChangedfalse ,isNoSimChanged:false
10-16 14:22:18.909 2261 2261 D Telephony WFC: mReceiver: RSSI_CHANGED_ACTION
10-16 14:22:18.909 4662 4662 D WifiCallingStatusContral: getMccMnc: sub= 2147483643 mccmnc=
10-16 14:22:18.909 4662 4662 D WifiCallingStatusContral: mccmnc:
10-16 14:22:18.909 4662 4662 E WifiCallingStatusContral: mccmnc?: is card availabe?: false
10-16 14:22:18.909 4662 4662 I WifiCallingStatusContral: ltw--OperatorWifiCallEnabled=false--strReady=no
10-16 14:22:18.909 4662 4662 D WifiCallingStatusContral: not support wfc
10-16 14:22:18.909 1394 1477 V Telecom : Logging: START_SESSION: [email protected]
10-16 14:22:18.909 1394 1477 V Telecom : Logging: END_SUBSESSION (dur: 0 mS): [email protected]
10-16 14:22:18.909 1394 1477 V Telecom : Logging: END_SESSION (dur: 1 ms): [email protected]
10-16 14:22:18.909 1394 2846 V Telecom : Logging: START_SESSION: [email protected]
10-16 14:22:18.909 1394 2846 V Telecom : Logging: END_SUBSESSION (dur: 1 mS): [email protected]
10-16 14:22:18.909 1394 2846 V Telecom : Logging: END_SESSION (dur: 1 ms): [email protected]
10-16 14:22:19.039 2092 2092 D MSimNetworkControllerImpl: handleMessage what:1
10-16 14:22:19.039 2092 2092 D MSimNetworkControllerImpl: refreshViews [0] isWifiStrengthChanged:false ,isAirplaneModeChanged:false ,isPhoneStrengthChanged:false ,isPhoneTypeChanged:false ,isPhoneActivityChanged:false ,isWifiActivityChangedtrue ,isNoSimChanged:false
10-16 14:22:19.039 2092 2092 D MSimNetworkControllerImpl: refreshSignalCluster [0] mWifiEnabled:true ,mAirplaneMode:false ,phoneStrength:com.android.systemui:drawable/stat_sys_signal_null ,phoneTypenull) ,phoneActivitynull) ,mMsimNoSimIcon:com.android.systemui:drawable/stat_sys_no_sim
10-16 14:22:19.039 2092 2092 D MSimSignalClusterView: setMobileDataIndicators strengthIcon:2130840668
10-16 14:22:19.039 2092 2092 D MSimSignalClusterView: showWhich() visible[0]:0 ,visible[1]:8
10-16 14:22:19.039 2092 2092 D MSimNetworkControllerImpl: refreshSignalCluster [0] mWifiEnabled:true ,mAirplaneMode:false ,phoneStrength:com.android.systemui:drawable/stat_sys_signal_null ,phoneTypenull) ,phoneActivitynull) ,mMsimNoSimIcon:com.android.systemui:drawable/stat_sys_no_sim
10-16 14:22:19.039 2092 2092 D MSimSignalClusterView: setMobileDataIndicators strengthIcon:2130840668
10-16 14:22:19.039 2092 2092 D MSimSignalClusterView: showWhich() visible[0]:0 ,visible[1]:8
10-16 14:22:19.039 2092 2092 D StackScroller: updateTopPadding qsHeigh=737.0,animate=false,ignoreIntrinsicPadding=false
10-16 14:22:19.039 2092 2092 D StackScroller: setExpandedHeight height = 0.0
10-16 14:22:19.039 2092 2092 D PanelView: height = 737.0
10-16 14:22:19.039 2092 2092 D StackScroller: updateTopPadding qsHeigh=737.0,animate=false,ignoreIntrinsicPadding=false
10-16 14:22:19.039 2092 2092 D StackScroller: setExpandedHeight height = 0.0
10-16 14:22:19.049 2092 2092 D StackScroller: setExpandedHeight height = 0.0
10-16 14:22:20.039 2092 2092 D MSimNetworkControllerImpl: handleMessage what:1
10-16 14:22:20.039 2092 2092 D MSimNetworkControllerImpl: refreshViews [0] isWifiStrengthChanged:false ,isAirplaneModeChanged:false ,isPhoneStrengthChanged:false ,isPhoneTypeChanged:false ,isPhoneActivityChanged:false ,isWifiActivityChangedtrue ,isNoSimChanged:false
10-16 14:22:20.039 2092 2092 D MSimNetworkControllerImpl: refreshSignalCluster [0] mWifiEnabled:true ,mAirplaneMode:false ,phoneStrength:com.android.systemui:drawable/stat_sys_signal_null ,phoneTypenull) ,phoneActivitynull) ,mMsimNoSimIcon:com.android.systemui:drawable/stat_sys_no_sim
10-16 14:22:20.039 2092 2092 D MSimSignalClusterView: setMobileDataIndicators strengthIcon:2130840668
10-16 14:22:20.039 2092 2092 D MSimSignalClusterView: showWhich() visible[0]:0 ,visible[1]:8
10-16 14:22:20.039 2092 2092 D MSimNetworkControllerImpl: refreshSignalCluster [0] mWifiEnabled:true ,mAirplaneMode:false ,phoneStrength:com.android.systemui:drawable/stat_sys_signal_null ,phoneTypenull) ,phoneActivitynull) ,mMsimNoSimIcon:com.android.systemui:drawable/stat_sys_no_sim
10-16 14:22:20.039 2092 2092 D MSimSignalClusterView: setMobileDataIndicators strengthIcon:2130840668
10-16 14:22:20.039 2092 2092 D MSimSignalClusterView: showWhich() visible[0]:0 ,visible[1]:8
10-16 14:22:20.059 2092 2092 D StackScroller: updateTopPadding qsHeigh=737.0,animate=false,ignoreIntrinsicPadding=false
10-16 14:22:20.059 2092 2092 D StackScroller: setExpandedHeight height = 0.0
10-16 14:22:20.059 2092 2092 D PanelView: height = 737.0
10-16 14:22:20.059 2092 2092 D StackScroller: updateTopPadding qsHeigh=737.0,animate=false,ignoreIntrinsicPadding=false
10-16 14:22:20.059 2092 2092 D StackScroller: setExpandedHeight height = 0.0
10-16 14:22:20.059 2092 2092 D StackScroller: setExpandedHeight height = 0.0
10-16 14:22:21.109 610 701 I SDM : HWCSession::HWCUeventThreadHandler: Uevent FB0 = [email protected]/devices/virtual/graphics/fb0
10-16 14:22:21.109 610 610 W SDM : HWCSession:repare: panel is in bad state, resetting the panel
10-16 14:22:21.109 610 610 I SDM : HWCSession::ResetPanel: Powering off primary
10-16 14:22:21.109 610 610 I SDM : HWCDisplay::SetPowerMode: display = 0, mode = 0
10-16 14:22:21.109 610 610 I SDM : DisplayBase::SetDisplayState: Set state = 0, display 0
10-16 14:22:21.109 914 914 D FingerGoodix: sig handle, signo:29, sem_value:0
10-16 14:22:21.109 914 1105 D FingerGoodix: sig_handler_loop(), screen mode = 1, fp mode=2, enable=1
10-16 14:22:21.109 914 1105 D FingerGoodix: don't change mode from SLEEP to SLEEP.
10-16 14:22:21.109 914 1105 D FingerGoodix: delete timer: 0x0
10-16 14:22:21.409 610 610 I SDM : HWCSession::ResetPanel: Restoring power mode on primary
10-16 14:22:21.409 610 610 I SDM : HWCDisplay::SetPowerMode: display = 0, mode = 2
10-16 14:22:21.409 610 610 I SDM : DisplayBase::SetDisplayState: Set state = 1, display 0
10-16 14:22:21.409 914 914 D FingerGoodix: sig handle, signo:29, sem_value:0
10-16 14:22:21.409 914 1105 D FingerGoodix: sig_handler_loop(), screen mode = 0, fp mode=2, enable=1
10-16 14:22:21.409 914 1105 D FingerGoodix: RECOVERY last mode from FF mode.
10-16 14:22:21.409 914 1105 D FingerGoodix: change mode to 2 and start timer.
Any thoughts? Is there an work around to the problem? Thanks.
wchen55 said:
My Axon 7 is having screen blinking problem every 5 seconds.
This happens when i first turned off the screen and turned it back on, or if the screen is locked and i unlocked it.
BTW, i cleaned the cache partition and tried many version of Axon releases. The problem persists.
I managed to get some logs from the phone, can you tell if this is a software issue or hardware issue from the log?
10-16 14:22:15.539 610 701 I SDM : HWCSession::HWCUeventThreadHandler: Uevent FB0 = [email protected]/devices/virtual/graphics/fb0
10-16 14:22:15.549 610 610 W SDM : HWCSession:repare: panel is in bad state, resetting the panel
10-16 14:22:15.549 610 610 I SDM : HWCSession::ResetPanel: Powering off primary
10-16 14:22:15.549 610 610 I SDM : HWCDisplay::SetPowerMode: display = 0, mode = 0
10-16 14:22:15.549 610 610 I SDM : DisplayBase::SetDisplayState: Set state = 0, display 0
10-16 14:22:15.549 914 914 D FingerGoodix: sig handle, signo:29, sem_value:0
10-16 14:22:15.549 914 1105 D FingerGoodix: sig_handler_loop(), screen mode = 1, fp mode=2, enable=1
10-16 14:22:15.549 914 1105 D FingerGoodix: don't change mode from SLEEP to SLEEP.
10-16 14:22:15.549 914 1105 D FingerGoodix: delete timer: 0x0
10-16 14:22:15.839 610 610 I SDM : HWCSession::ResetPanel: Restoring power mode on primary
10-16 14:22:15.839 610 610 I SDM : HWCDisplay::SetPowerMode: display = 0, mode = 2
10-16 14:22:15.839 610 610 I SDM : DisplayBase::SetDisplayState: Set state = 1, display 0
10-16 14:22:15.839 914 914 D FingerGoodix: sig handle, signo:29, sem_value:0
10-16 14:22:15.839 914 1105 D FingerGoodix: sig_handler_loop(), screen mode = 0, fp mode=2, enable=1
10-16 14:22:15.839 914 1105 D FingerGoodix: RECOVERY last mode from FF mode.
10-16 14:22:15.839 914 1105 D FingerGoodix: change mode to 2 and start timer.
10-16 14:22:15.869 2092 2092 D MSimNetworkControllerImpl: onReceive action = android.net.wifi.RSSI_CHANGED
10-16 14:22:15.869 2092 2092 D MSimNetworkControllerImpl: updateWifiState()
10-16 14:22:15.869 2261 2261 D PhoneApp: - subId: 2147483643, action: android.net.wifi.RSSI_CHANGED
10-16 14:22:15.869 2261 2261 D PhoneApp: persist.sys.wificall.ready = no
10-16 14:22:15.869 2092 2092 D MSimNetworkControllerImpl: updateWifiState() mWifiEnabled:true ,mWifiConnected:true
10-16 14:22:15.879 2092 2092 D MSimNetworkControllerImpl: checkNetState() nc:[ Transports: WIFI Capabilities: NOT_METERED&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&VALIDATED&FOREGROUND LinkUpBandwidth>=1048576Kbps LinkDnBandwidth>=1048576Kbps SignalStrength: -66] ,isAbleToInternet:true
10-16 14:22:15.879 2092 2092 D MSimNetworkControllerImpl: refreshViews [0] isWifiStrengthChanged:false ,isAirplaneModeChanged:false ,isPhoneStrengthChanged:false ,isPhoneTypeChanged:false ,isPhoneActivityChanged:false ,isWifiActivityChangedfalse ,isNoSimChanged:false
10-16 14:22:15.879 2092 2092 D MSimNetworkControllerImpl: refreshViews [1] isWifiStrengthChanged:false ,isAirplaneModeChanged:false ,isPhoneStrengthChanged:false ,isPhoneTypeChanged:false ,isPhoneActivityChanged:false ,isWifiActivityChangedfalse ,isNoSimChanged:false
10-16 14:22:15.879 2261 2261 D Telephony WFC: mReceiver: RSSI_CHANGED_ACTION
10-16 14:22:15.879 1394 1489 D CompatibilityInfo: mCompatibilityFlags - 0
10-16 14:22:15.879 1394 1489 D CompatibilityInfo: applicationDensity - 640
10-16 14:22:15.879 1394 1489 D CompatibilityInfo: applicationScale - 1.0
10-16 14:22:15.879 4662 4662 D WifiCallingStatusContral: getMccMnc: sub= 2147483643 mccmnc=
10-16 14:22:15.879 4662 4662 D WifiCallingStatusContral: mccmnc:
10-16 14:22:15.879 4662 4662 E WifiCallingStatusContral: mccmnc?: is card availabe?: false
10-16 14:22:15.879 4662 4662 I WifiCallingStatusContral: ltw--OperatorWifiCallEnabled=false--strReady=no
10-16 14:22:15.879 4662 4662 D WifiCallingStatusContral: not support wfc
10-16 14:22:15.879 1394 1476 V Telecom : Logging: START_SESSION: [email protected]
10-16 14:22:15.879 1394 1476 V Telecom : Logging: END_SUBSESSION (dur: 1 mS): [email protected]
10-16 14:22:15.879 1394 1476 V Telecom : Logging: END_SESSION (dur: 1 ms): [email protected]
10-16 14:22:15.879 1394 2847 V Telecom : Logging: START_SESSION: [email protected]
10-16 14:22:15.879 1394 2847 V Telecom : Logging: END_SUBSESSION (dur: 0 mS): [email protected]
10-16 14:22:15.879 1394 2847 V Telecom : Logging: END_SESSION (dur: 0 ms): TSI.getCallState[email protected]
10-16 14:22:16.859 890 890 I cnss-daemon: RTM_NEWNEIGH message received: 28
10-16 14:22:16.859 890 890 I cnss-daemon: NDA_DST received: 192.168.1.1 ul: 562992919980224
10-16 14:22:16.859 890 890 I cnss-daemon: NDA_LLADDR received
10-16 14:22:16.859 890 890 E cnss-daemon: gateway mac address: %02x:%02x:%02x:%02x:%02x:%02x
10-16 14:22:16.859 890 890 E cnss-daemon: : 00:00:00:00:00:00
10-16 14:22:16.859 890 890 E cnss-daemon: Invalid mac address: 0x555555f110M
10-16 14:22:18.899 2092 2092 D MSimNetworkControllerImpl: onReceive action = android.net.wifi.RSSI_CHANGED
10-16 14:22:18.899 2092 2092 D MSimNetworkControllerImpl: updateWifiState()
10-16 14:22:18.899 2092 2092 D MSimNetworkControllerImpl: updateWifiState() mWifiEnabled:true ,mWifiConnected:true
10-16 14:22:18.899 2261 2261 D PhoneApp: - subId: 2147483643, action: android.net.wifi.RSSI_CHANGED
10-16 14:22:18.909 2261 2261 D PhoneApp: persist.sys.wificall.ready = no
10-16 14:22:18.909 1394 1489 D CompatibilityInfo: mCompatibilityFlags - 0
10-16 14:22:18.909 1394 1489 D CompatibilityInfo: applicationDensity - 640
10-16 14:22:18.909 1394 1489 D CompatibilityInfo: applicationScale - 1.0
10-16 14:22:18.909 2092 2092 D MSimNetworkControllerImpl: checkNetState() nc:[ Transports: WIFI Capabilities: NOT_METERED&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&VALIDATED&FOREGROUND LinkUpBandwidth>=1048576Kbps LinkDnBandwidth>=1048576Kbps SignalStrength: -66] ,isAbleToInternet:true
10-16 14:22:18.909 2092 2092 D MSimNetworkControllerImpl: refreshViews [0] isWifiStrengthChanged:false ,isAirplaneModeChanged:false ,isPhoneStrengthChanged:false ,isPhoneTypeChanged:false ,isPhoneActivityChanged:false ,isWifiActivityChangedfalse ,isNoSimChanged:false
10-16 14:22:18.909 2092 2092 D MSimNetworkControllerImpl: refreshViews [1] isWifiStrengthChanged:false ,isAirplaneModeChanged:false ,isPhoneStrengthChanged:false ,isPhoneTypeChanged:false ,isPhoneActivityChanged:false ,isWifiActivityChangedfalse ,isNoSimChanged:false
10-16 14:22:18.909 2261 2261 D Telephony WFC: mReceiver: RSSI_CHANGED_ACTION
10-16 14:22:18.909 4662 4662 D WifiCallingStatusContral: getMccMnc: sub= 2147483643 mccmnc=
10-16 14:22:18.909 4662 4662 D WifiCallingStatusContral: mccmnc:
10-16 14:22:18.909 4662 4662 E WifiCallingStatusContral: mccmnc?: is card availabe?: false
10-16 14:22:18.909 4662 4662 I WifiCallingStatusContral: ltw--OperatorWifiCallEnabled=false--strReady=no
10-16 14:22:18.909 4662 4662 D WifiCallingStatusContral: not support wfc
10-16 14:22:18.909 1394 1477 V Telecom : Logging: START_SESSION: [email protected]
10-16 14:22:18.909 1394 1477 V Telecom : Logging: END_SUBSESSION (dur: 0 mS): [email protected]
10-16 14:22:18.909 1394 1477 V Telecom : Logging: END_SESSION (dur: 1 ms): [email protected]
10-16 14:22:18.909 1394 2846 V Telecom : Logging: START_SESSION: [email protected]
10-16 14:22:18.909 1394 2846 V Telecom : Logging: END_SUBSESSION (dur: 1 mS): [email protected]
10-16 14:22:18.909 1394 2846 V Telecom : Logging: END_SESSION (dur: 1 ms): [email protected]
10-16 14:22:19.039 2092 2092 D MSimNetworkControllerImpl: handleMessage what:1
10-16 14:22:19.039 2092 2092 D MSimNetworkControllerImpl: refreshViews [0] isWifiStrengthChanged:false ,isAirplaneModeChanged:false ,isPhoneStrengthChanged:false ,isPhoneTypeChanged:false ,isPhoneActivityChanged:false ,isWifiActivityChangedtrue ,isNoSimChanged:false
10-16 14:22:19.039 2092 2092 D MSimNetworkControllerImpl: refreshSignalCluster [0] mWifiEnabled:true ,mAirplaneMode:false ,phoneStrength:com.android.systemui:drawable/stat_sys_signal_null ,phoneTypenull) ,phoneActivitynull) ,mMsimNoSimIcon:com.android.systemui:drawable/stat_sys_no_sim
10-16 14:22:19.039 2092 2092 D MSimSignalClusterView: setMobileDataIndicators strengthIcon:2130840668
10-16 14:22:19.039 2092 2092 D MSimSignalClusterView: showWhich() visible[0]:0 ,visible[1]:8
10-16 14:22:19.039 2092 2092 D MSimNetworkControllerImpl: refreshSignalCluster [0] mWifiEnabled:true ,mAirplaneMode:false ,phoneStrength:com.android.systemui:drawable/stat_sys_signal_null ,phoneTypenull) ,phoneActivitynull) ,mMsimNoSimIcon:com.android.systemui:drawable/stat_sys_no_sim
10-16 14:22:19.039 2092 2092 D MSimSignalClusterView: setMobileDataIndicators strengthIcon:2130840668
10-16 14:22:19.039 2092 2092 D MSimSignalClusterView: showWhich() visible[0]:0 ,visible[1]:8
10-16 14:22:19.039 2092 2092 D StackScroller: updateTopPadding qsHeigh=737.0,animate=false,ignoreIntrinsicPadding=false
10-16 14:22:19.039 2092 2092 D StackScroller: setExpandedHeight height = 0.0
10-16 14:22:19.039 2092 2092 D PanelView: height = 737.0
10-16 14:22:19.039 2092 2092 D StackScroller: updateTopPadding qsHeigh=737.0,animate=false,ignoreIntrinsicPadding=false
10-16 14:22:19.039 2092 2092 D StackScroller: setExpandedHeight height = 0.0
10-16 14:22:19.049 2092 2092 D StackScroller: setExpandedHeight height = 0.0
10-16 14:22:20.039 2092 2092 D MSimNetworkControllerImpl: handleMessage what:1
10-16 14:22:20.039 2092 2092 D MSimNetworkControllerImpl: refreshViews [0] isWifiStrengthChanged:false ,isAirplaneModeChanged:false ,isPhoneStrengthChanged:false ,isPhoneTypeChanged:false ,isPhoneActivityChanged:false ,isWifiActivityChangedtrue ,isNoSimChanged:false
10-16 14:22:20.039 2092 2092 D MSimNetworkControllerImpl: refreshSignalCluster [0] mWifiEnabled:true ,mAirplaneMode:false ,phoneStrength:com.android.systemui:drawable/stat_sys_signal_null ,phoneTypenull) ,phoneActivitynull) ,mMsimNoSimIcon:com.android.systemui:drawable/stat_sys_no_sim
10-16 14:22:20.039 2092 2092 D MSimSignalClusterView: setMobileDataIndicators strengthIcon:2130840668
10-16 14:22:20.039 2092 2092 D MSimSignalClusterView: showWhich() visible[0]:0 ,visible[1]:8
10-16 14:22:20.039 2092 2092 D MSimNetworkControllerImpl: refreshSignalCluster [0] mWifiEnabled:true ,mAirplaneMode:false ,phoneStrength:com.android.systemui:drawable/stat_sys_signal_null ,phoneTypenull) ,phoneActivitynull) ,mMsimNoSimIcon:com.android.systemui:drawable/stat_sys_no_sim
10-16 14:22:20.039 2092 2092 D MSimSignalClusterView: setMobileDataIndicators strengthIcon:2130840668
10-16 14:22:20.039 2092 2092 D MSimSignalClusterView: showWhich() visible[0]:0 ,visible[1]:8
10-16 14:22:20.059 2092 2092 D StackScroller: updateTopPadding qsHeigh=737.0,animate=false,ignoreIntrinsicPadding=false
10-16 14:22:20.059 2092 2092 D StackScroller: setExpandedHeight height = 0.0
10-16 14:22:20.059 2092 2092 D PanelView: height = 737.0
10-16 14:22:20.059 2092 2092 D StackScroller: updateTopPadding qsHeigh=737.0,animate=false,ignoreIntrinsicPadding=false
10-16 14:22:20.059 2092 2092 D StackScroller: setExpandedHeight height = 0.0
10-16 14:22:20.059 2092 2092 D StackScroller: setExpandedHeight height = 0.0
10-16 14:22:21.109 610 701 I SDM : HWCSession::HWCUeventThreadHandler: Uevent FB0 = [email protected]/devices/virtual/graphics/fb0
10-16 14:22:21.109 610 610 W SDM : HWCSession:repare: panel is in bad state, resetting the panel
10-16 14:22:21.109 610 610 I SDM : HWCSession::ResetPanel: Powering off primary
10-16 14:22:21.109 610 610 I SDM : HWCDisplay::SetPowerMode: display = 0, mode = 0
10-16 14:22:21.109 610 610 I SDM : DisplayBase::SetDisplayState: Set state = 0, display 0
10-16 14:22:21.109 914 914 D FingerGoodix: sig handle, signo:29, sem_value:0
10-16 14:22:21.109 914 1105 D FingerGoodix: sig_handler_loop(), screen mode = 1, fp mode=2, enable=1
10-16 14:22:21.109 914 1105 D FingerGoodix: don't change mode from SLEEP to SLEEP.
10-16 14:22:21.109 914 1105 D FingerGoodix: delete timer: 0x0
10-16 14:22:21.409 610 610 I SDM : HWCSession::ResetPanel: Restoring power mode on primary
10-16 14:22:21.409 610 610 I SDM : HWCDisplay::SetPowerMode: display = 0, mode = 2
10-16 14:22:21.409 610 610 I SDM : DisplayBase::SetDisplayState: Set state = 1, display 0
10-16 14:22:21.409 914 914 D FingerGoodix: sig handle, signo:29, sem_value:0
10-16 14:22:21.409 914 1105 D FingerGoodix: sig_handler_loop(), screen mode = 0, fp mode=2, enable=1
10-16 14:22:21.409 914 1105 D FingerGoodix: RECOVERY last mode from FF mode.
10-16 14:22:21.409 914 1105 D FingerGoodix: change mode to 2 and start timer.
Any thoughts? Is there an work around to the problem? Thanks.
Click to expand...
Click to collapse
maybe a hardware problem cause its telling you that the panel is in bad state
I have same problem, but wouldn't call blinking rather flickers. This happens when the proximity sensor goes nuts during weird outdoors lightning conditions. So if I disable auto light it stops.
cirnocirno said:
I have same problem, but wouldn't call blinking rather flickers. This happens when the proximity sensor goes nuts during weird outdoors lightning conditions. So if I disable auto light it stops.
Click to expand...
Click to collapse
cirnocirno,
I don't think your problem is same as mine. I already disabled automatic brightness option, but the problem is still there.
I think my problem could be an hardware issue. But why it only happens after the first time the screen is turned off and then turned back on is puzzling.
wchen55 said:
cirnocirno,
I don't think your problem is same as mine. I already disabled automatic brightness option, but the problem is still there.
I think my problem could be an hardware issue. But why it only happens after the first time the screen is turned off and then turned back on is puzzling.
Click to expand...
Click to collapse
I see, sorry to hear that.
Do you have warranty left? If you do, I suggest you getting it fixed. Hope everything works out in the end!
I might just keep the phone. I bought it for its VR capability anyway.
Or i can try install another ROM on the phone. The new ROM may work around the hardware problem. Thanks.
cirnocirno said:
I see, sorry to hear that.
Do you have warranty left? If you do, I suggest you getting it fixed. Hope everything works out in the end!
Click to expand...
Click to collapse
wchen55 said:
I might just keep the phone. I bought it for its VR capability anyway.
Or i can try install another ROM on the phone. The new ROM may work around the hardware problem. Thanks.
Click to expand...
Click to collapse
Well, you can try converting your phone -- if it's a G, go MiFavor 5 or A2017U, if it's an U, go A2017G and try. Just be VERY careful if you convert it, since you need to modify stuff or you can lose your signal or IMEI. Just read, and read carefully
I have the same problem on mine. I think it's a hardware issue. It was too much trouble to send back overseas to amazon for me so I took it apart and there's nothing loose inside.
I did manage to find a weird temporary fix.
After you turn the screen off with the power button:
- use a wrong finger on the fingerprint sensor to try to unlock the phone
- wait a couple of seconds (but before the screen starts blinking) and use the wrong finger again
- do this a couple of times to make sure
- then use the correct finger and it will stop blinking after it unlocks.
If you stuff up the process, turn off the screen with the power button and try again.
Note the problem will come back after the screen turns off. So you have to do it again everytime you unlock. Sounds strange. But at least I can continue using my phone without it blinking every 5 seconds.

NV Read not working after updating single NV item

Hi,
I had two Samsung S10+ phones: SM-G975U1 (US Unlocked version) and SM-G9750 (China HK version).
Both are running the same Qualcomm Snapdragon chipset.
I wanted to enable additional bands on SM-G9750 to make it fully in sync with SM-G975U1.
What I did was the following:
1) Installed QXDM tool
2) Read the following NVs: 00441, 00442, 00946, 01877, 02954, 06828.
3) Noticed that the only difference is on the 1877 (CDMA config) and 6828 (LTE config)
4) Updated the 1877 and 6828 to be exactly the same as the values from SM-G975U1.
5) Rebooted phone
Everything was working. After rebooting the phone I connected again and was able to read the values I wrote and they were showing correct (written values).
Then I decided to be "smarter". I noticed that even though my SM-G9750 has now values from SM-G975U1, when I compare the bits from what was on SM-G9750 before and what is now (config I took from SM-G975U1) there is still one bit that was set for SM-G9750 and now was reset by the new configuration from SM-G975U1.
So I decided to make "OR" and set this bit.
After saving the values, everything went well. I was able to save it and read it back.
Then I rebooted the phone.
Phone works after reboot, connects and everything but now there was an interesting issue...
When I connected it to the QXDM I cannot read *ANY* NV values. Even for other slots. I am getting invalid command all the time.
DFS Qualcomm tool that used to work also does not work.
Looks like the USB is listening but not accepting any commands.
What could have happened? And how do I revert it back?
Phone in general is working, just cannot read or modify any NV values via USB, as if the software working there on phone that was serving USB requests got disabled, crashed, or blocked.
Thoughts?
----------------------------
For reference, those are the original values from both phones:
USA/CHINA: 441:
0
0xFFFF
USA/CHINA: 442:
0
0x00FF
USA/CHINA: 946:
0
0xBFFF
USA: 1877: CDMA:
562950069306247
0010 0000 0000 0000 0000 0000 0110 1110 1000 0100 0011 1000 0111
CHINA: 1877: CDMA:
562950069289859
0010 0000 0000 0000 0000 0000 0110 1110 1000 0000 0011 1000 0011
USA/CHINA: 2954:
0
4294967295 (or 0xFFFFFFFF)
USA: 6828: LTE:
288795388680222943
0
0000 0100 0000 0010 0000 0001 1110 0000 0011 1011 0000 1110 0011 1000 1101 1111
CHINA: 6828: LTE:
600196850264287
0
0000 0000 0000 0010 0010 0001 1110 0000 0011 1000 0000 1110 0010 1000 1101 1111

Lenovo Z6 pro prog_emmc_firehose_xxxx. mbn file and Qfil partatiom manager

My Z6 pro phone is bricked and EDL mode is available but EDL file (stock ROM) installation is failed by QFIL.
Error message is as below.
09:35:58: DEBUG: XML FILE (141 bytes): CharsInBuffer=141-141=0
-------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="ERROR: Read non multiple sector size value from USB 640001 sectsize4096" /></data>
-------------------------------------------------------------------------------------------
Error
09:35:58: INFO: TARGET SAID: 'ERROR: Read non multiple sector size value from USB 640001 sectsize4096'
09:35:58: DEBUG: CharsInBuffer=0 Trying to read from USB 8192 bytes
09:37:50: {ERROR: ReadPort:5915 Could not read from '\\.\COM10', Windows API ReadFile failed! Your device is probably *not* on this port
So I would like to try to check partation status using Qfil partation manager.
In order to have partation information, I need "Fire hose.mbn " file for SD855.
Does anyone have download link?
Or please advice how to solve this error.
Please help.
Sorry everyone.
Z6 pro memory type is UFS.
SO EMMS related application does not work at Z6 pro.
So my question is how to solve QFIL issue that I am facing now.
Error message is as below. (Same as previsous one)
1) EDL mode connection: Succcess
2) China stable pie stock rom for QPST
3) error message is as below.
09:35:58: INFO: Overall to target 8.578 seconds (14.55 MBps)
09:35:58: INFO: {percent files transferred 8.62%}
09:35:58: DEBUG: CharsInBuffer=0 Trying to read from USB 8192 bytes
09:35:58: DEBUG: CHANNEL DATA (141 bytes) <-- TARGET to HOST
09:35:58: DEBUG: CharsInBuffer = 141
09:35:58: DEBUG: printBuffer:6017 PRETTYPRINT Buffer is 141 bytes
09:35:58: DEBUG: printBuffer:6094 3C 3F 78 6D 6C 20 76 65 72 73 69 6F 6E 3D 22 31 <?xml version="1
09:35:58: DEBUG: printBuffer:6094 2E 30 22 20 65 6E 63 6F 64 69 6E 67 3D 22 55 54 .0" encoding="UT
09:35:58: DEBUG: printBuffer:6094 46 2D 38 22 20 3F 3E 0A 3C 64 61 74 61 3E 0A 3C F-8" ?>.<data>.<
09:35:58: DEBUG: printBuffer:6094 6C 6F 67 20 76 61 6C 75 65 3D 22 45 52 52 4F 52 log value="ERROR
09:35:58: DEBUG: printBuffer:6094 3A 20 52 65 61 64 20 6E 6F 6E 20 6D 75 6C 74 69 : Read non multi
09:35:58: DEBUG: printBuffer:6094 70 6C 65 20 73 65 63 74 6F 72 20 73 69 7A 65 20 ple sector size
09:35:58: DEBUG: printBuffer:6094 76 61 6C 75 65 20 66 72 6F 6D 20 55 53 42 20 36 value from USB 6
09:35:58: DEBUG: printBuffer:6094 34 30 30 30 31 20 73 65 63 74 73 69 7A 65 34 30 40001 sectsize40
09:35:58: DEBUG: printBuffer:6094 39 36 22 20 2F 3E 3C 2F 64 61 74 61 3E 96" /></data>
09:35:58: DEBUG: printBuffer:6107
09:35:58: DEBUG: XML FILE (141 bytes): CharsInBuffer=141-141=0
-------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="ERROR: Read non multiple sector size value from USB 640001 sectsize4096" /></data>
-------------------------------------------------------------------------------------------
09:35:58: INFO: TARGET SAID: 'ERROR: Read non multiple sector size value from USB 640001 sectsize4096'
09:35:58: DEBUG: CharsInBuffer=0 Trying to read from USB 8192 bytes
_____
| ___|
| |__ _ __ _ __ ___ _ __
| __| '__| '__/ _ \| '__|
| |__| | | | | (_) | |
\____/_| |_| \___/|_|
09:37:50: {ERROR: ReadPort:5915 Could not read from '\\.\COM10', Windows API ReadFile failed! Your device is probably *not* on this port
Heyyo @TTTSATO, have you tried checking the drivers to ensure you have the 9008 COM drivers installed? Also please make sure you have the correct port selected in the QFIL app and you are following the proper instructions.
[ROM] Lenovo Z6 Pro L78051 QPST | Edl way |
Dear, Since I only support Arabic, I will present the necessary files with the pictures This Files Only For: Lenovo Z6 Pro L78051 Settings > About phone > Technical details > Model > Lenovo L78051 You Can use | Tool All In One | to Force your...
forum.xda-developers.com

DHCP nameservers ignored ?

Hi guys, i'm developing a captive portal with ESP32/Arduino but seems that Android is ignoring the nameserver coming from DHCP server.
i've checked with wireshark and I can see properly the DHCP offer/ack with the nameserver (option 6) set as expected, but my mobile phone is still using the one coming from the data connection.
Is this an expected behaviour ? Look pretty stupid to me, why ignoring the nameserver coming from a regular dhcp server but keep using the ones from the mobile data connection (that won't work because you are connected on a isolated access point) ?
This break the captive portal too....
Any idea ? If I connect to the ESP32 wifi with mobile connection OFF, everything works as it should, with nameserver properly set from dhcp. If I reconnect with mobile data on, the same issue happens again: ip set from dhcp, nameserver ignored and set from data connection
I've chekeck better: dns are not ignored, main differences between captive porta with data connection OFF and ON is that with data connection set to OFF, the wifi automatically became the primary connection.
Somebody knows which check android is doing before marking a connection as "working" ?
Code:
05-11 16:04:27.825 1797 4632 D ConnectivityService: NetReassign [1149 : null → 476, 3694 : null → 476, 58 : null → 476, 8316 : null → 476, 85 : null → 476, 6723 : null → 476, 108 : null → 476, 128 : null → 476, 21 : null → 476, 7057 : null → 476, 89 : null → 476, 23 : null → 476, 463 : null → 476, 52 : null → 476, 8458 : null → 476, 31 : null → 476, 8260 : null → 476, 42 : null → 476, 8262 : null → 476, 847 : null → 476, 8427 : null → 476, 72 : null → 476, 231 : null → 476, 1485 : null → 476, 214 : null → 476, 50 : null → 476, 227 : null → 476, 148 : null → 476, 60 : null → 476, 8010 : null → 476, 8429 : null → 476, 996 : null → 476, 38 : null → 476, 2203 : null → 476, 137 : null → 476, 54 : null → 476, 6780 : null → 476, 68 : null → 476, 8251 : null → 476, 7509 : null → 476, 44 : null → 476, 458 : null → 476, 210 : null → 476, 8265 : null → 476, 123 : null → 476, 98 : null → 476, 84 : null → 476, 92 : null → 476, 618 : null → 476, 197 : null → 476, 56 : null → 476, 7633 : null → 476, 132 : null → 476, 8460 : null → 476, 82 : null → 476, 8007 : null → 476, 7628 : null → 476, 116 : null → 476, 1 : null → 476, 36 : null → 476, 27 : null → 476, 775 : null → 476, 111 : null → 476, 7068 : null → 476, 7271 : null → 476, 25 : null → 476, 8105 : null → 476, 317 : null → 476, 64 : null → 476, 7 : null → 476, 62 : null → 476, 851 : null → 476, 7033 : null → 476, 34 : null → 476, 171 : null → 476, 6754 : null → 476, 103 : null → 476, 212 : null → 476, 78 : null → 476, 145 : null → 476, 326 : null → 476, 6714 : null → 476, 19 : null → 476, 772 : null → 476, 8267 : null → 476, 150 : null → 476, 6719 : null → 476, 7412 : null → 476, 8005 : null → 476, 7060 : null → 476, 48 : null → 476, 7696 : null → 476, 17 : null → 476, 596 : null → 476, 15 : null → 476, 95 : null → 476, 29 : null → 476, 46 : null → 476, 385 : null → 476, 444 : null → 476, 80 : null → 476, 74 : null → 476, 40 : null → 476, 139 : null → 476, 2183 : null → 476, 70 : null → 476, 76 : null → 476, 66 : null → 476]
05-11 16:04:27.826 1797 4632 D ConnectivityService: Switching to new default network for: uid/pid:1000/1797 activeRequest: 1 callbackRequest: 1 [NetworkRequest [ REQUEST id=1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&NOT_VCN_MANAGED RequestorUid: 1000 RequestorPkg: android UnderlyingNetworks: Null] ]] callback flags: 1 order: 2147483647 using NetworkAgentInfo{network{476} handle{2047810129933} ni{WIFI CONNECTED extra: } Score(60 ; KeepConnected : 0 ; Policies : TRANSPORT_PRIMARY&IS_UNMETERED&EVER_USER_SELECTED) explicitlySelected lp{{InterfaceName: wlan0 LinkAddresses: [ fe80::489e:24ff:fe68:55be/64,192.168.4.2/24 ] DnsAddresses: [ /192.168.4.1 ] Domains: null MTU: 1500 ServerAddress: /192.168.4.1 TcpBufferSizes: 524288,1048576,8808040,262144,524288,6710886 Routes: [ fe80::/64 -> :: wlan0 mtu 0,192.168.4.0/24 -> 0.0.0.0 wlan0 mtu 0,0.0.0.0/0 -> 192.168.4.1 wlan0 mtu 0 ]}} nc{[ Transports: WIFI Capabilities: NOT_METERED&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&NOT_ROAMING&FOREGROUND&NOT_CONGESTED&NOT_SUSPENDED&NOT_VCN_MANAGED LinkUpBandwidth>=12000Kbps LinkDnBandwidth>=30000Kbps Specifier: <WifiNetworkAgentSpecifier [WifiConfiguration=, SSID="xxx0F3DA8", BSSID=24:d7:eb:0f:3d:a9, band=1, mMatchLocalOnlySpecifiers=false]> TransportInfo: <SSID: "xxx0F3DA8", BSSID: 24:d7:eb:0f:3d:a9, MAC: 4a:9e:24:68:55:be, Security type: 0, Supplicant state: COMPLETED, Wi-Fi standard: 4, RSSI: -37, Link speed: 150Mbps, Tx Link speed: 150Mbps, Max Supported Tx Link speed: 150Mbps, Rx Link speed: 150Mbps, Max Supported Rx Link speed: 150Mbps, Frequency: 2412MHz, Net ID: 62, Metered hint: false, score: 60, CarrierMerged: false, SubscriptionId: -1, IsPrimary: 1> SignalStrength: -37 OwnerUid: 1000 AdminUids: [1000] SSID: "xxx0F3DA8" UnderlyingNetworks: Null]} factorySerialNumber=5}
05-11 16:04:27.829 963 25327 W resolv : validateDnsTlsServer returned 0 for 192.168.4.1
05-11 16:04:27.842 5397 5422 D UpstreamNetworkMonitor: New default Internet network: 476

Categories

Resources