yashsingh1/xdaforums huggingface dataset:
[Nothing Phone 2] dlads:
Cheers @DylanAkp saw you in the Dev TG group.

Just installed the APK and added it as a quick settings switch.

Works perfectly, thank you. 👍🏼

PS: it's the small sun looking one in the middle.

View attachment 6023395
[Nothing Phone 2] DylanAkp:
Updated with :

Flip2Glyph

Glyph Auto brightness

Enhanced Touch Response

Heads Up Notification
[Nothing Phone 2] dlads:
I've been getting toast notifications after installing the APK.

I'm sure I can stop if via notifications, but if it's continually checking or starting etc then I don't want it to burn away at the battery.

View attachment 6023773
[Nothing Phone 2] DylanAkp:
This is due to how tiles works. Each time the tile shows, it refresh the state by checking system files

One temporary solution is to disable toast notification on Magisk

Can you otherwise confirm that the 1.5 fixed the issue?
[Nothing Phone 2] dlads:
I'll give it a whirl.
[Nothing Phone 2] dlads:
Same thing buddy..

Not the end of the world, but it does it randomly when not in use so a little annoying.

View attachment 6023829
[Nothing Phone 2] RheinPirat:
Is it possible to make a tile for Sound->Vibrate->Mute? Like on samsung devices?
[Nothing Phone 2] DylanAkp:
Working on it, sadly, changing mode_ringer state does not have any effect

Maybe it's time to switch from root to Shizuku
[Nothing Phone 2] dlads:
That already exists I've had it before...

But can't seem to find it??
[Nothing Phone 2] the_lion_97:
Really apreciate your work because Flip2Glyph and max brightness are awesome features. BTW, i cannot figure out what "Heads Up Notification" stands for, i mean, what setting is going to change inside my settings. Thanks a lot.
[Nothing Phone 2] DylanAkp:
There is nothing in settings about Heads Up Notification

It's a tile to enable/disable the notification pop up on the top of your screen when the screen is on
[Nothing Phone 2] the_lion_97:
Thank you so much. So, the default behaviour is when this tile is ACTIVE (and notifications appears on top), isn't it?
[Nothing Phone 2] DylanAkp:
Yes
[Nothing Phone 2] THSpeed:
hi bro what does it do? "Flip2Glyph Switch"
[Nothing Phone 2] THSpeed:
My device is rooted, I installed it, but I didn't understand how it was different from the original.
[Nothing Phone 2] AlbertoDR:
Unfortunately this is not working for me, it seems the toggles do nothing.. but this is a cool project!

It would be nice to also have a Caffeine toggle that syncs with Glyphs for remaining time.. but I understand this is not a priority
[Nothing Phone 2] DylanAkp:
I haven't tested it NOS since 2.5.0 BETA as I'm focusing on my custom ROMs

Maybe it's not working anymore on NOS 2.5.[1/2/2a]

For glyph torch, while waiting, you can longpress the torch tile
[Nothing Phone 2] AlbertoDR:
Yes I believe it's not working on the newer NOS. And regarding the Glyph torch I just found out you can long press the flashlight torch to activate it.. I've had the phone since yesterday only :)

I'm happy to hear you're working on your own ROM. I do miss a couple of features from RiceDroid on my old OnePlus 6.

What's your rom about?
[Nothing Phone 2] DylanAkp:
When I say "my" I mean I maintain them, I maintain CrDroid and PixelOS
[Nothing Phone 2] AlbertoDR:
Oh I see.. they're both great roms!

Hopefully I'll try them in the future
[Android Q&A, Help & Troubleshooting] very_noob:
Greetings to all. I purchased a Samsung A14 after a lifetime of iOS, the last device I had was an iPhone 8 Plus suddenly switched to better life.

Entering the android world does not scare me in the least, the only things that worry me are:

- Resource-poor phone, but that's all I could afford;

- Few ROM guides tied to the device;

- Google's watchful eye constantly spying on me.

So I said to myself, try degooglizing the phone, and so I got here.

How do I remove the Google addiction from my Samsung A14? I found a few guides on the net, but I didn't understand much. The only thing I think I understand is that I'm a bit limited. For example, for my device to switch to LineageOS, DivestOS or even better GrapheneOS is impossible... right?

What do you recommend? Which ROM? What guide to install the ROM?

Thank you all.
[Android Q&A, Help & Troubleshooting] rodken:
You migh want to consider a GSI ROM along with this guide.

Flashing GAPPS is an optional step [degooglized], but you might want to install GAPPS if the GSI you're using doesn't have the Google Play Store app and you want to install any apps.
[Android Q&A, Help & Troubleshooting] very_noob:
Thank you for your reply and I apologize for my late reply.

It is my understanding that you recommend using a generic Android project image, and later utlize GAPPS if you want to utlize applications like Gmail, Google Drive, etc. etc.

But if I do not use such applications, and I stop at the installation of GSI, GAPPS is not needed? Right?

If I get the applications from alternative stores, like Aurora store or F-Droid would I always need GAPPS?

Thanks again
[Android Q&A, Help & Troubleshooting] rodken:
Correct.

Since you do not use any application(s) that is tied to GMS, you do not need Gapps.

No, you do not always need GApps to use apps from alternative stores like Aurora Store, F-Droid or any other alternative app store.
[Android Q&A, Help & Troubleshooting] very_noob:
I keep reading the guide you recommended, but it doesn't seem easy at all. I am a little afraid to try.
[Android Q&A, Help & Troubleshooting] rodken:
Being afraid will guarantee a screw up. If you don't have a backup plan, I wish you good luck.
[Redmi 9 Power / 9T] idkwhoiamlmfaoooo4444:
My first boot animation, works for every 1080x2340 device.

HOW TO INSTALL:

1. Rename your bootanimation.zip which is in /product/media

2. Copy the downloaded boot animation

3. Done!!!!

Note: You need to root your device.
[Redmi 9 Power / 9T] ZG_DEV:
Can you provide a preview for this animation? Thanks .
[Redmi 9 Power / 9T] Ryuzak:
Nice
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Shujath:
Android 14 for Xperia XZ2 Compact​

/*
* Your warranty is now void.
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

View attachment 6023365

What's AOSP?

AOSP is Android as Google publish without any modifications. .

​

What's working :

Boots​

Bluetooth​

Fingerprint​

Wi-Fi​

Camera​

Camcorder​

Video Playback​

Audio​

Sensors​

Flash​

GPS​

Encryption​

Offline Charging​

Whats not working?

IMS/VOLTE​

Test and Report(with logcat)​

Instructions to install up ROM :

Flash latest available Stock ROM and boot into it once.

Reboot to Fastboot

Download the OEM Image from HERE, Extract and Flash it. (V5B)

fastboot flash oem_a SW_binaries_for_Xperia_Android_11_4.14_v5b_tama.img

fastboot flash oem_b SW_binaries_for_Xperia_Android_11_4.14_v5b_tama.img

Flash the boot and system, vendor dtbo vbmeta and userdata (Will wipe all the userdata).

fastboot flash userdata userdata.img

fastboot flash boot boot.img

fastboot flash system system.img

fastboot flash vendor vendor.img

fastboot flash dtbo dtbo.img

fastboot flash vbmeta vbmeta.img

Install Magisk/Gapps(Optional).

Reboot

Downloads :

android-14.0.0_r1 :

h8314 : https://sourceforge.net/projects/sony-xperia-tama/files/SODP/apollo/android-14.0.0_r1/h8314/

android-14.0.0_r10 :

h8314 : https://sourceforge.net/projects/sony-xperia-tama/files/SODP/apollo/android-14.0.0_r10/

h8324 : https://sourceforge.net/projects/sony-xperia-tama/files/SODP/apollo/h8324/

android-14.0.0_r17

https://sourceforge.net/projects/sony-xperia-tama/files/SODP/apollo/android-14.0.0_r17/

Kernel Source Code: https://github.com/sonyxperiadev/kernel
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Shujath:
December 18 :

December Security Patch

Updated the bootctrl HAL(older one was causing your device is corrupt message)

November 17 :

ROM Updated :

November Security Patch

Bluetooth Fixed

No need to disable verity and verification while flashing vbmeta(was causing device corrupt message)

Few se policy fixed.

Kernel updated to 4.14.314

Added support for dual sim variant.(h8324)

Oct 20 :

Intitial Release
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] mielletseed:
Does this also work for the dual SIM device H8324?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] GT500s:
Tried on my H8324 but after flashing everything it's stuck forever on Sony logo when boot. Back to LOS20 for now.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] mielletseed:
for me it boots after following command

fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

and to answer my question: it seems that the sony dual SIM patch works

@Shujath: the device say's it was a XZ3 (in about the device) and at boot it say's there was an internal problem with the device ..
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Shujath:
Yes use the dual sim patcher (Check second post on Martin's thread https://xdaforums.com/t/sodp-rom-aosp-sonyaosp-13-alpha.4489399/

Yes for the time being you need to use disable verity and verification till its fixed

Thanks for pointing out the verity and verification, I will add it in the instructions.

Device is showing XZ3 because the OEM binaries provided by SONY contains the build.prop which mentions the device as xz3 and hence the internal problem message, you can ignore the message that will appear on the boot and continue using the device as normal,

I will see if there is a way to override it.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] mielletseed:
a little bit off topic...

is it just because of the disabled verification that Google Pay (wallet) doesn't work for payments or is it a general problem with AOSP custom ROMs?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Shujath:
Since Android 14 google have mandated the verity support in kernel and our kernel lacks it currently.

That is the reason its not booting without disabling the verity .

I'll look for back port and enable it from next uodate.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] mielletseed:
Maybe it's better to install all images in both slots (_a / _b).

For me, after installing a magisk module next boot the system request a data wipe and then booted into Sony stock ROM. I suppose installing that magisk module triggered the slot switch somehow. Having AOSP in both slots would be the safe variant...
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] mielletseed:
Now after a reeboot I get the message "your device is corrupt. It can't be trusted and will not boot."

What's this and can it be fixed?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Shujath:
Try running

fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

in fastboot again and check
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] mielletseed:
I reinstalled all from scratch (stock ROM, oem, ROM, gapps).

Why did you choose that old(er) binaries as base for that ROM?

Two observations:

- the camera key doesn't work (don't know if generally not in AOSP)

- can't wake the device with the fingerprint sensor, but when I first use the fingerprint sensor and then press the power button the device is unlocked

- quite high power consumption in deep sleep (it's 99% in deep sleep and it's consumes 1,7 %/h or 47 mA/h in deep sleep - for comparison: my tablet uses 7 mA/h in deep sleep)

The ROM feels really smooth and a lot more fresh (coming from Android 10 stock ROM).

Hope I can use Google Pay with it later...

Thank you for the possibility to try Android 14!
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] mielletseed:
Today my device was corrupted again. The battery ran empty and it shut down. Afterwards it couldn't boot.

Could this be this Android 14 bug that the Pixel users with more than one users suffer? I also used private and work profile (= two users) on my device...
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] mielletseed:
@Shujath: will you also build a new version for XZ2C? 😇
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Shujath:
Yes I will provide the latest update soon

below issues are fixed so far :

Bluetooth(Was able to turn on but unable to connect earlier)

There is an internal problem with your Device error message

No need to disable verity while flashing the vbmeta(which was causing device was corrupt message)

I am currently testing on xz3 and will release the version of xz2c after that.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Shujath:
ROM Updated :

Changelog :

November Security Patch

Bluetooth Fixed

No need to disable verity and verification while flashing vbmeta(was causing device corrupt message)

Few se policy fixed.

Kernel updated to 4.14.314

Added support for dual sim variant.(h8324)

Downloads :

h8314 : https://sourceforge.net/projects/sony-xperia-tama/files/SODP/apollo/android-14.0.0_r10/

h8324 : https://sourceforge.net/projects/sony-xperia-tama/files/SODP/apollo/h8324/
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] mielletseed:
installed this immediately - thank you

had to do a factory reset before first boot

Google Pay still doesn't work even with verity and verification active

besides that it seem to work perfectly
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Shujath:
Did you install Magisk?

YASNAC : install this app from playstore and test the cts profile
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] mielletseed:
no, I didn't - just GAPPS

I already did - doesn't look so good
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Shujath:
Google Pay worked for me after installing magisk and this module.

Tried other Banking apps too and they worked fine too, Had to use Zygisk hide and hide them from the list.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] mielletseed:
Thank you!
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Shujath:
Stop spamming, Guys do not click on the link provided at the end of this post, looks maicious.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Shujath:
Btw, how much % battery drain do you get overnight ?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] mielletseed:
34 mAh / 1.2 % per hour
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] mielletseed:
After installing an update for this module from within Magisk my device is now corrupted again - very odd...
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Shujath:
I ve been on this ROM since the last update and did not get corrupt message

did you install it to both slots?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] mielletseed:
I installed all partitions to both slots (_a / _b)

gapps and magisk I installed from within TWRP (adb sideload) probably to only one slot

I don't know whether the install skripts bother with slots but the slots were mentioned by the installers (of magisk and nikgapps)
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] arnaubvendrell:
Hello. When I try to flash vendor.img, the following error appears:

What can I do?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] mielletseed:
for me it helped using older platform tools (r31 instead r34)
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] arnaubvendrell:
Thank you so much! That actually did it :)!

BTW, and I know this question is a little pathetic, but how am I supposed to install Gapps? Do I need to install TWRP and then flash them or maybe initate the phone without gapps and then sideload them or...?

Thanks in advance.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] mielletseed:
I only boot into TWRP, I don't install it and there I install GAPPS with adb sideload.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] mielletseed:
strangely my device is corrupted again, the third or forth time

did only create a second account (work account) in my device

maybe that's still the bug that pixel devices had?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Shujath:
Hey, I am able to replicate the issue and fixed it(testing currently)

If I boot the device and reboot it 7 times, on every 7th time I got corrupt message.

It was due to outdated bootctrl hal which was not reporting proper boot to bootloader causing it to switch the active slot and give the corrupt error message.

I will provide a new build with updated fix soon :)
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] mielletseed:
Thank you so much for investigating that issue! I'm glad you found a solution for that! 8-)
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Shujath:
ROM Updated :

December 18 :

December Security Patch

Updated the bootctrl HAL(older one was causing your device is corrupt message)

Hopefully, from next month we will get crdroid based android 14 updates based on 4.14 kernel and binaries.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] mister-13x:
Hi, there is a question, which TWRP can be used with the firmware and how to install it properly?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] mielletseed:
I got the message "there is something wrong with your device, please contact the manufacturer" back. Just installing and testing all the stuff :-)
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] mielletseed:
Since yesterday I've got a strange problem ...

The device dosn't connect to mobile networks any more. There are exclamation marks in the network indicators. From time to time the network indicators vanish and reapear, then also the WIFI (still working) drops and reconnects.

The problem dosn't exist, when I start the device in the secure mode. Then the moble networks then connect without problem.

What I did until now:

wiping data => connection only possible in secured mode

flashing stock rom => connection without any problem (so, no harware problem)

flashing AOSP again from scratch => connection only possible in secured mode

So, at the moment I can't use your AOSP-ROM any longer @Shujath

There are repeating errors in logcat but I don't understand them.

In dmesg - output one can find this message countless times

init: Control message: Could not find 'com.qualcomm.qti.uceservice@2.2::IUceService/com.qualcomm.qti.uceservice' for ctl.interface_start from pid: 572 (/system/bin/hwservicemanager)

Edit:

@MartinX3: I fond that you faced that error before in one of your ROMs - is there any solution?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] der.lange:
cancelled, wasn´t important
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] arnaubvendrell:
What ever happened with that? Are you planning more updates? 🙏🏼
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] arnaubvendrell:
I would also like to know. After flashing all the files as in the installation guide is told, I try to boot to latest TWRP (3.4.0) from MartinX3 but nothing happens. If I boot the phone normally, it goes to default system. I have also tried Lineage recovery, but it corrupts the phone. How are you booting into TWRP @Shujath ?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] der.lange:
Look here:

Central project page

https://xdaforums.com/xperia-xz2/development/recovery-twrp-3-3-1-0-t4074305

and use the SODP-version, you do not need a recovery installation;

fastboot boot twrp.img

will offer you all functions.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] mielletseed:
@Shujath: are you still developing this ROM and will you provide updates for this in the future?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Shujath:
Yes, This time moving towards crdroid as base rom.

Currently testing on xz3

My xz2c is running stock rom currently cos I had to use microsoft intune for work while I was on vacation.

will test on xz2c and share soon
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] mielletseed:
:cool:

looking forward for this

will an upgrade be possible or is a clean install required then?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Alekim91:
Hi everyone, I would like to buy on alie.. sony xz2, in order not to have compatibility with the roms that are present here on XDA, which version should I buy?

H8314

H8324

The difference between simple set or full set and only whether dual sim or not? Thank you
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] mat.86:
H8324 поддерживает две сим-карты, но лучше, комплект простой, потому что все аксессуары не установлены. Главное не бери модель So-05k это docomo. Хотя обсуждение моделей не в этой теме
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] XceleratedGamer:
How do I flash Gapps on this rom? I tried to do it using the aosp recovery but it failed saying that signature verification failed. So how do I do it?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] mielletseed:
TWRP...
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] XceleratedGamer:
There's no TWRP available for android 14. It's for android 10 and 11. I tried to download TWRP but I couldn't get it to work
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] mielletseed:
there are many different TWRP-versions by @MartinX3

(I also asked him also to provide a version for A14 ...)

for me it worked so you are doing something wrong

take the latest version for AOSP / SODP *not* for stock rom

don't install it, just boot into TWRP (fastboot boot <TWRP-image>)

@MartinX3 described that you can't directly boot the recovery you have always to reboot to fastboot mode first => READ! ;-) (eg fastboot reboot bootloader or adb reboot bootloader)

the you can install all needed packages via ADB sideload

good luck ;-)
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] XceleratedGamer:
So there's no permanent installation for it on android 12+ ROMs? I have to boot into TWRP temporarily every time I want to flash something? And what about flashing the vbmeta.img file first?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] MartinX3:
Sadly I'm busy with my Bachelor Exposé/Thesis at the moment. (Together with my job)

Especially with only a single smartphone I can't switch around between my working environment with my apps and the testenvironment.

It takes too much time.

Providing builds is the easiest/fastest what I can do at the moment.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] i7778:
Hi, I am searching for a build that would allow VoLTE to work.

Is there any plans to add VoLTE support to AOSP?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] XceleratedGamer:
Looks like the developer of this rom is dead!

RIP
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] MartinX3:
Nah, just busy.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] XceleratedGamer:
Then where could @Shujath possibly be for the past few months after promising crdroid based rom?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] MartinX3:
We need more volunteers at SODP.

Our lifes outside of aosp eat our time.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] XceleratedGamer:
Fair enough. But is it reasonable to believe that @Shujath has ditched sodp?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] MartinX3:
We didn't ditch it.

It's the most promising project towards mainline and freedom.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] XceleratedGamer:
I have been this term "mainline and freedom" alot. Can you tell me a bit about it?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] MartinX3:
OS updates as easy as on your computer.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Shujath:
Project is still active,

Things went haywire after the QPR2 merge of Android in second quarter.

We have made some progress while you guys were waiting.

Lot of performance improvements, See Antutu Results for before and after.

Selinux Enforcing and lot more

Currently I am working to get volte working by porting IMS stack from KUMANO stock, lets see how it goes.

I will make a release(AOSP) with June Security Patch.