yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A2 / 6X Questions & Answers] mma_1494:
Yes exactly...command should be:

fastboot boot patched_image.img

See Jamesismo's comment on the first page of the thread for proper steps.

No need for step 4 as in this method you just boot into a patched image and upon rebooting your original system boots up.
[Xiaomi Mi A2 / 6X Questions & Answers] kaiwanted:
Dear Maharram,

First of all I wanna say thank you for the recommendation. As far as I can see this is the best Gcam I've tried for my Mi A2 so far.

But I have one little issue with it. I will try to explain briefly.

First time I open my Camera and make a selfie, I get a very nice white contrast photo of me, like perfect.

So there is enough to close the camera app without open any settings or change anything in it and next time I receive a little bit reddish selfie.

After I clean all settings to default, only for the first time again I can get that perfect selfie photo. Then of course I have tried all settings possible in this app to see if I can change that, but without any success.

The only thing I didn't change is the Base configuration, which is left by default. I will play with this settings later on.

Let me know if you can repeat my experiment to see that differences that I see.

Thank you
[Xiaomi Mi A2 / 6X Questions & Answers] Maharram:
dude i have played with all setting inc: Basə setting but i haven't faced that issue only im getting more dark or red selfies when i change

Base>Config ( Best one is PİXEL2018 ZslR HDR+) if you change it with Pixel2018 Zsl HDR+ you will loose motion pictures and other modes will give you more red or dark photos. Also BSG Config PixelPlus NS HDR+ will crash your gcam you need to delete memory and chache to use it again. Also change interface to Pixel 2 for best performance. and for the camera model all pixel versions will give you green selfies and photos and Nexus5X will give you dark selfies but btw Nexus6P is best one dont change it. İ hope that will help you :)
[Xiaomi Mi A2 / 6X Questions & Answers] mariosenta:
Stock HHS vs Gcam night mode

Stock camera night mode is really bad. Gcam is perfect!
[Xiaomi Mi A2 / 6X Questions & Answers] ond96:
there are so many versions, which one to use with Mi A2?

Also, which is the easiest way to keep stock ROM and OTA? I dont mind unlocking the bootloader.
[Xiaomi Mi A2 / 6X Questions & Answers] mariosenta:
https://xdaforums.com/mi-a2/how-to/how-to-enabling-cam2-gcam-android-t3868766

Camera app you can find few post above.
[Xiaomi Mi A2 / 6X Questions & Answers] Sid.Boi:
Bro can u shw us settings for best result for this version
[Xiaomi Mi A2 / 6X Questions & Answers] Maharram:
[IMG="ss1"][/IMG]

here is the best setting for me

(btw if you have issues with that setting lemme know)

[IMG="Screenshot 1"]https://xdaforums.com/attachment.php?attachmentid=4720774&stc=1&d=1552253394[/IMG]

[IMG="screenshot 2"]https://xdaforums.com/attachment.php?attachmentid=4720775&stc=1&d=1552253394[/IMG]

[IMG="screenshot 3"]https://xdaforums.com/attachment.php?attachmentid=4720776&stc=1&d=1552253394[/IMG]
[Xiaomi Mi A2 / 6X Questions & Answers] Maharram:
you won't loose OTA updates if you unlock bootloader. if you enable CameraApi2 you will loose OTA updates. only way is the enable CameraApi2 with magisk mod. İf you receive any updates you need to remove CameraApi2 unroot your phone update and root again, install magisk and enable CameraApi2
[Xiaomi Mi A2 / 6X Questions & Answers] mma_1494:
No....with the thread mentioned on previous page(3) ,you wont lose ota with camera2api. I have camera2api enabled and I receive ota without any problems.
[Xiaomi Mi A2 / 6X Questions & Answers] Sid.Boi:
Thnx brO realy appreciate that
[Xiaomi Mi A2 / 6X Questions & Answers] Maharram:
not at all :)
[Xiaomi Mi A2 / 6X Questions & Answers] kaiwanted:
I have changed a lot and now I've got almost the perfect setup for my phone, the only thing I can't find is to enable somehow mirror effect, cause on my selfie camera I receive always a turned to the right side image. Do you know something about this moment? Thank you in advance!
[Xiaomi Mi A2 / 6X Questions & Answers] Maharram:
no man u cant disable mirror effect on gcam there is no setting for that

---------- Post added at 07:08 AM ---------- Previous post was at 07:07 AM ----------

really you received ota updates? (inc: security patch updates)?
[Xiaomi Mi A2 / 6X Questions & Answers] mma_1494:
Yes definetly, am currently on the feb security update.
[Xiaomi Mi A2 / 6X Questions & Answers] bair82:
Changing libs to "Xtrme v2s" helps (big thanks for you post!), but it does not solve the problem completely. Focus dots are now barely visible on close ups of bright blue sky (which was most annoying for me, because so many good shots were ruined by those dots), but they are still very visible on yellow images.
[Xiaomi Mi A2 / 6X Questions & Answers] nhmanas:
can you send the link of the version that you're using?
[Xiaomi Mi A2 / 6X Questions & Answers] luminoso:
Is there any known fix for the focus dots problem?
[Xiaomi Mi A2 / 6X Questions & Answers] Maharram:
here is the link of the best version out there

https://xdaforums.com/showpost.php?p=79176115&postcount=1485

also dont forget to download config files for MI A2
[Xiaomi Mi A2 / 6X Questions & Answers] rober788:
Where i can download config files?
[Xiaomi Mi A2 / 6X Questions & Answers] Maharram:
celsoazevedo_com/files/android/google-camera/f/changelog380/

remove _ and add dots
[Nexus 6  Original Android Development] Elektroschmock:
Reserved

Please read how to

- Properly report a bug: https://wiki.lineageos.org/bugreport-howto.html

- Capture a log https://wiki.lineageos.org/logcat.html
[Nexus 6  Original Android Development] mezerr:
Clean flashed Lineage 16.0, Gapps 9.0 Mini, Magisk 18.0. I was not encrypted on LOS 15.1

Edit: Had a hiccup on the setup screen (phone froze). Restarted and all good.

Edit: Pixel Launcher doesn't seem work for me. Crashes every time going to home screen. Had to go to APKMIRROR and download latest version. Was working for 5 minutes or so, but now crashes again. Still messing with it.

Edit: Clean flashed a second time with 16, Gapps 9.0 FULL, and Magisk 18.0. Setup screen froze again. I'm gonna restore my 15.1 backup as I've run out of time to mess around.

FYI - I'm not looking for help.. just posting my experience.
[Nexus 6  Original Android Development] wrsg:
Confirming everything is good here with 16.0.

I basically followed the steps on the LOS wiki (upgrading from 15.1, unencrypted, no wiping-data):

1. Format /system partition in TWRP

2. Sideload 16.0 ROM

3. Sideload Opengapps 9.0

4. Sideload Magisk

5. Reboot

Everything working.

Only thing I noticed (which may be just how Lineage OS is designed) was my homescreen setup was overwritten by the Lineage OS defaults so I had to set up widgets again.
[Nexus 6  Original Android Development] Sanabil:
Great work bro as always [MENTION=8568276]Electroshmock[/MENTION] :good:
[Nexus 6  Original Android Development] BIGWORM:
Just a small reminder, if a user is going to post about issues with the ROM, please attach logs for the OP to help look into the issue.
[Nexus 6  Original Android Development] amroj:
Hi, I lost the /data partition (error: Failed to mount '/data' (Device or resource busy)), how to get it back?

Initially I had the latest 15.1, and did all instructions to my best understanding. All went well, but when I was ready to finally reboot, TWRP 3.2.1.0 said I have no OS installed. Then I formatted data, and the problems started.

EDIT: /data became OK after I rebooted to recovery. Now I installed again the same way, before final reboot TWRP said I have no OS installed. But I ignored that and rebooted. Now the system seems to work, at least I'm currently settings up the phone again.

But the question is: why does TWRP inform that I have no OS installed?? Any ideas?
[Nexus 6  Original Android Development] BootloopedMillennials:
This method worked for me as well. :good:
[Nexus 6  Original Android Development] githyanki:
Probably need to add that to OP. You cannot be encrypted. Need to format (not wipe) user data partition in TWRP. You will lose everything there, so backup to PC or usb flash drive.
[Nexus 6  Original Android Development] everdium:
TWRP 3.2.1-0

data was formatted and encrypted with Lineage 14, upgraded to 15 and now 16.

Flashed LineageOS 16.0 + MindTheGapps + Magisk 18.1

After reboot: message from OS: your password is correct but the data is corrupted, factory reset is needed

Tried to reboot to TWRP: password not correct

Rebooted to OS and did factory reset: same message (password correct but data corrupted).

I have an offline backup on a PC with LineageOS 15 + data.

Wiping data does not help (same problem after reboot), I guess I have to format it.

Ideas ?
[Nexus 6  Original Android Development] wrsg:
sideload
[Nexus 6  Original Android Development] everdium:
So format data and then sideload LineageOS 15 or 16 ?

OP says that data can not be decrypted by TWRP if encrypted by LOS 16.
[Nexus 6  Original Android Development] rivernov:
Same here
[Nexus 6  Original Android Development] everdium:
I formatted data, rebooted and now in the LineageOS 16 initial setup.

If that works, the only problem is how to restore the data partition from the LOS 15 backup.
[Nexus 6  Original Android Development] L.F.B.:
Well, the good old stability and smoothness of LOS!

All pretty fine here! Franco Kernel working fine!

Please dev. Any root solution to remove brighness slider from quick settings?
[Nexus 6  Original Android Development] everdium:
It worked. After a reboot, its now reinstalling all my apps.

There is still the matter of restoring the LOS 15 backup but I have all my data in the cloud. Maybe its better not to restore the backup and see whatever settings need to be reapplied manually.

But now my data is encrypted by LineageOS 16 and the OP says that TWRP can not decrypt it.
[Nexus 6  Original Android Development] wrsg:
Did you try doing that, in spite of TWRP not being able to decrypt it? What error did you get?

edit: I guess it's too late for you to try this, I didn't read your latest reply until after typing that.

---------- Post added at 04:07 PM ---------- Previous post was at 04:05 PM ----------

I had the same issue, I solved it by using an option from inside the Android settings, I think it was reset phone or something like that.
[Nexus 6  Original Android Development] BootloopedMillennials:
Umm, is Franco Kernel even being updated for the Shamu anymore? It doesn't seem so, not sure why you are even flashing it. It'll be behind on performance and security updates.
[Nexus 6  Original Android Development] everdium:
So after the problems with mounting data, I formatted it with TWRP. Rebooted, finished the LOS 16 setup and all my apps where reinstalled.

Everything seems to work and guess what, I rebooted into TWRP and it is able to read everything on data. The strange thing is, it doesn't ask for the PIN.

Maybe its not encrypted ? I thought LineageOS 16 would encrypt it on install. How can I check ?
[Nexus 6  Original Android Development] Elektroschmock:
LineageOS 16.0 does not force the encryption of your data. If you need a bit of security you can encrypt your data from within settings.

I wonder why some of you have problems with upgrading. I tried several combinations. Perhaps because TWRPs format is also broken and you didn't use the fastboot format command.
[Nexus 6  Original Android Development] mahashakti89:
As I said I went from inside TWRP to Advanced Frormat and formatted data also.

Bootloader version moto-apq8084-72.04 (sha-b11eacf, 2017_7_13)

Regards
[Nexus 6  Original Android Development] Najeeb3344:
I'm wondering that, I update the rom with updater app with encryption but I can't flash custom zips on twrp
[Nexus 6  Original Android Development] p-hil:
LOS 16 encryption issues:

Data from encrypted LOS 15.1 is corrupted when attempting LOS 16 upgrade

Wiping /system, /cache, /data, and /data/media in TWRP 3.2.3 will remove encryption and allow LOS 16 install and boot

After LOS 16 comes up, data can be re-encrypted in settings

TWRP does not recognize LOS 15.1 / LOS 16 encryption password, so will not decrypt (so nightly/weekly updates won't work anymore)

I appreciate all your work over the years npjohnson and Electroschmock. This device has had great support and you've really extended it's life beyond the norm. Hoping for a TWRP release that will remedy all of this, but until then, I guess sideloading updates will have to suffice.
[Nexus 6  Original Android Development] githyanki:
You keep listing the steps wrong, that's why we keep telling you that you didn't do it right.

The steps for formatting data are:

Wipe

Format data

Type "yes"

There is no selecting partitions. That is advanced wipe which is different than formatting data.

If you did it right and are still having issues, sorry, I cannot help you. For me it worked correctly and I did not have to dig deeper.
[Nexus 6  Original Android Development] mrdeadlock:
I'm able to get 4G data on verizon but am not able to make phone calls/SMS/MMS. Has anyone else been able to get this working?
[Nexus 6  Original Android Development] Elektroschmock:
Did you verify that updating via included updater doesn't work anymore?
[Nexus 6  Original Android Development] Najeeb3344:
It works for me I update LineageOS 16 nightly today with updater I'm also encrypted:good:
[Nexus 6  Original Android Development] patking02:
Also wanted to chime in that I installed LOS 16 (the first available build, 03-01), encrypted my phone, and then today just used the LOS updater app to download the update and then clicked Install in the app to apply the update. My Nexus 6 rebooted to TWRP (3.2.3-0) and upgrade/update went fine. Am now on 03-05 daily build of LOS 16.

Thanks for everyone's hard work.
[Nexus 6  Original Android Development] Najeeb3344:
[MENTION=3383960]Elektroschmock[/MENTION] please fix wallpaper shortcut issue for trebuchet or give built in pixel launcher:)
[Nexus 6  Original Android Development] p-hil:
Oops, I apologize. The updater does in fact work in LOS 16 while encrypted. Thanks! :D
[Nexus 6  Original Android Development] Elektroschmock:
I will look into this, but it is low priority.

Adding Google Apps at compile time is a no go. We can't do that due to legal reasons.
[Nexus 6  Original Android Development] mezerr:
Can't you just download "Wallpapers" from the play store? Then when you click on wallpaper from launcher, it will open Google Wallpapers.
[Nexus 6  Original Android Development] Sanabil:
Getting encrypted ?? Is it worth it? Everyone keeps talking about it.
[Nexus 6  Original Android Development] McMannes:
is there any solution for this issue
[Nexus 6  Original Android Development] mahashakti89:
Thanks for the lesson. I did exactly as you said. Won't work. When I have time I will do a factory reset.

Regards
[Nexus 6  Original Android Development] Elektroschmock:
You've been around for a while now...you should know how to give a proper bug report.

I really can't guess what is working for you and what is not working for you.

Perhaps you can try to explain a bit what you are doing, and what you are expecting.

As I don't have any NFC tag lying around right now I tested Android Beam which depends on NFC. It's working flawlessly.

Did you change your battery lately?
[Nexus 6  Original Android Development] Elektroschmock:
Upgrading 15.1 => 16.0 encryption

I read that some of you had problems upgrading your encrypted devices from 15.1 to 16.0.

I just formated my device with:

fastboot format userdata

fastboot format:ext4 system

And installed LineagOS 15.1. After setting up the device I encrypted it via settings.

After that I rebooted to recovery and sideloaded 16.0...booted and decrypted without problems.

So now my question to you:

When was your data partition encrypted? For example if you never did a format before it was encrypted by the stock ROM.
[Nexus 6  Original Android Development] SteveYoungs:
"core only" mode fixed it for me on 16. Thanks very much for the info and tips.
[Nexus 6  Original Android Development] dwardo:
I don't remember doing anything for encryption (stock was encrypted when i got the phone in december 2014) only wiped data (but not internal storage) when I installed CM for the first time. Then i eventually migrated to Lineage with the specific migration build at the time.
[Nexus 6  Original Android Development] duttyend:
Dear [MENTION=3383960]Elektroschmock[/MENTION],

First of all, thank you so much for the wonderful gift that is official LineageOS 16 for our shamu :good::cool: !!!

As others, I was so happy to dirty flash the new version when the firt nightly was published...just to hit a wall because of the dreaded error message when decrypting (saying the password is OK but it is unable to decrypt data).

To answer your question, I formatted my device since day 1 and have been using CyanogenMod 12 and later versions, but I clean-flashed between versions until 14.1, so this version encrypted my data and the decryption worked fine when dirty-flashing 15 and 15.1...

Thanks again and have a great day!
[Nexus 6  Original Android Development] thetallguy:
Hi.

I haven't tried an upgrade yet, and I may not due to the unavailability of VoLTE. However, as a data point, I definitely did not format userdata in 15.0 or 15.1 as I wanted to avoid the TWRP incompatibility. I can't be 100% sure, but checking the dates of the oldest photos on my phone, I see that they were from when I originally bought the N6. So format and encryption could be from stock Android 7 or 6.
[Nexus 6  Original Android Development] McMannes:
After updating 05/03 nfc issue was resolved. Next time i will use giving bug report. Thanks for your kind work.
[Nexus 6  Original Android Development] p-hil:
Phone initially had stock android installed.

When installing CM13, wiped all phone partitions at that time using TWRP. Then encrypted CM13 in settings

LOS14.1 installed just fine using same encryption.

LOS15.1 installed just fine using same encryption, but a TWRP update was needed to boot into recovery and decrypt the data partition.

LOS16 installed, but data was corrupt. Had to wipe all partitions, install LOS16 again, and encrypt in settings. LOS16 will now install updates from inside the ROM, but TWRP can't decrypt data when booting directly into recovery.
[Nexus 6  Original Android Development] quizzina:
Can someone tell me what does "TWRP can't decrypt data when booting directly into recovery" means?

I installed LOS 16 from LOS 15.1 (encrypted) and I solved the password problems by formatting and wipying partitions as may of you already said.

Now my phone is unencrypted.

Apart the unencrypted phone (it is not my daily driver), the initial sentence I posted, what effects has?
[Nexus 6  Original Android Development] pinakini:
I have noticed, of all the google phones listed in LOS downloads page - only Nexus 6 has LOS 16.0.

Bravo! Great work Elektroschmock. Your love for N6 helped and delighted us all enormously.
[Nexus 6  Original Android Development] Dhalsim43:
It doesn't work
[Nexus 6  Original Android Development] OrbitronX:
Greetings everyone.

Sorry for double posting, but, I think this is relevant here too.

I've been having problems with the camera sometimes failing to initialize properly on boot and after toying with the device tree and rr's source for a bit, it seems to be a problem with when los based roms load mm-qcamera-daemon and cameraserver?

I seriously lack the skills to fix that rom side, so I created a magisk module that basically restarts them on every boot.
[Nexus 6  Original Android Development] 350zfern:
I have been having three problems. Did a clean flash, with full system/os wipe.

1) com.Phone.android has stopped working.

2) Sim Card isn't detected

3) Phone shutdowns gracefully, i.e as if someone executed a command. Then reboots to recovery.
[Nexus 6  Original Android Development] dwardo:
Just noticed usb otg doesn't work for me (works with 16.0 on a OnePlus One though) maybe its my phone (hardware issue) if others don't have a problem.
[Nexus 6  Original Android Development] Lawstorant:
OTG works on my N6 (running 03.03.2019 build)
[Nexus 6  Original Android Development] 350zfern:
Alright figured out the random reboot on lineage OS. If you have a sim pin, OS will reboot every few minutes.
[Nexus 6  Original Android Development] githyanki:
Grab a log and the dev may be able to look into it now that you know the cause.
[Nexus 6  Original Android Development] 350zfern:
Ah too late. I wiped and went back to 15.1
[Nexus 6  Original Android Development] pinakini:
With another super clean flash .. the snap camera has returned.. I still feel brightness levels are low. I do not know it is particular to my device.
[Nexus 6  Original Android Development] Elektroschmock:
Do you mean you can only achieve 35 % of the brightness you got on 15.1, or do you mean the levels per slider setting are just different?

If it's the latter - it's on purpose.
[Nexus 6  Original Android Development] pinakini:
My fear was battery drain. I did not notice any display brightness difference at the maximum.. I had to glide the slider more to get my usual level of brightness. I just wanted to bring this to your notice. You are our Guru and you are final.
[Nexus 6  Original Android Development] fupluver:
I do not have a sim pin set up but still had the shut-down/reboot into twrp issue. I also had a lot of sim card missing errors and my phone app kept crashing. I'm running a Verizon Nexus 6 and installed clean.

Thanks for everyone's hard work on this project.
[Nexus 6  Original Android Development] wrsg:
Anyone else having camera issues with the last couple of 16.0 builds? (6th and 7th March)

Its force-closing itself. I'm using the Google Camera 4.2 version (the one that still works on ARM cpus)..
[Nexus 6  Original Android Development] Lawstorant:
So brightness slider is now exponential as to be perceived more linear by our eyes?
[Nexus 6  Original Android Development] cillin89:
Would anybody be so kind the upload the original Live Wallpaper Picker (com.android.wallpaper.livepicker) apk?

I accidentally deleted mine and apkmirror doesn't have the latest 9.0 version.

Thanks!
[Nexus 6  Original Android Development] Fred Simm:
Ok, dumb question. How do you side load files? Never done it.
[Nexus 6  Original Android Development] dbrickg:
to paraphrase magnamentis: "ever hear of google?"
[Nexus 6  Original Android Development] pr0ndigy:
FALSE!

I don't have a SIM pin, and i experience reboots into TWRP.
[Nexus 6  Original Android Development] Elektroschmock:
Is it a Verizon SIM?
[Nexus 6  Original Android Development] Sanabil:
Pixel launcher crashes or is it fixed in latest update?
[Nexus 6  Original Android Development] wrsg:
Someone please test the Google Camera (4.2 ARM version) and tell me I'm not the only person getting a FC on startup.
[Nexus 6  Original Android Development] githyanki:
4.2.035 works fine for me.

Restart should clear the issue for you.
[Nexus 6  Original Android Development] Elektroschmock:
I don't know. I didn't look into it as I am busy AF and it doesn't seem to be a high priority issue.

Is the camera we ship working? Is G-Cam working after a reboot?
[Nexus 6  Original Android Development] wrsg:
Thanks, rebooting did fix it. Both are working.
[Nexus 6  Original Android Development] keselekupil:
how can I find option from blocked numbers menu ? (block numbers not in contact, private, payphone & unknown calls )
[Nexus 6  Original Android Development] Muggins:
I use Signal as my text message app, and blocking is in there, and I assume it carries over to voice calls.

I cannot find where the Android monthly security patch date is displayed.
[Nexus 6  Original Android Development] Dhalsim43:
To see the security patch level :

About phone ==> click on Android version