yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Q&A, Help & Troubleshooting] xdamakis:
How To Root Samsung S4 GT-I9505 To Flash Custom Recovery Without PC/Internet/WiFi

After trying almost all vailable olutions , i have not found yet a solution.

History.

I have tried too many custom roms... Two weeks ago I started trying new custom kernels.

After last kernel I tried ( dont remember name) , so smartphone did not work properly and then immediately I used Odin Mobile Pro to install the official Samsung Rom . The phone started fine , HOWEVER it cannot connect to PC (usb problem "PC does not recognise source" ..however it is charged) , it has not IMEI (null) , WIFI closes automatically closes when i open it, internet access unavailable and finally SIM is not recognised.

I can only use BLUETOOTH and this only in connection to PC. So it remains a usable phoneONLY as a game machine playing games i have already preinstalled in the SD.

I didREAD in a post of yous that there is a custom recovery zippable via the stock recovery. I tried Philz...along TWRP/CWM ... but nothing..

Everytime i faced a E: Footer wrong..unavailable etc messages.

Please. Any solution is welcome. Because I am near a month without a phone.
[Galaxy S 4 Q&A, Help & Troubleshooting] aniketpatra210201:
Need help for rooting.

I am not able to root my Galaxy S4(GT-I9500) running resurrection remix rom 7.1.2.

https://xdaforums.com/galaxy-s4/i9500-develop/resurrection-remix-n-t3650856

Custom ROM link.
[Galaxy S 4 Q&A, Help & Troubleshooting] ShupomRayhan:
What is 8pit, 11pit?
[Galaxy S 4 Q&A, Help & Troubleshooting] zodiac573:
Hello, i wanted to remove my SIMLOCK on my GT-i9505 , i have tried the "GalaxSim Unlock App" and rooted the device and the app says to DOWNGRADE the modem to a version xxxxxMGA or before , i tried to flash a downloaded modem "I9505_XXUAME2_MODEM.tar.md5" via odin (put it into the CP section) but after flashing the my Modem stays on the old one "XXUHQC1"

device info:

stock rom

Android ver: 4.4.2

bootloader: XXUHPG1

rooted

can someone help me here ?
[Galaxy S 4 Q&A, Help & Troubleshooting] TechForEver:
Hello

s4 sch-i959 unlocked

is this phone support 3g in gsm /utms

note: in service mode / phone info

there are a list of preferred networks even lte is existing in it ,what that means

by the way I found that bands which this phone support 800,900,1800,1900 not 2100

if it support 3g in gsm but it cant support 3g in 2100 mhz band is this right

lineage 14.1 flashed in it.
[Galaxy S 4 Q&A, Help & Troubleshooting] roratonet:
Hello,

I have an i9505 LTE International version (jflte) for about 4,5 years, working perfectly with the latest LineageOS until yesterday when my phone suddenly shut off itself (as like as I removed the battery). I tried then to turn it on again but restarted itself after the LineageOS logo appeared. I thought there was something wrong with the OS, so I've booted to recovery TWRP to flash the same OS again. The strange thing is that TWRP stopped flashing at +/- 20% freezing itself. After that I was not able to boot to recovery anymore.

I removed the battery, SIM card and microSD for about three hours. Tried again only with the battery and was able to install LineageOS again. After booting with the fresh installed LineageOS (I formatted the /system /data /cache partitions) the system was very unstable and slow. After 10 seconds the screen went completely pink and it shut off again and never came up (showing me the boot logo and rebooting - bootloop).

I removed the battery again and tried to flash, after one day, with odin the stock firmware. I had no issues while flashing but the OS won't boot. Therefore I flashed the TWRP to the recovery partition and it doesn't work. After 10 minutes without the battery I am able to boot TWRP but when I try to, for example, copy the logs to /data TWRP freezes and I cannot do anything else but hard reboot.

Someone knows what's going on here?

:confused: Could the eMMC be seriously damaged/corrupted?

The strange thing is that, without the battery for 10 minutes plugged in, I am able to boot to TWRP and navigate through the menu - although after trying to format the /data and /cache partitions TWRP freezes. After a reboot I cannot boot to recovery anymore (it remains stuck on the samsung logo screen with the RECOVERY BOOTING and Set Warranty Bit: recovery headings.
[Galaxy S 4 Q&A, Help & Troubleshooting] Nylo:
Maybe your phone crapped out. Can't always blame the software. Have you tested this?
[Galaxy S 4 Q&A, Help & Troubleshooting] Linono:
No sim card on Samsung Galaxy S4 GT-I9505

Hello I have a problem with my phone Samsung Galaxy S4 GT-i9505.

Since I rooted my phone with the CF-Auto-Root-jflte-jfltevj-gti9505, my phone doesn't read the SIM card.

I have android 5.0.1 inside and I still have an IMEI code.

Does anyone know how to fix it?

Thanks.

--

Phone: Samsung Galaxy S4 - GT-I9505

Android version: 5.0.1

Kernel version: 3.4.0-4584173

Baseband version: I9505XXUHPF4

Build number: LRX22C.I9505XXUHPF4
[Galaxy S 4 Q&A, Help & Troubleshooting] Alvinsc2000:
Good day,

I have this bricked GS4 i9505, I was able to boot download mode back then and tried flashing the stock rom, but after successfully flashing stock, I was no longer able to boot it in Download and Recovery modes, even the Samsung Galaxy S4 boot screen isn't showing up, I was afraid that I might hard bricked it. When I try to turn it on now, it still vibrates and the screen flashes white and other colors for a split second.

I'm not sure if the screen is damaged because it once worked before the phone went dead/bricked. Is there anyway to fix this? Thanks.
[Galaxy S 4 Q&A, Help & Troubleshooting] zakiweei:
Hello. I have this Samsung I9505 on Android 5.0.1 and I want to install a custom rom,this one specifically( https://xdaforums.com/showthread.php?t=2557353&nocache=1) which is based on Android 4.4.4 . I have tried another kitkat rom in the past and I didn't manage to install it. Can you please tell me if there are any other required steps except the ones mentioned in that thread that need to be followed?

My phone info:

Android 5.0.1

Baseband I9505 XXUHOA7

Kernel 3.4.0-3996895

Please do not hesitate to ask me for any extra info required. Thanks!
[Galaxy S 4 Q&A, Help & Troubleshooting] TheMayhem6328:
Unlocking Bootloader

Hey, can anyone help me unlock my phone's bootloader? I am sort of new to this and don't know how to unlock it! I've "done my Homework", but fastboot doesn't detect my phone (Windows and adb does) by any costs. I've tried downloading XDA driver for Samsung and reinstalling drivers using Kies and Smart Switch, but no use. Still, I was reluctant enough to try fastboot oem unlock in ODIN mode and normal mode, but it's stuck at

<waiting for any device>

screen. Please help!
[Galaxy S 4 Q&A, Help & Troubleshooting] Strephon Alkhalikoi:
Samsung doesn't support fastboot. If you have any S4 other than ones using the AT&T or Verizon networks your S4 bootloader is already unlocked as the device was shipped that way. If you have an AT&T (SGH-I337) or Verizon (SCH-I545) S4, you're most likely screwed. Those two devices as well as devices from their MVNOs like Straight Talk and Cricket have their bootloaders locked. Some early bootloaders for these devices did have exploits to allow unlocking the bootloader, but that was four years ago.
[Galaxy S 4 Q&A, Help & Troubleshooting] TheMayhem6328:
Then how do I use TWRP and flash my copy of Resurrection Remix OS to my JFLTEVJ? (And how do I unlock it?):crying:
[Galaxy S 4 Q&A, Help & Troubleshooting] TheMayhem6328:
Ok, so I will not try again within weeks, but now I'm stuck with "set warranty bit=kernel" and "KNOX WARRANTY VOID=0x1"

ROOTING AND REBOOTING WITH KINGO ROOT PC

!I am trying the method below, but the download it taking years!

Any alternatives? Please tell me now!
[Galaxy S 4 Q&A, Help & Troubleshooting] Strephon Alkhalikoi:
[MENTION=9421298]TheMayhem6328[/MENTION]: The "VJ" in "JFLTEVJ" is your modem. If you have a GT-I9505 you have a JFLTEXX model and it is already bootloader unlocked. If you were looking for a carrier unlock, that information is in another thread. Flashing anything - recovery, modem, a complete stock rom - requires Odin.

Now that we have that covered, I have a problem with your latest post. Please tell me now? Are you friggin' serious!? I understand that you want to get your device fixed, and believe me, I totally understand what it's like to not have a working device, especially when you know why it happened and in the aftermath you have nothing but a nice, shiny, and expensive paperweight. But those of us on this forum DO NOT work for you, and you are in no position to demand anything of anyone. This is not paid tech support, but if you like I could charge you for the privilege. Then you could demand things, even though it would do you no good.

I am of half a mind right now to just tell you to go screw just because of that one sentence. But, as the bigger man here, here you go.

The first thing is to get yourself back to a stock ROM. To do that, you download a stock firmware image from samsung-updates.com or sammobile.com using GT-I9505 as your model number. This is REQUIRED, because Kingoroot screwed up the firmware. When you get the firmware package, enter download mode on the device, open Odin, point the AP slot at the file you just downloaded, and flash. Once you finish the basic setup of the stock ROM, download a copy of TWRP from twrp.me, using JFLTEXX as your model. Repeat what you did for flashing the stock ROM, meaning you enter download mode, open Odin, point the AP slot to the tar.md5 file you downloaded from twrp.me, and flash. Once that is done you should have TWRP successfully installed. From there, enter the recovery in the usual manner and flash Resurrection Remix. Reboot, and set up the ROM.

You caused yourself trouble that you could have avoided by being patient and actually reading the rooting instructions we have in this forum. which are much clearer than the paragraph I just wrote. We don't use Kingoroot, and things like this are why.
[Galaxy S 4 Q&A, Help & Troubleshooting] seasonajis:
We can install the custom rom of i9505 in i9507

We can install the custom rom of i9505 in i9507
[Galaxy S 4 Q&A, Help & Troubleshooting] Strephon Alkhalikoi:
The LTE hardware is different, but whether that will cause an issue like on the I9515 I don't know. You'll just have to try it.
[Galaxy S 4 Q&A, Help & Troubleshooting] chuckywang:
I have the exact same issue. Any help would be appreciated.
[Galaxy S 4 Q&A, Help & Troubleshooting] TechForEver:
I face this issue sch-i959

selution:

"Enable windows updates ,it updates Samsung drive automatically "

and thin I can see my phone and sd card and transfer files
[Galaxy S 4 Q&A, Help & Troubleshooting] JUNAID-IQBAL:
I have s4 i9505

PDA version I9505XXUGNE8

CSC version I9505 XXUGNE8

Bootloader I337UCUFNB1

Android 4.4.2

Knox warranty 0×1

Rooted with kingoroot

I tryed to flash many firmwares from Odin and also i try to flash TWRP in it but i failed

I want to upgrade it, help me for upgrade and flash TWRP in it
[Galaxy S 4 Q&A, Help & Troubleshooting] Strephon Alkhalikoi:
You have a Frankenphone. Your Galaxy S4 is an AT&T version (SCH-I337) whose firmware has been modified by the unscrupulous to fool people like you into thinking you have an international model.

Model number can be confirmed by entering Download mode and reading the info at upper left. XDA has a forum dedicated to your model here.
[Galaxy S 4 Q&A, Help & Troubleshooting] siMp0lMaN:
Anybody still using i9505 here? Does flashfire work on your device? Was working before on mine during beta but not now... tia

Edit: solved
[Galaxy S 4 Q&A, Help & Troubleshooting] needassistance:
Hi,

After some guidance after being very, very, late to the party :D.

I've spent the last couple of days searching, reading, re-reading and getting lost and I'm not sure where to actually start to flash ROMS on my S4. I've been successful with my Note 3 and thought, why not my S4 (finally no Warrenty to worry about).

Is there a noob guide to the right steps and it what order please?

I can find different guides for Root Here and Here. There's also CF-AUTO-ROOT?

Then ODIN?

Then bootloaders and Modems to install using ODIN.

TWRP gets a mention (used on my Xiaomi)

Do I ROOT first then ROM?

Does ODIN just apply the ROM without rooting?

What do the bootloaders and Modems do?

Was going to Try Omega as you can choose apps to install, mainly need web browsing, You tube and calls. Other than that a lot of the old Samsung bloatware is NOT required.

Any guidance greatly appreciated. :fingers-crossed:
[Galaxy S 4 Q&A, Help & Troubleshooting] Strephon Alkhalikoi:
Download your preferred root solution (Magisk, SuperSU) to a MicroSD card.

Download TWRP to your PC's hard drive.

Download Odin to your PC and install Samsung's drivers.

Enter into download mode on the S4.

Point Odin at the TWRP package and flash it in the AP slot.

On the device, enter TWRP.

Flash a custom ROM and, if necessary, a root solution for the flashed ROM.
[Galaxy S 4 Q&A, Help & Troubleshooting] needassistance:
Thanks, although I'm still confused, sadly :(. Question in Red above.

Sorry for being so incompetent, I'm not that Techie.
[Galaxy S 4 Q&A, Help & Troubleshooting] Strephon Alkhalikoi:
I would hope you had a MicroSD card in your phone because that is where the root package goes. Many custom ROMs, and all stock ROMs, do not include root so you need a root package if you want root. You then install it using TWRP.

TWRP is hardware dependent, and your Xiaomi version cannot be installed on the S4. The S4 version must initially be installed using Odin, so you need to download TWRP.

If running Windows, connect the S4 in download mode and then open device manager. Find the S4 (marked as "Android Device" or something similar) and update its drivers.
[Galaxy S 4 Q&A, Help & Troubleshooting] needassistance:
Thanks, makes sense now and made some progress. ODIN fails trying to flash TWRP in the AP slot with a FAIL! (DeviceInfo). Using twrp-3.2.3-0-jflte.tar

I thought my Xiaomi was frustrating!
[Galaxy S 4 Q&A, Help & Troubleshooting] Strephon Alkhalikoi:
Try the CP slot.
[Galaxy S 4 Q&A, Help & Troubleshooting] needassistance:
I hope your not leading me up the yellow "Brick" Road ;) :good:

Thanks again for all your assistance. I'll give that a go.
[Galaxy S 4 Q&A, Help & Troubleshooting] needassistance:
I did a factory reset and then tried ODIN to flash TWRP. It Worked (using the AP slot)!

<ID:0/005> Added!!

<ID:0/005> Odin engine v(ID:3.1301)..

<ID:0/005> File analysis..

<ID:0/005> Total Binary size: 8 M

<ID:0/005> SetupConnection..

<ID:0/005> Initialzation..

<ID:0/005> Get PIT for mapping..

<ID:0/005> Firmware update start..

<ID:0/005> NAND Write Start!!

<ID:0/005> SingleDownload.

<ID:0/005> recovery.img

<ID:0/005> RQT_CLOSE !!

<ID:0/005> RES OK !!

<ID:0/005> Removed!!

<ID:0/005> Remain Port .... 0

<OSM> All threads completed. (succeed 1 / failed 0)

However, the phone won't boot to TWRP only the default Android system recovery? :eek:

Do I need to somehow Root first?
[Galaxy S 4 Q&A, Help & Troubleshooting] Strephon Alkhalikoi:
You need to immediately boot into the recovery, or else the stock recovery gets overwritten when booting normally.

It's not possible to root without a custom recovery. For example, CF-Autoroot (an all-in-one root solution) includes a recovery image that flashes root and then is overwritten by the stock recovery.
[Galaxy S 4 Q&A, Help & Troubleshooting] needassistance:
[MENTION=6772002]streh[/MENTION]on Alkhalikoi, You Sir are a legend! TWRP working, OMEGA Installed :)

Can't get Magisk v16.7 flashed? Seems to work but the App doesn't appear.

Omega seems okay but was after a more stock Andriod feel, any recommendations or not possible on the S4?

Thanks again for sharing your knowledge.
[Galaxy S 4 Q&A, Help & Troubleshooting] Strephon Alkhalikoi:
Magisk doesn't work on Android 4.x and earlier. I'm not familiar with the ROM you're using, but if it is Android 5.x or higher, Magisk should work. At the same time you're using an old version of Magisk: 17.3 was released yesterday.

If you want a more stock Android feel, you want to use Lineage OS as it is still being maintained. If by "stock" you mean Samsung's version of it, SuperWizCyan or Super Touchwiz are good choices, though the latter is no longer updated.
[Galaxy S 4 Q&A, Help & Troubleshooting] needassistance:
Thank you again :highfive:! My S4 has never looked so good, Lineage OS, Magisk and TWRP all installed and running like a dream (at this point).
[Galaxy S 4 Q&A, Help & Troubleshooting] FlappyFalcon:
Hiya, I want to flash a custom rom on my S4 i9505 but I'm kinda confused tbh. First how do I simply check if it's unlocked (I know trying to unlock it again if it is already unlocked can cause a brick)? And also how do I install a custom recovery to even install said rom? I have tried looking on the forums but honestly I find xda obtuse as hell and a bit unorganised to find what's safe to use and what not with how many threads are just old and outdated, thanks.
[Galaxy S 4 Q&A, Help & Troubleshooting] Asder.mko:
My S4 suddenly stopped booting after a reboot. Led isn't glowing if put on charge and neither is my pc detecting it. Is there anything I can do??
[Galaxy S 4 Q&A, Help & Troubleshooting] Asder.mko:
Well, I had been using Infernus V4 ROM on it and sometimes the SIM used to stop working. A simple reboot would fix that. I was listening to song, got a pop up, presses reboot and *dead*. Also, I have 2 batteries one new and one old, they're fine
[Galaxy S 4 Q&A, Help & Troubleshooting] Asder.mko:
Thanks for replying! I have gt - i9500. The battery is good and when left for a while in phone, the phone heats a bit. Also, I can't flash anything as my pc isn't even detecting it! Not even LED glows
[Galaxy S 4 Q&A, Help & Troubleshooting] sk1806:
Where to download firmware

Hello

Everyone keeps talking about downloading old firmware and using Odin to flash it, but where can I download the firmware files in the first place? I want to install either Anroid 4.2.2 or just downgrade the modem.

I have a Glaxay S4 i9505 with lollipop 5.0.1 on it and need to SIM unlock it. I have tried using the secret code and service menu to unlock, but when I get to the final option, [3]PERSO SHA256 OFF, does not exist.

So I decided to try and do it by rooting my phone.

I followed some instructions and used Odin and CF Auto Root to successfully root my phone.

I then tried to use GalaxySimUnlock app to sim unlock my phone, I gave it root access and then it said I needed to downgrade my baseband modem to something ending in MGA or older. Where can I download this file? I have been trawling through old posts and it seems XXUAME2 modem would work, but again, I can't see to find a link anywhere.

Does anyone know where I can find XXUAME2 modem download or something else that would also do the job?

Or can/should I just download 5.0.1 to 4.2.2 (but again, where would I find the necessary files?)

Thanks
[Galaxy S 4 Q&A, Help & Troubleshooting] Asder.mko:
You can search on Sammobile. Afaik, most of the firmwares and various versions are available there.
[Galaxy S 4 Q&A, Help & Troubleshooting] Strephon Alkhalikoi:
Look for Chainfire's RegionLockAway and use that to SIM unlock the device as it's a more permanent solution than alternatives. Keep in mind that after downgrading the ROM or modem and using RegionLock Away or any other SIM unlock method you have to restore the Android 5.0.1.

I assume you already know this, so call this a friendly reminder.

Firmware is available through sammobile.com, but for the S4 firmware may be behind a paywall due to changes at sammobile. Samsung-updates.com is another location you may want to try.
[Galaxy S 4 Q&A, Help & Troubleshooting] zoocha:
Hello,

I have a GT-I9505 with an untouched Android 5.0.1 and I want to use a Custom ROM. Questions:

1. Which ROM is currently the best one available?

2. Can Anyone provide me a foolproof instructions / order of installing everything?

Thanks in advance
[Galaxy S 4 Q&A, Help & Troubleshooting] Strephon Alkhalikoi:
Best is subjective. However, the real question is whether Touchwiz features are important to you or not. Answering that will steer you towards the Android Development or Original Android Development subforums.

Each ROM has instructions on how to install them. Instructions on rooting are readily available in this forum in one of the pinned posts at the top of the first page. If all else fails, search.

P. S. There is no such thing as a foolproof method of doing things. There will always be risks involved when modifying a device.
[Galaxy S 4 Q&A, Help & Troubleshooting] Strephon Alkhalikoi:
[MENTION=662361]wivern[/MENTION]: He has an I9505, thus any information given to him about an I9506 is useless due to hardware differences.

As for you, are Touchwiz features important? Yes or no.
[Galaxy S 4 Q&A, Help & Troubleshooting] zoocha:
Touchwiz features arent important for me but i already installed it. Just need a ROM. I know its subjective, but isnt there a ROM wih best objectively performance/stability/features? My eyes are on Optimized LineageOS 16.0.
[Galaxy S 4 Q&A, Help & Troubleshooting] Strephon Alkhalikoi:
People can give you their opinions as to what the best ROM is. For example, I am using Buff and side's AOSP 9 and could tell you it's the bee's knees. However my opinion does not matter as AOSP is not as feature-rich as LineageOS and you maybwant more features. What others prefer may not coincide with what you prefer and thus it's best to simply not bother asking others for their opinion. The only objective method of determining which ROM is best is by you trying them out until you find one you like.
[Galaxy S 4 Q&A, Help & Troubleshooting] zoocha:
Important features for me:

- Peformance (Speed, RAM management, Stability)

- Connectivity (WIFI, GPS, NFC, Bluetooth)

- Battery Life

I'm used to using Nova Launcher. I don't need fancy add-ons. Functionality and speed has priority. Is there a good ROM to start all testing? Which Android version works best with the device?
[Galaxy S 4 Q&A, Help & Troubleshooting] Strephon Alkhalikoi:
Stock Android 4.4.2. But your device has already updated to Android 5.0.1, so stick with that.
[Galaxy S 4 Q&A, Help & Troubleshooting] zoocha:
Do you mean I have to look for Custom ROMs based on Android 4.4.2 or 5.0.1? Are there any with security patches? I thought the new Android versions improve performance and save resources.
[Galaxy S 4 Q&A, Help & Troubleshooting] Strephon Alkhalikoi:
I said stock! Stock does not mean "custom ROM based on stock", but "straight from Samsung". In short, don't bother with a custom ROM at all. Custom ROMs can do a lot and do it well, but if you're looking for stability and good battery life, a custom ROM is NOT always the best choice.

The price you pay for stability is weakened security since these devices haven't seen a meaningful update in years. Going with a custom ROM means giving up something in favor of increased security, whether it be stability, battery life, connectivity, or something else not mentioned. But only you can decide that, and only you can determine at the end which way to go. Any ROM recommendations I give would be pretty much useless.
[Galaxy S 4 Q&A, Help & Troubleshooting] zoocha:
Now I understand. My bad cause i was looking for an specific Android Version.

What about debloated ROMs based on Stock? Aren't they basically Stock but with more memory space? Is it possible to update sercurity patches on Stock ROM this way?

Is there a list with things safe to delete aka debloat everything myself?