[Galaxy S II Android Development] sid_dlyobjcts:
Can +1 this

# I am really sorry for the improper logs

Looking at adb logs, did not get a chance to copy them, I found error messages stacktracing to line 53 of iptables~ file. and 108~ of ipv6 tables files.

Throws an `illegal state exception` with `device not found`

Exact ADB Logs :

1983-2018/? E/TetherController: Error setting forward rules
2191-2219/system_process E/Tethering: [wlan0] ERROR Exception enabling NAT: java.lang.IllegalStateException: command '913 nat enable wlan0 rmnet0 1 192.168.43.0/24' failed with '400 913 Nat operation failed (No such device)'
2191-2306/system_process W/system_server: Long monitor contention with owner NetworkStats (2297) at void com.android.server.net.NetworkStatsService.performPoll(int)(NetworkStatsService.java:1265) waiters=0 in android.net.NetworkStatsHistory com.android.server.net.NetworkStatsService.internalGetHistoryForNetwork(android.net.NetworkTemplate, int, int, int, int) for 103ms
1983-2018/? E/BandwidthController: No prior alert set
1983-2018/? W/IptablesRestoreController: iptables-restore process 23500 terminated status=256
1983-2018/? W/IptablesRestoreController: iptables-restore process 23623 terminated status=256
1983-2018/? E/IptablesRestoreController: iptables error:
------- COMMAND -------
*raw
-D tetherctrl_raw_PREROUTING -p tcp --dport 21 -i wlan0 -j CT --helper ftp
COMMIT
*filter
-D tetherctrl_FORWARD -i rmnet0 -o wlan0 -m state --state ESTABLISHED,RELATED -g tetherctrl_counters
-D tetherctrl_FORWARD -i wlan0 -o rmnet0 -m state --state INVALID -j DROP
-D tetherctrl_FORWARD -i wlan0 -o rmnet0 -g tetherctrl_counters
COMMIT

------- ERROR -------
iptables-restore: line 18 failed
----------------------
1983-2009/? E/Netd: Interface index 8 was never in a currently-connected netId
1931-1931/? W/auditd: type=1401 audit(0.0:4081): SELinux: unrecognized netlink message type=21 for sclass=32
1983-2009/? E/Netd: Interface index 8 was never in a currently-connected netId
1931-1931/? W/auditd: type=1401 audit(0.0:4082): SELinux: unrecognized netlink message type=21 for sclass=32
2191-2219/system_process W/ConnectivityManager.CallbackHandler: callback not found for CALLBACK_PRECHECK message
1983-2009/? E/Netd: Interface index 8 was never in a currently-connected netId
2191-2219/system_process W/ConnectivityManager.CallbackHandler: callback not found for CALLBACK_IP_CHANGED message
2191-2219/system_process W/ConnectivityManager.CallbackHandler: callback not found for CALLBACK_IP_CHANGED message
2191-2258/system_process W/HostapdHal: IHostapd/IHostapd died: cookie=0
2000-23528/? E/WifiHAL: wifi_event_loop: Read after POLL returned 4, error no = 0 (Success)
2000-2000/? E/WifiHAL: wifi_cleanup: Read after POLL returned 4, error no = 2 (No such file or directory)
2000-2000/? E/WifiHAL: Event processing terminated
2191-2301/system_process E/HalDevMgr: Should have at least 1 chip!
2191-2301/system_process E/HalDevMgr: dispatchAvailableForRequestListeners: no chip info found
2191-2215/system_process E/BatteryExternalStatsWorker: no controller energy info supplied for wifi

Probable help :

[GITHUB]

blumonks/android_device_blu_p6601/issues/7#issuecomment-330809973