yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Original Android Development] Mohaned98:
the su add-on from lineage works but I need SuperSU in order to use ARISE sound mod, but when i flash supersu in recovery, the phone just lags

I tried dirty flashing the rom, flashing su addon, installing supersu from playstore then rebooting, i launched supersu app, told me to update binary, i chose updated via recovery, it flashes in recovery then reboots but it takes me into a bootloop

I'll try giving it some time maybe the lag is temporary
[Xperia Z2 Original Android Development] nicf:
Thanks a lot for your work guys, this is awesome.

I wonder if anyone can help me. I dirty flashed the 18-April build over 2- April build and Bluetooth calling is still not working for me. I have a D503. Any suggestions on how to get it working?
[Xperia Z2 Original Android Development] iXaidyiu:
Cleared cache and ART cache?
[Xperia Z2 Original Android Development] nicf:
Thanks for your reply. Yes, I cleared the cache and ART cache.
[Xperia Z2 Original Android Development] itsnie:
Try this supersu and report
[Xperia Z2 Original Android Development] Mohaned98:
Same result
[Xperia Z2 Original Android Development] Mohaned98:
I give up on this supersu issue.. screw it

For those of you looking for a soundmod other than Project Meli Y that works with this rom, I'd suggest using Dolby Atmos Magisk Module and install Viper4Android 2.5.0.2 APK with it, i got amazing results

I tested with a mod called DivineBeats 9.0 but it caused me to not have sound during calls and mic has scratching sound so I find this magisk solution to be perfect
[Xperia Z2 Original Android Development] 3.14:
i tried setting it to manual after i read your post, and about 2 hours later it rebooted while charging.

My logs over the last few days.

--------- beginning of main
04-20 20:13:13.629 6818 6818 W System : ClassLoader referenced unknown path: /data/app/org.jtb.alogrec-1/lib/arm
04-20 20:28:37.191 13872 13872 W System : ClassLoader referenced unknown path: /data/app/org.jtb.alogrec-1/lib/arm
--------- beginning of main
04-21 03:03:30.743 6850 6850 I art : Starting a blocking GC AddRemoveAppImageSpace
04-21 03:03:30.745 6850 6850 W System : ClassLoader referenced unknown path: /data/app/org.jtb.alogrec-1/lib/arm
04-21 06:06:21.017 6850 6861 I art : HomogeneousSpaceCompact marksweep + semispace GC freed 1133(93KB) AllocSpace objects, 1(20KB) LOS objects, 41% free, 1430KB/2MB, paused 64.686ms total 64.686ms

--------- beginning of main
04-21 18:28:43.385 21654 21654 W System : ClassLoader referenced unknown path: /data/app/org.jtb.alogrec-1/lib/arm
--------- beginning of main
04-23 02:16:58.864 7443 7443 W System : ClassLoader referenced unknown path: /data/app/org.jtb.alogrec-1/lib/arm
[Xperia Z2 Original Android Development] :
Left my phone on the magnetic dock, an hour later it rebooted, do we know the cause of this?
[Xperia Z2 Original Android Development] itsnie:
[MENTION=5199086]Mohaned98[/MENTION] [MENTION=882098]faherneoh[/MENTION] do you guys have install kernel auditor app? Because i'm rooted to (Su v2.79 sr3), but my device working just fine! I'm ask because i'm facing heat issue after using kernel auditor, heating to much will slow down device
[Xperia Z2 Original Android Development] ThxAndBye:
I've already flashed stock and reflashed the April build.

Disabled automatic time and I still have reboots at night while charging.

But no problems with root. (SuperSu)
[Xperia Z2 Original Android Development] Dendis:
I just decided to live with automatic reboot
[Xperia Z2 Original Android Development] Mohaned98:
I personally don't have any kernel tweaking apps installed.. It's really odd. Supersu used to work just fine but idk
[Xperia Z2 Original Android Development] Wallas-Palace:
Help

Good Jop But I Have A Question

How To Use Pixel Animated NavBar ? That Stock LineageOS NavBar is Booooring And I Want To Change IT :(:(:(:(:(
[Xperia Z2 Original Android Development] DiogoSilva48:
Search button bro, an user told here how to change it.
[Xperia Z2 Original Android Development] itsnie:
LoL ?

Why not try substatrum with pixel navigation bar? I haven't try but it's worth to trying
[Xperia Z2 Original Android Development] jhuryganelo:
Camera

May I know the Camera fix? I have clean installed the latest Lineage OS build yesterday and notice that camera is not working. I tried to install other camera application and the problem still exist. I tried to re clean install it, the problem is still not fix. The camera always force closed.
[Xperia Z2 Original Android Development] Wallas-Palace:
I Have Tried Substatrum With Pixel NAVBAR But With No Home Animation. And I Just Tried To Port It But I Got Problems With Recompiling SystemUI.apk I Just Need Help Porting it. :crying::crying::crying:
[Xperia Z2 Original Android Development] ugumba:
Great ROM, but calls are frustrating. In every second or third call, the microphone doesn't work... ?
[Xperia Z2 Original Android Development] Mohaned98:
Works for me
[Xperia Z2 Original Android Development] predatorian:
Not sure if we are talking about the same bug, but i'm using a Pebble and Bluetooth is constantly turning off.
[Xperia Z2 Original Android Development] DiogoSilva48:
I have a bug that kinda changes my timezone everytime I restart my phone and when it changes to the normal timezone my morning alarm rings.
[Xperia Z2 Original Android Development] djgigi94:
Thanks for advice! But i knew that open camera is usefull. But all apps do same shoots similar at stock with more dettails but different regulation. For example the iso remain low in low light situations. And we don't have some manual controls like stock firmware cam. It is for stock blobs ,who block 3rd party apps to use some manual controls? But overall the rom is great and camera is very near at stock or better sometimes really. It is the first time who i see this in cyano/lineage os rom. The quality of cam on those roms is often low...but now is great! :D
[Xperia Z2 Original Android Development] kuba130000:
Last question - must I have Android Studio installed or only Flashtool, PC Companion drivers is enough to flash? I have ADB from TA-Backup tool. Can I flash with this tool?
[Xperia Z2 Original Android Development] madbehaviorus:
You need this tool: https://xdaforums.com/android/software/host-tools-t3402497
[Xperia Z2 Original Android Development] Chefov01:
Thanks for confirming this. I found out my .inf files concerning the MTP are derping out, so I found a solution on my end. Cheers. :) I could've never imagined such issues until now, but... Whatever. :D
[Xperia Z2 Original Android Development] kuba130000:
Okay, I've downloaded this, but when I run ADB.exe or fastboot.exe it's turns off.. :/
[Xperia Z2 Original Android Development] maartenr:
I noticed the same with my fitbit. Is it battery saving or a bug?
[Xperia Z2 Original Android Development] akshay2shah:
I can understand you are newbie..

I request you please use personal message to learn how to do.(this is not the place to learn ADB stuff)

Better to keep thread clean and upto only rom related issue.
[Xperia Z2 Original Android Development] rcstar6696:
I use my smartwatch all the time with BT on and no issues
[Xperia Z2 Original Android Development] rcstar6696:
How can i reproduce it ?
[Xperia Z2 Original Android Development] Thieuke:
Flashed Rom today, as decribed in OP.

Except voor using Aroma installer on GApps.

Camera not working :(

Cannot connect to camera.....

Restarting now, maybe it's a solution?
[Xperia Z2 Original Android Development] rcstar6696:
Did you read the op ?

Flash camera driver fix ZIP
[Xperia Z2 Original Android Development] Thieuke:
Oh stupid of me. I downloaded it, put on SDCard, read completely over it in OP, so didn't flash the package.

I apolagise.

But good news, Aroma installer on GApps works (y)
[Xperia Z2 Original Android Development] maartenr:
Well, I'm not sure if its a bug or if it suppose to behave like this. But when I turn on bluetooth, it automatically turns off again after a seemingly random ammount of time. Or is this a battery saving option?
[Xperia Z2 Original Android Development] Thieuke:
flashed and works (off course)
[Xperia Z2 Original Android Development] rcstar6696:
Yes it is but only when no device is paired
[Xperia Z2 Original Android Development] kuba130000:
I will test Bluetooth with Moto 360 which I have, and tell you it's working or not. ;)
[Xperia Z2 Original Android Development] DiogoSilva48:
https://xdaforums.com/xperia-z2/themes-apps/mod-3-7-quick-settings-row-t3582732

Here you have it, lazy person.

//Don't forget to hit thanks, it kinda helps lol ?
[Xperia Z2 Original Android Development] nourmax64:
Charger battery problem

chargering battery very slowly plz fix this bug im using 7.1.2 rom or tell me how i can fix this bug
[Xperia Z2 Original Android Development] Bewildered Wolf:
I searched charging slow on this thread and see what i found (screenshot )

Please search before posting.

//Press thanks if it helped.
[Xperia Z2 Original Android Development] iXaidyiu:
And please you should not post the same question in multiple threads, thanks.

---------- Post added at 02:26 AM ---------- Previous post was at 02:25 AM ----------

Camera fix is no need for 0418 build.
[Xperia Z2 Original Android Development] jhuryganelo:
Camera fix is no need for 0418 build.

However, the camera is still not working even I reflashed it.

I am using 04/18/17 - latest build. Please help me to solve this. Is this because of Gapps? I have installed the April 15th Beans Gapps

because I have problem downloading the latest one on opengapps.org.
[Xperia Z2 Original Android Development] iXaidyiu:
Wipe your system partition then reinstall.
[Xperia Z2 Original Android Development] jhuryganelo:
I have clean/wipe all except for sdcard already before I have install the rom. I tried to clean reinstall it again, the problem still exist.
[Xperia Z2 Original Android Development] iXaidyiu:
Wipe all then install again. If retry failed, you need to go back to .291 stock then upgrade again.
[Xperia Z2 Original Android Development] jhuryganelo:
I am from latest mm stock build when I have upgraded into latest lineage os build
[Xperia Z2 Original Android Development] LongLuu:
yeah some sound mod cause problems "not have sound during calls and mic has scratching sound" because of viper4a add-on available in mod. use viper4a-fx magisk, dolby atmos magisk it works well. now meli y 18 worked on los 14.1 lastest build
[Xperia Z2 Original Android Development] nourmax64:
But man in my stock android m was charger full battery in 2 hours and nw in this rom i full charge in 4 hours and my device temp 32 so can u help me ! ? :confused:
[Xperia Z2 Original Android Development] filjusz:
Phone limit max. power charging due to overheating problem. No one can help you, thats normal
[Xperia Z2 Original Android Development] iXaidyiu:
Why don't you just read OP. Read before ask please.
[Xperia Z2 Original Android Development] jhuryganelo:
I have already made all the necessary steps on the first page. Maybe there is a problem with camera lib files that is why the camera is not working for me.

And I read and do everything before I ask. I am not going to ask if I didn't done that.
[Xperia Z2 Original Android Development] Bewildered Wolf:
Bro you're the only one having camera not working issue. Clean install your rom maybe ?
[Xperia Z2 Original Android Development] jhuryganelo:
I already said earlier I have already clean installed and clean re - install it earlier

well what ever... Maybe I will wait for another build if there is a new one.
[Xperia Z2 Original Android Development] iXaidyiu:
Clean install including,

Flash stock FTF with USERDATA and APPS_LOG wiped;

Boot into stock and test camera;

Install again this ROM while following suit to the instructions listed in OP carefully.
[Xperia Z2 Original Android Development] jhuryganelo:
Let me try to install the latest gapps if it can fix the problem.
[Xperia Z2 Original Android Development] Axle Cj:
I Have Got The Setup Wizard Problem On First Open How To Fix It ?
[Xperia Z2 Original Android Development] Bewildered Wolf:
Reboot and it will get fixed.

Please be more specific about the problem.
[Xperia Z2 Original Android Development] darknessmc:
Oe re-download the rom.
[Xperia Z2 Original Android Development] Axle Cj:
On First Boot of My Device On lineageOS 18/4 Release I Got Unfortunately Setup Wizard Has Stopped On 3rd Step
[Xperia Z2 Original Android Development] ThxAndBye:
I've had Logcat Extreme running the last night and I've got this log:

drive.google.com/file/d/0B1iCOxJmFo-MemU5NGp0SU1fdlU (full log 520kB)

I haven't recorded dmesg. Logcat Extreme can output dmesg but I haven't found a way to record it.

I'm not really experienced with Android logs but two things I'm curious about:

First thing this (at the very end of the log, device was fully booted at 3:01 again.):

04-25 02:57:21.806 2160 2160 I BackupManagerService: Beginning scheduled full backup operation

04

Does really the backup cause a crash here? Since it was last night, I've disabled the automatic backup now but since there is a start of a new line it might also be a completely different cause?

I'll report back if I get another reboot this night tho.

Second thing is, the log is spammed by this line:

545 823 I qdhwcomposer: handle_blank_event: dpy:0 panel power state: 0

What does this mean, and can it have anything to do with the nightly reboots?

If someone can tell me, how I can record dmesg on the phone or an easy way to record it (haven't done it before) with my notebook without installing the complete SDK. (I don't wat to run my PC overnight), I'll gladly record it too. (If i still get reboots with backup disabled)
[Xperia Z2 Original Android Development] Bewildered Wolf:
What is the 3rd step ?
[Xperia Z2 Original Android Development] Axle Cj:
I Mean The Step After Selecting Language Of Device
[Xperia Z2 Original Android Development] iXaidyiu:
Use latest version of Gapps, or don't flash Gapps at all until you have finished the Setup Wizard.
[Xperia Z2 Original Android Development] jaltek:
You can also go to the system settings via the quick settings (pull down) and connect to your wifi. When connected to wifi the setup wizard will continue.
[Xperia Z2 Original Android Development] RMT002:
This ROM is amazing!

Thanks to the dev!

But is anyone else having issues with hw decoder while video playback?

I use MX Player and the same few seconds keep looping when i use hw decoder.

Everything is alright when i use SW though.

Is this some sort of glitch that can be fixed?
[Xperia Z2 Original Android Development] RichardSauer:
Can i flash Elite Kernel ?
[Xperia Z2 Original Android Development] maxxx83:
Nooooo!!!!

Elite is only for stock sony MM
[Xperia Z2 Original Android Development] Daenzn2323:
loosing the ability to enter twrp

I have loosing the ability to enter twrp ( dualrecovery) after flashing this rom and also not possible to doe an factoryreset on lineageOS.

Can u help?
[Xperia Z2 Original Android Development] iXaidyiu:
DuaL recovery has never supported Nougat and MM.
[Xperia Z2 Original Android Development] Hariskh:
Last 3-4 volume steps dont when increasing sound to max. running latest 7.1.2
[Xperia Z2 Original Android Development] sottabyte:
Same here

I try Mx player and Sony album.

I'm facing this problem since 2nd April build.
[Xperia Z2 Original Android Development] Farooq95:
No issues here. Wipe clean and re flash
[Xperia Z2 Original Android Development] sottabyte:
I have this problem and I always clean install so I don't think reflash can help.
[Xperia Z2 Original Android Development] akshay2shah:
Use HW+ decoder.

Why are u using SW ?
[Xperia Z2 Original Android Development] Daenzn2323:
Tutorial for twrp after flashing this rom

I cant communicate with the device over ADB , i need a solution to instal a working recovery.
[Xperia Z2 Original Android Development] Hariskh:
no i have it disabled but still volume reaches max before the end of slider
[Xperia Z2 Original Android Development] Siemiev:
I've been using the rom for a few weeks now and during this time I have noticed a few bugs:

1) Sometimes when I'm playing music on my phone and skip to the next song I get a really loud peak of noise which is really painful for my ears. I think this has only happend when using earphones.

2) I think the restarts at night happen with my device as well because every morning I have to enter my pin of my sim card.

3) Also noticed that the volume reaches max level before the slider is at the end as mentioned in the last post.

Apart from that really great rom, your work is much appreciated! :)
[Xperia Z2 Original Android Development] jhuryganelo:
The problem about the camera is now solve.

I must use the Cyanogenmod "Snap" Camera instead of Google Camera.

---------- Post added at 10:17 AM ---------- Previous post was at 10:16 AM ----------

Sony Applications is Compatible too. It looks like a Xperia ROM again. Great ROM.
[Xperia Z2 Original Android Development] a_t_21002000:
Is there a way to get the pixel app drawer without installing a launcher?
[Xperia Z2 Original Android Development] Bewildered Wolf:
Buy a Pixel maybe ? :P
[Xperia Z2 Original Android Development] Thieuke:
The restart at night when chrarging does not happen in the RR ROM. This ROM is the basis for that ROM. I don't know, maybe it's valuable information.
[Xperia Z2 Original Android Development] filjusz:
I dont have night charging reboot since i disabled automatic date and time&time zone
[Xperia Z2 Original Android Development] berkcano:
Flash Z3 driver

Guys on MM. I can flash v145.0 andreno driver which is maden for z3. İt improves my z2 performance . Can I flash z3 driver (145.0) On this N rom? is it compatible?

you can find the patch here:

https://xdaforums.com/z3/themes-apps/mm-6-0-1-qualcomm-adreno-drivers-june-t3415394

if It's possible Please port this patch into your rom thanks.
[Xperia Z2 Original Android Development] mirok80:
Download twrp manager from playstore and flash recovery again
[Xperia Z2 Original Android Development] iXaidyiu:
Afaik this patch need stock-based and the implementation of this patch has been discussed among us, and the possibility for using it on lineage is null.
[Xperia Z2 Original Android Development] rcstar6696:
Flash it it will work but i feel the devices is a bit unstable

This is totaly wrong and has nothing to do with stock or aosp base

Both Rom bases uses the same adreno drivers
[Xperia Z2 Original Android Development] mimo.aridi:
Hey guys. So I've been on resurrection remix which is based on this LOS build. And it got official support now with ota updates.
[Xperia Z2 Original Android Development] akshay2shah:
Last time i flashed..

Soft reboots on playing videos.

So not compatible.

V145 are closed source video drivers from Qualcomm..

Rom developers cant do anything.

U cant modify blobs.
[Xperia Z2 Original Android Development] Daenzn2323:
Root

How root the device with this Rom? Kingroot didnt work out!

Any solutions?
[Xperia Z2 Original Android Development] Chronic2k13:
If you have flashed this Rom then you must have unlocked bootloader!! Just flash supersu zip in op
[Xperia Z2 Original Android Development] Daenzn2323:
Flash supersu ZIP in op.. What is op?
[Xperia Z2 Original Android Development] Chronic2k13:
Really?????? Leave your phone alone and don't modify it, unless you have half a clue as to what you're doing!!! Op is Original Post!!
[Xperia Z2 Original Android Development] Daenzn2323:
Please dont geht me wrong, english is not my motherlanguage.

Plesse remember that i cant communicate with my device via ADB/cmd since i flash this Rom. Whenn you say that i have to flash supersu ZIP in the original post , how can i flash some if cant communicate via ADB/cmd. Is it possible to flash supersu direct from the device? Otherwise i See no possibillity in this case.

Plesse hell me out because since i usw this Rom the batterylife is realy FU***t

---------- Post added at 10:02 PM ---------- Previous post was at 09:54 PM ----------

Okay, now i know what you mean. Pleas read everything about my Problem bevor you giving useless answers because one of my problem in this case is that the device wont Boot in to twrp. From now iam without root and without twrp. So i need a way to become one of them works. Do you unterstand?
[Xperia Z2 Original Android Development] iXaidyiu:
[MENTION=8229109]Daenzn2323[/MENTION]

Dual recovery won't work on Nougat or even MM, please use the generic version of TWRP (as supplied in OP). As for root, please use SuperSU update zip via flashing in TWRP, King Root or those rooting assistant tools are not recommended on unlocked bootloader device.
[Xperia Z2 Original Android Development] Bewildered Wolf:
Flash recovery by the command stated in the 2nd or 3rd step of the OP. If your device in not recognised by the adb, the search minimal adb and fastboot on google and install it. That should work.

//Press thanks if it helped. :)
[Xperia Z2 Original Android Development] Muff(in):
For me this workaround has no effect. Reboot every night.
[Xperia Z2 Original Android Development] Bewildered Wolf:
No night reboot here, even on automatic date and time. Please consider clean installing you rom :)
[Xperia Z2 Original Android Development] Woife5:
For me the reboots at night only Happen if i charge my phone overnight.
[Xperia Z2 Original Android Development] Daenzn2323:
dosnt work to

---------- Post added at 10:11 AM ---------- Previous post was at 09:59 AM ----------

still waiting for device.....
[Xperia Z2 Original Android Development] teewhydope:
Follow this guide to download "15 seconds adb.l installer" and flash twrp https://www.xda-developers.com/how-to-install-twrp/
[Xperia Z2 Original Android Development] Daenzn2323:
still waiting for device...
[Xperia Z2 Original Android Development] Bewildered Wolf:
Go into fastboot mode manually. When it says waiting for device, power off you device. Connect while holding vol + . Blue led should appear..
[Xperia Z2 Original Android Development] teewhydope:
Download http://s3.picofile.com/file/7496431719/fastboot_with_andro​id_usb_file.rar.html

(1) Extract fastboot_with_Android_USB_file.rar and open fastboot folder

(2) Hold SHIFT and right click on the background of the folder

(3) Select 'Open command window here'

(4) copy twrp and boot.img to the fastboot folder

(5) Connect your phone in fastboot mode (turn phone off, hold Volume UP button and plug in USB Cable) [make sure drivers are installed as explained above)

(6) In the cmd windows type in fastboot flash boot/recovery respectively

If it doesn't work then...
[Xperia Z2 Original Android Development] a_t_21002000:
Is there any body having issues with in-call mic or this is my own? The other party can't hear me.

Note: mice has nothing wrong if recording.
[Xperia Z2 Original Android Development] Bewildered Wolf:
Delete the ok google voice model.

And. PLEASE SEARCH BEFORE POSTING.
[Xperia Z2 Original Android Development] :
Can anyone confirm that the phone reboots after some time (sometimes its 30 mins, sometimes its 1 and a half over, its kinda random) while on charger (I always charge on magnetic dock)? I cleaned installed it twice, once for 7.1.2 and the other for 7.1.2
[Xperia Z2 Original Android Development] Bewildered Wolf:
I guess this problem is only with magnetic dock chargers. Beacuse in normal charge i never face a reboot. Neither while charging. Nor at night. Not problems here with reboots. :)
[Xperia Z2 Original Android Development] jaltek:
Yes. Confirmed. But not in a reproducible way. As you already said, it is "random". I am charging my device at work with a magnetic charger and trying to keep the bat. between 20 and 80%. It only happend once since the last build.
[Xperia Z2 Original Android Development] Mohaned98:
rcstarr himself mentioned before that he faced such issue, so i guesd we'll just wait and see what he will do about it.. It's not that big of an issue but it's just weird
[Xperia Z2 Original Android Development] goldenevil47:
Did you Install device drivers, fastboot and flash drivers using Flashtool, properly??? Waiting for device occurs when drivers aren't installed

Plus do you use any Android Manager like Mobogenie? If yes close it completely and then try