yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 General] Retrial:
Ok much better now, I understand.

Check if Modem and Bootloader flashed correctly. Install apps like Device Info HW or Phone INFO and make sure Modem and Bootloader have the correct version.

For a proper clean installation you need the guide "COMPLETE GUIDE TO CLEAN INSTALL A CUSTOM ROM NOT FROM SCRATCH" from the OP. Read that and follow the proper steps.

If you still don't have LTE, check the Mobile Network settings. Settings--->Network & Internet--->Mobile Network--->Advanced--->Preferred network type--->Select LTE.

If you still have problem please report that at Optimized LineageOS 16.0 Thread and in the meantime switch back to the Modem and Bootloader you was to see if you have LTE.
[Galaxy S 4 General] urukususu:
hello, i have an issue, when i try to install the ROM, after follow all the passages up, it happen the error 7.

This is the sentence:

Update process ended with ERROR: 7

Error installing zip file '/exyernal_sd/XXXXXX name of ROM XXX.zip'

What should I do? I have done the process from 1 to last passages for 3 times from 0.... every time the same problem.
[Galaxy S 4 General] Retrial:
Which TWRP version do you have?

Which ROM are you trying to flash?

Have you tried to re-download the ROM? Probably corrupted file.
[Galaxy S 4 General] urukususu:
TWRp 3.3.1-1 DOESNT WORK, i flashed the same one 3.3.0 JDC and work.

ROM is optmised lineage 16.0

i will retry to download again the ROM but it is really unprobably that the rom is corrupted, because yesterday i tryed with the lineage nightly from the official site, and it happened the same error
[Galaxy S 4 General] kurkawodna:
Thank you. he is still passionate about where soda has not hit his head and wants help. factory reset, odin and flesh I9505XXUHPK2_I9505XEOHPL1_XEO still EDGE no LTE. CLEAN INSTALL as you wrote. another room?
[Galaxy S 4 General] ihp140:
Thank you :)

I found a video in youtube ("Fixing a GPS/WIFI chip of a Phone - on a budget!" from "Random Thingy Tank" channel) that may help someone who want to convert his i9515 to an i9505.
[Galaxy S 4 General] SportyRydr:
Are these bootloaders knox-free? Only reason I ask is because the last time I updated my modems, I didn't realize the file contained the bootloader too, and it had knox. I couldn't go back to my original bootloader, so now I get the "warranty bit" message whenever I boot. And that was the 2nd try after the first file I downloaded contained a virus!

Thanks for providing all these resources!
[Galaxy S 4 General] Retrial:
What S4 variant do you have and what ROM and Kernel are u using?
[Galaxy S 4 General] SportyRydr:
I have the Sprint variant, SPH-L720, current ROM is OctOS N 3/31/2017 and the kernel is that included in the ROM.

P.S. Thanks for the fast response! Sorry for my slow response; I'm subscribed with instant email notifications, but didn't get a notification. :confused:
[Galaxy S 4 General] Retrial:
Hehe np. Sometimes xda doesn't send email notification, I don't know why too xD

So about your problem..

The "warranty bit" etc message during boot is probably because of the custom kernel which include in the ROM you have. So it's normal.

If you flash stock ROM which include the stock kernel you will not have this message.

I don't know from where you downloaded your previous Bootloader/Modem but the stuff I provide here in my thread are clean and scanned by Kaspersky, Windows Defender and Malwarebytes. Don't have any virus - malwares.

I recommended you to read my guide in OP and follow the proper steps and links for your variant to clean install Stock or Custom ROM of your choice along with Bootloader & Modem for your variant.

It's well explained but if you have any question feel free to ask.
[Galaxy S 4 General] SportyRydr:
I'm not using a stock ROM. Always kept my original non-Knox bootloader and only flashed updated modems and never had the warranty bit message until...

...the last time I went to update my modems I downloaded from Sammobile and got the latest Knox-infested bootloader along with it without realizing it. That's when I started getting the warranty bit message. Knox isn't a virus. It was a Samsung "security" mechanism that they started using after I got my S4, so it wasn't in my stock bootloader. I don't even know if they use it anymore, but if your bootloaders don't have it and hence, don't give any warranty bit or such messages, then that's what I want! :good: My concern then is if I'll be able to replace my Knox bootloader with your non-Knox one and get rid of the messages.

Got it, and I do appreciate good instructions! I'm preparing/hoping to finally flash a Pie ROM, and the one I'm considering requires having the latest modems.

Thanks again for your work in helping to keep the S4 fresh!
[Galaxy S 4 General] Retrial:
I know what Knox is. I wrote about virus-free because you said you had virus the first time you download from somewhere a Bootloader-Modem.

The Bootloaders & Modems I provide are all extracted direct from the Official Samsung Stock ROMs. So I guess they contain everything like it should.

Thanks mate.

Just keep in mind, you will always have a message during boot if you are going to flash any Pie ROM or any other custom ROM which contain a custom Kernel. But ignore it. It's just a message nothing to worry about.
[Galaxy S 4 General] SportyRydr:
No offense about Knox. I forgot I mentioned a virus. The virus archive was from a different site, and didn't contain any phone files. I ultimately got the phone files from Sammobile.

So anyway...last night, since I'm not quite ready to flash a new ROM yet, I wanted to just do the bootloader and modem. I tried the first method using the combined file, and that didn't update anything, even though I got the PASS! message in Odin. I tried the second method to update both with the separate files; still passed and still didn't update. Finally, I tried just updating the modem, and also passed, but still didn't actually update.

What else can I try?

Thanks for your help!
[Galaxy S 4 General] Mynacol:
Follow the guide. And look into the tar archive. The included files MODEM, NON-HLOS,... are the partitions to be flashed.

To flash, pull the battery, wait some seconds and boot directly in download mode. Then flash with Odin.
[Galaxy S 4 General] darkglobe87:
Sorry if this is a stupid question.

Your post says not to worry about country too much but ensure you have the latest f/w. I'm UK (BTU) before I put LOS 16 on. Baseband etc was HPK2. Am I right in thinking the one in OP's collection (HQK2) is later and therefore fine for my i9505? Basically I'm looking to get the latest and/or best modem for my phone (slight signal issues on HPK2 and a weird voice feedback for the other end that doesn't happen on any other phone with the same SIM. I'm wondering if it could be modem related but my knowledge is limited.

SO yeah my question is - HPK2 (specifically for my phone and region) or is HQK2 latest and if so will it brick my phone?

Thanks
[Galaxy S 4 General] SportyRydr:
I followed the guide for the bootloader and modem, but they wouldn't update. So are you saying I have to flash the matching firmware as well in order to get the bootloader and modem to update? THEN I can go back to a custom ROM?

I may be confusing "firmware" with "stock rom"...
[Galaxy S 4 General] Retrial:
Hello,

The stuff I provide here are the latest for each variant.

GT-I9505 (jfltexx): I9505XXUHQK1 / Build Date: 2017-11-09 / OS: Lollipop 5.0.1

Follow my guide and you will not have any problem.

Firmware = Official Stock Samsung ROM

If you are already in a custom ROM with custom Kernel and you just want to update the Modem & Bootloader no need to go back in Stock.

However if you are in Stock ROM you need to have the same version of Modem & Bootloader to have ur wifi working etc.

All the infos for flashing are in my guides in OP and also in "quick tutorial" in my collection.

Read here for Modem/Bootloader:

Quick Tutorial:

You can flash Bootloader & Modem with two methods:

First and Recommended Method COMBINED: Download the COMBINED BOOTLOADER _MODEM.tar, run Odin as administrator, put the COMBINED BOOTLOADER_MODEM.tar to AP section, untick Auto-Reboot, flash! When It's done, reboot your device by pressing Power Button for couple of seconds.

Second Method SEPERATE: Download the Seperate BOOTLOADER and MODEM .tars, run Odin as administrator, put the BOOTLOADER to BL section and MODEM to CP section, untick Auto-Reboot, flash! When It's done, reboot your device by pressing Power Button for couple of seconds.

Check what version of Modem and Bootloader you have with apps like Device Info HW or Phone Info.

If Modem & Bootloader didn't changed to the version you wanted, do the same steps again with the method you have selected.

If for some reason Odin failed to flash, make sure your run Odin as adminstrator, try to change USB Port in your PC and don't move the cable during flash. Also if you have Odin and the files on an External hard drive, move Odin and all the files you want to flash, into one folder to your Main Drive for example C: drive.

Note: For Stock Rom to have your WiFi working you need to have the same version of Modem/BL as your Firmware. For example if you have QK1 Stock ROM then you need to have QK1 Modem/Bootloader. On Custom ROMs doesn't matter. You can have any Modem/BL of your variant you want but recommend is always the latest.
[Galaxy S 4 General] darkglobe87:
Thanks [MENTION=6753279]Retrial[/MENTION]

May I just say those guides are very well written. I was just nervous lol. I've updated my BL and modem. Currently trying a few different ROMs. Official LOS 16 was... okay... Optimized 16 made my phone too hot. Just got Optimized 14.1 v12 installed and it's absolutely BRILLIANT.

Now to figure out how to remove some unnecessary stock apps since 14.1 doesn't have an aroma version. Damn. Sorry, off topic. But thanks for your guides and I'm now happily using JCDTeam TWRP latest and have latest BL/modem.

---------- Post added at 11:23 AM ---------- Previous post was at 11:22 AM ----------

Thanks [MENTION=6753279]Retrial[/MENTION]

May I just say those guides are very well written. I was just nervous lol. I've updated my BL and modem. Currently trying a few different ROMs. Official LOS 16 was... okay... Optimized 16 made my phone too hot. Just got Optimized 14.1 v12 installed and it's absolutely BRILLIANT.

Now to figure out how to remove some unnecessary stock apps since 14.1 doesn't have an aroma version. Damn. Sorry, off topic. But thanks for your guides and I'm now happily using JCDTeam TWRP latest and have latest BL/modem.
[Galaxy S 4 General] SportyRydr:
I do have a custom ROM currently (see my signature). I have followed your instructions to flash the bootloader and modem. I tried it the combined way, then the separate way, and then went a step further and tried JUST the modem, and although each time, I got the PASS! message in Odin, neither my bootloader nor modem have actually successfully updated. I currently have OK3 and want to update to PK1. Am I missing something? Do I need to just keep trying it until it works? This is why I suspected I inadvertently ended up with a locked bootloader when I updated to OK3.

I've been doing this for several years, and I've never had a problem like this before, nor gotten the warranty bit message at boot, until I updated to OK3 (without changing the custom ROM I was using), when I only wanted the modem, but the file contained the bootloader too.

Thanks
[Galaxy S 4 General] Retrial:
As far as I can see from your signature, your S4 variant is SPH-L720. The latest version of Firmware - Bootloader - Modem I've found and added to my collection for your variant is L720VPSGPL1 with Build Date: 2016-12-20.

From where u download the Bootloader and Modem PK1? I provide only the latest GPL1 for your variant. Please download the COMBINED BOOTLOADER_MODEM.tar

from my collection

and not from elsewhere since I made a special version which include Bootloader and Modem in one .tar and can be flashed in Odin at AP.

Other people call "COMBINED" the Modem.tar which include Modem.bin and NON-HLOS.bin. My COMBINED includes Bootloader+Modem+NON-HLOS and must be flashed in AP not in CP or BL.

The steps to flash are these:

1. Download the COMBINED BOOTLOADER_MODEM.tar for your variant from my collection.

2. Move Odin and the COMBINED BOOTLOADER_MODEM.tar you have downloaded in your main drive if you had it on external.

3. Run Odin as admin

4. Reboot your device to Download Mode (power button+vol.down+home button)

5. Connect your device to PC

6. Put the COMBINED BOOTLOADER_MODEM.tar to AP section, untick Auto Reboot from settings in Odin and flash! When It's done, reboot your device by pressing Power Button for couple of seconds.

7. Let your device boot and check what Modem and Bootloader you have with apps like Device Info HW or Phone INFO.

8. If Modem & Bootloader didn't changed to the version you wanted, do the same steps again and check.
[Galaxy S 4 General] SportyRydr:
I downloaded from the links in your OP. And followed those instructions. The only ways I deviated were that I also unticked the setting "F.something" (don't have Odin in front of me at the moment), and instead of pressing the power button for a couple of seconds to reboot, I pulled the battery. Would these make a difference?

If there's nothing else you can think of, I'll just keep trying it. Thanks for your patience and willingness to help! :good::good::good:
[Galaxy S 4 General] Retrial:
Hey,

You said "I currently have OK3 and want to update to PK1" that's why I said to download it from my collection because I provide only the latest GPL1 for your variant not the PK1 you wrote.

Untick only Auto Reboot nothing else, then flash and reboot manually. Follow exactly the steps I wrote above. Could make a difference yes.
[Galaxy S 4 General] SportyRydr:
Heheh, sorry, that was a typo, I meant PL1. :o

Sounds like a plan, man, thanks!
[Galaxy S 4 General] SportyRydr:
After 2-3 more tries....SUCCESS!! :victory:

Thank you again, Retrial!
[Galaxy S 4 General] SportyRydr:
No phone sound after PL1 modem update

Deleted
[Galaxy S 4 General] ihp140:
A guide to change S4 motherboard

Hi everybody,

You can find a complete guide to change your S4 motherboard :

https://youtu.be/t7_7csQenko
[Galaxy S 4 General] antoniorecio:
Question about bootloader/modem version

Hi.

I have a GT-9505 running 20191207 nightly Lineage OS 16.

In android version i see the 20191105 android security patches, 20170801 provider security patches and I9505XXUHPK2 baseband version, so I assume that I have to update bootloader/modem partitions.

According to OP:

The last version are I9505XXUHQK1

I didn't updatet yet, I want to check what I have right now.

When I run Device Info HW I get the following.

Baseband: I9505XXUHPK2

.....

Description: jfltexx-user 5.0.1 LRX22X I9505XXUHQK1

Digital sign.: samsung/jfltexx/jflte:5.0.1/LRX22X/I9505XXUHQK1:user/release-keys

Bootloader: I9505XXUHPK2

I see: I9505XXUHPK2 but also I9505XXUHQK1 string

Why does both strings appears?

In this case, is it safe to update modem/bootloader? or is it innecesary?

Regards and thank you
[Galaxy S 4 General] Retrial:
Hello,

The QK1 you see it's from the ROM digital sign.

Your Modem and Bootloader is currently PK2 not QK1. It's safe to update, it's not necessary but recommended to have the latest.
[Galaxy S 4 General] antoniorecio:
OK, Retrial. I will update.

Thank you very much.
[Galaxy S 4 General] smartypantsphone:
I have an old i9505 still on stock rom, which I think is JB.

Do I need to update to latest stock rom first and then can install L-OS16?

I am assuming that once twrp is installed, the phone becomes unofficial, and will stay that way, there is still no way to go back official?

Does the custom recovery/ROM tripping efuze cause any actual hardware problems after a while, or is it simply just a one off indicator?

Most importantly, does installing LOS16 change the default camera code/firmware/algorithm, or does it use exactly the same original Samsung settings? because I remember very long time ago installing CyMod on an s3 and the pictures and video had terrible color and brightness/contrast issues. I just want the picture and video quality, speed and focus to stay exactly the same or better as stock.

Thanks!
[Galaxy S 4 General] godzifa:
Deleted
[Galaxy S 4 General] Retrial:
Hello,

- Yes it would be nice to first update to the latest Lollipop Stock ROM.

- You can go back to official stock ROM any time you want. Flashing Stock ROM via Odin will replace the TWRP Recovery.

- Custom Recovery/ROM does not causing any hardware problem.

- The Samsung Stock Camera libs are closed source so need to be hacked by someone and this is not going to happen since the device is pretty old. However Side did amazing job on Camera over the years and the camera is pretty close to the stock. You should definitely try it.

Please read carefully my Guide for the best clean install from scratch. You also need to update your Modem/Bootloader etc. You will find everything in my guide-collection.
[Galaxy S 4 General] Basher_52:
Can't find anything in this post about the problem with Gapps.

The only Gapps I can find is still just for Android 9, there is not one for 10 so the install of that gives me:

*** Incompatible Android ROM detected ***

Error Code: 20

Updater process ended with ERROR: 20

Error installing zip file '......./open_gapps-arm-9.0-nano-20200103.zip'

How and where can I get an Gapps that works with Android 10?

UPDATE: Found a link here: https://sourceforge.net/projects/opengapps/files/arm/beta/
[Galaxy S 4 General] Retrial:
Hey,

You can also try BiTGapps. (ARM-Android 10 Compatibility)
[Galaxy S 4 General] Basher_52:
If this beta won't work I'll try that, thx :D
[Galaxy S 4 General] Basher_52:
It worked with the beta, but I will remember the name 'BiTGapps'

I want the percentage to be shown on the battery but that won't work, neither will changing the look of it. It just keeps the default 'battery look', even after reboot.

Just to let you know.

This ROM is SUPERB on battery though :)

I tried Resurrection Remix for I9505 but that seemed to have some very big flaw, I tried clean install several times but it kept draining the battery from 100% to zilch in less than 8 hours.

This device is fully charged yesterday and as the icon shows, still a bit over 50% left, can't say exact as I can't see the percentage :p :p
[Galaxy S 4 General] Retrial:
If you are talking about Optimized LineageOS 17, yeah some things like percentage of battery may not working properly. Since it's v1 many things will be fixed eventually. You can still use Optimized LineageOS 16 tho if you want more stability.

About Resurrection Remix I think it's because of pocket mode was enabled. Try to disable it. Pocket Mode is known battery eater.

However I wouldn't go with RR since this ROM is outdated. If you like customisation you should try AEX, it has similar customisations.
[Galaxy S 4 General] Basher_52:
Can't say I heard of 'Optlos'. removed....

OK, yep, It is Optimized LineageOS 17 and right now I see I'm kinda posting in the wrong thread, lol. Thanks for your help though :D :D

OK, not even heard of 'pocket mode' either but that is just because I'm only in here when I need to get a newer ROM, sorry :p

Yeah, I've seen that RR seems to be the latest at PIE and no updates after September 2019 so I think I need to switch to this OS for my G900F(ktle) too, just to get the latest there is.

I sooo envy you guys that can do this, I wish I had time to sit down and learn all this but I got other stuff to do.

One thing though and as I have no idea how complicated this could be, why not make a small list of apps to install at installation?

I am an old programmer but not for Android or such, just some VB,C# for PC's but have tried to create a small app for my work and that haven't worked so.... it included some RS232-interface thing that I just couldn't get to work :p

I so love all the work you all put into this, wish I could send y'all $1000 each
[Galaxy S 4 General] Retrial:
The only Android 10 ROM which is available for i9505 atm is Optmized LineageOS 17 (Optlos in short), so I guess you are talking about that ROM.

About RR, the Pocket Mode is just one option in the Settings of the ROM and you just need to turn it off.

There is an Aroma.zip available which you can flash it multiple times to install or remove extra apps. It works on all JDC ROMs even on Official LineageOS.

I have also included a small list which I update regulary with useful apps in my Collection. You can take a look.
[Galaxy S 4 General] Basher_52:
- Yep, it's about Optlos 17 for this I9505 device.

- Is there anything changed for my G900F device? Can't find anything for 'Pocket Mode' in that (latest RR). The only thing about 'pocket' is:

"Pocket Detection - Block screen and button inputs when device is in pocket."

- I'll have a look at that Aroma.zip thing, thx :D

- Will also check your list of things :D
[Galaxy S 4 General] Retrial:
Hehe, don't worry I support JDC ROMs since I am part of the team :fingers-crossed:
[Galaxy S 4 General] Retrial:
The Pocket Detection is what I am talking about. Turn it off if it's enabled.

Aroma contain already some of the apps my list has. :p
[Galaxy S 4 General] Basher_52:
Thanks... but still, this questions and such should be posted in that thread.

But you seem to know everything about everything so.... :p :p
[Galaxy S 4 General] Retrial:
You will find me in both threads. Don't worry :p

Feel free to ask if you have any other question.

Cheers :fingers-crossed:
[Galaxy S 4 General] Basher_52:
Cheers... literally :p

Gotta say, best and nicest!! person in a forum I've seen in a long time :)
[Galaxy S 4 General] Retrial:
Thanks a lot for ur kind words mate, means a lot to me. :highfive:
[Galaxy S 4 General] Basher_52:
:highfive:
[Galaxy S 4 General] side:
give [MENTION=6753279]Retrial[/MENTION] a cookie and promote him to Recognized Contributor.
[Galaxy S 4 General] Monpseud0:
Everything we need in the same thread!

Thank you so much for this amazing work, Retrial!

:good::good::good::good::good::good::good::good:
[Galaxy S 4 General] Retrial:
Hahahaha! ?

My pleasure ?
[Galaxy S 4 General] simonegalfano:
I have a problem, I can't get my galaxy s4 i9505 to be recognized by the pc with windows 10 operating system. I installed both the drivers available on the page and the Kies program, but nothing to do. Tips??
[Galaxy S 4 General] Retrial:
Hmmm... that's strange, with Samsung USB Drivers installation it should be recognized.

What ROM are you using? If you have installed TWRP Recovery, can you try to boot to TWRP and connect your device to PC and check if recognized?
[Galaxy S 4 General] simonegalfano:
I have the official lineage 16, the cause could be that I installed a fix x the audio and then flashed the update of the 16 ... I know that as soon as I can format
[Galaxy S 4 General] comecuervos:
No mirrors found in bootloaders like GT-I9505
[Galaxy S 4 General] Retrial:
This is probably Android File Host issue. Try again later.
[Galaxy S 4 General] sandervanzijl:
trying to follow your guide but I am stuck on installing TWRP

I have the i9505

Odin says pass, but when i boot into recovery i get the standard recovery.

tried several times.
[Galaxy S 4 General] Retrial:
Are you sure, you don't miss anything? Uncheck auto-reboot in options and reboot manually after flashing.
[Galaxy S 4 General] sandervanzijl:
Yeah tried that, but i get a image of an open droid and the message: no command

And then it shows the android system recovery with the textmenu.
[Galaxy S 4 General] Retrial:
I am sure u are doing something wrong.

I recommend you to read again the steps carefully. Also make sure you have the proper TWRP version for your variant [in this case for i9505 this: (https://eu.dl.twrp.me/jflte/ )] and also make sure you download the .tar file not the .image
[Galaxy S 4 General] sandervanzijl:
OKay found the first problem: you need to download the 3.3.0 version of TWRP, then it works.

second problem: the stock rom is a zip and cannot be used by odin. should i just unpack and use the .tar.md5 file? (or rename the zip ?) > answer: Yes you should (tried it and it works)