yashsingh1/xdaforums huggingface dataset:
[Upgrading, Modifying and Unlocking] nuttydoc:
Here is link to issue I created in phh's GSI page on github, https://github.com/TrebleDroid/treble_experimentations/issues/99

There are all new GSI images there. Image with "arm32-binder64" shall work with this device, so anyone wishing to find solution for volte can try that.

EDIT: There is also opensource IMS app for volte under development, apk can be downloaded and installed from telegram page https://t.me/floss_ims , when I tried it last time with android 14 GSI, I was able to receive incoming calls and sms, but was not able to make outgoing calls.

So one way forward is to install latest android 14 GSI with floss-ims app, generate logs, and share with devs to solve issues.

My problem is I have two cat s22 flip, one I am using for day to day and other was for testing and trying but now this second device is claimed by my daughter so at present I am unable to try new things.

EDIT2: There are also other people using this device and few of them are working on it, for example, person who developed v30 lite rom. They can be found in telegram group https://t.me/cats22flip
[Upgrading, Modifying and Unlocking] OwedtAlex:
A big thankyou to nuttydoc and other contributors to this thread. I am a complete newbie to the Android OS, but am keen to learn. I have just ordered a CAT S22 flip and eager to get started on installing Lineage OS on it using the helpful guide provided by nuttydoc. I will be following this thread with interest.
[Upgrading, Modifying and Unlocking] rfresh:
Update:

I was able to flash this LOS 21 TD ROM :

Release android_14.0.0_r37 ci-20240508 · TrebleDroid/treble_experimentations

Still highly experimental Includes some fixes for older devices with older Linux kernels.

github.com

from Andy's Yan's post here:

[GSI][14] LineageOS 21 TrebleDroid-based

LineageOS is a free, community built, aftermarket firmware distribution of Android, which is designed to increase performance and reliability over stock Android for your device. LineageOS is based on the Android Open Source Project with extra...

xdaforums.com

When I use my SIM card in it, it shows LTE icon from signal bar, but I could not make calls or receive SMS, I wonder if we could start from here to make it a daily driver phone
[Upgrading, Modifying and Unlocking] nuttydoc:
Have you installed IMS apk, from first post? or followed settings --> phh treble settings to install ims app for qualcomm?
[Upgrading, Modifying and Unlocking] rfresh:
yes, I installed the APK, what particular settings can make call work ?

Sent from SM-S918U1 using ReLabs
[Upgrading, Modifying and Unlocking] nuttydoc:
turn on volte, in network settings
[Upgrading, Modifying and Unlocking] nuttydoc:
if ims apk is successfully installed call/sms should work. don't forget to reboot
[Upgrading, Modifying and Unlocking] rfresh:
my ROM does not have any keyboard apps in it, and I also got verification failure if I use ADB sideload gbard

Sent from SM-S918U1 using ReLabs
[Upgrading, Modifying and Unlocking] nuttydoc:
don't use adb sideload, just install tt9 from f-droid (for hardware) or some other keyboard from f-droid, using browser/ or adb install. There is no need to sideload. Lineage shall have some software keyboard available, afaik. This sounds strange.
[Upgrading, Modifying and Unlocking] nuttydoc:
Are you sure IMS apk was successfully installed on android 14 ? Link you used is plain android 14 GSI, not lineage 21? I have tried android 14 before and IMS apk installation was failing at that time.
[Upgrading, Modifying and Unlocking] rfresh:
Actually, when this ims app downloaded, once I click install, it saids:

"App not installed as app isn't compatible with your phone"

This might be the reason that IMS won't work?
[Upgrading, Modifying and Unlocking] nuttydoc:
Try floss ims apk, see post #102
[Upgrading, Modifying and Unlocking] rfresh:
Successfully installed floss ims apk, but still stuck at no call on 4G network, I don't know how to troubleshoot further.
[Upgrading, Modifying and Unlocking] seawildflower:
mailman broke key to my mailbox so i am unable to receive my package XD I am really trying to be able to do my part. Ill help with VoLTE as soon as I can lol
[Upgrading, Modifying and Unlocking] seawildflower:
Did you try Pixel IMS? There is a solution to make Pixel IMS work on newest android.
[Upgrading, Modifying and Unlocking] rfresh:
can I get some instructions?

Sent from SM-S918U1 using ReLabs
[Upgrading, Modifying and Unlocking] seawildflower:
Once I'm in front of my computer again I'll try to provide some links. First Google pixel IMS, you should find an APK on GitHub. I don't remember if you're running a rooted ROM or not, if not any download shizuku, it's a rude alternative. It's needed to run wireless debugging commands and sort of acts like root and allows you to run pixel IMS properly. If you have a root you can skip all the shizuku steps. If you try that out and you have issues running on Android 14 I can guide you through the GitHub issue page for Pixel IMS as they have managed to work around for volte just recently within the week. I'm really in front of my computer these past few days, but I know for certain that pixel IMS works on Android 11 but I'm waiting for my second device to try to prove it's success on Android 14 it's quite seamless actually
[Upgrading, Modifying and Unlocking] seawildflower:
Pixel IMS is clearly documented to configure shizuku on and on rooted device. I only had to do the rooted setup once and after multiple reboots I've still had functional volte, again this is on Android 11 currently not Android 14 or equivalent lineage OS
[Upgrading, Modifying and Unlocking] nuttydoc:
At least incoming calls and sms should have worded. Have you followed this after installing floss ims apk

- Reboot. Go in Treble Settings => IMS Settings. Click "Create IMS APN", "Request IMS Network" and "Force the presence of 4G Calling setting". DO NOT CLICK the "Install xxx IMS" option

- Go in carrier settings, turn 4G Calling and WiFi calling ON

- Reboot
[Upgrading, Modifying and Unlocking] rfresh:
I've tried, maybe I will share some screen capture tomorrow

Sent from SM-S918U1 using ReLabs
[Upgrading, Modifying and Unlocking] nuttydoc:
Are you referring to this https://github.com/kyujin-cho/pixel-volte-patch/blob/main/README.en.md

It clearly says pixel device with google tensor chipset, our device is qualcomm, and there is no mention of cat s22 in issues.
[Upgrading, Modifying and Unlocking] seawildflower:
Are you referring to Pixel IMS not working on android 14 devices?

I am for sure using Pixel IMS as we speak without issue on Android 11 on the cat S22.

I know it works for a fact. what I am unsure of is if it works on android 14, where there has been some issues after the march security patch. But apparently there is a work around
[Upgrading, Modifying and Unlocking] seawildflower:
I activated shizuku and Pixel IMS once. My phones lte capabilities were recognized immediately. New settings were unlocked in settings. After reboot shizuku disconnects and Pixel IMS becomes disabled. But all VOLTE capabilities become permanent .
[Upgrading, Modifying and Unlocking] seawildflower:
See volte stay active during call. Circle to the left of LTE and to the right of bluetooth is VoLTE
[Upgrading, Modifying and Unlocking] rfresh:
I'd like to try this method on android 14, first I need to get root access to install Shizuku app, I kind of loss the track on how to get root access for this LOS 21 build, if you know how to, please help share.
[Upgrading, Modifying and Unlocking] rfresh:
I am able to install PIXEL IMS app into android 14, followed instructions from here

pixel-volte-patch/README.en.md at main · kyujin-cho/pixel-volte-patch

Pixel IMS: Rootless replacement for Tensor Pixel VoLTE patch - kyujin-cho/pixel-volte-patch

github.com

I can turn on VoLTE, after reboot couple of times, still not able to make call on 4G network, how we can proceed further on this?
[Upgrading, Modifying and Unlocking] nuttydoc:
On stock android 11 v30 rom, there is codeaurora app as part of stock rom, which is responsible for working volte, there is no need of pixel app. This stock ims app is not compatible with android 14.

EDIT: AFAIK, ims app needs to be there for working volte. On stock rom with 4G capable sim card, codeaurora app stays running in notification drawer. If this is disabled volte stops working. On LOS18 there is no such notification but after installing qualcom ims app, volte works.
[Upgrading, Modifying and Unlocking] nuttydoc:
I am as good as anyone here, without and concrete advice.

Just to avoid conflict, remove floss ims app when trying pixel ims. In addition to making outgoing calls, also try to see if you can receive incoming calls. Of course see that there is network coverage.
[Upgrading, Modifying and Unlocking] seawildflower:
I did not have working v o l t e on stock. I'm not sure why but without any modifications on version 29 and version 30 my v o l t would not work. I would have LTE listed on my notification bar but when I made a call I always drop to 3g. And call quality he was horrible and

For whatever reason whenever I was on stock version 29 and version 30 I did not have volte. Whenever I would make a phone call by notification status would drop to 3G and call quality was terrible or nonexistent though LTE was recognized again in the notification bar I was unable to use it or volte. I have never installed lineage yet and have only operated on stock currently. Pixel IMS solved my problems.
[Upgrading, Modifying and Unlocking] seawildflower:
Are you losing v o l t e after several reboots or did you not have functioning volte to begin with? After the installation of pixel IMF. The documentation for Pixel IMS when running a non-rooted device it says you will have to reactivate shizuku use USB debug to give permissions to pixel IMS. But I did not have to do that for whatever reason it worked for me, again on stock
[Upgrading, Modifying and Unlocking] nuttydoc:
I don't remember correctly but there was toggle to choose volte/vowifi in connection settings, in addition to network preferences where you choose 4G/3G/2G.

I guess difference between our experience may be due to network provider also, as my network provider is 4G only so there is no fallback to 3g/2g. However when I tried another sim card with different network provider in my daughter's cat s22 there was fallback to 3g/2g during calls.
[Upgrading, Modifying and Unlocking] seawildflower:
Yeah of course there's too many variables with carriers. I have just received my second cat s22 and in your opinion after updating to version 30 within stock Android, how would you recommend to proceed to begin testing these various IMS software apps? Should I flash lineage 21 GSI, the one you recommended directly? Or should I flash lineage 18 first, then flash to lineage 21? Once I'm in front of my computer I'll read the entire forum to go through what others have gone through but I'm interested in your opinion on the steps on a completely stock phone.
[Upgrading, Modifying and Unlocking] nuttydoc:
After upgrading to v30, it doesn't matter which GSI you install, as long as it is a64 (arm 32 bit with 64 bit binder) it should work. I myself had tried android 14 before falling back to LOS 18 with android 11 due to volte issue.
[Upgrading, Modifying and Unlocking] rfresh:
I still would like to explore our options to use LOS 21 GSI, current issues for this test (system-td-arm32_binder64-ab-vanilla.img) rom :

1, VoLTE is not working, use Pixel IMS give permission is working with Shisuko app, once reboot the device, still can not make call on 4G network, also under network settings, only 4G/3G is available, I am on US mobile's t-mobile network.

2, How can we continue exlpore the option to use latest GSI? I was able to boot using above test build, but get boot loop with latest GSI ROM:

lineage-21.0-20240424-UNOFFICIAL-a64_bgN.img
[Upgrading, Modifying and Unlocking] seawildflower:
Try looking through this issue page for Pixel IMS GitHub. This is what I was going to do. Also pixel IMS is considered broken since Android 14 March security update. But there is some sort of work around or solution in there.

Not working since Google March Update (P7,P7P,P8,P8P,P6,P6P) · Issue #277 · kyujin-cho/pixel-volte-patch

Not working since March Update on P7P. Whilst it was working for the last few months, After the update March 5th update the IMS status was unregistered. I updated to the latest version and tried ag...

github.com
[Upgrading, Modifying and Unlocking] rfresh:
I am going to try it as well, thanks a lot for this useful information.
[Upgrading, Modifying and Unlocking] seawildflower:
Let us know how it goes and what you did, im swamped with work right now im hoping to do some flashing this weekend
[Upgrading, Modifying and Unlocking] rfresh:
tried couple od times, what my observation is that even though IMS APN is created, but it was not selected or being used, I don't know how to make it active, also when I want to make a call on LTE network, the call just ended without fallback to 2G network.

maybe you could try if you have sometime at the weekend.

Sent from SM-S918U1 using ReLabs
[Upgrading, Modifying and Unlocking] rfresh:
I was able to dirty flash to latest TD based ROM from Andy with below image:

https://sourceforge.net/projects/andyyan-gsi/files/lineage-21-td/lineage-21.0-20240525-UNOFFICIAL-a64_bgN.img.xz/download

Today, I am going to try the Pixel IMS app again on this one and report back if I find any behavior different compared to the late experiment build.
[Upgrading, Modifying and Unlocking] seawildflower:
Has there been any issues with the GSI rom, like the secondary screen not working? have you noticed anything not being functional?
[Upgrading, Modifying and Unlocking] rfresh:
second screen not working for sure, wifi /GPS/ play store working decently, AOSP keyboard scrash, but you can download gboard apk into storage and install it.

pixel IMS still not working

this is just my limited test, I can't use it daily with my SIM card due to call issues.

anything particular you want to know?

Sent from SM-S918U1 using ReLabs
[Upgrading, Modifying and Unlocking] seawildflower:
I cant quite understand why, I can successfully flash and restore stock versions, but when I follow the guide directions in the forum I always have failure when attempting to flash Lineage of any kind.

fastboot flash system lineage-20.0-20240516-UNOFFICIAL-a64_bvN.img.xz

Invalid sparse file format at header magic

Resizing 'system' OKAY [ 0.006s]

error: write_sparse_skip_chunk: don't care size 324867456 is not a multiple of the block size 4096

error: write_sparse_skip_chunk: don't care size 56436096 is not a multiple of the block size 4096

Sending sparse 'system' 1/3 (262140 KB) error: write_sparse_skip_chunk: don't care size 324867456 is not a multiple of the block size 4096

error: write_sparse_skip_chunk: don't care size 324867456 is not a multiple of the block size 4096

OKAY [ 7.549s]

Writing 'system' FAILED (remote: 'No such file or directory')

fastboot: error: Command failed
[Upgrading, Modifying and Unlocking] seawildflower:
product partition was deleted. BTW
[Upgrading, Modifying and Unlocking] rfresh:
I have not ried LOS 20, and also not an expert of this, I also searched some answers from google and some people say the partition table maybe corrupted, do you think it worth to try to recreate partitions for this device?

I think NuttyDoc had mentioned this previously.
[Upgrading, Modifying and Unlocking] seawildflower:
I'll take another look and see if I miss something for partition recreation. It's likely that I did LOL
[Upgrading, Modifying and Unlocking] seawildflower:
LTE and VOLTE is working on lineage 20 Android 13 rom! For me this is good enough as I am not really looking to run bleeding edge android, but rather an OS that will still receive security updates.

Zero additional applications were needed to make this work, it works "out of the box" with a few settings changed in treble.

https://sourceforge.net/projects/andyyan-gsi/files/lineage-20-td/lineage-20.0-20240516-UNOFFICIAL-a64_bvN.img.xz/download
[Upgrading, Modifying and Unlocking] seawildflower:
Once Ive successfully migrated all my data I will use my second phone to continue to experiment with Lineage 21
[Upgrading, Modifying and Unlocking] nuttydoc:
WOW !! Great new for all cat s22 users!

Kindly share more details, about rom/ims app used and if any workarounds required for volte to work. May be same method may be applied to android 14 gsi images.

For the matter of security updates this being GSI, only system image may get updates, firmware including kernel will remain shame old v30 without any security updates.
[Upgrading, Modifying and Unlocking] seawildflower:
4G VoLTE settings for lineage 20

----------------------------------------------------

GSI rom => https://sourceforge.net/projects/an...0-20240516-UNOFFICIAL-a64_bvN.img.xz/download

Steps

---------

Flash above gsi rom

Go to settings, select 'Phh Treble Settings'

Select 'IMS features'

Select 'Install IMS APK for Qualcomm pre-S vendor', it should download and ask you to reboot. It shouldn't matter the order but before I rebooted I switched on 'Request IMS network' and 'force the presence of 4G Calling setting'. Also, click on 'create IMS APN'.

After go to 'network and internet' in settings

Click internet, click carrier settings cog, make sure mobile data is on, VoLTE is on, and set preferred network type to LTE.

Reboot.

test calls and data, it should all operate on LTE.

Tadaaaaa!

I will attach all the photos of every setting page and step below.
[Upgrading, Modifying and Unlocking] rfresh:
thanks for the update! do you have a particular reason to pick LOS 20 ROM?

Does it mean google break VOLTE function with android 14 upgrade ？

Sent from SM-S918U1 using ReLabs
[Upgrading, Modifying and Unlocking] seawildflower:
I just heard there may have been issues with Android 14 for whatever reason so I just decided to do Android 13. If you have Android 14 already installed check and see if the settings are the same and the same packages are available probably would work but I don't know.
[Upgrading, Modifying and Unlocking] seawildflower:
By Android 14 I mean lineage 21 GSI from the same developer I received lineage 20 GSI
[Upgrading, Modifying and Unlocking] TalkB:
That just leaves the rear screen then.

This is something I am attmepting to tackle, although I know nothing about making apps on android. The upshot of it is:

The screen is not usable by default. On the stock ROM, early in the boot the screen actually fails to start at first. It's picked up by Display manager after HWComposer fails to load it.

In the stock rom it's picked up as "HDMI Screen" suggesting it's treated like a TV or something. No idea if this is the norm.

ro.vendor.gsi.image_running is false on the stock rom, and unset on GSI. setting it to false on GSI and restarting hwcomposer causes the screen to connect - this is not an ideal method though as it essnetially reboots the phone and needs to be done after every proper reboot.

SystemUI seems to be responsible for deciding what displays on the screen. By default, it just mirrors the main screen with certain content hidden (Lock screen stuff mostly).

So, we need to somehow make the second screen connect at boot or make gsi.image_running false permenantly. Then we need to add the functionality for pushing stuff to the screen to an app, or preferably to the GSI version of SystemUI itself. Somone on github claims to have done the latter but no details are provided.

CAT S22 Front Screen inoperable · Issue #2338 · phhusson/treble_experimentations

Current Behavior: The front screen on the CAT S22 does not display anything except the T-Mobile Logo. This only happens after installing the IMS APK for Qualcomm vendor in the Phh Treble Settings D...

github.com

CAT S22 Front Screen inoperable · Issue #75 · TrebleDroid/treble_experimentations

Related: phhusson#2338 Current Behavior: Screen does not start on boot. Describe the bug I would like that the external screen would start turn on on boot. Expected behavior Turn on screen and show...

github.com
[Upgrading, Modifying and Unlocking] seawildflower:
VoLTE still does not work on android 14 based systems. We have the qualcom IMS but we are trying to force install the apk on android 14. Android 14 doesnt allow older software to be installed.
[Upgrading, Modifying and Unlocking] rfresh:
This is the error message we've got

D:\Downloads\CAT S22>adb install --bypass-low-target-sdk-block ims.apk

Performing Streamed Install

adb: failed to install ims.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
[Upgrading, Modifying and Unlocking] TalkB:
As much as that sucks, as you said, that isn't a massive issue right now since A13 is still getting security patches. It'd be nice to have at least one ROM that's fully functional (potentially two if that method works on Treble as well as Lineage)

When I tried Treble GSI 14, I couldn't get an app to install either. Even the one the built in settings installs failed.
[Upgrading, Modifying and Unlocking] seawildflower:
yeah im sure you can be happy running los 20 for quite some time. But If we want to make a custom rom for this device to fix your above mentioned issues like external display and keypad lights etc. i imagine people will want it to be done on android 14 based
[Upgrading, Modifying and Unlocking] TalkB:
I agree. Based on my testing making the screen turn on is the same on A11 and A14 (Safe to assume it'll be the same for 12/13...), and presentation screen functionality from A11 still exists in A14. The main concern here is making changes to the systemui - that'll have to be different for every version of every rom I imagine. If it can be done with a seperate app it may not be a major issue.

I don't even know where to begin with getting the screen on at boot yet, but that may well be different. I'm *hoping* a magisk module can do what's required.

As for keypad lights, I thought that was solved ages ago, at least, the shell commands required were found. I'd just use Xposed edge or something to turn them on/off when you turn the screen on/off - it's a total hack, but it'll work.
[Upgrading, Modifying and Unlocking] seawildflower:
I am personally focused on LTE. If I can make it functional on android 14 ill do a complete guide with all the devices files for flashing, activating lte, and rooting the device. step 2 for me would be all your above mentioned things. but admittedly this is beyond my scope.My mission is to clearly document as much as possible and store all relevant files so the python coders and android devs will take an interest in all that coding stuff.
[Upgrading, Modifying and Unlocking] OwedtAlex:
Hi, I am complete novice to both Android and Linux, but am keen to install Lineage OS 18 onto my CAT S22. Referring to nuttydoc's guide at the start of this thread should the phone be in a rooted state or can the instructions in the guide be followed on a phone straight out of the box as it left the manufacturer without any other preparatory work?
[Upgrading, Modifying and Unlocking] nuttydoc:
Only unlocked bootloader is required. Steps are already in the first post. Root is not required.
[Upgrading, Modifying and Unlocking] OwedtAlex:
OK - great. I just want to make sure of everything before I finally go ahead with the installation.

Many thanks for your help - appreciated!
[Upgrading, Modifying and Unlocking] seawildflower:
Read the tutorial carefully. There are partitions you have to delete or it won't work. Read through a couple times before you begin.
[Upgrading, Modifying and Unlocking] OwedtAlex:
OK - thanks for the advice. I will probably be back here to ask a few more questions before I "pull the trigger".This will be my first attempt at phone modding and am trying to avoid destroying my phone!
[Upgrading, Modifying and Unlocking] seawildflower:
Honestly as long as you read through the entire forum pages it's pretty impossible to break this phone permanently unless you delete the bootloader

I haven't seen a boot loop that hasn't been able to be easily fixed so far.