Compile Android App from source - Online Courses, Schools, and Other External Resour

Hi,
I hope this is the right section for my question.
I'd like to compile an android app from source, but since I'm a complete noob in that regard, I need some help
The app in question is CoolReader - here is the source: http://sourceforge.net/projects/cre...r3/cr3-3.0.56/cr3_3.0.56.orig.tar.gz/download
I want to change a few lines and compile it, so the eink refresh options work on other devices too.
I already downloaded the Android SDK, set up Eclipse and imported the project. It even compiles, but running the app causes a force close on the device.
Can somebody with a little more experince help me figure out how to compile the provided source?
Thanks!

It seems that compiling is not the issue... You need to post the logcat with the error so we can help you...
Sent from my GT-S5830M using Tapatalk 2

dbarrera said:
It seems that compiling is not the issue... You need to post the logcat with the error so we can help you...
Sent from my GT-S5830M using Tapatalk 2
Click to expand...
Click to collapse
This is it:
Code:
07-07 13:48:11.670: I/cr3(13083): CoolReader.onCreate() entered
07-07 13:48:11.670: E/cr3(13083): Cannot find field densityDpi, using default value
07-07 13:48:11.690: I/cr3(13083): [email protected]18f5ea8
07-07 13:48:11.690: I/cr3(13083): Engine() : scheduling init task
07-07 13:48:11.690: I/cr3(13083): Adding task [email protected] to posted list since handler is not yet created
07-07 13:48:11.690: D/cr3(13083): Engine.setGUI: 1 posted tasks to copy
07-07 13:48:11.690: V/cr3(13083): showProgress(0, "Starting Cool Reader") is called : main
07-07 13:48:11.690: V/cr3(13083): showProgress() - in GUI thread
07-07 13:48:11.690: V/cr3(13083): showProgress() - in GUI thread : creating progress window
07-07 13:48:11.690: I/cr3(13083): Entering background thread
07-07 13:48:11.690: I/cr3(13083): Background thread handler is created
07-07 13:48:11.690: I/cr3(13083): Copying posted bg task to handler : [email protected]
07-07 13:48:11.690: I/cr3(13083): Engine() : running init() in engine thread
07-07 13:48:11.690: I/cr3(13083): trying to load library cr3engine w/o installation
07-07 13:48:11.690: W/dalvikvm(13083): threadid=11: thread exiting with uncaught exception (group=0x40c221f8)
07-07 13:48:11.700: E/AndroidRuntime(13083): FATAL EXCEPTION: BackgroundThread41900cc8
07-07 13:48:11.700: E/AndroidRuntime(13083): java.lang.UnsatisfiedLinkError: Couldn't load cr3engine: findLibrary returned null
07-07 13:48:11.700: E/AndroidRuntime(13083): at java.lang.Runtime.loadLibrary(Runtime.java:365)
07-07 13:48:11.700: E/AndroidRuntime(13083): at java.lang.System.loadLibrary(System.java:535)
07-07 13:48:11.700: E/AndroidRuntime(13083): at org.coolreader.crengine.Engine.installLibrary(Engine.java:704)
07-07 13:48:11.700: E/AndroidRuntime(13083): at org.coolreader.crengine.Engine.init(Engine.java:614)
07-07 13:48:11.700: E/AndroidRuntime(13083): at org.coolreader.crengine.Engine.access$10(Engine.java:610)
07-07 13:48:11.700: E/AndroidRuntime(13083): at org.coolreader.crengine.Engine$4.run(Engine.java:452)
07-07 13:48:11.700: E/AndroidRuntime(13083): at android.os.Handler.handleCallback(Handler.java:605)
07-07 13:48:11.700: E/AndroidRuntime(13083): at android.os.Handler.dispatchMessage(Handler.java:92)
07-07 13:48:11.700: E/AndroidRuntime(13083): at android.os.Looper.loop(Looper.java:137)
07-07 13:48:11.700: E/AndroidRuntime(13083): at org.coolreader.crengine.BackgroundThread.run(BackgroundThread.java:121)
07-07 13:48:11.790: I/cr3(13083): setHyphenationDictionary( RUSSIAN ) is called
07-07 13:48:11.830: I/cr3db(13083): DB: 0 authors, 0 series, 0 books, 0 bookmarks0 folders0 coverpages
07-07 13:48:11.830: V/cr3(13083): setAppSettings() {app.tapzone.action.tap.long.5=OPTIONS, app.tapzone.action.tap.long.6=PAGE_DOWN_10, app.tapzone.action.tap.long.3=PAGE_DOWN_10, app.key.action.press.long.27=NONE, crengine.page.margin.top=2, app.tapzone.action.tap.long.4=PAGE_UP_10, app.key.action.press.dbl.4=EXIT, app.tapzone.action.tap.long.7=PAGE_DOWN_10, crengine.cache.filesize.min=100000, crengine.font.size=20, app.tapzone.action.tap.long.8=PAGE_DOWN_10, app.key.action.press.4=FILE_BROWSER, crengine.page.header.font.size=16, app.browser.fileprops.scan.enabled=1, crengine.page.margin.left=2, crengine.page.header.font.color=#FF000000, app.tapzone.action.tap.long.1=PAGE_UP_10, app.tapzone.action.tap.long.2=PAGE_UP_10, crengine.page.margin.bottom=2, app.key.action.press.19=PAGE_UP, window.rotate.angle=0, app.key.action.press.84=SEARCH, app.key.action.press.long.22=REPEAT, crengine.page.margin.right=2, app.key.action.press.long.21=REPEAT, app.controls.volume.keys.enabled=1, app.key.action.press.82=READER_MENU, app.key.action.press.long.20=REPEAT, app.key.action.press.long.25=REPEAT, crengine.display.inverse=0, app.key.action.press.long.24=REPEAT, app.key.action.press.long.23=BOOKMARKS, app.screen.orientation=4, app.key.action.press.long.19=REPEAT, crengine.hyphenation.dictionary.code=RUSSIAN, crengine.page.header.font.color.day=#FF000000, crengine.cache.forced.filesize.min=32768, app.key.action.press.23=RECENT_BOOKS, app.key.action.press.24=PAGE_UP, app.key.action.press.25=PAGE_DOWN, app.key.action.press.27=NONE, app.browser.coverpages=1, app.key.action.press.20=PAGE_DOWN, app.key.action.press.21=PAGE_UP_10, app.key.action.press.22=PAGE_DOWN_10, app.screen.backlight=-1, app.tapzone.hilight=0, background.image.night=tx_metall_old_blue_dark, crengine.night.mode=0, app.key.action.press.long.4=EXIT, background.image.day=tx_fabric, crengine.page.header.font.color.night=#FF000000, app.tapzone.action.tap.4=PAGE_UP, app.tapzone.action.tap.3=PAGE_DOWN, app.tapzone.action.tap.6=PAGE_DOWN, app.tapzone.action.tap.5=READER_MENU, app.tapzone.action.tap.2=PAGE_UP, app.tapzone.action.tap.1=PAGE_UP, font.face.default=Droid Sans, window.status.clock=1, background.image=tx_fabric, window.status.battery=1, app.key.action.press.long.82=OPTIONS, app.key.action.press.long.84=SEARCH, font.antialiasing.mode=2, app.key.action.press.100=PAGE_DOWN, app.key.action.press.101=PAGE_UP, app.tapzone.action.tap.9=PAGE_DOWN, app.tapzone.action.tap.7=PAGE_DOWN, app.tapzone.action.tap.8=PAGE_DOWN, app.key.action.press.96=PAGE_UP, app.key.action.press.97=PAGE_DOWN, app.key.action.press.98=PAGE_UP, app.fullscreen=0, crengine.page.animation=1, crengine.page.header.font.face=Droid Sans, app.key.action.press.95=PAGE_DOWN, app.screen.backlight.lock.enabled=1}
07-07 13:48:11.830: I/cr3(13083): setHyphenationDictionary( RUSSIAN ) is called
07-07 13:48:11.830: I/cr3(13083): initializing scanner
07-07 13:48:11.880: I/cr3(13083): Showing directory [user=345440]@root[/user]
07-07 13:48:11.880: I/cr3(13083): initializing browser
07-07 13:48:11.880: E/cr3(13083): FileBrowser.init() called
07-07 13:48:11.880: V/cr3(13083): showView : showing view FileBrowser
07-07 13:48:11.880: I/cr3(13083): initializing reader
07-07 13:48:11.880: I/cr3(13083): Showing directory [user=345440]@root[/user]
07-07 13:48:11.890: I/cr3(13083): CoolReader.onCreate() exiting
07-07 13:48:11.890: I/cr3(13083): CoolReader.onStart() fileToLoadOnStart=null
07-07 13:48:11.890: V/cr3(13083): showProgress(500, "Starting Cool Reader") is called : main
07-07 13:48:11.890: V/cr3(13083): showProgress() - in GUI thread
07-07 13:48:11.890: I/cr3(13083): CoolReader.onStart() exiting
07-07 13:48:11.890: I/cr3(13083): CoolReader.onPostCreate()
07-07 13:48:11.890: I/cr3(13083): CoolReader.onResume()
07-07 13:48:11.890: I/cr3(13083): CoolReader.onPostResume()
07-07 13:48:11.890: I/cr3(13083): Battery state changed. Intent=Intent { act=android.intent.action.BATTERY_CHANGED flg=0x60000010 (has extras) }
07-07 13:48:11.890: I/cr3(13083): CoolReader.onPause() : saving reader state
07-07 13:48:12.000: I/cr3(13083): onSizeChanged(720, 1230)
07-07 13:48:12.000: I/cr3(13083): ignoring size change since activity is paused
07-07 13:48:12.040: D/cr3(13083): Window attribute changed: WM.LayoutParams{(0,0)(fillxfill) gr=#11 sim=#100 ty=1 fl=#8010100 pfl=0x8 wanim=0x1030001 bbrt=0.0}
07-07 13:48:12.040: D/cr3(13083): Window attribute changed: WM.LayoutParams{(0,0)(fillxfill) gr=#11 sim=#100 ty=1 fl=#8010100 pfl=0x8 wanim=0x1030001 bbrt=0.0}
07-07 13:48:12.040: I/cr3(13083): onStart, scheduled runnable: submitting task
07-07 13:48:12.140: I/cr3(13083): CoolReader.onStop() entering
07-07 13:48:12.140: I/cr3(13083): CoolReader.onStop() exiting
07-07 13:48:12.140: I/cr3(13083): CoolReader.onDestroy() entered
07-07 13:48:12.140: I/cr3(13083): ReaderView.close() is called
07-07 13:48:12.150: I/cr3(13083): ReaderView.destroy() is called
07-07 13:48:12.150: I/cr3(13083): Engine.uninit() is called
07-07 13:48:12.150: I/cr3(13083): CoolReader.onDestroy() exiting
07-07 13:48:12.150: D/cr3(13083): View.onDetachedFromWindow() is called
07-07 13:48:12.170: E/WindowManager(13083): Activity org.coolreader.CoolReader has leaked window [email protected] that was originally added here
07-07 13:48:12.170: E/WindowManager(13083): android.view.WindowLeaked: Activity org.coolreader.CoolReader has leaked window [email protected] that was originally added here
07-07 13:48:12.170: E/WindowManager(13083): at android.view.ViewRootImpl.<init>(ViewRootImpl.java:348)
07-07 13:48:12.170: E/WindowManager(13083): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:267)
07-07 13:48:12.170: E/WindowManager(13083): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:215)
07-07 13:48:12.170: E/WindowManager(13083): at android.view.WindowManagerImpl$CompatModeWrapper.addView(WindowManagerImpl.java:140)
07-07 13:48:12.170: E/WindowManager(13083): at android.view.Window$LocalWindowManager.addView(Window.java:539)
07-07 13:48:12.170: E/WindowManager(13083): at android.app.Dialog.show(Dialog.java:288)
07-07 13:48:12.170: E/WindowManager(13083): at org.coolreader.crengine.Engine$2.run(Engine.java:304)
07-07 13:48:12.170: E/WindowManager(13083): at org.coolreader.crengine.BackgroundThread.executeGUI(BackgroundThread.java:219)
07-07 13:48:12.170: E/WindowManager(13083): at org.coolreader.crengine.Engine.showProgress(Engine.java:282)
07-07 13:48:12.170: E/WindowManager(13083): at org.coolreader.crengine.Engine.showProgress(Engine.java:264)
07-07 13:48:12.170: E/WindowManager(13083): at org.coolreader.CoolReader.onCreate(CoolReader.java:316)
07-07 13:48:12.170: E/WindowManager(13083): at android.app.Activity.performCreate(Activity.java:4518)
07-07 13:48:12.170: E/WindowManager(13083): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
07-07 13:48:12.170: E/WindowManager(13083): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1924)
07-07 13:48:12.170: E/WindowManager(13083): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1985)
07-07 13:48:12.170: E/WindowManager(13083): at android.app.ActivityThread.access$600(ActivityThread.java:127)
07-07 13:48:12.170: E/WindowManager(13083): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1151)
07-07 13:48:12.170: E/WindowManager(13083): at android.os.Handler.dispatchMessage(Handler.java:99)
07-07 13:48:12.170: E/WindowManager(13083): at android.os.Looper.loop(Looper.java:137)
07-07 13:48:12.170: E/WindowManager(13083): at android.app.ActivityThread.main(ActivityThread.java:4493)
07-07 13:48:12.170: E/WindowManager(13083): at java.lang.reflect.Method.invokeNative(Native Method)
07-07 13:48:12.170: E/WindowManager(13083): at java.lang.reflect.Method.invoke(Method.java:511)
07-07 13:48:12.170: E/WindowManager(13083): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:788)
07-07 13:48:12.170: E/WindowManager(13083): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:555)
07-07 13:48:12.170: E/WindowManager(13083): at dalvik.system.NativeStart.main(Native Method)
07-07 13:48:15.150: I/Process(13083): Sending signal. PID: 13083 SIG: 9

Apparently the Engine file is the one with errors. Check line 304 and 704. Logcat mentions those are the lines causing the issues.
Sent from my GT-S5830M using Tapatalk 2

Related

[Q] TTS force close in Navigation

I am using sonofskywalker3 Rom 4.4 and ec10_voodoo kernel and kept having force close problem with TTS service (Process.android.tts) when trying to use Navigation. Does anyone have similar problems?
This is the dump from the logcat:
I/ActivityManager( 2681): Start proc android.tts for service android.tts/.TtsService: pid=18962 uid=10049 gids={3003, 1015}
V/TtsService(18962): TtsService.onCreate()
W/dalvikvm(18962): ERROR: Unable to find decl for native Landroid/tts/SynthProxy;.native_setConfig (ILjava/lang/StringI
W/dalvikvm(18962): ERROR: Unable to find decl for native Landroid/tts/SynthProxy;.native_setup (Ljava/lang/Object;Ljava/lang/Strin
g;Ljava/lang/StringI
W/dalvikvm(18962): ERROR: Unable to find decl for native Landroid/tts/SynthProxy;.native_setLowShelf (ZFFFF)I
E/JNIHelp (18962): RegisterNatives failed for 'android/tts/SynthProxy'
W/dalvikvm(18962): JNI_OnLoad returned bad version (-1) in /system/lib/libttssynthproxy.so 0x483c3420
W/dalvikvm(18962): Exception Ljava/lang/UnsatisfiedLinkError; thrown during Landroid/tts/SynthProxy;.<clinit>
D/AndroidRuntime(18962): Shutting down VM
W/dalvikvm(18962): threadid=1: thread exiting with uncaught exception (group=0x4001d7f0)
E/AndroidRuntime(18962): FATAL EXCEPTION: main
E/AndroidRuntime(18962): java.lang.ExceptionInInitializerError
E/AndroidRuntime(18962): at android.tts.TtsService.onCreate(TtsService.java:158)
E/AndroidRuntime(18962): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2959)
E/AndroidRuntime(18962): at android.app.ActivityThread.access$3300(ActivityThread.java:125)
E/AndroidRuntime(18962): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2087)
E/AndroidRuntime(18962): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(18962): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(18962): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime(18962): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(18962): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime(18962): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
E/AndroidRuntime(18962): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
E/AndroidRuntime(18962): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(18962): Caused by: java.lang.UnsatisfiedLinkError: Library ttssynthproxy not found
E/AndroidRuntime(18962): at java.lang.Runtime.loadLibrary(Runtime.java:461)
E/AndroidRuntime(18962): at java.lang.System.loadLibrary(System.java:557)
E/AndroidRuntime(18962): at android.tts.SynthProxy.<clinit>(SynthProxy.java:154)
E/AndroidRuntime(18962): ... 12 more
I/ ( 2681): dumpmesg > "/data/log/dumpstate_app_error.log"
I/dumpstate(18971): begin
Yes i got the same problem, cant get voice navigation, TTS force close.

[Q] Porting PAC rom - some problems

Hello everyone,
I have some problems with porting PAC to HTC Sensation:
1. getVolumeState(/mnt/usbdisk): Unknown volume - beacuse of that I have f/c on settings/storage and can't mount SD card. Workaround - pull and push sd card than can it read it. Here is full logcat:
Code:
W/MountService( 436): getVolumeState(/mnt/usbdisk): Unknown volume
D/AndroidRuntime(13478): Shutting down VM
W/dalvikvm(13478): threadid=1: thread exiting with uncaught exception (group=0x40af5930)
E/AndroidRuntime(13478): FATAL EXCEPTION: main
E/AndroidRuntime(13478): java.lang.IllegalArgumentException
E/AndroidRuntime(13478): at android.os.Parcel.readException(Parcel.java:1429)
E/AndroidRuntime(13478): at android.os.Parcel.readException(Parcel.java:1379)
E/AndroidRuntime(13478): at android.os.storage.IMountService$Stub$Proxy.getVolumeState(IMountService.java:241)
E/AndroidRuntime(13478): at android.os.storage.StorageManager.getVolumeState(StorageManager.java:555)
E/AndroidRuntime(13478): at com.android.settings.deviceinfo.StorageVolumePreferenceCategory.updatePreferencesFromState(StorageVolumePreferenceCategory.java:241)
E/AndroidRuntime(13478): at com.android.settings.deviceinfo.StorageVolumePreferenceCategory.updateApproximate(StorageVolumePreferenceCategory.java:335)
E/AndroidRuntime(13478): at com.android.settings.deviceinfo.StorageVolumePreferenceCategory$1.handleMessage(StorageVolumePreferenceCategory.java:91)
E/AndroidRuntime(13478): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(13478): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(13478): at android.app.ActivityThread.main(ActivityThread.java:5237)
E/AndroidRuntime(13478): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(13478): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(13478): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:799)
E/AndroidRuntime(13478): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
E/AndroidRuntime(13478): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 436): Force finishing activity com.android.settings/.Settings
W/ActivityManager( 436): Activity pause timeout for ActivityRecord{40f15f58 u0 com.android.settings/.Settings}
W/ThrottleService( 436): unable to find stats for iface rmnet0
2. Menu settings doesn't work. After touching softkey or the key on the screen it doesn't show program settings. I don't know how to fix it...
Thanks for any help!
You can PM or answer this thread.
Regards,
Hellmanor.
bump.
bump again.
More logcat:
Code:
I/DefContainer-JNI( 1584): error opening: /storage/sdcard0: Permission denied
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0) returned 0
W/StorageMeasurement( 1919): Problem in container service
W/StorageMeasurement( 1919): java.lang.IllegalStateException: libcore.io.ErrnoException: statfs failed: ENOENT (No such file or directory)
W/StorageMeasurement( 1919): at android.os.Parcel.readException(Parcel.java:1433)
W/StorageMeasurement( 1919): at android.os.Parcel.readException(Parcel.java:1379)
W/StorageMeasurement( 1919): at com.android.internal.app.IMediaContainerService$Stub$Proxy.getFileSystemStats(IMediaContainerService.java:464)
W/StorageMeasurement( 1919): at com.android.settings.deviceinfo.StorageMeasurement$MeasurementHandler.measureApproximateStorage(StorageMeasurement.java:384)
W/StorageMeasurement( 1919): at com.android.settings.deviceinfo.StorageMeasurement$MeasurementHandler.handleMessage(StorageMeasurement.java:350)
W/StorageMeasurement( 1919): at android.os.Handler.dispatchMessage(Handler.java:99)
W/StorageMeasurement( 1919): at android.os.Looper.loop(Looper.java:137)
W/StorageMeasurement( 1919): at android.os.HandlerThread.run(HandlerThread.java:60)
I/DefContainer-JNI( 1584): error opening: /storage/sdcard0: Permission denied
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Android) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Podcasts) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/DCIM) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Ringtones) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Movies) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Alarms) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Music) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Notifications) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Pictures) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Download) returned 0
I/DefContainer-JNI( 1584): error opening: /storage/sdcard0: Permission denied
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0) returned 0
D/AndroidRuntime( 1919): Shutting down VM
W/dalvikvm( 1919): threadid=1: thread exiting with uncaught exception (group=0x40b09930)
W/MountService( 434): getVolumeState(/mnt/usbdisk): Unknown volume
E/AndroidRuntime( 1919): FATAL EXCEPTION: main
E/AndroidRuntime( 1919): java.lang.IllegalArgumentException
E/AndroidRuntime( 1919): at android.os.Parcel.readException(Parcel.java:1429)
E/AndroidRuntime( 1919): at android.os.Parcel.readException(Parcel.java:1379)
E/AndroidRuntime( 1919): at android.os.storage.IMountService$Stub$Proxy.getVolumeState(IMountService.java:241)
E/AndroidRuntime( 1919): at android.os.storage.StorageManager.getVolumeState(StorageManager.java:555)
E/AndroidRuntime( 1919): at com.android.settings.deviceinfo.StorageVolumePreferenceCategory.updatePreferencesFromState(StorageVolumePreferenceCategory.java:241)
E/AndroidRuntime( 1919): at com.android.settings.deviceinfo.StorageVolumePreferenceCategory.updateApproximate(StorageVolumePreferenceCategory.java:335)
E/AndroidRuntime( 1919): at com.android.settings.deviceinfo.StorageVolumePreferenceCategory$1.handleMessage(StorageVolumePreferenceCategory.java:91)
E/AndroidRuntime( 1919): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1919): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 1919): at android.app.ActivityThread.main(ActivityThread.java:5237)
E/AndroidRuntime( 1919): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1919): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 1919): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:799)
E/AndroidRuntime( 1919): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
E/AndroidRuntime( 1919): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 434): Force finishing activity com.android.settings/.Settings

[Q] Viber background process keeps crashing

Viber itself seems to work fine, however there is a background process it tries to run which keeps crashing. Relevent log info:
Code:
I/ActivityManager( 449): Start proc com.viber.voip for service com.viber.voip/co
m.viber.service.VoipConnectorService: pid=9613 uid=10072 gids={50072, 3003, 1015,
3002, 3001, 1006, 1028}
D/dalvikvm( 813): GC_EXPLICIT freed <1K, 70% free 2318K/7588K, paused 3ms+2ms, t
otal 56ms
I/ViberApplication( 9613): ViberApplication, initialization STARTED
I/ViberApplication( 9613): ViberApplication initialization STOPPED
W/GAV2 ( 9613): Thread[ThreadManager::idleTasksHandler,5,main]: Connection to
service failed 1
W/ActivityManager( 449): Unable to start service Intent { act=com.google.android
.gms.analytics.service.START (has extras) } U=0: not found
D/dalvikvm( 9613): Trying to load lib /data/app-lib/com.viber.voip-1/libvassert.s
o 0x40f309e8
D/dalvikvm( 9613): Added shared lib /data/app-lib/com.viber.voip-1/libvassert.so
0x40f309e8
D/dalvikvm( 9613): No JNI_OnLoad found in /data/app-lib/com.viber.voip-1/libvasse
rt.so 0x40f309e8, skipping init
D/dalvikvm( 9613): Trying to load lib /data/app-lib/com.viber.voip-1/libVoipEngin
eNative.so 0x40f309e8
W/GAV2 ( 9613): Thread[ThreadManager::idleTasksHandler,5,main]: Need to call i
nitialize() and be in fallback mode to start dispatch.
W/libc ( 9613): WARNING: generic atexit() called from legacy shared library
D/Logger ( 9613): creating log dir /storage/sdcard0/viber/.logs/trace/
D/Logger ( 9613): oldFilesNames :[]
D/Logger ( 9613): Console_4.clg deleted=false
D/Logger ( 9613): Console_3.clg renamedTo=false Console_4.clg
D/Logger ( 9613): Console_2.clg renamedTo=false Console_3.clg
D/Logger ( 9613): Console_1.clg renamedTo=false Console_2.clg
D/Logger ( 9613): Console.clg renamedTo=false Console_1.clg
W/libc ( 9613): WARNING: generic atexit() called from legacy shared library
W/libc ( 9613): WARNING: generic atexit() called from legacy shared library
W/libc ( 9613): WARNING: generic atexit() called from legacy shared library
D/dalvikvm( 9613): Added shared lib /data/app-lib/com.viber.voip-1/libVoipEngineN
ative.so 0x40f309e8
E/dalvikvm( 9613): ERROR: couldn't find native method
E/dalvikvm( 9613): Requested: Lcom/viber/voip/sound/AbstractSoundService;.peerCap
abilities:(J)I
W/System.err( 9613): javax.crypto.BadPaddingException: pad block corrupted
W/System.err( 9613): at com.android.org.bouncycastle.jcajce.provider.symmetric
.util.BaseBlockCipher.engineDoFinal(BaseBlockCipher.java:709)
W/System.err( 9613): at javax.crypto.Cipher.doFinal(Cipher.java:1111)
W/System.err( 9613): at com.viber.voip.util.Convert.decrypt(Convert.java:135)
W/System.err( 9613): at com.viber.voip.util.Convert.decrypt(Convert.java:99)
W/System.err( 9613): at com.viber.voip.registration.UserInfo.getKeyChain(UserI
nfo.java:244)
W/System.err( 9613): at com.viber.voip.registration.ActivationController.getKe
yChainDeviceKey(ActivationController.java:391)
W/System.err( 9613): at com.viber.voip.ViberApplication.checkKeyChainWasSaved(
ViberApplication.java:1477)
W/System.err( 9613): at com.viber.voip.ViberApplication.initApplication(ViberA
pplication.java:390)
W/System.err( 9613): at com.viber.voip.ViberApplication.access$2(ViberApplicat
ion.java:278)
W/System.err( 9613): at com.viber.voip.ViberApplication$2.run(ViberApplication
.java:271)
W/System.err( 9613): at android.os.Handler.handleCallback(Handler.java:725)
W/System.err( 9613): at android.os.Handler.dispatchMessage(Handler.java:92)
W/System.err( 9613): at android.os.Looper.loop(Looper.java:137)
W/System.err( 9613): at android.os.HandlerThread.run(HandlerThread.java:60)
W/System.err( 9613): at com.viber.voip.ThreadManager$HandlerThreadEx.run(Threa
dManager.java:78)
W/System.err( 9613): javax.crypto.BadPaddingException: pad block corrupted
W/System.err( 9613): at com.android.org.bouncycastle.jcajce.provider.symmetric
.util.BaseBlockCipher.engineDoFinal(BaseBlockCipher.java:709)
W/System.err( 9613): at javax.crypto.Cipher.doFinal(Cipher.java:1111)
W/System.err( 9613): at com.viber.voip.util.Convert.decrypt(Convert.java:135)
W/System.err( 9613): at com.viber.voip.util.Convert.decrypt(Convert.java:99)
W/System.err( 9613): at com.viber.voip.registration.UserInfo.getKeyChain(UserI
nfo.java:244)
W/System.err( 9613): at com.viber.voip.registration.ActivationController.getKe
yChainUDID(ActivationController.java:395)
W/System.err( 9613): at com.viber.voip.ViberApplication.checkKeyChainWasSaved(
ViberApplication.java:1487)
W/System.err( 9613): at com.viber.voip.ViberApplication.initApplication(ViberA
pplication.java:390)
W/System.err( 9613): at com.viber.voip.ViberApplication.access$2(ViberApplicat
ion.java:278)
W/System.err( 9613): at com.viber.voip.ViberApplication$2.run(ViberApplication
.java:271)
W/System.err( 9613): at android.os.Handler.handleCallback(Handler.java:725)
W/System.err( 9613): at android.os.Handler.dispatchMessage(Handler.java:92)
W/System.err( 9613): at android.os.Looper.loop(Looper.java:137)
W/System.err( 9613): at android.os.HandlerThread.run(HandlerThread.java:60)
W/System.err( 9613): at com.viber.voip.ThreadManager$HandlerThreadEx.run(Threa
dManager.java:78)
W/System.err( 9613): javax.crypto.BadPaddingException: pad block corrupted
W/System.err( 9613): at com.android.org.bouncycastle.jcajce.provider.symmetric
.util.BaseBlockCipher.engineDoFinal(BaseBlockCipher.java:709)
W/System.err( 9613): at javax.crypto.Cipher.doFinal(Cipher.java:1111)
W/System.err( 9613): at com.viber.voip.util.Convert.decrypt(Convert.java:135)
W/System.err( 9613): at com.viber.voip.util.Convert.decrypt(Convert.java:99)
W/System.err( 9613): at com.viber.voip.registration.UserInfo.getKeyChain(UserI
nfo.java:244)
W/System.err( 9613): at com.viber.voip.registration.ActivationController.getKe
yChainHardwareKey(ActivationController.java:403)
W/System.err( 9613): at com.viber.voip.ViberApplication.checkKeyChainWasSaved(
ViberApplication.java:1497)
W/System.err( 9613): at com.viber.voip.ViberApplication.initApplication(ViberA
pplication.java:390)
W/System.err( 9613): at com.viber.voip.ViberApplication.access$2(ViberApplicat
ion.java:278)
W/System.err( 9613): at com.viber.voip.ViberApplication$2.run(ViberApplication
.java:271)
W/System.err( 9613): at android.os.Handler.handleCallback(Handler.java:725)
W/System.err( 9613): at android.os.Handler.dispatchMessage(Handler.java:92)
W/System.err( 9613): at android.os.Looper.loop(Looper.java:137)
W/System.err( 9613): at android.os.HandlerThread.run(HandlerThread.java:60)
W/System.err( 9613): at com.viber.voip.ThreadManager$HandlerThreadEx.run(Threa
dManager.java:78)
D/BluetoothManagerService( 449): Message: 20
D/BluetoothManagerService( 449): Added callback: android.bluetooth.IBluetoothMan
[email protected]:true
D/BluetoothManagerService( 449): Message: 30
I/ActivityManager( 449): Start proc android.process.acore for content provider c
om.android.providers.contacts/.ContactsProvider2: pid=9647 uid=10001 gids={50001,
3003, 1015, 1028}
V/AudioHardware(24088): AudioStreamInALSA::set(1, 16, 44100)
V/AudioHardware(24088): AudioHardware::openInputStream()0x4145e330
D/AudioHardware(24088): AudioStreamInALSA::setParameters() input_source=1;routing
=262144
V/AudioHardware(24088): openMixer_l() mMixerOpenCnt: 0
V/AudioHardware(24088): setInputSource_l(1)
V/AudioHardware(24088): closeMixer_l() mMixerOpenCnt: 1
D/AudioHardware(24088): AudioHardware pcm capture is exiting standby.
V/AudioHardware(24088): AudioStreamInALSA exit standby mNeedEchoReference 0 mEcho
Reference 0x0
V/AudioHardware(24088): open pcm_in driver
V/AudioHardware(24088): openMixer_l() mMixerOpenCnt: 0
V/AudioHardware(24088): read() wakeup setting route Main Mic
D/AudioHardware(24088): AudioHardware pcm capture is going to standby.
V/AudioHardware(24088): closeMixer_l() mMixerOpenCnt: 1
V/AudioHardware(24088): AudioHardware::closeInputStream()0x4145e330
W/AudioFlinger(24088): createEffect_l() effect Automatic Gain Control (flags 0000
0203) created on wrong thread type 0
E/AudioEffect( 9613): set(): AudioFlinger could not create effect, status: -22
W/AudioFlinger(24088): createEffect_l() effect Acoustic Echo Canceler (flags 0000
0203) created on wrong thread type 0
E/AudioEffect( 9613): set(): AudioFlinger could not create effect, status: -22
W/AudioFlinger(24088): createEffect_l() effect Noise Suppression (flags 00000203)
created on wrong thread type 0
E/AudioEffect( 9613): set(): AudioFlinger could not create effect, status: -22
W/libc ( 9613): WARNING: generic atexit() called from legacy shared library
W/libc ( 9613): WARNING: generic atexit() called from legacy shared library
W/libc ( 9613): WARNING: generic atexit() called from legacy shared library
E/ServiceLocator( 9613): ServiceLocator$VoipServiceConnection.onServiceConnected
loc:[email protected]
I/ ( 9613): STATEINFO ; (20:41:30:735 | 0) UTILITY: -1;
9737; Thread with name:Trace started
I/GAV2 ( 9613): Thread[GAThread,5,main]: No campaign data found.
W/GAV2 ( 9613): Thread[Service Reconnect,5,main]: Connection to service failed
1
Everytime it crashes it causes lots of lags and also audio pops. I'm using Cyanogenmod 10.1RC2 with the Galaxy S I9000. Does anyone else have the same issue?
Hi there,
This is Viber's rep.
Unfortunately Viber only partially supports custom Roms.. :/
Which Viber version do you have? Did you try to uninstall>reinstall?
Viber Team said:
Hi there,
This is Viber's rep.
Unfortunately Viber only partially supports custom Roms.. :/
Which Viber version do you have? Did you try to uninstall>reinstall?
Click to expand...
Click to collapse
Hey there, I'm experiencing the same issue, I'll paste the logcat info below. I'm running the Viber 3.0.1, will try to reinstall completely and report. I'm running IceColdJelly (AOKP based rom, android version: 4.2.2).
Code:
I/ActivityManager( 583): Start proc com.viber.voip for activity com.viber.voip/.WelcomeActivity: pid=10642 uid=10084 gids={50084, 3003, 1015, 3002, 3001, 1006, 1028}
I/ActivityManager( 583): No longer want com.texty.sms (pid 10379): empty #11
I/ActivityManager( 583): No longer want com.oasisfeng.greenify:service (pid 10396): empty #12
I/ActivityManager( 583): No longer want com.dropbox.android (pid 10334): empty #13
I/ActivityManager( 583): No longer want com.bel.android.dspmanager (pid 10359): empty #14
W/ActivityManager( 583): Scheduling restart of crashed service com.bel.android.dspmanager/.service.HeadsetService in 5000ms
W/ActivityManager( 583): Scheduling restart of crashed service com.oasisfeng.greenify/.CleanerService in 14991ms
W/ActivityManager( 583): Scheduling restart of crashed service com.texty.sms/.SyncService in 24987ms
I/ViberApplication(10642): ViberApplication, initialization STARTED
I/ViberApplication(10642): ViberApplication initialization STOPPED
W/ActivityManager( 583): Unable to start service Intent { act=com.google.android.gms.analytics.service.START (has extras) } U=0: not found
W/GAV2 (10642): Thread[ThreadManager::idleTasksHandler,5,main]: Connection to service failed 1
W/GAV2 (10642): Thread[ThreadManager::idleTasksHandler,5,main]: Need to call initialize() and be in fallback mode to start dispatch.
D/Logger (10642): creating log dir /storage/sdcard0/viber/.logs/trace/
D/Logger (10642): oldFilesNames :[]
D/Logger (10642): Console_4.clg deleted=false
D/Logger (10642): Console_3.clg renamedTo=false Console_4.clg
D/Logger (10642): Console_2.clg renamedTo=false Console_3.clg
D/Logger (10642): Console_1.clg renamedTo=false Console_2.clg
D/Logger (10642): Console.clg renamedTo=false Console_1.clg
W/System.err(10642): javax.crypto.BadPaddingException: pad block corrupted
W/System.err(10642): at com.android.org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher.engineDoFinal(BaseBlockCipher.java:709)
W/System.err(10642): at javax.crypto.Cipher.doFinal(Cipher.java:1111)
W/System.err(10642): at com.viber.voip.util.Convert.decrypt(Convert.java:135)
W/System.err(10642): at com.viber.voip.util.Convert.decrypt(Convert.java:99)
W/System.err(10642): at com.viber.voip.registration.UserInfo.getKeyChain(UserInfo.java:244)
W/System.err(10642): at com.viber.voip.registration.ActivationController.getKeyChainDeviceKey(ActivationController.java:391)
W/System.err(10642): at com.viber.voip.ViberApplication.checkKeyChainWasSaved(ViberApplication.java:1477)
W/System.err(10642): at com.viber.voip.ViberApplication.initApplication(ViberApplication.java:390)
W/System.err(10642): at com.viber.voip.ViberApplication.access$2(ViberApplication.java:278)
W/System.err(10642): at com.viber.voip.ViberApplication$2.run(ViberApplication.java:271)
W/System.err(10642): at android.os.Handler.handleCallback(Handler.java:725)
W/System.err(10642): at android.os.Handler.dispatchMessage(Handler.java:92)
W/System.err(10642): at android.os.Looper.loop(Looper.java:137)
W/System.err(10642): at android.os.HandlerThread.run(HandlerThread.java:60)
W/System.err(10642): at com.viber.voip.ThreadManager$HandlerThreadEx.run(ThreadManager.java:78)
W/System.err(10642): javax.crypto.BadPaddingException: pad block corrupted
W/System.err(10642): at com.android.org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher.engineDoFinal(BaseBlockCipher.java:709)
W/System.err(10642): at javax.crypto.Cipher.doFinal(Cipher.java:1111)
W/System.err(10642): at com.viber.voip.util.Convert.decrypt(Convert.java:135)
W/System.err(10642): at com.viber.voip.util.Convert.decrypt(Convert.java:99)
W/System.err(10642): at com.viber.voip.registration.UserInfo.getKeyChain(UserInfo.java:244)
W/System.err(10642): at com.viber.voip.registration.ActivationController.getKeyChainUDID(ActivationController.java:395)
W/System.err(10642): at com.viber.voip.ViberApplication.checkKeyChainWasSaved(ViberApplication.java:1487)
W/System.err(10642): at com.viber.voip.ViberApplication.initApplication(ViberApplication.java:390)
W/System.err(10642): at com.viber.voip.ViberApplication.access$2(ViberApplication.java:278)
W/System.err(10642): at com.viber.voip.ViberApplication$2.run(ViberApplication.java:271)
W/System.err(10642): at android.os.Handler.handleCallback(Handler.java:725)
W/System.err(10642): at android.os.Handler.dispatchMessage(Handler.java:92)
W/System.err(10642): at android.os.Looper.loop(Looper.java:137)
W/System.err(10642): at android.os.HandlerThread.run(HandlerThread.java:60)
W/System.err(10642): at com.viber.voip.ThreadManager$HandlerThreadEx.run(ThreadManager.java:78)
W/System.err(10642): javax.crypto.BadPaddingException: pad block corrupted
W/System.err(10642): at com.android.org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher.engineDoFinal(BaseBlockCipher.java:709)
W/System.err(10642): at javax.crypto.Cipher.doFinal(Cipher.java:1111)
W/System.err(10642): at com.viber.voip.util.Convert.decrypt(Convert.java:135)
W/System.err(10642): at com.viber.voip.util.Convert.decrypt(Convert.java:99)
W/System.err(10642): at com.viber.voip.registration.UserInfo.getKeyChain(UserInfo.java:244)
W/System.err(10642): at com.viber.voip.registration.ActivationController.getKeyChainHardwareKey(ActivationController.java:403)
W/System.err(10642): at com.viber.voip.ViberApplication.checkKeyChainWasSaved(ViberApplication.java:1497)
W/System.err(10642): at com.viber.voip.ViberApplication.initApplication(ViberApplication.java:390)
W/System.err(10642): at com.viber.voip.ViberApplication.access$2(ViberApplication.java:278)
W/System.err(10642): at com.viber.voip.ViberApplication$2.run(ViberApplication.java:271)
W/System.err(10642): at android.os.Handler.handleCallback(Handler.java:725)
W/System.err(10642): at android.os.Handler.dispatchMessage(Handler.java:92)
W/System.err(10642): at android.os.Looper.loop(Looper.java:137)
W/System.err(10642): at android.os.HandlerThread.run(HandlerThread.java:60)
W/System.err(10642): at com.viber.voip.ThreadManager$HandlerThreadEx.run(ThreadManager.java:78)
D/dalvikvm(10642): Trying to load lib /data/app-lib/com.viber.voip-1/libvassert.so 0x4120a8b8
D/dalvikvm(10642): Added shared lib /data/app-lib/com.viber.voip-1/libvassert.so 0x4120a8b8
D/dalvikvm(10642): No JNI_OnLoad found in /data/app-lib/com.viber.voip-1/libvassert.so 0x4120a8b8, skipping init
D/dalvikvm(10642): Trying to load lib /data/app-lib/com.viber.voip-1/libVoipEngineNative.so 0x4120a8b8
W/libc (10642): WARNING: generic atexit() called from legacy shared library
W/libc (10642): WARNING: generic atexit() called from legacy shared library
W/libc (10642): WARNING: generic atexit() called from legacy shared library
W/libc (10642): WARNING: generic atexit() called from legacy shared library
D/dalvikvm(10642): Added shared lib /data/app-lib/com.viber.voip-1/libVoipEngineNative.so 0x4120a8b8
E/dalvikvm(10642): ERROR: couldn't find native method
E/dalvikvm(10642): Requested: Lcom/viber/voip/sound/AbstractSoundService;.peerCapabilities:(J)I
D/BluetoothManagerService( 583): Message: 20
D/BluetoothManagerService( 583): Added callback: [email protected]:true
D/BluetoothManagerService( 583): Message: 30
W/AudioFlinger( 163): findSuitableHwDev_l() loading well know audio hw modules
W/AudioFlinger( 163): loadHwModule() module primary already loaded
W/AudioFlinger( 163): loadHwModule() module a2dp already loaded
E/AudioFlinger( 163): int android::load_audio_interface(char const*, audio_hw_device_t**) couldn't load audio hw module audio.usb (No such file or directory)
I/AudioFlinger( 163): loadHwModule() error -2 loading module usb
I/NvAudioALSA( 163): NvAudioALSADevOpen: CAPTURE hDev = 0x400ee678 : devices 0x4000000 in mode 0, streamtype 1, isVoiceCallDevice=F
I/NvAudioALSA( 163): Initialized ALSA CAPTURE alsaDevName= music , hDev->alsaDevName= music
I/NvAudioALSA( 163): NvAudioALSADevClose: CAPTURE hDev = 0x400ee678 : curDev 0x0, curMode 0, streamtype 1, isVoiceCallDevice=F hDev->alsaDevName=music, Ori_up=-1, Ori_down=9
I/NvAudioALSA( 163): Here is still playing, don't path off any thing!
W/ActivityManager( 583): Scheduling restart of crashed service com.dropbox.android/.service.CameraUploadService in 34350ms
I/NvAudioALSA( 163): NvAudioALSADevRoute : hDev=0x400ee678 curDev=0x0, devices=0x4000000, curMode=0, mode=0, curDsp=22, Ori_up=-1, Ori_down=9
D/HTC_Acoustic( 163): get_dsp_image_index : HTC_CODEC_DSP_ENDPOINT[22].index = 12
D/HTC_Acoustic( 163): get_dsp_image_name : HTC_CODEC_DSP_ENDPOINT[22].name = Record_Default
I/NvAudioALSA( 163): Config AIC3008 DSP : 12 (Record_Default)
I/NvAudioALSA( 163): Pcm Playback Route : 44
I/NvAudioALSA( 163): Pcm Capture Route : 13
I/NvAudioALSA( 163): NvAudioALSADevOpen: CAPTURE hDev = 0x400ee678 : devices 0x4000000 in mode 0, streamtype 1, isVoiceCallDevice=F
I/NvAudioALSA( 163): Initialized ALSA CAPTURE alsaDevName= music , hDev->alsaDevName= music
W/System.err(10642): com.viber.service.ServiceNotBindedException
W/System.err(10642): at com.viber.service.ServiceProxy.getVoipService(ServiceProxy.java:737)
W/System.err(10642): at com.viber.service.ServiceProxy.getServiceState(ServiceProxy.java:852)
W/System.err(10642): at com.viber.voip.messages.controller.manager.impl.MessageControllerManagerImpl.isServiceConnected(MessageControllerManagerImpl.java:932)
W/System.err(10642): at com.viber.voip.messages.controller.manager.impl.MessageControllerManagerImpl.isNetworkConnectionOk(MessageControllerManagerImpl.java:762)
W/System.err(10642): at com.viber.voip.messages.controller.manager.impl.MessageControllerManagerImpl.access$15(MessageControllerManagerImpl.java:757)
W/System.err(10642): at com.viber.voip.messages.controller.manager.impl.MessageControllerManagerImpl$12.onQuery(MessageControllerManagerImpl.java:729)
W/System.err(10642): at com.viber.voip.messages.controller.manager.impl.MessageControllerManagerImpl$12.onQuery(MessageControllerManagerImpl.java:1)
W/System.err(10642): at com.viber.voip.messages.controller.manager.impl.MessageControllerHelper$24.onDataReady(MessageControllerHelper.java:1195)
W/System.err(10642): at com.viber.voip.messages.orm.manager.AsyncEntityManager.broadcastDataChanged(AsyncEntityManager.java:245)
W/System.err(10642): at com.viber.voip.messages.orm.manager.AsyncEntityManager.onQueryComplete(AsyncEntityManager.java:226)
W/System.err(10642): at com.viber.voip.util.ManagedQueryHandler.processMessage(ManagedQueryHandler.java:810)
W/System.err(10642): at com.viber.voip.util.ManagedQueryHandler.handleMessage(ManagedQueryHandler.java:881)
W/System.err(10642): at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err(10642): at android.os.Looper.loop(Looper.java:137)
W/System.err(10642): at android.os.HandlerThread.run(HandlerThread.java:60)
W/System.err(10642): at com.viber.voip.ThreadManager$HandlerThreadEx.run(ThreadManager.java:78)
I/NvAudioALSA( 163): NvAudioALSADevClose: CAPTURE hDev = 0x400ee678 : curDev 0x4000000, curMode 0, streamtype 1, isVoiceCallDevice=F hDev->alsaDevName=music, Ori_up=13, Ori_down=9
I/NvAudioALSA( 163): Here is still playing, don't path off any thing!
W/AudioFlinger( 163): createEffect_l() effect Automatic Gain Control (flags 00000203) created on wrong thread type 0
E/AudioEffect(10642): set(): AudioFlinger could not create effect, status: -22
W/AudioFlinger( 163): createEffect_l() effect Acoustic Echo Canceler (flags 00000203) created on wrong thread type 0
E/AudioEffect(10642): set(): AudioFlinger could not create effect, status: -22
W/AudioFlinger( 163): createEffect_l() effect Noise Suppression (flags 00000203) created on wrong thread type 0
E/AudioEffect(10642): set(): AudioFlinger could not create effect, status: -22
W/libc (10642): WARNING: generic atexit() called from legacy shared library
W/libc (10642): WARNING: generic atexit() called from legacy shared library
W/libc (10642): WARNING: generic atexit() called from legacy shared library
I/Choreographer(10642): Skipped 38 frames! The application may be doing too much work on its main thread.
D/libEGL (10642): loaded /system/lib/egl/libEGL_tegra.so
E/ (10642): file /data/data/com.nvidia.NvCPLSvc/files/driverlist.txt: not found!
I/ (10642): Attempting to load EGL implementation /system/lib//egl/libEGL_tegra_impl
I/ (10642): Loaded EGL implementation /system/lib//egl/libEGL_tegra_impl
D/libEGL (10642): loaded /system/lib/egl/libGLESv1_CM_tegra.so
D/libEGL (10642): loaded /system/lib/egl/libGLESv2_tegra.so
I/ (10642): Loading GLESv2 implementation /system/lib//egl/libGLESv2_tegra_impl
D/OpenGLRenderer(10642): Enabling debug mode 0
I/NvAudioALSAPolicyManager( 163): setForceUse() usage 0, config 0, mPhoneState 0
I/NvAudioALSAPolicyManager( 163): setForceUse() usage 2, config 0, mPhoneState 0
I/ (10642): STATEINFO ; (17: 9:48:308 | 0) UTILITY: -1; 10759; Thread with name:Trace started
I/ActivityManager( 583): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.viber.voip/.HomeActivity bnds=[360,615][360,615]} from pid 10642
W/GAV2 (10533): Thread[Service Reconnect,5,main]: Service unavailable (code=1), using local store.
W/ActivityManager( 583): Unable to start service Intent { act=com.google.android.gms.analytics.service.START (has extras) } U=0: not found
E/ServiceLocator(10642): ServiceLocator$VoipServiceConnection.onServiceConnected loc:[email protected]
I/ActivityManager( 583): Displayed com.viber.voip/.WelcomeActivity: +1s268ms
W/GAV2 (10533): Thread[GAThread,5,main]: Exception sending hit: SSLPeerUnverifiedException
W/GAV2 (10533): Thread[GAThread,5,main]: No peer certificate
D/UserData(10642): isNavigateUserData retValue = false
rendering orsasha
ok, so even after reinstalling viber I keep getting the same issue.. :/
Hi guys,
Thanks for the info and the logs.
As we said, this could well be a result of the Custom ROM that's running on your devices. Have you tested and checked if this issue persists on Stock ROM?

[Q] Anyone please interpret these logcat errors ??

HI devs and friends,
I tried porting a rom and ended with these logcats
Can anyone interpret these logcat and tell me what is the solution?
HTML:
07-07 12:51:48.794: E/dalvikvm(5528): ERROR: couldn't find native method
07-07 12:51:48.794: E/dalvikvm(5528): Requested: Landroid/graphics/Paint;.getStringFontMetrics:(Landroid/graphics/Paint$FontMetrics;Ljava/lang/String;)F
07-07 12:51:48.795: E/JNIHelp(5528): RegisterNatives failed for 'android/graphics/Paint', aborting
07-07 12:51:48.795: A/libc(5528): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 5528 (zygote)
07-07 12:51:49.734: A/libc(5533): Fatal signal 11 (SIGSEGV) at 0x00000024 (code=1), thread 5533 (mediaserver)
07-07 12:51:54.177: E/dalvikvm(5746): ERROR: couldn't find native method
07-07 12:51:54.177: E/dalvikvm(5746): Requested: Landroid/graphics/Paint;.getStringFontMetrics:(Landroid/graphics/Paint$FontMetrics;Ljava/lang/String;)F
07-07 12:51:54.177: E/JNIHelp(5746): RegisterNatives failed for 'android/graphics/Paint', aborting
07-07 12:51:54.177: A/libc(5746): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 5746 (zygote)
07-07 12:51:54.758: E/ServiceManager(119): add_service('media.audio_flinger',0xa) uid=0 - ALREADY REGISTERED, OVERRIDE
07-07 12:51:54.759: E/ServiceManager(119): add_service('media.player',0x4) uid=0 - ALREADY REGISTERED, OVERRIDE
07-07 12:51:54.760: E/ServiceManager(119): add_service('memory.dumper',0x5) uid=0 - ALREADY REGISTERED, OVERRIDE
07-07 12:51:55.522: A/libc(5752): Fatal signal 11 (SIGSEGV) at 0x00000024 (code=1), thread 5752 (mediaserver)
07-07 12:51:59.026: E/dalvikvm(5975): ERROR: couldn't find native method
HTML:
07-07 12:53:34.393: E/dalvikvm(10266): ERROR: couldn't find native method
07-07 12:53:34.393: E/dalvikvm(10266): Requested: Landroid/graphics/Paint;.getStringFontMetrics:(Landroid/graphics/Paint$FontMetrics;Ljava/lang/String;)F
07-07 12:53:34.393: E/JNIHelp(10266): RegisterNatives failed for 'android/graphics/Paint', aborting
07-07 12:53:34.393: A/libc(10266): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 10266 (zygote)
07-07 12:53:34.564: W/InterfaceController(10279): Warning (Cannot load library: load_library(linker.cpp:745): library "/system/lib/libnetcmdiface.so" not found) while opening the net interface command library
07-07 12:53:34.791: E/ServiceManager(119): add_service('media.audio_flinger',0xa) uid=0 - ALREADY REGISTERED, OVERRIDE
07-07 12:53:34.791: E/ServiceManager(119): add_service('media.player',0x4) uid=0 - ALREADY REGISTERED, OVERRIDE
07-07 12:53:34.792: E/ServiceManager(119): add_service('memory.dumper',0x5) uid=0 - ALREADY REGISTERED, OVERRIDE
07-07 12:53:35.534: A/libc(10278): Fatal signal 11 (SIGSEGV) at 0x00000024 (code=1), thread 10278 (mediaserver)
07-07 12:53:38.929: E/dalvikvm(10497): ERROR: couldn't find native method
07-07 12:53:38.929: E/dalvikvm(10497): Requested: Landroid/graphics/Paint;.getStringFontMetrics:(Landroid/graphics/Paint$FontMetrics;Ljava/lang/String;)F
07-07 12:53:38.929: E/JNIHelp(10497): RegisterNatives failed for 'android/graphics/Paint', aborting
07-07 12:53:38.930: A/libc(10497): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 10497 (zygote)
07-07 12:53:39.178: W/InterfaceController(10504): Warning (Cannot load library: load_library(linker.cpp:745): library "/system/lib/libnetcmdiface.so" not found) while opening the net interface command library
07-07 12:53:40.062: A/libc(10503): Fatal signal 11 (SIGSEGV) at 0x00000024 (code=1), thread 10503 (mediaserver)
07-07 12:53:43.470: E/dalvikvm(10722): ERROR: couldn't find native method
Thanks in advance

Samsung SM-G313 Call Reject (Blacklist) functionality

Hello guys!
I own a Samsung G313HN device. Its stock ROM claims have no black list functionality which I'd like to have. Still the com.android.phone app has some hidden activities apparently related to this function I have discovered via ADW Launcher custom shortcut selection. I can open these activities but I permanently get the "process com.android.phone stopped working" error. I digged a bit deeper: while posessing also a GT-7390 (Trend Lite) which does have the call blocker option I compared the /data/data/com.android.phone/databases folder contents and discovered the autoreject.db database on GT-7390. I've copied the database to my G313HN, set the permissions — still crashing. The logcat showsthe following lines:
Code:
07-30 17:26:09.854: E/AndroidRuntime(6630): FATAL EXCEPTION: main
07-30 17:26:09.854: E/AndroidRuntime(6630): Process: com.android.phone, PID: 6630
07-30 17:26:09.854: E/AndroidRuntime(6630): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.phone/com.android.phone.callsettings.CallSettingsActivity}: java.lang.IllegalArgumentException: Unknown URI content://com.android.phone.callsettings/reject_num
07-30 17:26:09.854: E/AndroidRuntime(6630): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2436)
07-30 17:26:09.854: E/AndroidRuntime(6630): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2498)
07-30 17:26:09.854: E/AndroidRuntime(6630): at android.app.ActivityThread.access$900(ActivityThread.java:179)
07-30 17:26:09.854: E/AndroidRuntime(6630): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1324)
07-30 17:26:09.854: E/AndroidRuntime(6630): at android.os.Handler.dispatchMessage(Handler.java:102)
07-30 17:26:09.854: E/AndroidRuntime(6630): at android.os.Looper.loop(Looper.java:146)
07-30 17:26:09.854: E/AndroidRuntime(6630): at android.app.ActivityThread.main(ActivityThread.java:5641)
07-30 17:26:09.854: E/AndroidRuntime(6630): at java.lang.reflect.Method.invokeNative(Native Method)
07-30 17:26:09.854: E/AndroidRuntime(6630): at java.lang.reflect.Method.invoke(Method.java:515)
07-30 17:26:09.854: E/AndroidRuntime(6630): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1288)
07-30 17:26:09.854: E/AndroidRuntime(6630): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1104)
07-30 17:26:09.854: E/AndroidRuntime(6630): at dalvik.system.NativeStart.main(Native Method)
07-30 17:26:09.854: E/AndroidRuntime(6630): Caused by: java.lang.IllegalArgumentException: Unknown URI content://com.android.phone.callsettings/reject_num
07-30 17:26:09.854: E/AndroidRuntime(6630): at com.android.phone.callsettings.CallSettingsProvider.getDatabase(CallSettingsProvider.java:261)
07-30 17:26:09.854: E/AndroidRuntime(6630): at com.android.phone.callsettings.CallSettingsProvider.query(CallSettingsProvider.java:804)
07-30 17:26:09.854: E/AndroidRuntime(6630): at android.content.ContentProvider.query(ContentProvider.java:857)
07-30 17:26:09.854: E/AndroidRuntime(6630): at android.content.ContentProvider$Transport.query(ContentProvider.java:200)
07-30 17:26:09.854: E/AndroidRuntime(6630): at android.content.ContentResolver.query(ContentResolver.java:464)
07-30 17:26:09.854: E/AndroidRuntime(6630): at android.content.ContentResolver.query(ContentResolver.java:407)
07-30 17:26:09.854: E/AndroidRuntime(6630): at com.android.phone.callsettings.AutoRejectList.getAutoRejectNumber(AutoRejectList.java:1296)
07-30 17:26:09.854: E/AndroidRuntime(6630): at com.android.phone.callsettings.AutoRejectList.makeScreen(AutoRejectList.java:524)
07-30 17:26:09.854: E/AndroidRuntime(6630): at com.android.phone.callsettings.AutoRejectList.onCreateView(AutoRejectList.java:312)
07-30 17:26:09.854: E/AndroidRuntime(6630): at android.app.Fragment.performCreateView(Fragment.java:1700)
07-30 17:26:09.854: E/AndroidRuntime(6630): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:890)
07-30 17:26:09.854: E/AndroidRuntime(6630): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1062)
07-30 17:26:09.854: E/AndroidRuntime(6630): at android.app.BackStackRecord.run(BackStackRecord.java:684)
07-30 17:26:09.854: E/AndroidRuntime(6630): at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1453)
07-30 17:26:09.854: E/AndroidRuntime(6630): at android.app.Activity.performStart(Activity.java:5493)
07-30 17:26:09.854: E/AndroidRuntime(6630): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2409)
07-30 17:26:09.854: E/AndroidRuntime(6630): ... 11 more
07-30 17:26:09.864: W/ActivityManager(2109): Force finishing activity com.android.phone/.callsettings.CallSettingsActivity
I believe the Unknown URI content://com.android.phone.callsettings/reject_num part should create the error.
Any ideas?
The question is how to enable the blacklist feature?
Anyone?

Categories

Resources