sensepost / objection

📱 objection - runtime mobile exploration
GNU General Public License v3.0
7.46k stars 854 forks source link

Unable to connect to frida server #371

Closed etienne1805 closed 4 years ago

etienne1805 commented 4 years ago

Hi everybody,

I'm using a Lenovo Tab, Android 5.0, with frida-server, version 12.8.20, install on it.

Launching frida-server as root -> works When trying to do frida-ps -U, I get "Failed to enumerate processes: unable to connect to remote frida-server: Unexpected lack of content trying to read a line"

I get this output after doing adb logcat and try to connect with frida-server :

W/ADB_SERVICES(23884): create_local_service_socket() name=shell:getprop ro.product.model W/ADB_SERVICES(23884): service_to_fd() name=shell:getprop ro.product.model W/ADB_SERVICES(23884): read_meminfo() mem_free=62304 W/ADB_SERVICES(23884): create_subproc ret_fd=19 pid=28164 W/ADB_SERVICES(23884): LS(42): bound to 'shell:getprop ro.product.model' via 19 W/ADB_SERVICES(28164): adb: unable to update oom_score_adj D/ADB_SERVICES(23884): closing because is_eof=1 r=1 s->fde.force_eof=0 W/ADB_SERVICES(23884): entered. LS(42) fd=19 W/ADB_SERVICES(23884): create_local_service_socket() name=tcp:27042 D/SocketClient(22131): SocketClient sendData done: ????" W/ADB_SERVICES(23884): service_to_fd() name=tcp:27042 F/GLib-GIO(22038): fail: Error accepting connection: Permission denied W/ADB_SERVICES(23884): LS(43): bound to 'tcp:27042' via 19 D/ADB_SERVICES(23884): closing because is_eof=1 r=0 s->fde.force_eof=0 W/ADB_SERVICES(23884): entered. LS(43) fd=19

I try to forward port with adb forward tcp:27042 tcp:27042 & adb forward tcp:27043 tcp:27043 but this not solve the issue.

What can i do ?

Thanks !

leonjza commented 4 years ago

This looks Frida specific, and I can see you logged an issue there already at https://github.com/frida/frida/issues/1295. Fwiw, Android 5 is rather old. I am not sure how supported that still is.

etienne1805 commented 4 years ago

Sorry, I've posted it at the wrong place, my mistake

RevSpBird commented 4 years ago

Sorry, I've posted it at the wrong place, my mistake

so, finally, how to deal? thks

etienne1805 commented 4 years ago

I've received no answers about this subject...