yashsingh1/xdaforums huggingface dataset:
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Captain_cookie_200:
View attachment 6048311

Evolution X 8.3 UNOFFICIAL Android 14 For The Sony Xperia 5 II [pdx206]
​

/*
*
* Being Build Maintainer of This pdx206 project I have just provided you the path to walk as afterall its you who chose the modification to play with.
* I am not responsible if this breaks your alarm app and you get kicked by your employer. (which makes no sense lol)
* Afterall a wise man has once said, A successful man always wake up before the alarm rings.
* Regards:- Ahnet (Maintainer)
*
*
*/

View attachment 6048315

Keep Evolving

Pixel UI, customization, and more, we are Evolution X!

- Team Evolution X -

- joeyhuab (Founder/Lead Developer)

- RealAkito(Project Manager/Co-Founder)

- AnierinB (Project Specialist/Co-Founder)

Reach us on Twitter! @EvolutionXROM

View attachment 6048353

- KernelSU included

- OverlayFS enabled in kernel for Apatch.

- Dolby Atmos (with decoders) Included.

- Sony Stock Camera, Photo Pro, Cinema Pro are pre-included

- Go through the screenshots for current features

What are our features?

Spoiler content hidden.

View attachment 6048357

​

You tell me​

View attachment 6048358

PLEASE DO NOT FLASH GAPPS, THEY ARE ALREADY INCLUDED

Spoiler content hidden.

Spoiler content hidden.

Spoiler content hidden.

View attachment 6048383

- Download

- Evolution-X Chat

- Telegram Support Chat

​

Credits

- All the banners and images used in this OP (except the flashing guide) belong to Evolution-X and their respective designers i do not take credit for them in any way.

- Thanks to @ad1tyas1ngh and PixelOS for the device, vendor and kernel tree.

- Thanks to @Tejas_Singh for his poco f1 Evolution-X post (used as refrence.)

- Thanks to @chrisaw for providing a server to build on.

ROM Info:

Android OS version: 14

Security patch level: 05 Feburary 2024

Build author: Ahnet

Source code: Evolution X GitHub

ROM Developer: Joey Huab (Stallix)

Sources:

Vendor tree

Kernel tree

Device tree

XDA: DevDB Information

Evolution X, ROM for the Sony Xperia 5 II

ROM OS Version: Android 14

ROM Kernel: Linux 4.19.297

Based On: AOSP

Version Information

Status: Stable

Current Stable Version: 8.3

Last Stable Release Date: 2024-03-10

NOTE: All the banners used in this thread belong to the Evolution-X team and their designers. I do not take credit for them in anyway
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] GT500s:
I tried clean from LineageOS 21 so Flashed rom and after install i reboot to recovery ,flashed Magisk and reboot to system. I'm getting endless loop with phone reboots. Flashed same way but without Magisk and rom is working. Is there any solution to get Magisk working on that ROM?
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Captain_cookie_200:
i could get magisk working just fine. I took used payload dumper to extract boot.img from payload.bin inside the zip and then patched it with magisk and flashed it via bootloader

Although as stated in the features, KernelSU is already included. Check it out. its a way better alternative to magisk.
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] GT500s:
Can i use KernelSU and install Magisk app with root? I want some modules to work like audio and other.

Tried with extracting boot.img from payload.bin using FastbootEnhance v.1.4.0 , patched with magisk app and flashed using ' fastboot flash boot patched_boot.img ' but getting reboots loop all the time. I'll have to read more about KernelSU cause i was using Magisk from the beginning when flashing custom roms on my other Sony devices. Anyway thanks for quick response.
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Captain_cookie_200:
KernelSU also has modules

but yes i guess you could. I havent tested them existing together so be warned.
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] GT500s:
I'm using Evolution X from yesterday and rōm is awesome. The battery optimalization is great comparing to LineageOS 21 or Pixel Experience that i was using earlier. There are soo many customization options. The only problem for me is when I'm trying to install some audio modules on Kernel Su I'm getting message that 32bit Library not supported. Tried with many audio modules but same result. Almost all modules are supporting Magisk and Kernel Su. Thanks for great and hard work with that rōm. For now I'm staying on Evolution for longer.
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Captain_cookie_200:
Yeah the rom is 64bit only meaning arm apps/libs wont run. This is mostly done for performance purposes and because google is dropping arm The only apps that didnt run so far for me is the new geometry dash 2.2. New build coming soon with more smoothness I have been testing it since 3 days now

Although i tried the soundenhancement module from reiryuki for xperia 10 IV. The dolby app was dead. soundenhancement app partially worked. But the sound was comparable to stock to some context. you can try it out
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] GT500s:
I tried "SoundEnhancement-SonyXperia10-MagiskModule-20231219030730" flashed in KernelSU but there is no difference in sound with headphones and Atmos is not working. For now I'm using ViperFX RE (ViPER4Android FX Redesign) with V4A_Magisk_Module_0.6.1 installed in KernelSU and it is working very good and has many audio features. I've also tried installing Magisk apk but not working at all after magisk flashed boot causing reboots bootloop so I flashed original boot.img. Is there any solutions for installing apk that is showing error "not compatible with your phone"? I read that changisk SDK to 33 in apk Editor should work but it is not.
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Captain_cookie_200:
what version are you trying?..

i used magisk kitsune 26.4 from the boot.img method
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] GT500s:
What is Magisk kitsune? I was using Magisk 26.4. I think for now i don't even need Magisk if KernelSU works well and audio modules are not working without 32bit library support.
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Captain_cookie_200:
magisk delta. they changed names. but shouldnt matter i was using normal magisk 26.4 before that.

idk abt audio modules. if i add back arm support it would require a cleanflash and would actually lower the device's performance
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] GT500s:
I think most people don't care about modules but rōm performance is most important thing and in EvolutionX it is amazing.
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] dadnjin:
Is there a non-kernelsu boot.img? I would like to use magisk, thanks
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Captain_cookie_200:
it can work just fine if you flash magisk properly. since they can absolutely exist together. and no i dont have the non kernelsu boot.img

Just dont install KernelSU manager
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] dadnjin:
Thanks, I thount they couldn't exist together so I asked for it
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Captain_cookie_200:
NEW UPDATE!

Evolution-X 8.1 UNOFFICIAL 20240102

Change logs on Github

Instructions: Follow Dirty flash Instructions on OP
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Captain_cookie_200:
NEW UPDATE!

Evolution-X 8.2 UNOFFICIAL 20240105

Change logs on Github

Instructions: Follow Dirty flash Instructions on OP

Note: I plan to fix DT2W in the future builds. I have found a dirty workaround and im tryna figure it out. Today i couldn't so hopefully it will be fixed next time.
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] GT500s:
Is there any way to fix problem "app not compatible with your phone" when trying to install some apps?
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Captain_cookie_200:
Nope. the rom is arm64 only and arm apps won't work on it. Making it arm again on source side would require a clean wipe while also reducing performance
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] 剑落千秋:
This rom can be refreshed directly from pixelos next door and retains all data. And I have been using this rom for a few weeks, very good rom, perfect in every way, thanks to the dedication of the author.
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Nezhdan:
On sog02 in the latest version of evolution x nfc already works even without entering a command.
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Canon124:
I see, can I also use the Felica function?

For example, in this application (おサイフケータイ アプリ), if the Felica function is not available, a dialog box will appear at startup, with the only option to exit the application.
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Canon124:
Thanks for doing the research. I see that Felica is still not available...
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Captain_cookie_200:
yes. the typef is for felica. Although this should already be happening for XQ-AS42 Im gonna take a look later. but give it a go
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Captain_cookie_200:
maybe trying installing their app? im not sure i m not sure how it is implemented
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Nezhdan:
I tried the installation with the Felica client. No difference. I also don’t know how it’s supposed to work :(
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Captain_cookie_200:
while fixing nfc for japense carrier models i broke it for the global japense XQ-AS42 model. ima add it back in a build up coming in a few hours. (but setting that prop should be the fix that i sent before)
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Nezhdan:
Has anyone tried to update the driver for the GPU to a newer one, for example 725/744 from here? https://tryigit.dev/snapdragon-drivers/
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Captain_cookie_200:
try and see 🤷
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Captain_cookie_200:
NEW UPDATE!

Evolution-X 8.3 UNOFFICIAL 20240210

Change logs on Github

Instructions: Follow Dirty flash Instructions on OP
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Canon124:
I installed EvolutionX from build 20240210 on my XQ-AS42.

Osaifu-Keitai keeps giving me a dialog that Felica is not supported.

Felica/Osaifu-Keitai refers to the functionality required for smartphones to use contactless payment systems commonly used for transportation in Japan, known as Suica and PASMO, which, according to Sony, are used in parts of Indonesia and Hong Kong in addition to Japan. Well, whatever it is, it does not seem to be a global standard and appears to be a black box implementation.

I would like to see Felica somehow made available on EvolutionX, LineageOS, CherishOS, etc., since the feature is available on all stock ROMs for Japan-bound models.

(Sony is a cheapskate, so the EoL of their devices is short because of the small number of Android version upgrades.

A custom ROM is required to extend the life of the device. Also, for me living in Japan, the Felica feature is almost essential for daily use of the phone.)

By the way, the NFC toggle switch in the settings app is working, but I tried to read the NFC tag (my student ID card has a built-in NFC tag, so I used that), but the nfc-tools app does not show any information.

When I turn off the NFC toggle switch from the settings app, nfc-tools returns "nfc disabled", so it seems nfc is on and off, but why can't I read the nfc tag?
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Captain_cookie_200:
can you see if the prop in the previous post is properly set? to type-f? if yes then nfc should work.

use getprop instead of setprop
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Canon124:
How about this?

The result of getprop was a blank line.

The device name is AS72, but I'm properly using AS42.

XQ-AS72:/ $ su -c 'getprop persist.vendor.nfc.config_file_name'

XQ-AS72:/ $ su -c 'setprop persist.vendor.nfc.config_file_name "libnfc-nxp-typef.conf"'

Failed to set property 'persist.vendor.nfc.config_file_name' to 'libnfc-nxp-typef.conf'.

See dmesg for error reason.
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Captain_cookie_200:
it shows as AS72 because the blobs and everything are extracted from the the global rom. The actual detection happens by reading a partition of the device which contains ur model and isn't touched by custom roms during flashing

I have no idea why it is failing could you show dmesg to see what went wrong?
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Tearslayer:
Dirty flashed new build, so far so good. Thanks for importing stock camera! Looking forward to test it.
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Canon124:
Sorry it took me so long to reply (it was time to go to bed).

I have clipped the dmesg logs that seem to be related to entering the setprop and getprop commands. Please inspect them.

[ 5781.441440] init: Unable to set property 'persist.vendor.nfc.config_file_name' from uid:0 gid:0 pid:17093: SELinux permission check failed
[ 5781.441635] type=1107 audit(1707624595.413:245): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { set } for property=persist.vendor.nfc.config_file_name pid=17093 uid=0 gid=0 scontext=u:r:shell:s0 tcontext=u:object_r:vendor_nfc_prop:s0 tclass=property_service permissive=0'
[ 5786.438707] pm8150b_charger: somc_aicl_irq_handler: IRQ: aicl-done
[ 5786.443532] FG: fg_gen4_cl_ok_to_begin: IBAT_FLT thr: 100 val: 47 but ignore this function
[ 5786.443542] ALG: cap_learning_update: [SOMC CL][OFF] charge_status:1 bsoc_cp:7046
[ 5786.466756] healthd: battery l=74 v=4034 t=27.0 h=2 st=2 c=411132 fc=3190000 cc=0 chg=u
[ 5786.468672] leds rgb: rgbcommon_sync_state_store do nothing. same state
[ 5788.833465] healthd: battery l=74 v=4035 t=27.0 h=2 st=2 c=416503 fc=3190000 cc=0 chg=u
[ 5788.835318] leds rgb: rgbcommon_sync_state_store do nothing. same state
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Captain_cookie_200:
PERMISSIVE ERROR?!!?!! 😭 i can set it just fine.

If you dont have not setup your things in the rom, can you clean flash the latest build?

i had a issue where the prop would only set itself on clean flash.
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Canon124:
We tried a clean flash again and NFC is now available with success. Thanks for your support!

Unfortunately, Felica/Osaifu-Keitai does not work yet.

One person in Japan told me that he found a non-GSI ROM for the Xperia 1 that maintains Felica functionality, but it seems that there is no such thing for the 1II or 5II...

With Xiaomi devices, Pixel, etc., there is an established method for restoring lost Felica functionality in custom ROMs, so hopefully this will be the case with Xperia as well.
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Captain_cookie_200:
i'l look into this interesting problem later. it may have more to it then i think
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Captain_cookie_200:
Try flashing the below zip in kernelsu, then reboot. Clear data of all osaifu ketai related apps and see if it works now.
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Canon124:
Hmmm, I did exactly as you said, but the result did not change.

Additional information: When the Google Wallet app (which is probably limited to the Japan region) is opened instead of the Osaifu-Keitai app, the message "Osaifu-Keitai is not supported" appears if Felica is not enabled.If Felica is available, a button for transportation contactless payment services such as Suica and PASMO should be displayed.
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Captain_cookie_200:
There are some internal apps which i'll add to the module too and hope it works. Im following a guide like for pixels. it should be the same

also would you mind linking me to that xperia 1 rom you were talking about?
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Canon124:
I saw and heard about it in this article.

https://note.com/reindex/n/n2726cd64aa49

The XDA forum posting mentioned in the article is here.

https://xdaforums.com/t/shared-custom-roms-11-12-1-13-not-gsi.4493181/

According to the Japanese who wrote the note, they have confirmed that Felica works with CherishOS and EvolutionX, two of the custom ROMs scattered throughout the forum.
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Captain_cookie_200:
flash this new version of module and try again
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Canon124:
I tried the new module, but it still doesn't seem to work.

The only difference is that I tried to install the module in both KernelSU and APatch, but in APatch, the NFC configuration screen went wrong (nothing was displayed); when I installed it in KernelSU, the NFC configuration problem went away, though.
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Captain_cookie_200:
so we are getting closer? just the popup says your device does not support? in osaifu ketai app?
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Canon124:
Well, there is no change in appearance...The display of the Osaifu-Keitai app and GoogleWallet remain unchanged...

If there is anything I can do to help, I will be glad to get on it, but it's difficult because of the large time lag in communication and the fact that I am still a newbie when it comes to custom Android ROMs and Magisk modules...
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Captain_cookie_200:
im sorry then i dont know on how to port. You could always join the xperia telegram group and ask help there. They are more knowledgeable than me. They will definitely help you. i cant link you to it since xda rules.

But i havr a last suggestion.

Unzip the archive i sent and then open system/vendor/etc/felica/common.cfg

add the codes this guide talks about:https://github.com/kormax/osaifu-keitai-google-pixel/tree/main

the part where it mentions about this file. Then after makinf the modifications just zip back the file and flash it in KernelSU/apatch. if it still doesnt work then it is beyond my help. i am sorry
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Canon124:
I modified the zip of the module as you said and installed it, but it didn't work...

I will try to rely on Xperia's Telegram community as you suggested. Thank you very much for your support so far.
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] GT500s:
After latest update WhatsApp is not working anymore for me and OUTLOOK app too. Tried reinstalling apps, flashing latest rōm again but still same problem and apps are closing after few seconds. What can be Wrong?
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Captain_cookie_200:
NEW UPDATE!

Evolution-X 8.3 UNOFFICIAL 20240212

Change logs on Github

Instructions: Follow Dirty flash Instructions on OP
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] GT500s:
After latest update WhatsApp and other apps are working again. Thanks for quick fix.
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Tearslayer:
I can confirm the last update fixed crashing on Facebook when I wanted to open a link. Also TP link tether app works now, previously didn't launch. However circle to search function gone, but I think it's a source thing. Thank you for the fast fix!
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Captain_cookie_200:
yeah source issues here and there 😕
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] JUNAID-IQBAL:
I'm wanna buy Sony Xperia 5 mark 2

can someone guide me that which variant/model has bootloader unlock and good for custom roms?
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Captain_cookie_200:
you can use XQ-AS42, XQ-AS52, XQ-AS72. they all are global dual sim models and unlockable

stay away from carrier models which are: A002SO, SOG02, SO-52A

you need to pay 25$ to unlock carrier models and they are single sim only
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Canon124:
Question.

When I flash the patched boot.img with the Magisk app and try to boot, I get a boot loop with the sony logo screen... is probably a known problem, but I'm having trouble with APatch and KernelSU because I just can't get Lsposed to work. Specifically, I just can't access the Lsposed manager screen.

When I installed and used Magisk on Cherish OS for pdx206 available on the XDA forum, I was able to open the Lsposed manager without any problem, so I would like to install Magisk on EvolutionX as well. Or is there any way to successfully use Lsposed with the current EvolutionX and APatch/KernelSU?
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Captain_cookie_200:
You need a module called zygisknext for lsposed to work on kernelsu/apatch. And if you are unable to find the lsposed launcher on your home screen. use the dialer code

dial *#*#5776733#*#*
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Canon124:
I have ZygiskNext installed of course, tried it for both APatch and KernelSU, When I enter that dial code, nothing opens. Just the first time, one time, I get a dialog with a warning about bug reports...
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Captain_cookie_200:
lsposed is broken then. try reinstalling it also try latest version of zygisk next from here

Release Remove automatically umount · Yervant7/ZygiskNext

Standalone implementation of Zygisk For APatch. Contribute to Yervant7/ZygiskNext development by creating an account on GitHub.

github.com
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] wanwije:
I had issue with lposed using APatch. After the latest update (with clean install of course), I only installed KenselSU and the lposed not launching is resolved. I think the issue is with APatch.
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Captain_cookie_200:
guys would you prefer elixir or evolutionX. because if yall like elixir we could make a switch. i already had a sucessful build. Although just a few stuff missing.

jus askin. (i can only maintain one rom at a time)
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] BerBery4:
Лично я ничего не знаю об elixir:) какие у него преимущества перед evolution? Есть ли возможность такой же легкой установки kernelsu или другого root-менеджера? Такая же тонкая кастомизация интерфейса? Возможность клонировать приложения и прочие фишки плюшки которые есть у evolution? Мне очень нравится твой evoX, стабильная работа, спасибо тебе за твой труд и за желание сделать наш девайс еще лучше) но есть ли смысл переходить на что-то другое когда уже все хорошо?
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Nezhdan:
What do you think about this? I didn't use the elixir. Is it smoother and just as customizable?
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Captain_cookie_200:
its smoother but you'll sacrifice on most of customization. It has a better UI but extra stuff etc. in the evolver is missing.

otherwise there is gamespace. google photos spoof unlock higher fps in games etc. and more including the icon themes. pulse visualizer and stuff is missing and there may not be as frequent updates as evolutionX. KernelSU would be removed

its up to you guys. the smoothness is not large of a factor its almost the same as evo.
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] wanwije:
Exilor sounds good as you have explained above (I have never tried it myself), but the absent of KernelSU will be a deal breaker for me. I like all the mods that KernelSU provides. I would greatly appreciate if you stick with EvoX. Thanks
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Nezhdan:
Thank you for the explanation. Then my vote is for evolution x :) Root and customization are important to me
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] Tearslayer:
When I bought my Xperia 5 II I wanted to install PixelOS because of the free photos and in general the Pixel experience but then I found Your build which I think better than PixelOS and have better support thanks to You! So I would stick with EvoX. Anyway I appreciate You're asking the community before major changes 😊
[Sony Xperia 5 II ROMs, Kernels, Recoveries, & Othe] 2faraway2:
Please stay with EvoX ... :)