yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 Android Development (Snapdragon)] bhabba:
Heimdall 1.4.2 required

I ran into the same issue and honestly it took me quite a while (first I unsuccesfully tried creating several udev rules) to figure out that a more recent version of Heimdall (1.4.2 to be precise) is needed for the Galaxy S5 Plus to work (at least when running a recent android 6 based stock firmware like CPE1).

Not directly a "failure", the official repositories just contain an old version of Heimdall (1.4.1 from 2015). Actually this is the same what the official heimdall download page offers.

[MENTION=3419717]cvxda[/MENTION] To spare future users the trouble of finding out why Heimdall (1.4.1) isn't just working, would you be willing to update the section How do I flash these images on Linux/MacOS/Windows with Heimdall? of post#2 to include some hint that one might have to compile the latest version of Heimdall from source? Right now the instructions link to the official Heimdall page which is pretty misleading. Instructions on how to build Heimdall from source can be found in the official Heimdall GitHub wiki pages here and here respectively. Thanks :)
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Done, please have a look. I wonder why Benjamin didn't release 1.4.2 yet, the download links for Windows even point to a 1.4.0 version...

Corinna

Corinna
[Galaxy S 5 Android Development (Snapdragon)] bhabba:
Looks good to me, thanks! :good:

Regarding quite another issue, the non-working device encryption: I've been following a thread on the Fairphone forum about porting the FP2 to LineageOS for quite a while now and they had to fix device encryption as well. Now I guess there can be various reasons for non-working device encryption, so me referring to the following information is pretty much a shot in the dark:

The commit that actually fixed the encryption for the FP2 can be found here. It adds just one single line of code but also comprises a perhaps useful commit message.

Or maybe the non-working encryption could be due to missing free space at the end of the userdata partition? There's this post on another Fairphone thread which explains it in more detail (and seems to be based on information from this XDA thread).

I thought I'd share the information above in the hope that it might help, so just ignore it if it isn't of any use ;)
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Quite frankly, disk encryption is nothing I really care about, so that may be the major issue that it doesn't work yet. If any developer wants to take a stab at it, feel free and make sure to send patches to https://review.lineageos.org/. You may be surprised, but it's not actually fun to be the only one working on a device. It's much more fun to work in a group so every developer tackles another problem or even just looks from another angle on a problem.

Well, it's something to try at least.

Edit: Actually, no. "setprop vold.post_fs_data_done 1" is already called on post-fs-data.

Thanks,

Corinna
[Galaxy S 5 Android Development (Snapdragon)] mdimarucot:
Hi developer, I've been using this rom as my daily driver and I'm just wondering if it is possible to add option for the key lights to turn on only when touched? It's quite annoying especially when the is used at night.
[Galaxy S 5 Android Development (Snapdragon)] bhabba:
Google Instant Apps not working

I can absolutely understand that. For most people "social coding" is way more fun and motivating than "autistic/isolated coding". Unfortunately I can't help in actual coding, I've neither wrote a single line of Android code so far, nor would my Java skills suffice I guess, I'm sorry.

But what I can do is provide another bug report regarding Google Instant Apps: :p

In the settings under Google there's an entry Instant Apps (under the category Services). If I tap on it, it asks me to restore Instant Apps. But when I actually choose to restore it, the screen saying it would be setting it up (downloading) is shown forever and nothing happens. See the attached screenshots (they're in German). I seem to be able to abort the process by simply tapping somewhere else in the screen or pressing back and if I afterwards tap on Instant Apps again, it asks me to restore it all over again.

I don't know if this is a general problem with LineageOS/custom ROMs or specific to this ROM/our device. But I think it would make sense to include a line about it under Known problems in the first post (BTW there's an "n" missing in the title ;)).
[Galaxy S 5 Android Development (Snapdragon)] bhabba:
Well, there already is an option for it I think. In the settings under Buttons the upper-most entry Backlight. There you can choose to completely disable it or alternatively set a timeout. Now what you want is strictly speaking not available because you can't set the timeout to 0 seconds. But setting it to 1 second would come pretty close I guess.
[Galaxy S 5 Android Development (Snapdragon)] DienoX:
1. HDMI via MHL works on this system?

1. HDMI via Chromecast works on this system?
[Galaxy S 5 Android Development (Snapdragon)] YunusalievFarhod:
Guys, where twrp or cwm for G906S?
[Galaxy S 5 Android Development (Snapdragon)] bud7dha:
The link for the latest TWRP is on the first page: https://dl.twrp.me/lentislte/twrp-3.1.1-1-lentislte.img.tar.html

Flash through Odin.
[Galaxy S 5 Android Development (Snapdragon)] ruchern:
https://autoroot.chainfire.eu/

Find the model from here, and flash it via Odin.

After which, install TWRP from OP and you are good to go with flashing this ROM.
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Ok, guys, you convinced me. I wonder if I'm suffering from an effect introduced by dirty flashing over RR 5.7.4, perhaps. Neither deleting all Clock data, nor trying to restore Clock data from a backup changes the problem. Clock crashes on my on all three test boards I have, kccat6, klte, and manta.

Sigh. I guess I have to try a clean flash once in a while...

Corinna
[Galaxy S 5 Android Development (Snapdragon)] ruchern:
Maybe try cleaning the clock provider system app?
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Heimdall comes with its own GUI. Look for the heimdall-frontend packages on the Heimdall Linux download page.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Interesting thought. But how would I do that?

Thanks,

Corinna
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Thanks, I could reproduce it now. Doesn't mean I know what the problem is, unfortunately. Well, something else to look into at one point.

This is, in fact, the most puzzeling part :confused:

Thanks,

Corinna
[Galaxy S 5 Android Development (Snapdragon)] Stamgastje:
I assume he means cleaning all data & cache for the app (Settings > Apps > Clock > Storage > Clear Data).

That's also what I would try first... but it looks like you already tried that, right?

---------- Post added at 01:40 PM ---------- Previous post was at 01:37 PM ----------

I would strongly recommend against doing it that way, unless you really need SuperSU...

LinOS has a built-in option for enabling root access (for Apps, ADB debug, or both), just go to the 'developer options' in the settings to enable it.

This is the most reliable way. Flashing SuperSU may cause unexpected problems.
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Yes, I did, but "clock provider system app", sounds like something different.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] ruchern:
Oh, they do not have it unlike the Phone one which dependant on others like com.android.server.telecom

---------- Post added at 12:20 AM ---------- Previous post was at 12:16 AM ----------

I do not understand one thing.

Why do I have to activate Airplane mode in order for my LiveDisplay to switch to Night mode. The settings were set to auto anyway.

---------- Post added at 12:20 AM ---------- Previous post was at 12:20 AM ----------

I cannot remember but can the default recovery actually flash zip files? The interface looks really lack of features.
[Galaxy S 5 Android Development (Snapdragon)] Stamgastje:
Sorry, I was confused. I thought you referred to SuperSU, but you were not. So forget about my comment. :)
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
I'm confused now, too. [MENTION=2763012]ruchern[/MENTION], asked for root, you pointed out a link to SuperSU, which makes sense in terms of rooting, even if there already is a builtin su. But... what has that to do with recovery? For installing a recovery like TWRP rooting the phone isn't required... :confused:
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Amazing but true: A clean flash actually helped, the Clock app is now working as expected. I had a bit of a problem to show Titanium Backup its own directory on the SD card, but with a bit of persistence that now works, too.

Thanks,

Corinna
[Galaxy S 5 Android Development (Snapdragon)] ruchern:
The Auto-CF comes with a better recovery with more options. I suggested that because the old recovery might potentially cause script problem while flashing the ROM directly.
[Galaxy S 5 Android Development (Snapdragon)] Stamgastje:
Weird... but good to hear that the problem is gone now.

Let me first try to clarify something that is, apparently, not clear to everyone:

rooting has nothing to do with recovery. It is about giving root access to apps, allowing them to access resources on the phone that are normally not accessible by an app. A good example is giving a file explorer access to the /system partition.

recovery is a piece of software running outside of Android (that's also why you need to reboot into recovery). The phone (i.e. Android) does not have to be rooted to allow you to replace the recovery partition.

I know it's sometimes easy to automate things... but I still prefer the following, even for starters:

To flash a recovery, use Odin. This should also be doable for beginners; a step-by-step description is given in the topic start and the post following it. There is also a link to a nice tutorial with an even more detailed explanation.

To give Android apps root access, I strongly recommend to use the 'root access' feature that is built into LinOS / RR (under Settings > Developer options > Root access) and avoid SuperSU if possible. I've been using SuperSU in the past, when CM did not yet have this built-in (before CM12 if I recall correctly); but I've also seen too many problems with newer ROMs that are linked to the use of SuperSU. So avoid it if possible.
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Captain Obvious said: Alternatively use heimdall if you're on Linux or MacOS. It's not at all complicated, see, for instance, this blog entry.

Even if that's surprising to some, not everybody is using Windows on the desktop these days.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] Stamgastje:
Fully agree... I use a mix of platforms myself. :)
[Galaxy S 5 Android Development (Snapdragon)] Elevennails:
Compile errors 14.1 for Kccat6xx - FAILED: /bin/bash -c

Hey cygwin nice job with the builds. I've been using CM12 from sktjdgns1189 for the last 12 Months and it's been reasonably stable. I'm keen to move to 14.1 and have been keeping a close eye on your progress.

I'm trying to compile your stack as i wanted to add support for Realtek 8187 and 8187B (initially, and if that doesn't work i wanted to compile the vendor drivers for RTL8188C_8192C). I'm having some issues with, a brunch make, which seems to fail on kernel modules. However, I can successfully compile the kernel using "make -j16 ARCH=arm" from the /kernel/samsung/kccat6 directory (out side of the roms brunch build)

For the bunch make I've used the following exports.

i've also tried

and

I'm using

with a

containing.....

during the brunch compile my problems start around here.

I've had 2 days of fun with this and it starting to make my head hurt I really need to get some sleep now ::D :eek: From what I've found from my mate google, people seem to be implying it's a problem with gcc5x but none of the fixes i've tried seem to help.

This is the first time I've tried compiling a ROM so apologies for being a noob, Just wondered if anyone else has seen this, and if you had how you got round it? My build VM is...

Cheers

Elevennails.
[Galaxy S 5 Android Development (Snapdragon)] Proioxis:
It's in the developer options menu!
[Galaxy S 5 Android Development (Snapdragon)] juriov:
NEE CPLA modem & bootloader

https://www.dropbox.com/sh/iknj064uxiaeddd/AADKD3r-tdV6QFZ8zWniS3dza?dl=0

CP_G901FXXU1CPJ1_REV00_CL_2133768.tar.md5

BL_G901FXXS1CPLA_CL9709634_QB11848018_REV00_user_low_ship_MULTI_CERT.tar.md5

CP the same CPJ1, but BL is newer
[Galaxy S 5 Android Development (Snapdragon)] Stamgastje:
Thanks, I just flashed the bootloader and it seems to work fine.
[Galaxy S 5 Android Development (Snapdragon)] bhabba:
Just tried, doesn't seem so, my TV doesn't get any signal over the MHL adapter...
[Galaxy S 5 Android Development (Snapdragon)] k2828:
[MENTION=3419717]cvxda[/MENTION]

do you need a logfile for the restart instead of power down issue? i have this at least once a day.

also my s5 does a weird sound from time to time when put on the table. my s4 does the same:

http://www76.zippyshare.com/v/xDAQfekL/file.html

do you now if that a feature? xD
[Galaxy S 5 Android Development (Snapdragon)] YunusalievFarhod:
Thanks! This for MM or LP?
[Galaxy S 5 Android Development (Snapdragon)] ali.akbar01:
Doesn't matter
[Galaxy S 5 Android Development (Snapdragon)] Recycool:
+1, would be nice to be able to set that, I don't like neither the buttons to be always on, mostly because I have the white version and looks so "brighty", apart I'm always worrying about battery life, Actually on LOS rom I turned them off at all, but I'd like the detail of turning on only when pressing them.

Apart I just (clean) installed last version to the date (19-07-2017) and Bluetooth is not turning on. ---updated to 26-07-2017 and it's working again.

Also good news for Magisk users, it is working again! Thank you [MENTION=3419717]cvxda[/MENTION] :D

Update: did a clean installation of last version and magisk not working again, weird..
[Galaxy S 5 Android Development (Snapdragon)] DienoX:
Hi [MENTION=3419717]cvxda[/MENTION]

I found a bug in TWRP who resets the phone

[How reproduce bug]

1. In TWRP select "Backup"

2. Go to "OPTIONS" bookmark

3. Mark "Enable compression"

4. "Swipe to Backup"

5. Wait a few minutes

6. Your phone will reset because CPU tmp go to 98 °C.

Could you add throttling?
[Galaxy S 5 Android Development (Snapdragon)] phamanhvu01:
98°C? Mother of Haruhi.

Also yes the recovery doesn't have any sort of throttling as of now, so put your phone in a freezer if need to. Works for me :>
[Galaxy S 5 Android Development (Snapdragon)] ali.akbar01:
Does Odin v3.12.7 support USB 3.0 connectivity?
[Galaxy S 5 Android Development (Snapdragon)] HackerGK:
Hi there,

i am new to this thread. is this ROM stable for normal use? i am planing to update my s5 S900F with this....

thanks
[Galaxy S 5 Android Development (Snapdragon)] Recycool:
This is not for "S900F", this thread is for "G901F", flashing this could and probably will brick your device.
[Galaxy S 5 Android Development (Snapdragon)] HackerGK:
Oh.. is there a thread for 900F?
[Galaxy S 5 Android Development (Snapdragon)] Recycool:
Sure, https://www.google.ro/amp/s/xdaforu...nogenmod-14-0-galaxy-s5-android-t3476433/amp/
[Galaxy S 5 Android Development (Snapdragon)] bhabba:
overheating issue

JFYI: I've ran into the same issue and already reported it in the TWRP thread of our device.

---------- Post added at 19:04 ---------- Previous post was at 18:19 ----------

Another question: Does anyone know if the ROM (or the FlipFlap app respectively) supports the (original) S-View cover? Is there a correct cut-out of the screen displayed at the position of the S-View window when the cover is closed?
[Galaxy S 5 Android Development (Snapdragon)] Jet45:
Hi, is there some new about this problem or not ?

A thread has been created in magisk section but nothing comes from it.
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
The option is there for months. Settings -> Buttons -> Backlight

Corinna
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
I pushed a change for TWRP throttling (actually: switching to conservative governor) to the TWRP repos about two weeks ago, I just didn't manage to kick the TWRP guys hard enough to rebuild TWRP yet...

Corinna
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Yes.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Not from me. As I wrote before, I'm working on enough stuff as is. I will not engage in Magisk debugging myself.

If Magisk doesn't work and you want to change this, make sure to engage the Magisk devs and help them with logs and debugging. If there's anything to tweak in the kernel or device tree to make this work, keep me informed.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] Recycool:
Yes but, they turn on when touching the screen, we are saying about them turning on only when we touch the buttons, like the official Samsung TouchWiz ROM
[Galaxy S 5 Android Development (Snapdragon)] bhabba:
S-View cover support by FlipFlap

Thanks for answering! I've checked out my new S-View cover today and wake/sleep as well as displaying the appropriate cut-out at the position of the cover window works as expected. But I'm not able to use the touchscreen through the cover window, i.e. I can't accept/deny calls when the cover is closed. Do you know if this is a general flaw of the FlipFlap app or a just an issue with our device?
[Galaxy S 5 Android Development (Snapdragon)] scarletwahoo:
Has anyone tested xposed SDK25 or 24 with this ROM? I may try when I get home tonight and have time to make a backup of my system.
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
TWRP 3.1.1-2 for kccat and lentislte is now officially available on the TWRP pages.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Ah, that. Actually that wasn't possible until about three weeks ago. This patch added a way to build the ROM with backlights only on button touch.

However, with this patch, the buttons don't light up when you wake up the device, contrary to stock. I can add this, but does everybody want this?

Corinna
[Galaxy S 5 Android Development (Snapdragon)] Recycool:
Can't it be added as a option? Like default stay like it is now and on the settings page of buttons have the option to set it like this, or if not just like an add-on, something to flash apart... Or if you want, you can add a poll, even I don't really know if most people will be okay with it, I'm because it's weird for me just because I have the white version and it looks too brighty.

---------- Post added at 07:42 PM ---------- Previous post was at 07:39 PM ----------

I tested one of those "fan-made" versions for nougat and they re working, not very stable tbh, after flash phone started to reboot randomly, not too often, but you know, like twice a day.
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
I added a poll running for a week. Please vote if you care.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] bhabba:
Exit download mode

Small question out of curiosity: Is it possible to exit from download mode without removing the battery (or issue a reboot command from Heimdall/Odin)? Pressing the power button for several seconds or a combination of buttons doesn't seem to do anything in my case...:confused:
[Galaxy S 5 Android Development (Snapdragon)] ali.akbar01:
Can i flash Magisk instead addon-su for gaining root access? I need systemless root.
[Galaxy S 5 Android Development (Snapdragon)] kotobodj:
Hold Power + volume down
[Galaxy S 5 Android Development (Snapdragon)] Recycool:
You can't flash magisk 13, but you can flash magisk 12. Flashing magisk 13 will get you into bootloop.
[Galaxy S 5 Android Development (Snapdragon)] cevati:
Hey guys, I'm having big trouble at configuring the APN to get my data working. I live in France and my provider is Orange. I tried many different settings but nothing is working. Can someone help me about that ?

Thanks !
[Galaxy S 5 Android Development (Snapdragon)] bhabba:
S-View cover support by FlipFlap

In the meantime I've found out that the sensitivity of the touchscreen was just set too low. After enabling Settings -> Display -> High touch sensitivity the touchscreen is usable through the cover window. The downside of having high touch sensitivity always enabled is that there are a lot of button presses registered which I didn't intend to do (especially when in a hurry).

[MENTION=3419717]cvxda[/MENTION] Would it be possible to always increase the touchscreen sensitivity when a flip cover is closed, regardless of the high sensitivity setting (which is originally meant for using the phone with gloves)? That would be perfect. I could imagine that this affects all devices supporting S-View-like covers.
[Galaxy S 5 Android Development (Snapdragon)] phamanhvu01:
Try deleting all of your existing and plox backup APN setting, then add your carrier's APN configuration for LTE. Then set the preferred network type to LTE. Works for me, with LTE running normally like it should.

Also [MENTION=3419717]cvxda[/MENTION] have you managed to get LTE working on your phone yet? Just asking though. Guess stock ROMs is the best way to verify whether LTE works or not. Least for me ¯\_(ツ)_/¯
[Galaxy S 5 Android Development (Snapdragon)] HeadFox:
Hi guys !

Clean install of the ROM with opengapps and heavy battery drain !!! And the phone is also very hot ! Any idea ?
[Galaxy S 5 Android Development (Snapdragon)] ali.akbar01:
I know it's appropriate thread for my problem but I can't find any other device related active thread.

My phone's running latest stock MM. I flashed TWRP via ODIN which got passed. However, when I tried to boot in recovery via key combination method, I ended up in stock recovery instead of TWRP recovery. Any solution for this problem?
[Galaxy S 5 Android Development (Snapdragon)] bhabba:
Did you boot into the stock ROM after flashing TWRP/before trying to boot into TWRP? As the installation instructions say:

Be sure to reboot into recovery immediately after having installed the custom recovery. Otherwise the custom recovery will be overwritten and the device will reboot (appearing as though your custom recovery failed to install).​
[Galaxy S 5 Android Development (Snapdragon)] ali.akbar01:
How to immediately reboot to custom recovery after flashing? Phone automatically reboots to stock rom after flashing via Odin.
[Galaxy S 5 Android Development (Snapdragon)] ovidiuionut:
Uncheck "Auto Reboot" option in ODIN before flashing TWRP and manually reboot your phone after the process is done.

That's how I did it.
[Galaxy S 5 Android Development (Snapdragon)] Jet45:
I was just wondering that you had some informartions from backstage. It doesn't seem to be the case. A thread is open in magisk section (I linked it earlier) and it seem that magisk team doesn't response on it. On that thread, a walkthrough from Recycool may work but anything is confirmed and I've to try some things before saying anything.
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
That's possible, apparently, but this isn't device-specific. Somebody with Java knowledge has to take a stab at it:

https://github.com/LineageOS/android_packages_apps_FlipFlap

Corinna
[Galaxy S 5 Android Development (Snapdragon)] ali.akbar01:
Should i take out the battery after flashing or directly reboot to recovery from download mode via key combination?
[Galaxy S 5 Android Development (Snapdragon)] bhabba:
Ok, I see. If I want to place that as a feature request, where would I do so? In JIRA? If yes, under which project? BUGBASH? Sorry for asking potentially annoying questions, but I'm quite unfamiliar with the LOS development process... :eek:

---------- Post added at 15:33 ---------- Previous post was at 15:22 ----------

As far as I know you can't directly boot into recovery from download mode (at least not with a key combo). Powering off the device (either by removing the battery or just holding Vol Down & Power for several seconds) and then holding Volume Up, Home & Power to directly boot into recovery seems the way to go ;)