yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] elsandosgrande:
I didn't try yet, otherwise I'd already be running apache2 in Termux with TWRP as my recovery. I'm just worried since I won't be getting another phone for ~5 years if this one goes belly up. I though of maybe using SuperSU with TWRP, but I guess I can try this. Worst part about this is that my phone outperforms my mom's laptop, so it would be a big loss for me.

Pwnycorn, if this went haywire, would it be a hard or soft brick?
[Galaxy S 4 i9505 Original Android Development] Acemanplayz:
rooting failed

Hi, I tried to root my S4 i9505 international, which is at 5.0.1

Downloaded and used the file from the first post in this thread (CF-Auto-Root-jflte-jfltexx-gti9505.zip). All appeared to go well, but upon rebooting, the phone never got beyond the splash screen.

I had installed a custom recovery (twrp), but when I booted into recovery, I got the samsung recovery again. Odd. So I reinstalled twrp, which worked and which allowed me to put the backup back. Now my phone is as it was before - unrooted but functional.

I then accepted twrp's offer to root the phone, but that did not work either. Nothing happened, and it rebooted to the unrooted state.

What I want is mainly to get rid of all the bloatware, in the hope of getting a bit more performance out of the old phone. I don't understand rooting much. Do I need to root in order to do that?

If so, what is the procedure to root an S4 that is on 5.0.1? I browsed through many pages in this thread, but it was never clear to me if the link in the original post should work for 5.0.1.

Any help appreciated.
[Galaxy S 4 i9505 Original Android Development] Rhoban:
I believe that flashing a SuperSU zip in recovery should also root your device.
[Galaxy S 4 i9505 Original Android Development] KrautHolg:
GT-I9505 Lollipop Android 5.0.1. (Knox Warranty Void 0x1) Lineage OS

Hi all,

Greetings from Flensburg, Germany.

I have just recently switched from a Samsung Galaxy S2 GT-I9100 to a Samsung Galaxy S4 GT-I9505 running Lollipop Android 5.0.1. (Knox Warranty Void 0x1) I would very much like to use the latest Lineage OS.

[IMG="Samsung Galaxy S4 GT-I9505"]https://wownet.net/~holger/Documents/GT-I9505%20Lollipop%20Android%205.0.1.jpg[/IMG]

Firmware LRX22C.I9505XXUHPK2

Baseband version I9505XXUKPK2

The phone being old and out-of-warranty (I bought it second-hand) I am not concerned with warranty issues or losing my data, but only with flashing a Custom-ROM with all the advantages these provide. Also, there is simply too much Vodafone and Samsung bloatware on the phone. I have tried to flash TWRP both with Heimdall and Odin, but although I get the “pass” message at Odin, nothing happens and I can’t boot into recovery at all. I was then under the impression that only two versions of the US-phones had a locked bootloader and only found out much later that this particular information is outdated.

I did download “cfar_samsung_gt-i9505_jfltexx_lrx22c.i9505xxuhpk2_t0.zip” from https://desktop.firmware.mobi/device:63/firmware:5743 but I am wary of Chainfire’s admonition on https://desktop.firmware.mobi/device:63/firmware:5743/cfar?

”BOOTLOADER UNLOCK: If your bootloader is not unlocked, depending on the device, it may be automatically unlocked (wiping all data), flashing may fail, or the device may brick altogether.”

Wiping is not a problem, but I don’t want to end up in an unrecoverable brick.

I would be very grateful if any of you gentlemen could give me any pointers.

Thanks in advance,

KrautHolg
[Galaxy S 4 i9505 Original Android Development] :
thanks
[Galaxy S 4 i9505 Original Android Development] kostas5m:
Just rooted my GT-i9505

I just followed this guide and rooted my phone. When it booted back into android, SuperSU was installed. I launched it and tapped the "New user" (or however it calls it) button. Then it asked me whether I wanted it to try and disable knox. I told it to do it and it has been trying it for the past 5 minutes (maybe a little bit more). Also when it booted quite a few apps were crashing but this stopped after about half a minute. Is this something to worry about?

Thanks!
[Galaxy S 4 i9505 Original Android Development] dyln2:
Root
[Galaxy S 4 i9505 Original Android Development] MichaelM1986:
I want to root my alcatel Raven
[Galaxy S 4 i9505 Original Android Development] Ss5488787:
hi sir.

can anyone hell me i want to root this phone

i try from kingroot,kingoroot or many apps without pc but doesn't work..

my phone samsung galaxy s4

i don't know region...

model no GT-I9505

Android version 5.0.1

Android security patch level 2016-11-01

Baseband version

I9505XXUHPK2

Kernel version

3.4.0-5978264

dpi@SWDD6501 #1

wed nov 16 19:05:34 KST 2016

Build number

LRX22C.I9505XXUHPK2

SE for Android Status

Enforcing

SEPF_GT-I9505_5.0.1-1_0070

Wed Nov 16 19:10:21 2016

Secure boot status

type. Samsung

Security software version

MDF v1.0 Release 4

VPN v1.4 Release 3

ASKS v1.2_161011

KNOX Version

KNOX 2.3

Standard SDK 5.3.0

premium SDK 2.3.0

Customization 2.0.0

Container 2.3.0

CEP 2.0.1

Enterprise billing 1.0.0

SE for Android 2.3.0

SSO 2.1.1

TIMA 2.0

VPN 2.2.0
[Galaxy S 4 i9505 Original Android Development] siMp0lMaN:
kingroot worked for me on stock lollipop on i9505... also chainfire autoroot look for 5.0.1
[Galaxy S 4 i9505 Original Android Development] marathmartin:
Super su is working fine. I want to unlock sim in this old phone but Cannot get to Service Mode menu to use the easy way to unlock :( . Is there any not so easy but easy way to do It?

I also can't enter recover mode now.

Thanks to you all.
[Galaxy S 4 i9505 Original Android Development] godkingjames666:
Root
[Galaxy S 4 i9505 Original Android Development] zige:
Hmm.. I have flashed several times Note2 and S3 but... Is it easy (just like with Note2) just flash back to example DBT rom (XXUADME)? And then every think should work like before? I have NEE, but at sammobile there isn't yet NEE rom so i need to flash DBT.

Something seems to be different with S4 if we compare it to example Note2. So that's why i'm asking and confused.

And of course, thanks jody04c for you reply! :) And i know that there is thanks button, but it's always nice to say that, not just only press button ;) (i also pressed the button)

---------- Post added at 03:22 AM ---------- Previous post was at 02:48 AM ----------

Seems to work with MDE, CSC NEE I9505. So big thanks to you chainfire! You are the man!
[Galaxy S 4 i9505 Original Android Development] wizzbang3:
Why is this not recognising my phone in download mode? Is there missing drivers I need somewhere?

EDIT: Never mind - my long USB cable is fine for data xfer but not flashing :/ weird - short cable, diff USB port - fixed issue.
[Galaxy S 4 i9505 Original Android Development] raffelo:
I did it and work, rooted
[Galaxy S 4 i9505 Original Android Development] AiYori:
Hello, i'm on I9505XXUAMDF and root works fine. Thanks a lot Chainfire
[Galaxy S 4 i9505 Original Android Development] nosidefcp:
Can i flash this using mobile odin?
[Galaxy S 4 i9505 Original Android Development] inolvidable:
Keep in mind this possible massive screen problem before rooting and getting a "modified" status in your phone

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

[Q] Screen smearing?!

¡¡So say we all!! from my GT-I9505
[Galaxy S 4 i9505 Original Android Development] Spunkynitro:
Mobile Odin does not support the S4 and you can't use mobile odin without root.

Just flash with Odin 1.85. I used that and didn't get a yellow triangle.
[Galaxy S 4 i9505 Original Android Development] bumax:
AMDE, Finland unbranded. Root works perfectly.

Thanks CF! :good:
[Galaxy S 4 i9505 Original Android Development] topcat07:
If you unroot does it clear the modified status? As warranty is important
[Galaxy S 4 i9505 Original Android Development] tehaerpl:
Tried it with AMDG on international 9505. Every app that requires root gets stuck on the first screen. Also the supersu app says that there is no super user binary installed on the device.
[Galaxy S 4 i9505 Original Android Development] topcat07:
Hi everyone,

Brand new to rooting so just a few quick questions, if I root will it prevent me from downloading updated versions of android on to the s4?

I will be getting a phone from carphone warehouse on the three network, I heard three mobile lock down the phone to make it hard to modify does this include rooting?

Lastly if anything went seriously wrong what would be worse case scenario and would it be easy to resolve?

Thank you
[Galaxy S 4 i9505 Original Android Development] shaolin79:
Same for me on I9505XXUAMDF

Thanks Chainfire
[Galaxy S 4 i9505 Original Android Development] Wam7:
Another confirmation working on XXUAMDF UK-T-Mobile. Thanks Chainfire, been benefiting from your work since WM6 days.
[Galaxy S 4 i9505 Original Android Development] ronmtorres:
thank you Chainfire, confirming this works with DXUAMDE Philippines (globe). Just a question though, can this still be reversed if ever? Or if I re-install stock ROM this will be reverted automatically?
[Galaxy S 4 i9505 Original Android Development] tehaerpl:
Btw, If my phone says "Write protection: Enabled" does this mean I am f*cked with rooting ? :/
[Galaxy S 4 i9505 Original Android Development] ronmtorres:
nope, I had the same message but still was able to get root :)
[Galaxy S 4 i9505 Original Android Development] tehaerpl:
Still nothing. Flashed the device for the third time. Goes through that "pirated" android screen, rooting done, everything nice, reboots, no SuperSU app, when installing it manually from the play store it says no supersu binary found blahblahblah. Looks like Im stuck for now with rooting.
[Galaxy S 4 i9505 Original Android Development] prezzy:
XXUAMDF - rooted

Thanks a lot - great work :D
[Galaxy S 4 i9505 Original Android Development] DjeMBeY:
You must be using latest build MDM, if so you can't root it yet...

You'll need to downgrade to MDF or MDE and then root it or use one of my PRE-ROOTED Roms in order to keep OFFICIAL phone status :)

---------- Post added at 07:01 PM ---------- Previous post was at 06:57 PM ----------

S4 DOESN'T have a binary COUNTER, it just shows Custom or Official. (TESTED)

Flash Stock ROM with ODIN and status will be back to OFFICIAL :D

No need for TriangleAway :)
[Galaxy S 4 i9505 Original Android Development] DjeMBeY:
I haven't see MDG yet but it will be similar to MDE&MDF... that's my point!! :D

MDM is different story!! :p
[Galaxy S 4 i9505 Original Android Development] ken2802:
did you download super su and not super user?

had the same problem and only super su worked at all.
[Galaxy S 4 i9505 Original Android Development] tehaerpl:
Of course SuperSU. Anyway, it should install automatically after flashing through ODIN. To get things straight: I am using AMDG right now, which does not want to root with CF. I was using the other S4 with AMDG at work (the white one, but it does not matter) and it rooted. My CSC is set to CPW so I cannot do the OTA update to AMDM. Anyone knows how to change CSC ? Code does not work (*272) and CSC Master from Play Store does not either. I am stuck. I only have ODIN binaries for AMDG which does not roots on this device.

I've heard about ADB script to force CSC menu but I do not know the code for it.
[Galaxy S 4 i9505 Original Android Development] ken2802:
isnt the csc in cluded in the pda file?
[Galaxy S 4 i9505 Original Android Development] tehaerpl:
Yes, but I have multi CSC file, and the default one is CPW, known as dummy CSC for tests. It does not contain OTA updates. I do not know how to force CSC menu, since the code on the dialpad does not work anymore since Note2.
[Galaxy S 4 i9505 Original Android Development] topcat07:
Thanks for info does flashing official rom unroot essentially then? As I would be rooting official rom anyway so not sure how writing the same system over it would unroot (I do belive you just interested how it works)
[Galaxy S 4 i9505 Original Android Development] DjeMBeY:
Yes, flashing STOCK Rom on rooted one will completely remove ROOT as is only injected in the system. No other files are added...

I've TESTED it on my phone while creating Pre-Rooted Stock.

If you root with CF, phone status and will change to Custom, same in DL Mode, both option are CUSTOM...

If you flash pre-rooted Stock Rom, or OFFICIAL Rom afterwards, your phone will change to OFFICIAL ;)

---------- Post added at 09:18 PM ---------- Previous post was at 09:17 PM ----------

Go to SamMobile and get yourself any ROM you want, they added loads of them today!! :D

All of them are MDE,MDF,MDM, NO MDG though...
[Galaxy S 4 i9505 Original Android Development] Sym_Link:
Works on TMo-US UVUAMDB.
[Galaxy S 4 i9505 Original Android Development] topcat07:
Thanks for your help, does showing official mean warranty won't be void it will they still be able to detect it has been modified?
[Galaxy S 4 i9505 Original Android Development] DjeMBeY:
Yes. If your phone dies completely, then the ONLY option for Service Centre is to start it in Factory Mode by using USB JIG. If your status is OFFICIAL then they will fix it free of charge, warranty is not void...

Different story, if your phone is still able to boot normally and but for example, your radio died, then you will have to uninstall SuperSU or flash STOCK Rom on top to un-root it. This will let you return your phone on warranty as well :)
[Galaxy S 4 i9505 Original Android Development] inphamous36:
Thanks!!! Gonna try it when my phone charges some
[Galaxy S 4 i9505 Original Android Development] oncestruck:
Just verified this...works great!!! :good:
[Galaxy S 4 i9505 Original Android Development] Aerodeath:
On SamMobile, what does it mean when there is a Kies icon?
[Galaxy S 4 i9505 Original Android Development] digiblogger:
Just that the firmware is available in Samsung Kies
[Galaxy S 4 i9505 Original Android Development] topcat07:
If this bricked is the official stock roms available to flash it back? Also i know root will prevent ota updates but will we still be able to get them from connecting to pc or either way do we have to remove root before updating ?
[Galaxy S 4 i9505 Original Android Development] me))0:
CF-Root

will it work on XXUAMDE ?
[Galaxy S 4 i9505 Original Android Development] btemtd:
OOOPS EDIT:

Ok I have I9505XXUAMDE

Like above poster

Would anyone know if this will work with this CF-Root

BTW this phone is a MACHINE!!!

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

OK DID a search apparently this works on AMDE coool

---------- Post added at 11:12 PM ---------- Previous post was at 11:02 PM ----------

I9505XXUAMDE Officially ROOTED... CHeers ChainInferno00
[Galaxy S 4 i9505 Original Android Development] Stephen88:
Hi Chainfire why you don't want build an auto-root with cwm? :(
[Galaxy S 4 i9505 Original Android Development] xtrememorph:
Singapore SGS4LTE STOCK

JDQ39.I9505XXUAMDE

works with the root, no reboot when using Titanium Backup
[Galaxy S 4 i9505 Original Android Development] Launchpad McQuack:
Thanks for building this and all you do Chainfire. This isnot working for me on TMo-US UVUAMDB.

Edited: It didn't work with Odin in the OP but it did work with Odin 3.07. Another confirmed T-Mobile S4, successfully rooted. Thx Chainfire!
[Galaxy S 4 i9505 Original Android Development] digiblogger:
Maybe, because chainfire is on vacation and will not develop in his well-deserved freetime ;)
[Galaxy S 4 i9505 Original Android Development] iamsmallpang:
can you update the mobile odin for s4 ?
[Galaxy S 4 i9505 Original Android Development] Stephen88:
are you chainfire? please read previous post about my question, vacation is not the problem
[Galaxy S 4 i9505 Original Android Development] RoseN-95:
If rooting MDE, how shall I do with upgrades later? Flash in Odin from sammobile?

Because I guess it won't be able through Kies or what they use now in s4
[Galaxy S 4 i9505 Original Android Development] Mittaa:
Odin PC and when supported with Odin Mobile (keeping root with Ever Root).

If you want to get un-rooted and back to KIES you will have to flash stock rom using Odin.
[Galaxy S 4 i9505 Original Android Development] tehaerpl:
Ive downloaded AMDM DBT from Sammobile but there is only one file: I9505XXUAMDM_I9505OXAAMDM_I9505XXUAMDM_HOME.tar. I flash it as PDA or one package option ?

Well still nothing. Getting tired with this sh*tty device. Upgraded to AMDM via Odin and root does not work. No binary, when installed manually from Play Store it says there is no root :/
[Galaxy S 4 i9505 Original Android Development] oursoul:
Working on I905XXUAMDD

Thanks CF, now I can get rid of that touchwiz crap :laugh:
[Galaxy S 4 i9505 Original Android Development] Aerodeath:
TW may be s*hit, but I like the Samsung bloatware. Any way to retain Samsung bloatware on an AOSP ROM like CM? Past S3 users please answer.
[Galaxy S 4 i9505 Original Android Development] me))0:
?????

will it work on XXUAMDE ?
[Galaxy S 4 i9505 Original Android Development] harise100:
Simply No. Only features you can find on a Nexus, will be in CM.

For now at least.
[Galaxy S 4 i9505 Original Android Development] Aerodeath:
Aww man. Why can't we have best of both worlds?

I'll wait then. Thanks.
[Galaxy S 4 i9505 Original Android Development] flipflop104:
Got my shiny new Samsung Galaxy S4 on Friday and attempted to root it over the weekend (I've previously rooted SGSII). I have used ODIN to flash the CF-Root.tar file (thanks Chainfire) which it seemed to do ok and came up green with "Pass" and said it had succeeded and I got the red android icon before it automatically rebooted itself but when I try to get root rights with Titanium it hangs for ages "asking for root rights" and then eventually (after about 15mins) says it couldn't access root privileges.

So everything looks ok but apparently it's not. Any ideas as to why it's (a) not rooted; or (b) Titanium can't get root access?

It's Baseband version XXUAMDF

I've installed Superuser from the market and this is what it says:

SU Binary Updater

Downloading manifest... okay! (in green)

Parsing manifest.... okay! (in green)

Latest version = 3.1.1 (in green)

Checking installed version = 1.15:SUPERSU (in red)

Fixing database.... okay! (in green)

Unpacking sutools... okay! (in green)

Checking current install path... /system/xbin/su (in green)

Downloading new binary... okay! (in green)

Gaining root access

Changing su file mode to 06755...

Making sure new su works... fail! (in red)

Any ideas? I'm stumped (but I am a rooting newbie - it's only my 2nd attempt at rooting and the first attempt went smoothly).

Thanks in advance
[Galaxy S 4 i9505 Original Android Development] ken2802:
try supersu, from my point of view superuser seems to have a few problems with the s4 , atleast this was the case with my phone.
[Galaxy S 4 i9505 Original Android Development] flipflop104:
OMG that seems to have worked. I'm in Titanium anyways. Thank you so much :highfive:
[Galaxy S 4 i9505 Original Android Development] oursoul:
Unfortunately not.

My advice is to follow the Omega ROM series, I've used their Galaxy S2 ROMs for a while and they are fantastic, you can pick and choose your bloatware using their wonderful installer with built in kitchen.

I actually use ADW Launcher Ex but I need root so I can freeze TW using the Modaco Easy Freezy app which sadly I cannot find (despite the fact I bought it and use it on my S2) on the Play store!! I've written to Modaco so hope to get Easy Freezy back soon.
[Galaxy S 4 i9505 Original Android Development] Aerodeath:
Thanks for the advice.

I actually use Nova Launcher Prime and that app might be useful. Perhaps they have removed it. But why can't we remove TW from TW-based ROMs through uninstall, after setting up a replacement Launcher?
[Galaxy S 4 i9505 Original Android Development] oursoul:
In a normal situation we wouldn't have to but for some reason TW has its claws in. I notice every time I reboot my phone I am asked to pick my default launcher and occasionally during use my phone develops an identity crisis. The exact same thing happened on my S2 which is why I used Easy Freezy to freeze the TW app which fixed it.

If I can't get Easy Freezy back then I'll have to remove TW all together using my root file explorer (I use Solid Explorer).
[Galaxy S 4 i9505 Original Android Development] Aerodeath:
Isn't removing TW altogether a better solution than freezing?

And there are other apps which can freeze applications isn't it? Titanium Backup for instance, if you're rooted.
[Galaxy S 4 i9505 Original Android Development] oursoul:
You're probably right my friend, I just got used to Easy Freezy and for some strange reason never liked Titanium Backup.. no reason btw.

I'm happier to freeze stock stuff I don't require just in case. If I ever ever run out of space then I'll consider removing some of it.

I'll look up now Titanium now, thanks.

---------- Post added at 11:04 PM ---------- Previous post was at 10:59 PM ----------

Oh yes I remember why now.. it's £4.49 for the pro version (which enables freezing) and for me that's too much for something I'm barely using. I have Carbon for backups and did have Easy Freezy. Call me a skinflint but I find it hard to pay more than £3 for any app.

Gonna try App Quarantine now.. looks like it will do just the job :)
[Galaxy S 4 i9505 Original Android Development] Aerodeath:
Sorry for off-topic.

Perhaps you don't like it because it has a lot of options. But ROM Toolbox Pro has even more.

I'm using both Titanium Backup and ROM Toolbox Pro, but the latter keeps getting stuck at Cloud Backup.

You're welcome, glad I helped in some way.
[Galaxy S 4 i9505 Original Android Development] oursoul:
My last off topic post too (apologies as well) App Quarantine did just the job, it looks like it taps into Android 4.x.x's ability to disable apps but via root allows you to disable system services as well.. disabled a whole bunch of stuff and my phone already feels a bit lighter.

Yey for CF-Auto-Root (back on topic) as I wouldn't be able to do this without it.

Can't wait to see a solid recovery in the next few weeks.
[Galaxy S 4 i9505 Original Android Development] DjeMBeY:
Custom System Status REMOVER! (works like Triangle Away)

SOLUTION for ALL people who USED CF-AutoRoot and want to have System Status back to OFFICIAL and keep Full Root Access [GT-i9505 ONLY]

Works on ALL builds, from MD8 to MDM ;)

1. Use CF to Root your phone first

2. Download this file and unpack it.

3. Use Odin and load tar.md5 as PDA (make sure that ONLY AutoReboot is ticked)

4. Flash it, DONE

Your phone Status will be back to OFFICIAL and FULLY ROOTED, NO REBOOTS, TESTED!!! :)

Fully Working OTA and KIES updates!! :)
[Galaxy S 4 i9505 Original Android Development] Aerodeath:
Awesome man. But will Samsung still able to detect your root status?
[Galaxy S 4 i9505 Original Android Development] Sammath:
Does this also work when you're on XXUAMDF?

I know you said it works from md8 to MDM but I just want to be sure :) thanks in advance
[Galaxy S 4 i9505 Original Android Development] Disrespective:
This doesn't work with my Telecom New Zealand branded S4. Version XXUAMDE.
[Galaxy S 4 i9505 Original Android Development] Akhil:
XXUAMDE that means you have octa core version (GT-I9500) and this method is for snapdragon version (GT-19505).
[Galaxy S 4 i9505 Original Android Development] Disrespective:
Nope, I can guarantee you that I have the 9505.
[Galaxy S 4 i9505 Original Android Development] Rar9:
Flashed twice with Odin 3.07, but when I want to start SuperSU on my XXUAMDM version it still keeps telling me that the BINARIES aren´t installed.

I´ve checked the App version and its SuperSU 1.25.

Any hint.
[Galaxy S 4 i9505 Original Android Development] DjeMBeY:
You need to be rooted First!!! Use this AFTER you root with CF.

This will just reset your System Status to OFFICIAL.

Yes, it does work on it.

CF ROOT DOESN'T WORK ON LATEST XXUAMDM...

USE PRE-ROOTED ROM FROM MY THREAD if you want to keep the latest one!

USE THIS AFTERWARDS!

Sent from my GT-I9505
[Galaxy S 4 i9505 Original Android Development] Rikuumi:
Will this work with the Finnish model? I9505 and I9505XXUAMDE