4k fix in gcam - Xiaomi Redmi Note 5 Pro Questions & Answers

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?

Related

[31-MAY][FIX] Glitches on Ace/Desire S 2.3 ROMs - breaks Camera!

Hey guys,
just wanted to provide the fix for the graphics glitches on newer HTC 2.3 ROMs. Just replace the files from the attachment (gralloc stuff in /system/lib/hw) and the glitches will be gone. I tested it with my own Desire Ace ROM.
Maybe i forgot some dependencies, it has to be tested.
Thanks to Markinus for pointing me to it.
cheers
thanks mate. As i m a beginner, wonder what method should i use to apply your fix and other patches? Do I use the "install from .zip" method under CWM? thanks!
I get a File type not supported error on my phone after the download:-(
Sent from my Desire HD using XDA App
You have to place them in /system/lib/hw either by extracting it to your pc and uploading it to your phone via ADB, or do it on your phone somehow, or just wait for someone to make a CWM-package. I don't have a clue about CWM stuff so far, because i don't need it.
can you make cwm update .zip from this 7z file... plz
for all... its extract in PC...and than copy to sd card...and with root explorer replace files in system/lib/hw/
SO is this a fix for the sense 3.0 graphics glitches?
stability? does it kills camera?
need feedback!
uploaded a flashable zip file, based on a guide, haven't tested myself, do nandroid backup before flash!
bountygiver said:
stability? does it kills camera?
need feedback!
Click to expand...
Click to collapse
Haha, hope this isn't another lib that kills the camera, or video playback for that matter.
I wouldn't be able to thank you enough gauner, if this works.
I replace the files....result....
The Glitches gone!!
But also the camera gone!!!!!!
Sooo I want my Glitches back
Yeah, this is just the original file that made the camera stop working, but had no glitches. Sorry gauner but this has been posted I think atleast once in each new sense 2.1+ thread, as everyone always asks how to remove glitches, but are always un aware the camera stops working..
Probably post that its the normal breaking camera file, so no one thinks its the source fix that should allow us to have a camera and no glitches coming out down the road (hopefully soon...)
close and delete this thread. completely useless.
fanatax said:
close and delete this thread. completely useless.
Click to expand...
Click to collapse
you are not correct atleast he try
So these egl libs breaks the camera again? Can anyone confirm this?
yeah broke the cam on LeoRCMix S v.1.2 rom but the bug is still in gralloc.qsd8k.so and that broke the cam but when i replaced gralloc.default.so cam still works
Replaced only gralloc.default.so on LeoRCMix S v.1.2, camera works, weather videos became more choppy, but there are now less glitches, than it was before the fix
Krendelrus said:
Replaced only gralloc.default.so on LeoRCMix S v.1.2, camera works, weather videos became more choppy, but there are now less glitches, than it was before the fix
Click to expand...
Click to collapse
+1 , very little glitches
edit : and no dialpad. lol , worked after reboot.
Krendelrus said:
Replaced only gralloc.default.so on LeoRCMix S v.1.2, camera works, weather videos became more choppy, but there are now less glitches, than it was before the fix
Click to expand...
Click to collapse
i noticed that but when i rebooted the phone it started to work normally.
Hmmm...might hold off until we get confirmation from more people....
No, i compiled these files myself. And i didn't notice it breaks camera, because i barely use it.

[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.

[Q] Hendrickson 60 fps Camera mod problem

Hi community,
I installed the Camera mod from Hendrickson
but now, when i start video recording, the camera app crashes every time :/ what i have done wrong?
anyone could please help me out?
What if you reset the camera from settings program etc?
Tankadin1982 said:
Hi community,
I installed the Camera mod from Hendrickson
but now, when i start video recording, the camera app crashes every time :/ what i have done wrong?
anyone could please help me out?
Click to expand...
Click to collapse
Same thing happened to me, I downloaded the mod again, overwrite the old file with the new one and rebooted and it was all sorted. Camera is now functioning great.
Did you set the files to rw -r-r
steps you should have followed
1)download mod
2)extract mod
3)delete/rename the original files(put .bak behind name)
4)set permissions like this
owner=> read and write
group=> read
others=> read
then go to settings>apps>lgcamera and delete cache and data
start camera and enjoy
Same
It happened to me, and I downloaded again and dont work again. I gave the permissions and follwed de steps os suljo94 sayd.
My camera don't work yet.
Thank's for the attention and srry for the bad english.

[stock camera][port][patched][updated]

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.

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