[HELP] Making Gallery.apk working on my phone - Android Q&A, Help & Troubleshooting

Hi, all!
I need expert help and advice in trying to get a certain GalleryGoogle.apk (Gallery + Camera + Video Camera app) working on my phone.
This GalleryGoogle.apk was included inside a package called "4.2 Google Apps" I found here on XDA.
Its a cwm-flashable .zip that includes GalleryGoogle.apk along with DeskClockGoogle.apk (Clock), GmsCore.apk (Google Services) and also LatinImeGoogle.apk (Android Keyboard with gesture typing).
All those apps I tested to be working on my phone, except the GalleryGoogle.apk. The Camera, Panorama and Gallery itself work but whenever I go to the video camera, as soon as I press record, it catches a frame, then force closes, recording a clip that's barely a second in duration.
The reason why I'd like to replace my phone's stock Gallery.apk is because I'm creating a ROM and I'd like to give the camera the PIE-like UI. Now I'm not quite familiar in compiling/decompiling apks so I thought I should ask for all of your help.
Also, I'm not sure if it would be any help, but the cwm-flashable package also included a folder named "lib" which includes the following files:
libjni_latinimegoogle.so (I think this is for the keyboard. The rest, I don't know what they're for)
libjni_filtershow_filters.so
libjni_mosaic.so
liblightcycle.so
I've put a MediaFire link for a .zip file that contains the following files:
Phone's Stock Gallery.apk (Odexed)
Phone's Stock Gallery.apk (Deodexed)
GalleryGoogle.apk from the 4.2 Google Apps.zip
4.2 Google Apps.zip that contains the lib.so files
I hope you guys can help me out with this one!
I'd also try and see if I can grab a logcat for the force close I was getting whenever I try to record a video.

just bumping this up... :/

Did you push all the apps into system/app and give them proper permissions? And the lib files are necessary for the app to work. So place it inside system/lib and give them the correct permissions too
Sent from my HTC Wildfire S A510e using xda app-developers app

FAtfcK said:
Did you push all the apps into system/app and give them proper permissions? And the lib files are necessary for the app to work. So place it inside system/lib and give them the correct permissions too
Sent from my HTC Wildfire S A510e using xda app-developers app
Click to expand...
Click to collapse
Yes. I went and made sure everything's copied to the correct path with the right permissions, rebooted, still no go. :/

bumping this up! hope someone has a better idea!

Bumping this up along with a logcat I've posted here.

Please help! Just bumping it up...
Sent from my Thrill 430x using Tapatalk 4 Beta

What build of jb are you trying to put the 4.2 camera on? I'm currently trying different gallery apk from 4.2 on my 4.1.2 ROM. I tried many gallery apk files and found one or two weren't compatible and forced closed on me.
Have you tried using a different gallery apk from another 4.2 ROM? And did you wipe data and cache before removing the old gallery? Have you tried wiping the cache, dalvik and fix permissions from CWM after putting the files in your system?
This is the gallery apk I'm using http://db.tt/wfjAV9j1 pulled from slim bean 4.2
I currently trying to figure out how to get the night mode under ISO setting working on 4.1.2
Sent from my GT-I9000 using xda premium

It's 4.1.2 jellybean. Wiped data and cache always and also fix permissions each and everytime. I tried the apk you attached, unfortunately it did not work for me as well. Camera and Panorama works flawlessly. Video Camera is the only thing not working. What's interesting is only the rear camera doesn't work on video recording, but the front camera works.
Sent from my Thrill 430x using Tapatalk 4 Beta

Dude wrong section.......... this is for software development........ secondly you cant bump threads in XDA...... reported to the mod
hope you'll find a better answer

Related

[APK] Vibrant STOCK .apk MASTER LIST

So I have seen many people asking for the original stock .apk's that they have accidentally have deleted playing with Root Explorer or for whatever reason. I have pulled the whole "/system/app/" files off of my phone, but not sure if this is all of them or if they are going to work.
I am going to be posting of few up here so please let me know if they work.
Also, if you are in need of a stock .apk, please feel free to post what one/s you need.
Also, please feel free to add any stock .apk's anyone you have as well.
AddToHome.apk http://forum.xda-developers.com/attachment.php?attachmentid=383393&stc=1&d=1282191659
Browser.apk http://forum.xda-developers.com/attachment.php?attachmentid=383394&stc=1&d=1282191659
Maps.apk http://forum.xda-developers.com/attachment.php?attachmentid=383395&stc=1&d=1282191659
Memo.apk http://forum.xda-developers.com/attachment.php?attachmentid=383396&stc=1&d=1282191659
Would be great if you could upload the stock Gallery app. Tried the patched 3d gallery but it has been running very slow and had some fc's. tia
I believe I have the .apk for Sims 3 if you'd like
All apk's can be found at
http://zedomax.com/download/samsungvibrantapps.zip
Courtesy of http://samsungvibranthacks.com
Thanks man .
lqaddict said:
All apk's can be found at
http://zedomax.com/download/samsungvibrantapps.zip
Courtesy of http://samsungvibranthacks.com
Click to expand...
Click to collapse
I have been trying to find the Vibrant's stock Alarms and Clocks apk. It doesn't seem to be included in the zip. Does anyone have any idea where I can find this?
I am currently running Eugene's vibrant6.
Thank you in advance
rUsTyRuSs said:
I have been trying to find the Vibrant's stock Alarms and Clocks apk. It doesn't seem to be included in the zip. Does anyone have any idea where I can find this?
I am currently running Eugene's vibrant6.
Thank you in advance
Click to expand...
Click to collapse
Note: If you are trying to re-install these on the stock rom you need the .apk and the .odex file if it has one.
Here is the link to the entire system dump that has all the stock apps:
http://db.androidspin.com/androidspin_filedownload.asp?release=311&type=1
the3dman13 said:
Note: If you are trying to re-install these on the stock rom you need the .apk and the .odex file if it has one.
Here is the link to the entire system dump that has all the stock apps:
http://db.androidspin.com/androidspin_filedownload.asp?release=311&type=1
Click to expand...
Click to collapse
Thank you very much. I have something to do when I get home now
Ive been trying to install memo.apk on the Vibrant6 rom and the app never shows in drawer and when I copy over the odex file. When I reboot my phone loads up gets to the Samsung S and then everything goes black, but the bottom buttons will light up luckly I can pull the battery and reload my Nandroid backup.
/system/app/
I've been using Root Explorer and Su File manager with no luck.
I'm starting to feel a bit stupid here. I at first made sure the permissions of the files where the same as the files in /system/app with no luck.
kizer said:
Ive been trying to install memo.apk on the Vibrant6 rom and the app never shows in drawer and when I copy over the odex file. When I reboot my phone loads up gets to the Samsung S and then everything goes black, but the bottom buttons will light up luckly I can pull the battery and reload my Nandroid backup.
/system/app/
I've been using Root Explorer and Su File manager with no luck.
I'm starting to feel a bit stupid here. I at first made sure the permissions of the files where the same as the files in /system/app with no luck.
Click to expand...
Click to collapse
Any luck on this? I'm trying to do the same thing but the memo and the calculator but no luck.
Is it possible to install the memo.apk on an evo? I really like that application and I haven't seen anything quite as nice as it.
Anyone have the mobitv apk? I can only find the captivate version.
Sent from my SGH-T959 using XDA App
...
Woo-hoo! These provided me with immediate & long term assistance in several issues I had developed with my Vibrant. Most importantly I got my camera app back, that was an "oh s***" moment, lol.
Many thanks! =)
-RMB
Stock apk
I was wondering if anyone has the program monitor widget thanks.
oquinones said:
Any luck on this? I'm trying to do the same thing but the memo and the calculator but no luck.
Click to expand...
Click to collapse
kizer said:
Ive been trying to install memo.apk on the Vibrant6 rom and the app never shows in drawer and when I copy over the odex file. When I reboot my phone loads up gets to the Samsung S and then everything goes black, but the bottom buttons will light up luckly I can pull the battery and reload my Nandroid backup.
/system/app/
I've been using Root Explorer and Su File manager with no luck.
I'm starting to feel a bit stupid here. I at first made sure the permissions of the files where the same as the files in /system/app with no luck.
Click to expand...
Click to collapse
Same issues here, anyone know how to get the memo to work ??
lqaddict said:
All apk's can be found at
http://zedomax.com/download/samsungvibrantapps.zip
Courtesy of http://samsungvibranthacks.com
Click to expand...
Click to collapse
Does this have the original camera app or the updated one that does the photos from newest to oldest?
Anyway to get the stock samsung music player from eclair 2.1
Sent from my SGH-T959 using XDA App
the3dman said:
Note: If you are trying to re-install these on the stock rom you need the .apk and the .odex file if it has one.
Here is the link to the entire system dump that has all the stock apps:
http://db.androidspin.com/androidspin_filedownload.asp?release=311&type=1
Click to expand...
Click to collapse
I tried downloading from the first links to the apps and from yours. I have both the original Musicplayer.apk and .odex files in the /sdcard/ folder but the application does not install. I'm on ASOPish 1.1 Froyo.UVJK2.
What I'm trying to get from that app is the feature it has that it enables you to listen to the call from whatever is plugged into the 1/8 jack - in this case, earphones or my aux jack in the car, which was very handy for handsfree calling on the road.
Puushiki said:
I believe I have the .apk for Sims 3 if you'd like
Click to expand...
Click to collapse
will this work on captivate!? if so i would greatly appreciate if you sent that on over
Memo.apk on Bionix V
I'm trying to get the Memo.apk to install on my Vibrant with Bionix V. Can anyone help?
EDIT: NVM I got the correct memo.apk from the Bionix V thread!
I'll post the apk below.

[Q] Problem pushing apps from root explorer

I've searched, and I can't figure out why when I put the tw calculator in the /system/app folder and fix permissions that the program wont show up in the app drawer or anywhere else. Can someone help me?
forgot to mention that I did have it mounted rw as well. Just as a side note, I deleted the stock ugly calc that came with Eugene's FrankinWiz and was trying to put the original TW Calc back in. No matter what I do I can't get it to show up in the app drawer, etc.
I know it's a noob question but can anyone help?
Sent from my Vibrant. Most errors courtesy of Swype.
Are you putting both the stock tw calendar .apk AND the .odex file in system/app and rebooting?
I put a step by step for replacing the stock calendar in the general sticky thread, perhaps try there?
So I need to push the odex file too? Would this work for all share and the office app as well? I'm trying to get them back into frankenwiz.
I did read your sticky post about calendar, calculator seems different.
Sent from my Vibrant. Most errors courtesy of Swype.
Ahh, just realized you said calculator, and not calendar. I know nothing of Eugene's rom, but if there is a .odex, and I asssume there is then yet, it too would need to be put in system/app
Or you could just pull deodexed apk's of the apps you want from the deodexed rom in the bible sticky in the dev section. Thats what I did for eugenes vibrant9 for allshare, works well. I haven't tried it with frankenwiz though.
Sent from my SGH-T959 using XDA App
How would deodexed make it easier? Does it push the same or?
Sent from my Vibrant. Most errors courtesy of Swype.
Because eugenes roms are deodexed. I personally dont know but im sure some dev could explain, but when I try copying a odexed apk and odex file to system/app it never shows up in the app drawer, but the deodexed apk alone will. Just try it.
Sent from my SGH-T959 using XDA App
Thanks for the help. I got everything into the FrankinTwiz except for allshare. I believe it's dlna.apk but pushing it doesn't put it in the app drawer.
Anyone have any luck getting allshare to work with FW?

[MOD][9/14/11][FIXED] GB Touchwiz (Stock/PW) Camera v1.0: Power Button->Shutter Key

[MOD][9/14/11][FIXED] GB Touchwiz (Stock/PW) Camera v1.0: Power Button->Shutter Key
[SIZE=+1]EDIT (9/14): I've had the wrong link posted for days, but it's now corrected. Sorry about that! If you had trouble with force closes, please re-download and replace the file. (I had the froyo version posted instead of the gingerbread version, doh!)
[/SIZE]​Current Functionality over stock Camera.apk:
Settings menu option to enable/disable GPS tagging for pictures (ported from EH09)
Power Button in Camera mode becomes functionally the same as the touchscreen Shutter Key
[SIZE=+1]GB Touchwiz Camera Mod v1.0 - APK version[/SIZE]
Camera.apk - Download @ MediaFire.com
Installation: Since this is a system app, it cannot be installed using the Package Installer. Camera.apk must replace /system/app/Camera.apk. You can accomplish this many different ways. Two common methods are: 1) use ADB to push it ("adb push Camera.apk /system/app/Camera.apk"); or 2) copy Camera.apk to your SD card, then use a program like Root Explorer to move it to "/system/app/". If you are running a Stock GB rom, you will want to delete any camera.odex files in /system/app/, clear dalvik cache and reboot. For most deodexed roms, a reboot is only necessary if the camera is not working correctly after installation.​For more information, feel free to read through the Froyo camera mod thread.
[SIZE=+1]
I have tested this on my phone with PWGB Version 2.0 (Beta 3). Please use at your own risk, and please post any successes, failures, bugs, feature request, etc. Also, please post what ROM you are using.
The more feedback I receive, the more likely I will continue this project with new features, CWM files, updated camera files, etc.[/SIZE]
Also, since I'm currently broke and looking for a job, donations might tempt me into spending more time around here . Let me know if there is anything that needs hackin'!
Would this functionality be possible for the miui camera?
Fascinatemtd MIUI 1.9.2
Joshuaboyzn said:
Would this functionality be possible for the miui camera?
Fascinatemtd MIUI 1.9.2
Click to expand...
Click to collapse
I'm sure it would be. Of course, they actually have the source code for MIUI, so they wouldn't need to do byte-code hacking in order to accomplish it.
I would try the MIUI.us forums. Maybe someone would be able to point you in the right direction. Maybe it's already been done...
good to see ya again gizmodroid!
nitsuj17 said:
good to see ya again gizmodroid!
Click to expand...
Click to collapse
Thanks man, I've been trying to get back here for months. Pesky "life" has foiled my plans...
Copied over the top of my camera.apk file using root explorer. Rebooted and wiped Davlik. Now shortcut is missing so I tried to readd it and it is missing from the app list. My dumbass didn't rename the camera.apk file before copying the new one so I cannot restore original. Any quick suggestions?
Sent from my SCH-I500 using XDA Premium App
What rom are you using?
CM 7.1 7/17 I can pull the camera.apk from the rom, just being lazy and hoping there is an easy fix.
Sent from my SCH-I500 using XDA Premium App
Haha, nope, that's the easiest fix.
This camera relies on the touchwiz libraries which are only found on Samsung based roms. It won't work on CM7/MIUI/ASOP roms.
Haha I figured. Me dumbass.
I swore my camera had the button feature, but it was not working lastnight. Guess I will restore the file from my rom.
Sent from my SCH-I500 using XDA Premium App
ED05 report...
Working perfectly with PowerWash V1.2, GeeWiz v1.1 Kernel, CFQ and OC'ed to 1.4GHz.
Thanks for the feedback!
beray5 said:
Working perfectly with PowerWash V1.2, GeeWiz v1.1 Kernel, CFQ and OC'ed to 1.4GHz.
Click to expand...
Click to collapse
Actually, that's interesting. Powerwash v1.2 was Froyo based. I never considered that the app might be compatible with Gingerbread and Froyo roms.
I guess I didn't need to open a new thread... hmm. Well, maybe I'll do some rearranging sometime soon.
EDIT (9/14): No wonder it worked, I had the froyo version linked! Whoops!
Im running PWGB v2.0 b3 and i just installed this and everytime i go to take a pic either with power button or on screen the flash just goes off then i get a force close message:
The application Camera (process com.sec.android.app.camera) has stopped unexpectedly. Please try again
Any ideas?
If not could someone please post the stock camera apk so i dont have to redo all over again.
Thanks
Interesting... that's the rom I used when developing this hack.
How did you install the camera.apk?
The stock camera can be pulled out of the powerwash rom. Or I can upload it later when I'm at the computer.
GizmoDroid said:
I'm sure it would be. Of course, they actually have the source code for MIUI, so they wouldn't need to do byte-code hacking in order to accomplish it.
I would try the MIUI.us forums. Maybe someone would be able to point you in the right direction. Maybe it's already been done...
Click to expand...
Click to collapse
Gizmo, i have tried on the miui forums, doesn't seem like there is anything yet. How likely would you be to do a aosp/miui version? I'd be happy to donate.
OK, I look into it in the next couple days. I am working on an old computer so I doubt I'll be building it from source, but I might be able to work up a quick hack.
GizmoDroid said:
Interesting... that's the rom I used when developing this hack.
How did you install the camera.apk?
The stock camera can be pulled out of the powerwash rom. Or I can upload it later when I'm at the computer.
Click to expand...
Click to collapse
Thanks for the quick reply!
I installed by placing on SD Card and then using Root Explorer to replace in system/app
I tried to extract the camera apk but the file is a .tar odin file and i couldnt find an "app" folder anywhere in it.
I tried the camera.apk from ComRom GB and it works half the time.
One thing i did do after flashing PWGB Rom was run the permissions.zip from the op because i was having problems with Google Maps..wonder if that has anything to do with it....
briguyy said:
Thanks for the quick reply!
I installed by placing on SD Card and then using Root Explorer to replace in system/app
I tried to extract the camera apk but the file is a .tar odin file and i couldnt find an "app" folder anywhere in it.
I tried the camera.apk from ComRom GB and it works half the time.
One thing i did do after flashing PWGB Rom was run the permissions.zip from the op because i was having problems with Google Maps..wonder if that has anything to do with it....
Click to expand...
Click to collapse
Hmm, that should have worked. I'd love to see a debug report or logcat from when it crashes, if you have the time and know-how.
Otherwise, here is the the stock, unmodified powerwash camera:
http://www.mediafire.com/?225yhhc8wrsh70m
GizmoDroid said:
Hmm, that should have worked. I'd love to see a debug report or logcat from when it crashes, if you have the time and know-how.
Otherwise, here is the the stock, unmodified powerwash camera:
http://www.mediafire.com/?225yhhc8wrsh70m
Click to expand...
Click to collapse
Thanks! Just before you posted i reflashed again thinking a fresh install would fix it. So i flashed, ran the permissions zip put in your apk and same thing, force close....i dont know how to create a logcat or debug but can research it.

stock camera.apk

Hey everone,i really miss the samsung stock camera which took fantastic picrures.
I really miss the focusing with my finger and the automatic iso. So is there any way to install the samsung stock camera 2.3.6?
why did you get rid of it in the 1st place?
i did not know that finger focusing and metering will be affected.
search stock camera apk .
jje
bitmappp said:
Hey everone,i really miss the samsung stock camera which took fantastic picrures.
I really miss the focusing with my finger and the automatic iso. So is there any way to install the samsung stock camera 2.3.6?
Click to expand...
Click to collapse
Here is camera apk.:
in a similar situation, long story short stock camera app is gone :S
and nothing camera related appears in /system/app that is, no camera.apk and no camera.odex, tried downloading camera.apk from above attachement, copied it back into /system/app and when i click on it, it eventually gives me the message " Application not installed"
anyone have a simple solution? other than to re-install another rom etc
sam stock camera on cwm 10.1
clownage said:
in a similar situation, long story short stock camera app is gone :S
and nothing camera related appears in /system/app that is, no camera.apk and no camera.odex, tried downloading camera.apk from above attachement, copied it back into /system/app and when i click on it, it eventually gives me the message " Application not installed"
anyone have a simple solution? other than to re-install another rom etc
Click to expand...
Click to collapse
The same issue ( running SentinelRom on SGI9305 )
Did you fix Permissions?
I believe it needs to be.....
RW- R-- R--
Or
XX□
X□□
X□□
In the app permissions chart in any root level explorer....
And then reboot.....
Sent from my Rooted, De bloated Stock JB powered S2 via PhilZ kernel and Tapatalk 2....
For the stock camera to work, you need to be on a stock ROM btw

[Q] camera not working

My sgs2 camera stopped working since i changed from GB to ICS 3 days ago. Whenever i launch the camera app the screen goes black and after 25secs a message pops up saying: "unfortunately, Camera has stopped." I'm currently using Criskelo Servan Team ICS V5 rom. Can someone give me some help to fix this problem since i cannot post on developers thread to get help from there.
thanks.
It's weired, i had the exact same problem... but somehow it got fixed by itself.
Whenever I wanted to launch the camera (either by the lockscreen shortcut or inside the app drawer) the screen turned black and after a few seconds it went back to the home screen.
I don't know why but now the camera is working perfectly.
I don't know what happened to make it work so I'm sorry I can't really help. The last thing i did to launch the camera though was through google maps. I selected a place and now you can choose "add a picture". I selected it thinking that the camera app wouldn't be able to launch again but BOOM ! it did anyway.
Before that I grabed another camera app on the store just to check if the hardware was still ok and the app worked fine.
Anyway, I have the same rom as you so I just wanted to say that the camera CAN work with this rom.
Well I tried what you did and I'm still getting the same: "Unfortunately, Camera stopped" message. So I'm back to square 1.
Sent from my GT-I9100 using XDA App
Have you tried another camera app from the store ?
Yes I have tried "camera ICS" which works pretty well but when you use the video recorder once you press stop button the whole phone freezes. I would try another app in a bit.
Sent from my GT-I9100 using XDA App
Guys, open root explorer, navigate to system/app, make sure mount is r/w not r/w in top of root explorer, click on camera apk,it will ask you if you want to replace it,click yes. Then reboot. Should working now.
Thanks 078gregory but what apk am I replacing it with? The camera ICS apk?
Sent from my GT-I9100 using XDA App
I tried this and it worked. Instructions from ephraim033 in the 3rd post see link.
http://forum.xda-developers.com/showthread.php?t=1527937
Sent from my GT-I9100 using XDA App
Hello everyone !
First of all thank you for sharing your tips and knowlegde... this is a nice community !
So I've tried to just copy it and past it in my SGS2 (after renaming the original Camera.apk) and it crashes from the beginning, always. I'm on crsikelservan ICS V5 Rom version. (XXLPQ)
Any advice ?
Thank you
You have to use "root explorer" and mount it in R/W mode.
1. go into the criskelo servan rom v5 that should be in your internal sd.
2.Open the rom folder then go into the apps folder and find the camera.apk file.
3. Extract the file, you'll then get a pop up asking if you would like to go to that folder where the camera.apk file was extracted to or stay in the current folder.
4. Select the "go to that folder" option, you would see the camera.apk there.
5. long press on the camera.apk and select the "move" option. You should be now in the parent folder after selecting that option (if not go there!).
6.From in the parent folder go into the system folder and paste the "camera.apk" file in the apps folder.
7. Pop up should appear asking if you want to overwrite the camera.apk that's there already, select overwrite.
8. Close root explorer and launch your camera, it should be working fine now.
NOTE: I did this as well to fix my Bluetooth that wasn't working as well from my Criskelo Servan Rom V5. I wasn't getting any bluetooth options when I launched my Bluetooth. After repeating the same process I used above (just replacing the Bluetooth.apk instead) I was able to get all Bluetooth options and functions.
ALSO NOTE: I give thanks to the ephraim033whose advice I used to correct my camera issue (link attached in my last post) as well as 078gregory Which without their knowledge I would not be able to solve my camera issue! SO IF THIS POST HELPED YOU HIT THE THANKS BUTTON HERE AND MOST IMPORTANTLY, CHECK OUT MY LAST POST AND THANK EPHRAIM033 THAT HELPED ME BY VIEWING THE LINK THERE AND THANKING HIM AS WELL & 078GREGORY WHO POSTED PREVIOUSLY IN THIS THREAD.
Sent from my GT-I9100 using XDA

Categories

Resources