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
Related
Welcome to the Heracles ROM!
Disclaimer1: Your warranty is now void!
I am not responsible if you brick your phone. or kill your sd card!
I cannot be held responsible for smoke, fire, water, or other natural disasters.
So please READ the entire OP!
Disclaimer2:Flashing with recovery doesn't support Preload will end with missing files
Use my TWRP recovery
Disclaimer3: Always make a backup first!! Flash at your own risk!
Clean install is always recommended, but at minimum make sure you wipe!
ROM FEATURES
Based on T989UVMC6
Multilanguage
Fully De-odexed
Rooted
BusyBox
Latest ZipAling
Fully debloated
Free Tether Mod
23 Toggles & Lidroid Settings
Wifi Calling
4-Way reboot
Unknown Sources By Default
Framework animation
Volume wake Rocker
Fully disable app verification
Many features I forgot
Installation:
Download and copy Heracles ROM to.sdcard.
Flash latest TWRP from here.
Reboot to TWRP recovery
Make a FULL Wipe data/cache & dalvik.
Flash rom.
Reboot.
Downloads:
androidfilehost
Thanks to:
JustArchi For ArchiKitchen.
osm0sis For mkbootimg.
Chainfire For SuperSU.
Stericson For BusyBox.
JesusFreke For [Bak]smali.
AOSP For Zipalign..
one_love_420
SArnab©®
Wanam
ptmr3
CNexus
me
mine
this one also
Nice job with the ROM. Sadly though, everything Google related does not work.
elesbb said:
Nice job with the ROM. Sadly though, everything Google related does not work.
Click to expand...
Click to collapse
Most google app can be downloaded and updated from google play.
If anything not working tell me and I can solve it in new build.
mohammad.afaneh said:
Most google app can be downloaded and updated from google play.
If anything not working tell me and I can solve it in new build.
Click to expand...
Click to collapse
I fixed it. For some reason all the Google apps were in /system/app as symlinks to the /preload directory yet the only thing that existed in /preload was an MDM directory. I just downloaded the GAPPS for cm10 and extracted the necessary files and put them into the /system/app directory and all is working now.
Thanks mohammad.afaneh for this........ and I gave you your 1000th "thanks"!
I'll get my S2 out of the closet, dust it off and to try this out. I'm gonna use this for media consumption.... especially streaming audio.
elesbb said:
I fixed it. For some reason all the Google apps were in /system/app as symlinks to the /preload directory yet the only thing that existed in /preload was an MDM directory. I just downloaded the GAPPS for cm10 and extracted the necessary files and put them into the /system/app directory and all is working now.
Click to expand...
Click to collapse
Maybe you flashed the ROM from another recovery that doesnt support preload. Use my twrp.
BIOYAM said:
Thanks mohammad.afaneh for this........ and I gave you your 1000th "thanks"!
I'll get my S2 out of the closet, dust it off and to try this out. I'm gonna use this for media consumption.... especially streaming audio.
Click to expand...
Click to collapse
that a kind of you and hope you enjoy it.
mohammad.afaneh said:
Maybe you flashed the ROM from another recovery that doesnt support preload. Use my twrp.
Click to expand...
Click to collapse
I fixed it so it doesn't matter. Why are you even using preload? Normally they just install that stuff to the system/app directory.
elesbb said:
I fixed it so it doesn't matter. Why are you even using preload? Normally they just install that stuff to the system/app directory.
Click to expand...
Click to collapse
I had take a look to all ROMs based on stock. The most move the apps to /system/app folder and the rest used the samsung way by place some app in preload so I had write new code to symlink the app from preload to system.
The ROM is debloated so there is no effect on ROM speed and app loaded at boot but If the system is full that will slowdown the device and eat more ram.
Hi. Gps have problem. Please fix it
joedeng said:
Hi. Gps have problem. Please fix it
Click to expand...
Click to collapse
Sorry my device not working now. I will when it fixed.
do we have to flash gapps with this rom or its not necessary.
yaseenarafath said:
do we have to flash gapps with this rom or its not necessary.
Click to expand...
Click to collapse
No this is stock rom.
You can install them from play store.
@mohammad.afaneh A question can be installed as a virtual partitioned as CM13
URD3 said:
@mohammad.afaneh A question can be installed as a virtual partitioned as CM13
Click to expand...
Click to collapse
never test but probably NO.
you need ramdisk modification to boot!
mohammad.afaneh said:
never test but probably NO.
you need ramdisk modification to boot!
Click to expand...
Click to collapse
Thanks for your reply
So long to fix it. Because it stop in v1. And not have v2 v3 v.v.v. Don't u to do build it continue?.
Sorry my english not good. I just type something i understand. Thanks
I have a question
Dose this rom support Vietnamese languag hồe
ngocthanh909 said:
Dose this rom support Vietnamese languag hồe
Click to expand...
Click to collapse
I think yes.
all languages ported from intl s2 firmware.
its viper4android work on this version ? i try to use it on Open Beta 7 ,without success.
selinux mode changer dont work too. ( i cant change to permisive )
i use Open Beta 8 , Root (SR5-SuperSU-v2.78-SR5- ) , Custom TWRP.
Thanks!
razzorchile said:
its viper4android work on this version ? i try to use it on Open Beta 7 ,without success.
selinux mode changer dont work too. ( i cant change to permisive )
i use Open Beta 8 , Root (SR5-SuperSU-v2.78-SR5- ) , Custom TWRP.
Thanks!
Click to expand...
Click to collapse
Using atmos sound system and is ok
Have you tried out their own internal audio control program
razzorchile said:
its viper4android work on this version ? i try to use it on Open Beta 7 ,without success.
selinux mode changer dont work too. ( i cant change to permisive )
i use Open Beta 8 , Root (SR5-SuperSU-v2.78-SR5- ) , Custom TWRP.
Thanks!
Click to expand...
Click to collapse
Backup your rom, install guitardedhero.zip
Root explorer - Go to root/vendor/etc and rename audio_effects.conf to audio_effects.conf.bak
Reboot
AND LET US KNOW
http://forum.xda-developers.com/showthread.php?p=68500738#post68500738
Eagle-no1 said:
Have you tried out their own internal audio control program
Click to expand...
Click to collapse
Yes, but im not satisfied with the result, The range of bands is very small
shafi31 said:
Backup your rom, install guitardedhero.zip
Root explorer - Go to root/vendor/etc and rename audio_effects.conf to audio_effects.conf.bak
Reboot
AND LET US KNOW
http://forum.xda-developers.com/showthread.php?p=68500738#post68500738
Click to expand...
Click to collapse
working great! :highfive:
Thks!! :victory:
fantamadnesss said:
Using atmos sound system and is ok
Click to expand...
Click to collapse
You mean dolbyAtmos on beta 8? If yes, could you please share zip or link?
quaresma158 said:
You mean dolbyAtmos on beta 8? If yes, could you please share zip or link?
Click to expand...
Click to collapse
https://www.androidfilehost.com/?fid=24651442761498767
Don't forget to install the deep buffer remover also in the guitarededhero thread, I couldn't get viper to work without that
frickinjerms said:
Don't forget to install the deep buffer remover also in the guitarededhero thread, I couldn't get viper to work without that
Click to expand...
Click to collapse
Do you have a link fot his file? Can't seem to find it
jay_snake said:
Do you have a link fot his file? Can't seem to find it
Click to expand...
Click to collapse
Oops it was in the Dolby Atmos thread by westenbrood. My brain is derpy sometimes
HERE YA GO!
It's right there past the 6.5 download link, can't miss it. I don't know for certain if this is the magic answer for nougat, but if viper is showing all is well other than the driver status being abnormal (which was the problem with MM) then you should be good to go after flashing it. As always YMMV. Make a backup just in case.
Dolby seems to be working but V4A keeps closing and says Open App again.....never works.....what am I doing wrong? I renamed audio.conf to audio.conf.bak and rebooted the phone
dindoliya said:
Dolby seems to be working but V4A keeps closing and says Open App again.....never works.....what am I doing wrong? I renamed audio.conf to audio.conf.bak and rebooted the phone
Click to expand...
Click to collapse
I must have done something wrong. I dirty flashed the ROM and installed A.R.I.S.E. again. Now everything seems to be working. I did not have to modify any files or flash any additional files
A.R.I.S.E. Leviticus 1.3 working just fine
razzorchile said:
its viper4android work on this version ? i try to use it on Open Beta 7 ,without success.
selinux mode changer dont work too. ( i cant change to permisive )
i use Open Beta 8 , Root (SR5-SuperSU-v2.78-SR5- ) , Custom TWRP.
Thanks!
Click to expand...
Click to collapse
Yes, new version for Nougat
http://www.theandroidsoul.com/install-viper4android-nougat/
Sent from my Pixel XL using XDA-Developers mobile app
oriveradel said:
Yes, new version for Nougat
http://www.theandroidsoul.com/install-viper4android-nougat/
Click to expand...
Click to collapse
Tried that on fresh install, installs no errors and then driver showed processing for a few seconds (but no enhanced audio) and then driver not processing ever since
gmlogan said:
Tried that on fresh install, installs no errors and then driver showed processing for a few seconds (but no enhanced audio) and then driver not processing ever since
Click to expand...
Click to collapse
I've tried everything to get viper to work, I don't understand - previously all I've had to do is install the apk, install drivers - reboot & jobs done!
Now it's like you need a masters degree.
I've followed so many guides, viper apk is installed, rooted, busybox & I've renamed the file in system / etc - but upon opening viper & attempting 2 install drivers, I'm told installation has failed.. something something busybox, something something check if rooted :what::banghead:
My hope now is a Dev will build a beta 9 build & incorporate viper
dindoliya said:
I must have done something wrong. I dirty flashed the ROM and installed A.R.I.S.E. again. Now everything seems to be working. I did not have to modify any files or flash any additional files
Click to expand...
Click to collapse
Sorry to hear that, remove it, reboot and flash zip again
Check SuperSu if still there delete it
rename file
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.
Cannot install pixel 3 camera mon on AOSP EXTENDED PIE. Currently using pixel 2 mod. Try many mods, none of them canno install. Anyone can? please, mention
Chenkual Thazuala said:
Cannot install pixel 3 camera mon on AOSP EXTENDED PIE. Currently using pixel 2 mod. Try many mods, none of them canno install. Anyone can? please, mention
Click to expand...
Click to collapse
U have to uninstall any Gcam mods u have at this moment... Then try to install the latest mod...
Sareen279 said:
U have to uninstall any Gcam mods u have at this moment... Then try to install the latest mod...
Click to expand...
Click to collapse
Already tried. Version 6.1 tries to replace the stock AOSP camera. I think this is the reason
Chenkual Thazuala said:
Cannot install pixel 3 camera mon on AOSP EXTENDED PIE. Currently using pixel 2 mod. Try many mods, none of them canno install. Anyone can? please, mention
Click to expand...
Click to collapse
I am able to use Gcam 6.1.
I clean flashed the latest build (Nov 29).
This one works fine : https://f.celsoazevedo.com/file/gcamera/MGC_6.1.021_FINAL_V1b_A8.1+.apk Try this
parveshchaudhary said:
I am able to use Gcam 6.1.
I clean flashed the latest build (Nov 29).
This one works fine : https://f.celsoazevedo.com/file/gcamera/MGC_6.1.021_FINAL_V1b_A8.1+.apk Try this
Click to expand...
Click to collapse
Still cannot install
Chenkual Thazuala said:
Still cannot install
Click to expand...
Click to collapse
I have 4 camera apps installed. Stock Cam, One Plus Cam, Gcam Pixel 2 Mod, Gcam Pixel 3 Mod all of them works fine. Try doing a clean flash and then install the app given in the link.
I think that one of the cameras that you have installed is google legacy camera installed as a part of gapps flashed while flashing the rom.
If you have root, then install the system app remover from the play store, give permissions, and uninstall it using that app, and tldelete from the recylce bin of that app and reboot. Voila, ur app will install now.
Second option is try using the system app remover available in settings/extensions/system. Try to find camera in there, i couldnt find it as i have used the first method and removed it when i flashed the rom.
You r welcome.
akyiboy007 said:
I think that one of the cameras that you have installed is google legacy camera installed as a part of gapps flashed while flashing the rom.
If you have root, then install the system app remover from the play store, give permissions, and uninstall it using that app, and tldelete from the recylce bin of that app and reboot. Voila, ur app will install now.
Second option is try using the system app remover available in settings/extensions/system. Try to find camera in there, i couldnt find it as i have used the first method and removed it when i flashed the rom.
You r welcome.
Click to expand...
Click to collapse
Says no root access. I already flash magisk
Go into the magisk, and give root access to the app installed.
As i mentioned earlier, root access is required fr both the processes.
If you still face problem, i will post screen shots of it.
Hello xda users!
I don't really know if similar thread exists or not (I searched but didn't found), if it does, please notify me and I'll remove my thread.
So, as you may know, the 4k recording isn't working on back cam in most gcams (at least it never works for me), but I have solution for it.
I'm not creator of this file and I don't know who is, but big thanks to him for creating flashable zip that fixes 4k recording
In order this to work, you need a gcam that supports 4k recording (has that option in settings), and if you have that just simply flash this zip through recovery.
Attention! If you flash a rom update via recovery or just do regular OTA update, you'll need to flash this again. (bc the file just edits build.prop)
Zip is in the attachments.
My friend i try this but now my camera doesnt open.Please send me an unistaller zip to fix this
My camera stop working when i flashed this. how will unflash it again?
chiefinspector said:
My camera stop working when i flashed this. how will unflash it again?
Click to expand...
Click to collapse
IoakeimVasios said:
My friend i try this but now my camera doesnt open.Please send me an unistaller zip to fix this
Click to expand...
Click to collapse
Did you check the date of this post before flashing anything?