yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Android Development] avigyan04:
So that's what I did. And now the file looks like this:

(!less_than_int(1490543118, getprop("ro.build.date.utc"))) || abort("E3003: Can't install this package (Sun Mar 26 17:45:18 CEST 2017) over newer build (" + getprop("ro.build.date") + ").");

getprop("ro.build.product") == "E6633" || getprop("ro.product.device") == "E6653" || getprop("ro.build.product") == "E6653" || getprop("ro.product.device") == "sumire" || getprop("ro.build.product") == "sumire" || getprop("ro.product.device") == "sumire_dsds" || getprop("ro.build.product") == "sumire_dsds" || abort("E3004: This package is for device: E6633,E6653,sumire,sumire_dsds; this device is " + getprop("ro.product.device") + "."););

ui_print("Target: 1490543118");

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/bootdevice/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("ext4", "EMMC", "/dev/block/bootdevice/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/bootdevice/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/bootdevice/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/bootdevice/by-name/boot");

show_progress(0.200000, 10);

set_progress(1.000000);

Is that fine or should I modify some more? And I didn't unzip and zip it. Just dragged and dropped.
[Xperia Z5 Android Development] xlg.smith:
Use the kernel after the boot is still stuck in the start animation, can not enter the system
[Xperia Z5 Android Development] L33Tgod:
nothing more, you can flash it now

---------- Post added at 04:55 PM ---------- Previous post was at 04:53 PM ----------

you have to follow other steps than kernel, flash carbon rom or oliviers lineageos and flash gapps and boot one time, after that wipe everything but DON'T wipe DATA. and then flash this rom and supersu and you are done.
[Xperia Z5 Android Development] avigyan04:
What twrp should I use to flash the ROM? It now ends at unknown error.
[Xperia Z5 Android Development] L33Tgod:
i use zachs kernel .378 as recovery

extracted boot.img from latest zachs kernel and flashed it in recovery partition by : fastboot flash recovery boot.img
[Xperia Z5 Android Development] zebasketteur:
Can we use any zach kernel with your Rom or we have to use the kernel inside download in the first post ?
[Xperia Z5 Android Development] avigyan04:
Error with Play Services

Okay I have managed to install the ROM now but the Google Play Services keep crashing. I cannot sign in to my Google account now. Any help?
[Xperia Z5 Android Development] balrajs99:
Its a bug, dont know why it keeps crashing. Just mute the app when the option comes. You gotta use it like this untill some fix comes. I also had problem, but play store works anyways 90% of the time.

Try again and again logging in, eventually you'll
[Xperia Z5 Android Development] HaoZeke:
Yeah this bug was a huge pain. I thought everything had broken. Weirdly it went away after a "fresh" install. (ie. don't clear data, flash an older working one and then follow the steps to update)

By the way, just a teaser... how do people feel about Uber GCC 6.0 toolchain kernels and roms? Just a placebo or worth it?

I'm investigating battery drain by building without KCAL, LiveDisplay or even the (somewhat better) ims fixes...
[Xperia Z5 Android Development] avigyan04:
There's a lot of battery drain here?? I haven't realized that yet coz I haven't managed to start using the ROM properly. And I do not understand what Uber GCC 6.0 keychain ism unfortunately. :D

---------- Post added at 07:38 PM ---------- Previous post was at 07:36 PM ----------

Initially the issue was logging in with Google account due to apparent server errors but now after installing new play services, it just keeps crashing every time I try to log in. Play Store or any Google service doesn't seem to work. Any workaround for this?
[Xperia Z5 Android Development] L33Tgod:
I can get about 5 hours SOT, it doesn't train much at all, I am on 20170327 build
[Xperia Z5 Android Development] zacharias.maladroit:
Use a newer toolchain than GCC 6.0, there have been quite some rough edges with 6.0,

6.2 (or currently 6.3) should be much better.

Also note that all GCC versions beyond 4.9 have a few regressions compared to it (it's slower in terms of performance for the binary in some cases and others it's a bit faster),

for code quality and correctness' sake the newer toolchains of course are better,

but don't expect too much of an improvement in terms of smoothness, performance, etc.

http://www.phoronix.com/scan.php?page=article&item=gcc-61-debian&num=1

http://www.phoronix.com/scan.php?page=article&item=gcc-7-january&num=1

There were other benchmarks where the regression was more obvious but I currently don't recall them, gcc 5.x was much worse in that regard,

so 6.2 or 6.3 is pretty okay-ish
[Xperia Z5 Android Development] EEERicChey:
hey bro is me again,would u mind tell me how to install ? i flash it and fell into a bootloop
[Xperia Z5 Android Development] balrajs99:
May be if you have read previous replies, you wouldnt have to ask.

Anyways, flash latest lineageOS from Myself 5's thread( If you're not on that rom) , then flash this without wiping data( dirty flash ).
[Xperia Z5 Android Development] EEERicChey:
yep u'r right,but the new problem comes up is ,i cant sycn contact from google....
[Xperia Z5 Android Development] balrajs99:
Google play services has been buggy since the new version came out of this rom, so it might take sometime to settle it down...But if you want to fix that as [MENTION=1964056]HaoZeke[/MENTION] said ...flash an older version of this rom before it got unified then the latest version...it will be fixed.
[Xperia Z5 Android Development] HaoZeke:
In case anyone wants a clean flash version I can upload it... It doesn't have gapps pre installed though.. That actually fixes a lot of issues
[Xperia Z5 Android Development] zebasketteur:
If it's not a problem for you I would like you upload it ?
[Xperia Z5 Android Development] Norup58:
I second this :good:
[Xperia Z5 Android Development] tanksta:
Likewise. Would love to try this rom. :good:
[Xperia Z5 Android Development] kevin.kvik:
Yes, please. Thx :)
[Xperia Z5 Android Development] frabe8378910:
I would appreciate it too. :good:
[Xperia Z5 Android Development] smiley.raver:
i would as well :)
[Xperia Z5 Android Development] HaoZeke:
As requested... A clean flash build.. :)

No gapps or KCAL (or unfinished ims).

All other features included (including some optimizations I forget)
[Xperia Z5 Android Development] nqdan2992:
i flashed sucess but how to boot into TWRP, i pressed VOL - or Vol + but it did not boot in TWRP
[Xperia Z5 Android Development] smiley.raver:
just do it as per normal - turn phone off - hold power & vol - until sony screen shows then release power only

Edit: if that fails try re-flashing twrp to recovery.
[Xperia Z5 Android Development] DerTK:
Yesterday i update to latest Build of your Rom with dirty Flash from olivers lineage-14.1-20170326-UNOFFICIAL-sumire.zip

Everything work very smooth but my Substratum Themes (Swift Dark or Spectrum) dont work.

I have no error when i Install the themes but after Restart nothing change. In the /system/overlay folder are the Dark Swift apks visible so i think the installation work without problems. I dont know why they dont work. I have the latest Version of Substratum, Spectrum and Swift Dark.

- I clean the cache and data of sustratum, deinstall it, restart, install it again - NO CHANGES

- reinstall Swifty Dark and Spectrum. No Changes

- Clean cache and Dalvik Cache. No Changes

When i start my device there is a massage "org.codeaurora.ims has finished". Is that the Problem?

Thanks for this good Rom. :)
[Xperia Z5 Android Development] HaoZeke:
Try a clean flash with the new one.. That's what I'm using.. I might upload a battery fixed one when it's ready..
[Xperia Z5 Android Development] nqdan2992:
How to reset all on my phone,,,??? not use TWRP
[Xperia Z5 Android Development] EnesSastim:
Settings>Backup&reset>Factory data reset

Btw if u want to delete system, the only way is twrp i think.
[Xperia Z5 Android Development] Mr. Cube:
Is it possible to use Viper4Android? I tried it a few times but every time it says Driver Status: Abnormal

Also after flashing latest clean build with Open Gapps Pico some Apps (mostly Google Apps) did crash after opening. I did dirty flash it over 2017-03-29 build
[Xperia Z5 Android Development] HaoZeke:
Use the Magisk module for it..

From the CLEAN version onwards Gapps have not been preinstalled so you'll need to install the arm64 opengapps...
[Xperia Z5 Android Development] HaoZeke:
New build out with fixes for the battery (due to FPC).

Features:

[*] Basically the battery fix.

[*] Updated device trees.

A SOT of 8-10hrs is expected now.
[Xperia Z5 Android Development] Mr. Cube:
Ok, tried the Module before but it's not showing up after reboot

My fault, i installed Open gapps after first reboot
[Xperia Z5 Android Development] anjelz2012:
work in e6853?
[Xperia Z5 Android Development] HaoZeke:
Yes
[Xperia Z5 Android Development] anjelz2012:
what kernel?

---------- Post added at 01:22 PM ---------- Previous post was at 01:21 PM ----------

thanks
[Xperia Z5 Android Development] HaoZeke:
They're unified builds... One rom for both device types.. Please read the op
[Xperia Z5 Android Development] Pixel Power:
[MENTION=1964056]HaoZeke[/MENTION] Just installed this and its my first foray into a AOSP style rom, is there any easy way to change the top bar to a more stock MM looking one? (systemUI?) thanks
[Xperia Z5 Android Development] HaoZeke:
I think you might find a substratum theme to do that...
[Xperia Z5 Android Development] Zaisesl:
Hi, is ambient display working in this build? The battery is that improvement? 8-10 hs sot?

I m going to flash right now

Edit: ambient display is not working for me. About battery i have to do some tests and report back.
[Xperia Z5 Android Development] Pixel Power:
Ok ill check that out, cheers.
[Xperia Z5 Android Development] anjelz2012:
No work in e6853, bootloop after installing
[Xperia Z5 Android Development] _delice_doluca_:
But what he asks is whether it works on Z5 Premium? The OP doesn't say anything about it? Like most Z5 Premium owners I also follow Z5 topics too, as thy are at least getting same decent amount of development. Premium forums are like pure emptiness..

So, can we flash this on Z5 Premium?

Please say yes..

Please say yes..

Please say y..

Please sa..

Please..

Ple..

...

.
[Xperia Z5 Android Development] HaoZeke:
Oh I'm so sorry.. My mistake... No it's not for satsuki yet... However I could maybe build it next week... I have midterms this week
[Xperia Z5 Android Development] HaoZeke:
Could you try with the regular lineageos kernel?
[Xperia Z5 Android Development] HaoZeke:
Ambient broke only in this build?
[Xperia Z5 Android Development] Zaisesl:
I tried in another build, i cant remember which one.. And it wasnt working too

The fingerprint is working perfect even better than stock
[Xperia Z5 Android Development] HaoZeke:
KCAL enabled bootimage.

Use this with the latest install for battery benefits.
[Xperia Z5 Android Development] :
Flash with fastboot?
[Xperia Z5 Android Development] msch88:
nfc question

Hi, first of all thanks for this work!

I got this rom working on my e6683 one day ago and just tried to use NFC-Tags.

Stock Rom detecked them and gave me a message like "i found some nfc stuff".

Just tried to find the tage but no response, no message. On like Page 14 someone mentioned about NFC in this rom so i would guess it should work, shouldn´t it?

may i forgot to flash something...?

can someone give me theyer experiance about nfc and this rom?

regarts
[Xperia Z5 Android Development] _delice_doluca_:
Not many people in Z5 Premium forums but all of them would thank you :)

Good luck with your exams!
[Xperia Z5 Android Development] klemen241:
wut is this
[Xperia Z5 Android Development] HaoZeke:
Yup
[Xperia Z5 Android Development] HaoZeke:
This is for those who use kcal... The zip version doesn't include it but if you do want it you can fastboot that boot image after extracting it.
[Xperia Z5 Android Development] Zaisesl:
It will give more battery or will drain faster?
[Xperia Z5 Android Development] L33Tgod:
Latest version is beast mode !!!
[Xperia Z5 Android Development] klemen241:
yea i am confused too, posts says for battery benefit, but first post says it dains battery

---------- Post added at 08:56 PM ---------- Previous post was at 08:50 PM ----------

is sunkernel better or stock on new version?
[Xperia Z5 Android Development] L33Tgod:
For now stock kernel is better, because sunkernel doesn't support fingerprint
[Xperia Z5 Android Development] HaoZeke:
Actually kcal was a suspect for battery drain.. However the major drain was a bug in fpc which was fixed...

Some users really like kcal so I made a modified boot image with the fpc patch and kcal...

If their battery responsive is positive I'll add kcal back to the next release...
[Xperia Z5 Android Development] EnesSastim:
How's the battery life?
[Xperia Z5 Android Development] HoiFung:
What is KCAL? Can I clear the installation now?
[Xperia Z5 Android Development] EDGN:
For me its pretty good! Yesterday i was able to get about 5,5h SOT which is Pretty good. The best Result ever on my Z5 with an early Version of SlimX (Stock based MM) was about 6.5-7 SOT. So i dont know how to achieve 8-10h SOT but nevermind, i always charge my Phone at night AND i have a life ;)
[Xperia Z5 Android Development] klemen241:
Flashed yesterday, its super fast and the fingerprint reader works like 50x times better and faster than on stock lol, didnt have error about reading once in 24 hours, and you dont even need to press power button to unlock. Cant say about battery yet, but i use stuff like greenify and leandroid to save battery in sleep.
[Xperia Z5 Android Development] L33Tgod:
KCAL is changing screen colors like saturation intensity and that , and you can do clean install now, but you have to flash gapps manually.
[Xperia Z5 Android Development] peddy2k:
I love your rom! Thank you! How can i enable VoLTE?

Gesendet von meinem E6653 mit Tapatalk
[Xperia Z5 Android Development] HaoZeke:
Sadly that's still not completely fixed yet..
[Xperia Z5 Android Development] klemen241:
Can someone help me? When it goes to deep sleep FPS goes offline and wont wake up when phone wakes up. I am using greenify and leandroid

scratch that, it says too many attempts even before i try to unlock it, any idea?
[Xperia Z5 Android Development] tanksta:
Awesome ROM. Did clean install and everything works. Fingerprint scanner is quick, issue with quick battery drain though. Is the issue fixed in newer dirty flash build?

Thanks.

---------- Post added at 08:36 PM ---------- Previous post was at 07:47 PM ----------

one more thing, installed addonsu-arm64-signed.zip with twrp for SU, it doesn't seem to work..
[Xperia Z5 Android Development] nqdan2992:
1. i flash addonsu-arm64-signed.zip

2. Then flash Super SU 2.97

It works perfect
[Xperia Z5 Android Development] findbuddha:
Is anyone having any luck passing SafetyNet verification with this ROM? I'm interested to know which root method you are using. Magisk isn't passing for me.
[Xperia Z5 Android Development] L33Tgod:
No need for addonsu, just supersu is enough
[Xperia Z5 Android Development] zebasketteur:
Please can you say us how ? I use Lspeed and greenify and the battery is good but i have only 4h SoT ...

What settings use you ? What battery app use you ?
[Xperia Z5 Android Development] EDGN:
This hardly depends in your usage. U cant just See the SOT only, it matters what you do with your Phone while Screen is on. For example when i play games and look some Videos and so on i get less SOT l.
[Xperia Z5 Android Development] zebasketteur:
I know that but i only text and surf inside newspaper's app.

I watch only 20/30 min YouTube and i have 4h sot ...
[Xperia Z5 Android Development] DroidDavid:
Just to be sure

Hi. I'm kinda new to the modifying of droids. I've had one since ever having a phone, but just got into tweaking them.

I just want to be sure I'm doing this right becasue sometimes the boot image is attached to the zip file or include in the package but I'm assuming we download

it separately here, right? I'm only guessing since I see it located by itself in the dl list. Also, this IS the kernel too right? Or do I have to download that as well somewhere?

I had an image but it's not taking them I guess. Basically the download screen, all the builds and the boot image. I would take the top build as it's newest and the boot image?

Also, flash twrp from that source after flashing the gapps?

In fact what is the order? Rom, then Gapps, then Boot (if we use that boot file) and then finally TWRP?

And and to verify, ARM... 64?

And Magisk doesn't have to be flashed I think but just gotten in the play store provided this Rom is already rooted?

Thanks for your help in advance. I appreciate it. :) I've had a ton of issues with other lineage 7.1 builds and issues with error 7 . I've rewritten updater scripts to no avail, deleting the asserts and nothing . This is the last one I'm trying as it sounds the coolest anyway. :) Thanks again.
[Xperia Z5 Android Development] calvinerico:
sorry guys for a newbie question. i've tried installing this ROM by wipe everything and flash the ROM, but why am i getting a bootloop? can someone please tell me how to flash this rom?
[Xperia Z5 Android Development] klemen241:
i have same problems, just using facebook the battery goes to hell in 1 hour. Something is draining
[Xperia Z5 Android Development] frabe8378910:
[MENTION=1964056]HaoZeke[/MENTION]: Do you have any information, if there is an expected time frame when encryption could work on Z5 LineageOS 14.1? Thanks a lot.
[Xperia Z5 Android Development] tanksta:
i am using clean version of this rom with greenify and leandroid with pretty much the basic settings and getting decent battery life. Its not the same as the slim rom but doesn't drop like it used to without greenify and leandroid.

i hear there are fixes for battery life coming soon, hopefully there will be another clean version with those fixes.. :D

---------- Post added at 08:23 PM ---------- Previous post was at 08:11 PM ----------

if you are wiping everything install the clean version of this rom.

else you have to flash some 7.1 rom and then flash this without wiping data. wipe cache, system and dalvik but not data.
[Xperia Z5 Android Development] klemen241:
yea i have both of them too, its strange, because in settings it shows nothing eating battery
[Xperia Z5 Android Development] tanksta:
sorry mate, there are too many questions here..

twrp is recovery, it needs to be on first. you need this to effectively flash and backup roms.

rom, root and gapps is how i do it. doesnt make it right..

---------- Post added at 03:44 AM ---------- Previous post was at 03:41 AM ----------

i read earlier on this thread that there was some issue with crashes in the background and that it was fixed.. fixed in which build i don't know. :eek:

someone more knowledgeable please help us. .. thanks ! :good:
[Xperia Z5 Android Development] sirdoha:
Sorry for my noob question. But how can we update the ROM? Via OTA or flash via TWRP?

I haven't use your rom before. Since it supported Finger print, I want to give it a try :)

BTW, could you show me how to install this ROM?
[Xperia Z5 Android Development] klemen241:
16 hours of battery in settings, and i am not even using anything -.-
[Xperia Z5 Android Development] zottel1993:
what about bt calls (sound). i have seen this https://jira.lineageos.org/browse/BUGBASH-83.

it says the bug is fixed (maybe not for z5..). Can anyone confirm ?
[Xperia Z5 Android Development] tanksta:
Are you using the latest dirty flash build?
[Xperia Z5 Android Development] peddy2k:
My battery is also not the best. 3h 41 awake (screen off) and 21 min screen on and my battery lose 49%!
[Xperia Z5 Android Development] klemen241:
yes latest, i came from romx
[Xperia Z5 Android Development] CaeLum764:
Hi [MENTION=1964056]HaoZeke[/MENTION], does the built in kernel have backlight dimmer like your pixn kernel?
[Xperia Z5 Android Development] findbuddha:
I'm also keen for BT calls fix, but unfortunately that bug refers to BT audio (eg music) which AFAIK has not been an issue on this ROM.
[Xperia Z5 Android Development] HaoZeke:
Not yet... I'm keeping the kernel very close to stock for now..
[Xperia Z5 Android Development] HaoZeke:
The newest versions can be flashed clean from twrp...

You'll need open gapps and whichever supersuser zip you want as well (I use Magisk)

If you want to test kcal (which is working well too, will be included in the next release) you need to fastboot the extracted boot image zip I posted a while ago...
[Xperia Z5 Android Development] HaoZeke:
Not yet... Which is strange. Can't figure out why yet.

I doubt any other method passes safetynet
[Xperia Z5 Android Development] shahidaffan:
Does Volte is working on DSDS(E6683)??
[Xperia Z5 Android Development] HaoZeke:
The VoLTE patches will be tried again next week.. I have exams going on now ?

LTE works perfectly though (so jio sims are working)
[Xperia Z5 Android Development] sirdoha:
Thanks bro for your speedy response ^^

BTW, do any bro know how to install Sony Walkman Music app for CM/LineageOS with working DSEE HX? Anyone tried this: https://xdaforums.com/android/software/mod-xperia-x-premium-walkman-clearaudio-t3373553 ?
[Xperia Z5 Android Development] shahidaffan:
M Waiting:D
[Xperia Z5 Android Development] klemen241:
i will test it and report back

walkamn is installed, but i see no settings for DSEE HX or anything from sony. Maybe its integrated
[Xperia Z5 Android Development] R00t911:
Hello, does apt-x work?
[Xperia Z5 Android Development] sirdoha:
Yeah. Looking forward to your report ;)

btw, which camera app are you using with Lineage OS? Mine use HTC Camera, which gives quality quite similar to the stock Sony one
[Xperia Z5 Android Development] klemen241:
just stock one, i dont use camera alot (yea ironic lol) so its not important to me haha
[Xperia Z5 Android Development] HaoZeke:
Hey, so there's a new build out with the following changelog:

[*]Fixed BT in call audio

[*]Built with UBER Toolchain (gcc)

[*]Some kernel updates and patches for stability

[*]More FPC battery tweaks

[*]KCAL is back as a feature

I guess everyone ought to get this but I'll be updating the device blobs for the next build (I don't expect too many changes for the next IMO, maybe some optimizations)

By the way I've started accepting donations for this as well.

[I might throw a test build together for satsuki, alpha testers please PM me]
[Xperia Z5 Android Development] sirdoha:
Thanks for the update. Is it a dirty-flash update or a clean install one?