yashsingh1/xdaforums huggingface dataset:
[Xperia SP Q&A, Help & Troubleshooting] steveglowplunk:
So recently I ran into a problem where installing certain apps causes bootloop for me, such as:

SimSocial ( https://play.google.com/store/apps/details?id=it.rignanese.leo.slimfacebook )

Camera Roll - Gallery ( https://play.google.com/store/apps/details?id=us.koller.cameraroll )

Twidere for Twitter ( https://play.google.com/store/apps/details?id=org.mariotaku.twidere )

After installing the above apps, the launcher crashes, then the phone reboots itself. After restarting, the same thing happens again. The only way to end it is to remove the app using the recovery.

The problem seems to be very similar to the one described here

After some research, the problem seems to be caused by this

Someone made a fix here, but apparently it's made for the Moto G, and it doesn't work on Xperia SP (I've tried, the phone can't even boot afterwards)

I have no idea how to implement the fix myself because I'm a noob to all of this.

Does anyone have an idea on how to fix this without upgrading to a newer version of android?

The rom I'm using is Candy5 ( https://xdaforums.com/xperia-sp/development/rom-candy5-t3196185 ), if that does any help.
[Xperia SP Q&A, Help & Troubleshooting] ze7zez:
Try "Low-RAM Property Patcher" by AdrianDC. Maybe it will work in "Candy".
[Xperia SP Q&A, Help & Troubleshooting] steveglowplunk:
Just tried and it didn't work. The amount of ram doesn't seem to be related to my issue too :/
[Xperia SP Q&A, Help & Troubleshooting] ze7zez:
Each time, on a clean ROM, install each application separately and save the logcat after running it.

When you do this, try different installation order of subsequent applications.

In this way, you have the chance to find out which application is causing problems.
[Xperia SP Q&A, Help & Troubleshooting] steveglowplunk:
I have tried a number of apps and found the apps I mentioned above cause the exact same problem. They cannot run at all. In fact the phone starts crashing right after finishing the installation. I have tried it on a completely clean rom installation too, and the same thing happens. I will try to get a logcat tommorow though.
[Xperia SP Q&A, Help & Troubleshooting] nehc_rm:
You are correct about the bootloop. It affects old rom, pre-CM 13. I have applied the patch you have mentioned a few weeks ago and it did work on my phone, Samsung Galaxy S3 AT&T. I have shared the solution at the proper threads: https://xdaforums.com/showpost.php?p=76721233&postcount=1215.

I think if you want to patch yourself, you might want to look at this. It's for KitKat but I think it should work on Lollipop.

https://xdaforums.com/showpost.php?p=75958727&postcount=184
[Xperia SP Q&A, Help & Troubleshooting] steveglowplunk:
Yes I have tried the first solution in your post before making this thread. Unfortunately it caused bootloop (or stuck at the sony logo screen, I can't remember which). I'll try and see if I can get the second solution in your post to work though. Thanks for your reply.
[Xperia SP Q&A, Help & Troubleshooting] steveglowplunk:
Are there really no other solutions? I've been searching for months and everyone just link the same zip that doesn't work on Xperia SP.
[Xperia SP Q&A, Help & Troubleshooting] nehc_rm:
The only options you do have is to do a edit with hex editor. The patch is specific to rom and os version. The person who made this patch did a good job on documenting the steps. https://xdaforums.com/showpost.php?p=77174238&postcount=188

I think I have seen 3 different patches: KitKat, Lollipop, Marshmallow. Patch needs to be applied to proper OS.
[Xperia SP Q&A, Help & Troubleshooting] steveglowplunk:
I have finally fixed it by following the guide here ( https://xdaforums.com/showpost.php?p=75958727&postcount=184 ) :)

The guide only tells you how to disassemble the libandroidfw.so, but it didn't say how you can "reassemble" it. So I used another software called Binary Ninjia ( https://binary.ninja/demo/ ) to edit it, and it worked! (and yes the demo is enough already)

Tell me if you want the detailed steps on how I did it (I don't think many people still use CM 12.1 on their Xperia SP anyway so I'm not going write it now unless someone asks so)
[Xperia SP Q&A, Help & Troubleshooting] nehc_rm:
I am glad you've fixed your phone. I was lucky enough that the patch worked on my phone. It's not an easy bug to fix. I am wondering how many people do know about this bug.

If you want to post the guide is up to you. But I think it's worth documenting everything. You never know who might need it.
[Xperia SP Q&A, Help & Troubleshooting] MattEffinTurner:
Looking for this some help

I wouldn't mind a walkthrough on it (if you still remember/have it around)?

I'm trying to patch this for an older phone I have that only supports CM12.1 and it's a pain.
[Xperia SP Q&A, Help & Troubleshooting] steveglowplunk:
So obviously you'll need root access (which you should have already if you're using a custom rom anyway), and a pc

ALWAYS MAKE A NANDROID BACKUP FIRST, you never know if things will go wrong

Now install the Binary Ninjia demo ( https://binary.ninja/demo/ ) (There are other disassemblers but this one is what I used in my case, and the demo is free)

Afterwards, everything is basically just following the guide here ( https://xdaforums.com/showpost.php?p=75958727&postcount=184 )

1. Get the libandroidfw.so from "/system/lib" somehow. The guide suggested using adb pull but you can also use whatever root browser of your preference to copy it out and send it to your pc with bluetooth or something

2. Open your libandroidfw.so in Binary Ninjia

3. Open "android::AssetManager::getPkgName(char const*)" on the left by double clicking on it

Make sure it's set to "Disassembly Graph" at the bottom left

4. Right click on the highlighted line (the code "movs r3,#0") - Patch - Edit Current Line

5. Change the 0 to 1 instead and press enter

6. In the top toolbar, go to to File - Save and save it...somewhere

7. Send the edited libandroidfw.so back to your phone with adb push or bluetooth or whatever method you prefer

8. On the phone, with a root browser or a terminal emulator, copy the edited libandroidfw.so to "/system/lib" and replace the original one

You'll need to remount /system as rw first to be able to successfully replace it

I prefer using the terminal emulator so I'll use this method for demonstration. In the terminal emulator, enter these commands

su
mount -o remount,rw /system
cp /path/to/<your edited libandroidfw.so> /system/lib

9. Set its permission to -rw-r--r--

If you use a terminal emulator, use the following command to set its permission (in case if you don't know how)

chmod 644 "/system/lib/libandroidfw.so"

10. Reboot and pray you haven't broken your phone

11. If it boots up, you should be able to live happily ever after with the bootloop crash problem gone

I can't send my edited libandroidfw.so as the fix seems to be rom and device specific. But I hope my guide is clear enough for you to fix the problem on your own. :fingers-crossed:
[Xperia SP Q&A, Help & Troubleshooting] MattEffinTurner:
Excellent!

Thank you so much for this!

After several hours of fighting with it yesterday (and lots of Google-fu) I finally managed to patch the file (and all for the sake of changing a 0 to a 1 in a library file).

Once I get enough posts in, I'll be able to post the patched file for my ROM in it's thread (though I doubt anyone's still using it at this point, lol)
[Xperia SP Q&A, Help & Troubleshooting] steveglowplunk:
I'm glad to hear you have fixed this annoying problem too.

Just out of interest, was your method similar to mine?
[Xperia SP Q&A, Help & Troubleshooting] MattEffinTurner:
Yes, it was pretty well identical to your method (I used adb push/pull to move the file off and back on).

I knew what I was looking for in the file but it took some time to figure out how to use Binary Ninja.
[Samsung Galaxy S9+ Guides, News, & Discussion] MeltdownSpectre:
Latest OXM ROM for S9+

This ROM was released on 6 March 2022 and can be used for all OXM Multi-CSCs, you can check the list below to see if your CSC is part of OXM:

Google Docs

IMPORTANT: After flashing this, you can NOT downgrade to

BL v1 firmwares (XXU1xxxx / XXS1xxxx builds)

BL v2 firmwares (XXU2xxxx / XXS2xxxx builds)

BL v3 firmwares (XXU3xxxx / XXS3xxxx builds)

BL v4 firmwares (XXU4xxxx / XXS4xxxx builds)

BL v5 firmwares (XXU5xxxx / XXS5xxxx builds)

BL v6 firmwares (XXU6xxxx / XXS6xxxx builds)

BL v7 firmwares (XXU7xxxx / XXS7xxxx builds)

BL v8 firmwares (XXU8xxxx / XXS8xxxx builds)

BL v9 firmwares (XXU9xxxx / XXS9xxxx builds)

BL v10 firmwares (XXUAxxxx / XXSAxxxx builds)

BL v11 firmwares (XXUBxxxx / XXSBxxxx builds)

BL v12 firmwares (XXUCxxxx / XXSCxxxx builds)

BL v13 firmwares (XXUDxxxx /XXSDxxxx builds)

BL v14 firmwares (XXUExxxx / XXSExxxx builds)

BL v15 firmwares (XXUFxxxx / XXSFxxxx builds)

BL v16 firmwares (XXUGxxxx / XXSGxxxx builds)

You can download this using SamFirm or Frija

Model: SM-G965F (GALAXY S9+)

Country: Germany (DBT)

Version: Android 10 (OneUI 2.5)

Kernel: 23733710

Build Date: Thursday - 21 July 2022

Security Patch: 1 March 2022

AP: G965FXXUHFVG4

CSC: G965FOXMHFVB4

CP: G965FXXUHFVB4
[Samsung Galaxy S9+ Guides, News, & Discussion] Geekser:
THanks for doing this - very helpful -
[Samsung Galaxy S9+ Guides, News, & Discussion] itskapil:
[MENTION=5063250]murtaza02[/MENTION] nice thread, I think you will find this link useful - http://downloadmirror.co/Wol/G965FXXU1ARC5_G965FOXM1ARC4_XEU.zip

Yes, it's OXM one, the same one you mentioned above.
[Samsung Galaxy S9+ Guides, News, & Discussion] MeltdownSpectre:
Will add to second post. I'm uploading on AFH right now so that link will be added as well.
[Samsung Galaxy S9+ Guides, News, & Discussion] Henry Chang:
S9+

Hi Sir, what actually this will do to the phone?
[Samsung Galaxy S9+ Guides, News, & Discussion] MeltdownSpectre:
The stock firmwares linked here are either to update your phone manually or to return to the stock firmware if your phone is rooted and you want to remove root and any modifications.
[Samsung Galaxy S9+ Guides, News, & Discussion] Henry Chang:
Thanks for your immediate reply. I just got my s9+ but I hesitate to root now. I have one year warranty on it.
[Samsung Galaxy S9+ Guides, News, & Discussion] Tizen99:
There is a newer OXM firmware available now. It's G965FXXU1ARC6 from the CSC XSA.

https://www.sammobile.com/firmwares/SM-G965F/XSA/download/G965FXXU1ARC6/211308/
[Samsung Galaxy S9+ Guides, News, & Discussion] kene1611:
same changelist?

Gesendet von meinem SM-G965F mit Tapatalk
[Samsung Galaxy S9+ Guides, News, & Discussion] milad.pro:
csc didnt changed after flash this any way to change that?
[Samsung Galaxy S9+ Guides, News, & Discussion] Tizen99:
Yes. I don't know if there is any noticeable change.
[Samsung Galaxy S9+ Guides, News, & Discussion] MeltdownSpectre:
It's the same as ARC5 but released specifically for XSA (Australia). The changelist is exactly the same and the changelog mentioned by Samsung is the exact same for ARC5 and ARC6. I didn't post it because it's unnecessary and brings nothing new to the table.

CSC is not supposed to change after flashing. That's the whole point of of the OXM multi-CSC.
[Samsung Galaxy S9+ Guides, News, & Discussion] milad.pro:
How can I change CSC then? I flashed many rom but it didn't changed.

my csc now G965FOXM1ARC4 vietnam region but csc code is still in THR

*272*imei didnt work :(
[Samsung Galaxy S9+ Guides, News, & Discussion] MeltdownSpectre:
[MENTION=4166951]milad.pro[/MENTION]

Why do you want to change CSC?

Sent from my SM-G965F
[Samsung Galaxy S9+ Guides, News, & Discussion] milad.pro:
Bixby doesnt work in my region!

Bixby vision just scan qr and nothing more
[Samsung Galaxy S9+ Guides, News, & Discussion] MeltdownSpectre:
First you have to flash a carrier firmware (not part of OXM), without the SIM card inserted in your phone. Then you have to flash back to ARC5 OXM, also without a SIM card insterted in your phone. Then activate your phone without a SIM card and after going through the setup wizard, then you can put your SIM back in.

Even then, there's no guarantee that the CSC changes. Sometimes it works, sometimes it doesn't.

I'm not providing any further support for this in this thread or via PM as this wasn't the purpose that I created the thread for.

Bixby is overrated. The effort required to change CSC is not worth it. You may enjoy it for one day, maybe two days, but after that, it'll just be another gimmick.

Use Google Assistant instead if you really want to.

Sent from my SM-G965F
[Samsung Galaxy S9+ Guides, News, & Discussion] milad.pro:
OK thank you i will try
[Samsung Galaxy S9+ Guides, News, & Discussion] alddhie:
Could you share other countries firmware?
[Samsung Galaxy S9+ Guides, News, & Discussion] MeltdownSpectre:
This firmware works on multiple countries, including UK.

Check the OXM countries list in the 2nd post. If your country or CSC is listed there, this firmware (and all future ones) will be compatible.

Sent from my SM-G965F
[Samsung Galaxy S9+ Guides, News, & Discussion] saveferris:
Apparently from the Samm mobile forums this solution works

'to change to the xsa flash french xef setup then flash back to xsa"

Any guinea pigs willing to try it. I would but I left my cable at work.
[Samsung Galaxy S9+ Guides, News, & Discussion] carlitobahsoun:
got my otaView attachment 4484806
[Samsung Galaxy S9+ Guides, News, & Discussion] pinoy_ako07:
What do you mean, flash xef setup? What region is xef?
[Samsung Galaxy S9+ Guides, News, & Discussion] MeltdownSpectre:
XEF is France.
[Samsung Galaxy S9+ Guides, News, & Discussion] saveferris:
It says its French.......Not sure this will work.

Any way to get a combination firmware to get it working / I have had a read on line that some of the previous models have got it to work using this method.
[Samsung Galaxy S9+ Guides, News, & Discussion] aj7400:
Is the cpu and battery issue fixed after the update ?
[Samsung Galaxy S9+ Guides, News, & Discussion] Tizen99:
I don't have any issues with the CPU und battery, but it's only a small 60 MB update with the April security patch and the same changelist as before, so I highly doubt it.
[Samsung Galaxy S9+ Guides, News, & Discussion] pinoy_ako07:
I will give it a try soon.

So just to be clear, flash the french rom, setup up phone and then flash the Australian rom. Is this correct?

EDIT: Testing it now. Flashing XEF then TEL

EDIT 2: Didn't work for me
[Samsung Galaxy S9+ Guides, News, & Discussion] saveferris:
Damn
[Samsung Galaxy S9+ Guides, News, & Discussion] MeltdownSpectre:
[MENTION=5601752]Genebaby[/MENTION] [MENTION=1013271]saveferris[/MENTION] [MENTION=2324624]pinoy_ako07[/MENTION]

As I said earlier, i would try and change my own CSC using the factory binary when a new firmware is released, and unfortunately I was unsuccessful. I tried quite a few things there and yet my CSC remained on PAK, even though I was doing the procedure without a SIM card and tried it with a DBT firmware. No luck.

Theory 1: The CSC file Samsung has bundled with the previous firmware is the same one as the one with this firmware. No changes. It could be buggy?

Theory 2: Samsung has prevented users from changing CSCs. Honestly quite a stupid thing to do seeing as how convenient and easy it was with the S8 last year.
[Samsung Galaxy S9+ Guides, News, & Discussion] pinoy_ako07:
So there's nothing anyone can do to not trip Knox and change the csc
[Samsung Galaxy S9+ Guides, News, & Discussion] MeltdownSpectre:
Wouldn't be so sure just yet. I'm sure there's something around this that we just haven't figured out yet.
[Samsung Galaxy S9+ Guides, News, & Discussion] Genebaby:
There needs to be some kind of compatible combination file. Isn't that part of the process for the S8?
[Samsung Galaxy S9+ Guides, News, & Discussion] MeltdownSpectre:
The combination file is usually only required if you don't have a SIM card of the CSC you want to switch to.

On the S8, if you had an Australian SIM card inserted, it would just prompt you to reset the phone and then automatically change the CSC.
[Samsung Galaxy S9+ Guides, News, & Discussion] Genebaby:
But to debrand you don't want the CSC from your SIM. I have that now and want to go XSA.

I would only flash the stock fw files to achieve and unbranded and unlocked phone for faster, better updates.

Right now I'm not getting OTA's, unless I flash a new one myself I guess, using the Home CSC, so I'm in no man's land, unless I give up and reflash the CSC my phone keeps reverting too and stick that that update channel, but it's not my preference.
[Samsung Galaxy S9+ Guides, News, & Discussion] Okarina26:
Hi all...need some help...please...?...

When i try to dl the new version/DBT....via samfirm.. i always get this.....?

decryption failed wrong key.....??

Never had this before.....someone can help...please......nice day....?
[Samsung Galaxy S9+ Guides, News, & Discussion] MeltdownSpectre:
If SamFirm is still having trouble with decryption, I'm uploading ARD1 on AFH, will be done in about 15-20 minutes or so.

Link will be updated in the 2nd post.

EDIT: AFH mirror is up for ARD1.
[Samsung Galaxy S9+ Guides, News, & Discussion] sharavan21:
I visited a Samsung Experience store today in my city and one representative walked up to me and offered to update my device to the latest software. I was skeptical at first but decided to give it a try. To my surprise it was the April 2018 security update. I am attaching a screenshot below.
[Samsung Galaxy S9+ Guides, News, & Discussion] aj7400:
Any improvement in battery / performance?
[Samsung Galaxy S9+ Guides, News, & Discussion] Yuvraj1605:
Can i flash galaxy s9+ exynos varient to a different region firmware?
[Samsung Galaxy S9+ Guides, News, & Discussion] renton82:
It's a known issue of beta 3...
[Samsung Galaxy S9+ Guides, News, & Discussion] the_scotsman:
I've had the issue once on beta 3. The phone rang, only vibrated butn not sound played. All other times, it has rang as normal.
[Samsung Galaxy S9+ Guides, News, & Discussion] marselcj:
I've had it, too.
[Samsung Galaxy S9+ Guides, News, & Discussion] aussiesausage:
I haven't had that issue yet, mines been perfect.

And no I'm not running the beta officially, I sideloaded it.
[Samsung Galaxy S9+ Guides, News, & Discussion] dachakragujevac:
Is there anybody else,which themes (night and day) change by itself nonstop!

Послато са SM-G965F уз помоћ Тапатока
[Samsung Galaxy S9+ Guides, News, & Discussion] Humam Alamara:
Any news about beta 3 hotfix ?
[Samsung Galaxy S9+ Guides, News, & Discussion] kadirpasa:
Because on beta three when some of us get calls

The phones ringtone doesn't play .. even with sick ringtone.. for now I have vibrate for calls on do I miss less calls
[Samsung Galaxy S9+ Guides, News, & Discussion] Leon:
Never had such an issue. And no, I'm not from UK.
[Samsung Galaxy S9+ Guides, News, & Discussion] Titosilva:
From here phone calls ring with beta 3
[Samsung Galaxy S9+ Guides, News, & Discussion] CaptainZn:
Can someone assist me getting joined to the Telegram group? Thank you in advance.
[Samsung Galaxy S9+ Guides, News, & Discussion] RadiikaL12:
Help updating please

What do I need to do to apply this "update" to my stock BRJ6 Exynos s9+? Using ADB?
[Samsung Galaxy S9+ Guides, News, & Discussion] henklbr:
All instructions are in OP (msg #1)
[Samsung Galaxy S9+ Guides, News, & Discussion] AdityaXDA~:
hello Guys greeting from Me, i would like to ask and will be very thankful for everyone how want to help ..

i am on S9+ G965F/DS

here's My details on the picture, my problems is My Phone doesn't responding to GSM 4G, but it's responding to CDMA 4G, the GSM only stuck on 'E' or 'H+' data connection.

have tried to switch from sim 1 to sim 2 and then switching the back way but still the same,

i am on BRJ6 Now and BRI which is Taiwan

will i be able to access GSM 4G if i update to this latest beta .. ?

for some info i am on Indonesia right now ..

because both My Simcards are both GSM

i am really sorry for stupif questions because i am really new into this and i will be really appreciate for any help that i can get, thank you so much ..:crying:
[Samsung Galaxy S9+ Guides, News, & Discussion] MeltdownSpectre:
Make sure your APNs are correct, and the SIM slots are set to 2G/3G/LTE.

What country are you in right now? According to the screenshot you're still on XID (Indonesia). If you want to be on BRI, you'll have to flash Taiwanese firmware.

The G965F doesn't support CDMA, and there's no such thing as CDMA 4G.

Sent from my SM-N960F
[Samsung Galaxy S9+ Guides, News, & Discussion] AdityaXDA~:
thank you so much on Your reply, doesn't the APN always working automatically as You insert the simcard directly .. ?

yes i am in Indonesia right now ..

so i will i be able to use My GSM 4G .. ?

i have tried also to create APN according to My Simcard Operator APN, try to Reset the network via settings' but it's not working too ..

any suggestion to solve this .. ?

thank you .. :D
[Samsung Galaxy S9+ Guides, News, & Discussion] MeltdownSpectre:
Normally APN should be installed automatically when you insert the SIM card.

You should be able to use 4G when you set the network mode to 2G/3G/LTE and if you are in LTE coverage area, it will connect to 4G/LTE by default.
[Samsung Galaxy S9+ Guides, News, & Discussion] saxena1:
I am also facing this problem but it will solve soon by my network operator they told me.so it's not to related with phone. :D
[Samsung Galaxy S9+ Guides, News, & Discussion] Leon:
I notice one more thing which I think I have from Beta N2. Sometimes I can't pull the status bar :confused: I also set up to use fingerprint slide to pull the status bar but still doesn't work. Restart the phone seems to fix temporary the problem. Does anyone have it?
[Samsung Galaxy S9+ Guides, News, & Discussion] dachakragujevac:
Icons in folder are now "normal" size,like in Oreo! [emoji50]View attachment 4666934

Послато са SM-G965F уз помоћ Тапатока
[Samsung Galaxy S9+ Guides, News, & Discussion] AdityaXDA~:
i did but no change at all .. :crying:, i tried to change it to '3G Only' just to try for the 'H+', fyi i have S8 plus too and the s8 plus getting 4G and also H+ for the Simcard, but when i swirch it to the s9+, it only stuck on 'E' only like something is holding the network down, is it phone related .. ?

is it has something to do with the aoftware, because My s9+ is G965F/DS is Global Version right with CSC XID , will i be able to gain 4G in i install thia Beta .. ?

thank you so much for your help ..

did the 4G work for You now .. ? :o
[Samsung Galaxy S9+ Guides, News, & Discussion] zlatehatesyou:
Hi, I've just read that there was a hotfix released for connectivity issues for S9 and S9+. Firmware version is ZRLA but i wasnt able to find the firmware anywhere...Maybe somone could share it ?
[Samsung Galaxy S9+ Guides, News, & Discussion] saxena1:
did the 4G work for You now .. ?

Yes working.
[Samsung Galaxy S9+ Guides, News, & Discussion] MeltdownSpectre:
The connectivity issues were present in Beta 2, which were fixed with ZRKN hotfix.

ZRLA has only been released for the Korean S9+ (G965N). If and when it is released for the international (G965F) variant, it will be posted here.

Sent from my SM-N960F
[Samsung Galaxy S9+ Guides, News, & Discussion] AdityaXDA~:
My Build Number is R16NW.G965FXXS2BRJ6

can i just flash it right away from My last build baseband version which is G965FXXU2BRJ1 to G965FXXU2ZRL5 / G965FOXM2ZRL3 / G965FXXU2ZRL3 which is Beta 3 .. ?

i am donwloading the ZRKA though and almost finished ..
[Samsung Galaxy S9+ Guides, News, & Discussion] MeltdownSpectre:
Please read the first post on how to install Pie beta. You have to sideload ZRKA first, then ZRKL, then ZRKN and lastly ZRL5.

There is no guarantee that this will fix your 4G issue, I suggest you take it up with your carrier, since there is no reason for 4G to not be working on your phone.
[Samsung Galaxy S9+ Guides, News, & Discussion] AdityaXDA~:
My Baseband Version is G965FXXU2BRJ1

My Build Number is G965FXXS2BRJ6

which one is My stronghold .. ?

did i already on BRJ6 cause i saw BRJ1 too on my baseband ..

should i just go already to ZKRA or i need to flash BRJ6 first, i got confused because of the baseband version is BRJ1 ..

thank You Sir .. :o