Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,770,105 Members 52,090 Now Online
XDA Developers Android and Mobile Development Forum

The application Gallery (process com.cooliris.media) has stopped unexpectedly

Tip us?
 
acem77
Old
#1  
Senior Member - OP
Thanks Meter 0
Posts: 124
Join Date: Nov 2006
Default The application Gallery (process com.cooliris.media) has stopped unexpectedly

This is so annoying,
I have tried everything I could find online,

I removed the SD card to eliminate that as an option related to a corrupt image/ card.

I cleared Gallery the data under manage applications.

With ES file explorer

I deleted the com.cooliris.media folder multiple times

I renamed all dirs to hide them from the Gallery indexing.
Example renamed “DCIM” to ”.DCIM”

I opened and examined the file chunk_0 in
/com.cooliris.media/cache/local-album-cache
I was hoping i could see how far or were it crashed by the last dir it indexed.
After hiding all the dirs. I got it to this.

Data in “chunk_0(this file will grow as dirs are scanned and files are found)” opened in a hex editor.

..US..en............./...........4.......4...........b..intro..video/mp4.......................4.........O.{.....O.u... w..............:.............../

Not sure if this is a hit on what is crashing the gallery?
 
Kaleptik
Old
#2  
Kaleptik's Avatar
Recognized Developer
Thanks Meter 1233
Posts: 3,782
Join Date: Jun 2009
I'm guessing a factory reset didn't work either?

Devices:
LG Nexus 4 - Stock + Xposed
Samsung Captivate - CM 11
Samsung Galaxy S II - AOKP
 
acem77
Old
#3  
Senior Member - OP
Thanks Meter 0
Posts: 124
Join Date: Nov 2006
Have not done that, dont want to reconfigure the phone from scratch.
I always like to know the root of the real issue. seems kind of common.
 
Kaleptik
Old
#4  
Kaleptik's Avatar
Recognized Developer
Thanks Meter 1233
Posts: 3,782
Join Date: Jun 2009
I never use Gallery. Ever. So I wouldn't have an exact idea why it was going crazy.
Are you rooted and do you have Titanium Backup Free/Pro?
If so, back up the gallery app. Then delete it from the /system.
Restart your phone and restore the Gallery app and make it a system app again.

Devices:
LG Nexus 4 - Stock + Xposed
Samsung Captivate - CM 11
Samsung Galaxy S II - AOKP
 
acem77
Old
#5  
Senior Member - OP
Thanks Meter 0
Posts: 124
Join Date: Nov 2006
its rooted and i have Titanium Backup Pro.
i did not know you can delete the gallary.

I did download another gallery like app for now.
but i may give that a try.
 
Kaleptik
Old
#6  
Kaleptik's Avatar
Recognized Developer
Thanks Meter 1233
Posts: 3,782
Join Date: Jun 2009
Yeah. Wipe the data first then uninstall it.

Devices:
LG Nexus 4 - Stock + Xposed
Samsung Captivate - CM 11
Samsung Galaxy S II - AOKP
 
acem77
Old
#7  
Senior Member - OP
Thanks Meter 0
Posts: 124
Join Date: Nov 2006
i made the back up of the gallery, uninstalled it, when i try to recover/install it from the back up the phone stays in an install loop.
I have to reboot the phone.

now i deleted it how do i reinstall it?
I have gallery apk from the backup and the original is still under /system/app/com.cooliris.media.apk

when run the apk i get an error, application not installed.

I tried to use adb with no luck.

F:\~droid\root backup restore files\SuperOneClickv2.1.1-ShortFuse\ADB>adb instal
l gal.apk
993 KB/s (458660 bytes in 0.451s)
pkg: /data/local/tmp/gal.apk
Failure [INSTALL_FAILED_DEXOPT]


any pointers?
 
Kaleptik
Old
#8  
Kaleptik's Avatar
Recognized Developer
Thanks Meter 1233
Posts: 3,782
Join Date: Jun 2009
Follow the exact steps.
  1. Open Titanium Backup
  2. Wipe Gallery data (From Titanium Backup)
  3. Uninstall Gallery (From Titanium Backup)
  4. Restart phone
  5. Restore App of Gallery (From Titanium Backup)
  6. Restart phone
  7. Try using gallery

Devices:
LG Nexus 4 - Stock + Xposed
Samsung Captivate - CM 11
Samsung Galaxy S II - AOKP
 
acem77
Old
#9  
Senior Member - OP
Thanks Meter 0
Posts: 124
Join Date: Nov 2006
I don’t think titanium is an option now.

as it never finishes installing. i let it go all night.
The Gallery has been deleted and i only have the option to restore. My only options are to restore App only or App+Data. both don’t finish.

so i have been reading you can force/push installs. i must be doing something wrong as it seems a restriction is preventing the other install methods,

at this point the only reason i care is i cant view images in 3d.
 
Kaleptik
Old
#10  
Kaleptik's Avatar
Recognized Developer
Thanks Meter 1233
Posts: 3,782
Join Date: Jun 2009
Quote:
Originally Posted by acem77 View Post
I don’t think titanium is an option now.

as it never finishes installing. i let it go all night.
The Gallery has been deleted and i only have the option to restore. My only options are to restore App only or App+Data. both don’t finish.

so i have been reading you can force/push installs. i must be doing something wrong as it seems a restriction is preventing the other install methods,

at this point the only reason i care is i cant view images in 3d.
Using adb

adb shell
su
mount -o remount,rw /dev/block/stl9 /system
exit
exit
adb push Gallery.apk /system/app

Reboot the phone.

Sent from my Samsung Galaxy S II

Devices:
LG Nexus 4 - Stock + Xposed
Samsung Captivate - CM 11
Samsung Galaxy S II - AOKP

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Android App Review: Hide Your Files with Androignito – XDA Developer TV

Stop right now, look at your phone, and see how many pictures, … more

BrightNotes Makes Cloud Notes Simple and Easy

There are literally thousands of note taking apps available on Android, with practically every … more

Google Glass XE20.1 Update Brings Improved Contacts, Head Nudge, New Cards and Commands

Ever since Google unveiled Android Wear earlier this … more

Remote Control Your Android Device with Monitordroid

The Android OS showsgreat potential in many areas. One of most interesting things that … more