yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 Android Development (Snapdragon)] TheFixItMan:
If you want to root either use magisk or use the lineageos inbuilt root

To activate it flash the su addon zip then enable root in dev options

https://download.lineageos.org/extras

For lineage 14.1 select version 14.1 arm
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
@ VoxiBe :

How to / when to dirty / clean flash read the second post in this thread:

https://xdaforums.com/galaxy-s5/dev...s-samsung-galaxy-s5-lte-t3534283/post70452245

For Root use:

https://download.lineageos.org/extras (SU Arm)

Flash it in TWRP : voila Root

Latest Magisk works but personal I'm no magisk fan..

Peace

@ Nixeus:

If you are using lineageos 15.1 use open gapps and choose which package suits you

https://opengapps.org. arm, 8.1, and the package you prefer.
[Galaxy S 5 Android Development (Snapdragon)] Nixeus:
Great ! Flashed and the rom is fine, and the pixel launcher is good too :)

Waiting for new updates no :)

After installing this rom, any other applications or mod to install to enhance the rom ( Camera mod, drivers,etc...) ?

Thanks
[Galaxy S 5 Android Development (Snapdragon)] js-xda:
First of all, a big thank you to cvxda, sassmann and everyone else contributing to this ROM! It is great that you make it possible to continue using good hardware beyond the end of life claimed by the supplier.

I am currently still running the latest 14.1 from mid June and follow since a few weeks the discussions related to issues observed with 15.1 (and recognize some being resolved). While I enjoy very much fiddling around with IT stuff, I am lacking at the moment the time to test (and going back if needed) and chickened out of testing 15.1 so far.

Out of lack of knowledge: Is it asking for a massive load of work to continue rolling out at least a bi-monthly update of 14.1 with the latest securty updates? If possible, I am sure that there are a few more users who would appreciate this very much!

Thank you for considering or even if explaining why this is too much work for someone doing this anyway in the spare time.
[Galaxy S 5 Android Development (Snapdragon)] VoxiBe:
Are you sure Magisk 16.7 work on Galaxy S5 kccat6 ? At the time of Magisk 14.0 I tried to flash it on the smartphone and I had a huge bootloop
[Galaxy S 5 Android Development (Snapdragon)] TheFixItMan:
Magisk 16.7 works perfectly well on galaxy s5 g900f klte

I can't comment on other variants

As always - do a backup before doing anything
[Galaxy S 5 Android Development (Snapdragon)] Nixeus:
Hello, i have the latest build and the camera app appear to have issues :( (G901F)

Sometimes the app become black and freeze,etc...

I have the feeling too the phone is slower with this latest build ( updated this morning).

Any way to solve it ?

Thanks
[Galaxy S 5 Android Development (Snapdragon)] Oswald Boelcke:
SM-G901F with RR-N-v5.8.5-20180413-kccat6-Unofficial, Magisk v16.7 beta (modules: Busybox for Android NDK, F-Droid Privileged Extension, Magisk SELinux Manager, NanoDroid microG sub module), SELinux set to permissive/moderate, Xposed v89 (modules: AFWall+ Donation, AppOpsXposed, Greenify v4.2.0.0, XPrivacyLua v1.23.20), baseband/modem G901FXXU1CQC1, carrier Vodafone.de

Magisk v16.7 beta is working without any issue on my kccat6; although currently and in future on RR-N-v5.8.5. However, some days ago, I also tried LOS 15.1 and RR-O-v6.0.1 and had no issue with Magisk.
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
Idk wich version i used, it was begin August and i THINK latest version, not sure

Better ask that question in some magisk thread?

Idk why u get bootloop either

Goodluck
[Galaxy S 5 Android Development (Snapdragon)] VoxiBe:
Yes no problem with Magisk 16.7 ?

but now i have a problem with los 15.1 for no reason a black and blue screen with the time appears and impossible to get out without restarting the phone .. Any idea ?
[Galaxy S 5 Android Development (Snapdragon)] rollinrollinrollin:
[MENTION=8232567]VoxiBe[/MENTION]

In LOS 14 for the Note 3 there is an option called something like Flip case.

Although these type of cases also exist for the S5, there is no option. If avail it could probably help ;- )
[Galaxy S 5 Android Development (Snapdragon)] VoxiBe:
Thanks, but i don't find any option in setting ?
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
open TitaniumBackup, search Flipflap and freeze it.
[Galaxy S 5 Android Development (Snapdragon)] TobiPeter:
There actually is an option to disable it, it's under connected devices in system settings. ;)
[Galaxy S 5 Android Development (Snapdragon)] rollinrollinrollin:
[MENTION=8232400]TobiPeter[/MENTION]

Can't see ...ok probably I have Flip Case not attached. In the afore mentionend Note3 version you always have the menu entry.
[Galaxy S 5 Android Development (Snapdragon)] TobiPeter:
I don't know. :(

I just can say that I have on LOS 15 a setting called "smart cover" under connected devices.

And sometimes I have this blue screen after a boot too and it don't wanna go, but if I remember correctly trying to use the fingerprint sensor is enough to let it go.

But I'm not sure about that.
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
Sometimes this option is not there . that's what I understood
[Galaxy S 5 Android Development (Snapdragon)] TheFixItMan:
It's there - see screenshots
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
Great, that will be helpfull.

Well done :svetius:
[Galaxy S 5 Android Development (Snapdragon)] rollinrollinrollin:
It's not there ;- ) probably because it is not attached.

Version 08/20, G901F, S5+
[Galaxy S 5 Android Development (Snapdragon)] TheFixItMan:
I don't have any cover - it should be there regardless unless you are using a variant where it's not been included

Mine is ktle - g900f
[Galaxy S 5 Android Development (Snapdragon)] mariceles:
Hmm, I've got the same problem. What I did today was:

1) I was sick and tired of my S7 edge...

2) I've turned the phone (lentislte, G906L) on, which I haven't touched for the past two months.

3) I've updated the rom (using recovery, without wipe) to the newest version (the previous one was from late June I remember, and the one I'm trying is from 2018-08-21)

4) I've put my SIM in, installed stuffs to the phone to make it a daily driver, including adding my google account from work.

5) Setting up my work account required me to encrypt the phone. I pressed yes.

6) The device started bootlooping after encryption. It would prompt me to input the PIN during startup, and after I do, the loading screen appeared again. However, after a half a minute, it automatically rebooted into recovery. I've looped about 4 times? before giving up.

7) I decided I would set it up again and wipe the data partiton.

8) I didn't just do "wipe", but I actually formatted /data to F2FS (Only because I've heard was faster). I was planning to wipe it back to ext4 anyway, if it would cause any trouble.

9) The device booted successfully, and encryption was on.

10) I've started setting up the device, and I've added five fingers.

11) I've noticed that of the five fingerprints, only the right index finger was working.

12) I've went to the settings, and tried removing the fingerprints. It didn't work. (The settings screen froze after I pressed ok on remove fingerprint dialog)

13) The only finger that had been working stopped working.

13) I've tried this: https://xdaforums.com/android/help/guide-delete-fingerprint-profils-via-t3686722, and I managed to remove all of the fingerprints.

14) I've added a single fingerprint, and it's not working.

Now I am going to wipe the device clean, format /data back to ext4 and see what happens...
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
....but you can freeze flipflap in titaniumbackup. It should solve the problem..
[Galaxy S 5 Android Development (Snapdragon)] DienoX:
[MENTION=3419717]cvxda[/MENTION]

Can you add support for Kernel-based Virtual Machine (KVM) to the kernel?

https://limboemulator.weebly.com/android-arm-kvm---kernels.html
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
Hey :)

I am new here and wanted to ask if i need to do anything specific to flash TWRP on my Galaxy S5 Plus G901F with Stock ROM android 6.0.1 :)

I never used TWRP on it and i dont want to brick anything, so what do i need to do to be able to install TWRP and then Lineage OS 15.1 :) ?

Thanks in Advance :D

Marvin732
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
Dear Marvin,

XDA developers website is full of information you ask for. Even this thread give much but not all you need to know.

Use your computer to read on XDA and use the search button for things like how to flash ROMs in general. I don't think anyone will write you a script from a-z how to flash TWRP and lineage.

You have to do some homework yourself, but you came to the right source XDA.

For TWRP use Google. How to flash TWRP with ODIN .

To flash lineage read : https://wiki.lineageos.org/devices/kccat6/install

And read this thread from page one until the end until you have enough knowledge to feel secure enough to flash TWRP and Lineage.

Read, read, read,... and read more since you are new to flash ROMs.

Goodluck.
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
Hello ^^

Thanks for the answer! I flashed roms 4 times on a different phone already but in this case its different,

I see everywhere, unlock bootloader etc and something with OEM Unlocking, I check in the Developer Settings but i cant find any option for that :/ I have a G901F with T-Mobile Branding, and i can still use other simcards , what to do now?

Thanks in Advance

Marvin732
[Galaxy S 5 Android Development (Snapdragon)] sonwon:
This procedure for root worked for me on my G901F after I recently upgraded to Marshmallow 6.0.

https://www.androidinfotech.com/2016/05/root-samsung-galaxy-s5-plus-sm-g901f.html

I haven't reloaded TWRP yet but will try soon. Here is the process.

https://www.androidinfotech.com/2016/06/install-twrp-recovery-in-samsung-galaxy.html

This one maybe easier to follow,

https://www.theandroidsoul.com/how-to-install-twrp-recovery-using-odin/

And I take no responsibility for the information at these websites.

Good luck to you!

---------- Post added at 03:45 AM ---------- Previous post was at 03:40 AM ----------

I should add that Samsung's version of Marshmellow is loaded with bloat. I have recently shied away from custom roms and did my own debloat. It took me 8 hours however my phone uses about 1% every 2 hours with the phone off, WiFi on, mobile data off. Other than that it is stock TouchWiz. I am now returning the thread to the owner.
[Galaxy S 5 Android Development (Snapdragon)] Oswald Boelcke:
Besides the very true statement of @andreoide and the guidance by @sonwon, maybe this might also support you:

https://xdaforums.com/showpost.php?p=77237045&postcount=1165
[Galaxy S 5 Android Development (Snapdragon)] sonwon:
Reading that post reminds me, always check the MD5 before loading a recovery or I believe you risk bricking your phone.
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
I would personally not ever use kingroot.

Look:

https://download.lineageos.org/extras

Root can be flashed too

Flash the ROM, gapps & root and off you go.

I dislike url's from beside XDA because most of the time its aged and risk to brick your phone even more.
[Galaxy S 5 Android Development (Snapdragon)] sonwon:
The url to the procedure I posted doesn't use kingroot? And it worked on my S5+ just 4 days ago.

Also, I just flashed TWRP without problems.

I know it isn't lineageos so this is my last post.
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
Thank you for all your help :)

i got the root on it so far but on the last link it says something with

"Unzip the Odin 3.12.3 .zip file and run/open Odin3 v3.12.3.exe file from the extracted files on your PC.

Make sure you’ve downloaded a Odin flashable TWRP recovery .tar file compatible for your device.

(If applicable) Enable OEM unlock:

Go to Settings » About phone » and tap Build number seven times to enable Developer options.

Go back to main Settings page, scroll to bottom and select Developer options from there.

Under Developer options, look for Enable OEM unlock checkbox/toggle and enable it."

I still dont have OEM unlock after rooting :/ what should i do? is it important to have OEM unlock?

EDIT:

Okay :D got root and it worked, flashed TWRP and worked so far aswell :) preparing my phone by taking a backup from my Current STOCK OS for preventing if the IMEI file disappears that my phone goes back being simlocked somehow :) Backup everything + data 7000mb and then i will try LineageOS :)

EDIT2:

I Did it and it worked :D

Now i have LineageOS 15.1 :) But i have a problem, how can i remove the " set warranty bit : kernel" message away?

And Before flashing it i did a backup with everything + data, and then everything without the 7gb of data, how can i restore the stockrom with that? just wipe everything and then with advanced system,data and cache and then with Restore Function, restoring the package i backed up? saved internal and SD Card folder so when i would return back to the Stockrom, everything would be as if nothing happend after the root ^^ still the question in the end how to remove the set warranty bit : kernel message :/

EDIT3:

I can't install SuperSU because it keeps saying sure binary occupied and I can't use few apps because of the missing SuperSU app :/ what should I do ? And how to turn auto start off ?
[Galaxy S 5 Android Development (Snapdragon)] Oswald Boelcke:
I'm surprised you're surprised. The OP clearly states at its very top:

Personally, I don't mind. If you do probably a web search for keywords "chainfire" and the (deprecated) "triangle away" may lead to a solution, or this pretty old thread: https://xdaforums.com/galaxy-s2/orig-development/2014-01-15-triangleaway-v3-26-t1494114

However, I believe to have read (didn't try myself) that only a flash of stock Sammy through Odin and unroot can help.

I've never used the LOS SU addon personally as I always use Magisk (currently Magisk v16.7 beta) since it came up. Works perfectly for me; no issues with LOS or RR. If you already flashed the SU addon you probably have to flash the SU Removal (ARM) first before you can flash Magisk.
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
I know it states it at very top, i just didnt knew what that meant with Knox since i never have rooted and flashed a Samsung Device before.

I will keep the message since i dont want to try a program from 2014 which is apparently meant for Galaxy S2 , which could destroy the phone.

I will flash the removal and try flashing Magisk :) thanks :)
[Galaxy S 5 Android Development (Snapdragon)] Oswald Boelcke:
Personally, I believe it's quite tough to really hard brick an Android device but there's always the possibility. My personal best practise: If I read something with a bold font and/or capital letters I always try to gain knowledge about the information provided before I continue to do anything. But in this case it's unimportant in my opinion; simply Know was triggered ==>> warranty that I don't have anyway on my mature device is lost.

BTW: Just upgraded to the newly released Magisk v17.0; no issues and root as expected.
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
okay :D simply SU removal and then flash Magisk v17.0?

Will do that :) i am sick of the Autostart :S
[Galaxy S 5 Android Development (Snapdragon)] js-xda:
Well, it seems that I have to thank for no one replying to my initial post. ;) It pushed me into giving it a try and it seems to work overall. I would be interested in an answer to my original question nevertheless.

For those still struggling whether to go for upgrade from 14.1 to 15.1, I followed basically the route as described by andreoide in post #1530 of this thread doing a dirty flash without any relevant issues:

applied to SM-G901F with baseband CQC1 (bootloader and modem not checked but the latest available firmware Germany (T-Mobile) was installed earlier in 2018 - I would assume CQJ1 for bootloader and modem therefore)

starting from TWRP 3.2.1-0 and last LineageOS 14.1 build from 15.06.2018 with Open GAPPS ARM 7.1 Pico and not rooted - and having done a backup within TWRP

flashing TWRP 3.2.3-0 and reboot to recovery

flashing LineageOS 15.1 build 27.08.2018 and reboot to recovery

flashing Open GAPPS ARM 8.1 Pico from 01.09.2018

wiping cache & Dalvik

reboot to LineageOS 15.1

No issues linked to SIM card identified so far. And I can confirm for my device that Smart-Cover (not sure about English label) is present in Settings -> Connected Devices even so I never had such a cover in use. Sole "loss" observed so far: The shortcuts and widgets on the home screens were gone and I had to get them one by one back from the app menu.

Observation linked to battery drain (not reproducible so far):

Initially, the whole system was lagging quite a bit and battery was draining quickly while the device was also heating up. Short investigation indicated that the app Automate was causing this. Stopping this app (run at system startup activated) helped while other apps starting at system startup (e. g. FRITZ!App Fon) were not causing similar. So, likely not linked to running an app at startup. So far, I could not reproduce by normal start of the app. Anybody observing similar?

Profile functionality broken?

I am wondering whether the still existing system profile functionality (but only hidden in Settings -> System -> ... as far as I can see) is only partially implemented in this ROM or broken in LOS 15.1. I am missing the shortcut option for choosing a system profile and I can not call anymore a system profile from Automate (labeled "CM profile" there). Has anybody more information about this?
[Galaxy S 5 Android Development (Snapdragon)] Oswald Boelcke:
Just for information: Two days ago, I moved to lineage-15.1-20180827-nightly-kccat6 and finalised the setup of my system yesterday afternoon. The SM-G901F holds a more or less brand-new (mfg. date: 2018-07-10) original, genuine Samsung battery.

I completely charged the device to 100% and turned it off at 2000 hrs. Today at 1000 hrs, I turned the device back on and battery level was down to 60% i.e. it drained 40% within 14 hours (equals nearly to 3%/h) when switched off. I know that this fact was already reported, and I just like to mention it's still the case with the current nightly. My personal conclusion besides wondering how a device can drain so much when switched off, do not turn off the device. Personal assumption: The device isn't off when it pretends to be.

During one of the next nights, I'm taking a BBS idle dump to assess its "normal" drainage.
[Galaxy S 5 Android Development (Snapdragon)] sonwon:
Just to give you a target to shoot for, I am running debloated Samsung Marshmellow, with mobile data off, WiFi on, drain runs less than 1% per hour while off. Also battery drain is largely effected by the cell tower signal.
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
Okay i got Magisk on the phone, what app should i use to prevent apps from auto starting when i boot up the phone?
[Galaxy S 5 Android Development (Snapdragon)] Oswald Boelcke:
@sonwon: Thanks for the advice that I appreciate. Actually, I'm pretty familar how to achieve decent idle drainage on my devices. Usually, and this includes RR-O-6.0.1, it's between 0.6 - 0.8%/h; also usually with mobile data disabled and WiFi on.

However, I finally realised that LOS 15.1 - like also RR-O-6.0.1 - cannot be my daily driver on the G901F at all. With both ROMs, I always "lose" the SIM (it's not recognised) after every reboot despite the baseband to be known. I know that @cvxda elaborated here about this issue. If it just occured during every second or third reboot and were recognised after the next one, fine but this way both Oreo-type ROMs are simply not usable for me personally.

As Corinna suggested in the linked post, I'm finally reverting to RR-N-v5.8.5 although it isn't maintained anymore.

I personally use three different ones: MyAndroidTools Pro, SD Maid Pro and AppOpsXposed. The first two allow you to switch the respective broadcast receivers, while the latter fiddels with the permissions. Attention: AppOpsXposed requires the Xposed framework. If installed and you require a positive SafetyNet check you won't never get it with Xposed.
[Galaxy S 5 Android Development (Snapdragon)] clx_:
Not true, you can get a positive SafetyNet check, you just need to install Xposed via the Magisk module in Magisk Manager.
[Galaxy S 5 Android Development (Snapdragon)] Oswald Boelcke:
Good to hear. Glad that you managed it that way; however, there're quite a few of other experienced guys who share my opinion like:
[Galaxy S 5 Android Development (Snapdragon)] swiftbones74:
Since when did that work??
[Galaxy S 5 Android Development (Snapdragon)] clx_:
It has always worked, make sure to uninstall Xposed first & install Xposed module + magisk version of Xposed manager

You also have the wrong module.
[Galaxy S 5 Android Development (Snapdragon)] Oswald Boelcke:
I won't follow this conversation any longer as it is obviously absolutely off-topic in this thread... Anyhow, you're totally confusing me... what isn't bad per se but what's the magic with the precedure you described? And why is @swiftbones74 supposed to have the wrong module, which only depends on ROM (API level) and cpu architecture - and yes, Samsung or not etc..
[Galaxy S 5 Android Development (Snapdragon)] clx_:
https://xdaforums.com/xposed/unofficial-systemless-xposed-t3388268

Install this.
[Galaxy S 5 Android Development (Snapdragon)] DienoX:
I noticed a very interesting error. You can not set the 5 GHz frequency in the Wi-Fi hotspot settings. But if we use Wi-Fi Direct then S5+ will create a Wi-Fi Hotspot with 5 GHz. Will anyone explain to me why this is so? Because it does not make sense to me.
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
My Team2 hotspot is 5Ghz, always have been.
[Galaxy S 5 Android Development (Snapdragon)] DienoX:
Check this setting. In practice, change does not cause anything. You always have 2.4ghz set. This change is fiction. Wi-Fi Direct works on 2.4 or 5 GHz. And it really is. You can test it with a different device.
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
DienoX you are right.

Though the setting is 5Ghz, when connecting with other device and check the frequency its bound to Team2, it says 2,4Ghz. So the 5Ghz setting IS fiction like you already stated.

Strange! But very sharp noticed DienoX. Well observed, well done.
[Galaxy S 5 Android Development (Snapdragon)] Oswald Boelcke:
Oh, I also know this Xposed module pretty well as it's running on one of our four devices. And at least I read the OP, too. Allow me to quote from it:

I suggest that you share with topjohnwu how you made the module to pass SafetyNet. I'm convinced a lot of observers in the Xposed and Magsik forums are interested in your solution.
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
[MENTION=5093405]mxzz[/MENTION]55 :

I totally agree with everything you write about Corinna [MENTION=3419717]cvxda[/MENTION] and her works for our beloved G901F, I could not say it in any better words, and I'm touched by the way you posted the long_deserved things you say.

:good: :svetius:

My g901F shattered also 2weeks ago falling out my pocket while riding my bike. Totally damaged....

So I went to an E_bay_like website and bought an used G901F and installed our beloved ROM 15.1here again. I could not do without it, and I'm happy to continue using this Lineage-special from Corinna cvxda.

Like you stated already I highly respect her devotion to this device and Lineage OS too.