yashsingh1/xdaforums huggingface dataset:
[Galaxy S5 Mini Android Development] SuperSam_GER:
I tried TWRP 3.2.3-0, 3.3.0-0, 3.3.0-1 and two different sd-cards.

At version from July 1st it says "Could not extract ... update-binary", at version from June 9 it says Error 7.

:(

Maybe next TWRP Version will work.
[Galaxy S5 Mini Android Development] spookcity138:
I don't think so. This really makes no sense to me as no one else has had this problem. You've already done everything I can think of though,so hopefully someone else will have some suggestions/ideas. I'm at a loss.
[Galaxy S5 Mini Android Development] rodman01:
Maybe you can post the exact file name of the rom you flashed, instead of posting a link. or you can write the link without www. and .com or .de. So that we can see what you have flashed. Also you can write the exact name of your device. Should be displayed in about phone or inside the device on the label below the battery.
[Galaxy S5 Mini Android Development] MikeT.:
I'd flashed dirty from Test4-build and everything works, last TWRP, device without SIM.

Thanks from my side again!
[Galaxy S5 Mini Android Development] SuperSam_GER:
I tried the following ones from androidfilehost:

6006931924117892070

1395089523397964346

6006931924117906864

The label under the battery:

Model: SM-G800F

FCC ID: A3LSMG800F

SSN: -G800FGSMH
[Galaxy S5 Mini Android Development] rodman01:
mmh everything looks fine and is matching each other from my point of view. I am afraid I am lost too...only thing I would think about is flashing a previous version of cm or leos first. Not sure whether there is a kittkat or m version, but maybe its worth a try. Before, make factory reset, format cache, dalvick, data and systems and flash from internal storage, not external maybe your sd card is corrupted or something else. And don't format to f2fs and no encryption...keep my fingers crossed :fingers-crossed: :)
[Galaxy S5 Mini Android Development] Panzerknakker:
Copy the .md5sum file that comes with the .zip file into the same directory.

TWRP will then check the digest file.

Then you can be sure that download and storage are ok.
[Galaxy S5 Mini Android Development] spookcity138:
Updated

Small changelog this month as I didn't have any time to really look into the remaining issues. Also, due to circumstances I was unable to perform a clean install for the first time. So I only dirty flashed it and it seems OK to me.

Changelog

* Synced LOS sources
* Latest security patches (July 2019)
* Few kernel commits related to network (thanks to @rodman01)
* Update GMSCore prebuilt to latest for the microG build

Enjoy!
[Galaxy S5 Mini Android Development] ben smith:
This is great. Thank you for all the hard work spookcity138!! :victory: ;)
[Galaxy S5 Mini Android Development] razrielsch:
I use the version from June and observed a strange behavior. If I try to configure call forwarding the phone goes offline and I do need to reboot. Is that a known behavior or should I create logs (how too?)
[Galaxy S5 Mini Android Development] spookcity138:
You are right. I just tried this and for me it just disables mobile data and I must restart to get it back on. I suppose that's what you mean as well. I have no idea why this is or if it's lineage related or what.

No need to worry about getting a log though as I can reproduce it and will connect to adb shell at some point and try to see if I can tell what's happening exactly. Thanks for pointing it out.
[Galaxy S5 Mini Android Development] rodman01:
Hi Spooky I found this commit on review, cherry picked and made a new build. And it seems that this helps. After clicking on call forwarding the followup screen appears and the settings for call forwarding are there. Whether it is finally fixed with the commit I am not sure, because haven't tested much and have less knowledge how it should work proper ;)
[Galaxy S5 Mini Android Development] spookcity138:
As always, BIG thanks for your help. It is super appreciated!
[Galaxy S5 Mini Android Development] :
I only wanted to say thanks for this great ROM, everything works completely smooth!

:angel:
[Galaxy S5 Mini Android Development] mongo0:
Hello Spook, Maybe you could add this for our gps.conf:

https://github.com/Magisk-Modules-Repo/optmizedgpsconf/blob/master/system/etc/gps.conf

I copy & pasted it and found that gps fix is much faster.

I don't really understand all of the config options, I only made these changes:

NTP_SERVER_1=1.[B]android[/B].pool.ntp.org
NTP_SERVER_2=2.[B]android[/B].pool.ntp.org
(...)
[Galaxy S5 Mini Android Development] spookcity138:
Hey,thanks a lot for the tip. I will certainly look into this for next build.
[Galaxy S5 Mini Android Development] AbRaCH:
I have a pretty weird issue here - my S5 mini has the blue light filter activated, but it cant turn it off. If i turn on the blue light filter in settings, the screen gets even more yellow than before. It's not a hardware issue because the colours look normal in TWRP. Even after two full wipes it's still present. Can somebody help me?
[Galaxy S5 Mini Android Development] Tureilu:
Did you check the Live Display settings? f.e. color temperature, ...
[Galaxy S5 Mini Android Development] AbRaCH:
Thanks, this was the issue.
[Galaxy S5 Mini Android Development] Slothry:
Question

Why can't i use it on my 800H (Qualcomm)?
[Galaxy S5 Mini Android Development] a-dead-trousers:
Answer

Because it's a different processor (architecture).
[Galaxy S5 Mini Android Development] Marteng69:
Thanks for this new version!

Did you manage to solve the encryption problem I mentioned in this post?

Once again I tried to encrypt the phone. Some seconds after the start of the encryption the screen turns off for some seconds. Then the screen turns on again but the encryption is stopped.

Any hints?
[Galaxy S5 Mini Android Development] mongo0:
May I ask, how do you include such a kernel in the rom (zip)?

From android.com:

Copy the Image.lz4-dtb to the respective kernel binary location within the AOSP tree and rebuild the boot image.

But when I build it separately and run make afterwards, the scripts is complaining that kernel dir isn't empty. and I should do mrproper ... (So where / what is the correct kernel binary location; what files do I need to copy?)

export TARGET_PREBUILT_KERNEL=DIST_DIR/Image.lz4-dtb

I get this errors : (problem with linux headers??)

FAILED: [...]out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen/.dummy_dep
[...]out/soong/host/linux-x86/bin/sbox --sandbox-path [...]out/soong/.temp --output-root [...]out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen --copy-all-output -c 'make -j CFLAGS_MODULE="-fno-pic" -C O=__SBOX_OUT_DIR__ ARCH=arm CROSS_COMPILE="/usr/bin/ccache arm-linux-androidkernel-" headers_install' && touch [...]out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen/.dummy_dep
make: *** O=[...]out/soong/.temp/sbox602528744: No such file or directory. Stop.
sbox command (make -j CFLAGS_MODULE="-fno-pic" -C O=[...]out/soong/.temp/sbox602528744 ARCH=arm CROSS_COMPILE="/usr/bin/ccache arm-linux-androidkernel-" headers_install) failed with err "exit status 2"

[ 74% 55599/74493] //frameworks/base:gen-platform-proto-constants generate
ninja: build stopped: subcommand failed.
11:42:35 ninja failed with: exit status 1
[Galaxy S5 Mini Android Development] spookcity138:
I remember looking into this a little when you posted about it originally. I only found things related to Qualcomm when I was looking at Lineages code review. I am away from home until the end of the week,but I will try to look into this again when I am back and see if I can find anything out about it.

Well,if you have and are building with the full Lineage sources it is rather easy. First you need to revert my commit where I enabled the optimization flags as this wont build with the stock google toolchain. Then just run "source ./build/envsetup.sh" followed by "lunch lineage_kminilte-userdebug" and then just mka bootimage. This will build a flashable boot.img that you can just flash in TWRP.

I have had some issues before doing this whcih I have always solved by either changing into the samsung/kminilte kernel directory and running "make mrproper". If this doesn't work just re-clone the kernel and then it should be fine (I've needed to do this once or twice in the past. Not real sure why off hand.

If you want to build without using the Lineage sources and just build the kernel alone you need to download a toolchain (I linked the one I use in the post you quoted) Then you can use the optimization flags,but you will need to use anykernel or create the ramdisk with bootimg tools or similar for it to work. You would via terminal:

* cd into kernel source directory

* export ARCH=arm

* export CROSS_COMPILE= "path to toolchain"/bin/arm-linaro-linux-androideabi- (this is assuming you use the one I linked)

* make kminilte_00_defconfig

* make -jx (where x is the number of cores of you cpu)

Then you would need to use anykernel or something.

Hope this helps some.
[Galaxy S5 Mini Android Development] mongo0:
Thanks for your reply.

Id like to include/repack the P_custom kernel in the zip. I will look into anykernel then..

I have built it successfully with all commits and the toolchain you suggested and I got the Image and zImage (no modules here I guess)

(With my own toolchain it always failed at kernel/fork.o: ~"Assembler error: .err encountered")
[Galaxy S5 Mini Android Development] Marteng69:
Thanks a lot!

One additional information regarding my original post.

I have mentioned that I was not able to create a second user. The last time I have tried it I was able to create a second user. May be the problem was related to my way to configure access restrictions for apps. I have to create the second user in a very early stage after installing LineageOS, where the apps are still allowed to access some data. I was not able to reproduce which restiction is responsible for that.
[Galaxy S5 Mini Android Development] scheichxda:
How to recover Samsung, and install LIneage, TWRP is already installed

Hello

My Samsung Galaxy does not boot any more.

My Intention was to install lineage 16 - but there was an miss match with the encryption.

So I did uninstall the system.

Now TWRP shows me (via backup) the following still existing files:

EFS 8 MB

Boot 10 MB

Cache 4 MB

System 29 MB

Data 0 MB

Meanwhile I have downloaded the original samsung firmware that contains:

boot.img, recovery.img, sboot.bin, system.img, cache.img; hidden.img and modem.bin.

Finally I have downloaded

lineage-16.0-20181117-UNOFFICIAL-kminilte.zip

and

MindTheGapps-9.0.0-arm64-20180809_192137.zip

Now I need some advice what to install to get the lineage on the phone

Regards
[Galaxy S5 Mini Android Development] a-dead-trousers:
In TWRP wipe cache, dalvik, system, data and to be sure to remove the encryption also wipe internal storage.

From within TWRP install the lineage.zip.

Then download the proper Gapps.zip (it's ARM not ARM64) and also install it within TWRP.

That should cover it.
[Galaxy S5 Mini Android Development] scheichxda:
Thank you very much.

May I ask one thing?

The original system.img has a size of more than 2.1 GB

Just now my "system " has 29 MB

Do I have to install the original system.img before installing the lineage.zip?

Or is it not necessary to install the "old" system.img before I install the lineage.zip

Regards
[Galaxy S5 Mini Android Development] a-dead-trousers:
In the original system.img contains MUCH more stuff (bloatware) from Samsung.

Just install the linage.zip. It has everythin you need have ;)
[Galaxy S5 Mini Android Development] scheichxda:
Thank you, i did as you wrote.

But Im am still having the decryption-problem.

unfortunately I have changed the encryption before updating. PW1(e. g. 1234) to PW2 (e.g. 5678)

Now the situation is like that:

Entering TWRP I have to insert the (later) PW2. (5678)

But after rebooting the system does not accept the (later) PW2 (5678) - only the earlier PW1 (1234)is accepted ----- followed by the Information that the PW1 is correct but the system is corrupted.

Then the system goes down.
[Galaxy S5 Mini Android Development] a-dead-trousers:
According to this https://xdaforums.com/nokia-3/how-to/removing-encryption-twrp-recovery-t3758814 it should have been gone by now.

(Sorry I'm not an expert on how encryption works and quite honestly seeing your problems with it I feel confirmed that it's a big load of bulls....)

There are also more "advanced" guides here on XDA. Just search for "twrp remove encryption" in google.
[Galaxy S5 Mini Android Development] scheichxda:
Hello and thank you

I fixed it.

What I did:

In TWRP:

1. Format every partition to ext2 and then back to ext4

2. Wipe to factory reset

3. Install lineage and gapps

Thank you
[Galaxy S5 Mini Android Development] scheichxda:
Encrypting ends up in a boot-loop with my Galaxy S5 MIni

Hello

Thank you to all for that great lineage-16.0--UNOFFICIAL-kminilte

Running a Samsung S5 Mini with

lineage-16.0--UNOFFICIAL-kminilte and trying to encrypt the phone ends up in a boot-loop.

The only way to bring this to an end is to reformat system and data via TWRP (see my previous post) and reinstalling l lineage-16.0-20190707-UNOFFICIAL-kminilte

Regards
[Galaxy S5 Mini Android Development] Djkcool:
I am running 2019/04/11 and I just experienced a issue when I was coping files from my SD card my phone crashed and when it tried to boot the animation would freeze half way and then my phone would shutdown to fix it I had to reinstall lineage.
[Galaxy S5 Mini Android Development] a-dead-trousers:
Try it with the latest version. AFAIK there was a bug in the kernel that prevented the sdcard from working properly which should be fixed by now.
[Galaxy S5 Mini Android Development] Marteng69:
Which version did you try to install?

I know that there are still some problems with encryption with the S5 mini. As you can see some posts before spookcity138 is aware of this problem and will try to resolve it.
[Galaxy S5 Mini Android Development] Supernik72:
Battery drain

Hi all, how is battery drain for this ROM? I have still stock OS (Marshmallow) and I would like to have better battery life.

Thank you.
[Galaxy S5 Mini Android Development] a-dead-trousers:
I'm not a "heavy" user but this ROM is the most efficient I know of. Currently on average my phone lasts 3 days (plus minus half a day). I don't use WLAN (WiFi) cause it's slower than my mobil data and I have enough included GB to last a month. Also in my experience so far the WLAN drains the battery much faster than anything else. I used BetterBatteryStats to scan my phone for power leaks and the WLAN was always on the top. Even after turning it off it used up some power. That way I found the "Search"-option which allows apps to use the WLAN even when it's turned off to get positioning data. Oh yeah, I also have my GPS turned off most of the time. Furthermore I don't need to be on the internet 24/7 so I only activate my mobile data when I need to check something.

I know that my usage pattern isn't a very common one, but for me a longer lasting battery is the top priority.

There is one small battery-wise issue though:

Sometimes, when I charge my phone, it gets into a "low charging mode" (I don't have better words to describe it) where it says that it needs one day or more for a full charge. But the solution for this is simply unplugging and replugging the cord. This is so common for my now that I do this everytime I charge my phone. Just in case.

Some final words to the previous 14.1 version I used before changing directly to 16.0:

I won't recommend it because it's missing an active maintainer. Don't get me wrong, [MENTION=8002612]Panzerknakker[/MENTION] does a great job in providing montly builds, but there is no one keeping the repos up to date. The last few builds I used had a slowly degrading performance so in the end I was down to one day of battery life. This was the reason for me to switch to 16.0. If you need some features which are currently not supported by this rom (SELinux, HWC, ...) you don't have a choice but stay with 14.1 (or stock ROM). Everyone else should at least give this rom a try and see for themselfes.

wkr ADT
[Galaxy S5 Mini Android Development] Supernik72:
Thank you very much my friend!

I will try to flash this ROM to see what happen...;)
[Galaxy S5 Mini Android Development] trummerschlunk:
update

1. how do I update this without loosing apps and data?

2. can I use the microG version for updating if I initially installed the plain one?

Thanks for your great work!
[Galaxy S5 Mini Android Development] Marteng69:
If you have installed a previous LineageOS 16.0 version you can just install the latest version as described in the first post. In TWRP only wipe cache and dalvik.

If you have installed LineageOS < 16.0 you have to make a clean install, because of possible strange side effects.

No, this would be like updating from a lower LineageOS version. You have to make a clean install.
[Galaxy S5 Mini Android Development] Melonenkompott:
Are you guys able to write on the external sdcard (latest build) ?

Every time I try to do so, the app which tried to get permissions, crashes. Also, if I try to access the sdcard from the storage settings, the settings will crash.
[Galaxy S5 Mini Android Development] spookcity138:
No issues here. No crashes and I'm able to write to my external SD card without issues. Perhaps a corrupt/bad sdcard?

Side note:

I'll get a new build up over the weekend if the latest security patches are merged.
[Galaxy S5 Mini Android Development] Tureilu:
Did you check the Settings:

Developer-Settings (nearly end of list) -> Allow all apps to write to external sd-card?
[Galaxy S5 Mini Android Development] Cynic_Custodian:
Caller can't hear me

First of all thanks for this amazing rom, I absolutely love it.

My wife is less happy though, since she can't hear me when she calls. I would prefer the other way around too, but alas.

I googled it and posted a question on reddit but no solutions yet. I have it at random moments, not always and restarting doesn't always work.

Does anyone have any ideas? Hardware checks succeed every time.
[Galaxy S5 Mini Android Development] spookcity138:
I actually saw your post on reddit and meant to reply but apparently got distracted or something. I have never had this problem, so its hard for me to say. I have however had issues with low volume in calls in every version of Android I've ever used on this phone. Where the other person says they don't hear me well and I need to speak a lot louder to be heard. I've been meaning to look into perhaps adjusting the mic gain,but if your wife can't hear you at all this will not fix anything for you.

I'd be curious to know if when this happens if your mic still works at all. Are you able to record via a voice recorder app?

I know its not the easiest,but if you are somehow able to grab and post a log of this happening it may be helpful. You could use an app like Matlog if you're rooted.
[Galaxy S5 Mini Android Development] spookcity138:
Thanks for the log. Sadly there is nothing there that jumps out at me as an issue really. I will do a little searching when I have some time and see if I can find anyone who has perhaps had and solved this issue. Maybe with some luck I will stumble upon something useful.
[Galaxy S5 Mini Android Development] spookcity138:
Updated

Changelog

* Synced LOS sources
* Latest security patches (August 2019)
* Merged latest lineageos/hardware/samsung sources into our hardware/samsung repo
* Dozen or so kernel commits
* Updated a bunch of proprietary vendor blobs to latest stock marshmallow
* Updated GPS config (Thanks to @mongo0 for the tip)
* Fixed called forwarding setup crashing/issues (Thanks to @rodman01)
* Added an encryption board flag and overlay ( This is a step towards hopefully solving the encryption issue. However it is highly unlikely that this is fixed. It is just all I could find on the matter. I will continue to look into it)
* Removed patches to keep LiveDisplay - So no more LiveDisplay (Lineage is going with Night Light instead)
* Added "ro.config.small_battery" (This will trigger device-idle in 15
minutes instead of 30 minutes)

Enjoy!
[Galaxy S5 Mini Android Development] scheichxda:
So I did with the latest edition 11th August

Still the same

Regards
[Galaxy S5 Mini Android Development] spookcity138:
This is very strange. As mentioned,there was an issue with writing to the externalSD,but this has long since been fixed. I am able to delete,rename,move and any other thing one would need to do with my external SD card. I have no idea why you are not. Is your card formatted to fat32?
[Galaxy S5 Mini Android Development] ugeins:
For me everything works fine. Also RW access to the SD Card. Thanks.......

Gesendet von meinem SM-G800F mit Tapatalk
[Galaxy S5 Mini Android Development] scheichxda:
If I try to encrypt the phone the phone ends up in a boot-loop

Any idea how to avoid this?

Regards
[Galaxy S5 Mini Android Development] spookcity138:
This is a known issue. I added a few things as steps to try to fix this, but as I expected it is still broken. So yeah, encryption just doesn't work. This seems to be an issue with other devices on LOS 16 as well. I will continue to look into this when time permits.
[Galaxy S5 Mini Android Development] Nevelet:
Hi, first of all I want to congratulate you on this work, I'm glad you're keeping this project alive. I wanted to know but without "HWC" (Hardware Composer) could I damage any component in my smartphone? Thanks so much!
[Galaxy S5 Mini Android Development] Marteng69:
I have installed the latest version with a clean install. Encryption is still not possible. The phone where I tried it still behaves the way I described some posts ago. I can start the process of encryption and it stops after a few seconds.
[Galaxy S5 Mini Android Development] Kenitilas:
Update & GPS

Hi everyone,

I am new to this forum. I tested the lineage os build from this thread on my old phone to use it as a GPS in my car.

After flashing i recogniced some anomalies. At first I don't have any update menu on this phone. Second the GPS is not working. I tried it on some navigation apps and with some sensor analysing apps. No GPS signal was found.

Can anyone help me? I tried to use the search function without any result.

TY Kenitilas
[Galaxy S5 Mini Android Development] spookcity138:
Well, I am never going to say it is impossible because strange things happen. That said it is very unlikely and I don't personally see how. The only real effect of not having working hardware composition should be a slight battery hit and perhaps small performance hit. Although neither of these things I notice. Basically without the HWC we are just relying solely on the GPU for screen composition.

Thanks for the feedback. I kinda assumed this was going to be the case. I will add it as a non working feature in the main post and continue to try to figure out what the fix may be.

Hmm,strange. While GPS is far from perfect in this ROM it does work for me. I will try to look into improving it some when I have some time.
[Galaxy S5 Mini Android Development] Kenitilas:
It's possible that the GPS problem is based on my phone. Today I tried the LOS 14, LOS 15 and 2 stock roms. GPS never worked.. so I guess its something wrong with the antenna
[Galaxy S5 Mini Android Development] spookcity138:
Thanks a lot for the follow up. I'm afraid it does sound like an issue with your device if you're having GPS issues with all of these different ROMS.
[Galaxy S5 Mini Android Development] Kenitilas:
[/COLOR]

After flashing all those ROMS I wanted to go back to your android 9 build just because its the latest, fastest and best (thank you!!), but now I am getting an ERROR 7 while flashing with TWRP. Any solutions?
[Galaxy S5 Mini Android Development] fidoedidoe:
I've seen this in the distant past. Check you're using the latest version or TWRP (3.3.1) and try again. Failing that maybe check md5 of ROM before installing.