yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S 5] Duckman5:
There are sometimes mote options if you call them on the phone. When my S4 Active broke, they wanted to govt me a regular St, but I wanted the camo and shock resistance of the Active. I called them the next day and they told me they still had some Active models in stock. If you just food your order yesterday or today, it may not be too late.
[AT&T Samsung Galaxy S 5] AptLogic:
Can someone run a test for me and use ODIN to flash PH4, but when the phone reboots go immediately back into ODIN mode and flash the OF3 kernel and see what happens? I know we can use the OF3 kernel on OI5, so I'll be looking into doing something with that down the line, but I want to know if we can use the OF3 kernel on a MM Android version as well.

Thanks in advance!
[AT&T Samsung Galaxy S 5] Vengeance1020:
TWRP for G900A (klteatt)?

Could I install TWRP (or another custom recovery besides safestrap), onto the device?

I have successfully rooted and followed the guide on post #1 and following and installed a ROM (Alliance ROM), I want to install a custom recovery so I can flash ROMs without the need for flashfire (Not a big inconvenience but I would prefer it for if something goes wrong and I don't have to start all over from scratch.

Also, would it be possible for me to flash and install Lineage OS on the device (I am working on building it from source, but I need to know if I would need to make a custom kernel or custom something else?)?

If not, are there any ROMs out there that work for KLTEATT (G900A) without TouchWiz or a newer version of TouchWiz?
[AT&T Samsung Galaxy S 5] AptLogic:
Please read the thread before posting something like this, thanks ;).

Due to our locked bootloaders, any third-party recovery is not an option (with the exception of SafeStrap). The same goes for custom kernels (at this point in time.. we are working on trying to get kexec to work). If you were to build Lineage from source, you'd have to compile against a G900AUCU4BOF3/OF2/OC4 kernel or you'll softbrick at boot.

So at this point, unfortunately, there is no way to get a non-TouchWiz ROM working. BUT: AptOS is beginning to take shape, which is a fork of the X ROM (you can find X in the Android Development section for our device). I can't go too far into detail this early in the build process, but it'll be good :)

If you REALLY want to help you can help us out by compiling a kexec binary against the OF3 kernel so we can start testing that path.

Speaking of... I'm still working on the 5.0 SS port, so expect that to come out in the next 2-3 weeks (I can't work on this stuff as much as I'd want to, but I'm devoting as much time as I can to it).
[AT&T Samsung Galaxy S 5] Vengeance1020:
So is it at all possible for me to compile Lineage to work on the G900A?
[AT&T Samsung Galaxy S 5] AptLogic:
You would have to get it to work with a TouchWiz kernel, since we can't run any other.
[AT&T Samsung Galaxy S 5] Vengeance1020:
Would that require me installing the TouchWiz UI?
[AT&T Samsung Galaxy S 5] AptLogic:
Not necessarily, but you would probably have to modify Lineage itself to be compatible with whatever differences TouchWiz has. I would suggest dumping the kernel images of the TouchWiz kernel for the G900A as well as a Lineage Kernel for the G900F and then using WinMerge to see what the changes are, and try to adjust the system accordingly.
[AT&T Samsung Galaxy S 5] Vengeance1020:
I assume I can use the kernel I am running on Alliance ROM for the comparison? I have no experience in kernel dumping (and a lot of things, I haven't gotten the chance to really study up on doing this kind of thing), could you tell me how? The kernel is already in the github sources, right?
[AT&T Samsung Galaxy S 5] AptLogic:
Well I haven't done very much kernel dumping myself either lol. If you want to make it easier for yourself you could just download the Kernel Source from Samsung's Open Source Release Center (OSRC) http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=g900aucu4bof2 and use WinMerge to compare it to the Lineage Kernel source.
[AT&T Samsung Galaxy S 5] Goron_Elder_Chris:
Is there a possible way to flash CM13.1 Snapshot? I much more prefer cm over any rom and don't like samsung stock it's not user friendly.
[AT&T Samsung Galaxy S 5] Vesnyx:
Short answer, no. If you need a longer answer you can follow the hundreds of other threads asking the same question.
[AT&T Samsung Galaxy S 5] AptLogic:
PRESENTLY we cannot flash Non-TouchWiz ROMs or a ROM that does not use an AT&T stock kernel. We're working on seeing if we can use kexec to change that, but it will take time.
[AT&T Samsung Galaxy S 5] NavSad:
I'm working on unlocking the bootloader, I think I may have a lead.
[AT&T Samsung Galaxy S 5] AptLogic:
May I ask what your hypothesis is?
[AT&T Samsung Galaxy S 5] NavSad:
Yeah,

I've been taking a look at aboot and I found a vulnerability that doesn't seem to be patched:https://source.codeaurora.org/quic/la/kernel/lk/commit/?id=b05eed2491a098bf627ac485a5b43d2f4fae2484. My hypothesis is that using this vulnerability we could overwrite the check_sigs function and bypass the bootloader lock. Kind of like what djrbliss did with Loki.
[AT&T Samsung Galaxy S 5] AptLogic:
Ooh sounds cool... if you need it tested I'm probably going to be doing AptOS alpha testing and I'd be happy to throw the exploit into the test list :)
[AT&T Samsung Galaxy S 5] CreeperPVP:
Lol now I wish I hadn't dropped my s5 xD
[AT&T Samsung Galaxy S 5] boyhonda5:
Do you still need this tested?
[AT&T Samsung Galaxy S 5] AptLogic:
XD I hope this bootloader unlock works because I'm tired of having to flash back to OI5 and re-root every time I brick.

Then again, most of my work would almost immediately become obsolete soo...
[AT&T Samsung Galaxy S 5] AptLogic:
Yeah
[AT&T Samsung Galaxy S 5] CreeperPVP:
If it does work you already know I'm gonna try it on other Samsung phones lol
[AT&T Samsung Galaxy S 5] boyhonda5:
I have PH4, but I don't have OF3 at the moment, my computer is down. Do I need to download the full package (AP, BL, CP, CSC) and pick out the kernel, or is there a link floating around somewhere with just the kernel?
[AT&T Samsung Galaxy S 5] AptLogic:
I can get a flashable Kernel for ya. You can't just extract the files and pick out the kernel, you have to do it a specific way or ODIN will throw a fit. Will update..

Edit: haha I just went through the trouble of making a flashable tar and it was already on my AFH site... here ya go: https://www.androidfilehost.com/?fid=673368273298920211
[AT&T Samsung Galaxy S 5] boyhonda5:
In progress as we speak, the kernel goes in the AP slot, correct?
[AT&T Samsung Galaxy S 5] AptLogic:
Yep.

ALSO: If anyone knows of an AOSP-based dialer that can be used on Android 5.0 please say so because I'm looking for one.
[AT&T Samsung Galaxy S 5] boyhonda5:
Kernel was flashed immediately after reboot and phone is stuck on "Samsung Galaxy S5 Powered By Android" boot screen.
[AT&T Samsung Galaxy S 5] PopTartKing:
Is this progress AptLogic? Sorry, I just love watching the progress you and DejaVuAgain made on this phone. Keep up the good work :good:
[AT&T Samsung Galaxy S 5] AptLogic:
Well now we know that the OF3 kernel doesn't work on Marshmallow OSes.... but we ALSO know it works on 5.1.1, so we've got our limits laid out. Hopefully NavSad pulls through on that bootloader exploit. [MENTION=7533813]NavSad[/MENTION] anything we can do to help?
[AT&T Samsung Galaxy S 5] NavSad:
I think we're going to need [MENTION=4229979]djrbliss[/MENTION] to help out because if we're going to do this we're going to need some addresses and I don't know where to find them.
[AT&T Samsung Galaxy S 5] AptLogic:
Well according to his profile he hasn't posted in nearly 4 years so I don't exactly think that will happen... what addresses do we need?
[AT&T Samsung Galaxy S 5] NavSad:
Probably we're going to need the address of the check_sigs function and the boot pattern. This is according to Loki:https://github.com/djrbliss/loki.
[AT&T Samsung Galaxy S 5] AptLogic:
Would we be able to use the OF2 kernel source to find it?
[AT&T Samsung Galaxy S 5] NavSad:
No this is in aboot.
[AT&T Samsung Galaxy S 5] CreeperPVP:
Don't they have kernel sources available all the way up to OI5 for that device?
[AT&T Samsung Galaxy S 5] AptLogic:
Yeah they have OI5 and up but they seem to have skipped OF3 XD.
[AT&T Samsung Galaxy S 5] NavSad:
Aboot stands for application bootloader which is based off the Little Kernel Bootloader.
[AT&T Samsung Galaxy S 5] AptLogic:
I know but right now I'm trying to figure out how to decompile it since I can't seem to get IDA to start.

EDIT: I got Relyze to work but it doesn't have a C decompiler so all I got was gibberish
[AT&T Samsung Galaxy S 5] siddharthrv:
Phoenix rom

can i install Phoenix rom v15 which is a marshmallow on my s5 at&t
[AT&T Samsung Galaxy S 5] inspired55:
No you need a mm bootloader to do this as well as root and no root for att mm yet. Phoenix v11 will work but you have to remove the kernal before flashing. Use winrar or zip7 and delete the boot.img file in the rom.

SM-G900T Powered by Phoenix
[AT&T Samsung Galaxy S 5] AptLogic:
[MENTION=7533813]NavSad[/MENTION] I managed to decompile some of the aboot.

Any of this provide any help whatsoever? https://gist.github.com/coretechsystems/b4861ac76c340c086427b22181b38e15
[AT&T Samsung Galaxy S 5] dsome564:
Could someone point me to the "updated" root instructions. I havent been on in a while and I'm lost.
[AT&T Samsung Galaxy S 5] AptLogic:
First post on the first page, my friend :)
[AT&T Samsung Galaxy S 5] dsome564:
Thanks, I just saw it. :)
[AT&T Samsung Galaxy S 5] NavSad:
No I can't find it in there.
[AT&T Samsung Galaxy S 5] AptLogic:
Probably because I'm not that good at using IDA... maybe [MENTION=7958871]DejaVuAgain[/MENTION] can lend a hand, I think he knows at least more than I do how to use it.

Also found this http://newandroidbook.com/Articles/aboot.html
[AT&T Samsung Galaxy S 5] AptLogic:
It appears that the OF3 kernel doesn't actually work on OI5, just tested it again and it bricked my phone :(
[AT&T Samsung Galaxy S 5] sixxkilur:
Anyone else having FC on SystemUI has stopped loop after installing 3Minit Battery mod (Paid) once rebooted. only fix for me is factory wipe every time. Better rom than Alliance? tired of that one too.
[AT&T Samsung Galaxy S 5] AptLogic:
I think 3Minit works on X, you should be able to get it through the XtreStoLite add-on package.

I used to use Alliance, its weird.
[AT&T Samsung Galaxy S 5] sixxkilur:
This POS locked BL too bad I can't use the digitizer from this S5 for my S4 that has 32Gb internal with the AMDL BL; because having a custom recovery is worth it. Hell even my Nexus 5 is better at the moment; but both the S4 and the Nexus 5 have broke digitizers.
[AT&T Samsung Galaxy S 5] dsome564:
If nobody minds my asking, what ROMS have been succesfully tested?
[AT&T Samsung Galaxy S 5] schrosha:
Hey guys I'm new and just started getting into rooting and roms etc. I have an att S5 with 5.1.1 g900aucu4coi5. My end goal is to be able to use tether/hotspot on cricket wireless, which requires a compatible phone (which the S5 isnt) or from my knowledge a rooted phone. Which is something that seems wasn't possible until recently for 5.1.1 or above. So to achieve my goal of being able to tether would the root instructions on the first page of this post suffice for what i need? Also a friend of mine said something about using PdaNet+FoxFi to achieve the tether/hotspot without having to root the phone?
[AT&T Samsung Galaxy S 5] AptLogic:
Yes the instructions in the first post would be what ya need.
[AT&T Samsung Galaxy S 5] Trulypoor:
Thank you so much for all your awesome post AptLogic! I spent my entire day searching for just this exact thing and I was about ready to give up when I stumbled on this. I just rolled back from MM 6.0.1 to Lollipop 5.0 per the instructions on your thread! I have a SM-G870A. I am currently running G870AUCU2BOF3. I am considering trying your methods to gain root. I am not very experienced with all this yet, so I have to do some more reading through this thread before I try anything further.
[AT&T Samsung Galaxy S 5] ttom85:
I'm having troubles installing safestrap on the pre rooted OF3 Rom any ideas? I have busy box running,install safestrap, install recovery, reboot to recovery and does a normal boot? It does also say the SU binaries need to be updated. I think I did that last time and it said something about Knox and to disable it or something like that? New to messing around with phones but have a pretty good idea how most things work as an electronics tech, and studied a bit about software, bootloaders, roms, etc. Any help appreciated.
[AT&T Samsung Galaxy S 5] Trulypoor:
I rolled back my SM-G870A from OTA 6.0.1 to Lollipop 5.0 via your thread which was very successful, so thank you very much for that. I followed the above steps you provided attempting to gain root privileges, but it doesn't seem to be working at all so far. I am not getting the same results you describe regarding kingroot and kingo root. I am pretty sure I installed the correct versions of each via .apk files I found by searching through google on my PC. I have spent all day and night attempting to root this device and I am starting to feel like I might not be able to accomplish this. After all the research and study I've done it seems like this SM-G870A is very difficult to root once you have updated all the way to MM 6.0.1 like I have. If anyone out there would be willing to offer me any advice on this subject I would really appreciate that.

Here is some more info about my device if that helps.

Release date: February 1, 2017

Android version: 6.0.1

Security patch level (SPL): January 1, 2017

Baseband version: G870AUCS2DPK4

Kernel version: 3.4.0-9723602

Build number: MMB29M.G870AUCS2DPK4

File size: 26.2MB

Previous versions required: G870AUCS2DPK3

Rolled back to this:

Release Date: August 15th 2015

Android version: 5.0 (Lollipop)

Baseband version: G870AUCU2BOF3

Kernel version: 3.4.0-4443965

Build number: LRX21T.G870AUCU2BOF3

File Size: 299MB

I have not yet tried to update to 5.1.1 and gain root from there, but if anyone thinks that would be worth trying I would be willing to give it a shot.

Update: I have been messing with it more trying to use Odin to downgrade back to 4.4 KitKat or even 5.0 lollipop build or bootloader OC5 instead of the current OF3 with no luck so far. I have started getting a security warning message from the OS saying "unauthorized changes have been made please restart your device and remove changes" so obviously it was trying to gain root at least! When I try to downgrade to the original factory firmware "G870AUCU1ANE4_G870AATT1ANE4_G870AUCU1ANE4_HOME.tar.md5" It fails instantly with an error

"SW Rev Check Fail fused 2 Binary 1". I wish I knew how to bypass this built in security check they integrated into this build, but I'm just not that smart yet haha. There must be a way to manipulate the order of each step during the install process in order to fool the security check into thinking everything is fine.

Here is what my phone is showing while I am in download mode now. If nothing else at least I got back to Lollipop instead of Marshmallow which I didn't like at all.

[IMG="Phone"]http://imageshack.com/a/img923/9462/ATwX6J.jpg[/IMG]

Note: I have the sim card out of my phone during the whole process, I am not sure if that would make a difference.
[AT&T Samsung Galaxy S 5] inspired55:
Once on a 5.0 or higher bootloader you can not down grade to kk . Also on the 870a no one have been able to root using this method. Do a search on the 870a and see other people results. Sorry

SM-G900T Powered by Phoenix

---------- Post added at 07:47 AM ---------- Previous post was at 07:44 AM ----------

As of now safest strap is not compatible with the lp bootloader or mm bootloader only the kk bootloader which we can not go back to. Use flashfire to flash stuff.

SM-G900T Powered by Phoenix

---------- Post added at 07:53 AM ---------- Previous post was at 07:47 AM ----------

Look in the att general section there is a thread with a list of Roms that can be used after rooting. I've tried most and I think Phoenix v11 is awesome. But before flashing remove the boot.img file from rom using winrar or zip7. Or if you dont unferstand how to do the removal after flashing rom odin the Of3 kernal before booting.

SM-G900T Powered by Phoenix
[AT&T Samsung Galaxy S 5] CreeperPVP:
I wonder if there is an EngBoot for the Galaxy S5 lol.. The S7 has one and so far it roots any firmware on "Bootloader 4(fused 4)"

https://gyazo.com/dda9bc502f09ae34eaf8a2d18529b817

starts as root even without SU installed but it's obviously unsafe without an SU manager lol

When my sisters gets a new phone, i'll snag her Galaxy S5 so i can test stuff again xD

S7 forum is quite dead :(
[AT&T Samsung Galaxy S 5] sixxkilur:
Tested

Since this root method of OI5, temp root, then downgrade to prerooted OF3 stock. and flash via FF other roms. I have tested Alliance OK but buggy for me.

XtreStoLite was a brick had to restore to OI5 via Odin and go again.

Since then I snagged an EchoRom for G900F for Android v.5.1.1 a Galaxy S6 Edge port. removed the boot.img file from rom and re archived the rom then. Installed this rom on my S5 SM-G900A (AT&T) variant; results soft brick.

So I extracted bootimg from Stock OF3 prerooted rom and then created a Odin flashable tar of this file and flashed it in download mode via Odin. System up and running with a few System UI crashes. and Smart Switch crash.

The branding properties of the EchoRom change the displayed device info.

See Proof.
[AT&T Samsung Galaxy S 5] AptLogic:
Okay well this is great news for us then because that means we can use 5.1.1 ROMs (presumably) with little changes on our part. The SystemUI cashes you are describing could either be a result of the ro.device.product value (The phone throws a fit when you change it to anything other than "klte") or some kernel errors (which I doubt).

The next step would obviously be to see if MM stock-based 900F ROMs work with the same method.

I'll be taking a closer look over the coming week.
[AT&T Samsung Galaxy S 5] sixxkilur:
I changed build props to reflect some of the info from the OF3 stock and rebooted no changes to the FC of SystemUI and Google Play Service.

on this rom when you attempt to use FF and hit Flash it goes to a black screen D/C amd R/C to ADB but no response for commands other than logcat viewing; then you have to pull the battery and boot up. Since no actions for FF flash succeed can't install Xposed framework. The looping FC or too bothersome to continue with this test.

---------- Post added at 07:08 PM ---------- Previous post was at 06:13 PM ----------

Sob having to go back to stock OI5 via Odin and then repeat entire rooting/downgrading process is a P.I.T.A. We need a OF3 Stock prerooted Odin flashable package.
[AT&T Samsung Galaxy S 5] AptLogic:
Well to do that we'd have to somehow trick the Aboot into thinking the prerooted image is legit
[AT&T Samsung Galaxy S 5] AptLogic:
Ooh what's this.... Leaked AptOS screenies? Yes please!
[AT&T Samsung Galaxy S 5] JagXK8:
Can't wait
[AT&T Samsung Galaxy S 5] sixxkilur:
Yea so I have gathered i created a Odin package of OF3 Stock prerooted now in d/l mode the screen shows the Secure check fail "Firmware upgrade encountered an issue. Please select recovery in Kies & try again." and Odin showes FAIL! (Auth).
[AT&T Samsung Galaxy S 5] AptLogic:
Yeah that would be the Aboot protections at work, I wonder if [MENTION=7533813]NavSad[/MENTION] ever got the addresses he needed for his exploit.

ALSO: I can confirm that DiVINE Beats will be included in AptOS by default. Got it working and it is a m a z i n g
[AT&T Samsung Galaxy S 5] Trulypoor:
Thanks for your answer. I just love my S5 active, so I gave it my best shot. I'll just enjoy my lollipop 5.0 stock for now. I do plan on figuring out a way to stop it from trying make me update via wifi. Hopefully I can accomplish that much.
[AT&T Samsung Galaxy S 5] AptLogic:
Adb in, and run these commands:

adb shell

pm hide com.ws.dm
[AT&T Samsung Galaxy S 5] NavSad:
I'm still working on it. I'll you know if there is an update.
[AT&T Samsung Galaxy S 5] Trulypoor:
Thanks a lot for sharing the commands! It's funny you would say this just now. I have been studying up on ADB, and I figured there must be a way to disable the wifi updating using it. I found this page that is loaded with great info that some of you may find useful.
[AT&T Samsung Galaxy S 5] xdanilva:
Is AptOS x rom 2.3 or something else
[AT&T Samsung Galaxy S 5] AptLogic:
AptOS is based off of X ROM but it is something different
[AT&T Samsung Galaxy S 5] xdanilva:
Do you have a thread on it?
[AT&T Samsung Galaxy S 5] AptLogic:
Not yet, the thread will be going up later this month when I've got the system in a more stable state
[AT&T Samsung Galaxy S 5] thomisback:
kingroot

im running into an issue with kingroot where it doesnt go the security thing as mentioned, it instead wants to root, and says root is not acessable
[AT&T Samsung Galaxy S 5] AptLogic:
Yeah you have to let it do that before you use Kings, otherwise you have an increased brick chance
[AT&T Samsung Galaxy S 5] thomisback:
i have to "reroot" with kings after useing kingo?
[AT&T Samsung Galaxy S 5] AptLogic:
In a sense, yes
[AT&T Samsung Galaxy S 5] thomisback:
do i remove kingo superuser before i use kings or after, another post in this thread said before, but guide says after
[AT&T Samsung Galaxy S 5] sixxkilur:
The 1st post tells you how step by step. I have followed those steps with success over 10 times now.
[AT&T Samsung Galaxy S 5] thomisback:
okay, so when you open king does it go straight to the security index?
[AT&T Samsung Galaxy S 5] AptLogic:
It doesn't do that before you use kingo, but after you use Kingo it should show the security index
[AT&T Samsung Galaxy S 5] thomisback:
and thats the issue, mine doesnt, i open king and it says root access is unavalble. and a blue button that says start root.
[AT&T Samsung Galaxy S 5] AptLogic:
Yeah you have to do that before you use kingo
[AT&T Samsung Galaxy S 5] Goron_Elder_Chris:
Xposed for g900a?:D Xposed is so essential for majority of customization. I assume it's not flashable. Is there a ROM with Xposed?
[AT&T Samsung Galaxy S 5] AptLogic:
Xposed is for deodexed roms, like X-ROM or AptOS, only. I'm pretty sure its flashable but I'm not sure because I haven't started testing it in AptOS yet. I know its compatible, though.
[AT&T Samsung Galaxy S 5] Goron_Elder_Chris:
What would a solid flash be? I am not experienced s5 user, I used s3 which you could flash anything and have custom recovery, just asking what you prefer as a daily ROM for g900a?
[AT&T Samsung Galaxy S 5] AptLogic:
Well I would say (and maybe this is a bit biased) that X-ROM would be a great idea. Its relatively stable, battery-sipping, and its receiving ongoing support. But X ROM is a barebones OS, so I would say that if you want all the features you expect, like VPN support, fingerprinting, and other small things like that, it'd be a good idea to just wait till later this month and into next month for AptOS to be released in beta.
[AT&T Samsung Galaxy S 5] davidalindsey:
Exposed definitely works oem rooted Samsung Roms
[AT&T Samsung Galaxy S 5] Goron_Elder_Chris:
Thank you, I hope that is it is as good as you say it is!
[AT&T Samsung Galaxy S 5] thomisback:
however your on OF2, id say most in this thread are on OF3
[AT&T Samsung Galaxy S 5] AptLogic:
OC4, OF2, and OF3 are all basically the same. You shouldn't encounter problems installing on OF3
[AT&T Samsung Galaxy S 5] Goron_Elder_Chris:
stuck on samsung animation after flashing sdk21 for xposed. It's not frozen, just animation keeps going.
[AT&T Samsung Galaxy S 5] xdanilva:
sometimes it might take 4 minutes to boot up and if it lasts for 30 minutes then you have a softbrick which means you have to flash C0I5 with odin to your phone then follow the steps afterwards
[AT&T Samsung Galaxy S 5] invert_nexus:
Did you try arter97's xposed framework?

https://xdaforums.com/xposed/unofficial-xposed-samsung-lollipop-t3113463