Jump to content
YeetMeister

Can script ask for root rights?

Recommended Posts

@Enyby

Do you know if it is possible that the script i make can ask for root Rights?

I want to make a Standoff 2 menu with root and no root function, if i grant permission then it will continue to Root version else it goes to No Root.

Is that possible? If so How?

Share this post


Link to post
Share on other sites

Do you want someone's script to make a brick out of your phone?
Scripts will never have root rights.

Share this post


Link to post
Share on other sites
3 hours ago, Enyby said:

Do you want someone's script to make a brick out of your phone?
Scripts will never have root rights.

Is it possible in the future to allow access only to the attached process' /data/data/com.gamename/shared_prefs folder?

It would allow GG to easily modify save files without them having to move them first like you have to do with my Pacybits save updater.

And I understand its primary purpose is to edit memory but its capable of much more

 

PS to clarify I am not asking for elevated privileges of any kind only the ability for GG to access files in the shared_prefs folder of the attached process and nothing else, this should be safe

Edited by BadCase

Share this post


Link to post
Share on other sites
10 hours ago, BadCase said:

Is it possible in the future to allow access only to the attached process' /data/data/com.gamename/shared_prefs folder?

It would allow GG to easily modify save files without them having to move them first like you have to do with my Pacybits save updater.

And I understand its primary purpose is to edit memory but its capable of much more

 

PS to clarify I am not asking for elevated privileges of any kind only the ability for GG to access files in the shared_prefs folder of the attached process and nothing else, this should be safe

Maybe to build upon this thought, maybe ability to access the lib folder too. Then gg could make lib edits. 

Share this post


Link to post
Share on other sites

Edit libs allow load payload from internet and embed into lib. So possible create virus.

Share this post


Link to post
Share on other sites

I would be more than happy just having the Read Write access to the shared_prefs folder, it would literally save me hours every day explaining to donors how to get to their save file lol

That and open up a whole new aspect of scripting for GG 

Share this post


Link to post
Share on other sites

Access to the directories in the games /data/data/com.game.name/ directory in general would be best if you are considering adding this as some games use different sub-folders there to store game and save data

Edited by BadCase

Share this post


Link to post
Share on other sites
On 2/5/2019 at 5:38 AM, Enyby said:

Edit libs allow load payload from internet and embed into lib. So possible create virus.

Maybe that's my goal ? lol

 

Share this post


Link to post
Share on other sites

But, if I am not mistaken, something like this is already possible by modifying lib that is loaded in process memory. This way is likely more limited than modifying the file itself, but it may work.

Share this post


Link to post
Share on other sites

Now it is too hard to make it.

Share this post


Link to post
Share on other sites
1 hour ago, CmP said:

But, if I am not mistaken, something like this is already possible by modifying lib that is loaded in process memory. This way is likely more limited than modifying the file itself, but it may work.

Yes, that is possible. Was hoping a "permanent" lib Edit with gg could be possible. Not a huge deal.

Share this post


Link to post
Share on other sites
Posted (edited)

I think it is possible using "io.open" and select data/data/your game directory

Edited by TopGEOYT

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...