Open ulisesguerrero opened 6 years ago
Hmmm... What about:
./gnirehtet run
?
If it still fails, try:
./gnirehtet reinstall
Tried run, and reinstall, but doesn't solve the problem, just stalls:
C:\gnirehtet>gnirehtet.exe run 2017-10-28 10:47:26.314 INFO Main: Checking gnirehtet client... 2017-10-28 10:47:26.950 INFO Main: Starting relay server... 2017-10-28 10:47:26.951 INFO Main: Starting client... 2017-10-28 10:47:26.952 INFO Relay: Relay server started Broadcasting: Intent { act=com.genymobile.gnirehtet.START cmp=com.genymobile.gnirehtet/.GnirehtetControlReceiver } Broadcast completed: result=0 2017-10-28 10:47:36.025 INFO Main: Interrupted 2017-10-28 10:47:36.025 INFO Main: Stopping client... Broadcasting: Intent { act=com.genymobile.gnirehtet.STOP cmp=com.genymobile.gnirehtet/.GnirehtetControlReceiver } Broadcast completed: result=0
C:\gnirehtet>gnirehtet.exe reinstall 2017-10-28 10:47:40.937 INFO Main: Uninstalling gnirehtet client... Success 2017-10-28 10:47:42.554 INFO Main: Installing gnirehtet client... gnirehtet.apk: 1 file pushed. 2.6 MB/s (20616 bytes in 0.008s) pkg: /data/local/tmp/gnirehtet.apk Success
C:\gnirehtet>gnirehtet.exe run 2017-10-28 10:47:52.321 INFO Main: Checking gnirehtet client... 2017-10-28 10:47:52.404 INFO Main: Starting relay server... 2017-10-28 10:47:52.405 INFO Main: Starting client... 2017-10-28 10:47:52.407 INFO Relay: Relay server started Broadcasting: Intent { act=com.genymobile.gnirehtet.START cmp=com.genymobile.gnirehtet/.GnirehtetControlReceiver } Broadcast completed: result=0
No key icon on the cellphone, no internet. Please help.
Was the device screen on when starting gnirehtet? (sometimes the Android VPN does not behave as expected when the screen is off).
Do you see relevant logs in adb logcat
when you start gnirehtet?
I have tried with the screen on, deleting and rebooting, all combinations, same behaviour in all cases.
Logcat for Acitity Manager shows:
V/ActivityManager( 726): Broadcast sticky: Intent { act=android.intent.action.BATTERY_CHANGED flg=0x60000010 (has extras) } ordered=false userid=-1 callerApp=null V/ActivityManager( 726): Broadcast: Intent { act=com.genymobile.gnirehtet.STOP flg=0x10 cmp=com.genymobile.gnirehtet/.GnirehtetControlReceiver } ordered=true userid=-2 callerApp=null I/ActivityManager( 726): ATRCL Filter intent =Intent { act=com.genymobile.gnirehtet.STOP flg=0x10 cmp=com.genymobile.gnirehtet/.GnirehtetControlReceiver }, receiver size=1 V/ActivityManager( 726): Broadcast: Intent { act=com.genymobile.gnirehtet.START flg=0x10 cmp=com.genymobile.gnirehtet/.GnirehtetControlReceiver } ordered=true userid=-2 callerApp=null I/ActivityManager( 726): ATRCL Filter intent =Intent { act=com.genymobile.gnirehtet.START flg=0x10 cmp=com.genymobile.gnirehtet/.GnirehtetControlReceiver }, receiver size=1 V/ActivityManager( 726): Broadcast: Intent { act=com.android.act.intent.ACTION_ONEMIN_TICK flg=0x114 (has extras) } ordered=true userid=0 callerApp=null I/ActivityManager( 726): onWakefulnessChanged: 1 V/ActivityManager( 726): Broadcast: Intent { act=android.intent.action.SCREEN_ON flg=0x50000010 } ordered=true userid=-1 callerApp=ProcessRecord{97691ea 726:system/1000} V/ActivityManager( 726): Display changed displayId=0 V/ActivityManager( 726): Broadcast: Intent { act=android.intent.action.USER_PRESENT flg=0x24000010 } ordered=false userid=0 callerApp=ProcessRecord{3f5156e5 870:com.android.systemui/u0a20} I/ActivityManager( 726): ATRCL Filter intent =Intent { act=android.intent.action.USER_PRESENT flg=0x24000010 }, receiver size=7 V/ActivityManager( 726): Display changed displayId=0 V/ActivityManager( 726): Broadcast: Intent { act=com.genymobile.gnirehtet.STOP flg=0x10 cmp=com.genymobile.gnirehtet/.GnirehtetControlReceiver } ordered=true userid=-2 callerApp=null I/ActivityManager( 726): ATRCL Filter intent =Intent { act=com.genymobile.gnirehtet.STOP flg=0x10 cmp=com.genymobile.gnirehtet/.GnirehtetControlReceiver }, receiver size=1 V/ActivityManager( 726): Broadcast sticky: Intent { act=android.intent.action.BATTERY_CHANGED flg=0x60000010 (has extras) } ordered=false userid=-1 callerApp=null V/ActivityManager( 726): Broadcast: Intent { act=android.intent.action.TIME_TICK flg=0x50000114 (has extras) } ordered=true userid=-1 callerApp=null V/ActivityManager( 726): Broadcast: Intent { act=com.genymobile.gnirehtet.START flg=0x10 cmp=com.genymobile.gnirehtet/.GnirehtetControlReceiver } ordered=true userid=-2 callerApp=null I/ActivityManager( 726): ATRCL Filter intent =Intent { act=com.genymobile.gnirehtet.START flg=0x10 cmp=com.genymobile.gnirehtet/.GnirehtetControlReceiver }, receiver size=1 V/ActivityManager( 726): Broadcast sticky: Intent { act=android.intent.action.BATTERY_CHANGED flg=0x60000010 (has extras) } ordered=false userid=-1 callerApp=null
I can't find any particular error.
And now, an old version of gnirehtet (2.0) does not work anymore either?
Did you install something that may block the VPN feature for any reason?
Nothing blocking VPN.
I tried installing version 2.0 and everything works like before! Thank you!
That's strange. What is your device and its Android version?
Its Android 5.1 a chinese brand phone STF Mobile Joy.
I'm facing exactly the same issue when using 2.3. Trying 2.0 doesn't work either. It gives
Error: Not found; no service started.
when ./gnirehtet run
@amosbird Are there any relevant logs in the output of adb logcat
?
09-19 23:29:57.844 306 306 I wmt_launcher: fw log ctrl flag has been set
09-19 23:29:57.844 306 306 I wmt_launcher: fw dynamic ctrl flag has been set
09-19 23:29:58.640 356 356 I thermal_repeater: oh, queryMdThermalInfo (0)No such file or directory
09-19 23:29:58.653 356 356 I thermal_repeater: [recvMdThermalInfo] ret=28, strLen=127, 2, 32767, -127, 0, 32767, 1
09-19 23:29:59.846 306 306 I wmt_launcher: fw log ctrl flag has been set
09-19 23:29:59.846 306 306 I wmt_launcher: fw dynamic ctrl flag has been set
09-19 23:30:00.000 893 1235 W Debug687467: triggerAlarmsLocked_start mAlarmBatches size = 29
09-19 23:30:00.000 893 1235 W Debug687467: triggerAlarmsLocked_end
09-19 23:30:00.130 7199 7199 E PQ : [PQ][PQWhiteList] libwlparser.so is absent
09-19 23:30:00.233 7199 7199 I art : Create DisableVerify
09-19 23:30:00.233 7199 7199 I art : DisableVerify filte com.taobao.taobao
09-19 23:30:00.233 7199 7199 I art : IsDexFileNeededDisableVerify for /system/framework/am.jar
09-19 23:30:00.233 7199 7199 I art : GetPkgNameFromDexFile return /system/framework/am.jar
09-19 23:30:00.241 7199 7199 W System : ClassLoader referenced unknown path: /custom/lib64
09-19 23:30:00.271 7199 7199 I Radio-JNI: register_android_hardware_Radio DONE
09-19 23:30:00.329 893 1644 W LinkWakenInterception: Link isInterceptAsUsual, interception default intercept as true!
09-19 23:30:00.329 893 1644 W InterceptionReason: reason:6)finally, intercept as usual, interception = true details<<runType:retrieve_service isFgAction:false callerPkg: calleePkg:com.genymobile.gnirehtet processName:com.genymobile.gnirehtet Intent { act=com.genymobile.gnirehtet.START cmp=com.genymobile.gnirehtet/.GnirehtetControlService }>>
09-19 23:30:01.847 306 306 I wmt_launcher: fw log ctrl flag has been set
09-19 23:30:01.848 306 306 I wmt_launcher: fw dynamic ctrl flag has been set
09-19 23:30:02.098 317 2374 I MAL-RDS : ( rum_mdmngr_send_atcmd, 262) [RDS-I][RDS][RUM][rum_mdmngr_send_atcmd] try to send ATcmd : AT+ECSQ, priv(0xf32f02f8), at_type(5), sim:0
09-19 23:30:02.098 317 2374 I MAL-RDS : ( rum_send_event_entity, 81) [RDS-I][RDS][RUM][rum_send_event_entity] send event 3002 to 302
09-19 23:30:02.111 317 648 I MAL-RDS : ( rum_send_event_entity, 81) [RDS-I][RDS][RUM][rum_send_event_entity] send event 9029 to 906
09-19 23:30:02.111 317 653 I MAL-RDS : (rds_ru_mdmngr_atrsp_hndl, 3165) [RDS-I][RDS][RU][rds_ru_mdmngr_atrsp_hndl] get AT resp: +ECSQ: 42,36,1,-316,-25,1,1,2,32767,-1
09-19 23:30:02.111 317 653 I MAL-RDS :
09-19 23:30:02.111 317 653 I MAL-RDS : OK
0
2.3 also has this weird log entry
09-19 23:36:18.822 893 2322 W InterceptionReason: reason:6)finally, intercept as usual, interception = true details<<runType:broadcast isFgAction:false callerPkg: calleePkg:com.genymobile.gnirehtet processName:com.genymobile.gnirehtet Intent { act=com.genymobile.gnirehtet.START flg=0x10 cmp=com.genymobile.gnirehtet/.GnirehtetControlReceiver }>>
Android version is 7.0
Hello, stopped working on previous version, then updated to 2.1.
The output from running the cmd: 2017-10-28 09:11:40.329 INFO Main: Checking gnirehtet client... 2017-10-28 09:11:40.390 INFO Main: Starting relay server... 2017-10-28 09:11:40.391 INFO Main: Starting client... 2017-10-28 09:11:40.391 INFO Relay: Relay server started Broadcasting: Intent { act=com.genymobile.gnirehtet.START cmp=com.genymobile.gnirehtet/.GnirehtetControlReceiver } Broadcast completed: result=0
But then, on the cellphone there is no secure key icon, and there's no internet either. It just stalls at broadcast completed. What could be wrong?