yashsingh1/xdaforums huggingface dataset:
[Xperia Z4/Z3+ Original Android Development] d_g_m_2000:
official built found

hello guys.

found this build from some croatian or russian server (who knows).

everything i use works great but google camera (from aroma gapps) is sh*t compare with stock rom camera

the built is from february 2019 and it has december 2018 security patch.

the original file gave me error 7 so i use assayyed's kitchen to recreate the zip file and flash it with twrp 3.0.2 and aroma gapps

you can download it from my gdrive < https://drive.google.com/open?id=1Xe9JjTn295d8UTqGYocLCLe1dZcbrKcU >

1-wipe everything, even format data

2-flash rom

3-flash open gapps

4-flash magisk

5-wipe dalvik/chace

6-reboot (it took like a 15 minutes to first boot)

if you lost data or brick your device don't blame me.
[Xperia Z4/Z3+ Original Android Development] chrnodroid:
Ok guys, because this magnificent smartphone has been abandoned by the community, and will never see Oreo or Pie, I have decided to buy an Xperia XZ1 .

Good bye friends.
[Xperia Z4/Z3+ Original Android Development] baiggee2:
hi there buddy i tried to flash this rom but it gives some kinda error, can you post a working link please
[Xperia Z4/Z3+ Original Android Development] d_g_m_2000:
hello...

well, the file it's on my gdrive and have to had just download it (as i write) well... does it give you an error while flashing it? or a downloading-error?
[Xperia Z4/Z3+ Original Android Development] baiggee2:
it was a flashing error any way i got it working, i found a working file on the internet. thanks any way :o:o:):)
[Xperia Z4/Z3+ Original Android Development] Rakor:
Dear all

I happened to be looking for the original builds myself and found the https://web.archive.org. There you can enter the normal lineageos download page and select a date to go back to (for instance: https://web.archive.org/web/20190221230507/https://download.lineageos.org/ivy). Just downloading the latest build and will confirm if it works =)

Happy downloading ;)

[edit] download completed successfully =)
[Xperia Z4/Z3+ Original Android Development] huuthe93:
Thank you very much !
[Xperia Z4/Z3+ Original Android Development] waseemakhtar:
Found another working link.

https://files.moskvich.xyz/LineageOS/14.1/n2awifi/
[Xperia Z4/Z3+ Original Android Development] jspsuman:
The download link is not working :(
[Xperia Z4/Z3+ Original Android Development] Olivier:
There you go: https://androidfilehost.com/?fid=8889791610682886096

Note that this is an unofficial build (Lineage 14.1 is EOL).
[Xperia Z4/Z3+ Original Android Development] Mapuku:
how to flash via computer software and will it help with the myxperia protected?
[Xperia Z4/Z3+ Original Android Development] Kungencortes:
https://xdaforums.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133 Worked for me.
[Xperia Z4/Z3+ Original Android Development] pou_gh2:
OMG!this battery life is weird even for this device.even worse than the pas version! what did you do dude? :D
[Xperia Z4/Z3+ Original Android Development] ccxex29:
is it better or worse? is it really that much of improvements from the recent update??

yes, it is normal. Lineage doesnt have apps and apps+adb root via developer options. it applies to every other devices too
[Xperia Z4/Z3+ Original Android Development] artsfreaky:
i have problem now i try to relock my z3+ then i unlocked bootloader using flash tool, ill find out rooting status: unknown

HW Config rev: unknown

Remote Lock State: Unlocked

pls help to find the sulution....
[Xperia Z4/Z3+ Original Android Development] pou_gh2:
its worst not just worse! really bad
[Xperia Z4/Z3+ Original Android Development] DiscMan55:
Is this rom selinux enforcing?
[Xperia Z4/Z3+ Original Android Development] sfjuocekr:
High temperature is common for the MSM8xxx series, the SoC can run well over 100 degrees before burning out (it won't, because it throttles).

If you want lower temperature and energy consumption, find the culprit first.
[Xperia Z4/Z3+ Original Android Development] pou_gh2:
plz fix the battery consumption dude,pllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllz
[Xperia Z4/Z3+ Original Android Development] schumifer:
I sometimes cannot believe what the developers have to put up with here.

With all due respect, STFU

Either develop something yourself or wait for the developer to fix it.

People should be allowed a feedback post and suggestions, everything else should be deleted
[Xperia Z4/Z3+ Original Android Development] r_diaz13:
Ditto well said

Sent from my Sony Xperia Z3+
[Xperia Z4/Z3+ Original Android Development] joebusch67:
I there a way to get the Original Sony Keyboard and the Sony Camera App?
[Xperia Z4/Z3+ Original Android Development] DiscMan55:
Hello,

I'm practicing making a LineageOS ROM build and I'm trying to build this ROM from your sources for locally testing on my phone.

I'm trying to extract all files in device/sony/ivy/proprietary_files.txt from official 376 ROM sin files (as I saw you added support on GitHub).

I was able to find almost everything, except lib64/lib-preload64.so which I can't find anywhere. Where is this file located on stock nougat device ROM ?

Also, it seems there's a bug in proprietary-files.txt, there is vendor/etc/perf-profile0.conf upto vendor/etc/perf-profile4.conf and then vendor/etc/perf-profile6.conf (5 is skipped, I think the last one should be renamed to 5 because vendor/etc/perf-profile5.conf exists in ROM but not 6).
[Xperia Z4/Z3+ Original Android Development] nailyk:
You should be able to use the blob github repo. Link sent by PM.

Happy building ;)
[Xperia Z4/Z3+ Original Android Development] DiscMan55:
I figured it out on my own, that file was part of the marshmallow 5.11 firmware. Also the OP just made a commit to fix the profile file typo in proprietary-files.txt so it builds now ;) Thanks for the help. Now onto the next challenge for me: Build TWRP from lineage sources with sony kernel with full encryption support.
[Xperia Z4/Z3+ Original Android Development] nailyk:
Good luck, encryption is funny. On shinano I never manage to uncrypt stock as they use a modded version of dm-crypt. You can take a look here. It is an unified tree to build twrp for z3. Fell free to ask into my twrp thread (see signature).

Good luck :D

Edit: for the necessary patches to build twrp on lineage take a look at their gerrit. (iirc you need the 14.1 patch and the toolbox one)
[Xperia Z4/Z3+ Original Android Development] DomusX10:
I hope that this ROM become stable soon for our Z3+...

I'm really interested about it.

Because Sony nougat firmware at this moment it's a piece of ****, that transform an octa core in a quad core, remove some options from camera that is a focal point for this phone for me...

So, really disappointed with Sony ideas, I hope this project LineageOS become great fast..growing..more phone support mean more diffusion..:fingers-crossed:
[Xperia Z4/Z3+ Original Android Development] ApollosRage:
Really nice rom man, my only Problem is that the Battery Performance is pretty bad compared to other Cyanogenmod Roms and the Volume is also to loud apart from that this Rom is awsome! Keep up the good Work!
[Xperia Z4/Z3+ Original Android Development] sfjuocekr:
Could you pm me the blob git too?

I've been able to get everything "working" so far, except for the SIM card :s
[Xperia Z4/Z3+ Original Android Development] DomusX10:
it's normal that the file is 455MB? Sony Firmware is 2,6GB...really this ROM it's so small?:confused:
[Xperia Z4/Z3+ Original Android Development] Announcement:
tl;dr - normal? maybe not, but this number sounds more like what it should be

The real question is why is the sony firmware so large...

It's not particularly "normal" in the sense that most firmware packages are much larger these days, but this is much like what the size that the used to be, the old source used to contain the code for just about every single system, architecture, device, module, chipset, etc. that you can think of, being brewed into each and every rom which is extremely unnecessary and increased the size exponentially.

Just cutting out some legacy garbage could definitely mean that the new firmware is only a quarter of the size, this is most certainly a reasonable cut.

I've seen this done recently in other Google projects too, namely Chromium (Blink) and Ninja also helps cut size and time to compile down.
[Xperia Z4/Z3+ Original Android Development] SH1M4BD3:
[MENTION=513620]Quarx[/MENTION] man i love it, really nice job..thank you so much.

Do we can get the march update soon?
[Xperia Z4/Z3+ Original Android Development] SH1M4BD3:
Really awesome, its close to my old Nexus 5, really thank you
[Xperia Z4/Z3+ Original Android Development] 6samir94:
error

Hi ,

I have a sony xperia z3 + dual E6553 and i want to install other rom on it( i have marshmellow now ). I try to install this rom but i recive these error : " error 7..." after that i removed the first line in updater scripter and the error was " META-INF...updater binary" . I try to install others roms but the error was the same" error 7 " or " filed to map file.." I use the 3.0.2-0 TWRP. I tried to install rom with Flashtool but the error was " Null " .

You can give me any advice? What i supposed to do ?

Thanks !
[Xperia Z4/Z3+ Original Android Development] SH1M4BD3:
Head to here.https://xdaforums.com/xperia-z4/help/root-downgrading-unlocking-bl-t3570540, follow the step on post2 .. if you want to keep the TA , but if you don't just unlock BL flash twrp and flash supersu
[Xperia Z4/Z3+ Original Android Development] Olivier:
Sure, here you go: lineage-14.1-20170313-UNOFFICIAL-ivy.zip.
[Xperia Z4/Z3+ Original Android Development] AhmedHussam:
this work in xperia z3+ dual sim (ivy_dsds)
[Xperia Z4/Z3+ Original Android Development] SH1M4BD3:
[MENTION=292537]oliver[/MENTION] glad to see the updates, really thankyou so much
[Xperia Z4/Z3+ Original Android Development] SH1M4BD3:
Sony has good devices , just sad to know it has lack of developements, esp. the E6553/E6533 as Sony has actively push Open deveplopement project than any other OEM does but seems not really help, just curious why that individual/teams such as LOS,Mokee,Slim etc has no intentions to sony devices??, And this lineage build was pretty stable for except the battery life, SOT its just about 4-5 hours , i can deal with that, the heating issues was really annoying me try to figure how to reduces that heat with kernel manager and seems just only litle changes here, hoping some custom kernel for AOSP/Los based rom in near future that can reduce the heating issues.

Currently used stock LOS kernel, and what's really cool that some of options already there eg. Gpu governoor, underclocking cpu, here's some set i use , and i choose EXkernelmanager to set it up : might some of you has some advices, share here, or wanna try the set i choose:
[Xperia Z4/Z3+ Original Android Development] SH1M4BD3:
Updated to latest security patched, awesome!!! Will report any problem if its exist :p Thanks Sir [MENTION=292537]oliver[/MENTION]

Update : substratum themes fully broken, none of themes can be applied, i understand that LOS still not implemented any theme engine for now.. if its a bug, am in trouble then since alot of themes already purchased
[Xperia Z4/Z3+ Original Android Development] prasad.asr1978@gmail.com:
Any Change log or only security update?
[Xperia Z4/Z3+ Original Android Development] bobboviking:
Still BT problems?

Hi, do anyone know if the bluetooth problems (both listening to music and taking calls) still are present for this rom?

Thanks in advance!
[Xperia Z4/Z3+ Original Android Development] SH1M4BD3:
Can't test it since i don't even use any bluetooth audio, headset or anything but the last build seems stable enough for me
[Xperia Z4/Z3+ Original Android Development] SH1M4BD3:
Latest build with this set CPU&GPU , no more heat
[Xperia Z4/Z3+ Original Android Development] AhmedHussam:
what about battery drain and heat
[Xperia Z4/Z3+ Original Android Development] SH1M4BD3:
Battery about 5-6H SOT, deppend of what you've installed i only use some apps (whatsapp,line,blackberrymessenger),diaabling unecessary sync reducing brightness, re-callibrating display colurs&light, overall i really satisfied, heat issues has really significant changes after i set some CPU&GPU conf above.
[Xperia Z4/Z3+ Original Android Development] nailyk:
You can generate new policies from your denial with audit2allow (should be into the prebuilt of your toolchain). Pass the actual policies (out/target/ivy/root/sepolicy) and your denial then add the result somewhere (into a .te file), then build/flash your kernel again.

To debug your decryption problem build as -eng, adb will be unsecure and don't check for keys. You will be able to catch logcat before decrypt.

Edit: example with your denial and my policy (won't be the good result):

nailyk@rimmon5 :) % /home/nailyk/lineageos/14.1/external/selinux/prebuilts/bin/audit2allow -p out/target/product/z3/root/sepolicy -i /tmp/dmesg.log ~/lineageos/14.1
[...]
#============= logd ==============
allow logd self:capability dac_override;

#============= priv_app ==============
allow priv_app device:dir { open read };

#============= zygote ==============
allow zygote self:capability sys_nice;
[Xperia Z4/Z3+ Original Android Development] DiscMan55:
Thanks for your help, I generated this file and wrote it to device/sony/kitakami-common/sepolicy/encryption.te

#============= init-power-sh ==============
allow init-power-sh self:capability dac_override;

#============= logd ==============
allow logd self:capability dac_override;

#============= priv_app ==============
allow priv_app device:dir { open read };

#============= vold ==============
allow vold tee_prop:file { getattr open read };

#============= zygote ==============
allow zygote self:capability sys_nice;

And LineageOS succeeded in decrypting /data in enforcing mode! This is stock compatibility! Now need to test activating encryption on /data, but before that i am facing a different problem where I get no signal.

I have ivy_dsds, but only 1 sim card as well as microsd card. My sim card has PIN lock. It correctly asks for the PIN number, and when I intentionally enter it wrong, it says it is wrong. When I enter it correctly, it is accepted but the network doesn't activate.

The logcat is filled with messages:

03-15 19:37:23.719 5104 6947 E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: ICC ID is null or empty.
03-15 19:37:23.727 5104 5104 E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: ICC ID is null or empty.
03-15 19:37:23.739 5104 5104 E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: ICC ID is null or empty.

[MENTION=6979267]nailyk[/MENTION] any pointers on where to look or how to diagnose this better ? I attached dmesg and logcat in zip to this post.
[Xperia Z4/Z3+ Original Android Development] DiscMan55:
When I formatted /data in recovery to remove encryption, on reboot SIM works correctly!

Attached dmesg and catlog of successful boot and successful network for reference.
[Xperia Z4/Z3+ Original Android Development] DiscMan55:
When trying to encrypt phone from inside lineage os, it shows the green android logo, then reboot, then reboot loop (sony logo, black screen, sony logo .. and so on).

I am running a self-built eng build. I manage to capture latest catlog and dmesg right before restart...

Attached dmesg and logcat.
[Xperia Z4/Z3+ Original Android Development] nailyk:
[MENTION=4522003]DiscMan55[/MENTION] not really.

If after a wipe you have netmgrd working again it is probably a bad service order. Build as -eng to get logcat at earlier stage and don't forget -b radio to debug this, maybe you will find some useful logs.

You can try to start your services by hand with stop netgmrd, start netmgrd for example.

We used strace a lot for shinano. To preserve context a bit of script can help:

DAEMON=netmgrd ; stop $DAEMON && start $DAEMON && strace -s 256 -f -p $(ps | grep $DAEMON | cut -d" " -f3,4,5,6,7) 2> /tmp/$DAEMON

The cut will probably need some adjustments.

Good luck!
[Xperia Z4/Z3+ Original Android Development] SH1M4BD3:
[MENTION=4329876]Olivier[/MENTION] heey man you're really awesome latest build OMS fully suported,i don't know how to thank you for doing such a great job , thank you , so much respect sir
[Xperia Z4/Z3+ Original Android Development] AtlasRedux:
Does this have SafetyNet issues like Resurrection Remix N v.5.8.1 does? Starting to be annoyed not being able to use pay-services.
[Xperia Z4/Z3+ Original Android Development] SH1M4BD3:
Dunno how to test, as am rooted, and also there no android pay services here (Indonesia). But if the root was the issues, you can remove the su binary there's addon flashable zip, which availlable at lineageos.org,

Anyway the rom itself (LOS) are not rooted till you flash su binary provided/supersu.
[Xperia Z4/Z3+ Original Android Development] AtlasRedux:
No, root is not the issue. I have tried full unrooting and tried using Magisk.

The problem is that the bootloader is unlocked, and Magisk doesn't work with RR.

I can't lock the bootloader again, in fear of bricking the phone, which happened to my Z5.
[Xperia Z4/Z3+ Original Android Development] SH1M4BD3:
Then if thats a matter things (androidpay) you should stay on stock and locked BL, as safetynet checking deeper into BL status.
[Xperia Z4/Z3+ Original Android Development] AtlasRedux:
No, that's why we have Magisk.

The question is, again, if this ROM has SafetyNet issues. With or without Magisk.

Please read up on the subject before you reply any more, there are MANY ways to get a clear SafetyNet, even WITH rooted phones.

Also, other LineageOS-versions and CM-version are confirmed to not break SafetyNet, even on root.
[Xperia Z4/Z3+ Original Android Development] SH1M4BD3:
Okay then flash it, try it yourself should that easy to try, when its not worked, just get back to stock
[Xperia Z4/Z3+ Original Android Development] AtlasRedux:
Flashing it means a nightmare of reinstall 100+ apps, and configuring nightmare. I have rooted and Magisk Hide for a reason, I need a rooted device for the tons of custom apps I've both made and use. It's not "just flashing".

It would be a HELL of a lot faster for someone simply to tell me if Magisk works or even is needed.

---------- Post added at 05:17 PM ---------- Previous post was at 05:15 PM ----------

Also, as I clearly said above, going back to stock won't do anything. The problem is that SafetyNet detects that the bootloader is unlocked (and it can NOT be locked again). Switching to stock ROM will NOT fix this issue.

Please read everything before you reply.
[Xperia Z4/Z3+ Original Android Development] SH1M4BD3:
PSA : its alive [MENTION=6491115]Olivier S[/MENTION]eems working on dailly biuilds, it's such a nicest thing i saw on this Devices history..
[Xperia Z4/Z3+ Original Android Development] AtlasRedux:
Dammit, I just flashed the last version, and just now they posted an update XD hehe. Magisk doesn't work in bootloader in the last version, will post if it does here. I'm still gonna stick with this one though, since there's better activity here.

---------- Post added at 09:51 PM ---------- Previous post was at 09:26 PM ----------

Still doesn't support Magisk for anything but root. Other devices have LineageOS working with Magisk on both root and unlocked bootloader, but it's still better and more often updated than RR, so definitely sticking with it.

Pokemon GO works though, but I have a suspicion that was simply due to deactivating USB debugging.
[Xperia Z4/Z3+ Original Android Development] AtlasRedux:
Well, you know, no matter what ... this is still 100x better than Sony's disastrous releases.
[Xperia Z4/Z3+ Original Android Development] pou_gh2:
what is new in this version?any fix for camera app or battery idle?
[Xperia Z4/Z3+ Original Android Development] prasad.asr1978@gmail.com:
I tried this update, but I found that In-Call volume is little low, in outdoors (busy roads) I am unable to hear other person voice.

remaining all looking good, even the camera also good in day light.

Any one had this issue??
[Xperia Z4/Z3+ Original Android Development] SH1M4BD3:
There's newer builds , it might solved your issues
[Xperia Z4/Z3+ Original Android Development] ccxex29:
What do you mean by SEMI-NIGHTLY?

And, can we get detailed changelog on firstpage?
[Xperia Z4/Z3+ Original Android Development] nosiobadx:
Anyone knows how to get into recovery? And this ROM has recovery included? If not from where I need to download it
[Xperia Z4/Z3+ Original Android Development] SH1M4BD3:
Changelog still not inclueded, semi you'll get updates each days just like an official one
[Xperia Z4/Z3+ Original Android Development] SH1M4BD3:
Should we deserves the Official status?? as i feel its really stable ..what was hold us back sir??
[Xperia Z4/Z3+ Original Android Development] DiscMan55:
Does encryption work ? Can you turn it on and reboot and it becomes encrypted ? I tried self-build using this rom device tree and there are some problems with encryption, but got busy and didn't have time to investigate. There are some SELinux failures, and not sure if FBE even supported on this device or not.

For official status there must be no bugs, there's currently a bug with bluetooth calls.
[Xperia Z4/Z3+ Original Android Development] SH1M4BD3:
Will try it and report soon about encryption thing
[Xperia Z4/Z3+ Original Android Development] pou_gh2:
still huge battery draining(to know not eta)ty
[Xperia Z4/Z3+ Original Android Development] AtlasRedux:
Payment apps (deeper SafetyNet) now works on this version on Z3+ with the Magisk update that was just released! V11.5, everything is gooooood! WOOOOO!
[Xperia Z4/Z3+ Original Android Development] ccxex29:
Nightly is a good development sign to this device.. though it's not enough.

With not that many development, It'll probably have a bad future.

First things first, we need to make it more reliable than stock.
[Xperia Z4/Z3+ Original Android Development] SH1M4BD3:
The DRM managements, seems was perfect Sony strategy to hold back their users for rooting and mods their devices prove that lack of devs/discussions for our devices
[Xperia Z4/Z3+ Original Android Development] AtlasRedux:
Have you even TRIED the horrible disaster that is the Sony release?
[Xperia Z4/Z3+ Original Android Development] Seba500PLK:
Can I install on a .376 device with TWRP?
[Xperia Z4/Z3+ Original Android Development] LMcR92:
Yes but do a full back up in Twrp Incase you wish to go back painlessly.

Also make sure you have Twrp 3.1 to avoid any issues.
[Xperia Z4/Z3+ Original Android Development] Seba500PLK:
I have TWRP 3.0.2.0
[Xperia Z4/Z3+ Original Android Development] LMcR92:
Sorry brain fart, i have 3.1 blu_spark TWRP on my other device :silly: Yeah that should be fine :good:

There was a 3.1 update but was pulled there is a 3.0.3 build here https://xdaforums.com/xperia-z4/development/recovery-twrp-v3-0-3-0-encryption-t3564016
[Xperia Z4/Z3+ Original Android Development] Seba500PLK:
I want to make sure before practice

1. Put lineageos and GAPPS to internal storage

2. Go to TWRP

3. Wipe cache, dalvik-cache, system, data

4. flash lineageos and GAPPS

5. wipe cache, dalvik-cache

6. reboot to system

Its all?
[Xperia Z4/Z3+ Original Android Development] LMcR92:
No put the files onto SD card and wipe everything except SD card obviously :silly: and after flashing no need for cache wipe. And if you root stick that between 4-6 if using SuperSu or magisk.

Also do a full backup of current OS just in case you want to switch back easily.
[Xperia Z4/Z3+ Original Android Development] Seba500PLK:
ok, wipe data, system, cache, cache-dalvik, internal storage.

This ROM have custom recovery?
[Xperia Z4/Z3+ Original Android Development] Seba500PLK:
i have a problem

E: Legacy property environment did not initialize successfully. Properties may not be detected.

E3004: This package is for device: E6533, E6553, ivy, ivy_dsds; this device is .

E: uknown command [log]

Updater process ended with ERROR: 7

Error installing zip file 'external_sd/lineage-14.1-20170320-UNOFFICIAL-ivy.zip

Updating partition details...

...done

help me please :(

RESOLVED
[Xperia Z4/Z3+ Original Android Development] UriahNazarian:
Before flashing the rom, i should flash a kernel build 5.11?