yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A1 Guides, News, & Discussion] Stersound:
I was quite sceptical doing this.. However it worked like a charm.Also it took around 3 minutes overall and it was done.

No data was wiped, i am only curious, as i am not a developer at all.Will i have some problems with OTA ?

Is there some sort of flagging on unlocked and re-locked boot loader? Did i lost my warranty ? Even if i ref-lash the device with a stock A1?Is there some sort of blueprint?

Thank You in advance.
[Xiaomi Mi A1 Guides, News, & Discussion] sksadh:
Hey guys just a suggestion.

Instead of using the cam in the tool you can use Gcam5 mode

https://drive.google.com/file/d/ ... R9Y0sS6mGfH0dA/view

after install.

go to settings of gcam--- then configure camera hdr -- now select nexus 6Auto.

Then in model select nexus 6P.

after settings you have to force kill the app and clear the cache.

now you can are good to go
[Xiaomi Mi A1 Guides, News, & Discussion] aaryan45:
Does unlocking bootloader formats data and internal storage? & Do i have to do this procedure on every update? [MENTION=5729053]adrianea[/MENTION]M

---------- Post added at 04:56 PM ---------- Previous post was at 04:54 PM ----------

After Unlocking and relocking the BL, u will not lose warranty!

And no blueprint would be there!
[Xiaomi Mi A1 Guides, News, & Discussion] bonooru:
Hello my friends,

this is the first time I am writing in xdadevelopers forum!

First of all, thank you [MENTION=225651]op[/MENTION] for this beautiful tool. I only have one question:

Everything worked fine until the point where it should have closed the bootloader. I got stucked at the twrp screen (the info in the description didn't help..). The bootloader is now unlocked, - but the gcam works perfectly fine. Is it a problem when the bootloader is unlocked? I always get a "safety warning" whenever I restart my xiaomi phone.

Thank you again! The camera is now 3 times better!
[Xiaomi Mi A1 Guides, News, & Discussion] Arc19:
I did everything as you said but the phone didnt boot to twrp.

any idea why?

I enabled the stuff in options, installed the drivers then installed GCAM and when it said finalized in the setup and the image came I unplugged.

my only guess is the drivers didnt install properly but I did run it as admin and installed 1.4 and then 1.3 drivers. :(

on windows 10
[Xiaomi Mi A1 Guides, News, & Discussion] blacklion79:
Is there GCam mod build which supports both back cameras?

I've modified settings according to instructions in this thread, it worked flawlessly.

But after that I've tried 3 different GCam mods and each one of them can not switch to Tele camera module, or I'm too dumb to find setting in UI.

Is it my fault and I can not fine some obvious UI control?

Do I need some special GCam mod (not one from B-S-G or Arnova8G2)?

Or it is impossible to have GCam mod with two cameras support on A1?
[Xiaomi Mi A1 Guides, News, & Discussion] ShawnMercer:
awesome perfectly worked for me :) thanks a lot
[Xiaomi Mi A1 Guides, News, & Discussion] ashu.mkb:
You've removed one setprop command. i used that and now facing problem. What is the command to reset it to default state?
[Xiaomi Mi A1 Guides, News, & Discussion] itspanky4u:
Camera keeps stoping.
[Xiaomi Mi A1 Guides, News, & Discussion] HSS04:
Camera installed but when I try to open it on the phone it comes as 'Camera has stopped' close app.. What can be the reason ? I followed step by step the process above
[Xiaomi Mi A1 Guides, News, & Discussion] Trusconi:
OT

Simeone know the instruction to disabile:

Google play libri

Google play musica

...

I would Like to try using #98 post already used to enable Gcam

Thank you
[Xiaomi Mi A1 Guides, News, & Discussion] Leonira:
Done the steps, and Gcam seems to function as intended. But when i check terminal emulator the build.prop lines i do not see the hal3 and eis lines added. Where should i look? I only type getprop command.
[Xiaomi Mi A1 Guides, News, & Discussion] gabricco:
when i command from cmd "fastboot boot twrp.img" the result is "cannot load "twrp.img": no such file or directory.

where I am in fault?
[Xiaomi Mi A1 Guides, News, & Discussion] Haizum74:
Works great, thanks for the info and the video (thankfully my Spanish lessons helped). Works great. The only error I got was at the end when it didn't show any pics for settings but again the video explained it. Oh and it didn't lock the bootloader but that took all of a few seconds to sort out.

For anyone having issues then you haven't installed everything correctly. Read, reread, watch the video and reread.

---------- Post added at 09:02 PM ---------- Previous post was at 09:01 PM ----------

You are at fault as stated in the last 8 words. You do not have the twrp file. I take it you are attempting it manually?
[Xiaomi Mi A1 Guides, News, & Discussion] gabricco:
yes, the automatic tool doesn't work for me and i'm attempting manually
[Xiaomi Mi A1 Guides, News, & Discussion] rsjay:
when the Mi a1 boots into twrp. (don't touch the phone in twrp) open a cmd then this commands

adb devices

adb shell

setprop persist.camera.HAL3.enabled 1

setprop persist.camera.eis.enable 1

adb reboot bootloader

fastboot devices

fastboot oem lock

fastboot reboot
[Xiaomi Mi A1 Guides, News, & Discussion] Haizum74:
Because it doesn't touch the build.prop file.

---------- Post added at 09:09 PM ---------- Previous post was at 09:06 PM ----------

Follow these instructions and remember to click on the link for step 1 https://xdaforums.com/mi-a1/how-to/guide-how-to-enable-hal3-camera2api-t3747073
[Xiaomi Mi A1 Guides, News, & Discussion] AridaneAM:
You are reading build.prop values, where camera2api and EIS are disabled. You can know if you have HAL3 with "camera2api probe" in google play. The HAL3 and EIS enabled are in /data/persist, that are loaded while the phone is booting.
[Xiaomi Mi A1 Guides, News, & Discussion] itspanky4u:
Thankyou brother :)
[Xiaomi Mi A1 Guides, News, & Discussion] J_Romero:
Thanks mate i used the manual commands, was super easy done in matter of few minutes.
[Xiaomi Mi A1 Guides, News, & Discussion] Wei Jiat:
I also fast same problem , and I have already make sure I have download the driver properly by checking on program to uninstall. I try to open cmd and type all the command but I still face some problem which is when I type "adb reboot bootloader"

After I type adb shell , it shows ~ # [6n

After I type adb reboot boot, /sbin/sh: adb: not found

After I type adb fastboot devices , /sbin/sh: fastboot: not found
[Xiaomi Mi A1 Guides, News, & Discussion] kaiwanted:
Everything is working fine. Installed latest Beta from Arnova.

Thank you a lot. I am very happy right now...
[Xiaomi Mi A1 Guides, News, & Discussion] ngohoainam:
[MENTION=8676627]AridaneAM[/MENTION] my mi a1 is rooted and bootloader is also unlocked. so can i use your tool to install Google Camera? :confused:

and after using your tool, does my mi a1 bootloader is locked? and does my phone loses root? :confused:
[Xiaomi Mi A1 Guides, News, & Discussion] Jona412:
risks

Is there a risk of leaving the Smartphone in Brick ?, will it continue to receive updates via ota? What do I do if the Smartphone is in fastboot mode, I disconnect it from the PC, restart the program or what?
[Xiaomi Mi A1 Guides, News, & Discussion] Trusconi:
Twrp.img must be in same folder are you launching adb / Shell comand

If you are in "C:/" and twrp.img is in "C:/GCam/" you have this error

---------- Post added at 03:21 AM ---------- Previous post was at 03:19 AM ----------

Please full Read First post before Ask :)

---------- Post added at 03:21 AM ---------- Previous post was at 03:21 AM ----------

Please full Read First post before Ask :)
[Xiaomi Mi A1 Guides, News, & Discussion] rohit.nayak7:
Not able to use portrait mode on rear camera. Else everything is working smooth. Please solve my problem??
[Xiaomi Mi A1 Guides, News, & Discussion] Balraj77712:
Hello Devs, I used the tool for installing Gcam. I tried several time, installed drivers couple of time after uninstalling but every time it strucked at unlocking bootloader ( phone booted into fastboot mode but nothing happened after that) I reboot phone by power button, my bootloader is locked but now I checked though process was not completed yet Google camera has been installed on my phone but it keeps stopping. What to do PL help should I try again or anything else to do?
[Xiaomi Mi A1 Guides, News, & Discussion] Susan Dahal:
When it goes in fastboot then go to device manager and update driver for android device select adb in driver
[Xiaomi Mi A1 Guides, News, & Discussion] sreenucr7:
No in mi a1 unlocking and relocking bootloader wont wipe data
[Xiaomi Mi A1 Guides, News, & Discussion] babadaba:
can it be used with other android?
[Xiaomi Mi A1 Guides, News, & Discussion] JorgeC37:
Can you still use the slow motion on the stock camera app?
[Xiaomi Mi A1 Guides, News, & Discussion] gabricco:
I have the same problem
[Xiaomi Mi A1 Guides, News, & Discussion] laotzy:
The slow motion works perfectly on stock camera.
[Xiaomi Mi A1 Guides, News, & Discussion] JorgeC37:
Thanks! I was worried since you can't use it on Gcam
[Xiaomi Mi A1 Guides, News, & Discussion] AridaneAM:
I forgot one command, it's needed write "exit" to exit of adb shell before "adb reboot bootloader". I edited the post.
[Xiaomi Mi A1 Guides, News, & Discussion] wawing_b:
just (barely able to) installed it successfully.. finally I'm using GCam HDR+ WITHOUT ROOTING and I already see the differences between the stock cam app :angel:

still exploring and going to use it in night time and outdoor...
[Xiaomi Mi A1 Guides, News, & Discussion] gabricco:
ok, now it works with manual steps and "exit" command to exit adb shell, thank you very much
[Xiaomi Mi A1 Guides, News, & Discussion] Haizum74:
Out of interest, is the camera2api and EIS dependent on the google camera app or is it system wide? If just the gcam app, is it possible to enable it for the xiaomi camera app too?
[Xiaomi Mi A1 Guides, News, & Discussion] GizmoFreak:
I created a video on how to use this tool. Hope it will be helpful.

https://youtu.be/S62vzQ3NuqU
[Xiaomi Mi A1 Guides, News, & Discussion] Wei Jiat:
OK Thanks. By the way, when I stuck at the TWRP home page , i just reboot my phone and realise that the GCAM is installed and doesn't show the app is stopped anymore. So , I assume that everything just work perfectly for the GCAM. Is that so? ( Yeah , I have try to take a few shot with the GCAM , it works) After that , I try to do it manually to lock the bootloader by following the #98 thread command, then I just type these 3 command which are adb reboot bootloader, fastboot oem lock and fastboot reboot. Is that I still able to receive OTA updates, after the steps I had done above? Is there other thing I need to do?

The only thing that I can confirm is the bootloader is locked.( As photo attached below)
[Xiaomi Mi A1 Guides, News, & Discussion] htmole:
Does it work also for Xiaomi Redmi 4x (MIUI9 Global Stable ROM)? Thanks in advance.
[Xiaomi Mi A1 Guides, News, & Discussion] kaiwanted:
Guys,

After installing Google Camera with this application, I can't update my Google Phone app trough Play Store. It says, your device isn't compatible with this version.

Who has the same bug, or I skipped something?
[Xiaomi Mi A1 Guides, News, & Discussion] cool55:
Hello friends.

I do not have any Mi A1 but I have followed this topic with much interest because I have a Redmi Note 4 with the same Snapdragon processor.

The developer said in a forum that this tool "should work on everything qcom-based that supports HAL3".

Can anyone tell me if in Note 4 unlocking and reloading bootloader wont wipe data?

We need this tool hard in our Xiaomi redmi note 4.

Thanks again and keep the great work!
[Xiaomi Mi A1 Guides, News, & Discussion] menek:
It's not related. I haven't used this application and I can't update Google Phone app either.
[Xiaomi Mi A1 Guides, News, & Discussion] AridaneAM:
OTAs depends on system modifications, so you can unlock and lock bootloader without problems.
[Xiaomi Mi A1 Guides, News, & Discussion] gafu:
I stuck on fastboot mode on my device
[Xiaomi Mi A1 Guides, News, & Discussion] Trusconi:
Did you read all 24 page before post? :)
[Xiaomi Mi A1 Guides, News, & Discussion] gafu:
Its shows unlocking bootloader on the tool my device stuck on fastboot mode the process didn't continue kindly help me....
[Xiaomi Mi A1 Guides, News, & Discussion] xerxise:
Thank you for this tool

Loved the GCam but had to unroot the device for OTA updates and the other process using command prompt wasn't my cup of tea. But now I can have GCam without the hassle. Quick question: Can I install another version of GCam? If yes than do I need to go through the whole process again?
[Xiaomi Mi A1 Guides, News, & Discussion] GizmoFreak:
Yes, you can install any version out there without having to go through whole process again. Just uninstall the current one and then install new one. That's it.
[Xiaomi Mi A1 Guides, News, & Discussion] qzem:
Hello, thanks for great mod!. I just wonder, if both rear cameras are working when using gcam?
[Xiaomi Mi A1 Guides, News, & Discussion] GizmoFreak:
Nope.
[Xiaomi Mi A1 Guides, News, & Discussion] santr33:
Is it better to use windows 10 or 7 for this process?
[Xiaomi Mi A1 Guides, News, & Discussion] GizmoFreak:
Windows 10
[Xiaomi Mi A1 Guides, News, & Discussion] AridaneAM:
I don't understand the question, Google Camera needs Camera2api and EIS to work and xiaomi camera have not extra function if they are enabled.
[Xiaomi Mi A1 Guides, News, & Discussion] santr33:
Thank you! care to explain why?
[Xiaomi Mi A1 Guides, News, & Discussion] GizmoFreak:
Drivers.
[Xiaomi Mi A1 Guides, News, & Discussion] santr33:
What do you mean by that? Do i have to preinstall adb drivers or can I just install the one from the tool?
[Xiaomi Mi A1 Guides, News, & Discussion] GizmoFreak:
On windows 10, if you install from tool then it should work fine. On windows 7, it's a hit n miss.
[Xiaomi Mi A1 Guides, News, & Discussion] santr33:
Thank you very much! Is there any chance i brick the phone or something because it's my main phone.
[Xiaomi Mi A1 Guides, News, & Discussion] gabricco:
with future OTA update gcam will work without remaking the entire procedure?
[Xiaomi Mi A1 Guides, News, & Discussion] maniacscorpio:
Stuck on "Locking Bootloader" for almost 1hour. Stuck on recovery. i disconnected my mobile and reboot through recovery.. MI logo shows Unlocked .. Nothing happens

I did this - NOTE: If you get stuck in twrp, select "Keep Read Only", not "Swipe to allow modifications".

Is there any solution now ?
[Xiaomi Mi A1 Guides, News, & Discussion] anduser54:
Is this working on Huawee P10 Lite?
[Xiaomi Mi A1 Guides, News, & Discussion] Kimenyi:
Are you sure about this? I also don't want to mess around with my Mi A1 as its my only phone, but I'd like to get the GCam on it.

Also, do you know if the next update will be released in Feb 2018? Google had said that they would send updates to this phone every month for about 2 years. Is this for real?
[Xiaomi Mi A1 Guides, News, & Discussion] Balraj77712:
Help anyone... I tried both methods manual and with tool in manual method device is detected and phone booted in fastboot mode but after that when I commanded for unlock bootloader it says waiting for any device.... In tool it struck on unlocking bootloader... I tried at window 10 and window 8 both but no luck..

I reinstall drivers couple of times .... I used manual method for installing drivers ( in device manager ) but I failed to installed Gcam.... Is anything that I missed Everytime?
[Xiaomi Mi A1 Guides, News, & Discussion] GizmoFreak:
Na, just make sure your phone is detected normally and in fastboot. You can actually check it before going through this process but after installing drivers.

Connect your phone to the computer.

Open terminal and type adb devices and press enter to confirm your phone is detected.

Then go to fastboot, in command prompt type fastboot devices and press enter to confirm your phone is detected.

If phone is detected fine then I don't think you should face any issues.

---------- Post added at 08:28 PM ---------- Previous post was at 08:19 PM ----------

Check this post - https://xdaforums.com/showpost.php?p=75577868&postcount=260.

Some people already received Feb beta update. ;)
[Xiaomi Mi A1 Guides, News, & Discussion] Kimenyi:
The link https://xdaforums.com/showpost.php?p=75577868&postcount=260 keeps bringing me back to your post...
[Xiaomi Mi A1 Guides, News, & Discussion] GizmoFreak:
Yeah, it should. I wrote those steps for you. :)
[Xiaomi Mi A1 Guides, News, & Discussion] Kimenyi:
Ah,... ok, thanks! I think I'm having what someone said is a "generationally-challenged" moment! :confused::confused::D
[Xiaomi Mi A1 Guides, News, & Discussion] Sakthirathi:
Installation error

Hi brother,

I followed your guidance and try to install the app by running GCam mi a1.exe as administrator.while I am doing that I got an error it says

Before running this application you must install the version of .NET Framework v4.3.0.30319 something like that. Could you please help me to get ahead.

Thanks

Sakthi
[Xiaomi Mi A1 Guides, News, & Discussion] N1ck474:
Install latest Microsoft .NET Framework.

https://www.microsoft.com/net/download/dotnet-framework-runtime
[Xiaomi Mi A1 Guides, News, & Discussion] kokokka:
Thx the method :)

Stock camera : http://www.kephost.com/images/2018/02/15/IMG_20180215_173750.jpg

Google Camera : http://www.kephost.com/images/2018/02/15/IMG_20180215_173731.jpg

Google Camera with Flash : http://www.kephost.com/images/2018/02/15/IMG_20180215_173144.jpg

Google Camera without Flash : http://www.kephost.com/images/2018/02/15/IMG_20180215_173151.jpg

And the last :

Google Camera "macro" with flash : http://www.kephost.com/images/2018/02/15/IMG_20180215_173432.jpg

:)
[Xiaomi Mi A1 Guides, News, & Discussion] nuclearwire:
Worked like a charm. I had to struggle for installing drivers and after 5-6 times of failing it actually worked. Thanks man.

If you have some other GCam apk's then please share and let me know the way to enable mirror mode in picture.
[Xiaomi Mi A1 Guides, News, & Discussion] kokokka:
Mhh. But see the Note 5A box!

http://www.kephost.com/images/2018/02/15/IMG_20180215_175456_.jpg

What is this on the box? This box in the real life a unicolor box.....
[Xiaomi Mi A1 Guides, News, & Discussion] laotzy:
The Google camera works just fine with me. Will it continue working if I root? Like here
[Xiaomi Mi A1 Guides, News, & Discussion] GizmoFreak:
Yes.
[Xiaomi Mi A1 Guides, News, & Discussion] KuroHidari:
i was stuck in locking the bootloader part and after i rebooted it from twrp it my gcam app didnt work any help for this ?
[Xiaomi Mi A1 Guides, News, & Discussion] ozgurubuntu:
how this program will work on my Mac? I do not use Windows
[Xiaomi Mi A1 Guides, News, & Discussion] Allexsander:
Nice! I'm going to try to install it on my wife's Mi A1 today.
[Xiaomi Mi A1 Guides, News, & Discussion] Haizum74:
Ok, what would be required to have eis on the Xiaomi cam? As in, is it a coding issue that needs to be implemented?
[Xiaomi Mi A1 Guides, News, & Discussion] Trusconi:
When is in twrp and PC sai "locking bootloader" go in device manager and check if the Phone is stil recognize ad ADB.

If not, reistall driver in this moment (procedure around #91)
[Xiaomi Mi A1 Guides, News, & Discussion] SM-03:
Firstly, I would like to thank [MENTION=8676627]AridaneAM[/MENTION] for this simple tool. & also would like to request him to keep updating this tool with future google camera version updated with & to make such tools for Mi A1 to install Dolby ATMOS app as well without rooting.

I've done this last night, without a single issue. So, here is a (more) clear & precise set of instructions from my side. I hope it would help.

1. Make sure Mi A1's bootloader is unlocked

2. Make sure to enable developer mode (by tapping the build number for 7 times).

3. Make sure USB Debugging & OEM unlocking options are enabled/checked under developer mode.

4. Remove all the PIN, Password, Pattern & Registered fingerprints (if any)

5. Connect the phone to the PC & select Media Transfer Mode

6. Extract & Copy the whole folder to system drive (i.e. Desktop)

7. Do not rename anything.

8. Run 'GCam Mi A1.exe' as Admin

9. Install the ADB driver by clicking on 'Install Driver' if not installed earlier on the same system/PC.

10. If the driver(s) is/are already installed on the same system/PC properly, then proceed to next step.

a. check PC's Device Manager if there is any exclamation mark/sign. If any then resolve by updating driver

b. Make sure the MTP driver is properly installed for the phone on the PC

11. Now, click on 'Enable HAL3.EIS & Install'

12. Your phone will be reboot & run under TWRP mode for a while.

13. Do nothing. Wait for a while (appx 1-2mins). The phone will be rebooted automatically again.

14. If everything goes fine, then you should find the Google camera in the all app segment named 'Camera'
[Xiaomi Mi A1 Guides, News, & Discussion] hellenicsun:
Followed instructions, worked like a charm.

One question: when OTA appears, I just go ahead, business as usual, correct?
[Xiaomi Mi A1 Guides, News, & Discussion] amarbajpai:
Here is a video that I made.

[youtube]oe_TVVs_uGc[/youtube]
[Xiaomi Mi A1 Guides, News, & Discussion] Trusconi:
Moderator : Please attach this file to first post to avoid stupid question :)
[Xiaomi Mi A1 Guides, News, & Discussion] Sakthirathi:
Installation error

Hi Nick,

I tried the way you have suggested. I tried to install GCam. When I tried that I am getting a dialog box it says allow USB debugging this PC rsa key fingerprint and it gives some numbers. It has ok and cancel option.but both of them are hanging when I tried to click.
[Xiaomi Mi A1 Guides, News, & Discussion] asrupesh:
i tried manual method, when i used boot twrp it restarts normally... which twrp are you using

Edit: I tried with the software and it worked perfectly..
[Xiaomi Mi A1 Guides, News, & Discussion] Sakthirathi:
I used the same twrp which I got from the link. but I didn't try using commands. I used GUI
[Xiaomi Mi A1 Guides, News, & Discussion] abhijeet.pathak:
Unable to mount /data using any twrp recovery image

I tried this with many twrp images available over net. But none of those are able to mount /data.

Thats why settings aren't persisting and Camera2 APIs are not getting enabled.

Any solution for this?
[Xiaomi Mi A1 Guides, News, & Discussion] Balraj77712:
Bad luck of mine I think driver is not installed correctly...

My divce shows unauthorized in cammand menu (when I check ) Please see screenshots.... Please help me I have been trying for last 3 days but not become successful yet.
[Xiaomi Mi A1 Guides, News, & Discussion] hellenicsun:
Whenever a new version of Google Camera is released, can I install as an update or do I need to uninstall current one and reinstall newer version?
[Xiaomi Mi A1 Guides, News, & Discussion] AuGusT18.YnOo:
Thank you for your post. It's working fine on Camera HDR+ and Video but cannot work on slow motion. Let me know how to enable it. Thank you again.
[Xiaomi Mi A1 Guides, News, & Discussion] GizmoFreak:
Device is detected fine. You should see a permission request on your phone. Allow it.
[Xiaomi Mi A1 Guides, News, & Discussion] abhijeet.pathak:
Could you please share the recovery image link that you used?

I tried many images but none of them are able to mount /data.
[Xiaomi Mi A1 Guides, News, & Discussion] AridaneAM:
Go to developer options and "Revoke USB debugging authorizations". With that, when your device is connected to PC with adb, the message of permissions will appear again.
[Xiaomi Mi A1 Guides, News, & Discussion] AridaneAM:
If you are in Oreo, use the twrp in Files/adb/ in the tool. If the data still not mounted, go to "mount" in twrp and in there you can mount the data partition or "decrypt "if you have pin/password/pattern.