Unable to install app from Airvantage on WP76xx

Hi
I am trying to install application on WP76xx but it gets stucked. But if I tried installing the same application on MangOH Yellow(wp76xx) from Airvantage so it succeed.
Do you think we have to enable the app installation within the module?
@jyijyi

Did you check logread why it stucks?
Can you install a helloworld app?

Hi
Yes I am installing helloworld from the airvantage it installs in MangOH but gets stuck when I tried installing WP76xx module
so we have 2 boards one MangOH with WP76xx and the other one is custom designed WP76xx.
Do you think we have to enable the app installing feature or anyother?
Regards

Are they using same fw?
Did you compare the “legato status”?

Hi I have tried capturing the log. Appname is empty sending default value false.
Aug 23 08:38:08 swi-mdm9x28-wp user.info Legato: INFO | dcsDaemon[2192]/dcsDaemon T=main | dcsServer.c SetDefaultRouteAndDns() 1318 | DNS configuration is set successfully
Aug 23 08:38:13 swi-mdm9x28-wp user.info Legato: INFO | avcDaemon[2180]/avcDaemon T=main | avcClient.c BearerEventCb() 251 | Connected 1
Aug 23 08:38:14 swi-mdm9x28-wp user.info Legato: INFO | avcDaemon[2180]/avcDaemon T=main | avcServer.c ProcessUserAgreement() 1418 | Broadcast notification to applications
Aug 23 08:38:14 swi-mdm9x28-wp user.debug Legato: DBUG | atQmiLinker[2160]/atQmiLinker T=Reader | atForward.c SendUnsolicitedResponse() 458 | **^M +WDSI: 4^M **
Aug 23 08:38:16 swi-mdm9x28-wp user.err Legato: =ERR= | avcDaemon[2180]/avcDaemon T=main | avcFs.c ReadFs() 41 | failed to open /avc/packageDownloader/packageUri: LE_NOT_FOUND
Aug 23 08:38:16 swi-mdm9x28-wp user.err Legato: =ERR= | avcDaemon[2180]/avcDaemon T=main | packageDownloader.c packageDownloader_GetResumeInfo() 323 | Failed to read /avc/packageDownloader/packageUri: LE_NOT_FOUND
Aug 23 08:38:16 swi-mdm9x28-wp user.info Legato: INFO | avcDaemon[2180]/avcDaemon T=main | avcAppUpdate.c NotifyObj9List() 691 | Found 1 object 9 instances
Aug 23 08:38:16 swi-mdm9x28-wp user.info Legato: INFO | avcDaemon[2180]/avcDaemon T=main | avcAppUpdate.c NotifyObj9List() 692 | obj9ListLen; 12 obj9List: </lwm2m/9/2>
Aug 23 08:38:16 swi-mdm9x28-wp user.info Legato: INFO | avcDaemon[2180]/avcDaemon T=main | push.c push_Retry() 255 | Push Retry
Aug 23 08:38:16 swi-mdm9x28-wp user.info Legato: INFO | avcDaemon[2180]/avcDaemon T=main | avcServer.c ProcessUserAgreement() 1418 | Broadcast notification to applications
Aug 23 08:38:16 swi-mdm9x28-wp user.debug Legato: DBUG | atQmiLinker[2160]/atQmiLinker T=Reader | atForward.c SendUnsolicitedResponse() 458 | **^M +WDSI: 6^M **
Aug 23 08:38:16 swi-mdm9x28-wp user.debug Legato: DBUG | atQmiLinker[2160]/atQmiLinker T=Reader | atForward.c SendUnsolicitedResponse() 458 | **^M +WDSI: 23,1^M **
Aug 23 08:38:16 swi-mdm9x28-wp user.info Legato: INFO | avcDaemon[2180]/avcDaemon T=main | avcAppUpdate.c avcApp_GetActivationState() 2643 | Appname is empty, sending default value ‘false’
Aug 23 08:38:16 swi-mdm9x28-wp user.err Legato: =ERR= | avcDaemon[2180]/avcDaemon T=main | avcFs.c ReadFs() 41 | failed to open /avc/fw/updateState: LE_NOT_FOUND
Aug 23 08:38:16 swi-mdm9x28-wp user.warn Legato: -WRN- | avcDaemon[2180]/avcDaemon T=main | packageDownloader.c packageDownloader_GetFwUpdateState() 527 | FW update state not found
Aug 23 08:38:16 swi-mdm9x28-wp user.err Legato: =ERR= | avcDaemon[2180]/avcDaemon T=main | avcFs.c ReadFs() 41 | failed to open /avc/fw/updateResult: LE_NOT_FOUND
Aug 23 08:38:16 swi-mdm9x28-wp user.warn Legato: -WRN- | avcDaemon[2180]/avcDaemon T=main | packageDownloader.c packageDownloader_GetFwUpdateResult() 572 | FW update result not found
Aug 23 08:38:16 swi-mdm9x28-wp user.info Legato: INFO | avcDaemon[2180]/avcDaemon T=main | avcAppUpdate.c avcApp_GetActivationState() 2643 | Appname is empty, sending default value ‘false’
Aug 23 08:38:16 swi-mdm9x28-wp user.err Legato: =ERR= | avcDaemon[2180]/avcDaemon T=main | avcFs.c DeleteFs() 140 | failed to delete /avc/packageDownloader/packageUri: LE_NOT_FOUND
Aug 23 08:38:16 swi-mdm9x28-wp user.err Legato: =ERR= | avcDaemon[2180]/avcDaemon T=main | packageDownloader.c packageDownloader_DeleteResumeInfo() 257 | Failed to delete /avc/packageDownloader/packageUri: LE_NOT_FOUND
Aug 23 08:38:16 swi-mdm9x28-wp user.info Legato: INFO | avcDaemon[2180]/avcDaemon T=main | assetData.c assetData_DeleteInstance() 2173 | Deleting instance lwm2m/9/2
Aug 23 08:38:17 swi-mdm9x28-wp user.info Legato: INFO | avcDaemon[2180]/avcDaemon T=main | assetData.c assetData_CreateInstanceById() 1990 | Creating asset instance for lwm2m/9
Aug 23 08:38:17 swi-mdm9x28-wp user.info Legato: INFO | avcDaemon[2180]/avcDaemon T=main | assetData.c assetData_CreateInstanceById() 2092 | Finished creating instance 0 for lwm2m/9
Aug 23 08:38:17 swi-mdm9x28-wp user.err Legato: =ERR= | avcDaemon[2180]/avcDaemon T=main | avcFs.c DeleteFs() 140 | failed to delete /avc/sw/updateState: LE_NOT_FOUND
Aug 23 08:38:17 swi-mdm9x28-wp user.err Legato: =ERR= | avcDaemon[2180]/avcDaemon T=main | avcFs.c DeleteFs() 140 | failed to delete /avc/sw/instanceId: LE_NOT_FOUND
Aug 23 08:38:17 swi-mdm9x28-wp user.err Legato: =ERR= | avcDaemon[2180]/avcDaemon T=main | avcFs.c DeleteFs() 140 | failed to delete /avc/sw/bytesDownloaded: LE_NOT_FOUND
Aug 23 08:38:17 swi-mdm9x28-wp user.err Legato: =ERR= | avcDaemon[2180]/avcDaemon T=main | avcFs.c DeleteFs() 140 | failed to delete /avc/sw/internalState: LE_NOT_FOUND
Aug 23 08:38:17 swi-mdm9x28-wp user.err Legato: =ERR= | avcDaemon[2180]/avcDaemon T=main | avcFs.c DeleteFs() 140 | failed to delete /avc/sw/updateResult: LE_NOT_FOUND
Aug 23 08:38:17 swi-mdm9x28-wp user.info Legato: INFO | avcDaemon[2180]/avcDaemon T=main | avcAppUpdate.c SetSwUpdateBytesDownloaded() 1239 | TotalCount = 0
Aug 23 08:38:17 swi-mdm9x28-wp user.err Legato: =ERR= | avcDaemon[2180]/avcDaemon T=main | avcFs.c DeleteFs() 140 | failed to delete /avc/fw/updateState: LE_NOT_FOUND
Aug 23 08:38:17 swi-mdm9x28-wp user.err Legato: =ERR= | avcDaemon[2180]/avcDaemon T=main | avcFs.c DeleteFs() 140 | failed to delete /avc/fw/updateResult: LE_NOT_FOUND
Aug 23 08:38:17 swi-mdm9x28-wp user.err Legato: =ERR= | avcDaemon[2180]/avcDaemon T=main | avcFs.c DeleteFs() 140 | failed to delete /avc/fw/isInstallPending: LE_NOT_FOUND
Aug 23 08:38:17 swi-mdm9x28-wp user.info Legato: INFO | avcDaemon[2180]/avcDaemon T=main | assetData.c assetData_CreateInstanceById() 1990 | Creating asset instance for lwm2m/9
Aug 23 08:38:17 swi-mdm9x28-wp user.warn Legato: -WRN- | avcDaemon[2180]/avcDaemon T=main | avcAppUpdate.c avcApp_CreateObj9Instance() 2691 | Already exists an instance. Overriding it
Aug 23 08:38:17 swi-mdm9x28-wp user.info Legato: INFO | avcDaemon[2180]/avcDaemon T=main | avcAppUpdate.c SetSwUpdateBytesDownloaded() 1239 | TotalCount = 0
Aug 23 08:38:18 swi-mdm9x28-wp user.info Legato: INFO | avcDaemon[2180]/avcDaemon T=main | assetData.c RegUpdateTimerHandler() 3262 | RegUpdate timer expired; reporting REG_UPDATE
Aug 23 08:38:18 swi-mdm9x28-wp user.err Legato: =ERR= | avcDaemon[2180]/avcDaemon T=main | assetData.c assetData_RegistrationUpdate() 1946 | unsupported function called.
Aug 23 08:38:19 swi-mdm9x28-wp user.info Legato: INFO | avcDaemon[2180]/avcDaemon T=main | avcServer.c RespondToDownloadPending() 1110 | Stopping activity timer during download pending.
Aug 23 08:38:19 swi-mdm9x28-wp user.debug Legato: DBUG | atQmiLinker[2160]/atQmiLinker T=Reader | atForward.c SendUnsolicitedResponse() 458 | **^M +WDSI: 9,1368^M **
Aug 23 08:38:19 swi-mdm9x28-wp user.debug Legato: DBUG | atQmiLinker[2160]/atQmiLinker T=Reader | atForward.c SendUnsolicitedResponse() 458 | **^M +WDSI: 2^M **
Aug 23 08:38:20 swi-mdm9x28-wp user.info Legato: INFO | avcDaemon[2180]/avcDaemon T=main | avcAppUpdate.c avcApp_GetActivationState() 2643 | Appname is empty, sending default value ‘false’

Are they using same fw?
Did you compare the “legato status”?

Yes they got the same fw and legato version. i.e. 19.11.2_4ad011d85a76309438be40fc19e7153a
legato status : 1 [good] ← current
Legato framework is running.

if no problem is found in Mangoh WP76xx but only happens in custom board, could this be hardware problem?

Maybe you can downgrade to R12 and then do a factory reset on that problematic module:

It get stucked after this while app is till in install process. Thanks
Aug 23 09:41:43 swi-mdm9x28-wp user.info kernel: [ 38.866786] sierra_tzdev_ioctl()_line958: TZDEV_IOCTL_UNSEAL_REQ: sealed data len:57, plain_data_len:33, rc=0
Aug 23 09:41:43 swi-mdm9x28-wp user.info kernel: [ 38.866826] sierra_tzdev_release()_1168: tzdev_driver_open_times=0
Aug 23 09:41:43 swi-mdm9x28-wp user.info Legato: INFO | avcDaemon[886]/avcDaemon T=main | avcServer.c ProcessUpdateStatus() 1844 | Current session state: Authentication started
Aug 23 09:41:43 swi-mdm9x28-wp user.debug Legato: DBUG | atQmiLinker[856]/atQmiLinker T=Reader | atForward.c SendUnsolicitedResponse() 458 | **^M +WDSI: 4^M **
Aug 23 09:41:44 swi-mdm9x28-wp user.info kernel: [ 39.674104] sierra_tzdev_open()_1161: sierra_tzdev_open_times=1
Aug 23 09:41:44 swi-mdm9x28-wp user.info kernel: [ 39.676175] sierra_tzdev_ioctl()_line958: TZDEV_IOCTL_UNSEAL_REQ: sealed data len:56, plain_data_len:32, rc=0
Aug 23 09:41:44 swi-mdm9x28-wp user.info kernel: [ 39.676214] sierra_tzdev_release()_1168: tzdev_driver_open_times=0
Aug 23 09:41:44 swi-mdm9x28-wp user.info kernel: [ 39.682862] sierra_tzdev_open()_1161: sierra_tzdev_open_times=1
Aug 23 09:41:44 swi-mdm9x28-wp user.info kernel: [ 39.684971] sierra_tzdev_ioctl()_line958: TZDEV_IOCTL_UNSEAL_REQ: sealed data len:40, plain_data_len:16, rc=0
Aug 23 09:41:44 swi-mdm9x28-wp user.info kernel: [ 39.685007] sierra_tzdev_release()_1168: tzdev_driver_open_times=0
Aug 23 09:41:45 swi-mdm9x28-wp user.info Legato: INFO | avcDaemon[886]/avcDaemon T=main | avcAppUpdate.c avcApp_GetResumePosition() 2893 | Resuming from offset 0
Aug 23 09:41:45 swi-mdm9x28-wp user.info Legato: INFO | avcDaemon[886]/avcDaemon T=main | avcServer.c ProcessUpdateStatus() 1844 | Current session state: Session started
Aug 23 09:41:45 swi-mdm9x28-wp user.info Legato: INFO | avcDaemon[886]/avcDaemon T=main | avcAppUpdate.c NotifyObj9List() 697 | Found 1 object 9 instances
Aug 23 09:41:45 swi-mdm9x28-wp user.info Legato: INFO | avcDaemon[886]/avcDaemon T=main | avcAppUpdate.c NotifyObj9List() 698 | obj9ListLen; 12 obj9List: </lwm2m/9/0>
Aug 23 09:41:45 swi-mdm9x28-wp user.info Legato: INFO | avcDaemon[886]/avcDaemon T=main | push.c push_Retry() 252 | Push Retry
Aug 23 09:41:45 swi-mdm9x28-wp user.info Legato: INFO | avcDaemon[886]/avcDaemon T=main | avcServer.c ProcessUpdateStatus() 1844 | Current session state: Download Pending
Aug 23 09:41:45 swi-mdm9x28-wp user.info Legato: INFO | avcDaemon[886]/avcDaemon T=main | avcServer.c RespondToDownloadPending() 1317 | Stopping activity timer during download pending.
Aug 23 09:41:45 swi-mdm9x28-wp user.info Legato: INFO | avcDaemon[886]/avcDaemon T=main | avcServer.c StartDeferTimer() 809 | Deferring download for 30 minutes
Aug 23 09:41:45 swi-mdm9x28-wp user.debug Legato: DBUG | atQmiLinker[856]/atQmiLinker T=Reader | atForward.c SendUnsolicitedResponse() 458 | **^M +WDSI: 6^M **
Aug 23 09:41:45 swi-mdm9x28-wp user.debug Legato: DBUG | atQmiLinker[856]/atQmiLinker T=Reader | atForward.c SendUnsolicitedResponse() 458 | **^M +WDSI: 23,1^M **
Aug 23 09:41:45 swi-mdm9x28-wp user.debug Legato: DBUG | atQmiLinker[856]/atQmiLinker T=Reader | atForward.c SendUnsolicitedResponse() 458 | **^M +WDSI: 9,1368^M **
Aug 23 09:41:45 swi-mdm9x28-wp user.debug Legato: DBUG | atQmiLinker[856]/atQmiLinker T=Reader | atForward.c SendUnsolicitedResponse() 458 | **^M +WDSI: 2^M **

It doesn’t shows up as a hardware bug because it connect with Airvantage and configure even reboot as well but when it comes to installing application it stucks.
Do you think it can be a hardware bug ?
Thanks

I don’t know, that is why i suggest to do factory reset in R12 on problematic module

1 Like

Hi
Reading the logs and From legato.user I have figured out that it is not accepting the user agreement the error I am reading from the log is Deferring download for 30 minutes
But at the start I was configuring the airvantage from AT and it is only happening on my custom board.
AT+WDSC=3,1
AT=WDSC=4,1
still not fixed.
thanks @jyijyi