Open brainstorm opened 11 years ago
Make sure you have the development/unstable version of radare2 installed (0.9.1), webserver is not available on the current stable version (0.9).
Yep, I actually tried with the development version first.
does it happen when trying to open any file? try with some file with no spaces on PATH and make sure it is world readable on your system. Also making sure you can open it with the console first should help.
Btw, if your phone is rooted, you can search for "wifi adb" in google play, and use 'adb connect ip_address' to have an 'adb logcat' through wifi :)
Thanks for the adb wifi recommendation, very handy! Unfortunately not so much in my case:
I'm using the default binary pointed by the form:
Chee, mussol:
I/ActivityManager(10400): Starting: Intent { cmp=org.radare.installer/.WebActivity (has extras) } from pid 8336
D/dalvikvm( 8336): GC_EXPLICIT freed 69K, 47% free 3000K/5575K, external 2156K/2693K, paused 37ms
D/dalvikvm( 8336): GC_EXPLICIT freed 127K, 47% free 2999K/5575K, external 2156K/2693K, paused 36ms
D/dalvikvm( 8336): GC_EXPLICIT freed 126K, 47% free 3000K/5575K, external 2156K/2693K, paused 31ms
V/radare2-WebActivity( 8336): http_eval:
V/radare2-WebActivity( 8336): radare2 started
D/dalvikvm( 8336): GC_EXPLICIT freed 58K, 47% free 3001K/5575K, external 2156K/2693K, paused 29ms
V/radare2-WebActivity( 8336): WebView started successfully
V/radare2-WebActivity( 8336): Error: radare2 webserver did not start
W/InputManagerService(10400): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@40604818 (uid=10148 pid=8336)
D/CustomizationProvider(10509): openFile -- START uri=content://com.sonyericsson.provider.customization/settings/com.sonyericsson.textinput.uxp
I/CustomizationProvider(10509): No configuration file: /system/etc/customization/settings/com/sonyericsson/textinput/uxp/custom_settings.xml
V/radare2-WebActivity( 8336): onStop() called
D/dalvikvm( 8336): GC_EXPLICIT freed 150K, 46% free 3013K/5575K, external 2156K/2693K, paused 71ms
D/dalvikvm( 8336): GC_EXPLICIT freed 131K, 46% free 3011K/5575K, external 2156K/2693K, paused 37ms
Que l'http_eval no val un ojal al meu Xperia! :P
https://github.com/poliva/radare-installer/blob/master/src/org/radare/installer/WebActivity.java#L77
Radare console works perfect though.
Es raro que no mostri el motiu.. Potser no te permisos per fer un socket escoltant?
On Mar 22, 2013, at 23:22, Roman Valls notifications@github.com wrote:
Chee, mussol:
I/ActivityManager(10400): Starting: Intent { cmp=org.radare.installer/.WebActivity (has extras) } from pid 8336 D/dalvikvm( 8336): GC_EXPLICIT freed 69K, 47% free 3000K/5575K, external 2156K/2693K, paused 37ms D/dalvikvm( 8336): GC_EXPLICIT freed 127K, 47% free 2999K/5575K, external 2156K/2693K, paused 36ms D/dalvikvm( 8336): GC_EXPLICIT freed 126K, 47% free 3000K/5575K, external 2156K/2693K, paused 31ms V/radare2-WebActivity( 8336): http_eval: V/radare2-WebActivity( 8336): radare2 started D/dalvikvm( 8336): GC_EXPLICIT freed 58K, 47% free 3001K/5575K, external 2156K/2693K, paused 29ms V/radare2-WebActivity( 8336): WebView started successfully V/radare2-WebActivity( 8336): Error: radare2 webserver did not start W/InputManagerService(10400): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@40604818 (uid=10148 pid=8336) D/CustomizationProvider(10509): openFile -- START uri=content://com.sonyericsson.provider.customization/settings/com.sonyericsson.textinput.uxp I/CustomizationProvider(10509): No configuration file: /system/etc/customization/settings/com/sonyericsson/textinput/uxp/custom_settings.xml V/radare2-WebActivity( 8336): onStop() called D/dalvikvm( 8336): GC_EXPLICIT freed 150K, 46% free 3013K/5575K, external 2156K/2693K, paused 71ms D/dalvikvm( 8336): GC_EXPLICIT freed 131K, 46% free 3011K/5575K, external 2156K/2693K, paused 37ms Que l'http_eval no val un ojal al meu Xperia! :P
https://github.com/poliva/radare-installer/blob/master/src/org/radare/installer/WebActivity.java#L77
— Reply to this email directly or view it on GitHub.
Després de tocar les prefs perque faci de "Public http server", el http_eval
surt bé però el procés mor pocs segons després:
V/radare2-WebActivity(11339): ip address: 10.0.1.6
V/radare2-WebActivity(11339): http_eval: -c 'e http.public=1'
V/radare2-WebActivity(11339): radare2 started
D/dalvikvm(11339): GC_EXPLICIT freed 61K, 51% free 3115K/6343K, external 2553K/3189K, paused 31ms
V/radare2-WebActivity(11339): WebView started successfully
V/radare2-WebActivity(11339): Error: radare2 webserver did not start
I cannot logcat/debug it because I have the D+/D- lines on my Xperia X10 broken/inaccessible:
http://droidangel.blogspot.com.es/2011/05/sony-ericsson-xperia-x10-not-charging.html
And cannot see anything relevant with aLogcat app either regarding this error :-/