yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Original Android Development] koraymers:
Sounds interesting. You may want check it out [MENTION=5621191]rcstar6696[/MENTION] [MENTION=6891123]iXaidyiu[/MENTION]
[Xperia Z2 Original Android Development] jhuryganelo:
I have a problem on data for LTE. for both Lineage and Carbon ROM. It cannot turn on even I switch on the data.
[Xperia Z2 Original Android Development] iXaidyiu:
Read post #335.

Sorry it cannot and will never be added, you have to do it yourself.
[Xperia Z2 Original Android Development] Helbelinc:
I was looking desperately for a working ROM that also works with my smartwatch. This one just works flawlessly with everything.

Thanks a ton for this.
[Xperia Z2 Original Android Development] okij:
You can find it under settings -> display -> last item.

However, screen mirroring is not working properly, as I reported on the Z3c thread a while ago. Connecting takes far too long and if a connection gets established, it is really weak and drops again almost immediately. :(
[Xperia Z2 Original Android Development] maeckes237:
Bluetooth connection really unstable

So everythings working fine after some days, but as I said, Spotify and the music app have these weird problems: Sometimes my normal music app crashes or just doesn't respond and the sound is played over the speakers for like 2 seconds before switching to headphones (applies to spotify and the normal music player).

Oh, and the bluetooth connection with my speakers got worse. Every 5 minutes or so, the connection is lost and I have to turn on/off bluetooth to get my phone connected to the speaker again. I didn't test the bluetooth call function, but will in a few days.

I will post a log when I used my phone for some days.
[Xperia Z2 Original Android Development] liwetlt:
At the last assembly, the sim card begins to fall off. After about 5-6 hours.

Helps reboot your phone.
[Xperia Z2 Original Android Development] Hans_Werner:
I have a strange bug.

The on screen back button is not responding sometimes. I need to press 4 or 5 times before app closes or the screen flip's to previous page. Are there any fix for this issues?
[Xperia Z2 Original Android Development] iXaidyiu:
Tried clearing recents?
[Xperia Z2 Original Android Development] Hans_Werner:
Yes tried all. Also a fresh clean Installation with wiping every partitions.

Have also read this bug in the oneplus forum but without any suggestion. Only a new version fixed this issues.
[Xperia Z2 Original Android Development] Little Snevil:
It's just me or volume while playing music it's lower than usual with newest build?
[Xperia Z2 Original Android Development] koraymers:
No we can't. Its something like let using substratum without root permission in ROM. Article says ROM devs can enable it. It should be easy. Please check it out last 2 paragraph on attach.

At least we can be able to use until coming Xposed
[Xperia Z2 Original Android Development] lccc37:
Hi, I'm unable to connect to new WiFi of PEAP security, after entering Username and Passwords, the connect button still greys out.

Any help would be well appreciated
[Xperia Z2 Original Android Development] alexs784:
I had this problem too. Solved it uninstalling "Audio FX" app (if you have it enabled it is not enough to disable it, you must uninstall it) after that all that bugs were gone.
[Xperia Z2 Original Android Development] Samir2298:
Posted few pages back but got no answer. Why 'Phone idle' is draining so much battery? Is this a bug in LOS? Any solution?
[Xperia Z2 Original Android Development] iXaidyiu:
Why hesitate to search?

https://www.quora.com/Why-does-phone-idle-use-so-much-battery
[Xperia Z2 Original Android Development] DiogoSilva48:
Greenify may help you
[Xperia Z2 Original Android Development] Samir2298:
Battery drain only 3% over night. Also I turn off wifi/bluetooth when I put my phone in sleep mode. I am using greenify and force doze is enabled in lspeed. Never had that issue on stock firmware.
[Xperia Z2 Original Android Development] iXaidyiu:
The two is different inside the very origin how can you compare them...

Moreover 3%/night is just right.

Too much battery saving app without properly configuration can lead to opposite outcome.
[Xperia Z2 Original Android Development] Samir2298:
So that drain from 'Phone idle' is normal, right?

Also check my screen on time. 'Screen' and 'Phone idle' battery drain is almost same(only about 100 mAh difference)
[Xperia Z2 Original Android Development] iXaidyiu:
6 hrs SoT and you still want more?
[Xperia Z2 Original Android Development] Bewildered Wolf:
He'll probably get one more hour from this 15%
[Xperia Z2 Original Android Development] Samir2298:
It's a 2 years old battery and still going strong. I can get even more SOT if that phone idle drainage get reduced. Or maybe it's just showing the wrong data?
[Xperia Z2 Original Android Development] kzee125:
plz share your settings!
[Xperia Z2 Original Android Development] Bewildered Wolf:
Please have a look at my battery thread.

http://xdaforums.com/crossdevice-dev/sony/existenz-hacks-tweaks-battery-life-t3516705/page1

// Press thanks if it helped. :)
[Xperia Z2 Original Android Development] Little Snevil:
OMG Why you complain my screen do less than 3 hours SOT and I have to live with that. And I do not really complain at all. ?
[Xperia Z2 Original Android Development] goldenevil47:
I have emma... Installed it and opened it...but it asks for login account on startup, when I created one it's asking to contact sony mobile support to activate it... I don't know how to get past this step
[Xperia Z2 Original Android Development] VinBenzin810:
On the World wide Web Would be an Instruction how to Pass it. If i Remember it right you need to change an File on the Programm direction before you Start IT.
[Xperia Z2 Original Android Development] Shady_BlackSn0w:
[MENTION=5162326]Chronic2k13[/MENTION]

For some reasons XDA keeps crashing so I couldn't quote you

Just extract the zip file inside the ROM file and copy it to your SD card and flash it

Enjoy.
[Xperia Z2 Original Android Development] iXaidyiu:
Restore stock ROM using flashtool, then reflash TWRP, then restore your backup.

Fixing.

NO. The pixel conversion pack is in museum now, never use it again.
[Xperia Z2 Original Android Development] Chronic2k13:
I'll give it a go!! I'm on eXistenZ 5.65 with elite kernel!!
[Xperia Z2 Original Android Development] rcstar6696:
Disable it on all screens then its OK and work

Bad download
[Xperia Z2 Original Android Development] rcstar6696:
I don't fix it

It is a known issue on all msm8974 devices like hammerhead etc

Read my comments or use search :)
[Xperia Z2 Original Android Development] iXaidyiu:
I thought you said "First fixing existing bugs", ugh... nevermind, my bad...
[Xperia Z2 Original Android Development] rcstar6696:
Yes but this is a General issue and has nothing to do with the device :/
[Xperia Z2 Original Android Development] Bewildered Wolf:
USB for file tranfer not working.

USB for charging and for photo transfer is working. But not with file transfer. Can someone help me with that?
[Xperia Z2 Original Android Development] LongLuu:
I think that is okay. Try and respond
[Xperia Z2 Original Android Development] Shady_BlackSn0w:
Working here no problems

Make sure you select transfer file when you connect your phone to your computer

You'll fins that in the notification when you connect your phone just swipe down and you'll find a notification called "Android system" tap it and choose file transfer
[Xperia Z2 Original Android Development] Bewildered Wolf:
Not a noob bro.

I've also mentioned there, not working for file transfer.

But working for charging only and Photo transfer mode.
[Xperia Z2 Original Android Development] Shady_BlackSn0w:
Dude I was trying to help you anyway

Try different USB cables and/or ports, if the problem still persist log it and send it that's all I can say
[Xperia Z2 Original Android Development] DiogoSilva48:
Just asked because I usually use "Ok Google" and also do some calls but no problem, I can long press the home button.
[Xperia Z2 Original Android Development] Bewildered Wolf:
Yup thanks bro. :good:
[Xperia Z2 Original Android Development] rcstar6696:
This works as long as you didn't add voice model
[Xperia Z2 Original Android Development] DiogoSilva48:
But there is something different on this rom, on pure Nexus it worked normally.
[Xperia Z2 Original Android Development] zzcat:
Had a similar issue on Win10, updated the driver using Zadig, and was good to go.
[Xperia Z2 Original Android Development] Bewildered Wolf:
Can you tell me exactly what you did bro? because I got Zadig, dont know what to do now?

EDIT: GOT IT.
[Xperia Z2 Original Android Development] graxierboy:
Do not pass the flash

Hello people of xda

I try to flash the ROM lineage 7.1.1 with the twrp 3.0.0.2 and when I slip, at 3 seconds I get error and a red poster, the model I have is the d503 I'm from argentina
[Xperia Z2 Original Android Development] kuba130000:
Follow instruction carefully, you didn't do full wipe (system, dalvick cache, data, cache). Do it and try again.
[Xperia Z2 Original Android Development] Chronic2k13:
You need to copy and paste the configuration file to the install folder before you open Emma
[Xperia Z2 Original Android Development] goldenevil47:
Tried that...not working on latest version
[Xperia Z2 Original Android Development] DiogoSilva48:
Download Sony flash tool on Sony's website, is the same thing as Emma and doesn't ask for login
[Xperia Z2 Original Android Development] goldenevil47:
I am trying to flash through emma for that WiFi fix...

Restore to .570 through emma and then .290 through flashtool
[Xperia Z2 Original Android Development] kutysam:
to fix some of ur battery drain, disable BLUETOOTH location scanning. it helped mine alot.

or manually, disable gattservice in your services
[Xperia Z2 Original Android Development] filjusz:
Today i've sold my Xperia Z2. After fantastic year with this great phone, I want to say thanks to [MENTION=5621191]rcstar6696[/MENTION] [MENTION=6891123]iXaidyiu[/MENTION] and all community for such a great help and support.
[Xperia Z2 Original Android Development] NotYetADev:
Somewhat off topic, sorry

I'm working hard at trying to build LineageOS for the z2 by myself, but i'm having some trouble, since this isn't an offically supported device. If anyone mind, do you mind leading me on where to go after this point?

So far, I have all dependecies/packages needed installed, have repo set up, and downloaded the LineageOS manifests with:

repo init -u https://github.com/LineageOS/android.git -b cm-14.1

(Sorry. New to XDA. Dunno how to make it remove the "HTML code:" line.)

The next step for most phones I would assume is running repo sync to download LineageOS source since everything else is already set up, however, i'm not sure what needs to be done for Sony devices before hand, and no amount of googling seems to reveal how LineageOS is built for unofficial Xperia devices after this point. I'm not sure how to implement Sony's device kernel, custom binaries, and how to make it to where the boot image has custom recovery support.

Any advice would be greatly appreciated, thanks! Learning is hard. :silly:
[Xperia Z2 Original Android Development] aboodyaiman:
You need to download some more sources, head to https://developer.sonymobile.com/op...uild-aosp-nougat-for-unlocked-xperia-devices/ and git clone their local manifest, re-change the repo to recent ones like StockCM and repo sync again.

Your kernel is set to root of your project/kernel/sony/msm8974

And some really really patience, better to ask in QA thread tho.
[Xperia Z2 Original Android Development] rcstar6696:
No please don't use those guide this will destroy cam quality
[Xperia Z2 Original Android Development] rcstar6696:
No please don't use this guide this will destroy cam quality
[Xperia Z2 Original Android Development] aboodyaiman:
I know, I just need him to get the manifest for sony sources as clearly it's his first time, then change them to recent source and delete remove project line.
[Xperia Z2 Original Android Development] NotYetADev:
Thanks for your responses, guys. It means and helps a lot after a lot of trial and error on this.
[Xperia Z2 Original Android Development] koraymers:
I experienced old voice problem again while I m start talking on the phone.

Also when I talk long time on the phone, after 20-25 min, suddenly voice went off. I experienced same old voice problem.

It should be fixed on last build so I suprised actually. What should i do? Should I reflash last build?
[Xperia Z2 Original Android Development] aboodyaiman:
Didn't know his manifest is public, my bad.
[Xperia Z2 Original Android Development] Antoniotroiano:
can i flash it from stock 5.1.1?

obviously with recovery and root
[Xperia Z2 Original Android Development] m1st3r1:
Bootloader unlock? Then you can. But if you have issues, flash it from stock .291.
[Xperia Z2 Original Android Development] Antoniotroiano:
yes of course it is unlocked thank you
[Xperia Z2 Original Android Development] iXaidyiu:
Flash it from .291 is a must, this ROM is based on the resources in .291.

And your bootloader has to be updated, too.
[Xperia Z2 Original Android Development] Antoniotroiano:
hi guys

i'm trying to use fastboot to flASH BOOT.IMG but the terminals says waiting for any devices.

what the hell have i to doooo???
[Xperia Z2 Original Android Development] iXaidyiu:
Install proper drivers on your PC system-wide and enter corresponding mode on your phone.
[Xperia Z2 Original Android Development] marco_nguyen:
Hi guys, After install this rom with nano Gapp. I can not play FLAC file via music app default or sony music. The same problem when I open I music file via file manager. It can open mp3 file.
[Xperia Z2 Original Android Development] jhuryganelo:
Clean Install and Flash Full GApp.
[Xperia Z2 Original Android Development] rocker00:
I remember that someone already posted the same issue but it happened after flashing xperia camera port, so, if you flashed it then try to install clean system without this port and see if you can play flac because no issue for me and i am also using nano gapps since i never flashed xperia camera port.
[Xperia Z2 Original Android Development] Rogan011:
Hi guys.

Maybe you don't use the phone calls like I do , but last build 20171707 voice output only in calls not working stabil. It's very unstable.

Clean install 20171707 twice and same thing.

When I fashing 20170611 voice output work perfect.
[Xperia Z2 Original Android Development] Bonfaa:
Same problem but i fixed it downloding a magisk module called Android Mic Fix :'D

I think the microphone is stable but is very low volume
[Xperia Z2 Original Android Development] TepaC:
I'm also having problems with mic since last build :(
[Xperia Z2 Original Android Development] marco_nguyen:
Oh. I install cam port after install rom.
[Xperia Z2 Original Android Development] rocker00:
Then now you know what you have to do ;)
[Xperia Z2 Original Android Development] Rogan011:
I think it's something with mic noise suppression
[Xperia Z2 Original Android Development] marco_nguyen:
After install, how can I go to recovery. :confused::confused: I try with press and hold volume up or down but nothing happen.
[Xperia Z2 Original Android Development] iXaidyiu:
Any LED lighted up during boot?
[Xperia Z2 Original Android Development] marco_nguyen:
just pink LED lighted up.
[Xperia Z2 Original Android Development] iXaidyiu:
Press Vol+ while it light up?
[Xperia Z2 Original Android Development] marco_nguyen:
Nope. I press volume up or not. pink is always up.
[Xperia Z2 Original Android Development] rocker00:
Are you sure that you already flashed twrp ?
[Xperia Z2 Original Android Development] marco_nguyen:
Last night I install. I do all step in page 1.

Now I am install rom again without flash port cam.zip.

If phone can play flac file. then I flash port cam.zip. Does phone play flac file ?
[Xperia Z2 Original Android Development] iXaidyiu:
Reflash TWRP through FASTBOOT.
[Xperia Z2 Original Android Development] rocker00:
As i said i can play flac files without any issue, install the rom without flashing the cam port, if you are able to play flac files then no doubt this port is causing that issue !
[Xperia Z2 Original Android Development] marco_nguyen:
Ok I know. thank you very much :D
[Xperia Z2 Original Android Development] Little Snevil:
The FLAC playback issue is due Cyberian camera. I'm experiencing the same with the mod. Without cyberian, it works flawless.
[Xperia Z2 Original Android Development] koraymers:
How can I find flashable karnel LOS last build
[Xperia Z2 Original Android Development] piterdemon:
In latest LoS build? Lol

Wysłane z mojego Xperia Z2 przy użyciu Tapatalka
[Xperia Z2 Original Android Development] Mega99:
I am having voice issues during calls. I can hear the other person clearly but they complain that my voice cuts out and that the volume varies a lot (described as "floating") and is impossible to understand.

I see there is a proposed fix using Magisk, but I'd appreciate if this was fixed in the builds as well. Thanks!
[Xperia Z2 Original Android Development] marco_nguyen:
Yes, I do some installations around this case. I install cam.zip, phone can play Flac file. But when I install Cyberian camera. Phone cannot play Flac file or take a picture from camera. Camera app doesn't have any soft button. :)
[Xperia Z2 Original Android Development] m1st3r1:
try nuking (delete/uninstall) audiofx? I flashed viper4android zip (which nuked the audiofx), and has no call problem whatsoever (both in voip or regular calls), well at least people on the other end never complained :D

and you guys are correct, the cyberian cam makes the music player (vanilla music player) be able to play flacs, but i always use Neutron Music Player which works just fine, so yea, if you want to keep cyberian cam and still be able to play flacs, find other players.
[Xperia Z2 Original Android Development] Little Snevil:
Say that on cyberian thread. I said it but nobody give me an answer maybe if you post that you have experiencing the same problem the developer will notice.

---------- Post added at 11:42 PM ---------- Previous post was at 11:40 PM ----------

I think it's something the dev can fix with some tweaks.
[Xperia Z2 Original Android Development] tahagamal:
Can you please add the link of magestic version u used
[Xperia Z2 Original Android Development] :
I have problem with ram usage. All apps using 0 bayt. And there is a inconsistency between settings-->ram and developer settings-->ram usage. How can I solve this?
[Xperia Z2 Original Android Development] jhuryganelo:
I just wondering, I know you may get mad because it may be stupid question, why Sony stuffs (Album, Music, Video Player - Movie, other Sony Xperia z2 features) is not installed on this ROM? This room/thread is made for Xperia Z2, right? I apologize in advance. I hope you'll understand.
[Xperia Z2 Original Android Development] iXaidyiu:
Because this ROM is not made by Sony lol...

It's LineageOS, an aftermarket ROM bro.
[Xperia Z2 Original Android Development] jhuryganelo:
"Because this ROM is not made by Sony lol...

It's LineageOS, an aftermarket ROM bro."

Hmm... okay Bro. Thank you. :)
[Xperia Z2 Original Android Development] jaimydebree:
I have a problem with latest version and spotify playback: when skipping to next track audio goes for a short second to speaker instead of headphone. Flashed the june version and problem is gone.
[Xperia Z2 Original Android Development] Mega99:
Please use the search function prior to posting! This issue has been reported before. The fix is to uninstall the AudioFX system app.
[Xperia Z2 Original Android Development] AzraelX:
Yeah. Definitely it sounds sad.but we all have to deal with it.soo sad.there are nothing to compare with sony apps.miss sony apps. :( :)
[Xperia Z2 Original Android Development] mfauzirahman:
please try to install it manually...sony music is working fine
[Xperia Z2 Original Android Development] AzraelX:
Yeah. It works fine. :good:
[Xperia Z2 Original Android Development] NotYetADev:
Out of curiosity, why is SELinux set to permissive?

[MENTION=5621191]rcstar6696[/MENTION] next time you build can you record you doing it then upload it to YouTube? I think it'd help a lot of people learn, like me, how you do this process and you have no idea how appreciated it would be.
[Xperia Z2 Original Android Development] aboodyaiman:
Well, his recording will be pointless at all.

If you want to learn how to compile ROMs from source, there are threads for that, give it a try :)
[Xperia Z2 Original Android Development] Man_22:
I have a strange bug, when I get a call and I try to answer, the phone gets stuck.

p.s.: I've recently installed ViperAudio and sometimes it gets stuck since I installed the latest version.
[Xperia Z2 Original Android Development] Ariel98:
Bug
[Xperia Z2 Original Android Development] iXaidyiu:
What?
[Xperia Z2 Original Android Development] okij:
I guess he just meant

[IMG="bug"]https://www.bugs.com/images/pest-library/other-bugs.png[/IMG]

no more, no less. ;)
[Xperia Z2 Original Android Development] 609125:
EDIT: Posted in Q&A
[Xperia Z2 Original Android Development] Bonfaa:
your ViperAudio mod is not compatible with this rom, i fixed it using another mod(DivineBeats_V9.0 )

and i think your problem can't be talk in this thread :)
[Xperia Z2 Original Android Development] koraymers:
Is there any planned 'Energy Aware Scheduling (EAS) karnel update' for LOS builds like latest Carbon ROMs? [MENTION=5621191]rcstar6696[/MENTION] [MENTION=6891123]iXaidyiu[/MENTION]
[Xperia Z2 Original Android Development] Cygmon0:
This happened to me due the incompatible soundmod.

I fixed this by flashing stock .291

Then flashed the lineage without soundmod. But today i flashed magisk and installed viper4android port module. And the apk from the official thread. Seems working fine with safetynet bypassed ( deleted audiofx ) to avoid problems

تم الإرسال من Xperia Z2 باستخدام Tapatalk
[Xperia Z2 Original Android Development] iXaidyiu:
Implementation in other devices' ROM doesnt mean universal.

Even Carbon for Z2 has no EAS yet.
[Xperia Z2 Original Android Development] ilqar.ehlimanov:
Hello developer and friends...

I have a question...

Xperia z3 dual new update future...?
[Xperia Z2 Original Android Development] iXaidyiu:
Wrong forum and thread.
[Xperia Z2 Original Android Development] gt3rsrot:
Reboots after installing latest built

Hello,

I upgraded my Z2 from the 20170504 built to the 20170717 built (installed the zip file in twrp and deleted cache/dalvik ). Now the phone randomly reboots a few minuets after the screen is shut off. Sometimes it takes 2 minutes sometimes 30 minutes but the phone is definitely not running stable with this built, with the 0504 built I had no issues like that. Has anyone some suggestions how to fix that issue?

I would like to add the logcat, last_kmsg, dmesg file but it seems I´m not allowed to add files to this post.
[Xperia Z2 Original Android Development] iXaidyiu:
Tried clean install? Cuz there's an Android upgrade involved as long as I remember, so a clean install may be needed to smash the bugs.