[APP][Updated 2015-11-12] HTC One A9 Camera/Gallery/Editor for Marshmallow GPE - One (M8) Themes and Apps

I pulled the Camera (Camera2), Gallery (HMS_Gallery_GP) and Photo Editor (HMS_PhotoEnhancer_GP) apps from LlabTooFeR's A9 dump (link). I wanted to see if they'd work on my GPE-converted HTC One M8 running Android Marshmallow 6.0 (MRA58K).
Update: I've uploaded a new version that I hope works without needing to flash the APK afterwards. Additionally, at least for me, the Photo Editor is now working, including some of the Duo effects that haven't worked on my GPE for a long time. UFocus and Foregrounder don't appear to be working correctly, but at least they don't FC.
Flashable zip. I use TWRP2. Root is required.
Please note: It's been pointed out to me that the standard GPE image leaves very little space in the system partition. Not enough for the HTC apps, which are sort of large. If you're seeing that the zip isn't flashing correctly, please clear some space on your system partition (removing unwanted System G/Apps), before flashing.
Thanks to Arkaydez for some debugging.
Thanks to danial.aw for pointing out issues with GPE system partition size.
Post back with your experience. I'd like to know if it's working for everyone.
Download (Version 2)

Just flashed, Camera app showed up but force closes. Neither the Gallery or Editor app are installed.

j91hernandez said:
Just flashed, Camera app showed up but force closes. Neither the Gallery or Editor app are installed.
Click to expand...
Click to collapse
Thanks for giving it a try and feeding back. Feeling like helping me debug it?
Here's my experience when I flash it:
- When the phone restarts, there is a permission request waiting for the Gallery app.
- When you start the camera app, it requests three permissions.
- The applications and their associated libraries are installed to:
/system/priv-app/Camera2/
/system/priv-app/HMS_Gallery_GP/
/system/priv-app/HMS_PhotoEnhancer_GP/
Does your experience reflect that?
Thanks!

2 days ago I just downloaded this A9 camera from Google Play. It installed normally, for first run it asked for permission and work great. But every next open cause FC. Anyway, I think that original camera app from M8 is better, it is also to download from GP and doesn't FC.

I flashed the zip and Apps isnt shown in the menu. So I opened the zip and installed the apk's manually. Camera and Photo Editor gave FC. Gallery is opened but didnt show any pic.
Didnt work for me.
My rom is GPE Android 6.0 - Build MRA58K.H6

saslann said:
I flashed the zip and Apps isnt shown in the menu. So I opened the zip and installed the apk's manually. Camera and Photo Editor gave FC. Gallery is opened but didnt show any pic.
Didnt work for me.
My rom is GPE Android 6.0 - Build MRA58K.H6
Click to expand...
Click to collapse
You can't install the apks manually, unfortunately. They need to go into priv-app, since they require system permissions. That's what's causing the FCs. If you've installed them, and they're sitting in /system/app, you can move them (root explorer, etc.) to /system/priv-app. Then at least the camera and gallery should work.

grzybiarz91 said:
2 days ago I just downloaded this A9 camera from Google Play. It installed normally, for first run it asked for permission and work great. But every next open cause FC. Anyway, I think that original camera app from M8 is better, it is also to download from GP and doesn't FC.
Click to expand...
Click to collapse
Interesting. Unfortunately, for me, when I go to Google Play, it tells me that both versions of the HTC camera (Camera and Camera2) are incompatible with my phone and won't let me install. I assumed that's because it was a GPE. If you download and install from APK Mirror, or install it from the market somehow, I think that it puts the APKs and libraries into /system/app, which will cause it to FC. The camera assumes it's pre-installed into /system/priv-app, and is therefore entitled to system permissions. When it's installed to /system/app, it makes system storage calls, which aren't allowed, and FCs.
That's why I thought the flashable zip would be the way to go.

I was able to avoid all the FC's by 1st flashing your zip and then installing the a9 cam apk from apk mirror. b

arkaydez said:
I was able to avoid all the FC's by 1st flashing your zip and then installing the a9 cam apk from apk mirror. b
Click to expand...
Click to collapse
Link please

hoang555 said:
Link please
Click to expand...
Click to collapse
Here's the APK Mirror link.

arkaydez said:
I was able to avoid all the FC's by 1st flashing your zip and then installing the a9 cam apk from apk mirror. b
Click to expand...
Click to collapse
Thanks for that. I had previously installed the APK from APK mirror, so maybe there's some secret sauce missing from the zip. Does the Photo Editor work for you now, or does it still FC?

[deleted]

How about slow motion video? Is it working?

WonderTwinPowersActivate said:
You can't install the apks manually, unfortunately. They need to go into priv-app, since they require system permissions. That's what's causing the FCs. If you've installed them, and they're sitting in /system/app, you can move them (root explorer, etc.) to /system/priv-app. Then at least the camera and gallery should work.
Click to expand...
Click to collapse
hi...what i did was to push the latest camera downloaded from htc apk site, if i m not mistaken link was provided above, into /system/priv-app, and chmod folder to 755 n file to 644 n reboot. after rebootin, i open the camera but it FC. i reinstalled the same apk, n it works ok

I just installed the apk and it works for me

i installed the zip file .and then the file from apkmirror .The camera isn't FC-ing. but it doesn't save any picture when i take one. can it be due to converting my SD into internal ?
also, when i click "reset to default". it starts FC-ing

RhishabMukherjee said:
i installed the zip file .and then the file from apkmirror .The camera isn't FC-ing. but it doesn't save any picture when i take one. can it be due to converting my SD into internal ?
also, when i click "reset to default". it starts FC-ing
Click to expand...
Click to collapse
I'm not sure. Have you tried the new (v2) zip? Did it prompt you for permissions for storage? The camera should have prompted you for 4 permissions, and the gallery for 1.

esqiro said:
How about slow motion video? Is it working?
Click to expand...
Click to collapse
No. Although I don't know why. I'll look into it.

working great but i guess camera from m8 is much better...maybe cause its designed for our ultrapixel camera....

How different is it from the Sense 7 version?
Sent from my HTC One_M8 using Tapatalk

Related

I unistalled gallery !

Hi
Accidentally I uninstalled my gallery and camera also deleted through this uninstallation.
So is there any way to return it back ?
Nexus s i9020,4.1.1
thanks
aakr said:
Hi
Accidentally I uninstalled my gallery and camera also deleted through this uninstallation.
So is there any way to return it back ?
Nexus s i9020,4.1.1
thanks
Click to expand...
Click to collapse
Yes, there is a flasable zip for 4.2.. and an Apk for 4.1.. I'll get you the links..
http://www.mediafire.com/download/k398w5809uo4b05/Camera_JB+_v1.1.4_apkmania.com.apk (4.1 apk)
http://www.mediafire.com/download/j4w0ljsw04tde8m/4.2Camera_t04.zip (4.2 zip)
These will provide the gallery and camera, just download onto your phone, flash zip for 4.2, for the Apk you simply need to locate the file in you SD (should be downloads folder) and install it, you'll need to allow unknown sources in the security settings for the apk to install.. If you install both, you'll have two cameras and two galleries and there is no way to delete one of the galleries without also deleting the associated camera as well..
Sent from my Nexus S using xda premium
thanks
I'll try it.:good:
It is ok, But when change to secondary cam gives me error message " Unfortunately
,Camera JB+ has stopped"
thanks alot

[Q] 4.3 camera/gallery working for anyone?

Is the new camera working for anyone here?
I got the 4.3 camera/gallery apk from a few different sources and none of them complete the install process, they end with App not installed.
I'm using a 4.2.2 PA ROM and I'm allowing unknown sources. People with others phones have been saying it works. Someone I talked to said we may need a modified version of it for our build prop.
This was also happening with the Sunbeam live wallpaper from 4.3
a_rocklobster said:
Is the new camera working for anyone here?
I got the 4.3 camera/gallery apk from a few different sources and none of them complete the install process, they end with App not installed.
I'm using a 4.2.2 PA ROM and I'm allowing unknown sources. People with others phones have been saying it works. Someone I talked to said we may need a modified version of it for our build prop.
This was also happening with the Sunbeam live wallpaper from 4.3
Click to expand...
Click to collapse
I got the camera to work. I used ROM Toolbox Pro to delete the stock camera and gallery apps, copied the downloaded apk to /system/app and then set the permissions to rw-r--r-- and rebooted. At least I think that should work, I did a bunch of different things (wrongly), but I just reflashed CM so I need to do it again. The menus in the app don't quite work right on some things from what I tried, specifically under the 'Scenes' option.
rpr69 said:
I got the camera to work. I used ROM Toolbox Pro to delete the stock camera and gallery apps, copied the downloaded apk to /system/app and then set the permissions to rw-r--r-- and rebooted. At least I think that should work, I did a bunch of different things (wrongly), but I just reflashed CM so I need to do it again. The menus in the app don't quite work right on some things from what I tried, specifically under the 'Scenes' option.
Click to expand...
Click to collapse
Thanks, that worked. I guess I didn't think of that because people were saying it just installed.
As for the scenes I think the icons are right but the words are wrong.
As far as the wallpaper goes, push it to /system/app using a root explorer, set permissions to rw-r--r-- and reboot. Worked fine for me that way.
Sent from my SGH-I727
I've never seen a better camera than the stock touchwiz one so I stopped trying camera apps for a long time.... That's if you are on a touchwiz rom.
mahanddeem said:
I've never seen a better camera than the stock touchwiz one so I stopped trying camera apps for a long time.... That's if you are on a touchwiz rom.
Click to expand...
Click to collapse
Wow what great insight you have I'm so glad you were here to not answer the op's question or further the actual discussion.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 4 Beta
I found some direction on xda that went like this.
1. Rename old gallery2.apk to gallery2.apk.old.
2. Rename new camera apk to gallery2.apk and copy it to /system/app
3. Reboot
4. Install renamed new camera apk from original folder.
I tried flashing zip and pushing it to system/app but when I tried to edit a picture the gallery would crash. This way above didn't crash and everything worked with a few following exception. One thing I notice with the 4.3 camera is that when you use the video camera its zoomed in and pixelated. Another issue is when your in panorama mode and turn your phone to landscape or vise versa to portrait it crashes.
Sent from my SAMSUNG-SGH-I727 using xda premium
Apart from the scenes being labeled wrong I also found out today that going to photosphere mode crashes the app.
I'll try another method of installing.
It's pretty weird that someone I know installed it on an AT&T ROM with no trouble :/

Any Google Camera 4.4.2 Omnirom fix for Video recording (i9100)?

Hi, i was checking about a fix for video recording fix with the google camera for the Omni Rom, but unfortunatly, no flash works, if u have a solution pls replay me, im with a phone what cant record a video .
Have you tried camera 360. When I had the motorola defy and installed new rom, the rom bug me the phone's camera and this app solved my life.
rokvil said:
Have you tried camera 360. When I had the motorola defy and installed new rom, the rom bug me the phone's camera and this app solved my life.
Click to expand...
Click to collapse
Well i ve been trying all the app even the 360 camera and nothing works, on cyanfox evrything is ok, i mean the camera works perfectly but without camera sphere, or smart capture, till nowi dont have anu solution only changing the rom waiting for a fix for omnirom camera
In regards to camera problem
Ok, so i'm in exactly the same situation you are in as the recording feature of the stock camera app or any app failed to work for me (froze and crashed app). So far I have found two fixes, the first one thanks to a user called "RambJoe", so thank him if it works (it didn't work for me )
Fix 1-
1. Install/Open a file explorer on your device (I used ESFileExplorer)
2.Enable "Root Explorer" (Under Menu>Tools>Scroll to bottom on ES)
3.Navigate to system/etc/init.d/80cfw (This file seems to be missing on my phone, and I have found other people who have not got it as well. I believe it is because this guide isn't compatible with the International version of the SII i9100, so if you do not have it, skip to Fix 2)
4.Change the permission of the 80cfw file to rwx r-x r-x (Select the file, tap on "More" and scroll down to "Properties" and change the permissions from there)
5. Save and reboot, that should do the trick!
The next fix requires you to have Titanium Backup (FREE) to be installed or another such app that can delete/modify system apps. You can thank me for this one
Fix 2-
1. Download this apk *DO NOT INSTALL YET* - http://forum.xda-developers.com/showthread.php?t=2340858 (Thanks nexūs0 for upload)
2. Open up Titanium and back up, then delete your stock Gallery app
3.Find and install the apk you downloaded in step one
4.Open up the Gallery app and you should find the camer ON THE GALLERY APP ONLY working correctly (it did for me, anyway). The other camera apps still do not work
Don't forget to tell me if this helped you and feel free to PM me if you need assistance!

How to get Moto&Motorola camera working in official LineageOS/AOSP and similar

Disclaimer: I am not responsible for your actions with your device. You are doing this at your own risk.
Do Moto and Moto Camera force close in the latest nightlies of LineageOS? I have the fix.
Get into TWRP and mount /system/
Then go to /system/framework/
You will see some .jar files starting with "com.motorola.XXX". Just remove them (ONLY THE com.motorola FILES).
Restart your device and it will work.
If Moto Camera doesn't record, uninstall current Moto Camera and flash the camera from here. Thanks to @Alberto97. It installs the camera as a system app and it configures permissions.
If for some reason you erase the wrong file and LineageOS doesn't work, just reinstall the build.
If you have some force closes of something called "Motorola Settings" or similar, just uninstall it with a system app uninstaller.
If it works for you, please tell me in this thread. Thanks to @dimusa .
Just wondering, does this stock camera mod (this is Moto camera btw) work on LOS nightlies or does it need the edits you've mentioned? https://forum.xda-developers.com/moto-g4-plus/themes/stock-camera-t3540473
echo92 said:
Just wondering, does this stock camera mod (this is Moto camera btw) work on LOS nightlies or does it need the edits you've mentioned? https://forum.xda-developers.com/moto-g4-plus/themes/stock-camera-t3540473
Click to expand...
Click to collapse
i can confirm that it is not working in LOS
I will test this modification and comment the results
echo92 said:
Just wondering, does this stock camera mod (this is Moto camera btw) work on LOS nightlies or does it need the edits you've mentioned? https://forum.xda-developers.com/moto-g4-plus/themes/stock-camera-t3540473
Click to expand...
Click to collapse
I haven't tried it, sorry.
Works perfect with latest beanstalk 7.1.1 rom. Flashlight and panorama no issues! Thanks for this guide.
Big thanks to you I was searching for this only.
Working great on my xt1643 night lies 14.1
I want to ask something that if I get back to stock os by using adb , anything will happen to phone? As I have deleted all com.motorala.*** jar files
sumit2021 said:
Big thanks to you I was searching for this only.
Working great on my xt1643 night lies 14.1
I want to ask something that if I get back to stock os by using adb , anything will happen to phone? As I have deleted all com.motorala.*** jar files
Click to expand...
Click to collapse
You won't have any problem changing the ROM or getting back to stock because you are only removing some files from LineageOS/AOSP (and similar ROM) which makes some camera apps not working.
I got back to stock to try some kernels and I didn't have any problem.
Hey man thanks alot for this worked like a charm ??
EvilHowl said:
You won't have any problem changing the ROM or getting back to stock because you are only removing some files from LineageOS/AOSP (and similar ROM) which makes some camera apps not working.
I got back to stock to try some kernels and I didn't have any problem.
Click to expand...
Click to collapse
Many apps also not working which worked on nougat. Do you have solution for this too? They are too force closing
sumit2021 said:
Many apps also not working which worked on nougat. Do you have solution for this too? They are too force closing
Click to expand...
Click to collapse
Which apps don't work? Do they force close?
EvilHowl said:
Which apps don't work? Do they force close?
Click to expand...
Click to collapse
Score hero
Game hacker
And there were some more I don't remember I just uninstalled them
I think that deleting those moto files affects the focusing methods - originally done with both laser focus and phase detect auto-focus (PDAF).
The "normal" focus in Lineage/Cyanogen is contrast-detection, the weakest method (and power intensive).
SoNic67 said:
I think that deleting those moto files affects the focusing methods - originally done with both laser focus and phase detect auto-focus (PDAF).
The "normal" focus in Lineage/Cyanogen is contrast-detection, the weakest method (and power intensive).
Click to expand...
Click to collapse
I also felt some changes in the focus after deleting that files
Sorry I am new to twrp...i followed the steps..i mounted the system from twrp recovery..but how to delete those files can anyone tell me.. Thanks ..
@EvilHowl Yup, it works perfectly on AOSP-CAF ROM after deleting those jar files but I can not change the default storage target to SD card. Any help??
Can I delete the files from within ES File Explorer or it has to be through TWRP Mount?
Edit: yes it can be done and the moto camera works.
I am getting the Moto Settings force close, but a system uninstaller shows two Moto Settings apps, which do I uninstall?
[email protected] said:
Sorry I am new to twrp...i followed the steps..i mounted the system from twrp recovery..but how to delete those files can anyone tell me.. Thanks ..
Click to expand...
Click to collapse
Use the filemanager in twrp
[email protected] said:
Sorry I am new to twrp...i followed the steps..i mounted the system from twrp recovery..but how to delete those files can anyone tell me.. Thanks ..
Click to expand...
Click to collapse
You can use root xplorer for delete the files too
runt said:
I am getting the Moto Settings force close, but a system uninstaller shows two Moto Settings apps, which do I uninstall?
Click to expand...
Click to collapse
I am in the same situation. There are two Moto Settings and don't know which one to uninstall. If they are not needed, what do those files do?

[HELP] google camera package exist but doesn't...

I can't install the google camera apk, it says there is a conflicting package, but google camera is not installed on my phone :/
I've tried looking for it in the settings/apps and with tools like titanium backup
I also tried adb shell pm list packages, not there!
but I can't install it! help!
Nexus 5 android 7.1.2
GizmoTheGreen said:
I can't install the google camera apk, it says there is a conflicting package, but google camera is not installed on my phone :/
I've tried looking for it in the settings/apps and with tools like titanium backup
I also tried adb shell pm list packages, not there!
but I can't install it! help!
Nexus 5 android 7.1.2
Click to expand...
Click to collapse
Root your phone with superSU, open lucky patcher, select install. Click on google camera apk. Select uninstall and install done!! Reboot
GopalKaul said:
Root your phone with superSU, open lucky patcher, select install. Click on google camera apk. Select uninstall and install done!! Reboot
Click to expand...
Click to collapse
whats lucky patcher?
my phone is already rooted with supersu
GizmoTheGreen said:
whats. . .
my phone is already rooted with supersu
Click to expand...
Click to collapse
It is actually warez and is not allowed to even be talked about on XDA. Should a mod come across this topic, both of your replies will be deleted for even mentioning it.
RoyJ said:
It is actually warez and is not allowed to even be talked about on XDA. Should a mod come across this topic, both of your replies will be deleted for even mentioning it.
Click to expand...
Click to collapse
oh I see, I had no idea! I won't be looking into it.
but it there a good tool that can fix glitched packages? my system thinks com.google.android.GoogleCamera is installed but I can't find it anywhere and any install of it is blocked x'D
for now I installed a modded one I found on xda that let's you have older + latest 4.2 with modified package name com.google.android.GoogleCameraMOD and it's working....
Are you on Pure Nexus, by chance? I know you're not stock since you mentioned 7.1.2. If you're using that ROM, in the download section underneath the ROM and gapps, there's a camera fix zip and you need to flash that as well. @GizmoTheGreen
RoyJ said:
Are you on Pure Nexus, by chance? I know you're not stock since you mentioned 7.1.2. If you're using that ROM, in the download section underneath the ROM and gapps, there's a camera fix zip and you need to flash that as well. @GizmoTheGreen
Click to expand...
Click to collapse
I'm on santhoshm aosp rom, looking at that zip it seems to be a fix for hdr+ on nougat roms... which is not my problem
I can try it later anyway see if it shows up in my system
you maybe need to wipe data :crying:
GizmoTheGreen said:
I can't install the google camera apk, it says there is a conflicting package, but google camera is not installed on my phone :/
I've tried looking for it in the settings/apps and with tools like titanium backup
I also tried adb shell pm list packages, not there!
but I can't install it! help!
Nexus 5 android 7.1.2
Click to expand...
Click to collapse
Use a root file explorer like ES and check for old Google camera folders in system and delete them, then try again
Char_G said:
Use a root file explorer like ES and check for old Google camera folders in system and delete them, then try again
Click to expand...
Click to collapse
I've done that, no such folder or file in the system app folder
GizmoTheGreen said:
oh I see, I had no idea! I won't be looking into it.
but it there a good tool that can fix glitched packages? my system thinks com.google.android.GoogleCamera is installed but I can't find it anywhere and any install of it is blocked x'D
for now I installed a modded one I found on xda that let's you have older + latest 4.2 with modified package name com.google.android.GoogleCameraMOD and it's working....
Click to expand...
Click to collapse
welp now I need that APK again and can't find it for the life of me been googling for an hour checking all possible results x'D

Categories

Resources