Hello, I used to work TGD fine but after a automatic upgrade:
Find target process. pid:3567
Inject failed: Cannot copy path.
Find target process. pid:3567
Inject failed: Cannot copy path.
TGD v2.4.21613000
MIUI 8 7.4.13 Dev (Rooted with SuperSU)
Other tools like GPA work fine with this MiPad, and TGD work fine with my other devices :(
codym
April 18, 2017, 10:23am
2
Hi qiankanglai,
Could you please try removing the files in /data/local/tmp/tgd/lib/ on MiPad, and try again?
Thanks.
Hi, I tried the following and reinstall debugger in TGD:
cd shell@mocha:/ $ cd /data/local/tmp/tgd/lib
shell@mocha:/data/local/tmp/tgd/lib $ ls
Injector
libAndroidGFXInjection.so
libNvPmApi.Core.so
libNvidia_gfx_debugger.so
libnvperfapi32.so
shell@mocha:/data/local/tmp/tgd/lib $ rm *
shell@mocha:/data/local/tmp/tgd/lib $ ls
shell@mocha:/data/local/tmp/tgd/lib $
And the error remains
codym
April 19, 2017, 10:24am
4
Hi there,
Could you please provide more information?
android version
what is the output of “adb root” then “adb shell id”?
host operating system
is your app debuggable?
Android 4.4.4 (modified ROM by XiaoMi)
adb root
shows nothing. ps. I can use su
in adb shell
Windows 10 Professional x64 (14393.1066)
Yes. I can debug the same apk on a non-rooted device with TGD
I’m at home now and will provide more details tomorrow
codym
April 21, 2017, 6:26am
7
Hi,
Thanks for the details. We will be investigating this issue.
Another thing to note, TGD doesn’t consider the device as rooted if you’re using su
rooting method. “uid=2000(shell) gid=2000(shell)” is considered as non-rooted, while “uid=0(root) gid=0(root)” is rooted.
Hello, any update?
I found a interesting thing:
C:\Users\Anthony>adb shell su
root@mocha:/ # id
id
uid=0(root) gid=0(root) context=u:r:init:s0
but adb root
+adb shell id
getting uid=2000(shell)
codym
May 5, 2017, 10:35am
9
Hi,
The “Inject failed” issue is fixed in the next release version.
I found a interesting thing:
C:\Users\Anthony>adb shell su
root@mocha:/ # id
id
uid=0(root) gid=0(root) context=u:r:init:s0
but adb root
+adb shell id
getting uid=2000(shell)
As I replied in my last post, TGD uses adb root
+adb shell id
to check device root permission, in your case, device is considered as non-rooted.
Hi:
I have exactly the same problem. When will you guys release the next version?
Though I have GPA, or Snapdragon Profiler to use. But TGD is my favorite tool for profiling. So please fix this and release it as soon as possible. I’ll appreciate for that.
codym
May 8, 2017, 9:48am
11
Hi gsymost,
Sorry, the exact date of next release is not confirmed yet, but I think it should be in the coming weeks.
Hi gsymost,
Sorry, the exact date of next release is not confirmed yet, but I think it should be in the coming weeks.
Thank you for reply. I know you guys have your schedule for release date.
But I notice that you release TGD every six month.
If so, it’s a long time for me. So I wonder if there is a temporary way for me to work on it.
Thanks.
I found a tool to resolve this: [2014.11.10][ROOT] adbd Insecure v2.00 | XDA Forums
(For those who have rooted but got wrong adb shell id)