Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

blocking audio recording doesn't work with the latest version with ASR #209

Closed
puchu opened this issue Jul 11, 2013 · 2 comments
Closed
Labels

Comments

@puchu
Copy link

puchu commented Jul 11, 2013

Hi,

i installed the latest version and it still can record audio with ASR allthough i removed all rights.

@puchu
Copy link
Author

puchu commented Jul 12, 2013

here as the logcat XPrivacy sems to crash

I/ActivityManager( 545): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.nll.asr/.MainActivity} from pid 830
D/dalvikvm( 545): GC_FOR_ALLOC freed 1181K, 32% free 9534K/13944K, paused 84ms, total 86ms
I/XPrivacy/XPackageManagerService( 545): get 10068/sdcard storage=false # 13 ms
I/XPrivacy/XPackageManagerService( 545): get 10068/media storage=false # 12 ms
I/XPrivacy/XPackageManagerService( 545): get 10068/inet internet=true # 13 ms
I/XPrivacy/XPackageManagerService( 545): gid=3003 restriction=internet action=inet uid=10068
I/XPrivacy/XPackageManagerService( 545): Deny inet/inet_raw uid=10068
I/XPrivacy/XPackageManagerService( 545): gid=1015 restriction=internet action=inet uid=10068
I/XPrivacy/XPackageManagerService( 545): gid=1028 restriction=internet action=inet uid=10068
I/ActivityManager( 545): Start proc com.nll.asr for activity com.nll.asr/.MainActivity: pid=5748 uid=10068 gids={50068, 1015, 1028}
E/Trace ( 5748): error opening trace file: No such file or directory (2)
I/XPrivacy( 5748): load package=com.nll.asr uid=10068
I/XPrivacy( 5748): Queue usage data=10068/identification/SERIAL size=1
I/XPrivacy( 5748): get 10068/SERIAL identification=true # 45 ms
I/XPrivacy/XEnvironment( 5748): Sending usage data=10068/identification/SERIAL size=0
I/XPrivacy( 4234): Update usage data 10068/identification/SERIAL
I/XPrivacy/XEnvironment( 5748): get 10068/getExternalStorageState storage=false 34 ms
D/ACRA ( 5748): ACRA is enabled for com.nll.asr, intializing...
D/ACRA ( 5748): Using default Mail Report Fields
D/ACRA ( 5748): Looking for error files in /data/data/com.nll.asr/files
D/ACRA ( 5748): Looking for error files in /data/data/com.nll.asr/files
W/ACRA ( 5748): com.nll.asr reports will be sent by email (if accepted by user).
D/checkProLicenceInstaled( 5748): NOT installed, return false
I/XPrivacy/XTelephonyManager( 5748): get 10068/listen phone=true 26 ms
I/XPrivacy/XTelephonyManager( 5748): Added count=1
D/dalvikvm( 5748): GC_FOR_ALLOC freed 1328K, 48% free 5253K/9944K, paused 30ms, total 31ms
I/dalvikvm-heap( 5748): Grow heap (frag case) to 10.390MB for 2700016-byte allocation
D/dalvikvm( 5748): GC_CONCURRENT freed 5K, 38% free 7884K/12584K, paused 8ms+1ms, total 53ms
I/initRecorderParameters( 5748): Indexing 44100Hz Sample Rate
D/AudioHardware7x30( 228): AudioHardware::openInputStream devices 400000 format 1 channels 16 samplerate 44100
I/initRecorderParameters( 5748): initRecorderParameters(sRates) has found recorder settings supported by the device:
I/initRecorderParameters( 5748): Source = MICROPHONE
I/initRecorderParameters( 5748): sRate = 44100Hz
I/initRecorderParameters( 5748): Channel = MONO
I/initRecorderParameters( 5748): Encoding = 16BIT
D/AudioHardware7x30( 228): AudioStreamInMSM72xx::standby()
D/AudioHardware7x30( 228): AudioStreamInMSM72xx::standby()
D/ASR ( 5748): External storage will be used for recordings
D/AudioHardware7x30( 228): AudioStreamInMSM72xx::standby()
D/QCUtilClass( 228): extended extractor not needed, return default
D/QCUtilClass( 228): extended extractor not needed, return default
W/Ads ( 5748): No Google Analytics: Library Incompatible.
W/GAV2 ( 5748): Thread[main,5,main]: Need to call initialize() and be in fallback mode to start dispatch.
D/ADMOB ( 5748): LOAD ADMOB
E/ActivityThread( 5748): Failed to find provider info for com.google.plus.platform
I/XPrivacy/XSettingsSecure( 5748): get 10068/getString identification=true 14 ms
I/XPrivacy( 5748): get setting ID=DEFACE # 10 ms
I/Ads ( 5748): To get test ads on this device, call adRequest.addTestDevice("86C4B70BA452AE7CA6D318C3E2322B2B");
I/XPrivacy( 5748): get setting Phone=DEFACE # 20 ms
I/XPrivacy/XRuntime( 5748): get 10068/loadLibrary shell=false 10 ms
I/XPrivacy/XApplicationPackageManager( 5748): get 10068/queryIntentActivities system=false 21 ms
D/dalvikvm( 5748): Trying to load lib /data/app-lib/com.nll.asr-1/libmp3lame.so 0x4111e3f8
I/XPrivacy/XApplicationPackageManager( 5748): get 10068/queryIntentActivities system=false *
D/dalvikvm( 5748): Added shared lib /data/app-lib/com.nll.asr-1/libmp3lame.so 0x4111e3f8
D/dalvikvm( 5748): No JNI_OnLoad found in /data/app-lib/com.nll.asr-1/libmp3lame.so 0x4111e3f8, skipping init
D/dalvikvm( 5748): DexOpt: --- BEGIN 'ads934152278.jar' (bootstrap=0) ---
D/libEGL ( 5748): loaded /system/lib/egl/libEGL_adreno200.so
D/dalvikvm( 5785): DexOpt: load 4ms, verify+opt 20ms, 144468 bytes
D/libEGL ( 5748): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
D/dalvikvm( 5748): DexOpt: --- END 'ads934152278.jar' (success) ---
D/dalvikvm( 5748): DEX prep '/data/data/com.nll.asr/cache/ads934152278.jar': unzip in 0ms, rewrite 104ms
D/libEGL ( 5748): loaded /system/lib/egl/libGLESv2_adreno200.so
I/Adreno200-EGL( 5748): <qeglDrvAPI_eglInitialize:294>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_JB.04.01.01.00.036_msm8960_JB_CL2644550_release_AU (CL2644550)
I/Adreno200-EGL( 5748): Build Date: 07/31/12 Tue
I/Adreno200-EGL( 5748): Local Branch:
I/Adreno200-EGL( 5748): Remote Branch: quic/master
I/Adreno200-EGL( 5748): Local Patches: NONE
I/Adreno200-EGL( 5748): Reconstruct Branch: AU_LINUX_ANDROID_JB.04.01.01.00.036 + NOTHING
I/XPrivacy/XSettingsSecure( 5748): get 10068/getString identification=true *
I/XPrivacy( 5748): get setting ID=DEFACE *
D/OpenGLRenderer( 5748): Enabling debug mode 0
I/XPrivacy/XTelephonyManager( 5748): get 10068/getNetworkOperator phone=true 19 ms
I/XPrivacy( 5748): get setting MCC=001 # 28 ms
I/XPrivacy( 5748): get setting MNC=01 # 19 ms
I/Ads ( 5748): adRequestUrlHtml: <script src="http://media.admob.com/sdk-core-v40.js"></script><script>AFMA_getSdkConstants();AFMA_buildAdURL({"preqs":0,"session_id":"642669989353344891","seq_num":"1","slotname":"cbc8cee7d98f486f","u_w":320,"msid":"com.nll.asr","cap":"a","js":"afma-sdk-a-v6.4.1","bas_off":0,"net":"null","app_name":"61.android.com.nll.asr","hl":"de","smart_w":"full","gnt":0,"carrier":"00101","u_audio":1,"u_sd":1.5,"ms":"vmzV5c8sivainENzu6LlD050CTjaVfHRJQbEKiCVMwPZWjla7EsXBA7jXjvYVfwFEuveLi8ntkUiYE0Fj0VvaVFvA49-xWmJVbEj8BSzy0ES-9LxonUtBRKSm9PJON5y-Dias-uZSOFc3lVG0_f_PN_HVHp_MwwDcIXQbfaUSTls9gjZqradriIjJZD6BPaR_i4h7vG1o4tY7jF4BSlVZOd-_Nch-ZluTAaY1GnIuHV0-03ej8EvgwpSRUKb91MFs0-LJbYS3EbL1mkdkhaU47wAeb3NiihWex2JUuGEg_sLg3Abuj2NlcaaJORipxBnkxaSApGv12AK_OC9KLOcAw","isu":"86C4B70BA452AE7CA6D318C3E2322B2B","format":"320x50_mb","oar":0,"smart_h":"auto","ad_pos":{"height":0,"visible":0,"y":0,"x":0,"width":0},"u_h":569,"pt":1,"bas_on":0,"ptime":0});</script>
D/dalvikvm( 4234): GC_CONCURRENT freed 447K, 73% free 2712K/9944K, paused 5ms+5ms, total 91ms
I/ActivityManager( 545): Displayed com.nll.asr/.MainActivity: +1s579ms
E/Ads ( 5748): JS: Uncaught ReferenceError: AFMA_getSdkConstants is not defined (http://media.admob.com/:1)
E/Web Console( 5748): Uncaught ReferenceError: AFMA_getSdkConstants is not defined at http://media.admob.com/:1
D/RECORD_ON_START( 5748): false
D/startRecording( 5748): RecordingStarted
I/BackgroundRecorderService( 5748): Received start id 1: Intent { cmp=com.nll.asr/.model.BackgroundRecorderService }
D/gain was set to( 5748): 0
D/AudioHardware7x30( 228): AudioHardware::openInputStream devices 400000 format 1 channels 16 samplerate 44100
D/AudioHardware7x30( 228): AudioStreamInMSM72xx::standby()
D/AudioHardware7x30( 228): AudioStreamInMSM72xx::standby()
D/dalvikvm( 5748): GC_FOR_ALLOC freed 2092K, 45% free 7027K/12584K, paused 28ms, total 32ms
D/dalvikvm( 5748): GC_FOR_ALLOC freed 7K, 38% free 7882K/12584K, paused 25ms, total 25ms
D/webviewglue( 5748): nativeDestroy view: 0x1ba15e0
D/updateUI( 5748): 2013-07-12-13_34_58.mp3
I/XPrivacy/XCamera( 5748): Queue usage data=10068/media/startRecording size=1
I/XPrivacy/XCamera( 5748): get 10068/startRecording media=true # 70 ms
E/XPrivacy( 5748): java.lang.NullPointerException
W/System.err( 5748): java.lang.NullPointerException
W/System.err( 5748): at biz.bokhorst.xprivacy.Util.getXResources(Util.java:206)
W/System.err( 5748): at biz.bokhorst.xprivacy.Util.getXString(Util.java:211)
W/System.err( 5748): at biz.bokhorst.xprivacy.XHook.notifyUser(XHook.java:69)
W/System.err( 5748): at biz.bokhorst.xprivacy.XHook.notifyUser(XHook.java:65)
W/System.err( 5748): at biz.bokhorst.xprivacy.XCamera.before(XCamera.java:26)
W/System.err( 5748): at biz.bokhorst.xprivacy.XPrivacy$1.beforeHookedMethod(XPrivacy.java:333)
W/System.err( 5748): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:432)
W/System.err( 5748): at android.media.AudioRecord.startRecording(Native Method)
W/System.err( 5748): at com.nll.asr.model.Mp3Recorder$2.run(Mp3Recorder.java:133)
I/Xposed ( 5748): java.lang.NullPointerException
I/Xposed ( 5748): at biz.bokhorst.xprivacy.Util.getXResources(Util.java:206)
I/Xposed ( 5748): at biz.bokhorst.xprivacy.Util.getXString(Util.java:211)
I/Xposed ( 5748): at biz.bokhorst.xprivacy.XHook.notifyUser(XHook.java:69)
I/Xposed ( 5748): at biz.bokhorst.xprivacy.XHook.notifyUser(XHook.java:65)
I/Xposed ( 5748): at biz.bokhorst.xprivacy.XCamera.before(XCamera.java:26)
I/Xposed ( 5748): at biz.bokhorst.xprivacy.XPrivacy$1.beforeHookedMethod(XPrivacy.java:333)
I/Xposed ( 5748): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:432)
I/Xposed ( 5748): at android.media.AudioRecord.startRecording(Native Method)
I/Xposed ( 5748): at com.nll.asr.model.Mp3Recorder$2.run(Mp3Recorder.java:133)
I/AudioHardware7x30( 228): do input routing device 400000
I/AudioHardware7x30( 228): Routing audio to Speakerphone
D/AudioHardware7x30( 228): new_rx = 17
D/AudioHardware7x30( 228): new_tx = 12
E/AudioHardware7x30( 228): updateDeviceInfo: E rx_device 2 and tx_device 3
D/AudioHardware7x30( 228): No active voicecall/playback, disabling cur_rx 4
D/AudioHardware7x30( 228): value of device and enable is 4 0 ALSA dev id:2
D/AudioHardware7x30( 228): No active voicecall/recording, disabling cur_tx 5
D/AudioHardware7x30( 228): value of device and enable is 5 0 ALSA dev id:4
E/AudioHardware7x30( 228): updateDeviceInfo: X cur_rx 2 cur_tx 3
D/AudioHardware7x30( 228): value of device and enable is 3 1 ALSA dev id:12
I/AudioHardware7x30( 228): do input routing device 400000
I/AudioHardware7x30( 228): Routing audio to Speakerphone
D/AudioHardware7x30( 228): new_rx = 17
D/AudioHardware7x30( 228): new_tx = 12
E/AudioHardware7x30( 228): updateDeviceInfo: E rx_device 2 and tx_device 3
D/AudioHardware7x30( 228): No active voicecall/playback, disabling cur_rx 2
D/AudioHardware7x30( 228): value of device and enable is 2 0 ALSA dev id:17
D/AudioHardware7x30( 228): case PCM_REC
E/AudioHardware7x30( 228): updateDeviceInfo: X cur_rx 2 cur_tx 3
D/dalvikvm( 680): GC_CONCURRENT freed 681K, 62% free 3817K/9948K, paused 3ms+13ms, total 133ms
D/handlerPOPULATE_RECORDINGS_CACHE( 5748): Recording list cache populated from another thread
W/GAV2 ( 5748): Thread[GAThread,5,main]: Service unavailable (code=1), will retry.
W/ActivityManager( 545): Unable to start service Intent { act=com.google.android.gms.analytics.service.START (has extras) } U=0: not found
I/GAV2 ( 5748): Thread[GAThread,5,main]: No campaign data found.
D/AudioHardware7x30( 228): AudioStreamInMSM72xx::standby()
D/AudioHardware7x30( 228): Deroute pcm in stream
E/AudioHardware7x30( 228): updateDeviceInfo: E rx_device 2 and tx_device 3
D/AudioHardware7x30( 228): No active voicecall/playback, disabling cur_rx 2
D/AudioHardware7x30( 228): value of device and enable is 2 0 ALSA dev id:17
D/AudioHardware7x30( 228): No active voicecall/recording, disabling cur_tx 3
D/AudioHardware7x30( 228): value of device and enable is 3 0 ALSA dev id:12
E/AudioHardware7x30( 228): updateDeviceInfo: X cur_rx 2 cur_tx 3
I/AudioHardware7x30( 228): do input routing device 400000
I/AudioHardware7x30( 228): Routing audio to Speakerphone
D/AudioHardware7x30( 228): new_rx = 17
D/AudioHardware7x30( 228): new_tx = 12
E/AudioHardware7x30( 228): updateDeviceInfo: E rx_device 2 and tx_device 3
D/AudioHardware7x30( 228): No active voicecall/playback, disabling cur_rx 2
D/AudioHardware7x30( 228): value of device and enable is 2 0 ALSA dev id:17
D/AudioHardware7x30( 228): No active voicecall/recording, disabling cur_tx 3
D/AudioHardware7x30( 228): value of device and enable is 3 0 ALSA dev id:12
E/AudioHardware7x30( 228): updateDeviceInfo: X cur_rx 2 cur_tx 3
D/AudioHardware7x30( 228): AudioStreamInMSM72xx::standby()
I/XPrivacy/XApplicationPackageManager( 5748): get 10068/queryIntentActivities system=false *
I/XPrivacy/XSettingsSecure( 5748): get 10068/getString identification=true *
I/XPrivacy( 5748): get setting ID=DEFACE *
I/com.dropbox.sync.android.CoreAccountManager( 5748): Prepared cache dir '/data/data/com.nll.asr/app_DropboxSyncCache/7ofbinh384akqhs'.
I/XPrivacy/XRuntime( 5748): get 10068/loadLibrary shell=false *
D/dalvikvm( 5748): Trying to load lib /data/app-lib/com.nll.asr-1/libDropboxSync.so 0x4111e3f8
D/dalvikvm( 5748): Added shared lib /data/app-lib/com.nll.asr-1/libDropboxSync.so 0x4111e3f8
I/XPrivacy/XRuntime( 5748): get 10068/loadLibrary shell=false *
D/dalvikvm( 5748): Trying to load lib /data/app-lib/com.nll.asr-1/libDropboxSync.so 0x4111e3f8
D/dalvikvm( 5748): Shared lib '/data/app-lib/com.nll.asr-1/libDropboxSync.so' already loaded in same CL 0x4111e3f8
I/XPrivacy/XRuntime( 5748): get 10068/loadLibrary shell=false *
D/dalvikvm( 5748): Trying to load lib /data/app-lib/com.nll.asr-1/libDropboxSync.so 0x4111e3f8
D/dalvikvm( 5748): Shared lib '/data/app-lib/com.nll.asr-1/libDropboxSync.so' already loaded in same CL 0x4111e3f8
I/XPrivacy/XRuntime( 5748): get 10068/loadLibrary shell=false *
D/dalvikvm( 5748): Trying to load lib /data/app-lib/com.nll.asr-1/libDropboxSync.so 0x4111e3f8
D/dalvikvm( 5748): Shared lib '/data/app-lib/com.nll.asr-1/libDropboxSync.so' already loaded in same CL 0x4111e3f8
V/com.dropbox.sync.android.NativeThreads( 5748): Native thread 0 is ready or done.
D/com.dropbox.sync.android.CoreLogger( 5748): Setting network status on global NativeApp: online
D/com.dropbox.sync.android.CoreLogger( 5748): Global logging initialized.
I/com.dropbox.sync.android.DbxAccountManager( 5748): Dropbox initialized for application: 7ofbinh384akqhs (com.nll.asr/61 DropboxSync/1.0.8 (Android; 4.2.2; SEMC Xperia Pro armeabi-v7a; de_AT))
D/Dropbox ( 5748): Not uploading, there is no linked account
D/dalvikvm( 5748): GC_CONCURRENT freed 2497K, 44% free 7149K/12584K, paused 3ms+3ms, total 54ms
W/ActivityManager( 545): Unable to start service Intent { act=com.google.android.gms.analytics.service.START (has extras) } U=0: not found
W/GAV2 ( 5748): Thread[Service Reconnect,5,main]: Service unavailable (code=1), using local store.

@M66B
Copy link
Owner

M66B commented Jul 12, 2013

This is helpful, thanks.
I will fix it in the next release.

@M66B M66B closed this as completed Jul 12, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants