yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Android Development] mamos98:
As I mentioned before I can't use flashtool either to flash stock kernel. And I'm 110% sure that the drivers are fine. let me simplify my problem:

1. Recovery mode doesn't work. everytime I want to boot into recovery mode, I see sony logo, then it restarts and boot in normal mode to the os.

2. When I try to use fastboot to flash a stock kernel, although I'm able to boot into fastboot mode, and the led indicator turns to blue, despite drivers are also installed, "fastboot devices" prints nothing to the console, and running "fastboot flash boot stock.img" just prints out "<waiting for device>"

3. When I try to flash stock Rom using flashtool, when I want to boot into flashmode, the led turns to green for a second then turns off, and the device is not recognised.

4. Factory reset doesn't work EITHER! Whenever I try it on RR, it acts like a normal reboot, nothing is happened and everything stays same as before.

I don't really know what to do. I'm Stuck really!:(
[Xperia Z2 Android Development] iXaidyiu:
Change the cable you are using or the USB port you are using. I once had your problem and this solved, or you can try reinstalling the drivers to MAKe SURE ITS THERE.
[Xperia Z2 Android Development] mamos98:
OMG!! I can't believe that was the issue!! Thank you very much. I thought my device is broken :laugh:
[Xperia Z2 Android Development] Samir2298:
Can anyone guide me how to install arise sound on this rom? There are some instructions on their dedicated page but couldn't understand.
[Xperia Z2 Android Development] ch3mn3y:
+ 1 for this. Or maybe not exactly this, but how to get V4A driver to work with MAGISK...
[Xperia Z2 Android Development] XoloQ1000AYRoot:
Just a help according to if I think what happened to your device.

Next time you need to flash this ROM just once when you follow the steps 2,3 i.e flashing the boot.img and recovery.img after flashing the recovery once again flash the boot.img file so the next you want to get into your recovery mode then your device wont be in the bootloop. It had happened to me as well whereas mine problem solved after removing the battery pin and then flashing the rom.

Also as you have done the process I hope you unlocked your Bootloader.
[Xperia Z2 Android Development] Mondor1979:
Enabled on all screens OK Google mutes the microphone again on the last RR build 29170818 version. Will try to use some previous kernel versions.

Same with kcal version.
[Xperia Z2 Android Development] thelegendy:
Thanks for the awesome rom :) I installed yesterday, it's very smooth for now. But i have a little problem with Magisk. I flashed Magisk, root is successfully done. There is no problem. But when i tried to install module on Magisk, every time the app stopping working. Is there any solution? What am i missing? Thanks... :fingers-crossed:
[Xperia Z2 Android Development] iXaidyiu:
Did you reboot after installing modules?
[Xperia Z2 Android Development] thelegendy:
App stopping working before module installing. It says "unable to extract zip file!" I tried this time "iYTBP for Magisk" :confused:
[Xperia Z2 Android Development] iXaidyiu:
It seems it's a problem of the installing zip, try redownload or try with another module.
[Xperia Z2 Android Development] thelegendy:
Same for in-app modules :) ..and i downloaded again, copy to internal and external storage. Tried again, but nothing changed...
[Xperia Z2 Android Development] Chronic2k13:
Have you got supersu installed as well?? If you have then you'll have to flash stock boot img and then install magisk again. I had the same problem but getting rid of supersu did the trick
[Xperia Z2 Android Development] thelegendy:
No, I don't have SuperSU. I don't want to flash boot.img for now. Maybe someone will tell another way. Thanks, BTW. Maybe i will try your solution at final...
[Xperia Z2 Android Development] Mondor1979:
Try to flash the module you like from recovery. What will it show then?
[Xperia Z2 Android Development] thelegendy:
I'm not sure, you think is it working? So, what about uninstalling module? Can i see in Magisk after flashing on recovery?
[Xperia Z2 Android Development] Mondor1979:
Yes, I'm sure it is working. Not sure you can see all modules in magic to uninstall, but I was able to see and remove those 2 I have installed in recovery. BTW don't use frameworks for Sony apps from magisk as after applying you will have your microphone muted if you will switch OK GOOGLE on all screens.
[Xperia Z2 Android Development] thelegendy:
I tried flashing via recovery, i think it works, thanks :fingers-crossed: I can see the module in Magisk app. This is temporary solution but enough for now :)
[Xperia Z2 Android Development] Mondor1979:
Glad to help. Good luck.
[Xperia Z2 Android Development] iXaidyiu:
No it's not temporary, some modules have to flash through recovery to make it work.
[Xperia Z2 Android Development] maeckes237:
Bluetooth and battery stats problems

So everything's working fine, but I have still bluetooth connection problems and my battery stats are kind of wrong (I don't know if it's the rom, because I changed the battery 2 weeks ago. And my phone doesn't seem to display the correct battery time)

I have attached logs and pictures.

[IMG="My battery level"]http://i.imgur.com/THvu9CS.png?1[/IMG]

[IMG="this seems to be the problem with the battery"]http://i.imgur.com/TvWsBws.png?1[/IMG]

and my log: https://drive.google.com/open?id=0B1dZ79uop9hfU2MxcWt2ZTlCWnc

other than that, everything works fine!
[Xperia Z2 Android Development] koraymers:
I found something crazy. When I turn off the phone, it's opening again in a minute. It's not happening only when charge is over so it's already impossible :o otherwise reopening immediately

Is there anyone experienced this crazy issue :laugh:
[Xperia Z2 Android Development] Bewildered Wolf:
Never faced this issue.

Do one thing.

Force shutdown the phone using the small button behind sim tray. Then see if the same happens.
[Xperia Z2 Android Development] rshad777:
if I already have twrp recovery and existenz marshmallow installed , can I start from step 5 of installation instructions ??
[Xperia Z2 Android Development] iXaidyiu:
No, you must start clean.
[Xperia Z2 Android Development] rshad777:
I mean I can do Wipe from twrp and flash ,, what's the difference ?

and how to start clean ??
[Xperia Z2 Android Development] iXaidyiu:
Start clean can eliminate bugs that hide in the partitions that cannot be accessed via recovery, and by the means of clean installation, follow and execute the instructions from step 1.
[Xperia Z2 Android Development] mysubcult:
Hello everyone, I need help. The phone quickly consumed the battery. The basis for the expense is the waiting mode. Did all the wipe, firmware naked and still in the standby mode, the phone is quickly discharged
[Xperia Z2 Android Development] ahmed1186:
I can't get into recovery,

whenever i press volume down while booting , the led flashes red and the phone restarts.

And if i flash the recovery .img file via fastboot, the phone boots directly to recovery and i can't boot to the rom, and i have to reflash the rom .zip to access the system again.

Does anyone have a solution?
[Xperia Z2 Android Development] :
Install naptime

Are you flashing to the recovery partition?

To enter it you need to press vol up when the purple light is on
[Xperia Z2 Android Development] ahmed1186:
I flash the recovery via fastboot with flashtool (flash kernel button or something like that).

And the volume up button does the same, the purple light turns into red and the phone restarts.
[Xperia Z2 Android Development] ch3mn3y:
[MENTION=6007841]ahmed1186[/MENTION]

So You don't see a difference between kernel and recovery?

I'm not saying that You cannot flash recovery as kernel, it's safe, but it won't boot...

You could try to boot (not flash) recovery as kernel (there is option to hotboot kernel in Flashtool).

Still best way is to flash it as recovery (using command line/terminal) and then kernel as kernel. It will work for sure :P
[Xperia Z2 Android Development] ahmed1186:
Well that's embarrassing :D

I had an impression that every .img file contains the path of it's own files so the flashtool can differentiate between a kernel img and a recovery img. Turns out that this is just stupid :D

I always flashed recovery using that method on official roms and i had no issues at all , didn't know it would cause such a problem with a custom rom.

Anyways, I installed it via CMD and it worked flawlessly, Thanks you so much for your help :good:
[Xperia Z2 Android Development] thelegendy:
I have a same problem. General performance good but battery performance very bad. Almost more than ExistenZ. I will try Naptime. Do you have another tip? My SOT max. 4 hours now :)
[Xperia Z2 Android Development] Bewildered Wolf:
Here is a thread of mine. Maybe it can help.

Https://xdaforums.com/crossdevice-dev/sony/existenz-hacks-tweaks-battery-life-t3516705/post70024252

//Press thanks if it helped.
[Xperia Z2 Android Development] thelegendy:
I have no Xposed. So, I can't apply all tips. I'm still using Greenify and ForceDoze. I installed LSpeed now and I will try. If it work, i will give you an another like :fingers-crossed:
[Xperia Z2 Android Development] Bewildered Wolf:
Search MyandroidTools on my thread. I've linked 2-3 threads there. They will help you a lot. Try to find them.
[Xperia Z2 Android Development] zack32:
How to activate the root acces?
[Xperia Z2 Android Development] tahagamal:
Flash it from recovery
[Xperia Z2 Android Development] ch3mn3y:
[MENTION=7106416]zack32[/MENTION]

Flash MAGISK or SuperSU using Recovery.

I wonder - everytime I update RR, MAGISK is flashed as well, right after the Rom. Is it coz of it's part of the Rom's zip or it's some kind survival option of MAGISK or RR?
[Xperia Z2 Android Development] iXaidyiu:
Magisk should have kinda hooks that hook RR so that it won't be wiped.
[Xperia Z2 Android Development] ch3mn3y:
[MENTION=6891123]iXaidyiu[/MENTION]

Thanks.That was what I thought. I was surprised to see it with last 5.8.3 and 5.8.4. First I thought that it was part of the RR as it was flashed as addon.d (at least that was what TWRP wrote in log, if I remembered it right), but than I did dirty reflash of 5.8.4 for A.R.I.S.E and there was MAGISK 13.6, which is beta, so I think that no dev would add it to the Rom.
[Xperia Z2 Android Development] freekzak:
Hello,

first I would like to thank you for the hard job you are doing with this amazing ROM.

I have an Xperia Z2 6503, my boot loader is unlocked, I flash via terminal the boot img file from the last ROM 20170817 and the latest recovery TWRP 3.0.2-0 (fastboot flash boot boot.img and fastboot flash recovery recovery.img after I used the adb reboot bootloader command).

Taped Wipe -> Advanced Wipe -> checked Dalvik - System - Cache - Data - Internal Storage and wiped. Then I also did go to Format Data, types yes and format data.

Flashed the ROM file -> wiped dalvik and cache.

Flashed BeanGapps mini -> wiped dalvik and cache.

Flashed Magisk13 -> wiped dalvik and cache and then reboot for the first time system.

I did that with many versions also from Carbon ROM.

THE PROBLEM:

During phone calls people can't hear my voice very well and when I have the open speaker on, they can hear their own voice back. There are also some echos and small noises. I DO NOT HAVE GOOGLE OK ENABLED.

Please can you tell me if there is a fix for that ?

Thank you for your time.
[Xperia Z2 Android Development] iXaidyiu:
Problem followed up in Carbon ROM discussion thread, please do not post in multiple threads, thanks.
[Xperia Z2 Android Development] Wolvym4:
Can i install this rom on l50t?
[Xperia Z2 Android Development] TRex2142:
Problem solved by disabiling OK Google detection from any screen
[Xperia Z2 Android Development] iXaidyiu:
Patch baseband yourself, otherwise, you will lose all baseband related features and could even possible for not booting.
[Xperia Z2 Android Development] zenug:
Hello, im facing random reboots, followed ALL instruction from main post, but ive installed gapps aroma, no system files replaced, i want to install gapps pico, can i?
[Xperia Z2 Android Development] Bewildered Wolf:
Setting specific that causes the reboot ? Something that you've noticed ?
[Xperia Z2 Android Development] zenug:
Totally random as i can see, i think something wrong with Gapps Aroma, i will try pico on next but i dont know if will work
[Xperia Z2 Android Development] iXaidyiu:
Gapps stock or full only, other than these two system will be unstable and no support will be given.
[Xperia Z2 Android Development] iXaidyiu:
With the tag BETA unstable outcome is expected, it may work on others side but not yours. So what you can do now is roll back to v13.3 and wait for another stable to come.
[Xperia Z2 Android Development] Adriano-A3:
Is Xposed "beta" working on this rom?

Thanks
[Xperia Z2 Android Development] iXaidyiu:
Varies among handset, even if it works with my device, it may not work in yours.

Generally, not recommended.
[Xperia Z2 Android Development] Mondor1979:
A kind of disaster here. Battery drain... 27% for 1 hour and a half with screen off.
[Xperia Z2 Android Development] iXaidyiu:
Blame McAfee, not us.
[Xperia Z2 Android Development] N.Y.Gazz:
Hi ,What theme do you have please?

Envoyé de mon Xperia Z2 en utilisant Tapatalk
[Xperia Z2 Android Development] Mondor1979:
Below is the picture for today batt usage.

Standby, System and Google - 37%.

Something is really wrong with the latest kernel.
[Xperia Z2 Android Development] Mondor1979:
Screen
[Xperia Z2 Android Development] Mondor1979:
Main theme is Swift Black. Other 2 are just for notifications.
[Xperia Z2 Android Development] Antoniotroiano:
How to activate root access?
[Xperia Z2 Android Development] Mondor1979:
Just flash latest Magisk from recovery.
[Xperia Z2 Android Development] Mondor1979:
Don't really understand what's wrong. Log just in case. Kernel is consuming about 20% of battery now. Will apply batt analysis tomorrow.
[Xperia Z2 Android Development] N.Y.Gazz:
it's strange . I did not encounter any battery problems

Envoyé de mon Xperia Z2 en utilisant Tapatalk
[Xperia Z2 Android Development] koraymers:
I generally turn off 2 core of 4 our SoC on kernels auditor

See the attach. So with this method I usually get 5-6 hour screen on time
[Xperia Z2 Android Development] Mondor1979:
Probably on conservative governor it is possible, but I always use ondemand or interactive governors. And generally speaking the problem is somewhere else but cpu governor, as phone is consuming in standby mode while screen is off and CPU is on the lowest 300mhz frequency. Now I have GSam battery monitor pro installed. It shows that 70% of battery drain is on applications and the main consumer is kernel with 16%. It includes many processes! Will have stats tomorrow, when will collect these for 20+ hours of GSam run.
[Xperia Z2 Android Development] koraymers:
Stay away from quick charge and uninstall unnecessary app such like McAfee etc. If you know what you do on internet, you don't need some this kind apps. Also you can try greenify with root access.

No one living battery problem for a long time in this ROM, I think

If those aren't work try clean flash ROM
[Xperia Z2 Android Development] Mondor1979:
It started several days ago, probably after clean installation of the last update. Macafee is very useful on memory monitoring and cleaning (it is about 1% batt usage a day only). Greenify is switched on and always running. ))) QC is not applicable in any way. So don't see anything, what might be a reason for batt drain in standby mode.

Some more screens as illustration:
[Xperia Z2 Android Development] Farooq95:
Macafee
[Xperia Z2 Android Development] Mondor1979:
Have switched it off couple of times just for test reasons. No effect on batt usage at all. Any ideas?

This issue is not for me only, we have a little community of RR on Z2 users on Russian 4PDA and we are now facing this issue on several phones.

Even here on this thread there was the request about the same issue a little bit earlier.
[Xperia Z2 Android Development] iXaidyiu:
The "Phone Idle" thing is a common problem on devices that do not have EAS implemented. Implement it or not cannot be tell at the moment.

But apart from this thing, McAfee has to be completely uninstalled so as to disable it completely.
[Xperia Z2 Android Development] john yang:
thx bro. I will try.

it seem to be worked.thx again
[Xperia Z2 Android Development] MrSinister:
Mic not working

Overall the rom is smooth and fast .... But Mic is not working during a call.... Anyway to fix that??

Anyone please help me
[Xperia Z2 Android Development] iXaidyiu:
Disable OK Google.

How many times do you want people to say this...
[Xperia Z2 Android Development] :
How does this rom compare to Lineage OS from rcstar, any good reasons to switch from LOS to RR?
[Xperia Z2 Android Development] john yang:
rr has so many fun custome sittings.:D
[Xperia Z2 Android Development] mimo.aridi:
I'm getting stuck at patching system image somewhere halfway the flash in the new version. Any solutions?
[Xperia Z2 Android Development] ajay1910:
Same problem here...working now..
[Xperia Z2 Android Development] NewbieFTW:
What's different between this one and Lineage OS? Thank you
[Xperia Z2 Android Development] :
Read the bug list and please in the future post in the q&a thread.

It has lots of customisation options and has magisk inbuilt and in the future please post in the q&a thread.
[Xperia Z2 Android Development] aminfauzi:
I noticed a new bug maybe. The alarm icon in status bar still appear even i already disable all the the alarm. i already do fresh installation. Restarted system ui. But the icon still apear.
[Xperia Z2 Android Development] LongLuu:
Delete
[Xperia Z2 Android Development] reknew:
how can i get navbar before unlock lockacreen?:crying:
[Xperia Z2 Android Development] cikoxda:
no problem here bro, i'm trying now and when i disable the alarm, the icon goes away...

btw anyone have lags during scroll in some app like play store, whatsapp chats list, g+ etc... ?
[Xperia Z2 Android Development] aminfauzi:
Maybe the problem from my side only. Thanks btw.
[Xperia Z2 Android Development] klausxperia:
Hello everyone. Very good ROM. The battery works very well. I have 1 problem.

The phone now does not detect the noise-canceling Sony headphones.

Does anyone know how to fix it?
[Xperia Z2 Android Development] iXaidyiu:
Noice-cancelling is not featured in non-stock-based ROMs afaik.
[Xperia Z2 Android Development] klausxperia:
It does not detect headphones directly. So, I will not be able to use Sony headphones?
[Xperia Z2 Android Development] Bewildered Wolf:
My sony MDR xb450 ap are working without any problems.
[Xperia Z2 Android Development] vikash1994b:
My noise cancellation earphone(mdr nc31em) works fine bt no noise cancellation as its not a stock sony rom.
[Xperia Z2 Android Development] Mondor1979:
Where are the settings when the phone is placed on doc station? Have Sony DK36 and when placed on it phone blocks the screen, I need to disable it, no action when placing it to doc. It was Smart Connect program function on stock based rom.
[Xperia Z2 Android Development] guy_smiley:
I have been having bluetooth dropouts and Wifi is not as strong as previous official builds. I'm guessing this might be a baseband issue? It's a Telstra variant if that helps.
[Xperia Z2 Android Development] syafiqalmi95:
Sorry if my question is repetitive as i already find but no answer. How do i root Resurrection Remix 7.1.2 as its not prebuilt with root.

I already flash recovery kernel as instruction no 4 and flash superuser then flash resurrection remix kernel but no luck.

sorry for my bad English. if need flash magisk can someone share link for it
[Xperia Z2 Android Development] tahagamal:
Flash super user from recovery
[Xperia Z2 Android Development] vip20109:
[MENTION=7796065]opendata[/MENTION] did u remove selinux switch on last build because i can't find it on miscellaneous ?
[Xperia Z2 Android Development] syafiqalmi95:
[MENTION=4839478]tahagamal[/MENTION]

As i said. Resurrection remix kernel not have recovery so i flash recovery kernel as mention in step 4 and flash superuser 2.82 then i flash resurrection remix kernel back but still no luck. please help
[Xperia Z2 Android Development] Bewildered Wolf:
Just flash the SuperSu and not the kernel. Idk which kernel you're flashing.
[Xperia Z2 Android Development] syafiqalmi95:
how to flash superuser if Resurrection remix kernel not have recovery?:confused:
[Xperia Z2 Android Development] tahagamal:
At beginning after installing TWRP using flashtool you should flash it again after booting to recovery
[Xperia Z2 Android Development] Mondor1979:
flash recovery and magisk from the recovery/

Code to flash recovery is well known: fastboot flash recovery "yourrecoveryname".img

Command line should be opened at adb/fastboot directory.

Link for magisk: https://yadi.sk/d/wxWOXOZN3MTH83

Link for latest recovery: https://yadi.sk/d/sNKCo5nD3LiJxX
[Xperia Z2 Android Development] d1021979:
hi, latest recovery: is it TWRP ? version?
[Xperia Z2 Android Development] Mondor1979:
Have you heard a thing about cwm lately? Course it is TWRP 3.1.1-0
[Xperia Z2 Android Development] amiralisaemi:
Set NFC off its work for me
[Xperia Z2 Android Development] m7x9:
Magisk 13.7? You from the future?
[Xperia Z2 Android Development] ch3mn3y:
[MENTION=7878451]m7x9[/MENTION]

It may be snapshot. There are unofficial builds out every few days (sometime even every day).
[Xperia Z2 Android Development] Mondor1979:
from the future, yes. :good:
[Xperia Z2 Android Development] koraymers:
What's wrong, I got too:D
[Xperia Z2 Android Development] m7x9:
[MENTION=8209928]Mondor1979[/MENTION] Nice thanks for the latest files [MENTION=8333414]koraymers[/MENTION] selam aleykum kardesim
[Xperia Z2 Android Development] Mondor1979:
İYİ GÜNLER
[Xperia Z2 Android Development] mustafamohd:
Please give me Xperia z2 d6503 marshmallow latest update ftf
[Xperia Z2 Android Development] syafiqalmi95:
[MENTION=4839478]tahagamal[/MENTION]

alright im trying

[MENTION=8209928]Mondor1979[/MENTION]

Now i get it. before i flash recovery.img using flashtool. hahaha my bad
[Xperia Z2 Android Development] iXaidyiu:
Please DIY, all the tools required is on the web.
[Xperia Z2 Android Development] mustafamohd:
I tried. I didn't get anything

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

Is it possible d6503
[Xperia Z2 Android Development] moonthemindfreak:
I am unable to find the kernel with zzmove, can someone provide a link to it? Thanks

---------- Post added at 02:07 PM ---------- Previous post was at 02:06 PM ----------

Please use flashtool and integrated Xperifirm
[Xperia Z2 Android Development] jianwen89:
hello all guru,

I got this status:

updater process ended with error 7

Android version:6.0.1

Model: D6503

Build version:23.5.A.1.291
[Xperia Z2 Android Development] iXaidyiu:
1. Latest recovery installed?

2. Clean flashed?
[Xperia Z2 Android Development] jianwen89:
I'm using twrp 3.0.2...

I just do wipe everything....
[Xperia Z2 Android Development] mimo.aridi:
Flash twrp 3.1.0 using fastboot
[Xperia Z2 Android Development] jianwen89:
can you teach me how to flash recovery via flashtool?
[Xperia Z2 Android Development] luqman@dr:
U can't flash recovery via flashtool, but u can do that via application like rahshr. Search Google will help u
[Xperia Z2 Android Development] jianwen89:
i've tried using the TWRP apps, it shows successful but when i boot to recovery mode it is still failed . . i cant update my current 3.0.2 to 3.1.0 . .
[Xperia Z2 Android Development] ch3mn3y:
[MENTION=8522220]jianwen89[/MENTION]

Maybe try to flash new image using TWRP? In Install menu, there is option to flash images to boot or Recovery partitions.
[Xperia Z2 Android Development] jianwen89:
tried . . shows successful but when i reboot it still remains as 3.0.2 . .
[Xperia Z2 Android Development] m7x9:
Chances are your partition layout has not been updated...
[Xperia Z2 Android Development] iXaidyiu:
Roll back to full stock and upgrade again with the correct procedure listed in OP.
[Xperia Z2 Android Development] jianwen89:
will try again . .