运行的应用程序作为超级用户? [英] Run app as super user?

查看:187
本文介绍了运行的应用程序作为超级用户?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想测试统一远程(为您的电脑无线遥控),我没能
连接到我的电脑以任何方式(虽然我可以从PC ping通到Android)。在说明它说我应该尝试从平安我的Andr​​oid到PC,所以我用了Android终端模拟器尝​​试ping和它只是打印这样的:

I wanted to test Unified Remote (WiFi Remote for your PC) and I wasn't able to connect to my PC in any way (although I could ping from PC to my Android). In the instructions it said I should try a ping from my Android to the PC, so I used the Android Terminal Emulator to try a ping and it just printed this:

ping: icmp open socket: Operation not permitted

我的Andr​​oid植根所以我键入,并试图再次和它的工作。所以我想,统一的远程需要打开一个套接字并连接到服务器在我的电脑苏权利!唯一的问题是,统一的远程不要求苏权利...(如终端,它不希望root用户权限,直到我用和我想同样的事情统一远程内部发生)

My Android is rooted so I typed su and tried again and it worked. So I figured that Unified Remote needs su-rights to open a socket and connect to the server on my PC! The only problem is, that Unified Remote doesn't ask for su-rights... (Like the terminal. It didn't want root rights until i used su and I guess the same thing happens internally with Unified Remote)

我可以以某种方式启动一个应用程序(在这种情况下,远程统一)与苏权利,而不必要求它???

Can I somehow start an App (in this case Unified Remote) with su-rights WITHOUT having it asking???

编辑:

所以,现在我试过其他2遥控器的应用程序,其中没有一个人能够找到一个服务器(没有检测到它,也不全自动手动...是的,我已经安装并打开了服务器!)再次 - >平工作正常....我感到诧异的是,只有遥控器的应用程序有问题...例如FTP与ES文件浏览器正常工作......我也有一个在线游戏至极的作品太细...我不明白这一点(

So now I tried 2 other remote control apps and none of them were able to find a server (neither detect it automaticly nor manually... And yes, I have installed and opened the server!) Again -> Ping works fine.... What surprises me is that only remote control apps have that problem... For example FTP with ES File Explorer works fine... Also I have an online game wich works fine too... I don't get it :(

推荐答案

Android设备

ping: icmp open socket: Operation not permitted

解决方案:

我的根Android手机之后 - PING插座发生错误,我通过设置平的文件权限解决了问题,下面给出:

After Root my android mobile - PING socket error occured and I solved the issue by setting "ping" file permission as given below:

           Read Write Execute
Owner       Y  -  Y  -   Y
Group       Y  -  N  -   Y
Others      Y  -  N  -   Y
------------------
Set UID:    Y   
Set GID:    
Sticky: 
------------------      
Octal Value:  4755  rwsr-xr-x
-------------------------------

您可以通过浏览器根目录的权限编辑Android软件 - 找到 - Play商店

You can edit permission by Root Explorer android software - Found - Play Store.

这篇关于运行的应用程序作为超级用户?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆