yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 General] alrakie:
yeah i checked. my phone baseband is different, not listed there

i flashed 3 times original firmware (stock rom file ver 5.0.1, downloaded from sammobile), everything go normally and after i finish flashing successfully and the phone start booting, it doesn't continue then restarts again, i have to remove battery to stop it.

I have an important notice, after flashing firmware successfully installed and odin finishes, the android avatar (as in attachement) appears on screen as if finish loading something then doesn't continue and phone start looping again

I also noticed when i put the phone in fridge 10 minutes the looping starts after longer time, i could open the phone and while setting the language start reboot loop again. i doubt in hardware , heating issue

I asked about bootloader because i doubted that the issue in it, but seems not, cause you told me the firmware is complete with bootloader.

today i flashed pit file, but the booting loop doesn't stop

my phone was rooted and working well without problems before that issue happens.

thanks for help
[Galaxy S 4 General] Kippy51:
Does that Android avatar have a thin blue line under it going to the right? If yes, it means it's installing the firmware. If it doesn't finish, the firmware is not installed properly and could be the reason for not booting. Why not download another - older - firmware and try to flash that. Maybe the ROM is the problem!

Sent from one of my Sammy devices
[Galaxy S 4 General] -Deco-:
Probably not the best course of action of putting your phone in the fridge. Attempt to boot the phone while it is charging on AC; if successful then there is a problem with the phone battery.
[Galaxy S 4 General] alrakie:
exactly yes.

i will try to flash older firmware :good:

---------- Post added at 05:28 AM ---------- Previous post was at 05:21 AM ----------

unfortunately, the same problem with AC connected, i got today other new battery, charged till 100% with the same phone but also restarting.

my doubts directed into hardware problem after putting putting it in fridge, cause worked longer before starting, i noticed that the phone becomes warm around the camera and flash while carrying in my hand during booting and restarting. I do not know if the normal or abnormal and the cause of the problem
[Galaxy S 4 General] alrakie:
the issue is solved finally, i'd like to share with you in case anyone faced a similar problem.

As expected it is hardware issue, today i went to fix it at samsung hardware specialist shop, he told me the problem in mmc chip and to fix the problem, he has to change the whole board ( i attached)

now phone fixed and working finally :)

[IMG="mmc1"]https://dl.xda-developers.com/3/9/8/9/6/8/3/20170104_032128.jpg?key=6Vd--UC4X9kjTjdNR2JFqg&ts=1483493571[/IMG]

[IMG="mmc2"]https://dl.xda-developers.com/3/9/8/9/6/8/4/20170104_032141.jpg?key=meWvWfNMcNN8T71G1bTsfw&ts=1483493604[/IMG]

thanks very much to eveyone tried to help specially Kippy51, Bon Bon and Deco
[Galaxy S 4 General] Jacen Solo 95:
So I've come across a "slight" issue.

I just flashed the latest bootloader and modem versions (XXUHPK2) onto my I9505, everything seems fine, the baseband version is correct, I checked the bootloader version with ADB and it's correct, but I just realised that the WiFi is off. And when I try to turn it on nothing happens. I restarted and no change. When I click the toggle to turn it on, it just slides a teeny bit to the right and then immediately goes back to off. Has something gone wrong while I flashed NON-HLOS? Should I flash an older version? Is it okay if the NON-HLOS is a different version to the GSM?
[Galaxy S 4 General] Kippy51:
I always use the combined file (modem + non-hlos). You can try re-flashinging the non-hlos on its own, or try another one. Different BL and CP shouldn't be a problem. Haven't tried this last one yet, as I always seem to go back to the PA1 - works best for me.
[Galaxy S 4 General] Jacen Solo 95:
Hmm... okay. Thanks :)

Since you seem to have no problems with PA1, I'll flash that. Will report back with what happens :)
[Galaxy S 4 General] Jacen Solo 95:
Well, shoot. Nothing. Same thing. Flashed PA1 just fine as well. Data works fine, but Wifi still doesn't... Now what do I do :(

Edit: Well that's weird. I tried turning on Mobile Hotspot and it gives me the warning that Wifi will be turned off, and then does nothing. But now unlike the Wifi button which is the normal colour, the hotspot is half green like when it's turning on. And if I go to the hotpost settings and toggle it, the toggle moves to the right but then freezes and greys out and I can't untoggle it...

Edit edit: Now both the Wifi and Hotspot buttons are half green and they both have greyed out toggles. Will try restarting...
[Galaxy S 4 General] cricriadi:
older i9505?
[Galaxy S 4 General] Jacen Solo 95:
What do you mean? This is just a normal GT-I9505
[Galaxy S 4 General] aeon senpai:
Im planning to update both my bl and modem, but im in a custom rom(cm13). Is it possible to flash both bl and modem in it? Has anyone tried it?
[Galaxy S 4 General] Mynacol:
If you have an i9505 you can only flash both of them in download mode, so Odin or Heimdall is needed and the ROM is uninvolved

I have recently updated both also on cm13 (the Optimized variant from JDCTeam) with Odin without any problems. I haven't noticed both updates but this can be depending both on ROM (cyanogenmod is quite relaxed) and (for Modem) on your local situation and carrier.

Hope this helps/works

Edit: If something has changed, then in a positive way
[Galaxy S 4 General] aeon senpai:
Ok thanks for the tip. Will try that later.
[Galaxy S 4 General] andy hall:
You are installing combined (non-hols and modem) and bootloader at the same time, have you tried flashing again, sometimes takes 2 belts to get it in (so to speak)
[Galaxy S 4 General] cricriadi:
i mean, 4.2.2 bootloader
[Galaxy S 4 General] Jacen Solo 95:
I flashed the combined modem and bootloader first

But then I flashed just PA1 combined to see whether that would fix it. It did not

No. The bootloader is upto date.

So Bootloader: XXUHPK2

And combined Modem: XXUHPA1
[Galaxy S 4 General] andy hall:
They have to be the same bootloader and modem and WiFi patch.

I am on hpk2 for all and is working OK.
[Galaxy S 4 General] Kippy51:
I'am sorry to disagree; what about the guys with locked bootloaders? They can only flash modems. In the OP [MENTION=6082440]_Bon_Bon[/MENTION] says as much: 'flash same bl and cp, but if modem doesn't work, go older.' Personally I too flash both the same and if it's not better I flash an older set (both), but I don't think it's mandatory.
[Galaxy S 4 General] andy hall:
Fair point, have to was too strong.

And it does suggest starting at the top with modem and non-hols and working backwards until you find something that works.

Perhaps a better thing would have been to ask which region?

Ask for opinions from locals?
[Galaxy S 4 General] _Bon_Bon:
That sound like a kernel issue to me, so maybe try reflashing your kernel and/or rom.

Or try using Heimdall, I assume you've been using Odin for the flashing process.

If those don't do the trick, you could try repartitioning. It helped my phone a while back, but it was on another modem bootloader combo. I've posted the most up-to date .pit file for the I9505 here, so you can go back and look for it. But be carefull, repartitioning WILL format your data, so have a recovery and your rom at hand, for reflashing. And you might want to backup your data too ;)
[Galaxy S 4 General] Jacen Solo 95:
Great, so lose everything... I was hoping to avoid that... :(

Do you think downgrading the modem further might fix it? Or do I have to flash a new kernel?

For some reason Heimdall refused to work with me, hence why I was using Odin.

Also following some advice in a similar thread, I deleted the wifi_supplicant.conf file in Data/Misc/Wifi

It was supposed to make a new one upon restart but that never happened. Does that help in anyway?

If all else fails and I do have to flash a new kernel, what would you suggest and could you point me in the right direction? Would be really appreciated. :)
[Galaxy S 4 General] _Bon_Bon:
Missing the conf doesn't help :/ It should be recreated when your wifi starts, so that just confirms it's probably a kernel bug.

Just reflashing your current kernel could or maybe even should fix your problem, so try that first.

That should also then fix the .conf file, if not, reflash your rom also :good:

After that you can try to flash the PA1 modem combo, it's tested and should work.

If all else fails, you can try to shift to the JDCTeam roms, maybe try the AOSP one? I think it's really stable.

And if all else fails, again, you might have to try and repartition your phone, but we can talk about that more later, if things come that far.
[Galaxy S 4 General] Jacen Solo 95:
Wrong thread?

Okay sorry I never replied. Had a whole buncha work and exams and assignments, but now I'm mostly free. I have somehow managed to live with using ONLY data on my phone for nearly 2 weeks now :eek:

Anyway, I'll be trying to fix it tomorrow and I'll report back with how it goes :fingers-crossed:

Okay a couple more questions sorry :(

1. Where on earth do I find the stock kernels!? :crying:

Are their any threads here? Cause I can't seem to find any for the GT-I9505. It's all for different variants and all way outadate...

2. Since I can't seem to find one I figured I would extract it from a stock firmware off sammobile: https://www.sammobile.com/firmwares/database/GT-I9505/

But then I realised that I don't even know which firmware I should be getting or even which firmware I'm on. Does it even matter? What are the differences between the firmwares? :confused:

3. Would just getting a kernel off an AOSP ROM like you mentioned work? Or does it have to be stock?

Sorry again. I don't really know where to ask this :(
[Galaxy S 4 General] Kippy51:
Let's not make it more complicated! Just flash the latest official firmware from Sammobile for your region; it will probably be KitKat or something, doesn't matter. Try your phone for a while on that, try wifi, data etc. If all is well, you can re-flash TWRP and flash a ROM of your choice. If everything still works or if you have problems with wifi/data, you can flash another modem/bootloader from this thread.
[Galaxy S 4 General] IdieBoue:
Hi to all.

I have a "situation" that is confusing to me, and I hope that someone would provide the explanation. I try to update my bootloader and modem using guide and files from this thread, but every single time I`ve got FAIL in ODIN. I`ve tried several different versions of odin, and also a 3 different versions of MODEM and Bootloader, but none was succeed. I tried to flash modem and bootloader at the same time, than one by one, but nothing. Also, I try to flash modem and bootlader with and without pit file (some versions of odin dont have a pit file button), but FAIL every time. I believe that, when it comes to that red fail, that it sas "NAND WRITE ERROR" or something that has to do with NAND but not really sure, cause in that moment I was panicking. To things been even worse, 2 times I`ve got "firmware encounter an error...bla bla" and my phone was temporarily bricked, but fortunately I was managed to resolve that with flashing PIT file only(I found that solution on some thred here on xda, but don`t know exactly wich one).

My phone actualy working, I`ve got signal, my wifi work, but I just wanted to have latest versions. Anyway, I give up from that procedure after resolving second "firmware ecounter error..." sitution, cause I am scared to try it again.

And just now, I`m checking Samsung Phone info app(from play store) and realise that my bootloader was actualy updated.

Now it`s like this:

Bootloader version: I9505XXUHPK2 (before my update experiments it was: I9505XXUHPF3)

Rest is the same as it was, not updated.

PDA: I9505XXUHPA1

CSC: I9505VFRHPA1

Baseband: i9505XXUHPF3

Now I am confused. Is this combination of different versions of bootloader, modem, baseband OK?Can I leave it like this or do I need to change something? Also, I`m not sure how my bootloader was updated when it gave me FAIL every time.
[Galaxy S 4 General] Kippy51:
If it works don't fix it ... :good: You're allright with different versions of modem and bootloader (modem = baseband) and CSC = 'country specific code'. Maybe your pit-flashing updated something, maybe _Bon_Bon knows. Lastly, the NAND error sounds like a hardware problem to me, but I'am no expert!
[Galaxy S 4 General] IdieBoue:
Well...I fix it...I feel extremely stupid right now, but also I feel obligated to tell what the issue was. My problem was that I put modem tar file into AP slot instead of CP where it actualy goes. Yeah, I know...I also change usb port, and use a shorter cable...In my defense....aah...nothing to say :)

I am happy that I didn`t f***d up something permanently.
[Galaxy S 4 General] Kippy51:
We all make mistakes, glad you fixed it!
[Galaxy S 4 General] andy hall:
OH Yeah big time :D
[Galaxy S 4 General] sheikallaudin:
Yes
[Galaxy S 4 General] fsixda:
Del.
[Galaxy S 4 General] Jacen Solo 95:
I know it's been forever, but I finally got the time and did this.

And guess what. The WiFi still doesn't work. Yay! :mad:

It doesn't even toggle on the setup screen... This is so maddeningly annoying
[Galaxy S 4 General] Ibuprophen:
Just a quick question to anyone who may know...

Can firmware drivers be extracted from a manufacturers image file and be compiled into a flashable zip file.

For 1 example, the modem Firmware Driver update...

Or does it need to be extracted from a device that has that image already installed?

I've done many things as a Dev but, never something like that.

Thanks a Bunch!

Peace and Love!

Peace and Love!

~Ringo Starr~

Sent on my Communicator [SCH-I535] from the Bridge of the U.S.S. Enterprise...
[Galaxy S 4 General] Kippy51:
You mean you flashed a stock ROM and WiFi still didn't work? If so I would say it's a hardware issue. If not: what steps did you take? What ROM are you on? Which BL/cp? To be able to help we need info, we don't have a crystal ball ....
[Galaxy S 4 General] Ibuprophen:
I didn't flash anything.

I just asked about extracting Updates like the Modem Firmware (for example) to create a flashable zip to update a devices Modem Firmware.

Peace and Love!

Peace and Love!

~Ringo Starr~

Sent on my Communicator [SCH-I535] from the Bridge of the U.S.S. Enterprise...
[Galaxy S 4 General] laupuy:
Hi,

take a look post#3

3.5.1 I9505 Creating flashable .tar files manually

1. Download the preferred firmware using some method above

2. Extract and locate the modem files from the downloaded firmware: modem.bin & NON-HLOS.bin

3. Compress them into a .tar file using a compression program, like 7zip

(...)

;)
[Galaxy S 4 General] Ibuprophen:
But, the flash file will need to have the installer commands in order for the system to know where to place the files in its proper place.

Peace and Love!

Peace and Love!

~Ringo Starr~

Sent on my Communicator [SCH-I535] from the Bridge of the U.S.S. Enterprise...
[Galaxy S 4 General] laupuy:
[MENTION=4828250]Ibuprophen[/MENTION]

I'm not sure I understand ...

You need to flash modem and/or bootloader with Odin

post#1

1.2.1 Updating using ODIN

(...)

3. Press CP and locate your modem .tar / .bin file

4. Press BL and locate your bootloader .tar / .mbn file

(...)
[Galaxy S 4 General] Kippy51:
You mean you flashed a stock ROM and WiFi still didn't work? If so I would say it's a hardware issue. If not: what steps did you take? What ROM are you on? Which BL/cp? To be able to help we need info, we don't have a crystal ball ....

[MENTION=4828250]Ibuprophen[/MENTION]; sorry, wasn't ment for you ... the quote didn't show up ..
[Galaxy S 4 General] Ibuprophen:
Thanks a Bunch!

The thing is that i have 2 devices that the manufacturer had released newer ROM's but, i don't want to flash the whole thing in ODIN...

I was looking to extract a few updates from them (like the modem and a few others) and create a zip file to flash those updates in TWRP.

I was just asking for a bit of guidance as to what exactly am I looking for in the manufacturers tar.md5 ROM to extract the necessary files and create the update.zip file for flashing.

I can provide an example zip file that reflects a modem update that gets flashed in TWRP to update just the modem Firmware.

I'm trying to explain it the best i can... LMAO!!!

Peace and Love!

Peace and Love!

~Ringo Starr~

Sent on my Communicator [SCH-I535] from the Bridge of the U.S.S. Enterprise...
[Galaxy S 4 General] Jacen Solo 95:
Oh sorry Kippy. All the information is way back in this thread, cause I never had the time to properly try what people told me.

So basically, I flashed the latest (combined) modem and bootloader and it installs fine, but I discover that my wifi now isn't working. Won't toggle on, instead sliding a bit and then going back to off. Same issue with the mobile hotspot. Everything else seems to be working fine though. I tried downgrading to an earlier (combined) modem but no effect.

Then you said this:

:p

So I did this, (couldn't find firmware for my region though, so just flashed the original UK firmware which the phone came with) and everything works again, except for the wifi and mobile hotspot. A side effect though, my standby time has vastly improved, which is wonderful, so everything isn't all bad :D

Next I have to try this :crying:
[Galaxy S 4 General] Kippy51:
Well, if wifi still doesn't work, trying _Bon_Bon's suggestion might be it. But it could also be a hardware defect ...

Let us know the outcome!

Edit: did you check the bootloader and modem of that phone?? [emoji12]
[Galaxy S 4 General] marko.dnb:
I can't update modem and bl...I currently have HOJ2, tried to update to latest ,HPK2 - odin says PASS. After i booted phone it still says HOJ2. This also happened to me last year with other modem and bootloader. Can someone tell me what's the problem? :)
[Galaxy S 4 General] Mynacol:
Try flashing two times directly after each other.

For this you have to disable "Auto Reboot" in Odin, flash the first time, pulling out the battery and then flashing again the same files.

Report if it worked
[Galaxy S 4 General] marko.dnb:
It worked! :highfive:
[Galaxy S 4 General] Mynacol:
Congratulations!:highfive:
[Galaxy S 4 General] H0sseiN:
Why XXUPPI1 is NOT RECOMMENDED ?
[Galaxy S 4 General] andy hall:
If memory serves me well, you have to repartition the device to use it which can be a pain..

This is not required for the rest.
[Galaxy S 4 General] Adidas108:
XXSPQA1 is out
[Galaxy S 4 General] xell75:
For which phone? And it not looks like an international
[Galaxy S 4 General] Kippy51:
If you break it down like in _Bon_Bon's OP you would get:

XX: international region

SP: android version, maybe Marshmallow? Don't know this one

Q: is the year in alphabetical order, Q is the 17th letter, thus 2017

A: is the month, again in alphabetical order, thus it’s January.

1: is the revision. In this case 1st
[Galaxy S 4 General] xell75:
Okay thanks! But where you found it? I can't find anything related to a S4 FW when I search it in Google.
[Galaxy S 4 General] Adidas108:
HERE

its latest firmware for s4 i9505
[Galaxy S 4 General] xell75:
Thanks mate
[Galaxy S 4 General] Kippy51:
Now just waiting for [MENTION=6082440]_Bon_Bon[/MENTION] to extract them .....

Sent from one of my Sammy devices
[Galaxy S 4 General] Adidas108:
maybe is stupid question but can we just replace files from previous bootloader and modem tar archive with new one??
[Galaxy S 4 General] _Bon_Bon:
Thou have summoned me!

I'll get to it later today :P

Basically yeah, but if it is a new android version things might be a tad more complicated.

Edit-

Ok, its not a new android version :D

But I'll still upload the files once I get home.
[Galaxy S 4 General] _Bon_Bon:
So updato won't let me download the file atm, but I'll upload it as soon as I can download it :good:

I don't actually think that it is an international version, but a nordic one.

But as far as I know, those should be almost as good, so I'll test it. If nothing else, other regions should get the same update later ( I hope)

[MENTION=6492503]Kippy51[/MENTION] There's actually an error in the OP, the XXU is the region and 'H' only is the android version.

This and puch of other stuffs will be fixed/added, once I get the MoBo_Maker updated ;)
[Galaxy S 4 General] xell75:
[MENTION=6082440]_Bon_Bon[/MENTION] XXUHQA1 is out for the GT-I9505
[Galaxy S 4 General] _Bon_Bon:
Told you :D

I'll upload this one instead :good:
[Galaxy S 4 General] xell75:
Great mate! :D
[Galaxy S 4 General] _Bon_Bon:
[MENTION=2239974]xell75[/MENTION] I couldn't find a download for the XXUHQA1, but Updato finally let me download the XXSPQA1 ones so here are download links for them instead.

I've tested them and they seem to work fine. :good:

XXSPQA1 --LATEST-ISH--

GSM

NON_HLOS

GSM & NON-HLOS

BOOTLOADER

I'll add them to the OP once I have some more time

Edit--

Some users got a 'no simcard' error when using this version, so try with care!
[Galaxy S 4 General] xell75:
Tried that and got No Sim Card problem, even after several reboots and took out battery.

Flashed back HPK2 and now it's working again. (O2 Germany Sim Card)
[Galaxy S 4 General] Mittaa:
!!! Confirmed - No Sim Card problem !!!
[Galaxy S 4 General] _Bon_Bon:
Huh, that's strange...

Have you reformatted your phones resently?

I moved back to my S4 and I reformatted and rebooted my phone before I flashed this version. No problems so far. You could try that, or just stick with the older version.

If a third person can confirm the issue, I'll mark them as not recommended. I'll just add a notice for now.
[Galaxy S 4 General] Adidas108:
work just fine here
[Galaxy S 4 General] Mittaa:
Could you make the latest NEE so I can try that out ?
[Galaxy S 4 General] _Bon_Bon:
These are the latest baseband version used on NEE, and you can find all of them from here already :D

I also noticed that both I9505XXUPPI1 and I9505XXSPQA1 "android versions" are P instead of the H, maybe that's why you have to have recently reformated your phone for them to work :confused:

I'll check if the newest version has a new PIT file to play with.

I also noticed that I can mount modem now on TWRP. I haven't used this phone in a while, so I'm not completely sure if thats old news or not, but if somebody wants/needs, I can extract the modem files and upload thme here.
[Galaxy S 4 General] Sethide:
I had the same issue with XXUHPK2 on 5.0.1.

I installed CM14.1 for Galaxy S4 Jfltexx (GT-I9505) by BenLue

It fixed the issue. I understand it is not an ideal solution... but it worked in my case, I wanted to flash to a new ROM from my stock rom on 5.0.1 anyway.

I thought the XXUHPK2 NON-HLOS and/or MODEM broke my WIFI but it seems it was not the case.

Thank you!

I flash XXSPQA1 after I updated my ROM, WIFI and 4G still working! :)
[Galaxy S 4 General] Mynacol:
Hey,

I've found this firmware on Updato and was confused. Please look at it, maybe it's a new modem/bootloader?

#################

Country/Region

Nordic countries

Product Code

NEE

OS Version

Lollipop(Android 5.0.1)

Release Date

16.02.2017

PDA

I9505XXSPQA1

CSC

I9505NEEPPH2

Phone

I9505XXSPQA1

####################
[Galaxy S 4 General] Kippy51:
How about looking at the post before yours????

Sent from one of my Sammy devices
[Galaxy S 4 General] Mynacol:
Ah sorry for annoying you:D