yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] froggydifrog:
May someone help me with fastboot?

It seems the drivers are not installed, despite I tried it multiple times and ways. Flashmode works and will be recognized, thus I could flash Adroid Q and unlock my bootloader with flashtool by androxyde.

I could back up my TA partion with the exploid via adb as well.

At last I bravely tried this tool https://androidmtk.com/download-best-android-adb-driver.

I guess there is something misconfigured or inverted. I can't explain myself.

I hope someone has an Idea what to remove and install again to solve the problem.

My plan B is to set up a new Win10 machine or try with Linux instead. Really annoing after 6 hours of try and error now. So close before the goal.

-----------------------------------------------------------------

I choose plan B.

Installation with

sudo apt-get install fastboot

on xubuntu worked flawlessly: https://wiki.ubuntuusers.de/fastboot/

I would go this way again. No neet for me to install additional drivers on linux for this. Flashtool (without working fastboot) I keep using on Windows.

For just flashing first recovery you also could use live Linux disto if you only have Windows.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] lba810701:
I'm alllways get the actual newest boot.img from the choosed los.zip and patched it with magisk. Then sideloading the choosed los.zip, and after that flashing the newest patched boot.img. I'm nevet got any problem with that. i think the uploaded boot.img only good for the first reales, the newest los got newer binaries and newer monthly security patch and newer boot.img...
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] JimmyTheFirst:
I never sideload anything. I always use included recovery to flash gapps and Magisk. Never had any Problems.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] zynexiz:
That's usually how I done it in the past to prior to Android 10, but this time it didn't work.

---------- Post added at 01:30 PM ---------- Previous post was at 01:28 PM ----------

I think it is, didn't boot when flashed it clean either, had so flash the entirer zip to get it to boot again. I looked inside the zip-file, but didn't find any boot.img as I'm used to. Just found the payload.bin and some smaller files. There did you find the correct boot.img for XZ2 Compact?

---------- Post added at 01:35 PM ---------- Previous post was at 01:30 PM ----------

I had tons of problems with fastboot to, took a lot of tries until I finally mange to flash the boot.img with Los recovery. My problem is that it's just in fastboot mode for a sec or two, before rebooting again. ADB and flash mode works without issue for me.

It might be related to the fastboot bug mentioned somewhere (think it was in the XZ2 forum).
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Raphos:
Hi,

The first time I've installed Magisk it was just after flashing the rom (no first boot). Magisk Manager told me that Magisk wasn't installed.

I went back into LOS recovery and flashed Magisk again and this time it works.

Have anybody trouble with screen rotation ? It doesn't work for me...
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] shajk-00:
rotation didn't work for me until I did a clean flash with the latest official firmware from xperifirm and then installed the lineage os back, so try that, it might work
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] zynexiz:
Just some info if others run into same problem. I spent all day fingering out how to get Magisk to work, and hade huge problem installing stuff from fastboot. I used the last NCB version (52.1.A.2.1) and it refused to take any commands, complaining that device didn't support A/B slots, connection errors etc. Found that DE version was on 52.1.A.3.49, flashed it with FlashTools and..... fastboot works! Flashed the Magisk patched boot.img without any issue now, and everything is working.

I guess there is a huge bug in fastboot prior to 52.1.A.3.49, I had lot of problem rooting it from the start earlier this year to. But the last Sony firmware seems (!?) to have fixed it. Hope this maybe will help someone else having issues with this. I uploaded the Magisk patched boot.img to my server if anyone needs it - https://zoik.se/index.php/s/ag7konASagoYRDR. Just flash it from fastboot with fastboot flash boot magisk_patched.img.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Raphos:
Hi,

It works, thanks !
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] froggydifrog:
I am not sure if you may run into the same "problem" as me after patching boot.img via fastboot. I thougt at first I was stuck on sony logo as well because on my previous device i had to keep tapping the volumen button on bootup to enter recovery. On this device i had to press and hold both power and volDown until recovery appears.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] lba810701:
Hi!

I would like to known about yours LTE network data connection speed in LOS. Mine is extremely slow. I have to open web pages when I have to wait 10-20 seconds, but if it starts, it goes properly until I navigate to another page then I can wait a long second again while it wake up to my internet mobile network. Apn settings, seems good.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] zynexiz:
That's not the same problem that I had, this had to do with a bug is bootloader. This is solved as I mentioned couple of post before yours.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] brod56:
It's completely fine for me. I flashed the latest stock via flashtool and then flashed los with Martin's twrp.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Raphos:
Hi,

No such issues for me.

I reach 141mbps/s in 4G.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Markoz88:
I don't find recorded calls... where can I find them?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Raphos:
Hi,

Down to the left ?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Raphos:
Hi,

Internal storage /Music/Call Recordings
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] zynexiz:
Can recommend ACR otherwise, used it for many years myself. Works very well. Don't use the one in the play store thou, it's not allowed to access who's calling due to some Google policy restriction. There's a version called ACR Unchained that works.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Olivier:
The first official build is up, please check the OP.

NOTE: Since the official builds are signed, you shouldn't upgrade from my unofficial builds -- you can either migrate to an official build using a script or do a clean install.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] hostme:
thanks for your great work!when xz2 build
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] shamllakh:
Bug report: Proximity Sensor with Phone app
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] robert12345678:
Thanks so much for this, no problems so far. Only same mic problem with original software, voice volume is very bad nobody can understand me, only with loud speaker options its fine. Also Windows 10 did not like fastboot devices, had to install with linux.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] brod56:
No problems so far. Everything working smoothly.

Waiting for the stock camera addon to work again :)
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] shajk-00:
perform a clean flash with newflasher to the latest build before flashing lineage os

PD: for me no problem so far with the latest official build, everything works perfectly, battery is ok, ui is buttery smooth. Thanks for your work, very appreciated.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] robert12345678:
For the first time, thanks to this custom rom, i could finally calibrate my compass sensor =)

With stock android it would always fail.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Coirpre:
RAW Support

Hi everyone!

Could someone please use Camera2 API Probe to check if this has Level3 and RAW support? I'd be very grateful, I don't know if the blobs and kernel used here support it...

Thanks!
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] robert12345678:
No level 3 and no raw capture for me.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Markoz88:
WhatsApp camera works!

Edit: forget it, Los camera works too, but only if you save pictures in the internal storage. I set as card, so Los camera didn't work.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Coirpre:
A pity... Thank you very much for checking!
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Pahalan:
Good day! There is also a problem with the proximity sensor, it only works if you completely close it with your finger, or press the phone hard to your ear. Before installing los, I updated the phone to the latest firmware 49.

Trebuchet launcher launch problem, the app crashed. Pixel launcher is working. Gaps mini installed.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] shamllakh:
Just wondering...

Is there any chance to have face unlock available for this rom?

Magisk module?

I searched for one which works with Q but had no luck
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Pahalan:
Can this really help fix the proximity sensor? I can't use the phone because of it and continue testing. Thank.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] shajk-00:
yes, mine is fine after the clean flash
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Pahalan:
A clean flash via newflasher did not solve the proximity sensor issue for me. This problem also exists on Sony's native firmware (52.1.a.3.49), probably this is not a linageos problem. Can it be calibrated through the engineering menu?

Trebuchet launcher is just as bad(
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] odiad:
When I change in stock camera from internal storage to SD card then the photos are stored on SD card in /Android/data/com.lineageos.snap/files. And when I want to open photo directly from camera app nothing happens. Is there a way to change storage to DCIM-folder on SD card? And improve that photos can be opened from camera app?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Sjll:
This should be a missing function of Snap, it doesn't support to store pictures to SD card because of no permission.

You could feedback the problem to LineageOS.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] brod56:
[MENTION=4329876]Olivier[/MENTION]: just posted a bug report on GitLab issues. The bot rejected due to the xz2c not being on the list yet.

Can you take a look at that?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Pahalan:
[MENTION=292537]oliver[/MENTION] Can the lineage os developers fix the proximity sensor for xz2c in the future? Or can it only be done by Sony developers?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] logan123456:
safety net

Will magisk hideprops in this rom
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Pahalan:
SafetyNet ctsProfile: false check fails. Magisk 20.4 LOS build latest
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] odiad:
Hello. Ist the problem, that the touchscreen sometimes doesn't react (need to press power button twice to switch off and on the screen and then touch is okay again) already reported?

I have this problem occasionally with version from 31.07. ,clean installed.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Lp26:
I had this very same issue with MartinX3 unofficial OmniROM (and I think AOSP too) builds, so maybe it's a kernel issue or something like that ?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] pumikachu:
I tried this yesterday on my OnePlusX and I also have this issue there, maybe this is a Lineage issue in general?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] robert12345678:
I need to update my firmware, has sombody tried this instead of newflasher? they say it will not delete custom rom, just update firmware

https://developer.sony.com/posts/flash-tool-updated-with-new-feature/
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] shajk-00:
with the official build I have issues with ota updating, it looks like it doesn't work properly and I have to flash manually. Somebody has the same issue?

EDIT: SOLVED
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
How? (Thanks.)

---------- Post added at 11:42 AM ---------- Previous post was at 10:58 AM ----------

Also, which is the latest unofficial build in which the stock Sony camera works? I tried the latest unofficial version on androidfiles (0724) but the camera gives an error.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] shajk-00:
just did a clean flash, and flashed latest recovery

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

it works in every build, you only have to set selinux to disabled or permissive
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
Thanks a lot
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Markoz88:
I'm on the latest unofficial build.

With the stock ROM I could charge my phone by computer USB port, now with Los I can't (with the same cable of course). Is there a way to charge like before (without root)?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Pahalan:
I still can't go through the SafetyNet check. Tried hiding Magisk and various solutions from forums but no result. Is there a problem with this ROM that doesn't allow validation not related to Magisk?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] pumikachu:
Do you get basic integrity? cts profile will always fail on a custom ROM (except there are some hacks in the ROM which Lineage does not provide).
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] robert12345678:
Review after 1 week with this rom:

Sony service dial does not work, not a problem

Camera app does not work, I use Open Camera for now, setlinux is to complicated for me

Loud speaker seems to be worse, less music quality and volume, thats just subjective from me

Aurora Store does its job very well

disable airplane mode requires SIM pin each time

no touch screen issues as with stock rom

no glove mode yet

OTA worked without problems

lineage recovery is ok, TWRP can do much more, but i prefer this stable recovery

Wifi call does not work

much less battery drain, conclusive its just a very nice rom

Thanks for your efforts!!
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] shajk-00:
cts profile won't fail if you re-set fingerprint scanner through props in terminal, there is a magisk module for this
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Pahalan:
Yes.

Only the cts profile does not pass, google pay and bank applications do not work.

On previous LOS versions, I've always used magisk for over 3 years.

This rom turned out to be very stable, I would like to use it fully. Thanks to the developers for this!
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] pumikachu:
Mhm.... for me my 2 banking apps work, Google Pay is not available for me anyways. Even Pokemon Go does not complain and I also do not get cts profile.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Pahalan:
I will try with modules.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] shajk-00:
install magiskhide props config and busyybox modules and then in terminal write:

su --> props--> 1 (edit device fingerprint)--> f (pick certified fingerprint)

For xz2c the only one available is the oreo version but it works anyways
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] pumikachu:
This is exactly one of these "hacks" I was talking about, as you spoof the fingerprint of the ROM and tell SafetyNet you are running a different (official) ROM ;)
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] logan123456:
i tried it but it didnt work

it didnt work
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] shajk-00:
you're probably doing something wrong
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Anti-root:
I am on Android 9, rooted but without Recovery. and debloated. Very pleased, my battery lasts 3 days.

Does anyone think that, apart from the thrill, I should not update to Lineage? Or, does anyone think I should, and why please.

NOTE: Newer fastboot releases dropped legacy A/B support, so it might attempt to flash to boot__a / boot__b rather than boot_a / boot_b if you try to flash boot. In this case, you must manually specify which slot to flash to based on what slot fastboot failed to flash to. For example, if fastboot fails to flash to boot__a, you must flash to boot_a.

So, how would one know if, instead of boot__a / boot__b, it flashed boot_a / boot_b? And then. how does one manually specify which slot to flash? Can one specify it in advance to make sure that both are flashed properly?

Last question: The command "Apply update" is in Recovery? Because I am on Android 9, rooted but without Recovery, and I cannot see it anywhere... and I do not remember my TWRP on my previous phone having such an option, but I may be wrong.

Thank you.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] ulogisk:
I've just installed los with lineage recovery, what is 'SemcCamera-xz2c-52.1.A.2.1.zip', what does it do specifically and can i just side load the zip with adb if i want to?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] old.splatterhand:
It's the camera from stock rom ported to Los rom.

But it only works, if you set your selinux state to "permissive".
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] ulogisk:
Do you think it's worth loading the stock cam, is the picture quality better?

If so after loading is it possible to reset selinux state to "enforced"?

Obviously my understanding of linux security is not advanced.

Thanks!
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] old.splatterhand:
I don't care for selinux state, but i'm used to this stock camera, thats all for me, to use it.

I have not compared picture quality.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
Yes, definitely better. It's also the only cam that works with full resolution and all the other perks. But it only works with the unofficial builds.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] bertus_f:
I use LineageOS 17.1 (official) since two weeks now. Before that, I used the SODP builds from Martin. The camera in that build was not good enough for me. So I tried the official LineageOS and disabled SELinux afterwards. Now I can use the Sony stock camera. As good as the original one. Also install the bokeh app and it is as complete as the stock version from Sony! OTA updates work good. Battery life is good. Sound is good. And I don’t want to use Google apps ( gapps). F-droid is my app store. You can find SELinuxModeChanger in this store to disable SELinux. Very easy. In the end I’m very glad with LineageOS!
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] tanty0:
Do you mean the Sony Stock Camera app? If so, where did you get it/install it? Why did you need to set SELinux to Permissive mode?

Which bokeh app is this one? From what I see in Google Play, the Sony Bokeh app is not compatible with this device.

I have installed LineageOS 17.1 in the xz2c dual and I'm quite happy too. I'm using the camera app that comes with LineageOS and it looks OK but I'm wondering if there is another better camera. I didn't need to set SELinux to Permissive mode, FWIW.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
The point was that if you set SELinux to Permissive you can use the stock Sony camera app (check the link in the OP). It's definitely better than open camera for this phone.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] tanty0:
Answering myself because, being new to the xda-developers forum, I get lost very easily.

So, OP means Original/Opening Post. In other words, the first post in this thread.

Checking there I couldn't yet make sense. Reading through the thread I got to understand that, indeed, we are talking about the stock Sony camera app which is the only add-on linked there (SemcCamera-xz2c-52.1.A.2.1.zip, at the moment). There are, actually, a bit further explanation about this zip and how to install it in the OP for the xz2: https://xdaforums.com/xperia-xz2/development/pre-official-lineage-17-1-xperia-xz2-t4089775

Answering myself, it is this one. Installing it can be done, for example, using another store, like the Aurora Store.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
Ditto.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] shalemaci:
Hi,

My phone is stuck on the Sony screen since 20 min about.

I unlocked the bootloader with success, so I moved to the next step and try to install Lineage.

I'm on Ubuntu, so in the platform-tools terminal I did :

adb sideload lineage-17.1-20200828-nightly-xz2c-signed.zip

adb: sideload connection failed: no devices/emulators found

adb: trying pre-KitKat sideload method...

adb: pre-KitKat sideload connection failed: no devices/emulators found

I didn't understand exactly what does it mean, so I have tried to temporarily booting with fastboot.

It worked, I was in the main menu with "Factory Reset" icon, etc. but I push the power button once again and it came back in black screen and Sony logo.

I have tried to reboot into recovery with down + power, but it is still stuck on the sony logo.

I have some basic knowledges but my skills are very limited when troubles happened :S

If someone could help me... thank you very much,

Edit: It worked finally!

I used "volume up + power" 10s to shutdown.

Then I have retried the sideload command. I didn't understand that I had to put the lineage zip file into the plateform tool file to work
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] tanty0:
In case this can be of help for somebody:

https://blog.andresgomez.org/2020/0...u-linux-1-5-downgrading-sonys-stock-firmware/
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Pahalan:
This Linage os ROM is really good, it gave a second life to my Sony. However, the problem with the proximity sensor remains, it works at too short a distance and is inconvenient. Dear developers, is it possible to calibrate the proximity sensor for a greater distance on this ROM? A previous release added the ability to configure sensors, can that help me?

https://review.lineageos.org/c/LineageOS/android_hardware_sony_DASH/+/283652/
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] tochom:
Is it better to install unofficial builds or official ones?

Enviado desde mi H8324 mediante Tapatalk
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
I don't think it makes much of a difference at this point. Official gets updates, now and in the future.

---------- Post added at 10:10 AM ---------- Previous post was at 10:09 AM ----------

Any experience with the 2020-09-18 build, anyone? (No changelog...)
[Asus ZenFone Max M1 Questions & Answers] tibzbit:
Hi, I just found out that Asus has released Android 10 beta for Zenfone Max M1 (X00PD). I would like to try it out but i haven't even unlocked bootloader on this device.

Is it possible to flash this like a normal update by placing it in storage? Can someone provide a step-by-step description please?

Before anyone comments, yes I have checked in other forums. I couldn't find anything on this, so posting a thread.

Any help will be greatly appreciated.. Thanks.
[Asus ZenFone Max M1 Questions & Answers] DelightReza:
Download ZIP from here https://dlcdnets.asus.com/pub/ASUS/ZenFone/ZB555KL/UL-ASUS_X00P-WW-AOSP-17.00.2003.23-user.zip

Put in Internal Storage (Outside Folders)

Reboot your system

You will get notification for Update

Click and Update

Warning: You Need to do factory reset because it's beta firmware so make backup before flashing
[Asus ZenFone Max M1 Questions & Answers] reao8890:
Hey, will this 'WW' SKU firmware work on 'TW' SKU?

Edit: Hey thanks raza231198, this worked! Might you have the Pie stock rom too?
[Asus ZenFone Max M1 Questions & Answers] DelightReza:
This is Pie Stock ROM https://dlcdnets.asus.com/pub/ASUS/ZenFone/ZB555KL/UL-ASUS_X00P-WW-16.00.1906.411-user.zip

I can't see any firmware for TW sku for our device, it probably using WW sku firmware?

You can download firmware from there https://www.asus.com/Phone/ZenFone-Max-M1/HelpDesk_BIOS/