rajan72 / android-wifi-tether

Automatically exported from code.google.com/p/android-wifi-tether
0 stars 1 forks source link

Inoperable on 4.0.3, rooted SGN #1318

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Samsung Galaxy Nexus GSM, Rooted

Stock Firmware, Android 4.0.3

Wifi Tether 3.1-beta9

What steps will reproduce the problem?
1.Root phone (have done several methods, all of which have allowed su and 
remount, including superboot)
2.Test root (can remount rw, run su, run Superuser.apk)
3.Install Wifi Tether 3.1-beta9 (non-Market apps enabled)
4.Select Galaxy Nexus GSM (maguro) profile

What is the expected output? What do you see instead?
Expected:
1. Operational Hotspot -or- Log file with error

Actual:
1. Hotspot starts 'with errors'
2. When Menu->Show Log is selected, the error is presented: 'Unable to open 
log-File. File does not exist!'

Original issue reported on code.google.com by michael.paik@gmail.com on 27 Dec 2011 at 8:22

GoogleCodeExporter commented 9 years ago
Salient lines from alogcat:

D/TETHER -> TetherApplication(27854): Calling onCreate()
D/TETHER -> TetherApplication(27854): Current directory is 
/data/data/com.googlecode.android.wifi.tether
D/TETHER -> TetherApplication(27854): Directory 
'/data/data/com.googlecode.android.wifi.tether/bin' already exists!
D/TETHER -> TetherApplication(27854): Directory 
'/data/data/com.googlecode.android.wifi.tether/var' already exists!
D/TETHER -> TetherApplication(27854): Directory 
'/data/data/com.googlecode.android.wifi.tether/conf' already exists!
D/TETHER -> MainActivity(27854): Calling onCreate()
D/OpenGLRenderer(  477): Flushing caches (mode 1)
D/OpenGLRenderer(  477): Flushing caches (mode 0)
D/dalvikvm(27854): GC_CONCURRENT freed 159K, 2% free 12878K/13127K, paused 
2ms+4ms
D/dalvikvm(27854): GC_FOR_ALLOC freed 2K, 2% free 12876K/13127K, paused 15ms
I/dalvikvm-heap(27854): Grow heap (frag case) to 13.100MB for 487216-byte 
allocation
D/dalvikvm(27854): GC_FOR_ALLOC freed 0K, 3% free 13352K/13639K, paused 10ms
D/dalvikvm(27854): GC_FOR_ALLOC freed 119K, 3% free 13358K/13767K, paused 9ms
I/dalvikvm-heap(27854): Grow heap (frag case) to 13.571MB for 487216-byte 
allocation
D/dalvikvm(27854): GC_CONCURRENT freed <1K, 4% free 13834K/14279K, paused 
1ms+1ms
D/TETHER -> MainActivity(27854): Calling onResume()
V/PhoneStatusBar(  269): setLightsOn(true)
I/ActivityManager(  193): Displayed 
com.googlecode.android.wifi.tether/.MainActivity: +418ms
W/Settings( 1084): Setting location_providers_allowed has moved from 
android.provider.Settings.System to android.provider.Settings.Secure, returning 
read-only value.
W/Settings( 1084): Setting location_providers_allowed has moved from 
android.provider.Settings.System to android.provider.Settings.Secure, returning 
read-only value.
W/Settings( 1084): Setting location_providers_allowed has moved from 
android.provider.Settings.System to android.provider.Settings.Secure, returning 
read-only value.
W/Settings( 1084): Setting location_providers_allowed has moved from 
android.provider.Settings.System to android.provider.Settings.Secure, returning 
read-only value.
D/TETHER -> MainActivity(27854): StartBtn pressed ...
D/ServiceStartupReceiver(27854): onReceive 
com.googlecode.android.wifi.tether.intent.MANAGE
D/TetherService(27854): >>>>>>>>>>>>> Tethering-Service started! <<<<<<<<<<<<<
I/TETHER -> NativeTask(27854): Trying to load libwtnativetask.so
D/dalvikvm(27854): Trying to load lib 
/data/data/com.googlecode.android.wifi.tether/lib/libwtnativetask.so 0x41688a98
D/dalvikvm(27854): Added shared lib 
/data/data/com.googlecode.android.wifi.tether/lib/libwtnativetask.so 0x41688a98
D/dalvikvm(27854): No JNI_OnLoad found in 
/data/data/com.googlecode.android.wifi.tether/lib/libwtnativetask.so 
0x41688a98, skipping init
D/ServiceStartupReceiver(27854): onReceive 
com.googlecode.android.wifi.tether.intent.MANAGE
W/Service (27854): setForeground: ignoring old API call on 
com.googlecode.android.wifi.tether.TetherService
D/TETHER -> CoreTask(27854): Writing 459 bytes to file: 
/data/data/com.googlecode.android.wifi.tether/conf/tether.conf
D/TETHER -> TetherApplication(27854): Creation of configuration-files took ==> 
6 milliseconds.
D/TETHER -> CoreTask(27854): Root-Command ==> su -c 
"/data/data/com.googlecode.android.wifi.tether/bin/tether start"
D/dalvikvm(  269): GC_CONCURRENT freed 574K, 8% free 14628K/15879K, paused 
2ms+3ms
D/dalvikvm(27854): GC_FOR_ALLOC freed 339K, 4% free 13836K/14279K, paused 29ms
I/dalvikvm-heap(27854): Grow heap (frag case) to 13.838MB for 279056-byte 
allocation
E/su      (27873): sudb - Opening database
E/su      (27873): sudb - Database opened
E/su      (27873): sudb - Database closed
D/dalvikvm(27854): GC_FOR_ALLOC freed 2K, 4% free 14106K/14599K, paused 20ms
D/dalvikvm( 1084): GC_CONCURRENT freed 402K, 5% free 12662K/13191K, paused 
2ms+150ms
D/TETHER -> WebserviceTask(27854): Request returned status HTTP/1.1 404 Not 
Found
W/Settings( 1084): Setting location_providers_allowed has moved from 
android.provider.Settings.System to android.provider.Settings.Secure, returning 
read-only value.
W/Settings( 1084): Setting location_providers_allowed has moved from 
android.provider.Settings.System to android.provider.Settings.Secure, returning 
read-only value.
W/Settings( 1084): Setting location_providers_allowed has moved from 
android.provider.Settings.System to android.provider.Settings.Secure, returning 
read-only value.
W/Settings( 1084): Setting location_providers_allowed has moved from 
android.provider.Settings.System to android.provider.Settings.Secure, returning 
read-only value.
W/Settings( 1084): Setting location_providers_allowed has moved from 
android.provider.Settings.System to android.provider.Settings.Secure, returning 
read-only value.
W/Settings( 1084): Setting location_providers_allowed has moved from 
android.provider.Settings.System to android.provider.Settings.Secure, returning 
read-only value.
W/Settings( 1084): Setting location_providers_allowed has moved from 
android.provider.Settings.System to android.provider.Settings.Secure, returning 
read-only value.
W/Settings( 1084): Setting location_providers_allowed has moved from 
android.provider.Settings.System to android.provider.Settings.Secure, returning 
read-only value.
D/dalvikvm(  193): GC_CONCURRENT freed 1994K, 17% free 22263K/26567K, paused 
3ms+7ms
E/su      (27873): select failed with 2: No such file or directory
W/su      (27873): request rejected (10091->0 
/data/data/com.googlecode.android.wifi.tether/bin/tether start)
D/TETHER -> CoreTask(27854): Root-Command error, return code: 256
D/TETHER -> MainActivity(27854): Menuitem:getId  -  1
D/TETHER -> MainActivity(27854): Calling onPause()
D/TETHER -> MainActivity(27854): Calling onResume()
D/TETHER -> MainActivity(27854): Calling onPause()
V/PhoneStatusBar(  269): setLightsOn(true)
I/ActivityManager(  193): Displayed 
com.googlecode.android.wifi.tether/.LogActivity: +334ms
D/TETHER -> MainActivity(27854): Calling onStop()
W/Settings( 1084): Setting location_providers_allowed has moved from 
android.provider.Settings.System to android.provider.Settings.Secure, returning 
read-only value.
W/Settings( 1084): Setting location_providers_allowed has moved from 
android.provider.Settings.System to android.provider.Settings.Secure, returning 
read-only value.
W/Settings( 1084): Setting location_providers_allowed has moved from 
android.provider.Settings.System to android.provider.Settings.Secure, returning 
read-only value.
W/Settings( 1084): Setting location_providers_allowed has moved from 
android.provider.Settings.System to android.provider.Settings.Secure, returning 
read-only value.
D/dalvikvm(  477): GC_CONCURRENT freed 3732K, 32% free 20842K/30407K, paused 
5ms+7ms
D/alogcat (27594): stopping ...
D/alogcat (27594): canceling periodic saves
D/alogcat (27594): starting ...
V/alogcat (27594): started
V/alogcat (27594): resumed
D/OpenGLRenderer(  477): Flushing caches (mode 1)
D/OpenGLRenderer(  477): Flushing caches (mode 0)
V/PhoneStatusBar(  269): setLightsOn(true)
W/Settings( 1084): Setting location_providers_allowed has moved from 
android.provider.Settings.System to android.provider.Settings.Secure, returning 
read-only value.
W/Settings( 1084): Setting location_providers_allowed has moved from 
android.provider.Settings.System to android.provider.Settings.Secure, returning 
read-only value.
W/Settings( 1084): Setting location_providers_allowed has moved from 
android.provider.Settings.System to android.provider.Settings.Secure, returning 
read-only value.
W/Settings( 1084): Setting location_providers_allowed has moved from 
android.provider.Settings.System to android.provider.Settings.Secure, returning 
read-only value.

Original comment by michael.paik@gmail.com on 27 Dec 2011 at 8:45

GoogleCodeExporter commented 9 years ago
Repaired by updating su from 3.0.3 to 3.0.3.2. Certain boot patches appear to 
have mismatched Superuser.apk and su versions, leading to this problem. Please 
close issue.

Original comment by michael.paik@gmail.com on 27 Dec 2011 at 9:30