yashsingh1/xdaforums huggingface dataset:
[Moto G5 Plus Questions & Answers] acejavelin:
No offense, but when did Moto ever give dates, or even general answers like the month of release? Please provide verifiable, official links or it's just junk news.

Moto has only said that this device would get it, there was NEVER a time frame given. Since Lenovo purchased Moto, the timeline for updates has increased dramatically but in general if they say they will release it then it does get released, eventually. The only official announcement that has ever been given regarding Oreo is in their blog on September 14, 2017... there has not been any other official announcement or statement to my knowledge. Chat's with customer service, posts on forums, Android news outlets that don't confirm with verifiable sources (ie. official links), etc... are NOT official sources.

Nougat for the Moto X Pure, Moto's flagship device for 2015, is a great example. In October 2016 it was officially announced the device would get Nougat, but it wasn't until September 2017 that the update STARTED a phased multi-month public roll-out, beginning with T-Mobile & US Cellular users, then Sprint users, and after a month or two then Verizon, AT&T and other users got it (with a minor version bump, presumably because there was something that the two big brothers didn't like in the OS because there was zero user complaint or issues with the one T-Mobile users got). It wasn't until January 2018 that all users finally got it. To our knowledge, MFN beta tests began sometime between February and April 2017, and had lots of problems with at least a dozen confirmed bricked devices, with at least 4 major revision changes until August 2017, which seems to be the "finalized" version that actually went to release. And remember the first sentence, this was a flagship device, not even a mid-ranger like the G line...

Let that sink in for second. Not saying that the Moto G5 series will be the same, the example given is probably worse than normal, but still it could take that long or longer.
[Moto G5 Plus Questions & Answers] androcraze:
https://www.fastcompany.com/40542367/lenovo-just-laid-off-a-chunk-of-its-motorola-smartphone-team
[Moto G5 Plus Questions & Answers] acejavelin:
Might be true... But still a junk article, zero verifiable references and nothing official.

I saw a similar article on my Google feed, referencing an unnamed individual "no longer employed with Motorola", but no one has been laid off as of yet.

To my knowledge, most all development is handled in overseas facilities anyway... so the amount of impact this would have on software updates could be minimal. But then again, only time will tell.
[Moto G5 Plus Questions & Answers] Dishe:
Yeah, the problem is as I understand it, the custom Oreo roms (especially 64 bit ones) are running ported moto code for our specific hardware that was never written in 64bit or to support Oreo properly. So even the best and most up-to-date custom rom is still running core components in a compatibility mode of sorts- holding it back from the performance it should have if a proper 64-bit Oreo version existed.

I've been running TWRP-flashable stock for a while now, but seems that is slowing down with the OP not really being on top of the recent OTA updates, so I might go custom but I'm sort of at a loss as to where to go. I don't want to go 64-bit while my drivers are still 32-bit, and I want close to stock stability while being more up to date with security patches. Safety net is also a concern as some of my banking apps require it.

Any advice for someone like me?
[Moto G5 Plus Questions & Answers] M1810:
Go for 32 bits ROM's (using 32 bits TWRP or you'll get bricked)

And for safetynet, i thinl there is a guide in XDA, all you have to do is installing the latest magisk and enabling an option, this way you "should" be able to use your banking apps.. i'm not 100% sure though
[Moto G5 Plus Questions & Answers] Dishe:
Seems all the hubub is for 64biters. Hard finding a 32-bit ROM that hasn't been left for dead, if not vastly off of stock.
[Moto G5 Plus Questions & Answers] Rocketfin:
I am, and I'm showing an example of a phone that is no longer updated but has a Geekbench for 8.1
[Zooper Widget General] elee32:
Hello friends, I have a question that should be very simple for you who know more than me.

I need to be able to add hours but I do not find how.

Example:

$ (# DH.mm # + 0.50)

What I need is for example that at the current time you can add a certain time but what happens to me is that if for example the time is 17:55 and I add 20 minutes it appears as result 17: 55 + 0: 20 = 17: 75. instead of 18:15

Please help
[Zooper Widget General] jdesignz:
Why not use specific timezone then? Or you could take a look at this

https://www.reddit.com/r/ZooperWidget/comments/5h7grs/helptwo_time_zones_clock/
[Zooper Widget General] elee32:
I think I did not explain myself well.

What I need is to show an image 20 minutes after the sun has set.

What happens is that the option I am using is this:

$#DH:mm#>#ASH:mm#+0:23?/sdcard/xxx.png:[ox]500[\ox]

What happens is that if for example #ASH: mm # is equal to 17:55 (that is, the sun is hidden at 5:55 pm) and we add +0: 20 (the additional minutes) the result that I delivery is from 17:75, when it should be 18:15 (6:15 pm)
[Xiaomi Mi A1 Guides, News, & Discussion] flex1911:
Hello everyone. I'm pretty sure that there are a plenty of people that are rooting and unlocking their A1 just to enable Camera2 API (just like me).

But formally you can enable and make it persistent without unlocking bootloader and rooting.

Why "formally"? Because you will actually need to unlock and root during the process, but then you can relock your bootloader and forget about it until you will wipe your /data. Yes, Camera2 API will remain enabled after relocking and will persist even after OTA updates.

1. If you already didn't, unlock the bootloader and root your phone by Magisk using this guide.

2. Enable ADB in the developer settings.

3. Assuming you already have platform-tools binaries, do this in your shell/cmd:

adb shell

Now, when you are in the device shell, type this:

su

The device will probably ask about root access, grant it.

Now, when you are in the root shell, type this:

setprop persist.camera.HAL3.enabled 1

4. Reboot and make sure that Camera2 API works for you now.

5. Go to Magisk manager and completely uninstall Magisk here.

6. Reboot and make sure that your system boots properly.

7. Reboot to bootloader:

adb reboot-bootloader

8. Relock your bootloader:

fastboot oem lock

Done! Now you have permanently enabled Camera2 API without messing OTA and security measures.

THIS DOESN'T TOUCH SYSTEM FILES AT ALL AND HAS NOTHING TO DO WITH BUILD.PROP
[Xiaomi Mi A1 Guides, News, & Discussion] Ammo thind:
Is it true
[Xiaomi Mi A1 Guides, News, & Discussion] AridaneAM:
Have you tried it? When updating the OTA build.prop in system is not rewrited? What is the difference with replace build.prop in twrp? When I tried it the OTA didn't upload because the edited system partition.

Enviado desde mi Mi A1 mediante Tapatalk
[Xiaomi Mi A1 Guides, News, & Discussion] dipakd:
Can you give me the platform-tools binaries? Or link for that
[Xiaomi Mi A1 Guides, News, & Discussion] Ammo thind:
Editing prop file will make sure that there is no ota
[Xiaomi Mi A1 Guides, News, & Discussion] flex1911:
persist props are being stored in /data/property, so it doesn't touch build.prop at all.
[Xiaomi Mi A1 Guides, News, & Discussion] black_arashi:
Hello,

I doubt that this will work with funtional OTA, modificating the build.prop it's modificate system, so it should't have working OTA. If we use Magisk and the modules to enable camera2api and hal3 it's because it doesn't modify system. Anyway, if someone try it and corroborate it work great with OTA, I will retract my self.

Regards
[Xiaomi Mi A1 Guides, News, & Discussion] flex1911:
As I stated above, it doesn't modificate any system files at all.
[Xiaomi Mi A1 Guides, News, & Discussion] Apih95:
Welcome [MENTION=5120185]flex1911[/MENTION] from zenfone 2 forum :fingers-crossed:
[Xiaomi Mi A1 Guides, News, & Discussion] Haizum74:
I am currently waiting for delivery of my Mi A1 (hopefully today) and will give this a go and report back.

For people questioning this, build.prop is only one of a number of read only files that are used when setting up after reboot so I can see why this would potentially work. Not a dev myself, but understand the basics.

PS Its modify not modificate ;)
[Xiaomi Mi A1 Guides, News, & Discussion] unixbrain:
Step 5 should be only Magisk application uninstall and not a complete uninstall right?
[Xiaomi Mi A1 Guides, News, & Discussion] mahfoozceecy:
Removed.
[Xiaomi Mi A1 Guides, News, & Discussion] unixbrain:
It works but before locking back the bootloader you must let Android to boot the system.

If you lock the bootloader just after uninstalling Magisk it will end up with a "System has been destroyed" error
[Xiaomi Mi A1 Guides, News, & Discussion] flex1911:
You probably didn't get the point at all.
[Xiaomi Mi A1 Guides, News, & Discussion] Rajeev:
Whats going on with u too? Why quoting the full damn OP?
[Xiaomi Mi A1 Guides, News, & Discussion] flex1911:
Yeah, thx. Updated the post to make it more obvious.
[Xiaomi Mi A1 Guides, News, & Discussion] Rajeev:
U mean complete uninstall Magisk or ?
[Xiaomi Mi A1 Guides, News, & Discussion] unixbrain:
Yes. You can completely uninstall Magisk.
[Xiaomi Mi A1 Guides, News, & Discussion] mahfoozceecy:
The OP Heading should have read "Enable HAL3 without Editing Build.prop and Keep the OTA" .. along those lines.
[Xiaomi Mi A1 Guides, News, & Discussion] joeyhuab:
The heading doesn't matter if you read the OP itself. It's simple reading comprehension to be honest. Basically you don't edit build.prop, still get the OTA and add Camera2 API.
[Xiaomi Mi A1 Guides, News, & Discussion] RuinedPotion611:
So guys tried gcam yesterday using magisk root and it wasted my whole day. Well i rooted my device using magisk and enabled camera 2 api and downloaded gcam.. And it was amazing.. in this stage my bootlaoder was unlocked and magisk was still there in my device. Once i downloaded gcam, i wanted to get rid of the root.. So i completely uninstalled magisk root and then there was an automatic reboot. my phone got bricked and i could only enter fastboot mode. I then flash booted using stock rom using miflash tool and cleaned all data and my phone is now perfectly fine. however i didnt lock my bootloader, I am still scared to lock my bootloader because i feel my device will be bricked. However i guess my camera 2api is gone and the root is gone.

I want to install gcam again and wanted to remove the root without my phone being bricked. Please if u guys are kind enough to tell how to lock bootloader and remove magisk after downloading gcam without losing data and gcam

P. S. It was actually a tense moment tho and i literally thought i had to buy a new phone when my phone got bricked.
[Xiaomi Mi A1 Guides, News, & Discussion] RuinedPotion611:
If u do it by twrp method for the first time then yeah... If u r doing the magisk root method then while u r in fastboot mode to unlock the bootloader via cmd, before entering the command we have to press the volume down button till afyter we enter the command... Then the fastboot mode gets rebooted... Which ensures that our data will be still there.
[Xiaomi Mi A1 Guides, News, & Discussion] Cocunotav:
Every time that I've tried to do it, appear this message on the screen " The system has been destroyed".

I press “volume down” when I lock the bootloader, and I change the patched image with the original but the results is the same.

Will be great that someone can help me or explain me where is the mistake.
[Xiaomi Mi A1 Guides, News, & Discussion] cw_one82:
I use oem lock comand succesfully lock but cannot boot the phone after mi logo
[Xiaomi Mi A1 Guides, News, & Discussion] :
Does this still work on stock android pie?
[Xiaomi Mi A1 Guides, News, & Discussion] eko.ewo:
Latest May update and try this method to activate gcam. Its work but i cant update to June. It said instalation problem too. Any idea to solve?
[Xiaomi Mi A1 Guides, News, & Discussion] Amany2602:
Mi 8 lite edition

Bro can we use the same procedure for xomi mi 8 lite edition without unlocking bootloader for gcam
[Xiaomi Mi A1 Guides, News, & Discussion] duniatri:
I finally switch to custom rom
[Xiaomi Mi A1 Guides, News, & Discussion] AKBIROCK3:
or just use this app

https://xdaforums.com/android/apps-games/app-camera2-api-enabler-xiaomi-oneplus-t3948448

https://play.google.com/store/apps/details?id=com.proxdz.hal3enabler
[Xiaomi Mi A1 Guides, News, & Discussion] elbi14:
Stuck on pie latest official rom mia1
[Xiaomi Mi A1 Guides, News, & Discussion] nagarjun9742:
Still showing errror

mounting/System....failed
[Xiaomi Mi A1 Guides, News, & Discussion] amnher:
Just wanna ask if someone has tried this on MI A2 which has A/B partition?
[Xiaomi Mi A1 Guides, News, & Discussion] LaLo Stark:
hi everyone.

does this method work with the September 2019 patch?

my device is a Mi A1, thanks for answering :D
[Xiaomi Mi A1 Guides, News, & Discussion] DJBhardwaj:
Yes, it will. However, add the following additional commands:

setprop persist.camera.HAL3.enabled 1

setprop persist.vendor.camera.HAL3.enabled 1

setprop persist.camera.stats.test 5

setprop persist.vendor.camera.stats.test 5
[Xiaomi Mi A1 Guides, News, & Discussion] mahfoozceecy:
I clicked on this thread reading "Enable Camera 2 Api without Rooting" . That's why i commented.

Sorry if you all didn't like it. :)
[Xiaomi Mi A1 Guides, News, & Discussion] joeyhuab:
It's not click bait. You have to root it and unroot after doing everything so that basically means that you did it WITHOUT rooting it.
[Xiaomi Mi A1 Guides, News, & Discussion] mahfoozceecy:
Ya Rooting is involved. That was my point in telling Heading was misleading. ( sorry i am a Linux admin ). OP has changed it now to a better heading.

Other than that, a very good thread. Issue settled.
[Xiaomi Mi A1 Guides, News, & Discussion] met67:
Could this method be used also for enabling EIS?

TIA
[Xiaomi Mi A1 Guides, News, & Discussion] mahfoozceecy:
Try this "setprop persist.camera.eis.enable 1"
[Xiaomi Mi A1 Guides, News, & Discussion] gekko69:
After applying the property as mentioned in the OP, is there a lag when opening the camera or not?

Thanks!
[Xiaomi Mi A1 Guides, News, & Discussion] Hunk97:
but what about the SELINUX Permissive module we have to install via Magisc Manager in order to install GCamMod?
[Xiaomi Mi A1 Guides, News, & Discussion] flex1911:
No, it doesn't. Camera lags when opening because of root, not because of HAL3.
[Xiaomi Mi A1 Guides, News, & Discussion] alkesh95:
Thanks [MENTION=5120185]flex1911[/MENTION].

Off topic.

People don't quote the whole OP. Please. Pretty please.
[Xiaomi Mi A1 Guides, News, & Discussion] AridaneAM:
It's working, you are the best. I flashed december, then I did this and update to january without problem.
[Xiaomi Mi A1 Guides, News, & Discussion] Samhain77:
I think you have to reflash stock boot.img after doing that otherwise you get the "your system has been destroyed" message if you relock the bootloader with modified boot.img. Doesn't it?

Inviato dal mio Mi A1 utilizzando Tapatalk

---------- Post added at 09:20 PM ---------- Previous post was at 09:16 PM ----------

Sorry... I reply to myself... The patched boot.img isn't flashed but only booted one time so the guide is working as it is.

Thanks for this!

Inviato dal mio Mi A1 utilizzando Tapatalk
[Xiaomi Mi A1 Guides, News, & Discussion] flex1911:
Magisk should properly restore original boot.img. It worked for me at least.

Upd. Ah, cool then.
[Xiaomi Mi A1 Guides, News, & Discussion] Samhain77:
nope... stock boot.img remain untouched... during the root process the modified boot.img is only booted once. I replied to my post for explaining.
[Xiaomi Mi A1 Guides, News, & Discussion] KloNom:
Sooo. This seems really interesting. So far I have seen quite some doubting posts, and a single post which says OTA is is working afterwards. Any more actual OTA experience/opinions?
[Xiaomi Mi A1 Guides, News, & Discussion] amarbajpai:
Does anybody used GCam after this procedure? I mean is it working fine without selinux permissive?
[Xiaomi Mi A1 Guides, News, & Discussion] sipollo:
Working perfectly for me.
[Xiaomi Mi A1 Guides, News, & Discussion] gekko69:
Working for me also.
[Xiaomi Mi A1 Guides, News, & Discussion] Samhain77:
It works fine... I've also managed to enable EIS for video!

Inviato dal mio Mi A1 utilizzando Tapatalk
[Xiaomi Mi A1 Guides, News, & Discussion] amarbajpai:
How did you do that? Just by writing the code for eis by following the procedure in OP?
[Xiaomi Mi A1 Guides, News, & Discussion] Samhain77:
Yeah, the same... Just write "setprop persist.camera.eis.enable 1"

I'm trying to enable quickcharge too... But I don't know if it has kernel drivers for that

Inviato dal mio Mi A1 utilizzando Tapatalk

---------- Post added at 11:58 PM ---------- Previous post was at 11:33 PM ----------

Install "Camera2 Probe" app from the play store so you can check camera settings before and after applying this procedure.
[Xiaomi Mi A1 Guides, News, & Discussion] mitezh:
And how u gonna solve Camera lags after enabling HAL3 ..u need permissive script for that.
[Xiaomi Mi A1 Guides, News, & Discussion] Ammo thind:
No camera lgs its beacause of root not eis
[Xiaomi Mi A1 Guides, News, & Discussion] ludditefornow:
The OP is a guy who has just given everyone a simple and concise way of having arguably the best feature of this phone enabled without having to keep root on the phone and you are trying to make a song and dance over phrasing.

The importance of this method is undeniable where security is a needed feature on a phone.
[Xiaomi Mi A1 Guides, News, & Discussion] dipakd:
Please give me necessary files.
[Xiaomi Mi A1 Guides, News, & Discussion] sipollo:
Great! I still have Api2 enabled even after a full flash with miflash with option "save user data". Bootloader was relocked by the script.

How to revert back in case I need without wiping data?

rm /data/property/persist.camera.hal3.enabled=1

Will work?
[Xiaomi Mi A1 Guides, News, & Discussion] vkbhanwariya:
What if i do a factory reset after relocking the bootloader. The camera2 api enabled or not ?
[Xiaomi Mi A1 Guides, News, & Discussion] RavinduSha:
Factory reset = wiping data partition

Therefore camera2api will not work after factory reset.
[Xiaomi Mi A1 Guides, News, & Discussion] Samhain77:
rm /data/property/persist.camera.HAL3.enabled

After rooting again, obviously.
[Xiaomi Mi A1 Guides, News, & Discussion] rvvvr:
Should i reboot device after install magisk installer using direct method?

As i get it "fastboot boot patched_boot.img" will already boot rooted boot.img so i dont need to intall magisk at all?
[Xiaomi Mi A1 Guides, News, & Discussion] edkmho:
Is working and no lag in the camera. Excellent work.

Many thanks.
[Xiaomi Mi A1 Guides, News, & Discussion] vkbhanwariya:
And what about video call ?
[Xiaomi Mi A1 Guides, News, & Discussion] eko.ewo:
Tried this method and so far so good... Excellent work indeed.
[Xiaomi Mi A1 Guides, News, & Discussion] GizmoFreak:
Just to be sure, you mean USB debugging right?
[Xiaomi Mi A1 Guides, News, & Discussion] flex1911:
Yes, same thing anyway.
[Xiaomi Mi A1 Guides, News, & Discussion] vkbhanwariya:
Video call work or not after enable this ?
[Xiaomi Mi A1 Guides, News, & Discussion] GizmoFreak:
Thanks! I just tried. Google camera works fine but the Google camera app closes when I try slow motion video. I am using arnova's v1.4 beta 2.

Slow motion on stock camera app works fine though.

---------- Post added at 11:05 PM ---------- Previous post was at 10:56 PM ----------

which app?

---------- Post added at 11:09 PM ---------- Previous post was at 11:05 PM ----------

Tried on whatsapp and it worked fine.
[Xiaomi Mi A1 Guides, News, & Discussion] vkbhanwariya:
using duo and stock video call without any app.
[Xiaomi Mi A1 Guides, News, & Discussion] irfan88:
Thank you for your hard work. I have a couple of questions though. Please advise.

1. If we enable Camera2 API and EIS by your method, will these functions work with Mi Stock camera or do we need to use Google Camera ?

2. Can any version of Google Camera be used with these functions or should we use a specific version?
[Xiaomi Mi A1 Guides, News, & Discussion] sipollo:
You need to use Google Camera, any version compatible with Oreo. Slow motion videos are not working at the moment with Google Camera.
[Xiaomi Mi A1 Guides, News, & Discussion] GizmoFreak:
Created a video, hope it is helpful.

https://youtu.be/3tDfOWci7m8
[Xiaomi Mi A1 Guides, News, & Discussion] met67:
Yes, you are right!

I just enabled HAL3 & EIS by unlocking the bootloader, booting from patched_boot.img with Magisk Manager installed, setting the persistent properties and relocking the bootloader.

Great work!
[Xiaomi Mi A1 Guides, News, & Discussion] riccetto80:
well if you dont install magisk why install magisk manager?
[Xiaomi Mi A1 Guides, News, & Discussion] Gingernut78:
Thanks for this.

I saved on the root step as you don't actually need it.

Boot to fastboot

Unlock bootloader

Fastboot boot to TWRP

Once in TWRP go to advanced and manually type in the setprop commands you want

Reboot to bootloader and relock

Done

Tested and working
[Xiaomi Mi A1 Guides, News, & Discussion] supergodie:
Could you put the instructions to do this? I'm mac user.

Thanks
[Xiaomi Mi A1 Guides, News, & Discussion] RavinduSha:
You can still use your Stock camera without any problem and GCam also.
[Xiaomi Mi A1 Guides, News, & Discussion] met67:
I installed it to handle the root authorization dialog, I'm not sure it's really necessary.

AW it doesn't do any harm, it's just an apk :)
[Xiaomi Mi A1 Guides, News, & Discussion] flex1911:
Yeah, it is even easier to do it like this. I just made it slightly more complicated to make sure that it applies properly and persists.
[Xiaomi Mi A1 Guides, News, & Discussion] riccetto80:
i applied the 2 command without root with magisk, just used the patched_boot.img, apply the 2 command (hal3 and image stabilization), rebooted, relocked the bootloader.

gcam seems to work fine, and image stabilization can be selected!!!

only issue is: gcam hdr really use a lot of battery!!! (9% with 13minuts screen usage while i was doing 20/25 photos and a video) i have white dots in some conditions on photo, while on with xiaomy cam software i dont have this dots at all.

(dots disappear if i choose portrait mode, nice)

anyway your method work, gg man!

also, no lag on xiaomi camera, work as before!!!!

GG topic starter!!!
[Xiaomi Mi A1 Guides, News, & Discussion] hartej4:
Plz can you explain in step by step process
[Xiaomi Mi A1 Guides, News, & Discussion] riccetto80:
ISSUE: seems to f*uk up big time naptime, i used naptime without root.

after i used the patched_boot.img naptime crashed, after i finished use it and apply the 2 command, reboot and closed again the bootloader, naptime didn't crash anymore, but dont work anymore as intended.

i tryed to uninstall and reinstall and re-apply the 2 adb command naptime need to work without root.

still behave strangely.

i will update this post as soon i understand what is happening.

---------

seems naptime start again to work as intended, after a uninstall/reinstall + permission gave again + restart.

so, lesson learn: if you want apply the method of this topic, and you run naptime or another similar app (greentime, force doze and so on) who work without root using couple of adb command, uninstall it/disable it before "temporarily root" the device or naptime or similar app will misbehave and will keep to misbehave even after you lock again the bootloader.

ANOTHER STRANGE THINGS I NOTICE:

Now in my app list some app have a voice, a voice before dont exist:

-advance: Allow modify system settings

is this normal?
[Xiaomi Mi A1 Guides, News, & Discussion] Onkar Ingale:
Help

When I installed the magisk then followed the all instructions but as I uninstall magisk I see my

build.prop

empty and as camera2api doesn't work and as I install magisk, build prop Appears and it starts working

Please help me