yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A1 Guides, News, & Discussion] Rajeev:
https://www.celsoazevedo.com/files/android/google-camera/
[Xiaomi Mi A1 Guides, News, & Discussion] sipollo:
Anyone managed to get working Google camera slow motion video with Oreo? Tried various magisk modules but none worked for me. With Nougat they worked well, even audio capture.
[Xiaomi Mi A1 Guides, News, & Discussion] AttilaN:
Comparison

I made a quick comparison regarding the quality of the stock camera app, GCAM jpg and GCAM raw (converted to jpg).

Link: Xiaomi A1 stock camera vs. Google Camera jpg vs. Google Camera raw/dng
[Xiaomi Mi A1 Guides, News, & Discussion] Seguseda:
Me too in v 1.6.

How to fix it, anyone?
[Xiaomi Mi A1 Guides, News, & Discussion] SrikanthMergu:
Just use the gcam I provided it works fine
[Xiaomi Mi A1 Guides, News, & Discussion] Seguseda:
I use gcam arnova v 1.6 with following magisk modules and camera setting, but can't take portrait with front camera.

But, all works fine if I use gcam arnova v 1.3
[Xiaomi Mi A1 Guides, News, & Discussion] SrikanthMergu:
It may not work in that version 1.6

Download v1.4 from my thread or vedio tutorial I given there
[Xiaomi Mi A1 Guides, News, & Discussion] Rajeev:
Potrait for Front and Back working fine in v1.6 GCam.
[Xiaomi Mi A1 Guides, News, & Discussion] SrikanthMergu:
Which settings did you used and

Link of gcam v1.6 ??
[Xiaomi Mi A1 Guides, News, & Discussion] Rajeev:
https://www.celsoazevedo.com/files/android/google-camera/

Arnova's 5.1.018_v1.6
[Xiaomi Mi A1 Guides, News, & Discussion] SrikanthMergu:
Tq bro

For the suggestion
[Xiaomi Mi A1 Guides, News, & Discussion] Seguseda:
I download arnova 1.6 from the same link and current setting are same with your setting..

But portrait mode with front camera in 1.6 still not working.

Maybe can you share your magisk module ?
[Xiaomi Mi A1 Guides, News, & Discussion] Rajeev:
Sure... I will upload all modules that i flashed.

https://drive.google.com/file/d/1YI8E54jJ-Z6QnzsSQyfeOBJOS4QTmHjw/view?usp=drivesdk

Extract all modules from this zip then flash using Magisk Manager

---------- Post added at 07:27 AM ---------- Previous post was at 07:25 AM ----------

Happy to help bro
[Xiaomi Mi A1 Guides, News, & Discussion] sipers_:
in magisk 15.3 when i install the all module is failed how to solved ?
[Xiaomi Mi A1 Guides, News, & Discussion] Rajeev:
Which all modules?
[Xiaomi Mi A1 Guides, News, & Discussion] sipers_:
like camera 2 api enabler when i install failed
[Xiaomi Mi A1 Guides, News, & Discussion] sipers_:
please install magisk 13.1 in notice
[Xiaomi Mi A1 Guides, News, & Discussion] SrikanthMergu:
You did not installed magisk properly

[youtube]1amTkFxlQUY[/youtube]

Do watch above vedio for root using magisk
[Xiaomi Mi A1 Guides, News, & Discussion] Seguseda:
Does the link contain the same file as on page 1?
[Xiaomi Mi A1 Guides, News, & Discussion] SrikanthMergu:
Yep bro
[Xiaomi Mi A1 Guides, News, & Discussion] sipers_:
my device is root bro .
[Xiaomi Mi A1 Guides, News, & Discussion] SrikanthMergu:
You may not rooted properly so your getting that error

That's why I gave the link

Do watch it and check
[Xiaomi Mi A1 Guides, News, & Discussion] sipers_:
yes but i root with your link .
[Xiaomi Mi A1 Guides, News, & Discussion] SrikanthMergu:
Once reboot and try

It may resolve
[Xiaomi Mi A1 Guides, News, & Discussion] Seguseda:
I've reinstall Gcam 1.6 and reflash magisk modules from this link.. But still no switch camera botton in portrait mode..

Can help me to fix it bro?
[Xiaomi Mi A1 Guides, News, & Discussion] SrikanthMergu:
Bro you just remove gcam and all magisk modules and restart your device

Then follow my instructions step by step it will definately work

Just use my gcam not v1.6 because I didn't tested it
[Xiaomi Mi A1 Guides, News, & Discussion] joaonuno:
you have to go to 'settings>debugging and tools' and check 'camera.gouda.front'
[Xiaomi Mi A1 Guides, News, & Discussion] Seguseda:
Greaat... Solved with this method..

Worked perfectly

Thank you bro
[Xiaomi Mi A1 Guides, News, & Discussion] sipers_:
how to fix slow motion force close ? in stock and gcmod5 ?
[Xiaomi Mi A1 Guides, News, & Discussion] JorgeC37:
Slow motion and hdr

I have some questions for the people that has de gcam on Oreo. Can you still use de hdr on the stock camera? I want to still be able to use the hdr on the telefoto lens. Does de slow motion work on both camera apps?
[Xiaomi Mi A1 Guides, News, & Discussion] Ni9e.:
100% Working for me on Oreo January Build ???

Front Portrait Mode also working and great camera quality improvement ???

Not tried Pixel stickers!!
[Xiaomi Mi A1 Guides, News, & Discussion] SrikanthMergu:
Yeah it's working
[Xiaomi Mi A1 Guides, News, & Discussion] bharatmbbs:
I am getting this strange red tint on v 1.6 in portrait mode on front cam only... can anyone help please
[Xiaomi Mi A1 Guides, News, & Discussion] Seguseda:
Go to setting > advanced > check "removing the pinkish/reddish"
[Xiaomi Mi A1 Guides, News, & Discussion] ashwinpal:
On my mi a1 rear potrait via gcam isnt working..what should i do?.rear potrait on stock cam over exposes the background thats y i wanted to test with gcam
[Xiaomi Mi A1 Guides, News, & Discussion] SrikanthMergu:
Bro just follow the method I provided above completely step by step

And I also provided supported vedio for that do what it you will get it

Thanks
[Xiaomi Mi A1 Guides, News, & Discussion] ashwinpal:
And slow mo of stock cam isnt working after installing gcmod
[Xiaomi Mi A1 Guides, News, & Discussion] SrikanthMergu:
Did you try installed all 4 magisk modules ??
[Xiaomi Mi A1 Guides, News, & Discussion] ashwinpal:
Yeah
[Xiaomi Mi A1 Guides, News, & Discussion] SrikanthMergu:
Try change the settings according to pic
[Xiaomi Mi A1 Guides, News, & Discussion] ashwinpal:
I hav applied same settings...what about stock cam is the slo mo working on ur device?
[Xiaomi Mi A1 Guides, News, & Discussion] SrikanthMergu:
Bro I didn't use slim motion much so I didn't know about it

I will try checking and let you know
[Xiaomi Mi A1 Guides, News, & Discussion] ashwinpal:
Yeah sure
[Xiaomi Mi A1 Guides, News, & Discussion] doloresmiska:
I've checked, still not working :(
[Xiaomi Mi A1 Guides, News, & Discussion] joaonuno:
it should work. In some initial releases it wasn't checked but now all the versions I've tested come with that option already checked.

confirm if you are really checking that option instead of other one with 'gouda' in it
[Xiaomi Mi A1 Guides, News, & Discussion] doloresmiska:
Here you go. I install all 4 modules, and slo Mo isn't working too
[Xiaomi Mi A1 Guides, News, & Discussion] doloresmiska:
On stock camera after GCam slomo is broken too :((
[Xiaomi Mi A1 Guides, News, & Discussion] joaonuno:
sorry but can't help. maybe try a diferent version of gcam. you can check them all here: https://www.celsoazevedo.com/files/android/google-camera/

I'm using "GoogleCamera-Pixel2Mod-Arnova8G2-V1 (Arnova8G2, 2018-01-22)" and it works great for me (I'm on december oreo stock 8.0)

the slow motion isn't working in oreo (force closes when selected) and for me video is allways recorded with 15 fps in gcam. I've tried a magisk module that enables slow motion but it is laggy and then the stock camera crashes. this module: https://xdaforums.com/apps/magisk/module-hevc-60fps-slomo-gcam-op3t-5-t3666287
[Xiaomi Mi A1 Guides, News, & Discussion] Prottoy007:
Does magisk brick phone??? I got my phone bricked editing build.prop using adb pull/push...
[Xiaomi Mi A1 Guides, News, & Discussion] SrikanthMergu:
Magisk won't

But editing build.prop may brick

What is your phone condition now
[Xiaomi Mi A1 Guides, News, & Discussion] grd549:
Is there any way to enable telephoto lens for Mi A1 on Google Camera App? When I use Portrait mode, it just cropping like 2x mode on stock camera :'(
[Xiaomi Mi A1 Guides, News, & Discussion] phaqeeh94:
Magisk is not activated

I've been following the instructions, my MIA1 was rooted, but still can't flash the module. I try flashing other module it work, but no with this AR module,
[Xiaomi Mi A1 Guides, News, & Discussion] Mizuru:
Why would you need the permissive script? The camera works just fine with only c2api. Only drawback of not using the SElinux script is laggy camera startup and front facing/rear camera switching lag. I'd rather wait 3 seconds for the cam app to load than give elevated privileges to any app.
[Xiaomi Mi A1 Guides, News, & Discussion] Denislino:
all working fine. thanks

oh, is any one having slow motion lag in gcam? any solution?
[Xiaomi Mi A1 Guides, News, & Discussion] Mukti Panji:
Pixel 2 mod cant use hdr mode?
[Xiaomi Mi A1 Guides, News, & Discussion] joaonuno:
for me it's working on both cameras
[Xiaomi Mi A1 Guides, News, & Discussion] TGiFallen:
Did you have to change any settings?

Anyone else getting a weird glitch where sometimes HDR+ runs, but other times it does not (when manually turned on) and the preview of the image you just took shows up mostly green?
[Xiaomi Mi A1 Guides, News, & Discussion] krishu_s:
A green tint in photo on side/flat angles

Both photos are clicked by your latest Gcam mod (GoogleCamera-Pixel2Mod-Arnova8G2-V2)

In straight click, picture color reproduction is original but when I tilt the phone (flat), a green tint comes on picture. [MENTION=4860033]Arnova8G2[/MENTION]
[Xiaomi Mi A1 Guides, News, & Discussion] GizmoFreak:
Could probably due to the CFL (if that is the light source).
[Xiaomi Mi A1 Guides, News, & Discussion] Arnova8G2:
Have you activated "Improve photos in low light" ?
[Xiaomi Mi A1 Guides, News, & Discussion] krishu_s:
Yes [MENTION=4860033]Arnova8G2[/MENTION] Many Users Facing The Same Issue. I think all!
[Xiaomi Mi A1 Guides, News, & Discussion] Red_Man 898:
single camera photography is great on gcam but dual camera is best on stock camera.
[Xiaomi Mi A1 Guides, News, & Discussion] NITRO_100:
It sucks on stock camera, bad software and lack of stabilization. The photos on stock camera in perfect light conditions are ok, but lacks details compared to gcam
[Xiaomi Mi A1 Guides, News, & Discussion] Denislino:
guys my camera is taking now amazing photos, but it taken to long time to open the camera to take a photo and to process the image, I'm using the given setting. any one have a solution? if so give me a detailed information
[Xiaomi Mi A1 Guides, News, & Discussion] Agustinus Alvin Wicaksono:
thanks
[Xiaomi Mi A1 Guides, News, & Discussion] GizmoFreak:
Lower down the hdr+ parameters to medium and then try. Won't make much difference to your photos.
[Xiaomi Mi A1 Guides, News, & Discussion] Alyx89:
not able to record video at all with it, not talking about slow motion but any and all video recording. it just wont start recording at all, any fixes?
[Xiaomi Mi A1 Guides, News, & Discussion] pabloespe02:
Have you flashed the ROM from [MENTION=5863451]JamFlux[/MENTION]? I solved that by flashing the official stock ROM with MiFlash (installing Magisk then and so on)
[Xiaomi Mi A1 Guides, News, & Discussion] NITRO_100:
What version are you using ? Maybe try another one
[Xiaomi Mi A1 Guides, News, & Discussion] Alyx89:
that fixed the issue thanks alot :)
[Xiaomi Mi A1 Guides, News, & Discussion] Denislino:
Guys my camera is lagging when filming (normally or slow motion) any fixing?
[Xiaomi Mi A1 Guides, News, & Discussion] pabloespe02:
I installed a Google Camera Fix module from [MENTION=7141309]simonsmh[/MENTION], but I'm afraid it won't make much a difference, and that this is how our device records video with this app.

Does the slow mo even work for you? Are you on Oreo?
[Xiaomi Mi A1 Guides, News, & Discussion] Denislino:
yes, I'm in oreo, is working, but with a bunch of lagging
[Xiaomi Mi A1 Guides, News, & Discussion] pabloespe02:
So may I know which module/mod are you using?
[Xiaomi Mi A1 Guides, News, & Discussion] Denislino:
im using GoogleCamera-Pixel2Mod-Arnova8G2-V4
[Xiaomi Mi A1 Guides, News, & Discussion] pabloespe02:
Any additional module? When I touch to go to the slow mo camera the app crashes for me
[Xiaomi Mi A1 Guides, News, & Discussion] Denislino:
with this modules
[Xiaomi Mi A1 Guides, News, & Discussion] pabloespe02:
I would try first to uncheck first module, because it contains (I suppose) the same prop lines than the 4th one. Then I must tell you that I did not installed the 2nd one because it says it's specifically for OnePlus devices. It may be causing your problems.
[Xiaomi Mi A1 Guides, News, & Discussion] Denislino:
wow. thanks. i will do that than provide a feedback
[Xiaomi Mi A1 Guides, News, & Discussion] pabloespe02:
Take into account that it will most probably inutilize your slow mo (as I am not unable to use it) but video could now be recorded more fluently.

I can also search for you the thread for the module that I have for video camera so you can test it.
[Xiaomi Mi A1 Guides, News, & Discussion] Denislino:
shot me with the thread
[Xiaomi Mi A1 Guides, News, & Discussion] pabloespe02:
Ok hahah where it goes https://xdaforums.com/apps/magisk/module-gcam-patch-t3677993.

It is not longer maintained since yesterday I think, but it could make a difference for you.
[Xiaomi Mi A1 Guides, News, & Discussion] Denislino:
i couldn't find the file to download, any help bro?
[Xiaomi Mi A1 Guides, News, & Discussion] pabloespe02:
Viewing the page as in a desktop, click on "releases" and download the latest zip .
[Xiaomi Mi A1 Guides, News, & Discussion] Denislino:
With your edit part, work, i will try it now
[Xiaomi Mi A1 Guides, News, & Discussion] pabloespe02:
I edited my previous post. You can try that
[Xiaomi Mi A1 Guides, News, & Discussion] Denislino:
slow motion still crasing bro:crying:
[Xiaomi Mi A1 Guides, News, & Discussion] pabloespe02:
Yes. Slow motion has no 100% working solutions in Oreo. But have you tried to record a regular video to see if it is more fluent now?
[Xiaomi Mi A1 Guides, News, & Discussion] Denislino:
yes it's
[Xiaomi Mi A1 Guides, News, & Discussion] pabloespe02:
Now it comes to 2 options for you: fluent video and no slow mo, or slow mo and lag. It all depends on how you use the camera hahah
[Xiaomi Mi A1 Guides, News, & Discussion] h2aroon:
Is it working in Oreo ?
[Xiaomi Mi A1 Guides, News, & Discussion] Denislino:
yes
[Xiaomi Mi A1 Guides, News, & Discussion] Deni_ben:
Hey guys.. does anyone know how to disable mirroring front images on gcam?
[Xiaomi Mi A1 Guides, News, & Discussion] jiefwng:
will it still work if i unroot after installing?
[Xiaomi Mi A1 Guides, News, & Discussion] blacklion79:
Is there gcam APK which supports BOTH rear cameras? I've tried several "recommended" builds (after enabling EIS and Camera2 API), but all of them works only with front camera and wide rear camera, so they are useless for me (I mostly use rear tele).

Maybe, I messed some setting or non-obvious UI control?
[Xiaomi Mi A1 Guides, News, & Discussion] sipollo:
No, any version use telephoto lens. It's not listed in camera2 api at all.
[Xiaomi Mi A1 Guides, News, & Discussion] theman480:
Works perfectly with 8.0 January patch, everything working, slow motion, portrait, stickers, thank you!
[Xiaomi Mi A1 Guides, News, & Discussion] doc_fx:
Help please, i cant download the modules, at all..tried through app and browser too - got them,thanks
[Xiaomi Mi A1 Guides, News, & Discussion] bojan1974:
the best version gcam for mi a1 is?
[Xiaomi Mi A1 Guides, News, & Discussion] Sigray:
All are bugged.
[Xiaomi Mi A1 Guides, News, & Discussion] Fibra Man:
Hi!, brothers. I'm using Scrubber's version (scrubber_GCam_5.1.018_25.apk), but the pics are darkened in comparing Mi A1 stock photos (stock App). Any solution/suggestion?

I have a Xiaomi Mi A1 rooted w/ camera2 API in Android Oreo 8.0.0.

Thank you in advance.
[Xiaomi Mi A1 Guides, News, & Discussion] theman480:
Anyone can fix the Ar Stickers on our device?

It's working but following the camera when you walk, also the video is not working after you stop the recording.
[Xiaomi Mi A1 Guides, News, & Discussion] doc_fx:
Can i update the gcam to the latest version?
[Xiaomi Mi A1 Guides, News, & Discussion] hardik hapaliya:
Thanx bro all working.. Fine

THANK YOU BRO.. EVERYTHING WORKS FINE AND GREAT.. :laugh:
[Xiaomi Mi A1 Guides, News, & Discussion] doloresmiska:
I there any working solution to Update my phone with February patch via ota without any bug or bootloop?

I installed GCam from this tutorial. I have patched boot of course.
[Xiaomi Mi A1 Guides, News, & Discussion] night_reader:
Or is it possible to unroot without deleting GCam related modules?
[Xiaomi Mi A1 Guides, News, & Discussion] yashj9:
what is the version of gcam app? also which version or stickers modules u r using? :)
[Xiaomi Mi A1 Guides, News, & Discussion] marcusaf:
Hi um using It on mi5x and It happened with ALL versions of gcam, using flash to shot at night takes too long. Any settings?
[Xiaomi Mi A1 Guides, News, & Discussion] ProchyGaming:
Hey guys do you know a way how to record the slow mo with the wide-angle lens not telephoto
[Xiaomi Mi A1 Guides, News, & Discussion] hardik hapaliya:
i am using

i am using Gcmod5 v5.1.018.177470874

and ar strcker version is 1.0.171127163.apk
[Xiaomi Mi A1 Guides, News, & Discussion] vikkuyellow46:
Am having trouble with the ar stickers! The camera isn't mapping, if we don't reboot then it works for a while then again this problem persists
[Xiaomi Mi A1 Guides, News, & Discussion] JorgeC37:
Strange dot pattern

Is someone getting a dot pattern on images taken with good light and bright colors? The can be seen when you zoom in
[Xiaomi Mi A1 Guides, News, & Discussion] sipollo:
It's a bug.

This version greatly reduces dots:

https://xdaforums.com/mi-a1/themes/request-google-camera-hdr-mi-a1-t3684325/post75557654
[Xiaomi Mi A1 Guides, News, & Discussion] Zulfauzi:
All working fine here on 7.1.2

thanks for this great mod...:good:
[Xiaomi Mi A1 Guides, News, & Discussion] jai krishna:
60 fps 1080p video recording working ??
[Xiaomi Mi A1 Guides, News, & Discussion] Zulfauzi:
yes,1080p 30fps/60 working...front & back cam works fine..im on 7.1.2
[Xiaomi Mi A1 Guides, News, & Discussion] jndvlp:
Hi, i'm on 7.1.2 too and i'm looking on how to install gcam with hdr+ and eis.

There are a lot of version of magisk module and gcam and i read that installing wrong module could cause boot loop.

Please can you tell me which magisk modules and which gcam version are working on your phone?

This could be helpfull to me.

Thank you.
[Xiaomi Mi A1 Guides, News, & Discussion] dannyleone:
How save the photos / videos in SD by defect in Gcam?

There is no available save in SD option in GCAM
[Xiaomi Mi A1 Guides, News, & Discussion] abhishek jadav:
Does this gcam works on nougat too or needs oreo?
[Xiaomi Mi A1 Guides, News, & Discussion] jndvlp:
I'm looking too for the answer to your question, i'm on nougat too all the instructions that i found are for installing gcam on oreo.

The information that i found about nougat is that we have to add these two lines to build.prop

persist.camera.eis.enable=1
persist.camera.HAL3.enabled=1

Then we have to install the right version of the gcam porting.

I found these information on these post https://xdaforums.com/showpost.php?p=74189625&postcount=41

Before to do that i would like to listen the opinion of someone that already did it on nougat because making somethink wrong could brick the device.

Please can someone confirm that this procedure is the correct one?

Thank you.
[Xiaomi Mi A1 Guides, News, & Discussion] Zulfauzi:
hello bro,if u are rooted on 7.1.2,Then all just fine..just follow the step on the 1st page,download all the files,and install the module by Magisk..just mostly same like the xposed module if u hv used before..no need to edit script/build prop..after all module successfully install,u can install/uninstall the GCAM version apk normally in this link : https://www.celsoazevedo.com/files/android/google-camera/

u can choose a different version..but for recommend mostly used the Arnova's V6... here's the screenshot after all module successfully installed
[Xiaomi Mi A1 Guides, News, & Discussion] Zulfauzi:
both works on rooted&non rooted...

in the difference way
[Xiaomi Mi A1 Guides, News, & Discussion] jndvlp:
Thank you for your answer.

I tought that this procedure was working only on oreo because the author of the post said this.

Thank you for the screenshot.

I will try to install it in the next days.

Thank you.
[Xiaomi Mi A1 Guides, News, & Discussion] drshafi01:
Hi all, i am on stock nougat rom, rooted & xposed tweaks. NO TWRP NO MAGISK. Now I want to install Gcam with all functions working. Please guide me.
[OnePlus 3T Questions & Answers] nissanoo0:
Hi guys im looking for kernel with the best battery life, which one would you recommend for me? Also how's your battery life on oos 4.5.1?
[OnePlus 3T Questions & Answers] Immortalis:
There we go, another "what's best" thread.

The most accurate answer is you have to test it for yourself. Everyone has different usage patterns.

I won't send my usage screen since I never drain my battery to 0%.

Boeffla, ElementalX, franco, Flash... there are few of them. Just look them up, download, flash and test.
[OnePlus 3T Questions & Answers] nissanoo0:
That's what I want to do but maybe someone has tested already ?
[OnePlus 3T Questions & Answers] sandeep_kumar:
In my view,

1) Franco kernel is the best if you use your phone not for the full day because practically I do not see any drain of battery in sleep mode.

2) Blu spark kernel is the best if you want to customize the clock frequency as it is compatible with Kernel adioter app which is free. In Franco as well as in Elemental you have pay for their compatible app.

3) ElementalX kernel is the best, if you use your phone daily, then you can customize the clock frequency and other stuff in aroma installation while flashing.

Now, it is up to you to choose.
[OnePlus 3T Questions & Answers] redpoint73:
There are already so many threads like this. We don't need another. That was why he said "another" best kernel thread.

Expected others to do the testing for you is pointless. There are too many variables regarding how you as an individual use the device. So testing under your particular usage conditions is the only reliable indicator.
[OnePlus 3T Questions & Answers] yahya69:
I thought that while encrypting my phone, the result would be that my data is preserved, just encrypted. So I went through the encryption process only to find that all my data is wiped, so that I have to restore everything from backups, as far as I have them. :(

Did I overlook something, or is this a bug? I have LineageOS 14.1, installed yesterday, official.
[OnePlus 3T Questions & Answers] yahya69:
Found that after a reboot, the data was again gone. (after I spent considerable time setting the phone up yet again), now factory reset, running unencrypted, until I know what has been going wrong here. Sigh. Custom roms and encryption continue to be a toxic mix for me.
[OnePlus 3T Questions & Answers] BillGoss:
When I first started playing around with encryption (Samsung Note 3) I discovered that to get encryption to work properly I had to format /data (you lose everything, including internal shared storage) and that it worked better on stock ROM rather than custom ROMs.
[OnePlus 3T Questions & Answers] yahya69:
which I kind of accepted after learning it the hard way, but the problem was that after encrypting the device, all data was wiped each time the phone was rebooted, so something is buggy here.
[OnePlus 3T Questions & Answers] dimon2242:
I resolve this problem using latest official twrp.
[OnePlus 3T Questions & Answers] yahya69:
How did you? (What version of TWRP did you install) After all, it is not TWRP that does the encryption, or is it? So I don't see how this could be the cause.

With TWRP, I had the additional issue that it kept asking me for a password to mount /data, but it wouldn't accept the PIN that I had set in Android. I have no idea what other password it might want.

Oh, well, there is just too much fumbling in the dark in this whole mobile devices business. I have been a Linux user for some 20 years, and there, if things go wrong, you can actually view what is happening. On android, this is so much more difficult, even with logcat.