Related
So i flashed Camera4.2 and after it booted my wifi wont turn on.. it says error.. Anyway to fix this without reflashing whole rom? i removed all libs and apks that came from the zip and still no luck...
Sasba sense 4.0 v7
Logcat
Code:
D/WifiStateMachine( 1508): WiFiDisplay: getWifidisplayApEnabled=false
D/WifiStateMachine( 1508): WiFiDisplay: getWifidisplayApEnabled=false
D/StateMachine( 1508): handleMessage: new destination call exit
D/StateMachine( 1508): invokeExitMethods: DriverUnloadedState
D/StateMachine( 1508): handleMessage: new destination call exit
D/StateMachine( 1508): invokeExitMethods: WaitForP2pDisableState
D/WifiService( 1508): setWifiEnabled enable=true
D/WifiService( 1508): setWifiEnabled- =true
D/WifiService( 1508): setWifiEnabledPersist enable=true, persist=true, getCallingPid()=3837
D/WifiService( 1508): STA (mIfWiFiRegBastReceiver:true, mIfWiFiHostpotRegBastReceiver:false)
D/WifiP2pService( 1508): P2pDisabledState{ what=131203 when=-1ms }
D/WirelessDisplayService( 1508): WifiReceiver: action:android.net.wifi.WIFI_STATE_CHANGEDstate1
D/WifiHW ( 1508): wifi_load_driver no load module
D/WifiStateMachine( 1508): Driver load successful
D/StateMachine( 1508): handleMessage: new destination call exit
D/StateMachine( 1508): invokeExitMethods: DriverLoadingState
E/WifiHW ( 1380): Failed to open wlan fw path param (No such file or directory)
E/SoftapController( 1380): Softap fwReload - failed: -1
E/WifiStateMachine( 1508): Failed to reload STA firmware java.lang.IllegalStateException: Error communicating to native daemon
I/NetSharing_NSReceiver( 3837): customizedNS:true
I/NetSharing_NSReceiver( 3837): sp customizedNS:true
I/NetSharing_NSReceiver( 3837): LAN Type:false ML Type:true
I/NetSharing_NSReceiver( 3837): IS Type:true IS_ML:false
D/NetSharing_NSReceiver( 3837): onReceive : android.net.wifi.WIFI_STATE_CHANGED hasTethered:false
D/NetSharing( 3837): wifi enabled change, state = false
I/NetSharing( 3837): mobildata:false wifienabled:false wimaxenabled:false
W/CommandListener( 1380): Failed to retrieve HW addr for wlan0 (No such device)
D/CommandListener( 1380): Setting iface cfg
D/NetworkManagementService( 1508): rsp <213 00:00:00:00:00:00 0.0.0.0 0 [down]>
D/NetworkManagementService( 1508): flags <[down]>
E/WifiStateMachine( 1508): Unable to change interface settings: java.lang.IllegalStateException: Unable to communicate with native
daemon to interface setcfg - com.android.server.NativeDaemonConnectorException: Cmd {interface setcfg wlan0 0.0.0.0 0 [down]} fai
led with code 400 : {Failed to set address (No such device)}
D/WifiHW ( 1508): wifi_start_supplicant_common enter
D/StateMachine( 1508): handleMessage: new destination call exit
D/StateMachine( 1508): invokeExitMethods: DriverLoadedState
E/wpa_supplicant( 4898): Starting wpa_supplicant...
I/wpa_supplicant( 4898): rfkill: Cannot open RFKILL control device
E/wpa_supplicant( 4898): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4898): Could not read interface wlan0 flags: No such device
D/PhoneStatusBarPolicy( 1622): silentresetvalue = 0, mTimerEnabled = false
D/PhoneStatusBarPolicy( 1622): updateSignalStrength(), in service, remove timer
E/wpa_supplicant( 4898): Could not read interface wlan0 flags: No such device
D/PhoneStatusBarPolicy( 1622): isCdma():false hasService:true mSimState=UNKNOWN gprsState=0 mDataState=-1 dataActivity=0 mPhone.ht
cModemLinkOn:false hspa==true
D/PhoneStatusBarPolicy( 1622): updateDataIcon(), silentresetvalue = 0, mTimerEnabled = false
D/PhoneStatusBarPolicy( 1622): updateDataIcon(), in data service, do nothing
E/wpa_supplicant( 4898): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4898): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4898): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4898): Could not read interface wlan0 flags: No such device
I/rmt_storage( 4915): rmt_storage user app start
I/rmt_storage( 4915): rmt_storage open success
I/rmt_storage( 4915): rmt_storage shared memory ioctl success
I/rmt_storage( 4915): rmt_storage mmap addr = 40268000
E/rmt_storage( 4915): rmt_storage wait event ioctl failed
E/wpa_supplicant( 4898): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4898): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4898): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4898): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4898): nl80211: Could not set interface 'wlan0' UP
E/wpa_supplicant( 4898): wlan0: Failed to initialize driver interface
I/logwrapper( 4896): /system/bin/wpa_supplicant terminated by exit(255)
I/rmt_storage( 4924): rmt_storage user app start
I/rmt_storage( 4924): rmt_storage open success
I/rmt_storage( 4924): rmt_storage shared memory ioctl success
I/rmt_storage( 4924): rmt_storage mmap addr = 401c1000
E/rmt_storage( 4924): rmt_storage wait event ioctl failed
D/PhoneStatusBarPolicy( 1622): silentresetvalue = 0, mTimerEnabled = false
D/PhoneStatusBarPolicy( 1622): updateSignalStrength(), in service, remove timer
D/PhoneStatusBarPolicy( 1622): isCdma():false hasService:true mSimState=UNKNOWN gprsState=0 mDataState=-1 dataActivity=0 mPhone.ht
cModemLinkOn:false hspa==true
D/PhoneStatusBarPolicy( 1622): updateDataIcon(), silentresetvalue = 0, mTimerEnabled = false
D/PhoneStatusBarPolicy( 1622): updateDataIcon(), in data service, do nothing
E/WifiHW ( 1508): Supplicant not running, cannot connect
I/rmt_storage( 4925): rmt_storage user app start
I/rmt_storage( 4925): rmt_storage open success
I/rmt_storage( 4925): rmt_storage shared memory ioctl success
I/rmt_storage( 4925): rmt_storage mmap addr = 40193000
E/rmt_storage( 4925): rmt_storage wait event ioctl failed
E/WifiHW ( 1508): Supplicant not running, cannot connect
E/WifiHW ( 1508): Supplicant not running, cannot connect
E/WifiHW ( 1508): Supplicant not running, cannot connect
E/WifiHW ( 1508): Supplicant not running, cannot connect
E/WifiStateMachine( 1508): Failed to setup control channel, restart supplicant
D/WifiHW ( 1508): wifi_stop_supplicant enter
D/WifiHW ( 1508): wifi_stop_supplicant end rifgt 1
D/StateMachine( 1508): handleMessage: new destination call exit
D/StateMachine( 1508): invokeExitMethods: SupplicantStartingState
E/WifiHW ( 1380): Failed to open wlan fw path param (No such file or directory)
E/SoftapController( 1380): Softap fwReload - failed: -1
E/WifiStateMachine( 1508): Failed to reload STA firmware java.lang.IllegalStateException: Error communicating to native daemon
W/CommandListener( 1380): Failed to retrieve HW addr for wlan0 (No such device)
D/NetworkManagementService( 1508): rsp <213 00:00:00:00:00:00 0.0.0.0 0 [down]>
D/NetworkManagementService( 1508): flags <[down]>
D/CommandListener( 1380): Setting iface cfg
E/WifiStateMachine( 1508): Unable to change interface settings: java.lang.IllegalStateException: Unable to communicate with native
daemon to interface setcfg - com.android.server.NativeDaemonConnectorException: Cmd {interface setcfg wlan0 0.0.0.0 0 [down]} fai
led with code 400 : {Failed to set address (No such device)}
D/WifiHW ( 1508): wifi_start_supplicant_common enter
D/StateMachine( 1508): handleMessage: new destination call exit
D/StateMachine( 1508): invokeExitMethods: DriverLoadedState
E/wpa_supplicant( 4948): Starting wpa_supplicant...
I/wpa_supplicant( 4948): rfkill: Cannot open RFKILL control device
E/wpa_supplicant( 4948): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4948): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4948): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4948): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4948): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4948): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4948): Could not read interface wlan0 flags: No such device
I/rmt_storage( 4965): rmt_storage user app start
I/rmt_storage( 4965): rmt_storage open success
I/rmt_storage( 4965): rmt_storage shared memory ioctl success
I/rmt_storage( 4965): rmt_storage mmap addr = 401fb000
E/rmt_storage( 4965): rmt_storage wait event ioctl failed
E/wpa_supplicant( 4948): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4948): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4948): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4948): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4948): nl80211: Could not set interface 'wlan0' UP
E/wpa_supplicant( 4948): wlan0: Failed to initialize driver interface
I/logwrapper( 4946): /system/bin/wpa_supplicant terminated by exit(255)
bilibox said:
So i flashed Camera4.2 and after it booted my wifi wont turn on.. it says error.. Anyway to fix this without reflashing whole rom? i removed all libs and apks that came from the zip and still no luck...
Click to expand...
Click to collapse
I would dirty-flash the ROM. Clear cache and dalvik, reflash the ROM, and reboot. It will replace the files from Camera 4.2, and since it's the exact same ROM it shouldn't have problems.
bananagranola said:
I would dirty-flash the ROM. Clear cache and dalvik, reflash the ROM, and reboot. It will replace the files from Camera 4.2, and since it's the exact same ROM it shouldn't have problems.
Click to expand...
Click to collapse
I would but i have taken a lot of things out of the stock rom and didn't want to again :/ Shouldn't have flashed that haha wasn't worth it
The Camera 4.2 shouldnt effect wifi..
Masyby you remove a little to much from the rom ?
jorgen_gustavsson said:
The Camera 4.2 shouldnt effect wifi..
Masyby you remove a little to much from the rom ?
Click to expand...
Click to collapse
Nope :/ Dirty flashed again and took out everything i took out before and wifi working perfectly
Hi everyone,
i'm try to resurrect a kf 1 gen.
WIFI module seams dead and seems that for the same problem u'll get a replacement.
I can't ask for replacement seen that got no warranty any more.
So i post my logcat cause maybe someone can help, causa i can't understand how a dead module can ignore protected network
Thanks in advance.
I/SystemServer( 366): Wi-Fi Service
E/CommandListener( 96): Failed to open /proc/sys/net/ipv6/conf/wlan0/disable_ipv6: No such file or directory
I/SystemServer( 366): Connectivity Service
E/WifiStateMachine( 366): Failed to disable IPv6: java.lang.IllegalStateException: command '1 interface ipv6 wlan0 disable' failed with '400 1 Failed to change IPv6 state (No such file or directory)'
D/ConnectivityService( 366): ConnectivityService starting up
E/ConnectivityService( 366): Ignoring protectedNetwork 10
E/ConnectivityService( 366): Ignoring protectedNetwork 11
E/ConnectivityService( 366): Ignoring protectedNetwork 12
D/BluetoothTethering( 366): startMonitoring: target: Handler (com.android.server.ConnectivityService$NetworkStateTrackerHandler) {4146c3a8}
D/BluetoothManagerService( 366): Message: 20
D/BluetoothManagerService( 366): Added callback: [email protected]:true
D/BluetoothPan( 366): BluetoothPan() call bindService
D/BluetoothManagerService( 366): Message: 30
D/BluetoothPan( 366): BluetoothPan(), bindService called
W/ApplicationContext( 366): Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1437 android.bluetooth.BluetoothPan.<init>:141 android.bluetooth.BluetoothAdapter.getProfileProxy:1164
D/WifiWatchdogStateMachine( 366): Disabling poor network avoidance for wi-fi only device
I/WifiService( 366): WifiService starting up with Wi-Fi enabled
D/WifiService( 366): setWifiEnabled: true pid=366, uid=1000
I/SystemServer( 366): Network Service Discovery Service
D/NsdService( 366): Network service discovery enabled true
I/SystemServer( 366): Throttle Service
I/SystemServer( 366): UpdateLock Service
D/dalvikvm( 366): GC_CONCURRENT freed 329K, 12% free 4531K/5104K, paused 2ms+2ms, total 37ms
D/dalvikvm( 366): WAIT_FOR_CONCURRENT_GC blocked 2ms
W/CommandListener( 96): Failed to retrieve HW addr for wlan0 (No such device)
D/CommandListener( 96): Setting iface cfg
E/WifiStateMachine( 366): Unable to change interface settings: java.lang.IllegalStateException: command '4 interface setcfg wlan0 0.0.0.0 0 down' failed with '400 4 Failed to set address (No such device)'
E/WifiHW ( 366): unexpected - found 0 phys in /sys/class/ieee80211
E/WifiHW ( 366): could not add P2P interface: -19
E/WifiHW ( 366): Wi-Fi - could not create p2p interface
E/WifiStateMachine( 366): Failed to start supplicant!
D/ProfileService( 366): Found active: 14a743a1-e6c1-48a0-a191-b9b2bae8c7d9
I/SystemServer( 366): Profile Manager
HERE you find full log:
peciuz said:
Hi everyone,
BLA BLA BLA
Click to expand...
Click to collapse
Well.
I forgot to say that i've rooted and installed jellybeam
Let's say i'd like to connect it to internet...
First way would be buy a new chip Jorjin WG7310 WLAN/BT/FM Combo Module and resoldering
Second way would be via usb tunnelling / reverse tethering throug usb cable but until now i wasn't able to make it work.
Any ideas or advices?
Thanks in advance,
Mirco
up
I think this one is definitely needed for this forum as i am seeing more and more users ask how to logcat. So posting this here.
Here's how to use logcat:
There are two main ways to do a logcat, within android, and through adb.
Logcat within android can be done one of two ways, through a Logcat app:
Here are two good examples are either: aLogcat or Catlog
I prefer catlog, because in my opinion it has a little bit nicer UI. Both of these programs can dump their logs to a txt file, which is very useful for debugging. Or, you can do it in terminal emulator (same rules as running through adb(see below))
From Moscow Desire:
On the other hand, using adb to run logcat, in my opinion is much more useful, because you can start using it when android boots (i.e. once the boot animation appears.)
The code for logcat to output to a file is
Code:
adb logcat > name of problem.txt
you can also do
Code:
adb logcat -f name of problem.txt
how I prefer to do it is this way:
Code:
adb logcat -v long > name of problem.txt
with the -v flag & the long argument, it changes output to long style, which means every line of logcat will be on its own line (makes it a little neater, imo)
Note: When outputting to a file, you will see a newline, but nothing printed, this is normal. To stop logcat from writting to a file, you need to press ctrl+c.
Here's where using logcat (via adb makes life really easy)
Lets say you find a problem you're having after looking at a logcat.
For example:
When I was trying to use a different ramdisk, wifi wouldn't work so I got a logcat that's almost 1300 lines long (a lot of stuff happens in the background)
So if you are searching for an error in the logcat file (it's always e/ for error, f/ for fatal. Those are the two main things that will break a system.)
Code:
D/dalvikvm( 871): GC_CONCURRENT freed 472K, 6% free 10224K/10823K, paused 1ms+6ms
V/AmazonAppstore.DiskInspectorServiceImpl( 871): Available blocks: 21981, Block size: 4096, Free: 90034176, Threshold: 5242880, withinThreshold? true
D/AmazonAppstore.UpdateService( 871): Received action: null from intent: Intent { cmp=com.amazon.venezia/com.amazon.mas.client.framework.UpdateService }
W/AmazonAppstore.UpdateService( 871): Confused about why I'm running with this intent action: null from intent: Intent { cmp=com.amazon.venezia/com.amazon.mas.client.framework.UpdateService }
D/dalvikvm( 890): GC_CONCURRENT freed 175K, 4% free 9375K/9671K, paused 2ms+3ms
V/AmazonAppstore.ReferenceCounter( 871): Reference (MASLoggerDB) count has gone to 0. Closing referenced object.
E/WifiStateMachine( 203): Failed to reload STA firmware java.lang.IllegalStateException: Error communicating to native daemon
V/AmazonAppstore.UpdateService( 871): runUpdateCommand doInBackground started.
V/AmazonAppstore.UpdateService( 871): Running UpdateCommand: digitalLocker
V/AmazonAppstore.UpdateCommand( 871): Not updating key: digitalLocker from: 1334228488057
V/AmazonAppstore.UpdateService( 871): Finished UpdateCommand: digitalLocker
V/AmazonAppstore.UpdateService( 871): Running UpdateCommand: serviceConfig
V/AmazonAppstore.MASLoggerDB( 871): performLogMetric: Metric logged: ResponseTimeMetric [fullName=com.amazon.venezia.VeneziaApplication_onCreate, build=release-2.3, date=Wed Apr 11 13:10:55 CDT 2012, count=1, value=1601.0]
V/AmazonAppstore.MASLoggerDB( 871): onBackgroundTaskSucceeded: Metric logged: ResponseTimeMetric [fullName=com.amazon.venezia.VeneziaApplication_onCreate, build=release-2.3, date=Wed Apr 11 13:10:55 CDT 2012, count=1, value=1601.0]
W/CommandListener( 118): Failed to retrieve HW addr for eth0 (No such device)
D/CommandListener( 118): Setting iface cfg
D/NetworkManagementService( 203): rsp
D/NetworkManagementService( 203): flags
E/WifiStateMachine( 203): Unable to change interface settings: java.lang.IllegalStateException: Unable to communicate with native daemon to interface setcfg - com.android.server.NativeDaemonConnectorException: Cmd {interface setcfg eth0 0.0.0.0 0 [down]} failed with code 400 : {Failed to set address (No such device)}
W/PackageParser( 203): Unknown element under : supports-screen at /mnt/asec/com.android.aldiko-1/pkg.apk Binary XML file line #16
D/wpa_supplicant( 930): wpa_supplicant v0.8.x
D/wpa_supplicant( 930): random: Trying to read entropy from /dev/random
D/wpa_supplicant( 930): Initializing interface 'eth0' conf '/data/misc/wifi/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
D/wpa_supplicant( 930): Configuration file '/data/misc/wifi/wpa_supplicant.conf' -> '/data/misc/wifi/wpa_supplicant.conf'
D/wpa_supplicant( 930): Reading configuration file '/data/misc/wifi/wpa_supplicant.conf'
D/wpa_supplicant( 930): ctrl_interface='eth0'
D/wpa_supplicant( 930): update_config=1
D/wpa_supplicant( 930): Line: 4 - start of a new network block
D/wpa_supplicant( 930): key_mgmt: 0x4
(mind you, that's 29 lines out of 1300ish, just for example)
I then could do the following with logcat:
Code:
adb logcat WifiStateMachine:E *:S -v long > name of problem.txt
and this will only print out any errors associated with WifiStateMachine, and anything which is fatal, which makes it about a million times easier to figure out what's going on!
In WifiStateMachine:E, the :E = to look for Errors, the full list of options is as follows:
V — Verbose (lowest priority)
D — Debug
I — Info (default priority)
W — Warning
E — Error
F — Fatal
S — Silent (highest priority, on which nothing is ever printed)
You can replace the :E with any other letter from above to get more info.
In order to filter out anything other than what you are looking for (in this case, WifiStateMachine) you must put a *:S after your last command (i.e. WifiStateMachine:E ThemeChoose:V ... ... AndroidRuntime:E *:S)
Sources: http://developer.android.com/tools/help/logcat.html
http://developer.android.com/tools/help/adb.html
Update for windows users:
Thank go to FuzzyMeep Two, Here's what he's posted for windows
(If you used his tool, here's his post, thank him for his work!)
Note : I am just sharing. Original post here.
Great job brother!!You are in the right path for RC :beer::thumbup:
Sent from my Galaxy Nexus using xda app-developers app
keep going on my friend...:good:
Khizar said:
I think this one is definitely needed for this forum as i am seeing more and more users ask how to logcat. So posting this here.
Here's how to use logcat:
There are two main ways to do a logcat, within android, and through adb.
Logcat within android can be done one of two ways, through a Logcat app:
Here are two good examples are either: aLogcat or Catlog
I prefer catlog, because in my opinion it has a little bit nicer UI. Both of these programs can dump their logs to a txt file, which is very useful for debugging. Or, you can do it in terminal emulator (same rules as running through adb(see below))
From Moscow Desire:
On the other hand, using adb to run logcat, in my opinion is much more useful, because you can start using it when android boots (i.e. once the boot animation appears.)
The code for logcat to output to a file is
Code:
adb logcat > name of problem.txt
you can also do
Code:
adb logcat -f name of problem.txt
how I prefer to do it is this way:
Code:
adb logcat -v long > name of problem.txt
with the -v flag & the long argument, it changes output to long style, which means every line of logcat will be on its own line (makes it a little neater, imo)
Note: When outputting to a file, you will see a newline, but nothing printed, this is normal. To stop logcat from writting to a file, you need to press ctrl+c.
Here's where using logcat (via adb makes life really easy)
Lets say you find a problem you're having after looking at a logcat.
For example:
When I was trying to use a different ramdisk, wifi wouldn't work so I got a logcat that's almost 1300 lines long (a lot of stuff happens in the background)
So if you are searching for an error in the logcat file (it's always e/ for error, f/ for fatal. Those are the two main things that will break a system.)
Code:
D/dalvikvm( 871): GC_CONCURRENT freed 472K, 6% free 10224K/10823K, paused 1ms+6ms
V/AmazonAppstore.DiskInspectorServiceImpl( 871): Available blocks: 21981, Block size: 4096, Free: 90034176, Threshold: 5242880, withinThreshold? true
D/AmazonAppstore.UpdateService( 871): Received action: null from intent: Intent { cmp=com.amazon.venezia/com.amazon.mas.client.framework.UpdateService }
W/AmazonAppstore.UpdateService( 871): Confused about why I'm running with this intent action: null from intent: Intent { cmp=com.amazon.venezia/com.amazon.mas.client.framework.UpdateService }
D/dalvikvm( 890): GC_CONCURRENT freed 175K, 4% free 9375K/9671K, paused 2ms+3ms
V/AmazonAppstore.ReferenceCounter( 871): Reference (MASLoggerDB) count has gone to 0. Closing referenced object.
E/WifiStateMachine( 203): Failed to reload STA firmware java.lang.IllegalStateException: Error communicating to native daemon
V/AmazonAppstore.UpdateService( 871): runUpdateCommand doInBackground started.
V/AmazonAppstore.UpdateService( 871): Running UpdateCommand: digitalLocker
V/AmazonAppstore.UpdateCommand( 871): Not updating key: digitalLocker from: 1334228488057
V/AmazonAppstore.UpdateService( 871): Finished UpdateCommand: digitalLocker
V/AmazonAppstore.UpdateService( 871): Running UpdateCommand: serviceConfig
V/AmazonAppstore.MASLoggerDB( 871): performLogMetric: Metric logged: ResponseTimeMetric [fullName=com.amazon.venezia.VeneziaApplication_onCreate, build=release-2.3, date=Wed Apr 11 13:10:55 CDT 2012, count=1, value=1601.0]
V/AmazonAppstore.MASLoggerDB( 871): onBackgroundTaskSucceeded: Metric logged: ResponseTimeMetric [fullName=com.amazon.venezia.VeneziaApplication_onCreate, build=release-2.3, date=Wed Apr 11 13:10:55 CDT 2012, count=1, value=1601.0]
W/CommandListener( 118): Failed to retrieve HW addr for eth0 (No such device)
D/CommandListener( 118): Setting iface cfg
D/NetworkManagementService( 203): rsp
D/NetworkManagementService( 203): flags
E/WifiStateMachine( 203): Unable to change interface settings: java.lang.IllegalStateException: Unable to communicate with native daemon to interface setcfg - com.android.server.NativeDaemonConnectorException: Cmd {interface setcfg eth0 0.0.0.0 0 [down]} failed with code 400 : {Failed to set address (No such device)}
W/PackageParser( 203): Unknown element under : supports-screen at /mnt/asec/com.android.aldiko-1/pkg.apk Binary XML file line #16
D/wpa_supplicant( 930): wpa_supplicant v0.8.x
D/wpa_supplicant( 930): random: Trying to read entropy from /dev/random
D/wpa_supplicant( 930): Initializing interface 'eth0' conf '/data/misc/wifi/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
D/wpa_supplicant( 930): Configuration file '/data/misc/wifi/wpa_supplicant.conf' -> '/data/misc/wifi/wpa_supplicant.conf'
D/wpa_supplicant( 930): Reading configuration file '/data/misc/wifi/wpa_supplicant.conf'
D/wpa_supplicant( 930): ctrl_interface='eth0'
D/wpa_supplicant( 930): update_config=1
D/wpa_supplicant( 930): Line: 4 - start of a new network block
D/wpa_supplicant( 930): key_mgmt: 0x4
(mind you, that's 29 lines out of 1300ish, just for example)
I then could do the following with logcat:
Code:
adb logcat WifiStateMachine:E *:S -v long > name of problem.txt
and this will only print out any errors associated with WifiStateMachine, and anything which is fatal, which makes it about a million times easier to figure out what's going on!
In WifiStateMachine:E, the :E = to look for Errors, the full list of options is as follows:
V — Verbose (lowest priority)
D — Debug
I — Info (default priority)
W — Warning
E — Error
F — Fatal
S — Silent (highest priority, on which nothing is ever printed)
You can replace the :E with any other letter from above to get more info.
In order to filter out anything other than what you are looking for (in this case, WifiStateMachine) you must put a *:S after your last command (i.e. WifiStateMachine:E ThemeChoose:V ... ... AndroidRuntime:E *:S)
Sources: http://developer.android.com/tools/help/logcat.html
http://developer.android.com/tools/help/adb.html
Update for windows users:
Thank go to FuzzyMeep Two, Here's what he's posted for windows
(If you used his tool, here's his post, thank him for his work!)
Note : I am just sharing. Original post here.
Click to expand...
Click to collapse
I'm happy very happy ... I have little exp with log cat this is my guide ....
Very good another user of Ak team near RC
Sent from my Galaxy Nexus using xda app-developers app
One doubt, I've downloaded catlog and make it run but I don't know where the txt files are stored or what can I do to recover them.
Also the problem I'm experiencing is a random reboot so even if I have catlog running when the reboot occurs, will I be able to recover the log or it will be lost?
Sorry for the noob question but I'm pretty lost here...
binlalo said:
One doubt, I've downloaded catlog and make it run but I don't know where the txt files are stored or what can I do to recover them.
Also the problem I'm experiencing is a random reboot so even if I have catlog running when the reboot occurs, will I be able to recover the log or it will be lost?
Sorry for the noob question but I'm pretty lost here...
Click to expand...
Click to collapse
catlog should have its own folder in data/media where it saves the txt files...
I have an old HTC Vision I want to use while my daily driver gets repaired. It is in good condition. It sits in a safe most of its life, and I have taken it out twice to use as a temp phone for family visits.
I used this phone well before I was knowledgeable about Android and do not have proper backups from that time (we are talking 3+ years ago). I had flash an updated ROM (2.3 -> 4.x) foolishly before my family arrived without doing a backup; the first time I did not expect to take the phone out of mothballed state. Everything worked except wifi. It always says searching for network, and no active or inactive networks are ever listed; it just hangs there. They were not using it for anything but phone calls, so no biggie.
Now, I need it. Not sure what happened I have tried flashing different variants of CyanogenMOD or AOSP from 4.x. I had the same problem persist with full wipe and resets and everything. So, I knew I must have screwed something up. Lo and behold.
$ adb shell uname -a
Linux localhost 3.0.78-gd890f33 #1 PREEMPT Tue May 21 20:04:28 BST 2013 armv7l GNU/Linux
Click to expand...
Click to collapse
$ adb bugreport
========================================================
== dumpstate: 2013-06-04 12:47:11
========================================================
Build: cm_vision-eng 4.2.2 JDQ39 eng.nick.20130521.195201 test-keys
Build fingerprint: 'htc_wwe/htc_vision/vision:4.2.2/JDQ39/87995:user/release-keys'
Bootloader: 0.84.2000
Radio: 26.13.04.19_M
Network: Ooredoo
Kernel: Linux version 3.0.78-gd890f33 ([email protected]) (gcc version 4.7.2 20120701 (prerelease) (Linaro GCC 4.7-2012.07) ) #1 PREEMPT Tue May 21 20:04:28 BST 2013
Command line: board_vision.disable_uart2=0 board_vision.usb_h2w_sw=0 board_vision.disable_sdcard=0 diag.enabled=0 board_vision.debug_uart=0 smisize=0 userdata_sel=0 androidboot.emmc=true androidboot.baseband=26.13.04.19_M androidboot.cid=HTC__044 androidboot.batt_poweron=good_battery androidboot.carrier=HTC-Asia-SEA-WWE androidboot.mid=PC1011000 androidboot.keycaps=qwerty androidboot.mode=normal androidboot.serialno=SH0CDRT05129 androidboot.bootloader=0.84.2000 no_console_suspend=1
Click to expand...
Click to collapse
D/WifiService( 1797): setWifiEnabled: true pid=2086, uid=1000
D/BluetoothAdapter( 1872): 1097108568: getState() : mService = null. Returning STATE_OFF
D/BluetoothAdapter( 2086): 1095971120: getState() : mService = null. Returning STATE_OFF
D/Tethering( 1797): sendTetherStateChangedBroadcast 0, 0, 0
D/Tethering( 1797): InitialState.processMessage what=4
D/Tethering( 1797): sendTetherStateChangedBroadcast 0, 0, 0
D/SoftapController( 1450): Softap fwReload - Ok
D/CommandListener( 1450): Setting iface cfg
D/CommandListener( 1450): Trying to bring down wlan0
I/wpa_supplicant( 2464): Successfully initialized wpa_supplicant
D/Tethering( 1797): sendTetherStateChangedBroadcast 1, 0, 0
E/WifiConfigStore( 1797): Error parsing configurationjava.io.FileNotFoundException: /data/misc/wifi/ipconfig.txt: open failed: ENOENT (No such file or directory)
D/BluetoothAdapter( 2086): 1095971120: getState() : mService = null. Returning STATE_OFF
D/BluetoothAdapter( 1872): 1097108568: getState() : mService = null. Returning STATE_OFF
D/WifiHW ( 1797): 'DRIVER SCAN-PASSIVE' command timed out.
E/WifiStateMachine( 1797): Connection lost, restart supplicant
D/CommandListener( 1450): Clearing all IP addresses on wlan0
D/ConnectivityService( 1797): ConnectivityChange for WIFI: DISCONNECTED/DISCONNECTED
D/ConnectivityService( 1797): Attempting to switch to mobile
D/ConnectivityService( 1797): Attempting to switch to BLUETOOTH_TETHER
D/Tethering( 1797): MasterInitialState.processMessage what=3
D/TelephonyProvider( 1962): Preferred APN: -1
D/SoftapController( 1450): Softap fwReload - Ok
D/CommandListener( 1450): Setting iface cfg
D/CommandListener( 1450): Trying to bring down wlan0
D/Tethering( 1797): InitialState.processMessage what=4
D/Tethering( 1797): sendTetherStateChangedBroadcast 0, 0, 0
I/wpa_supplicant( 2468): Successfully initialized wpa_supplicant
D/dalvikvm( 1797): GC_CONCURRENT freed 985K, 29% free 7747K/10864K, paused 13ms+19ms, total 162ms
D/Tethering( 1797): sendTetherStateChangedBroadcast 1, 0, 0
E/WifiConfigStore( 1797): Error parsing configurationjava.io.FileNotFoundException: /data/misc/wifi/ipconfig.txt: open failed: ENOENT (No such file or directory)
D/BluetoothAdapter( 2086): 1095971120: getState() : mService = null. Returning STATE_OFF
D/BluetoothAdapter( 1872): 1097108568: getState() : mService = null. Returning STATE_OFF
Click to expand...
Click to collapse
So, what did I try? Well, I found very little mention of this problem. First I found this thread, so I touched the ipconfig.txt file myself.
$ adb shell touch /data/misc/wifi/ipconfig.txt
Click to expand...
Click to collapse
$ adb shell chown system:wifi /data/misc/wifi/ipconfig.txt
Click to expand...
Click to collapse
$ adb reboot
Click to expand...
Click to collapse
Now I get loops of this in logcat.
D/dalvikvm( 1796): GC_EXPLICIT freed 196K, 35% free 7886K/11968K, paused 4ms+27ms, total 154ms
D/dalvikvm( 2071): GC_CONCURRENT freed 381K, 66% free 2653K/7588K, paused 3ms+6ms, total 65ms
D/dalvikvm( 1796): GC_EXPLICIT freed 117K, 35% free 7883K/11968K, paused 3ms+25ms, total 150ms
D/dalvikvm( 2071): GC_CONCURRENT freed 387K, 66% free 2649K/7588K, paused 2ms+14ms, total 54ms
D/dalvikvm( 1796): GC_EXPLICIT freed 114K, 35% free 7884K/11968K, paused 12ms+9ms, total 164ms
D/dalvikvm( 1796): GC_EXPLICIT freed 118K, 35% free 7883K/11968K, paused 3ms+21ms, total 149ms
D/dalvikvm( 2071): GC_CONCURRENT freed 381K, 66% free 2654K/7588K, paused 5ms+4ms, total 55ms
D/dalvikvm( 1796): GC_EXPLICIT freed 114K, 35% free 7884K/11968K, paused 7ms+17ms, total 163ms
D/dalvikvm( 2071): GC_CONCURRENT freed 389K, 66% free 2650K/7588K, paused 7ms+10ms, total 66ms
D/dalvikvm( 1796): GC_EXPLICIT freed 118K, 35% free 7883K/11968K, paused 3ms+6ms, total 160ms
D/dalvikvm( 1796): GC_EXPLICIT freed 114K, 35% free 7883K/11968K, paused 3ms+5ms, total 164ms
D/dalvikvm( 2071): GC_CONCURRENT freed 380K, 66% free 2654K/7588K, paused 5ms+8ms, total 66ms
D/WifiHW ( 1796): 'DRIVER SCAN-PASSIVE' command timed out.
E/WifiStateMachine( 1796): Connection lost, restart supplicant
I/Choreographer( 1959): Skipped 584 frames! The application may be doing too much work on its main thread.
D/CommandListener( 1450): Clearing all IP addresses on wlan0
D/dalvikvm( 1796): GC_EXPLICIT freed 119K, 35% free 7896K/11968K, paused 4ms+12ms, total 95ms
D/dalvikvm( 2071): GC_CONCURRENT freed 390K, 66% free 2650K/7588K, paused 5ms+5ms, total 27ms
D/dalvikvm( 1796): GC_EXPLICIT freed 128K, 35% free 7883K/11968K, paused 3ms+6ms, total 74ms
D/dalvikvm( 1796): GC_EXPLICIT freed 116K, 35% free 7882K/11968K, paused 4ms+7ms, total 72ms
D/dalvikvm( 2071): GC_CONCURRENT freed 381K, 66% free 2654K/7588K, paused 3ms+4ms, total 28ms
D/dalvikvm( 1796): GC_EXPLICIT freed 114K, 35% free 7883K/11968K, paused 3ms+6ms, total 69ms
D/dalvikvm( 2071): GC_CONCURRENT freed 389K, 66% free 2650K/7588K, paused 4ms+5ms, total 29ms
D/dalvikvm( 1796): GC_EXPLICIT freed 115K, 35% free 7882K/11968K, paused 5ms+7ms, total 71ms
D/dalvikvm( 1796): GC_EXPLICIT freed 115K, 35% free 7883K/11968K, paused 4ms+7ms, total 72ms
D/dalvikvm( 2071): GC_CONCURRENT freed 380K, 66% free 2655K/7588K, paused 3ms+5ms, total 29ms
D/dalvikvm( 1796): GC_EXPLICIT freed 115K, 35% free 7882K/11968K, paused 3ms+8ms, total 72ms
D/dalvikvm( 2071): GC_CONCURRENT freed 389K, 66% free 2651K/7588K, paused 3ms+4ms, total 33ms
D/dalvikvm( 1796): GC_EXPLICIT freed 115K, 35% free 7883K/11968K, paused 3ms+5ms, total 70ms
D/dalvikvm( 1796): GC_EXPLICIT freed 115K, 35% free 7882K/11968K, paused 5ms+6ms, total 73ms
D/dalvikvm( 2071): GC_CONCURRENT freed 381K, 66% free 2655K/7588K, paused 2ms+4ms, total 29ms
D/SoftapController( 1450): Softap fwReload - Ok
D/CommandListener( 1450): Setting iface cfg
D/CommandListener( 1450): Trying to bring down wlan0
D/Tethering( 1796): InitialState.processMessage what=4
D/Tethering( 1796): sendTetherStateChangedBroadcast 0, 0, 0
I/wpa_supplicant( 2505): Successfully initialized wpa_supplicant
Click to expand...
Click to collapse
So that did not go so well. I also tried Wifix 1.2 as recommended in this other thread and from a Mimcry dev, but it seems to do nothing either. First off, the permissions are bad.
D/dalvikvm( 2776): Trying to load lib libnativehelper.so 0x0
D/dalvikvm( 2776): Added shared lib libnativehelper.so 0x0
I/ActivityManager( 1796): Activity reported stop, but no longer stopping: ActivityRecord{40f8ac80 u0 com.fardjad.android.wifixmanager/.WiFixManagerActivity}
I/ActivityManager( 1796): No longer want com.android.mms (pid 2326): empty #17
D/AndroidRuntime( 2783):
D/AndroidRuntime( 2783): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime( 2783): CheckJNI is OFF
D/dalvikvm( 2783): Trying to load lib libjavacore.so 0x0
D/dalvikvm( 2783): Added shared lib libjavacore.so 0x0
D/dalvikvm( 2783): Trying to load lib libnativehelper.so 0x0
D/dalvikvm( 2783): Added shared lib libnativehelper.so 0x0
D/AndroidRuntime( 2776): Calling main entry com.android.commands.am.Am
D/dalvikvm( 2776): Note: class Landroid/app/ActivityManagerNative; has 157 unimplemented (abstract) methods
D/SoftapController( 1450): Softap fwReload - Ok
D/CommandListener( 1450): Setting iface cfg
D/CommandListener( 1450): Trying to bring down wlan0
D/su ( 2805): su invoked.
D/su ( 2806): db allowed
W/zipro ( 1796): Unable to open zip '/system/app/wifix.apk': Permission denied
D/asset ( 1796): failed to open Zip archive '/system/app/wifix.apk'
W/PackageParser( 1796): Unable to read AndroidManifest.xml of /system/app/wifix.apk
W/PackageParser( 1796): java.io.FileNotFoundException: AndroidManifest.xml
W/PackageParser( 1796): at android.content.res.AssetManager.openXmlAssetNative(Native Method)
W/PackageParser( 1796): at android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:521)
W/PackageParser( 1796): at android.content.res.AssetManager.openXmlResourceParser(AssetManager.java:477)
W/PackageParser( 1796): at android.content.pm.PackageParser.parsePackage(PackageParser.java:536)
W/PackageParser( 1796): at com.android.server.pm.PackageManagerService.scanPackageLI(PackageManagerService.java:3265)
W/PackageParser( 1796): at com.android.server.pm.PackageManagerService.access$1700(PackageManagerService.java:178)
W/PackageParser( 1796): at com.android.server.pm.PackageManagerService$AppDirObserver.onEvent(PackageManagerService.java:5621)
W/PackageParser( 1796): at android.os.FileObserver$ObserverThread.onEvent(FileObserver.java:125)
W/PackageParser( 1796): at android.os.FileObserver$ObserverThread.observe(Native Method)
W/PackageParser( 1796): at android.os.FileObserver$ObserverThread.run(FileObserver.java:88)
Click to expand...
Click to collapse
I do that like so:
$ adb shell
[email protected]:/ # su
[email protected]:/ # mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
tmpfs /storage tmpfs rw,relatime,mode=050,gid=1028 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/secure tmpfs rw,relatime,mode=700 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/fuse tmpfs rw,relatime,mode=775,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p25 /system ext4 ro,relatime,user_xattr,barrier=1,data=ordered 0 0
--- SNIP ----
[email protected]:/ # mount -o remount,rw -t ext4 /dev/block/mmcblk0p25 /system
[email protected]:/ # chmod 644 /system/app/wifix.apk
[email protected]:/ # exit
[email protected]:/ # exit
Click to expand...
Click to collapse
So I try WiFix again, and post install it does not get better. Now I see more errors, but for a wlan0 file that exists but is not accessible (bad permissions maybe).
E/WifiHW ( 1796): Unable to open connection to supplicant on "/data/system/wpa_supplicant/wlan0": No such file or directory
I/wpa_supplicant( 2985): Successfully initialized wpa_supplicant
I/ActivityManager( 1796): Displayed com.android.settings/.Settings: +849ms
D/Tethering( 1796): sendTetherStateChangedBroadcast 1, 0, 0
D/BluetoothAdapter( 1893): 1089991136: getState() : mService = null. Returning STATE_OFF
D/BluetoothAdapter( 2545): 1088838656: getState() : mService = null. Returning STATE_OFF
D/AudioHardwareMSM7X30( 1456): AudioStreamOutMSM7x30::standby()
D/AudioHardwareMSM7X30( 1456): Deroute pcm out stream
E/AudioHardwareMSM7X30( 1456): updateDeviceInfo: E rx_device 6 and tx_device 11
D/AudioHardwareMSM7X30( 1456): No active voicecall/playback, disabling cur_rx 6
D/AudioHardwareMSM7X30( 1456): value of device and enable is 6 0 ALSA dev id:6
D/AudioHardwareMSM7X30( 1456): No active voicecall/recording, disabling cur_tx 11
D/AudioHardwareMSM7X30( 1456): value of device and enable is 11 0 ALSA dev id:11
E/AudioHardwareMSM7X30( 1456): updateDeviceInfo: X cur_rx 6 cur_tx 11
D/AudioHardwareMSM7X30( 1456): value of device and enable is 6 1 ALSA dev id:6
I/ActivityManager( 1796): START u0 {act=android.intent.action.MAIN cmp=com.android.settings/.SubSettings (has extras)} from pid 2545
D/AudioHardwareMSM7X30( 1456): updateACDB: (11, 6, 0, 607)
I/HTC Acoustic( 1456): update ACDB id: (tx, rx, tx_acdb, rx_acdb) = (11, 6, 0, 607)
D/AudioHardwareMSM7X30( 1456): msm_route_stream(PCM_PLAY,5,6,1)
D/AudioHardwareMSM7X30( 1456): AudioStreamOutMSM7x30::standby()
D/AudioHardwareMSM7X30( 1456): Deroute pcm out stream
E/AudioHardwareMSM7X30( 1456): updateDeviceInfo: E rx_device 6 and tx_device 11
D/AudioHardwareMSM7X30( 1456): No active voicecall/playback, disabling cur_rx 6
D/AudioHardwareMSM7X30( 1456): value of device and enable is 6 0 ALSA dev id:6
D/AudioHardwareMSM7X30( 1456): No active voicecall/recording, disabling cur_tx 11
D/AudioHardwareMSM7X30( 1456): value of device and enable is 11 0 ALSA dev id:11
E/AudioHardwareMSM7X30( 1456): updateDeviceInfo: X cur_rx 6 cur_tx 11
D/WifiHW ( 1796): 'DRIVER SCAN-PASSIVE' command timed out.
E/WifiStateMachine( 1796): Connection lost, restart supplicant
I/Choreographer( 2545): Skipped 230 frames! The application may be doing too much work on its main thread.
D/CommandListener( 1450): Clearing all IP addresses on wlan0
I/ActivityManager( 1796): Displayed com.android.settings/.SubSettings: +4s368ms
D/SoftapController( 1450): Softap fwReload - Ok
D/CommandListener( 1450): Setting iface cfg
D/CommandListener( 1450): Trying to bring down wlan0
D/Tethering( 1796): InitialState.processMessage what=4
D/Tethering( 1796): sendTetherStateChangedBroadcast 0, 0, 0
I/wpa_supplicant( 2993): Successfully initialized wpa_supplicant
D/Tethering( 1796): sendTetherStateChangedBroadcast 1, 0, 0
D/BluetoothAdapter( 1893): 1089991136: getState() : mService = null. Returning STATE_OFF
D/BluetoothAdapter( 2545): 1088838656: getState() : mService = null. Returning STATE_OFF
D/WifiHW ( 1796): 'DRIVER SCAN-PASSIVE' command timed out.
I/Choreographer( 2545): Skipped 582 frames! The application may be doing too much work on its main thread.
E/WifiStateMachine( 1796): Connection lost, restart supplicant
D/CommandListener( 1450): Clearing all IP addresses on wlan0
D/SoftapController( 1450): Softap fwReload - Ok
Click to expand...
Click to collapse
I have tried my Google-fu and cannot determine what to do at this point. Does anyone have any idea how to resolve this issue? Rather:
Do I need a properly formatted ipconfig.txt? Can anyone send me one?
What are the proper permissions for the /data/misc/wifi/wlan0 file that cannot be accessed?
Any other troubleshooting tips or workarounds to fix this nonsense?
Please help, this has been driving me nuts for two days and I am not that amateur!
alharaka said:
I have an old HTC Vision I want to use while my daily driver gets repaired. It is in good condition. It sits in a safe most of its life, and I have taken it out twice to use as a temp phone for family visits.
I used this phone well before I was knowledgeable about Android and do not have proper backups from that time (we are talking 3+ years ago). I had flash an updated ROM (2.3 -> 4.x) foolishly before my family arrived without doing a backup; the first time I did not expect to take the phone out of mothballed state. Everything worked except wifi. It always says searching for network, and no active or inactive networks are ever listed; it just hangs there. They were not using it for anything but phone calls, so no biggie.
So that did not go so well. I also tried Wifix 1.2 as recommended in this other thread and from a Mimcry dev, but it seems to do nothing either. First off, the permissions are bad.
Any other troubleshooting tips or workarounds to fix this nonsense?
Please help, this has been driving me nuts for two days and I am not that amateur!
Click to expand...
Click to collapse
It turns out maybe this regional regulatory domain stuff that Wifix has does work. So, two things in my case.
Was not using the most updated version of Wifix Manager. Download and install 1.32.
In the advanced settings, from many different recommendations on threads, set country code to EU to open all wifi network channels.
And now, the phone finally has wireless. I guess those error messages in the logcat led me to far astray. Everything works now.
Some folks are trying to find an exploit for another Android device. I tried to apply it to the Fire TV stick, but the exploitServiceApp.apk won't install.
http://forum.xda-developers.com/not...t-progress-t2961974/post58464146#post58464146
Sizzlechest said:
Some folks are trying to find an exploit for another Android device. I tried to apply it to the Fire TV stick, but the exploitServiceApp.apk won't install.
http://forum.xda-developers.com/not...t-progress-t2961974/post58464146#post58464146
Click to expand...
Click to collapse
exploitServiceApp.apk was built with a minimum sdk version of 18. The Fire TV and Fire TV Stick run sdk version 17. That's why it wont install. It also seems to require mock locations to be enabled, which may prove to be a chore on the AFTV/S. Of Course this all assumes the AFTV/S is vulnerable to begin with.
Root sources seem to be:
http://forum.xda-developers.com/mate-7/general/wip-mate-7-root-bl-unlock-t2995086/
and
http://forum.xda-developers.com/crossdevice-dev/sony/giefroot-rooting-tool-cve-2014-4322-t3011598
What would happen, if you would try to rebuild it with APK Tool and change the min sdk to 17?
I just did it with the Advanced APK Tool and attatched it to this posting. I'm not at home right now so I can't test it on my own.
APK-Info.exe says its a valid apk and the minimum sdk version is 17.
Important note: I'm not responsible for damaging your device if this somehow does.
It depends on the exploit, I read on another topic that it's based on a specific location in memory (or something like that).
That's presuming that it's even possible.
In regards to mock locations, is it possible to set it using the aosp settings apk?
It does install, but it goes straight to home after loading. Maybe it does work if it's possible to enable mock locations.
tech3475 said:
In regards to mock locations, is it possible to set it using the aosp settings apk?
Click to expand...
Click to collapse
Trying to access developer options (which is where the mock location setting is) causes settings.apk to crash.
bigwillie1 said:
It does install, but it goes straight to home after loading. Maybe it does work if it's possible to enable mock locations.
Click to expand...
Click to collapse
Odd, on a Fire TV Stick (running latest OS version) @androidyeah's app launches fine. However, it just displays the message "Note: Your device seems not vulnerable!" in the upper right corner.
AFTVnews.com said:
Trying to access developer options (which is where the mock location setting is) causes settings.apk to crash.
Click to expand...
Click to collapse
Anyone tried any debugging yet on that part?
AFTVnews.com said:
Odd, on a Fire TV Stick (running latest OS version) @androidyeah's app launches fine. However, it just displays the message "Note: Your device seems not vulnerable!" in the upper right corner.
Click to expand...
Click to collapse
I guess if FTV Stick + FTV using similar base firmwares, it is already patched or something :/
androidyeah said:
Anyone tried any debugging yet on that part?
Click to expand...
Click to collapse
Code:
V/AudioFlinger( 329): Audio hardware entering standby, mixer 0x40100008, suspend count 0
D/AudioStreamOutALSA( 329): AudioStreamOut: standby()
V/AudioFlinger( 329): releaseWakeLock_l() AudioOut_2
V/AudioFlinger( 329): thread 0x40100008 type 0 TID 712 going to sleep
V/AudioFlinger( 329): createTrack() sessionId: 0
V/AudioFlinger( 329): createTrack() lSessionId: 99
V/AudioFlinger( 329): AUDIO_OUTPUT_FLAG_FAST denied: isTimed=0 sharedBuffer=0x0 frameCount=3763 mFrameCount=256 format=1 isLinear=1 channelMask=0x1 sampleRate=44100 mSampleRate=48000 hasFastMixer=1 tid=7528 fastTrackAvailMask=0xfe
V/AudioFlinger( 329): Track constructor name 4100, calling pid 691
V/AudioFlinger( 329): acquiring 99 from 691
V/AudioFlinger( 329): added new entry for 99
V/AudioFlinger( 329): start(4100), calling pid 691 session 99
V/AudioFlinger( 329): ? => ACTIVE (4100) on thread 0x40f9a808
V/AudioFlinger( 329): mWaitWorkCV.broadcast
V/AudioFlinger( 329): thread 0x40100008 type 0 TID 712 waking up
V/AudioFlinger( 329): acquireWakeLock_l() AudioOut_2 status 0
V/AudioFlinger( 329): releasing 98 from 691
V/AudioFlinger( 329): decremented refcount to 0
V/AudioFlinger( 329): purging stale effects
V/AudioFlinger( 329): remove track (4098) and delete from mixer
V/AudioFlinger( 329): PlaybackThread::Track destructor
I/ActivityManager( 691): START u0 {act=android.intent.action.MAIN cmp=com.android.settings/.SubSettings (has extras)} from pid 7424
D/dalvikvm( 691): GC_FOR_ALLOC freed 957K, 30% free 8019K/11344K, paused 37ms, total 39ms
I/ViewRootImpl( 7424): Slow KeyEvent in com.android.settings/com.android.settings.Settings device=8 action=Up latency=3ms processing=54ms
I/Activity( 7424): No ActvityExender defined. Proceed with default activity behavior.
D/AndroidRuntime( 7424): Shutting down VM
W/dalvikvm( 7424): threadid=1: thread exiting with uncaught exception (group=0x40dc2af8)
V/AudioFlinger( 329): getNextBuffer() no more data for track 4100 on thread 0x40100008
V/AudioFlinger( 329): stop(4100), calling pid 691
V/AudioFlinger( 329): not stopping/stopped => stopping/stopped (4100) on thread 0x40100008
E/AndroidRuntime( 7424): FATAL EXCEPTION: main
E/AndroidRuntime( 7424): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.SubSettings}: java.lang.SecurityException: Only package verification agents can read the verifier device identity: Neither user 10001 nor current process has android.permission.PACKAGE_VERIFICATION_AGENT.
E/AndroidRuntime( 7424): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2206)
E/AndroidRuntime( 7424): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2258)
E/AndroidRuntime( 7424): at android.app.ActivityThread.access$600(ActivityThread.java:146)
E/AndroidRuntime( 7424): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1243)
E/AndroidRuntime( 7424): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 7424): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 7424): at android.app.ActivityThread.main(ActivityThread.java:5129)
E/AndroidRuntime( 7424): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 7424): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 7424): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
E/AndroidRuntime( 7424): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
E/AndroidRuntime( 7424): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 7424): Caused by: java.lang.SecurityException: Only package verification agents can read the verifier device identity: Neither user 10001 nor current process has android.permission.PACKAGE_VERIFICATION_AGENT.
E/AndroidRuntime( 7424): at android.os.Parcel.readException(Parcel.java:1426)
E/AndroidRuntime( 7424): at android.os.Parcel.readException(Parcel.java:1380)
E/AndroidRuntime( 7424): at android.content.pm.IPackageManager$Stub$Proxy.getVerifierDeviceIdentity(IPackageManager.java:3381)
E/AndroidRuntime( 7424): at android.app.ApplicationPackageManager.getVerifierDeviceIdentity(ApplicationPackageManager.java:1295)
E/AndroidRuntime( 7424): at com.android.settings.DevelopmentSettings.onCreate(DevelopmentSettings.java:143)
E/AndroidRuntime( 7424): at android.app.Fragment.performCreate(Fragment.java:1673)
E/AndroidRuntime( 7424): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:854)
E/AndroidRuntime( 7424): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1057)
E/AndroidRuntime( 7424): at android.app.BackStackRecord.run(BackStackRecord.java:682)
E/AndroidRuntime( 7424): at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1435)
E/AndroidRuntime( 7424): at android.app.Activity.performStart(Activity.java:5220)
E/AndroidRuntime( 7424): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2179)
E/AndroidRuntime( 7424): ... 11 more
V/AudioFlinger( 329): presentationComplete() reset: mPresentationCompleteFrames 8192 audioHalFrames 3072
W/ActivityManager( 691): Force finishing activity com.android.settings/.SubSettings
I/Process ( 7424): Sending signal. PID: 7424 SIG: 9
W/ActivityManager( 691): Force finishing activity com.android.settings/.Settings
I/ActivityManager( 691): Process com.android.settings (pid 7424) has died.
I/WindowState( 691): WIN DEATH: Window{414bef98 u0 com.android.settings/com.android.settings.Settings}
D/FIRED-TV( 2488): Settings Loaded from /data/data/com.altusapps.firedtvlauncher/files/settings2.json
V/AudioFlinger( 329): presentationComplete() session 99 complete: framesWritten 8192
V/AudioFlinger( 329): TrackBase::reset
W/ContextImpl( 691): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1353 com.android.server.am.ActivityManagerService.activityResumed:4547 android.app.ActivityManagerNative.onTransact:420 com.android.server.am.ActivityManagerService.onTransact:1716 android.os.Binder.execTransact:351
W/InputMethodManagerService( 691): Got RemoteException sending setActive(false) notification to pid 7424 uid 10001
W/ContextImpl( 691): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1353 com.amazon.internal.policy.impl.AmazonPhoneWindowManager$SendTopWindowChanged.run:3297 android.os.Handler.handleCallback:725 android.os.Handler.dispatchMessage:92 android.os.Looper.loop:137
D/Bluetooth HS/HF( 1355): HandleMessage9
D/Bluetooth HS/HF( 1355): Battery State Changed, send update100Scale: 100
D/FIRED-TV( 2488): Settings Saved to /data/data/com.altusapps.firedtvlauncher/files/settings2.json
V/AudioFlinger( 329): Audio hardware entering standby, mixer 0x40100008, suspend count 0
D/AudioStreamOutALSA( 329): AudioStreamOut: standby()
V/AudioFlinger( 329): releaseWakeLock_l() AudioOut_2
V/AudioFlinger( 329): thread 0x40100008 type 0 TID 712 going to sleep
I/ThermalDaemon( 336): Sensor[tmp105_2_pwrs] Temperature : 35.0
I/TemperatureSensorObserver( 691): read new temperature 35500
I/abtfilt ( 1775): all HID in sniff mode!
I/abtfilt ( 1775): BT Action
I/abtfilt ( 1775): WMI Cmd: 145 Len: 16
maybe someone finds this useful...
AFTVnews.com said:
Trying to access developer options (which is where the mock location setting is) causes settings.apk to crash.
Odd, on a Fire TV Stick (running latest OS version) @androidyeah's app launches fine. However, it just displays the message "Note: Your device seems not vulnerable!" in the upper right corner.
Click to expand...
Click to collapse
If you want to enable mock locations or change any other settings this is the way to go (does not require root):
http://forum.xda-developers.com/fire-tv/general/guide-change-settings-firetv-via-adb-t3015522
thought i would share this as people keep using on how manipulate the settings.db
I have done some root app development and stumbled across this binary a while ago.
Have fun!
superkoal said:
If you want to enable mock locations or change any other settings this is the way to go (does not require root):
http://forum.xda-developers.com/fire-tv/general/guide-change-settings-firetv-via-adb-t3015522
thought i would share this as people keep using on how manipulate the settings.db
I have done some root app development and stumbled across this binary a while ago.
Have fun!
Click to expand...
Click to collapse
That's a great tip, thanks.
Running "settings get secure allow_mock_location" returns "null". I went ahead and ran "settings put secure allow_mock_location 1" and "settings put secure ALLOW_MOCK_LOCATION 1" but it doesn't seem to have done anything. The exploitServiceApp APK still gives the same message. I sideloaded some location spoofing app from the Play Store and it complained that mock locations were not enabled.
superkoal said:
If you want to enable mock locations or change any other settings this is the way to go (does not require root):
http://forum.xda-developers.com/fire-tv/general/guide-change-settings-firetv-via-adb-t3015522
thought i would share this as people keep using on how manipulate the settings.db
I have done some root app development and stumbled across this binary a while ago.
Have fun!
Click to expand...
Click to collapse
thanks, i tried it using
Code:
settings put secure mock_location 1
but the app still goes directly to the home screen...
Code:
V/AudioFlinger( 329): Audio hardware entering standby, mixer 0x40100008, suspend count 0
D/AudioStreamOutALSA( 329): AudioStreamOut: standby()
V/AudioFlinger( 329): releaseWakeLock_l() AudioOut_2
V/AudioFlinger( 329): thread 0x40100008 type 0 TID 712 going to sleep
I/ActivityManager( 691): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 pkg=org.keenteam cmp=org.keenteam/.ServiceExploitActivity} from pid 18589
D/dalvikvm( 691): GC_FOR_ALLOC freed 521K, 23% free 10295K/13204K, paused 40ms, total 40ms
I/ViewRootImpl(18589): Slow KeyEvent in com.amazon.tv.settings/com.amazon.tv.settings.tv.BuellerApplicationDetailSettingsActivity device=10 action=Up latency=1ms processing=61ms
I/ActivityManager( 691): Start proc org.keenteam for activity org.keenteam/.ServiceExploitActivity: pid=19348 uid=10007 gids={50007, 1028}
W/ContextImpl(18589): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1339 android.app.Instrumentation.sendLifecycleEventBroadcast:1786 android.app.Instrumentation.callActivityOnStop:1303 android.app.Activity.performStop:5412 android.app.ActivityThread.performStopActivityInner:3197
W/ContextImpl( 691): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1353 com.amazon.internal.policy.impl.AmazonPhoneWindowManager$SendTopWindowChanged.run:3297 android.os.Handler.handleCallback:725 android.os.Handler.dispatchMessage:92 android.os.Looper.loop:137
E/Trace (19348): error opening trace file: No such file or directory (2)
D/ProfileManager(19348): Create ProfileManager instance
W/ContextImpl(18589): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1339 android.app.Instrumentation.sendLifecycleEventBroadcast:1786 android.app.Instrumentation.callActivityOnStop:1303 android.app.Activity.performStop:5412 android.app.ActivityThread.performStopActivityInner:3197
I/Activity(19348): No ActvityExender defined. Proceed with default activity behavior.
D/dalvikvm(19348): Trying to load lib /data/app-lib/org.keenteam-1/libexploitHelper.so 0x4109cdf0
D/dalvikvm(19348): Added shared lib /data/app-lib/org.keenteam-1/libexploitHelper.so 0x4109cdf0
D/dalvikvm(19348): No JNI_OnLoad found in /data/app-lib/org.keenteam-1/libexploitHelper.so 0x4109cdf0, skipping init
I/System.out(19348): 1 inner classes found
D/AndroidRuntime(19348): Shutting down VM
W/dalvikvm(19348): threadid=1: thread exiting with uncaught exception (group=0x40dc2af8)
E/AndroidRuntime(19348): FATAL EXCEPTION: main
E/AndroidRuntime(19348): java.lang.RuntimeException: Unable to start activity ComponentInfo{org.keenteam/org.keenteam.ServiceExploitActivity}: java.lang.RuntimeException: java.lang.NoSuchFieldException: TRANSACTION_setApplicationRestrictions
E/AndroidRuntime(19348): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2206)
E/AndroidRuntime(19348): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2258)
E/AndroidRuntime(19348): at android.app.ActivityThread.access$600(ActivityThread.java:146)
E/AndroidRuntime(19348): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1243)
E/AndroidRuntime(19348): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(19348): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(19348): at android.app.ActivityThread.main(ActivityThread.java:5129)
E/AndroidRuntime(19348): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(19348): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(19348): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
E/AndroidRuntime(19348): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
E/AndroidRuntime(19348): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(19348): Caused by: java.lang.RuntimeException: java.lang.NoSuchFieldException: TRANSACTION_setApplicationRestrictions
E/AndroidRuntime(19348): at org.keenteam.exploit_CVE_2014_7911.do_exploit(exploit_CVE_2014_7911.java:106)
E/AndroidRuntime(19348): at org.keenteam.ServiceExploitActivity.onCreate(ServiceExploitActivity.java:34)
E/AndroidRuntime(19348): at android.app.Activity.performCreate(Activity.java:5202)
E/AndroidRuntime(19348): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1088)
E/AndroidRuntime(19348): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2170)
E/AndroidRuntime(19348): ... 11 more
E/AndroidRuntime(19348): Caused by: java.lang.NoSuchFieldException: TRANSACTION_setApplicationRestrictions
E/AndroidRuntime(19348): at java.lang.Class.getDeclaredField(Class.java:631)
E/AndroidRuntime(19348): at org.keenteam.exploit_CVE_2014_7911.do_exploit(exploit_CVE_2014_7911.java:80)
E/AndroidRuntime(19348): ... 15 more
W/ActivityManager( 691): Force finishing activity org.keenteam/.ServiceExploitActivity
D/dalvikvm( 691): GC_FOR_ALLOC freed 1713K, 24% free 10123K/13204K, paused 51ms, total 51ms
I/Process (19348): Sending signal. PID: 19348 SIG: 9
W/ActivityManager( 691): Force finishing activity com.amazon.tv.settings/.tv.BuellerApplicationDetailSettingsActivity
I/ActivityManager( 691): Process org.keenteam (pid 19348) has died.
W/ContextImpl(18589): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1339 android.app.Instrumentation.sendLifecycleEventBroadcast:1786 android.app.Instrumentation.callActivityOnStart:1212 android.app.Activity.performStart:5223 android.app.Activity.performRestart:5291
W/ContextImpl(18589): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1339 android.app.Instrumentation.sendLifecycleEventBroadcast:1786 android.app.Instrumentation.callActivityOnStart:1212 android.app.Activity.performStart:5223 android.app.Activity.performRestart:5291
W/ContextImpl(18589): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1339 android.app.Instrumentation.sendLifecycleEventBroadcast:1786 android.app.Instrumentation.callActivityOnResume:1265 android.app.Activity.performResume:5313 android.app.ActivityThread.performResumeActivity:2761
I/AudioManager(18589): Cleared FLAG_SHOW_UI in setStreamVolume
I/AudioManager(18589): Cleared FLAG_SHOW_UI in setStreamVolume
E/MM_OSAL ( 329): ValidateAACFile failed
D/MediaExtractor( 329): returning default extractor
D/ ( 329): MPQ Mime Type: audio/raw, getMPQObjectsAlive = 0
I/ ( 329): MPQ Audio Enabled - MPQ Audio Player
D/ ( 329): Use tunnel player only for AUDIO_STREAM_MUSIC
D/ ( 329): Set Audio Track as Audio Source
D/ ( 329): MPQ Audio Player
D/ ( 329): MPQ Audio player created for mime audio/raw duration 342083
W/ ( 329): Trying to create tunnel player mIsTunnelAudio 0, LPAPlayer::objectsAlive 0, TunnelPlayer::mTunnelObjectsAlive = 0, (mAudioPlayer == NULL) 0
E/ ( 329): Audio Player set source
W/MPQAudioPlayer( 329): Sw Decoder
E/MM_OSAL ( 329): ValidateAACFile failed
D/MediaExtractor( 329): returning default extractor
D/ ( 329): MPQ Mime Type: audio/raw, getMPQObjectsAlive = 0
I/ ( 329): MPQ Audio Enabled - MPQ Audio Player
D/ ( 329): Use tunnel player only for AUDIO_STREAM_MUSIC
D/ ( 329): Set Audio Track as Audio Source
D/ ( 329): MPQ Audio Player
D/ ( 329): MPQ Audio player created for mime audio/raw duration 54833
W/ ( 329): Trying to create tunnel player mIsTunnelAudio 0, LPAPlayer::objectsAlive 0, TunnelPlayer::mTunnelObjectsAlive = 0, (mAudioPlayer == NULL) 0
E/ ( 329): Audio Player set source
W/MPQAudioPlayer( 329): Sw Decoder
W/ContextImpl( 691): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1353 com.android.server.am.ActivityManagerService.activityResumed:4547 android.app.ActivityManagerNative.onTransact:420 com.android.server.am.ActivityManagerService.onTransact:1716 android.os.Binder.execTransact:351
E/MM_OSAL ( 329): ValidateAACFile failed
D/MediaExtractor( 329): returning default extractor
D/ ( 329): MPQ Mime Type: audio/raw, getMPQObjectsAlive = 0
I/ ( 329): MPQ Audio Enabled - MPQ Audio Player
D/ ( 329): Use tunnel player only for AUDIO_STREAM_MUSIC
D/ ( 329): Set Audio Track as Audio Source
D/ ( 329): MPQ Audio Player
D/ ( 329): MPQ Audio player created for mime audio/raw duration 259854
W/ ( 329): Trying to create tunnel player mIsTunnelAudio 0, LPAPlayer::objectsAlive 0, TunnelPlayer::mTunnelObjectsAlive = 0, (mAudioPlayer == NULL) 0
E/ ( 329): Audio Player set source
W/MPQAudioPlayer( 329): Sw Decoder
W/ContextImpl( 691): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1353 com.amazon.internal.policy.impl.AmazonPhoneWindowManager$SendTopWindowChanged.run:3297 android.os.Handler.handleCallback:725 android.os.Handler.dispatchMessage:92 android.os.Looper.loop:137
W/ContextImpl(18589): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1339 android.app.Instrumentation.sendLifecycleEventBroadcast:1786 android.app.Instrumentation.callActivityOnStop:1303 android.app.Activity.performStop:5412 android.app.ActivityThread.performDestroyActivity:3468
I/abtfilt ( 1775): all HID in sniff mode!
I/abtfilt ( 1775): BT Action
I/abtfilt ( 1775): WMI Cmd: 145 Len: 16
AFTVnews.com said:
That's a great tip, thanks.
Running "settings get secure allow_mock_location" returns "null". I went ahead and ran "settings put secure allow_mock_location 1" and "settings put secure ALLOW_MOCK_LOCATION 1" but it doesn't seem to have done anything. The exploitServiceApp APK still gives the same message. I sideloaded some location spoofing app from the Play Store and it complained that mock locations were not enabled.
Click to expand...
Click to collapse
The constant value is just "mock_location", you can see it if you click the constant name in the android docs.
So try "settings put secure mock_location 1"
If you try to get the value first and it doesn't return null it means your parameter name is right. I recommend not to insert values in the table that are not there before.
On another note,
https://access.redhat.com/articles/1332213
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-0235
Wonder if that glibc bug could be used to gain root on certain Android devices.
freezer2k said:
On another note,
https://access.redhat.com/articles/1332213
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-0235
Wonder if that glibc bug could be used to gain root on certain Android devices.
Click to expand...
Click to collapse
Android doesn't use glibc.
freezer2k said:
On another note,
https://access.redhat.com/articles/1332213
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-0235
Wonder if that glibc bug could be used to gain root on certain Android devices.
Click to expand...
Click to collapse
Haha, had a follow-up meeting about that same vulnerability at work today!
This was posted today: http://forum.xda-developers.com/showpost.php?p=58510300&postcount=641