yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 Android Development (Snapdragon)] tentator:
Great man! That worked indeed!

So root cause for external SD access issues from Gallery/Camera/Music etc was caused by supersu! Using the normal Lineage addonsu (14.1) works great!

And also I think there is no added benefit to have another su manager because I saw it can manage the apps that request su rights and optionally remember it, so great! Thanks!

Currently the only issue I'm seeing after restoring gmail is that it keeps outgoing mails in limbo without really sending them.. I flashed also latest opengapps and then restored with titanium the gmail app+data I had before flashing..

By the way, how do you guys restore the settings (if possible) after upgrading with factory reset? I use Titanium backup and manually restore the apps I need but restoring settings does not really seem to work for some strange reason.. I mean I'm unable to restore all the settings + configurations under Personalization and it takes lots of time everytime to redo by hand.. also restoring icon placements on the desktop is kind of cumbersome.. am I missing some obvious setting in titanium to do that? I'm not using google cloud backup functionality.

Thanks in advance.
[Galaxy S 5 Android Development (Snapdragon)] sunirmalya:
love this rom - thanks corrina and everyone

sensational rom - thank you thank you thank you.. I have noticed better battery life with this latest release - is that possible?
[Galaxy S 5 Android Development (Snapdragon)] Usernameaffair:
I found a another bug / extended from the other bug report I made months ago. So each time music is playing whether from phone speakers or headphones/buds, when taking a call, the call will go dark i.e (you cannot hear you nor can you hear the person). I found it to be the "DND" mode, each time "Alarm Only" seems to be on. The only way to fix this is to restart the phone it seems.

Using the latest version.
[Galaxy S 5 Android Development (Snapdragon)] Usernameaffair:
Wait, the ROM isn't rooted anymore??? Or is it by needing to use administrative type tools to accomplish tasks?

Anyone know how to disable the weather info on the home screen? Looks like this: everything is disabled,

not sure why this still shows up.
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
FYI, the current beta version of Magisk, v14.5(1456), is working again on kccat6. Didn't test on lentislte, but there's not much reason to believe it won't work.

This is really great news, so I immediately donated to topjohnwu.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] guismo:
An update on the SD issue. I solved my problem.

I reflashed the rom from scratch, but this time I didn't install GAPPS and, as mentioned here, only the official lineage su solution. I'm not sure if I installed super su before but I might have, since I was confused because I didn't see any su app.

So I'm not sure if it's because I reinstalled from scratch, including flashing the stock ROM before that (I had issue with wifi on this ROM before that was solved by doing this), if it's because I didn't install super su or because I didn't install GAPPS. I've been wanting to remove play store from my life for a long time and, besides the privacy and control bonus, the battery life is now MUCH MUCH better (it has always been bad). So, despite losing a few apps that requrie the play store to work, I'm very happy with the install right now and I don't want to try to figure out because it might brake it.

But for people still having issues the 2 next options to try I would suggest to reflash without super su and without GAPPS to see if it works.

EDIT- Yeah, from what I saw above I guess super su should really be the reason.

But, anyway. I'm happy without GAPPS so I'll keep it this way for now.
[Galaxy S 5 Android Development (Snapdragon)] Usernameaffair:
Is this bug on the radar? Is there a fix coming for it? It's very annoying, I once had it where I had to restart my phone three times to fix it.
[Galaxy S 5 Android Development (Snapdragon)] sunirmalya:
camera occasionally reboots phone

I love this ROM but occasionally if i am taking lots of pics the phone reboots .. Anyone else having this issue?
[Galaxy S 5 Android Development (Snapdragon)] daniel_andrei1996:
Fingerprint issue

Hi! After the update some of the apps crash when I use the fingerprint reader after the latest update. Used to work fine before. For example, the rbs banking app works fine, but the nationwide one crashes everytime i swipe my finger. Anyone else run into this?
[Galaxy S 5 Android Development (Snapdragon)] Néocray:
I have been abroad for some weeks during which I had a very intensive use of my phone so an external battery was needed anyway. But after some time, I noticed a much quicker depletion of the internal battery, eventually leading to a battery drain even when plugged in to external battery or even to sector.

Since my return with a more relaxed use, I thought it would be easier to find the origin of the drain, but I'm not able to debug the thing.

The drain is ~30% on a night, and the battery won't make a day even on sparse use.

According to BBS, it goes into deep sleep only 50% of the time on a typical night and it shows a huge amount (90+ %) of wakelocks coming from PowerManagerService.Display and PowerManagerService.WakeLocks. It also keeps saying that Wifi is running, but it's switched off.

Any advice would be greatly appreciated!

It's not only when shooting a lot. Sometimes it just crashes at first shot.

It happens sometimes but not often, so it's not a big deal for me.
[Galaxy S 5 Android Development (Snapdragon)] tni.andro:
[MENTION=5888226]Néocray[/MENTION]:

You probably have some misbehaving app. Out of the box, there is no battery consumption issue with RR. You can use adb to look at the wakelocks being held (normally none):

$ adb shell dumpsys power
..
Wake Locks: size=2
PARTIAL_WAKE_LOCK 'wakeLockCPU' (uid=10075 pid=[B]3718[/B])
SCREEN_BRIGHT_WAKE_LOCK 'WindowManager' ON_AFTER_RELEASE (uid=1000 pid=877 ws=[B]WorkSource[/B]{10141})
...

$ adb shell ps -n | grep [B]3718[/B]
10075 3718 426 1727092 99896 SyS_epoll_ ad6ad054 S com.orux.oruxmaps

OruxMaps keeps the CPU wakelock, when it's logging tracks.

$ adb shell ps -n | grep [B]10141[/B]
10141 3316 426 1040060 70944 SyS_epoll_ ad6ad054 S com.vonglasow.michael.satstat

SatStat has a setting that the screen doesn't time out.

Each app is installed with a different UID. The WorkSource is the UID of the application asking the WindowManager to keep the screen on.

Another thing to look at, is 'adb shell dumpsys alarm'. It may show something interesting (some app that's waking up the phone a lot).

\\

EDIT: If you have a buggy 5GHz router in your neighborhood, you may be seeing this problem (Wifi doesn't sleep properly - although it should be off, if you really disabled it):

https://issuetracker.google.com/issues/37075397
[Galaxy S 5 Android Development (Snapdragon)] Néocray:
All right, thanks. I'll check it as soon as I go back home. For some reason, the commands are not working in the shell emulator.
[Galaxy S 5 Android Development (Snapdragon)] ale2077:
RR 7.x Nougat has battery drain problem yes! in several groups people complain about it.
[Galaxy S 5 Android Development (Snapdragon)] tni.andro:
Power consumption measurements

I've done some power consumption measurements. I replaced the internal battery with an external one and measured voltage and current (hooked up to the normal battery contacts).

My battery claims it has a capacity of 10'120mWh.

Deep sleep, without apps causing wakeups:

- Wifi / cell off: 18.9mW (0.187% battery drain / hour)

- Cell on (strong 2G signal): 27.9mW (0.276% battery drain / hour)

- Wifi on: 113.1mW (1.11% battery drain / hour)

- Cell + Wifi on: 126.6mW (1.25% battery drain / hour)

Home screen, idle, minimum brightness:

- Wifi / cell off: 301.5mW (2.98% battery drain / hour)

What I also noticed is that the setting 'Keep Wi-Fi on during sleep' doesn't work properly. Wifi stays on, regardless of the setting.
[Galaxy S 5 Android Development (Snapdragon)] tiritibambix:
I do

-------

Meanwhile, I'm back from a long period without following the evolution of the ROM.

I'd like to update to latest version, but as a complete noob, I'm confused on how to root AND being able to hide root to some apps...

Can someone advice me please ?
[Galaxy S 5 Android Development (Snapdragon)] GalaxyTroll:
Does anyone know how to use the "Sensor block per package" from the resurrection remix settings works in this rom? Does it work automatically or do you have to set it up?
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Resurrection Remix 5.8.5 20171216

Updated builds for kccat6 and lentislte to the latest Android patchlevel 2017-12-05.

Have fun,

Corinna
[Galaxy S 5 Android Development (Snapdragon)] friescho:
Hi Corinna, thanks again for your great work. Unfortunately is the link to the latest release Kccat6 from yesterday leading to the version from November. Only the lentislte works.

Frieder
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
It points only to the website. From there you can grab the December and the November version.

I just checked that it works as desired. Browser refresh?

Corinna
[Galaxy S 5 Android Development (Snapdragon)] friescho:
Works by now. Thanks a lot.

Frieder
[Galaxy S 5 Android Development (Snapdragon)] gainram:
Bugs found in the latest update for kccat6:

-fingerprint registered but doesn't work, when trying to unlock the device with fingerprint, the phone vibrates but doesn't unlock so i use my pattern to unlock the device. After that the back key doesn't work and the phone reboots and gets stuck in the rr logo, had to remove battery to successfully boot the device.

-i flashed pico gapps which doesn't include google app so when i press google search bar in homescreen nothing happens then the back key won't work and the phone once again would reboot and gets stuck in rr logo, had to remove battery to successfully boot the device.
[Galaxy S 5 Android Development (Snapdragon)] GalaxyTroll:
Can confirm there is something wrong with the fingerprint feature, when I try to add a new fingerprint my device crashes and reboots once.
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Using the very same release, I just added and removed up to 5 fingerprints multiple times successfully.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] tni.andro:
It works fine for me. You might want to try to make a full backup and make a factory reset with a clean installation (make sure you don't have TWRP 3.2.0 installed, it's buggy).

Holding 'volume down' + 'power' for a while is normally successful in forcing a reset, without removing the battery.
[Galaxy S 5 Android Development (Snapdragon)] GalaxyTroll:
I take back what I said about adding fingerprints, after a reboot I'm able to add a fingeprint again (no idea why it crashed before). But I'm still not able to actually use my fingerprint to unlock the device, I always get the "Couldn't process fingerprint" error.
[Galaxy S 5 Android Development (Snapdragon)] xMandy:
:confused: noob question:

Does it make sence to update modem and/or bootloader, since there is a new version available (G901FXXU1CQJ1_G901FDTM1CQJ1_G901FXXU1CQC1)?

As far as I know I can install (update) modem via odin without effecting anything else. Is this right?

How about bootloader? Can/should I update without having to do a complete new setup?

[edit:] phone info says build-fingerprint (build-description) is G901FXXS1CPLA... What does that mean with actuall bootloader is CQG2 and baseband is CQC1?

btw: last RR 20171216 works great, version before had issues...

thx for the great work!
[Galaxy S 5 Android Development (Snapdragon)] Néocray:
All right, I've used adb for some time, but the dumpsys power command always returns with 0 wakelocks.

The dumpsys alarm returns a huge amount of lines, but I think the most interesting is the "top alarms" section. However, I can't find a plausible culprit. Here is what I find after a quiet day (translates as "battery runs completely dry after 12 hours with just a handful of internet searches, no calls nor GPS") :

Whatsapp, Automate It and the national weather app seem to show up too much, but not enough to explain the drain.
[Galaxy S 5 Android Development (Snapdragon)] tni.andro:
[MENTION=5888226]Néocray[/MENTION]:

That number of wakeups/alarms is insanely high. Your phone is waking up every 3 seconds (with no battery-sucking apps, it's once every 30 minutes). Each time the phone wakes, a ton of stuff runs, using quite a bit of power.

It looks like Google services are malfunctioning (they are extremely buggy). If I had to guess, you have remote device location enabled and for some reason obtaining the location fails (maybe you have denied the location permission to Google services).

An 'adb logcat' may have some clues, to what's wrong. You may want to try to disable remote location and/or network location.
[Galaxy S 5 Android Development (Snapdragon)] GalaxyTroll:
The latest magisk update 14.6 (1468) still works on kccat with no bootloops
[Galaxy S 5 Android Development (Snapdragon)] CE20934:
[MENTION=3419717]cvxda[/MENTION]

Thanks for the OTA present!

(Added at edit)

Okay, so I'm thick; I didn't read the datestamp in the filename before posting. I'm not sure why my phone said there was a new OTA today instead of nine days ago, but at least it said something.)
[Galaxy S 5 Android Development (Snapdragon)] Néocray:
You guess right. The remote location is enabled as I use it quite often and it is annoying to switch it every time and wait for the GPS fix. It it helps, I have noticed that sometimes geolocation apps lose location for a couple minutes.

I've just lost a very good opportunity to investigate this bad behaviour. The phone was unplugged 20 minutes ago and the battery was already down to 82 % while idling (well, I used it for a very short time after unplugged).

But I dropped the phone onto the desktop (from around 10 cm), the fall has made it reboot, and since then, the battery drain has disappeared…

What should I look for in 'adb logcat' ?
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
Reading that makes me think the battery connections were/are dirty or made not full contact. So... does thinking that makes any sense ?
[Galaxy S 5 Android Development (Snapdragon)] FooYoungHi:
Maybe it's me, but I can't seem to find the option to turn on OTA anywhere. Can anyone help me out?

Edit: found it, apparently I'm blind :p
[Galaxy S 5 Android Development (Snapdragon)] XDxLMK!:
Hi,

I now tried several times to get the system encryption working with the new RR version(20171216-kccat6) on my G901F.

I tried it with twrp-3.2.1-0 as well as twrp-3.1.1-3 several times. In all cases I used a fresh/clean system as a starting point. Unfortunately, every attempt resulted in a boot loop after the first initial Android restart after System encryption was started.

Did anybody else tested encryption with the new RR version?
[Galaxy S 5 Android Development (Snapdragon)] thetester:
Yes, same here. Turning on Encryption results in bootloop - not the expected multible restarts.
[Galaxy S 5 Android Development (Snapdragon)] Néocray:
Well, actually no. Everything looks fine on this side. :/

I am quite busy since my last post and won't be able to investigate further before next week at best. But I have some news.

In the last days, the battery drain has become really insane, even with location deactivated. On one day, I even had to make 3 full charges, while barely using the phone.

As I had a little spare time, I made a full nand backup and a following full wipe/clean install. I've let it run for some hours with nothing but the fresh install (not even my Goodle ID). Surprisingly, the battery drain was as heavy as before.

So I made a full restore of the previous nand backup and performed a swap with a spare battery that I keep to hand. Still had no time to investigate further, but it is running almost a full day on the same charge.
[Galaxy S 5 Android Development (Snapdragon)] tiritibambix:
Finally had time to update to latest version.

Everything works great.

Thanks again [MENTION=3419717]cvxda[/MENTION] :)

EDIT: Oh, there's one thing I didn't manage to understand though.

Now that we have to use addonsu, how can I hide root to specific apps ?
[Galaxy S 5 Android Development (Snapdragon)] Néocray:
Magisk is working again since about a month…
[Galaxy S 5 Android Development (Snapdragon)] WannabeDeveloper187:
Can also confirm, encryption is not working.

It results in Unsuccessful Encryption Bootloop.

Tested it on freshly installed newest RR version, newest bootloader and TWRP 3.2.

Besides that, everything else works for me. Thank you for keeping this project alive Corinna!
[Galaxy S 5 Android Development (Snapdragon)] tiritibambix:
Damn, I missed that x)

Thanks much
[Galaxy S 5 Android Development (Snapdragon)] daniel_andrei1996:
Headphone bug

Bit of a funny bug I came across. I'm on the latest g901f version, no idea if the bug is present on the older ones.

I was listening to music via headphones on google play music and wanted to take a screenshot. Taking the screenshot caused my music to play through the phone speaker, despite headphones still being plugged in. Unplugging the headphones and plugging them back in fixed it.
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Resurrection Remix 5.8.5 20180124

Updated builds for kccat6 and lentislte.

Kernel updated to the latest Android patchlevel 2018-01-05, plus lots of patches, particulary in terms of the qcacld-2.0 WLAN driver.

As for the System, I'm not sure in what state it is. The System still claims the security patch level 2017-12-05. I hope the RR devs still push missing January ASB patches at one point.

Have fun,

Corinna
[Galaxy S 5 Android Development (Snapdragon)] mrgreywater:
Has the encryption regression been fixed? I would hate to break the system again by updating :/

Thanks for all your work!
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Yes, the culprit was an upstream crypto patch the encryption choked on:

https://review.lineageos.org/198224

https://review.lineageos.org/201767

Corinna
[Galaxy S 5 Android Development (Snapdragon)] TomTrom2.0:
Can someone tell me if I need to clear cache, data or dalvik/art cache after each update?
[Galaxy S 5 Android Development (Snapdragon)] sunirmalya:
no you dont but i have to say this latest 24 Jan release is very bad on my battery.. Went back to 16 Dec.. Usually overnight i turn on flight mode and lose 3-5% battery by next morning. The 24 Jan release i lost 55% by morning
[Galaxy S 5 Android Development (Snapdragon)] xMandy:
...same here. Battery doesn't suffice a day with modest use. Back to 20171216.

But still - great work!
[Galaxy S 5 Android Development (Snapdragon)] TomTrom2.0:
I find that it doesn't pick up/connect to wireless networks immediately, compared to the previous version.
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Resurrection Remic 5.8.5 20180129

Eating my own dogfood I noticed this as well.

I uploaded a new release 20180129 for kccat6 and lentislte. After a lot of hours testing I'm reasonably sure that both problems should be fixed. I'm keeping up the 20180124 release for a couple of days, just in case...

Corinna
[Galaxy S 5 Android Development (Snapdragon)] xMandy:
[MENTION=633777]Corinna[/MENTION] Will we get the 20180129 as well? Can't find the link...:confused:
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
I forgot to push the website change, duh! Fixed now, sorry.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] FooYoungHi:
I'm wondering if other people have this issue with pretty much all the updates;

When I update my device, many apps stop working and need to be reinstalled. (I get the message that the app keeps stopping) The apps are always the same; youtube, keep, sygic, avast, whatsapp and Home to name a few. Is there a way to stop this from happening?
[Galaxy S 5 Android Development (Snapdragon)] sunirmalya:
thanks Corinna - the latest release seems to have fixed the battery issue.. Thanks for everything - you are doing a great job
[Galaxy S 5 Android Development (Snapdragon)] foxi007:
netguard and no internet

Hi

here is a problem with the netguard app. you can see here https://xdaforums.com/android/apps-games/app-netguard-root-firewall-t3233012

It's a fine android firewall and uses the vpn. as soon as netguard is activated no internet is possible also with the fresh standard settings where everything is permissible.

I use kccat6: and what I did.

With a fresh clean installation of leanage os 14.1 (last build) netguard works correctly and I can filter the net.

In a fresh clean installation of RR (from 24.1.18 and the last build 29.1.18) with netguard no internet works

The FAQ of netguard no internet possible do not help me .....

I have no idea if the problem is with RR or Netguard

Can anyone here confirm the problem or help me

thanks and best regards from foxi
[Galaxy S 5 Android Development (Snapdragon)] thubi:
Latest build still seems to have issues regarding high Battery drain. But I observered the same issue with my previous Installation of LOS 24-Jan build... maybe a general topic on Linage OS?

https://xdaforums.com/showpost.php?p=75428912&postcount=1323
[Galaxy S 5 Android Development (Snapdragon)] xMandy:
same here.

RR-20180129 is much better then RR-20180124 but worse then 20171216 in power consumption.

Hopefully your test builds of LOS will clear out the problem of battery drain.

just tested with "ampere": with high power charger it don't use more then 600mA - normally it goes higher. Part of the issue, too?
[Galaxy S 5 Android Development (Snapdragon)] friescho:
battery drain

unfortunately the problem with the battery drain seems not to be solved. nevertheless thanks again for the hard work. Frieder
[Galaxy S 5 Android Development (Snapdragon)] tiritibambix:
I have to say that battery life is not what it once was.

Nevertheless, I'm confident that this issue will be fixed soon :)
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
I'm running four devices with the kernel from test build

https://cygwin.de/lineageos/kccat6/lineage-14.1-20180204_090312-UNOFFICIAL-kccat6.zip

for two days now. One of them under Resurrection Remix. The battery consumptions in sleep mode are 0,4%, 0,4%, 0,5% (kccat6) and 0,8% (lentislte).

So far none of the devices suffered a power excursion. Of course I'm glad they didn't, but I was hoping to see something in the logs. Well, further testing required I guess.

In the meantime you might like to try these RR builds:

https://cygwin.de/rr/kccat6/RR-N-v5.8.5-20180204-kccat6-Unofficial.zip

https://cygwin.de/rr/lentislte/RR-N-v5.8.5-20180206-lentislte-Unofficial.zip

They use the same kernel as my test devices.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] foxi007:
so, i am in testmode, then it will try my S5kccat6 too:D
[Galaxy S 5 Android Development (Snapdragon)] birdisabird:
Hi,

this is just an observation: Whenever I was using gps only for a short time, battery started draining quicker until I rebooted, I turned off gps completely for about 48 hours now, and there was no quicker draining anymore.
[Galaxy S 5 Android Development (Snapdragon)] Brunaldo77:
My Pie Control is broken any have the same problem? If I check it I have system UI blocked.
[Galaxy S 5 Android Development (Snapdragon)] sunirmalya:
i tried 20180206-lentislte - thanks and it seems better maybe i am dreaming - but it seems to charge quicker and hold longer
[Galaxy S 5 Android Development (Snapdragon)] sunirmalya:
it's the best build of all of them so far for battery life
[Galaxy S 5 Android Development (Snapdragon)] friescho:
battery drain

good morning to all.

unfortunately the battery drain is massive with the version from 2018.02.04. over night during the hibernation it went down from 94 % to zero within 13 hours.
[Galaxy S 5 Android Development (Snapdragon)] sunirmalya:
i am on the lentislte and it is fantastic - overnight loss maybe 1-2% and recharge much quicker