yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Q&A, Help & Troubleshooting] EM|NEM:
Hello guys

I've been away from all this android flashing and stuff for about a year and I wanted to finally flash a custom rom on my s4 since its warranty expired.

I just have a few questions on how to proceed with this. I have a black edition international version (i9500) which i updated to lollipop by flashing firmware through odin. Dont really care about knox counter but if it as at all possible to keep that 0x0 could someone please tell me how to do that?

What i want to do:

1. Flash a custom recovery

2. Flash a custom rom (AOSP, probably cm12)

I've found way too many guides on how to root and flash recoveries but if someone could please advise me the easiest method i would be grateful. I would like to flash TWRP recovery.

Also, whats the deal with custom kernels? are they any good (performance/battery)? do i have to flash them separately? (on htc roms they come with the rom so i'm not really sure about this)

Any feedback would be greatly appreciated. Thanks in advance!
[Galaxy S 4 Q&A, Help & Troubleshooting] daogiahieu:
Firts, you should go : https://dl.twrp.me/i9500/

download the twrp-2.8.7.0-i9500.img.tar

go to download mode :D, use odin and flash that twrp-2.8.7.0-i9500.img.tar file :).

Now you have your custom recovery :)

This video may be helpfull :), it shows you how to flash TWRP:

https://www.youtube.com/watch?v=ngG9e4Qyog4

Go to recovery and flash custom rom :D, i suggest that you should try omega rom v28 or S6 port :), you can find them in

http://xdaforums.com/galaxy-s4/i9500-develop

About Custom kernels, i use stock kernel with omega rom and feel good :) so i think you should use the kernel included in the custom rom which you download.
[Galaxy S 4 Q&A, Help & Troubleshooting] EM|NEM:
Wow, that sounds so much easier than all the stuff u have to do for a htc phone :D

Thank you so much! will definitely try those roms. I used to be a flash-a-holic a few years ago :) time to get back on the horse :cool:

---------- Post added at 11:20 AM ---------- Previous post was at 11:06 AM ----------

quick question: Do i need to be rooted before i flash TWRP or can i just go ahead and flash it first and then flash a pre-rooted rom
[Galaxy S 4 Q&A, Help & Troubleshooting] hazard1nc:
I have a sgs4 from uscellular with firmware 4.4.4 and want to know if I can use mobile Odin to flash this cwm touch? Or since I don't have a custom recovery already installed, should I just use the pc odin?
[Galaxy S 4 Q&A, Help & Troubleshooting] Vandy2304:
S Voice Dosen't wants to talk me.

I am using Exynos based Galaxy S4 i9500 on stock OS.

I am facing some trouble with S Voice. I am not able to unmute S Voice it does not gives the voice feedback. The barred button remains as it is.
[Galaxy S 4 Q&A, Help & Troubleshooting] Lennyz1988:
Just use a pc.
[Galaxy S 4 Q&A, Help & Troubleshooting] daogiahieu:
I think no, because you flash it through Odin. But i have root before flash twrp so you should do that for sure.

Root your phone by cf auto root, you can google it.

You use odin (in windows) to flash a custom recovery to your phone now, i recommend you to use TWRP.

Gửi từ GT-I9500 của tôi bằng cách sử dụng Tapatalk
[Galaxy S 4 Q&A, Help & Troubleshooting] Darshanjoshi:
hi I m using s4 and I m facing trouble of brightness it
[Galaxy S 4 Q&A, Help & Troubleshooting] mafsi:
Can you be more specific?
[Galaxy S 4 Q&A, Help & Troubleshooting] Darshanjoshi:
Sometimes the auto brightness is not working and sometime it gives much more light that feels annoying to my eyes. plz need a good solution.
[Galaxy S 4 Q&A, Help & Troubleshooting] fahadashiq:
Cant install any rom..

hey guyz..i hav a problem with my s4 GT-i9505 (jfltexx)..whenever i install a rom it is installed completely..when i start mobile and after logo when it asks for language as soon as i select it..it turns the screen off..some times it only shows the time nd stuck there..nothing works any button or touch..bt mtp works..i hav tried atleast 10 roms nd same problem exists..any suggestions?? i am using philz touch recovery(latest one dont remember the version)..i also tried TWRP bt same problem..nd my bootloader is XXUHOF2..plz help me..i am currently on cyanogen 10.2(4.2.2) nd cant intall any other rom..bt i made backup of this rom nd whenever i restores it it works like charm..plz help me..i am open to suggestions..
[Galaxy S 4 Q&A, Help & Troubleshooting] Shiningb:
Thanks for replying dude

Really, then something is wrong with my phone...

I bought a new battery and I'm having 4h of screen on..

But ever since I bought my phone (not new) the music time (I don't do streaming) has been like this...

And I noticed how weird it was, compared to my 4X HD...

Do you guys have any ideas, if it is a hardware thing?
[Galaxy S 4 Q&A, Help & Troubleshooting] fits79:
And some times even i don't put it at silence mode.

PLEASE help me.
[Galaxy S 4 Q&A, Help & Troubleshooting] zluishenry:
I think I bricked my GT-i9505G :'(

I got a Google Play Edition S4 (GT-i9505G) from a friend wich was on 4.4.4, it was rooted and with a custom recovery, so my brother and I tried to flash a Stock recovery and then flash stock firmware so we can get Official 5.1 Lollipop with Odin, Everything was just working fine, since unrooting the phone with SuperSU app untill flashing the stock recovery, when we went to the part to flash Stock Firmware using Odin then we screwed up the phone.

We followed this guide http://xdaforums.com/showthread.php?t=2452046 to unroot and flash the Stock recovery wich I chose the latest NL3.

Then we followed this http://xdaforums.com/galaxy-s4/i9505g-develop/odin-5-0-0-i9505gueudnl3-restore-t2971638 to flash the stock firmware.

This is pretty much what I got from Odin :

<ID:0/013> Added!!

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> I9505GUEUDNL3_FULL.tar.md5 is valid.

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<ID:0/013> Odin v.3 engine (ID:13)..

<ID:0/013> File analysis..

<ID:0/013> SetupConnection..

<ID:0/013> Initialzation..

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

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

<ID:0/013> SingleDownload.

<ID:0/013> boot.img

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

<ID:0/013> recovery.img

<ID:0/013> NON-HLOS.bin

<ID:0/013> FAIL! (Auth)

<ID:0/013>

<ID:0/013> Complete(Write) operation failed.

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

And this screen is the one shown on the phone. https://www.dropbox.com/s/oc1enjsmdaeo3r4/20151009_015008.jpg?dl=0

I have read couple of threads but I haven't found anything like my case or at least similar. Is there is anything I could do please let me know, I'll donate if neccesary ! :(
[Galaxy S 4 Q&A, Help & Troubleshooting] mafsi:
Download the stock rom from sammobile.com. you have bootloader, modem, etc in that .tar image. Maybe is a problem of bootloader.

Also try to change usb port or remove battery for 5 minutes then reinsert it and start flashing again.
[Galaxy S 4 Q&A, Help & Troubleshooting] saiamrock:
EFS again (i9500)

hai guys, i know many people have ask this but my question is

i read some old post here that restoring EFS using TWRP have network working on first boot but problem come back after rebooting

I'm in Aurora s6 v2.0 (5.0.2) now and planning to get back to Aurora N4 v2 (4.4.4)

i'm pretty sure i'll lost my efs fuction (IMEI, cell, etc.) if i do it

Anyway i have other efs backup beside TWRP

1. SA Manager (i get rebooted when open it right now)

2. Samsung Tool

3. EFS☆IMEI☆Backup [playstore] (many file total 263 MB = *.tar - *.img - *.tar.gz)
[Galaxy S 4 Q&A, Help & Troubleshooting] Preday:
can't connect galaxy s4 to PC

ok so

- it failed last week

- yesterday I got it fixed at a Samsung repair place; they deleted everything in my internal storage

- today I tried to put some things into it again via cable (I cant connect it to my WIFI; it says password is wrong but I think the router is rejecting the mac address or something since they changed so many parts it might as well be a new phone)

- it didn't work. phone and pc didn't see the connection

- I downloaded Samsung USB drivers from Samsung Developers. installed that, The connection showed up for a bit

- PC started installing drivers for the phone automatically, and then the cable fidgeted, I lost the connection and it failed. I disconnected and tried again. The PC again said "device disconnected before I could get the drivers blablabla"

- at this point I took my phone and, on the connections settings I had on screen changed it from MTP to PPT, thinking it would be a mass-storage mode or something

- it didn't help, and now my phone and PC can't see the connection again.

I have seen on various websites and forums that the USB Connections settings screen is Settings-More-Storage-Top righ (three points) Menu button

BUT I DONT HAVE THAT MENU BUTTON

And I don't have any way of accessing the USB options and making the phone and PC see eachother again and I'm stuck. The hardware menu button doesn't do anything either.

Please help me I'm going crazy.

I've never posted here before, so idk how I'll be notified of any replies (please reply, please help. I expect thee will be a notification but I can also talk via PM's if that helps
[Galaxy S 4 Q&A, Help & Troubleshooting] mafsi:
Try to transfer files via wifi. There are a lot of apps that can do that. I use Wifi file transfer Pro. You can download from the play store or choose smth that allows you to make a connection via wifi as ftp. Es file manager can do this.
[Galaxy S 4 Q&A, Help & Troubleshooting] Preday:
This is very, very unhelpful. I'm sorry but I would like an actual solution to my problem (i.e. a way to make the USB connection again) not an alternative. USB is the barest minimum, a fallback for when the wifi and clouds don't work or I don't have internet access or the wifi is unavaiable. It is CRITICAL.

As it happens I am having trouble connecting to wifi to use any wireless file transferring because my router is saying I am using the incorrect password (which I don't think I am, I think it's set up to not recognize any new devices - my post stated this quite clearly). So please, please help me with my stated problem.
[Galaxy S 4 Q&A, Help & Troubleshooting] mafsi:
Ok. I understood. If i was you i would try to connect my phone to another pc ( from a friend maybe) to see if the pc is having issue seeing your phone.

If that happens also to another computer try a factory reset. Maybe smth is wrong with the soft. If even that is not fixing the problem you should think that there is a hardware issue and go back to the service.

IMHO
[Galaxy S 4 Q&A, Help & Troubleshooting] fahadashiq:
its third time i asked nd no one replied..wht's the purpose of writing noob friendly..:confused:
[Galaxy S 4 Q&A, Help & Troubleshooting] mafsi:
Try to flash a stock rom via odin to see if the problem repeat.
[Galaxy S 4 Q&A, Help & Troubleshooting] jimbomodder:
And use twrp as that's more upto date

Sent from my SM-A500FU
[Galaxy S 4 Q&A, Help & Troubleshooting] XxLordxX:
Hi,

As said before I'd try connecting to another computer to check if the problem isn't your computer USB port or compatibility with the device. If that fails, then I'd suspect a problem in the Micro USB Port of your device, in that case you should contact Samsung and report this problem, then ask for a port replacement.

Hi,

You should install latest stock ROM to be sure everything is update accordingly. I'd suggest using TWRP, as AFAIK more ROMs use it to be installed "officially". If that doesn't work, then please post again and I'll try figuring out more solutions...

All the best,

~Lord
[Galaxy S 4 Q&A, Help & Troubleshooting] seyirci:
CF-Auto-Root for i9505g GPE running 5.1?

Hello. Complete and utter newbie here. Unrooted, unmodified Galaxy S4, Google Play Edition, (i9505g) running Android 5.1.

I have never rooted any Android device, and I have to say I have not found a completely newbie-friendly guide. I don't want to install a custom ROM, I just want root access so that I can change write permissions in the system files (the old "want to write to the SD card I paid for" problem). I've found xda-developers' own Chainfire's very well-regarded CF-Auto-Root in this thread:

http://xdaforums.com/showthread.php?p=39901375#post39901375

And I downloaded it, but I went digging a bit more, and the CF-Auto-Root repository page (https://autoroot.chainfire.eu/) says that currently this doesn't work for "Samsung Devices on Android 5.1+"

I am not certain what that means---does it mean it doesn't work for 5.1, or not for 5.1.1? And if I were to try it, would it just fail, or brick my device? I can't ask that question in the CF-Auto-Root thread because of the "utter newbie" issue :o . Anyone happened to try this, CF-AR on a Samsung device running 5.1? Or can anyone suggest a method or tutorial for someone who has never done any rooting before?
[Galaxy S 4 Q&A, Help & Troubleshooting] deffecto:
I have a nooby question for this topic, despite the fact im not actually a noob. Still, cant find a proper answer or just dont know where to look.

CM / AOSP roms are pretty neat, but do they have the S4 features built in? Like floating features, air view, air gestures, motion stuff, IR Remote?
[Galaxy S 4 Q&A, Help & Troubleshooting] fahadashiq:
i tried stock rom via odin..same problem..stucks at very start when time is displayed after booting into rom..i also re partioned it..same problem..:(
[Galaxy S 4 Q&A, Help & Troubleshooting] mafsi:
A hardware problem? When did this occured?
[Galaxy S 4 Q&A, Help & Troubleshooting] fahadashiq:
hardware problem?? :( i hav backup of my previous rom..its cyanogen..4.2.2..it works like charm..any other rom stucks there at the time..
[Galaxy S 4 Q&A, Help & Troubleshooting] mafsi:
Can you put back the previous rom and install phone info and please post here: baseband, csc, modem etc? Is very hard to understand the problem without knowing if bootloader is new or old or if is compatible with your rom.

Also please post a link or at least the names of the roms that you have tried along with rhe info from phone info application.

[MENTION=5563012]fahadashiq[/MENTION] try to flash this as you see in the image

http://xdaforums.com/galaxy-s4/general/i9505xxuhoa7-odin-files-100-t3043983
[Galaxy S 4 Q&A, Help & Troubleshooting] fahadashiq:
tried flashing through odin nd repartioning..same problem..stuck there where it shows time after booting into rom..even mtp works..also i had backup from my previous cyanogen rom..4.2.2..

---------- Post added at 11:28 AM ---------- Previous post was at 11:20 AM ----------

my previous rom dont show my csc version..nd modem nd bootloader are xxuhof2..nd roms i tried are omega..kushan..gpe..miui..nd now stock rom..xxuhoa7..
[Galaxy S 4 Q&A, Help & Troubleshooting] mafsi:
I edited the previous post & inserted a link. Try to flash the rom from there as you see in that image from the thread
[Galaxy S 4 Q&A, Help & Troubleshooting] fahadashiq:
it is the same exact stock rom i just installed..
[Galaxy S 4 Q&A, Help & Troubleshooting] mafsi:
Strange. Worked flawless here. Let's wait others maybe we find more responses...
[Galaxy S 4 Q&A, Help & Troubleshooting] fahadashiq:
is it a possible hardware error??
[Galaxy S 4 Q&A, Help & Troubleshooting] mafsi:
If you put back the the nandroid backup and everything is ok, no.

Since you flashed this rom amd everything passed it means that you have now a lollipop bootloader so if you want to go back to 4.4.2 you need to flash from sammobile a 4.4.2 kitkat stock to downgrade the bootloader and modem. Then root the soft, install twrp THEN put back the backup
[Galaxy S 4 Q&A, Help & Troubleshooting] fahadashiq:
i just restored nandroid backup nd it is working flawlessly..baseband nd bootloader versions are of lollipop XXUH0A7..csc code is XAR..firmware csc code unavailable..cyanogen 4.2.2..any other sugestions?? nd can i get nandroid backup of any rom online?? also wht if i make nandroid backup of a rom in any other i9505 nd restores it here?? also my PDA nd CSC version is missing..
[Galaxy S 4 Q&A, Help & Troubleshooting] m4str0k:
i lost my phone network

during changing from Rom based on gearCM to S6 Port my phone lost IMEI , i had backup before of my old EFS partition as .iso File, i managed to restore this backup with Terminal Emulator codes & i got My Original IMEI Back but still no luck to get Network or to call someone or open data can someone help me please fixing my phone?
[Galaxy S 4 Q&A, Help & Troubleshooting] PePeMoke:
anyone?
[Galaxy S 4 Q&A, Help & Troubleshooting] m4str0k:
help please??
[Galaxy S 4 Q&A, Help & Troubleshooting] hollwpoint:
I was wondering if there was a way to bypass the unlocking of my Verizon gs4 by simply rooting it? Or does one have to unlock it first?

---------- Post added at 04:08 PM ---------- Previous post was at 04:05 PM ----------

Please stop being lazy and write out the word "and". Really dude? " nd" is also an acronym. You're confusing people. Haha
[Galaxy S 4 Q&A, Help & Troubleshooting] fahadashiq:
thnkx for the suggestion..:) btw any suggestions about wht i asked?? :confused:
[Galaxy S 4 Q&A, Help & Troubleshooting] PePeMoke:
What about the bootloader GSM and LTE (NON-HLOS.bin)?

Maybe try flashing them again or other ones.

But make sure the LTE matches the bootloader.

Regarding flashing bl and modems:

http://xdaforums.com/showthread.php?p=50965837#post50965837

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

If the sammobile link does not work for you as for me

use this one to figure out what matches your device:

http://www.sammobile.com/firmwares/
[Galaxy S 4 Q&A, Help & Troubleshooting] XxLordxX:
Hi,

I believe the problem is with TouchWiz devices, as you have GPE I think you won't face any issues. Also you can check on the thread for any successful report or other rooting methods.

Hi,

No. All of TouchWiz features aren't available for CyanogenMod or any other custom ROM that isn't based on TW due to the framework. Except for the IR Remote, which you can download an app from Play Store to make use of.

Hi,

Unfortunately I don't have many ideas now. I am starting to think if it's possible that you had problems with the installation of the system all these times - which is very unlikely - however, I'll take it and try another method. However, before going into it, can you send me a logcat of the problem? Maybe we can find what is killing your device and won't need to go to the extreme measure I was thinking about.

First, it seems you are on Lollipop Baseband and Bootloader, so there shouldn't be many problems there, however you always have trouble to boot. So, back up all your device, as I'll guide you into zeroing it to make sure nothing is interfering with the boot.

Download and install TWRP, as I'm more used to it, it'll be easier to guide you. Now, go to recovery and select the option wipe, select Advanced Wipe and select EVERYTHING - except, of course, your external sdcard. Let it format all your partitions.

If you have an external sdcard, put the custom ROM you want to use there and then try to install again. If the boot fails, we're going to do this again and try flashing stock via Odin.

If that too fail, let me know and I'll guide you into flashing a firmware using command line, which is usually my last resort because it is more dangerous.

Sorry for recurring to such extreme measure, I really ran out of ideas and want to take out every possibility of thing giving trouble for your boot.

All the best,

~Lord

---------- Post added at 23:25 ---------- Previous post was at 23:23 ----------

Hi,

As mentioned before, I believe it's a modem problem, try checking the modems thread and installing a newer one for your device.

Hi,

It would help if you mentioned what ROM you are using and which music player it is. I use Poweramp and this feature is enabled by default on all my devices ;) .

All the best,

~Lord
[Galaxy S 4 Q&A, Help & Troubleshooting] fahadashiq:
i tried formating everything with TWRP nd installing rom..same problem..even tried installing stock rom through odin..same problem exists..here is wht is written in my odin mode..mapbe it helps..

Product name : gt-i9505

Current binary : Custom

System Status : Custom

knox kernel Lock : 0*0

knox warranty void : 0*1

CSB-CONFIG-LSB : 0*30

Write protection : Enable

eMMC burst mode : enabled..
[Galaxy S 4 Q&A, Help & Troubleshooting] sohailss111:
Guys. Is it possible to incorporate android m features such as doze and external sd card support in lollipop roms,?
[Galaxy S 4 Q&A, Help & Troubleshooting] boilavera1980:
I got a GT-I9506 that runs DOF2. Can i just use the newest CF-Root to root it?? Or do i really have to downgrade to DOA6??
[Galaxy S 4 Q&A, Help & Troubleshooting] PePeMoke:
Hi.

Thanks for the answer.

I use blackplayer on ROM optimized cm 12.1 by devconnection Team.

---------- Post added at 09:10 AM ---------- Previous post was at 09:09 AM ----------
[Galaxy S 4 Q&A, Help & Troubleshooting] kratos.3:
Hi guys, i have a GT-I9505 device, I've just upgrated my phone from Resurrection Lollipop v5.5.6 to v5.5.7 but i noticed that i'm not able to see webm videos anymore. I tried to re-flash the rom twice but the problem is still here. It's just my problem or is a rom issue?
[Galaxy S 4 Q&A, Help & Troubleshooting] PePeMoke:
Nothing here..

you should open a thread in Q&A section regarding this issue and use the searchfunction whether there already is a thread like this.
[Galaxy S 4 Q&A, Help & Troubleshooting] james03:
Help choosing rom

hi - i'm installing this kernel on my i9505; [KERNEL] [INT'L][AOSP/TW/GE - 5.0/4.4/4.3/4.2][04/06/2015] KT-SGS4 - NAE - KTweaker - but need a ROM that supports MHL well (not CM, apparently).

kernel here:

http://xdaforums.com/showthread.php?t=2297379&page=1433

any idea what ROM I can use with it - happy for it to be as stock as possible, but the kernel doesn't support touchwiz

thanks!
[Galaxy S 4 Q&A, Help & Troubleshooting] worms45:
Generic IMEI

Hello guys I bought a s4 gt-i9500 which I think has a fake imei cause when I run it it says that is an s3 imei

Any advice? Thanks for any help, I really cant afford a new phone and im going crazy without carrier service

imei: 004999010640000
[Galaxy S 4 Q&A, Help & Troubleshooting] EngineManShawn:
After I install super su and it asks me to update binary and doesn't work on normal or twrp. If I go into recovery mode it lists 1 backup 2 lost & found 3 recovery. What should I do next?? Thanks
[Galaxy S 4 Q&A, Help & Troubleshooting] ShinySide:
Cloned imei = federal felony + no one will give you service and required my law to take the phone from you.
[Galaxy S 4 Q&A, Help & Troubleshooting] ftw2118:
Hello everyone. I have a galaxy s4 i337 running kitkat 4.4.2 rooted and unlocked on straight talk. I bought the phone in eBay and came rooted and unlocked. U want to update to lollipop but every time I try and take the Ota it downloads and then Odin mode shows up in red letters saying do not turn off downloading. It doesn't do anything at all.

Since I am rooted I have xposed running with some mods on but I really wanted to update to lollipop and if I lose root so be it. How do I get the update. I'm not the most knowledgeable person when it comes to this type of stuff.

This is my info on my phone.
[Galaxy S 4 Q&A, Help & Troubleshooting] saiamrock:
does anybody can help me?? it's been couple of days and no one answer :(
[Galaxy S 4 Q&A, Help & Troubleshooting] Lennyz1988:
I have no idea what you actually want.

Do you just want to downgrade a custom rom? Then a efs backup is not needed.

How did you root?
[Galaxy S 4 Q&A, Help & Troubleshooting] malybru:
Hi,

You may get a better answer from your own dedicated forum:

http://xdaforums.com/galaxy-s4-att/help

AFAIK , it will not take an OTA update while it is rooted.

You may be better to install a custom recovery and install a custom L ROM.

:)
[Galaxy S 4 Q&A, Help & Troubleshooting] bronsonbayside:
would one need to wipe davik cache or do a factory reset in recovery beforehand or is it possible to run through odin and keep app data?
[Galaxy S 4 Q&A, Help & Troubleshooting] mafsi:
You cant keep data after an Odin flash. The wipe data/factory reset is a must before using Odin. Do a backup of your apps & data with Titanium Backup