Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

on meizu m2 note android 5.1 #3

Closed
bunam opened this issue Apr 2, 2017 · 10 comments
Closed

on meizu m2 note android 5.1 #3

bunam opened this issue Apr 2, 2017 · 10 comments

Comments

@bunam
Copy link

bunam commented Apr 2, 2017

i have done

./gnirehtet rt
Starting gnirehtet...
'adb' reverse tcp:31416 tcp:31416
'adb' shell am startservice -a com.genymobile.gnirehtet.START
Starting service: Intent { act=com.genymobile.gnirehtet.START }
Error: Not found; no service started.
'java' -jar relay.jar
2017-04-02 23:34:59.942 I Main: Starting server...
^CStopping gnirehtet...
'adb' shell am startservice -a com.genymobile.gnirehtet.STOP
Starting service: Intent { act=com.genymobile.gnirehtet.STOP }
Error: Not found; no service started.

manual install / uninstall / install doesn't help

i have a beta rom Flyme 6.7.3.3G

@rom1v
Copy link
Collaborator

rom1v commented Apr 3, 2017

Could you give the results of the following commands:

adb shell pm list packages com.genymobile.gnirehtet
echo $?

and

adb install -r gnirehtet.apk

Thank you

@bunam
Copy link
Author

bunam commented Apr 3, 2017 via email

@rom1v
Copy link
Collaborator

rom1v commented Apr 3, 2017

add seem in that case always return 0 ?

Yes, adb shell something always return 0 when it succeeds to start the shell. So my request to get the result of echo $? was useless.

That's why the script tests whether its output is not empty (if [[ ! "$(mycommand)" ]]), not whether its return code is 0 (if mycommand).

Starting service: Intent { act=com.genymobile.gnirehtet.START }
Error: Not found; no service started.

However, I don't understand why your Android system can't find the service from its intent action when the app is installed. It should work.

If anyone can explain this…

@rom1v
Copy link
Collaborator

rom1v commented Apr 4, 2017

Do you have any antivirus installed on your device?
(see openstf/stf#407)

EDIT: Also check openstf/stf#407 (comment)

@phhusson
Copy link

phhusson commented Apr 4, 2017

Can you dump the result of adb shell pm dump com.genymobile.gnirehtet ?

@bunam
Copy link
Author

bunam commented Apr 4, 2017 via email

@bunam
Copy link
Author

bunam commented Apr 4, 2017

i got it to work ! 👍 (i have set my Mac to go trough a VPN and the IP of the Meizu was the one of the VPN)

i have deactivate USB install monitoring

2017-04-05_00-15-29 - copie

(i'm using http://joshuawise.com/horndis for the classic tethering)

i have also a iPhone or iPad to do tethering...

@rom1v
Copy link
Collaborator

rom1v commented Apr 4, 2017

i got it to work !

gg 👍

I'm closing the issue.

@rom1v rom1v closed this as completed Apr 4, 2017
@bunam
Copy link
Author

bunam commented Apr 4, 2017 via email

@rom1v
Copy link
Collaborator

rom1v commented Apr 4, 2017

And thanks to my colleagues @pcansGny and @JulienBolard for the clues 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants