yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S 4] gtaguitar7596:
Reseting

OK I have been rooted since 4.2.2 I never had Knox. This week in going to trade my phone in for the s5 and I need help resetting my phone back to stock. I am currently running insane rom v8 4.4.2. How do I reset my phone without voiding my warranty?
[T-Mobile Samsung Galaxy S 4] Skipjacks:
First, I don't think you have to for trade in purposes. I think they just check to ensure it powers on and the screen isn't cracked.

But if you want to do this....

Use odin to go back to stock.

Root again using cf auto root.

Run Triangle Away to reset your flash counter to 0 and device status to normal.

Reboot and go into Superuser settings. There you will find and option to unroot.

Your phone will now be bone stock with no hint that it was ever rooted. And all your personal data will be gone.

Sent from your phone. You should be more careful where you leave that thing.
[T-Mobile Samsung Galaxy S 4] Pipper:
Deleted post
[T-Mobile Samsung Galaxy S 4] BlazinThat:
Root/Boot Issues

Hey Guys

So I F*ed up, I just got an s4 and in my haste I think I missed the part about kitkat and now im stuck, ive been doing searching but nothing helps so im going to ask for help before I kill my phone. I honestly don't have an idea what build my phone is on but I think it was stock kitkat, this was the first step I did http://www.androidrootz.com/2013/05/how-root-cwm-recovery-on-galaxy-s4-gt.html. Once I did that my phone wouldn't come off the galaxy s4 screen, I did a search on Kernel is not seandroid enforcing and it seems like its just a knox line. So now im stuck with a phone that wont boot so I tried to revert back to stock method and now I can get past the galaxy s4 but not the tmobile boot screen.

What should my next steps be?

Also I don't have a recovery, just the stock android one.

So my phone finally booted and got into a fresh load, but I didn't have wifi, I rebooted and its taking forever to load.
[T-Mobile Samsung Galaxy S 4] averageandroid:
Can i flash a jelly bean rom an a kitkat sgs4?

So recently i gave my Galaxy S4 to Samsung for repairs and they upgraded it to the latest KK. I'm wondering if it would be ok if I flash a JB based rom on my phone like carbon or aokp? Whould I have to downgrade? If so how would I do that? If not what are some good KK roms for my Galaxy S4 T-mobile edition.
[T-Mobile Samsung Galaxy S 4] The Sickness:
Nope. Cant downgrade bro.Your stuck on 4.4.2.

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

I would Odin back to complete stock. Then re root using CF Auto Root by [MENTION=631273]Chainfire[/MENTION]. Once you are rooted, download Flashify from the Play Store and use it to flash your custom recovery.
[T-Mobile Samsung Galaxy S 4] Skipjacks:
Can you get into download mode? Power off, then power button + volume down.

If so I think you are best served by using Odin to return to 4.4 stock and starting over.

I have no idea what went wrong, so resetting everything and starting fresh is a good plan.
[T-Mobile Samsung Galaxy S 4] Skipjacks:
You should be able to run an AOSP 4.2 or 4.3 rom like Carbon or Slim or Cyanogen or something like that. You cannot run a Jelly Bean version of TouchWiz anymore.
[T-Mobile Samsung Galaxy S 4] BlazinThat:
Thanks guys for the help, im back up and running.
[T-Mobile Samsung Galaxy S 4] user1234321:
Hello! I would like to specialists about geolocation cache. Is there geolocation log existing on S4, which is saving phone location details for some time period, month, week e.t.c.

If yes, how can I view it? Thanks!
[T-Mobile Samsung Galaxy S 4] gtaguitar7596:
Reset to stock

OK a few days ago I asked how I should restore my phone back to stock. I was told to use Odin then cr auto root so I can use triangle away. But after reading triangle away triggers the Knox and I can't have that. Should I use triangle away while I'm still on cm11 before I use Odin to go back to stock or?
[T-Mobile Samsung Galaxy S 4] Skipjacks:
You can't use triangle away on cm. It won't work.

If you don't have knox now, restore to the 4.2 stock firmware. That bootloader doesn't have Knox. Then you can triangle away all day long without tripping the knox flag.

If you currently have knox, its already tripped since you have a custom recovery. So don't worry about it anymore since there is nothing you can do about it.

Sent from your phone. You should be more careful where you leave that thing.
[T-Mobile Samsung Galaxy S 4] BlazinThat:
Ok im back again.

I have no wifi or data. Flashed a KK rom and it was working great, then i flashed something else maybe a kernel or something and today when i looked i had no data, then i went to go back to wifi and no wifi wont enable. I tried for the last 4 hours reading and restoring but i cant get it.

Ive check the apn and its correct, ive unchecked and checked and factory reset and nothing worked. Im on 4.2.2 with baseband M919UVUFNB4.

Im on an unlocked tmobile s4 using an att sim for a few weeks.

what have i missed?
[T-Mobile Samsung Galaxy S 4] Skipjacks:
I have no ability to help you without you knowing what you flashed.

Try reflashing the rom over your current install. See if that fixes it.

Sent from your phone. You should be more careful where you leave that thing.
[T-Mobile Samsung Galaxy S 4] BlazinThat:
http://xdaforums.com/showthread.php?p=49900441

Liquid Smooth 4.4.2 was what i was running, then the only thing i flashed was the kernel from downloads. I had tried to flash over when it first happened, thinking the framework might stick but no go, even stock doesnt work.
[T-Mobile Samsung Galaxy S 4] Skipjacks:
Just so you know, 2.6 apparently has it's own problems. It doesn't let you reboot to recovery from the power menu for many people. You have to power off the phone then boot to recovery using VOL UP and POWER

It still gets the job done. You should just be aware of this if the reboot to recovery doesn't work and not freak out.
[T-Mobile Samsung Galaxy S 4] Skipjacks:
CAll waiting and forwarding might not work on wifi calling. You can call 611 to get T MObile customer support to tell you if you even have the option to use those features when on wifi calling.
[T-Mobile Samsung Galaxy S 4] jmacdonald19:
Well nuts. Maybe I'll go back to 2.5.0.2 myself.
[T-Mobile Samsung Galaxy S 4] Skipjacks:
It's a trade off. 2.6 has a lot of new features. And it's not like it's not super easy to boot to recovery from a powered off state. It just adds 2 seconds to the process.

And I'm sure that the TWRP team will figure out whatever goofienss is causing that and patch it quickly.
[T-Mobile Samsung Galaxy S 4] jmacdonald19:
Yep, totally agreed. Just figures that the first time where I know some info that can help and there ends up being a catch to it :silly:
[T-Mobile Samsung Galaxy S 4] udaykiran0:
Thankyou brother. I will try calling T-mobile to see if that's possible.
[T-Mobile Samsung Galaxy S 4] Chlose:
So I just got my S4 and have been trying to root it. The problem is, when I plug in my device to move the root .zip, I am unable to see my phone under My Computer.

The problem is that the MTP device driver keeps failing to install, and I've tried installing some sort of Windows fix for it, some MTP protocol thing, that was supposed to fix it, but no dice. It still doesn't work. I then installed Kies, but my phone also refuses to show up in there. Anyone know what to do?

Just for reference, I have looked things up. I installed the drivers from here and installed it first, following the instructions of this guide, but it still fails installed and I cannot see my device anywhere.

Never mind, a large amount of messing around later, I finally got it to install.
[T-Mobile Samsung Galaxy S 4] malybru:
Hi,

For the benefit of others,do you mind sharing what you did to fix it?

:)
[T-Mobile Samsung Galaxy S 4] Alphaneus:
Hey there. I'm having trouble finding what I'm looking for. I'm currently running Revolt Rom, and there's two issues with it I just don't like.

The headphone jack doesn't work.

The camera app force closes.

What Rom would have the closest experience to AOSP/CM10.1, while not having any issues?
[T-Mobile Samsung Galaxy S 4] Skipjacks:
Cm10.1 is pretty close to the cm10.1 experience. :D

The builds are very stable
[T-Mobile Samsung Galaxy S 4] Soldier 2.0:
I am a Nexus guy and I have to say Cyanogenmod is the closest to AOSP you will get while still being stable.

Can anyone share the Google Edition boot animation? I will thank you.

Sent from my SGH-M919 using Xparent Skyblue Tapatalk 2
[T-Mobile Samsung Galaxy S 4] Skipjacks:
I'm pretty sure that boot animation is in the themes section of this forum.

Sent from your phone. You should be careful where you leave that thing.
[T-Mobile Samsung Galaxy S 4] Scymynd:
how do you disable memory card access (charge only mode) please? thanks!
[T-Mobile Samsung Galaxy S 4] xyzeester:
How to get rid of "Custom" status after root

Hi guys, I rooted my S4 the other day on a whim, and today I heard that there might be a software update coming out. So I went to check for software update and when I clicked on it a message came up saying my device had been modified and an update would not be performed. I used Odin to root my phone. Whenever I go into download mode the text on the upper left hand corner says my binary is custom. Is there a way to go back to stock and get rid of the message, and the Custom status? I'm worried I'll never be able to get this update, even if it hasn't come out yet. Please HALP :(
[T-Mobile Samsung Galaxy S 4] ImperiousRex89:
Help getting Device Status to Official

My phone is updated to the latest stock firmware. I rooted with Chainfire's CF-Auto Root so everything except the root is stock. I then used Chainfire's triangle away (version 3.0) to reset the flash counter so my device so I can access OTA updates (especially the upcoming update were we get the app to sd feature) and still have warranty if I ever needed to send the phone back. After I reset the flash counter the binary is official and the flash counter is at 0. However when I go to settings=>about device=>status the device status shows up as custom. Any ideas.
[T-Mobile Samsung Galaxy S 4] Skipjacks:
The post below yours wasn't meant as a response to you, but it oddly enough has all the answers. You need triangle away to reset your flash counter.

And you may have to revert to stock to get the updates. Its all very simple.

Sent from your phone. You should be careful where you leave that thing.
[T-Mobile Samsung Galaxy S 4] Skipjacks:
I think they all say that. I could be wrong though

Sent from your phone. You should be careful where you leave that thing.
[T-Mobile Samsung Galaxy S 4] Biker1:
Flashing the Samsung Stock Firmware tar file via ODIN:

http://samsung-updates.com/device/?id=SGH-M919&details=Galaxy_S_4_T-MOBILE

will get rid of 'Custom' and get you to all Stock, after you use Triangle Away to Reset your flash counter. As per Chainfire's Triangle Away thread, TA does not get rid of 'Custom.'
[T-Mobile Samsung Galaxy S 4] mark182004:
Samsung Galaxy S4 T-mobile UK

Hello,

Can anyone please confirm this?

I dont want tmobile start up screen etc... cheers

Mark: I want to order a samsung galaxy s4 im just wondering if you would be able to send me a handset that doesnt have tmobile software on it?

Sophie: We don't have T-mobile software on galaxy s4

Mark: so when phone starts up it doesnt say tmobile?

Sophie: It will only have T-mobile sim, but the software will not be of T-mobile

Mark: do you no what the software will be?

Mark: and is this something new you are doing as i thought all your phones apart from iphone where branded?

Sophie: Give me a moment to check that

Mark: thank you

Sophie: Its Android OS, v4.2.2 (Jelly Bean)

Mark: i no that haha

Mark: but what is the baseband version

Sophie: Give me a moment to check that

Sophie: Its Quad band

Mark: thats not the baseband version

Mark: should look similar to this I9505XXUAME2

Sophie: Its I9500M919UVUAMDL

******

Cheers Guys
[T-Mobile Samsung Galaxy S 4] xyzeester:
Ok I downloaded Chainfire and reset the counter, but the message keeps popping up that my device is modified :/ can you point me in the direction of how to reset everything back to stock?
[T-Mobile Samsung Galaxy S 4] Skipjacks:
Restore to stock using odin. Reroot. Then restore a nandroid backup of your rom.

Should take about 20 minutes. Should fix this.

Sent from your phone. You should be more careful where you leave that thing.
[T-Mobile Samsung Galaxy S 4] BlazinThat:
Tried that already, im on stock now, and have no nandroids, ive only had the phone for 36 hours -_-.

Any idea why my phone says its android version 4.2.2 but with baseband uvufnb4? isnt that a kitkat baseband?
[T-Mobile Samsung Galaxy S 4] The Sickness:
Let me get this right....you flashed the Official Stock Tar file through Odin?

What was the original baseband when you got your phone?
[T-Mobile Samsung Galaxy S 4] gtaguitar7596:
what should i do i have tried to use odin to flash the mdl.tar file and the newest nb4.tar file and each time i do i get a message that says device removed failed. should i use mobile odin?
[T-Mobile Samsung Galaxy S 4] Skipjacks:
Yeah I'm lost here too. If the 4.2 stock tar was flashed it should have overwritten the nb4 modem.

Maybe Odin won't let the full firmware flash overwrite a newer modem, even if it's just the modem? I'm just guessing.

Try flashing the 4.2 modem by itself, then flashing the full 4.2 firmware.

And I'm taking total shots in the dark here.
[T-Mobile Samsung Galaxy S 4] BlazinThat:
Followed this thread: http://xdaforums.com/showthread.php?t=2336392
[T-Mobile Samsung Galaxy S 4] Skipjacks:
That's odd. Where do you see this device removed message? In odin?

And no I would not use Mobile Odin. Mobile Odin is a nice utility but it's not as reliable as regular odin. And since regular odin isn't working for you, stay away fro mobile odin.

Are you trying to flash the entire firmware? Or just the modem?
[T-Mobile Samsung Galaxy S 4] BlazinThat:
Glad im not the only one lost. I just flashed the original modem and now my device says 4.2.2 uvuamdl. Still no data/wifi, will re odin with firmware now.

Also i know i have knox so is it safe to say the original bootloader was kitkat? or atleast 4.3?
[T-Mobile Samsung Galaxy S 4] Skipjacks:
If you have knox, then you can't get the 4.2 firmware anymore. It's forever locked out for you.

Just the 4.4 firmware and flash that. That should return you to full 4.4 stock. Knox is already tripped so that's not an issue. And that shoudl fix the wifi issue
[T-Mobile Samsung Galaxy S 4] The Sickness:
Deleted
[T-Mobile Samsung Galaxy S 4] gtaguitar7596:
im trading my s4 for in for an s5 i plan to do it on friday. but i have to have my phone back to stock (ive been using aokp and cyanogenmod) i used odin like this guide i found said to do. (already had my counter set back to 0) i downloaded the mdl firmware like you told me to so i could go back to 4.2.2 and that failed saying phone was removed fail.then i tried the new firmware and got the same issue i have tried 2 different usb ports and 2 different cables.
[T-Mobile Samsung Galaxy S 4] Skipjacks:
You shouldn't need to revert to stock for the trade in. Are you doing the Jump thing?

Just flash a TouchWiz ROM that has a stock boot animation. No one at teh store will know. And T Mobile won't care because they are going to completely wipe the device and restore it anyway.
[T-Mobile Samsung Galaxy S 4] gtaguitar7596:
well thats another problem i cant find a stock rom that looks exactly the same with the same boot info and all that. can you point me into the right direction

---------- Post added at 02:57 AM ---------- Previous post was at 02:54 AM ----------

perferably one that has the wifi working because i dont have unlimited data.
[T-Mobile Samsung Galaxy S 4] Skipjacks:
It doesn't need to be perfect. They probably don't even care if it's a custom ROM. They certainly aren't look at bootloader info.
[T-Mobile Samsung Galaxy S 4] gtaguitar7596:
Well if that's the case should I just flash a random stock T-Mobile rom but have all my data partitioned and factory reset it so it is back to the setup screen?
[T-Mobile Samsung Galaxy S 4] BlazinThat:
Thanks for the help, i was def confused. Im on 4.4 and wifi is working. I had to dig for different apns and finally found one that worked, thanks for the help guys i appreciate it.
[T-Mobile Samsung Galaxy S 4] DevoidDroid:
Screwed phone

I have rooted a couple devices but things have changed since I last rooted. I didn't root my gs3 and was resisting on the gs4. Finally did it, and noticed I couldn't boot into recovery unless from inside the ROM. Used [ROM]KOT49H【4.4.2】 Google Play Edition - 05-19-2014 by Danvdh. Great Rom loved it. I hadn't used cwm in a while. I'd boot into recovery (from the rom) to clear cache, and at the end it would ask me if I wanted to fix root and that my rom could flash back to stock recovery. I did it and it screwed my phone. I was able to get back into recovery somehow and used my nandroid figuring let me at least get back to my last known good setup. Boot loop. Couldn't get into recovery. So I spend 3.5 hours downloading a stock image M919UVUFNB4_M919TMBFNB4_M919UVUFNB4_HOME.tar

Got past boot loop and get to the lock screen. Except now every process known to linux is stopping one after the other so I can get into the phone. I can't flash a recovery I can boot into and I'm stuck with a...bricked phone? Please somebody help me. I'm at my wits end and without my phone I'm really screwed at work etc. Please, please help me figure something out. Get back to stock, rooted, dan's rom whatever. I just need a working phone at this point. Thanks in advance.
[T-Mobile Samsung Galaxy S 4] Skipjacks:
What does work?

Can you get to recovery?

Can you get into download mode?

Where, EXACTLY do your processes fail? I can't work with generic timing. I need to know exactly what you did and exactly what failed. Don't consider any detail too small.
[T-Mobile Samsung Galaxy S 4] DevoidDroid:
i left this out

I was on 4.4.2 and used Dan's 4.3. The stock image I used was 4.4.2. I don't if that makes a difference, but I can't seem to flash any sort of recovery. I can only get into download mode.

---------- Post added at 07:34 AM ---------- Previous post was at 07:29 AM ----------

I've been up all night so I'm doing my best with time frames.

Everything basically worked fine on dans rom. The problem occurred when I was in cwm touch I believe. A 6.xxx.7 something release. Whenever I chose to reboot coming out of recovery, there was a question asking whether I wanted to fix root and that the installed rom could flash the stock recovery and lose root. So that's what happened. When I attempted to restore my nandroid, it hung on the t-mobile 4g lte screen and would not come back up. That's when I downloaded the stock image, flashed that. Then android starts upgrading, it halts and then i can see the lock screen. As soon as it comes up android processes start saying unfortunately such and such process has stopped. So I can't get to any custom recovery through the rom and I can't get to a custom recovery through pushing any combination (2 or all three) buttons. Only the downloader.

---------- Post added at 07:39 AM ---------- Previous post was at 07:34 AM ----------

Sometimes I can get through 8 or 9 of those processes. Enough to where I can input my pin. Then I can see behind the stopped processes the choice of launchers. What's weird is that there should only be one choice if it's stock firmware. And...it is recognizing my pin meaning that the stock flash probably isn't working and it's on my original 4.4.2 (rooted) and pre dan's rom. But it's never ending process stops so there is nothing I can do past forever clicking ok to see the next one come up.

---------- Post added at 08:18 AM ---------- Previous post was at 07:39 AM ----------

Add-on: how to fix bootloop on Galaxy S4:

At times, Galaxy S4 gets stuck on the Samsung logo for more than 5 minutes and is caught into a bootloop. When it happens, follow the instructions below:

Pull out the battery, wait for about 30 seconds and then put the battery back in its place.

Boot the device into Stock Recovery mode by holding down Volume Up, Center and Power keys till the Samsung logo blinks twice. Release the Power button then but keep other two keys pressed till you see a blue menu. Use the volume keys to scroll and power keys to select.

From the menu, wipe data: select wipe data/factory reset option followed by wipe cache partition. Finally reboot the system by selecting reboot system now.

Nowhere could I find this. I'm on the stock setup now. I have to thank you for slowing me down and making me go through the steps I took one by one. That actually helped more than anything. I was so tired/desperate/panicky that I was kind of frazzled. Thanks for responding.
[T-Mobile Samsung Galaxy S 4] Skipjacks:
Been there, buddy. My first time rooting a phone I was up until 4am ready to throw it against the wall because all I could get what the CM7 boot animation spinning.

So you're good now?
[T-Mobile Samsung Galaxy S 4] DevoidDroid:
Yessir. I was thinking volume down would get me into recovery. Never knew about the volume up... I've only rooted two devices; HTC Thunderbolt and Gen 1 Gtab10.1.

So a little rust and little panic go a long way. lol. I'm all good now, back on Dan's rom and using twrp instead this time. No issues at all. Well except this;

Dan mentioned getting rid of the update notification. He says to download it then "delete it in /cache". Do you know where/what that is? I kept clearing cache through recovery which led me to my initial problem through cwm. I'd love to get rid of this little notification but I can't post in the developer thread yet since I'm still a nub. Any help here would be awesome. Thanks again for talking me down off the ledge.
[T-Mobile Samsung Galaxy S 4] gtaguitar7596:
thanks for your help i used a different computer and different files and im stock again
[T-Mobile Samsung Galaxy S 4] rlichtefeld:
Before I would delete anything, I would make sure you have a good Nandroid backup. You do that in Recovery. Boot into Recovery and then select backup. That way, no matter what you do, you can get back to this point by booting back into Recovery and Restoring the Nandroid backup.

I'm assuming Dan's is a rooted ROM, so what you'll need is something like ES File Explorer, and then give it Root privileges when it comes up. At this point you've told the system that ESFX CAN get root privileges, now you have to tell ESFX to use them. Go to the settings of ESFX, and you'll see Root Explorer, you'll need to turn it on. Then, click on Root Explorer, and you'll see a "Mount R/W", click on it, and select the paths that you want to be able to change. The /cache folder is at the root, so you'll need to enable R/W on the / folder that is shown. At this point, you'll have the ability to read and write to everything on your phone. This is good stuff, but be very, very careful. You can really screw up stuff at this point.

Go back to the Dan posting where it talked about "delete it in /cache". Find exactly the file you need to get rid of, and then use ESFX to get to the /cache folder and then find the file. I would suggest you rename the file that is talked about in the Dan's post, instead of deleting it. That way if you mess up, you can get it back easily.

Then, follow the rest of Dan's post. I would also go back into ESFX and turn off the R/W to the / folder, or just turn off Root Explorer until the next time you need it. No reason for fumbled fingers to mess things up for you.

Rob
[T-Mobile Samsung Galaxy S 4] DevoidDroid:
Thanks Rob. I'll review this when I get home. I'll definitely make another nandroid before I do anything. I'll report back my findings. Thanks the reply!