Languages

Menu
Sites
Language
Installing wgt failed with PRIVILEGE_LEVEL_VIOLATION error

Hi,

I am trying to install my application on a Samsung Galaxy Gear 2 device. I need to use the current privilege:

<tizen:privilege name="http://developer.samsung.com/privilege/accessoryprotocol"/>

This requires partner level certificate for signing. How can I get such a certificate? I don't want to use the emulator, I want to use the commercial device. Any other possible solutions on how I can install my app on the device?

Responses

10 Replies
Marco Buettner

Platform and Partner privilegs cannot used on COMMERCIAL device

Marco Buettner

But i dont find information that accessoryprotocol needs PARTNER privilegs

But maybe have to do the certificate process from here http://developer.samsung.com/samsung-gear

Flaviu Lupu

So how come the samples provided on the Samsung Site use the same privilege, and if I take the .wgt I am able to install it on my commercial device but if I take the sources and try to run the project, it gives the privilege level error. It's not very clear how they describe the process there... What did you understand from there?

AVSukhov

Hello,

If I understand correctly, to use the partner level privileges you need to sign up partner signature type your application.

For more information see "Tizen Device API for Wearable Security Policy" in documentation.

Eugene Karev

Got the same problem with any sample widgets included in SDK.

Create public\individual certificate request with real DUID and apply in to IDE.

Now installing wgt on device fails with Error code: SIGNATURE_INVALID.

What is the correct way, to install wgts on device?

Stefanus Kurniawan

I am having the same problem here

I tried to generate my certificate for 3 times already, and still having the same problem

Is there any solution that can be use to try?

Itou

Are you sure you will not mistake the DUID? 

I also "Error code: SIGNATURE_INVALID" occurs, I was troubled about a week. 

DUID is a string, such as encrypted in Base64 and SHA1. 
The last character is "=". 


== HELP Getting Started with Tizen Wearable > Development Environment > Tizen SDK for Wearable > Certificates ==
3.Select the device or Emulator, and click Properties. 
                                                         ★^^^^^^^^^^^  -> Please check carefully
  The DUID is visible on the Info panel.
                                         ★^^^^^^^ -> Please check carefully
====================================================================================

Mariia Mikhailova

Hello

I am trying to install my app to my real gear2 device

I requested for cerificate for both emulator and device DUIDs, device's DUID is w03Xp2fGKHUk+B/dNPpN6EhQlTs= i got it in Properties window

So after some time i got an answer from gear2 secure with sertificate-registration.xml file, wich i successfully installed using tizen ide

now my wgt file contain author-signature.xml and signature1.xml files

THE PROBLEM : i still having errors

While running throw usb : processing result : SIGNATURE_INVALID [22] failed

And while installing host part on android phone with wgt as asset i got an error "unable to install on devise" (not sure that translation is right i have russian interface)

can anybody advice me, do i have any chances to test my application on real device?

Thank you.

AVSukhov

Hello,

Maybe this article help you:

http://denvycom.com/blog/how-to-install-wgt-files-gear2/

Ryan D

Make a new workspace. I don't know why but it works//