Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Kitkat 4.4.2 Gallery/Camera fix

OP goku2778

15th January 2014, 04:17 PM   |  #1  
goku2778's Avatar
OP Senior Member
Thanks Meter: 142
 
174 posts
Join Date:Joined: Aug 2013
I've been going nuts on the latest CM11 nightly 4.4.2 with the camera not being able to save its pictures to your sd card automatically and also multiple crashes...some fixes I found, writing new permissions mostly just didn't work or wouldn't stick if you rebooted.

I now have 2 different optional APK file and INSTALL fixes...1st is just the camera apk which I ripped out of the liquidsmooth cm based kitkat 4.4.2 which works flawlessly. The 2nd is a gallery apk fix that I ripped out of the slimbean 4.3.1 rom and it reinstalls the gallery apk which also has its own camera that will install along with it...both fixes work, both camera's are slightly different from each other though and function differently based on the gallery that is installed

This method requires Titanium Backup...you can get it on the play store and the free version will work just fine
HERE'S THE CAMERA APK FIX:
-backup your systems "camera" app before doing anything! don't blame me for losing the camera if something fails
-once backed up, uninstall the camera app and if using titanium backup, move the backup files to another location out of the titanium folder located in your INTERNAL storage
-download the camera zip files I made here
-extract the zip file and you'll get a folder named "camera files"...copy and paste the files inside, do not extract any of these files, to your titanium backup folder located on your INTERNAL storage
-once copied over, open up titanium backup and look for the camera apk file with a line through it and should say beneath it "1 backup"...click on it, hit restore and choose app and data, that's it! it should now be there and fully functioning


HERE'S THE GALLERY APK FIX:
-backup your systems "gallery" and "camera" apps before doing anything! I won't be held responsible if this doesn't work for some users
-once backed up, uninstall the gallery and camera apps
-download the "com.android.gallery3d_1.1.40012.apk" file I made here
-install the apk file by simply clicking on it and choosing install, it shouldn't need any special permissions but if so, refer to next step
-install the gallery apk by using a root file manager (I use root browser lite) and move the apk file to system>app, change the permissions to rw-r--r-- then select "ok" and then install it and reboot. after reboot, you should now have your gallery back and a newer camera icon that is darker gray in color with a dark blue center camera lense, open the camera app
-go to it's settings>more settings and to the right you'll now see an sd card icon, click and select the sd card and test it out!! that's it

video of using root browser lite to change permissions...in the video, it's a silent screen recorded guideline, my app was already installed, so I highlighted the options that show how to change the permissions and then when I highlighted showing "cancel/view/uninstall", if it wasn't installed the option would say "cancel/view/install"
https://www.youtube.com/watch?v=Uow9...e_gdata_player

*Newly added!!*--reinstalling sprint zone and voicemail
to install, follow the exact same steps as installing the camera/gallery apk files

-voicemail apk link: com.coremobility.app.vnotes
-sprint zone apk link: com.sprint.zone_4.6.017

if this worked for you, please post up and let us all know
Last edited by goku2778; 19th February 2014 at 07:09 PM.
The Following 11 Users Say Thank You to goku2778 For This Useful Post: [ View ]
7th February 2014, 06:19 PM   |  #2  
goku2778's Avatar
OP Senior Member
Thanks Meter: 142
 
174 posts
Join Date:Joined: Aug 2013
giving this thread a bump...i revised the apk installation steps since redoing this process after a few updates of cm11, they fixed the camera as far as adding the option for sdcard storage but I've been getting a lot of hang ups and crashes then "unable to retrieve camera" error messages when trying to open back up, even after a reboot.

I even installed today's release of the cm11 nightly and the camera was a crashing mess over and over, so for any having these camera issues, here you go!
9th February 2014, 01:04 AM   |  #3  
Member
Thanks Meter: 1
 
38 posts
Join Date:Joined: Jan 2014
im wondering if i will ever be able to use the sprint voicemail. since i loaded carbon 4.4.2 and wondeing if there was any way of making it easy to make a call from your messaging by just sliding either right or left instead of tapping?
using sph-l710
Last edited by villaf7420; 9th February 2014 at 01:13 AM. Reason: not enough info
9th February 2014, 09:47 AM   |  #4  
goku2778's Avatar
OP Senior Member
Thanks Meter: 142
 
174 posts
Join Date:Joined: Aug 2013
Quote:
Originally Posted by villaf7420

im wondering if i will ever be able to use the sprint voicemail. since i loaded carbon 4.4.2 and wondeing if there was any way of making it easy to make a call from your messaging by just sliding either right or left instead of tapping?
using sph-l710


yes you can! I have done this already, I installed the voicemail and sprint zone apps on my cyanogenmod 11 4.4.2 and they work...I'll make apk's for them as well and post them up, give me a few

edit...all uploaded for you my man, just do exactly the same as I noted doing for the gallery app installation, where to place it and changing the permissions, any issues post back up
Last edited by goku2778; 9th February 2014 at 10:09 AM.
The Following User Says Thank You to goku2778 For This Useful Post: [ View ]
14th February 2014, 05:28 AM   |  #5  
ssmercurys's Avatar
Senior Member
Flag Minneapolis, MN
Thanks Meter: 163
 
268 posts
Join Date:Joined: Jan 2009
More
Just wanted to say, tried most if not all AOSP roms and for some reason all of them freeze when switching back and forth. This is the only one that works 100%.
Thanks for the find.
The Following User Says Thank You to ssmercurys For This Useful Post: [ View ]
14th February 2014, 06:12 PM   |  #6  
goku2778's Avatar
OP Senior Member
Thanks Meter: 142
 
174 posts
Join Date:Joined: Aug 2013
Quote:
Originally Posted by ssmercurys

Just wanted to say, tried most if not all AOSP roms and for some reason all of them freeze when switching back and forth. This is the only one that works 100%.
Thanks for the find.

you're welcome and thanks for posting that it works! I kept having the same issues with the cameras on the cm11 and 10 roms, this 1 never failed me
14th February 2014, 11:59 PM   |  #7  
noles4life50's Avatar
Senior Member
Flag Naples
Thanks Meter: 195
 
239 posts
Join Date:Joined: Nov 2013
More
Just a heads up, the stock camera in slimkat (4.4.2 ROM) works perfectly, the devs fixed it on that rom

Sent from my SPH-L710 using Tapatalk
The Following 2 Users Say Thank You to noles4life50 For This Useful Post: [ View ]
15th February 2014, 12:52 AM   |  #8  
goku2778's Avatar
OP Senior Member
Thanks Meter: 142
 
174 posts
Join Date:Joined: Aug 2013
Quote:
Originally Posted by noles4life50

Just a heads up, the stock camera in slimkat (4.4.2 ROM) works perfectly, the devs fixed it on that rom

Sent from my SPH-L710 using Tapatalk

awesome, this camera apk I have listed here is from the slimbean 4.3.1 rom which is probably why it works perfectly on 4.4.2 slimkat, same devs
16th February 2014, 07:59 PM   |  #9  
Junior Member
Flag Houston Tx
Thanks Meter: 6
 
29 posts
Join Date:Joined: Sep 2010
More
thanks working on att gs3 on metropcs running unnofficial Beanstalk 4.4.2 rom 20140206 release... fix "cant connect to camera" error. Thanks again
The Following User Says Thank You to davidow For This Useful Post: [ View ]
17th February 2014, 07:28 AM   |  #10  
Junior Member
Thanks Meter: 2
 
27 posts
Join Date:Joined: Sep 2013
Thanks so much! I first created a backup. I used root explorer for the whole thing. I tried uninstalling via TiBu first, but it didn't actually remove the camera and gallery apks. I then tried ES File Explorer, but that requires you to set root to Apps and ADB, and I had deselected ADB some time ago.. I downloaded the apk and copied it to /system/app. I then manually deleted the two apks, changed permissions on your apk and installed. Rebooted and works wonders. Thanks!

I would like to suggest a n00b-oriented, step-by-step guide.
1. Use your favorite recovery manager and back everything up. This way, you can always go back if you mess something up.
2. Download and install Root File Explorer (Free).
3. Launch Root File Explorer. It will ask to download and install a few tools. Let it.
4. Go to where you downloaded the file (probably sdcard/Download). Hold your finger on the name and select copy.
5. Press the "Home" icon on the bottom left of the screen.
6. Click on the folder named "system" and then click on the folder named "app".
7. Select paste to copy the file here.
8. Press and hold the newly copied file, and select "Permissions".
9. Set the permission to rw-r--r--, or 0644. In other words, select "Read" for all three, and then select "Write" for Owner. Everything else should be unchecked, and hit OK.
10. Scroll down and fine GoogleGallery.apk and GoogleCamera.apk. Select GoogleGallery.apk and press uninstall. Then long press the apk and delete it. Do the same for GoogleCamera.apk.
11. Find the new apk that you just downloaded (com.android.gallery3d_1.1.40012.apk) and press it. Select install.
12. Once installed, back out of everything and reboot your device. When the device reboots it will say it is updating 1 application.
13. You are now rebooted with the new, fixed, camera. The icon is now darker, and with a blueish/purpleish lens.
14. No, none of your files have been deleted. Enjoy your working camera!
15. Check out the new options! In the extended settings, you can now click on the SD card icon and instantly select to use your internal storage or your external SD card (if present) to save your photos to!
16.Give goku2778 your Thanks!
Last edited by orgon3; 17th February 2014 at 08:52 AM. Reason: changed the wording to be more what i wanted to say

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes