Gapps replacing camera, how? - Samsung Galaxy Nexus

Well pretty much I downloaded a ROM with a bunch of camera features "smart capture, power shutter" etc. When I flash gapps over that it gets replaced by the stock camera. No options + photosphere. Now that behavior is normal and I know that.
The ROM apk in /system/app is Gallery2.apk and the gapps package has GalleryGoogle.apk.
After flashing I delete GalleryGoogle.apk from /system/app and replace it with Gallery2.apk that I extracted from the ROM zip. Reboot and it works fine. All the new options are there. Great.
HOWEVER. I deleted GalleryGoogle.apk from the gapps package system app folder, yet any time I flash that same package my camera still gets replaced... what else do I need to delete in gapps to keep the camera in the ROMs zip file? Thanks

So are you wanting gallerygoogle or galery2? And which gapps file are you using? Mine doesnt have gallery2 in it and has galleyrgoogle.apk inside an "optional" folder. I'm using gapps-jb-20130301-signed.zip

Inverted gapps from TeamBlackOut.
I want the Gallery2.apk which has all the extra features.
I deleted GalleryGoogle.apk (stock camera) from gapps, yet when I do a clean install I always have the stock camera and need to delete and replace it with Gallery2.apk.
I will check the optional folder though. Not sure how it keeps getting replaced aha
EDIT: That did it, thanks d00d. Haven't seen much of you since they closed the X2 OT thread... Bastards.....Or anyone else for that matter

Related

[REQ] Stock samsung clock/alarm 1.0 for 4.0.4 AOKP based rom

As the title says, im trying to look for a stock sammy clock 1.0 (alarm/clock in one) for 4.0.4 AOKP based roms. Been searching forums, only found one for nexus but it wont work for i9100. Does anyone have the zip/apk for it that works? If not, is it possible to port to AOKP? If not, is there an equivelant app in the store that does the same features as the sammy original?
Hello!
I'm also looking for the clock and fmradio applications from stock samsung roms.
I've been trying to extract and install fmradio - I've done the following:
Unzipped an official LP7 rom,
Converted the factoryfs.img to ext4 with sgs2toext4.jar
Mounted factoryfs.ext4.img with DiskInternals Linux Reader
Extracted FmRadio.apk and FmRadio.odex
Edited the FmRadio.odex with HEX editor (As shown here)
Renamed the edited FmRadio.odex to classes.dex and pushed that into the root of the FmRadio.apk (Means that I have a deodexed FmRadio apk)
But after these steps FmRadio.apk still failed to install on Hydrog3n ics 4.0.4 (aokp milestone 5)
I would be glad, if someone would say, that is it possible to use stock samsung apps on aokp, and if yes, what is the "method".
Look at this thread
Here is a possible solution, check it out
Gyebro said:
Hello!
I'm also looking for the clock and fmradio applications from stock samsung roms.
I've been trying to extract and install fmradio - I've done the following:
Unzipped an official LP7 rom,
Converted the factoryfs.img to ext4 with sgs2toext4.jar
Mounted factoryfs.ext4.img with DiskInternals Linux Reader
Extracted FmRadio.apk and FmRadio.odex
Edited the FmRadio.odex with HEX editor (As shown here)
Renamed the edited FmRadio.odex to classes.dex and pushed that into the root of the FmRadio.apk (Means that I have a deodexed FmRadio apk)
But after these steps FmRadio.apk still failed to install on Hydrog3n ics 4.0.4 (aokp milestone 5)
I would be glad, if someone would say, that is it possible to use stock samsung apps on aokp, and if yes, what is the "method".
Click to expand...
Click to collapse
The apk will never install, it will need to be pushed as it is a system app. And/or use a root browser/explorer and place in system/app then reset the permissions to match the app above it, set back to read-only -> reboot recovery -> clear dalvik -> reset permissions (do it anyway) and then boot. Ensure you are running a FMradio equiped kernel or else it won't work anyway.
PS: You can run the Gingerbread apk if you like, I tested a SGS1 gingerbread FMradio apk from JVS and it works perfectly fine and even looks the same as the ICS one....yell out if you get stuck and I will upload it.
PPS: You will also need the fmradio.so to push into /system/lib or else it won't work.
james
Gyebro said:
Here is a possible solution, check it out
Click to expand...
Click to collapse
That worked like a charm for me
Jarmezrocks said:
The apk will never install, it will need to be pushed as it is a system app. And/or use a root browser/explorer and place in system/app then reset the permissions to match the app above it, set back to read-only -> reboot recovery -> clear dalvik -> reset permissions (do it anyway) and then boot. Ensure you are running a FMradio equiped kernel or else it won't work anyway.
PS: You can run the Gingerbread apk if you like, I tested a SGS1 gingerbread FMradio apk from JVS and it works perfectly fine and even looks the same as the ICS one....yell out if you get stuck and I will upload it.
PPS: You will also need the fmradio.so to push into /system/lib or else it won't work.
james
Click to expand...
Click to collapse
Thanks for the instructions! What should I do with a freshly extracted stock GB FmRadio.apk (do i need to decompile it, remove dependencies, copy resources, remove tw references, recompile, test, etc) Or exracting and deodexing then pushing is enough?
Also I think, that when I extract the fmradio.apk from JVS rom, then only pushing (with the .so) is needed. Is this correct?
Jarmezrocks said:
The apk will never install, it will need to be pushed as it is a system app. And/or use a root browser/explorer and place in system/app then reset the permissions to match the app above it, set back to read-only -> reboot recovery -> clear dalvik -> reset permissions (do it anyway) and then boot. Ensure you are running a FMradio equiped kernel or else it won't work anyway.
james
Click to expand...
Click to collapse
I've placed my FmRadio.apk (extracted from a stock deodexed ics) to system/app and placed libfmradio_jni.so to system/lib. (With ES file explorer) then restored the read only permissions, then reboot recovery, wipe dalvik cache and fix permissions. After reboot (and some app optimizations) the radio did not show up : (
By the way spriritFm works, so I think my kernel is capable.
(Should I try with a GB stock deodexed apk?)
Gyebro said:
I've placed my FmRadio.apk (extracted from a stock deodexed ics) to system/app and placed libfmradio_jni.so to system/lib. (With ES file explorer) then restored the read only permissions, then reboot recovery, wipe dalvik cache and fix permissions. After reboot (and some app optimizations) the radio did not show up : (
By the way spriritFm works, so I think my kernel is capable.
(Should I try with a GB stock deodexed apk?)
Click to expand...
Click to collapse
No the kernel needs to support bcm4329.ko, if it doesn't then don't bother...trust me I have had a heap of SGS1 users try and they all get the same thing as you.
I would also check to see if you can get the app working touchwized first before you go to the efforts of de-touchwizing the app.
What I mean by this is including the twframework.apk and twframework.jar in the directiory /system/framework
Try this first, use a deodexed ICS FMradio apk and if the app works with a supported kernel.....THEN think about de-touchwizing it
Sorry to go off topic.
Jarmezrocks said:
No the kernel needs to support bcm4329.ko, if it doesn't then don't bother...trust me I have had a heap of SGS1 users try and they all get the same thing as you.
I would also check to see if you can get the app working touchwized first before you go to the efforts of de-touchwizing the app.
What I mean by this is including the twframework.apk and twframework.jar in the directiory /system/framework
Try this first, use a deodexed ICS FMradio apk and if the app works with a supported kernel.....THEN think about de-touchwizing it
Sorry to go off topic.
Click to expand...
Click to collapse
Thanks for the answer, I've placed the FmRadio.apk, libfmradio.so, twframework-res.apk and twframework.jar files to their appropriate folders in the system folder. I've set their permissions to rw-r--r--, then rebooted, entered recovery, wipe dalvik, fix permissions. -> After all these steps; Should I install the apk, or the radio is supposed to be in my app drawer? (And if the radio is not in the application list, this means, that my kernel does not support the mentioned .ko?)
is it possible that you update these files for me?
and by placing twframework files into their right places, the phone should be able to get sammy apps functioning with an aokp rom on?!

How To: Restore 4.1 Camera on 4.2 ROM

I'm sure there is a very small group of you who are like I am, I want to be up to date, but the 4.2 camera is killing me with it's lag, something that not even the 4.0 camera had. So I figured I'd go ahead and try the reverse of the mod of getting the 4.2 camera on 4.1.
1. Use a file explorer with root access (I use ES File Manager) and navigate to the System/Apps folder.
2. Rename GalleryGoogle.apk so the system does not see it. (I renamed it to GalleryGoogle.apk2)
3. Copy the GalleryGoogle.apk on here and paste it into the System/Apps folder.
4. Once copied, set permissions on the app.
5. Reboot
Once the phone comes back up, you should have a full functional 4.1 camera running, the lock screen still works, it just boots to the new (or old?) camera instead. I hope this helps in case it was bugging others like it was me, I plan on keeping the old camera until they work those bugs out.

HOW TO: Get flawlessly working Gallery with Picasa sync in Smoothrom

Hi! I found a way to make Gallery to work flawlessly with Picasa sync in Smoothrom (should work in other roms)....:laugh:
I did research but this solution posted in [APP][MOD][addon.d] Stock Gallery w/ Picasa Sync by mkilc when you try to share or edit the images the app crash or it tells you that it cant use the image.
The steps:
1) Download Stock rom, I downloaded Grouper-JDQ39_4.2.2-Deodex_Rooted-02-14-13-teshxx.zip from goo.im
2) OF COURSE Download SmoothRom (5.1 in my case)
3) Extract content of stock rom to a folder
4) Open Smoothrom using 7-zip or whatever you like
5) Go to system/app and delete Gallery2.apk
6) Find in the extracted stock files system/app/GalleryGoogle.apk and rename it to Gallery2.apk
7) Copy the renamed file into the open folder in 7-zip of Smoothrom (system/app)
8) Now you can install the ROM as you would normally do: BACKUP WIPE INSTAL ZIP......
9) DONE!! Now you can edit and share Picasa images without any problems.
I know there must be a way doing this without having to wipe and install but i did this because I needed to reinstall the rom after messing up without backup.
It should be something like this: Force Aplication shutdown, delete Gallery2.apk from system/app / copy the renamed file from the stock rom / reboot in recovery / wipe dalvik cache and reboot.... CORRECT ME IF IAM WRONG, Im not an expert....
I hope you found this usefull

Cyanogenmod 10.1 stock camcorder?

Anyway to reinstall it? Like can someone send me the apk pretty please or teach me how to extract it from the ROM in the zip file?
kirbymaster101 said:
Anyway to reinstall it? Like can someone send me the apk pretty please or teach me how to extract it from the ROM in the zip file?
Click to expand...
Click to collapse
MAKE A NANDROID BACKUP FIRST OR YOU ARE A NOOB!!!!!!!!!!!!!!!!
Download rootbrowser lite from the market. Now if you have the cm zip on your phone, navigate to it, open it, go to system, then go to app and find gallery2.apk. Click on it and rootbrowser will give you 2 options, click extract. This will extract just the apk to /storage/sdcard/0/extracted (its a folder now). Great now to add it to whatever rom you are running right now:
If you are trying to install the camera app on any touchwiz based rom it will fail, don't try, it will fail. If you are installing it on another AOSP follow the following directions:
1. With rootbrowser go to /system/app in the root directory of your phone. Then find your gallery2.apk and copy it and paste it somewhere on your sdcard (not in the extracted folder though) where you can find it in case something goes wrong.
2. After storing your old camera apk somewhere safe, go to the extracted folder on your sdcard and copy the gallery2.apk you extracted from cm.
3. Paste the cm gallery2.apk in the system/app root folder on your phone. It should ask if you want to overwrite a file (it will be overwriting your old gallery2.apk) just hit yes.
4. Reboot and hope for the best.
5. If it doesn't work try either clearing dalvic cache, cache or fixing permissions from your recovery
6. If all else still fails it means that the cm camera simply won't work with the rom you are using. This is why you made a backup. Simply find where you put your backup apk and copy it back to system/app folder and overwrite the cm one.
Once again you should have made an nandroid backup from your recovery before doing this so worst comes to worst you can always restore to that if you screw up.
If I have helped, please slap that thanks button

[Q] Gallery has stopped working

So basicly I've been using KK 4.4 for a while now, but I don't like the camera. My friend has the S3 with JB 4.1, and I like his camera more so I downloaded stock JB gallery, placed it into System/Apk with permissions. Cleared cache and dalvik, still can't run downloaded gallery. Help please
kr1pt said:
So basicly I've been using KK 4.4 for a while now, but I don't like the camera. My friend has the S3 with JB 4.1, and I like his camera more so I downloaded stock JB gallery, placed it into System/Apk with permissions. Cleared cache and dalvik, still can't run downloaded gallery. Help please
Click to expand...
Click to collapse
If you want to try and run a different Gallery.apk or Camera.apk, you need the dependent libs in /system/lib as well. To find the libs that are tied to the apk, open terminal emulator and run this command:
Code:
strings /system/app/Gallery.apk | grep -ai \\.so
Then copy those libs from the S3 to /system/lib and fix perms: chmod 0444.
Make sure you do a nandroid backup first. There's a chance those libs could be used by other apps and cause a bad reaction. This is your best chance though.
If this doesn't work, I recommend trying "Snap" app. It's a super camera that combines all android camera features, and it has the new and old gui too which is nice.

Categories

Resources