Note 4X: Enabling Camera API2 + 60FPS Recording? - Xiaomi Redmi Note 4 Questions & Answers

Hi all.
I just got my 64GB MTK Nikel Redmi Note 4X. Bootloader unlocked, TWRP and SuperSU installed, running the latest Marshmallow MIUI 8.5.6.0
I'm trying to record in 60FPS. I've tried many different apps, and it seems that my main issue is that I don't have Camera API 2 enabled.
I've tried editing my build.prop by appending with the line:
persist.camera.HAL3.enabled=1
And it doesn't work. I've also tried using Terminal Emulator with:
su
su persist.camera.HAL3.enabled 1
exit
exit
I've even tried flashing "Camera_2API_addon.zip" (from a mirror site, since that website's download links are down), as mentioned on this Russian forum:
http://4pda.ru/forum/index.php?showtopic=824680&st=80#entry62175288
When I run Open Camera and go to About, my Camera API just appears to be "Camera". This means that Camera API 2 was not activated.
I'm so stuck and frustrated here, and I seem to be the only person with this issue. Can anyone help me? I ultimately just want to be able to record 60FPS video.
I've even tried adding a modified media_profiles.xml file in /system/etc (the file did not already exist, strangely enough), and that didn't work either.
Am I having all these issues because I have a mediatek processor?
Thank you.

dingoyabuki said:
Hi all.
I just got my Redmi Note 4X. Bootloader unlocked, TWRP and SuperSU installed, running the latest Marshmallow MIUI 8.5.6.0
I'm trying to record in 60FPS. I've tried many different apps, and it seems that my main issue is that I don't have Camera API 2 enabled.
I've tried editing my build.prop by appending with the line:
persist.camera.HAL3.enabled=1
And it doesn't work. I've also tried using Terminal Emulator with:
su
su persist.camera.HAL3.enabled 1
exit
exit
I've even tried flashing "Camera_2API_addon.zip" (from a mirror site, since that website's download links are down), as mentioned on this Russian forum:
http://4pda.ru/forum/index.php?showtopic=824680&st=80#entry62175288
When I run Open Camera and go to About, my Camera API just appears to be "Camera". This means that Camera API 2 was not activated.
I'm so stuck and frustrated here, and I seem to be the only person with this issue. Can anyone help me? I ultimately just want to be able to record 60FPS video.
I've even tried adding a modified media_profiles.xml file in /system/etc (the file did not already exist, strangely enough), and that didn't work either.
Thank you.
Click to expand...
Click to collapse
Flash a android 7 based MIUI rom (like developer rom) and you can enable API2
But our device doesnt support 60fps recording anyway on 1080p

asusm930 said:
Flash a android 7 based MIUI rom (like developer rom) and you can enable API2
But our device doesnt support 60fps recording anyway on 1080p
Click to expand...
Click to collapse
How about at 720p, at least? And here's a YouTube video I saw of someone who got 60FPS working using the media_profiles.xml mod:
I'll try flashing a Nougat developer rom in the meantime, thank you for the advice.

On 4pda.ru its topic about 60fps in full hd by using motocamera with modded profiles but I didnt try this.

Grellenort said:
On 4pda.ru its topic about 60fps in full hd by using motocamera with modded profiles but I didnt try this.
Click to expand...
Click to collapse
The download links on that forum thread are dead, by the way. That's another issue.

dingoyabuki said:
The download links on that forum thread are dead, by the way. That's another issue.
Click to expand...
Click to collapse
Link me to the thread i have a 4pda account I can try to DL the mod

asusm930 said:
Link me to the thread i have a 4pda account I can try to DL the mod
Click to expand...
Click to collapse
http://4pda.ru/forum/index.php?showtopic=824680&st=80#entry62175288
Thank you! Though I still wonder if it'll even work on my Magitek phone. That thread seems to revolve around Qualcomm Note 4s.

dingoyabuki said:
http://4pda.ru/forum/index.php?showtopic=824680&st=80#entry62175288
Thank you! Though I still wonder if it'll even work on my Magitek phone. That thread seems to revolve around Snapdragon Note 4s.
Click to expand...
Click to collapse
This is if you are running android 7
APK https://drive.google.com/file/d/0B_Q4QjvbODxoUEQ1UzZwNC0tczA/view?usp=drivesdk
Media_profile
https://drive.google.com/file/d/0B_Q4QjvbODxoMnVZM25qaTg3OW8/view?usp=drivesdk
For android 6
Media_profile
https://drive.google.com/file/d/0B_Q4QjvbODxoQWx4Ui1ScTJYYTA/view?usp=drivesdk

asusm930 said:
This is if you are running android 7
APK https://drive.google.com/file/d/0B_Q4QjvbODxoUEQ1UzZwNC0tczA/view?usp=drivesdk
Media_profile
https://drive.google.com/file/d/0B_Q4QjvbODxoMnVZM25qaTg3OW8/view?usp=drivesdk
For android 6
Media_profile
https://drive.google.com/file/d/0B_Q4QjvbODxoQWx4Ui1ScTJYYTA/view?usp=drivesdk
Click to expand...
Click to collapse
Thanks for reuploading those. While I'm sure those will help other people, I've just tried copying the media_profile.xml file to system/etc, chmodding the file to 644, and installed the app, and the app still crashes. Really thinking this is all because I have a Mediatek phone.

And for oreo?

SykoraLukas said:
And for oreo?
Click to expand...
Click to collapse
No camera blobs for Oreo because Xiaomi has yet to release Oreo kernel sources for this device. But some people have got it working, but they seem to having some coding background or maybe they're just really smart.
Camera2 API is already enabled by default on most custom ROMs. Just use Nougat if you need 60fps.

Related

[FIX] Google Camera HDR+ on Nougat ROMs

I am not responsible for exploding devices!! Nothing should go wrong, as this doesn't touch anything super-sensitive, but just in case...
Tested on Pure Nexus w/ Pure Nexus dynamic gapps. This should also work with Open GApps. (And I guess Fake Nexus, though I think the camera works well out-of-the-box on that one...?)
On (most?) current Nexus 5 Nougat ROMs, attempting to take a photo via Google Camera with HDR+ will just take a regular photo. (The included stock camera doesn't even have an HDR+ option!) The "fix" is to downgrade to an older version (2.8) of Google Camera.
Problem is, that's kind of annoying. In addition, the Play Store will keep trying to update it to the newest version unless you re-sign. Not good!
So I made a flashable zip! Just pop it onto your SD card, flash in TWRP, and the proper Google Camera will be installed, signed with a custom key to prevent the Play Store from updating it.
Enjoy!
NOTE: This does not fix the video recording issues, only the HDR+ not working. You still need to use stock camera for videos.
Changelog
11/30/2016 - Fix an extraction failure when the path to the zip has spaces, and fix the progress bar.
11/29/2016 - Fix stupid zip signing mistake.
11/28/2016 - Initial version.
Going to try it on Nitrogen OS
Yeah it's not actually a fix for the non working hdr+, it's just another workaround. But great for the people who need it! I just wouldn't call it fix for Google camera on nougar.
Enviado desde mi Nexus 5 mediante Tapatalk
Error : unable to extract zip (on TWRP 3.0.2)
Tried to install on aosp 7.1 ROM...and I want to add one more thing that Im not able to find google camera in play store on this ROM.
Thanks for the apk in the zip...I was able to install it manually.
is this google camera version 4.2?
Bad_Calzoncillos said:
Yeah it's not actually a fix for the non working hdr+, it's just another workaround. But great for the people who need it! I just wouldn't call it fix for Google camera on nougar.
Enviado desde mi Nexus 5 mediante Tapatalk
Click to expand...
Click to collapse
True. At the same time, a [WORKAROUND] tag isn't allowed, so that's why I used [FIX].
amarendar94 said:
Error : unable to extract zip (on TWRP 3.0.2)
Tried to install on aosp 7.1 ROM...and I want to add one more thing that Im not able to find google camera in play store on this ROM.
Thanks for the apk in the zip...I was able to install it manually.
Click to expand...
Click to collapse
Sorry about that! I just updated the zip file again. I had made a mistake with regards to the way it was signed.
It should work now. If it doesn't, could you hit Copy Log inside the Advanced section of TWRP and then upload
Code:
/sdcard/recovery.log
here?
aslam_ said:
is this google camera version 4.2?
Click to expand...
Click to collapse
No, it's 2.8. 4.2's HDR+ doesn't work on the Nexus 5 Nougat ROMs.
I uninstalled v4 . then flashed 3.2 and unchecked google camera automatic update from playstore ( right up corner) . why to downgrade to v2.8 if v3.2 also work?
Mairo said:
I uninstalled v4 . then flashed 3.2 and unchecked google camera automatic update from playstore ( right up corner) . why to downgrade to v2.8 if v3.2 also work?
Click to expand...
Click to collapse
Huh...on my device, 3.2 HDR+ still didn't work.
Also, for me, I already have auto-update off, but I usually just like to click "UPDATE ALL" without the camera updating, too.
refi64 said:
Huh...on my device, 3.2 HDR+ still didn't work.
Also, for me, I already have auto-update off, but I usually just like to click "UPDATE ALL" without the camera updating, too.
Click to expand...
Click to collapse
ROM issue maybe. Im currently using Fake Nexus ROM and 3.2 HDR worked fine.
This isnt actually a fix, for me GCam 3.2 works on Nougat with HDR+
refi64 said:
Sorry about that! I just updated the zip file again. I had made a mistake with regards to the way it was signed.
It should work now. If it doesn't, could you hit Copy Log inside the Advanced section of TWRP and then upload here?
Click to expand...
Click to collapse
I think u should test the zip on your phone b4 posting here..
Anyways here is the log u asked for
amarendar94 said:
I think u should test the zip on your phone b4 posting here..
Anyways here is the log u asked for
Click to expand...
Click to collapse
That's the weird part; I did test it...
That error is definitely weird... Out of curiosity, what did you name the zip file when you saved it?
refi64 said:
That's the weird part; I did test it...
That error is definitely weird... Out of curiosity, what did you name the zip file when you saved it?
Click to expand...
Click to collapse
Didn't rename it...I just saved it with what you name d it.
refi64 said:
Huh...on my device, 3.2 HDR+ still didn't work.
Also, for me, I already have auto-update off, but I usually just like to click "UPDATE ALL" without the camera updating, too.
Click to expand...
Click to collapse
Ok. I noticed now that video don' t work . green flicker if i look after recording. But hdr works great.
Anyway video have been always crap in our device, so i don´t use it.
amarendar94 said:
Didn't rename it...I just saved it with what you name d it.
Click to expand...
Click to collapse
Just figured it out. I updated the zip again; it should work perfectly now!
I'm on Nitrogen-os 7.1 and gcam 3.2 workshop fine
First cam uploaded works perfectly on aicp 7.1 rom.
Hdr and video.
Does not work on my Nexus 5 ABCrom_nexus_hammerhead-7.0-20161129.zip
As soon as I enable HDR+, the app force closes.
Could it be a conflict with the already installed camera?
Cheers

MODDED GC COLLECTION (ARM32/64) (ARsticker magisk module)

Heyo guys ¡¡¡
--> First thing First - provided apps are built by and handled by respected developers mentioned below, purpose of this threat is to provide collection of all diff threads (Mods of Google Camera) in single thread.
> I tried few mods of GC (HDR+,ZSL, Smart Burst) which works with 32Bit stock and custom ROM
1# arm-arm64 with max quality JPEG - ((OK type))
‎
‎2# arm-arm64 with RAW support:- ((better one but colors are saturated on blue side))
‎
‎3# arm-arm64 with max param :- ((not good at all))
‎
‎4# arm-arm64 with Cam2API:- ((ok type))
> For 64Bit custom ROM try arnova's MGC 4.2, 5.0.16 or 5.0.18 those works best try recommended settings if it's provided, this app contains (HDR+, motion pics, ZSL, Smart burst) and arnova's build can be found in second and last link.
‎
--> And lastly for ARstickers there is magisk module ((works only for 64Bit ROM and needs to remove all moded GC before flashing this)) > updated link I prefer using v15E but u can use any of the version u like
http://https://forum.xda-developers.com/essential-phone/themes/magisk-based-gcam-port-ar-sticker-t3730837
Lil description :-
> All this apps are made and handled by other developers mentioned below (and apps can be laggy as this are ported)
> All this camera require is Camera2API enabled -
download any "build prop apk" from play store than add this line
Code:
persist.camera.HAL3.enable=1
Note :- Moto G5S plus supports Cam2API but for some it's not enabled by default so better check it first
All thanks goes to developers who created this modded GC :-
@B-S-G (4PDA)
@ivanich (XDA)
@Arnova8G2 (XDA)
Here are the links for Modded GC :-
--> 81 mods collection of BSG -
https://androidfilehost.com/?w=files&flid=207256
--> XDA forum with Modded GC by BSG , Ivanich and Arnova8G2
https://forum.xda-developers.com/oneplus-3/how-to/modded-google-camera-hdr-60fps-video-t3658552
-- OR --
www.celsoazevedo.com/files/android/google-camera/
So which version is compatible with a stock g5s plus, I tried some and don't even install..
keb00 said:
So which version is compatible with a stock g5s plus, I tried some and don't even install..
Click to expand...
Click to collapse
Only the one which states arm-arm64 as names are supported to Moto g5s+ here is the link for best out of it with almost all Google camera features but make sure u have camera 2api enabled or it won't work
https://androidfilehost.com/?fid=817906626617943326
Mîkòtø said:
Only the one which states arm-arm64 as names are supported to Moto g5s+ here is the link for best out of it with almost all Google camera features but make sure u have camera 2api enabled or it won't work
https://androidfilehost.com/?fid=817906626617943326
Click to expand...
Click to collapse
Thanks in advise, in other post they said our stock system are 32bit, how would work? But I will give a shot!
Edit: Once more, is a version which is know for having suspicious malware https://www.virustotal.com/#/file/1...e6a71ecc3dc8c429431b2eb588eb7f72680/detection
Doesn't exist another version compatible with our moto without this alerts?
keb00 said:
Thanks in advise, in other post they said our stock system are 32bit, how would work? But I will give a shot!
Edit: Once more, is a version which is know for having suspicious malware https://www.virustotal.com/#/file/1...e6a71ecc3dc8c429431b2eb588eb7f72680/detection
Doesn't exist another version compatible with our moto without this alerts?
Click to expand...
Click to collapse
Ah yeah Moto g5s+ got arm32 and the link I provided which says "arm-arm64 = arm32-arm64" also if u wanna check any app which supports arm32 or 64 than use apk extractor or ES File manager to extract app than open extracted folder > lib > if it says armeabi-v7a means that 3bits if it's arm64-v8a than it's 64 bits most of the mods provided and made does supports 64 bits only cause newer Google camera version are mostly for 64bits and it gets easy for developers to Port it to other 64bit device
And as for virus I really don't know about that developers are from diff places and they r the one who are making this mods.......
Mîkòtø said:
Ah yeah Moto g5s+ got arm32 and the link I provided which says "arm-arm64 = arm32-arm64" also if u wanna check any app which supports arm32 or 64 than use apk extractor or ES File manager to extract app than open extracted folder > lib > if it says armeabi-v7a means that 3bits if it's arm64-v8a than it's 64 bits most of the mods provided and made does supports 64 bits only cause newer Google camera version are mostly for 64bits and it gets easy for developers to Port it to other 64bit device
And as for virus I really don't know about that developers are from diff places and they r the one who are making this mods.......
Click to expand...
Click to collapse
Ok thanks for clarifying, I will give a try in some.
Mîkòtø said:
Only the one which states arm-arm64 as names are supported to Moto g5s+ here is the link for best out of it with almost all Google camera features but make sure u have camera 2api enabled or it won't work
https://androidfilehost.com/?fid=817906626617943326
Click to expand...
Click to collapse
What are you using to enable api2?
I tried the persist build prop edit , and still when I try the camera you say to use, I install and it doesn't finish and says "app not installed"
minieod said:
What are you using to enable api2?
I tried the persist build prop edit , and still when I try the camera you say to use, I install and it doesn't finish and says "app not installed"
Click to expand...
Click to collapse
> First check if API2 is enabled by using any camera 2API app from play store if it's enabled
> Than delete any Google camera app staying in ur device some times disabling it won't work u will have to delete it and try again
> also make sure ur trying to install arm32 version of GC and not arm64 (the app which states arm-arm64 are for 32 and 64bits both so it should get installed)
Mîkòtø said:
> First check if API2 is enabled by using any camera 2API app from play store if it's enabled
> Than delete any Google camera app staying in ur device some times disabling it won't work u will have to delete it and try again
> also make sure ur trying to install arm32 version of GC and not arm64 (the app which states arm-arm64 are for 32 and 64bits both so it should get installed)
Click to expand...
Click to collapse
Can you link an app from the play store that would do that? I don't see any ?
I removed the opengapps camera that came with it
I am trying to install the arm-arm64 one you linked
I have persist hal3 on
I'm running aex oreo
Thanks!
Edit; ok found an app to test api2. It says yes. So now, I still can't install the app. I used titanium to uninstall any google camera that was on the phone, but when I try to install the one you suggested for 3.2 it says it tries to upgrade from 4.2 and won't work.
minieod said:
Can you link an app from the play store that would do that? I don't see any ?
I removed the opengapps camera that came with it
I am trying to install the arm-arm64 one you linked
I have persist hal3 on
I'm running aex oreo
Thanks!
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=de.weis.camera2probe
Try this
And u got API 2 enabled since u have hal3 on
XD I also use AEX Oreo and modded GC works for me
Mîkòtø said:
https://play.google.com/store/apps/details?id=de.weis.camera2probe
Try this
And u got API 2 enabled since u have hal3 on
XD I also use AEX Oreo and modded GC works for me
Click to expand...
Click to collapse
Success! It installed and saw through the lens , looked really dark then froze and rebooted. I'll play around more
minieod said:
Success! It installed and saw through the lens , looked really dark then froze and rebooted. I'll play around more
Click to expand...
Click to collapse
first time opening the app will FC 90% of the time but after that it wont FC much often and dont switch btw camera and video to quickly that also causes it to get stuck and make OS reboot i hope B-S-G fix it in his next update
Thx!
In the line for activation hal3, take care that there are no spaces between the =
Otherwise it will not work.
It is worth testing, the pics are a lot better!
XotusBlack said:
Thx!
In the line for activation hal3, take care that there are no spaces between the =
Otherwise it will not work.
It is worth testing, the pics are a lot better!
Click to expand...
Click to collapse
Well the value after = is put in the next column so basically you don't use = sign in the build prop
Remarkable, truly remarkable. This is just so bad I have to comment. Values in build.prop are entered on 1 line, with =, and no spaces. This is the value
persist.camera.HAL3.enabled=1
Phazmos said:
Remarkable, truly remarkable. This is just so bad I have to comment. Values in build.prop are entered on 1 line, with =, and no spaces. This is the value
persist.camera.HAL3.enabled=1
Click to expand...
Click to collapse
Ah just realised it's the matter if which app and how ur using it I have been adding it with 2 column 1st one as name and second one contains value and same app contains second method where I can add new prop in single line using = https://photos.app.goo.gl/YPXHL2oKQVR6HQE33
Mîkòtø said:
Only the one which states arm-arm64 as names are supported to Moto g5s+ here is the link for best out of it with almost all Google camera features but make sure u have camera 2api enabled or it won't work
https://androidfilehost.com/?fid=817906626617943326
Click to expand...
Click to collapse
I'll add that I was having issues finding a camera that worked worth a crap, or at all after flashing validus 16.4. I installed the gcam here and finally have something that works for now. Look forward to improvement for sure.
Edit: absolute thank you for finding this though and making this recommendation.
mrchman said:
I'll add that I was having issues finding a camera that worked worth a crap, or at all after flashing validus 16.4. I installed the gcam here and finally have something that works for now. Look forward to improvement for sure.
Edit: absolute thank you for finding this though and making this recommendation.
Click to expand...
Click to collapse
Open camera in the best till 64 bit - then camera nx
Phazmos said:
Open camera in the best till 64 bit - then camera nx
Click to expand...
Click to collapse
I keep going back and forth on those 2. I'll have to watch which one gives me more consistent results before I delete the other. Even the open camera encountered a fatal error while testing it once. Nbd tho.
mrchman said:
I keep going back and forth on those 2. I'll have to watch which one gives me more consistent results before I delete the other. Even the open camera encountered a fatal error while testing it once. Nbd tho.
Click to expand...
Click to collapse
Testing faze of Pixel experience is out (64Bit ROM) and arnova's GC 5.1.018 and 5.1.016 works best except video recording doesn't work, pics quality is lot better then stock camera even better than GC for 32bit motion photos works with some tweaks causes some FC but over all I kind of like 5.1 more than any of GC for 32Bits

WORKING Google Camera! [All ROMs]

Hi, so i found an old, fully working version of GCam for Mi Note 2 [scorpio]
It's like for Android M, but it will work on all Android Versions above 6.
I tested it on MIUI 9 Global, China, miui.am, xiaomi.eu/miuipolska, epicrom, LOS 15.1, PE 8.0 and it's working just fine.
I am not responsible for any issues that might happen in process of installing that mod.
How to Install it?
Step 1: Root your device [I recommend via Magisk flash, through TWRP]
Step 2: Enable Camera2Api, and there i have two options for you:
Method 1: An Magisk module that enables this feature, here is the thread and download *CLICK*
Method 2: By editing build.prop file, but how to do it?
1: Download any root file manager [I recommend MiX]
2: Find the prop.build file in folder "System"
3: Scroll to the last line, and add "persist.camera.HAL3.enabled=1", save and reboot.
Step 3: Install the APK file, which is under the tutorial!
DOWNLOADs
Google Camera App: *CLICK*
MiXplorer App: *CLICK*
Magisk: *CLICK*
BUGS AND ERRORs
1. Selfie Camera bug - Selfie Cam is upside down
FIX:
Search for msm8996_camera.xml file in /system/etc/camera
Then look for:
<Position>FRONT</Position>
<MountAngle>360</MountAngle>
And replace "360" with "270" [U need to do it twice}
Then Save and Reboot.
2. Slow Motion error
POSSIBLE FIX: Download an Magisk module, i don't know if it's working at all.
Download: *CLICK*
3. Stock Camera HDR crash
I can't find any FIX for that, but Camera2Api is not always crashing HDR stock [But in my case it doesn't crash, working just fine.]
I hope u liked it!
If it helped u, just leave me an "Thank" or something like that, i will be grateful!
Potrait mode not work
Haryy9999 said:
Potrait mode not work
Click to expand...
Click to collapse
It could have some bugs, I'm trying to find other working GCam, maybe a newer one.
But thanks for the information!
when i fix selfie the app stop working. Restoring the xml file not solve the problem i have to reinstall the rom. Another way to fix front camera?
mafury said:
when i fix selfie the app stop working. Restoring the xml file not solve the problem i have to reinstall the rom. Another way to fix front camera?
Click to expand...
Click to collapse
Hard to find another solution.
Which ROM?
I'm happy that you discovered this and even happier that you shared it! Thanks!
Now, onwards, we need to make the new gcam work on our phones. Can't live without those AR stickers (Not really)
(Also, I didn't have to the front cam workaround. Using RR 8.1.0 r11)
6.0.1
Hi,
Do I need custom ROM or will this work on my Mi Note 2 with android 6.0.1, MIUI 8.5 Global (8.5.5.0)?
Can you send me any pictures to compare stock images to the ones taken with gcam?
It's too buggy. Works at the beginning then it breaks. Not usable man
https://forum.xda-developers.com/mi-note-2/help/finally-portrait-mode-google-cam-t3772270
qiuas said:
Hi,
Do I need custom ROM or will this work on my Mi Note 2 with android 6.0.1, MIUI 8.5 Global (8.5.5.0)?
Can you send me any pictures to compare stock images to the ones taken with gcam?
Click to expand...
Click to collapse
It's working fine on global rom, ut i don't have any pictures to compare at the moment.
Andrikkos said:
It's too buggy. Works at the beginning then it breaks. Not usable man
Click to expand...
Click to collapse
I haven't noticed any problems on AOSP and MIUI based ROMs.
Post to delete
Hello,
bavoolek said:
It could have some bugs, I'm trying to find other working GCam, maybe a newer one.
But thanks for the information!
Click to expand...
Click to collapse
Did you test other Google Camera?
Which?
Otherwise I have a problem as soon as I do this
Method 2: By editing build.prop file, but how to do it?
1: Download any root file manager [I recommend MiX]
2: Find the prop.build file in folder "System"
3: Scroll to the last line, and add "persist.camera.HAL3.enabled = 1", save and reboot.
Panorama mode does not work well ....
Because with "persist.camera.HAL3.enabled = 0", there are no worries.
Here are the same two pictures:
persist.camera.HAL3.enabled = 1
persist.camera.HAL3.enabled = 0
Would you have a solution?
ROM: MIUI 9.5 Global Stable
Google Camera: GCam5.1.018-Arnova8G2-V1.7.apk (for example)
Envoyé de mon Mi Note 2 en utilisant Tapatalk
Elfs_rage said:
Hello,
Did you test other Google Camera?
Which?
Otherwise I have a problem as soon as I do this
Method 2: By editing build.prop file, but how to do it?
1: Download any root file manager [I recommend MiX]
2: Find the prop.build file in folder "System"
3: Scroll to the last line, and add "persist.camera.HAL3.enabled = 1", save and reboot.
Panorama mode does not work well ....
Because with "persist.camera.HAL3.enabled = 0", there are no worries.
Here are the same two pictures:
persist.camera.HAL3.enabled = 1
persist.camera.HAL3.enabled = 0
Would you have a solution?
ROM: MIUI 9.5 Global Stable
Google Camera: GCam5.1.018-Arnova8G2-V1.7.apk (for example)
Envoyé de mon Mi Note 2 en utilisant Tapatalk
Click to expand...
Click to collapse
About the other GCam.
Other GCams ale simply worst or buggy.
Explain again, I can't understand your problem.
bavoolek said:
About the other GCam.
Other GCams ale simply worst or buggy.
Explain again, I can't understand your problem.
Click to expand...
Click to collapse
You do not have the problem in panorama mode?
Because me as soon as I do step 2:
While taking photos is faster but the panorama mode works very poorly.
Here is an example of a photo taken with panorama mode and "persist.camera.HAL3.enabled = 1":
Whereas if I make the same photo with the same appplication and if I put "persist.camera.HAL3.enabled = 0", here is the result:
I tested with twenty Apk Google Camera ....
(Camera_com.google.android.GoogleCamera.apk (du premier post), GC_3.2.045_final_3.1_kenzo.apk,GoogleCamera-Pixel2Mod-Arnova8G2-V7-Final.apk, GCam5.1.018-Arnova8G2-V1.7.apk,MGC_5.1.018_FinalMod_v4.apk,skulshady_gcam_5.1.018_v1.9.apk ..........)
And it's the same ....
Found on this site:
https://www.celsoazevedo.com/files/android/google-camera/
So do you also have this problem with the panorama mode?
And if you have no problem, what ROM and Apk Google Camera do you use?
Elfs_rage said:
You do not have the problem in panorama mode?
Because me as soon as I do step 2:
While taking photos is faster but the panorama mode works very poorly.
Here is an example of a photo taken with panorama mode and "persist.camera.HAL3.enabled = 1":
Whereas if I make the same photo with the same appplication and if I put "persist.camera.HAL3.enabled = 0", here is the result:
I tested with twenty Apk Google Camera ....
(Camera_com.google.android.GoogleCamera.apk (du premier post), GC_3.2.045_final_3.1_kenzo.apk,GoogleCamera-Pixel2Mod-Arnova8G2-V7-Final.apk, GCam5.1.018-Arnova8G2-V1.7.apk,MGC_5.1.018_FinalMod_v4.apk,skulshady_gcam_5.1.018_v1.9.apk ..........)
And it's the same ....
Found on this site:
https://www.celsoazevedo.com/files/android/google-camera/
So do you also have this problem with the panorama mode?
And if you have no problem, what ROM and Apk Google Camera do you use?
Click to expand...
Click to collapse
To be honest I didn't try panorama on GCam.
I will try and give some feedback.
About the ROM and GCam:
AEX and the GCam from my post.
when taking a pic with Whatsapp the pic comes zoomed... Camera2Api really mess all.. I just don't take any pic with Whatsapp now in months.. only with the camera.. Camera2Api worths it.. but it sucks not being able to use all the phone features anyway =/
Luckzzz said:
when taking a pic with Whatsapp the pic comes zoomed... Camera2Api really mess all.. I just don't take any pic with Whatsapp now in months.. only with the camera.. Camera2Api worths it.. but it sucks not being able to use all the phone features anyway =/
Click to expand...
Click to collapse
What are you talking about? All the new roms have this fixed...
alexmanu1 said:
What are you talking about? All the new roms have this fixed...
Click to expand...
Click to collapse
Wow.. Dirty Unicorns fixed it? I just don't update in months now..
Luckzzz said:
Wow.. Dirty Unicorns fixed it? I just don't update in months now..
Click to expand...
Click to collapse
Dirty Unicorns? No, the devs fixed it.

[MOD][O/P/Q] Front cam raw fix (needed for gcam)

I'll be quick.
This is a lib with SENSOR_DEFAULT_MODE changed to SENSOR_QUADRA_MODE in the hex. On most of the phones, Xiaomi/qcom understands they need to apply this mode on quad bayer sensors. But here, they gave no F. As I'm not surprised, that's all about the trivia of this mod.
How to apply it?
Unpack the zip, replace the original libmmcamera_platina_imx576_sunny/ofilm.so in /vendor/lib/. And ensure the file permissions are rwrr/0644.
Any side effects?
The front cam photos will come out as 6 MP. But, that's not a real disadvantage, since IMX576 is a quad bayer sensor, meaning it is technically made to be used in quarter of the resolution.
MIUI Camera is dead if you switch to the front, every other app works as intended.
Any requirements?
Common sense, Oreo/Pie/Q vendor, Sunny/Ofilm module manufacturer.
Great!
Could you be little more precise with procedure, please? How to edit lib, how to replace the original .so file in /vendor/lib/, and how to be sure the file have rwrr/0644 permissions?
Sorry... thanks
nesorsba said:
Great!
Could you be little more precise with procedure, please? How to edit lib, how to replace the original .so file in /vendor/lib/, and how to be sure the file have rwrr/0644 permissions?
Sorry... thanks
Click to expand...
Click to collapse
Lib editing: Because basic copypasting is already tough for you guys, I made this thread with edited lib, so you don't have to understand how to change 01 into 10 in the hex.
Replace trough any file explorer with root access, so for example Solid Explorer.
How the permissions look like is in the attachment.
help dev. i try to copy this custom lib to vendor/lib < here. and after reboot i open the Gcam always force close & miui camera front cam not opened.
stlprm said:
help dev. i try to copy this custom lib to vendor/lib < here. and after reboot i open the Gcam always force close & miui camera front cam not opened.
Click to expand...
Click to collapse
Try harder. (Just follow the system configuration of people who have it working)
j1505243 said:
I'll be quick.
This is a lib with SENSOR_DEFAULT_MODE changed to SENSOR_QUADRA_MODE in the hex. On most of the phones, Xiaomi/qcom understands they need to apply this mode on quad bayer sensors. But here, they gave no F. As I'm not surprised, that's all about the trivia of this mod.
How to apply it?
Unpack the zip, replace the original libmmcamera_platina_imx576_sunny.so in /vendor/lib/. And ensure the file permissions are rwrr/0644.
Any side effects?
The front cam photos will come out as 6 MP. But, that's not a real disadvantage, since IMX576 is a quad bayer sensor, meaning it is technically made to be used in quarter of the resolution.
MIUI Camera is dead if you switch to the front, every other app works as intended.
Any requirements?
Common sense, (probably) Oreo vendor, Sunny module manufacturer.
Click to expand...
Click to collapse
Works in global with Oreo 8.1
Thanks :good:
so you have also the needed apk and needed other patches for gcam which is working for platina?
y2kadir said:
so you have also the needed apk and needed other patches for gcam which is working for platina?
Click to expand...
Click to collapse
Nah, I'm not a platina user myself.
so why are you uploading a patch if you didnt test it before
y2kadir said:
so why are you uploading a patch if you didnt test it before
Click to expand...
Click to collapse
Because someone else wasn't as dumb as this question and tested it for me before I released it.
j1505243 said:
Because someone else wasn't as dumb as this question and tested it for me before I released it.
Click to expand...
Click to collapse
I know also someone who needs a pacifier like a small child. whats your problem? I would never be so dumb to release something which I didnt test before!!?
y2kadir said:
I know also someone who needs a pacifier like a small child. whats your problem? I would never be so dumb to release something which I didnt test before!!?
Click to expand...
Click to collapse
Should I close this thread because some random noob tells me I shouldn't release mods for a device I don't own? Your opinion is worthless to me. It was tested by people before I published it here. And also before you got triggered when I refused to spoon-fed you with gcam info. Learn some respect to the ones who actually contribute.
hi thanks for sharing this, but I tired for searching how to enable camera2api for MI 8 Lite ?
Working! But, which versión of gcam do you use?
Not work on Android pie. Help me.
Here's the magisk module if anyone needs it
With this it is possible to enable gcam for 8lite?
celovitor said:
With this it is possible to enable gcam for 8lite?
Click to expand...
Click to collapse
Nope. It's just a fix for the front cam raw. Do your own search.
Miui 9.5.9 block gcam. I think you should know.
Werewolf 99 said:
Miui 9.5.9 block gcam. I think you should know.
Click to expand...
Click to collapse
As a person unable to access platina, I don't. Either way, I hope this phone has some current reality and future in AOSP ROMs.

ANX CAMERA installation for Android 11 based custom ROMS

I only tried it on HavocOS Official v4.2. I don't know if it works for other roms, those who want to use AnxCamera in Custom Roms can try it.
--> TESTED HavocOS Official v4.2 - A11
--> Some mods don't work, but most mods work well.
64MP mode, Photo, Video, AUX, Macro etc. These mods work well.
INSTALLATION;
1) Download the files I gave from the links below.
2) Then flash these files over MAGİSK, and restart the device.
3) After the device restarts, manually grant all permissions without opening the ANX CAMERA app.
--> A warning will appear on the first boot. Say allow. the application will close. turn it back on.
DONE.
You can now use ANX CAMERA app on Android 11 based custom ROMs.
--> The installation order doesn't matter, you can start from the file you want.
FILES;
MiuiKamera.zip indir
Dosyayı indir, full download - MiuiKamera.zip
www.dosyaupload.com
ANXCameraUnity_185R.SaltyIntelligentPlainsqueaker.zip indir
Dosyayı indir, full download - ANXCameraUnity_185R.SaltyIntelligentPlainsqueaker.zip
www.dosyaupload.com
ANX_aux_patch_by_bhatsahab.zip indir
Dosyayı indir, full download - ANX_aux_patch_by_bhatsahab.zip
www.dosyaupload.com
Thx for this. Most modes do work fine!
Did you managed to get video working?
I can't get the file to save correctly. A 5 sec video is shown as an hour long..
Thank you!
Beaster said:
Thx for this. Most modes do work fine!
Did you managed to get video working?
I can't get the file to save correctly. A 5 sec video is shown as an hour long..
Thank you!
Click to expand...
Click to collapse
You are welcome.
video mode works fine for me. I did not see any trouble. What is the Rom you use? There is probably a problem with the Rom you use.
ryukseloglu said:
You are welcome.
video mode works fine for me. I did not see any trouble. What is the Rom you use? There is probably a problem with the Rom you use.
Click to expand...
Click to collapse
Hi! I am using ArrowOS. I ll troubleshoot a bit more then.
Thx again
Beaster said:
Did you managed to get video working?
I can't get the file to save correctly. A 5 sec video is shown as an hour long..
Click to expand...
Click to collapse
I think it's media app issue instead of cam app issue.
Where do you see the an hour long video? Could you share the screenshot as well?
I would say that it was good on my side. Video working good either normal fps or slow motion. I'm using ArrowOS as well (v11).
padiyes said:
I think it's media app issue instead of cam app issue.
Where do you see the an hour long video? Could you share the screenshot as well?
I would say that it was good on my side. Video working good either normal fps or slow motion. I'm using ArrowOS as well (v11).
Click to expand...
Click to collapse
I removed the modules unfortunately. I believe they were causing an issue with my pdf scanning software (Microsoft lens).
I am using Google photos
Tested on MI 10T Pro.
Installing all makes the camera work, but ANX_AUX_PATCH_BY_BHATSAHAB.ZİP breaks mobile connectivity!
Is there any way to get ANX working without this patch, or fix the patch so I don't loose mobile connectivity.
I know the thread is not for Mi 10T Pro but any help would be appreciated.
Works like a charm. Good work man. It's not place for my question but where can I find the hdr fix for youtube. I tried many but but non of them working?
I use havoc os 4.3 build.
Works on Evolution X 5.6 Unofficial by Techno Squeezers. Thank you!
After installing ANX (the 3 zips) on PE+, every time I start my phone I have this error :
in French : Scanner s'arrête systématiquement
in English : Scanner keeps stopping
An idea on how to correct that or what is it ?
Howell said:
After installing ANX (the 3 zips) on PE+, every time I start my phone I have this error :
in French : Scanner s'arrête systématiquement
in English : Scanner keeps stopping
An idea on how to correct that or what is it ?
Click to expand...
Click to collapse
Try to uninstall 1 of the zip, then restart. Redo until you found the culprit.
Or, on the error popup, is there any additional button that redirect you to this app specifically?
mexusbg said:
Tested on MI 10T Pro.
Installing all makes the camera work, but ANX_AUX_PATCH_BY_BHATSAHAB.ZİP breaks mobile connectivity!
Is there any way to get ANX working without this patch, or fix the patch so I don't loose mobile connectivity.
I know the thread is not for Mi 10T Pro but any help would be appreciated.
Click to expand...
Click to collapse
same problem for me on mi 10t
after install patch zip and enable it, mobile conectivity stopped working!
plz help
Installing aux patch shows "There's an internal problem with your device. Contact your manufacturer for details."
Everything works! it's perfect like stock miui camera. It's working great on wave os android 11. Is there a way to remove the watermark on photos?
Vincent Foxx said:
Everything works! it's perfect like stock miui camera. It's working great on wave os android 11. Is there a way to remove the watermark on photos?
Click to expand...
Click to collapse
Settings - Watermark
Vega56 said:
Settings - Watermark
Click to expand...
Click to collapse
Thanks i didn't saw it at first
this is can install via twrp or just via magisk?
misfitsitsfits1326 said:
this is can install via twrp or just via magisk?
Click to expand...
Click to collapse
Magisk.
It stopped working. It was working when I first flashed it now it can't record any type of video on any camera mode. I just hear the sound with a still frame of the video. Any idea how to fix. It's on wave os
Does this let you use all 3 cameras or does it only let you use the main back one and the macro?

Categories

Resources