yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S 5] gigahurts:
[MENTION=7597286]AptLogic[/MENTION]. willing to help if needed. I have successfully dual booted with both 4.4 and 5.0 touchwiz roms using safestrap and the nce loader app (found on xda somewhere, I forget). But I could only boot into safestrap after having flashed the 4.4 kernel in odin. I flashed the 5.0 custom rom in safestrap and selected it to boot in safestrap, but (obviously) upon reboot, it wouldn't boot unless I used odin to flash a 5.0 kernel. Kind of a PITA to dual boot, but it did work. I've tried numerous times to flash 5.1.1 touchwiz custom roms without success, both with flashfire and safestrap and I've tried several different kernels without success. I would like to help the cause, however, and think this phone has plenty of life left. I'm currently using it with tmobile and have unlocked it (was originally att). I'm now on geak OS, it works great. I have tried about a dozen or so 5.0 roms. I like geak os because its really lightweight and I have tethering and everything else working. Let me know if I can help.
[AT&T Samsung Galaxy S 5] gotzuk:
Thanks [MENTION=7597286]AptLogic[/MENTION]!

Rooted and installed SuperSU!!

RootChecker shows that root access is vailable

Update:

After restarting the phone, SuperSU says no binaies installed and Root Checker says Root Access Denied.
[AT&T Samsung Galaxy S 5] Raphu88:
This is what happened to me too.
[AT&T Samsung Galaxy S 5] AptLogic:
[MENTION=3329803]gotzuk[/MENTION] this unfortunately seems to be occurring with some devices, I haven't tracked down why exactly. All I can say is don't reboot after running supersume and get flashfire and immediately flash the prerooted OF3 ROM found on page 1
[AT&T Samsung Galaxy S 5] lingo2012:
Turning off knox can we just remove completly since were rooted?
[AT&T Samsung Galaxy S 5] AptLogic:
We should be able to. There are probably instructions somewhere to remove it. Try removing it and flashing 7.1
[AT&T Samsung Galaxy S 5] lingo2012:
Ok :)
[AT&T Samsung Galaxy S 5] lingo2012:
update

flashed 7.1 with same error the only kernel i could try was oc4 kernel which got rid of the sea android nforcing and at&t error but it just sits at the galaxy s5 scree. we need a marshmallow kernel if we can get one somehow maybe that would work
[AT&T Samsung Galaxy S 5] evildeaddc:
TMS5 3.0 rom confirm working and stable. Apps are outdated, and a factory format recommended after first boot up.
[AT&T Samsung Galaxy S 5] nnjhbb:
It did not work for me.

I did the following:

1 - Downgrade PH4 to OI5;

2 - Root with KingRoot 4.81;

3 - Super Su with Super-Sume 6.0;

4 - Flash AllianceRom_G900A_V8.zip with FlashFire everything according to this thread.

5 - Begins to do the process and then restarts (in less than 1 minute) on the screen written Samsung Galaxy S5 with custom logo and no further (I waited more than 30 minutes).

I did everything strictly following the instructions in this manual and it did not work. Anyone know of something I can do?

ps.:I also tried to install CM14 (https://download.cyanogenmod.org/?device=klte) and give the error message "system software not authorized by AT&T has been found on your phone".
[AT&T Samsung Galaxy S 5] evildeaddc:
You skiped a step, after 0I5 downgrade you must downgrade once more to 0f3 5.0 lollipop. It's on the first page post 3 I think
[AT&T Samsung Galaxy S 5] nnjhbb:
I thought it was optional. I will do it now

I did this and it worked perfectly.

Thank you.

Now with the CM14.
[AT&T Samsung Galaxy S 5] lingo2012:
Goodluck It didnt boot for me
[AT&T Samsung Galaxy S 5] AptLogic:
[MENTION=7560593]nnjhbb[/MENTION] CM14 won't work because it has a different kernel. You have to use an ATT kernel or you'll get the sys software not authorized error.

[MENTION=4911082]lingo2012[/MENTION] new experiment for ya is on the way... I may or may not have just solved our inability to flash RR 6.0
[AT&T Samsung Galaxy S 5] lingo2012:
Sweet lol
[AT&T Samsung Galaxy S 5] nnjhbb:
I would like a cleanest Nougat rom and CM14 for the S5 AT&T with Flashfire.

If you can do this miracle! [MENTION=4911082]lingo2012[/MENTION]
[AT&T Samsung Galaxy S 5] AptLogic:
I'm working on getting CM13/RR6.1 to work. We can't actually get ANY Nougat builds working until AT&T releases a Nougat build for the G900A.

[MENTION=4911082]lingo2012[/MENTION] I'm working on an experiment for ya ;) , expect it in the next 30 minutes.
[AT&T Samsung Galaxy S 5] Helgen:
I flashed Phoenix V11 with Flashfire as described in the first posts, and it is saying "System Software not authorized by AT&T has been found on your phone."

Error says "SECURE FAIL: KERNEL"
[AT&T Samsung Galaxy S 5] AptLogic:
Reflash the Kernel in ODIN.
[AT&T Samsung Galaxy S 5] AptLogic:
The black background was a bug and was fixed in Build AAR1J-RC1
[AT&T Samsung Galaxy S 5] Helgen:
Gonna go back to OI5. I could have stuck with Alliance, but god that rom is awful. I was getting so many errors.

If I wanted to reflash the kernel in odin, what would I be flashing?
[AT&T Samsung Galaxy S 5] CreeperPVP:
I installed the ROM but i am stuck on the Powered By Android screen...

It reboots after about 3 minutes and repeats

It definitely flashed recovery lol
[AT&T Samsung Galaxy S 5] AptLogic:
Crap.... I'll have a look today, sorry for that. The bug has been posted at https://github.com/a4asystems/X-ROM-G900A/issues/3

[MENTION=5435133]Helgen[/MENTION] this is what you're looking for: https://www.androidfilehost.com/?fid=673368273298920211
[AT&T Samsung Galaxy S 5] DejaVuAgain:
For all the OF3 based roms, you should use the OC4 kernel ...
[AT&T Samsung Galaxy S 5] AptLogic:
Digging through a WinMerge comparision of builds AAR1I and AAR1J revealed something peculiar: the Adreno drivers seem to have been modified. That may be the cause of our problem since those drivers control the GPU and a failure to get the GPU up would probably result in a bootloop.

Anyone want to test Build AAR1K?
[AT&T Samsung Galaxy S 5] rodriguez123:
Sreenshots please :)
[AT&T Samsung Galaxy S 5] AptLogic:
Can't right now as I don't have X currently installed, I'll upload some in a couple hours.
[AT&T Samsung Galaxy S 5] rodriguez123:
Ok thanks a question x rom v2.3 have addons Or is it lite only?
[AT&T Samsung Galaxy S 5] AptLogic:
There is no specific addon package for X 2.3, but you can use the add-on package from XtreStoLite 2.2 on it and it should work fine.
[AT&T Samsung Galaxy S 5] rodriguez123:
Thanks and sorry for asking so much I currently have xtrestolite 2.2 installed on my cell phone I can install xtrestolite 2.3 over and I will not have problems for example bootloops?
[AT&T Samsung Galaxy S 5] AptLogic:
Yeah but it is always a good idea to make a backup before doing this stuff. If you don't want to (potentially) encounter a bootloop i suggest you wait a couple days before installing because we'll be releasing the final release build of X soon.
[AT&T Samsung Galaxy S 5] Helgen:
I just went back to Marshmallow, had to save myself the headaches because I was doing all this testing on my main phone which is probably a stupid idea, but went through nothing but headaches lol. Thanks for everything Apt. I'll probably try out a Marsh root if it ever happens though!
[AT&T Samsung Galaxy S 5] CreeperPVP:
I'll try it if Kingo would stop rebooting my phone lol..

I love experimenting.. It's fun :P
[AT&T Samsung Galaxy S 5] NavSad:
BypassLKM, maybe?
[AT&T Samsung Galaxy S 5] AptLogic:
Eh I ended up just replacing the framework-res.apk with the OF3 default. Still got a bootloop issue though, and its starting to piss me off.

ROOT METHOD UPDATED IN POST 1, HAS A LOWER CHANCE OF BOOTLOOPING YOUR PHONE ;)
[AT&T Samsung Galaxy S 5] CreeperPVP:
I honestly think we should get a Safestrap method (or similar).. It's just a pain when you're testing stuff and have to flash with ODIN to get back to a usable state..
[AT&T Samsung Galaxy S 5] AptLogic:
Safestrap on 5.0+ builds itself is a pain. I'm really rooting for kexec at this point (pun intended). If [MENTION=7533813]NavSad[/MENTION] could give us some insight as to how to do it we could all be running Lineage Nougat right now.

ALSO: this sounds stupid, but has anyone actually tried using dd to flash a custom recovery/bootloader? I bet this has been patched long back but worth a try right?
[AT&T Samsung Galaxy S 5] CreeperPVP:
It might have been patched, but I don't know if anyone has actually tried to be honest..
[AT&T Samsung Galaxy S 5] AptLogic:
I might take a look at it during my 1 week development break after X is released. And then I get to start on AptOS (I've got good things planned :D)
[AT&T Samsung Galaxy S 5] inspired55:
Remove the boot IMG file from rom or od8n the of3 kernal I flashed with boot image removed and it run very well on 2 different att s5
[AT&T Samsung Galaxy S 5] CreeperPVP:
It didn't work lool

edit: Pshhh.. I am the AT&T store boii! (BTW, that's from trying to flash bootloader/recovery from within Android)
[AT&T Samsung Galaxy S 5] AptLogic:
Try re-flashing just the kernel, there's a chance it might work lol

Guys just a REALLY advanced warning- I'll be discontinuing major support for this device in October (I plan to get a new phone on a different carrier after my contract runs out). HOWEVER: I will still provide some support as I will still own the phone :)
[AT&T Samsung Galaxy S 5] inspired55:
From where your at . Just odin the io5 stock tar. Install stock of3 rom . Using winrar or 7zip remove the boot image from Phoenix v11 rom and flash with ff. All will be good. As I stated I'm running the rom on 2 phones with no issues...
[AT&T Samsung Galaxy S 5] CreeperPVP:
Phone was complaining about the kernel and recovery didn't flash at all..

---------- Post added at 01:43 AM ---------- Previous post was at 01:41 AM ----------

I'll try it :P

---------- Post added at 01:49 AM ---------- Previous post was at 01:43 AM ----------

I just tried the updated root method, and KingRoot just did a soft reboot on me! :o
[AT&T Samsung Galaxy S 5] AptLogic:
Houston, we have boot

Finally FINALLY got the device to boot :D turns out I screwed up the framework-res modification (again), including the stock XtreStoLite framework-res works flawlessly.

Now all I've gotta do is get it to default to the correct wallpaper and we're good to go (inb4 I brick it again by forgetting to sign the apk... again)
[AT&T Samsung Galaxy S 5] DejaVuAgain:
Just curious ...

At the end of the day, if (when) you get your rom to run, what exactly will we get?

How's it different from a totally stripped out rom to which you add whatever you like?

If I had the time, I'd install it on a virtual device to check it out, but asking is easier ;) ...

I'm making progress with breaking KingoRoot ...

I got a great decompilation using JEB & have managed to get it into Eclipse.

I haven't been able to launch it in the debugger yet.

Once I manage that, I should be able to make a clean rooter ...
[AT&T Samsung Galaxy S 5] AptLogic:
Well X is basically gonna just be the stripped out base, with possibly some updated apps, performance tweaks, and battery optimizations down the line (I'm looking into getting the vibration control upgraded to what 5.1.1 uses if people want to get rid of the single long vibration with notifications). If we go according to schedule, the release of X 2.3 could be as soon as tomorrow, or as late as mid-next week.

AptOS, however, is going to be different. For starters, the launcher is going to be replaced, major system icons are going to be modified, and I'm going to completely rework the color scheme at a system level. Those Samsung system apps (file manager, gallery, etc) are also going to be replaced, including but not limited to the Calculator, Clock, Contacts/Dialer, Gallery, Messaging, and (possibly) the settings. I'll be adding a full list of features to add after I fork off of the X repository (which should be sometime this coming week if the releases go according to schedule :3). Due to the nature of the modifications, this will take 1-2 months to fully complete, with an estimated RC in late March and a release in early April. This longer development time is also due to some personal things that will be taking up a sizable amount of my allocated development time during February and into early March (I'm already pulling 5AM-11:30PM days here).
[AT&T Samsung Galaxy S 5] DejaVuAgain:
Thanks for the insight ...

But given that most of the "mods" are really just choosing one app over another, wouldn't it be a better idea to spend the time & energy on migrating the rom base from 5.0 to 5.11 & making a great Aroma modding package?

Just askin' ...
[AT&T Samsung Galaxy S 5] oriax123:
Would be nice if the internet booster was enabled as well [MENTION=7597286]AptLogic[/MENTION]
[AT&T Samsung Galaxy S 5] AptLogic:
I've actually been looking into migrating it over to 5.1.1, but so far I've been having to manually replace all the files referenced in the OTA package, it'll take a while.

I'll look into it, there's no guarantee that it'll make it into the 2.3 major release, but I'll get it for sure in a minor release.

EDIT: aha the download booster is already there :D

ANOTHER EDIT: Bad news guys, I can't enable 4G LTE in the build.prop without the systemui crashing at boot and whenever you rotate the screen. Sorry :/ I'll look into it in the future. The OS seems to trip when ro.product.name=klteatt, giving us 4G LTE, but at the expense of the SystemUI. In fact.. setting that property to anything other than "klte" trips it.
[AT&T Samsung Galaxy S 5] AptLogic:
X ROM build AAR1M-RC4 is out! Download it now from https://www.androidfilehost.com/?fid=817550096634743607
[AT&T Samsung Galaxy S 5] CreeperPVP:
Is there a theme i can flash, or does Xposed Framework work? Just curious.
[AT&T Samsung Galaxy S 5] AptLogic:
I'm pretty sure Xposed should work considering the ROM is Deodexed

Release build coming out today!
[AT&T Samsung Galaxy S 5] mrredcon:
So...DejaVuAgain, what's the chances of an Active root?

*internal screaming intensifies*
[AT&T Samsung Galaxy S 5] CreeperPVP:
I just tried it and I got stuck with the bubbling Samsung logo lol
[AT&T Samsung Galaxy S 5] AptLogic:
oh no that doesn't sound too good D:

How long did you wait for it to boot? It usually takes 3-6 minutes.
[AT&T Samsung Galaxy S 5] CreeperPVP:
Been on the logo for quite awhile unfortunately..
[AT&T Samsung Galaxy S 5] AptLogic:
Okay I'll take a look and see what's up.

Update: just wiped and reinstalled, the OS booted fine for me within 3 and a half minutes. You may just have a corrupted zip, try redownloading.
[AT&T Samsung Galaxy S 5] CreeperPVP:
Mine is still on the boot logo.. I don't know what it's doing cause I can't even get into ADB to check or disable..
[AT&T Samsung Galaxy S 5] AptLogic:
I don't know what to tell ya (sorry). I'd do a battery pull and try to reinstall.
[AT&T Samsung Galaxy S 5] jeffmoss1999:
So did we lose the ability to root the active since I notice you pulled that from your original post?
[AT&T Samsung Galaxy S 5] AptLogic:
For now, yes. But [MENTION=7958871]DejaVuAgain[/MENTION] is working on a modified root app that (should) let us root the 870A
[AT&T Samsung Galaxy S 5] jeffmoss1999:
Sweet. Thanks for all the great work.
[AT&T Samsung Galaxy S 5] shadowofchaos:
The tutorial has changed from last December.

I remember it working.

I have to do it again because the UI kept crashing from me changing the resolution with root/adb on my S5.

So I flashed COI5 back on.

Anyways: [MENTION=7597286]AptLogic[/MENTION]

"Kingo ROOT v4.1.9"

I assume King Root, but I cannot find that version here?

https://xdaforums.com/devdb/project/?id=9793#downloads

And is it normal for 4.8.1 to fail to root my device repeatedly for the last hour now?

(Even after I restart the device many times)
[AT&T Samsung Galaxy S 5] oriax123:
You can use latest KingOroot to root on OI5,

Then once rooted uninstall superuser (installed by kingoroot)

Install SuperSU but dont open

Open KingRoot 4.8.1 and it will say "Fix" hit it.

Now run Supersume 6.0 and allow permisison,

execute and once finished SuperSU will open.

Update su binary with "Normal" method",

will ask to disable knox and hit ok.

Note: Kingroot apk name - NewKingrootV4.81_C136_B245_xda_release_2016_02_29_105243 from link you posted.

Note 2: Make sure you ODIN OI5 all 4 files and not just AP file when restoring to root.

After that you should be golden to follow the rest with flashfire and what not from the guide.
[AT&T Samsung Galaxy S 5] DejaVuAgain:
I don't know anything about the Active ... I'm trying to sanitize KingoRoot ... if you can get root with it, then mine will work for you as well.

Unfortunately, I'm not "doing" an exploit ...
[AT&T Samsung Galaxy S 5] AptLogic:
IF we could force it to use a certain exploit binary for all devices, we would probably be able to root the Active as well.
[AT&T Samsung Galaxy S 5] DejaVuAgain:
\

One of the first things that KingoRoot does is to enumerate the properties of the phone.

Based on what I understand so far, that's not used for the exploit, but rather for targeting ads.

The exploit seems to be a brute-force execution through a sequence of known weaknesses.

As I said before, I still can'r say for sure if there's a binary involved in the exploit.

It's tough sledding through this since I don't know Java.

Stay tuned ...
[AT&T Samsung Galaxy S 5] shadowofchaos:
I remember rooting my phone with Kingroot via this thread's method before going much more smoothly.

I went on Odin and reflashed all of the files... the AP, BL, CP, and CSC.

Did the minimum possible for initial setup just so I can get on Chrome to get the latest Kingroot on the website, and then 4.8.1 here.

Kingroot isn't being successful for any of the attempts.

I even restart my phone after 5 regular attempts (closing the app full between each attempt) to try again.

I can't even get to the part where I uninstall Kingroot, to reinstall the 4.8.1 and then Super SUme that I remember doing.

Are there any possible other variables I'm missing?

I mean I turned off wifi, location, bluetooth, and sync as it said in the updated OP.

I don't think I have an NFC on my device, do I?
[AT&T Samsung Galaxy S 5] oriax123:
root using latest kingo root, not kingroot.
[AT&T Samsung Galaxy S 5] shadowofchaos:
I.... am going to hate myself if this works.

Sorry for being so stupid.

I swear, I remember having the old method work with KingRoot 5.

Thanks, regardless.
[AT&T Samsung Galaxy S 5] AptLogic:
Yeah... the KingRoot bastards got rid of our ability to root, but Kingo works (somewhat) well, so we're leveraging it to trick KingRoot into swapping the Kingo binaries for theirs and then swapping THAT with Chainfire's SU binary using Super-Sume.
[AT&T Samsung Galaxy S 5] NavSad:
We need to load a custom kernel module which would mean we have to bypass the check.
[AT&T Samsung Galaxy S 5] AptLogic:
Well I think to do that we'd have to overwrite the bootloader, aboot, and kernel all at once, and considering the walls we've been facing up till now that doesn't seem very

possible
[AT&T Samsung Galaxy S 5] NavSad:
Someone did this here:https://xdaforums.com/showthread.php?t=2578566.
[AT&T Samsung Galaxy S 5] AptLogic:
If we're lucky we can port it over to the S5 without much hassle. Has anyone tried it on the S5 yet?
[AT&T Samsung Galaxy S 5] NavSad:
This could also help:https://odste.blogspot.com/2015/05/breaking-samsungs-security.html.
[AT&T Samsung Galaxy S 5] AptLogic:
I'm really tired so I didn't absorb too much of this, but I get the basics of it. But most of this is for the S4 and we'd have to port it over, as well as work out the kinks. I'd be up to test, but I can't reliably say I can do anything else cuz I'm tired and I got a headache.

Now, off to bed I go lol
[AT&T Samsung Galaxy S 5] samccfl99:
So does that mean that the KingOroot will always work and the rug not be pulled under kingO???

IN OTHER WORDS, IS THIS A PERMANENT ROOT METHOD???

---------- Post added at 01:38 PM ---------- Previous post was at 01:31 PM ----------

That thread was pre-S5 and those are the guys who gave us root and safestrap on the S5.

If the damn phone was slow and old, I would trash it, but it works great. I wish ATT would just unlock the damn BL for this phone already. OH WELL....
[AT&T Samsung Galaxy S 5] CreeperPVP:
I wish we could just forge a developer edition aboot somehow.. Or figure out how to get Samsung's crap so we can just flash whatever we please.. Anyway, I was reading those S4 articles and is it possible all we have to do is change the memory address and recompile? Or would you think we'd have to do more than that.. Curiosity strikes again!!
[AT&T Samsung Galaxy S 5] AptLogic:
Well the way I see it even if we compiled and it worked, we'd still have to somehow port Safestrap up to Android 5.0 so that we can access a terminal before the phone boots so that we can push the kernel modules.
[AT&T Samsung Galaxy S 5] DejaVuAgain:
No, it's not "permanent" since there's server-side interaction.

That's what I'm working on at the moment ... trying to sanitize the app.
[AT&T Samsung Galaxy S 5] NavSad:
They got Safestrap on 5.0 on Verizon.
[AT&T Samsung Galaxy S 5] AptLogic:
How much effort do you estimate it would be to port it over to our phone? Because then we don't have all too much stopping us.
[AT&T Samsung Galaxy S 5] NavSad:
Here's how he made it:https://xdaforums.com/verizon-galaxy-s5/development/safestrap-5-0-lollipop-t3313800.
[AT&T Samsung Galaxy S 5] AptLogic:
Seems to me like there isn't much if at all to do to port it over. So we've got that aspect sorted out, which means there isn't much to do except to compile the kexec kernel module, right?
[AT&T Samsung Galaxy S 5] NavSad:
I guess.
[AT&T Samsung Galaxy S 5] AptLogic:
Okay so I took a look at both the ATT and Verizon versions of SS, and the Verizon version appears to be very different... There's like 3 different boot.img files and I have no idea what they do, so porting it over may be a bit more work than I anticipated. I'll keep working on it, though, and see what those boot.img files do.

Meanwhile, who wants to be the one to compile kexec?
[AT&T Samsung Galaxy S 5] eviljonny1:
I just got the attached email from One click root stating that root is now available for my device. Anyone else? I've not yet tried.
[AT&T Samsung Galaxy S 5] AptLogic:
I do not recommend OneClickRoot since it uses a desktop application to root and that can increase the chance of either your phone or your computer (or both) getting malware.
[AT&T Samsung Galaxy S 5] eviljonny1:
Good to know. Thank you and keep up the great work. [emoji106]
[AT&T Samsung Galaxy S 5] rodriguez123:
Also in marshmallow
[AT&T Samsung Galaxy S 5] xdanilva:
Don't use oneclickroot it has more of a chance of putting viruses on your pc and your android device
[AT&T Samsung Galaxy S 5] CreeperPVP:
Welp, I dropped my phone and BAM.. Screen itself is totaled.. But the glass is unharmed!?!? They're sending an S7 as a replacement

rip my rooted phone

---------- Post added at 11:51 PM ---------- Previous post was at 11:50 PM ----------

Yes, I wouldn't use it if I were you..
[AT&T Samsung Galaxy S 5] Duckman5:
One click root seems to have an apk now. Is there something specific about one click root that's unsavory? Also, what about a sandbox or a vm for the pc version?
[AT&T Samsung Galaxy S 5] CreeperPVP:
I tried it once before and it said my device was compatible but it didn't work, and I used the pc app. I bet the apk is just as bad lol
[AT&T Samsung Galaxy S 5] AptLogic:
Wish I could get a free S7... XD but only if I can keep the S5 too lol
[AT&T Samsung Galaxy S 5] shadowofchaos:
Yeah I got that notification too. I signed up for notifications when my phone was still on Marshmallpw, before the breakthrough with this thread in December.

The logic was that I'd get a notification of a breakthrough from them and look here for the real "non spamware" version.
[AT&T Samsung Galaxy S 5] CreeperPVP:
I wanted a new s5 but they picked the s7 on the asurion page.. if my sister gets a new phone I'll have both :p but idk if that will happen for awhile