They trust Microsoft, but not Google

No idea how that works. Was trying to download this ROM to try on my phone, since IMS won’t work with the /e/OS build, and I’m done trying.

But I get an error “Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://browser.events.data.microsoft.com/OneCollector/1.0/?cors=true&content-type=application/x-json-stream. (Reason: CORS request did not succeed). Status code: (null).”. In my webconsole, that’s in LibreWolf. Doesn’t work in a Chromium based browser either, even in a private window.

And I might have needed the VPN on to even get that message.

Well, no more trying to download anything from OneDrive. Clearly Microsoft is a fucking moron.

Was going to try one other GSI ROM, and then go back to stock if that doesn’t work. Maybe I should just go back to stock, and disable a bunch of crap.

The download button does nothing that you can see, you need the web console to see that error. Doesn’t matter which button you click either.

Think I downloaded the wrong floss-ims from here. Their SSL expired, so either click continue, or don’t bother. Since this is a paranoid site, don’t bother.

But my ROM might not support whatever that is anyways. Just says Vendor R+ in the Treble settings. No idea what Vendor I have.

Everything except incoming calls work.

Doubt incoming calls work with any GSI ROM anyways, see this. And see this.

Some other issue, possibly on their ims, they said to use Telegram for instructions. Isn’t that ran by Russia? No thanks. I’ll just go back to stock ROM. After I see if I can “verify” YouMail in a browser. Or trigger it I mean. If I see no incoming call, then it’s probably not working. That’ll probably be the only GSI ROM I try.

Downloading it. Should check the YouMail site. Too lazy to keep asking somebody to try calling me.

Doesn’t look like you can, bummer. That means I have to install Shelter, setup, then restore the YouMail backup for the Work Profile, so I’ll need to install Neo Backup to the work profile, the easiest way to backup work profile crap.

Might not be stable anyways. So maybe I should just go back to stock.

That OneDrive ROM, is based on this, and people say incoming calls work on it. Too bad they use OneDrive.

Some site that generates download links for OneDrive, probably not compatible with wget, therefore useless, since OneDrive’s site sucks, doesn’t work, tried the link they posted, which says “invalid OneDrive share link”, the other link, it just gives me the same link.

Maybe this will work.

LOL, it downloaded a HTML file.

The second link, it gets an error. So I guess it no longer works.

The Python thing doesn’t work, because it needs to end with “download=1”.

This doesn’t work either. Thinks it’s a folder. Then says “./fetch_onedrive_url.sh: line 116: $1: unbound variable”

You aren’t supposed to use ” for the URL? Same thing, with all ” removed.

Also, the URL has u/c in it. None of their examples has that. LOL, if you click the X on OneDrive, it redirects to the login, no back either, you need a new container, or private tab, or restart LibreWolf.

Hmm, no idea what I clicked, just opened it in a container, and don’t see an X.

At this point, it would be easier to build it myself. Then try downloading from OneDrive, and then sharing it from a more reliable download method, I probably have enough space to host it here. But I’d only compile the vanilla one, I can install microG myself. Too much work.

You get redeem in the final URL if the account of the file owner was migrated to a sharepoint backend

Now does somebody have something that doesn’t use dotnet BS? See here for the above quote, and a bunch of other info.

curl -I -L -A "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36" "https://1drv.ms/u/c/5407E3A3E4C70EE5/EeEz1XD98upPqOVBqzHhUicBJn5VSi5mzh5ftJN482bnfg?e=l4ks24"

You can use that to get a bunch of info.

Note, I’m far to lazy to write any code, to make this process easy for the future.

Excellent, let’s see if that works…

ERROR – Download Failed: 429, message=’Too Many Requests’

Now to turn VPN on. Or not, might be working now.

INFO – File downloaded successfully to /run/media/external_ssd/Downloads/OneDrive_Downloads/lineage-22.2-20251
015-UNOFFICIAL-gsi_arm64_vN.img

Thanks Microsoft, for your shitty site, that only works with a Python script in Linux, for some unknown reason.

Lies, the file is 0B.

Can I run this, with just mono? I’m too lazy to compile it, not even sure I can with Linux. That would require my desktop.

Cannot open assembly ‘OneDriveLink.exe’: File does not contain a valid CIL image.

Well, might work in Bottles, which uses Wine.

Bottles loves crashing itself.

And running that in bottles, you then have to copy the output and remove line breaks, well I searched for remove tabs from string, and found an online tool that does line breaks.

Yes, I’m incredibly lazy. Too bad that doesn’t download either.

0B file, just like the Python method.

Same in LibreWolf. Time to turn VPN on.

This might be the problem. Except, no error. Just a 0B file.

Maybe this is the problem.

"https://1drv.ms/u/c/5407E3A3E4C70EE5/EeEz1XD98upPqOVBqzHhUicBJn5VSi5mzh5ftJN482bnfg?e=l4ks24" > all_output.txt 2>&1

Maybe don’t run it with that, it’s doing nothing, now to stop it.

Well, guess I’ll flash the Android 16 I downloaded, doubt it’ll work though. Too much work to download from OneDrive, since their site is junk, and doesn’t work. I get a 0B download.

Trying to boot without erasing userdata, might not work, or be stable. But I’m incredibly lazy. Just want to see if IMS works. Then back to stock, cause I can’t download the ROM that might work, cause Microsoft doesn’t know how to do anything right.

Hmm did it just reboot? Nice. And it’s doing a factory reset, no other option, darn.

Either taking forever to boot, or it still isn’t working.

Did I flash the wrong boot? Was undoing Magisk, so I can reinstall it.

Damn might need to lookup how to boot into bootloader or fastboot… adb doesn’t work on this screen.

Back into fastbootd, but should have ran a command in bootloader…

I flashed the right boot, boot_a.

Maybe system-td-arm64-vanilla.img is the wrong one, no idea.

Forgot I was in bootloader, so it failed to flash system. Might not have used system_a. Not sure that matters, should do the current slot.

Reflashing it, while I look for a different GSI ROM.

Nope, it doesn’t boot on moto g power 5G 2024.

Downloading this now. Might have no internet though.

That one might boot, nice.

Finally got on WiFi, to get USB file transfer working, I had to enable the debug thing

LOL, it won’t download the IMS apk. is it downloading from that site with the expired SSL? Oh well. Internet works on WiFi. Need IMS to do anything else. So if I can’t find the right apk, back to stock it goes.

Hmm they might have fixed SSL, tried in a new container too, and it loaded.

https://treble.phh.me/stable/ims-mtk-q.apk

Reconcile failed: Package com.mediatek.ims has no signatures that match those in sha
red user android.uid.phone; ignoring!]

Nice, probably can’t install F-Droid either.

https://treble.phh.me/stable/ims-mtk-r-resigned.apk

/e/OS uses the R one. Try that first, and the resigned one.

I think I like it better then /e/OS anyways, it has a Treble app, and it looks nicer.

Damn got to add the APN, it has none, just the IMS one.

Might really be forced to LTE. Need 5G, 4G is going bye bye.

If using a moto g power 5G 2024, try https://treble.phh.me/stable/ims-mtk-s-resigned.apk, I got IMS to register with that in the unofficial LinageOS. But it’s forced to LTE, so eventually no connection.

Oh yeah, got to install Magisk, good thing I’m a file hoarder, no need to patch boot.img again.

Got to love rebooting, over and over again. Just want to see if incoming calls work.

Maybe if I disable the setting that disables the call in route, it’ll ring. Might have messed up audio though.

5G works now, just used the hidden phone info thing, and it enabled this time. YouMail is restored. Still trying to get incoming calls to work. YouMail failed to call me apparently, even though IMS is registered. WiFi calling is off, I think. One more try, after resetting internet, then rebooting yet again.

Toggled VoLTE, still not ringing.

What are the ims-caf-moto apks for? Moto might be Motorola, so maybe that’ll work, don’t know what caf is though. The package has “codeaurora” in it.

That’s for Qualcomm, no wonder it won’t register.

Reinstalled ims-mtk-s-resigned.apk. Wonder if there’s a different version perhaps of it.

Don’t install that caf crap, I removed it, and still no VoLTE toggle in settings.

Oops reinstalled the caf crap, got to love being tired. Just trying to get incoming calls to work. Would be faster to just flash the stock ROM.

Trying the install button again, says Vendor R+, is that the R file that didn’t work? No idea.

Well, guess that doesn’t work. Wish I knew what it was downloading, I’d download it on my computer.

I found the R+ file, look at the source code. Pain in the ass.

                    Ims.gotMtkR -> Pair("https://treble.phh.me/stable/ims-mtk-r$signSuffix.apk", "MediaTek R vendor")

so it’s the ims-mtk-r-[xxx].apk files. Now to reinstall and see if I can get it to register. It did in /e/OS. No incoming calls in /e/OS though.

setprop persist.sys.radio.force_lte_ca false

Maybe 5G will stay on 5G now, instead of switching to LTE. Looked at their patch, to find that.

Well the persist.sys.radio.force_lte_ca part.

You need a root shell to run that, just enable root debug setting, and then run adb root, then adb shell, you may need to toggle the other debug USB setting.

Or go into settings, the SIM card, and disable Force LTE CA. LOL.

This probably won’t work, it’s for Android 16 or newer. Going to try anyways. The R file doesn’t work in this ROM for some unknown reason, not registered, yet it shows a phone number after ims: in phone info.

Nope, failed to install. Maybe the ims needs to be installed as root. Probably doesn’t matter. For some reason this ROM lets you easily uninstall the IMS apk. Think I had to use App Manager or whatever it’s called on the other ROM.

Too lazy to try installing it on my phone, I just don’t think the r one works in this ROM.

See this. Thought “Remove Telephony Subsystem” would make all that stuff not work. Well, I’ll try anyways.

No SIM options now. LOL, how are you supposed to manage APNs with that removed? Just uninstalled the broken ims. Probably won’t fix anything. Might have to reflash, might as well go back to stock.

Here it what it does, so I can probably restore it manually. Mount the img file that you downloaded, and push the folder over, after remounting with r,w, you need root of course.

And it clearly says “for devices with no SIM cards”. So I don’t believe that person that it fixed anything.

Curious if YouMail says success, yup. No ringing though, so removing that, does what I thought, don’t believe that person, maybe on a different ROM, or old ROM, it does something else.


Now I get to restore that folder.

sudo mount /home/tommy/Downloads/LineageOS-22.2-20251010-VANILLA-EXT4-GSI.img /mnt
mount -o remount,rw /
mount -o remount,rw /system
remount system
#in another terminal
adb push /mnt/system/priv-app/TelephonyProvider /system/priv-app/TeleService
pm install /system/priv-app/TeleService/TelephonyProvider.apk
mount -o remount,ro /
mount -o remount,ro /system
sync
reboot

But does the apk need installing? Well, installed it just in case.

You need to reinstall the overlays too. What a pain in the ass. All the overlays are 0B. I have a backup of /e/OS though, probably includes all that.

./product/overlay/treble-overlay-mtk-ims.apk I found that, maybe I should install it, LOL.

Hmm did the overlay apks always say 0B?

I doubt a dirty flash will work. But it’s worth a try. And install the ims apk with pm install ims.apk, in a root shell.

Guess a dirty flash worked, not sure it fixed the telephone crap. They weren’t kidding. Does the stock ROM restore that? Oh well, no phone for me.

This says dirty flashing should fix it, not for me.

Maybe App Manager can fix it.

I tried reinstalling it with App Manager, used this to browse to the folder.

Good luck, you can’t install the overlay ones. Rebooting to see if that’s needed.

Guess a clean flash is the only solution. Reset mobile connections, reset internet. Won’t show up anymore.

I got trolled, by believing the opposite of what it clearly said. It said for devices with no SIM card…

I should probably go to bed.

Good news, a clean flash fixed it. Maybe erasing system would be enough, but you might have to erase userdata too, if it can’t access it anymore.

Hmm I might have forgot to erase system when flashing it the first time. Probably that image that wouldn’t boot too.

Maybe don’t open Magisk while copying backups to the phone, ahh well. Guess I can go to bed, after it reboots, and I start the copying over.

It’s way faster now. Guess I did a dirty flash, LOL. I wonder if the r ims package works now.

Calling works, no idea about incoming calls though. I think I’ll go to bed. And hope it works tomorrow, or switching to the r ims apk will fix it with this ROM now. Same ims apk the other ROM uses, but maybe they aren’t the same version, no idea. Won’t know till I can access my backups.