yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Original Android Development] zombie02:
[MENTION=6891123]iXaidyiu[/MENTION]

the post 335 fix does not seem to work for me.

I used emma to go back to .575, then created a fresh .291 FTF and fashed it.

Then used the step by step of this rom to install it.

I got everything up and running, and when I left the house today, and checked 10 minutes later, no internet.

I did find a way to get it back (apart from restarting).

I used *#*#4636#*#*

then I went to phone info,

then switched my preferred network type from LTE/UTMS auto (PRL) to LTE/WCDMA.

Switching to the LTE/WCDMA might actually be a fix in itself, at least that's what I read on a forum somwhere.

I don't know the specifics why it would work or not and I don't have a link to the forum anymore, but I'll test this and I'll report back.

I also don't know if it might bring problems with it.
[Xperia Z2 Original Android Development] AK2H:
Can you please provide me a step by step how to flash it via MultiROM, I want it badly :-? [MENTION=5621191]rcstar6696[/MENTION] [MENTION=7333858]akshay2shah[/MENTION] [MENTION=6891123]iXaidyiu[/MENTION]
[Xperia Z2 Original Android Development] marcelo.arnaez:
They do not listen to me when they call or call me.

estoy realizando llamadas y no me escuchan.

tampoco cuando las recibo.

A alguien mas le paso?

I'm making calls and they do not listen to me.

did that happen to anyone else?
[Xperia Z2 Original Android Development] iXaidyiu:
Thanks for your report.

Interesting, I tried out the network switching in the INFO settings, but changing the states doesn't help me (only changing it to non-4G then 4G helps). Maybe the protocol of carriers differs lead to this thing(?)

Because in my case, LTE/UMTS(PRL) works for me.
[Xperia Z2 Original Android Development] zombie02:
I do live in the netherlands, If you live outside of europe, maybe we have different signals?
[Xperia Z2 Original Android Development] iXaidyiu:
Could be, better consult your own ISP;)

Maybe your ISP doesn't support UMTS (PRL) cuz it is of a bit old generation:silly:
[Xperia Z2 Original Android Development] Meloferz:
Tenes que desactivar ok Google, creo que algo así dijeron sobre eso

You have to disable ok Google

Enviado desde mi Xperia Z2 mediante Tapatalk
[Xperia Z2 Original Android Development] aminfauzi:
[MENTION=5621191]rcstar6696[/MENTION] this maybe help you in fixed auto brightness configuration.

https://gerrit.nailyk.fr/#/c/153/1/overlay/frameworks/base/core/res/res/values/config.xml
[Xperia Z2 Original Android Development] zombie02:
I had no internet again and when i lookes into phone info I saw that my preferred network type was back to utms auto

I also saw that before I switched, my data network type was utms.

After switching that data type switched to HSPAP.

So im guessing my phone or provider cant play nice with utms.

Do you think there is a way to force HSPAP as network data type? (Or lte/wcdma as preferred network type) because I think that would solve it for me
[Xperia Z2 Original Android Development] iXaidyiu:
Did you flash your local-customized FTF in flashtool? If yes, then you may have to stick with the AutoMate method for now.
[Xperia Z2 Original Android Development] zombie02:
yup, was a local customized.
[Xperia Z2 Original Android Development] marcelo.arnaez:
Gracias, lo intenté pero sin embargo nada. no me escuchan cuando llamo o me llaman.

esperaré que en algún momento haya soporte Oficial de Linage.
[Xperia Z2 Original Android Development] maartenr:
English please! :)
[Xperia Z2 Original Android Development] Meloferz:
Que raro en serio, tendrías que probar reinstalar de nuevo, primero sin gapps, si todo va bien, probar instalando los gapps, te recomendaría el full, ya que no reemplaza las apps de Lineage

That's weird, maybe you should try to reinstall again, first without gapps, that if calls works, and then install gapps. I recommend you the full version, as is does not replace stock Lineage apps

Enviado desde mi Xperia Z2 mediante Tapatalk
[Xperia Z2 Original Android Development] Hariskh:
just go into multirom twrp and click on the top right corner and select add rom then select the LOS rom and install it to internal storage. after that go to manage roms and select Lineage OS then select install zip then install gapps full and reboot done.fully working LOS rom.
[Xperia Z2 Original Android Development] Hariskh:
Safetynet fails on un rooted using latest LOS rom. Any solution
[Xperia Z2 Original Android Development] kuba130000:
Please search before posting!

Use Magisk root and magisk hide and all will work.
[Xperia Z2 Original Android Development] Supportality:
need an ergent help here. when im trying to flash rom zip it comes up with this error. Uptader process ended with ERROR : 7 error installing zip file 'externel_sd/lineage................ . Please help . Edit: now im stuck on boot sony logo freezes icant open my phone. i dowloaded only the lineage-14.1-20170402-UNOFFICIAL-sirius.zip should i download the all 3 zips or what? more than 6 hours im trying the installing this :(
[Xperia Z2 Original Android Development] nailyk:
read/send /tmp/recovery.log, the error is into.
[Xperia Z2 Original Android Development] Supportality:
couldnt follow what u mean :(
[Xperia Z2 Original Android Development] nailyk:
After flashing and your error 7, copy the recovery.log into your computer.

Read the last ~20 lines to understand what is happening. If you don't understand post it here and we will try to help you.

But without a log we can do nothing.
[Xperia Z2 Original Android Development] Supportality:
but my phone is not openning i think couse of the boot.img that i flashed via fast boot on the before steps? now im flashing my other rom to access that log file i ll let u know.
[Xperia Z2 Original Android Development] filjusz:
Oh god...

Install rom via proper recovery mentioned in OP

thats why installation fail for you

...
[Xperia Z2 Original Android Development] Supportality:
oh my god. i dont know what happened. i was trying to install it with the TWRP gived in description (installed via fastboot) now i flash the boot and the twrp again (via fastboot again)and now its installing how this could be happeniing?
[Xperia Z2 Original Android Development] iXaidyiu:
Wrong command usage.
[Xperia Z2 Original Android Development] Supportality:
how? there were only one TWRP3-1.img file its been 8 hours im trying to installing it rofl

---------- Post added at 03:19 PM ---------- Previous post was at 03:16 PM ----------

what if i install the root.zip file after the installation of gapps and reboot. can i install it once the phone reboots? or am i have to do an clean installation?
[Xperia Z2 Original Android Development] iXaidyiu:
There is also a boot.img, clearly you are not following the clean installation guide as stated in OP, that's why you need to wait for a 2nd time in order to flash it successfully.

You can install those add-ons at anytime after you have finished flashing the base ROM, as long as you have a custom recovery (TWRP) and wipe cache and ART cache after flashing and it will be good to go.
[Xperia Z2 Original Android Development] filjusz:
Yes you can
[Xperia Z2 Original Android Development] Pramodkumawat:
In this ROM wifi network is much low and normally. Any fix.
[Xperia Z2 Original Android Development] qbic2:
Wifi works for me fine, no problems.
[Xperia Z2 Original Android Development] Mohaned98:
I have noticed something about the random reboots during night

I stayed up all night and last night, the phone rebooted at 2:43 am gmt +2 exactly

Today however, the phone didn't reboot but when i tried to turn on the wifi, it just won't turn on.. i had to restart the phone.. this may have nothing to do with the real cause but I've been experiencing the reboots every day so far and this is my first day without it happening

It doesn't annoy me as it happens while charging over night, but what's weird is that it happens over night only, not during the day so it might have something to do with the time fix you implemented. Idk anything about coding so please don't kill me
[Xperia Z2 Original Android Development] iXaidyiu:
Thanks [MENTION=5621191]rcstar6696[/MENTION] for bringing such an awesome ROM to this 3 years old.

After using this ROM for quite a period of time, the overall performance is awesome, but still, there are of course some room for improvement to be made.

Governors of CPU and GPU cannot be changed, kernel pacnic resulted when changed;

The response time for Mobile Data to kick in is too long, sometimes a manual service provider search is needed to make it work.

More will be added as I use this ROM for a longer time;)

Perhaps some of the features are already on their way to see the world or my testing isnt all-round enough yet, so please feel free to correct and adjust any of my reported issues.

After all the "set backs" so far I have encountered in the time with this ROM, it has already been able to proof itself to be a daily driver, with lots of advanced features added beyond our old-and -long-lived-stock ROM.

Again, thanks for all the teams/individual who have participated in this project to make it possible.
[Xperia Z2 Original Android Development] rcstar6696:
GPU issue: i have it too

CPU works without problems

My mobile data is always working no idea
[Xperia Z2 Original Android Development] raminta:
I have the same problem with WiFi and i changed the region code but it didn't work I'm

There is a way to use Wi-Fi

1.turn on airplane mode

2.reboot phone

3.after the phone booted up you will see available wifis

4.disable airplane mode to have mobile network and wifi both to gather
[Xperia Z2 Original Android Development] iXaidyiu:
Amendments:

Yes, CPU works (ondemand), but GPU simple_ondemand don't.

One more thing, what about enabling overclocking the CPU and GPU to 2.7 GHz and 700 MHz respectively in the kernel?
[Xperia Z2 Original Android Development] :
Can you confirm that in settings > sound > vibrator intensity isn't working and it's crashing settings app; I installed the rom on my friends Z2 and mine and I personally don't care about vibration strength but a bug is a bug and I'm reporting it :)
[Xperia Z2 Original Android Development] Meloferz:
No problem on my side, working as expected

Enviado desde mi Xperia Z2 mediante Tapatalk
[Xperia Z2 Original Android Development] Mohaned98:
Yeah i forgot i had replaced gallery with google photos, my bad ?
[Xperia Z2 Original Android Development] kzee125:
is it just me or charging is taking too long?
[Xperia Z2 Original Android Development] iXaidyiu:
No problem here, charging currently on 1.0A+.
[Xperia Z2 Original Android Development] myrums:
I have a problem with bt. When i try to Connect to my by player without having enabled mediasound, it imediatelly disconects from the device.

So i cant use my bt when i want to talk trough it, only play media.

Other than that, rom is brilliant.

Made a try on a logcat.
[Xperia Z2 Original Android Development] paulwollf:
Hey

first of all huge appreciation to rcstar for bringing this awesome Rom bugfree to our device now i will keep it for another year:good:

My question: does anybody know a substratum theme which enables traffic indicators right next to the H or LTE in the triangle and not Next to it like in many Roms?

Thx again

Like in Sony roms
[Xperia Z2 Original Android Development] sottabyte:
Overwall performance and SOT are great and camera works fine.

Changing is slower than stock.

And as mentioned before auto brightness isn't accurate compare to stock.

Guys from Iran just change wifi region to Germany it works for me.

Thanks man you are the best.

You make our device great again so we shouldn't change it any time soon.

I test charging again it shows 1 A but I feel It is slower than stock I don't know maybe I'm wrong.
[Xperia Z2 Original Android Development] vikash1994b:
Try compactui from playstore. Its a paid theme bt its free atm. Go get it only 6 hrs left :D
[Xperia Z2 Original Android Development] madbehaviorus:
Can I use this unlock-external-sd-card-write-permission-for-all-apps-in-android-lollipop-kitkat?
[Xperia Z2 Original Android Development] kuba130000:
After I extracted boot.img from ZIP file, should I delete this file from ROM ZIP?
[Xperia Z2 Original Android Development] Chefov01:
So, here's a rather strange issue I stumbled upon. MTP doesn't work when LineageOS is booted, tried with different cables. I also tried MTP under the recovery and it works fine. Anybody else having this issue?
[Xperia Z2 Original Android Development] madbehaviorus:
I can't import my "kontacts.vcf" in the new Lineage Contacts. What can I do?
[Xperia Z2 Original Android Development] ThE mUrk:
no
[Xperia Z2 Original Android Development] kzee125:
Is this good?
[Xperia Z2 Original Android Development] kuba130000:
Anyone can tell me how to flash boot.img and recovery?

Should I do this if the phone is started normally or in recovery? Or there is other mode?
[Xperia Z2 Original Android Development] chriskhany:
I've checked it out as well and on my phone it happens around 3:20 am but while I was doing minor stuff like watching movies or listening to music or only having the screen on or even off and about 1 hour before the reboot there are slight disconnections in charging and the charging led goes off for a very short amount of time and that occurs a few times (handful like 4 to 9 times) and then the reboots occurs and disconnections are no longer followed and it just charges smoothly.

Not that I care for a simple reboot but I wonder why it is?...i don't know why but I feel like I was told the reason before...were I??curious...
[Xperia Z2 Original Android Development] Hariskh:
go into developer options and enable aggressive wifi to mible handover. This made wifi much better for me.
[Xperia Z2 Original Android Development] Supportality:
i cant log in to snapchat what should i do? i havent installed any other app or xposed module. just the rom and super su.zip from recovery
[Xperia Z2 Original Android Development] iXaidyiu:
UnSU and log in and reflash SuperSU.

Come on this is a general question that if you use that f***ing Google you should find pages of result telling you that.

Please stop spamming this thread with such easy-to-search questions all over again.
[Xperia Z2 Original Android Development] DawoodSahi:
This is very off topic please refrain from such questions and just search about it.

You can't login to snapchat with safetynet being blocked as the result of root. Simply unroot and login then reroot. Or just use magisk (root) and magiskhide.
[Xperia Z2 Original Android Development] Hariskh:
go to your super su and then from setting do full cleanup for unroot. your phone will restart after that install magisk manager from playstore and click install magisk v12 after download completes go into recovery and install magisk v12 from downloads folder. reboot and go into magisk manager setting and enable hide magisk now you can log into snapchat as safetynet will not fail.
[Xperia Z2 Original Android Development] iXaidyiu:
Read follow.

And please, this is a DEV thread, please keep it clean and do not duplicate your queries, including editing the MENTION tags.
[Xperia Z2 Original Android Development] DiogoSilva48:
Does the kernel from this ROM support "init.d"??
[Xperia Z2 Original Android Development] kzee125:
Hello frnds qu8ck charging isn't working for me!

Maximum input is about 680mA

Plz help here
[Xperia Z2 Original Android Development] filjusz:
As i said earlier and reported to Rcstar - latest bulid of his L-OS have disabled charging with more than 1000 ma and not working fast charge.
[Xperia Z2 Original Android Development] kzee125:
It's not even going to 1000

Maximum level is 650
[Xperia Z2 Original Android Development] filjusz:
No problem to reach almost 1000 ma (800/940) for me

Maybe change your USB...?
[Xperia Z2 Original Android Development] Chronic2k13:
Has anyone any idea how to get rid of the Google search bar at the top? Was able to do it on previous roms!! Many thanks in advance!!
[Xperia Z2 Original Android Development] kzee125:
Nothing

Used 3 cables

And 3 different chargers
[Xperia Z2 Original Android Development] CycloneB:
Use magnetic cable or dock ...charging is much faster
[Xperia Z2 Original Android Development] jaltek:
Not in this version - for me. Charging via USB is faster that magnetic. As said before, this will be IMHO fixed with the next / official version.
[Xperia Z2 Original Android Development] kraft6677:
A game Dead Trigger2 On the firmware hangs, plus the application Friend Around, on the sink everything is smooth
[Xperia Z2 Original Android Development] Hariskh:
long press on your homescreen above widgets you will see 3 dots press it then from homescreen setting disable search bar
[Xperia Z2 Original Android Development] Chronic2k13:
There are no 3 dots there!!
[Xperia Z2 Original Android Development] iXaidyiu:
Announcement, all please read:

I have now opened up a new Q&A and discussion purposed thread in the Q&A section HERE, should you have any enquires, please post your question there and keep this thread clean for announcements and new bug reports (for old bug reports please refer to the lists in OP).

Thanks for all of your participation and hope you have a happy flashing:cowboy:
[Xperia Z2 Original Android Development] shahid221:
You doing great job.

But i'm new to z2, so are we expecting more updates? or development of this section has stopped?
[Xperia Z2 Original Android Development] Adevem:
...right after the previous post? i love XDA and all you numbnuts <3 open your bloody eyes and READ.
[Xperia Z2 Original Android Development] iXaidyiu:
In addition to the previous post by [MENTION=2809151]Adevem[/MENTION], who has ever mentioned a word that this project is gonna stop? Only will the overflow of blind-posting noobs like you stop our passion to keep developing.
[Xperia Z2 Original Android Development] shahid221:
Why you guys being so unfriendly, if a person doesn't know something you should act mature help out that person.

Anyways, i respect you guys for replying sorry for hurting your sentiments. Keep on developing. I will support you by donating you guys. Because you guys deserve it for all the hardwork.
[Xperia Z2 Original Android Development] Bewildered Wolf:
Dont be too hasrh brothers :)

Bro, they are not unfriendly. I know [MENTION=6891123]iXaidyiu[/MENTION] personally and he's the most helpful person I've ever met on the forum but its just that same questions have been asked so many times that it geet frustrating to answer them after some point of time. That's why we have a search button on the forums.

Dont take anything personally bro. They are working very hard. So lets support them. :)
[Xperia Z2 Original Android Development] itsnie:
Does anyone know the /sys path to increase max current charging? Is terrible slow i can't get 1000+ma with -+35°c battery temp!

I know charging with magnetic sems to be fine, but i not have magnetic cable
[Xperia Z2 Original Android Development] davidquiceno25:
hi, sorry i'm a noobie in this but when i try to flash the ROM in the TWRP recovery i get the following error "This package is for device: D6502, D6503, D6506, D6543, sirious; This device is a z3" how can i fix this?

solved, thanks for the help.
[Xperia Z2 Original Android Development] @kitokit:
Check op bro, it's for z2 not z3.
[Xperia Z2 Original Android Development] davidquiceno25:
i know, i have a z2 d6503 model
[Xperia Z2 Original Android Development] -kOS-:
If you have a Z2 device, then you have to make sure to flash the Boot.img and recovery.img files described in the instaation instruction located in the OP. I get that error when i triying to install LOS the first time from MX ROM. plese follow the Instalation instructions in OP and you will be fine.
[Xperia Z2 Original Android Development] iXaidyiu:
Use the TWRP as supplied in OP.
[Xperia Z2 Original Android Development] xMasterbaitx:
Whats new in latest build :)? (20170418)
[Xperia Z2 Original Android Development] rcstar6696:
I will post changelog in some min
[Xperia Z2 Original Android Development] rcstar6696:
18.04 Build

Changelog:

- Android 7.1.2

- Update Substratum

- Security Release April

- Code Cleanup

- FM Radio Sound with OK Google fixed

- BT calls are fixed

- Small Audio Changes

- HD Voice on VoIP

- New Boot image layout

- Rework Kernel Config

- Offline Charging fixed
[Xperia Z2 Original Android Development] qbic2:
I have question, Is it possible to easily disable zRam ? 3GB of RAM should be enough, and swap sounds unnecessary.... Im not sure of fstab.qcom is editable somewhere and not generated from boot.img... at runtime.

It is visible that zram (512mb) is created @ boot time (in dmesg) and swap enabled.
[Xperia Z2 Original Android Development] itsnie:
Finally, testing asap thanks :fingers-crossed:

There is to many guide to disable zram, this is easily one to do that, type su -c swapoff /dev/block/zram0 [enter] in terminal
[Xperia Z2 Original Android Development] Chronic2k13:
Can we flash 7.1.2 over the March build without problems [MENTION=5621191]rcstar6696[/MENTION] ? I say that because I had problems with the earlier April build
[Xperia Z2 Original Android Development] qbic2:
For me it worked, I'm on 7.1.2 now (upgrade from 7.1.1).

I know how to disable it under generic linux but not sure if it is any different here, I would like to disable it at startup time. Maybe some build.prop variable or something, if not maybe in init script.
[Xperia Z2 Original Android Development] Mohaned98:
Wasn't offline charging already fixed? Or is this related to the problem where screen doesn't go off fully?

EDIT yep now screen goes off fully, thanks alot

1 thing i faced was a bootloop when i flashed magisk so beware people
[Xperia Z2 Original Android Development] itsnie:
You can make init.d script

[MENTION=5621191]rcstar6696[/MENTION] please take a look at this log

04-19 06:48:07.833 E/ActivityManager(1662): Sending non-protected broadcast projekt.substratum.APP_CRASHED from system 1662:system/1000 pkg android

I not install any subtatrums theme, but see my screenshot there's no rw/to options under /system and make root explorer crash when editing file
[Xperia Z2 Original Android Development] filjusz:
I dont have rw under /system too
[Xperia Z2 Original Android Development] madbehaviorus:
Ok rcstar fixed many issues anderen thats so beautifull, but whats is with the reboot every 1-3 days in the night? Do you have included the keinen fix?
[Xperia Z2 Original Android Development] iXaidyiu:
I don't have any at-night-reboot on 7.1.2 since the first day I use the build.
[Xperia Z2 Original Android Development] rcstar6696:
Hmm i have no problems and i can mount all things i want so no issues for me sorry

But i don't use magisk

There is an system APP for substratum which is invisble in APP drawer so all is OK the APP crashs sometimes because of no superuser
[Xperia Z2 Original Android Development] DiogoSilva48:
Since you tell me that thing about reinstalling stock rom with flashtool and then reflashing the ROM, I didn't​ had any reboots at night.
[Xperia Z2 Original Android Development] PSaran:
Is the d6502 patch still needed? On the latest 18.4 build. Asking because i saw a d6502 script in the zip.
[Xperia Z2 Original Android Development] iXaidyiu:
Yes, the patch is still required as reported by [MENTION=4865506]Bewildered Wolf[/MENTION].
[Xperia Z2 Original Android Development] jaltek:
Thank you so much [MENTION=5621191]rcstar6696[/MENTION] (and contribs) for the update and for your hard work.

Only thing I see at the moment that the BT calls are still not working for me. I can't hear my partner via the BT headset. My partner only hears me "scrambled".

(D6503 / COULAX CX10 Bluetooth Headphones)

Any hints? TIA!
[Xperia Z2 Original Android Development] apingdu:
Doesn't work for it :( I think I got to return to stock rom and install all again thanks for reply
[Xperia Z2 Original Android Development] :
May we request features in this thread? Swipe navbar to sleep is really useful, would be great to have it back again, other than that the ROM is working properly and have no issues on 7.1.2 so far, will update though.