yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Original Android Development] korom42:
EDIT : Problem solved just grab any custom ROM and flash it and you ready to go I used slimX

----------------------------------------------------------------------------------------------------------------------

I want to try stock sony nougat downloaded latest .378 but phone is not detected in flashtool I guess I keep getting this error

tried both latest Nougat .378 and MM 5.11 same error
[Xperia Z5 Original Android Development] Soufiansky:
Who is running this ROM ?
[Xperia Z5 Original Android Development] findbuddha:
Did you have any particular questions?
[Xperia Z5 Original Android Development] Soufiansky:
Yes i want to know some stuff
[Xperia Z5 Original Android Development] Push3r:
Here :victory:

I´ m runnung this LineageOS since Myself5 release it for us (Big Thank`s tooo Myself5)....

For me its running fine :D
[Xperia Z5 Original Android Development] SCERY:
no wifi
[Xperia Z5 Original Android Development] Sh4douw:
I'm running this ROM too on my E6633 (Dual), since 4 days.

It's perfect ! Like the first post says it, there is no LED notifications and no fingerprint scanner. Hope those features will be operationnal soon, and it will be definitely the best ROM :D

Great work !
[Xperia Z5 Original Android Development] balrajs99:
Try this It has fixed LED light.
[Xperia Z5 Original Android Development] EnesSastim:
Is there a rom that is nougat and has fingerprint and camera working?
[Xperia Z5 Original Android Development] Phantasm4489:
Any ideas why this doesn't work for me? I've tried reflashing the TWRP to the recovery partition using fastboot and I've even tried updating using flashtool to stock nougat to ensure bootloader is updated. It still refuses to go into recovery using Vol down and power :(
[Xperia Z5 Original Android Development] s.hossein:
Just stock Sony nougat.
[Xperia Z5 Original Android Development] EnesSastim:
Stock sony is a f*ckin sh*t
[Xperia Z5 Original Android Development] findbuddha:
Are you pushing the buttons simultaneously? It won't work for me if I push vol down first.
[Xperia Z5 Original Android Development] Sh4douw:
I did the same process than you.

But I can't go into the recovery, even with the adb command. Anyone has an idea ?
[Xperia Z5 Original Android Development] EDGN:
Just found the Solution. Thx to [MENTION=4675598]shoey63[/MENTION]

https://xdaforums.com/showpost.php?p=71336702&postcount=946

Just flash it with fastboot command "fastboot flash recovery recovery.img"

Worked for me & now i am finally able to use Magisk :)
[Xperia Z5 Original Android Development] Phantasm4489:
worked for me too.
[Xperia Z5 Original Android Development] Sh4douw:
Just tried it, don't work either... Really, I don't understand why :(
[Xperia Z5 Original Android Development] Myself5:
I updated the OP to include [MENTION=4329876]Olivier[/MENTION]s Lineage builds for sumire. They are built using the latest sources, so the only remaining issue so far is the non working FPC.
[Xperia Z5 Original Android Development] zacharias.maladroit:
How do you get root for e.g. Titanium Backup ?

What do you need to install ?

There's only root for adb under Developer Settings :confused:
[Xperia Z5 Original Android Development] diemadedrei:
Could someone please tell me what to do to update to the new builds? I installed the first build (I think) by flashing the recovery to the fota partition as advised somewhere. Should I do this again? Will I have to wipe for that? Tried installing the cm TWRP to the recovery partition but I can't access it somehow.
[Xperia Z5 Original Android Development] Klaus N.:
I guess you've to flash the arm64 one from here: https://download.lineageos.org/extras
[Xperia Z5 Original Android Development] zacharias.maladroit:
it's outdated but the su binary is clearly there !

Superuser app is installed and from there, also you can choose "ADB only" - the other options are there, but when selecting - nothing changes :confused:

Is LineageOS really becoming a sort of nanny ROM - deciding what is best for the developers (or users) ? :eek:

edit:

https://review.lineageos.org/#/c/154019

ah - that seems to explain why you need to install it :cowboy:
[Xperia Z5 Original Android Development] goRt:
Does that mean Bluetooth in call is fixed too? (Does it also work on carbon?)

Thanks
[Xperia Z5 Original Android Development] sceryavuz:
[MENTION=3816568]Myself5[/MENTION] thank you for informing us Olivier's build.

[MENTION=4329876]Olivier[/MENTION] thank you for update LineageOS newest build for Z5. What about dsds. update-script will pass but boot.img and build_prop only for E6653.

[MENTION=3037651]zacharias.maladroit[/MENTION] thank you for the SunKernel build for LineageOS.

I am asking all of you :)

What about proper TWRP build?

I tried many times, I can't find a build that works without any issues. Could you build a TWRP for LineageOS?
[Xperia Z5 Original Android Development] Myself5:
+1 Week.
[Xperia Z5 Original Android Development] Gewiz:
already tried this one?

https://xdaforums.com/crossdevice-dev/sony/twrp-3-1-0-z5-z5c-z5p-t3571050
[Xperia Z5 Original Android Development] zacharias.maladroit:
Listen folks & learn:

the more often you ask - the more it WILL be delayed :D
[Xperia Z5 Original Android Development] sceryavuz:
Interesting, why this is not in Z5 thread. Thanks for share..

Z5, Z5C, Z5P have different fstab, so how does it work for all?

And no description on thread, LineageOS and Stock has different partition table..

---------- Post added at 06:49 PM ---------- Previous post was at 06:47 PM ----------

I stop asking that, be faster :D :D :D
[Xperia Z5 Original Android Development] Gewiz:
Thats the reason why there are 3 different image files to download.

Sorry, but i don't get it. What shouldn't work for lineage exactly?

Have you even tried?
[Xperia Z5 Original Android Development] sceryavuz:
I'm actually afraid of softbrick :rolleyes: I did before.. Reflash ftf and install all apks organise accounts etc. takes so much time.

If you confirm that works with LineageOS, I will try..
[Xperia Z5 Original Android Development] stipi69:
works great :) thank you great work
[Xperia Z5 Original Android Development] Mr. Cube:
Hello, well as a noob i have a few questions:

1. Wich TWRP i should use? I have a E6653 with latest Nougat Stock Rom.

2. Do I need phh's superuser/SuperSU for root or only this https://download.lineageos.org/extras?

3.OpenGAPPS are integrated or flash manually?

I'm now 2 years on Stock Rom, really want to try a Custom Rom and this sounds very nice.

thx
[Xperia Z5 Original Android Development] EDGN:
1. A few posts ago i provided a link to twrp 3.1 - you should try it

2. Just Flash magisk and install magisk app / u can install The extra too. Bozh solutions should give u root

3. You need to Flash opengapps manually.

Hope i can help :)
[Xperia Z5 Original Android Development] Mr. Cube:
Thanks man! I'll try it out tomorrow
[Xperia Z5 Original Android Development] Gewiz:
I see no reason why it shouldn't, but since i don't have the same device as you, i can't assure you that it will work. But if you do everything the right way, there should be no risk cause you are only flashing FOTA partition which is not needed for your device to run.

However in the end it's your decision if you try and risk your phone to brick.
[Xperia Z5 Original Android Development] sceryavuz:
Nope, flashing wrong recovery will cause softbrick. It brokes partition tables.. Flashing FTF is the only solution for me :/

I looked your profile, you have Z5C. Why you be there in the first place?
[Xperia Z5 Original Android Development] Gewiz:
:laugh:Why not? Am i not allowed to in your opinion?

Just wanted to help you. Take it or leave it
[Xperia Z5 Original Android Development] stipi69:
I formatted my 64 GB sandisk with ext4 and phone recognized it, windows would not... Is there another filesystem that cuts both?

Ouh, phone did not managed to format it by itself so I did it with partition magic
[Xperia Z5 Original Android Development] langeveld024:
Just flash fotakernel.sin only if a recovery.img gets your device soft bricked.

No need for a full ftf in that case.
[Xperia Z5 Original Android Development] Myself5:
Different fstab? https://github.com/LineageOS/android_device_sony_kitakami-common/blob/cm-14.1/rootdir/fstab.qcom

The fstab is the exact same across all kitakami devices.

There is no different partition table either. It's impossible to reformat the eMMC to change the partition table with an AOSP ROM install, as it would require reflashing EVERY partition (one of the Reasons why a ftf is multiple GB and a Lineage build is ~500MB).

We're at mid April so far.

It's getting later and later. Ain't that funny?

He's helping you, lol. The devices hardware differences are so small, basically irrelevant. So instead of being mean to him, you should probably accept his help.

Your passive agressive appearance will neither help yourself getting help, nor will it speed up any development.

Basically any other non ext[2,3,4] Filesystem :D NTFS and exFat are both supported by Lineage. I'm personally recommending exFat as it works with every OS and other than NTFS is designed for usage on Flash storages (like your SDCard).
[Xperia Z5 Original Android Development] sceryavuz:
So you say, we are able to use this recovery for stock and aosp roms, Right?

https://xdaforums.com/xperia-z5/development/twrp-3-0-2-cm-aosp-roms-t3373008
[Xperia Z5 Original Android Development] technoidabhi:
OTA updates?

Does this ROM get OTA updates?
[Xperia Z5 Original Android Development] sceryavuz:
Not officially supported by LineageOS, so not provided ota by LineageOS. Dirty install .zip after a release..
[Xperia Z5 Original Android Development] technoidabhi:
ETA on Fingerprint functionality (+camera question)

Is there an ETA on fingerprint functionality? also does the original Sony Camera software work?
[Xperia Z5 Original Android Development] findbuddha:
Fingerprint: probably not yet and best not to hassle devs about ETAs.

Sony camera app would require the Sony ROM frameworks not just the kernel and blobs. Unlikely to happen with an AOSP based ROM.
[Xperia Z5 Original Android Development] technoidabhi:
Need a step by step because I'm a noob

Hello, I just got my device out of bootloop due to loads of things i did wrong.

I have my z5 with its unlocked bootloader running stock software. Now what?

Where can i find a twrp that works, and what files do i need to flash before the rom???
[Xperia Z5 Original Android Development] Andromeda 90:
Download the latest update of LineageOs from here.

Once downloaded the Rom.

Use 7-zip or Winrar, to edit the updater-script [Do not extract]

I repeat not extracting.

Go to META-INF/com/google/android/ and edit here with Notepad ++ or notepadqq on Linux.

Delete the next line.

(This if there are problems with the flash of the Rom.)

(!less_than_int(1490438106, getprop("ro.build.date.utc"))) || abort("E3003: Can't install this package (Sat Mar 25 11:35:06 CET 2017) over newer build (" + getprop("ro.build.date") + ").");
assert(getprop("ro.product.device") == "E6633" || 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") + "."););

Update the script, saving changes. Download Gapps here.

[Arm64] 7.1 (Nano or Pico)

Pass both to the SD card.

Now download SunKernel from here. (Download the correct one.)

Extract the kernel, to flash the boot.img using fastboot. (Extract the kernel, to flash the boot.img using fastboot. This should be in the folder where fastboot is.)

Terminal or CMD introduces the following.

fastboot boot boot.img

Now connect the device by pressing volume up.

Wait for the kernel to flash.

When restarting the terminal, press the volume up button again to enter the recovery.

All that remains is to flash the Rom together with Gapps, and enjoy.

I did not want to go into much detail with this, I just wanted to guide him a little. :D
[Xperia Z5 Original Android Development] Mario116:
Hello,

I install LineageOS on my E6683 (dual sim) with instructions by @sceryavuz

But phone does not see a sim card (tried in the first and second slots)
[Xperia Z5 Original Android Development] sceryavuz:
You have to use old Myself5 build : https://dl.myself5.de/sumire/LineageOS/

Olivierk build not support dsds yet : https://dl.olivierk.at/sumire/lineage-14.1/

Download build-prop and change with /system/build-prop on zip.

https://xdaforums.com/showpost.php?p=70581633&postcount=63
[Xperia Z5 Original Android Development] Myself5:
Neither does mine.

There was a post where I explained what you manually need to do to get the properties set. No need to flash the dsds boot.img on Oli builds as those already have the unified boot.img.
[Xperia Z5 Original Android Development] sceryavuz:
Answer Mario116 not to me..
[Xperia Z5 Original Android Development] Myself5:
You really want to piss me off, don't you?

I trust in Marios competences to read.

Oh and in case you still didn't understand: A Recovery is, as the name implies, supposed to recover your system. In order to archieve that it's system independent. The only reason this was listed as system dependent was the existence of init sony (as our crippled bootloader didnt support booting straight to the recovery back when the phone was released). The Stock kernel devs were using a horribly outdated init_sony variant, which was not compatible with the new init_sony recoveries so there was the need to have different recoveries. All that is solved with the new bootloader though.
[Xperia Z5 Original Android Development] sceryavuz:
I did not want to answer me. Mario ask some question and you just ignore it. "phone does not see a sim card (tried in the first and second slots)"
[Xperia Z5 Original Android Development] :
LED notification works in the new build?

Sorry for my bad English
[Xperia Z5 Original Android Development] ReversedPosix:
Headset is rustling. And today electricity from the headset. The phone is slowing down while doing something and music is slowing.
[Xperia Z5 Original Android Development] Myself5:
Yes

Can you provide some more information please? Like what Music player you used, where was the music stored, what format was the music in and so on.
[Xperia Z5 Original Android Development] ReversedPosix:
I'm using spotify. But It's the same on eleven. Spotify stored music on /sdcard. And my music stored on externalsdcard and music format mp3. Annoying. I think that the problem is related to the kernel. No problem after flashing the Haozeke Lineage's kernel. This kernel (Haozeke' lineage's kernel) does not work sim card on your build.
[Xperia Z5 Original Android Development] Mr. Cube:
First of all, great Rom. Didn't notice any Problems exept when looking in Flashify it says Stock Recovery is installed and not TWRP. Can i use Flashify/Fastboot and reinstall TWRP 3.1.0?

Thx, great work so far
[Xperia Z5 Original Android Development] Myself5:
Hum ok. Can you try using the latest build from Oliviers downloads? Those are newer and should be on the same patchlevel as Haozekes builds. Would be glad if you could test those and see if the error persists.

Yup, thats absolutely no problem.
[Xperia Z5 Original Android Development] ReversedPosix:
There are already olivier's builds of these problems. I made clean install 2 times (Olivier last build). I was an electric bang 2 times by headset.

These problems are in olivier's build. Not in Haozeke's build.
[Xperia Z5 Original Android Development] Push3r:
Hy all,

Very cool the Lineage builds :)

2 Things there i have problems:

for me in Olivier last build 20170316 the video player is broken....Cant play any Videos... (befor 20170316 player working)

Bluetooth and my Car Stereo not working, bluetooth connecting to Radio is ok, but no sound or phoning.

Its just a Info, I found no other errors.

Lineage my daily driver :good:
[Xperia Z5 Original Android Development] zacharias.maladroit:
Default battery runtime kind of sucks since the ROM in its basic config doesn't seem to enforce apps sleeping aggressively

but there are 2 ways to remedy that:

root the phone, install Greenify, Naptime (or similar) and enable aggressive doze ["aggressive doze" mostly is a good idea]

use Privacy -> "Privacy Guard" -> "Advanced"; under "Location" revoke "Wifi Scan" permission for Google Play Services, under "Device" revoke "Keep awake" for e.g. Playstore, PowerAMP and apps that don't necessarily need it, under "Background" revoke permissions for e.g. apps that you only use when the screen is on (Google Play Movies & TV, etc.)

That way battery runtime will significantly improve

For the higher default screen brightness: For now e.g. use "Screen Filter" app, that should reduce power consumption.

So whereas before battery was 40-60% of (Sony) stock ROM with high occasional drain, it's now much closer.

Also there are HMP CPU / cluster scheduler related changes which I'm currently testing that should significantly lower power consumption by NOT placing the apps on the big clusters most of the time,

this is currently still in testing / experimentation phase but also seems to help much without any smoothness, etc. loss
[Xperia Z5 Original Android Development] goRt:
Thanks for useful, fact based feedback.
[Xperia Z5 Original Android Development] Ayriksa:
Mhl and otg

Mhl and usb otg not working
[Xperia Z5 Original Android Development] sceryavuz:
Thanks for testing and informing us.
[Xperia Z5 Original Android Development] Olivier:
See this post.
[Xperia Z5 Original Android Development] Mr. Cube:
Can I flash latest Olivierk build (2017-03-18) over an older build (2017-03-15) without wiping Data?

Do I have to reinstall Magisk again?

thx
[Xperia Z5 Original Android Development] balrajs99:
Yes.
[Xperia Z5 Original Android Development] DerTK:
/System/Build.prop

Go to

#Do not try to parse description, fingerprint, or thumbprint

Add

ro.usb_host=1

--> save it

--> shut down

--> put in your usb otg and restart your device

After reboot my usb is showing in ES Datei Explorer
[Xperia Z5 Original Android Development] HaoZeke:
One off topic quick question... What's the new source for the vendor blobs? DonkeyCyote is for aosp and TheMuppets hasn't got the z5...

I know we could pull them from the device directly but are you using any repo?

EDIT: I'm just being lazy, I'll reflash stock and pull blobs.

If anyone is interested I could upload them too.
[Xperia Z5 Original Android Development] unsbamir:
i wish z5p forums were more active like z5... wish there's a stable/semi 7.1.1 rom for E6853/E6883 too soon.. ?
[Xperia Z5 Original Android Development] s.hossein:
Yes after flashed rom, I flashed dsds boot.img. I think the dual sim setting overlay need too for dual variants.
[Xperia Z5 Original Android Development] MichaeldotCN:
i cant reboot into recovery even reflash many times , whts wrong witn it ? any one else have same problem ?
[Xperia Z5 Original Android Development] Bronnel:
I just wanted to let you know fm radio is also not working
[Xperia Z5 Original Android Development] s.hossein:
I tried too for recovery but not success.
[Xperia Z5 Original Android Development] sceryavuz:
What TWRP you used? for CM or for STOCK

Try that : https://xdaforums.com/xperia-z5/development/twrp-3-0-2-cm-aosp-roms-t3373008
[Xperia Z5 Original Android Development] Myself5:
Damn you're actually right. I guess that will require someone to actively work on the Z5 then.

Init_sony is not implemented yet.

What is everyones obsession with FM Radio these days...

I'll look into it.
[Xperia Z5 Original Android Development] timmygadget:
Loving this rom, been waiting for a stable aosp with a good camera, thank you ☺️
[Xperia Z5 Original Android Development] zacharias.maladroit:
Looks like support is not compiled into the Kernel yet (it's not in the config)

unless you're of course using a config differing from upstream LOS repo.

If the config options haven't changed the following should be needed:

CONFIG_BT_PROTOCOL_DRIVER=y
CONFIG_LINE_DISCIPLINE_DRIVER=y
CONFIG_V4L2_ANT_DRIVER=y
CONFIG_V4L2_FM_DRIVER=y
[Xperia Z5 Original Android Development] sceryavuz:
Prerooted or not?

I will flash this. Then flash gapps. If twrp gone, root needed to reflash without PC.

Edit: My device is E6633.

Yes it has ROOT.

Open developer settings, you will see on there.

I edited "updater-script" to eliminate some errors, changed boot.img file to boot_dsds.img in zip. Settings overlay required for dual sim options. SIM1 working.

Full wipe, reboot recovery, install edited lineage os zip, install opengapps. Lineage OS is perfect, very smooth and superb fast. TWRP gone, but I could not reflash with Rashr or Flashify with root access. They freeze..

Reflashed customized boot img which contains TWRP via fastboot, then restored my backup. I will wait more time for stable release..
[Xperia Z5 Original Android Development] HaoZeke:
Edit:- Posted by mistake. Please delete.
[Xperia Z5 Original Android Development] agentsandy007:
Screens!
[Xperia Z5 Original Android Development] L33Tgod:
It looks like every aosp nougat rom, just google it.
[Xperia Z5 Original Android Development] stipi69:
Is this heritage of cyanogenmod of anysort? ? Lynage OS?

Curious because cm restructured so sudenly and i heared about this

Great job, sd card needs anny special format prior using?

Will try!
[Xperia Z5 Original Android Development] langeveld024:
What exactly did u change in updater script? I'm trying to get this running as secondary in multirom but I get an error right after it patches the system image.
[Xperia Z5 Original Android Development] sceryavuz:
I dont know what exactly do in multirom. Open script and check "and" - "or" conditions. 2 scripts run after installation, check them also. ".sh" files.

Edit: I looked at multirom thread. This should have specific kernel for multirom. Maybe boot.img is the problem!? I think your installation problem caused by kernel.
[Xperia Z5 Original Android Development] jaffry:
ROM works great. Pictures are sweet. Very brisk overall.

What doesn't work so good - Bluetooth calls don't work in my car. (Will test some more.) Whenever I 'adb reboot recovery', the phone reboots weirdly back to system. When I clear cache/dalvik, phone settings are gone.
[Xperia Z5 Original Android Development] sceryavuz:
TWRP was gone with this ROM. You have to flash again twrp included stock boot.img, if you want to restore system backup or try other roms.
[Xperia Z5 Original Android Development] hegezolee:
First of all, thanks. What an amazing rom. I've been using it since Friday and I only encountered one Google Maps (maybe GPS) related problem. It doesn't happen every time I open the program, but once in a while when I'm navigating, turning on Maps or sharing location on whatsapp, it crashes my phone and it force reboots. Thank God the reboot time on this awesome rom is only about 15 seconds. The camera btw is super. Starts up in record time and is able to snap pics back to back at a good speed.
[Xperia Z5 Original Android Development] xtraspicey:
and if I am still running Myself5's rom, can I flash Olivier's new nightlies?
[Xperia Z5 Original Android Development] TonskuDaigle:
That's what I did without even thinking and no problem :D
[Xperia Z5 Original Android Development] Sh4douw:
For those who have a dual SIM device, how did you update your ROM with the Olivier's nightlies ?

With a dirty flash ? The last time I tried it, my E6633 stayed stucked on boot animation...

If the updates are compatible with the dual variant, please tell me how you made it work :)
[Xperia Z5 Original Android Development] Myself5:
Short anouncement: After spending all day yesterday with [MENTION=1964056]HaoZeke[/MENTION] on fixing the DualSIM support we finally managed to get it to work. The sources are updated, and Olis next build will include the patches. This means you should be able to flash the builds on any Z5 without the need to edit any properties now.
[Xperia Z5 Original Android Development] nuanfengqingyu:
Will you make a lineage os for E6853?