yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Android Development] kakakatq:
is it okay if i installed every thing but skip step 2 , 3 , 4

i have a TWRP and i downloaded the TWRP sirius image and flashed it via TWRP official app

and do wipe then flash the room directly or flashing the boot.img is a must !

and can i falsh it after flashing the rom !!?

please some one respond fast please and i need help doing steps 2 - 3 - 4

please - thanks in-advance !
[Xperia Z2 Android Development] kakakatq:
i acually took my chances and skipped the steps 2-3-4

and i WORKS JUST FINE ., thx guys ..peace
[Xperia Z2 Android Development] manicdepresiff:
I have twrp 3.0.2-0. Can I pass the first 6 step?
[Xperia Z2 Android Development] ch3mn3y:
[MENTION=7620690]manicdepresiff[/MENTION]

Yes. You can pass all of them.
[Xperia Z2 Android Development] Abdullhai143:
Recovery

Hello,

Everytime i want to go to recovery i have to flash recovery.img using fastboot otherwise my xperia z2 only restarts when i press volume up during boot.

Another problem is the MIC it's working in messanger, whatsapp and other apps but when i make a phone call sometimes the receiver can't hear me.

Another problem is that my device usually hangs and starts throwing errors like android UI has stopped working pixel launcher has stopped working and then i have to re flash the RR and GAPPSS through recovery then it works fine for a week.
[Xperia Z2 Android Development] modkore:
hi, i encounter an error message while flashing this rom.

it said E3004: this package is for device : g3, d855, this device is sirius

am i download wrong rom for my z2? mine is d503. indonesian version. already unlock bootloader.

any advice pls? thanks
[Xperia Z2 Android Development] john244:
Awesome

Great ROM guys :) like a second life for Z2 :good:
[Xperia Z2 Android Development] kakakatq:
i have to report a Bug

when i click on facebook app i triggers a reboot directly !

i downgrade and update the app and still as it is

just tapping this app do a restart every time ! any particular reason ! ?
[Xperia Z2 Android Development] ch3mn3y:
I seem to have a problem too. Big one I would say. I'm back with my Z2 and updated it from 5.8.3 to 5.8.5. Dirty flash give me bootloop, but clean flash was recommended and it worked fine. First boot is OK, but since second SIM cards is not recognized. Slot is OK, as restoring 5.8.3 bring it back, but only full reflash (with wipe of system) brings back SIM on 5.8.5...

Any idea?

There is no other apps and all I set are no Location History, no restoring of other devices backup, etc + my Google Account. Right after I finish the Setup Wizard nad reboot the device, SIM is lost...
[Xperia Z2 Android Development] Abdullhai143:
Which Version of xperia z2 you have the D6503 or D6502?
[Xperia Z2 Android Development] ch3mn3y:
D6503. LTE one. I know about the baseband patch for D6502, but for me SIM looks like it works fine, but since 2nd boot it's "disappearing". Still it's seen at least once...

EDIT: I'm using 5.8.4 from August. Not 5.8.3.
[Xperia Z2 Android Development] modkore:
update. i try to install another RR rom still failed. now im on custom rom android 6.01, i skip the steps, just do full wipe. am i wrong?
[Xperia Z2 Android Development] iXaidyiu:
You need to flash the exact ROM located in the Sirius folder on the repo.
[Xperia Z2 Android Development] modkore:
can you tell me more ? what do you mean the exact rom located on the sirius folder? i download RR rom in zip file. i just flash it on TWRP recovery?

thank you

https://ibb.co/n465L6 this is the picture for the rom
[Xperia Z2 Android Development] iXaidyiu:
You downloaded the ROM for kenzo, not Sirius...
[Xperia Z2 Android Development] Refik silvan çağlar:
hi .ı using RR-N-v5.8.4- sirius .ı can installing sonys stock video apps apk. but when opening video crashing.anyone can help me for this problem.(ı used RR-N-v5.8.5 final but power mods not effect cpu cores.for this reason v5.8.4 better for me)
[Xperia Z2 Android Development] iXaidyiu:
Install the Sony framework port.
[Xperia Z2 Android Development] leska:
Is it possible to make working my noise cancelling headphones SONY MDR-NC31R on RR 5.8.5?
[Xperia Z2 Android Development] Refik silvan çağlar:
ı tried something but not work.ı cant find Sony framework port. please help where can find framework for noguat
[Xperia Z2 Android Development] SiriusLee_:
I have this rom on my Sony Xperia Z2(sirius) and I have a problem when talking using my SIM card. The called person can't hear me. I try mic- he works. Wiped, no mods, installed the recommended Gapps, no custom kernels, clean install.. Doe I tried talking on Viber and it worked fine but I'm gonna need my SIM.

Signal is great, card reads just fine and mobile data works great. What could be the problem?

Also.. Double checked I did not mute MIC
[Xperia Z2 Android Development] Austin.gonzo:
Disable fluence in the build.prop
[Xperia Z2 Android Development] iXaidyiu:
Search the thread for "mic" or "fluence".
[Xperia Z2 Android Development] mimo.aridi:
There is a magisk module for sony framework.
[Xperia Z2 Android Development] SiriusLee_:
It worked! Thancc :)
[Xperia Z2 Android Development] iXaidyiu:
Please have a good use of the search button!

https://xdaforums.com/crossdevice-dev/sony-themes-apps/port-stock-camera-nougat-roms-t3628791
[Xperia Z2 Android Development] Hafyzy:
i have some issue where i got random reboot when hotspot open .

i use hotspot to connect internet using my phone for my laptop . but sometimes

reboot by itself .. anyone have this issue? or only me?

i do cleanest install everrr or i miss something? ...
[MENTION=7796065]opendata[/MENTION] [MENTION=6891123]iXaidyiu[/MENTION]
[Xperia Z2 Android Development] gordi90:
No app during call

Hi there!

I have the oct. 20. build, and my problem is, that there are no apps during calls. I cannot answer incoming calls: Ringtone is played, but there is no change on the ui, no app comes up, to answer it. Same when dialing: after hitting call button, no app comes up, phone goes into Do not disturb mode, and makes the call, but there is no ui for the call.

Any help?

LogCat:

11-27 16:24:30.941 1015-2584/? E/ConnectivityService: RemoteException caught trying to send a callback msg for NetworkRequest [ LISTEN id=22, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&FOREGROUND] ]
11-27 16:24:33.288 10389-10412/? E/Finsky: [633] com.google.android.finsky.af.c.a(14): Unable to build selector: /storage/emulated/0/Download/marketenvs.csv (No such file or directory)
11-27 16:24:35.206 1015-1015/? E/Telecom: InCallController: Package Manager could not find ComponentName: ComponentInfo{com.android.dialer/com.android.incallui.InCallServiceImpl}. Trying to bind anyway.: CSW.hCCC->CILH.sL->CILH.oQC->ICF.oCFC@AJE_0_0_0
java.lang.Exception
at com.android.server.telecom.InCallController.getInCallServiceComponent(InCallController.java:950)
at com.android.server.telecom.InCallController.bindToServices(InCallController.java:902)
at com.android.server.telecom.InCallController.onCallAdded(InCallController.java:645)
at com.android.server.telecom.CallsManager.addCall(CallsManager.java:2079)
at com.android.server.telecom.CallsManager.onCallFilteringComplete(CallsManager.java:457)
at com.android.server.telecom.callfiltering.IncomingCallFilter$2.loggedRun(IncomingCallFilter.java:98)
at com.android.server.telecom.Runnable$1.run(Runnable.java:34)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at com.android.server.SystemServer.run(SystemServer.java:388)
at com.android.server.SystemServer.main(SystemServer.java:242)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:891)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)
11-27 16:24:35.231 1015-10656/? E/MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0
11-27 16:24:35.231 1015-10656/? E/MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0
11-27 16:24:35.251 1015-10656/? E/MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0
11-27 16:24:35.251 1015-10656/? E/MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0
11-27 16:24:35.267 1015-10656/? E/MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0
11-27 16:24:35.267 1015-10656/? E/MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0
[Xperia Z2 Android Development] __Alchemist__:
How can i fix my camera. İt is taking photos like 3310.
[Xperia Z2 Android Development] DahakePL:
Maybe install Google Dialer from playstore?

Or flash micro gapps package
[Xperia Z2 Android Development] gordi90:
Tried several dialer apps, including that. Tried disabling-enabling app, clearing cache. Flashed gapps again. Nothing helped. After backup, wiped everything, flashed again, now it seems to be working.
[Xperia Z2 Android Development] Mondor1979:
[MENTION=7796065]opendata[/MENTION] Please apply an update for latest RR with the latest security patches if it is possible plz. It will probably fix BT vulnerability issue. Thanks in advance.
[Xperia Z2 Android Development] rocker00:
AFAIK google patched it since September security patch and the final version of ROM is already including October security patch, so, no worries at all.
[Xperia Z2 Android Development] Mondor1979:
Just perform BlueBorne Vulnerability Scanner test and be sure that with applied on RR october security patch it is still here. No problem here for me as I don't use BT at all. It is always switched off, but I have this question from Russian RR community.
[Xperia Z2 Android Development] rocker00:
Just performed test right now, as i said no worries at all, see the attachment and also read here:

https://www.armis.com/blueborne/
[Xperia Z2 Android Development] Mondor1979:
Don't know why but it is still failed for me.

Also some more news about this latest update:

https://source.android.com/security/bulletin/2017-11-01
[Xperia Z2 Android Development] rocker00:
I have read quickly but i couldn't find anything about Bluetooth or BlueBorne, and how come we are using the same ROM and you are affected!
[Xperia Z2 Android Development] Mondor1979:
I don't mean bt or blueborn issues. But here with november updates there are a couple of critical issues fixed. If it is no possibility to apply this security patch, just write that it is impossible. That's it. As about the question why i'm affected on lates RR build, the answer is

I don't know

.
[Xperia Z2 Android Development] iXaidyiu:
November Security Patch is for tackling KRACK vulnerability for WiFi WPA2 (and other stuffs), while BlueBorne should be tackled in October ones..
[Xperia Z2 Android Development] rocker00:
Since you mentioned BT vulnerability issue so clearly it's about Bluetooth and now you are talking about another critical issues!!!

And regarding the possibility of applying the latest security patch, I'm not the maintainer of ROM!!!
[Xperia Z2 Android Development] Mondor1979:
...........
[Xperia Z2 Android Development] :
Krack was patched ages ago in rr and blueborn was before that
[Xperia Z2 Android Development] modkore:
ah sorry. i think kenzo is the user that upload the file. im understand now. thank you.

but i have a new problem now. my z2 has no os right now. and i cant open the flashtool.

here is the error message :

ava.lang.NullPointerException

at org.logger.MyLogger.setLevel(MyLogger.java:59)

at gui.Main.main(Main.java:29)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)

at com.exe4j.runtime.WinLauncher.main(Unknown Source)

i already uninstall then installed the new one. still cannot open, please advice. thanks a lot
[Xperia Z2 Android Development] ch3mn3y:
[MENTION=5260700]modkore[/MENTION]

You may need to reinstall Java too.

However You could use Xflasher. It doesn't need Java, but have no UI (still, it's very easy to use).
[Xperia Z2 Android Development] modkore:
oh i see, okay i will try that. thanks bro

by the way why my flashtool can become error like that? i remembered the last time my pc turns blue screen, then the flasher cant use anymore
[Xperia Z2 Android Development] iXaidyiu:
"Kenzo" is the device code name for XiaoMi RedMi Note 3, "Sirius" is the name for Xperia Z2.

Bluescreen can mess up some DLLs or other kinds of files, reinstallation is needed.
[Xperia Z2 Android Development] gile78-gaga89:
Resurrection Remix OS

what version stable 20171020-402mb?
[Xperia Z2 Android Development] Mondor1979:
Any other version there? ))
[Xperia Z2 Android Development] gile78-gaga89:
Resurrection remix M for xperia Z2

installed version for sirius 20171020 (final N) and works very fine,if there is another version?
[Xperia Z2 Android Development] raminta:
no
[Xperia Z2 Android Development] AzraelX:
Messenger games cannot be played. It just restarts the app everytime as soon as the game starts. this happens for almost all the games on messenger app. Any solution for this? :)
[Xperia Z2 Android Development] kukkos:
Gaming issues

Hello guys, I am trying to play NFS No limits on my Z2 but it doesn't seem to work at all. Can't get past the loading screen, when it used to play with no problem on the stock rom. What could be the issue here?
[Xperia Z2 Android Development] Little Snevil:
Missing Vulkan API for games in the ROM. Our device doesn't support Vulkan for graphics in 7.0 and above, so a lot of 3D games may not work or barely work with this ROMs.
[Xperia Z2 Android Development] mimo.aridi:
Anyway to implement or flash its drivers or something?
[Xperia Z2 Android Development] Little Snevil:
Nope. It's a fault of our phone. The SoC isn't compatible. :(
[Xperia Z2 Android Development] epig:
I'm having the same problem. I also found that when I did TWRP/Nandroid backups I would get 255 errors and the backup would fail. I checked the recovery.log and found the files causing read errors. I would delete them and keep doing this over and over (to random files) until the backup would succeed. Looks like the filesystem is causing read/write errors and therefore apps freeze. It looks so much like bad sectors on hard drives I thought it might be that but apparently NAND flash memory is pretty robust and self-correcting.

I've also tried to do a full wipe and install, and currently trying downgrades to older stock ROMs but this isn't working for some reason to do with flashtool (unlocked bootloader?) I've run out of options :eek: ! This post too cites the same problem. Did you find a resolution to this?
[Xperia Z2 Android Development] gile78-gaga89:
Xperia Z2

For any stock rom need not be unlocked bootloader flash ftf rom with flashtool.For RR-7.1.2 necessary unlocked boot-loader install twrp and boot.img with fastboot
[Xperia Z2 Android Development] iXaidyiu:
Bootloader unlock is a MUST unless your phone is a X10 Mini in order to install custom recovery.
[Xperia Z2 Android Development] gile78-gaga89:
Xperia Z2 R.R rom

The phone can be completely dead does not run the system by no with flashtool and installed driver you can revive and repair your phone which will be in the factory condition,for R.R 7.1.2rom unlock bootloader and install drivers on PC flash boot.img and TWRP via fastboot,enter to recovery factory reset and wipe all partitions then install Resurrection Remix N for Xperia Z2 and gapps.

Rom works very fine root for nougat that works great is magisk installations from TWRP
[Xperia Z2 Android Development] epig:
RR Hangs & Freezes

All good on the flashtool usage - just a LOT of buggering around with the drivers (gotta say the Flashtool drivers is not a lot of use - extracting all the drivers, including Sony's and ADB's and then using Windows Device Manager is more selective and useful).

BUT, anyone got experience/comments about the overall stability of ALL apps in RR? These read/write errors look quite serious and I'm not the only one....but not a lot of others. Is this happening in Lineage OS? Haven't had time to look. I've done as was recommended by this post but it usually takes a few days for it to manifest itself, so just waiting... Then I'll have to try another Nougat distro. Can't go back to MM :mad: !!
[Xperia Z2 Android Development] gile78-gaga89:
Resurrection Remix N for Xperia Z2

All app works fine on rom,basic functions work faster complete phone works fast,

You can always return to the official rom(ftf) with flashtool.

It works faster and better for me app works fast and stable

https://ibb.co/n2s4Sw

https://ibb.co/nka2Eb

https://ibb.co/nwOuSw
[Xperia Z2 Android Development] searle946:
Installed this ROM 2 days ago on my Xperia z2 and I really like it. The only issue I have found so far is freezing then the phone reboots.

Is there an update that I can use that with resolve this issue. Thanks
[Xperia Z2 Android Development] gile78-gaga89:
Resurrection Remix N for Xperia Z2

The phone wants to freeze with a theme that is installed with substratum but that's the problem theme which is not optimized for the device and then the problem.

Theme that works great;Aura,Flux White,Galaxy evolution,Pixel Theme,Translucent,Pixel UI

https://ibb.co/dqaKUb
[Xperia Z2 Android Development] aschix:
I am having problems with poor microphone quality in phone calls and thus changed as you suggested. However now in calls the microphone is muted at all.

E.g. audio recording and whatsapp calls work fine however. That's what my build.prop look like, something missing here?

ro.qc.sdk.audio.fluencetype=none
persist.audio.fluence.voicecall=false
persist.audio.fluence.voicerec=false
persist.audio.fluence.audiorec=false
persist.audio.fluence.speaker=false
persist.audio.handset.mic.type=analog
[Xperia Z2 Android Development] djgigi94:
With alla nougat Roms with october security patches ,the audio mic is totally broken. Fluence or not fluence(including latest rr). Try my latest config on carbon oreo . Replace the old config with this:

# Audio

audio.offload.disable=1

persist.audio.fluence.speaker=true

persist.audio.fluence.voicecall=true

qcom.hw.aac.encoder=true

ro.qc.sdk.audio.fluencetype=fluence

use.dedicated.device.for.voip=true

use.voice.path.for.pcm.voip=false

If doesn't work ,change ROM. Use RR 5.8.4 or others . But not with october security patches
[Xperia Z2 Android Development] Michael2190:
Do you use any Magisk modules? Due to the use of some modules, the camera stops focusing.
[Xperia Z2 Android Development] cikoxda:
C'mon bro is explain in op... Report this type of question in q&a thread... If you need step by step instructions to manage fastboot pls google it...
[Xperia Z2 Android Development] Bewildered Wolf:
First, install your phone drivers.

Then , install minimal adb and fastboot (search on google.)

Then flash boot.img and tero by the commands stated in the OP.

Then install the Rom.

//Press thanks if it helped. :)
[Xperia Z2 Android Development] DarkGonz:
Requirements

Hi, I'd like to know if I need some kernel version for this, or my device UB or LB? Or can I just flash it and it will work? Sorry about the dumb question
[Xperia Z2 Android Development] mirok80:
thanks for the tip now the performence is much better
[Xperia Z2 Android Development] Bewildered Wolf:
No special kernel version. Device should be UB.

//Press thanks if it helped. :)
[Xperia Z2 Android Development] Austin.gonzo:
It literally says unlocked bootloader in the OP under kernel version....

All costum roms require unlocked bootloader
[Xperia Z2 Android Development] DarkGonz:
Well, you are right about it, but it is in the list of Contributors, so it was hard to figured that out ...

And also, I had an Xperia ZL with BL and I could installed some customs ROM's .... so, not all custom ROM's require UB :)

Anyways, thx !
[Xperia Z2 Android Development] itsnie:
I think you mean is stock base rom, just like existenz, purex, kriptonian, miui
[Xperia Z2 Android Development] mimo.aridi:
If u have root access u can download rashr from google play and flash boot.img as kernel and twrp as recovery.

U can find fastboot tutorials on google.
[Xperia Z2 Android Development] Fr@ndroid:
[MENTION=7796065]opendata[/MENTION] Install this rom and everything is perfect except when charging the battery ... there is a load bug that causes it to repeatedly connect and disconnect repeatedly and the load is too slow ... out of that I have nothing else to do Say because it is an excellent ROM ... now, the problem is that I can not return to Existenz marshmallow ... try to flash the rom by the recovery doing all the wipes and I could not ... the rom does not start .... try Flashing a stock kernel of the .291 compilation and then flashing existenz and it does not work for me .... the last option I tried was to flash from scratch with flashtool and show me error and abort the flash process ... I do not know what to do ... please I ask you for help to return to Marshmallow
[Xperia Z2 Android Development] raminta:
Did you checked all boxes of wipe section???
[Xperia Z2 Android Development] NewbieFTW:
Just install 5.0.2 rom and androplus kernel v53 and boot to recovery, you will be able to install any .zip from there. Took me 3 days to figure out what was wrong.
[Xperia Z2 Android Development] dikme:
Use flashtool 0.922.3 because v 0.923. Have problem
[Xperia Z2 Android Development] Fr@ndroid:
yes sir , all boxes

---------- Post added at 04:56 PM ---------- Previous post was at 04:52 PM ----------

I have rom existenz version lollipop 5.1.1, and I can download androplus kernel v53 but I would like to know step by step how to do it so do not reverse the order of the files and something goes wrong ... can you list the steps?

---------- Post added at 05:02 PM ---------- Previous post was at 04:56 PM ----------

Sorry you can repeat which version of flashtool I should use ?? I have version 0.9.23.1 and version 0.9.20.0, I do not have the one you say 0.9.22 ..... will it work with version 0.9.20.0?
[Xperia Z2 Android Development] dikme:
Yes use 9.020
[Xperia Z2 Android Development] maxxx83:
Just want to post some screenshots of battery life with RR latest version.Thanks to dev again and RR team for this awesome custom rom.And best version untill now.I wait update and keep up guys.My Xperia Z2 is live then ever before:victory:
[Xperia Z2 Android Development] NewbieFTW:
It's in the way I told you. Install any .726 5.0.2 rom and then install the recovery, both through flashtool
[Xperia Z2 Android Development] kzee125:
What?????

How's that possible???

Plz share your settings
[Xperia Z2 Android Development] maxxx83:
Why not possible bro?I have use airplanemod and wifi only.With only force doze app with default settings and with power save profile in battery settings.And i set input boost frequency to 1267mnz.I also use pico gapps not full gapps.
[Xperia Z2 Android Development] Mondor1979:
Mic works just fine as it was always, when fluency.voucecall us set to false. All other strings do nothing at all. I'm testing carbon & los on 8.0 and using RR 7.1.2 for everyday use. On all versions this configuration of sound does absolutely nothing at all
[Xperia Z2 Android Development] ch3mn3y:
[MENTION=8209928]Mondor1979[/MENTION]

Maybe not, maybe it's just placebo effect, but after changing this lines in build.prop it's rarer (at least for my Z2) for mic to stop working. Not sure way, but for me many things may "not" work like this :)
[Xperia Z2 Android Development] Mondor1979:
Mic is working when voicecall fluence is set to false and OK Google is switched off. And it is muted when OK GOOGLE is on everywhere and works bad when fluence is set to true. That's all for me with all my and my colleagues phones tests (I have 3 different Xperia Z2 to test).
[Xperia Z2 Android Development] override999:
+ several Z2 of members of the Russian forum 4pda.ru