yashsingh1/xdaforums huggingface dataset:
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] shrmp:
Downgrade through fastboot: https://xdaforums.com/moto-g5s/how-to/tutorialdowngrade8-1-07-1-1use-nougat-t3862780

Then, wipe and reinstall the ROM
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
Ah alright thank you I was freaking out for a moment lol
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] RCkiller:
Hello, I have glued my second SIM to my SD card, so as to have both an SD and dual SIM. It works flawlessly with the stock Nougat ROM. I have decided to flash Lineage, since Lenovo has not released Oreo in my channel. Does this ROM support it, or am I going to have issues?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] AsD Monio:
Try it, I think it should work as both dual sim and SD card work separately.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
It says SD card is corrupt but stock Oreo and TWRP can access it fine
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] AsD Monio:
Can you take a logcat? It works for everyone else, we can't reproduce this bug. Also, have you tried removing and re-inserting the SD card?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
Battery life is good and works well with OpenGApps Nano, Magisk. To pass SafetyNet flash SafetyPatch on Magisk. However you can't get lowest brightness without enabling adaptive brightness.

When I get home I'll try using adb.

Edit: O.o

http://i.imgur.com/c9D9eGc.jpg
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] urundunus:
How can i install magisk?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
Flash ZIP file in TWRP.

SafetyNet basicIntegrity fails (as expected) and apparently Magisk Hide doesn't work properly
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] THE USER:
i would like to use this rom as my daily driver.

is it stable enough?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
It is stable enough for me, install https://xdaforums.com/apps/magisk/universal-safetynet-fix-magisk-17-t3840680 for SafetyNet and you'll pass SafetyNet. Battery life is better than stock.

Any news on January Patch [MENTION=7376763]GoldeneyeS2[/MENTION]?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] THE USER:
Does this rom have moto actions? As i prefer using the fingerprint sensor instead of an on-screen nav bar.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
Yes.

I've included Logcat

SD card number begins with 7
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] THE USER:
while installing this rom, i got an error.

error code 255

can anyone help me please?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] AsD Monio:
From the logcat:

01-17 20:43:20.551 427 430 I fsck.exfat: Totally 597 directories and 7135 files.
01-17 20:43:20.551 427 430 I fsck.exfat: File system checking finished. ERRORS FOUND: 2.
01-17 20:43:20.552 427 430 I fsck.exfat: fsck.exfat terminated by exit(1)
01-17 20:43:20.553 427 430 E vold : public:179_65 failed filesystem check

It seems like your SD card has some errors in the filesystem so Android doesn't want to use it. I have no idea why didn't it fix them itself. I would suggest checking for errors manually, preferably using a computer with a card reader. If you don't have one, you should be able to run fsck either from Android (as root, using either adb or a terminal app) or TWRP. I think the full command should be just:

fsck.exfat /dev/block/mmcblk1p1
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] THE USER:
can someone help me with this? im stuck in twrp
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] AsD Monio:
Do you get any other error codes in the log (Exxx) or any other messages? Did you verify the MD5? If you can't get it to work you should have a backup to restore or you can boot to bootloader and flash the stock ROM using fastboot.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] THE USER:
i can always go back to lineage os 14.1 by flashing that rom which i was using before.

the thing is, i want to use this rom and everytime i flash lineage 15.1 i get an error code : 255 and the flashing fails
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] AsD Monio:
As far as I know error 255 just means whatever operation was being performed failed, it can happen when flashing, creating a backup, even mounting a filesystem. It's just a general "something went wrong" error, usually the lines before it give more information on what exactly is happening. Can you send the log or take a screenshot? If there is nothing else besides the usual "target: [...]" and "patching system image" messages then I have no idea how to help you.

Also, which version of TWRP are you using?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] THE USER:
i am using sevenmaxs twrp and i have also attached the recovery log.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] AsD Monio:
E:Can't execute '/tmp/updater': Exec format error

That's the problem, the program used for installing the ROM can't be executed. I think TWRP is at fault here, maybe it's 32-bit. Can you try using this one? https://xdaforums.com/moto-g5s/development/twrp-squid-twrp-moto-g5s-t3700656
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] THE USER:
update : turns out that i was using a 32 bit recovery. (sevenmaxs twrp doesnt work, only the squid2 works)

thank you for your time.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] shrmp:
Any ETA on investigating this issue? Anyone else having the same problem? Is there anything I could do to help you having more info on this issue?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Yash1213:
I'm coming from stock(retin)-oreo, 1st October security patch. Do I need to downgrade/flash anything for the fingerprint to work? I got my device hard bricked the last time I flashed the twrp-downgrade file.

thanks in advance.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] shrmp:
It works without downgrading for some people. If that's not your case, you'll need to downgrade through fastboot (https://xdaforums.com/moto-g5s/how-to/tutorialdowngrade8-1-07-1-1use-nougat-t3862780), wipe and then install the ROM.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] AsD Monio:
https://github.com/opengapps/opengapps/issues/710

It seems to be a problem with OpenGApps, not LineageOS. According to the comments on GitHub and the forum post linked there the issue started with the 20190111 build of OpenGApps so I suggest you try the build from the day before.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
https://androidfilehost.com/?fid=11410963190603902956 (January 16th, OP listed January 13th build)

This build stable?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Sonnenstuhl:
Hey goldeneyeS2 and contributors,

thank you for the cool ROM. It is my first custom rom so it took quite some time to figure everything out (bootloader unlock, twrp flash and getting into recovery mode) - it was worth the time.

I did not expect to find moto actions(device gestures), what a nice surprise! You could add that under "what works" I suppose.

I do not use Google apps any longer so I cannot comment on the issues others have with OpenGApps.

Why don't you apply as official lineage ROM creator for G5S?

Hints for other newbies:

Did bootloader unlock with "Minimal ADB and Fastboot", works great. No need for big developer studio download.

After that don't freak out if the unlock warning before booting the phone shows "bad key", it will change to "N/A" after twrp is flashed correctly and there is no problem.

Used twrp from squid2 (version 3.2.3) for fastbooting method. After flashing twrp use the command "fastboot reboot recovery" so that you dont have to fumble with power/volume buttons to get into recovery mode.

Greetings
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] newinnov:
Hi, first- Thanks for this almost stable ROM. Finally we got amd64 . Everything looks good but front facing camera does not work with 13 Jan build.

Switching to front facing camera gives camera error. On both lineage and moto cam.

Update: A reboot afterwards fixes the error on both cam.

But on each reboot I get this error- Vendor Image mismatch. Any clue how I can fix that?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] shrmp:
I see, I'll flash a different OpenGApps build, thanks for heads up!
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
It's because of SafetyPatch. Not ROM makers fault.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] newinnov:
Yes, Though warning is harmless but if anybody wants to get rid of that, can flash the vendor package from nougat. (given in above posts)
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
Or try PetNoire's SafetyNet Spoofer. I'm using it right now. Full SafetyNet working. No warning either.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] GoldeneyeS2:
Update available!

January security:cowboy:
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
Dirty flashed over old build. Everything works fine!
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] GoldeneyeS2:
Today two updates:good:

January and enforcing :laugh:
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] shrmp:
NICE! Any risks on installing without wiping the previous version?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] shrmp:
Can you upload the ROM on another website? I'm having issues with AFH
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] GoldeneyeS2:
Custom kernel for los15.1 arm64:

https://xdaforums.com/moto-g5s/development/kernel-t3884951
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
Dirty flashed, all working well!
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] AsD Monio:
Here you go: http://www.mediafire.com/file/pa2y4et1e184lbz/lineage-15.1-20190121-UNOFFICIAL-montana.zip/file
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] drgonzo1881:
Is it possible to flash only the modem.bin from the stock rom with fastboot, while already running LOS 15.1

because i came from nougat and got an older baseband. But I don't want to risk to brick my device, also it is running fine but maybe Lenovo made some useful updates to baseband, which I also don't know...
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] shrmp:
Thank you! BTW, sorry for the ignorance if this was already explained, but why does this ROM have 2 camera apps?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] xdanielmonster:
Whats about Project Treble and Android Pie?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] AsD Monio:
When fixing the camera we had a bug where only one photo could be taken. I read on the Moto G5 (cedric) forum that it had the same bug but it didn't happen when using the camera app from stock so we added it to the ROM. Then we got the bug fixed by disabling HAL3/camera2 API. The app stayed and we forgot about it.

Unfortunately there won't be more updates for now as I deleted the source code to make space for LineageOS 16. If you don't want it, you can delete the apk from /system/vendor/app.

I think Treble may be possible using the /oem partition like on the Moto G5 Plus (potter) but for now the priority is Pie, starting with LineageOS 16.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] bhatianirudh2910:
PIE Thats great
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
[deleted]
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] shrmp:
I see. Also, good luck on bringing Pie to Moto G5S (and maybe even Treble), I'll cross my fingers
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Vando9ts:
good luck, come with Android 9.0
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Rakesh Mahto:
I found two bug :

1) Old version of Moto Camera installed no option for front Flash light in Camera ? option

2) Sometime it failed to Make & Received call issue get in Jio sim (During my friends call me they hear the ring sounds but my phone not ring even not show anything even i make call call failed after restart the phone again work good).

However Rom Is Best Rom Among All other Unofficial Rom I tried ?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] shrmp:
No front flash is a global issue on any Oreo/Pie ROM. About the Moto Camera:
[Samsung Galaxy S8+ Questions & Answers] josegon30:
Hi all, thanks in advance for reading me.

I have this model:

S8+ (SM-G955FD) with the last firmware from sammobile G955FXXU4CRJ5

When I flashed that firmware with ODIN I wanted to root, so this is what I did:

After doing that, everything seems to be OK... I can re-config my phone and Magisk Manager is installed. But when I went to Developer options I can't see "OEM unlock" activated. So, when I rebooted I got the "only official released binaries are allowed to be flashed" error.

I made the procedure several times. Is that related to the "October security patch update"? I think the error is due to a failure in RMM state bypass flashing, although the flashing procedure says "OK. Done".

Anyone have the same issue? do you guys know how to fix it?
[Samsung Galaxy S8+ Questions & Answers] spawnlives:
More than likely RMM state zip didn't work are you using the version 2 zip and did you allow modifications in twrp before flashing zip files.
[Samsung Galaxy S8+ Questions & Answers] josegon30:
[MENTION=8893719]spawnlives[/MENTION]; thanks for your repply, I guess that was part of the solution. What I did was to flash a custom kernel plus RMM state bypass v2. I read a custom kernel could fix my problem.

Now I have my phone rooted and with OEM unlock enlabed.
[Samsung Galaxy S8+ Questions & Answers] Johnny™:
what kernel did you use? i have the same issue. i cant reboot on unlocking as i get the dreaded only official binary....
[Samsung Galaxy S8+ Questions & Answers] josegon30:
I used Velocity Kernel.

Just follow the steps: 1. flash twrp; 2. factory reset and reboot recovery; 3. flask kernel; 4. flash magisk; 5. flash no verify; 6. flash rmm bypass (v2, not v1).
[Samsung Galaxy S8+ Questions & Answers] Johnny™:
thanks im really struggling, im on the 11th try, every time is just gives me only official bineries.... :(, ive tried several methods, all root nicely but wont reboot.

---------- Post added at 03:37 PM ---------- Previous post was at 03:34 PM ----------

i cant find the v2 its coming up as 4k where v1 is 100k?
[Samsung Galaxy S8+ Questions & Answers] Johnny™:
let me buy you a beer! got it working thanks, the V2 did the trick. I used your kernel as well just in case. no more nasty red message!
[Samsung Galaxy S8+ Questions & Answers] josegon30:
:good: I´m glad it worked.
[Samsung Galaxy S8+ Questions & Answers] nasko7:
Okay, that's great and all but I can't even do the first step because every time I'm in Download mode and try to flash TWRP with Odin, it says "Only official released binaries are allowed to be flashed (RECOVERY). I have triggered Knox security but I can't undo it now, so I can fix the RMM state with the bypasser because I can't even flash TWRP. It was suggested to change the date to another one, prior to the security patches, but that didn't work. Sad times...
[Samsung Galaxy S8+ Questions & Answers] spawnlives:
Depending on .android version, you will need to have the following coditions to be able to flash non signed samsung firmware eg: twrp,root, custom roms etc.

In system - OEM unlocked

Download mode -

RMM status - normal ( or disappeared )

KG status - checking

Otherwise you will get errors
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] russel5:
AospExtended ROM for XZ1 Compact

XDA:DevDB Information

AEX, ROM for the Sony Xperia XZ1 Compact

Contributors

russel5, jerpelea, ishubhamsingh, Sony's AOSP teams

Source Code: https://github.com/russel5/aex_device_sony_lilac

ROM OS Version: 8.x Oreo

ROM Kernel: Linux 4.x

ROM Firmware Required: oreo

Based On: AOSP

Version Information

Status: Beta

Current Beta Version: 1

Beta Release Date: 2018-10-27

Created 2018-10-28

Last Updated 2018-10-28
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] russel5:
AospExtended ROM for XZ1 Compact

View attachment 4629057

/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

IMPORTANT: Make sure you have an unlock Bootloader

Please if you have Locked Bootloader you may check this http://developer.sonymobile.com/unlockbootloader/

WORKING
- RIL
- Mic
- Sound (Speaker and Headset)
- LED
- Thermal Manager
- Audio and Video Decoders/Encoders
- Camera (WIP)
- Gcam Mod

BUGS
- Not finding
- Post in this thread

HOW-TO INSTALL
- Download ROM zip
- Download Gapps zip
- Download OEM files
- Flash ROM, flash Gapps in custom recovery
- TURN OFF YOUR PHONE
- Flash OEM files
[B]fastboot flash oem name_of_oem.img[/B]
- Turn on your phone

[B]DOWNLOAD
[URL="https://drive.google.com/folderview?id=1l6mavZTr-XcXI0lmKyUDOJhZTET9FqLo"]HERE[/URL][/B]

XDA:DevDB Information

AEX ROM for the Sony Xperia XZ1 Compact

Contributors

russel5, jerpelea, ishubhamsingh, Sony's AOSP teams

Source Code: https://github.com/russel5/aex_device_sony_lilac

ROM OS Version: 8.x Oreo

ROM Kernel: Linux 4.x

ROM Firmware Required: oreo

Based On: AOSP

Version Information

Status: Beta

Current Beta Version: 4

Beta Release Date: 2019-04-07

Created 2018-10-28

Last Updated 2019-04-07
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] russel5:
FAQ.

Q: My phone not bootup (bootloop) after flashing this ROM.

A: This is because i'm disabled force encryption. Just use format data in custom recovery to solve this issue.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] russel5:
Changelog.

v1

- initial release

v2

- added RGBC-IR sensor

- minor fixes

v3 (28.11.18)

- security patch updated

- minor fixes in source code

v4

- official TOF sensor calibration

- OEM v17

- decryption is enabled
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] danish0175:
Your the best, thank you for the rom
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Kofoedsan:
Not sure if this is common with non stock ROM, but trying to encrypt the phone from the OS fails and results in a lock out. At least for me.

Is there any way to re-enable encryption?

No bugs encountered after roughly 3 hours of use.

Thanks in advance.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] scamix:
First of all, thanks for this great work.

Secondly, do VoiceMatch work?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] antoni_archibald:
Thank you for continuous contribution to XZ1c!

I would like to further clarify some points as follows:

1. Am I able to use camera button like with stock firmware?

2. How is the camera quality as compared to stock firmware?

3. Does always-on Google assistant work?

Again, thank you and wish you have a nice day!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] russel5:
1. camera button works

2. I'm using gcam mod and photo quality looks normal.

3. Not using, don't know
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Kofoedsan:
Think I found a minor bug, the location icon in the status bar sometimes fail to disappear. Indicating it is permanently in use. Turning location on/off does not remove it, nor does aeroplane mode.

Only a full reboot seems to correctly remove the icon.

The toggle to turn location on/off works fine, just the status bar icon dosn'te go away.

EDIT:

Beta version 2 seems to have fixed this, at least it seems to be working correctly after updating.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] russel5:
Rom updated, see post #3
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] tanapoom1234:
Thanks for the rom! Is it necessary to flash sony aosp binaries?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] dt743:
I guess aex needs ,too

my phone can't boot without sony aosp binaries.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Luke333:
What kinde of gcam mod do you use with aex?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] russel5:
Some of this

I'm using by Tolyan009
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] 比利海灵顿:
wifi can not open...
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] supershinigami:
Thanks for the rom, but i have little issue. My device won't boot. Isn't BootLoop, just blocked on boot image. How to fix? Thanks
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] gregbradley:
Non English posts removed

Greg
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] dt743:
wifi can't open?

I had similar issue at first,but i flash aosp rom and flash aex once again,wifi works!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Ian_Go:
where to download OEM?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] tolya-666:
https://developer.sony.com/file/dow...aosp-oreo-android-8-1-kernel-4-4-yoshino-v15/
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] danish0175:
[MENTION=4688377]russel5[/MENTION] I wanna make a request ,I will happy if accepted, your ROMs have gcam mod enabled and HDR+ works , I've read alot about it, and found that raw image support is necessary for it to work which has to do with the kernel or something I don't really know, if its the kernel can you make a flashable kernel that has the raw image support so that we can use on other ROMs like Lineage Os 15.1, thank you very much for your time .
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] russel5:
Nope, lineage used stock libs from Sony that's not support raw and api v2
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] danish0175:
Okay
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] hohosanta:
Is that just me? I can not find download link. ?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] tonsofquestions:
What are the instructions to install this ROM? I feel like I've tried all the usual culprits, but no success.

I wipe the various partitions and install the zip from TWRP ... stuck at Sony logo/boot screen.

I reformat data (to get rid of the encryption?) and do the above .. stuck at Sony logo.

I try flashing the OEM img (linked on the previous page, I'm assuming as vendor) ... stuck at Sony logo.

I've tried other combinations of the above, rebooting recovery after the data wipe, etc, all to no avail.

I must be missing something small, but I can't figure it out for the life of me. Any help would be appreciated.

Thanks!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] danish0175:
After flashing the rom ,format data in recovery that's all

[MENTION=4688377]russel5[/MENTION] where is the download link please?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] tonsofquestions:
Honestly, if you can't find the link to the download (hint: there's a downloads tab), then you haven't installed it, and aren't really qualified to say.

The instructions in the first post also specifically talk about flashing OEM (though not formatting data).

Poking around in TWRP again just now, I realized that there's a difference between the OEM and vendor partitions, and flashing that properly (from fastboot, unlike vendor which could happen in recovery), allowed me to boot. User error. :(

Unrelated: when I boot it to the AEX rom, I get the message: "Android System: There's an internal problem with your device. Contact your manufacturer for details", but none of the other ROMs I've tried display this. Is there any way to figure out what error the phone thinks it's having, and fix it? I have trouble believing there's actually a hardware problem.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] russel5:
Delete
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] russel5:
This is because you flash old oem files, you need v16

2All

I'm added download link. Firmware, oem and gapps.

Sorry once again guys.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] tonsofquestions:
Ahh, yes. That did it. I swear when I checked 15 was the last version.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] arslancn:
is there any chance for XZ1(G8341)?

Thanks.