yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 General] samersh72:
the csc must match

or maybe you flashed the latest firmware

you didnt flash it yet??

did you make a backup for efs?

flash this firmware http://www.hotfile.com/dl/247532781/ea6fcb0/I9500XXUBMH1_I9500OJVBMH2_XFA.zip.html it has the same modem that you have it now.
[Galaxy S 4 General] NoobieUser:
yup thanks alot just made backup of EFS
[Galaxy S 4 General] samersh72:
you can flash any firmware with unlocked bootloader and free knox. avoid MGG, MH?, MI? firmwares, in another say, avoid flashing firmwares begin with I9505XXUD.....
[Galaxy S 4 General] shane_oh4:
Hey,

Thanks for the thread.

I'm from Ireland, living in China and have bought a Chinese GT-I9500.

(Android Version: 4.2.2 - Baseband version: I9500ZNUCMH2)

Rooted it with Odin earlier.

Is it possible to get the Irish Vodafone rom? If not what would you suggest, and what are the implications for using another countries rom here? I'm a little uninformed here.

Really I only want all the unincluded Google framework stuff, and to delete some of the China Unicom Mandarin bloatware, possibly going for a custom rom in the future.

I've managed with the usb lead to install most of the apps I want but it would be a lot better to have the Play Store. Also with my VPN I can seem to access the Play Store but it says "****app will be installed on your device soon" and then does not

Thanks for any help
[Galaxy S 4 General] samersh72:
I dont know if other firmwares will work on Chinese one, since the last has a different pit file.

If you are rooted, i guess you can flash gapps with custom recovery
[Galaxy S 4 General] shane_oh4:
Thanks. Do you know what you lose from Gapps on the s4: gestures? camera functions? anything? I thought I read somewhere today that Google Apps weren't available for the I9500 though? Possibly old information, I'm not sure. The sheer amount of variables, roms , S4 types and customisations are frying my brain. Thanks again.
[Galaxy S 4 General] gginesta:
Is it possible to get the Hong Kong version?
[Galaxy S 4 General] jamiethemac:
Hi, thanks for the guide, it worked to a point, but now I'm stuck. After following the steps I now have no sound. I've tried flashing a few roms and it's always the same, everything seems to work but the sound. Please advise!
[Galaxy S 4 General] samersh72:
What is your phone and what firmware did you flash

Sent from my Galaxy
[Galaxy S 4 General] cirwell:
Can´t flash stock firmware

Hi guys, I have a little bit of a problem and I was wondering if anybody can help me... I had CM 10.1.3 installed on my S4 I9505 intl and after installing Adam kernel the phone didn´t boot up anymore, so I went to Recovery and I did a wipe data/ factory reset, wipe cache and also format system and format /data and /data/media (/sdcard) hoping to install the official rom via Odin using the DL mode. After reboot, I got the message Firmware upgrade encountered an issue. Please select recovery mode in Kies and try again. First, I tried to install the official rom by booting up the phone in DL mode but it didn´t work, the update stops right at the beginning of the process, then I tried to recover via Kies but Kies doesn´t recognize the phone neither. So I installed CWM again via Odin ( successfully ) and flashed CM again. Can anyone help me figure out what´s wrong and what needs to be done in order to be able to flash the stock rom ? I also flashed the pit file but it still doesn´t work.

Thanks !
[Galaxy S 4 General] samersh72:
first, see odin troubleshooting in op.

it matters on what firmware you where and what firmware you are flashing.

make wipe data and cache before and after flashing
[Galaxy S 4 General] cirwell:
I tried all that and still no luck.... I am trying to flash the same firmware I had before rooting.
[Galaxy S 4 General] SiMBol10:
Pretty much exactly the same problem and the same experience looking for help with it. But its not even my phone and it would be really useful to get it fixed before sunday if even at all, because you know, another S4 unlocked is like £500....

---------- Post added at 11:38 PM ---------- Previous post was at 11:37 PM ----------

wiping the cache after flashing is literally what broke mine in the first place, I haven't seen it as being entirely necessary unless you boot up and have problems with it
[Galaxy S 4 General] harshsaini:
.:: Silly Ques ::.

I rooted my device through CF's AutoRoot, now i can't receive update through OTA. So i m thinking to UnRoot my device. I have downloaded the Firmware from SamMobile.

[Q] I have like 200 aaps installed. If i flash stock rom i think i will loose all my data and Game progress. How can i avoid this. I want my device same as it is now after UnRooting.

any advice. .?
[Galaxy S 4 General] samersh72:
Make a backup before flashing just in case.

Flashing stock does not wipe data. But sometimes if you have a bootloop after flashing, you must make a wipe.
[Galaxy S 4 General] samersh72:
Germany (DBT) I9505 4.3 is out :good:
[Galaxy S 4 General] merin_83:
yeah :) seems to have many back end changes than UI, and they have a new camera firmware .. am thrilled :fingers-crossed:
[Galaxy S 4 General] JadAsmar:
Unroot S4

Hi I Want To Unroot My Samsung Galaxy S4 , But I Dont Know What Firmware To Download... Im From Lebanon My Carrier Is ALFA , On My Phone i have I9500XXUBMEA
[Galaxy S 4 General] samersh72:
Ya hala :thumbup:

Connect to kies and tell firmware information
[Galaxy S 4 General] shamps:
I am rooted and on MH1 firmware.

I see that the latest official firmware for India

Is I9500XWUBMG5 released in july.

I have also read somewhere that if I try to flash an older modem than MG9 than IMEI is lost.

Is it safe to flash the I9500XWUBMG5 from odin to revert back to stock for official status?

Also since 4.3 is released and if I flash a custom rom with 4.3 base, will it be possible to revert back to I9500XWUBMG5 which is 4.2 if required?

Thanks in advance!!
[Galaxy S 4 General] samersh72:
do you have efs backup before flashing MH1?

make a bakup for efs on MH1

any way, you can always flash different modem if something went wrong
[Galaxy S 4 General] shamps:
I have the EFS backup. But is it possible to restore EFS once unrooted with stock recovery?

Secondly, do you think going back to official 4.2 from custom rom 4.3 will be possible??
[Galaxy S 4 General] samersh72:
if something goes wrong with efs after downgrading, root, restore efs then re-flash stock firmware.

AFAIK yes you can from a custom rom, but didnt tested yet
[Galaxy S 4 General] yashvchauhan:
Hey, I have stock ROM, rooted, not flashed a ROM ever (always dual booted)

now, my bootloader (download mode) doesnt show a knox counter. Not 0x0 not 0x1. My binary is official (used the other thread) but device status is custom.

Now, I need to ask this -

If I flash a stock ROM :

1) will my device status be set to official?

2) will I get knox 0x1 in my bootloader?

coz I've got the latest firmware available for my country (MF8) and it still doesnt show me knox :s
[Galaxy S 4 General] samersh72:
i guess you have the I9505

since you did not flash new firmwares (MGG, MH?, MI? or the stock 4.3) your bootloader is not locked with no knox, so you can flash MF8 with no issues.
[Galaxy S 4 General] yashvchauhan:
Thanks a lot for the quick reply!

Sorry forgot to add that, i have i9500

Thanks again!

edit - basically, i'll flash the current (stock) AP, CP and CSC right?
[Galaxy S 4 General] samersh72:
Oh... i see,

no problem with knox and bootloader with the I9500 variant.

yes, and if it is a single file, then put the .tar in AP (PDA)
[Galaxy S 4 General] yashvchauhan:
WHOA

Okay I have no idea how, but I rebooted the device 2-3 times.

And i have device status official, binary official and with root. :D

http://xdaforums.com/showthread.php?t=2255190 worked.

edit- i wanted to update to 4.3 ota, hence.

thanks a lot for your help!
[Galaxy S 4 General] xpv:
GT-I9500 freezes and restarts after flashing firmware

Hi,

I bought my Samsung Galaxy S4 GT-I9500 when I was traveling around China. I am using it in Australia. Everything worked perfectly apart from the fact that the Chinese firmware didn't have any Google stuff (Google Account, Play Store, Gmail, etc.). I decided the flash a different ROM which would include that.

I didn't find any Australian firmware for GT-I9500. Is there any?

I flashed the German firmware (from the 2nd post):

Germany MBC (May 2013)

PDA: I9500XXUAMDK

CSC: I9500MBCAMD6

Version 4.2.2

First, I tried to flash only the PDA and the process failed on writing system.img.

Then, I used also the PIT file attached to the 1st post and this time it passed.

The phone boots up, but after a few minutes, it freezes or restarts. Occasionally, it pops-up messages such as "Process system isn't responding" or "Unfortunately, System UI has stopped".

I tried to wipe data and clear the cache, but it didn't help. Clearing the cache ended up in an error and then the phone restarted.

Has anyone experienced the same issues? How did you solve them?

Thanks
[Galaxy S 4 General] gajkax:
Flash South African-XFE official firmware(download it from sammobile)

after flashing enter in recovery and wipe data/factory reset and wipe cache partition.

Thats it.

If you want root fflash CF as PDA via odin.

WARNING:South African firmware comes with XXUBMG9 modem and this modem can NOT be downgraded.

If you have IMEI problems like IMEI=0049xxxxx

just flash this modem XXUBMG9 in odin as PHONE and your good to go.

good luck
[Galaxy S 4 General] burakg:
do i got to be on a stock rom for TRIANGLE AWAY to work or do i got to get samsung kernal to use TRIANGLE AWAY
[Galaxy S 4 General] samersh72:
your bootloader must be unlocked (that mean old firmware is stiil on your phone) to use triangle away, and yes stock rooted firmware.
[Galaxy S 4 General] burakg:
i got a unlocked gt-i9505 LTE im from Australia to get stock samsung kernal i need to go back to stock firmware root again then use TRIANGLE AWAY
[Galaxy S 4 General] samersh72:
get stock kernel from here and flash it http://xdaforums.com/showthread.php?t=2252855 then use TA and if you did not flash a custom kernel before, you are good to go
[Galaxy S 4 General] burakg:
last thing i want to ask is if i go on stock rom do i got to root again to use TRIANGLE AWAY i want my gt-i9505 official stock so i can claim warranty sorry if i am asking to much stuff
[Galaxy S 4 General] samersh72:
sir, if you are on stock rooted firmware (with stock kernel) just use triangle away, then flash stock firmware.

if you are on a custom rom, flash stock, root, use triangle away, re-flash stock firmware
[Galaxy S 4 General] burakg:
im confused if i use odin flash stock rom stock kernal root then after use triangle away then flash stock rom again from odin will the counter be back to 0
[Galaxy S 4 General] samersh72:
stock firmwares are signed by samsung, they do not trigger counter :good:
[Galaxy S 4 General] burakg:
i get it now thank you for the help
[Galaxy S 4 General] 99rayray99:
will i brick

will I brick my phone if I flash my US Samsung galaxy s4 i9500 with the India firmware?? thanks :laugh:
[Galaxy S 4 General] pancho2288:
your device's current firmware version is not supported to update firmware via kies

Hi all!!

Great tutorial!!

I just flashed the Argentina Firmware UBUBMG1, and i getting the message in the post title..

Any help?
[Galaxy S 4 General] tigerphil:
Can any one advise me on the most recent BTU firmware. The screenshot shows my current but the problem I keep facing is since i removed root and returned to stock, kies will always say my device is not supported and no matter what I try to fix that nothing has worked. I've noticed recently my phone has been automatically checking for updates, last time it did that, I manually checked and found there was a security update but again my phone has recently started checking for updates, soon as I notice the symbol I've manually checked to be told its the latest firmware or get another msg which says something along the lines of update exceeded. Any help will be great
[Galaxy S 4 General] sarbe:
I think MH8 is the latest BTU. Look here mate : http://xdaforums.com/showthread.php?p=40895753
[Galaxy S 4 General] burakg:
im trying to flash stock samsung kernel it is not working still shows i got custom kernel i just want my mobile back to official so i can claim warranty
[Galaxy S 4 General] simon.moorhouse:
i9505 :(

Soft brick...

Flashes successfully but then bootloops...

Attempt to clear Cache and Dalvik using TWRP:

Unable to mount ' /cache'

Any ideas? Repartition?
[Galaxy S 4 General] malybru:
Hi,

Did you factory reset?

Also,what firmware did you have to start with?

:)
[Galaxy S 4 General] simon.moorhouse:
Thanks Makybru

I had tried factory reset, unable to mount varying partitions!

Decided to give Kies firmware recovery a try and it worked brilliantly - partitions repaired - stock recovery and rom :)

CF Autoroot - TWRP Recovery - Flashed rom from recovery - Titanium Backup - Sorted :D
[Galaxy S 4 General] Acrivec:
Hello developers. :)

I have a problem with (un)rooting my S4.

At first I have auto-rooted my device, everything went OK, then I've heard, that the 4.3 update has been released and wanted to update my brick. Oops. System shouts 'software changed', so I've decided to unroot. I have done it, sucessfully unrooted, but it cried anyway. I've done factory-reset - system and binaries went "custom".

Now I can't even root - no errors on autorooting, but after restarting - the app is installed, but doesn't have binaries. When I root again - app is missing. Loop.

Any help? :confused:

/edit:

I9505. Stock rom.

/edit2:

Well. Strange. All apps wanted root access, but no application replied to it, so I've manually installed supersu from Play Market. It worked. Root is working. But now, from time to time a message telling me "device detected dangerous changes" with two buttons - restart now and restart later. I'm getting more and more confused.
[Galaxy S 4 General] malybru:
Hi,

Can you go to "Download Mode" ( Hold Volume down, home, and power until you see the green dude.)

and tell us what is written there?

:)
[Galaxy S 4 General] tigerphil:
Thanks for that. I already downloaded that one but now have to wait til I got enough charge on the phone before plugging into odin
[Galaxy S 4 General] Acrivec:
In a moment, I've downloaded avast to scan the device, just to be shure.

I will edit this post and tell you what is written there.

But before that:

http://i.imgur.com/xt8gQOd.png

http://i.imgur.com/7CyF3Zb.png

First:

"information about a detection.

The device detected, that an application is trying to do prohibited action. In orded to protect the device it is recommened to restart."

"In orded to protect the device it is recommended to restart"

"Restart now" "restart later"

Avast haven't detected anything.

Download mode:

ODIN MODE

Product name: gt-i9050

Current binary: Custom

System binary: Custom

CSB-Config-Lsb-0x30

Write protection: enable
[Galaxy S 4 General] malybru:
Hi,

Earlier you wrote :

"I9505. Stock rom."

And in the previous post you have :

"Product name: gt-i9050"

Can you please state the variant of your phone for certain.

:)
[Galaxy S 4 General] Acrivec:
050

505

You know.. :P

GT-I9505.
[Galaxy S 4 General] malybru:
Hi,

So, do you want to upgrade to 4.3 via OTA,or are you willing to use one of the custom ROMS available?

:)
[Galaxy S 4 General] archtme:
Ok will try that.

Two more things:

1. If I do have to use the .pit file, do I flash both the .md5 file and the .pit file at the same time?

2. Will flashing .pit files void warranty?
[Galaxy S 4 General] samersh72:
1. yes (beware this is for I9505) re-partition will be marked when you choose pit file)

2. No
[Galaxy S 4 General] samersh72:
read OP clearly

it is not download mode that you boot in it!

hold volume down+home + power, then volume up
[Galaxy S 4 General] archtme:
Lol.. I changed USB port like you said and Odin did not fail. You literally saved my weekend.

Thank you so much!
[Galaxy S 4 General] LKN007:
Hi samersh,

Why would you need to flash carrier firmware for warranty when you have only put stock BTU firmware on and the phone is unlocked.

Surely they will think i got it unlocked from Vodafone plus my count would be 0 since i only used stock.
[Galaxy S 4 General] samersh72:
For csc reason, bootsplash, carrier apps.....
[Galaxy S 4 General] breezerx:
That pit file saved my day (and weekend)!

Thnz a million times!!! :good: :good:
[Galaxy S 4 General] samersh72:
just for confirmation, you have the 16GB version?
[Galaxy S 4 General] zemblar:
Hello here

Like every body here trouble on GS4 i9505 (16GB/unlocked/France), (Stuckl on Samsung and nothing else..), what i've done

Before i was stucl :

- Custom recovery (TWP)

- Custom ROM (MDM/MDN)

Like a kid i see new firmware want to try it (MD2)

- Download from Sammobile

- Install by Odin

- Phone stuck in Samsung

-Try to install MDM / MDE --> Same

-Try to restore original recovery --> Same

-Try with PIT and MDE / MDM / MDN / MD2 --> Same

-USB cable port change --> same

Really stuck for moment, not the first time i play like this (GS2 / GS3 before) but first time stuck so long time (up to 4hours), so i come to try to find dome help from you :)

Thanks a lot (i will continue to try everything and give more information as soon as test them)
[Galaxy S 4 General] samersh72:
did odin say "pass"?

wipe data and cache then reboot
[Galaxy S 4 General] zemblar:
Yes in all case Odin say : Pass

Question : how to wipe in original recovery ?

Ty for reply so fast ;)
[Galaxy S 4 General] samersh72:
odin say pass = no need to pit file

volume up + home + power

then choose from menu
[Galaxy S 4 General] zemblar:
Love you guy ...

So silly to don't think myself to wipe >.<

If you come in Paris send me a pm for take a beer :) or give me a paypal for pay one from here :D

Edit : Thx done ;) but come for beer when you want :D
[Galaxy S 4 General] samersh72:
glad to help.

it is enough for me to press thanks button :good:
[Galaxy S 4 General] Antalor:
ROM without Samsung APPs

Hey There, thank u for this TUT,

but after flashing it i didnt got SU rights, after flashing the Kernel and CF Auto Root it worked for me.

The Samsung Stock ROM for my GT-I9505 contains further all that samsung Stuff ( S Health, S Memo, etc...),

isnt there a cleared ROM with only pure Android, without all the other Apps and stuff?

I`m not a pro at this things, but im learning, so i know that im a noob so please be patient to me ;)

Thanks for Answers...
[Galaxy S 4 General] samersh72:
welcome my friend.

when you flash stock official rom, you will lose rooting.

u must root it again. (do nandroid backup after rooting)

stock rom came with all stock samsung app. you can delete them from system---->app if you are rooted.
[Galaxy S 4 General] Antalor:
Re

Thanks for ur Promt Answer,

i got root rights after flashing like i told u the Kernel file and the CF auto root, so i have done right, thank u ;)

Ok, so, this is the purest Android u can get for it, did i understand it right?

Nandroid semms to be the same like titanium backup? why should i do this after rooting?
[Galaxy S 4 General] samersh72:
No, nandroid backup means that the hole firmware (system,apps, data, recovery kernel...) are backuped .

you can do it from recovery: boot into recovery, select backup and restore---->backup.

so if something went wrong with the phone (fail flashing of something, stuck in bootloop), you can always restore the backuped firmware from recovery.
[Galaxy S 4 General] ronmtorres:
Hi guys,

If I flash my carrier FW, will I lose my files (factory reset)?
[Galaxy S 4 General] samersh72:
No, but if something goes wrong (bootloop), u need sometimes to wipe data
[Galaxy S 4 General] Acrivec:
I want to (or be ready for (?)) update with OTA. :)
[Galaxy S 4 General] :
Thanks!
[Galaxy S 4 General] malybru:
Hi,

OTA will lock you to new knox locked bootloader.

Is that what you want?

:)
[Galaxy S 4 General] Acrivec:
Well, I'm not 100% sure 'bout that. I just don't know if there is a rom with all Samsung-stuff 'gadget-apps', also, I've read that updating to custom-rom 4.3 will apply Knox anyway.

And the most-important thing: STABILITY! Suprise-restart at 3 AM is not what I need (and what I used to have on my Desire Z).

Some offtopic detected. Sorry. :P
[Galaxy S 4 General] malybru:
Hi,

You need to read through the Dev sections HERE and HERE

Read the first posts,and the dev normally explains what is and what is not included in their ROMS.

I can think of ::indie:: and friedrich420 who have 4.3 ROMS with knox removed.

READ,READ,READ

Then,you have to decide.

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

[MENTION=4975115]samersh72[/MENTION]

Is it true that MJ5 firmware for i9500 now contains Knox bootloader?

:(
[Galaxy S 4 General] samersh72:
I didnt flash it yet, but some users state that they couldnt downgrade to 4.2.2 once 4.3 is flashed.

Sent from my Galaxy
[Galaxy S 4 General] maverick7777:
Hi

I just like a fool flashed (United Kingdom BTU (September 2013) (firmware with Enforcing SELinux. SECURED BOOTLOADER WILL BE FLASHED, NO DOWNGRADE)

will I be able to re-install a custom rom? is there anyway to downgrade?.

Also how do I know if I have reset my binary can I re-root?. Panicking need to get back to stock as soon as possible

Thanks

Mav
[Galaxy S 4 General] samersh72:
if you have knox 0x0 in download mode with official status, you are on full stock.
[Galaxy S 4 General] shayant98:
pda problem

the pda file does not show up
[Galaxy S 4 General] samersh72:
after unzipping the downloaded file from hotfile, you will get 2 files, ignore .dll file and put the other one (the big one) (.tar.md5) in odin as pda
[Galaxy S 4 General] vimto25:
Hi how do i install my old rom from a backup?, i was on stock and then i installed google rom. i did a backup of which i have the folder saved on my pc of the stock rom and sd card. i have tryed rom manager and it carnt find any backups but there is.

is there any way i could use odin ? im not sure how to do it as the backup is 2.6gb and has many files. any help ill be thankfull.
[Galaxy S 4 General] samersh72:
i guess you made the backup with a custom recovery, restore your backup with the same custom recovery from "backup and restore"

your backup folder is located in data/media
[Galaxy S 4 General] vimto25:
yes i think so im not sure what recovery i used as i tryed a few as i was getting problems to make a backup.

i think i may of moved the backup to a diff location would this matter?
[Galaxy S 4 General] samersh72:
if you have the backup on your phone, you can find it in data/media (use a root explorer to see it) if not, move the backup (i guess it is named: clocworkmod) move it from pc to data/media with root explorer and restore it with custom recovery
[Galaxy S 4 General] vimto25:
i can see data in my root directory but not media the data folder is empty
[Galaxy S 4 General] samersh72:
you must enable root option (read/write) to see it in your root explorer or file manager...
[Galaxy S 4 General] vimto25:
how do i do that please?
[Galaxy S 4 General] samersh72:
for me i use this file manager https://play.google.com/store/apps/details?id=com.rhmsoft.fm&hl=en download it, go to setting, enable "root explorer" and "mount system folder", the go back, press "up" until you see "data" and you should see "media" inside.
[Galaxy S 4 General] vimto25:
ive done that and it worked. i used rom manager and then it booted to philz recovery, it let me do a restore but all im getting now it a loop, it boots up with logo screen then just goes to recovery after 20 seconds.
[Galaxy S 4 General] samersh72:
hmmm, maybe you have a corrupted backup. if it didnt work, just flash stock
[Galaxy S 4 General] vimto25:
yes seems like it. used stock rom installed via odin and worked fine. thanks

---------- Post added at 11:18 PM ---------- Previous post was at 10:54 PM ----------

ok all sorted now i had to do recovery cach wipe and reset.

only problem i have is i can not connect to any kies. 2,6 says i need kies3 but when i load kies 3 it says i need 2.6 something about a unsupportive device like its detected i had the google rom (I9505G)