yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact Original Android Development] Kocane:
I installed the ROM yesterday, it's pretty clean :-\

It's just the "official" one from tomascus. I dont think the one by mcgi5sr2 adressed anything but the WiFi kraks exploit
[Xperia Z3 Compact Original Android Development] arsradu:
No such issue here. Does it occur with no 3rd party apps installed? Did you format /system and /data before reinstalling the build?
[Xperia Z3 Compact Original Android Development] Kocane:
Yeah, I formatted the entire thing. I guess it doesn't matter all that much since I use Lux for autobrightness, and it pretty much overrules the built in brightness controller. Do you know if I could flash mcgi5sr2's build on top of the latest "official" one?
[Xperia Z3 Compact Original Android Development] arsradu:
You probably could. But I would not recommend it. If you don't wanna lose your data, the least thing you can do is format /system.

Still, I don't think your issue is ROM related. I have the same version, and no such issue. But sure, you can try.
[Xperia Z3 Compact Original Android Development] mcgi5sr2:
new build on my AFH with latest Android security patches. Same sources except for lineageOS so you can check their changelog, or gerrit.
[Xperia Z3 Compact Original Android Development] _Oleksandr:
Great job)

Installed a month ago. It`s great after 6.0.1.

Pros:

Fast, stable, battery lives longer, no need in reboot every week cause of rational usage of memory (used 1.3 of ROM from 1.7).

Cons:

-standart clock doesn`t work after installing gaps (not important);

-it would be great to have standart album program (also not very important);

-I can't speak in telegram messanger, I hear the voice but I can't reply, microphone does not work. Also no video call. Didn't try facebook or smth other, maybe same problem. If there was a possibility to be fixed, it would be great :);

-5g wifi isn`t working, there is no wifi in the list, but on 6.0.1 it was
[Xperia Z3 Compact Original Android Development] Kucharskov:
Could you tell me. I wanna "lineage-14.1-20171120_174159-UNOFFICIAL-z3c.zip" and latest your files. What i should use?

twrp_aries_2017-09-28.img or 3.4.311-boot.img? Or that's completely different files?

You should make own theard with instructions - how to install last mcgi5sr2 version :P
[Xperia Z3 Compact Original Android Development] marcogiannetta:
Nothing difficult: twrp is the recovery, while boot.img is the kernel
[Xperia Z3 Compact Original Android Development] tomascus:
Lol how does this work? You mean brightness isn't uniform throughout the whole screen?
[Xperia Z3 Compact Original Android Development] vooR9er:
Please tell me what this whole "carousel" why to install TWRP? The System includes a recovery.
[Xperia Z3 Compact Original Android Development] tomascus:
It's if you encounter any issues installing, then following the troubleshooting section.
[Xperia Z3 Compact Original Android Development] madvinegar:
Guys...some help please.

First of all the rom is fantastic. A big thank you to the devs.

I have two problems.

1. I cannot get the custom recovery to stay installed. I install it just fine via flashtool (tried both twrp and cwm), I can do the first boot to it just fine and install the firmware and gapps etc. and then I boot to LineageOs without any problem. BUT when I want to enter into the recovery again, it is not there! I can only go to the Lineage bootloader (through which ofcourse I cannot flash any zip). Why is that? What am I doing wrong?

2. I cannot root the phone. As soon as I flash from recovery the latest 2.79 supersu.zip and reboot, I get into a bootloop...

Any help will be very much appreciated.

Thanks !
[Xperia Z3 Compact Original Android Development] panzerox123:
1. Use fastboot to flash recovery and get into TWRP with power+ vol down

2. The Rom has an inbuilt root, you need to flash arm zip from download.lineageos.org/extras.
[Xperia Z3 Compact Original Android Development] madvinegar:
Thank you for your reply.

So, just to summarize.

1. I flash latest twrp (twrp-3.0.2-1-z3c) via flastool.

2. I enter into twrp recovery and I flash addonsu-arm-signed.

3. Immediately after flashing the addonsu, I flash then lineage firmware (I mean without rebooting or exiting twrp).

4. Then I flash gapps

Is that correct?
[Xperia Z3 Compact Original Android Development] shaarky:
I will post photo when I return back from work, however yes - it's not uniform, right side of the screen is darker then left side with aprox. 50% of brightness....and no, display is not damaged (at least I hope....let me doublecheck eg. inside TWRP how it behaves) ;)
[Xperia Z3 Compact Original Android Development] Xelux_usa:
Really nice rom!

Is there any previous version with bluetooth calls working?

Nice work, all working without any problem, camera, SD, wifi...

Thanks!
[Xperia Z3 Compact Original Android Development] Bluestar01:
For root you need to ceck in developer options (press 7 times on build number ) then developer options will be available and there you can activate root.
[Xperia Z3 Compact Original Android Development] madvinegar:
It only says "root for adb".
[Xperia Z3 Compact Original Android Development] tomascus:
https://download.lineageos.org/extras

Download and flash	addonsu-arm-signed.zip
[Xperia Z3 Compact Original Android Development] tomascus:
You make it sound like I broke it on purpose, no there's not :P
[Xperia Z3 Compact Original Android Development] Bluestar01:
I can choose -adb only or adb & apps
[Xperia Z3 Compact Original Android Development] madvinegar:
Should I lock the bootloader again?

I did everything right and still get root only for adb...

Also, I cannot get back to twrp... Only the lineage bootloader
[Xperia Z3 Compact Original Android Development] panzerox123:
Oh my god.

To access twrp, you need to press and hold power+vol down

Also, to get full root access, youll need to flash the this file https://mirrorbits.lineageos.org/su/addonsu-arm-signed.zip
[Xperia Z3 Compact Original Android Development] shrazy:
I had the same problem and solved it easily. Just take boot.img from lienageOS 14.1 zip and flash it via fastboot and then reboot. After that go again in fastboot and flash twrp 3.2.0.0. Now your device should boot into twrp but you have to install los 14.1 again so make sure to Backup from hand everything.

After youre in twrp flash los 14.1 + gapps and then the root file from panzerox in the post above

---------- Post added at 10:28 AM ---------- Previous post was at 10:23 AM ----------

Look in my post above for solution just flashing twrp will not work the los 14.1 Recovery will stay.

---------- Post added at 10:31 AM ---------- Previous post was at 10:28 AM ----------

No that is wrong. Just holding volume down after the led is blinking is enough. Also if people lost twrp and have instead los14.1 recovery, then flashing just twrp wont work the los Recovery will stay. Solution is above
[Xperia Z3 Compact Original Android Development] panzerox123:
Your fix is correct, but you can access TWRP using Power+Vol Down when youre on latest bootloader
[Xperia Z3 Compact Original Android Development] Xelux_usa:
The battery with this rom is just... perfect.

Right now, i have 74%, more than 1 hour of screen, with poor 3g signal (inside the office) more than 30 minutes of clash royale, brightness at maximun...

All activated, wifi (not conected but on), bluetooth, 3g data, gps maximum precision....

Really nice, i only need the bluetooth calls working for my car, nothing more.

Perfect rom.
[Xperia Z3 Compact Original Android Development] dhemker:
Just to figure out the procedure...

If I'm on the build from nailyk and downgrade to twrp 3.0.2 again, is it possible to flash latest build (maybe even dirtyflash)?

Best
[Xperia Z3 Compact Original Android Development] shrazy:
Which camera do you guys recommend for using along with this rom? I dont like the google camera much and miss the sony stock camera. Is there a port or can someone with needed skills port it?
[Xperia Z3 Compact Original Android Development] Kucharskov:
So...

fastboot flash boot boot.img

fastboot flash fotakernel twrp.img

Thats all?
[Xperia Z3 Compact Original Android Development] vooR9er:
As I understand it the Best option (my opinion) : Do you have a firmware .291 and has TWRP recovery, transfer ROM to sdcard, do a wipe ( cache,dalvik,data,system) flash (install) ROM (Gapps if you need them) and after flashing do a reboot.

P.S. I apologize for my English.
[Xperia Z3 Compact Original Android Development] marcogiannetta:
Rom already includes the kernel, but if you want you can flash that kernel via fastboot.

Same for TWRP, you can update it if you want, although is not needed.
[Xperia Z3 Compact Original Android Development] nailyk:
Just use OP instructions with [MENTION=4901061]mcgi5sr2[/MENTION] build :)

He his uploading it because [MENTION=4675360]tomascus[/MENTION] have no time but this is the same rom.
[Xperia Z3 Compact Original Android Development] Infy_AsiX:
Needs to be FOTAKernel or it doesn't work I think
[Xperia Z3 Compact Original Android Development] spixy:
Hi,

thank you for this ROM, last version is from 10/06. When will be next update? I have so many bugs :D

- bluetooth often turns off and then reconnects (I listen music through bluetooth headphones) - do you still want logcat logs about that?

- brighntess is "not calibrated", even with lowest brightness, it is still brighter than stock 6.0

- charging from A/C is two times slower than on stock 6.0

- I cannot move custom tiles (those at bottom of tiles list) to the quick settings panel
[Xperia Z3 Compact Original Android Development] tomascus:
Next release coming never :silly:

Hopefully tomorrow or tonight, internet being rubbish these days. Getting an upgrade scheduled for the 28th so hopefully I can start uploading Oreo test builds.
[Xperia Z3 Compact Original Android Development] benjim4n:
Hello, first of all: great build! Now to some bugs I discovered, and didnt find mentioned yet.

1. The icons of my messaging apps (Whatsapp, Telegram) dont show the number of unread messages anymore

2. If I turn on the display to see the preview of new messages, the notification LED keeps flashing after turnig the display off again.

Can someone reproduce these bugs?
[Xperia Z3 Compact Original Android Development] marcogiannetta:
I don't think the second one is actually a bug
[Xperia Z3 Compact Original Android Development] thegag:
Hello at first thank you for this great ROM.

I have many issues with BT. Permant BT interruptions. Sometimes I cannot end phone calls. This end up in a system crash and restart of the phone. Thanks for your help.
[Xperia Z3 Compact Original Android Development] tomascus:
Yeah BT has problems, need some logs for this crash (dmesg).

Looks like I messed up tonight's build somehow, will check again tomorrow.
[Xperia Z3 Compact Original Android Development] Kiwiii97:
Ohhh, the wait is over!! I really look forward to this.

Keep the amazing job up! <3
[Xperia Z3 Compact Original Android Development] beflythis:
\

hey - i was complaining of repeated bluetooth drops earlier that i use with my car devices. happy to capture and provide logs as this is currently the only detractor from using the ROM and moving to something else.

I'm experiencing repeated / intermittent disconnects that appear to coincide with phone radio (data) usage. i.e. open and connect radar ap; then open waze and as soon as it crunches a data xmit, bluetooth to radar kit drops then reconnects. then maybe fine all drive - maybe it drops and reconnects again 10 mins later.

again, happy to capture and provide logs.
[Xperia Z3 Compact Original Android Development] Caleb_cz:
I have the save BT issues and i saw similar phone radio/data correlation. BT drop appears sometimes randomly, sometimes after message from WA/Messager.

Except this issue this ROM is fantastic overall, keep me from upgrading to new phone from good old Z3C.

Really excited about future Oreo build.
[Xperia Z3 Compact Original Android Development] thegag:
Thank you for your reply and your help. At first I will try with your new version. If that will not fix it I will make a log. How can I do this easily?

Anyway.. BT issue also happens instantly when I click some button. Strangely it does not depend on which button I push. Browser back button.. starting some app.. BT headset disconnects and reconnects on almost every call. Also it has sound level fluctuations with BT loudspeaker while listening music. Music many times plays on in the player but there is no sound on the BT loudspeaker. After that it disconnects and reconnects and music paused.

Phone call app does not react on anything after crashing. The only solution is to restart the phone if it does not restart itselfes.

I'm so happy with your work but this is very annoying.
[Xperia Z3 Compact Original Android Development] Infy_AsiX:
Can anyone shed some light on how the TA DRM is configured on these AOSP roms? I'm trying to be able to restore TWRP Nandroid backups across Z3Cs without the camera going black. I found when using Elitekernel stock MM which uses the libdrmfix.so method, the camera works across restored devices. Being able to restore to another device is time saving and very convenient in the case of a broken device. I had this experience firsthand while I was travelling with two phones as primary devices.

This post is a basic explanation on the libdrmfix.so and alternative TA PoC method. That first thread's tool doesn't work on our kernel. The TA PoC method doesn't seem to work also in stock MM either. The old first method doesn't seem to work on our AOSP N either. All these fixes are made for stock anyway.

I'm asking here because there's probably some DRM workaround fix developed currently for AOSP to have the camera quality already good. There looks to be some signs of DRM and TA configs in the kernel and system. If a backup is made before first booting, restoring that works across devices, but after booting the DRM is set to that device somewhere in /data. Nailyk's quoted post suggests that one way perhaps is to reset credmgr to get the camera working again. Which would be similar to how the last method I mentioned above works. By the way I tried that quoted kernel but it didn't seem to work. I use two Z3Cs so I'm able to test a difference immediately.

EDIT: Well I spoke too soon. :silly: I found deleting the /data/credmgr files in recovery got the camera working again easily. Thanks devs for the great work behind it that makes it all possible. My question now is, is there any side effect of deleting these? I see credmgrfirstboot.sh recreates the files, but what's lost besides the previous serial when deleted?
[Xperia Z3 Compact Original Android Development] nailyk:
Nothing, the init script take care of recreating it with new sony keys

If you had bad things into this folder you probably had a bad startup. As it remain into /data it does not survive a wipe ;)
[Xperia Z3 Compact Original Android Development] Adamcp898:
I have a non-rooted Z3C with a rear camera going black problem. Is there anyway for me to delete the data/credmgr file without rooting it? I've never rooted an android device before or investigated much into them so don't even know what 90% of your post means :confused: .
[Xperia Z3 Compact Original Android Development] Infy_AsiX:
If you're on stock and haven't unlocked the bootloader for root it's not the same DRM software issue that occurs when unlocking. More likely a hardware issue in your case. Though make sure you're updated or try factory resetting the device. I haven't tried to know if deleting credmgr files has the same effect on stock too, I had previously relied on Elitekernel's included libdrmfix.
[Xperia Z3 Compact Original Android Development] Adamcp898:
Thanks! Head is fried going through different threads talking about a rear camera issue with the Z3C that I didn't even realise this was a development one. Factory reset had been the one thing I was hoping to avoid with the hassle of setting everything up afterwards again.
[Xperia Z3 Compact Original Android Development] Adamcp898:
Well whatever has caused my issue, a factory reset did not fix it. Thinking it must be hardware related so, also have a bit of a dead spot on the touch screen now at the top along the task bar so it may be a loose component but not sure if I managed to cause that myself from pressing on the screen in areas to see if it would reconnect whatever is causing the loss of camera :laugh:
[Xperia Z3 Compact Original Android Development] tomascus:
Tried getting old Bluetooth stuff working with no luck ..... :crying:

Crossing my fingers Oreo will automagically fix things
[Xperia Z3 Compact Original Android Development] ardeth_bay:
Hi there,

I have successfully installed your ROM on my testing Z3compact and I am very impressed by your work!

So far for me everything works like a charm, I only dont see my 5GHz network. Have also tried Oreo Omni ROM and even they say 5GHz should work it doesnt for me.

Also I have been experiencing a lot of crashes and GAPPS not working.

Your ROM works great, also no issues with Bluetooth so far - need to try more devices but BT earphones work flawlessly.

It is now very tempting to flash this also to my primary phone (z3c as well) and use it as a daily ROM cause I am sick of Sonys bloatware which I cant uninstall and I am running low on phones memory.

I have one question: Is there a chance to improve camera picture quality somehow when the DRM keys were deleted by unlocking the bootloader?

Thx,

Ardeth
[Xperia Z3 Compact Original Android Development] Bavarese:
Do you already know when you will upload Oreo?
[Xperia Z3 Compact Original Android Development] tomascus:
No idea man, hard to say when things will be working :silly:
[Xperia Z3 Compact Original Android Development] Kiwiii97:
Was there a new release since 7/10?

If so: where can I find it?

If not: is there any ETA?

Thanks in advance! :)
[Xperia Z3 Compact Original Android Development] nailyk:
content warning: ad inside

You can test OmniRom ;)

ETA ask!

delay += 1week;
[Xperia Z3 Compact Original Android Development] CAL7:
Hello. Thanks to the contributors who have made this ROM. I've been experimenting with OmniROM but Oreo has some issues for me, so I'm going to clean wipe and flash this one until Oreo (or some of my app developers adapt) settles down. Anyway, a couple of questions please before I plunge in.

Any issues I should know about related to downgrading from Oreo to Nougat, or to a Lineage ROM in particular?

I see that [MENTION=4688377]russel5[/MENTION] has posted a 3.2 TWRP for the Z3C. Any reason not to try it before flashing this ROM?

I'm more comfortable with SuperSU (now on 2.8.2 SR5). Is it compatible?

Thanks again!
[Xperia Z3 Compact Original Android Development] skysurfer1111:
3.2 TWRP works. SuperSU is compatible, but not necessary. Take the latest Nano Gapps as advice.

I have no Issues at all with this ROM (20.11.2017), BT works fine as well.
[Xperia Z3 Compact Original Android Development] BoriaTheButcher:
How can I go back to stock? Flashtool doesnt recognise my phone, fastboot also doesnt work. When flashing stock rom via twrp i get bootloop. Any ideas? Custom roms like carbonRom works. Would be gratefull for help

Edit: fastboot mode work
[Xperia Z3 Compact Original Android Development] dastu:
Videos recorded are not playing

Hi, which photo / video app are you using? Mine crashes when stopping video recording. The video file is there but not playing. I can't even tell which photo app I'm using since there is no about menu..
[Xperia Z3 Compact Original Android Development] CAL7:
I'm having some strange GPS issues that I'm struggling to comprehend and diagnose. I'm using Autolocation (João Auto Apps suite). At random times, it will register outside the geofences although it is totally stationary right in the middle. Then, a few minutes later, it recognizes it's back where it should be.

Perhaps a complicating factor is that Tasker turns mobile data on/off based upon Wi-Fi connection.

I know I'm not giving y'all much to help me, but do these issues sound at all familiar to known problems in this ROM?
[Xperia Z3 Compact Original Android Development] mcgi5sr2:
lineage haven't merged december security patches yet possibly due to 8.1 release. When they do I will make another build so we are all uptodate
[Xperia Z3 Compact Original Android Development] CAL7:
Does anyone have the Xperia Service Menu apk (hopefully working on Lineage)?
[Xperia Z3 Compact Original Android Development] mcgi5sr2:
Uploaded the ROM on my AFH with the latest security patches. Due to the nature of the patches I have also back ported kernel commits from the excellent work being done on the Omni rom by [MENTION=6979267]nailyk[/MENTION] and [MENTION=1068260]Diewi[/MENTION] . I will try and get around to pulling more of their work across as and when I can. The kernel seems to work well on my device, if you have any issues just flash the kernel from the last zip you used, as it will still work with the ROM fine, or as fine as the last one. As always OMS support is included. Any issues I am sure if you try you can resolve yourself.

If you have logs and want to help feel free to fork from my git or the lineageOS one and go nuts
[Xperia Z3 Compact Original Android Development] skysurfer1111:
Works fine for me. No Issues:good:
[Xperia Z3 Compact Original Android Development] sebar25:
Can You share a working file? After mod (error 7 fix) and repack to new zip TWRP screams "invalid ZIP file format!"

EDIT: Works after editing file inside zip arch (without repack).
[Xperia Z3 Compact Original Android Development] Infy_AsiX:
I tried as suggested on a clean 20171125 build just to test Android Pay. What's the Android Pay Fix? I can't seem to find it. I can't get the other phone NFC to read the Pay but it can read other cards and chips. Tested with this app https://play.google.com/store/apps/details?id=com.github.devnied.emvnfccard&hl=en
[Xperia Z3 Compact Original Android Development] magmaluchs:
OTA updates

Hey guys,

I would like to give Lineage a try and read a lot about it during the last days. However two questions remain and I struggle to find precise answers:

I understood that there is no OTA update support for this build yet, so I have to manually flash to a new version. Will this "reset" the phones data including apps, contacts, sms chats etc??

Second: Is there an easy way to import the calendar, contacts, sms chats etc from my old Android device to the new device I am planning to install Lineage on? Both devices are Xperia Z3 compact! I love this phone.. ;)

These are beginner question, I know that but I was really trying to read through the manuals before posting here!

Greetings,

magma
[Xperia Z3 Compact Original Android Development] Kunqa:
Hello, first: you can update to the newest builds without reset you data, but this way can affects some unexpected bugs (basically this way works fine) Some new builds with major changes needs data reset.

Second: You can sync you calendar, contact's, photos to Google. To backup SMS you need use any messages backup app from Play Store and restore them using same app

Sry for my "English"
[Xperia Z3 Compact Original Android Development] magmaluchs:
Hi Kunqa,

your englisch is fine and I am happy about your answer! ;)

I never sync anything to Google! That is one of the reasons why I want to switch to Lineage dude.. ^^

OK, but the backup apps will work with Lineage as well?! That is good to know.
[Xperia Z3 Compact Original Android Development] Kocane:
[MENTION=4022876]arsradu[/MENTION] you think this fix is also relevant for carbonrom? I'm experiencing same mic issues there. I got the google phone app from the playstore but I'm missing the lib files you're talking about? Can you share em?
[Xperia Z3 Compact Original Android Development] arsradu:
IF it's the same cause (Gapps), it should help.

I don't use this ROM anymore though. But head over to this post. One of the users made a flashable zip with those libs. See if it helps.

Also, you have the actual libs on the post above it (click Continue to thread...).
[Xperia Z3 Compact Original Android Development] Kocane:
Oh I looked thru several pages but somehow missed that flashable zip. Cheers, I'll give it a go.

Which ROM are you using nowadays?