[Guide][Treble]Use Dual Camera on GSI Roms - Xiaomi Mi A2 / 6X Guides, News, & Discussion

Tested on Mi 6X with AOSP 9.0 v106 by phhusson, but I think it can work on Mi A2, too.
Base rom (before flash GSI images): MIUI 10 8.7.26.
Dual camera working on MIUI Camera app only, and don't forget to turn off "do not disturb" mode.
Steps:
Open /system/build.prop
Append following texts:
Code:
camera.aux.packagelist=org.codeaurora.snapcam,com.android.camera,com.qualcomm.qti.qmmi
vendor.camera.aux.packagelist=org.codeaurora.snapcam,com.android.camera,com.qualcomm.qti.qmmi
persist.camera.preview.ubwc=0
persist.camera.stats.test=0
persist.camera.depth.focus.cb=0
persist.camera.isp.clock.optmz=0
persist.camera.linkpreview=0
persist.camera.isp.turbo=1
persist.camera.set.afd=4
persist.bokeh.switch.lux=290
persist.camera.auxswitch.threshold=330
persist.camera.mainswitch.threshold=419
# The following prop will enable dual camera, if you confuse on crash, just delete it to use single camera.
persist.camera.expose.aux=1
Install Magisk module: Xiaomi Mi A2 Camera (You can find on Magisk).
Reboot your phone, and grant all permissions for MIUI Camera app (com.android.jasminecamera)
Bugs (Most for Mi 6X) :
It may cause others camera apps crash when switching camera twice.
You can find a "fake" camera on some testing apps. (e.g: AIDA64, Device Info HW, etc.)
Some Mi 6X custom roms may see a green screen on portrait mode.
You can't take picture when you enable some features (e.g: beauty).
You can't take square picture or panorama (360° picture).
Referrer (all are from GitHub, sorry I can't post with links due to forum rules for newbie.):
MI6XDev/treble_fix_for_wayne/wiki/en_us#dual-cam
TadiT7/xiaomi_wayne_dump/blob/CORRUPTED---wayne-user-8.1.0-OPM1.171019.011-8.7.12-release-keys/system/build.prop
TadiT7/xiaomi_jasmine_dump/blob/jasmine-user-8.1.0-OPM1.171019.011-8.9.20-release-keys/system/system/build.prop

Thank you for sharing!
But pn Pie 9.0 GSI only 4.5 camera module from Xiaomi Redmi Note 5 Pro thread works and opens up. And unfortunately these build.prop lines do not help to activate second camera in MIUI CAmera app. Any ideas?

Related

[APP][CAMERA-MOD][7.1.X] Collection camera Modded [NEWS][10/19]

Collection of modded camera apps for Android 7.1
So before posting a question do a search the response exists.
Thank you for understanding that to waste time answering questions already posted I would not advance to a develop for an app to be stable and no bug
GOOGLE CAMERA
Features:
- Camera (HDR+ Front and Back, flash, zoom 8x, raw, etc)
- Video (30/60FPS at 1080p, 30FPS at 4K, slow motion, autofocus, stabilization)
- Panorama, Photo Sphere, Lens Blur, Portrait Mode and Motion Photos
Bug : After installing gapps, GCam does not work "Force close"
use a root file explorer, delete the files /System/framework/com.google.android.camera.experimental2016.jar and /System/etc/permission/com.google.android.camera.experimental2016.xml.
IMPORTANT Google Camera does not work without Camera2API, please ensure it is enabled on your ROM. If not, use this Magisk Module to conveniently enable Camera2API.
Latest
2018/10/19 – GoogleCamera_6.1 (GoogleCamera_6.1.009.215420794-beta2.apk)
ChangeLog and Download :HERE
Latest Pixel2Mod
2018/06/23 – GoogleCamera-Pixel2Mod Version without any config, just to enjoy. (GoogleCamera-Pixel2Mod-Arnova8G2-V8.apk)
ChangeLog and Download :HERE
ARCore and ARSticker
Fix devices for android 7 and android 8
Test : le_x2, x2, land, le_zl0, le_zl1, potter, P2c72, P2a42, zl0, Zl1, z2_row, z2_plus, griffin, potter
Works : OnePlus3, sagit, jason,gemini, natrium, capricorn, vince
Last ARCore : ARcore_1.3.180604066.apk
ARSticker all pack includ in apk : ARStickers-1.1.180205063.apk
List all threads by device
OP5T - OP5 - OP3/3T - OP2 - S8 - S7 EDGE - S7 - MI MIX - RN3 - REDMI4 PRIME - MI A1 - REDMI 4X - RN4 - REDMI 3S - LG G6 - HTC10 - U11 - MOTO G5 PLUS - LE MAX 2
The list is not complete search in the threads of your device.
Additional functionality :
Replace media_profiles.xml file in the folder /system/etc and save permissions should be rw- r-- r--
media_profiles.xml to fix slow-motion recording, 30/60 FPS recording, HEVC recording.
media_profiles.xml to fix slow-motion recording, 30/60 FPS recording, standard H264 recording.
Archive
2018/02/25 – GoogleCamera-Pixel2Mod-Arnova8G2-V6
ChangeLog and Download :HERE
2018/02/02 – GoogleCamera-Pixel2Mod-Arnova8G2-V5
ChangeLog and Download :HERE
2017/11/07 – GCMod5 based on Mod By B-S-G (GCam5.1.014-Arnova8G2-v10.1.apk)
2017/12/08 – GCMod5 based on Mod By B-S-G (GCam5.1.018-Arnova8G2-V1.1.apk)
ChangeLog and Download :HERE
This a new version, so we need to test these settings and find what's best for this device.
Settings:
Config camera HDR+: Nexus6p or Nexus6 Auto or all Pixel for Motion photo
Model: Pixel 2XL or Nexus 6P if you want more detailed images
HDR+ parameters: Medium or higher
To enable the HDR+ UI button: Settings > Advanced > HDR+ control
Warning: You need to restart the app so the new settings are applied.
2017/10/16 – Mod by B.S.G based on Google Camera v4.4.20 (MGC_4.4.20_7.0H_C2API_v.4.2_AllinOne_Full_Manual)
ChangeLog an download : HERE
ChangeLog and Download :HERE
2017/11/05 – GCMod5 based on Mod By B-S-G (GCam5.1.014-Arnova8G2-v10.apk)
ChangeLog and Download :HERE
2017/10/27 – GCMod5 based on Mod By B-S-G (GCam5.1.014-Arnova8G2-v6.apk)
ChangeLog and Download :HERE
2017/10/24 – GCMod5 based on Mod By B-S-G (GCam5.1.014-Arnova8G2-v5-MI5.apk)
ChangeLog and Download :HERE
2017/10/16 – Mod by B.S.G based on Google Camera v5.1.011 (MGC_5.1.011_7.0H_C2API_v.1.0_AllinOne)
ChangeLog an download : HERE
2017/10/13 – Mod by B.S.G based on Google Camera v5.1.011 (MGC_5.1.011_TEST1)
Added models to the input
Added configs
Activated hidden items in the settings
Fixed various errors
Fixed news menu config
Fixed front camera upside down
Add lens blur 8 megapixels ( By @stars2 ) here
DOWNLOAD
2017/10/13 – GoogleCameraMod_V5.1.011.170395186_HDR+
Version with HDR+
With some bug
DOWNLOAD
2017/10/13 – GoogleCameraMod_V5.1.011.170395186
Version without HDR+
Stable version
DOWNLOAD
27/09/2017 – Mod v.4.0 by B.S.G based on Google Camera v4.4.020 (MGCBMod_7.0H_C2API_v.4.0_AllinOne_Full_Manual)
The new menu added by B-S-G was only for the MI5s.
Correct to run on all devices
New menu for known effects fixe for all device.
Nexus 6 - no HDR+ On in low light
Nexus 6P - best sharpness, larger file size, color balance shifted toward green in shadows
Pixel 2 XL - color balance shifted toward red in shadows
Pixel XL (orig) - low sharpness, smaller file size
Pixel XL (corr) - good sharpness, neutral color balance
Settings for activate HDR+ :
Support level override - Nexus_2015
Supported hardware level, back camera - Limited
Supported hardware level, front camera - Level_3
DOWNLOAD
23/09/2017 – Mod v.3.8.b by B.S.G based on Google Camera v4.4.020 (MGCBMod_7.0H_C2API_Mid_v.3.8.b_AllinOne_Full_Manual )
DOWNLOAD
21/09/2017 – Mod v.3.8 by B.S.G based on Google Camera v4.4.020 (MGCBMod_7.0H_C2API_Mid_v.3.8_AllinOne_Full_Manual )
DOWNLOAD
20/09/2017 – Mod v.3.7 by B.S.G based on Google Camera v4.4.020 (MGCBMod_7.0H_C2API_Mid_v.3.7_AllinOne_Full_Manual )
DOWNLOAD Version MI5
DOWNLOAD Version No MI5
09/09/2017 – Mod v.3.5 by B.S.G based on Google Camera v4.4.020 (MGCB_7.0H_C2API_Mid_v.3.5_AllinOne_Full_Manual
DOWNLOAD
DOWNLOAD Version for MI5
09/09/2017 – Mod v.3.4 by B.S.G based on Google Camera v4.4.020 (MGCB_7.0H_C2API_Mid_v.3.4_AllinOne_Full_Manual
DOWNLOAD
DOWNLOAD Additional Mod by @Arnova8G2 who fixed Mi5 front camera orientation
07/09/2017 – Mod v.3.3a by B.S.G based on Google Camera v4.4.020
DOWNLOAD
07/09/2017 – Mod v.3.2.1 by B.S.G based on Google Camera v4.4.020
DOWNLOAD
05/09/2017 – Mod v.3.2 by B.S.G based on Google Camera v4.4.020
DOWNLOAD
04/09/2017 - Mod v.3.1 by B.S.G based on Google Camera v4.4.020
DOWNLOAD
Mod v.3.0 by B.S.G based on Google Camera v4.4.020
DOWNLOAD
30/08/2017 Updated GoogleCamera 4.4.020
Fixed for android 7.0 (MIUI or other rom)
DOWNLOAD
25/08/2017 Updated GoogleCamera 4.4.020
DOWNLOAD
21/08/2017 Updated GoogleCamera 4.4.020.163412804 with HDR+
DOWNLOAD
17/08/2017 GoogleCamera with the HDR+
DOWNLOAD
MIUICAMERA
Latest
2017/12/19 - MiuiCameraMod v1.6 (MiuiCameraMod_V1.6.zip)
ChangeLog and Download :HERE
Install:
Add the file "MiuiCameraMod_V1.4.1.zip" to your internal storage.
Reboot to TWRP recovery
Install ZIP
Reboot to system
Thank you be sure to report all bugs.
Archive
2017/10/24 - MiuiCameraMod v1.5 (MiuiCameraMod_V1.5.zip)
ChangeLog and Download :HERE
2017/10/14 - MiuiCameraMod v1.4.1
ChangeLog :
Automatic create of the device_features folder and the xml file in the name of your device.
Fixed HDR Pro, HDR Live and Flash Off
Improved HDRPro (added a little shadow), Compared to my daytime test here.
Remove group selfie for Redmi Note 3 is not compatible with the hardware.
Cleaning existing libs and cache.
Cleaning the code
Known Bug:
Test on Mi Max 2 (oxygen) and Android 7.1.1, it works well as long as you do not enable camera2 API.
DOWNLOAD
Thank for beta test
@Jaripi, Mi Max 2 (oxygen)
@NuroPreak, Mi3/Mi4 (cancro)
@sarveshrulz, Redmi Note 3 (kenzo, kate)
@psoneseven, Redmi 4x (santoni)
30/09/2017 - MiuiCameraMod v1.3Dev
Changelog:
AgeGender works Miui9, for other rom has to activate in the parameters of the framework before compiling its rom. The parameters exist in the lib camera.msm8996.so of Miui9 for Mi5 and libMiCameraHal.so of the A1
Best libs management with new code more compatible with android Aosp.
Activate beautify 3.0
All options works on all existing roms
Install :
Add the file "MiuiCameraMod_V1.3.zip" to your internal storage.
For Miui9/Miui8 Extract the file device.xml to your internal storage and rename it to the name of your device example : (Mi5 gemini.xml)
For Custom ROMs Extract the file device.xml to your internalstorage/device_features/ and rename it to the name of your device example : (Mi5 gemini.xml)
Reboot to TWRP recovery
Install ZIP
Reboot to system
For installing the version of @stars2, make sure to remove the folder system/priv-app/MiuiCamera
Thank you for testing with your device. Make sure to write your device and the rom to report all bugs also to make screenshots and logcat.
Download : MiuiCameraMod_V1.3.zip
Download News xml file: device.zip
20/09/2017 - MiuiCameraMod v1.2 stable
Changelog:
Cleaning the code
Improved HDR Pro code
Version even more stable than the previous one
Install :
With TWRP Recovery
Download : MiuiCameraMod_V1.2.zip
Download News xml file: device_features.zip
14/09/2017 - MiuiCameraMod v1.1 stable
To use it it is necessary to create a folder in internal storage and to name it device_features
internal storage/device_features/mydevicename.xml
Changelog:
Fix App for Aosp, Los, Rr, Jdcteam...
Fix all resolution for Slow Motion
Add in device features config is_no_xiaomi, is_aosp, support_force_hd_hfr ect...
Install :
With TWRP Recovery
DOWNLOAD : MiuiCameraMod_V1.1.zip
device_features/mydevice.xml
If someone can help me solve a problem with TWRP in the file updater-script
For this line:
PHP:
run_program("/sbin/cp", "-p", "storage/emulated/0/device_features/device.xml", "/storage/emulated/0/device_features/" + getprop("ro.product.device") + ".xml");
12/09/2017 - MiuiCameraMod v1 Beta3
For any other device replace gemini.xml by yourdevice.xml
To use it it is necessary to create a folder in internal storage and to name it device_features
internal storage/device_features/gemini.xml
Changelog:
Fixed permissions after installation
Adding the config file to internal storage
Here is some screenshot : HERE
DOWNLOAD
DOWNLOAD gemini.xml
10/09/2017 - MiuiCameraMod v1 Beta2
Install and allow all persmissions in application settings
Changelog:
Add all devices SOC Snapdragon
Fixe slow motion video no forces close the application
Difference in picture taken comparison of Google Camera and MiuiCamera in HDR mode and night mode HERE
https://forum.xda-developers.com/attachment.php?attachmentid=4268722&d=1505056380
DOWNLOAD
DOWNLOAD : Magisk module. You have to flash it trough twrp, thanks to @jigs4wkiller for Magisk module
08/09/2017 – MiuiCameraMod v1 Beta1
First beta to give an overview of this application.
DOWNLOAD
MOTO CAMERA
Features:
Get all the information at your fingertips with the automatic scanning of QR codes, bar codes and business cards: simply place the camera over the QR code, barcode or card, then select Find, Save, and Copy.
Rich features allow you to control your device even more:
Photo, video, slow motion and panorama.
Press to change the focus and exposure.
Professional mode: fully control focus, white balance, shutter speed, ISO sensitivity and exposure.
Latest
22/07/2017 – Moto Camera v6.0.78.1 Mod
Changelog :
Performance improvements
Performance HDR
Difference in picture taken in HDR mode and not HDR HERE
DOWNLOAD
Archive
01/07/2017 – Moto Camera v6.0.62.1 Mod 3
Changelog :
Added Devices for Pro Mode: sagit, capricorn, natrium, libra, cancro, oneplus3.
DOWNLOAD
First Release - Moto Camera v6.0.62.1 for android 7.1.X
DOWNLOAD
ONEPLUS CAMERA
Features:
HQ, ClearShot, Manual mode, Slow motion, Time lapse, Panorama.
Latest
29/06/2017 - OnePlus 5 Camera v2.0.0
If front camera is upside down, thanks to olivercervera for this fix
Changelog:
Add library of oneplus5
Pro mode is more stable and fast
Recording in raw mode works perfectly
Check out my test HERE and HERE
DOWNLOAD
Archive
OnePlus 3/3T Camera v8 port
Thanks to siankatabg for this work. Original thread here.
DOWNLOAD
PLEASE NOTE: This camera can’t have HDR and Manual Controls available at the same time.
When CameraAPI2 IS DISABLED you get HDR without Manual Controls.
When CameraAPI2 IS ENABLED you don’t get HDR but all the other features.
SNAPDRAGON CAMERA
Latest
Snapdragon Camera v2.0.003 Mod
DOWNLOAD
Archive
Nothing in the Archive yet!
HTC CAMERA
Features :
Rich automatic controls, Live makeup, Panorama camera mode, Panorama camera selfie and HDR.
Latest
HTC Camera v8.50.917991 Mod
Check out screenshots HERE
DOWNLOAD
Archive
Nothing in the Archive yet!
PHOTO COMPARISON
Comparison along with the Mi5 camera. thanks to @alex13200
OnePlusCamera HDR : HERE
MotoCamera HDR : HERE
MiuiCamera HHT : HERE
MiuiCamera HDR : HERE
GoogleCamera Config Nexus6P : HERE
GoogleCamera Config Pixel 2007 Hdr Zsl HDR+ : HERE
GoogleCamera Config Pixel Experimenal Feactures : HERE
Camera Next HDR : HERE
2017/10/14 MiuiCameraMod_V1.4 HDRPro VS MGC_5.1.011_TEST1 HDR+ : HERE
Taking pictures without flash MGCBMod_7.0H_C2API_Mid_v.3.7 VS MiuiCameraMod v1.2 : HERE
Other test : MGCBMod_7.0H_C2API_Mid_v.3.7 HDR+ VS MiuiCameraMod v1.2 HDRPro HERE
News : Comparison of MGCBMod v.4.0 HDR + VS MiuiCameraMod v1.3 HDRPro HERE
News : Comparison during the day : MGCBMod v.4.0 HDR + VS MiuiCameraMod v1.3 HDRPro HERE
Screenshot of tests on all existing roms : HERE
Video of the MiuiCameraMod V1.3 test on Miui9 : HERE
Video to show the speed of execution and recording of the photo : HERE
Thanks to @olivercervera who rewrote the posts here
All credit and thanks to:
@B-S-G for Mod MGCB based on Google Camera
@siankatabg for OxygenOS Stock Camera V8
Un merci ne coûte rien, mais ça motive.
A thank you doesn't cost anything, but it motivates.
Thanks for share ..
Will give it a try
Does it work with resurrection remix rom on Xiaomi mi5?
lioutasrom said:
Does it work with resurrection remix rom on Xiaomi mi5?
Click to expand...
Click to collapse
Yes they are installed on all roms based on android 7.1.x or larger
anyone tried the moto camera??
Update: Works!!
wow nice, does slomo work when installed on lineage OS ? (did not when i tried snapcam earlier)
---------- Post added at 06:01 PM ---------- Previous post was at 05:45 PM ----------
Crashes in slomo moto cam in mi5 lineage
jeffreydeleeuw said:
wow nice, does slomo work when installed on lineage OS ? (did not when i tried snapcam earlier)
---------- Post added at 06:01 PM ---------- Previous post was at 05:45 PM ----------
Crashes in slomo moto cam in mi5 lineage
Click to expand...
Click to collapse
Hi,
Moto works great on LOS, slomo cam works fine for me.
I have another problem, I cant turn off the shutter sound. When I tap on this position in menu, menu hides and shutter sound is still on. Any ideas?
KojiroH said:
Hi,
Moto works great on LOS, slomo cam works fine for me.
I have another problem, I cant turn off the shutter sound. When I tap on this position in menu, menu hides and shutter sound is still on. Any ideas?
Click to expand...
Click to collapse
The shutter sound off or on, works well on RR.
You can do a test with this corrected version
Arnova8G2 said:
The shutter sound off or on, works well on RR.
You can do a test with this corrected version
Click to expand...
Click to collapse
The same but thx for trying.
Anyone has the same problem on LOS like me?
when trying to flash with twrp 3.1.1 i get an error "invalid zip file format" for both files. error on my side?
dogo77 said:
when trying to flash with twrp 3.1.1 i get an error "invalid zip file format" for both files. error on my side?
Click to expand...
Click to collapse
It must be extracted and installed the APK file
Arnova8G2 said:
It must be extracted and installed the APK file
Click to expand...
Click to collapse
Thanks, that did the trick
Delete the shutter sound file from system
The shutter sound cannot be disabled also an xiaomi.eu rom
Delete the file from system/media/ui and its disabled
How do I enter professional mode on Moto camera?
---------- Post added at 12:32 AM ---------- Previous post was at 12:31 AM ----------
lioutasrom said:
How do I enter professional mode on Moto camera?
Click to expand...
Click to collapse
Nevermind, I found it
NEWS OnePlusCamera Modded V8 for android 7.1.X
News Google Camera 4.4.012.156195200 + Fix Slow motion
Arnova8G2 said:
NEWS OnePlusCamera Modded V8 for android 7.1.X
News Google Camera 4.4.012.156195200 + Fix Slow motion
Click to expand...
Click to collapse
This is great news, thank you. However, i still prefer Moto Camera, since it has the ability to use HDR. Would be possible to enable HDR on Google Camera?
Replaced the media profile, and now all my camera apps crashes, Moto camera says "invalid media profile"

Google Camera - How to - for Mi Note 3 . With configurations.

FiX for MIUi 10 now!! ( xiaomi. eu Beta and global Beta Pie roms fix!!!!) (scroll to the end of post)
Update 23.12.2018. thanks to @dianluitao @EnesSastim and couple more people we have working GCam on MIUI 10 8.1
07.07.2019. *****UPDATE********
So for now cam2api is not buuged anymore on Pie roms (for now only beta) and here I will post how and files to go from 0 to full working GCam.
As usually you will need twrp and magisk or just magisk.
Flash in magisk file attached to enable Cam2api
Install recommended GCam (I am using it it doesn't mean it is the best one for you too)
Also there is file with preloaded GCam settings for easy use. How to load it? Well first open file explorer and make folder >>>GCam than make another inside of it >>>Configs than copy/paste Configs html file in it and not go and start GCam app, click couple of times on black area (around shutter button) option menu named :Choose confog pick the one you copy pasted in GCam folder and click Restore. Just to make sure close GCam clear from memory and open again. Settings is loaded and you are ready to use it.
Also thanks to @uvera we have this fix and thanks to all people involved in making GCam ports of html pre loaded settings for it.
Don't be twat, press that *****Thanks***** button below since I know you are all cheap m.... F.... and there will be 0 donations Cheers mates!
P. S. I have some troubles with attaching the files give me some time to work it out. Will update post during the day.
23.12.2018. Update - You will need china stable or miui.eu rom 10.2.3.0 for this to work ( I personal tested it on eu rom) all yopu need it root explorer, build prop editor and 2 files.
1) Download camera.sdm660.so and copy/paste it via root explorer into vendor/lib/hw/ and replace old file ( I used solid explorer to do so also you will need magisk since you need to give solid explorer root privileges ) (.so file is in zip so yes you need to extract it first than copy that file and replace it with old one).
2)go to build prop editor give it root privbileges and add this line : persist.camera.HAL3.enabled=1 (persist.camera.HAL3.enabled and in value box add 1) save it and restart phone
3) after this you will need to flash front camera fix to make front camera working. fix and rest of the files are at the end of this post !
Once again thanks to @dianluitao @EnesSastim @WebDingo and @Savitar (webdingo and savit for front camera fix) and all people responsable for this fix. :highfive:
Hi, I just want to make guide - simple step by step tutorial that people can follow and install GCam on our Mi Note 3 - Jason device. EVERYTHING you do is your own responsibility and I am not to be blamed if something goes wrong while you do so.
1. You NEED a rooted phone, for now, this ONLY works on rooted phones.
2.You need TWRP since you need to flash magisk and camera2api from there. Link to magisk >>> https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Thanks to @topjohnwu
3.Now when you flashed latest magisk you will need to do the same with camera2api (file will be at the end of this thread). Thanks to @uvera00
4.Now you can restart your device and install GCam apk from here >>>> https://www.celsoazevedo.com/files/android/google-camera/ I recommend Arnova's version 6 since it is the latest and it is working ok (it is not bugless) .
5.Now when you done all this start the camera and as you can see it is not working That is because you need to set it up correctly.
So correct (most stable ) settings are :
Advanced : Config camera HDR+ / Pixel 2017 ZSL HDR+
HDR+ parameters (you can play with this and decide which ones are best for you. I use Medium or Very High.
Disable front HDR+ / ON - THIS IS MUST HAVE
HDR+ image quality / Again this is to your own liking I use 97%
Well, this is basically it. Everything else is up to you to experiment with and share your best stable results. This setting I use every day and so far I didn't have any crashes. Also, a thing I forgot to mention in shooting mode you will see HDR+ icon up on the screen if you press it there is HDR+ enhanced mode and I do not recommend this since it is not working correctly with flash and it tends to crash app. I don't recommend it but it doesn't mean you cant use it
Share your best settings and some interesting pics! We are here to help each other.
GCam wouldn't be possible without Arnova, B-S-G, ivanich, scrubber, skulshady, cstark27, miniuser123, UriKill, Tolyan009, Charles_I, azevedo. This is their work and if you want to donate go to GCam donate link and donate to them. I am just here to make a bit simpler. Test GCam and have a nice day
Ok so there was some development for our device thanks to all GCam developers and @WebDingo for asking them to help us out. The new attacked zip is magisk module and it contains cam2api and front camera HDR fix for Mi Note 3. I tested it with couple of GCam versions and it works well. Flash it thry TWRP and enable (it should be enable by default ) in magisk. Also i there is now Arnova version on which manual focus works. The version is Arnova v7 test10 opt5-5t you can download it from official download page of Gcam ports i provided up in the thread. As always test and report
As you all know Gcam is not working on miui 10 builds. For now, we know "fix for it " i tried it on xiaomi.eu 10 stable build and it is working.
1. Download build pro editor from google play
2. Open build prop editor click on three dots in right up corner press + New - Name : persist.camera.HAL3.enabled and in Value field enter number 1 and click save.
3. in prop editor go to search and type persist.camera find this line - persist.camera.dxo=1 and delete it. Restart the phone. Now boot to twrp and flash camera fix for gcam and boot again.
4. Install Gcam you think will be good ( I tied it with OP6-1.2.1-Gcam and Gcam 5.1.018 by SerJo87)
The problem was (we think) during the broken blobs of OIS so by disabling it gcam works.
All of this wouldn't be possible without @dianlujitao @uvera and all other devs on MN3 telegram group. Special thanks to @rayser ( I don't know how are you signed up here buddy).
Findings so far:
Front camera has screen flash (when will MIUI camera implement this?)
HDR+ enhanced works correctly with flash in my case (MIUI EU 9.2.2.0)
HDR+ doesn't work correctly with flash (the flash is already off when the picture is taken)
HDR+ enhanced has greenish issue
60fps recording records 30fps (more like library issue from the base ROM)
Portrait mode doesn't work for front camera (lens blur works, though)
Are you using same settings as i mentioned above? What version of GCam ?
Video mode is very dark.....
I did intall difrently, because i dont know how to use magisk....but the result is the same.:angel:
Edit:
Forget it, video works normally..
You dont need magisk for GCam as an app. You need magisk to enable camera2api (which you did by fleshing it via TWRP) so you can just install/uninstall GCams apks normally. Also you can have more than one GCam installed on your device. I have currently 3 of them. V3.2 + v5 + v6.
What i did was wright the 2 lines with app Build.ini.
Did follow your sugestions for Gcam. Im at work without time to test....
Queston:
Why there isnt option for 13Mb in 16:9 mode? Only 9Mb....
You mean 13 megapixel and 9 megapixel ? Because 16:9 is cropped image and it is in 9mpx resolution.
dimi89 said:
Are you using same settings as i mentioned above? What version of GCam ?
Click to expand...
Click to collapse
Yes, v6.
Hi!
I'm on Xiaomi.EU 8.2.1 Rom .
When i activate the Camera2Api, Google Camera works, but i can not record 4K video with it, and the default Miui camera app also refuses the video recording in 4K.
I've tried a lot of camera apps, with same result. 1080p ok, but the 4K not at all.
What is the solution?
Another question:
It is possible somehow to achive 1080p with 60fps?
maybe with a modded media profiles.xml?
Thanks!
Good Questions...
Gonna try 4K too
P.S. NO problem on 4K both cameras...didnt see the sound.
is this quide for fully working google camera? or just somethings of it? like touch to focus, no crashing, hdr+? no greenish etc..
As I wrote, this is guide to set up GCam there are different versions with different bugs, in v6 manual focus inst working and hdr+ enhances sometimes crash when using with auto flash. There is version 3.2 where manual focus is working but low light images aren't that good. Also there is v5 where in my opinion are the best details. So you download different versions and try to see which one you prefer.
Послато са Mi Note 3 уз помоћ Тапатока
I tried many versions of GCam and stock camera since 8.2.1. is improved a lot. It makes similar photos (with HDR) to GCam.
But for me, best quality of photos is GCam V1,7. But sometimes it do not want to make photo on HDR+, only with enchanced.
So wich version of gcam should i install if i use all in auto with hdr on?
I'm on lineage
Try GCam 5v1.2 arnova or v6 arnova. But keep in mind that it depends a lot on settings of GCam. For GCam 5v1.2 use Nexus 6P and Pixel 2017 ZSL +
Послато са Mi Note 3 уз помоћ Тапатока
I strongly recommend to try this one https://forum.xda-developers.com/showpost.php?p=75850874&postcount=43
Antretng said:
I strongly recommend to try this one https://forum.xda-developers.com/showpost.php?p=75850874&postcount=43
Click to expand...
Click to collapse
That's the first app + settings I've found with no bugs. Haven't deeply tested quality, but everything works.
Night shoots are black for me. It appears flash isnt helping. Same settings i used as in pictures.
Sent from my Mi Note 3 using Tapatalk
GCam is not working
GCam Arnova v6 is not working. It shows Black Screen only after configuring everything on Mi Note 3.
Is there 1080P 120fps slow-motion video capture available ?
Doesnt work on my note 3, i just get black screen. Version V6 and i'm using miui eu 8.3.8
---------- Post added at 09:15 PM ---------- Previous post was at 08:55 PM ----------
OK i fixed, just enabled "Disable front HDR+"

Camera2Api fully working on MIUI 10, google camera, tests

Hi, i dont know why people has problem with camera2api on MIUI 10, everything works perfect, look at my movie on youtube:
https://www.youtube.com/watch?v=9qCyloNEIAk
I made tests, in night -> camera2api+google camera and miui camera (without lamp everything)
No magisk modules etc... no root needed, only fix build.prop, xiaomi eu 10.0.5
photos
Photos 2
photos 3
And some photos in beautifull Cracov in Poland, night, camera 2 api, google camera
dromaczek said:
Hi, i dont know why people has problem with camera2api on MIUI 10, everything works perfect
Because you have MiuiEu stable:
xiaomi eu 10.0.5
Click to expand...
Click to collapse
Welcome back to Poland.
dromaczek said:
Hi, i dont know why people has problem with camera2api on MIUI 10, everything works perfect, look at my movie on youtube:
I made tests, in night -> camera2api+google camera and miui camera (without lamp everything)
No magisk modules etc... no root needed, only fix build.prop, xiaomi eu 10.0.5
Click to expand...
Click to collapse
What is the procedure of it?
With the build prop fix and everything...
dromaczek said:
And some photos in beautifull Cracov in Poland, night, camera 2 api, google camera
Click to expand...
Click to collapse
Good old times, where I went there. I will be back for sure
mrneko said:
What is the procedure of it?
With the build prop fix and everything...
Click to expand...
Click to collapse
Fully working google camera app:
GoogleCamera-Pixel2Mod-Arnova8G2, version 6 (in setting turn off portair hdr+ and Nexus 6 Auto Hdr+ on back)
Build.prop modyfication: (with twrp or root)
Delete "persist.camera.dxo=1"
Add "persist.camera.HAL3.enabled=1" (after modifed wipe cache/dalvik).
Fully working all on xiaomi eu 10.0.5 rom,
Only bug after do it, is that hdr on mi camera dont works, but everything else portair mode, zoom, bokhen effect works. And google camera HDR+
I deleted "persist.camera.dxo=1" and my camera goes black and is dead...this is fixed by clean flash...
DimitrisVerlis said:
I deleted "persist.camera.dxo=1" and my camera goes black and is dead...this is fixed by clean flash...
Click to expand...
Click to collapse
Hi, DimitrisVerlis, did you add this line after delete?
Delete "persist.camera.dxo=1"
Then
Add "persist.camera.HAL3.enabled=1" (after modifed wipe cache/dalvik).
Do not have any module related to api (very important): GCam_FIXPORTRAIT_HDR_JASON.zip uninstall / -Jason.all.in.one_minimal_hevc-v2.3.zip - Uninstall
- Unzip the zip Jason.all.in.one_minimal_hevc-v2.3.zip and we're headed
System / seller / lib
-extract the libmmcamera_jason_s5k3p8sp_sunny.so library and copy to root / system / vendor / lib
Outdoors, the other libraries are included in the rom
Restart
-Gcam recommended: MGC_6.1.013_MiMAX2_V1b_A8.1 + fix_Hexagon_failed + blFront.apk. (All credits to: leledumbo , Divet and Depump . MIUI EU Forum)
Good luck!
dromaczek said:
Fully working google camera app:
GoogleCamera-Pixel2Mod-Arnova8G2, version 6 (in setting turn off portair hdr+ and Nexus 6 Auto Hdr+ on back)
Build.prop modyfication: (with twrp or root)
Delete "persist.camera.dxo=1"
Add "persist.camera.HAL3.enabled=1" (after modifed wipe cache/dalvik).
Fully working all on xiaomi eu 10.0.5 rom,
Only bug after do it, is that hdr on mi camera dont works, but everything else portair mode, zoom, bokhen effect works. And google camera HDR+
Click to expand...
Click to collapse
Does this version Google Camera work on Xiaomi.eu 9.5?
Already have old version working....
Mord0rr said:
Does this version Google Camera work on Xiaomi.eu 9.5?
Already have old version working....
Click to expand...
Click to collapse
On old version i made fully working miui camera but with magisk module> My tutorial works on miui 10.0.5 EU
Does NOT work on Global Beta ROM 8.11.15 MIUI 10
Mr.Gamer said:
Does NOT work on Global Beta ROM 8.11.15 MIUI 10
Click to expand...
Click to collapse
Dont scream, I wrote that it works on xiaomi EU stable rom (or china rom)
dromaczek said:
Fully working google camera app:
GoogleCamera-Pixel2Mod-Arnova8G2, version 6 (in setting turn off portair hdr+ and Nexus 6 Auto Hdr+ on back)
Build.prop modyfication: (with twrp or root)
Delete "persist.camera.dxo=1"
Add "persist.camera.HAL3.enabled=1" (after modifed wipe cache/dalvik).
Fully working all on xiaomi eu 10.0.5 rom,
Only bug after do it, is that hdr on mi camera dont works, but everything else portair mode, zoom, bokhen effect works. And google camera HDR+
Click to expand...
Click to collapse
Working on Miui10 Chinese ROM as well! Thanks a lot!
whoami_amiu said:
Working on Miui10 Chinese ROM as well! Thanks a lot!
Click to expand...
Click to collapse
Nice to hear it. Google camera at night is the best
dromaczek said:
Nice to hear it. Google camera at night is the best
Click to expand...
Click to collapse
EDIT: Okay the NIGHTMODE is awesome!
HHT Xiaomi camera mode - https://mega.nz/#!bMMmhSBZ!1iEpR4G9fvcXT6CPXezIjRv-97UyJ0x4x5mkQBwN7gw
Google camera night mode - https://mega.nz/#!bdMwkSBQ!dP4zMWorN77Ar_isDH_Lcz4rojNXpepnl8glZxukvDs
And this method works with other apps? Like manual camera, beacon camera, filmic pro... or only with gcam?
Seems not working on xiaomi.eu 8.11.29 beta.
I deleted "persist.camera.dxo=1", added "persist.camera.HAL3.enabled=1", wipes cache/dalvik and reboot.
Broke stock miui camera and google camera still not working.

MIUI camera for mi9 magisk module

this is the miui port camera (ANX) I found it on the network and it works in pixel experience (plus) with android 10 (Q)
other models try you try (I try in mi9 only)
instructions:
1.Install ANX camera unity_175
2. install module 48MPfixQ_171
3.reboot and its all
I recommend installing one by one module
note:
the camera works by itself,
but you need the other module for portrait mode to work
MOD EDIT: DOWNLOAD LINK REMOVED
Thread closed
Mirrors of this camera are not allowed according to the original developer..
strongst
Forum Moderator

[SHARED] [Camera Mod][OOS10] Camera M, Magisk 24.3+

Hello there, this is a simple port for newer magisk versions of the Camera M mod for One Plus 5T. On OOS10 it's working perfectly. Not tested on custom roms, but you can give it a try.
The mod itself is not made by me, and binaries is not modified, original from the latest update of initial creators, txx1219 and DorianX.
Source code: https://github.com/gherv1/One-Plus-5T
Download Link: https://androidfilehost.com/?fid=10620683726822049482
Does this mod have access to recording 1080p 60 fps video (as in the video file legitimately shows 60 fps in its media properties)?
Whether it's OOS or a custom ROM I have noticed that all third-party camera apps have no access to 1080p 60 fps video recording (e.g. OpenCamera), or if they do it's not actually recording at 60 fps despite the setting selected (e.g. all GCam ports I tried so far). I can live without this but would love to know if there are third-party apps that can take advantage of this camera mode for the OnePlus 5T.
(EDIT 05/09/2023): This does not work on my specific custom ROM, the unofficial Evolution X 7.8 (Android 13-based) ROM port for the OnePlus 5T, when flashed via Magisk 26.1 (installed via OrangeFox Recovery R.11.1_3-dyn[A12]). The Camera app fails to load without showing error messages.

Categories

Resources