[stock camera][port][patched][updated] - Moto G4 Plus Themes, Apps, and Mods

STOCK ANDROID NOUGAT [N] CAMERA FOR ALL CUSTOM ROM
How To Install
1. Download Zip file
2. Reboot into TWRP recovery
3. Flash Zip file
4. Reboot
5. Done Enjoy Stock Camera on any custom rom
I'd like to give credit to DevendraMilmile121 for the original port here.
Also credits to data365 for his mod here
I patched the apk to avoid the FC when com.motorola.frameworks.core.addon.jar is present.
No need to delete the com.motorola.*** .jar files from system/framework/
Download v6.0.54.1
Download v6.0.78.1
Enable Write to external sdcard:
ExtSD_Fix_rw-signed-v1.9b.zip

Thank you so much. Working fine on pure Nexus
Enviado desde mi Moto G4 mediante Tapatalk

Many thanks for this, working on resurrection remix 5.8.3 26/04 build without issue. how did you get around the FC problem, if I may ask?

Working fine on crDoid. Thank you so much!

echo92 said:
Many thanks for this, working on resurrection remix 5.8.3 26/04 build without issue. how did you get around the FC problem, if I may ask?
Click to expand...
Click to collapse
My understanding is that when /system/framework/com.motorola.frameworks.core.addon.jar is present
com.motorola.camera.device.framework.CameraMotExt.<clinit> fails to find class "android.hardware.Camera$EnvDetectCallback"
So I emptied out the static method (<clinit>) and initialised a couple of variables outside.
I used DexPatcher to modify it.
Then the behaviour is the same as if /system/framework/com.motorola.frameworks.core.addon.jar wasn't there.
Clearly this is a workaround not a fix. It would be nice to know why it can't find the class and fix it so that "CameraMot" is supported (I guess this is some hardware optimisation)

Would you please share another link beside afh because i get some problem with download from afh

Thank you for this. After I deleted those files, an FC message saying "Motorola Settings" has stopped would greet me at every boot. This'll take care of that.
I don't believe it has anything to do with video recording though, does it?

baunthiyal said:
Thank you for this. After I deleted those files, an FC message saying "Motorola Settings" has stopped would greet me at every boot. This'll take care of that.
I don't believe it has anything to do with video recording though, does it?
Click to expand...
Click to collapse
I didn't see issues with video recording either with the patched Moto camera and deleting the .jar files, or using this Moto camera as is. The Motorola settings seems to pop up whenever, but dismissing it doesn't seem to cause issues with the camera app or the system itself - curious!

dedik46 said:
Would you please share another link beside afh because i get some problem with download from afh
Click to expand...
Click to collapse
https://ufile.io/y6fm5

How to change the storage location to external SD card.? It is not accessible through settings.
Thanks in advance.

ramansehra said:
How to change the storage location to external SD card.? It is not accessible through settings.
Thanks in advance.
Click to expand...
Click to collapse
https://forum.xda-developers.com/mo...-motorala-camera-write-to-externalsd-t3498573

gabriwinter said:
My understanding is that when /system/framework/com.motorola.frameworks.core.addon.jar is present
com.motorola.camera.device.framework.CameraMotExt.<clinit> fails to find class "android.hardware.Camera$EnvDetectCallback"
So I emptied out the static method (<clinit>) and initialised a couple of variables outside.
I used DexPatcher to modify it.
Then the behaviour is the same as if /system/framework/com.motorola.frameworks.core.addon.jar wasn't there.
Clearly this is a workaround not a fix. It would be nice to know why it can't find the class and fix it so that "CameraMot" is supported (I guess this is some hardware optimisation)
Click to expand...
Click to collapse
Yes look forward to [emoji4]

gabriwinter said:
STOCK ANDROID NOUGAT [N] CAMERA FOR ALL CUSTOM ROM
How To Install
1. Download Zip file
2. Reboot into TWRP recovery
3. Flash Zip file
4. Reboot
5.Done Enjoy Stock Camera on any custom rom
Download
All credits to DevendraMilmile121 for the original port here.
I just patched to avoid the FC when com.motorola.frameworks.core.addon.jar is present.
No need to delete the com.motorola.*** .jar files from system/framework/
Click to expand...
Click to collapse
Thx!!!!!!!!!!!!!!!!!!
Can we auto-update via Playstore to newer version?
Is quality as good as it's on stock roM? thx!!!!!!

optionalmgrr.la said:
Thx!!!!!!!!!!!!!!!!!!
Can we auto-update via Playstore to newer version?
Is quality as good as it's on stock roM? thx!!!!!!
Click to expand...
Click to collapse
It can't be updated or it would loose the patch.
Quality wise I would say it's close to stock but probably a little below (can someone confirm this?)
For now I think this is the best we can get for non stock roms.
If someone wants to step up and try to get a proper fix that would be ideal.

gabriwinter said:
It can't be updated or it would loose the patch.
Quality wise I would say it's close to stock but probably a little below (can someone confirm this?)
For now I think this is the best we can get for non stock roms.
If someone wants to step up and try to get a proper fix that would be ideal.
Click to expand...
Click to collapse
Cool. Let's hope someone fix this further

i mean, perhaps setup a wrapper to divert the error message.... something like that.

btw, on stock there is a "Camera tuner for Moto G(4)", is it needed?
https://play.google.com/store/apps/details?id=com.motorola.imagertuning_athene

optionalmgrr.la said:
btw, on stock there is a "Camera tuner for Moto G(4)", is it needed?
https://play.google.com/store/apps/details?id=com.motorola.imagertuning_athene
Click to expand...
Click to collapse
I'm using cr droid and had this camera tuner by default

i'm geting "device not compatable" when i open the camera. And nothing to delete com system/framework
i have an moto x2 (xt1097) on aosp extended 7.1.2
help

tiagovicente2 said:
i'm geting "device not compatable" when i open the camera. And nothing to delete com system/framework
i have an moto x2 (xt1097) on aosp extended 7.1.2
help
Click to expand...
Click to collapse
This camera port is for athene only.

Related

[REQ] Original LG Optimus G Camera app

Does anyone have the original app file for Optimus G? I liked the camera when was on stock, but everything else was bad so I went custom rom.
running unofficial cm11 now: http://forum.xda-developers.com/showthread.php?t=2528556
anyone can help? thanks!
hope it will work.
mishteuse said:
hope it will work.
Click to expand...
Click to collapse
do i use the apk, or .odex? sorry not very experienced with this... thanks so much!!
edit: btw is this google stock camera? When I replaced this file with GoogleCamera.apk in system/app, fixed permission and rebooted, the camera is still Google stock. This is a surprise, because I couldn't get the camera working before. It would always fail to open with "gallery stop responding" error.
how install this camera?
Flashing i think, is a "zip".
realy? it works in CM11?
AdrianSC said:
Flashing i think, is a "zip".
Click to expand...
Click to collapse
Good evening from me and I want to ask ie if I put a another Rom as the cm11 and pass this file and i do install i will have the original camera e975 4.1.2jb ports? what about 4.4.2kk ports in camera we have any info or zip file?beacose it have better ports and the photos is more clean and pure...and one last question.... you have do it this in your phone? i mean the quality of camera is better that android camera in cm11???? beacose that camera is sucks and that is my biggest problem and it is the reason that i am not go in any custom rom yet........ty a lot and sry for all this questions.
AdrianSC said:
Flashing i think, is a "zip".
Click to expand...
Click to collapse
This zip doesn't have the usual scripts and path structure that comes with those who are supposed to be flashed from recovery.
I'm not stating anything "for" or "against", but are you sure this one is really supposed to be flashed "as is"?
enapah said:
This zip doesn't have the usual scripts and path structure that comes with those who are supposed to be flashed from recovery.
I'm not stating anything "for" or "against", but are you sure this one is really supposed to be flashed "as is"?
Click to expand...
Click to collapse
Guys, this is obviously NOT a flashable zip. Just unpack, and copy files over manually (both apk and odex). In KK, the path is /system/priv-app.
Where can I find the fotocamer astock LG Optimus G E975 for CM 12? Thank You.

[STOCK] Google Camera download

If you're on a custom ROM that didn't come with Google Camera, then you can use this one.
Just download the GoogleCamera.zip.
Unzip it.
Then copy the entire Google Camera folder to /system/priv-app.
Then change permissions of the folder to match other folders.
Then change permissions of the apk inside to match other apks.
Then reboot and profit.
Download pulled from January 2017's "V" stock firmware:
http://www.filedropper.com/googlecamera_1
is this another app than google camera from playstore?
Kollachi said:
is this another app than google camera from playstore?
Click to expand...
Click to collapse
If it's back on the Play Store again, then I can't find it.
Thanks worked great
How do I download the zip from filedropper
jevaughn07kelly said:
How do I download the zip from filedropper
Click to expand...
Click to collapse
If on Chrome on a Windows PC, then click the grey colored "download this file" button.
Then enter the text code to download.
I have an add blocker so my webpage view may be slightly different from yours.
If on your phone, then I'm not sure.
Thank you its downloaded I will continue steps
Hello will this support HDR and HDR+ ?
rweddy1 said:
Hello will this support HDR and HDR+ ?
Click to expand...
Click to collapse
Yes.
This one is newer though:
https://forum.xda-developers.com/pixel-xl/themes/app-google-camera-apk-disables-shutter-t3561503
CZ Eddie said:
Yes.
This one is newer though:
https://forum.xda-developers.com/pixel-xl/themes/app-google-camera-apk-disables-shutter-t3561503
Click to expand...
Click to collapse
Thanks I had to move back to pure nexus, my cell signal kept being lost and had to reboot to get it back. I tried several kernels including stock and was unable to resolve.
Is this work for moto G2 titan ..I have already installed gcam but it doesn't have HRD and HRD+ features so I was thinking do what you had said now ....do I have to uninstall the old one[/FONT]
It's on the store but for some reason isn't searchable. I saved the link to Google keep so I can access it whenever I need to: https://play.google.com/store/apps/details?id=com.google.android.GoogleCamera
Sent from my Pixel XL using Tapatalk

[P9000 Lite] [ROM] [7.1.2]AOKP Nougat [(un)official]

Rom based on this: https://forum.xda-developers.com/elephone-p9000/development/rom-aokp-nougat-t3690278
Full credits go to the AOKP team who made the rom for P9000.
To use on P9000 Lite you may need CWM 3.0.2.8 and you have to restore the backup zip provided in the link.
Features:
- Same as P9000 AOKP rom.
- Gapps (Micro) come preinstalled.
Warnings:
- The unpacked rom uses up to 5200MB, so make sure you got free space!
- Put the rom backup on an SD Card, not on internal memory.
- Fingerprint options make the settings app crash (Obviously).
Bugs:
- The rom occupies about 20GB because of a bug.
- Charging seems to be painfully slow. (If someone could fix this, it would be really awesome.)
Installation:
You have to put the folder from the zip in TWRP\BACKUPS.
It should appear and then you should be able to see the rom and install it.
Download Links:
http://aftermath-studio.go.ro/IBOVHQ49DEAML78T.zip
http://aftermath-studio.go.ro:8080/Upload/IBOVHQ49DEAML78T.zip - Edit: I also added a torrent in the attachments.
(Please post to mirrors and post comments with the mirrors, and I'll update the original post)
Good luck!
Update:
For my phone, it charged the battery a bit, or so it seems, and then it kept going down.
Not sure what the bug is, at least for now.
So keep this in mind while downloading.
Any contribution is greatly appreciated.
xnd_bogdan said:
Update:
For my phone, it charged the battery a bit, or so it seems, and then it kept going down.
Not sure what the bug is, at least for now.
So keep this in mind while downloading.
Any contribution is greatly appreciated.
Click to expand...
Click to collapse
ATM I can only point you to CONFIG_MTK_PUMP_EXPRESS_(PLUS_)SUPPORT.
Did you set the following in devconfig?
Code:
CONFIG_MTK_PUMP_EXPRESS_SUPPORT=y
CONFIG_MTK_PUMP_EXPRESS_PLUS_SUPPORT=y
Tarkness said:
ATM I can only point you to CONFIG_MTK_PUMP_EXPRESS_(PLUS_)SUPPORT.
Did you set the following in devconfig?
Click to expand...
Click to collapse
he ported the rom, doesnt seem like he build it
Ruben Craveiro said:
he ported the rom, doesnt seem like he build it
Click to expand...
Click to collapse
Yup.
That's what I did
xnd_bogdan said:
Yup.
That's what I did
Click to expand...
Click to collapse
you need to change more modules and change some stuff on boot.img i think on the file init.rc on boot.img to allow charging
Ruben Craveiro said:
you need to change more modules and change some stuff on boot.img i think on the file init.rc on boot.img to allow charging
Click to expand...
Click to collapse
I'll definitely try doing that but for now I took a break, since finals are coming.
If somebody fixes it before I get to have some free time, that would be even better to be honest.
xnd_bogdan said:
I'll definitely try doing that but for now I took a break, since finals are coming.
If somebody fixes it before I get to have some free time, that would be even better to be honest.
Click to expand...
Click to collapse
i doubt that will happend, i dont think many people use the lite version, me in particular use the normal version, so i cant really fix it.
Do we know if anyone fixed it?
Sent from my Redmi 5 Plus using Tapatalk
Hi!
Anybody fixed the problems?
Hello.
I was going to continue porting this but unfortunately my phone failed so I was forced to buy a new one.
I'm afraid I can't work on this anymore, as I no longer have a p9000 lite

[Root] How to make ARCore work on Vince

!!ATTENTION!!
As Google recently changed how the device_profile files are located, these steps below do NOT work anymore. There are only two options you can choose from which you can follow and read about here
#I'll not be responsible for anything that happens to your device when you follow these steps#
If you don't know what ARCore is read this https://en.m.wikipedia.org/wiki/ARCore
After you understand what ARCore is for then continue reading.
@Arnova8G2 has made a flashable zip with support for our device.
AR Stickers download https://drive.google.com/open?id=1Uvspxje-myBIKIeDHfgMpZ4Uv_o5ZFYL
Installation steps:
1. Install original arcore linked below
2. Reboot to TWRP
3. Install twrp-Patch-ARcore-for-all-device.zip
4. Reboot to system
Zip download here. This method is still under testing, so the original method is still shown below.
Step 1. Download ARCore from here https://www.apkmirror.com/apk/googl...se/arcore-1-4-180716096-android-apk-download/
Step 2. Install an app that use ARCore. If you're lazy, you can use this https://www.apkmirror.com/apk/google-creative-lab/just-a-line-draw-anywhere-with-ar/
Step 3. Open the app you installed in step 2 and let it crash. This will make the folders and files that we're going to use later on.
Step 4. Download the file named device_profile_vince.textproto.txt at the end of this post and rename the file to device_profile_vince.textproto
Step 5. Using root explorer, copy the file you just renamed to /data/data/com.google.ar.core/files/device_profile_database2 and change SE context by selecting the file you just copied and press the three dots. Then select Restore default context and then press OK.
Step 6. Now you can use any apps that require ARCore!:victory:
NOTE: If you updated ARCore repeat step 3 to step 5
Tested on my vince running AEX and havoc os with omnivision sensor
Not really necessary anymore as we've Arnova8G2's flashable zip but I'll keep it here anyways
During the steps above, you probably saw a bunch of files in /data/data/com.google.ar.core/files/device_profile_database. One file is for one device or another variant of the same device. These files come from the manufacturers or Google themselves for the devices that officially ARCore.
Unfortunately, vince, like a lot of other devices, don't officially support ARCore, so some of these files maybe more compatible with vince but I don't have time to test them all. So if anybody have extra time, you can help me find out which one of these files is best suited for our device. You just have to rename the file you want to test to device_profile_vince_.textproto(the _ is to make sure you don't accidentally replace the original device_profile_vince.textproto file) and rename the original device_profile_vince.textproto to device_profile_vince.textproto.bak
If you believe you've found a file that's better than the one on the OP, then please tag me and post the file name in this thread and I'll test it to see if it's better before adding it to the OP
CHANGELOGS;
Code:
3.9.18:Updated links in OP and ARstickers link
5.7.18:Updated OP and Arstickers link
3.7.18:Updated OP
27.06.18:Updated OP
23.06.18:Updated ARCore link
16.06.18:Updated device_profile_vince file
31.05.18:Updated ARCore link
23.05.18: Updated ARStickers link
21.05.18: Initial post
FAQ:
Q:Why (insert app name) can't detect surface?
A:Find a surface that's not shiny or white color. Surfaces that are textured and have sufficient lighting can help. Sometimes a reboot can help too
Q:Why can't I install all apps that use ARCore in play store?
A:They're supposed to be only for devices that officially support ARCore. If you want to use them on vince, download using apkmirror
Q:Why ARCore still isn't working on MIUI even after I followed all the steps?
A:This could be because that MIUI is heavily modified from stock Android so a lot of things aren't working on it.
Q:Why isn't AR Stickers working?
A:Use this version Download, (MIRROR). Thanks to @Arnova8G2 for this
Reserved
Hi.
Thank you for your hard work.
Can I know if potentially all arcore's app can work on Vince?
I am asking this because I'm fully stock and I would like to know for root it.
Sent from my Redmi 5 Plus using Tapatalk
vespino75 said:
Hi.
Thank you for your hard work.
Can I know if potentially all arcore's app can work on Vince?
I am asking this because I'm fully stock and I would like to know for root it.
Sent from my Redmi 5 Plus using Tapatalk
Click to expand...
Click to collapse
All apps that use ARCore should work except for ARStickers, which you've to use the one linked in the FAQ. It's the only app so far I tested that needs to be modded to work.
Deer developer tried every step describe by you on miui costum rom wash n dish by Jerome-X but not worked any AR core based software always it is saying that device is not supported check the screen shots.
irfan.shikarpuri said:
Deer developer tried every step describe by you on miui costum rom wash n dish by Jerome-X but not worked any AR core based software always it is saying that device is not supported check the screen shots.
Click to expand...
Click to collapse
I wish Venice could support the AR core
Really good work done by you to enable this feature.
May be I am getting error due to miui
Mhhh... Weird.
I must wait 110 hours until unlock my bootloader... Damn.
Anyway.
I developed some app with Google tango.
And yes, the problem can be the Android version also.
Arcore works on few models with Android nougat. If you use a smooth vanilla 8.0 it can works (maybe).
If someone wants to try, please, try this app (now I can't because the bootloader),
Sent from my Redmi 5 Plus using Tapatalk
Now I got it that I have android 7.0 and AR core works good on android 8.0
Does not work with dotos.... why?
i followed exactly the guide...
irfan.shikarpuri said:
Now I got it that I have android 7.0 and AR core works good on android 8.0
Click to expand...
Click to collapse
Hmm, that's weird, it should work for nougat ROMs too. Maybe because MIUi is heavily modified
vespino75 said:
Does not work with dotos.... why?
i followed exactly the guide...
Click to expand...
Click to collapse
Are you sure you followed all the steps exactly? And how does it not work?
Yes I followed the instructions, and all the app (I tested 3 app) does not work (included the area stickers and yours in the guide).
I did also the last modify with root explorer... But I have the same problem of irfan
vespino75 said:
Yes I followed the instructions, and all the app (I tested 3 app) does not work (included the area stickers and yours in the guide).
I did also the last modify with root explorer... But I have the same problem of irfan
Click to expand...
Click to collapse
How does it not work? Did the app just crash or something else?
Stampyron said:
How does it not work? Did the app just crash or something else?
Click to expand...
Click to collapse
The app says "your device is not compatible with AR"
Sent from my Redmi 5 Plus using Tapatalk
vespino75 said:
The app says "your device is not compatible with AR"
Sent from my Redmi 5 Plus using Tapatalk
Click to expand...
Click to collapse
Then either you didn't rename the file correctly or you didn't restore SE context
Stampyron said:
Then either you didn't rename the file correctly or you didn't restore SE context
Click to expand...
Click to collapse
I did it. Both.
There is some problem... Can I do something?
I tried also to use the extension .proto instead .textproto, with the first extension the app crash.
Sent from my Redmi 5 Plus using Tapatalk
vespino75 said:
I did it. Both.
There is some problem... Can I do something?View attachment 4512944View attachment 4512945
I tried also to use the extension .proto instead .textproto, with the first extension the app crash.
Sent from my Redmi 5 Plus using Tapatalk
Click to expand...
Click to collapse
Try put permission to rw and reboot

Gcam fix for all custom roms!

Google Camera fix for all CUSTOM roms.
Flashable zip(twrp)
https://we.tl/t-BiCS8ctTKx
------------------------------
Follow these steps:
1a. flash flashable zip via twrp
OR
1b.unzip fix
2b.copy to /vendor, replace all if ask
3b. set permission 644 (in my case was set by default)
4.flash magisk enabler
5.reboot
6.install any gcam.apk
gcamfix
https://www79.zippyshare.com/v/IXV6ijwX/file.html
gcam api enabler(magisk)
https://www79.zippyshare.com/v/offMkigV/file.html
Gcam fully working in pie (focus)
https://www79.zippyshare.com/v/ui44YixI/file.html
You are welcome.
Mirror:
https://we.tl/t-LUvnDse40L
All links report error 403 Forbidden.
How to copy into /vendor?
Folgore89 said:
All links report error 403 Forbidden.
How to copy into /vendor?
Click to expand...
Click to collapse
It will be better wait for flashing zip in your case.
The error is because zippyshare isn't available in every country. Is it possible to make some mirrors?
Sent from my Phh-Treble vanilla using Tapatalk
I don't know what's wrong but it still crashes after first start like all other versions.
Hope there's a fix !
thanks, works perfect after enabling camapi2 & rebooting the phone again.
im on stock rom with rooted devices but not have twrp,
so i'm just copying (manualy via root explorer) that files to /vendor and change permission to rw-r-r then rebooting device, after booting all that files has gone or back to default.
did my step is wrong?
x1_logic said:
im on stock rom with rooted devices but not have twrp,
so i'm just copying (manualy via root explorer) that files to /vendor and change permission to rw-r-r then rebooting device, after booting all that files has gone or back to default.
did my step is wrong?
Click to expand...
Click to collapse
If you are on stock rom, just install gcam, it works flawlessly, thanks for the developers
saedkebbeh said:
If you are on stock rom, just install gcam, it works flawless, thanks for the developers
Click to expand...
Click to collapse
i think that file for fixing focus problem on gcam
x1_logic said:
i think that file for fixing focus problem on gcam
Click to expand...
Click to collapse
No bro, the third file is gcam and it works
I can't open the links, it just says "forbidden".
Mirror link in the first post.
I install that gcam version and the focus problem still here
Front-Line said:
I install that gcam version and the focus problem still here
Click to expand...
Click to collapse
So try another.
Does it works with stock rom with cam2api enabled? Have anyone tried?
dunhaaehmal said:
Does it works with stock rom with cam2api enabled? Have anyone tried?
Click to expand...
Click to collapse
Stock rom has native cam2api support. you only have to install magisk module.
How about the hdr on the front camera? Is it working?
Link for Gcam fully working in pie (focus) is broken......
The Gcam in the first post is this one: https://www.celsoazevedo.com/files/android/google-camera/f/changelog466/
Is there anyway to undo these two fix?
Cause now the camera itself stopped working, I can't use any camera app

Categories

Resources