cache problem - HD2 Android Q&A, Help & Troubleshooting and Genera

I'm building a new version of the Alegen rom, but i have found this bug with cache!
I've found a first solution, i'va increased cache partition. But i was wondering if there is an other solution that would be better that mine.
this is the logcat with the error in cache.
HTML:
D/dalvikvm( 468): Zip inflate: partial write (will retry): (8152 of 32768)
E/dalvikvm( 468): Zip inflate: write failed: No space left on device
E/dalvikvm( 468): Unable to extract+optimize DEX from '/system/framework/framework.jar'
D/dalvikvm( 468): Unable to process classpath element '/system/framework/framework.jar'
E/dalvikvm( 468): opt header write failed: No space left on device
I/dalvikvm( 468): Unable to open or create cache for /system/framework/android.policy.jar (/cache/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 468): Unable to process classpath element '/system/framework/android.policy.jar'
E/dalvikvm( 468): opt header write failed: No space left on device
I/dalvikvm( 468): Unable to open or create cache for /system/framework/services.jar (/cache/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 468): Unable to process classpath element '/system/framework/services.jar'
E/dalvikvm( 468): opt header write failed: No space left on device
I/dalvikvm( 468): Unable to open or create cache for /system/framework/core-junit.jar (/cache/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 468): Unable to process classpath element '/system/framework/core-junit.jar'
E/JNIHelp ( 468): Native registration unable to find class 'android/debug/JNITest'

Related

Please look at this error message. What does it mean

D/AndroidRuntime( 1547): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
D/AndroidRuntime( 1547): CheckJNI is OFF
D/dalvikvm( 1547): DexOpt: incorrect opt magic number (0xff ff ff ff)
D/dalvikvm( 1547): Stale deps in cache file; removing and retrying
W/dalvikvm( 1547): zlib inflate: zerr=-3 (nIn=0x41c4f4d0 aIn=705030 nOut=0xbef64e7f aOut=1433)
E/dalvikvm( 1547): Unable to extract+optimize DEX from '/system/framework/framework.jar'
D/dalvikvm( 1547): Failed on '/system/framework/framework.jar' (boot=1)
D/dalvikvm( 1547): VM cleaning up
D/dalvikvm( 1547): LinearAlloc 0x0 used 4100 of 4194304 (0%)
W/dalvikvm( 1547): JNI_CreateJavaVM failed
E/AndroidRuntime( 1547): JNI_CreateJavaVM failed
D/AndroidRuntime( 1548):

Can't Flash - Can't create VM machine

Fellow tinkerers, hope you can help.
After flashing AOSP eclair 2.0 I'm now unable to flash anything else, I get the below error for any mod I try and install other than Eclair 2.0.
edit: I can no longer restore nandroid backups.
I can only install the default sappimg.nbh and AOSP eclair 2.0
I've tried to reroot the phone thinking maybe I lost root, but I can SU in terminal so I don't think that's the case
Tmobile MT3G (32B board)
HBOOT 1.33.0006
Tried Amon Ra and CM flash recovery
Any ideas?
Thanks.
Code:
D/AndroidRuntime( 2987): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
D/AndroidRuntime( 2987): CheckJNI is OFF
D/dalvikvm( 2987): DexOpt: incorrect opt magic number (0xff ff ff ff)
D/dalvikvm( 2987): Stale deps in cache file; removing and retrying
W/dalvikvm( 2987): Size mismatch on inflated file (5461131 vs 5455656)
E/dalvikvm( 2987): Unable to extract+optimize DEX from '/system/framework/framework.jar'
D/dalvikvm( 2987): Failed on '/system/framework/framework.jar' (boot=1)
D/dalvikvm( 2987): VM cleaning up
D/dalvikvm( 2987): LinearAlloc 0x0 used 4100 of 4194304 (0%)
W/dalvikvm( 2987): JNI_CreateJavaVM failed
E/AndroidRuntime( 2987): JNI_CreateJavaVM failed
D/AndroidRuntime( 2988):
Done some research and this issue has come up before
e.g. http://forum.xda-developers.com/showthread.php?t=565292
still no satisfactory solution, anyone any ideas?

Can't open dex cache

EOk. So i have compiled the generic AOSP Froyo. It can run perfectly in the emulator. But when flashing to the DINC on boot up i get "Can't open dex cache '/data/dalvik-cache/[email protected]@[email protected]': No such file or directory" and other error until DVM uotputs JNI_CreateJavaVM failed. Then runtime restarts.
Now see the thing is Using the same source a few weeks ago, then packing using xda-htc-kitchen it worked.
but apon recompiling, then packaged again it fails with the dex cache error
Any help would be appreciated. Im going to just repo the source again if i cant get it to work again.
I did another repo sync. Compiled smoothly. Created update.zip. flashed. Booted. Dex cache error.
Init.rc has /data/dalvik-cache created but adb shell has data empty
Mods feel free too delete this thead
Sent from my ADR6300 using Virtuous 3.01 through XDA App
To all this I a boot image problem. Probably with the .rc files. I pulled a working boot image and all was fine
Sent from my ADR6300 using Virtuous 3.01 through XDA App
Im having a similar issue.
Code:
D/AndroidRuntime( 131): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 131): CheckJNI is OFF
D/dalvikvm( 131): creating instr width table
E/dalvikvm( 131): Can't open dex cache '/cache/dalvik-cache/[email protected]@[email protected]': No such file or directory
I/dalvikvm( 131): Unable to open or create cache for /system/framework/core.jar (/cache/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 131): Unable to process classpath element '/system/framework/core.jar'
E/dalvikvm( 131): Can't open dex cache '/cache/dalvik-cache/[email protected]@[email protected]': No such file or directory
I/dalvikvm( 131): Unable to open or create cache for /system/framework/bouncycastle.jar (/cache/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 131): Unable to process classpath element '/system/framework/bouncycastle.jar'
E/dalvikvm( 131): Can't open dex cache '/cache/dalvik-cache/[email protected]@[email protected]': No such file or directory
I/dalvikvm( 131): Unable to open or create cache for /system/framework/ext.jar (/cache/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 131): Unable to process classpath element '/system/framework/ext.jar'
E/dalvikvm( 131): Can't open dex cache '/cache/dalvik-cache/[email protected]@[email protected]': No such file or directory
I/dalvikvm( 131): Unable to open or create cache for /system/framework/framework.jar (/cache/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 131): Unable to process classpath element '/system/framework/framework.jar'
E/dalvikvm( 131): Can't open dex cache '/cache/dalvik-cache/[email protected]@[email protected]': No such file or directory
I/dalvikvm( 131): Unable to open or create cache for /system/framework/android.policy.jar (/cache/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 131): Unable to process classpath element '/system/framework/android.policy.jar'
E/dalvikvm( 131): Can't open dex cache '/cache/dalvik-cache/[email protected]@[email protected]': No such file or directory
I/dalvikvm( 131): Unable to open or create cache for /system/framework/services.jar (/cache/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 131): Unable to process classpath element '/system/framework/services.jar'
E/dalvikvm( 131): Can't open dex cache '/cache/dalvik-cache/[email protected]@[email protected]': No such file or directory
I/dalvikvm( 131): Unable to open or create cache for /system/framework/core-junit.jar (/cache/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 131): Unable to process classpath element '/system/framework/core-junit.jar'
E/dalvikvm( 131): No valid entries found in bootclasspath '/system/framework/core.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/core-junit.jar'
W/dalvikvm( 131): JNI_CreateJavaVM failed
E/AndroidRuntime( 131): JNI_CreateJavaVM failed
So all you did was replace the boot.img with a known working one? Not sure that will fix this for me. Cannot work out the cause for this

Google Play Store force closes on Q

Hey there, so I am running my Q rooted, SU and SuperUser installed. I navigate with a Logitech wireless keyboard/mouse combo. I adb start the trebchet launcher as described in other threads, and it works great.
I cannot get Google Play store to work. As soon as I open it force closes, with no error. I have cleared cache/data, unistalled, resintalled lastest version. Tried clearing Google Service Framework, still no go.
Is there something I can use to log the event to try and diagnose what's causing the fc?
I have installed some other apps like es file explorer, gmail, tune in radio, chrome, youtube, that all work fine.
Many thanks to any suggestions.
LogCat
So I just leaned how to capture the logcat. Does anyone know how to read the problem?
Code:
I/ActivityManager( 158): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.vending/.AssetBrowserActivity} from pid 892
I/ActivityManager( 158): Start proc com.android.vending for activity com.android.vending/.AssetBrowserActivity: pid=3512 uid=10025 gids={3003, 1015}
I/ActivityThread( 3512): Pub com.google.android.finsky.RecentSuggestionsProvider: com.google.android.finsky.providers.RecentSuggestionsProvider
D/OpenGLRenderer( 892): Flushing caches (mode 1)
I/ActivityThread( 3512): Pub com.google.android.finsky.QSBSuggestionsProvider2: com.google.android.finsky.providers.QSBSuggestionsProvider
I/ActivityThread( 3512): Pub com.google.android.finsky.AppIconProvider: com.google.android.finsky.providers.AppIconProvider
D/OpenGLRenderer( 892): Flushing caches (mode 0)
D/dalvikvm( 3512): GC_CONCURRENT freed 168K, 3% free 12825K/13127K, paused 6ms+5ms
D/Finsky ( 3512): [1] FinskyApp.onCreate: Clearing cache due to crash on previous run.
D/Volley ( 3512): [1] DiskBasedCache.clear: Cache cleared.
D/dalvikvm( 3512): DexOpt: couldn't find field Landroid/app/Notification;.priority
W/dalvikvm( 3512): VFY: unable to resolve instance field 53
D/dalvikvm( 3512): VFY: replacing opcode 0x59 at 0x004a
D/Finsky ( 3512): [1] DailyHygiene.goMakeHygieneIfDirty: No need to run daily hygiene.
D/dalvikvm( 3512): GC_CONCURRENT freed 313K, 3% free 12984K/13383K, paused 2ms+3ms
D/Finsky ( 3512): [1] 2.run: Loaded library for account: [QGUg5XbKjnqgaVXCP2zw_XAyhhw]
D/Finsky ( 3512): [1] 2.run: Finished loading 1 libraries.
D/OpenGLRenderer( 2793): Flushing caches (mode 1)
D/libEGL ( 3512): loaded /system/lib/egl/libGLES_android.so
D/libEGL ( 3512): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
D/libEGL ( 3512): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
D/libEGL ( 3512): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
D/dalvikvm( 3512): GC_CONCURRENT freed 335K, 4% free 13193K/13639K, paused 2ms+2ms
D/OpenGLRenderer( 3512): Enabling debug mode 0
D/Finsky ( 3512): [1] InstallerImpl.kick: Installer kick null - starting jackpal.androidterm
D/Finsky ( 3512): [1] DownloadImpl.setState: jackpal.androidterm from null to UNQUEUED.
D/Finsky ( 3512): [1] DownloadQueueImpl.add: Download jackpal.androidterm added to DownloadQueue
D/Finsky ( 3512): [1] DownloadImpl.setState: jackpal.androidterm from UNQUEUED to QUEUED.
E/dalvikvm( 3512): Could not find class 'android.content.pm.ContainerEncryptionParams', referenced from method com.google.android.finsky.utils.PackageManagerUtils.callInstallEncrypted
W/dalvikvm( 3512): VFY: unable to resolve check-cast 78 (Landroid/content/pm/ContainerEncryptionParams;) in Lcom/google/android/finsky/utils/PackageManagerUtils;
D/dalvikvm( 3512): VFY: replacing opcode 0x1f at 0x000a
E/dalvikvm( 3512): Could not find class 'android.content.pm.ContainerEncryptionParams', referenced from method com.google.android.finsky.utils.PackageManagerUtils.generateEncryptionParams
W/dalvikvm( 3512): VFY: unable to resolve new-instance 78 (Landroid/content/pm/ContainerEncryptionParams;) in Lcom/google/android/finsky/utils/PackageManagerUtils;
D/dalvikvm( 3512): VFY: replacing opcode 0x22 at 0x01eb
D/dalvikvm( 3512): DexOpt: unable to opt direct call 0x015e at 0x1ed in Lcom/google/android/finsky/utils/PackageManagerUtils;.generateEncryptionParams
I/installd( 104): free_cache(293488) avail 13254303744
W/InputManagerService( 158): Starting input on non-focused client [email protected] (uid=10024 pid=892)
I/ActivityManager( 158): Displayed com.android.vending/.AssetBrowserActivity: +754ms
D/Finsky ( 3512): [1] DownloadQueueImpl.startDownload: Download jackpal.androidterm starting
E/DatabaseUtils( 259): Writing exception to parcel
E/DatabaseUtils( 259): java.lang.SecurityException: Invalid value for is_public_api: null
E/DatabaseUtils( 259): at com.android.providers.downloads.DownloadProvider.enforceAllowedValues(DownloadProvider.java:795)
E/DatabaseUtils( 259): at com.android.providers.downloads.DownloadProvider.checkInsertPermissions(DownloadProvider.java:714)
E/DatabaseUtils( 259): at com.android.providers.downloads.DownloadProvider.insert(DownloadProvider.java:472)
E/DatabaseUtils( 259): at android.content.ContentProvider$Transport.insert(ContentProvider.java:189)
E/DatabaseUtils( 259): at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:152)
E/DatabaseUtils( 259): at android.os.Binder.execTransact(Binder.java:338)
E/DatabaseUtils( 259): at dalvik.system.NativeStart.run(Native Method)
W/dalvikvm( 3512): threadid=22: thread exiting with uncaught exception (group=0x40a461f8)
E/AndroidRuntime( 3512): FATAL EXCEPTION: download-manager-thread
E/AndroidRuntime( 3512): java.lang.SecurityException: Invalid value for is_public_api: null
E/AndroidRuntime( 3512): at android.os.Parcel.readException(Parcel.java:1327)
E/AndroidRuntime( 3512): at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:182)
E/AndroidRuntime( 3512): at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:136)
E/AndroidRuntime( 3512): at android.content.ContentProviderProxy.insert(ContentProviderNative.java:415)
E/AndroidRuntime( 3512): at android.content.ContentResolver.insert(ContentResolver.java:730)
E/AndroidRuntime( 3512): at com.google.android.finsky.download.DownloadManagerImpl$1.run(DownloadManagerImpl.java:42)
E/AndroidRuntime( 3512): at android.os.Handler.handleCallback(Handler.java:605)
E/AndroidRuntime( 3512): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 3512): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 3512): at android.os.HandlerThread.run(HandlerThread.java:60)
W/ActivityManager( 158): Force finishing activity com.android.vending/.AssetBrowserActivity
D/dalvikvm( 3512): GC_CONCURRENT freed 284K, 3% free 13396K/13767K, paused 2ms+11ms
D/dalvikvm( 158): GC_FOR_ALLOC freed 694K, 14% free 20652K/23879K, paused 50ms
W/ActivityManager( 158): Force finishing activity com.cyanogenmod.trebuchet/.Launcher
D/OpenGLRenderer( 2793): Flushing caches (mode 1)
D/dalvikvm( 938): GC_CONCURRENT freed 474K, 9% free 14224K/15559K, paused 4ms+3ms
I/RT ( 938): SERVICE: 1 remote subscriber, 0 inproc subscribers
D/Finsky ( 3512): [1] DownloadImpl.setState: self-update-download from null to UNQUEUED.
D/Finsky ( 3512): [1] DownloadQueueImpl.add: Download self-update-download added to DownloadQueue
D/Finsky ( 3512): [1] DownloadImpl.setState: self-update-download from UNQUEUED to QUEUED.
I/ActivityManager( 158): START {flg=0x4000000 cmp=com.android.vending/com.google.android.finsky.activities.TosActivity (has extras)} from pid 3512
I/RT ( 938): SERVICE: 0 remote subscribers, 0 inproc subscribers
D/dalvikvm( 571): GC_EXPLICIT freed 284K, 12% free 17203K/19335K, paused 3ms+6ms
I/ActivityManager( 158): Displayed com.android.vending/com.google.android.finsky.activities.TosActivity: +255ms
D/OpenGLRenderer( 3512): Flushing caches (mode 0)
D/aah.ConnectorRegistryImpl( 411): listConnectors "null" returning 12 items
D/dalvikvm( 938): GC_CONCURRENT freed 462K, 9% free 14203K/15559K, paused 5ms+5ms
Same to same problem here
Sent from my GT-I9100 using xda premium
drjamit said:
Same to same problem here
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
I quote your words .
did you install the full gapps bundle or just the play store apk alone?
TheRealCyberOptic said:
did you install the full gapps bundle or just the play store apk alone?
Click to expand...
Click to collapse
When I did this on my Q with the same issue I just installed the play store nothing else. I didn't know if gapps would break any of the other default features of the Q.
I just installed the play store apk. Was I supposed to install gapps?
Sent from my GT-P7500 using xda app-developers app
i installed the full gapps bundle and have no issues. but could be another problem though.
TheRealCyberOptic said:
i installed the full gapps bundle and have no issues. but could be another problem though.
Click to expand...
Click to collapse
Would you mind sharing the version of gapps you installed on your q want to test out that version.
TIA
Just took the latest ICS gapps from here: goo.im/gapps
Maybe I arrive a little later, but I encounter the same problem with the lastest play store (4.0.26).
In my recovery I clean all the cache + dalvik, then reinstall gapps but not improvement
same goes here.
4.0.26 same issue. Revert to old Google Play, Clear cache + dalvik, reinstall gapps doesn't help.
Anyone know on solution

[REQUEST] SamsungVideo/SecVideoList/SecVideoPlayer APK/Odex files (XXUBMG9)

Hey guys,
Could someone please upload these files if you're on the XXUBMG9 baseband?
Code:
SamsungVideo.apk
SecVideoList.apk
SecVideoList.odex
SecVideoPlayer.apk
SecVideoPlayer.odex
I'm asking for files from this specific baseband because trying those provided in the various threads here all give incompatibility errors (I may be wrong, logcat below).
Code:
I/PackageManager( 2932): /system/app/SecVideoPlayer.apk changed; collecting certs
D/dalvikvm( 2932): GC_FOR_ALLOC freed 603K, 14% free 22871K/26304K, paused 64ms, total 64ms
I/dalvikvm-heap( 2932): Grow heap (frag case) to 23.442MB for 63504-byte allocation
D/dalvikvm( 2932): GC_FOR_ALLOC freed 75K, 14% free 22858K/26368K, paused 57ms, total 57ms
E/installd( 2474): ECS_ECS: * do_remove pkg [com.sec.android.app.videoplayer]
E/installd( 2474): ECS_ECS: do_remove Normal package
E/installd( 2474): ECS_ECS uninstall with packagedir [/data/data/com.sec.android.app.videoplayer]
W/PackageManager( 2932): SELinuxMMAC.assignSeinfoValue
E/installd( 2474): ECS_ECS: Restting the data Path to -data- ret [0]
W/PackageManager( 2932): Couldn't delete native library directory /data/app-lib/com.sec.android.app.videoplayer
E/installd( 2474): ECS_ECS: * do_install pkg [com.sec.android.app.videoplayer]
E/installd( 2474): ECS_ECS: installing Normal package
E/installd( 2474): ECS_ECS: installing Normal package
E/installd( 2474): ECS_ECS NON Container pkg, calling selinux
E/installd( 2474): ECS_ECS: Restting the data Path to -data- ret [0]
D/dalvikvm( 2932): DexOpt: VM build version mismatch (28 vs 27)
E/dalvikvm( 2932): /system/app/SecVideoPlayer.apk odex has stale dependencies
E/dalvikvm( 2932): odex source not available -- failing
W/PackageManager( 2932): System package com.sec.android.app.videoplayer has changed from uid: 10010 to 10008; old data erased
W/PackageManager( 2932): StaleDexCacheError when reading apk: /system/app/SecVideoPlayer.apk
W/PackageManager( 2932): dalvik.system.StaleDexCacheError: /system/app/SecVideoPlayer.apk
W/PackageManager( 2932): at dalvik.system.DexFile.isDexOptNeeded(Native Method)
W/PackageManager( 2932): at com.android.server.pm.PackageManagerService.performDexOptLI(PackageManagerService.java:4715)
W/PackageManager( 2932): at com.android.server.pm.PackageManagerService.scanPackageLI(PackageManagerService.java:5477)
W/PackageManager( 2932): at com.android.server.pm.PackageManagerService.scanPackageLI(PackageManagerService.java:4578)
W/PackageManager( 2932): at com.android.server.pm.PackageManagerService.scanDirLI(PackageManagerService.java:4319)
W/PackageManager( 2932): at com.android.server.pm.PackageManagerService.<init>(PackageManagerService.java:1463)
W/PackageManager( 2932): at com.android.server.pm.PackageManagerService.main(PackageManagerService.java:1160)
W/PackageManager( 2932): at com.android.server.ServerThread.run(SystemServer.java:443)
W/PackageManager( 2932): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
W/PackageManager( 2932): at de.robv.android.xposed.XposedBridge.invokeOriginalMethod(XposedBridge.java:640)
W/PackageManager( 2932): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:471)
W/PackageManager( 2932): at com.android.server.ServerThread.run(Native Method)
W/PackageManager( 2932): You must verify first that DEXPREOPT_BOOT_JARS in dex_preopt.mk and BOOTCLASSPATH in init.rc havesame value and order
W/PackageManager( 2932): SELinuxMMAC.assignSeinfoValue
I/PackageManager( 2932): /system/app/SecVideoList.apk changed; collecting certs
W/PackageManager( 2932): SELinuxMMAC.assignSeinfoValue
W/PackageManager( 2932): SELinuxMMAC.assignSeinfoValue
D/dalvikvm( 2932): DexOpt: VM build version mismatch (28 vs 27)
Thanks a lot.
Anyone?
GermainZ said:
Anyone?
Click to expand...
Click to collapse
Hi,
Try asking in the S4 HELP THREAD
A few of the RC's there have the i9500, and may be able to help.
got the files?
I think you must have these files.... PLUS... the data folders... in order to work...
Code:
SamsungVideo.apk
SecVideoList.apk
SecVideoList.odex
SecVideoPlayer.apk
SecVideoPlayer.odex
Something like this...
Code:
/data/data/
com.google.earth
files samsung galaxy s4 active i537
files
titanium backup format :cyclops:
SecVideoList
SecVideoList.apk
SecVideoList.odex
Aren't working the files???
GermainZ said:
Anyone?
Click to expand...
Click to collapse
Aren't working the files????

Categories

Resources