언어 설정

Menu
Sites
Language
what it is necessary to make that after compilation the program was with suid bit?

the program needs the rights of root

Responses

8 댓글
Mark Watney

Hi!

As far as I know, Manufacturer don't support rooting your device due to security violation and It voids your warrenty.  Privilages are introduced to access features from other applications. Can you please check  if any privilage is available instead of running program as root ?

Thanks.

Dmitry Naidolinksy

On the emulator I can with the help in a shell by means of chmod +s set the necessary power to the program. Whether it is possible to be connected on the real phone by means of the computer to a shell and to make chmod +s?

Peter Wegner

Commercial devices like:

SM-Z130H

SM-Z300H

SM-Z200F

Have NO su Binary in BIN folder...

Reference Devices for Developer have root access... RD-PQ, TM1, TM2 etc...

/bin/su

 

If you try to develop your app for Tizen Store... then you have find other way...

 

For tests or private use... all devices can be rooted.

:)

 

Best Regards

Peter Wegner

So still again question...

 

Your target device is what?

SM-Z series?

And which API/Tizen Version?

2.4 or 3.0 or Wearables?

 

Maybe if you are more specific... you can find solution.

Otherwsie it makes no real sense...

 

Many Restrictions for Tizen Store... with Public Level...

And if you are not Partner or can use Platform privilege...

 

Best Regards

Dmitry Naidolinksy

tizen 2.4.
Functions don't work such as socket for which the rights of root are necessary. Privileges of internet won't help. I do for SM-Z series? Would like to learn as it is possible to add my program to tizen store. Also there will be a program for Wearables.

Peter Wegner

I need something similar to get ROOT access via termthree app...

In Emulator I was able to switch via Command su...

But on SM-Z130H found no way yet...

https://www.samsungdforum.com/TizenGuide/tizen3431/index.html

It is for TV... but maybe you can learn about Public, Partner and Platform Level...

 

Here some examples for .admin:

https://www.tizen.org/privilege

 

In theory more undocumented Privilege...

I have at the moment not enough experience with privilege... But I am able to sign all 3 Levels with Hashsigner... and use it.

 

But again... for Tizen Store you have to follow Tizen Rules/Policy...

But for learning and increasing your skills... :)

 

Best Regards

Dmitry Naidolinksy

And where it is possible to read Rules/Policy?

Peter Wegner

Maybe read here...

http://stackoverflow.com/questions/41268340/how-can-i-publish-my-tizen-app-from-xamarin-forms-visual-studio-2015?utm_source=dlvr.it&utm_medium=twitter

 

And check this:

https://developer.tizen.org/sites/default/files/documentation/tizen_validation_guide_ver_1.4_140529.pdf

 

Alternate you can also first create your App... then upload to QA... and QA tells you...

 

Good example for blocked apps:

Apps with Video Call feature... like:

imo, Skype etc...

 

And it looks like... Terminal apps are not welcome on Tizen Store...

https://www.reddit.com/r/Tizen/comments/4i8si9/terminal_emulator/

 

No idea if allready similar App like you want create is in Tizen Store...

Or maybe you can tell me example in Android or IOS world...

 

Tizen is full of Restrictions...

Not allowed, not supported ... not avalaible or not working.

:)

 

Best Regards