yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Original Android Development] Yasin Gamal:
hey guy please help me i tried to downgrade to the stock 6.0.1 after the lineage os using flashtool but this what i get from flashtool

01/003/2017 08:03:33 - INFO - Selected Bundle for Sony Xperia Z2 (D6503). FW release : 23.5.A.1.291. Customization : Customized MEA

01/003/2017 08:03:33 - INFO - Preparing files for flashing

01/005/2017 08:05:33 - INFO - Please connect your device into flashmode.

01/005/2017 08:05:41 - INFO - Device connected in flash mode

01/005/2017 08:05:42 - INFO - Opening device for R/W

01/005/2017 08:05:42 - INFO - Reading device information

01/005/2017 08:05:42 - INFO - Phone ready for flashmode operations.

01/005/2017 08:05:42 - INFO - Opening TA partition 2

01/005/2017 08:05:42 - INFO - Current device : Unknown: Jul 24 2016/19:28:59 - CB5A25FFJZ - Unknown: Jul 24 2016/19:28:59 - 23.5.A.1.291_23.5.A.1.291 - GENERIC_23.5.A.1.291

01/005/2017 08:05:42 - INFO - Closing TA partition

01/005/2017 08:05:42 - INFO - Start Flashing

01/005/2017 08:05:42 - INFO - Processing loader.sin

01/005/2017 08:05:42 - INFO - Checking header

01/005/2017 08:05:42 - INFO - Flashing data

01/005/2017 08:05:43 - INFO - Loader : S1_Root_9c84 - Version : MSM8974AB_27 / Boot version : S1_Boot_MSM8974AB_LA3.0_M_3 / Bootloader status : ROOTED

01/005/2017 08:05:44 - INFO - Transfer buffer size : 262144

01/005/2017 08:05:44 - INFO - Parsing boot delivery

01/005/2017 08:05:44 - ERROR - root : this bundle is not valid

01/005/2017 08:05:44 - INFO - You must have the according fsc script to flash this device.

01/005/2017 08:05:44 - INFO - Flashing finished.

01/005/2017 08:05:44 - INFO - Please unplug and start your phone

01/005/2017 08:05:44 - INFO - For flashtool, Unknown Sources and Debugging must be checked in phone settings

please help me i flashed other 6.0.1 roms from recovery and it's stuck on boot animation
[Xperia Z2 Original Android Development] Cygmon0:
Install flashtool version 0.9.20.0 as i have. Did you tick the two options: cust-reset and fota-reset ?

And make sure you click no. When a pop-out comes telling trying new fsc script

تم الإرسال من Xperia Z2 باستخدام Tapatalk
[Xperia Z2 Original Android Development] iXaidyiu:
Redownload FTF with FSC script.
[Xperia Z2 Original Android Development] Yasin Gamal:
0.9.19.0

0.9.19.0

i don't remember but i ticked the wipe data and cache
[Xperia Z2 Original Android Development] Cygmon0:
There is no option for cache. You mean appslog. Anyways try my steps that i typed up. If didnt work. Then try the other :)

تم الإرسال من Xperia Z2 باستخدام Tapatalk
[Xperia Z2 Original Android Development] Yasin Gamal:
i've flashed this ftf before and nothing happend it worked without any problems why does this happen now

---------- Post added at 07:25 AM ---------- Previous post was at 07:23 AM ----------

i am downloading the latest version now and i will try your steps and tell you but can you tell me will my device be recovered or not
[Xperia Z2 Original Android Development] Cygmon0:
Well. For marshmellow idk. But i hope it is. If did not. Then flash lineage to see if its work or not :)

But i don't think your phone its bricked. Maybe its flashtool or the ftf you downloaded is not good :)

تم الإرسال من Xperia Z2 باستخدام Tapatalk
[Xperia Z2 Original Android Development] Yasin Gamal:
but i flashed the purex mm rom via TWRP and it stuck on bootanimation, why
[Xperia Z2 Original Android Development] Cygmon0:
Becuase you need to flash the whole stock firmware ( tick wipe data + appslog + cust-reset + fota-reset. to make sure everything is back to normal. After that flash the purex rom

تم الإرسال من Xperia Z2 باستخدام Tapatalk
[Xperia Z2 Original Android Development] Yasin Gamal:
but what does this line means in flashtool 01/005/2017 08:05:44 - ERROR - root : this bundle is not valid
[Xperia Z2 Original Android Development] Cygmon0:
Well. actually idk [emoji23]

But don't worry. New flashtool will fix it. Hope.

تم الإرسال من Xperia Z2 باستخدام Tapatalk
[Xperia Z2 Original Android Development] Yasin Gamal:
is there anything else to tick?
[Xperia Z2 Original Android Development] Cygmon0:
Fota-reset at right of cust-reset.

And make sure if a pop-up came telling you to use new fsc script. Press no

تم الإرسال من Xperia Z2 باستخدام Tapatalk
[Xperia Z2 Original Android Development] Yasin Gamal:
well... my luck is great
[Xperia Z2 Original Android Development] Cygmon0:
Hmm... Download another ftf and try again. If didn't work. Download a lollipop one. Never give up :)

تم الإرسال من Xperia Z2 باستخدام Tapatalk
[Xperia Z2 Original Android Development] Yasin Gamal:
if you saw my internet speed you'll give up forever. :)
[Xperia Z2 Original Android Development] Cygmon0:
Ikr ;(

تم الإرسال من Xperia Z2 باستخدام Tapatalk
[Xperia Z2 Original Android Development] Yasin Gamal:
look i ticked only appslog and userdata and started flashing without any errors and the flashing completed and the phone is booting now... will it work or i should tick the cust reset and fota reset
[Xperia Z2 Original Android Development] Cygmon0:
Hmm... Alright tell me if this did work. But exluding fota and cust is for making sure that you wont lose the imei and network

تم الإرسال من Xperia Z2 باستخدام Tapatalk
[Xperia Z2 Original Android Development] iXaidyiu:
Didn't I told you to redownload (another) FTF?
[Xperia Z2 Original Android Development] rocker00:
Check your pm's.
[Xperia Z2 Original Android Development] fastantu47:
I cant get sd card write permission. I tried other apps but result same
[Xperia Z2 Original Android Development] Mohaned98:
Go to settings > apps > root explorer > permissions and enable storage
[Xperia Z2 Original Android Development] fastantu47:
Nothing change. Not Work ??
[Xperia Z2 Original Android Development] Mohaned98:
Try a different explorer then.. I can recall root explorer not working well with nougat.. It's old anyways, try fx explorer or es explorer
[Xperia Z2 Original Android Development] fastantu47:
I already tried. Something deleted. I wait xposed magisk nougat. I will try some freamework they probobly fix :)
[Xperia Z2 Original Android Development] gt3rsrot:
I think I need some help with the "clean install"

what i did so far:

1.

as the first posts instructs, I did all the steps except : "---If you Update the ROM skip 2,3,4,6,8.----"

Result : random reboots

2.

Used flashtool (latest version) on windows 7 Machine cause the drivers won´t install on windows 10.

Load a KITKAT .ftf file tried to flash with checked apps_log and userdata to wipe

Result:

Error: Processing of loader.sin finished with errors

Error: - null

Error: - flashing aborted

3.

did a full wipe in trwp then installed boot.img from 20170717 , then the rom , supersu, gapps, wipe cache/dalvik then reboot

Result: strange behaviour, had yesterday a full day without reboots, today I had to reboot manually because mobile data didn´t work anymore. Now it reboots every 2 Minutes when screen is off :(

Could someone, who installed this Rom sucessfully tell me:

- Which ftf File i should flash

- Which version of flashtool is actually working

- Which settings have to be made in flashtool?

That would be great, thank you.
[Xperia Z2 Original Android Development] iXaidyiu:
- 23.5.A.1.291 of any region, if one not working, redownload it or download another one;

- v0.9.18.6 is the most ideal for 2014 devices;

- INCLUDE all and EXCLUDE none, fsc script has to be applied in the process too.
[Xperia Z2 Original Android Development] MWPau:
Is there a way to turn off phone microphone background noise reduction?

I've always turned it off with previous ROMs in the past, but i cant find the setting for it in Lineage?
[Xperia Z2 Original Android Development] gt3rsrot:
Hi Thanks for your help, the version 0.9.18.6 works much better, but still don´t now what you mean by fsc has to be applied, didn´t find an option called "fsc" maybe beacause I installed stock firmware?

could finally install stock .291 Firmware rooted it with some difficulties and now installing linage OS 20170717 built

will test and report

Best regards
[Xperia Z2 Original Android Development] Austin.gonzo:
it's a script file that tells flashtool what to do for flashing a device
[Xperia Z2 Original Android Development] gt3rsrot:
Just wanted to give a quick feedback

Since the complete clean reinstallation from MM-Firmware I haven´t experienced any reboots so far :good:.

Thank you for your help [MENTION=6891123]iXaidyiu[/MENTION]

The only problem I got now, some apps like "Album" (don´t know the correct name in englisch, it´s the default photo viewer) crashing unexpectedly, but I think I can handle this on my own.

Best Regards
[Xperia Z2 Original Android Development] jazzfrequency:
Hi dev, i want to give it a try but want a few answers..

1) unlocking BL will affect camera quality ? (model D6503)

2) twrp recovery has the same structure ie, it is already written in the system rom (as previous stock roms) or will be flash to a partition ?

3) nougat rom is faster that mm (6.0.1) stock ?

Thanks and appreciate !
[Xperia Z2 Original Android Development] iXaidyiu:
Seems you are super new to this whole thing so I suggest you do more research first.

As for your questions,

1. No matter what Android phone or model or variants, unlocking will lead to performance reduction. In case of Sony, DRM key is lost during (so make a backup first) the process so the features it "unlock", e.g. BIONZ, DSEE HX, etc..., will be lost. Luckily there's something called "DRM fix" that compensate the loss of the key, but please do note that the fix

IS NOT

applicable in this ROM.

2. TWRP is flashed to /recovery and had to be flashed alone.

3. Basically yes, I have personally done a comparison between clean stock MM and clean caf-aosp (nearly the same as this LineageOS) NG, the result is positive.

I hope I have made myself clear and solved this question once and for all for this ROM, please refer to this post if any of you ran into any other posts like this one, thanks.
[Xperia Z2 Original Android Development] rcstar6696:
At Point 1. its not correct we have DRM keys fully working on lineage and other 3.4 Roms you will not lose any feature but some features like supervivid are Sony framework and closed aource. Those will never go into any Rom but we try our best to give you as much as possible.

Performance should be exactly the same maybe slightly better

Than stock
[Xperia Z2 Original Android Development] jazzfrequency:
Thank you both for your time and the important information! [MENTION=6891123]iXaidyiu[/MENTION] [MENTION=5621191]rcstar6696[/MENTION]
[Xperia Z2 Original Android Development] mustafamohd:
How can I update latest nagout version my Xperia z2. Now I have running Marshall version
[Xperia Z2 Original Android Development] DiogoSilva48:
If you search on xda you can find how, how you can update to nougat has been said a lot of times arround here, just search.
[Xperia Z2 Original Android Development] Cygmon0:
Ez. Read first page and you are done

تم الإرسال من Xperia Z2 باستخدام Tapatalk
[Xperia Z2 Original Android Development] mustafamohd:
Please give me ideas how to make it step by step guide me
[Xperia Z2 Original Android Development] Chronic2k13:
Oh dear!!! Xda virgin in the house lol
[Xperia Z2 Original Android Development] iXaidyiu:
Just read the first darn post:mad:

No spoon-feeding here!
[Xperia Z2 Original Android Development] Rogan011:
Same problem here :'(
[Xperia Z2 Original Android Development] Antoniotroiano:
Hi guys. I have a big issue with the microphone. Sometimes it just stops working and i have to reboot the phone to male it work . It doesn't work at all, in the phone calls in whatsapp anything
[Xperia Z2 Original Android Development] iXaidyiu:
Update your ROM or do a clean install, no problem here.
[Xperia Z2 Original Android Development] mustafamohd:
When I try update Xperia z2 to naugout version.. My mobile can't support recovery mode. How to make it.
[Xperia Z2 Original Android Development] MWPau:
I worked it out.

Edit /system/build.prop (will need to root, and mount the partition as read-write. I use FX file manager).

Change:

ro.qc.sdk.audio.fluencetype=fluence

to:

ro.qc.sdk.audio.fluencetype=none

I also changed the following persist.audio.fluence.xxxx lines to false as well.

Not sure if that was needed.

IMHO it should be off by default. It really doesnt work well with the Z2.
[Xperia Z2 Original Android Development] Austin.gonzo:
It's literally in the Instructions section.

Extract the boot.IMG form the ROM's zip

Download the twrp recovery from the OP

Flash them with fastboot

Fastboot flash boot boot.IMG

Fastboot flash recovery (the name of the recovery).img

Please read the OP
[Xperia Z2 Original Android Development] iXaidyiu:
Thanks for your patience, I am just tired of telling him to do the same things for several times but still, he didn't....
[Xperia Z2 Original Android Development] djgigi94:
You are the man!!! Thank you so much!! Thanks to this method I can solve my mic issue on carbon rom. [MENTION=5621191]rcstar6696[/MENTION] check this..
[Xperia Z2 Original Android Development] aschbertus:
Thanks and a small question

Hey guys

First of all, i want to thank everybody how dedicates their time to make such things happen. Today i revived my Xperia Z2 from outdated stock to this awesome rom.

For an unfrequent user it was quite challenging to have everything up and running (drivers, TA backup, you name it), but in the end i have now a smoothly running system. All this thanks to you, first the developers, but also everybody how writes guides and helps out. Awesome work :good:

I do however have a strange issue: As I wanted to install the SuperSU (SuperSU-v2.82-20170528234214-TEST-1) application from recovery (TWRP 3.1), I was not anymore able to enter recovery after boot. It seemed like it is not accessible anymore. So, i re-flashed recovery via fastboot and got access again. After installing SuperSU from recovery the system (LOS) was not reachable anymore. So I re-installed LOS, GAPPS, and SuperSU again from recovery (WIPE dalvik and chache). System is now again up and running, however once again I cannot access recovery. Right now this is not a problem, but I'd like to avoid that i have to repeat the process everytime I want to update LOS.

Does anybody have a pointer where I should look into, to get this resolved.

Thanks
[Xperia Z2 Original Android Development] iXaidyiu:
Better not to use SuperSU, but with Magisk. But if the problem persist, a clean install from flastool would help a lot.
[Xperia Z2 Original Android Development] Naim_6573:
do i need to unlock bootloader to flash this rom? is there any possible way to flash if i dont want to unlock the bootloader?
[Xperia Z2 Original Android Development] iXaidyiu:
Unlocking your bootloader is mandatory. There is only one phone which can flash this kind of ROM with LBL, the Xperia X10.
[Xperia Z2 Original Android Development] nourmax64:
guys what the best stable build tell me plez
[Xperia Z2 Original Android Development] Cygmon0:
The latest one?

تم الإرسال من Xperia Z2 باستخدام Tapatalk
[Xperia Z2 Original Android Development] markurt30:
it works al on my z3compact with carbon!! thank you!!!:fingers-crossed:
[Xperia Z2 Original Android Development] :
All this numbers are wrong and shows 0 bayt. How can I solve this? I did fresh install(first .291 stock after this installation steps.). Device D6503. I'm using magisk but not solved with SuperSU. [MENTION=6891123]iXaidyiu[/MENTION] [MENTION=5621191]rcstar6696[/MENTION]
[Xperia Z2 Original Android Development] :
Here is the correct ram usage.
[Xperia Z2 Original Android Development] koraymers:
Nevermind like this small bugs dude ;) it doesn't effects your life
[Xperia Z2 Original Android Development] DiogoSilva48:
That makes the call quality better but when "Ok Google" detection model is activated for every screen, the mic is muted on calls.
[Xperia Z2 Original Android Development] Cygmon0:
Hmm... I didn't see any microphone problem since first release. Maybe becuz ok google is not available on my language?

تم الإرسال من Xperia Z2 باستخدام Tapatalk
[Xperia Z2 Original Android Development] DiogoSilva48:
Probably. There was always this ok Google bug since the first build but it got fixed some builds ago, but some people have been complaining about low mic quality in calls, and this method brings back good quality but breaks ok Google bug again.
[Xperia Z2 Original Android Development] marceloandrade0201:
Is it common for touch not to work in recovery mode?
[Xperia Z2 Original Android Development] Cygmon0:
There was one person who had this issue. Idk if he solved it or not. Use the search [emoji28]

تم الإرسال من Xperia Z2 باستخدام Tapatalk
[Xperia Z2 Original Android Development] tahagamal:
Returned back again to 6 June build

I think it is the best till now

No microphon and Bluetooth issie
[Xperia Z2 Original Android Development] jazzfrequency:
You mean sony stock? or LineAge?
[Xperia Z2 Original Android Development] koraymers:
U can flash TWRP 3.1.1.0 for sirius. Latest version may solve touch problem. I think everybody using 3.1.0.0 version
[Xperia Z2 Original Android Development] tahagamal:
I thinke i wrote in wrong thread [emoji846]

I mean RR rome
[Xperia Z2 Original Android Development] jhuryganelo:
I hope cpu scaling(stack in high frequency), mic/echo and some minor problems (if any) would be fix on the next build.
[Xperia Z2 Original Android Development] willy1216XD:
I hope at some point someone makes a custom kernel with this rom, it's very good! But I would like to overclock
[Xperia Z2 Original Android Development] Austin.gonzo:
Z2's front speaker has bad quality comparing to other phones at it's level or up, so don't expect a miracle to happen
[Xperia Z2 Original Android Development] iXaidyiu:
Lineage OS for Z2 is discontinued for now, thank you guys for all your support during the period of time. However we are not going to stop after-market development for Z2, stay tunned!

Thread will be closed.
[Xperia Z2 Original Android Development] Hariskh:
But WHY :crying:
[Xperia Z2 Original Android Development] Samir2298:
Any possibility to port stock xperia xz nougat version on z2?
[Xperia Z2 Original Android Development] Olivier:
Thread closed.
[Xperia Z2 Original Android Development] anosshi@gmail.com:
Phone bug

No one can hear me on phone app only
[Xperia Z2 Original Android Development] iXaidyiu:
Disable OK Google detection.
[Xperia Z2 Original Android Development] Thieuke:
Just knowing you're aware of this and on the subject is enough for me. Thanks a lot.

Let me know if I can help or test on the matter.

Verstuurd vanaf mijn Xperia Z2 met Tapatalk
[Xperia Z2 Original Android Development] Austin.gonzo:
This can't be a Rom related issue because I can confirm calling work on both internet calling and Sim calling. They can hear me loud and clear.
[Xperia Z2 Original Android Development] graxierboy:
error!!!

Perform all the steps, I still give error,Do not pass the red poster
[Xperia Z2 Original Android Development] anosshi@gmail.com:
Fixed thnx bro
[Xperia Z2 Original Android Development] rcstar6696:
You don't use Google voice model (OK Google )
[Xperia Z2 Original Android Development] number28:
I confirm Magisk work. You only have to flash magisk.zip without flash SuperSu, and uninstall SuperSu before if you had rooted.

Enviado desde mi Xperia Z2 mediante Tapatalk
[Xperia Z2 Original Android Development] ZKSC:
AudioFX seems to be dead atm :/
[Xperia Z2 Original Android Development] Dendis:
My calls are working with '' ok Google '' detection from Google app. I don't use detection on any screen.
[Xperia Z2 Original Android Development] iXaidyiu:
No problems here.

---------- Post added at 06:53 PM ---------- Previous post was at 06:52 PM ----------

Yeah that's what's we are talking about to get Cellular calls work.
[Xperia Z2 Original Android Development] Dendis:
So it means you can run xposed on this rom?
[Xperia Z2 Original Android Development] number28:
There isn't Xposed for Android 7 yet.
[Xperia Z2 Original Android Development] Dendis:
So what magisk does?
[Xperia Z2 Original Android Development] mimo.aridi:
https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
[Xperia Z2 Original Android Development] filjusz:
...

http://lmgtfy.com/?q=Magisk+xda
[Xperia Z2 Original Android Development] aboodyaiman:
[MENTION=5621191]rcstar6696[/MENTION] I got a commit to disable LiveDisplay at boot as most of us don't really use it.
[Xperia Z2 Original Android Development] rcstar6696:
Send me please :)
[Xperia Z2 Original Android Development] kuba130000:
Can you confirm, that Android Pay works with Magisk and that rom?

Thanks.
[Xperia Z2 Original Android Development] ShadowElite:
Well I think it is time to move to LOS and maybe kernel development :D

Great work rcstar6696
[Xperia Z2 Original Android Development] kuba130000:
I think it's very good idea! :)
[Xperia Z2 Original Android Development] rcstar6696:
This would be really nice :)
[Xperia Z2 Original Android Development] number28:
I think Android Pay doesn't work as doesn't work Pokemon Go because even with Magisk SafetyNet fails, and it is necessary for those apps.
[Xperia Z2 Original Android Development] mimo.aridi:
Deleted
[Xperia Z2 Original Android Development] wheatone:
You need to enbale Magisk Hide in the settings.
[Xperia Z2 Original Android Development] aboodyaiman:
Check your inbox.
[Xperia Z2 Original Android Development] mimo.aridi:
Guys i did full unroot on supersu. When i try to flash supersu.zip to root again the procees goes smoothly. But my boot.img gets corruptes and phone doesnt boot. Can someone help please.
[Xperia Z2 Original Android Development] kuba130000:
What happening when you press and hold VOL UP and connect phone to PC? Is there any reaction? Blue led is burning?

If yes, you can simply flash stock via flashtool or boot.img from this rom via fastboot ;)

If not, I have no idea. :/
[Xperia Z2 Original Android Development] number28:
I am an idiot [emoji36] After that SafetyNet check green.
[Xperia Z2 Original Android Development] Dendis:
So, it's worth to install magisk?
[Xperia Z2 Original Android Development] aboodyaiman:
[MENTION=5621191]rcstar6696[/MENTION] I got a question, why it's recommended to flash Full Gapps version? I get Music and Browser force close with it while I get nothing with Mini version.
[Xperia Z2 Original Android Development] kuba130000:
Lol, I have stock version and zero force close :D

Wysłane z mojego Xperia Z2 przy użyciu Tapatalka
[Xperia Z2 Original Android Development] mimo.aridi:
I can bro and im flashing the boot.img of this rom i did a clean intall. Then when falshing systemess supersu boot img gets corrupted

Even tried a systemmode su zip but i get stuck at boot animation
[Xperia Z2 Original Android Development] kuba130000:
So, dont install it. Maybe it is incompatible.

Wysłane z mojego Xperia Z2 przy użyciu Tapatalka
[Xperia Z2 Original Android Development] Chronic2k13:
I'm getting the exact same problem and I've followed the steps to the letter!!
[Xperia Z2 Original Android Development] GitaraSiema:
Hello everyone,

I've already installed this ROM. I was on CM 12.1 earlier. I skiped flashing boot.img and i flashed ROM without it (i could't install drivers to fastboot in flashtool). I think it's quite laggy. Could it be fault? :(
[Xperia Z2 Original Android Development] DiogoSilva48:
Try this to install boot.img without a PC
[Xperia Z2 Original Android Development] aminfauzi:
One more bug i found. I not really sure it is a bug or not. Because i cant do a logcat right now. Maybe somebody else can confirm that for me. The problem is,

Open gallery, select any picture then tap on edit photo. In this photo editor, the back button not function. So, i need to tap on home button to close it.

Anyone have same problem?
[Xperia Z2 Original Android Development] iXaidyiu:
No problem for Google Photos, use it for the time being please.
[Xperia Z2 Original Android Development] mysubcult:
Why so huge battery drain? I used sot for 3.5 hours only. In the settings shows that chrome Spent 15 percent of charging.
[Xperia Z2 Original Android Development] mysubcult:
I put the phone on charging with the original adapter for 2A, I sit in the browser and the battery continues to be discharged