yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 General] JerwinSayat:
Hows the testing mate? In at QA1 but i feel the im loosing some mobile signals tierd to go back to PK2.
[Galaxy S 4 General] xell75:
My phone is running almost 7 hours with that new modem now and I have a stable LTE signal since then.
[Galaxy S 4 General] xell75:
So if anyone want the new Bootloader and Modem+NON-HLOS (XXUHQC1) then pm me for links, cause [MENTION=6082440]_Bon_Bon[/MENTION] was not online yet, so I not have the permission to post the links here for now.
[Galaxy S 4 General] Mittaa:
If its still I9505XXSPQA1, then try to flash I9505XXUHQC1 again.

I have read somewhere, that sometimes one have to re-flash in order to fully update (In Odin un-check "auto reboot" after flash)
[Galaxy S 4 General] _Bon_Bon:
Sorry for my absence, been busy :p

So XDA just lost most of the posts I quoted, but I'll add the answers anyways.

The "flash twice to make modems stick" magic works, because you perform a hard shutdown in the middle. As I've said in the OP, turn your phone COMPLETELY[\B] off, before booting to download mode and flashing the modem. If shutting down from the OS doesn't work, pulling the battery will do the trick

Updating your modem bootloader combo might not always affect you signal (or booting process) positively nor negatively. Usually they're just security updates, so don't worry if your signal strength is not magically improved :p

Sure, just send me a PM (if you didn't resolve this already) and I'll help you to the best of my abilities.

I'm just guessing here, but it might be because the XXSPQA1 bootloader has the sbl1 file (secondary bootloader) as the older versions you've tried don't. (If I remember correctly) It could be the newer version just doesn't work well with the older ones, so try flash the HPA1 combo. That has all the files (again, if I remember correctly) and could fix you issue. But as I said, it's a guess. Let us know how it goes.

Thanks for the heads up! I'll add the new version tomorrow, if you don't want to upload them. If you do, please follow the guide in the OP and I'll just link your post there :good:
[Galaxy S 4 General] Adidas108:
download XXUHQC1 firmware from UPDATO then replace files from previous build (XXSPQA1) with newone and thats it...
[Galaxy S 4 General] xell75:
I uploaded them already, so ok I will do as you say. :D And welcome back mate!

---------- Post added at 06:10 PM ---------- Previous post was at 06:08 PM ----------

It's not like everyone want to download the complete fw. (Yeah I done it, otherwise I wouldn't have the new modem now.)

---------- Post added at 06:17 PM ---------- Previous post was at 06:10 PM ----------

So here it goes:

XXUHQC1 Bootloader: https://drive.google.com/file/d/0By1g6qKdcc58c2EzeGpWSFR3X1U/view?usp=drivesdk

XXUHQC1 Modem+NON-HLOS: https://drive.google.com/file/d/0By1g6qKdcc58anFmLU5GNjdaSlk/view?usp=drivesdk
[Galaxy S 4 General] JerwinSayat:
Where did you upload mate? Link?
[Galaxy S 4 General] JerwinSayat:
Found it, you edited the post hehe. Thanks! Hope it run well
[Galaxy S 4 General] _Bon_Bon:
Please use the format from the OP and remove the other quotes or make a new reply with the changes, thanks:

________________________________________________
| MODEM / BOOTLOADER [Modem letter code]	|
|	GSM	|
|	[Download link]	|
|	NON-HLOS	|
|	[Download link]	|
|	GSM and NON-HLOS	|
|	[Download link]	|
|	Bootloader	|
|	[Download link]	|
| And the rest space is free to be used	|
| as you please! :D	|
________________________________________________
[Galaxy S 4 General] Hemuli:
I tried that but 3G still doesn't work. ATM I'm on I9505XXUHQC1 BL and radio. I see an X on the network icon. Data doesn't work even though I do have an IP address. Some app show this under fingerprint: samsung/jfltexx/jflte:5.0.1/LRX22C/I9505XXUHPF4:user/release-keys. (I'm on latest RR.) LTE gives me 40M/1M on speedtest.
[Galaxy S 4 General] _Bon_Bon:
I took a closer look at your thread just now. Have you tried repartitioning your phone to lollipop and the flashing the PA1 files on top of that? Other than that I don't really know what could be wrong software wise. You could, and maybe even should, try out the JDCTeam roms AOSP or Lineage and see if the problem persists.

I can take a peek at my S4's hardware and compare it to the pictures you uploaded, to see if there's any obvious differences.

If you want, DM me and we can talk about this in more detail (maybe even in finnish ;))
[Galaxy S 4 General] Hemuli:
Is it enough to just tick the re-partition option while flashing the stock rom? Also, I noticed that the Phone bootloader update option is normally greyed, but it can be ticked at times. Could this help? I no longer think it's about the hardware as it has happened to other people in this thread recently.
[Galaxy S 4 General] vkopzon:
I've tried repartitioning with PA1 (and others) over it. But Nothing helped.

I'm running JDC ROM. I guess It is not a ROM issue.

Moved today to HQC1 - no change.

But my case a bit different. I do not have 3G or 4G connection at all, regardless of what option is selected in network preferences.

For me the issue started with flashing SPQA1. On two 9505 phones!

I will try the Triangleaway path...

Other ideas are more than appreciated !
[Galaxy S 4 General] _Bon_Bon:
Yeah, just tick re-partition and add a pit file. I added the latest pit file for the I9505 into this post, so you can download it here.

You should try to use heimdall if Odin doesn't work. And make sure you turn off your phone before booting manually into download mode. Don't use the in OS option!

I'll have a look at the files, just to make sure. Other than that please let us know if Triangleaway helps!

-Edit-

It turns out, that SPQA1 has a bigger sbl1 file than the PA1, a bigger modem file and a lot smaller NON-HLOS file. You could try taking those files from the PA1 package and flash only them ontop of the SPQA1. See if that gets you anywhere.
[Galaxy S 4 General] Hemuli:
I tried the TriangleAway method but I think it didn't work at all on stock LP. However I had HOJ2 firmware so I used Samsung's Smart Switch (successor to Kies) to upgrade it. I received XXSPQA1 and 3G still doesn't work. However now download mode shows that my current binary is Samsung Official and system status is also official. So you don't need TriangleAway to achieve this.

I also took a look at the modem partition in TWRP and noticed that it only contains the files from NON-HLOS.

I'll try the pit file next.
[Galaxy S 4 General] vkopzon:
Thanks for suggestion!

Do you mean I should try to flash SPQA1 again, and then to flash only sbl1, modem and NON-HLOS files from PA1?
[Galaxy S 4 General] Hemuli:
So where again is the pit file? :D
[Galaxy S 4 General] laupuy:
[MENTION=6529480]vkopzon[/MENTION]

Hi,

Did you try a samsung 4 files firmware (aka full repair fw)?

Download it with samfirm https://xdaforums.com/galaxy-tab-s/general/tool-samfirm-samsung-firmware-t2988647 and tick "binary nature" for 4 files.

You can use these Repair Firmwares to Fix your Samsung Android Smartphone (or Tablet), These files contain the full set of Samsung firmware files, Inside these packages you will get BL, AP, CP, CSC and the pit is include in csc, just tick repartition in Odin ;)
[Galaxy S 4 General] _Bon_Bon:
Yeah, or just try reformating using the pit file and starting fresh.

Sorry, it got lost somewhere, I'll try to add it here :p

-Edit-

Third time's the charm

View attachment I9505_PIT.zip
[Galaxy S 4 General] Hemuli:
I downloaded the pit that is currently on my phone with Heimdall and did a binary comparison with FC. I received "no differences encountered".
[Galaxy S 4 General] _Bon_Bon:
That's normal, there aren't that many different partition revisions out there. It's just save to have, if for some reason you'd have an older or different version.
[Galaxy S 4 General] lekiaM:
I was always very skeptical about upgrading modems and bootloaders, because they can drain battery and cause heating problems. But what the f**k, today i was experimenting to and i am more than satisfied! Did some several test with the latest updates for the i-9505 International. Connection tests, speedtests etc.. Anyways, my device rocking like hell. LTE speed approved with 20 percent!!! Much better reception (stabler) and WiFI signal is also improved!

I want to thank [MENTION=6082440]_Bon_Bon[/MENTION] for this outstanding guide and [MENTION=2239974]xell75[/MENTION] for sharing the latest QC1 (running right now)

I will definitely keep an sharp eye on this thread.

Huge thanks guys:svetius:
[Galaxy S 4 General] Ibuprophen:
Just an FYI...

I have the following on my File Host Account if anyone is in search of them.

PIT Files - JFLTEVZW

Unmodified Factory Stock Firmware - JFLTEVZW

I know that the Factory Stock Firmware for the JFLTEVZW is available on the Sammobile site but, those who has previously downloaded from Sammobile can attest to, unless you have a Paid Membership, it's a really slow download. So, since I already had half of them backed up, i grabbed the rest and uploaded them to my File Host Account for a much faster download.

I just wanted to let you all know about this in case you had needed it for the JFLTEVZW device.

ENJOY!

"Live Long and Prosper..."

~Ambassador S'chn T'gai Spock

Sent via Communicator [D2VZW] from the Bridge of the U.S.S. Enterprise [NCC-1701].
[Galaxy S 4 General] andy hall:
Which regions are you in? I thought QC1 was Nordic sorry something similar.
[Galaxy S 4 General] lekiaM:
Western Europe (Netherlands) Provider T-Mobile (Dutch)
[Galaxy S 4 General] JerwinSayat:
I agree to this though i have tested the who mobile data coz Im always at home using wifi. But the signal reception is exeptional back in PK2 and QA1 im having signal drops at night but with the QC1 it is all stable signal ( always3-4 bars)

South east asia (Philippines) - TM (Globe)
[Galaxy S 4 General] Hemuli:
I'm starting to get a bit desperate with this 3G problem. :D I tried ticking "Phone EFS Clear" and the partition was rebuilt properly. I also tried installing modem and NON-HLOS with heimdall. I'm now wondering if the problem is with some of the other partitions. No firmware update includes images for those partitions. Are these partitions (or the files inside them) automatically created if they don't exist or are they supposed to never clear? The full partition layout of I9505 can be seen here https://xdaforums.com/showthread.php?t=2342841

E: I don't think Odin supports flashing bare .mbn files as the guide in the 2nd post suggests.
[Galaxy S 4 General] y0.o!:
XXSPQA1 –LATEST--

Some users got a 'no simcard' error when using this version, so try with care!

_-_-_-_-_-_-_-_-_-_-_-_-_

GSM

NON_HLOS

GSM & NON-HLOS

BOOTLOADER

_-_-_-_-_-_-_-_-_-_-_-_-_

The downloads for this version have been deleted. Can someone reup them please?
[Galaxy S 4 General] rockah:
Qc1 is gonna be added to the opening post?
[Galaxy S 4 General] Kippy51:
That's up to [MENTION=6082440]_Bon_Bon[/MENTION], but you'll find the BL and combined modem here https://xdaforums.com/showpost.php?p=71949258&postcount=632. I've flashed them and everything is working.
[Galaxy S 4 General] _Bon_Bon:
They were deleted because they're not the latest anymore and they've caused a lot of issues for some people.

They were supposed to be up yesterday, but Libre Writer said no, and deleted all the data from my document while saving. I'll rewrite it later today :good:
[Galaxy S 4 General] _Bon_Bon:
Did you try the repair firmwares suggested a few posts back? I'm adding the last pits to the guides now and it would be nice to know that those work.

Yeah, funny, as it supports flashing bare .bin files, so I assumed .mbn are supported as well :D I'll fix that too on the next update
[Galaxy S 4 General] Kippy51:
That's what you get if you insist on using Linux ..... :cool:
[Galaxy S 4 General] Hemuli:
Yeah, I used SamFirm to download I9505XXSPQA1 firmware and I9505NEEPPH2 CSC. It has the following partitions:

[LIST]
[*][B]BL[/B]
[*]aboot.mbn
[*]sbl1.mbn
[*]sbl2.mbn
[*]sbl3.mbn
[*]rpm.mbn
[*]tz.mbn

[*][B]AP:[/B]
[*]boot.img
[*]recovery.img
[*]persdata.img.ext4
[*]system.img.ext4

[*][B]CP:[/B]
[*]modem.bin
[*]NON-HLOS.bin

[*][B]CSC:[/B]
[*]JFLTE_EUR_OPEN.pit
[*]cache.img.ext4
[*]hidden.img.ext4
[/LIST]

Thus, there are many partitions that are not touched. I found these pages that explain most partitions pretty well:

https://xdaforums.com/showthread.php?t=1959445

https://xdaforums.com/showthread.php?t=2617276

I could try to download with a different region so that I would get something other than XXSPQA1... I also haven't flashed anything but modem and NON-HLOS with heimdall so maybe I should try bootloader too.

E: I also sometimes encounter the "No SIM card" situation.
[Galaxy S 4 General] rockah:
Ty!
[Galaxy S 4 General] _Bon_Bon:
Oi! I'm using windows, and it's windows that broke the connection with my fileserver while saving :p

So, you've flashed the PQA1 files and after that your phone refused to use / connect to 3/4G or LTE?

I checked the pictures you gave on your phone and they don't have any clear marks of breakage.

Have you tried reflashing the PQA1 files, flashing other files, repartitioning your phone

(with some firmware with it. Without a complete firmware package, repartitioning does nothing)

flashing the repair package and other complete firmwares?

Try both with Oding and Heimdall

The heimdall package should come with zadig and details on how to use it. It would be anticlimactic to find out all this trouble is caused by some faulty drivers :D

Also try flashing any other modem & bootloader files than the XXSPQA1 ones, as those are clearly not going to work. As many as you can, and check if any of them stick, with and without repartitioning

That list you posted has all the important partitions. I included a txt file bellow with all the partitions and their filenames (if any) if you wan't to check it.

Other than that, I'm really out of ideas. If a complete overhaul doesn't fix your phone, I'm inclined to say it's a hardware bug :/

View attachment NAMES.txt
[Galaxy S 4 General] _Bon_Bon:
Thread update!

Added the latest XXUHQC1 files

Small grammatical changes

Small cosmetic changes

Removed .mbn files from Odin guide, as Odin doesn't actually support choosing them

Thanks [MENTION=5592554]Hemuli[/MENTION] ;)

(Finaly) rest of the S4 familys files will be added soon. All the files are ready and uploaded, I only need to add the links to them :good:

With that update the third post should also be finished
[Galaxy S 4 General] _Bon_Bon:
Hey [MENTION=4877730]Corduroysack[/MENTION], could you add this info to your firmware download guide here? It's quite usefull!

Or if you can't / don't want to update your post anymore, can I just copy n' paste it straight to the OP?
[Galaxy S 4 General] Hemuli:
I've tried repartitioning with Heimdall but it fails with SECURE CHECK FAIL : (PIT) in download mode. If I untick repartition, the flash will be succesful but the system partition will be unmountable. I tried with a couple different firmwares, with files for all the 14 partitions. I have installed the WinUSB (v6.0.1.0) driver with zadig for that USB port.

I also noticed that if I had first installed XXSPQA1 firmware with odin and then XXUHCQ1 BL and CP files on top of that with heimdall, I was able to surf the web etc even with HSPA+. But the data flowed only in bursts

so that Speedtest would usually fail. It's also notable that the upload speeds in LTE are very bad whenever I get the connection anyway. If I then changed only the CP files to an older version, it would work just the same (I think I tried PA1 for this).
[Galaxy S 4 General] _Bon_Bon:
The driver is supposed to be WinUsb 6.1.7600.etc

You don't happend to be using windows 10 maybe even the insider previews? I just tried heimdall and it's giving all sorts of errors. My s4 is on the XXSPQA1 too and I had to reformat it when I updated. Zadig seems to be unable to install the proper winusb drivers. I'm just ran Odin but that too failed at "Get PIT for mapping." Maybe it's windows breaking things.

Edit-

I replugged the cable and this time chose the pit file, that came bundled with the repair firmware I'm flashing. Odin seems to run fine, but we'll see.

Maybe just the pit file I gave you is faulty.

I'm using the XEF repair firmware that was mentioned few posts back with a guide on how to download it with samfirm.

Edit two-

Checked the pit files, the one I posted has an extra newline at the end, but otherwise they're identical. My phone flashed, boots and works fine on the stock samsung bloatware (krhm) atm. I even flashed the QC1 files on top of it and it's all fine.
[Galaxy S 4 General] Hemuli:
I'm using Windows 10 with the latest Creators update. Did you install the driver for Gadget serial or MSM****? I installed it for MSM****. I've tried many pit files, including ones that came with firmware packages. I'm able to flash just fine with Odin.

I thought you were supposed to give your own CSC in place of XEF in SamFirm. Isn't XEF just the French country code?

I analyzed every pit file I found with PIT Magic. It seems that the tables are the same even for KK firmwares. The 8 KB ones are probably just filled with zeros because they are read from the device?
[Galaxy S 4 General] _Bon_Bon:
I installed it on MSM, i unplugged everything else just to make sure it was the right one.

You are, but as I've checked the XEF one works, you could try that one.

The pit file I gave you, that is 8kb in size, is otherwise identical to the 5kb pit file I got from the repair firmware, there's just an newline at the end. Even the pit file I pulled with heimdall from my phone is 8kb in size. Maybe heimdall adds that extra space? But I think it's safer to use the 5kb one.

Edit-

The 8kb file is faulty, I had to use the 5kb one to get repartitioning working. Otherwise everything works when using heimdall on linux. I'll upload the new file and update the OP at some point.

If you want to try using linux on a VM and need help setting it up, PM me to not clutter this thread.
[Galaxy S 4 General] vkopzon:
Now I've tried this method. Nothing changed. Only 2G connection.

I've tried TriangleAway also, but it does nothing. Looks like it don't work on 5.0.1 stock. May be I should try to downgrade to 4.0 to use it.
[Galaxy S 4 General] Hemuli:
I don't think TriangleAway will help here as I've had download mode say that I'm on Samsung official firmware but I couldn't fix the problem. I'm at the moment able to download web pages slowly with H+ connection. If you want to try to replicate, install XXUHQC1 bootloader files and XXUHPK2 modem and non-hlos with Heimdall. Then install Optimized rom (I chose stock kernel). HSPA, HSPAP and LTE are working partially for me (but not usably). The rom probably doesn't matter too much.

E: This may sound weird but I noticed that I can pass speedtest almost all the time if I remove the back frame and speaker module which are held by screws. :confused:
[Galaxy S 4 General] vkopzon:
Thanks for suggestion. It doesn't help in my case, still only 2G!

I would gave up saying it is a h/w issue and time for 9505 to die, but the fact that it started on two 9505 after flashing XXSPQA1 makes me crazy :)
[Galaxy S 4 General] vkopzon:
Can anybody share its *#0011# status? Probably that's not the issue, but IMEI CERTI: NA line looks strange. I've tried to restore IMEI partition, and see no impact.
[Galaxy S 4 General] Ibuprophen:
I remember someone else asking about this a while ago but, i can't remember where in the forum it is.

I believe that the IMEI CERT NA = IMEI Cerificate or Certified North America or North American.

I did a quick search and, i believe, one of the following links will help you or, at least, point you in the right direction.

https://xdaforums.com/galaxy-s4-tmobile/development/tool-antaresone-s-imei-backup-restore-t3017768

https://xdaforums.com/galaxy-s4/i9505-develop/tool-antaresone-s-imei-backup-restore-t2975136

https://www.sammobile.com/forum/showthread.php?t=22514

http://forums.androidcentral.com/samsung-galaxy-s4/389412-samsung-galaxy-s4-invalid-imei.html

http://www.galaxys4forums.net/forum...-galaxy-s4-sgh-i337-imei-certi-na-normal.html

I wish you the best of luck!

"Live Long and Prosper..."

~Ambassador S'chn T'gai Spock

Sent via Communicator [D2VZW] from the Bridge of the U.S.S. Enterprise [NCC-1701].
[Galaxy S 4 General] vkopzon:
Thanks, I saw those. It doesn't help :(

---------- Post added at 07:30 PM ---------- Previous post was at 07:26 PM ----------

Interesting:

I've flashed XXSPQA1 baseband and ' IMEI CERTI: NA' disappeared!

Still only 2G access. i've reflashed full 4 part f/w with repartition. Doesn't help.

I'd like to flash full XXSPQA1 based repair package, but how to find it? What country code will have it?
[Galaxy S 4 General] Hemuli:
At least NEE. Didn't help me though. I think that I only get to 3G or LTE if I'm really close to the access point. And even then the upload speeds are really low, while the download speeds are normal. This leads me to think that the radio transmit power is somehow set to a low setting.
[Galaxy S 4 General] Ibuprophen:
I wonder if that is linked to the SIM State as being active, inactive, compatible with the Baseband, etc...

"Live Long and Prosper..."

~Ambassador S'chn T'gai Spock

Sent via Communicator [D2VZW] from the Bridge of the U.S.S. Enterprise [NCC-1701].
[Galaxy S 4 General] Kippy51:
Well guys, for what it's worth I tried XXUHQC1 for a couple off days, but just now went back to my trusted XXUHPA1. My wifi connection on PA is better and stabler than on QC. Phone conversation-wise I couldn't tell the difference. But everybody has to try it and see what works best for them!
[Galaxy S 4 General] ralfbergs:
No, it doesn't work this way. ;)

There's constant sending activity of your mobile towards the base station ("tower"), so if there was an issue with too low transmit power, then basically nothing would work, the tower simply wouldn't "hear" your mobile.

Are you sure that low upload speeds are not simply "normal" in the cell that your mobile is attached to? I've seen this a couple of times also (with different mobiles), download speeds were great, but upload speeds were extremely slooooow.
[Galaxy S 4 General] Hemuli:
Well the upload speeds with my SGS2 are always over 1 Mbps, while on SGS4 they rarely exceed 0.02 Mbps even in LTE. And I don't always get a connection at all, and when I do, it might take a minute to set it up. If it is succesful, phone calls will not work and loading a web page or starting a speedtest run will take a minute. So I'm pretty sure there are transmit problems and a packet will reach the tower only every now and then. Well, the packet might as well get lost in the signal processing or anywhere.
[Galaxy S 4 General] Hemuli:
I tried XXSHQ1 and lost 2G, too. Got it back after some flashing. I'm wondering if the letter after XX has nothing to do with region. For example South American firmware has changed from VJU to VJS, too. I've got nothing to back this up with but: U=unlocked, S=secure, perhaps? Other Samsung devices have seen the change from U to S, too.

E: Or S=signed?
[Galaxy S 4 General] JerwinSayat:
Im at the latest OTA for my country (Philippines) look at the screenshot. And when im flashing twrp via odin it wont let me boot to recovery. Maybe because its XXS "S=Secure"? Not having problem when im in XXU.

Thats why im on stock lollipop rom right now. Haha cant explore roms again. Maybe ill download older versions.
[Galaxy S 4 General] MohammedMB:
didnt work for wifi

I have GT-I9505. I tried many times to fix the wifi like pull the battery and *#0011# . . . it works some times but i try to update the bootloader and the modem but its not working at all now didnt work for wifi i think the problem is just from the modem update because its not just wifi and bluetooth, the hotspot and the IR LED didnt work too.

can you help and thanks.
[Galaxy S 4 General] DSA:
modem isn't related to WiFi - the kernel is. Modem is for signal/4g

What rom are you on, what have you flashed?

Your other issues sound like you have a hardware issue.

Plus, the thread you have created for this same issue should be in Q&A not general.