[Q] Troubleshoot OTA update "not available" from bugreport logs?

rcll

Senior Member
Oct 15, 2008
253
11
0
On a Motorola XT560 phone running gingerbread 2.3.7. Trying to check for updates but it always fails. Factory reset the phone but no change.

I go to: Settings -> About phone -> System updates
It always says: "Check for update was not available at this time. Try again later."

Can I look at any particular log to see what is actually causing this error? Is it trying to contact a dead server?

I have dumped what I believe are all the phone's logs via usb to a file with "adb bugreport > c:\logs.txt"

This txt file is huge and I can't seem to find where the update error is logged to try and understand why it failed.

Could someone with experience reading android logs please advise?
 

rcll

Senior Member
Oct 15, 2008
253
11
0
I've watched logcat via usb while checking for the update it seems the problem has to do with 'credentials' and ends up with a network connectivity error, but the network is connected. Has anyone seen this before?


D/cUs ( 324): AndroidClientUpgradeService.handleIntent: com.motorola.blur.service.blur.Actions.UPGRADE_CHECK_FOR_UPDATE
D/cUs ( 324): AndroidClientUpgradeService.handleIntent: com.motorola.blur.service.blur.Actions.UPGRADE_CHECK_FOR_UPDATE : bootstrap false interactive true id (0)
D/cUs ( 324): SDCardUpgradeSource.checkForUpdate: path /sdcard/ [AddOnInfo: sdcard intiated by user]
D/cUs ( 324): SDCardUpgradeSource.checkForUpdate: looking for upgrade files in /sdcard/
D/cUs ( 324): SDCardUpgradeSource.checkForUpdate: no upgrade files found on sd card
D/cUs ( 324): CusAndroidENV.Configuration: com.motorola.blur.service.blur, check_WIFI_for_BOTA
D/cUs ( 324): BotaFotaResolver.parse got the following check order (bota); assuming only bota is enabled

E/cUs ( 324): OTAUpgradeSource.resolveCheckForUpdateRepository: attempt to check for upgrade without credentials - need to send to fota only
D/cUs ( 324): OTAUpgradeSource.resolveCheckForUpdateRepository: checking for bota update 0
D/WSBase ( 324): processing request: upgrade/2/check_for_upgrade
I/WSBase ( 324): doRequest(): device is connected but we don't seem to have a cloud configured, trying now...
E/cUs ( 324): CusAndroidWS.Resp.setError: error NotAllowedError
D/WSBase ( 324): doRequest(): upgrade/2/check_for_upgrade resp length: 0

I/BlurServiceMother( 324): _inspectResponse(): found an error from a web service response: NotAllowedError msg: NotAllowedError req: upgrade/2/check_for_upgrade
I/BlurServiceMother( 324): startConfiguringCloud(): trying to get cloud info but missing user creds and request upgrade/2/check_for_upgrade doesn't have them. Waiting until I get one that does...
D/cUs ( 324): OTAUpgradeSource.handleResponse (check_for_upgrade) : false (NotAllowedError)
I/cUs ( 324): OTAUpgradeSource.handleWSCheckForUpdateResponse: check_for_update/bootstrap : false : 0
D/cUs ( 324): BotaFotaResolver.parse got the following check order (bota); assuming only bota is enabled
D/cUs ( 324): OTAUpgradeSource.HandleWSCheckForUpdateResponse: authoritative response from BOTA ERR_NET
V/cUs ( 324): CusSM.sendUpgradeStatus failed: no credentials
D/cUs ( 324): CusSM.runStateMachine: no versions found in database


I can compare to the logcat of a second of the same model phone which does check for the update successfully, but finds none:

D/cUs ( 344): AndroidClientUpgradeService.handleIntent: com.motorola.blur.service.blur.Actions.UPGRADE_CHECK_FOR_UPDATE
D/cUs ( 344): AndroidClientUpgradeService.handleIntent: com.motorola.blur.service.blur.Actions.UPGRADE_CHECK_FOR_UPDATE : bootstrap false interactive true id (0)
D/cUs ( 344): SDCardUpgradeSource.checkForUpdate: path /sdcard/ [AddOnInfo: sdcard intiated by user]
D/cUs ( 344): SDCardUpgradeSource.checkForUpdate: looking for upgrade files in /sdcard/
D/cUs ( 344): SDCardUpgradeSource.checkForUpdate: no upgrade files found on sd card
D/cUs ( 344): CusAndroidENV.Configuration: com.motorola.blur.service.blur, check_WIFI_for_BOTA
D/cUs ( 344): BotaFotaResolver.parse got the following check order (bota); assuming only bota is enabled

D/cUs ( 344): OTAUpgradeSource.resolveCheckForUpdateRepository: checking for bota update 0
D/WSBase ( 344): processing request: upgrade/2/check_for_upgrade
I/WSBase ( 344): doRequest(): url: http://ws-cloud106-blur.svcmot.com:...p=48&h=6FDyuI0IXtdZIk0m3iO0QKt09CB&of=0&ssl=0
D/WSBase ( 344): doRequest(): upgrade/2/check_for_upgrade resp length: 2

D/cUs ( 344): OTAUpgradeSource.handleResponse (check_for_upgrade) : true (None)
I/cUs ( 344): OTAUpgradeSource.handleWSCheckForUpdateResponse: check_for_update/bootstrap : true : 200
I/cUs ( 344): OTAUpgradeSource.handleWSCheckForUpdateResponse: check_for_update/bootstrap : OK
I/cUs ( 344): OTAUpgradeSource.handleWSCheckForUpdateResponse: check_for_update/bootstrap getUgVersion == null
D/cUs ( 344): BotaFotaResolver.parse got the following check order (bota); assuming only bota is enabled
D/cUs ( 344): OTAUpgradeSource.HandleWSCheckForUpdateResponse: authoritative response from BOTA ERR_NOTFOUND
D/cUs ( 344): CusSM.sendUpgradeStatus: no unlogged events.
D/cUs ( 344): CusSM.runStateMachine: no versions found in database

Any ideas how to fix this? Can I push a file from the phone that checks successfully to the phone that doesn't?