{"action":"created","issue":{"url":"https://api.github.com/repos/brevent/Brevent/issues/74","repository_url":"https://api.github.com/repos/brevent/Brevent","labels_url":"https://api.github.com/repos/brevent/Brevent/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/brevent/Brevent/issues/74/comments","events_url":"https://api.github.com/repos/brevent/Brevent/issues/74/events","html_url":"https://github.com/brevent/Brevent/issues/74","id":254533701,"number":74,"title":"f363b52 无法使用root开启服务","user":{"login":"YumeMichi","id":5070096,"avatar_url":"https://avatars0.githubusercontent.com/u/5070096?v=4","gravatar_id":"","url":"https://api.github.com/users/YumeMichi","html_url":"https://github.com/YumeMichi","followers_url":"https://api.github.com/users/YumeMichi/followers","following_url":"https://api.github.com/users/YumeMichi/following{/other_user}","gists_url":"https://api.github.com/users/YumeMichi/gists{/gist_id}","starred_url":"https://api.github.com/users/YumeMichi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YumeMichi/subscriptions","organizations_url":"https://api.github.com/users/YumeMichi/orgs","repos_url":"https://api.github.com/users/YumeMichi/repos","events_url":"https://api.github.com/users/YumeMichi/events{/privacy}","received_events_url":"https://api.github.com/users/YumeMichi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-09-01T04:35:13Z","updated_at":"2017-09-01T07:25:37Z","closed_at":null,"author_association":"NONE","body":"\r\nOnePlus:/ # sh /data/data/me.piebridge.brevent/brevent.sh\r\nWARNING: run as root is experimental!!!\r\nchecking for server...fail\r\n[command] pm path me.piebridge.brevent\r\npackage:/data/app/me.piebridge.brevent-muwam_VX-T-iDAYiucavqA==/base.apk\r\nplease report bug to https://github.com/brevent/Brevent/issues with log below\r\n```\r\n--- crash start ---\r\n[command] logcat -b crash -t '09-01 12:33:48.000' -d\r\n09-01 12:33:50.478 10648 10648 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main\r\n09-01 12:33:50.478 10648 10648 E AndroidRuntime: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0\r\n09-01 12:33:50.478 10648 10648 E AndroidRuntime: \tat android.os.Environment.getExternalStorageDirectory(Environment.java:457)\r\n09-01 12:33:50.478 10648 10648 E AndroidRuntime: \tat me.piebridge.brevent.server.f.d(ServerLog.java:83)\r\n09-01 12:33:50.478 10648 10648 E AndroidRuntime: \tat me.piebridge.brevent.server.BreventServer.main(BreventServer.java:2545)\r\n09-01 12:33:50.478 10648 10648 E AndroidRuntime: \tat com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)\r\n09-01 12:33:50.478 10648 10648 E AndroidRuntime: \tat com.android.internal.os.RuntimeInit.main(RuntimeInit.java:284)\r\n09-01 12:33:50.480 10648 10648 E AndroidRuntime: Error reporting crash\r\n09-01 12:33:50.480 10648 10648 E AndroidRuntime: java.lang.RuntimeException: Bad file descriptor\r\n09-01 12:33:50.480 10648 10648 E AndroidRuntime: \tat android.os.BinderProxy.transactNative(Native Method)\r\n09-01 12:33:50.480 10648 10648 E AndroidRuntime: \tat android.os.BinderProxy.transact(Binder.java:748)\r\n09-01 12:33:50.480 10648 10648 E AndroidRuntime: \tat android.os.ServiceManagerProxy.getService(ServiceManagerNative.java:123)\r\n09-01 12:33:50.480 10648 10648 E AndroidRuntime: \tat android.os.ServiceManager.getService(ServiceManager.java:56)\r\n09-01 12:33:50.480 10648 10648 E AndroidRuntime: \tat android.app.ActivityManager$1.create(ActivityManager.java:4207)\r\n09-01 12:33:50.480 10648 10648 E AndroidRuntime: \tat android.app.ActivityManager$1.create(ActivityManager.java:4205)\r\n09-01 12:33:50.480 10648 10648 E AndroidRuntime: \tat android.util.Singleton.get(Singleton.java:34)\r\n09-01 12:33:50.480 10648 10648 E AndroidRuntime: \tat android.app.ActivityManager.getService(ActivityManager.java:4200)\r\n09-01 12:33:50.480 10648 10648 E AndroidRuntime: \tat com.android.internal.os.RuntimeInit$KillApplicationHandler.uncaughtException(RuntimeInit.java:115)\r\n09-01 12:33:50.480 10648 10648 E AndroidRuntime: \tat java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1068)\r\n09-01 12:33:50.480 10648 10648 E AndroidRuntime: \tat java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1063)\r\n09-01 12:33:50.480 10648 10648 E AndroidRuntime: \tat java.lang.Thread.dispatchUncaughtException(Thread.java:1953)\r\n--- crash end ---\r\n--- brevent start ---\r\n[command] logcat -b main -t '09-01 12:33:48.000' -d -s BreventLoader BreventServer\r\n09-01 12:33:49.636 10631 10631 D BreventLoader: line: package:/data/app/me.piebridge.brevent-muwam_VX-T-iDAYiucavqA==/base.apk\r\n09-01 12:33:49.636 10631 10631 D BreventLoader: \r\n09-01 12:33:49.657 10631 10631 D BreventLoader: loader path: /data/app/me.piebridge.brevent-muwam_VX-T-iDAYiucavqA==/base.apk\r\n09-01 12:33:50.509 10631 10631 E BreventLoader: worker 10648 exited on signal 9\r\n09-01 12:33:50.509 10631 10631 D BreventLoader: signal arrived, update: 0\r\n09-01 12:33:50.511 10627 10627 D BreventLoader: worker 10631 exited with status 0\r\n--- brevent end ---\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/brevent/Brevent/issues/comments/326510064","html_url":"https://github.com/brevent/Brevent/issues/74#issuecomment-326510064","issue_url":"https://api.github.com/repos/brevent/Brevent/issues/74","id":326510064,"user":{"login":"YumeMichi","id":5070096,"avatar_url":"https://avatars0.githubusercontent.com/u/5070096?v=4","gravatar_id":"","url":"https://api.github.com/users/YumeMichi","html_url":"https://github.com/YumeMichi","followers_url":"https://api.github.com/users/YumeMichi/followers","following_url":"https://api.github.com/users/YumeMichi/following{/other_user}","gists_url":"https://api.github.com/users/YumeMichi/gists{/gist_id}","starred_url":"https://api.github.com/users/YumeMichi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YumeMichi/subscriptions","organizations_url":"https://api.github.com/users/YumeMichi/orgs","repos_url":"https://api.github.com/users/YumeMichi/repos","events_url":"https://api.github.com/users/YumeMichi/events{/privacy}","received_events_url":"https://api.github.com/users/YumeMichi/received_events","type":"User","site_admin":false},"created_at":"2017-09-01T07:25:37Z","updated_at":"2017-09-01T07:25:37Z","author_association":"NONE","body":"但是没有root又执行不了那个脚本=。="}}
{"actor":{"display_login":"YumeMichi"}}