[Q] what is missing ?? logcat idea :D - Android Software/Hacking General [Developers Only]

hi,buddies
i have an question here is activity logcat
Code:
I/ActivityManager( 1752): Start proc com.htc.launcher for activity com.htc.launc
her/.Launcher: pid=3661 uid=10024 gids={3003, 1015, 1028}
D/dalvikvm( 1490): GC_EXPLICIT freed 38K, 74% free 2172K/8259K, paused 2ms+2ms,
total 37ms
D/dalvikvm( 1490): GC_EXPLICIT freed <1K, 74% free 2172K/8259K, paused 4ms+2ms,
total 40ms
E/Trace ( 3661): error opening trace file: No such file or directory (2)
D/dalvikvm( 1490): WAIT_FOR_CONCURRENT_GC blocked 1ms
D/dalvikvm( 1490): GC_EXPLICIT freed <1K, 74% free 2172K/8259K, paused 3ms+2ms,
total 41ms
I/ActivityThread( 3661): Pub com.htc.launcher.settings.facade: com.htc.launcher.
facade.LauncherProviderFacade
W/dalvikvm( 3661): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initi
alizing Lcom/htc/htcjavaflag/Native;
W/dalvikvm( 3661): Exception Ljava/lang/ExceptionInInitializerError; thrown whil
e initializing Lcom/htc/htcjavaflag/HtcBuildFlag;
W/dalvikvm( 3661): Exception Ljava/lang/ExceptionInInitializerError; thrown whil
e initializing Lcom/htc/launcher/util/SettingUtil;
W/dalvikvm( 3661): Exception Ljava/lang/ExceptionInInitializerError; thrown whil
e initializing Lcom/htc/launcher/util/Logger;
W/dalvikvm( 3661): Exception Ljava/lang/ExceptionInInitializerError; thrown whil
e initializing Lcom/htc/launcher/LauncherProvider;
W/dalvikvm( 3661): Class init failed in newInstance call (Lcom/htc/launcher/faca
de/LauncherProviderFacade;)
D/AndroidRuntime( 3661): Shutting down VM
W/dalvikvm( 3661): threadid=1: thread exiting with uncaught exception (group=0x4
114c300)
E/AndroidRuntime( 3661): FATAL EXCEPTION: main
E/AndroidRuntime( 3661): java.lang.ExceptionInInitializerError
E/AndroidRuntime( 3661): at java.lang.Class.newInstanceImpl(Native Method
)
E/AndroidRuntime( 3661): at java.lang.Class.newInstance(Class.java:1319)
E/AndroidRuntime( 3661): at android.app.ActivityThread.installProvider(Ac
tivityThread.java:4733)
E/AndroidRuntime( 3661): at android.app.ActivityThread.installContentProv
iders(ActivityThread.java:4375)
E/AndroidRuntime( 3661): at android.app.ActivityThread.handleBindApplicat
ion(ActivityThread.java:4317)
E/AndroidRuntime( 3661): at android.app.ActivityThread.access$1300(Activi
tyThread.java:142)
E/AndroidRuntime( 3661): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1268)
E/AndroidRuntime( 3661): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 3661): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 3661): at android.app.ActivityThread.main(ActivityThrea
d.java:4931)
E/AndroidRuntime( 3661): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 3661): at java.lang.reflect.Method.invoke(Method.java:5
11)
E/AndroidRuntime( 3661): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime( 3661): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:558)
E/AndroidRuntime( 3661): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 3661): Caused by: java.lang.ExceptionInInitializerError
E/AndroidRuntime( 3661): at com.htc.launcher.LauncherProvider.<clinit>(La
uncherProvider.java:79)
E/AndroidRuntime( 3661): ... 15 more
E/AndroidRuntime( 3661): Caused by: java.lang.ExceptionInInitializerError
E/AndroidRuntime( 3661): at com.htc.launcher.util.Logger.<clinit>(Logger.
java:10)
E/AndroidRuntime( 3661): ... 16 more
E/AndroidRuntime( 3661): Caused by: java.lang.ExceptionInInitializerError
E/AndroidRuntime( 3661): at com.htc.launcher.util.SettingUtil.<clinit>(Se
ttingUtil.java:17)
E/AndroidRuntime( 3661): ... 17 more
E/AndroidRuntime( 3661): Caused by: java.lang.ExceptionInInitializerError
E/AndroidRuntime( 3661): at com.htc.htcjavaflag.HtcDebugFlag.getProject(H
tcDebugFlag.java)
E/AndroidRuntime( 3661): at com.htc.htcjavaflag.HtcBuildFlag.getHtc_PROJE
CT_flag(HtcBuildFlag.java)
E/AndroidRuntime( 3661): at com.htc.htcjavaflag.HtcBuildFlag.<clinit>(Htc
BuildFlag.java)
E/AndroidRuntime( 3661): ... 18 more
E/AndroidRuntime( 3661): Caused by: java.lang.UnsatisfiedLinkError: Cannot load
library: link_image[1916]: 1490 could not load needed library 'libhtcflag_nativ
e.so' for 'libhtcflag-jni.so' (reloc_library[1331]: 1490 cannot locate '__htclo
g_init_mask'...
E/AndroidRuntime( 3661): )
E/AndroidRuntime( 3661): at java.lang.Runtime.loadLibrary(Runtime.java:39
1)
E/AndroidRuntime( 3661): at java.lang.System.loadLibrary(System.java:535)
E/AndroidRuntime( 3661): at com.htc.htcjavaflag.Native.<clinit>(HtcDebugF
lag.java)
E/AndroidRuntime( 3661): ... 21 more
W/ActivityManager( 1752): Force finishing activity com.htc.launcher/.Launcher
W/ActivityManager( 1752): Activity pause timeout for ActivityRecord{41585298 com
.htc.launcher/.Launcher}
So,what is wrong?? can somebody help?
EDIT :
after copying dalvikvm.causes other problems .so i completely removed rom and im using base as these roms.porting from these links.
http://forum.xda-developers.com/show....php?t=2321867
http://forum.xda-developers.com/show....php?t=2184706
http://forum.xda-developers.com/show....php?t=2185699
and now i have completely different problem. system/lib/hw files compability problems
Code:
E/MediaPlayerService(23381): MediaPlayerService(), open failed /sys/power/pnpmgr
/apps/media_mode
E/BandwidthController(23382): runIptablesCmd(): failed /system/bin/iptables -t r
aw -N bw_raw_PREROUTING res=256
E/BandwidthController(23382): runIptablesCmd(): failed /system/bin/ip6tables -t
raw -N bw_raw_PREROUTING res=256
E/logwrapper(23507): executing /system/bin/zcb failed: Permission denied
E/JNIHelp (23508): Native registration unable to find class 'com/broadcom/bt/ser
vice/fm/FmReceiverService', aborting
F/libc (23508): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 2350
8 (zygote)
this problem repeating. i copied classes to framework2.jar and services.jar but still doesnt work..i deleted somefiles in system/lib/hw and only changed camera.default.so file.actually im getting about 10 problems.
can somebody help again??

Doğa you need to ask a recognized developer this
Sent from my One V using Tapatalk 4 Beta

any idea??

Are you trying port a sense ROM to non-HTC device?

yes and no lol
i'm trying port sense 5 for htc one v - we didnt get official update.

try to copy dalvikvm

forumber2 said:
try to copy dalvikvm
Click to expand...
Click to collapse
oba abi sen türk değilmisin ya kocaeli-gebze
dalvikvm yi kopyalayınca milyon tane başka bişey istiyor onun yerine şu linklerdeki portları birleştirip htc one v ye portlamayı deniyorum şimdide başka problemler çıktı ama
translate : after copying dalvikvm.causes other problems .so i completely removed rom and im using base as these roms.porting from these links.
http://forum.xda-developers.com/showthread.php?t=2321867
http://forum.xda-developers.com/showthread.php?t=2184706
http://forum.xda-developers.com/showthread.php?t=2185699
devamını ingilizce yazcam yoksa ban veriyolar
and now i have completely different problem. system/lib/hw files compability problems
Code:
E/MediaPlayerService(23381): MediaPlayerService(), open failed /sys/power/pnpmgr
/apps/media_mode
E/BandwidthController(23382): runIptablesCmd(): failed /system/bin/iptables -t r
aw -N bw_raw_PREROUTING res=256
E/BandwidthController(23382): runIptablesCmd(): failed /system/bin/ip6tables -t
raw -N bw_raw_PREROUTING res=256
E/logwrapper(23507): executing /system/bin/zcb failed: Permission denied
E/JNIHelp (23508): Native registration unable to find class 'com/broadcom/bt/ser
vice/fm/FmReceiverService', aborting
F/libc (23508): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 2350
8 (zygote)
this problem repeating. i copied classes to framework2.jar and services.jar but still doesnt work..i deleted somefiles in system/lib/hw and only changed camera.default.so file.actually im getting about 10 problems.
can somebody help again??

Related

Please sign my apk?

I have tried everything, but since I did a clean install of Win7 on my comp, I am unable to sign apk's. i keep getting a Java Out of Memory error. Can someone please sign it for me?
Thanks
Forgot to add the link..sorry
(the uploader was messing up also, so I uploaded it to rapidshare)
http://rapidshare.com/files/456819644/com.bionicpanda.aquapets.apk
There are a couple apps you could use to sign right on your phone/tablet with ...
Zipsigner
Signapktic
Both can sign with your choice of: testkey, platform, media, or shared. Signapktic requires root but if you aren't rooted Zipsigner should still work. Hope that helps.
MongooseHelix said:
There are a couple apps you could use to sign right on your phone/tablet with ...
Zipsigner
Signapktic
Both can sign with your choice of: testkey, platform, media, or shared. Signapktic requires root but if you aren't rooted Zipsigner should still work. Hope that helps.
Click to expand...
Click to collapse
Thanks for the heads up. However, the app force closes when I launch it. Can anyone do it with apk manager? That has always worked for me.
Thanks!
I signed it and pushed the apk to my phone to make sure it was working but after installing fine, running it causes a force close like you said. Looking at the log using "logcat -d V" gives the following messages related to the crash:
Code:
I/ActivityManager( 297): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 pkg=com.bionicpanda.aquapets cmp=com.bionicpanda.aquapets/.activity.BPLauncher } from pid 2896
I/ActivityManager( 297): Start proc com.bionicpanda.aquapets for activity com.bionicpanda.aquapets/.activity.BPLauncher: pid=2998 uid=10028 gids={3003, 1015}
D/szipinf ( 2998): Initializing inflate state
W/ResourceType( 2998): XML size 0x2e is smaller than header size 0x65.
D/AndroidRuntime( 2998): Shutting down VM
W/dalvikvm( 2998): threadid=1: thread exiting with uncaught exception (group=0x40018560)
E/AndroidRuntime( 2998): FATAL EXCEPTION: main
E/AndroidRuntime( 2998): java.lang.RuntimeException: Unable to create application com.bionicpanda.aquapets.utilities.BPApplication: android.content.res.Resources$NotFoundException: File res/xml/baits.xml from xml type xml resource ID #0x7f050001
E/AndroidRuntime( 2998): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3404)
E/AndroidRuntime( 2998): at android.app.ActivityThread.access$2200(ActivityThread.java:123)
E/AndroidRuntime( 2998): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:974)
E/AndroidRuntime( 2998): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2998): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 2998): at android.app.ActivityThread.main(ActivityThread.java:3812)
E/AndroidRuntime( 2998): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2998): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 2998): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
E/AndroidRuntime( 2998): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
E/AndroidRuntime( 2998): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2998): Caused by: android.content.res.Resources$NotFoundException: File res/xml/baits.xml from xml type xml resource ID #0x7f050001
E/AndroidRuntime( 2998): at android.content.res.Resources.loadXmlResourceParser(Resources.java:1999)
E/AndroidRuntime( 2998): at android.content.res.Resources.loadXmlResourceParser(Resources.java:1954)
E/AndroidRuntime( 2998): at android.content.res.Resources.getXml(Resources.java:817)
E/AndroidRuntime( 2998): at com.bionicpanda.aquapets.game.BaitDictionary.<init>(BaitDictionary.java:26)
E/AndroidRuntime( 2998): at com.bionicpanda.aquapets.utilities.BPApplication.onCreate(BPApplication.java:78)
E/AndroidRuntime( 2998): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:969)
E/AndroidRuntime( 2998): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3401)
E/AndroidRuntime( 2998): ... 10 more
E/AndroidRuntime( 2998): Caused by: java.io.FileNotFoundException: Corrupt XML binary file
E/AndroidRuntime( 2998): at android.content.res.AssetManager.openXmlAssetNative(Native Method)
E/AndroidRuntime( 2998): at android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:520)
E/AndroidRuntime( 2998): at android.content.res.Resources.loadXmlResourceParser(Resources.java:1981)
E/AndroidRuntime( 2998): ... 16 more
W/ActivityManager( 297): Force finishing activity com.bionicpanda.aquapets/.activity.BPLauncher
W/ActivityManager( 297): Activity pause timeout for HistoryRecord{40c12cf8 com.bionicpanda.aquapets/.activity.BPLauncher}
I/Process ( 2998): Sending signal. PID: 2998 SIG: 9
I/ActivityManager( 297): Process com.bionicpanda.aquapets (pid 2998) has died.
Looks like the res/xml/baits.xml in the apk is corrupted or something where Android doesn't like it. Imagine it got messed up while you were making changes to the apk. Should be able to launch it once that gets fixed.
MongooseHelix said:
I signed it and pushed the apk to my phone to make sure it was working but after installing fine, running it causes a force close like you said. Looking at the log ...
Looks like the res/xml/baits.xml in the apk is corrupted or something where Android doesn't like it. Imagine it got messed up while you were making changes to the apk. Should be able to launch it once that gets fixed.
Click to expand...
Click to collapse
Wow, thanks for doing the research on that. Yea, I realized that that was the problem before you responded, though. I was able to decompile all of the xmls in apkmanager, edit them in an xml editor, and then replace them into the folder of apkmanager. Although the xmls look fine, I still get an error when compiling and signing.
I would re-upload the files but I've basically given up and don't want to waste any more time hacking the silly game. Thanks for all your help, though. (I can send you my files if you would like to figure it out and have a hacked version of the game, but I am not trying to put any more effort into it)

[Q] Attempting to theme Google Plus (G+) App

So i'm trying to theme a google+ app for personal use, and I want to edit the XML files to get a full change out of it. The problem is that it force closes when I try to run the app on my phone (no problems decomp or compiling with apk manager or apktool)
The logcat (can't add links yet, in code tag below) points to a FATAL EXCEPTION in main, and goes on to state:
"Caused by: java.lang.RuntimeException: Binary XML file line #4: You must supply a layout_width attribute."
Of course I can't find anything labeled "main" and there I don't know which XML file to edit, and do not see anything wrong in the layout XML files (again, I haven't edited the files at all, it's simply decompiling an untouched app then compiling and installing to a phone and emulator - both resulting in a FC of the app)
Png editing is of course no issue, but it's not quite giving the effect I want (black on forest green is tough to read)
Any assistance or perhaps a nudge in the right direction so I can figure this out and start theming apps?
Code:
W/dalvikvm( 466): threadid=1: thread exiting with uncaught exception (group=0x4001d800)
E/AndroidRuntime( 466): FATAL EXCEPTION: main
E/AndroidRuntime( 466): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.google.android.apps.plus/com.google.android.apps.circles.accounts.SelectAccountActivity}: java.lang.RuntimeException: Binary XML file line #4: You must supply a layout_width attribute.
E/AndroidRuntime( 466): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)
E/AndroidRuntime( 466): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
E/AndroidRuntime( 466): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
E/AndroidRuntime( 466): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
E/AndroidRuntime( 466): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 466): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 466): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime( 466): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 466): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 466): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime( 466): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/AndroidRuntime( 466): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 466): Caused by: java.lang.RuntimeException: Binary XML file line #4: You must supply a layout_width attribute.
E/AndroidRuntime( 466): at android.content.res.TypedArray.getLayoutDimension(TypedArray.java:491)
E/AndroidRuntime( 466): at android.view.ViewGroup$LayoutParams.setBaseAttributes(ViewGroup.java:3592)
E/AndroidRuntime( 466): at android.view.ViewGroup$MarginLayoutParams.<init>(ViewGroup.java:3672)
E/AndroidRuntime( 466): at android.widget.LinearLayout$LayoutParams.<init>(LinearLayout.java:1395)
E/AndroidRuntime( 466): at android.widget.LinearLayout.generateLayoutParams(LinearLayout.java:1321)
E/AndroidRuntime( 466): at android.widget.LinearLayout.generateLayoutParams(LinearLayout.java:45)
E/AndroidRuntime( 466): at android.view.LayoutInflater.rInflate(LayoutInflater.java:620)
E/AndroidRuntime( 466): at android.view.LayoutInflater.inflate(LayoutInflater.java:407)
E/AndroidRuntime( 466): at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
E/AndroidRuntime( 466): at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
E/AndroidRuntime( 466): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:198)
E/AndroidRuntime( 466): at android.app.Activity.setContentView(Activity.java:1647)
E/AndroidRuntime( 466): at com.google.android.apps.circles.accounts.SelectAccountActivity.onCreate(SelectAccountActivity.java:97)
E/AndroidRuntime( 466): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime( 466): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
E/AndroidRuntime( 466): ... 11 more
W/ActivityManager( 61): Force finishing activity com.google.android.apps.plus/com.google.android.apps.circles.accounts.SelectAccountActivity
W/ActivityManager( 61): Activity pause timeout for HistoryRecord{44ffd1d8 com.google.android.apps.plus/com.google.android.apps.circles.accounts.SelectAccountActivity}
W/ActivityManager( 61): Activity destroy timeout for HistoryRecord{44f51990 com.google.android.apps.plus/com.google.android.apps.plusone.app.HomeScreenActivity}
W/ActivityManager( 61): Activity destroy timeout for HistoryRecord{44ffd1d8 com.google.android.apps.plus/com.google.android.apps.circles.accounts.SelectAccountActivity}

[Q] N.O.V.A on CM7

Hi,
i just can't get Gamelofts N.O.V.A too run. Using CM7 with GO Launcher EX.
Usually the version for GalaxyTab P1000 works but not in this case.
It seems it has problems with the SD Card as alogcat shows below.
Any ideas? Thanks for any help.
--snip
Code:
I/GameInstaller( 6780): File required: weapon_sniper_rifle.pack
I/System.out( 6780): STATE_CHECK_ERRORSSTATE_CHECK_ERRORSSTATE_CHECK_ERRORS
E/ ( 6780): statfs sdcard/external_sd failed, errno: 2
W/dalvikvm( 6780): threadid=9: thread exiting with uncaught exception (group=0x40015560)
E/AndroidRuntime( 6780): FATAL EXCEPTION: Thread-10
E/AndroidRuntime( 6780): java.lang.IllegalArgumentException
E/AndroidRuntime( 6780): at android.os.StatFs.native_setup(Native Method)
E/AndroidRuntime( 6780): at android.os.StatFs.<init>(StatFs.java:32)
E/AndroidRuntime( 6780): at com.gameloft.android.GAND.GloftNOHP.GameInstaller.checkSDAvailable(GameInstaller.java:1832)
E/AndroidRuntime( 6780): at com.gameloft.android.GAND.GloftNOHP.GameInstaller.update(GameInstaller.java:1008)
E/AndroidRuntime( 6780): at com.gameloft.android.GAND.GloftNOHP.GameInstaller.run(GameInstaller.java:842)
E/AndroidRuntime( 6780): at java.lang.Thread.run(Thread.java:1019)
W/ActivityManager( 1454): Force finishing activity com.gameloft.android.GAND.GloftNOHP/.GameInstaller

[Q] SuperSU on Galaxy S4

Hello,
I installed UPDATE-SuperSU-v1.65.zip with the TWRP recovery image on my Galaxy S4.
The installation completed successfully. But when booting into Android it does not start.
Logcat shows the attached entries. Did I do something wrong?
Many thanks,
Rainer
Code:
E/dalvikvm( 7847): Dex cache directory isn't writable: /data/dalvik-cache
I/dalvikvm( 7847): Unable to open or create cache for
/system/app/Superuser.apk (/data/dalvik-
cache/[email protected]@[email protected])
V/WindowManager( 788): Window{42dd32c8 u0
Keyguard}mOrientationRequetedFromKeyguard=false
D/AndroidRuntime( 7847): Shutting down VM
W/dalvikvm( 7847): threadid=1: thread exiting with uncaught exception
(group=0x4113aac8)
E/AndroidRuntime( 7847): FATAL EXCEPTION: main
E/AndroidRuntime( 7847): java.lang.RuntimeException: Unable to instantiate
application eu.chainfire.supersu.Application: java.lang.ClassNotFoundException:
Didn't find class "eu.chainfire.supersu.Application" on path:
/system/app/Superuser.apk
E/AndroidRuntime( 7847): at
android.app.LoadedApk.makeApplication(LoadedApk.java:516)
E/AndroidRuntime( 7847): at
android.app.ActivityThread.handleBindApplication(ActivityThread.java:4568)
E/AndroidRuntime( 7847): at
android.app.ActivityThread.access$1400(ActivityThread.java:152)
E/AndroidRuntime( 7847): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1342)
E/AndroidRuntime( 7847): at
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 7847): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 7847): at
android.app.ActivityThread.main(ActivityThread.java:5328)
E/AndroidRuntime( 7847): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 7847): at
java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 7847): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
E/AndroidRuntime( 7847): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
E/AndroidRuntime( 7847): at dalvik.system.NativeStart.main(Native
Method)
E/AndroidRuntime( 7847): Caused by: java.lang.ClassNotFoundException: Didn't
find class "eu.chainfire.supersu.Application" on path: /system/app/Superuser.apk
E/AndroidRuntime( 7847): at
dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:65)
E/AndroidRuntime( 7847): at
java.lang.ClassLoader.loadClass(ClassLoader.java:501)
E/AndroidRuntime( 7847): at
java.lang.ClassLoader.loadClass(ClassLoader.java:461)
E/AndroidRuntime( 7847): at
android.app.Instrumentation.newApplication(Instrumentation.java:985)
E/AndroidRuntime( 7847): at
android.app.LoadedApk.makeApplication(LoadedApk.java:507)
E/AndroidRuntime( 7847): ... 11 more
/system/app/Superuser.apk is there
I forgot to mention, that Superuser.apk
[email protected]:/ $ ls -l /system/app/Superuser.apk
-rw-r--r-- root root 1966976 1970-01-24 21:18 Superuser.apk
[email protected]:/ $
is available.

[Q] clock not working

The clock widget is working but I can't open the clock. Here is the logcat output:
Code:
I/ActivityManager( 897): Start proc com.android.deskclock for activity com.android.deskclock/.DeskClock: pid=3426 uid=1
0042 gids={50042, 1028, 1023, 3003}
I/MicrophoneInputStream( 1725): mic_close [email protected]
D/audio_hw_primary( 230): in_standby: enter: stream (0xb8d56970) usecase(8: audio-record)
D/hardware_info( 230): hw_info_append_hw_type : device_name = voice-rec-mic
I/QCOM PowerHAL( 230): Processing audio hint. Metadata: state=0
D/audio_hw_primary( 230): adev_close_input_stream: enter:stream_handle(0xb8d56970)
D/audio_hw_primary( 230): in_standby: enter: stream (0xb8d56970) usecase(8: audio-record)
I/HotwordRecognitionRnr( 1725): Stopping hotword detection.
I/HotwordRecognitionRnr( 1725): Hotword detection finished
D/ActivityThread( 3426): handleBindApplication:com.android.deskclock
D/ActivityThread( 3426): setTargetHeapUtilization:0.75
D/ActivityThread( 3426): setTargetHeapMinFree:2097152
I/ActivityThread( 3426): Switching default density from 480 to 300
I/QCOM PowerHAL( 230): Processing audio hint. Metadata: state=0
W/dalvikvm( 3426): threadid=1: thread exiting with uncaught exception (group=0x41af6ce0)
E/AndroidRuntime( 3426): FATAL EXCEPTION: main
E/AndroidRuntime( 3426): Process: com.android.deskclock, PID: 3426
E/AndroidRuntime( 3426): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.deskclock/com.an
droid.deskclock.DeskClock}: android.database.sqlite.SQLiteException: Can't downgrade database from version 11 to 10
E/AndroidRuntime( 3426): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2224)
E/AndroidRuntime( 3426): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2283)
E/AndroidRuntime( 3426): at android.app.ActivityThread.access$800(ActivityThread.java:144)
E/AndroidRuntime( 3426): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1205)
E/AndroidRuntime( 3426): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 3426): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 3426): at android.app.ActivityThread.main(ActivityThread.java:5158)
E/AndroidRuntime( 3426): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 3426): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 3426): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:796)
E/AndroidRuntime( 3426): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:612)
E/AndroidRuntime( 3426): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 3426): Caused by: android.database.sqlite.SQLiteException: Can't downgrade database from version 11 to
10
E/AndroidRuntime( 3426): at android.database.sqlite.SQLiteOpenHelper.onDowngrade(SQLiteOpenHelper.java:361)
E/AndroidRuntime( 3426): at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:255)
E/AndroidRuntime( 3426): at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:18
8)
E/AndroidRuntime( 3426): at com.android.deskclock.provider.ClockProvider.query(ClockProvider.java:96)
E/AndroidRuntime( 3426): at android.content.ContentProvider.query(ContentProvider.java:857)
E/AndroidRuntime( 3426): at android.content.ContentProvider$Transport.query(ContentProvider.java:200)
E/AndroidRuntime( 3426): at android.content.ContentResolver.query(ContentResolver.java:461)
E/AndroidRuntime( 3426): at android.content.ContentResolver.query(ContentResolver.java:404)
E/AndroidRuntime( 3426): at com.android.deskclock.provider.AlarmInstance.getInstances(AlarmInstance.java:192)
E/AndroidRuntime( 3426): at com.android.deskclock.alarms.AlarmStateManager.updateNextAlarm(AlarmStateManager.java
:138)
E/AndroidRuntime( 3426): at com.android.deskclock.DeskClock.onCreate(DeskClock.java:178)
E/AndroidRuntime( 3426): at android.app.Activity.performCreate(Activity.java:6020)
E/AndroidRuntime( 3426): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
E/AndroidRuntime( 3426): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2181)
E/AndroidRuntime( 3426): ... 11 more
W/ActivityManager( 897): Force finishing activity com.android.deskclock/.DeskClock
I am using the LiquidSmooth ROM LS-KK-v3.2-2014-10-23-bacon.zip (tried other versions too) and always wiped system/cache/dalvik.
Any idea?
Bebbo
ok solved it:
using a file explorer I went to /data/data/com.android.deskclock/databases and removed the file alarms.db
Bebbo
Thanks for the fix man, helped me !
bebbodl said:
ok solved it:
using a file explorer I went to /data/data/com.android.deskclock/databases and removed the file alarms.db
Bebbo
Click to expand...
Click to collapse
Tnx. SGS4A fix work.

Categories

Resources