yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Original Android Development] akshay2shah:
And u thought i m one of those who charge battery in between and show false SOT ! :D

I m not definitely gonna get money or oscar for sharing that.

I just shared for reference !

Anyways ! This is final comment on SOT pic.

I should not have shared it.. causer spamming of thread !

[Do not reply to this comment]
[Xperia Z2 Original Android Development] maartenr:
Sim card fixed :)

But shouldnt this reboot bug be in the opening post? Or is it a LineageOS kernel bug?
[Xperia Z2 Original Android Development] DiogoSilva48:
I had the rebooting issue but after flashing stock rom with flashtool and reinstalling the ROM, all gone. Thanks to [MENTION=6891123]iXaidyiu[/MENTION] (Well written this time ?)
[Xperia Z2 Original Android Development] zombie02:
[MENTION=6891123]iXaidyiu[/MENTION]

I'm having trouble upgrading to 291 since I can't find a good ftf file for it. (UK or NL or generic)

I'm also trying to create my own but flashtool gives me a nullpointer error for finding a flashscript.

---------- Post added at 03:55 PM ---------- Previous post was at 03:55 PM ----------

291 ftf image?
[Xperia Z2 Original Android Development] DiogoSilva48:
Yes
[Xperia Z2 Original Android Development] zombie02:
Can you share it?
[Xperia Z2 Original Android Development] DiogoSilva48:
I'm not home right now but you can create a ftf with xperiafirm and flashtool.
[Xperia Z2 Original Android Development] zombie02:
yeah, I just figured it out I think.

version 9.23.1 is bugged, I updated to 9.23.2 and now it's currently making the ftf image.
[Xperia Z2 Original Android Development] filjusz:
Anyone succesfully launched android pay on our Z2 with LineageOS?
[Xperia Z2 Original Android Development] DiogoSilva48:
You can use with magisk, I didn't test it but I saw people using some time ago.
[Xperia Z2 Original Android Development] filjusz:
Tried but it didnt work for me :(
[Xperia Z2 Original Android Development] DiogoSilva48:
I know that bug. Tell me if it worked for you after reflashing the ROM.
[Xperia Z2 Original Android Development] myrums:
Did you try version 11.6, it's the only version that works for me.
[Xperia Z2 Original Android Development] zombie02:
I flashed .291 and then the rom and all.

My phone is back on 7.1.1 and i'm reinstalling all apps.

I will give an update if I have the wifi disconnect, no 3g connect issue is resolved or not
[Xperia Z2 Original Android Development] joaorodrigues784:
hey people I have a problem I want go back to Pure X but TWRP is showing something with invalid appslog can someone help please?
[Xperia Z2 Original Android Development] filjusz:
Read previous posts.... Wipe appslog with flashtool

---------- Post added at 22:47 ---------- Previous post was at 22:46 ----------

If you talking about Magisk - version 12.0 works for me but android pay still show me cts mismatch :/
[Xperia Z2 Original Android Development] zombie02:
after reinstall, my wifi speed seems incredibly slow.
[Xperia Z2 Original Android Development] zombie02:
I've restored my backup from before.

on wednesday or something I'll try the revert to 570, then upgrade to 291 and flash the rom again.

for now I'll just test my ow possible fix.
[Xperia Z2 Original Android Development] iXaidyiu:
The one you should be downloading is v0.9.19.6.

---------- Post added at 11:50 PM ---------- Previous post was at 11:49 PM ----------

Tried Magisk Hide?
[Xperia Z2 Original Android Development] m1st3r1:
I can launch android pay in this rom just fine. Using Root Switch + SuperSu.

couple observations from me. first of all, i'm using the rom with mixed sdcard (adoptable and external), which works great in this rom:

-random reboot while using the phone: i've got this problem before, flash stock rom using flashtool didn't fix it. it turns out that modded facebook (the one with enabled messenger in it) is the cause, uninstalled it, now i don't have random reboot again. and i find out that opening facebook in chrome is pretty good :D so maybe this can happen to you. (mind you that i think the last_kmsg didn't show any problem.

-random reboot while charging:

it happens only when the uptime is more than 2 days. reboot once a day, i never got this problem anymore.

-i didnt have slow charging, using magnetic dock, the phone says charging rapidly, but it's the same 2 and half hours to full, just like any other rom (stock rom included).

-phone tends to get hotter. well, hotter than aosp nougat (3.10 kernel). and i cant blame the climate, cause im in tropical country :D . so yeah, i do think it's hotter while playing game. no impact with performance tho, except maybe drain more battery, but i only play games for couple hours in a day, so it's fine.

-sot, well i can only get 2-3 hours. but i think it's ok, it's just the same when i was using aosp nougat and stock rom.. checked with betterbatterystats and there seems to be no problem, so i think it's ok.

-to fast switching the network, just use this one: https://xdaforums.com/android/apps-games/widget-toggle-network-type-5-0-xda-t2945406 , don't forget to choose custom rom mode, it works great.

I think that's all from me. thank you [MENTION=5621191]rcstar6696[/MENTION] and all the contributors :)
[Xperia Z2 Original Android Development] tex321:
Hi, can you post higher resolution pictures?

How do you guys find the camera compared to the stock one?

Thanks in advance.
[Xperia Z2 Original Android Development] iXaidyiu:
In fact I just updated post #335 yesterday to introduce a fix that no 3rd party app is involved.

You might want to check that out and tell me whether it works for you or not.
[Xperia Z2 Original Android Development] Bewildered Wolf:
I guess he is using snap camera. Which gives you option for selecting mp and many options.(See Screenshot)

You can also use other camera apps like MX camera or Zcamera.

Whichever suits you.http://cloud.tapatalk.com/s/58eabfe4f15cc/Screenshot_20170410-044103.png?
[Xperia Z2 Original Android Development] iXaidyiu:
The Camera quality should be the same with stock as the blobs used are the same.
[Xperia Z2 Original Android Development] tex321:
Is the camera no longer worsened when unlocking the bootloader?
[Xperia Z2 Original Android Development] m1st3r1:
well, tbh, i dont think i have the problem that your fix gonna solve. and besides, the app i told before can change (lock) the network to any (supported) network, 2g (yeaah, my country still has 2g :D ), 3g, or LTE, with just a click (i use tasker + gmdgesturecontrol, so it's a gesture and a click for me :) ). And besides (again), your temporary fix still needs an app too, Automate. but still, choose whatever works, i was just giving alternative, especially since the app i mentioned is free for xda users.

thanks.
[Xperia Z2 Original Android Development] Doble_f:
Why it says the last update was 2017-04-08?

If this is correct, someone who please tell me what this update is and the changes it brings, thank you! :angel:
[Xperia Z2 Original Android Development] marcelo.arnaez:
HELP

I have a sony z2 model d6503, unload bootloader, with android 6.0.1 custom rooted.

I am trying to install and I get the following error:

Updater process ended with ERROR: 7

:(:(:(:(:(:(:(:(

Help!
[Xperia Z2 Original Android Development] iXaidyiu:
"Last updated" is of the record of DevDB regarding OP content changes, not the ROM.

---------- Post added at 04:05 AM ---------- Previous post was at 04:04 AM ----------

Use the recovery and kernel provided in the OP.
[Xperia Z2 Original Android Development] liwetlt:
It happens that communication will be lost due to unavailability of the network in some places, but then it does not recover, it is necessary to reset the smartphone, in manual 2 .3. 4G no switching results.
[Xperia Z2 Original Android Development] iXaidyiu:
Read post #335?
[Xperia Z2 Original Android Development] sottabyte:
Does anyone test fast charging?

How much it takes to change completely?

I don't have qc charger so I can't test it by myself.
[Xperia Z2 Original Android Development] iXaidyiu:
1.5-2.5hrs from 0-100%.
[Xperia Z2 Original Android Development] kraft6677:
We are waiting for a new assembly, then on the 2nd the battery is heavily consumed
[Xperia Z2 Original Android Development] kzee125:
How much is the output of your charger?
[Xperia Z2 Original Android Development] iXaidyiu:
Rated 2A, but so far maximum at 1.6A, normal charging range as recorded by Ampere is 0.8A~1.4A.
[Xperia Z2 Original Android Development] filjusz:
In april bulid charging is broken, i mean charger charge battery with max. 1000 ma output when march bulid charge phone with max. 1500 ma output.
[Xperia Z2 Original Android Development] itsnie:
[MENTION=5621191]rcstar6696[/MENTION] this may fix random reboot when charging overnight
[Xperia Z2 Original Android Development] sottabyte:
Yes normal charging has a problem.

rcstar mentioned it before so I want to buy qc charger to somehow fix it

I have another question.

Will fast charging be remove in next build?

Is it kernel related or not?
[Xperia Z2 Original Android Development] iXaidyiu:
Yes, it will be removed on next build, and yes, it is kernel related.
[Xperia Z2 Original Android Development] manfred18:
Bugs:

-battery drain (phone does not turn into deep sleep). Only installing Deep Sleep Battery Saver app helps. I tried reflashing, wiping, and it's about the same.

-FM Radio - poor sound. I've installed Spirit FM and difference is huge (but the Spirit App is uncomfortable to use).

Besides that everything is ok. Newest build seems to be slower.
[Xperia Z2 Original Android Development] iXaidyiu:
Try underclocking the CPU if you are using latest (20170402) build. It has a larger battery drain because the default clock rate has been overclocked when compared to previous builds.
[Xperia Z2 Original Android Development] manfred18:
Thanks, I'll try, but the problem with deep sleep is from somewhere else (app from playstore can push the phone to deep sleep, but the phone itself can't).
[Xperia Z2 Original Android Development] iXaidyiu:
Disable WiFi and Bluetooth always scanning, as well as Mobile Data Always Active in Settings > Location > 3-dots menu > Scanning and Settings > Developer Options respectively.
[Xperia Z2 Original Android Development] CycloneB:
We all know that latest build has slow charging...i tried to charge my Z2 with magnetic cable and its much faster than via USB port...just give it a try
[Xperia Z2 Original Android Development] manfred18:
It's disabled.

I reflashed one more time, and now it seems to be ok, phone is in deep sleep for 90% of time.
[Xperia Z2 Original Android Development] madbehaviorus:
Have you tested it with this Rom? No random reeboots? If is it so you say, then I have today a relaxed night. Can I flash the Kernel with fastboot? Because when I flash the Kernel in the recovery, then overwrites the recovery?

EDIT: Someone cheered too soon.
[Xperia Z2 Original Android Development] itsnie:
No, i can't build kernel because of too many reasons, but that commit fix random reboot of my redmi note 3 with LOS installed ofc! Google is your next answer
[Xperia Z2 Original Android Development] filjusz:
I can confirm xperia z2 with L-OS by rcstar passed succesfully safetynet test. Android pay working like a charm!
[Xperia Z2 Original Android Development] Ahmed elrazky:
hello

first of all thank u for your amazing rom your rom is awesome

i have a quesion can i install kcal mod on this rom
[Xperia Z2 Original Android Development] filjusz:
Nope, we dont have kcal for android nougat. Only for 6.x.x marshmallow
[Xperia Z2 Original Android Development] Ahmed elrazky:
thanks is there any thing similar to it works on nougat
[Xperia Z2 Original Android Development] filjusz:
Atm no
[Xperia Z2 Original Android Development] iXaidyiu:
We only have RGB calibration here, no contrast, hue, saturation, etc...
[Xperia Z2 Original Android Development] Doble_f:
Can anyone help me and tell me if there is any sound mod for Z2 with LineageOS?

Previously in MM had this and was great, really increased the sound quality in our devices, but only works in STOCK with MM: http://xdaforums.com/crossdevice-dev/sony/mod-zirene-audio-am3d-v4a-t3384068

I appreciate your collaboration!
[Xperia Z2 Original Android Development] iXaidyiu:
Can you just browse a bit more, there are a lot of sound mod out there, and please do not ask some non-rwlating stuff here. Please keep this thread clean. Before you want to ask something, please search to make sure there aren't anyone raised that before.

So here it is, Project Meli Y.
[Xperia Z2 Original Android Development] tayct:
I just flash this rom, when l launch some apps etc:root cleaner, it just pop up said busybox is missing. It this normal?If I update busybox, my recovery where be missing or not? Because in MM build, when update the busybox ,recovery where be gone forever.
[Xperia Z2 Original Android Development] Bewildered Wolf:
Install busybox from play store.

Download busybox installer and then install busybox.

//Press thanks if it helped. :)
[Xperia Z2 Original Android Development] tayct:
After update the busybox, where the recovery will be missing?
[Xperia Z2 Original Android Development] Bewildered Wolf:
No. Why would recovery be affected. I installed busybox from there. Working without any bugs for me.
[Xperia Z2 Original Android Development] tayct:
I ask because this happened to me. When I in MM build, after updated busybox, my recovery gone forever, and have to flash everything from beginning .By the way, thanks for replying.
[Xperia Z2 Original Android Development] Bewildered Wolf:
No issues bro :)

I installed busybox and the recovery was still there.
[Xperia Z2 Original Android Development] J.M.Siyath:
Is there any possibilities for 7.1.2 ?

because you mention in op like this:
[Xperia Z2 Original Android Development] iXaidyiu:
Android 7.1.2 LineageOS is currently under testing and research for the Z2 by us, please be patient.

Please DO NOT ASK FOR ETA.
[Xperia Z2 Original Android Development] filjusz:
Hmmm any fix for night charging reboot?
[Xperia Z2 Original Android Development] Ashuparla:
Please, search. Lets keep a clean thread.
[Xperia Z2 Original Android Development] Bewildered Wolf:
Th e issue is stiss there bro. Idk how it got fixed for him but I've flashed the rom again from starting so many times. Every 2-3 day I've to flash the rom and recovery again beacuse I'm testing new mods. So, the night reboot is still for me.
[Xperia Z2 Original Android Development] mimo.aridi:
Meli Y causes bootloop on this.
[Xperia Z2 Original Android Development] iXaidyiu:
I am just suggesting him a direction to discover and an example to take reference on.
[Xperia Z2 Original Android Development] filjusz:
[MENTION=6891123]iXaidyiu[/MENTION] No ETA ofc, i only want to ask if next rom update will bring us android 7.1.2...?

Thanks

Ok, got it
[Xperia Z2 Original Android Development] Austin.gonzo:
This question has been answered in the previous pages please search before posting.
[Xperia Z2 Original Android Development] marcelo.arnaez:
I still can not install on my phone.

I came from android 6.0.1 custom room rooted.

I currently have twrp 3.0.2.

I tried to install twrp 3.1 (post file) and my mobile was blocked

Then I installed from the web of the img of twrp and I get error 7 or error 6.

Any suggestions?

Thank you.-

* PD: Translated by google translator.
[Xperia Z2 Original Android Development] Austin.gonzo:
You didn't provide much information but I automatically assume that you're flashing the TWRP as boot.

If you want to install this Rom open the zip of the Rom, copy and paste the boot.img in a drive,

Bring up fastboot and enter the fallowing commands

Fastboot flash boot boot.img

Fastboot flash recovery (name of the recovery).Img

Done.
[Xperia Z2 Original Android Development] rcstar6696:
Thanks will try it
[Xperia Z2 Original Android Development] rcstar6696:
Official Lineage

Hey

We are short before to switch to official support

Our trees are pushed to lineage github and nightlys will start

In some days

I will inform you

The official Rom will not have Substratum and pixel ui

But i will provide this Rom or carbon builds with all features
[Xperia Z2 Original Android Development] Meloferz:
Awesome news, thanks for your great support!!!! I remember that you posted your email for PayPal donations, I would be great if you add in your profile the donate option, just a suggestion ?

Enviado desde mi Xperia Z2 mediante Tapatalk

---------- Post added at 03:29 PM ---------- Previous post was at 03:27 PM ----------

My little contribute for you, bougth you a beer :)
[Xperia Z2 Original Android Development] rcstar6696:
Thank you
[Xperia Z2 Original Android Development] marcelo.arnaez:
My friend, first I'm trying to make an update to my current TWRP, with the img of the post.

I got it, but, after booting again, it returns to the original version. (3.0.2)

I would like to know if it is possible to only update TWRP and then try to flash the .zip.

With version 3.0.2, version 3.1 from the TWRP website and with the version of the post, all give me error 7.

Sorry for my english, I only translate from google.

---------- Post added at 10:46 PM ---------- Previous post was at 10:16 PM ----------

The error still persists.

updater process ended with error 6.

error intaling zip file ´/external_sd/linage OS/linage-14..........

:(
[Xperia Z2 Original Android Development] DiogoSilva48:
So you will be our official supporter? And will we be able to update the ROM by ota?
[Xperia Z2 Original Android Development] iXaidyiu:
Yes.

---------- Post added at 12:34 AM ---------- Previous post was at 12:23 AM ----------

First, make sure you have an unlocked bootloader (which you should already have).

Make a clean installation (including factory reset) of stock firmware using flashtool.

Then you are cleared to install the ROM again by following the instructions listed in the OP now.

Good luck flashing;)
[Xperia Z2 Original Android Development] jaltek:
[MENTION=5621191]rcstar6696[/MENTION]: Do you (and for sure all other contributors) have also a Bitcoin address for donations?
[Xperia Z2 Original Android Development] maartenr:
Great, a donation address, couple of beers coming your way now :)
[Xperia Z2 Original Android Development] Helmut.Hartmann:
Sorry for my noob question,

but I also have the issue of lost network signal from my mobile network after wifi-disconnect and want to follow your instructions in Post #335.

Some question about:

Emma: Do a reset to .575 with emma looked my bootloader again and/or I lost root?

After Emma - phone should not powered on - right?

Flashtool (Version 0.9.23.2 ok?) : Do I need a pre-rooted .291 Firmware for Flashtool or simply a common .ftf?

After Flashtool - phone should just as after emma not powered on - right again?

Reinstall ROM: Means follow from Step one in the OP

After that I lost all data, right - backup before is needed....

After all, is the fix working - can anyone confirm this?

Thx
[Xperia Z2 Original Android Development] iXaidyiu:
About EMMA, no. It won't relock your bootloader, just wipe your data that's all.

About flashtool, just flash ordinary generic FTF, no pre-root, no other stuffs.

About post-flashtool, if you checked AUTO-BOOT in the EXCLUDE list, yes, it won't boot automatically.

About reinstalling ROM, yes. Redo the whole installation process from head to toe as listed in OP.

About loosing data, yes it will wipe and reset your phone. And yes a backup should help you restore your previous data after the process. Just make sure you save the backup on either Ext_SD or USB-OTG, so it won't get wiped in the process.

About working or not, you can be the one who report.
[Xperia Z2 Original Android Development] lucian4cx:
I flashed .575 with emma; i skipped the .291 with flashtool, i flashed (in .575) the boot.img from the latest build and latest recovery via fastboot (console, not flashtool), everything is fine. I still get sometimes random reboots when i charge my phone, but i removed the sim code and i don't even know when is happening. Forgot to say, i'm using pico.
[Xperia Z2 Original Android Development] marcelo.arnaez:
finalmente se instala, pero solo lineage-14.1-20170327.

ahora quisiera saber si en algún momento se va a actualizar via OTA?

Finally installed, but only lineage-14.1-20170327.

Now I would like to know if at some point it will update via OTA?

Thank you!
[Xperia Z2 Original Android Development] iXaidyiu:
Once it is "supported" officially. Which is, soon.
[Xperia Z2 Original Android Development] Hafyzy:
Keep Supporting Xperia Z2 With Making Many AOSP ROM Brotha .

Make Z2 Come To Live ! ROCK YEAH
[Xperia Z2 Original Android Development] SONiX-GERMANY:
Awesome. Pure LOS without mods is rockstable and bugfree on my YUGA. Hope your build(s) for SIRIUS will be just like them. I did not installed (yet), the thread confuse me, too many offtopic posts atm.
[Xperia Z2 Original Android Development] iXaidyiu:
Yeah, off-topic things will be separated to a dedicated thread in the coming days when I got more time.
[Xperia Z2 Original Android Development] AK2H:
Is this ROM shipped with a kernel that support MultiROM?

If not, what custom kernel should I use?
[Xperia Z2 Original Android Development] akshay2shah:
Yes this rom support multirom ! (Of course kernal as well)

Recent update made it possible.

I m using it.
[Xperia Z2 Original Android Development] filjusz:
Multirom support every rom&kernel as now its force no-kexec workaround
[Xperia Z2 Original Android Development] AK2H:
I flashed it via MultiROM 10 minutes ago and it failed :(

Can you please provide me with the steps for MultiRom, because the OP instructions are useless in this situation
[Xperia Z2 Original Android Development] rcstar6696:
Its the same as my builds only substratum and pixel ui are removed
[Xperia Z2 Original Android Development] Austin.gonzo:
Error 7 is a recovery related issue, I'll try to make it simple as possible.

The recovery img on this thread is tweaked to make it work with LOS

The recovery img from TWRP website is not compatible.
[Xperia Z2 Original Android Development] reza.8.h:
And u provide substratum for that official build?

Like update zip??

Sorry if my questions is inappropriate
[Xperia Z2 Original Android Development] rcstar6696:
The last build is patched for substratum you only need to install the substratum app from gplay

Official adding theme engine is not possible atm
[Xperia Z2 Original Android Development] Hariskh:
how to enable fast charge?
[Xperia Z2 Original Android Development] filjusz:
Its not working
[Xperia Z2 Original Android Development] VRZ3:
MHL(HDMI Output) is not working.

Boot loop after MHL cable connection.
[Xperia Z2 Original Android Development] akshay2shah:
Bootloop ?

Did u restart phone after connecting MHL cable ?
[Xperia Z2 Original Android Development] VRZ3:
After Reboot→MHL cable connecting→HDMI Output ok.

It does not output at 60 fps.
[Xperia Z2 Original Android Development] akshay2shah:
This comment says its working !

What is it ?

Can u explain it clearly what is working or what is not working ?

This comment u said MHL not working !

Bootloop as well !
[Xperia Z2 Original Android Development] VRZ3:
--HDMI Output--

Sound Output:Working.

Display Output:30fps working. not 60fps.

--Other--

Working slows down during MHL cable connection.

Bootloop is not reproduced After Reboot.
[Xperia Z2 Original Android Development] kuba130000:
As the official LOS ROM, will it have OTA updates?
[Xperia Z2 Original Android Development] iXaidyiu:
Once it is official, yes.