yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Android Development] ticktock666:
Hi [MENTION=6812097]raschad[/MENTION] and thanks for the great work on multiple Pie roms for the Z2.

I've been trying to test this rom, but I'm having the same issue that has been popping up in Z2 custom roms since Nougat, which is the WiFi network detection problem, on 7 & 8 roms I was able to use the xposed wifi region fix module, but it doesn't work on pie because xposed for pie doesn't have resources hooking atm, even when using airplane mode this doesn't work anymore.

I'm going to look into fixing the issue following this how-to from here : https://xdaforums.com/showthread.php?t=2368501 but if I remember correctly this stopped working since oreo because the roms were all odexed by default and this requires a deodexed rom.

I hope you'll consider adding this fix to your rom(s) by default, I would really love to use PIe at this point, but I can't trade my WiFi connection for it.
[Xperia Z2 Android Development] ali6944:
+1
[Xperia Z2 Android Development] nfsmaster007:
Everytime I startup my phone after fastboot boot.img and recovery.img I try to get in recovery and my phone gets in bootloop. Which TWRP version is working 100%? Tried 3.2.1-0 and 3.2.2-0zeroflte

Nevermind I got it from CarbonROM post: https://xdaforums.com/xperia-z2/development/7-x-x-carbonrom-cr-5-1-t3655016

Version working for me: twrp_3.2.1-s
[Xperia Z2 Android Development] NOCUL:
guys are having slow charging thru dock charger? :confused: coz mine is slow.
[Xperia Z2 Android Development] J.M.Siyath:
Take a look here:

https://xdaforums.com/android/general/toad-source-android-deodexer-t3848307
[Xperia Z2 Android Development] ticktock666:
Thanks, I've already modified the file without deodexing, I'll test it tomorrow and report back, most likely it won't work.

I'll use the tool from your link on the rom later too, though I'm wondering why are all custom ROMs deodexed these days? It used to be that stock ROMs were deodexed and custom ROMs were odexed, not sure why the change.
[Xperia Z2 Android Development] kecao:
Camera Cyberian

Does it works with Camera Cyberian ?

Thanks.
[Xperia Z2 Android Development] AzraelX:
seems you guys didn't get the gesture thing. when you swipe down the recent, it clears all. isn't that cool? :)
[Xperia Z2 Android Development] dorinel01:
Hello. Anyone facing camera error? Camera don’t work in any application, stock or third party.
[Xperia Z2 Android Development] lyamanl:
It worked thanks dude, but I think I messed up with something I will try to install the ROM again and see if it fixed.
[Xperia Z2 Android Development] lyamanl:
Pls help, I have problem when start any app the volume start loud then goes low and can't adjust the volume louder, it all to to the top and it's low, the volume is loud but not like when I start music or any thing when I start it.
[Xperia Z2 Android Development] ticktock666:
I'm having the same problem, used to fix it by installing magisk and viper4android, but edxposed was breaking it, so I'm currently testing the latest edxposed version with magisk to do if it works
[Xperia Z2 Android Development] @kitokit:
Has anyone tried magisk latest version on this Rom? I'm on 18.1 still. I tried updatingn to 19 ver before, but I was having problem entering recovery. Thats why I stayed at 18.1..
[Xperia Z2 Android Development] AzraelX:
I'm using AICP. Don't have serious major problems. Daily usage is cool so far. also I updated Magisk 20 the latest version. Nothing wrong. Everything is working normally. ?
[Xperia Z2 Android Development] ticktock666:
That issue was fixed a long time ago, in magisk 19.x

The problem in having are related to edxposed breaking boot time script from magisk, but I can live with that in exchange of being able to use xposed
[Xperia Z2 Android Development] lyamanl:
Well! Did it work ?

---------- Post added at 07:45 PM ---------- Previous post was at 07:39 PM ----------

Hey, the charging is slow with max 850-900 mAh and it gets up and down so any fix? and I test the charger and the cable with other phone and it charge with 1500-1600 mAh.
[Xperia Z2 Android Development] lyamanl:
Any fix to slow charging? Any help pls ?
[Xperia Z2 Android Development] ticktock666:
Nope, it didn't work. As for charging, my phone starts charging show then after a bit it goes up up to normal speed.
[Xperia Z2 Android Development] pbgapski:
I used to have erratic battery behavior, but I could trace it to the phone not going into deep sleep after bluetooth was on. If I turn bluetooth off and reboot, the phone deep-sleeps great and I have very good battery life.

Those who do not use bluetooth heavily could try the following test to verify if that is true on phones other than mine:

1. enable battery saving mode

2. turn bluetooth off

3. reboot

4. after some time check deep sleep percentage on settings->about->uptime
[Xperia Z2 Android Development] lyamanl:
Hey guys, I have problem when I get video calls on WhatsApp my microphone don't work but if I make a video call it's work fine, any help?
[Xperia Z2 Android Development] lyamanl:
Guys pls help anyone, my phone just rebooted and the WiFi can't save any network, can't connect to any WiFi pls help.
[Xperia Z2 Android Development] FJUNIOR1258:
Olá galera tenho o fix do WiFi e estabilidade

Alem de ser rápida para o z2, depois de fazer o flash

----------

MOD EDIT: English Translation Below

Hello guys I have the WiFi fix and stability

Besides being fast for the z2, after making the flash

Patch WiFi fix Sony xperia z2 Sirius zip twrp :https://drive.google.com/file/d/1-B3BCuE_x6AjezMgB4snJh8sv_INw6cS/view?usp=drivesdk (Very stable)
[Xperia Z2 Android Development] nfsmaster007:
Sometimes stock gets stuck but third party works fine for me.

---------- Post added at 05:09 PM ---------- Previous post was at 05:02 PM ----------

Somebody noticing Sound problems? When you hear close to no volume to music the sound will completly bug out rustle and make some weird noices is l like somebody on teamspeaks mic is overriding like extrem but quite. Still its so anoying I cant watch YouTube or smth with this sound bugs.

I have these sound problems on every custom rom except prerooted 6.0.1

---------- Post added at 05:39 PM ---------- Previous post was at 05:09 PM ----------

[youtube]KV9GFmt7MuQ[/youtube]
[Xperia Z2 Android Development] ticktock666:
No luck for now, I've tried the following with no success:

- modified the telephony-common.jar without deodexing, flashed the file, no WiFi. I have tried multiple suggested changes to the file with no luck.

- deodexed the /framework folder using the TOAD program, which resulted in only 21 odexed files out of everything in the /framework folder, flashed the file and the phone works, tried the same modifications to the telephony-common.jar, still WiFi doesn't work.

I've noticed something, if I do a wipe, flash the rom/magisk/kernel...etc without flashing the D6502 baseband file, the WiFi works, but no sim, but if I flash the baseband fix, the WiFi will not be detected even if I don't use a sim in the phone at all, like do a full wipe/flash with no sim in the device, boot into the rom, and WiFi still can't detect any networks, so maybe the patch is also causing some issues?

I'm out of ideas atm, gonna go back to oreo until I can think of something else to try.
[Xperia Z2 Android Development] ali6944:
Don't think it's the patch as my D6503 has the same issue, it's probably because android is setting the wifi country code according to the info on the sim (the same issue we had in the early nougat and oreo days), but something must be different here because booting a clean install with no sim and gapps yielded no results for me, i'll have another go to see if i'd get lucky.

I'm not sure about the building process as i don't have any experience at that, but maybe OP can add support for more countries at some point, or change what the default is set to to whatever carbon rom uses.
[Xperia Z2 Android Development] rizky_zulfikar:
nice work dude, but can u add xperia home xD
[Xperia Z2 Android Development] -kOS-:
There is a magisk module to add xperia apps, just do a search

Enviado desde mi SGP511 mediante Tapatalk
[Xperia Z2 Android Development] ticktock666:
The same no sim thing happens to me if i flash the baseband patch without using a sim (same country as you btw, i use mtn), right at the phone setup screen.

Could this be related to the "emergency call only" thing in Android? Like it connects to the general available mobile network, detects our region, and sets that? Does the z2 have this feature?

I'll test something tomorrow, there's also a tutorial I saw about some sqlite database modification to change the region code for the phone, maybe it'll work.

Also, are your saying that in Oreo carbon latest rom, WiFi works normally without having to use the xposed module anymore? If this is the case I'm going to take a look into it and see what is different, maybe that'll help.
[Xperia Z2 Android Development] kakakatq:
sim card is not detected ! tells me to insert sim card while it's already in !!

D6502
[Xperia Z2 Android Development] vikash1994b:
Flash D6502 patch from OP
[Xperia Z2 Android Development] AzraelX:
yeah, you are right. I noticed that. there is a sound problem and it is totally weird. some music files make little bit noisy with it. I don't know what is the problem and I have not faced this kind of problem on any custom ROMs that I've used before. waiting for a solution.
[Xperia Z2 Android Development] nfsmaster007:
Which custom ROMs you already tried that work? I just want a working 8.0 + Android
[Xperia Z2 Android Development] NIT1234:
How to install this from Z2 D6502 .291 rooted having Twrp 3.0.1

How to install this from Z2 D6502 .291 rooted having Twrp 3.0.1

Please provide stepwise instruction.

thnx in advance
[Xperia Z2 Android Development] kakakatq:
Slow and laggy any one can help ?

I really like it but i can also use a hand to fix and tweak it

thanks in advance ....

Great room btw thanks for your hard work
[Xperia Z2 Android Development] Mohamad Serwan:
Any Bugs ??
[Xperia Z2 Android Development] Cygmon0:
Taking two pictures in a row. Will crash camera app. Taking pictures while zoomed to the end. Cause a green picture.

Video recording not working.

Enabling or disabling battery saving mode. Will cause the device to freeze for couple of seconds. Sometimes forever and needs reboot.

That's from my using experience.

Other members may found other bugs

تم الإرسال من Xperia Z2 باستخدام Tapatalk
[Xperia Z2 Android Development] mfauzirahman:
GPS not accurate on this rom
[Xperia Z2 Android Development] elnat:
Thank you very much for this ROM.

Where do I find this boot.img file mentioned on Step 2 of Installation?
[Xperia Z2 Android Development] J.M.Siyath:
inside of Rom zip file.
[Xperia Z2 Android Development] elnat:
Oh I see. Thank you.

Actually I flashed the ROM and Gapps already with TWRP before seeing your reply, but didn't flash the boot.img first. It seems to be working fine.

Should I install it all over again or leave it as it is?

Thanks!
[Xperia Z2 Android Development] ryan.vandalz:
Anyone knows how to fix wifi region problem?
[Xperia Z2 Android Development] ticktock666:
I've been really trying, modified multiple files and flashed them, true every guide and method I could find, but nothing for now.
[Xperia Z2 Android Development] ryan.vandalz:
I’ve been trying region fix on xposed module and no luck too
[Xperia Z2 Android Development] ticktock666:
It won't work because edxposed doesn't have resources hooking.

I'm getting help from a very generous dev atm and testing a few ROMs for a fix, hopefully it'll work and then they'll release a fix that works for most ROMs too.
[Xperia Z2 Android Development] omgasm:
wow, good news! where can we follow the progress?
[Xperia Z2 Android Development] dorinel01:
No frontal camera
[Xperia Z2 Android Development] ticktock666:
I have started a thread in this forum, but so far we've been stuck at the same point for a while, the only way to get access is to turn airplane mode on and reboot, then you'll have WiFi, if you turn airplane mode off WiFi will be gone until you repeat the process of airplane mode and reboot.
[Xperia Z2 Android Development] Hans_Werner:
Same for me. Tried also third party camera app with no success. Latest rom version with rz kernel 3.5

Battery life time is great. 4h SOT with 12-14h standby time.

Somethimes phone will be hot.

Haven't had that problem with the last carbonrom 6.1 versions.

Anyway I didn't found other issues.
[Xperia Z2 Android Development] DidonZ:
I dont have root , I flashed magisk but it doesnt appear I tried supersu same thing no root ,awesome rom by the way thanks
[Xperia Z2 Android Development] Hans_Werner:
Try flash magisk again. The first flash of magisk didn't worked for me either.

With the second try, magisk was flashed and worked well.
[Xperia Z2 Android Development] koraymers:
download and install magisk.apk from Internet
[Xperia Z2 Android Development] Hans_Werner:
You don't need the APK. Only download the latest stable from here :

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

Flash the zip via twrp and viola magisk incl root.

With flashing the zip you did also get the magisk manager.
[Xperia Z2 Android Development] jimmy97liew:
Some issues I have already bumped into past week:

1. Camera seems randomly appearing to capturing only green pictures

2. Camera app crashes when changing to other mode like Video recording mode

3. Camera app also crashes when changing ISO values, resolutions and others, but not flashing mode

4. Mic seems not working when calling

Apart from that, this is still an amazing ROM because with themed UI which I can choose dark mode.
[Xperia Z2 Android Development] pbgapski:
[MENTION=6812097]raschad[/MENTION] I have been running this ROM on my sirius and it is working great. I see you are building some other ROMs for sirius as well. Are you planning more builds for aex or have you migrated definitely to the other options?
[Xperia Z2 Android Development] vsnst:
One quick question, if I

unlock bootloader or

install the new kernel or

install the twrp recovery 3.2.x.x (Sirius)

or install this rom.

Can I still recovery my old system(rom) backup by using twrp recovery 3.2.x.x (Sirius) ? Will the new kernel affect the old backup?

I am using the eXistenZ MM 23.5.A.1.291 on my Z2 (D6503) with TWPR(3.0.2-0) (probably bootloader is not unlock yet)

I am not so sure of what does "Sirius" meaning to.

I just want to make sure that I still can recovery my backup after doing this, thank you
[Xperia Z2 Android Development] NOCUL:
Video

The video works for me by changing the video setting to 720p.

---------- Post added at 09:12 AM ---------- Previous post was at 09:01 AM ----------

Wanna share mine. i've unlocked my bootloader and installed twrp 3.0.2-0 and rooted. by the way im on stock rom with it. booted on twrp and backup my rooted stockrom. then followed the instruction on the first page of this thread. then installed rz kernel. then it boots. by now i'm on twrp 3.2.3 then tried to restore my rooted stockrom backup and it boots! it's back to normal including the stock kernel.

and SIRIUS is the code name of the our device XPERIA Z2 (D6503). Just always remember to make a backup before flashing. and always follow the given instruction.
[Xperia Z2 Android Development] @kitokit:
You should also take a back up of your drm keys before unlocking your bootloader, if ever you want to go back to stock and re lock your bootloader...
[Xperia Z2 Android Development] vsnst:
Thank you so much for your advice and information, it really help me a lot.:)

---------- Post added at 08:51 AM ---------- Previous post was at 08:46 AM ----------

Thank you so much for your advice!

after I install this rom, I still can relock my bootloader, right?

people lock it back for better security and safety?

---------- Post added at 09:31 AM ---------- Previous post was at 08:51 AM ----------

Is it necessary to install the new kernel? (RZ 3.5)

---------- Post added at 09:31 AM ---------- Previous post was at 09:31 AM ----------

Is it necessary to install the new kernel? (RZ 3.5)

---------- Post added at 09:45 AM ---------- Previous post was at 09:31 AM ----------

The file you are trying to download is no longer available.

This could be due to the following reasons:

The file has been removed because of a ToS/AUP violation.

Invalid URL - the link you are trying to access does not exist

The file has been deleted by the user.

:(

the link is not working
[Xperia Z2 Android Development] devilgloom:
i need this rom please tell me how much wait for update link or new build
[Xperia Z2 Android Development] raschad:
Tomorrow)
[Xperia Z2 Android Development] raschad:
AospExtended-v6.4-sirius-20190317-0727-UNOFFICIAL

Changelog
[Xperia Z2 Android Development] vikash1994b:
Does it include carbon rom sources?
[Xperia Z2 Android Development] raschad:
Yes)
[Xperia Z2 Android Development] devilgloom:
thank you so much mr raschad
[Xperia Z2 Android Development] xperia1-2:
Can I update directly? Still need to implement clear data?
[Xperia Z2 Android Development] raschad:
if you come from other ROM
[Xperia Z2 Android Development] Bokhsan:
Hi fix Lag on animations

on New update???
[Xperia Z2 Android Development] adxpax:
Thank you sir for updating.charging problem fixed in v6.4?:o
[Xperia Z2 Android Development] devilgloom:
I used for 5h and no bug see and important thing charging is fix
[Xperia Z2 Android Development] adxpax:
thanks for reply:

problem (offline charging):

i turn off device and plug charger and charging animation is starting after 10 second animation is invisible but screen always turn on.:confused:(i can take picture if you want)

good help with you sir:):good:

(can i fix it manually?)
[Xperia Z2 Android Development] raschad:
how does notification lights work?
[Xperia Z2 Android Development] devilgloom:
that work very good without problem just one problem find and that hotspot not working but important things fix thank you for last build

---------- Post added at 09:47 PM ---------- Previous post was at 09:42 PM ----------

Hey dear friend I'm test that problem and unfortunately still not fixed but just animation chargeing not working for me and phone be charged Correctly just animation broken
[Xperia Z2 Android Development] adxpax:
thanks for reply:o;)

can we change charging animation manually?it's very bad problem.

---------- Post added at 11:09 PM ---------- Previous post was at 11:01 PM ----------

......and unfortunatly wifi problem can't be fixed in my country.

for fix it we must enable airplane mode for every reboot.when device start we disable it.for every reboot.
[Xperia Z2 Android Development] darknessmc:
My device reboot after startup. every pie rom with carbon source doing that.
[Xperia Z2 Android Development] dorinel01:
Same here,any ways to solve the problem?
[Xperia Z2 Android Development] vsnst:
Do you recommend setup the phone first, then flash Gapps and Magisk? or flash it right away
[Xperia Z2 Android Development] aelfinn:
The least you could do is give:

1. Your model number

2. Your TWRP version

3. Your bootloader version

4. The exact name of the file you’re flashing
[Xperia Z2 Android Development] adxpax:
my friend i have d6503 and don't have this problem maybe you don't flash it correctly or you have d6502 and this rom not fully supported it.

god help with you:good:
[Xperia Z2 Android Development] dorinel01:
[ROM][P][9.0] Aosp Extended Pie for Xperia Z2 (Sirius) [17.03.2019]

Here it is:

- D6503

-TWRP 3.2.1-1

-6.0.1/23.5.A.291/2769308465

-AospExtended-v6.4-sirius-20190317-0727-UNOFFICIAL.zip

I flashed the rom only with wipe cache/dalvik like I done thousands times before. I also flashed the previous version but system ui keep crashing.
[Xperia Z2 Android Development] aelfinn:
Two immediate suggestions: 1. Update TWRP to 3.2.3. 2. Backup your data and do a clean flash. Too many possible sources of error remain when you do a dirty flash.
[Xperia Z2 Android Development] vsnst:
Same, when It got into the system, it suddently freeze and reboot over and over again.

I flashed Pixel Experience before, then I just wipe then flash the rom, and then this happen.

Do I need to fastboot the boot.img again or what else I can do?

Thank you

---------- Post added at 09:48 PM ---------- Previous post was at 09:26 PM ----------

I reflashed to PixelExperience_sirius-9.0-20190206-1220-UNOFFICIAL

work just fine
[Xperia Z2 Android Development] @kitokit:
Maybe flashing stock mm first before this rom...
[Xperia Z2 Android Development] dorinel01:
Problem solved. In my case I believe the problem was the external sd card slightly corrupted.
[Xperia Z2 Android Development] vsnst:
can you be more specific? did you install the RZ 3.5 kernel. for my case, I didnt

---------- Post added at 11:14 PM ---------- Previous post was at 11:06 PM ----------

omg, it did work, thank you

I reinstall it and put out the sd card it successfully boot up.

but when I plug it in, crash instantly....
[Xperia Z2 Android Development] dorinel01:
Installed from scratch,reformatted sd card and flash the kernel.
[Xperia Z2 Android Development] vsnst:
I'm using exfat and I wish to keep it. because Fat32 cannot copy file larger than 4GB.

Moreover, I didn't flash the RZ 3.5 Kernel, I have no idea why this is happening, because old version of Pixel experience was working just fine.
[Xperia Z2 Android Development] darknessmc:
Yes, the problem of reboot after 3 seconds is in new builds only.
[Xperia Z2 Android Development] vsnst:
take out the SD card then I will boot up successfully
[Xperia Z2 Android Development] AySa:
Battery

[MENTION=6812097]raschad[/MENTION] - First of all thank for your work ?, I have only one question in the first build the battery life was more than excellent, after I had flashed the update build V6.4 the battery is draining fast !! I had already reboot several times but still the same ? any suggestion ? - Regards,
[Xperia Z2 Android Development] ocliasom:
wheere can i get this twrp 3.2? will it not work with 3.0?
[Xperia Z2 Android Development] kostas66:
There’s a specific TWRP thread right in the development forum (I used it for the RR ROM).

K
[Xperia Z2 Android Development] tayct:
Hi, is anyone play injustice on this rom ? When I play the game ,it crash often .
[Xperia Z2 Android Development] adxpax:
hello my friend.

unfortunatly this rom have lag in my device.test carbon pie it hasn't lag.
[Xperia Z2 Android Development] ocliasom:
It doesnt work on mine :c i have stockmm with 3.0 twrp, it wont update even if flashed by zip, by img, thru app, or fastboot
[Xperia Z2 Android Development] adxpax:
sir,do you flash twrp as FOTAKernel?
[Xperia Z2 Android Development] ocliasom:
In a adB command yes i did, but within twrp. I dont see any option to flash it as fotakernel, only as recovery
[Xperia Z2 Android Development] adxpax:
for install twrp 3.2.0.0 you must flash it As FotaKernel

fastboot flash FOTAkernel twrp.img

i do this and i have it in 6.0.1 exsitenz
[Xperia Z2 Android Development] vsnst:
I also flashed TWRP as Recovery only, it did work for me except SD card

---------- Post added at 02:57 PM ---------- Previous post was at 02:56 PM ----------

Installing apps is bit too slow, 14mb app took 2minutes to install.

Thank you
[Xperia Z2 Android Development] devilgloom:
Hey I already had this problem but after clean install my battery problem is solved
[Xperia Z2 Android Development] ocliasom:
do u have unlocked bootloader?
[Xperia Z2 Android Development] vsnst:
I had wiped all the data and wipe the internal storage before I flashed this rom, mine battery is not also not that good.

Screen off with airplane mode on, 6 hours, dropped from 100% to 76% :(:(:(

only 3 apps (YouTube, XDA, another forum app ) installed
[Xperia Z2 Android Development] koraymers:
get superuser permission and set limit to screen off cpu frequency by using kernel adiutor

300mhz recommended
[Xperia Z2 Android Development] vsnst:
How about HEBF Optimizer, can it be replaced kernel adiutor?

I have not used kernel adiutor before, I afraid that I may make incorrect settings