yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact Original Android Development] arsradu:
Ok, so I said I'll test mcgi5sr2's build in more details to see if I can replicate the overheating issue that's been bugging me for a while now.

Well, I'm happy to report that no, I couldn't. So, IF there was a ROM issue, it's been fixed with this build. If there wasn't, well, then I guess there was something else going on on my phone, and for some weird reason, with the same apps, it just didn't happen with tomascus' ROM... I don't know. I can't explain it. Anyway, seems to be working fine, except for a few small issues (some of them I'm not sure are ROM related...probably not, but anyway). I'll just list them all here, in case in helps someone.

1. on first time setup, Music app throws an error saying the app is not responsive. Why is Music app even loaded at the point in time...I have no idea. But this has happened with both ROMs, and I'm pretty sure it's got a pretty high repro rate.

2. if you try to restore a backup via WiFi (during the first setup), well, you can't. You can't turn on WiFi, since there is no wifi network selection screen for this case. Interestingly enough, there is one if you want to make it a "new device". Which is mostly useless, cause for that case, I can easily use the carrier network. Whereas for a backup restore, I would prefer to have the option to connect to a WiFi network.

3. no microphone in voice calls. But, as I said before, that's not an issue of the ROM itself, it's a Gapps issue which, if you don't wanna go into details and add the necessary libs yourself in System/lib, can be actually easily fixed by installing the Google Phone app from the Play Store.

Anyway, as I said, the last one is a Gapps issue. Probably not happening with other Gapps flavours... I tried OpenGapps Stock, for anyone interested.

Anyway, other than that, I didn't notice other issues, so far.

[MENTION=4901061]mcgi5sr2[/MENTION], nice work. :) Thank you.
[Xperia Z3 Compact Original Android Development] jokerghjb:
i toled you i already removed that line from "updater-script"
[Xperia Z3 Compact Original Android Development] arsradu:
Well then I don't know why you still have this issue.

Which TWRP version are you using? Also, could you post your updater-script here? Maybe somehow it got corrupted...?
[Xperia Z3 Compact Original Android Development] nailyk:
So post your recovery log : /tmp/recovery.log
[Xperia Z3 Compact Original Android Development] jokerghjb:
i told you man in my main comment "am using twrp 3 and when i use any else twrp img my softeware damage "

this is my script

ui_print("Target: Sony/D5803/D5833:6.0.1/23.5.A.1.291/2769308465:user/release-keys");

ifelse(is_mounted("/system"), unmount("/system"));

package_extract_dir("install", "/tmp/install");

set_metadata_recursive("/tmp/install", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644);

set_metadata_recursive("/tmp/install/bin", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0755);

mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", "");

run_program("/tmp/install/bin/backuptool.sh", "backup");

unmount("/system");

if is_mounted("/data") then

package_extract_file("META-INF/org/lineageos/releasekey", "/tmp/releasekey");

run_program("/tmp/install/bin/otasigcheck.sh") != "31744" || abort("Can't install this package on top of incompatible data. Please try another package or run a factory reset");

else

mount("f2fs", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/userdata", "/data", "");

package_extract_file("META-INF/org/lineageos/releasekey", "/tmp/releasekey");

run_program("/tmp/install/bin/otasigcheck.sh") != "31744" || abort("Can't install this package on top of incompatible data. Please try another package or run a factory reset");

unmount("/data");

endif;

show_progress(0.750000, 0);

ui_print("Patching system image unconditionally...");

block_image_update("/dev/block/platform/msm_sdcc.1/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat") ||

abort("E1001: Failed to update system image.");

show_progress(0.020000, 10);

mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", "");

run_program("/tmp/install/bin/backuptool.sh", "restore");

unmount("/system");

show_progress(0.050000, 5);

package_extract_file("boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");

show_progress(0.200000, 10);

set_progress(1.000000);
[Xperia Z3 Compact Original Android Development] mcgi5sr2:
Quick question before i go further into these logs... are you getting a red flash around the screen from time to time? Can you check your developer options that strict mode is disabled please

Facebook is a sack of crap on your phone, terribly written app that takes your data and depletes your battery at a stupid rate. If its not fully removed when you uninstall it that hardly surprises me. I can only suggest a clean wipe pal, or you can go looking for all the facebook related files on your device.

Did you reinstall any apps from a backup?

Also what kernel are you on, the one in the zip?

One last edit to say thanks for the log

Have you unlocked your bootloader?
[Xperia Z3 Compact Original Android Development] paparansen:
what about putting logs here as attachment?
[Xperia Z3 Compact Original Android Development] subinsg:
[MENTION=4901061]mcgi5sr2[/MENTION]

No red flash around the screen and strict mode is off....

From backed up apk yea....titanium backup nop....

The default one....one in the zip....

Edit:PS no mods
[Xperia Z3 Compact Original Android Development] gerv.markham:
I've installed the ROM, and it's great :) Thanks to those doing the hard work of producing it.

I now want to get root. I've installed the package from https://download.lineageos.org/extras (addonsu-14.1-arm-signed.zip) via TWRP, as instructed in comment #2. However, "Root Verifier" from the F-Droid store still says I don't have root, and I don't think I do - some stuff which requires it doesn't work. What have I missed? How can I check if that package has installed correctly? Is there anything else I need to do, or could do?

Thanks :)
[Xperia Z3 Compact Original Android Development] subinsg:
Developer options->Root access->change to whatever you need
[Xperia Z3 Compact Original Android Development] Danny4927:
[MENTION=4350912]gerv.markham[/MENTION] after flashing addonsu-14.1-arm-signed.zip, you have to activate root in the dev options
[Xperia Z3 Compact Original Android Development] gerv.markham:
Ah! Thanks!
[Xperia Z3 Compact Original Android Development] beflythis:
can confirm i was getting wifi drops after installing the latest, too.

thought it was due to modded kernel, so re-flashed once more, wiped cache and rebooted.... hasn't happened since.
[Xperia Z3 Compact Original Android Development] beflythis:
is it possible to acquire the stock kernel from LOS in a flashable .img file? like a noob, I installed an incompatible kernel and have now lost recovery and am unable to restore it through adb/fastboot. any ideas?
[Xperia Z3 Compact Original Android Development] Infy_AsiX:
Get TWRP using fastboot FOTAKernel, see first posts. Or if after just the LOS kernel boot.img is in the ROM zip.
[Xperia Z3 Compact Original Android Development] beflythis:
C:\Android\sdk\platform-tools>fastboot flash FOTAKernel twrp_z3c_2017-04-26.img

< waiting for any device >

target didn't report max-download-size

sending 'FOTAKernel' (13386 KB)...

OKAY [ 0.422s]

writing 'FOTAKernel'...

OKAY [ 1.148s]

finished. total time: 1.571s

when I reboot, it boots straight to LOS. No orange LED indicating recovery, no TWRP whatsoever. Will flashing the boot.img file extracted from the ROM fix?

EDIT: flashing 'fastboot flash boot boot.img' worked! straight into TWRP and was able to restore the correct kernel. THANK YOU!
[Xperia Z3 Compact Original Android Development] apexofservice:
I've noticed that the screen really doesn't get dim enough when using the phone in a dark room. Then I started playing with the brightness slider and I noticed that the screen brightness only changes in the upper 50% of the slider. That is, when the slider is halfway up or higher, moving the slider changes the brightness, but the screen seems to hit its minimum brightness when the slider is at 50%., moving the slider around in the lower half just doesn't change anything.

Can anyone else reproduce this?
[Xperia Z3 Compact Original Android Development] claudiobar:
[/COLOR]

I can't

Works well for me
[Xperia Z3 Compact Original Android Development] Kunqa:
Del
[Xperia Z3 Compact Original Android Development] tomascus:
One exam down, 3 more to go. Hang in there guys :silly:
[Xperia Z3 Compact Original Android Development] claudiobar:
Congrats man!
[Xperia Z3 Compact Original Android Development] arsradu:
Best of luck, man. Looking forward to hearing from you again.
[Xperia Z3 Compact Original Android Development] skaterbub2003:
Go for it! I wish you all the best!
[Xperia Z3 Compact Original Android Development] Robot76:
Anyone who cannot swipe down notifications or quick settings, due to a broken digitiser, can follow these instructions:

Download 'All in one Gestures' app from the playstore.

Go to the 'SWIPE' tab.

Enable.

Under 'Edges' , select 'Top Area'.

Then via the apps settings, choose 'Personalization'.

Now under 'Swipe Area', go into 'Edge Preference.

Make 'Opacity' 0%

With 'Edge Sensitivity' start from 0% and keep moving the slide left until the swipe down works, mine is set at 90px.

'Edge Width' 100%

'Swipe Distance' 0%

Now under 'Touch Feedback' turn off both 'Toast Message' and 'Animation'.

Then turn down 'Vibration Intensity' to '0'

Done.

You now have the screen functioning as normal.

[emoji7]

ATTN:

Remember to keep 2 backups of this apk, in approx 30 days, Google will remove apps that use the accessibility service.

News:

https://www.xda-developers.com/google-threatening-removal-accessibility-services-play-store/

**This phone is bendable 0.1mm will open your phone, anodized aluminium bumper recommended for jeans and stairs, I also recommend tempered glass, both sides. B7000 glue for repairs, no heat, clothes pegs, 48 hours.
[Xperia Z3 Compact Original Android Development] Mastercheef:
Has anybody an issue with the mic in audio recorder apps?

Latest Build 07/10)

Clean install

Phote call quality is ok

Audio quality in recorded videos is ok

Recorder app quality very bad

WhatsApp audio recorder also very bad

Is there any solution?
[Xperia Z3 Compact Original Android Development] Simonmicro:
Hi,

I experience some bugs you've (@Mastercheef) described too. For easy example if someone call me or I call someone with the messenger Telegram my oponement can't hear me. Only if I connect my headset it works. Very annoying - any solution?

See you,

Simonmicro

And good luck with your exames!
[Xperia Z3 Compact Original Android Development] arsradu:
Check your Gapps. You might not have all the necessary libs.

If someone could recommend a reliable set of Gapps without this issue, that would be awesome. I haven't tried Telegram and others, but I had the same issue with the Dialer (regular voice calls). Fixed it by adding 3 libs in System/lib/arm.
[Xperia Z3 Compact Original Android Development] john_matrix:
Maybe these?

http://opengapps.org/
[Xperia Z3 Compact Original Android Development] krzysiek546:
Anyone have nfc problems? I can't scan nfc tags and android pay isn't working. I have build 14.1-20171006-UNOFFICIAL-z3c
[Xperia Z3 Compact Original Android Development] F1pl:
I also had an issues with NFC (mostly Android Pay). I tried few times to flash stock then few LineageOS builds, but I couldn't get this work. So the best solution for me was to stay on 20170721 release and then just flash kernel from newer releases (mostly to avoid random reboots at charging). That's the only way which worked for me to get NFC payments works correctly. :p
[Xperia Z3 Compact Original Android Development] arsradu:
Well, I have issues with OpenGapps Stock... So...I don't know about that.

---------- Post added at 02:35 PM ---------- Previous post was at 02:34 PM ----------

Does beaming a file from/to another Android device work? It works for me. I don't have a tag to scan and also no place to test Android Pay with... So maybe NFC works but not for these particular things? I don't know.
[Xperia Z3 Compact Original Android Development] madvinegar:
I googled "Lineage OS 15 for Z3 compact" and I have found that about 1-2 months ago, tomascus has released an allegedly bug free oreo rom for our phones.

https://www.getdroidtips.com/lineage-os-15-sony-xperia-z3-compact/

However, in all websites that I searched, the download link for this rom was removed/deleted.

Do you have any more insight about the above...?
[Xperia Z3 Compact Original Android Development] Kunqa:
It's fake, no any lineage 15 was released
[Xperia Z3 Compact Original Android Development] pajos.gabros:
Does magisk works?
[Xperia Z3 Compact Original Android Development] Robot76:
Yip!

[emoji7]

Z3C LOS OREO ARISE
[Xperia Z3 Compact Original Android Development] Simonmicro:
Oh, hey. Do you know the names of that libs? And that bug is still present since two or three builds - at every upgrade I've completly reflashed gapps etc...
[Xperia Z3 Compact Original Android Development] arsradu:
Alright.

First of all, make sure you uninstall Google Dialer from your phone if you got it from the Play Store. And clear its data (for the one installed from the Gapps).

Second, get the attached zip (it is NOT a flashable zip! so just extract the content of the archive). If someone can make a flashable zip of that, that would be awesome. I used to do it too. But I don't wanna test my skills on someone else's phone. I haven't done it in a while so better be safe than sorry.

Anyway, move or copy the /arm folder into System/lib. The result should be /System/lib/arm (with the actual libs inside, of course)

Set the Permissions as follows:

the actual /arm folder: 755

the libs inside the folder: 644

Double check to make sure everything is ok and restart the phone.

In case it doesn't work, try to clear data for the Dialer app again.
[Xperia Z3 Compact Original Android Development] leo2100:
Yes, I have the same issue. It works in the past, but unfortunately not with the current version. I use SEQR which works everywhere you can pay with contactless credit card.

Gesendet von meinem Xperia Z3C mit Tapatalk
[Xperia Z3 Compact Original Android Development] Simonmicro:
Okay, here it is a fix

Here is a flash-able version of the fix from [MENTION=4022876]arsradu[/MENTION].

How to use:

1. BACKUP YOUR ACTUAL SYSTEM

2. Select the zip and press install....

3. Watch the not working progress bar to fill :p

-> It will copy the libs and then update the permissions...

4. Reboot...

5. Check if the libs are correctly installed on the path /system/lib/arm/*

-> For me it works after the second attempt

Have fun :fingers-crossed:,

Simonmicro
[Xperia Z3 Compact Original Android Development] pajos.gabros:
trying to flash it, but error 7 while progress

twpr: 3.1.0

edit:

/META-INF/com/google/android/updater-script edited
[Xperia Z3 Compact Original Android Development] arsradu:
Have you tried TWRP 3.0.2? Just saying.

Cause if it's not the updater-script (which it usually is), then I don't know.

Anyway, if flashing it doesn't work, manually adding those files in the right place and setting the correct Permissions, should. I mean, I didn't flash anything. I did it the old fashion way. :) So yeah, it's not mandatory to do it this way.
[Xperia Z3 Compact Original Android Development] pajos.gabros:
Could you reupload TWRP 3.0.2?

I cant download it, dont know why
[Xperia Z3 Compact Original Android Development] arsradu:
Well, I got mine from here (version 3.0.2-1). Never needed to change it.

Also, I used this tutorial to install it.

i suppose there are many ways you could flash that img file. This is just the one I used.
[Xperia Z3 Compact Original Android Development] pajos.gabros:
thanks men

but i cant still flash it - error 7 :(
[Xperia Z3 Compact Original Android Development] arsradu:
Maybe there's a setting somewhere.... I remember seeing something about signed zips or something in TWRP. Maybe that needs to be turned off? I took a look at the file uploaded by simonmicro (thank you for that, by the way), and couldn't find anything wrong with it. So...maybe it's not the file itself.

I just checked my TWRP. In Settings, everything is unchecked and the first option is indeed "zip signature verification". Try to turn off everything in there. See if that makes a difference.
[Xperia Z3 Compact Original Android Development] pajos.gabros:
Done. But still error 7
[Xperia Z3 Compact Original Android Development] arsradu:
Maan... I don't know what to say... You are rooted, right? Cause I have no idea what else could we try.
[Xperia Z3 Compact Original Android Development] nailyk:
logs!

in twrp copy log to sdcard, then get it with mtp, and post it here as attachement
[Xperia Z3 Compact Original Android Development] pajos.gabros:
Yeah. My device is rooted (magisk) ?
[Xperia Z3 Compact Original Android Development] arsradu:
For what I can see, it points to the script:

script aborted: E3004: This package is for device: D5803,D5833,z3c,aries; this device is .

E3004: This package is for device: D5803,D5833,z3c,aries; this device is .

error: 3004

Updater process ended with ERROR: 7

Also, is this part intended: "this device is ."? I think something's wrong here.

Can you flash anything else? Or, no matter what you try, every flashable zip ends up in an error like that?

Update: the error above seems to be for the ROM...? I thought we were talking about the fix for the microphone...

Installing zip file '/external_sd/z3compact d5803/twpr/lineage-14.1-20171006-UNOFFICIAL-z3c.zip'

Checking for MD5 file...

Skipping MD5 check: no MD5 file found

I:Zip does not contain SELinux file_contexts file in its root.

I:Legacy property environment initialized.

script aborted: E3004: This package is for device: D5803,D5833,z3c,aries; this device is .

E3004: This package is for device: D5803,D5833,z3c,aries; this device is .

error: 3004
[Xperia Z3 Compact Original Android Development] nailyk:
so you are probably booting twrp the old way, or having a bad twrp image.

Just remove the whole assert lines on lineage zip should fix it.
[Xperia Z3 Compact Original Android Development] pajos.gabros:
i tried that, but still the same (error 7)
[Xperia Z3 Compact Original Android Development] arsradu:
Installing zip file '/external_sd/z3compact d5803/twpr/lineage-14.1-20171006-UNOFFICIAL-z3c -edit-.zip'

Checking for MD5 file...

Skipping MD5 check: no MD5 file found

minzip: Not a Zip archive (found 0x00000000)

minzip: Parsing archive 0xb49bf204 failed

Zip file is corrupt!

How did you edit that updater-script?
[Xperia Z3 Compact Original Android Development] pajos.gabros:
1) extracted .zip with 7zip

2) updater-script was edited with notepad++

3) packed with 7zip to .zip archive

4) put on sd

5) try to flash it
[Xperia Z3 Compact Original Android Development] arsradu:
Yeah, I think repacking corrupted your archive.

I uploaded the ROM (with all the tweaks already in place) here. Please, give it a try and let me know.

The link is not for reshare. It's on my personal account.

Usually, the way I was doing it, was to simply extract (drag and drop from the archive) the updater-script somewhere on my computer, edit it (Notepad++ is indeed a very good choice for Windows), save the changes and then just drag and drop back into the archive and let it update it. Truth be told, I was also using WinRAR for that. Not sure it's gonna make a difference though.

Another way is to do that from your phone. X-plore has a zip/rar manager built in. You don't even need a computer for that.

Anyway, let me know how it works with the zip I uploaded. Also, let's get to the actual microphone zip, as well. :) Since the ROM was not the topic at hand here :))

Update: content removed since it's no longer useful.
[Xperia Z3 Compact Original Android Development] pajos.gabros:
it doesnt help :(
[Xperia Z3 Compact Original Android Development] arsradu:
script aborted: Can't install this package on top of incompatible data. Please try another package or run a factory reset

Can't install this package on top of incompatible data. Please try another package or run a factory reset

Updater process ended with ERROR: 7

Please, make a clean install by formatting /system and /data.

If you have important things (photos/documents) on your device storage, copy/move them to sdcard before formatting /data. I would strongly advice you NOT to restore a backup of your /data for this case. You can, however, restore the apps from your Google account. But just don't restore /data from a TWRP backup.

Just take the few things you need, format /system and /data, and reinstall the ROM & Gapps
[Xperia Z3 Compact Original Android Development] pajos.gabros:
thank you, succesfully flashed and working now
[Xperia Z3 Compact Original Android Development] Kucharskov:
Today i do clean reinstall. Now my wifi reconnecting every 3-5 min. What can i do with that? How to make a log for you?
[Xperia Z3 Compact Original Android Development] arsradu:
Are you sure that's not a router/range issue? Cause I never experienced that with this ROM.

Maybe you get interferences from other wifi networks around you. Does this issue occur with any wifi hotspot from anywhere?

As for the log, there are a few apps that can log activity... CatLog/MatLog/aLogcat from Play Store are only a few examples. But...5 minutes of log could get pretty huge. So you'll need to specify the exact time when this happens. And again, this could be a specific issue to your setup. I personally never seen it before. And also, haven't heard anyone else on this thread complaining about it. But maybe I missed it somehow.
[Xperia Z3 Compact Original Android Development] krzysiek546:
I have new problem. I can't turn off phone instead of this I have reboot message.
[Xperia Z3 Compact Original Android Development] arsradu:
What did you do? :)) When was the last time everything worked fine for you? Go back to that moment and see what changed. :) Then revert.

If everything fails, clean install of the ROM should fix it for you.
[Xperia Z3 Compact Original Android Development] Cadabena:
Just wanted to post to say fantastic work - the 7th October update seems to have solved the intermittent data problem for good. 654 hours uptime and still going - haven't had need for a reboot at all!
[Xperia Z3 Compact Original Android Development] Kocane:
Guys, are you also seeing quite high bam_dmux_wakelocks on this ROM? I didn't really see this mobiledata-related kernel wakelock so much but both on CartonROM and LineageOS it seems to bother my deepsleep :( I've tried with barely any apps installed at all and it still happens.
[Xperia Z3 Compact Original Android Development] Simonmicro:
Hmm i dont know. I flashed mine with twrp 3.1.1 (?) from this thread. And by me the zip works. Disgusting.
[Xperia Z3 Compact Original Android Development] Kocane:
I'm also seeing weird sporadic jumps in brightness, especially on the lockscreen. As well as the lockscreen sometimes rotating at random. Both autobrightness and rotation is off but it seems like it doesn't care.

Anyone got an idea?

EDIT: Made a video to illustrate the problem. At the end, right before the screen times out and goes black, the lockscreen flips upside down lol:

[youtube]fKyQHGGKFlg[/youtube]
[Xperia Z3 Compact Original Android Development] subinsg:
main menu -> security -> click the gear icon next to screen lock -> deactivat blur background

This was answered for an older version by fan_ben
[Xperia Z3 Compact Original Android Development] Kocane:
Hmm. Seems to fix the lockscreen actually going upside-down when fading to black thanks. However the brightness issue remains and the quicksetting actually still shows the autorotate being toggled on and off. Odd.
[Xperia Z3 Compact Original Android Development] subinsg:
Which build are you on?try a clean install..... Works fine for me... Using oms version build 20171017 by mcgi5sr2 ....