Camera2Api fully working on MIUI 10, google camera, tests - Xiaomi Mi Note 3 Guides, News, & Discussion

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.

Related

Oxygen os camera

Recently i am tested this work on our beloved htc 10 with RR os rom and android 7.1.2 ....and it seems works fine
as respect to the developer of this project i attached a link to his thread :http://forum.xda-developers.com/oneplus-3/themes/port-oxygenos-stock-camera-cm-t3451721
Some of features that i tested :
1) burst shot
2)slow motion
3)time lapse
4)video recording (4k -1080p -720p)
5)panorama is not working
Hope you enjoy
You just simply flash the camera zip file?
OxygenOS camera works on PureNexus ROM. For those of you on PureNexus, wait until the vidoe issues get sorted out for video to work flawlessly.
ali nz said:
You just simply flash the camera zip file?
Click to expand...
Click to collapse
Just Install as normal apps. Don't flash marshmallow's camera flashable zip !
HQ mode doesn't work. Snapdragon Camera lacks of feature and image quality for me
aligh2014 said:
Recently i am tested this work on our beloved htc 10 with RR os rom and android 7.1.2 ....and it seems works fine
as respect to the developer of this project i attached a link to his thread :http://forum.xda-developers.com/oneplus-3/themes/port-oxygenos-stock-camera-cm-t3451721
Some of features that i tested :
1) burst shot
2)slow motion
3)time lapse
4)video recording (4k -1080p -720p)
5)panorama is not working
Hope you enjoy
Click to expand...
Click to collapse
Thanks for sharing works greats on sense rom like viper 5.10 ....except the panorama
We also need camera hal1 enabler?
HTC 10 Matte Black Power
tested on DU,works fine,thank u for sharing:good:
any reason why would you prefer the camera in OxygenOS over than the stock one?

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+"

[Guide][Treble]Use Dual Camera on GSI Roms

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?

Smoooooooooooooooooooothest rom ever

Guys I'm currently using MI Room original rom (not ported) with 6.0.1 and it's the smoothest miui rom I have ever used. Spot on on performance battery life and ram usage, No bugs everything is working fine network, root, camera
Guys can you tell me other custom roms with buttery smoooooooooooooooooooooooth performance, with little to no bugs. Doesn't matter if its 6.0 7.0 8 or 9. Just looking for great performance without lag.
Mi rum rom is good but volte not working
Crdroid 8.1 by Difr.{Highly Recommended}
Resurrection Remix (8.1)
Dot OS(8.1)
Pixel Experience(Pie)
Arrow OS(pie)
Bootleggers (8.1)
OMkaRRasaL said:
Crdroid 8.1 by Difr.{Highly Recommended}
Resurrection Remix (8.1)
Dot OS(8.1)
Pixel Experience(Pie)
Arrow OS(pie)
Bootleggers (8.1)
Click to expand...
Click to collapse
thanks mate will try crdroid soon and will report.
Vinayakn73 said:
thanks mate will try crdroid soon and will report.
Click to expand...
Click to collapse
Is cr droid for redmi 3s
Vinayakn73 said:
Guys I'm currently using MI Room original rom (not ported) with 6.0.1 and it's the smoothest miui rom I have ever used. Spot on on performance battery life and ram usage, No bugs everything is working fine network, root, camera
Guys can you tell me other custom roms with buttery smoooooooooooooooooooooooth performance, with little to no bugs. Doesn't matter if its 6.0 7.0 8 or 9. Just looking for great performance without lag.
Click to expand...
Click to collapse
Miui pro nov 10 build is very smooth with stock kernel all things are working i m using for a month still there is no bug
manivenkat9991 said:
Miui pro nov 10 build is very smooth with stock kernel all things are working i m using for a month still there is no bug
Click to expand...
Click to collapse
Link please
And what about device certification, BB, and ROOT
Try PIXYOS (PIE) and forget about DOTOS
you gotta try liquid remix by Difr
I tried every other rom but I always return to this one after facing a lot of lag after a week or two in any rom
Try RevengeOS 2.2 Pie, BB and Performance is great
I don't face any lag after a month
Many apps on my phone installed (1gb left) and still smooth
GCam 5 as default and you can install gcam 6 separately (2 gcam)
af97 said:
Try RevengeOS 2.2 Pie, BB and Performance is great
I don't face any lag after a month
Many apps on my phone installed (1gb left) and still smooth
GCam 5 as default and you can install gcam 6 separately (2 gcam)
Click to expand...
Click to collapse
which gcam 6 do you use? can you link them please?
krishna_jm said:
which gcam 6 do you use? can you link them please?
Click to expand...
Click to collapse
https://f.celsoazevedo.com/file/gcamera/MGC_6.1.021_B-S-G-based_v.0.1_TlnNeun.apk
But can't record video, (all gcam 6 for land can't record video)
af97 said:
https://f.celsoazevedo.com/file/gcamera/MGC_6.1.021_B-S-G-based_v.0.1_TlnNeun.apk
But can't record video, (all gcam 6 for land can't record video)
Click to expand...
Click to collapse
thank you!
af97 said:
https://f.celsoazevedo.com/file/gcamera/MGC_6.1.021_B-S-G-based_v.0.1_TlnNeun.apk
But can't record video, (all gcam 6 for land can't record video)
Click to expand...
Click to collapse
Does front camera has green tint bug ?
vishals002 said:
Does front camera has green tint bug ?
Click to expand...
Click to collapse
Disable HDR+ on front camera, HDR on front camera has green tint issue almost every gcam 6,
Device certification trick
Ajay kumar 7 said:
Link please
And what about device certification, BB, and ROOT
Click to expand...
Click to collapse
You can make any device CERTIFIED BY GOOGLE and ALL BANK APPS (including BHIM, TEZ, etc) WILL WORK
Steps:-
Install Magisk (prefer latest stable or beta version)
Check SafetyNet Test. If it passes the CTS Profile check this method will work (else you have to remove root/Supersu and flash magisk only) NOTE: Only one of the check box should be red
Search for "MagiskHide Props" Module and flash it using Magisk
Install any Terminal Emulator from Play Store
Open Terminal providing root access
Type Command Props
Browse "Custom Fingerprints" and select Xiaomi/Land device fingerprint
Reboot
Your device should now pass Safetynet Test and will be certified by Google play Services
To run banking apps hide magisk using the magisk menu. Still this doesn't work, try magisk with custom signature
Message me if you face any issue

Note 9 exynos android q gcam

I am using ZGcam and iDan fix 3.5 on android q.......but as i am moved from oneplus and that result was awesome on gcam with modified libs.......is there any libs working with android 10, not ZGcam.....
IDan fix 3.5 working but no libs to make front camera function
I need just portrait mode HDR enhanced ...do not use nightsight etc......anyone knows modified libs and any gcam for portrait HDR for exynos....?
Please share idan 4.1 fix apk file
The_SIVA said:
Please share idan 4.1 fix apk file
Click to expand...
Click to collapse
https://www.celsoazevedo.com/files/android/google-camera/dev-idan/
I recommend the latest 3.5 fix

Categories

Resources