Okay, I'm trying to get ddms.bat to recognize my device. I have a MT4G running stock Sense with Faux123's custom kernel. The device is permrooted with S=OFF, and has the engineering bootloader. I have a pc running windows 7 professional build 7601.
I have the most recent Android SDK, it is fully updated, and ADB recognizes the device and is fully functional.
When I open ddms.bat my device shows up in the window for a brief second, then disappears, and the cmd window generates an output loop of the following:
12:09:31 E/adb:
12:09:31 E/adb: This application has requested the Runtime to terminate it in an unusual way.
12:09:31 E/adb: Please contact the application's support team for more information.
12:09:35 E/DeviceMonitor: Adb connection Error:An existing connection was forcibly closed by the remote host
12:09:35 W/DeviceMonitor: Failed to connect to client '20455': An existing conne
ction was forcibly closed by the remote host
12:09:36 E/DeviceMonitor: Connection attempts: 1
12:09:36 W/DeviceMonitor: Failed to connect to client '5495': Connection refused: connect
12:09:37 W/DeviceMonitor: Failed to connect to client '26627': Connection refused: connect
12:09:38 E/DeviceMonitor: Connection attempts: 2
12:09:38 W/DeviceMonitor: Failed to connect to client '5522': Connection refused: connect
12:09:39 W/DeviceMonitor: Failed to connect to client '1826': Connection refused: connect
12:09:40 W/DeviceMonitor: Failed to connect to client '25049': Connection refused: connect
12:09:40 E/DeviceMonitor: Connection attempts: 3
12:09:41 W/DeviceMonitor: Failed to connect to client '5331': Connection refused: connect
12:09:42 E/DeviceMonitor: Connection attempts: 4
12:09:42 W/DeviceMonitor: Failed to connect to client '842': Connection refused: connect
12:09:43 W/DeviceMonitor: Failed to connect to client '3131': Connection refused: connect
12:09:44 W/DeviceMonitor: Failed to connect to client '834': Connection refused: connect
12:09:44 E/DeviceMonitor: Connection attempts: 5
12:09:45 W/DeviceMonitor: Failed to connect to client '17461': Connection refused: connect
12:09:46 E/DeviceMonitor: Connection attempts: 6
12:09:46 W/DeviceMonitor: Failed to connect to client '28513': Connection refused: connect
12:09:47 W/DeviceMonitor: Failed to connect to client '2153': Connection refused: connect
12:09:48 E/DeviceMonitor: Connection attempts: 7
12:09:48 W/DeviceMonitor: Failed to connect to client '2737': Connection refused: connect
12:09:49 W/DeviceMonitor: Failed to connect to client '27867': Connection refused: connect
12:09:50 E/DeviceMonitor: Connection attempts: 8
12:09:50 W/DeviceMonitor: Failed to connect to client '8866': Connection refused: connect
12:09:51 W/DeviceMonitor: Failed to connect to client '28094': Connection refused: connect
12:09:52 E/DeviceMonitor: Connection attempts: 9
12:09:52 W/DeviceMonitor: Failed to connect to client '11639': Connection refused: connect
12:09:53 W/DeviceMonitor: Failed to connect to client '2086': Connection refused: connect
12:09:54 E/DeviceMonitor: Connection attempts: 10
12:09:54 W/DeviceMonitor: Failed to connect to client '26787': Connection refused: connect
12:09:55 W/DeviceMonitor: Failed to connect to client '2120': Connection refused: connect
12:09:56 E/DeviceMonitor: Connection attempts: 11
12:09:56 W/DeviceMonitor: Failed to connect to client '27716': Connection refused: connect
12:09:57 W/DeviceMonitor: Failed to connect to client '1506': Connection refused: connect
12:09:58 W/DeviceMonitor: Adb rejected connection to client '1500': device offline
12:10:02 E/adb:
12:10:02 E/adb: This application has requested the Runtime to terminate it in an unusual way.
12:10:02 E/adb: Please contact the application's support team for more information.
12:10:05 E/DeviceMonitor: Adb connection Error:An existing connection was forcibly closed by the remote host
12:10:05 W/DeviceMonitor: Failed to connect to client '31096': An existing conne
ction was forcibly closed by the remote host
12:10:06 E/DeviceMonitor: Connection attempts: 1
12:10:06 W/DeviceMonitor: Failed to connect to client '19306': Connection refused: connect
12:10:07 W/DeviceMonitor: Failed to connect to client '2774': Connection refused: connect
12:10:08 W/DeviceMonitor: Failed to connect to client '6820': Connection refused: connect
12:10:08 E/DeviceMonitor: Connection attempts: 2
12:10:09 W/DeviceMonitor: Failed to connect to client '20455': Connection refused: connect
12:10:10 E/DeviceMonitor: Connection attempts: 3
12:10:10 W/DeviceMonitor: Failed to connect to client '5495': Connection refused: connect
12:10:11 W/DeviceMonitor: Failed to connect to client '26627': Connection refused: connect
12:10:12 E/DeviceMonitor: Connection attempts: 4
12:10:12 W/DeviceMonitor: Failed to connect to client '5522': Connection refused: connect
12:10:13 W/DeviceMonitor: Failed to connect to client '1826': Connection refused: connect
12:10:14 E/DeviceMonitor: Connection attempts: 5
12:10:14 W/DeviceMonitor: Failed to connect to client '25049': Connection refused: connect
....and so on
If I click on anything during this loop, I get the following:
12:13:10 E/adb:
12:13:10 E/adb: This application has requested the Runtime to terminate it in an
unusual way.
12:13:10 E/adb: Please contact the application's support team for more informati
on.
12:13:15 E/DeviceMonitor: Adb connection Error:An existing connection was forcibly closed by the remote host
12:13:15 E/DDMS: An existing connection was forcibly closed by the remote host
java.io.IOException: An existing connection was forcibly closed by the remote ho
st
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(Unknown Source)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
at sun.nio.ch.IOUtil.read(Unknown Source)
at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
at com.android.ddmlib.AdbHelper.read(AdbHelper.java:640)
at com.android.ddmlib.AdbHelper.read(AdbHelper.java:616)
at com.android.ddmlib.AdbHelper.readAdbResponse(AdbHelper.java:216)
at com.android.ddmlib.AdbHelper.setDevice(AdbHelper.java:734)
at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:373)
at com.android.ddmlib.Device.executeShellCommand(Device.java:276)
at com.android.ddmuilib.SysinfoPanel.loadFromDevice(SysinfoPanel.java:159)
at com.android.ddmuilib.SysinfoPanel.deviceSelected(SysinfoPanel.java:126)
at com.android.ddmuilib.SelectionDependentPanel.deviceSelected(SelectionDependentPanel.java:52)
at com.android.ddms.UIThread.selectionChanged(UIThread.java:1684)
at com.android.ddmuilib.DevicePanel.notifyListeners(DevicePanel.java:752)
at com.android.ddmuilib.DevicePanel.notifyListeners(DevicePanel.java:740)
at com.android.ddmuilib.DevicePanel.access$1100(DevicePanel.java:56)
at com.android.ddmuilib.DevicePanel$1.widgetSelected(DevicePanel.java:357)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at com.android.ddms.UIThread.runUI(UIThread.java:492)
at com.android.ddms.Main.main(Main.java:103)
12:13:15 W/DeviceMonitor: Failed to connect to client '20455': An existing conne
ction was forcibly closed by the remote host
12:13:16 E/DeviceMonitor: Connection attempts: 1
12:13:16 W/DeviceMonitor: Failed to connect to client '5495': Connection refused
: connect
12:13:16 E/Logcat: Connection refused: connect
java.net.ConnectException: Connection refused: connect
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(Unknown Source)
at java.nio.channels.SocketChannel.open(Unknown Source)
at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:367)
at com.android.ddmlib.Device.executeShellCommand(Device.java:284)
at com.android.ddmuilib.logcat.LogPanel$3.run(LogPanel.java:527)
12:13:17 W/DeviceMonitor: Failed to connect to client '26627': Connection refused: connect
12:13:17 E/EventLog: Connection refused: connect
java.net.ConnectException: Connection refused: connect
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(Unknown Source)
at java.nio.channels.SocketChannel.open(Unknown Source)
at com.android.ddmlib.AdbHelper.runLogService(AdbHelper.java:464)
at com.android.ddmlib.AdbHelper.runEventLogService(AdbHelper.java:445)
at com.android.ddmlib.Device.runEventLogService(Device.java:290)
at com.android.ddmuilib.log.event.EventLogPanel$8.run(EventLogPanel.java
:454)
I've reinstalled Java, restarted my computer, restarted my phone, etc. Please help.
I have the same problem, but now all works fine.
Try next steps:
1. reinstall all android drivers with USBDeview (find with google) and new drivers from sdk
2. add in your system %path% two folders: <path to sdk>\tools and <path to sdk>\platform-tools
3. use another adb with patch - (words for google - "Adb tcp forwarding issue")
4. on/off usb debugging on your phone
5. use commands to find another errors:
adb kill-server
set ADB_TRACE=all
adb nodaemon server
good luck.
Related
Hello all. I Have Moto Defy+ with original android, with root.
So, problem. Once, i tried to use Mobile Hotspot via WiFi to another android device, and it was successful. But when i try to use it for now, i can't get DHCP IP from my defy+. Same with USB tethering.
When i connecting from my linux laptop iwconfig output this:
Code:
wlan0 IEEE 802.11bgn ESSID:"MB526 8564"
Mode:Managed Frequency:2.442 GHz Access Point: Not-Associated
Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
After Factory reset i'm get the same issue. Anybody can help me?
In Barnacle Tether i found this error code:
DHCP: Could not bind to DHCP port: Address already in use
Click to expand...
Click to collapse
Code:
tiwlan0 IEEE 802.11ABG ESSID:""
Mode:Managed Channel:0 Access Point: Not-Associated
Tx-Power:0 Sensitivity=-80 dBm
RTS thr=4096 B Fragment thr=4096 B
Encryption key:off
Link Quality=0/0 Signal level=-192 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0
from android phone iwconfig output
Hello, yesterday I got my new Moto E, my first Android device, the problem is: I don't have WLAN here, I live in a small village, so I can't connect to any WLAN, so I googled and found the ClockworkMod Tether app, and installed it, the problem now is: The Tether on my computer says
Code:
Checking phone status...
You may need to install a driver for your phone to allow the computer to connect to it.
Consult the menu above to install the "adb drivers" for your phone.
If your manufacturer is not listed, please search Google for "adb drivers my-manufacturer name".
or:
Code:
Checking phone status...
all the time...
Help Please!
EDIT:Yes, I installed the Motorola Drivers, but I don't know if the Moto E driver is already included
[deleted]
3DMapPlayer said:
If it shows like this:
[IMEI] device
Click to expand...
Click to collapse
Nope, not working, no devices listing, I think because I didnt updated the drivers, I really dont get how i can do it, on device manager I dont get an android device but a media device...
But cant i connect to internet by using the usb tethering function on the settings?
[deleted]
3DMapPlayer said:
try using USB Storage on your Moto E. Might fix the problem.
Sent from my ALCATEL ONE TOUCH 4030E using XDA Premium 4 mobile app
Click to expand...
Click to collapse
well, there is only mtp and ptp...
3DMapPlayer said:
If it shows like this:
[IMEI] device
There, try using ClockworkMod Tether and see if it works.
Click to expand...
Click to collapse
Did everything, it worked, but tether still doesnt work, same problem...
[deleted]
3DMapPlayer said:
1. Is your ClockworkMod Tether up to date?
2. Did your computer detected your device?
3. Can you also provide the log so I can fix the error easily?
Click to expand...
Click to collapse
There is the log (sorry some parts are german) :
Code:
Checking arguments...
Setting IP Address, mask, and gateway.
netsh interface ip set address name="LAN-Verbindung 2" source=static 10.0.0.1 255.255.255.0 10.0.0.2 1
Setting DNS server.
netsh interface ip add dns name="LAN-Verbindung 2" 8.8.8.8 index=1
netsh interface ip add dns name="LAN-Verbindung 2" 8.8.4.4 index=2
Adding Windows Firewall Exception
netsh firewall set allowedprogram program="C:\Program Files (x86)\ClockworkMod\Tether\win32\node.exe" name=Tether
WICHTIG: Der Befehl wurde erfolgreich ausgefhrt.
"netsh firewall" ist jedoch veraltet.
Verwenden Sie stattdessen "netsh advfirewall firewall".
Weitere Informationen zur Verwendung von "netsh advfirewall firewall" anstelle
von "netsh firewall" finden Sie im KB-Artikel 947709
unter "CAN`T POST LINKS".
OK.
Starting Tether...
C:\Program Files (x86)\ClockworkMod\Tether\node-tuntap
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
Opening tun device.
Opening tun device: null
adb binary path: "C:\Program Files (x86)\ClockworkMod\Tether\win32\adb.exe"
Checking phone status...
Waiting for interface to get ready... (postSetup, waiting 5 seconds)
ZX1B328NHG New device found.
ZX1B328NHG Connecting to device.
ZX1B328NHG Checking if package is installed.
ZX1B328NHG Found that APK is already installed. Starting tether on phone.
ZX1B328NHG Setting up adb port forwarding to port 30002.
ZX1B328NHG adb port forwarding results:
{ '0': null, '1': '', '2': '' }
ZX1B328NHG Starting Tether service.
ZX1B328NHG Starting Tether activity.
ZX1B328NHG Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\nWarning: Activity not started, its current task has been brought to the front\r\r\n',
'2': '' }
ZX1B328NHG Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
Listening on tether port...
Checking phone status...
STATUS: Connected to phone. Waiting for tether connection.
ZX1B328NHG Creating relay for device.
ZX1B328NHG Tether has connected.
ZX1B328NHG Notifying client of Tether version: 6.
ZX1B328NHG Tether.apk version: 6
Checking phone status...
STATUS: Tether has connected.
Checking phone status...
[deleted]
3DMapPlayer said:
Seems to be the firewall
Click to expand...
Click to collapse
now i get this...
Code:
C:\Program Files (x86)\ClockworkMod\Tether
"LAN-Verbindung 2"
Checking arguments...
Setting IP Address, mask, and gateway.
netsh interface ip set address name="LAN-Verbindung 2" source=static 10.0.0.1 255.255.255.0 10.0.0.2 1
Setting DNS server.
netsh interface ip add dns name="LAN-Verbindung 2" 8.8.8.8 index=1
Das Objekt ist in der Liste bereits vorhanden.
netsh interface ip add dns name="LAN-Verbindung 2" 8.8.4.4 index=2
Das Objekt ist in der Liste bereits vorhanden.
Adding Windows Firewall Exception
netsh firewall set allowedprogram program="C:\Program Files (x86)\ClockworkMod\Tether\win32\node.exe" name=Tether
WICHTIG: Der Befehl wurde erfolgreich ausgefhrt.
"netsh firewall" ist jedoch veraltet.
Verwenden Sie stattdessen "netsh advfirewall firewall".
Weitere Informationen zur Verwendung von "netsh advfirewall firewall" anstelle
von "netsh firewall" finden Sie im KB-Artikel 947709
unter "LINK".
OK.
Starting Tether...
C:\Program Files (x86)\ClockworkMod\Tether\node-tuntap
Opening tun device.
Opening tun device: null
adb binary path: "C:\Program Files (x86)\ClockworkMod\Tether\win32\adb.exe"
Checking phone status...
Waiting for interface to get ready... (postSetup, waiting 5 seconds)
ZX1B328NHG New device found.
ZX1B328NHG Connecting to device.
ZX1B328NHG Checking if package is installed.
emulator-5554 New device found.
emulator-5554 Connecting to device.
emulator-5554 Checking if package is installed.
Installing Tether APK on the phone.
Results from APK installation:
{ '0': null,
'1': 'Error: Could not access the Package Manager. Is the system running?\r\r\n',
'2': '9007 KB/s (1014652 bytes in 0.110s)\r\n' }
emulator-5554 Setting up adb port forwarding to port 30002.
emulator-5554 adb port forwarding results:
{ '0': null, '1': '', '2': '' }
emulator-5554 Starting Tether service.
emulator-5554 Starting Tether activity.
ZX1B328NHG Found that APK is already installed. Starting tether on phone.
ZX1B328NHG Setting up adb port forwarding to port 30002.
emulator-5554 Results from starting Tether service:
{ '0': null,
'1': 'Error type 2\r\r\nandroid.util.AndroidException: Can\'t connect to activity manager; is the system running?\r\r\n\tat com.android.commands.am.Am.run(Am.java:99)\r\r\n\tat com.android.commands.am.Am.main(Am.java:80)\r\r\n\tat com.android.internal.os.RuntimeInit.finishInit(Native Method)\r\r\n\tat com.android.internal.os.RuntimeInit.main(RuntimeInit.java:331)\r\r\n\tat dalvik.system.NativeStart.main(Native Method)\r\r\n',
'2': '' }
ZX1B328NHG adb port forwarding results:
{ '0': null, '1': '', '2': '' }
ZX1B328NHG Starting Tether service.
ZX1B328NHG Starting Tether activity.
emulator-5554 Results from starting Tether activity:
{ '0': null,
'1': 'Error type 2\r\r\nandroid.util.AndroidException: Can\'t connect to activity manager; is the system running?\r\r\n\tat com.android.commands.am.Am.run(Am.java:99)\r\r\n\tat com.android.commands.am.Am.main(Am.java:80)\r\r\n\tat com.android.internal.os.RuntimeInit.finishInit(Native Method)\r\r\n\tat com.android.internal.os.RuntimeInit.main(RuntimeInit.java:331)\r\r\n\tat dalvik.system.NativeStart.main(Native Method)\r\r\n',
'2': '' }
ZX1B328NHG Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\nWarning: Activity not started, its current task has been brought to the front\r\r\n',
'2': '' }
ZX1B328NHG Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
Listening on tether port...
Checking phone status...
STATUS: Connected to phone. Waiting for tether connection.
Checking phone status...
ZX1B328NHG Creating relay for device.
emulator-5554 Creating relay for device.
ZX1B328NHG Tether has connected.
ZX1B328NHG Notifying client of Tether version: 6.
emulator-5554 Tether has connected.
emulator-5554 Notifying client of Tether version: 6.
emulator-5554 Tether error:
{ '0': { [Error: write ECONNABORTED] code: 'ECONNABORTED', errno: 'ECONNABORTED', syscall: 'write' } }
cleaing up relay connection
emulator-5554 Tether connection closed.
cleaing up relay connection
emulator-5554 Tether connection closed.
cleaing up relay connection
ZX1B328NHG Tether connection closed.
[deleted]
3DMapPlayer said:
What command did you use?
Sent from my ALCATEL ONE TOUCH 4030E using XDA Premium 4 mobile app
Click to expand...
Click to collapse
your commands were not working, one argument was missing, i got one identical + one argument from internet
Code:
netsh advfirewall firewall add rule name="Tether" dir=in action=allow program="C:\Program Files (x86)\ClockworkMod\Tether\win32\node.exe"
[deleted]
3DMapPlayer said:
did it work?
Sent from my ALCATEL ONE TOUCH 4030E using XDA Premium 4 mobile app
Click to expand...
Click to collapse
it was removed from the firewall, but a new bug came out, the log i posted at end of first page!
UP
I recently re-acquired a usb-to-lan adapter, since my previous one broke after few months of usage.
The new one shows a red light when it's connected to the router via LAN and the tablet via USB. Furthermore dmesg shows me the USB OTG device is successful recognized. So the adapter is OK, but the internet connection is not started.
I noticed that I have no ethernet options in my Settings. I don't remember where they was located, but I remember that there was some settings about LAN and I was able to see LAN usage data separately from wifi usage.
From the day my first usb-to-lan adapter died and now, I upgraded 10.2 to 11 and returned back to 10.2, since I had some problems with startup delay and GPS icon. But if I remember well I used Cyanogenmod 10.2 with the first usb-to-lan adapter, and not CM 11. I have gapps installed.
up.
i know CarbonRom supports Ethernet android 4.4.4
but i dont know about CM
try this out https://play.google.com/store/apps/details?id=xda.usbhost.test&hl=en
It doesn't work. Logcat gives me this error:
PHP:
D/CommandListener( 153): Clearing all IP addresses on wlan0
D/ConnectivityService( 490): ConnectivityChange for WIFI: DISCONNECTED/DISCONNECTED
D/ConnectivityService( 490): tryFailover: set mActiveDefaultNetwork=-1, prevNetType=1
D/ConnectivityService( 490): Attempting to switch to mobile
D/ConnectivityService( 490): Attempting to switch to BLUETOOTH_TETHER
D/ConnectivityService( 490): Attempting to switch to ETHERNET
D/NetUtils( 490): android_net_utils_resetConnections in env=*** clazz=*** iface=wlan0 mask=0x3
D/BluetoothAdapter( 2249): 1101298232: getState() : mService = null. Returning STATE_OFF
D/ConnectivityService( 490): resetConnections(wlan0, 3)
W/Smack/Packet( 897): notify conn break (IOEx), close connection
D/Nat464Xlat( 490): requiresClat: netType=1, hasIPv4Address=false
I/qtaguid ( 897): Failed write_ctrl(u 66) res=-1 errno=22
I/qtaguid ( 897): Untagging socket 66 failed errno=-22
W/NetworkManagementSocketTagger( 897): untagSocket(66) failed with errno -22
D/ConnectivityService( 490): handleInetConditionChange: no active default network - ignore
I/wpa_supplicant( 5105): p2p0: CTRL-EVENT-TERMINATING
I/wpa_supplicant( 5105): CTRL_IFACE monitor[0]: 2 - No such file or directory
I/wpa_supplicant( 5105): wlan0: CTRL-EVENT-DISCONNECTED bssid=*** reason=3 locally_generated=1
Lucas Malor said:
It doesn't work. Logcat gives me this error:
PHP:
D/CommandListener( 153): Clearing all IP addresses on wlan0
D/ConnectivityService( 490): ConnectivityChange for WIFI: DISCONNECTED/DISCONNECTED
D/ConnectivityService( 490): tryFailover: set mActiveDefaultNetwork=-1, prevNetType=1
D/ConnectivityService( 490): Attempting to switch to mobile
D/ConnectivityService( 490): Attempting to switch to BLUETOOTH_TETHER
D/ConnectivityService( 490): Attempting to switch to ETHERNET
D/NetUtils( 490): android_net_utils_resetConnections in env=*** clazz=*** iface=wlan0 mask=0x3
D/BluetoothAdapter( 2249): 1101298232: getState() : mService = null. Returning STATE_OFF
D/ConnectivityService( 490): resetConnections(wlan0, 3)
W/Smack/Packet( 897): notify conn break (IOEx), close connection
D/Nat464Xlat( 490): requiresClat: netType=1, hasIPv4Address=false
I/qtaguid ( 897): Failed write_ctrl(u 66) res=-1 errno=22
I/qtaguid ( 897): Untagging socket 66 failed errno=-22
W/NetworkManagementSocketTagger( 897): untagSocket(66) failed with errno -22
D/ConnectivityService( 490): handleInetConditionChange: no active default network - ignore
I/wpa_supplicant( 5105): p2p0: CTRL-EVENT-TERMINATING
I/wpa_supplicant( 5105): CTRL_IFACE monitor[0]: 2 - No such file or directory
I/wpa_supplicant( 5105): wlan0: CTRL-EVENT-DISCONNECTED bssid=*** reason=3 locally_generated=1
Click to expand...
Click to collapse
then the adapted you have is not supported
The previous adapter worked and it was apparently identical. Is there a way to do some deeper debug, to understand the exact problem?
Hi everyone,
I use a VPN which supports ipv6.
On my computers (pcs under Windows 10), I have no problem and my ip is invisible on ipv4 as well as ipv6 (I check it with www.test-ipv6.com). Both shows servers of my vpn.
But on my galaxy s4 (jftlexx) under cyanogenmod 13, everytime I use the .ovpn files under OpenVpn for Android, my ipv4 is my Vpn one but the ipv6 is the one from my Internet access provider (proxad).
What can I do to make my android to use the VPN ipv6?
My VPN is FrootVpn (I don't want to change cause it's really great for me and I tried 3 or 4 VPN providers before).
Did you try disabling ipv6 in Android?
Lennyz1988 said:
Did you try disabling ipv6 in Android?
Click to expand...
Click to collapse
At the moment, everytime I tried with an app which is made to disable ipv6, my VPN was unable to reach a connection. I tried with AFWall+, with this script : http://forum.xda-developers.com/showpost.php?p=61641566&postcount=2 but it cuts internet connection too ("DNS_PROBE_FINISHED_NO_INTERNET")
I would like to try the solution described here : http://forum.xda-developers.com/general/networking/guide-disable-ipv6-android-t3298659
but I'm not sure to know what to do (I never used scripts). If you have better solutions, I'm interrested
I tried the script solution after being informed on how to do it but I get the same problem : my vpn doesn't connect when ipv6 is disabled. I get this error (some parts are in French, it's my language):
Code:
2016-07-29 09:52:14 Applications VPN refusées :
2016-07-29 09:52:14 L'ouverture de l'interface Tun a échoué.
2016-07-29 09:52:14 Erreur :Cannot set address
2016-07-29 09:52:14 MANAGEMENT: CMD 'needok 'OPENTUN' cancel'
2016-07-29 09:52:14 MANAGEMENT: Client disconnected
2016-07-29 09:52:14 ERROR: Cannot open TUN: Permission denied (errno=13)
2016-07-29 09:52:14 Exiting due to fatal error
2016-07-29 09:52:14 Process exited with exit value 1
2016-07-29 09:52:14 MGMT: Got unrecognized command>FATAL:ERROR: Cannot open TUN: Permission denied (errno=13)
Any ideas?
oldbear3 said:
I tried the script solution after being informed on how to do it but I get the same problem : my vpn doesn't connect when ipv6 is disabled. I get this error (some parts are in French, it's my language):
Code:
2016-07-29 09:52:14 Applications VPN refusées :
2016-07-29 09:52:14 L'ouverture de l'interface Tun a échoué.
2016-07-29 09:52:14 Erreur :Cannot set address
2016-07-29 09:52:14 MANAGEMENT: CMD 'needok 'OPENTUN' cancel'
2016-07-29 09:52:14 MANAGEMENT: Client disconnected
2016-07-29 09:52:14 ERROR: Cannot open TUN: Permission denied (errno=13)
2016-07-29 09:52:14 Exiting due to fatal error
2016-07-29 09:52:14 Process exited with exit value 1
2016-07-29 09:52:14 MGMT: Got unrecognized command>FATAL:ERROR: Cannot open TUN: Permission denied (errno=13)
Any ideas?
Click to expand...
Click to collapse
Anyone can help me, please ?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
**** Disclaimer: I'm not responsible if you destroy your device. Use at your own risk!!! ****
Android Open Source illusion Project
About us:
AOSIP is a quality custom ROM based purely on AOSP. Twisted with the latest features and blended with stability. We strive for perfection and it shows.
Team Illusion:
Josh Fox (xlxfoxxlx)
Akhil Narang
Harsh Shandilya
Anirudh Gupta
Source code:
AOSiP Gerrit Review
AOSiP Github
Kernel Source
Latest Downloads:
AOSiP-11-Ravioli-rosy-20210722-signed.zip
Credit/Thanks:
Mike Williams (founder and creator of AOSiP)
Google for Android and AOSP
LineageOS
ABC ROM
AquariOS
BootleggersROM
Dirty Unicorns
PixelExperience
OmniROM
CarbonROM
nathanchance
---------
Other projects whose work helped us to create this. And last but not the least, all our testers, who have helped us to squash many bugs so that we can try to release builds that as are flawless as possible.
Changelog
2021-07-22
Code:
• Switched to CAF blobs for R
• Blobs from LA.UM.9.6.2.r1-02800-89xx.0
• Updated Qti Radio HAL to v2.4
• Updated Qti Data Factory to v2.1
• Updated Qti GNSS HAL to v4.0
• Updated IMS RTP service to v3.0
• Updated Widevine HAL to v1.3
• Addressed some SELinux denials
• Removed unused firmware blobs
Code:
To disable fp vibration, add to build.prop:
fingerprint.disable_success_vibration=true
Spoiler: Changelog history
Code:
2021-07-22
• Switched to CAF blobs for R
• Blobs from LA.UM.9.6.2.r1-02800-89xx.0
• Updated Qti Radio HAL to v2.4
• Updated Qti Data Factory to v2.1
• Updated Qti GNSS HAL to v4.0
• Updated IMS RTP service to v3.0
• Updated Widevine HAL to v1.3
• Addressed some SELinux denials
• Removed unused firmware blobs
2021-07-08
• July security patch 11.0.0_r39
• Kernel LA.UM.9.6.2.r1-04700-89xx.0
• Updated Prima WLAN kernel driver
• Fixed fingerprint for fpc users
• Fixed USB Tethering issues
• Enabled ZRAM with lz4 compression
• Updated IMS Radio HAL to v1.6
• Enabled VOIP audio compression
• Switched to AOSP audio effects
2021-06-17
• June security patch 11.0.0_r38
• Kernel 4.9.227 (built w/ clang)
• CAF tag LA.UM.9.6.2.r1-04600-89xx.0
• Updated thermal blobs from FP3
• Updated rootdir scripts for k4.9
• Updated Bluetooth configs
• Enabled IWLAN AP-assisted mode
• Added system props for DPM
• Added missing DRM blobs from lmi
• Removed unnecessary media blobs
• Removed unused Updater package
• Updated camera socket paths
• Updated Webview 91.0.4472.101
2021-04-19
• Updated Webview to 90.0.4430.66
• Disabled scheduler runtime share
• Addressed dmesg selinux denials
2021-04-09
• April security patch 11.0.0_r34
• Kernel fixes and optimizations
2021-03-08
• March security patch 11.0.0_r32
• Kernel fixes and optimizations
• Switched to AOSP Bluetooth stack
• Enabled interaction boosts
• SELinux enforcing
• Signed with release-keys
2021-02-09
• February security patch 11.0.0_r29
• Kernel fixes and optimizations
2021-01-27
• Enabled Tap to wake
• Enabled FM Radio
• Fixed touchscreen i2c error
• Updated USB init configs
• Updated Light HIDL service
• Switched to CodeAurora RCS
2021-01-06
• January security patch 11.0.0_r27
2021-01-04
• Fixed Bluetooth issues
• Fixed Hotspot issues
2021-01-02
• December security patch 11.0.0_r22
• Kernel fixes and optimizations
• Updated common blobs from Daisy
• Updated touchscreen drivers
• Updated media encoder profiles
2020-12-05
• Initial build
• November security patch
• SELinux permissive
Installation
1. If you're coming from another ROM or performing a clean flash:
Reboot to Recovery (TWRP)
Take a full backup (optional)
Wipe Dalvik, Data, Cache, System, Vendor
Flash the ROM
Flash GApps (optional)
Reboot to System
2. If you're updating the ROM or performing a dirty flash:
Reboot to Recovery
Flash the ROM
Wipe Cache
Reboot to System
Reporting Bugs
DO NOT Report bugs if you're running a custom kernel or any other modificattions
Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues.
ROM Information
AOSiP 11 Ravioli, ROM for the Xiaomi Redmi 5
Contributors
baunilla
Source Code: https://github.com/baunilla
ROM OS Version: Android 11
ROM Kernel: Linux 4.9.x
ROM Firmware Required: Latest
Based On: AOSP
Version Information
Status: Stable, Signed
SELinux: Enforcing
Превосходно! Попробую эту прошивку.
New build is up.
2021-01-02
Code:
• December security patch 11.0.0_r22
• Kernel fixes and optimizations
• Updated common blobs from Daisy
• Updated touchscreen drivers
• Updated media encoder profiles
bluetooth not working
New build is up.
2021-01-04
Code:
• Fixed Bluetooth issues in previous build
Fixes a Bluetooth issue in build 2021-01-02
NIK126 said:
bluetooth not working
Click to expand...
Click to collapse
Thanks, fixed now.
hotspot not working
Spoiler: log
Code:
<<< log_count = 828 >>>
[01-04 16:12:42.719 3848:3860 E/ownload_servic]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:42.746 2759:2775 E/FuseDaemon]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:42.748 3077:3077 I/GoogleInputMethodService]
GoogleInputMethodService.onFinishInput():3341
[01-04 16:12:42.749 3077:3077 I/GoogleInputMethodService]
GoogleInputMethodService.onStartInput():1906
[01-04 16:12:42.765 1595:1607 E/system_server]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:42.992 4580:4595 E/om.dp.logcatap]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:43.004 2330:2516 D/FiveGDataOptimize]
TxRx: 0, Tx: 0, Rx: 0, Hit: 0
[01-04 16:12:43.014 2230:2242 E/ssioncontrolle]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:43.014 4580:4616 D/OpenGLRenderer]
endAllActiveAnimators on 0x706e4b3f30 (MenuPopupWindow$MenuDropDownListView) with handle 0x6f8e3d03a0
[01-04 16:12:43.173 6192:6204 E/.mixplorer.bet]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:43.181 2712:2728 E/.dataservices]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:43.263 2330:2342 E/m.android.phon]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:43.283 4779:4792 E/ogle.android.g]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:43.286 3727:3739 E/android.vendin]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:43.292 2590:2604 E/.gms.persisten]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:43.391 2304:2321 E/qtidataservice]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:43.452 6086:6099 E/webview_servic]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:43.455 1884:1884 D/StatusBar]
disable<e i a s b h r c s > disable2<q i n >
[01-04 16:12:43.475 2286:2298 E/com.android.se]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:43.497 1884:1884 D/StatusBar]
disable<e i a s b h r c s > disable2<q i n >
[01-04 16:12:43.506 2911:2925 E/android.smspus]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:43.541 2263:2278 E/elephonyservic]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:43.542 5343:5343 D/CellBroadcastReceiver]
onReceive Intent { act=android.intent.action.SERVICE_STATE flg=0x1000010 cmp=com.android.cellbroadcastreceiver.module/com.android.cellbroadcastreceiver.CellBroadcastReceiver (has extras) }
[01-04 16:12:43.576 2330:2330 D/ServiceStateProvider]
subId=2
[01-04 16:12:43.579 5343:5343 D/CellBroadcastReceiver]
onReceive Intent { act=android.intent.action.SERVICE_STATE flg=0x1000010 cmp=com.android.cellbroadcastreceiver.module/com.android.cellbroadcastreceiver.CellBroadcastReceiver (has extras) }
[01-04 16:12:43.582 6113:6124 E/ocessService0:]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:43.585 2304:3034 D/QCNEJ/WwanInfoRelay]
Received action: android.intent.action.ANY_DATA_STATE
[01-04 16:12:43.586 2712:2712 D/DPMJ]
|SERVICE| DPM received action android.intent.action.ANY_DATA_STATE
[01-04 16:12:43.586 2712:2712 W/DPMJ]
|SERVICE| DPM received ACTION_ANY_DATA_CONNECTION_STATE_CHANGEDsupl
[01-04 16:12:43.588 2304:3034 D/QCNEJ/WwanInfoRelay]
Received action: android.intent.action.ANY_DATA_STATE
[01-04 16:12:43.589 2712:2712 D/DPMJ]
|SERVICE| DPM received action android.intent.action.ANY_DATA_STATE
[01-04 16:12:43.589 2712:2712 W/DPMJ]
|SERVICE| DPM received ACTION_ANY_DATA_CONNECTION_STATE_CHANGEDhipri,default
[01-04 16:12:43.589 3077:3089 E/putmethod.lati]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:43.593 2330:2330 D/TelephonyProvider]
Using old permission behavior for telephony provider compat
[01-04 16:12:43.593 2330:2330 D/TelephonyProvider]
subIdString = 2 subId = 2
[01-04 16:12:43.594 5343:5355 E/receiver.modul]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:43.607 2330:2330 D/TelephonyProvider]
Using old permission behavior for telephony provider compat
[01-04 16:12:43.607 2330:2330 D/TelephonyProvider]
subIdString = 2 subId = 2
[01-04 16:12:43.618 2209:2221 E/rkstack.proces]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:43.664 2358:2385 E/id.ext.service]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:43.706 1884:1902 E/ndroid.systemu]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:43.814 5877:5889 E/android:ui]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:43.940 5176:5188 E/ree.vpn.privat]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:43.983 4980:4995 E/gle.android.gm]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:44.054 4490:4503 E/ndroid.calenda]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:44.115 2430:2451 E/.qcrilmsgtunne]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:44.334 5908:5926 E/com.vk.im]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:44.335 5914:5940 E/.android.gms.u]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:44.355 5939:5964 E/:UploadToFolde]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:44.393 2687:2699 E/ocess.gservice]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:44.431 2081:2099 E/droid.launcher]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:44.600 4158:4170 E/oid.apps.photo]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:44.670 1884:1950 I/TetheringManager]
startTethering caller:com.android.systemui
[01-04 16:12:44.673 1595:6136 I/WifiService]
startTetheredHotspot uid=1073
[01-04 16:12:44.674 1595:1832 D/WifiActiveModeWarden]
Starting SoftApModeManager config = null
[01-04 16:12:44.675 1595:1832 D/WifiController]
DisabledState.exit()
[01-04 16:12:44.675 1595:1832 D/WifiController]
EnabledState.enter()
[01-04 16:12:44.677 1595:1832 I/WifiVendorHal]
Vendor Hal started successfully
[01-04 16:12:44.677 1595:1833 I/WifiP2pNative]
Registering for interface available listener
[01-04 16:12:44.677 453:453 I/hwservicemanager]
Since android.hardware.wifi.ho[email protected]::IHostapd/default is not registered, trying to start it as a lazy HAL.
[01-04 16:12:44.678 1595:1832 D/HostapdHal]
Successfully triggered start of hostapd using HIDL
[01-04 16:12:44.680 0:0 I/init]
starting service 'hostapd'...
[01-04 16:12:44.683 0:0 I/init]
Control message: Processed ctl.interface_start for '[email protected]::IHostapd/default' from pid: 453 (/system/bin/hwservicemanager)
[01-04 16:12:44.719 3848:3860 E/ownload_servic]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:44.722 6330:6330 I/hostapd]
Processing hidl events on FD 3
[01-04 16:12:44.724 6330:6330 I/HidlServiceManagement]
Registered [email protected]::IHostapd/default (start delay of 48ms)
[01-04 16:12:44.725 1595:5744 I/android_os_HwBinder]
HwBinder: Starting thread pool for getting: [email protected]::IHostapd/default
[01-04 16:12:44.728 1595:5744 I/HostapdHal]
Completed initialization of IHostapd.
[01-04 16:12:44.747 2759:2775 E/FuseDaemon]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:44.765 1595:1607 E/system_server]
failed to connect to jdwp control socket: Connection refused
[01-04 16:12:44.781 0:0 I/wlan]
unloading driver v3.0.11.85.9
[01-04 16:12:44.845 0:0 F/]
VOS ASSERT in vos_event_destroy Line 355
New build is up to fix Hotspot issues.
Code:
• Fixed Bluetooth issues
• Fixed Hotspot issues
MD5 checksum: e1cc47c573501f34ceaa1e08c623fa23
NIK126 said:
hotspot not working
Click to expand...
Click to collapse
Thanks again, fixed.
New build is up.
2021-01-06
Code:
• January security patch 11.0.0_r27
baunilla said:
New build is up.
2021-01-06
Code:
• January security patch 11.0.0_r27
Click to expand...
Click to collapse
Bluetooth don't work on this version.
New build is up.
2021-01-27
Code:
• Enabled Tap to wake
• Enabled FM Radio
• Fixed touchscreen i2c error
• Updated USB init configs
• Updated Light HIDL service
• Updated Perf blobs LA.UM.9.6.2.r1-03300-89xx.0
• Updated Bluetooth blobs LA.UM.9.6.2.r1-03300-89xx.0
• Updated FM blobs LA.UM.9.6.2.r1-03300-89xx.0
• Updated Sensor blobs LA.UM.9.6.2.r1-03300-89xx.0
• Switched to CodeAurora RCS
New build is up.
2021-02-09
Code:
• February security patch 11.0.0_r29
• Kernel fixes and optimizations
Verified, this ROM works fine. ✔
AOSiP-11-Ravioli-rosy-20210209-1627.zip Phone connects to Bluetooth headphones \ speaker but sound comes through phone's speaker, not through BT device. Let me know if logcat is needed.
On fresh ArrowOS build BT works like it should.
Besides from that, thank you for maintaning this rom! Hope BT issue will be solved soon.
Also, dunno why this feature is not listed on many roms, but this is IMHO very important:
- this ROM supports signature spoofing out of the box, so I had absolutely no problem with MicroG installation (Nanodroid).
InteRResist said:
Bluetooth don't work on this version.
Click to expand...
Click to collapse
PWSteal said:
Phone connects to Bluetooth headphones \ speaker but sound comes through phone's speaker, not through BT device. Let me know if logcat is needed.
Click to expand...
Click to collapse
Thanks A partial log from headset connection to the end of streaming would be great.
baunilla said:
Thanks A partial log from headset connection to the end of streaming would be great.
Click to expand...
Click to collapse
bug: Phone connects to Bluetooth headphones \ speaker but sound comes through phone's speaker, not through BT device.
AOSiP-11-Ravioli-rosy-20210209
logcat GDrive included everything from headset connection to video playback but bug log is towards the end of the file.
New build is up.
2021-03-08
Code:
• March security patch 11.0.0_r32
• Kernel fixes and optimizations
• Switched to AOSP Bluetooth stack
• Enabled interaction boosts
• SELinux enforcing
• Signed with release-keys
EDIT: Build 2021-03-07 was re-uploaded to fix a small issue.
Code:
MD5: 38c68dba10bc229b60809eacaadc5bc4
New build is up.
2021-04-09
Code:
• April security patch 11.0.0_r34
• Kernel fixes and optimizations
Nice rom..but have some minor bugs.. performs really well