yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] derAndroidler:
14.1 backups

... I reflashed Stock ROM, because I removed the battery while the bootanimation. After PASS I put the USB cable from laptop to power supply, now still boot animation. Takes very very much time to boot ...

I hope everything (except Knox counter) is reset then...

Then I will flash TWRP from haggertk and then restore CM 13.0 and flash new CM 13.0 unofficial from haggertk.

I really hope, that there will be a solution for the TWRP backup & restore problem with 14.1 soon :eek:
[Samsung Galaxy S 5 Unified Development] add144:
I think someone was pulling your leg...
[Samsung Galaxy S 5 Unified Development] ScratMan38:
Did you enter stock recovery and made a factory reset after flashing with Odin ? if not, TW will find CM/LAOS data and settings, trying to load them, and failing to boot.
[Samsung Galaxy S 5 Unified Development] phalkon30:
Well, if the battery is distorted..... It is on the way out (see Samsung Note 7)

But a battery can be failing without physical deformation.

Sent from my SM-G900R4 (klteusc) running CM14 12.18.16
[Samsung Galaxy S 5 Unified Development] jdrch:
I'm having an issue in which LineageOS is failing to remove Firefox Nightly for Android accounts from the Android system accounts.db when the app is uninstalled* (even though it appears to be gone from Settings -> Accounts).

1) I'm not sure whether this is a LOS bug or an Android one?

2) Does anyone know of any utility that allows manual management/editing of accounts.db outside of the native Settings app?

*I know this is the case via private email discussion of my logcat with Firefox devs

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

Swollen batteries are also fire hazards. #TheMoreYouKnow
[Samsung Galaxy S 5 Unified Development] add144:
Well of course, but catastrophic battery failures are no where near prevalent enough to be a first stop in diagnosing a flickering screen (which is the least of your concerns if the battery is that swollen).

Regardless I was actually referring to the fact the guy had no screen issues on stock but flickering on CM, but it wasn't a software issue...somehow ¯\_(ツ)_/¯
[Samsung Galaxy S 5 Unified Development] Rocthrower:
This always happens to me. I usually pull the battery to shut it down, boot into the stock recovery, factory reset and wipe cache then reboot. It will still take some time (less than 15 minutes I'd say), but eventually you will get to the setup screens. There's probably a better method than this, but it's always worked for me.
[Samsung Galaxy S 5 Unified Development] derAndroidler:
Mm, I have the screen flickering with stock ROM, too.

It only happens when brightness setting is set to very low values and most of the time only 30% of the display is flickering at the bottom of the display. With white backgrounds it is strongest.

Sometimes flickering green at lock screen. Often read about this problem. But don't know why this happens. Some people wrote, that it's an AMOLED display problem with low brightness settings and many people with older screens will get that. I don't know.
[Samsung Galaxy S 5 Unified Development] 10goto10:
Also don't forget that with our phone, bootloader doesn't get flashed unless you flash it with ODIN after removing then reinserting the battery for 30s first. That might be what causing it to fail to boot, because the bootloader+modem wasn't updated properly.
[Samsung Galaxy S 5 Unified Development] derAndroidler:
I only have to remove the battery the first time I updated bootloader and modem. After that I can flash it only one time and it's updated.
[Samsung Galaxy S 5 Unified Development] raylogic:
Ok so for those whom have followed my posts concerning problems with blacks on videos and photos (SM-900F CM14.1) my 2nd phone arrived from ebay tonight and I've spent the last 4hrs trying to flash a custom rom without success (crikey must be losing brain cells by the second...!)

It's got stock 5.0 lollipop on it, I've successfully got root but it fails to flash zip keeps giving me an error 7 before it flashes it. Man sucks asking, can somebody point me in the right direction, tired and fed up so reaching out here!

R.
[Samsung Galaxy S 5 Unified Development] degener8:
Assuming you're using twrp. Error 7 means the rom doesnt match what twrp believes the phone is (that is determined by which phone model twrp you installed; faced that when flahsing an S4 for a friend ; ATT vs CAN).

Try using the right rom (flashing the right TWRP) and see if you get past that.
[Samsung Galaxy S 5 Unified Development] raylogic:
Thanks. you remind me of my dad, I'm looking for the answer, not how to find the answer.....
[Samsung Galaxy S 5 Unified Development] haggertk:
Actually error 7 means all kinds of things. The real error is probably just above the scary red text. It may be somewhat understated, but what's there?
[Samsung Galaxy S 5 Unified Development] finotti:
So, just to make sure: even your own built of TWRP (that you've posted above) cannot restore a previous nandroid?

Also, a bit off-topic: to be able to flash modem/bootloader only, all I need is to extract "modem.bin" and "boot.img" from the full firmware (done already), "tar" them and flash them with Odin (as usual)?
[Samsung Galaxy S 5 Unified Development] xarmx:
If you're talking about the no sim found issue after restoring cm14.1 from TWRP backup, haggertk already posted a fix for it. Though I am yet to try the workaround. In essence;

1) Restore your backup for the first time. Do not reboot yet.

2) Restore your backup one more time. Still do not reboot yet.

3) Use TWRP file manager, find and delete these directory;

i) /data/data/com.android.providers.telephony/databases/

ii) /data/data/com.android.providers.telephony/shared_prefs/

4) Now you may reboot your phone

Workaround found by haggertk. He even posted this in his faq (recently put)
[Samsung Galaxy S 5 Unified Development] haggertk:
Yeah, even with my own build, which is really just the latest TWRP tree plus our real device tree as opposed to a weird one, it doesn't restore settings properly. I just found that I had to clear data on cLock for it to update again. I really need to to see if things work better with the 7.1 TWRP tree...

Bootloader is aboot, not boot (boot is the kernel and ramdisk). Modem is the modem, but only the 2/3g side of the modem - lte is the non-hlos. I really prefer to flash the full firmware set myself, so I do all of these:

NON-HLOS.bin

aboot.mbn (don't do this one on VZW unless you hate yourself)

modem.bin

rpm.mbn

sbl1.mbn

sdi.mbn

tz.mbn
[Samsung Galaxy S 5 Unified Development] finotti:
Thanks for the info! So, do you tar all these together (in one .tar file) and then flash it in Odin? Which slot (of Odin: BL, CP, AP...)?
[Samsung Galaxy S 5 Unified Development] haggertk:
Yup, I put them all together and flash in AP/PDA just like if I were flashing a full stock tar.
[Samsung Galaxy S 5 Unified Development] raylogic:
Hi

Attached.

Note: Another possible part to the problem is that TWRP 3.0.2-2 is not accessible via Vol+ Home + Power, I have to flash it by odin (Auto reboot unticked and only then can I access it to go to install Zip/s.

Thanks for your help.

R.
[Samsung Galaxy S 5 Unified Development] 10goto10:
The error message seem to suggest factory resetting first, but I suggest you try using that TWRP to permanently install a custom recovery first. Download the previously-linked TWRP build (https://www.androidfilehost.com/?fid=745425885120698087), copy that to an external sd card or the phone internal memory, then flash the *.img file with the 'install image' button and choose recovery, not boot. If it's successful then you could boot this recovery normally with Vol-Up + Home + Power, and flash CM normally.
[Samsung Galaxy S 5 Unified Development] Fil in XDA:
Why tick boot and not recovery?
[Samsung Galaxy S 5 Unified Development] raylogic:
Thanks very much once again, that never worked.. HOWEVER (I really am I donkey) all I had to do was a full wipe of everything except external SD, flashed straight away after that ...

R.
[Samsung Galaxy S 5 Unified Development] 10goto10:
Screw me, haven't had coffee yet. Meant to _not_ select boot, not recovery. Sorry for any confusion that that might have caused anyone.
[Samsung Galaxy S 5 Unified Development] raylogic:
Yeah tried that twice each time got stuck on boot screen so had to go into download mode, flash TWRP (non reboot) then just wipe everything before flashing. :)
[Samsung Galaxy S 5 Unified Development] thaidroid:
I do remember now With ODIN and flashing whole ROM, If stuck in boot, reboot to recovery do Factory Wipe and reboot phone and it will boot up properly into setup. works on built in recovery or TWRP
[Samsung Galaxy S 5 Unified Development] gccrance:
ok so not really new to flashing roms and recoveries and such, but not very good with the trouble shooting. ive sorted through about 100 pages of this thread looking for an answer but haven't come up with anything so im asking.

galaxy s5 sm-g900p

twrp 3.0 and just dumped the lineage nightly on it. was using cm13 before with little hiccups here and there, tried the cm14 build and i cant get it on the sprint network. it searches and finds sprint in the network menu but fails to register and doesn't get any signal. em calling only cm14 was giving me the no sim card found issue which i never resolved cause i didn't make any backups to try the backing up twice method. i dont keep anything important on the phone so i never bothered. the latest lineage nightly is now giving me the same issue but isnt telling me there is no sim card inserted at least no message. doesn't show up under the sim status but no message like cm 14. for the life of me i cant get this thing to get the network registration done and need help to sort it out. dont have any logs yet but will get cm14 back on here tonight and make some logs and try and get em on here.

also on the cm13 build i signed up for the sprint public ip address service so i could get my ps4 on a type 2 nat. when they activated the service i could no longer connect on 4g only 3g and unstable connection. any thoughts on that. turned off the public ip and got 4g back within minutes
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
I read so many comments about the battery performance in this thread and, hence, did this test. I'm running the one and only Lineage OS 20161230 build on my kltekor (stock kernel). I leave my mobile on the table at 12.37 AM with 62% battery (default battery mode, wifi turned on and many apps like WhatsApp, Facebook, Messenger etc installed). At 9.00 AM (more than 8 hr), my battery is 51% although I received so many notifications in many apps. Do you guys think that this much battery drain (11% in 8 hr) is reasonable?

Off-topic: anyone like to try my bootanimation :p

Preview

Download
[Samsung Galaxy S 5 Unified Development] ItsMeShouko:
Google Pixel got VoLTE, can this feature be ported easier now? http://thetrendzjournal.com/2016/12...e-support-for-google-pixel-and-pixel-xl-1671/
[Samsung Galaxy S 5 Unified Development] Arjun KalyanRam:
Wow Volte feature would be great !! .. am running a damn app all throught the day for Voice calls !! Which drains my battery like hell
[Samsung Galaxy S 5 Unified Development] prinzkazimir:
So I did (klte):

Flashed full Firmwareset with Kies (anybody laughs out there?)

Booted this one time.

Flashed twrp-3.0.2-2-klte.img.tar with odin.

Booted in recovery, full wipe, format system, reboot in recovery.

Flashed haggert´s twrp, reboot in recovery.

Flashed lineage-14.1-20161230-UNOFFICIAL-klte.zip and Gapps pico.

Boot.

Everything is working flawless now so far (couldn´t test nfc till now). Batterylife is formidable, one horizontal line overnight. Screenrotation works, too.
[Samsung Galaxy S 5 Unified Development] sparky7231:
NFC is working now on my 900F.

Reflashed ROM and Gapps, cleaned cache .

Now is fine, also after restarting.

Regards

Giorgio

Inviato dal mio SM-G900F utilizzando Tapatalk
[Samsung Galaxy S 5 Unified Development] mark1003:
"Full Firmwareset" means haggertk's tar file or the last samsung software (G900FXXS1CPLV)?
[Samsung Galaxy S 5 Unified Development] prinzkazimir:
I guess it was G900FXXS1CPLV, but kies prevented me from choosing myself :p
[Samsung Galaxy S 5 Unified Development] bytes2bits:
Dumb question I'm sure but you did flash kltespr variant, yes?
[Samsung Galaxy S 5 Unified Development] derAndroidler:
https://www.androidfilehost.com/?w=files&flid=18025

Here you always find the actual modems and bootloaders.
[Samsung Galaxy S 5 Unified Development] haggertk:
Yes, but only modem and bootloader. It doesn't even get the LTE side of things, let alone the other firmware partitions.
[Samsung Galaxy S 5 Unified Development] derAndroidler:
In the modem file there are all partitions
[Samsung Galaxy S 5 Unified Development] gccrance:
Yessir.

I did end up getting it to work last night by just angrily flashing it 3 ish times. But it is still acting up
[Samsung Galaxy S 5 Unified Development] haggertk:
Ah, you mean the bootloader file. That's an interesting way to package them.

In any case, I have to download stock images for every variant to pull blobs from the system image and parameters from the build.prop, so I prefer to build firmware update files myself for the two I own.
[Samsung Galaxy S 5 Unified Development] molano:
Experts,

Pretty stupid question, I know, but I am wondering the following...

Running cm-14.1-20161228-UNOFFICIAL-klte now and I want to update to lineage version.

What is the best way to do it?

In the past I always did a clear cache/dalvik, format system and flashed new version and new gapps.

Is this still the case or is it better to just dirty flash with only clear cache/dalvik and without the need for new gapps?

Wondering what your best practices are....

Thanks in advance.
[Samsung Galaxy S 5 Unified Development] denyo81:
Wipe cache & dalvik is absolutely enough at the moment.
[Samsung Galaxy S 5 Unified Development] HAJT669:
Just do a dirty flash, just wipe cache and dalvik/ART
[Samsung Galaxy S 5 Unified Development] krkhaha:
What about theme engine ? Don't work? Thanks
[Samsung Galaxy S 5 Unified Development] limeaide:
What about those of us on VZW that used the bootloader crack that you helped with?

I really don't want to accidentally relock my phone. And God knows the people in the VZW forums can't post simple instructions. Half way through it always seems there is a step they post requiring you to flash back to a KitKat bootloader. And it's confusing.
[Samsung Galaxy S 5 Unified Development] haggertk:
I have never ever ever ever updated my bootloader on the kltevzw -- I'm still using the ANCG one and updating the bootloader itself is not required for cm/lineage. I'm one of the few that bought the Developer Edition and as you noted it's actually my CID signature (I was the donator, not the exploit identifier) on all of your aboot images. I update all of the other partitions.

I'll make sure that I've uploaded the firmware images that I've used on my own device.
[Samsung Galaxy S 5 Unified Development] limeaide:
Yeah I just assumed people would know you only donated the cid. Still if you had not stepped up and donated it wouldnt have happened then. I think Im up to date with the current MM firmware. And I didnt practice the if its not broke dont try to fix it advice I give out. I tend to lose signal and then only get it back either by toggling it off or rebooting. Ill edit this post from the phone and post a picture of the about screen.
[Samsung Galaxy S 5 Unified Development] fitittome:
Just did a clean flash with gapps. Everything good and zippy. Only things that I can see are a problem is the rotation which has never worked reliably for me and the NFC which I didn't know about until you mentioned it! Other than that I'm a happy bunny! SM-G900F.
[Samsung Galaxy S 5 Unified Development] denyo81:
Yeah that's absolutely right. Some people tells you, you have to update your bootloader and modem. But nobody can

explain why. This is only bla bla bla!

And I found nothing helpful posts or links why we have to do this.

You can use LineageOS with a gingerbread modem and bootloader without a problem.

My Kitkat bootloader and modem does a good and solid job on CM13/CM14.
[Samsung Galaxy S 5 Unified Development] t_house:
I am currently on the OD5 bootloader so that is an older one as well. For those of us with Verizon S5 phones with dev unlocked bootloaders, who want to update to the latest baseband and other firmware bits without screwing ourselves by locking down the bootloader accidentally, would someone be so kind as to make a tar with all current updates minus the aboot that would screw us. I for one would thank you very much for such an item and it appears quite a few others would as well.

Sent from my SM-G900V running CM 13 Marshmallow
[Samsung Galaxy S 5 Unified Development] t_house:
And I apologise if someone has already made such a tar for the VZW phones. If it has, could someone please direct me to that link as I haven't found it. Thanks to all our hard working devs who do this on their own time to make our lives better.

Sent from my SM-G900V running CM 13 Marshmallow
[Samsung Galaxy S 5 Unified Development] haggertk:
Just DPG2 (the latest on SM-G900V) for now, but here you go:

https://www.androidfilehost.com/?w=files&flid=142906
[Samsung Galaxy S 5 Unified Development] t_house:
Thank you very much!

Sent from my SM-G900V running CM 13 Marshmallow
[Samsung Galaxy S 5 Unified Development] t_house:
Quick and easy Odin and I'm updated. Thanks again [MENTION=2693412]haggertk[/MENTION]
[Samsung Galaxy S 5 Unified Development] mattnin:
Anyone else having problems with permissions copying files to the phone? I have the phone connected and adb authorized. I am trying to copy a file to the SD Card and/or internal storage from my Win10 computer and it is saying I do have the permissions. I tried using an android SMB client to grab a file and I am getting errors there as well.

Nevermind!
[Samsung Galaxy S 5 Unified Development] Fil in XDA:
Rotation seems to be working fine now on 30th December build.

Edit: Not yet lol
[Samsung Galaxy S 5 Unified Development] mattnin:
Battery is amazing with the 12.30 Lineage. I am at 50% batt and 4hrs 14 minutes SOT.
[Samsung Galaxy S 5 Unified Development] fitittome:
Rotation:Not for me on a SM-900F with clean flash. Seems to work better but not reliably on other variants. If it worked at all, for me, it used to stall after a deep sleep.

Battery: Superb! Best ever.
[Samsung Galaxy S 5 Unified Development] :
Do you have an extended battery?
[Samsung Galaxy S 5 Unified Development] mattnin:
No, just stock batteries.
[Samsung Galaxy S 5 Unified Development] AusX10:
None of my other devices have any issues with the default APN so I was pretty sure that wasn't the case. Anyway, tried the settings listed on my carriers website, same result.

No network outages or issues in my area either. Just to be sure I took a few other devices with me today and they all worked fine.

I guess I'll start by going back to stock to see if it is a hardware issue. Then if not I'll start working through the archived builds and see when the issue started (no LTE at my house so that'll be fun :p).

Thanks for your help.
[Samsung Galaxy S 5 Unified Development] Arthedes:
Wtf? How?

Im at 3 hours sot with 5% left...

Fingerprint, ambient display, gestures all disabled. Auto brightness at 25%. My battery is 6 months new.

Overnight now only losing 1-5% tho so it finally dozes correctly!

Drain with screen off is a curve about half as steep as when the screen is on, until it dozes... I want this to be flat too, like overnight.

See the really steep curve when the screen is off at about 30% battery? I tried the 'ultra power savings mode' and it drained at double the rate than normal when the screen was off! More like ultra battery drain mode lol.

Do you use automatic brightness? That feature uses sensors so might drain more than manually setting brightness.
[Samsung Galaxy S 5 Unified Development] Arthedes:
How do tou guys go about a clean flash? Ive never tried backing up my apps and im getting tired of having to re download them.

Also, is there a way to back up system settings like which ringtone you use and when you go automatically into do not disturb mode? Every clean flash, I have to redo all those settings.

Also, a dirty flash is just flashing the rom without wiping anything in advance, then wipe dalvik/cache and reboot. No settings are changed then?

Or do you need to wipe cache and system prior to flashing? Does flashing the rom overwrite the current rom or does it just apply the changes made to the rom?
[Samsung Galaxy S 5 Unified Development] ItsMeShouko:
The device boot loops when trying to send file using wifi direct
[Samsung Galaxy S 5 Unified Development] mark1003:
New lineageos download page is sending first signs of life

https://download.lineageos.org/
[Samsung Galaxy S 5 Unified Development] sparky7231:
Hello.

In the last day, I've had a lot of system crash .

Don't know exactly why, it happened with different apps , and different situation.

I'm going to start abroad for a business trip, so I need the phone completely reliable.

I was considering to step back to cm13.

I'm just guessing if I could dirty flash it on 14, or is mandatory to clean install.

Any suggestion?

Inviato dal mio SM-G900F utilizzando Tapatalk
[Samsung Galaxy S 5 Unified Development] mattnin:
I've never gotten as low as 3hrs SOT. Looking at your graph, it appears your WIFI is always on even when asleep. Fix that. Possibly try clearing settings cache or in recovery clear cache & dalvik. Also seeing Chrome battery usage higher than screen is a problem. Maybe you should try the Code Aurora browser with power saving, https://xdaforums.com/android/apps-games/app-code-aurora-swe-browser-m55-t3523365 I also do not use google app or whatsapp. Do you have 'Ok Google' turned on? And other battery wasting features? Push email? Etc... Try poll email every 30 mins.

I don't use automatic brightness. Not to save battery but because the brightness is constantly changing on my phone and it's annoying.

I did a clean flash wiping dalvik, system, data, and cache before installing Lineage. If I had the cell signal you have, I'd probably even have better battery usage. My batteries are very new maybe only two weeks old. My family recently all bought Galaxy S5's and bought new batteries. I actually downgraded from an LG G4 to the S5 because of the battery life potential. Try dark themes too, etc...

Even trying, I'd have a hard time only getting 3 hrs SOT. You may have some bad habits leaving apps to drain battery. Fix that.
[Samsung Galaxy S 5 Unified Development] fitittome:
I get about 18hrs total. SOT maybe a couple of hours. Just clean flashed and better for it. I use Wi-Fi matic. No adaptive brightness. Just set it to very low. Balanced Battery. No wallpaper, black screen. 1min time out. AFwall to block unwanted traffic. Firefox as browser, not Chrome. Very little mobile use, mostly wi-fi.
[Samsung Galaxy S 5 Unified Development] Arthedes:
Chrome use is normally not that high but i was doing some heavy chrome stuff earlier.

Can't miss whatsapp but ill definitely disable hotword detection of ok google. Mic constantly on cant be good.

Push email actually uses less battery than fetch because it works via GCM, similar to apple's push notifications. Did some research on this a few years back. And we all know they get great battery life.

Normally get 3-4 hours depending on what i do though. Same with other more stable roms.

There's just that constant drain when not using the phone but while its not in doze either, which could be prevented by your suggestion though.

Will try some of your suggestions!

But I will not turn my smart phone in a dumb phone though. If i want to not charge my phone for a week i would have bought a 3310 haha

Wifi on instead of LTE when sleeping is not saving battery then?