yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Android Development] Pourya_sh74:
[MENTION=7796065]opendata[/MENTION] [MENTION=5621191]rcstar6696[/MENTION]

Thanks for all your efforts on your Custom Roms For Z2

Here is a suggestion/Possible bug report:

1.When you enable mobile data, It takes about 15-20 seconds until the connection establishes. This also happens when you change the type from 2G to 3G and LTE. I Never had this issue on stock .291 Marshmallow.

Is there a way to decrease this timeout. Or can you fix this problem in The next Build??

2.Sometimes When I am working with the screen, It turns off and I should double tap to turn on the screen. Any fix/workaround??
[Xperia Z2 Android Development] Mikelsson70:
Because it is better add afterwards. Google store works better when no root.
[Xperia Z2 Android Development] AzraelX:
Hello!

Haven't anyone noticed that the battery is draining fast with the latest one? :(
[Xperia Z2 Android Development] yenero:
Depends on what do you mean by "fast". I get same battery time with last few versions of RR ROM. 4-5 Hours normally.
[Xperia Z2 Android Development] Kenno95:
Does it have "charging optimization" ?

As on the latest stock software 6.0.1 if you go to Settings->About Phone->Status-> Charging optimization.

There is a slider bar that if it's on your phone charges with 4V not with 5V "Adjust the amount of charge to increase battery lifespan, this may shorten the usage time of your device" So its a win overt time lose daily type situation.

Cool features and gesture but does it have this? I want to update over stock because without Live display it really rips your pupils. Big thx to the devs for the effort!
[Xperia Z2 Android Development] asifulhaq:
Having a completely different problem last few days. Phone is rebooting by itself while watching youtube, or watching other videos. Is this an overheating isssue? Is this in any way related to this particular ROM? Or could it be that my battery has suddenly started acting weird.
[Xperia Z2 Android Development] Xanatakk:
Hello guys,

I can't find the one handed mode anywhere...

In nougat RR all I had to do is swipe on the navbar either from left or right to activate the one handed mode but I can't find anything related to this on Oreo RR.
[Xperia Z2 Android Development] ryan.vandalz:
Remove audiofx from system.
[Xperia Z2 Android Development] asifulhaq:
Thanks but there's problem with that too. To remove audiofx from system I need root right? But for some reason I can't keep root after flashing this rom. Once I flash this rom, I always loose my twrp and root as well. I tried a few times with the same result.

---------- Post added at 08:34 AM ---------- Previous post was at 08:33 AM ----------

Is there any way to disable audiofx without having to remove it using root?
[Xperia Z2 Android Development] ryan.vandalz:
Root with magisk,you can patching rr boot.img with magisk manager and then flash patched boot image via fastboot.

For more info check magisk official thread
[Xperia Z2 Android Development] asifulhaq:
Will try that. Thanks!
[Xperia Z2 Android Development] Rahatkhan.rk:
I'm having WiFi problem. When my WiFi signals are 2 bars or not so strong it's disconnecting continuously. I've tried WiFi regional problem solver but nothing happened.

Note: I didn't face anything like this in nougat.
[Xperia Z2 Android Development] aytacesmebasi:
What is the latest status of known bugs? Im waiting for minimum bug version release.
[Xperia Z2 Android Development] PinkPandaVN:
[MENTION=7796065]opendata[/MENTION] i think this is a big bug, when i go an app info -> Permissions, a warning Package installer keeps stopping pops up. I did fresh install but this bug still.

Sorry for the bad english.
[Xperia Z2 Android Development] ryan.vandalz:
Never seen that issue on my device ?
[Xperia Z2 Android Development] dikme:
Don't use black themes on sittings and it ll work fine
[Xperia Z2 Android Development] PinkPandaVN:
wow. The problem has been resolved. Thank you very much:good::good::good:
[Xperia Z2 Android Development] NAFIZ1:
I've already installed twrp on my xperia z2 D6503...do I need to flash the twrp img????
[Xperia Z2 Android Development] @kitokit:
Which version of twrp? Latest is recommended..3.2.1-1
[Xperia Z2 Android Development] NAFIZ1:
its not 3.2.1-1...but I can upgrade to 3.2.1-1..there is one more thing...when I flashed a nougat rr rom,my recovery were gone!!!will it happen again if I flash this rom???
[Xperia Z2 Android Development] @kitokit:
You can try, take a nandroid back up first and follow op.
[Xperia Z2 Android Development] jd064:
how can convert internal storage to external storage in xperia z2

im xperia z2 16 gb internal so i could not play heavily game ..so i need convert my internal storage to external storage..
[Xperia Z2 Android Development] Utkankilic:
No

---------- Post added at 08:57 PM ---------- Previous post was at 08:53 PM ----------

It takes too long to wake the phone or sometimes power button doesn't even work can someone help with this
[Xperia Z2 Android Development] YamyYugi:
How to solve audiofx Fáil system?
[Xperia Z2 Android Development] xMasterbaitx:
Delete it.
[Xperia Z2 Android Development] YamyYugi:
I already try that but now apear this:
[Xperia Z2 Android Development] Rahatkhan.rk:
When I make a call via loud speaker then turn loud speaker off, my mic doesn't work then. I've installed mic fix. Didn't worked.
[Xperia Z2 Android Development] shaiya87:
Disable OK Google
[Xperia Z2 Android Development] Rahatkhan.rk:
Already did it but nothing happened. Anyway thanks for answering.
[Xperia Z2 Android Development] Moncie:
How I can root it? I tried with kingrook but it doesn't work. From developers option I have only ADB, and when I installed I swiped on make root when leave the first flash but it doesn't work. Can any one help me?
[Xperia Z2 Android Development] jevtabg:
Magisk

Послато са Xperia Z2 уз помоћ Тапатока
[Xperia Z2 Android Development] anupam.kitk:
Resurrection remix Oreo z2 plus is over saturated colors are to dark can anyone please tell hot to fix it. Thanks in advance
[Xperia Z2 Android Development] shaiya87:
It's impossible to play games, they simply stop working without any mistakes. And can you add a superusermod? To install applications without checking the signature.

Game is PUBG Mobile, logfile attach >>>
[Xperia Z2 Android Development] aelfinn:
How can I verify that GPS is in fact working? I’m getting conflicting information from different apps: GPS Test can’t get a fix, while GPS Fix/Optimizer says it gets a location with an accuracy of 20m pretty quickly.
[Xperia Z2 Android Development] sirpsychosexy86:
i have same problems with PUBG . its just random closing without any warning or bug alerts. On the same rom but Nugat all was fine.
[Xperia Z2 Android Development] Hichie:
authentication problem on a old D-Link DL-524.

Tried connecting to 3 other routers, auth works.

Password is 100% correct ( taken directly from router sofware )

So idk whats wrong, maybe because its an older G only router.
[Xperia Z2 Android Development] z7kazanova:
Me too

Me too bro, please if you know how to fix it please tell me

---------- Post added at 05:06 PM ---------- Previous post was at 04:46 PM ----------

Me too bro please if you fix it please till me how to fix it too please
[Xperia Z2 Android Development] ryan.vandalz:
Try to enable force gpu rendering on developer settings
[Xperia Z2 Android Development] z7kazanova:
game still crashing Sir

But audio fx stop error is fixed. allowed me to mute it

Really thank you sir i appreciate :)
[Xperia Z2 Android Development] shaiya87:
opendata

Please make a deodexed duild. It is very necessary implementation as it seems to me.
[Xperia Z2 Android Development] lukebennett54:
Mine doesn't work even after being patient... plus when it actually sets eventually, turning the screen off and typing in the correct pin only results in the screen turning off and on again ready for you to put the pin in again. It just stays in that loop. Please help!
[Xperia Z2 Android Development] V4LKyR:
Hello [MENTION=7796065]opendata[/MENTION]

Is hvdcp module included in kernel source? I am trying to enable QC 2.0.

Regards.
[Xperia Z2 Android Development] shaiya87:
The quality of video recording is very poor, and video recording in 4K does not work. In general, there is much to strive for. I hope this will be fixed in the future.
[Xperia Z2 Android Development] BertiiTheHero:
Very frequent reboots

Hey guys,

I've recently flashed RR on to my Z2 and I must say that I love it, it's so fast and slick. Unfortunately it doesn't seem to be at all stable on my device, and whenever the phone is locked it crashes out and reboots itself. It'll do this every couple of minutes. Whilst the phone is plugged into a charger or PC it happen less often, and if I'm using it (phone call, YouTube, etc.) it'll be stable too.

I've looked at the last_kmsg log and I must admit I'm not familiar with Android logs - but with my layman's view of the logs (comparing a good shutdown to a bad shutdown), most of the lines mentioning error or failed, seem to pop up when the device is trying to suspend itself. This would, I assume tie in with my rather unscientific theory that when it's charging it crashes less often - indeed when it was first installing all of my apps from a backup, it when up and stable for some 2 hours.

Is there a simple workaround for this? Do I need to change the power settings somewhere? Is there anyone else that's experiencing this issue? Do I need to post the logs for someone far cleverer than I to look over?

Thanks

Bertii

Solution:

Thanks to jevtabg and ryan.vandalz!

I noticed that the AudioFX app was crashing whilst I was using the phone, but it never forced rebooted in those scenarios, only when I locked it, and apparently it is this that causes the frequent reboots. To anyone else that find this post, here's the solution:

1. Enable USB debugging on the phone (and probably need root permissions on ADB - found under developer settings)

2. Plug into PC (with ADB running)

3. Connect on ADB shell:

4. Run command:

It might also work by doing the following (but I've not tested it):

Settings > Configurations > Miscellaneous > System App Remover > AudioFX
[Xperia Z2 Android Development] jevtabg:
You removed AudioFX ?

Послато са Xperia Z2 уз помоћ Тапатока
[Xperia Z2 Android Development] :
Quick update, I have been pretty busy recently with my Z2 tablet dying twice and going on holiday so haven't had much time to build, I'll try to build this week but in the meantime time here is something cool: https://ptpb.pw/q28L.dts (+1 to first person to tell me what this means) hint: 'three point four is no more

edit: ignore the downstream display and spmi nodes, they are a hack to bl init display
[Xperia Z2 Android Development] jevtabg:
[MENTION=7796065]opendata[/MENTION] looks like some script for development board [emoji849][emoji849][emoji849]

Послато са Xperia Z2 уз помоћ Тапатока
[Xperia Z2 Android Development] mxperial:
As far I could see it's related with fast charge and camcorder? So maybe it is some part of a new HAL or new mod on kernel?
[Xperia Z2 Android Development] ryan.vandalz:
Always read older post before ask,remove Audiofx and reboot issue will gone
[Xperia Z2 Android Development] Cygmon0:
Not sure, but i think this is the camera permanent fix with more features like recording FullHD and 4K
[Xperia Z2 Android Development] V4LKyR:
So it means that we will be able to run the latest 4.16 kernel on our phones with RR rom???

:p :p :p :p :p

Also please advise me to implement hvdcp so we can use QC 2.0 with RR Rom. I already built a custom kernel from the kernel source. I can share if anyone is interested or make a new thread.

[MENTION=7796065]opendata[/MENTION]
[Xperia Z2 Android Development] :
Yep, you're right :) though keep in mind it will be a long time till everything works, currently we have touch, graphics acceleration via Freedreno, display and cpufreq.

As for hvdcp I guess you would need https://github.com/AndroPlus-org/an...mmit/16c23726fb07c7432539fd26980ce055bf758e34 and then some stuff in userspace but haven't really looked into it
[Xperia Z2 Android Development] V4LKyR:
Is that true? :confused: I don't think it's that simple for us to be able to use 4.16 kernel on our phones... It feels like it would take MUCH MORE than that :cyclops: Shinano board has a lot of stuff on :D Still that would be crazy! :D

Anyway, yeah I've already changed those values, however the ROM does not have hvdcp module... It should be in system/bin

Edit: Where is my +1 ? :D
[Xperia Z2 Android Development] :
Yep, no it isn't simple this is the product of 5 months of work I have done on the Z2 tablet as well as initial work Sony did a few years back but as that died I have moved to developing on sirius, yeah there is still a lot of stuff left but we are slowly adding more things.

Yeah, you'll need to add the hvdcp module manually

Thanked :)
[Xperia Z2 Android Development] Cygmon0:
Awesome!!

Keep it up
[Xperia Z2 Android Development] wadoo24:
thanks for that rom , i used it for 4 month right now and i notice serious problem on it :

first of all the device get worm and hot on simple daily task like Facebook and YouTube ( the temperature reach 60 degree),,,, and i notice serious hot temperature on simple game ( not heavy ) like 80 degrees ( if you play for 20 minutes) . it s not safe rom for use ( for now ) with all my respect.

2- crash on application some times like YouTube , Facebook .....

3.very pooooooooor camera quality very bad honestly i forget that i have z2 old camera,,,, that camera it s like i have vga one ,,,, no 4 k record.

4- physique button of camera doesn't work.

5- slow charge.

6- offline charger doesn't work.

7- poor battery life

8-color of display over saturated

9-no ota ( we have to make upgrade with ower self and lose of data with each upgrade)

i just report the bugs of that rom please i don't ask anything to the developer .
[Xperia Z2 Android Development] V4LKyR:
Hey guys, can anyone post here the file called "hvdcp" under /system/bin ? ONLY on stock ROMs though. I will try to enable QC 2.0 on RR roms.

Asking for the file /system/bin/hvdcp in STOCK ROMS. Thanks.
[Xperia Z2 Android Development] fribriz:
Surprisingly, yesterday I installed Carbon 8.1 beta on my Honami z1 and there was native quick charge. If you can tell me how to extract it, I can make an attempt to do it.
[Xperia Z2 Android Development] shaiya87:
https://cloud.mail.ru/public/FuyQ/vmKeL1uon

If you can not download the file you need, let me know. Under the link unpacked system files. STOCK .291
[Xperia Z2 Android Development] Cygmon0:
Also this one from Stock LP

.232

https://drive.google.com/file/d/1gdadIzxYawM4yfS-I8jFzmGqaYjldfPH/view?usp=drivesdk
[Xperia Z2 Android Development] override999:
Stock. 291

https://mega.nz/#!9qYCVTIB!FnFAKpMYdKu_yGc1WwK46OpT-8ZVwUWu3gFYXWg9uWY
[Xperia Z2 Android Development] V4LKyR:
Thank you guys, I made it. Currently have QC 2.0 on latest RR rom. Now I'm making a thread for it. :good: :highfive:
[Xperia Z2 Android Development] :
https://github.com/postmarketOS/linux-postmarketos/tree/qcom?files=1 is the kernel for anyone wanting it, however currently display inly works on devices with renesas sharp panels (search renesas in twrp dmesg to test). If you want a quick and easy way to set up, use pmboostrap (look on postmarketos wiki) with this pr https://github.com/postmarketOS/pmbootstrap/pull/1457 mergered
[Xperia Z2 Android Development] DiogoSilva48:
With this kernel will be possible for example to run a Linux distro on our phone ?
[Xperia Z2 Android Development] shaiya87:
opendata

Please do deodex build and fix the problem with wifi 5 ghz (country Russia) >>> https://xdaforums.com/xperia-z2/general/tut-wifi-region-code-fix-carbon-rom-t3738061 and a problem with the games. Then build will be priceless. Thank you!
[Xperia Z2 Android Development] Michael2190:
Hi,what exactly do you do?RR+Kernel 4.16 or full postmarketOS?
[Xperia Z2 Android Development] :
Currently testing on postmarketos but going to do aosp master soon

Yep, that's what postmarketos is
[Xperia Z2 Android Development] DiogoSilva48:
Wow, that's pretty awesome, thanks...
[Xperia Z2 Android Development] V4LKyR:
But will it render us to be able to use latest Android with latest available stable kernel too?

For example, Android 8.1 with 4.17 kernel on Xperia Z2. :D
[Xperia Z2 Android Development] sebastain23:
Is it working video on snapchat?
[Xperia Z2 Android Development] ahmedy1902:
Can anyone tell me what is this kernel and what can it do more than normal kernel?
[Xperia Z2 Android Development] 3nkab:
+1
[Xperia Z2 Android Development] z7kazanova:
+2
[Xperia Z2 Android Development] shaiya87:
Type in google "Kernel 4.16".
[Xperia Z2 Android Development] marcogiannetta:
Open /system/vendor/firmware/bcmdhd.cal with a text editor and look for the line "ccode=XX" and change XX value with your Wi-Fi Country code, which should be RU for Russia.

Save and reboot.
[Xperia Z2 Android Development] shaiya87:
This method does not work. You need to fix the framework.jar
[Xperia Z2 Android Development] bastadur:
Hopefully we get a new RR build soon, I can live with the old (current) kernel. ?
[Xperia Z2 Android Development] ahmedy1902:
It would be better if u told me
[Xperia Z2 Android Development] shaiya87:
I must tell you that there are so many changes compared to 3.4.x ?
[Xperia Z2 Android Development] sumedhahebbar96:
FM is not working!

First of all I thank the developer working on this project. :angel:

The issue:

I was on stock 6.0.1 (d6503) and I flashed RR-O-v6.0.0-20180325-sirius-Official.zip using the given TWRP, I haven't flashed gapps or magisk yet, only the rom.

When I use the FM radio, there will be no stations, if I scan, it says getting stations and it goes on forever and no stations will be found.

I have searched on the internet about this problem, but I was not able to find anything relevant..... Am I the only one facing this problem?! :confused:

Could there be any fix for this? :fingers-crossed:
[Xperia Z2 Android Development] DiogoSilva48:
This kernel is so much newer that 3.4, 3.4 was released in 2012 and 4.16 was released on April 2018, may allow us to do many things...
[Xperia Z2 Android Development] Sindar88:
Thanks for this great ROM I'm using it for 2 months. The biggest problem is rebooting it self .found out if I play music in background it won't be reboot :confused: it is a Temporary solution but hope to fix in future.

There are some other little problems too like voice recorder and radio is not working and when I hold power button I can't see shutdown and restart button
[Xperia Z2 Android Development] ahmedy1902:
Many things like what?

---------- Post added at 03:26 AM ---------- Previous post was at 03:26 AM ----------

Like what?
[Xperia Z2 Android Development] DiogoSilva48:
Running a Linux distro on our phone.
[Xperia Z2 Android Development] ahmedy1902:
What is that?
[Xperia Z2 Android Development] oscar_16:
RR final nougat

When typing in the keyboard on the whatsapp go home without any press any button how to fix it !!
[Xperia Z2 Android Development] :
Wondering how many people here would be interested in official Los oreo
[Xperia Z2 Android Development] Farooq95:
This one comes with 4.xx kernel?
[Xperia Z2 Android Development] Dendis:
Hello,

Honestly, just stick with getting stable RR Oreo with 4.x.x kernel or with more features, than going with RR and LOS. Quality>Quantity.

Thank you!
[Xperia Z2 Android Development] Samir2298:
Sure! I would love to see LOS with latest kernel
[Xperia Z2 Android Development] pbgapski:
count me in ;)
[Xperia Z2 Android Development] :
No, there will never be a proper rom with 4.x, just doing it occasionally for pmos because it's fun porting drivers.

There will never be rr oreo with 4.xx and anyway for Los I only need to change the RR trees a little bit, also would me you get weekly builds
[Xperia Z2 Android Development] shaiya87:
All new is good, the most important thing is if there were no old mistakes.;)
[Xperia Z2 Android Development] Rahatkhan.rk:
I don't care about the new kernel or los or anything like that. I only want an stable and bugfree update.
[Xperia Z2 Android Development] Dendis:
When you were working on Nougat, you said, that LOS is not worth its time, because RR is way better. As I said, from my perspective, it's better to work on Stable RR with as bug-free as possible.
[Xperia Z2 Android Development] oscar_16:
please opendata how fix it ?
[Xperia Z2 Android Development] jevtabg:
Reinstall whatsapp.

Install google keyboard :)

Послато са Xperia Z2 уз помоћ Тапатока
[Xperia Z2 Android Development] bastadur:
I'm down with Lineage weeklies. ?
[Xperia Z2 Android Development] kuba130000:
Why there will be no proper ROM with 4.xx kernel?

A problem with drivers?
[Xperia Z2 Android Development] :
blobs, drivers, there will be lots of problems unless you can deal without 90% of stuff
[Xperia Z2 Android Development] :
new build is out! contains lots of fixes like camera almost fully working thanks to [MENTION=5621191]rcstar6696[/MENTION], qc 2.0 by default and intelliplug by default for better battery and performance.
[Xperia Z2 Android Development] amiralisaemi:
Really!!! video record working!?
[Xperia Z2 Android Development] :
yep
[Xperia Z2 Android Development] :
Also, if you get a vendor image mismatch error just ignore it, its fine
[Xperia Z2 Android Development] amiralisaemi:
Very very TNX Dev.

RR is the best.

I can install Sony stock camera mod or cyberian mode on this rom?
[Xperia Z2 Android Development] kuba130000:
Sony stock camera yes, cyberian not working on customs ROM afaik.
[Xperia Z2 Android Development] the_marginal:
Which do you recommend? do they have differences? RR or Carbon
[Xperia Z2 Android Development] :
RR had quite a few more features but carbon has weeklies
[Xperia Z2 Android Development] CVRMV:
Just tested new 05/07 update, and games still crashing without any error :(
[Xperia Z2 Android Development] matrix2012xman:
[MENTION=7796065]opendata[/MENTION]

sound media from sd card did not run at latest build 5-7 rr

clean installation
[Xperia Z2 Android Development] Rahatkhan.rk:
Can anyone post the changelog please?
[Xperia Z2 Android Development] Predatorino:
Just installed the latest build (came from RR on Android 7 and wiped everything even sd storage), and also rooted with Magisk and installed opengapps stock.

Video recording works for me.

After every boot it shows a vendor mismatch warning(does'nt seem like a big deal though).

Every time i play a video from YouTube or song from spotify it will show a message that says "AudioFX has stopped".

When i tap the screen the message disappears and the content will play normally until i pause/play again.

The message does not appear if i press play on the lock screen.

The AudioFX app opens but shows an empty screen.

I've tried:

Clearing AudioFX data in the settings

Wiping dalvik and cache in recovery
[Xperia Z2 Android Development] ebram96:
Can these bugs be solved or should I just adapt with them ?
[Xperia Z2 Android Development] Thieuke:
I just finished downloading and flashing.

At first glance everything is fine.

ebay does work again (it didn't in 0507 version of ROM).

Call audio I will check later today when in the car.

In OP at bugs list it says Call audio over BT is unstable, but on april version of ROM everything worked very good. Never had any problems calling from the car over BT.

Thanks for the update again!

---------- Post added at 11:14 AM ---------- Previous post was at 11:12 AM ----------

OH totally forgot, from first RR ROM version (april), the standard Clock doesn't work.

Anyone else who has this problem?
[Xperia Z2 Android Development] Austin.gonzo:
I can confirm that clock app doesn't work on April build
[Xperia Z2 Android Development] dikme:
Ebay work fine here with Last build
[Xperia Z2 Android Development] dikme:
Clock app work fine here
[Xperia Z2 Android Development] Thieuke:
I think you have not read my post very well. I just said the same.

It does work in 05/11 ROM, it didn't on 05/07 ROM

Verstuurd vanaf mijn Xperia Z2 met Tapatalk
[Xperia Z2 Android Development] iXaidyiu:
If the problem is fixed then why you report it?
[Xperia Z2 Android Development] raminta:
Yes it has been fixed

Thanks