yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 General] v941726:
one step i lefy out maybe. i assumed he flashed the 4.2.2 firmware first. i had to that to continue anything. i don't think a phone can be bricked. if so, i would have done it mant times. :)

search xda for stock 4.2.2 firmware. i found it here somewhere under gs4 development. then you can factory reset to vision x or another of your choice.
[Galaxy S 4 General] klau1:
Does Flashing Stock Samsung ROM in Odin Clear out the System Partition?

Options Used:

No repartition

ROM put inside PDA slot

I'm wondering because I suspect there may have been some malware in the previous ROM that was flashed. So I want to be sure all the Files that were in the System Partition Previously are deleted.
[Galaxy S 4 General] Pho3nX:
Special Thanks for samersh72, your topic (and your PIT file) has Unbrick my Galaxy S4 :good:

Thanks Dude !
[Galaxy S 4 General] Scarfall:
Hi,

I reverted back to stock using this guide but I am still bootlooping. I tried flashing the PIT but I'm still crashing at boot.
[Galaxy S 4 General] samersh72:
Boot into recovery and wipe data, cache
[Galaxy S 4 General] Scarfall:
I did that many times, doesn't work. I am beginning to think this coul dbe a hardware issue. Battery perhaps?
[Galaxy S 4 General] Keczanm:
Hi guys!

I have a problem. :/

I followed the steps, did a factory resetbefore flashing the correct firmware to my GT-9505. Everything went fine, and even I have my stock firmware with usable functions. But I can't turn WIFI on! :( As I click on it to turn in it turns off in 2-3 sec. Any idea? :/

Thanks guys
[Galaxy S 4 General] malybru:
Hi,

Did you wipe data, and cache after the flash?

:)
[Galaxy S 4 General] Keczanm:
Oh yes, just did, and it has fixed my issue. Thanks for the hint and sorry about the newbie question! :)
[Galaxy S 4 General] remfpage:
hi, i got and update and noticing that my battery drains fast. however the heating problem has been solve.

did anyone has the same issue?:confused:
[Galaxy S 4 General] thakrage:
Wifi problems and no KNOX

Hello there.

Thank you for this awesome post.

I have just downloaded the latest software for my danish (NEE) i9505 and flashed it with odin.

To be exact, I've flashed the following:

GT-I9505 Galaxy S 4 LTE
PDA: I9505XXUEMKF
CSC: I9505OXXEMK4
MODEM: I9505XXUEMKF
Added: 2013-12-10

First problem:

I am not able to turn on wifi. if I flip the switch in settings, it instantly flips it self back to the "off"-state.

I have done the factory reset twice and even flashed a couple of different modems. Nothing helped. I then thought "what the heck" and went on to root the phone with CF-AutoRoot. But the missing Wifi is starting to annoy me.

I came from the following custom rom: I9505 XXUEMJ7 | ...:::BATTERY KING:::... v9.2

http://xdaforums.com/showthread.php?t=2323577

Second problem.

I'm actually not sure this is a problem. But it is indeed weird.

The software I have flashed contains Android 4.3, but I cannot see the KNOX flag anywhere.

In download mode, I have the following:

ODIN MODE
PRODUCT NAME: GT-I9505
CURRENT BINARY: Custom
CURRENT STATUS: Custom
and then some CSB-CONFIG-LSB

Can this be related in any way?

Thank you in advance.
[Galaxy S 4 General] v941726:
There is a Wi Fi fix for this phone. It's here on xda.

---------- Post added at 08:16 AM ---------- Previous post was at 08:12 AM ----------

Also there is a kernel that will fix Wi Fi. Try the vision X thread. There are links to these within the last 50 posts or so. If you have an att phone then make sure you flash loki-doki after flashing any kernels

---------- Post added at 08:19 AM ---------- Previous post was at 08:16 AM ----------

Vision X is using the latest firmware from Samsung. ML1. Great thread.
[Galaxy S 4 General] thakrage:
I'm looking for a way to make the stock firmware work for me, not a custom rom. :)
[Galaxy S 4 General] v941726:
http://xdaforums.com/showthread.php?t=2391142.....

When you wipe in twrp, wipe dalvik, cache, data, and system. Format those partitions first, then do a factory reset. Install a new rom, flag Loki if using an att phone, then reboot. That should get you where you want to be thakrage.
[Galaxy S 4 General] v941726:
You don't have to have a custom rom. That would be your choice. But you can search xda for ML1 firmware for att/tmo. Then you would be completely stock with 4.3. Vision X has all the links that you would need is all. Or you can do several searches. I would post the ML1 update if I had it for you. But I'm not in a position to do that right now. If you don't find it, I can post it later. But it should be on the top of your search

SGS4
[Galaxy S 4 General] malybru:
Hi,

[MENTION=4130723]thakrage[/MENTION]

Can I ask what variant of the phone you have?

:)
[Galaxy S 4 General] v941726:
Has anyone noticed the arrow direction of calls? Incoming shows the arrow pointing out, outgoing shows the arrow pointing in. So if you have a lot of calls, and you want to know what calls you missed, you have to think the opposite.

Edit : sorry. Wrong thread.

SGS4
[Galaxy S 4 General] Keczanm:
Had the same problem today, simply make a factory reset and it will work! ;)
[Galaxy S 4 General] refedit:
and if I'm not able do enable USB DEBUGGING?

just stuck on Boot Loop and Battery Icon doesn't move

:crying:
[Galaxy S 4 General] v941726:
Been there. At that point I bit the bullet and wiped everything except the ext card. Then started over. But, where are you at this point? What did you last flash?

SGS4
[Galaxy S 4 General] refedit:
I just updated OTA from 4.2.2 to 4.3

Enviado do meu One através de Tapatalk
[Galaxy S 4 General] v941726:
May need to try a different kernel then. Is it an att phone?

SGS4

---------- Post added at 04:26 PM ---------- Previous post was at 04:22 PM ----------

Also, are you flashing from your phone or using odin? Me personally, I download all the files I need to my external card and do everything from twrp. Faster and easier and you don't need a computer

SGS4
[Galaxy S 4 General] refedit:
No dude. It's stock..no recovery..that's also my main problem. And can't enable usb debugging

EDIT:

After 2 hours charging, it booted but only to 4%! And after 5 min, it was in 2%!!!

What could be the problem? Battery or hardware issue?

Enviado do meu One através de Tapatalk
[Galaxy S 4 General] v941726:
Been there too. A full charge is better

SGS4
[Galaxy S 4 General] refedit:
Powerd Off, it charged only till 8% during night and then it just stoped charging.

Now I tested charging switched ON and it's on 18%, but really really slow..already bought on ebay new battery and 2 amp charger. hope this will fix it.

EDIT: just to say already enabled USB DEBUGGING.

I read that re-flashing with ODIN new 4.3 would fix this issue!?will try when it's about 70% charged. which version should I use? 3.09? I'm on 4.3.
[Galaxy S 4 General] malybru:
Hi,

It should not matter which version of Odin you use.

The important thing is that it works.

If 3.09 does not work,try a different version.

:)
[Galaxy S 4 General] tsphere:
Odin 3.04 works flawlessly for me!
[Galaxy S 4 General] alvihion:
Are you using administrator mode or not? I cannot use it her and it is not working for me :crying:
[Galaxy S 4 General] Lumsdoni:
Just so I'm clear.

I'm currently on a rooted 4.2.2

If I flash a stock, unrooted rom from the OP I can upgrade to 4.3?

I will lose to root and warranty, but I will get OTA updates?
[Galaxy S 4 General] Lumsdoni:
Also, when I unzipped ROM from OP I only get romversionxxxxxxx.md5 file not home.tar

---------- Post added at 09:20 AM ---------- Previous post was at 09:18 AM ----------

Forget that I see the home.tar.md5 file,
[Galaxy S 4 General] malybru:
Hi,

Do you have knox?

Check in download mode.

Is there anything about knox there?

:)
[Galaxy S 4 General] malybru:
Hi,

There are many other versions that you can try.

What problem are you having?

:)
[Galaxy S 4 General] Lumsdoni:
So, after following OP, and then factory reset I have the following.

I downloaded

BTU-I9505XXUEMK8-20131123173333.zip

I'm on UK Vodafone contract

Android 4.3

Baseband i9505XXUBMEA

Build No. JSS15J.I9505XXUEMK8

SE for Android Status

Enforcing SEPF_GT-i9505_4.3_0014

I have a link to Knox in my app drawer but it isn't downloaded yet.

WiFi won't turn on

Samsung updates says device modified no updates

Download mode:

Current binary Custom

system Status custom

Csb-oem_config_LSB: 0x30

Write Protection enable

So now I have no root or wifi.

I'm not fussed on root, but wifi is essential. I'd prefer ota, hence no root.

Can any one help?
[Galaxy S 4 General] malybru:
Hi,

Try wiping data and cache in recovery.

I am not sure that you will get OTA,because your status is custom.

:)
[Galaxy S 4 General] alvihion:
NVM, as you said there are a lot of versions, I just downloaded other one and it is working fine!

Thanks!
[Galaxy S 4 General] Lumsdoni:
Thanks.

I thought flashing stock ROM / recovery would reset ROM to official.

Any idea why I'm not showing Knox?

I've wiped a few times and no luck. Wifi is the biggest issue. I may try another stock ROM, As its not Knox could I flash stock 4.2.2 and use triangle away to rest to official and then upgrade ota?
[Galaxy S 4 General] malybru:
Hi,

Do you want knox?

If you do not have it ,that is a good thing.

You can keep custom ROMS and just flash custom 4.3 or 4.4 ROMS if you wish.

If you ever need to get back to stock,then, yes, Triangle away and stock firmware will get you back to an original official state.

:)
[Galaxy S 4 General] Lumsdoni:
UPDATE:

I hadn't read things properly I think.

I rooted using CF Autoroot, then downloaded triangle away and ran that.

Then factory reset and reflashed stock rom.

WiFi now working, and software update says all updates applied instead of modified device.

Thank you all so much for your help and time.
[Galaxy S 4 General] kadeashiq:
how do I unbrick my s4?

Well firstly I flashed a google play edition rom with the correct kernel to be able to use it, it still kept crashing so I wanted to go back to stock touchwiz 4.3 BTU unlocked here in the UK. I downloaded the correct files followed countless tutorials and it still kept saying failed, I tried flashing multiple types of firmwares all of the latest ones, still failed. Tried a different USB cable, computer and still it isn't letting me go back to stock, it fails in odin when writing the system. Is there anything I could do?
[Galaxy S 4 General] samersh72:
flash a custom recovery, wipe system, data, cache and dalvik then re-flash stock.

read odin troubleshooting in op
[Galaxy S 4 General] kadeashiq:
Just tried that, still didn't work. it's the gt-i9505. it says

current binary: custom

system status: custom

knox kernel lock: 0x0

knox warranty void: 0x1

csb-config-lsb: 0x30

write protection: enable

emc burst mode:enabled
[Galaxy S 4 General] malybru:
Hi,

Did you flash the custom recovery?

Did it work?

Try it again,and flash a STOCK ROM from recovery

:)
[Galaxy S 4 General] kadeashiq:
Hello,

Yes I first flashes CF-Auto Root, Then TWRP and wiped what they said. Then tried flashing stock firmware from SamMobile.com. Still no dice:(
[Galaxy S 4 General] malybru:
Hi,

The sammobile firmware is for odin ,isn't it?

Did you try the link I gave you in the previous post?

:)
[Galaxy S 4 General] kadeashiq:
I'll try it now, wont I be able to return to stock firmware after this?
[Galaxy S 4 General] malybru:
Hi,

Yes.

Use the sammobile firmware with odin.

:)
[Galaxy S 4 General] v941726:
I personally don't use odin. I just flash from twrp. I've heard that 3.04 works the best though

SGS4

---------- Post added at 09:57 AM ---------- Previous post was at 09:50 AM ----------

If you remain stock yes, you can get OTA's

SGS4

---------- Post added at 10:13 AM ---------- Previous post was at 09:57 AM ----------

You don't have to unzip when you flash. I didn't use any tar files. Just zip files. Sounds like you guys might be making it more difficult than you have to. If you go to the vision X thread, you can get pretty much everything you need. Once you get it working, the rest is easy. Vision X and Venom are pure stock roms as a base. That's what you need to get going.

SGS4

---------- Post added at 10:15 AM ---------- Previous post was at 10:13 AM ----------

What exactly do you mean by no dice? What's not working?

SGS4
[Galaxy S 4 General] refedit:
UPDATE

I took S4 to an expert(private although) and he just told me that it's a board defect/problem but he could fix it!!!!! :D 38€, not bad!!

he read that some S4 came with that board problem, and that's why the guy on ebay was selling it!

but the guy who sold it to me will pay for it!!!! he was aware of it and didn't mention it on his listening!!!!

I will add a coment to the case on ebay!!!

regards m8 and thx for helping :highfive:
[Galaxy S 4 General] v941726:
Good luck. Hope he is correct. But usually when things go wrong, they blame it on the board. Hope you let us know what happens

SGS4
[Galaxy S 4 General] msxDr0id:
Hi!

My Exynos got wet and now the screen works erratically, sometimes it turns on and works for some minutes but since a few hours ago it remains black :( On the bright side the rest of the phone seems to be working without problems.

So, I managed to get it in Download mode and now I'm about to restore the stock image so I can send it to my service provider and make warranty effective. At the moment I'm on a custom ROM (ArrowROM v11) which is based on 4.3 but the stock image is based on 4.2.2, so my questions are:

a) Should I follow the instructions on OP to the letter exactly as are they posted or, more likely

b) Do I need to first flash the 9500_pit file and only then should I flash the stock ROM?

c) In the event I should flash PIT first, should I choose "Re-Partition" or not?

Btw: what's the function of GT-I9500_sboot.tar? Should I use it when restoring original 4.2.2 stock ROM? Sorry if this sounds dumb but couldn't find anything regarding this file in the OP.

Thanks everyone for helping me on this one!
[Galaxy S 4 General] samersh72:
no need to flash pit file.

if you were on 4.3 (stock and not the custom rom) you can not go back to 4.2.2

wiping data and cache before and after flashing is recommended.

if you dont use pit file, dont ever tick "re-partition"

follow op.

you must dis-assemble the device immediately after water damage and dry it with a hair dryer.
[Galaxy S 4 General] v941726:
Yes. I agree. But I have gone back to 4.2.2. No pits or tars and never repartition.

SGS4
[Galaxy S 4 General] samersh72:
on I9505, yes you can go back to a limited versions of 4.2.2 firmwares (that have a secured bootloader like MGG and up)

on I9500, you can go back only to south African 4.2.2 firmware (MH1) or Panama (claro) 4.2.2 (MH1) since those 2 firmwares have the secured bootloader like 4.3 firmwares
[Galaxy S 4 General] refedit:
I updated to 4.3(Official), why can't I setup MTP? can't connect to Kies nor Kies 3? I'm not rooted also.
[Galaxy S 4 General] msxDr0id:
Hello samersh72, thank you very much for your reply!

Yes, I should immediately dis-assemble the device but I was still a far trip from home :P I did dry that indeed but the damage was already done :(

Just to be 100% sure: I'm o a custom here. The guide I followed to flash 4.3 over 4.2.2 instructs to flash a new PIT and repartition the device as the size of partitions in 4.2.2 and 4.3 differs.

So: when reverting from a 4.3 custom ROM with a 4.3 PIT with a re-partitioned FS back to a stock, vanilla 4.2.2, there's no need to re-partition when flashing the 4.2.2 PIT? I'm sorry if I sound like a balls-breaker but I'm trying to revert the device back to the state when I bought it.

Thanks for your patience!
[Galaxy S 4 General] Lumsdoni:
All good now.

I wasn't keen on getting Knox, I just thought it was built into all Samsung 4.3 builds.
[Galaxy S 4 General] samersh72:
AFAIK no need to re-partition when going to 4.3. And i guess they have the same pit file
[Galaxy S 4 General] SH76:
ODIN not seeing my phone

Hope someone can help, I'm lost without my phone!!!

Was trying to free up some memory and read somewhere that *#9600# option 2 clears old update files. I did this and re-booted, but now the phone is bricked!

When holding in the power button the phone vibrates as if to turn on, but doesn't boot. Also, it vibrates like that when you connect to usb or charger, but again no boot or power charge light.

ODIN is not seeing the phone, and I can't figure out where to get and install QHUSB drivers as requested in the fix by usb cable link in this thread.

Thanks in advance for your time.

Dave

GT-I9505
[Galaxy S 4 General] Vessina:
Dont boot in recovery or download mode??
[Galaxy S 4 General] timberwolf60:
Pressing power and volumn down whether it can boot to download mode. If yes. Flash a new firmware. Good luck.

Send from my I9505 using Tapatalk Pro

ROM: I9505XXUEML1_Knox 0x1

CSC: I9505OLBEML1_STH

Modem: I9505XXUEML1

Stock Kernel/Recovery

Bootloader: I9505XXUEMK9
[Galaxy S 4 General] samersh72:
Uninstall kies, then re-install it, restart your pc. Boot your phone in odin mode, connect your phone to pc, run odin (run it as administrator) try with another usb port if it is not recognized.

There are 2 download links for QHUSB driver in op :thumbup:
[Galaxy S 4 General] SH76:
Odin now seeing phone,

Blue notfication light is flashing,

Notification tone has gone off twice like I've rx'ed a text etc, but still blank screen

Think I should still try flashing firmware? If so, which one is for UK Vodafone GT-I9505?

Thanks for your help so far BTW
[Galaxy S 4 General] Vessina:
I think get the uk standard in sammobile or samsung-update without vodafone bloatware

---------- Post added at 06:39 PM ---------- Previous post was at 06:33 PM ----------

In sammobile or samsung-update is BTU code for UK(stock)..

Have to be registered user (free)
[Galaxy S 4 General] steve90k:
Since most of the links to the Galaxy S4 i9505 firmware point to hotfile.com can any one suggest a download link to a possible rooted and unlocked stock Samsung galaxy S4 i9505 LTE ROM?

I cannot find it anywhere!!!
[Galaxy S 4 General] CarlM34:
Have a good read HERE :)
[Galaxy S 4 General] steve90k:
There are over 800 pages in that thread, Are you referring to this?

"DO NOT use CF-AutoRoot for Pre-Rooted ROM's as it can mess things up!!"

In that case how can I flash it without using the CF-AutoRoot?

I'm genuinely very confused!
[Galaxy S 4 General] CarlM34:
Basically...If you are going to flash a PRE-ROOTED Stock rom via ODIN there is no need to root your phone prior to it!

Is all you want is a rooted stock ROM? If so why not just root your phone!
[Galaxy S 4 General] steve90k:
I no longer have the stock ROM, I bought the phone from my friend who no longer has it.

It was flashed to CM 11.

I have tried to find a ROM that works, but it just seems to hang every time i try.

The Kernel I have is i9505xxuemk9. but all the downloads I have found for a stock rom with this kernel are either from Hotfile.com which is not working anymore.

Or they simply don;t install properly.

I constantly gets "hangs" on the first boot, yet CM 11 will work every time?

Oh, hold on, A ROM i tried just worked. thanks!!!
[Galaxy S 4 General] tercergrande:
help

As long as I can see, you are a member of Omega Team. Would you please help me out?

I have bought a chinese genuine Samsung i9500. I need to get rid of stock Chinese rom because of caller id issues. It's not possible to flash any other international stock roms.

I flashed CWM and rooted, then tried to flash Arrow rom and Omega rom, with both I have the same problem: when the screen gets locked (manually by me or by time), the cellphone wouldn't unlock, I have to manually turn it on.
[Galaxy S 4 General] Lowl1fe:
Will this method completely remove any custom recovery, replace it with stock recovery and reset flash counter thus rendering CWM flashed+rooted galaxy s4 entirely eligible to warranty based repairs?
[Galaxy S 4 General] samersh72:
yes.

if you have I9505 variant use triangle away before flashing stock to reset binary counter.

but Knox flag can not be reset if triggered
[Galaxy S 4 General] Lowl1fe:
I have the I9506 running 4.2.2, and what I've been reading from the forum is that only the 4.3 features KNOX.
[Galaxy S 4 General] samersh72:
latest firmwares of 4.2.2 have the knox warranty (MGG and up), you can be sure by booting into download mode and see if there knox void

EDIT: hmmmm

I9506

.... no idea about this variant
[Galaxy S 4 General] Lowl1fe:
How do I check if my device is running "MGG" or later? So before someone figures out an exploit there is no way to root I9506 without triggering the KNOX flag?
[Galaxy S 4 General] samersh72:
sir, im talking about

I9505

, i dont know if I9506 act the same.

dial *#1234# and see what firmware you have

boot into download mode and see what is written
[Galaxy S 4 General] Lowl1fe:
Will do. Thanks for the effort
[Galaxy S 4 General] Langberg:
pit file for GT-I9506

Please have a look at my thread http://xdaforums.com/showthread.php?p=49029935#post49029935.

Would it be possible to do following on my GT-I9506:

Flash firmware I9506XXUBML5_I9506FTMBML1_I9506XXUBMK7_HOME.tar.md5 together with I9505.pitfile.
[Galaxy S 4 General] samersh72:
i red your thread and glad that you managed to fix your phone. dont try I9505 pit file on I9506 not sure if they share the same partition.
[Galaxy S 4 General] Ritchiejoe:
Hey [MENTION=4975115]samersh72[/MENTION]

I have tried flashing my phone back to stock two times using stock MJ7 firmware. I get a Pass in Odin, the phone bootloops, I then unplug the battery. wait a minute put it back in and Hold UP +Power+Home for recovery, it says recovery in the top corner but just reboots the phone. The phone loads up and my custom lockscreen is still there even after attempting to restore stock firmware. it then says such and such stopped then the phone just crashes. Any suggestions?
[Galaxy S 4 General] samersh72:
can you reset the phone from phone settings?

if yes, reset it, pull out battery for a while, boot into download mode and reflash firmware with "auto-reboot" un-ticked. when it pass and if it doesnt take you to recovery mode, pull battery, insert it, boot into recovery and wipe data and cache, reboot

i suggest odin 3.04 or 1.85
[Galaxy S 4 General] Ritchiejoe:
I tried but Now getting fail in odin :crying:
[Galaxy S 4 General] samersh72:
see odin troubleshooting at op.

you will never know when odin hit the jackpot!

Edit: where it failed?
[Galaxy S 4 General] Ritchiejoe:
Will try again, if fails I will upload a screenshot.

When using pitfile do I flash at the same time as the stock firmware or separately?
[Galaxy S 4 General] samersh72:
if it didnt give you "no pit partition" no need to flash pit.

any way if you want to try it, flash it with the firmware
[Galaxy S 4 General] Ritchiejoe:
I'm now getting a pass but cannot enter recovery to wipe cache etc and I am back to where I was at the start with custom lock screen. It is like it is not wiping it properly.

I can still get into download mode, should I try flash Philz Recovery and see if that helps or?
[Galaxy S 4 General] samersh72:
yea try with a custom recovery
[Galaxy S 4 General] Ritchiejoe:
it fixed then broke again, if I flash stock software with Pit file do I have re-partition checked? :confused:
[Galaxy S 4 General] DiDA™:
Worked fine on my GT-i9505!

Now I'm just waiting for my Samsung to fully boot up. How long does that take?

If only Sammy would've uploaded the firmware somewhere else. -_-

Thanks! :good:

EDIT:

It seems like it was actually stuck at the Samsung logo. Booted into Recovery and did a Data + Cache wipe and now everything is okay.