[Q] [solved]How to make Voice search work in MIUIv4 - HTC Pico (Explorer)

How to make Voice search work in MIUIv4?
I searched many places but couldn't find any solution...
hope someone can help
thanks in advance!!
Logcat while trying to access voice search on MIUIv4 ayushrox build #3:
Code:
I/RecognitionControllerImpl( 2380): State change: STARTING -> STARTING
I/RecognitionControllerImpl( 2380): New mic stream.
I/AudioHardwareMSM76XXA( 113): do input routing device 400000
I/AudioHardwareMSM76XXA( 113): Routing audio to Speakerphone
W/AudioHardwareMSM76XXA( 113): rpc_snd_set_device(1, 1, 1)
E/BTFMPinSwitching( 113): switch mode failed because QCOM_FM feature is not ava
ilable
I/AudioHardwareMSM76XXA( 113): do input routing device 400000
I/AudioHardwareMSM76XXA( 113): Routing audio to Speakerphone
I/MicrophoneInputStream( 2380): #new 1
W/dalvikvm( 2380): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initi
alizing Lcom/google/android/voicesearch/endpointer/EndpointerInputStream;
W/dalvikvm( 2380): threadid=11: thread exiting with uncaught exception (group=0x
40a6b1f8)
E/AndroidRuntime( 2380): FATAL EXCEPTION: RecognitionControllerThread
E/AndroidRuntime( 2380): java.lang.ExceptionInInitializerError
E/AndroidRuntime( 2380): at com.google.android.voicesearch.speechservice.
MicrophoneManagerImpl.getMicInputStream(MicrophoneManagerImpl.java:127)
E/AndroidRuntime( 2380): at com.google.android.voicesearch.speechservice.
MicrophoneManagerImpl.setupMicrophone(MicrophoneManagerImpl.java:91)
E/AndroidRuntime( 2380): at com.google.android.voicesearch.speechservice.
RecognitionControllerImpl.startRecognition(RecognitionControllerImpl.java:403)
E/AndroidRuntime( 2380): at com.google.android.voicesearch.speechservice.
RecognitionControllerImpl.access$300(RecognitionControllerImpl.java:86)
E/AndroidRuntime( 2380): at com.google.android.voicesearch.speechservice.
RecognitionControllerImpl$1.handleMessage(RecognitionControllerImpl.java:263)
E/AndroidRuntime( 2380): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 2380): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2380): at android.os.HandlerThread.run(HandlerThread.ja
va:60)
E/AndroidRuntime( 2380): Caused by: java.lang.UnsatisfiedLinkError: Couldn't loa
d speech: findLibrary returned null
E/AndroidRuntime( 2380): at java.lang.Runtime.loadLibrary(Runtime.java:36
5)
E/AndroidRuntime( 2380): at java.lang.System.loadLibrary(System.java:535)
E/AndroidRuntime( 2380): at com.google.android.voicesearch.endpointer.End
pointerInputStream.(EndpointerInputStream.java:129)
E/AndroidRuntime( 2380): ... 8 more
W/ActivityManager( 183): Force finishing activity com.google.android.voicesea
rch/.RecognitionActivity
W/InputManagerService( 183): Window already focused, ignoring focus gain of: co
[email protected]
W/ActivityManager( 183): Force finishing activity com.google.android.googlequ
icksearchbox/.SearchActivity
V/PhoneStatusBar( 401): setLightsOn(true)
D/libEGL ( 2380): loaded /system/lib/egl/libGLES_android.so
D/libEGL ( 2380): loaded /system/lib/egl/libEGL_adreno200.so
D/libEGL ( 2380): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
D/libEGL ( 2380): loaded /system/lib/egl/libGLESv2_adreno200.so
D/OpenGLRenderer( 2380): Enabling debug mode 0
I/Process ( 183): Sending signal. PID: 2380 SIG: 3
I/dalvikvm( 2380): threadid=3: reacting to signal 3
I/dalvikvm( 2380): Wrote stack traces to '/data/anr/traces.txt'
D/dalvikvm( 634): GC_EXPLICIT freed 262K, 22% free 8000K/10247K, paused 3ms+19m
s
I/RecognitionControllerImpl( 2380): State change: STARTING -> CANCELED
W/ActivityManager( 183): Duplicate finish request for ActivityRecord{410607f8 c
om.google.android.voicesearch/.RecognitionActivity}
I/AudioService( 183): AudioFocus abandonAudioFocus() from android.media.Audio
[email protected]
D/androidNetworkLocationListeners( 634): Still have listener com.google.android
[email protected]
D/PhoneStatusBar( 401): disable: < expand icons alerts ticker system_info back
home recent clock >
W/ResourceType( 183): Skipping entry 0x7f050000 in package table 0 because it i
s not complex!
D/OpenGLRenderer( 1126): Flushing caches (mode 1)
D/CellLocator( 634): Primary cell miss in cache. Need server request.
D/NetworkLocator( 634): New location significantly newer than previous. Reporti
ng it.
D/RPC ( 183): 3000008c:00050000 sending call (XID 53).
D/RPC ( 183): 3000008c:00050000 received REPLY (XID 53), grabbing mutex to
wake up client.
any solution?

Lennox Alexion said:
How to make Voice search work in MIUIv4?
I searched many places but couldn't find any solution...
hope someone can help
thanks in advance!!
Logcat while trying to access voice search on MIUIv4 ayushrox build #3:
Code:
I/RecognitionControllerImpl( 2380): State change: STARTING -> STARTING
I/RecognitionControllerImpl( 2380): New mic stream.
I/AudioHardwareMSM76XXA( 113): do input routing device 400000
I/AudioHardwareMSM76XXA( 113): Routing audio to Speakerphone
W/AudioHardwareMSM76XXA( 113): rpc_snd_set_device(1, 1, 1)
E/BTFMPinSwitching( 113): switch mode failed because QCOM_FM feature is not ava
ilable
I/AudioHardwareMSM76XXA( 113): do input routing device 400000
I/AudioHardwareMSM76XXA( 113): Routing audio to Speakerphone
I/MicrophoneInputStream( 2380): #new 1
W/dalvikvm( 2380): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initi
alizing Lcom/google/android/voicesearch/endpointer/EndpointerInputStream;
W/dalvikvm( 2380): threadid=11: thread exiting with uncaught exception (group=0x
40a6b1f8)
E/AndroidRuntime( 2380): FATAL EXCEPTION: RecognitionControllerThread
E/AndroidRuntime( 2380): java.lang.ExceptionInInitializerError
E/AndroidRuntime( 2380): at com.google.android.voicesearch.speechservice.
MicrophoneManagerImpl.getMicInputStream(MicrophoneManagerImpl.java:127)
E/AndroidRuntime( 2380): at com.google.android.voicesearch.speechservice.
MicrophoneManagerImpl.setupMicrophone(MicrophoneManagerImpl.java:91)
E/AndroidRuntime( 2380): at com.google.android.voicesearch.speechservice.
RecognitionControllerImpl.startRecognition(RecognitionControllerImpl.java:403)
E/AndroidRuntime( 2380): at com.google.android.voicesearch.speechservice.
RecognitionControllerImpl.access$300(RecognitionControllerImpl.java:86)
E/AndroidRuntime( 2380): at com.google.android.voicesearch.speechservice.
RecognitionControllerImpl$1.handleMessage(RecognitionControllerImpl.java:263)
E/AndroidRuntime( 2380): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 2380): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2380): at android.os.HandlerThread.run(HandlerThread.ja
va:60)
E/AndroidRuntime( 2380): Caused by: java.lang.UnsatisfiedLinkError: Couldn't loa
d speech: findLibrary returned null
E/AndroidRuntime( 2380): at java.lang.Runtime.loadLibrary(Runtime.java:36
5)
E/AndroidRuntime( 2380): at java.lang.System.loadLibrary(System.java:535)
E/AndroidRuntime( 2380): at com.google.android.voicesearch.endpointer.End
pointerInputStream.<clinit>(EndpointerInputStream.java:129)
E/AndroidRuntime( 2380): ... 8 more
W/ActivityManager( 183): Force finishing activity com.google.android.voicesea
rch/.RecognitionActivity
W/InputManagerService( 183): Window already focused, ignoring focus gain of: co
[email protected]
W/ActivityManager( 183): Force finishing activity com.google.android.googlequ
icksearchbox/.SearchActivity
V/PhoneStatusBar( 401): setLightsOn(true)
D/libEGL ( 2380): loaded /system/lib/egl/libGLES_android.so
D/libEGL ( 2380): loaded /system/lib/egl/libEGL_adreno200.so
D/libEGL ( 2380): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
D/libEGL ( 2380): loaded /system/lib/egl/libGLESv2_adreno200.so
D/OpenGLRenderer( 2380): Enabling debug mode 0
I/Process ( 183): Sending signal. PID: 2380 SIG: 3
I/dalvikvm( 2380): threadid=3: reacting to signal 3
I/dalvikvm( 2380): Wrote stack traces to '/data/anr/traces.txt'
D/dalvikvm( 634): GC_EXPLICIT freed 262K, 22% free 8000K/10247K, paused 3ms+19m
s
I/RecognitionControllerImpl( 2380): State change: STARTING -> CANCELED
W/ActivityManager( 183): Duplicate finish request for ActivityRecord{410607f8 c
om.google.android.voicesearch/.RecognitionActivity}
I/AudioService( 183): AudioFocus abandonAudioFocus() from android.media.Audio
[email protected]
D/androidNetworkLocationListeners( 634): Still have listener com.google.android
[email protected]
D/PhoneStatusBar( 401): disable: < expand icons alerts ticker system_info back
home recent clock >
W/ResourceType( 183): Skipping entry 0x7f050000 in package table 0 because it i
s not complex!
D/OpenGLRenderer( 1126): Flushing caches (mode 1)
D/CellLocator( 634): Primary cell miss in cache. Need server request.
D/NetworkLocator( 634): New location significantly newer than previous. Reporti
ng it.
D/RPC ( 183): 3000008c:00050000 sending call (XID 53).
D/RPC ( 183): 3000008c:00050000 received REPLY (XID 53), grabbing mutex to
wake up client.
any solution?
Click to expand...
Click to collapse
[Solved] few library files were missing
Sent from my HTC Explorer A310e using xda premium

Related

Trying to recompile kernel (boot splash loop)

Hi, i've compiled both android-samsung-2.6.35-gingerbread and glados kernels and packed them into boot.imgs. When i boot my nexus s (i9023 & cm7 rom) with them i get the same loop during boot splash.
Logcat:
Code:
I/dalvikvm( 77): System server process 130 has been created
I/Zygote ( 77): Accepting command socket connections
I/sysproc ( 130): Entered system_init()
I/sysproc ( 130): ServiceManager: 0x95130
D/SensorService( 130): nuSensorService starting...
E/AKMD2 ( 130): libkam : Unable to load settings file, using defaults.
I/SensorService( 130): KR3DM 3-axis Accelerometer
I/SensorService( 130): AK8973 3-axis Magnetic field sensor
I/SensorService( 130): AK8973 Orientation sensor
I/SensorService( 130): GP2A Light sensor
I/SensorService( 130): GP2A Proximity sensor
I/SensorService( 130): K3G Gyroscope sensor
D/SensorService( 130): nuSensorService thread starting...
I/sysproc ( 130): System server: starting Android runtime.
I/sysproc ( 130): System server: starting Android services.
I/sysproc ( 130): System server: entering thread pool.
I/SystemServer( 130): Entered the Android system server!
I/SystemServer( 130): Entropy Service
I/SystemServer( 130): Power Manager
I/SystemServer( 130): Activity Manager
W/dalvikvm( 130): Exception Ljava/lang/NumberFormatException; thrown while initializing Lcom/android/server/am/ActivityManagerService;
W/dalvikvm( 130): threadid=9: thread exiting with uncaught exception (group=0x40015560)
E/AndroidRuntime( 130): *** FATAL EXCEPTION IN SYSTEM PROCESS: android.server.ServerThread
E/AndroidRuntime( 130): java.lang.ExceptionInInitializerError
E/AndroidRuntime( 130): at com.android.server.ServerThread.run(SystemServer.java:152)
E/AndroidRuntime( 130): Caused by: java.lang.NumberFormatException: unable to parse '' as integer
E/AndroidRuntime( 130): at java.lang.Integer.parseInt(Integer.java:362)
E/AndroidRuntime( 130): at java.lang.Integer.parseInt(Integer.java:332)
E/AndroidRuntime( 130): at java.lang.Integer.valueOf(Integer.java:506)
E/AndroidRuntime( 130): at com.android.server.am.ActivityManagerService.getIntProp(ActivityManagerService.java:356)
E/AndroidRuntime( 130): at com.android.server.am.ActivityManagerService.<clinit>(ActivityManagerService.java:365)
E/AndroidRuntime( 130): ... 1 more
I/Process ( 130): Sending signal. PID: 130 SIG: 9
E/AndroidRuntime( 130): Error reporting crash
E/AndroidRuntime( 130): java.lang.NullPointerException
E/AndroidRuntime( 130): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:76)
E/AndroidRuntime( 130): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:854)
E/AndroidRuntime( 130): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:851)
I/ServiceManager( 69): service 'sensorservice' died
I/ServiceManager( 69): service 'entropy' died
I/ServiceManager( 69): service 'power' died
I/Zygote ( 77): Exit zygote because system server (130) has terminated
I/ServiceManager( 69): service 'media.camera' died
I/ServiceManager( 69): service 'media.audio_policy' died
I/ServiceManager( 69): service 'media.audio_flinger' died
I/ServiceManager( 69): service 'media.player' died
I/Netd ( 143): Netd 1.0 starting
D/AndroidRuntime( 144):
D/AndroidRuntime( 144): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
I/AndroidRuntime( 144): Heap size: -Xmx32m
D/AndroidRuntime( 144): CheckJNI is OFF
D/dalvikvm( 144): creating instr width table
D/dalvikvm( 144): Unable to stat classpath element '/system/framework/apache-xml.jar'
D/dalvikvm( 144): Unable to stat classpath element '/system/framework/filterfw.jar'
I/ ( 142): ServiceManager: 0xad50
D/AudioHardwareInterface( 142): setMode(NORMAL)
Complete logcat: http://pastebin.com/FrSyaVFX
Do you have suggestion? What could be the problem?
Did you ever determine the cause of this error?

Compiling Android 2.2.3 AOSP from source

Hello!
I need help. I compile Android 2.2.3 from source.
Everything works except:
- camera
- bluetooth
- Rotate the screen (for some reason turns to the other side)
- GPS
- Mount the SD card (as a drive)
Stock firmware: Android 2.2.2
Firmware which I ported now: Android 2.2.3
Kernel: 2.6.32
Device: Huawei S7 Ideos 101
Already more than a week suffer. Help please.
Here are my logs:
Launch the camera application:
Code:
I/ActivityManager( 525): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.camera/.Camera }
I/ActivityManager( 525): Start proc com.android.camera for activity com.android.camera/.Camera: pid=798 uid=10032 gids={1006, 1015}
D/dalvikvm( 520): GC_EXPLICIT freed 283 objects / 10744 bytes in 64ms
D/dalvikvm( 520): GC_EXPLICIT freed 47 objects / 2072 bytes in 131ms
D/dalvikvm( 798): Trying to load lib /vendor/lib/libmedia_jni.so 0x0
D/dalvikvm( 798): Shared lib '/vendor/lib/libmedia_jni.so' already loaded in same CL 0x0
E/QualcommCameraHardware( 516): Unable to determine the target type. Camera will not work
E/QualcommCameraHardware( 516): createInstance: startCamera failed!
D/CameraService( 516): Client::Client X (pid 798)
E/CameraHolder( 798): fail to connect Camera
E/CameraHolder( 798): java.lang.RuntimeException: Fail to connect to camera service
E/CameraHolder( 798): at android.hardware.Camera.native_setup(Native Method)
E/CameraHolder( 798): at android.hardware.Camera.<init>(Camera.java:185)
E/CameraHolder( 798): at android.hardware.Camera.open(Camera.java:165)
E/CameraHolder( 798): at com.android.camera.CameraHolder.open(CameraHolder.java:100)
E/CameraHolder( 798): at com.android.camera.Camera.ensureCameraDevice(Camera.java:1607)
E/CameraHolder( 798): at com.android.camera.Camera.startPreview(Camera.java:1658)
E/CameraHolder( 798): at com.android.camera.Camera.access$5600(Camera.java:94)
E/CameraHolder( 798): at com.android.camera.Camera$4.run(Camera.java:930)
E/CameraHolder( 798): at java.lang.Thread.run(Thread.java:1096)
D/dalvikvm( 520): GC_EXPLICIT freed 2 objects / 64 bytes in 85ms
E/QualcommCameraHardware( 516): *****ZJ: at opencamerafd. open /dev/msm_camera/control1****
W/dalvikvm( 798): threadid=8: thread exiting with uncaught exception (group=0x4001d878)
E/AndroidRuntime( 798): FATAL EXCEPTION: Thread-9
E/AndroidRuntime( 798): java.lang.RuntimeException: com.android.camera.CameraHardwareException: java.lang.RuntimeException: Fail to connect to camera service
E/AndroidRuntime( 798): at com.android.camera.Camera$4.run(Camera.java:935)
E/AndroidRuntime( 798): at java.lang.Thread.run(Thread.java:1096)
E/AndroidRuntime( 798): Caused by: com.android.camera.CameraHardwareException: java.lang.RuntimeException: Fail to connect to camera service
E/AndroidRuntime( 798): at com.android.camera.CameraHolder.open(CameraHolder.java:103)
E/AndroidRuntime( 798): at com.android.camera.Camera.ensureCameraDevice(Camera.java:1607)
E/AndroidRuntime( 798): at com.android.camera.Camera.startPreview(Camera.java:1658)
E/AndroidRuntime( 798): at com.android.camera.Camera.access$5600(Camera.java:94)
E/AndroidRuntime( 798): at com.android.camera.Camera$4.run(Camera.java:930)
E/AndroidRuntime( 798): ... 1 more
E/AndroidRuntime( 798): Caused by: java.lang.RuntimeException: Fail to connect to camera service
E/AndroidRuntime( 798): at android.hardware.Camera.native_setup(Native Method)
E/AndroidRuntime( 798): at android.hardware.Camera.<init>(Camera.java:185)
E/AndroidRuntime( 798): at android.hardware.Camera.open(Camera.java:165)
E/AndroidRuntime( 798): at com.android.camera.CameraHolder.open(CameraHolder.java:100)
E/AndroidRuntime( 798): ... 5 more
W/ActivityManager( 525): Force finishing activity com.android.camera/.Camera
W/ActivityManager( 525): Activity pause timeout for HistoryRecord{44f9a9d8 com.android.camera/.Camera}
I/Process ( 798): Sending signal. PID: 798 SIG: 9
I/ActivityManager( 525): Process com.android.camera (pid 798) has died.
W/InputManagerService( 525): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMetho[email protected]
I/dun_s
Starting Bluetooth:
Code:
D/BluetoothService( 525): Bluetooth state 10 -> 11
V/BluetoothEventRedirector( 621): Received android.bluetooth.adapter.action.STATE_CHANGED
I/bluedroid( 525): Starting hciattach daemon
I/dun_service( 86): The value returned from dun_getusbmodemstate_fromsys is 1
I/dun_service( 86): Post event 1
I/dun_service( 86): received event: DUN_EVENT_USB_UNPLUG
I/dun_service( 86): received event(DUN_EVENT_USB_UNPLUG) in state(DUN_STATE_USB_UNPLUG)
I/dun_service( 86): Ignoring the event DUN_EVENT_USB_UNPLUG in USB_UNPLUG_STATE
I/dun_service( 86): Moved to state(DUN_STATE_USB_UNPLUG)
I/bluetooth( 812): /system/etc/init.bt.sh: bluetooth chip set as
E/qcom-bluetooth( 821): /system/etc/init.qcom.bt.sh: Bluetooth QSoC firmware download failed: exit code 1
E/bluetooth( 822): /system/etc/init.bt.sh: chip set error
I/bluetooth( 823): /system/etc/init.bt.sh: detecting bluetooth chip 1
E/qcom-bluetooth( 832): /system/etc/init.qcom.bt.sh: Bluetooth QSoC firmware download failed: exit code 1
I/bluetooth( 833): /system/etc/init.bt.sh: chip is not bt4025
I/bluetooth( 834): /system/etc/init.bt.sh: detecting bluetooth chip 2
I/brcm-bluetooth( 837): /system/etc/init.brcm.bt.sh: Initiating Bluetooth module with brcm_patchram_plus
E/brcm-bluetooth( 843): /system/etc/init.brcm.bt.sh: Bluetooth Broadcom HCD file download failed: exit code 1
I/bluetooth( 844): /system/etc/init.bt.sh: chip is not bcm4329
E/bluetooth( 845): /system/etc/init.bt.sh: no bluetooth chip found
I/dun_service( 86): The value returned from dun_getusbmodemstate_fromsys is 1
I/dun_service( 86): Post event 1
I/dun_service( 86): received event: DUN_EVENT_USB_UNPLUG
I/dun_service( 86): received event(DUN_EVENT_USB_UNPLUG) in state(DUN_STATE_USB_UNPLUG)
I/dun_service( 86): Ignoring the event DUN_EVENT_USB_UNPLUG in USB_UNPLUG_STATE
I/dun_service( 86): Moved to state(DUN_STATE_USB_UNPLUG)
D/dalvikvm( 617): GC_EXPLICIT freed 1925 objects / 106848 bytes in 60ms
E/b
Enable \ disable screen rotation:
Code:
E/Sensors ( 525): [sensors_control_activate] Enable handle: 1
E/Sensors ( 525): Active sensors now:0002, Enable&Disable sensors:0002
E/Sensors ( 525): [sensors_control_activate]current sensors=0002
I/WindowManager( 525): Setting rotation to 1, animFlags=0
I/ActivityManager( 525): Config changed: { scale=1.0 imsi=257/4 loc=ru_RU touch=3 keys=1/1/2 nav=3/1 orien=1 layout=35 uiMode=17 seq=4}
I/UsageStats( 525): Unexpected resume of com.android.settings while already resumed in com.android.settings
D/dalvikvm( 525): GC_EXPLICIT freed 12194 objects / 658744 bytes in 79ms
E/Sensors ( 525): [sensors_control_activate] Disable handle: 1
E/Sensors ( 525): Active sensors now:0002, Enable&Disable sensors:0000
E/Sensors ( 525): [sensors_control_activate]current sensors=0000
I/WindowManager( 525): Setting rotation to 0, animFlags=0
I/ActivityManager( 525): Config changed: { scale=1.0 imsi=257/4 loc=ru_RU touch=3 keys=1/1/2 nav=3/1 orien=2 layout=35 uiMode=17 seq=5}
I/UsageStats( 525): Unexpected resume of com.android.settings while already resumed in com.android.settings
D/dalvikvm( 525): GC_EXPLICIT freed 2295 objects / 105376 bytes in 68ms
Mounting the sd card:
Code:
I/ActivityManager( 525): Starting activity: Intent { flg=0x10000000 cmp=android/com.android.server.status.UsbStorageActivity bnds=[160,166][640,230] }
D/VoldCmdListener( 77): volume shared /mnt/sdcard ums
I/ActivityManager( 525): Displayed activity android/com.android.server.status.UsbStorageActivity: 153 ms (total 153 ms)
W/InputManagerService( 525): Window already focused, ignoring focus gain of: [email protected]
The inclusion of GPS in the settings did not respond.
If necessary, I can put logcat and dmesg.
In stock firmware all hardware is working.
Logcat:
http://forum.xda-developers.com/attachment.php?attachmentid=1097358&stc=1&d=1338487760
Dmesg:
http://forum.xda-developers.com/attachment.php?attachmentid=1097357&stc=1&d=1338487760

Google now

Just wondering if anyone has gotten google now to work on cm 9 yet?
Yes, but I heard voice search fails with Now.
xpmode said:
Yes, but I heard voice search fails with Now.
Click to expand...
Click to collapse
is this with the online only or offline google now.
Im using this slimmed down version of g apps in order thyo make space on / system http://search.4shared.com/q/1/gapps-ics-small+02_06-20120429
ok so i installed now and when it trys to run im getting the message "unfortunately google search has stopped"
did a logcat to see what was causing this, so far as i can make out its this bit
E/dalvikvm( 2009): Dex cache directory isn't writable: /cache/dalvik-cache
I/dalvikvm( 2009): Unable to open or create cache for /system/app/Velvet.apk (/cache/dalvik-cache/[email protected]@[email protected])
D/AndroidRuntime( 2009): Shutting down VM
full logcat below.
Anyone have any idea what is happening and how i might begin to fix this.
nager( 267): Lock screen displayed!
D/AccelerometerListener( 460): enable(false)
D/SurfaceFlinger( 205): Screen about to return, flinger = 0x99918
I/AudioPolicyManager( 208): startOutput() output 1, stream 1, session 35
I/AudioHardwareMSM76XXA( 208): do output routing device 2
I/AudioHardwareMSM76XXA( 208): Routing audio to Speakerphone
D/PhoneStatusBar( 396): disable: < expand icons alerts ticker system_info BACK HOME recent* CLOCK >
D/PhoneStatusBar( 396): disable: < expand icons alerts ticker system_info back* home* recent clock* >
W/InputManagerService( 267): Window already focused, ignoring focus gain of: [email protected]
I/ActivityManager( 267): START {act=android.intent.action.SEARCH_LONG_PRESS flg=0x10000000 cmp=android/com.android.internal.app.ResolverActivity} from pid 471
I/ActivityManager( 267): Displayed android/com.android.internal.app.ResolverActivity: +158ms (total +58s450ms)
I/AudioPolicyManager( 208): startOutput() output 1, stream 1, session 36
I/AudioHardwareMSM76XXA( 208): do output routing device 2
I/AudioHardwareMSM76XXA( 208): Routing audio to Speakerphone
I/ActivityManager( 267): START {act=android.intent.action.SEARCH_LONG_PRESS flg=0x13000000 cmp=com.google.android.googlequicksearchbox/.SearchActivity} from pid 267
I/ActivityManager( 267): Start proc com.google.android.googlequicksearchbox for activity com.google.android.googlequicksearchbox/.SearchActivity: pid=2009 uid=10017 gids={3003, 1007, 3002, 1015}
D/OpenGLRenderer( 471): Flushing caches (mode 1)
D/OpenGLRenderer( 471): Flushing caches (mode 0)
D/dalvikvm( 267): GC_CONCURRENT freed 1308K, 28% free 7866K/10887K, paused 7ms+30ms
E/dalvikvm( 2009): Dex cache directory isn't writable: /cache/dalvik-cache
I/dalvikvm( 2009): Unable to open or create cache for /system/app/Velvet.apk (/cache/dalvik-cache/[email protected]@[email protected])
D/AndroidRuntime( 2009): Shutting down VM
W/dalvikvm( 2009): threadid=1: thread exiting with uncaught exception (group=0x40a651f8)
E/AndroidRuntime( 2009): FATAL EXCEPTION: main
E/AndroidRuntime( 2009): java.lang.RuntimeException: Unable to instantiate application com.google.android.velvet.VelvetApplication: java.lang.ClassNotFoundException: com.google.android.velvet.VelvetApplication
E/AndroidRuntime( 2009): at android.app.LoadedApk.makeApplication(LoadedApk.java:482)
E/AndroidRuntime( 2009): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4089)
E/AndroidRuntime( 2009): at android.app.ActivityThread.access$1300(ActivityThread.java:132)
E/AndroidRuntime( 2009): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
E/AndroidRuntime( 2009): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2009): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2009): at android.app.ActivityThread.main(ActivityThread.java:4575)
E/AndroidRuntime( 2009): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2009): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 2009): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
E/AndroidRuntime( 2009): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
E/AndroidRuntime( 2009): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2009): Caused by: java.lang.ClassNotFoundException: com.google.android.velvet.VelvetApplication
E/AndroidRuntime( 2009): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
E/AndroidRuntime( 2009): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
E/AndroidRuntime( 2009): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
E/AndroidRuntime( 2009): at android.app.Instrumentation.newApplication(Instrumentation.java:942)
E/AndroidRuntime( 2009): at android.app.LoadedApk.makeApplication(LoadedApk.java:477)
E/AndroidRuntime( 2009): ... 11 more
W/ActivityManager( 267): Force finishing activity com.google.android.googlequicksearchbox/.SearchActivity
I/Process ( 267): Sending signal. PID: 2009 SIG: 3
I/dalvikvm( 2009): threadid=3: reacting to signal 3
I/dalvikvm( 2009): Wrote stack traces to '/data/anr/traces.txt'
Click to expand...
Click to collapse
Try Google now in new build
http://forum.xda-developers.com/showthread.php?p=31218293
Hit thanks if helped

Sv: [ROM][Sense 4.1][16.12] Team Venom presents: ViperS 1.5.0 - welcome to the future

Team venom can you please get Arabic keyboard and dictionary to vipers 1.5.0 please i miss them so much and many other also do.
I am happy if you can make a flashable zip for Arabic keyboard and dictionary
Sent from my HTC Sensation Z710e using xda app-developers app
Check the add ons section in.. Venom hub.. It has Arabic keyboard now
Sent from my HTC Sensation using xda premium
Please Help
I previously had S3N5aY v 2.0 Rom on my phone, and thought it time to update to ICS,
I did full wipe and loaded version 1.5, It comes to the bootscreen where it turns the Sensation e upside down and then reboots itself continuously at the same spot, have clockworkmod 5.0.0.8 on the phone. How do I fix this problem ?
---------- Post added at 05:47 PM ---------- Previous post was at 05:01 PM ----------
Beast Power said:
Please Help
I previously had S3N5aY v 2.0 Rom on my phone, and thought it time to update to ICS,
I did full wipe and loaded version 1.5, It comes to the bootscreen where it turns the Sensation e upside down and then reboots itself continuously at the same spot, have clockworkmod 5.0.0.8 on the phone. How do I fix this problem ?
Click to expand...
Click to collapse
Nearly 2 hours and no reply ?
Flash 3.33 firmware
Sent From My HTC Sensation powered by ARHD and Faux Kernel
ganeshp said:
Check the add ons section in.. Venom hub.. It has Arabic keyboard now
Sent from my HTC Sensation using xda premium
Click to expand...
Click to collapse
I am really thanksfull :good::good::good::good: but how to set it up because i flashed and try to use and got in settings but its not working
Beast Power said:
Please Help
I previously had S3N5aY v 2.0 Rom on my phone, and thought it time to update to ICS,
I did full wipe and loaded version 1.5, It comes to the bootscreen where it turns the Sensation e upside down and then reboots itself continuously at the same spot, have clockworkmod 5.0.0.8 on the phone. How do I fix this problem ?
---------- Post added at 05:47 PM ---------- Previous post was at 05:01 PM ----------
Nearly 2 hours and no reply ?
Click to expand...
Click to collapse
post your bootloader details
Arabic Keyboard problem in Venom Flash
Hello,
I am running through the same case. Here is the log I get:
E/AndroidRuntime( 2409): FATAL EXCEPTION: main
E/AndroidRuntime( 2409): android.content.res.Resources$NotFoundException: String resource ID #0x40f14900
E/AndroidRuntime( 2409): at android.content.res.Resources.getText(Resources.java)
E/AndroidRuntime( 2409): at android.widget.TextView.setText(TextView.java)
E/AndroidRuntime( 2409): at com.parfield.inputmethod.arabic.ParfieldDialogPreference.onPrepareDialogBuilder(ParfieldDialogPreference.java:42)
E/AndroidRuntime( 2409): at android.preference.DialogPreference.showDialog(DialogPreference.java)
E/AndroidRuntime( 2409): at android.preference.DialogPreference.onClick(DialogPreference.java)
E/AndroidRuntime( 2409): at android.preference.Preference.performClick(Preference.java)
E/AndroidRuntime( 2409): at android.preference.PreferenceScreen.onItemClick(PreferenceScreen.java)
E/AndroidRuntime( 2409): at android.widget.AdapterView.performItemClick(AdapterView.java)
E/AndroidRuntime( 2409): at android.widget.AbsListView.performItemClick(AbsListView.java)
E/AndroidRuntime( 2409): at android.widget.ListView.performItemClick(ListView.java)
E/AndroidRuntime( 2409): at android.widget.AbsListView$PerformClick.run(AbsListView.java)
E/AndroidRuntime( 2409): at android.widget.AbsListView.onTouchEvent(AbsListView.java)
E/AndroidRuntime( 2409): at android.widget.ListView.onTouchEvent(ListView.java)
E/AndroidRuntime( 2409): at android.view.View.dispatchTouchEvent(View.java)
E/AndroidRuntime( 2409): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java)
E/AndroidRuntime( 2409): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java)
E/AndroidRuntime( 2409): at android.widget.AbsListView.dispatchTouchEvent(AbsListView.java)
E/AndroidRuntime( 2409): at android.widget.ListView.dispatchTouchEvent(ListView.java)
E/AndroidRuntime( 2409): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java)
E/AndroidRuntime( 2409): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java)
E/AndroidRuntime( 2409): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java)
E/AndroidRuntime( 2409): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java)
E/AndroidRuntime( 2409): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java)
E/AndroidRuntime( 2409): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java)
E/AndroidRuntime( 2409): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java)
E/AndroidRuntime( 2409): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java)
E/AndroidRuntime( 2409): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java)
E/AndroidRuntime( 2409): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java)
E/AndroidRuntime( 2409): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java)
E/AndroidRuntime( 2409): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java)
E/AndroidRuntime( 2409): at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java)
E/AndroidRuntime( 2409): at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java)
E/AndroidRuntime( 2409): at android.app.Activity.dispatchTouchEvent(Activity.java)
E/AndroidRuntime( 2409): at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java)
E/AndroidRuntime( 2409): at android.view.View.dispatchPointerEvent(View.java)
E/AndroidRuntime( 2409): at android.view.ViewRootImpl.deliverPointerEvent(ViewRootImpl.java)
E/AndroidRuntime( 2409): at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java)
E/AndroidRuntime( 2409): at android.view.ViewRootImpl.processInputEvents(ViewRootImpl.java)
E/AndroidRuntime( 2409): at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java)
E/AndroidRuntime( 2409): at android.os.Handler.dispatchMessage(Handler.java)
E/AndroidRuntime( 2409): at android.os.Looper.loop(Looper.java)
E/AndroidRuntime( 2409): at android.app.ActivityThread.main(ActivityThread.java)
E/AndroidRuntime( 2409): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2409): at java.lang.reflect.Method.invoke(Method.java)
E/AndroidRuntime( 2409): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
E/AndroidRuntime( 2409): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
E/AndroidRuntime( 2409): at dalvik.system.NativeStart.main(Native Method)
E/EmbeddedLogger( 278): App crashed! Process: com.parfield.inputmethod.arabic
E/EmbeddedLogger( 278): App crashed! Package: com.parfield.inputmethod.arabic v453 (4.1.453)
E/EmbeddedLogger( 278): Application Label: Arabic keyboard
---------- Post added at 01:26 AM ---------- Previous post was at 01:14 AM ----------
ganeshp:
can you give me a hand in pinning down the crashing issue. So far I think it is connected with the crashing I get when calling Wipe Delvik Cashe in both versions (1.4.1 and 1.5.2):
W/CpuWake ( 278): >>releaseCpuPerfWakeLock
W/CpuWake ( 278): <<releaseCpuPerfWakeLock
I/PowerManagerService-JNI( 278): [Stability] PowerManagerService_userActivity JNI pass power key event to PowerManagerService userActivity()
D/dalvikvm( 278): GC_FOR_ALLOC freed 986K, 28% free 13659K/18723K, paused 85ms
I/FxActivity( 363): FxActivity.onPause()
D/ConnectivityService( 278): onUidRulesChanged(uid=10146, uidRules=0)
D/OpenGLRenderer( 363): Flushing caches (mode 1)
D/mode10 ( 363): FxSurfaceView.surfaceDestroyed, mViewObject:[email protected]
D/memalloc( 363): /dev/pmem: Unmapping buffer base:0x58cca000 size:12918784 offset:10829824
D/memalloc( 363): /dev/pmem: Unmapping buffer base:0x5991c000 size:21307392 offset:19218432
D/memalloc( 363): /dev/pmem: Unmapping buffer base:0x5ad98000 size:23396352 offset:21307392
D/OpenGLRenderer( 363): Flushing caches (mode 0)
D/memalloc( 363): /dev/pmem: Unmapping buffer base:0x584d2000 size:8355840 offset:6266880
D/memalloc( 363): /dev/pmem: Unmapping buffer base:0x5c3e8000 size:25485312 offset:23396352
D/memalloc( 363): /dev/pmem: Unmapping buffer base:0x5753b000 size:2088960 offset:0
I/InputManagerService( 278): [unbindCurrentClientLocked] Disable input method client.
I/InputManagerService( 278): [startInputLocked] Enable input method client.
D/dalvikvm( 2011): GC_CONCURRENT freed 2317K, 33% free 5333K/7843K, paused 2ms+3ms
D/WifiStateMachine( 278): fetchRssiAndLinkSpeedNative RSSI = -64
D/memalloc( 2011): /dev/pmem: Unmapping buffer base:0x525c9000 size:10567680 offset:10444800
I/PowerManagerService-JNI( 278): [Stability] PowerManagerService_userActivity JNI pass power key event to PowerManagerService userActivity()
D/PhoneStatusBarPolicy( 363): silentresetvalue = 0, mTimerEnabled = false
D/PhoneStatusBarPolicy( 363): updateSignalStrength(), in service, remove timer
D/PhoneStatusBarPolicy( 363): isCdma():false hasService:true mSimState=UNKNOWN gprsState=0 mDataState=0 dataActivity=0 mPhone.htcModemLinkOn:false hspa==true
D/PhoneStatusBarPolicy( 363): updateDataIcon(), silentresetvalue = 0, mTimerEnabled = false
D/PhoneStatusBarPolicy( 363): updateDataIcon(), in data service, do nothing
W/ActivityManager( 278): Activity destroy timeout for ActivityRecord{419063b0 com.parfield.inputmethod.arabic/.ParfieldIMESettings}
D/WifiStateMachine( 278): fetchRssiAndLinkSpeedNative RSSI = -65
I/PowerManagerService-JNI( 278): [Stability] PowerManagerService_userActivity JNI pass power key event to PowerManagerService userActivity()
I/PowerManagerService-JNI( 278): [Stability] PowerManagerService_userActivity JNI pass power key event to PowerManagerService userActivity()
I/PowerManagerService-JNI( 278): [Stability] PowerManagerService_userActivity JNI pass power key event to PowerManagerService userActivity()
D/dalvikvm( 2277): GC_BEFORE_OOM freed 2397K, 37% free 4427K/6947K, paused 54ms
D/WifiStateMachine( 278): fetchRssiAndLinkSpeedNative RSSI = -66
I/PowerManagerService-JNI( 278): [Stability] PowerManagerService_userActivity JNI pass power key event to PowerManagerService userActivity()
D/dalvikvm( 363): GC_BEFORE_OOM freed 1242K, 62% free 5359K/13859K, paused 59ms
D/WifiStateMachine( 278): fetchRssiAndLinkSpeedNative RSSI = -66
I/PowerManagerService-JNI( 278): [Stability] PowerManagerService_userActivity JNI pass power key event to PowerManagerService userActivity()
Thanks for any hint.

[APP][3.0+] Ultimate Randomizer

Ultimate Ranomizer
market://play.google.com/store/apps/details?id=com.w2e.activities
A simple randomizer that gets your needed randoms done. This randomizer will help you through your hard times thinking where to eat, what to do, what color of shirt to wear and many more.
Currently having:
-Random list that you make
-Random Letter
-Random Number (with range)
-Random Dice Roll
-Random Color
-Random Coin Flip
-Random Image
-Random Password
I will add more features soon!
Should you have concerns and suggestion or found a bug in the app? Just send me an email or do the feedbacks in the app itself. I am willing to develop this further to what it is now.
Nice app! It crashes on random image only. Using N4
Here's the link: https://play.google.com/store/apps/details?id=com.w2e.activities
Bug! Force close by clicking on 'Image' (Nexus 5, AOSPAL 4.4.2 with ART).
Got some logcat for you:
Code:
I/ActivityManager(20562): Timeline: Activity_windows_visible id: ActivityRecord{
6616ea48 u0 com.w2e.activities/.UltimateRandomizer t97} time:33137435
I/ActivityManager( 927): Timeline: Activity_launch_request id:com.w2e.activitie
s time:33142468
I/ActivityManager(20562): START u0 {cmp=com.w2e.activities/.Image} from pid 927
D/audio_hw_primary(20266): select_devices: out_snd_device(2: speaker) in_snd_dev
ice(0: )
E/DatabaseUtils(32196): Writing exception to parcel
E/DatabaseUtils(32196): java.lang.SecurityException: Permission Denial: reading
com.android.providers.media.MediaProvider uri content://media/external/images/me
dia from pid=927, uid=10181 requires android.permission.READ_EXTERNAL_STORAGE, o
r grantUriPermission()
E/DatabaseUtils(32196): at android.content.ContentProvider.enforceReadPe
rmissionInner(ContentProvider.java:467)
E/DatabaseUtils(32196): at android.content.ContentProvider$Transport.enf
orceReadPermission(ContentProvider.java:394)
E/DatabaseUtils(32196): at android.content.ContentProvider$Transport.que
ry(ContentProvider.java:194)
E/DatabaseUtils(32196): at android.content.ContentProviderNative.onTrans
act(ContentProviderNative.java:112)
E/DatabaseUtils(32196): at android.os.Binder.execTransact(Binder.java:40
4)
D/AndroidRuntime( 927): Shutting down VM
E/AndroidRuntime( 927): FATAL EXCEPTION: main
E/AndroidRuntime( 927): Process: com.w2e.activities, PID: 927
E/AndroidRuntime( 927): java.lang.RuntimeException: Unable to start activity Co
mponentInfo{com.w2e.activities/com.w2e.activities.Image}: java.lang.SecurityExce
ption: Permission Denial: reading com.android.providers.media.MediaProvider uri
content://media/external/images/media from pid=927, uid=10181 requires android.p
ermission.READ_EXTERNAL_STORAGE, or grantUriPermission()
E/AndroidRuntime( 927): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2195)
E/AndroidRuntime( 927): at android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:2245)
E/AndroidRuntime( 927): at android.app.ActivityThread.access$800(Activit
yThread.java:135)
E/AndroidRuntime( 927): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1196)
E/AndroidRuntime( 927): at android.os.Handler.dispatchMessage(Handler.ja
va:102)
E/AndroidRuntime( 927): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 927): at android.app.ActivityThread.main(ActivityThrea
d.java:5017)
E/AndroidRuntime( 927): at java.lang.reflect.Method.invoke(Native Method
)
E/AndroidRuntime( 927): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:779)
E/AndroidRuntime( 927): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:595)
E/AndroidRuntime( 927): Caused by: java.lang.SecurityException: Permission Deni
al: reading com.android.providers.media.MediaProvider uri content://media/extern
al/images/media from pid=927, uid=10181 requires android.permission.READ_EXTERNA
L_STORAGE, or grantUriPermission()
E/AndroidRuntime( 927): at android.os.Parcel.readException(Parcel.java:1
465)
E/AndroidRuntime( 927): at android.database.DatabaseUtils.readExceptionF
romParcel(DatabaseUtils.java:185)
E/AndroidRuntime( 927): at android.database.DatabaseUtils.readExceptionF
romParcel(DatabaseUtils.java:137)
E/AndroidRuntime( 927): at android.content.ContentProviderProxy.query(Co
ntentProviderNative.java:420)
E/AndroidRuntime( 927): at android.content.ContentResolver.query(Content
Resolver.java:461)
E/AndroidRuntime( 927): at android.content.ContentResolver.query(Content
Resolver.java:404)
E/AndroidRuntime( 927): at android.app.Activity.managedQuery(Activity.ja
va:1799)
E/AndroidRuntime( 927): at com.w2e.activities.Image.onCreate(Image.java:
51)
E/AndroidRuntime( 927): at android.app.Activity.performCreate(Activity.j
ava:5241)
E/AndroidRuntime( 927): at android.app.Instrumentation.callActivityOnCre
ate(Instrumentation.java:1087)
E/AndroidRuntime( 927): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2159)
E/AndroidRuntime( 927): ... 9 more
W/ActivityManager(20562): Force finishing activity com.w2e.activities/.Image
W/ActivityManager(20562): Force finishing activity com.w2e.activities/.Ultimat
eRandomizer
W/ActivityManager(20562): Activity pause timeout for ActivityRecord{658110e0 u0
com.w2e.activities/.Image t97 f}
I/ActivityManager(22353): Timeline: Activity_idle id: [email protected]
8c960 time:33143091
I/ActivityManager(20562): Timeline: Activity_windows_visible id: ActivityRecord{
65f8c490 u0 com.anddoes.launcher/.Launcher t1} time:33143350
W/ActivityManager(20562): Activity destroy timeout for ActivityRecord{6616ea48 u
0 com.w2e.activities/.UltimateRandomizer t97 f}
W/ActivityManager(20562): Activity destroy timeout for ActivityRecord{658110e0 u
0 com.w2e.activities/.Image t97 f}
The app is awesome! The colour works for me. (Xperia Sola)
Sent from my Xperia Sola using XDA Premium..
Nice app +1
Potential Security Problems?
I was looking through the smalicode/javacode of the app, and it seems to be using Java.util.Random for Pseudo-random number generation of passwords and whatnot... While there's nothing wrong with that if you use this app for daily use (EG: settling arguments with a coin flip), perhaps it might be better to use something like java.security.SecureRandom for the Password and Dice roll activities.
Great app BTW!
crashes on random image
full stock Nexus 5 on ART
nice app anyway! :good:
dnkncht said:
Bug! Force close by clicking on 'Image' (Nexus 5, AOSPAL 4.4.2 with ART).
Got some logcat for you:
Code:
I/ActivityManager(20562): Timeline: Activity_windows_visible id: ActivityRecord{
6616ea48 u0 com.w2e.activities/.UltimateRandomizer t97} time:33137435
I/ActivityManager( 927): Timeline: Activity_launch_request id:com.w2e.activitie
s time:33142468
I/ActivityManager(20562): START u0 {cmp=com.w2e.activities/.Image} from pid 927
D/audio_hw_primary(20266): select_devices: out_snd_device(2: speaker) in_snd_dev
ice(0: )
E/DatabaseUtils(32196): Writing exception to parcel
E/DatabaseUtils(32196): java.lang.SecurityException: Permission Denial: reading
com.android.providers.media.MediaProvider uri content://media/external/images/me
dia from pid=927, uid=10181 requires android.permission.READ_EXTERNAL_STORAGE, o
r grantUriPermission()
E/DatabaseUtils(32196): at android.content.ContentProvider.enforceReadPe
rmissionInner(ContentProvider.java:467)
E/DatabaseUtils(32196): at android.content.ContentProvider$Transport.enf
orceReadPermission(ContentProvider.java:394)
E/DatabaseUtils(32196): at android.content.ContentProvider$Transport.que
ry(ContentProvider.java:194)
E/DatabaseUtils(32196): at android.content.ContentProviderNative.onTrans
act(ContentProviderNative.java:112)
E/DatabaseUtils(32196): at android.os.Binder.execTransact(Binder.java:40
4)
D/AndroidRuntime( 927): Shutting down VM
E/AndroidRuntime( 927): FATAL EXCEPTION: main
E/AndroidRuntime( 927): Process: com.w2e.activities, PID: 927
E/AndroidRuntime( 927): java.lang.RuntimeException: Unable to start activity Co
mponentInfo{com.w2e.activities/com.w2e.activities.Image}: java.lang.SecurityExce
ption: Permission Denial: reading com.android.providers.media.MediaProvider uri
content://media/external/images/media from pid=927, uid=10181 requires android.p
ermission.READ_EXTERNAL_STORAGE, or grantUriPermission()
E/AndroidRuntime( 927): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2195)
E/AndroidRuntime( 927): at android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:2245)
E/AndroidRuntime( 927): at android.app.ActivityThread.access$800(Activit
yThread.java:135)
E/AndroidRuntime( 927): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1196)
E/AndroidRuntime( 927): at android.os.Handler.dispatchMessage(Handler.ja
va:102)
E/AndroidRuntime( 927): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 927): at android.app.ActivityThread.main(ActivityThrea
d.java:5017)
E/AndroidRuntime( 927): at java.lang.reflect.Method.invoke(Native Method
)
E/AndroidRuntime( 927): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:779)
E/AndroidRuntime( 927): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:595)
E/AndroidRuntime( 927): Caused by: java.lang.SecurityException: Permission Deni
al: reading com.android.providers.media.MediaProvider uri content://media/extern
al/images/media from pid=927, uid=10181 requires android.permission.READ_EXTERNA
L_STORAGE, or grantUriPermission()
E/AndroidRuntime( 927): at android.os.Parcel.readException(Parcel.java:1
465)
E/AndroidRuntime( 927): at android.database.DatabaseUtils.readExceptionF
romParcel(DatabaseUtils.java:185)
E/AndroidRuntime( 927): at android.database.DatabaseUtils.readExceptionF
romParcel(DatabaseUtils.java:137)
E/AndroidRuntime( 927): at android.content.ContentProviderProxy.query(Co
ntentProviderNative.java:420)
E/AndroidRuntime( 927): at android.content.ContentResolver.query(Content
Resolver.java:461)
E/AndroidRuntime( 927): at android.content.ContentResolver.query(Content
Resolver.java:404)
E/AndroidRuntime( 927): at android.app.Activity.managedQuery(Activity.ja
va:1799)
E/AndroidRuntime( 927): at com.w2e.activities.Image.onCreate(Image.java:
51)
E/AndroidRuntime( 927): at android.app.Activity.performCreate(Activity.j
ava:5241)
E/AndroidRuntime( 927): at android.app.Instrumentation.callActivityOnCre
ate(Instrumentation.java:1087)
E/AndroidRuntime( 927): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2159)
E/AndroidRuntime( 927): ... 9 more
W/ActivityManager(20562): Force finishing activity com.w2e.activities/.Image
W/ActivityManager(20562): Force finishing activity com.w2e.activities/.Ultimat
eRandomizer
W/ActivityManager(20562): Activity pause timeout for ActivityRecord{658110e0 u0
com.w2e.activities/.Image t97 f}
I/ActivityManager(22353): Timeline: Activity_idle id: [email protected]
8c960 time:33143091
I/ActivityManager(20562): Timeline: Activity_windows_visible id: ActivityRecord{
65f8c490 u0 com.anddoes.launcher/.Launcher t1} time:33143350
W/ActivityManager(20562): Activity destroy timeout for ActivityRecord{6616ea48 u
0 com.w2e.activities/.UltimateRandomizer t97 f}
W/ActivityManager(20562): Activity destroy timeout for ActivityRecord{658110e0 u
0 com.w2e.activities/.Image t97 f}
Click to expand...
Click to collapse
Hmm...
Code:
E/AndroidRuntime( 927): Caused by: java.lang.SecurityException: Permission Deni
al: reading com.android.providers.media.MediaProvider uri content://media/extern
al/images/media from pid=927, uid=10181 requires android.permission.READ_EXTERNA
L_STORAGE, or grantUriPermission()
Looks like android.permission.READ_EXTERNAL_STORAGE is missing from the Android Manifest file...
Hi, Guys thanks for the feedbacks. I have updated the app yesterday with Random Time / Position Feature. I also managed to pull out the Crashes for the random image part for most of the phones, but for now I'm having trouble with those few still having the error. You can try reinstalling the app, and if does not work, I truly apologize. I am still researching a way for that crash problems occuring in 4.4 versions with the random image. PS I already have the permission to read external storage. Thanks again guys!
It would be nice to have a human generation option. So basically, you would have a "scribble" area where I could run my finger around and generate some entropy to compute the random number/shape/letter/etc. Then it wouldn't necessarily have to rely on a computer algorithm for randomness.
I know TrueCrypt does this when you encrypt your hard drive. It has you run your mouse around for a few seconds to get entropy.
+1

Categories

Resources