yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A1 Themes, Apps, and Mods] Wyroczen:
Go to settings/advanced/lab and use last setting -> fix for autofocus in stock rom ;)
[Xiaomi Mi A1 Themes, Apps, and Mods] phantomshades:
Iam on stock room, how to access telepoto cam? Do i need installing all fix modules ( oss and v3) then, what about the setting i should use?
[Xiaomi Mi A1 Themes, Apps, and Mods] Zentom:
[MENTION=5414516]Wyroczen[/MENTION] I've looked through almost all your Mi A1 apks on the celsoazevedo website and none of them make the autofocus work on the Stock Pie ROM (no customizations). Although, someone on the Android One facebook page linked me one of your apks you might have shared on the Telegram group that had the file name MGC_6.2.030_V15_MiA1_Edition_0.1_Wyroczen and the autofocus magically works on that. I wonder what you might have changed/added in this specific version that fixed the autofocus after Xiaomi hecked it up in the Pie update. If it's a simple thing, can you implement it in your later apks?
[Xiaomi Mi A1 Themes, Apps, and Mods] Wyroczen:
Use latest, go to settings/advanced/lab and turn on last option there (fix for autofocus in stock rom)
[Xiaomi Mi A1 Themes, Apps, and Mods] mmaciast:
Working on Android 10? :confused:
[Xiaomi Mi A1 Themes, Apps, and Mods] Zentom:
Ok, that worked perfectly. Thanks for that! Although, whenever I take a photo, it turns out with a purple hue. So much that you can barely see the image. I tried changing the libs but still didn't get anything. This is in reference to your latest stable apk, btw.
[Xiaomi Mi A1 Themes, Apps, and Mods] emiljano539:
Yep i just tried it and i have the same issue
[Xiaomi Mi A1 Themes, Apps, and Mods] RobbiSchiffer:
it force-close upon opening, i run pure Android One, no custom
[Xiaomi Mi A1 Themes, Apps, and Mods] _mysiak_:
Change the raw mode to RAW10 in advanced-lab settings.
[Xiaomi Mi A1 Themes, Apps, and Mods] emiljano539:
Yep i changed it but still got the same result.

Then i disabled the Enable Mi A1 dotfix related fixes then it solved the pink photo problem.

Thanks
[Xiaomi Mi A1 Themes, Apps, and Mods] Yu Correlate:
Is always lagging after taking photos with night sight.?

Currently on PE 9.0
[Xiaomi Mi A1 Themes, Apps, and Mods] emiljano539:
Yep in stock too while it's processing the photos, i guess its because of the 625 chip every gcam i have tried has this issue
[Xiaomi Mi A1 Themes, Apps, and Mods] Midnight.Panda12:
Super Noon Here.

I just want to ask if I can install this like a simple app I downloaded from the net? Or does my phone need to be something...

Also, I have a GCam installed before. I forgot how I did but i remembered following a youtube video. Thanks!
[Xiaomi Mi A1 Themes, Apps, and Mods] emiljano539:
Yep just download and uninstall any gcam that you have installed

---------- Post added at 01:54 AM ---------- Previous post was at 01:53 AM ----------

Can we use telephoto lens in the stock rom
[Xiaomi Mi A1 Themes, Apps, and Mods] Wyroczen:
Sure, you can use telephoto in stock rom
[Xiaomi Mi A1 Themes, Apps, and Mods] emiljano539:
Using this gcam port? Which magisk should i flash ? Can you link it?

Thanks
[Xiaomi Mi A1 Themes, Apps, and Mods] Wyroczen:
It should work stright away, especially if you are on Stock rom. Long press camera switch button to switch to tele lens ;)
[Xiaomi Mi A1 Themes, Apps, and Mods] emiljano539:
It crashes when i try to change it, then i have to clear data to make it work again...
[Xiaomi Mi A1 Themes, Apps, and Mods] Zentom:
I'm pretty sure you need to have a specific Magisk module installed first, no? I tried without it on stock ROM too and it either opens settings and if I fix it in the experimental settings it just keeps crashing.
[Xiaomi Mi A1 Themes, Apps, and Mods] Bl4ckFrost:
Is there any solution to the loss of saturation of the subject when the background blur intensity is changed in portrait mode photo? The rest of the things work perfect.
[Xiaomi Mi A1 Themes, Apps, and Mods] morralletti:
Same problem here
[Xiaomi Mi A1 Themes, Apps, and Mods] emiljano539:
Yep i think we have to flash a module to make it work. If you find any solution reply to me.

Thanks
[Xiaomi Mi A1 Themes, Apps, and Mods] amir mali:
Not working
[Xiaomi Mi A1 Themes, Apps, and Mods] Bl4ckFrost:
Hey Wyroczen, is there a solution for overexposed images? It only happens when I have the dotfix activated, I have already tried the Dotfix_v3 and Dotfix_v1_OSS together with Gcam 6.1 and 6.2 modified by you. Other things work perfect. Good job :)

MGC_6.1.021_xcam6_beta11_MiA1_V2_Dotfix_Wyroczen_TEST with Dotfix_v3:

https://imgur.com/mWPvwGH

Old Gcam 5.1 without any mod:

https://imgur.com/syGmfLp

My config are attached below.
[Xiaomi Mi A1 Themes, Apps, and Mods] emiljano539:
Wyroczen are you still working on a update for our mi a1? Or are you focusing in the rn8 for the gcam ports?
[Xiaomi Mi A1 Themes, Apps, and Mods] Mendibil:
Came here just to ask the same ??
[Xiaomi Mi A1 Themes, Apps, and Mods] Wyroczen:
I've noticed that problem too, but you can try other libs like IQSharp, it always had good exposure for me :)
[Xiaomi Mi A1 Themes, Apps, and Mods] Wyroczen:
I'm more focused on Redmi Note 8 Pro now, but I'm not giving up Mi A1 ;) I also know that Overwhelmer is constantly adding new features/fixes to 1.8 stable version :)
[Xiaomi Mi A1 Themes, Apps, and Mods] Mendibil:
Nice news! Thanks for your work ?
[Xiaomi Mi A1 Themes, Apps, and Mods] emiljano539:
Great news. Even though my viewfinder is lagging also the app sometimes crashes when it's processing HDR also sometimes it doesn't even processes the photos i take
[Xiaomi Mi A1 Themes, Apps, and Mods] :
Not sure about which version you're talking about, but viewfinder lag is usually caused by the RAW Format. Set it to RAW10 to get rid of viewfinder lag.
[Xiaomi Mi A1 Themes, Apps, and Mods] Wyroczen:
If you are not using dotfix module, then change raw format to raw10 ;)
[Xiaomi Mi A1 Themes, Apps, and Mods] Wyroczen:
Test version for android 10 available on telegram group :)
[Xiaomi Mi A1 Themes, Apps, and Mods] sipollo:
If I recall correctly you have to set Selinux permissive to be able to use telephoto lens in stock ROM.

I can't test but you could use Tasker or Macrodroid or similar app (if you are rooted) to automatically execute this script "setenforce 0" when you open Gcam and "setenforce 1" when you close it.

So you could use zoom lens AND have selinux enforcing 99% ot the time.
[Xiaomi Mi A1 Themes, Apps, and Mods] ludditefornow:
Some feedback.

I am not using dotfix and have it turned off and am using raw10.

ROM is standard pie with november 2019 security.

No Magisk and not rooted. Bootloader is unlocked.

The app is very responsive with suggested settings.

No focus hunting.

No issue with front camera

Switch to selfie front cam with quick press is working. The selfie camera is working as it should with no hue. The Hue settings for seflie are still default. I did not change them.

Tested basic video in Auto, 30 and 60 frames. All seemed good and sound worked. Metering seemed a little dark but not sure.

My Settings Changes from Default:

Switched off Google Lens Suggestions.

Hide Icon "Movement" switched off.

Function "Movement" switched off.

Enable "Google photo" switch off.

Maximum Brightness is switched on.

Store Videos efficiently is on.

Tripod Shooting on

RAW Format changed to Raw10 (default) as per suggestions on OP first post.

Enable Dotfix is switched off (don't have dotfix module loaded) as per suggestions on OP first post.

Stock Autofocus Fix is on.

Changed video to max FPS.

Issues

1. Switching:

Switch to zoom camera is not working for me. I have the option to use the long switch turned on for cam change. Things I have tried are:

Cam Aux default for switch long press gives an unrecoverable crash and I need to reset app storage to start set up and permissions again to recover.

5.2 cam on long press sends the screen blank as if it will change cameras but after a second or so, the same main 12mb camera is used. So there is actaully no change.

When 6.1 cam option is selected a long press on the switch does nothing. No change in screen at all.

I notice when Disable Zoom option is switched off, by going into Portrait mode, the Tele cam seems to work but it still does not work when long press switch is used.

2. Motion icon is still on viewfinder when option is turned off.

If you need any logs you will need to specifically tell me how to give them to you or point me to a link that tells me. Please don't use abbreviations or acronyms if you need me to send logs as I am no longer familiar with half the jargon people use here any more :)

3. Not sure is this is a bug but changing from Camera to Video settings it looks like the Telephoto cam is engaged for a second then jumps back to main cam. However the framing is not the same as main cam, it is zoomed a bit. This might be to simplify Video framing. Not sure.

All in all a massive improvement over the last Cams I have used.

Thanks.
[Xiaomi Mi A1 Themes, Apps, and Mods] Zentom:
The telephoto lens won't work on stock ROMs unless you unlock the bootloader and install magisk modules. I don't think it's even possible on completely stock ROMs. And the telephoto working on portrait mode thing you said, that's wrong. That's the main lens, just zoomed in. And I'm sure 60fps doesn't work in the Mi A1 either.
[Xiaomi Mi A1 Themes, Apps, and Mods] ludditefornow:
I have two questions:

Can someone please explain clearly what the Dotfix actually fixes. searching talks alot about a fix but not what the symptoms of the issue are.

Also, how can I save my settings? I understand an XML file holds the settings. A search of my phone does not bring anything up. I have read there should be a Gcam folder. I am yet to find it. Can someone clearly advise on where to find this Gcam folder. I am not rooted.

Also, another "help" post suggested if there was no Gcam folder, then to create one and then make a Confgs folder inside it. Then click in the area between the shutter button and the view image button to bring up a dialog. That does not work either.

I want to test a few more things with this cam but I don't want to have to keep starting from default settings every time I need to clear the App data to get the Cam working again after a setting fails.

---------- Post added at 04:50 PM ---------- Previous post was at 04:40 PM ----------

Thank you. It hard to get any clarity on what works and what doesn't with what sometimes.

It may be. I didn't look at test images fully to check resolution at this stage. I will put a few images in Lightroom from main camera and then with Portrait zoom . I will then crop the original and see the differences.

I have no idea but I can confirm that 60FPS used almost 100% more data than the 30FPS of a video same duration in the same light controlled conditions.
[Xiaomi Mi A1 Themes, Apps, and Mods] Zentom:
I have no idea about the Dotfix stuff, but about the telephoto lens, you shouldn't just look at the resolution of the end image. When you switch to the telephoto lens, you'll see a clear difference in color science and a slight difference in the background from the subject of the portrait mode. It'll be a bit closer to the subject.
[Xiaomi Mi A1 Themes, Apps, and Mods] bacitoto:
Just block each camera with your finger to make sure which one it's using
[Xiaomi Mi A1 Themes, Apps, and Mods] Zentom:
Oh yeah, that too I guess ?
[Xiaomi Mi A1 Themes, Apps, and Mods] ludditefornow:
Haha, I actually now remember doing that when I first bought the A1 and wanted to confirm if the MI software was iusing tele for 2x option. I now even remember posting it on XDA way back when.

I feel like a goose :) Thanks for telling me.

anyone know where the xml location is for this Cam's settings?
[Xiaomi Mi A1 Themes, Apps, and Mods] Zentom:
This particular apk might not have the configuration feature. Every apk I've seen so far that does has 'config' in it's file name.
[Xiaomi Mi A1 Themes, Apps, and Mods] Wyroczen:
Thanks for detailed feedback :)

I will address the problems then

1) If you are on stock ROM you will probably need to have selinux permissive to be able to switch to tele lens

2)5.2 and 6.1 options will switch to fu24 (or other gcams with same packagenames as his) and you need to have those gcams installed, but that option was only usefull when there were no working telecamere switch in that cam

3)Motion icon should disappear if you will select option to hide it in settings (it is separate from "function movement" from what I remember)

4)Video fov is lesser than main cam, because of video stabilization

5)60fps should work on Stock without anything, and it is working for sure when you have latest dotfix magisk module, or new overwhelmer module for Mi A1
[Xiaomi Mi A1 Themes, Apps, and Mods] Wyroczen:
This gcam doesn't support saving/loading configs, you can save them if you have root -> they are in app instalation folder in camera_preferences.xml

Dotfix module have few fixes for different things and main feature is fixing "dots" -> by default they are everywhere, and visible especially on bright opjects/colours like sun/orange/yellow. Dotfix module changes raw format to ideal raw to get rid of them ;)
[Xiaomi Mi A1 Themes, Apps, and Mods] ludditefornow:
on Point 3. The motion icon did disappear after I did a reboot. I didn't initially reboot after installing Gcam. So that is no bug.

Again, thanks for taking the time with the APK. It is appreciated. I'm considering changing phones to the Mi 9T or Redmi Note 8 Pro. Your cam might sway me.
[Xiaomi Mi A1 Themes, Apps, and Mods] Arthur King:
Hello! Sorry for tagging, but i saw you answer some stuffs here that im trying to deal with.

60 fps are not working on stock(for the first time im using stock), at least not without any module, BUT if i use the module to fix that then the focus problem comes back, even with the fix focus option on.
[Xiaomi Mi A1 Themes, Apps, and Mods] Zentom:
Hey, great job creating one of the most stable ports for the Mi A1! But I've got a question on my mind. You've also ported over GCam to the RN8P, and all of it's lenses work on it without needing any kind of external modification. Why isn't it the same case on the Mi A1? Why do we have to root our phones and install modules? Is there something different in the chipsets or the ways MIUI handles cameras?
[Xiaomi Mi A1 Themes, Apps, and Mods] loginsvarios:
Can't get telephoto to work, always exits and must delete data to restore it.

Can anyone tell me what Magisk modules are needed?

I'm in stock ROM (last one) and have DotFix installed.
[Xiaomi Mi A1 Themes, Apps, and Mods] DanytorresEscudero:
Hi, thank you for the gcam aplication.

I'm having issues with the stable version on android 10 roms, the hdr process still running forever, do yo know how to fix this?

Thanks
[Xiaomi Mi A1 Themes, Apps, and Mods] Nafis-ul-Islam:
Camera stuck on Processing HDR+

Hi, I just installed the module via magisk and the apk, but the camera is stuck on Processing HDR+. Can anyone point me in the right direction? TIA.

I'm using RevengeOS 3.0 (Android 10) and 1.7.5 APK
[Xiaomi Mi A1 Themes, Apps, and Mods] riccetto80:
Nice to hear this!

thanks for your camera for mi a1, im using with the magisk module since some months, on custom android 9 rom.

only issue is time to time the button to shoot a photo dont work, i have to change to another mode and then back, to make it working again.

did you had the time to work still on mi a1?
[Xiaomi Mi A1 Themes, Apps, and Mods] Mushc4t:
doesn't work for me - shoots photos in violet colour
[Xiaomi Mi A1 Themes, Apps, and Mods] BlackJack67:
I'm currently using gcam ver. 1.1G_Q by Overwhelmer (the one based on ver. 1.8 by Wyroczen built with Android 10 support) on Pixel Experience Q. Since it supports the dotfix module, I tried to flash it in Magisk, but going into the camera settings it doesn't seem to be working (the module I flashed is a combined one created by Overwhelmer consisting of camera tweaks and dotfix library by Wyroczen, but even with the dotfix module alone it doesn't work). Now, is it a problem with Android Q or with the latest Magisk version (I might have heard that the module is supported only up to Magisk 20.1)? I got everything working a few weeks ago with Pixel Experience Pie btw
[Xiaomi Mi A1 Themes, Apps, and Mods] Zentom:
I've got the same problem with DerpFest Q. I flashed the magisk module provided and also installed the apk but no dice. Nothing *new* worked.
[Xiaomi Mi A1 Themes, Apps, and Mods] BlackJack67:
Ok, found out that the dotfix module is actually specifically made for Magisk 20.1, so I'll try the downgrade when I get home later today
[Xiaomi Mi A1 Themes, Apps, and Mods] Zentom:
But the patch page says the module requires Magisk 19+ so 20.3 should work too. Where did you get this information from?
[Xiaomi Mi A1 Themes, Apps, and Mods] BlackJack67:
Alright, just finished with the rollback procedure and it seems to be working as intended (12.6mp on main shoter, ect.), so the only thing left to check is the actual consistency of this gcam version (btw, since you're using android q too, which version do you use? Because it seems like every version I try it either crashes or, like my one, it hangs for ten-ish seconds before starting to process HDR+, with the added problem that if you try to open the picture before it finishes to process it, it ends up deleted or corrupted, quite a hassle if I want to quick check the result after the shot).

As for the info about the module being magisk version specific, I read it on a Reddit post under r/mia1 (in that subreddit there is also a link to a telegram group where I also got the apk and module by Overwhelmer). I found it in a totally random way, but hey, it works :laugh:
[Xiaomi Mi A1 Themes, Apps, and Mods] riccetto80:
please, can you provide a link to the module updated and the gcam? pretty please? i dont have telegram and i cannot find the post on reddit you talk about...
[Xiaomi Mi A1 Themes, Apps, and Mods] Zentom:
So you're saying 60fps and 120fps slow motion works now? The patch page tells you what named packages work for this patch.
[Xiaomi Mi A1 Themes, Apps, and Mods] BlackJack67:
The link to the Reddit post is https://www.reddit.com/r/MiA1/comments/eqhebo/tips_for_the_mi_a1_in_2020/ , while the one for gcam/modules that I'm using are https://f.celsoazevedo.com/file/cfiles/gcm1/6.2_MiA1_Edition_v1.1G_Q.apk and https://f.celsoazevedo.com/file/cfiles/gcm1/CameraPatchDotfix_Q.zip .

Video @ 60fps are working, though only with good/decent lighting conditions (in low light they are stuck at 30fps for me even if the patch claims to enable 60fps, but I'm having some little problems with pretty much every gcam, so it might be just me. I guess you're better off trying it by yourself), while slow-mo doesn't seem to be working (the patch doesn't claim to do it, and, at least for me, slow-mo never worked properly, but I don't care about it).
[Xiaomi Mi A1 Themes, Apps, and Mods] Mrsevic:
I can't find the Enable dotfix section at all. I have tried to look in the Lab section under the advanced settings but there is no such section for me? I am on Pixel ROM 10.0.

P.S Btw is it me or by default photos are much darker then they used to when I was on the stock 9.0 rom with the same app installed?

Thanks
[Xiaomi Mi A1 Themes, Apps, and Mods] desmaid:
Hi, can I use this mod in stock Mi A1?

Or is there any updated version of this?

Thank you
[Xiaomi Mi A1 Themes, Apps, and Mods] minerek:
Helo. I have this app on my A1, but I have problem with taking photos. When I click on the button shot photo 3 times this app not save this picture and change colour to grey. I have stock room last update from January and root. What's wrong in my settings?
[Xiaomi Mi A1 Themes, Apps, and Mods] Cruzer-:
Thank you
[Xiaomi Mi A1 Themes, Apps, and Mods] dellinn:
I got same problem as described by riccetto in previous page. The only solution, sadly, is not using Dotfix completely. Which beats the purpose of inserting the dotfixing feature into that Gcam.

Personally my phone stops freezing randomly when using Dotfix (perhaps just a random side advantage). ?
[Xiaomi Mi A1 Themes, Apps, and Mods] Mrsevic:
I have reverted from the PixelExperience 10.0 ROM because of the really dark colors that all of my photos had after processing the results(I had everything working). I switched back to the latest stock, enabled sePermissive, installed the right magisk module and... Everything works but I do have the cursed autofocus bug even after the ticked option to fix the tracking. If anybody had the same experience please let me know.
[Xiaomi Mi A1 Themes, Apps, and Mods] minerek:
Yes, I have the same problem. This modules not working for that issue with AF. Maybe someone have better version gcam without this problem?
[Xiaomi Mi A1 Themes, Apps, and Mods] Mrsevic:
You need to install owerwhelmer updated module and app from the gcam telegram group. The only issue I am having right now is the "bright dots issue" that is solved by dotfix module which does not works on the stock(you have to disable it). At the moment being I am probably going to install one custom 9.0 ROM and try with that. Besides that this is one incredible phone.

I truely hope that when Xiaomi releases source code for Mi a2 lite we also get some of these goodies. :)
[Xiaomi Mi A1 Themes, Apps, and Mods] minerek:
Could you send me links to this files? Thank you.

Which custom rom are you installing?
[Xiaomi Mi A1 Themes, Apps, and Mods] emiljano539:
Tried this gcam port last week it crashes my phone and it automaticlly reboots after like 10 seconds . Im in pixel experience too .... Idk what im doing wrong . Even the gcam that comes with rom its not that stable the images take a lot of time to process compared to stock android 9. Any suggestion?
[Xiaomi Mi A1 Themes, Apps, and Mods] BlackJack67:
With "this gcam" you mean Wyroczen's one or Overwhelmer's one? Bear in mind that I replaced my daily driver (I'm on Xiaomi Mi 9T now), so the setup for the Mi A1 gcam that I have is somewhat dated, even though it works. Can you give us a little more information on the device (root, magisk version, PE version, etc...)?
[Xiaomi Mi A1 Themes, Apps, and Mods] ceccon:
And how about flash? My photos with your gcams have flash issues and I can't found a fix for that problem (but when I used your version for RN8 this problem are gone, but the hdr+ not work).
[Xiaomi Mi A1 Themes, Apps, and Mods] barrack1:
nevermind I figured it out.
[Xiaomi Mi A1 Themes, Apps, and Mods] ramiwi:
Do I need MiA1CamPatchReborn or other modules when installing overwhelmer vision 6.2.1 on PixelExperience_tissot-9.0? I cant make it focus on close objects (focus tracking too)
[Xiaomi Mi A1 Themes, Apps, and Mods] Operation8:
Thx bosss
[Xiaomi Poco F1 Questions & Answers] rehfore:
I managed to encrypt my phone. How do i get rid of this encryption? I don't find anything on how to do it. Flashing this DFE treble doesn't do anything. Before the encryption, modules like yt vanced were working but now nothing is working
[Xiaomi Poco F1 Questions & Answers] joshuaroilox123:
decrypting will delete everything on your phone. Just format data. Dont wipe it go format DATA. then flash DFE.
[Xiaomi Poco F1 Questions & Answers] rehfore:
As I said that doesn't work it just makes me type my encryption key twice
[Xiaomi Poco F1 Questions & Answers] joshuaroilox123:
what recovery are you using?

---------- Post added at 01:09 AM ---------- Previous post was at 01:06 AM ----------

Make you sure the setting "Use rm -rf instead of formatting" is disabled then format cache,system,data and internal storage. For data you have to literally Format Data and type yes to confirm for encryption to be removed then flash dfe.
[Xiaomi Poco F1 Questions & Answers] rehfore:
twrp 3.3.3

ah ok you meant the other data where you have to type yes. Is there a difference between deleting storage and "yes"data? and won't that delete my recovery too?
[Xiaomi Poco F1 Questions & Answers] joshuaroilox123:
nope. It wont delete your recovery as it only deletes data. Basically it removes everything on data which includes encryption. deleting storage only removes whats in your storage not within the data.
[Xiaomi Poco F1 Questions & Answers] kurogami95:
Dfe file link please. With and without magisk