yashsingh1/xdaforums huggingface dataset:
[Galaxy S5 Mini Android Development] flortsch:
I full-wiped my phone and did a clean install, in order to try again the Footej camera app.

This time, the app does not even start. It directly crashes when opening the app :D

Note that I am using the non-microg-build without any Google apps.

I will provide more details for this.
[Galaxy S5 Mini Android Development] Kenarude:
Hi,

I flashed this rom over the previous build and this improved things for me:

- Battery duration, I had strange behaviors on previous build(s) sometimes battery emptied quickly or it was hard to charge (takes long time for only few percent).

- Netflix video correct missing widevine DRM for another streaming app.

Thank you very much for your hard work [MENTION=7065337]spookcity138[/MENTION] on this rom (and other helpers).

By the way I have noticed instability for the hotspot wifi, it seems to reconnect regularly (maybe every 2 mins), something that wasn't there in older builds (don't remember on which one i used the hotspot wifi last time, it was probably the April build).

I also have strange thing with the Bluetooth (was ok on older builds), i use a watch always connected on my phone and it is working very well everywhere except at home. When I come back to home bluetooth always closing and a message says that the Bluetooth is closing systematically. Is there someone else having trouble with Bluetooth? I can not use it at home. I've attached the log if it can bring some clues.

Thank you.
[Galaxy S5 Mini Android Development] elsterkrug:
[MENTION=7645051]Peter_Petersen[/MENTION]

Is not there for me, but may be related to the fact that I've deleted flipflap.akp. Wanted to restore it, but that does not work. I'll test it at the next build, because flipflap is back.
[Galaxy S5 Mini Android Development] Slothry:
Isn't there any rom like this for G800H? :((
[Galaxy S5 Mini Android Development] Peter_Petersen:
the same by me. no notification led for unread messages (SMS/Threema) also with app-specific led-settings...
[Galaxy S5 Mini Android Development] Fuzzyma:
I am also experiencing crashs with the camera and incredible bad quality with my micro when skyping.

Thats why I want to update to the newest version (I have the version before).

Is there a way I can update without loosing again any apps and data?
[Galaxy S5 Mini Android Development] Tureilu:
Just flash the new Version with the newest Version of TWRP.

Magisk is included automatically.

Then do a Cache and a Davlik Wipe.

I think there is a Magisk Module for Micro Issues.
[Galaxy S5 Mini Android Development] Tureilu:
Perhaps a conflict between two settings:

Settings -> Display-> Inactivitydisplay -> Display on new Notifications

Notification-LED -> LED while Display active
[Galaxy S5 Mini Android Development] frandi:
screen mirror / miracast not working?

Installing this rom a few days ago was like buying a new phone (coming from stock rom). Thanks.

Is screen mirroring / miracast supported by this rom? because when I click on it from the notification panel or from settings it cannot find my TV whereas I was able to do that in the stock rom.
[Galaxy S5 Mini Android Development] a-dead-trousers:
Modem naming scheme

Hi.

Sorry for being off-topic but right now I'm a little bit confused.

Given the names of the two latest PDA (modem?) versions for our phones what do they mean?

G800FXXS1CRJ1

G800FXXU1CRG3

What I know:

G800F is the "model" of our phones.

XX is the "country". In this case "Austria, Belgium, France, Germany, Hungary, Italy, Spain, United Kingdom"

RJ1 or RG3 are the "build information". R is the 18th letter in the alphabet so it means 2018. J is the 10th letter so it means "October". G is the 7th letter so it means "July". The number is just for a consecutive numbering.

The rest is what I don't know:

What is the meaning of S1C or U1C?

Some sources I found claim that the C is "unknown". But I'm not sure because most of the time the names consisted of only 10 to 11 digits whereas the two I mentioned above have 13 digits.

wkr ADT
[Galaxy S5 Mini Android Development] fidoedidoe:
Hi [MENTION=7065337]spookcity138[/MENTION]

Do you have time for a quick "building from Source question"?

I'm hitting a few problems and I'm trying to understand "why", when building from branch "P". Currently my build (mka bacon) fails (fatal error), but before getting bogged down in that, I noticed that I have issues applying the patches (./apply.sh). Having taken a deeper look I'm now confused how you publish builds for Branch "P" without hitting the same issue.

For example, the first issue I hit is with ..../frameworks_av/0003-audio-add-non-const-AudioParameter-methods-for-backw.patch. The patch from your local repo reads:

...
--- a/media/libaudioclient/include/media/AudioParameter.h
+++ b/media/libaudioclient/include/media/AudioParameter.h
@@ -76,6 +76,7 @@ public:
static const char * const valueListSeparator;

String8 toString() const { return toStringImpl(true); }
+ String8 toString();
String8 keysToString() const { return toStringImpl(false); }

status_t add(const String8& key, const String8& value);
@@ -86,8 +87,11 @@ public:
status_t remove(const String8& key);

status_t get(const String8& key, String8& value) const;
+ status_t get(const String8& key, String8& value);
status_t getInt(const String8& key, int& value) const;
+ status_t getInt(const String8& key, int& value);
status_t getFloat(const String8& key, float& value) const;
+ status_t getFloat(const String8& key, float& value);
status_t getAt(size_t index, String8& key) const;
status_t getAt(size_t index, String8& key, String8& value) const;
...

However to get the patch to apply, I have to change it to what's shown below (notice the line numbers are changes):

...
--- a/media/libaudioclient/include/media/AudioParameter.h
+++ b/media/libaudioclient/include/media/AudioParameter.h
@@ -87,6 +87,7 @@ public:
static const char * const keyReconfigA2dpSupported;

String8 toString() const { return toStringImpl(true); }
+ String8 toString();
String8 keysToString() const { return toStringImpl(false); }

status_t add(const String8& key, const String8& value);
@@ -97,8 +98,11 @@ public:
status_t remove(const String8& key);

status_t get(const String8& key, String8& value) const;
+ status_t get(const String8& key, String8& value);
status_t getInt(const String8& key, int& value) const;
+ status_t getInt(const String8& key, int& value);
status_t getFloat(const String8& key, float& value) const;
+ status_t getFloat(const String8& key, float& value);
status_t getAt(size_t index, String8& key) const;
status_t getAt(size_t index, String8& key, String8& value) const;
...

Can I ask, "How do you build from branch 'P' without hitting the issue(s) I'm seeing". It makes me uncomfortable when I deviate from your repo's source without understanding why. FYI, I have issues with other patch files too, *but* I'm hoping your insight will help answer the wider question.

Many thanks!

EDIT: I've attached the three patch files that needed to be slightly modified (to work in my environment) and for me the build now completes without error. I'll also submitted a pull request on GitHub which may be (?) a better / easier place to view/discuss.
[Galaxy S5 Mini Android Development] spookcity138:
First apologies for being absent from this thread for awhile. Real life has just kept me really busy lately.

The issues you're having with the patches are interesting. I had no issues when I last built 2 weeks ago-ish. I don't really see why I wouldn't yet you are as the sources are the same. I build on Arch and I saw you're on Ubuntu, but how this would matter I don't see. I will completely delete the directories that these particular patches apply to and do a clean apply of them and see if I also have this issue. If so I'll look into your pull request on github. It's strange because I recall [MENTION=8002612]Panzerknakker[/MENTION] having issues with a patch in system/core. I looked into this and it applied without issue for me,so I didn't look into it anymore. I know that [MENTION=4613083]rodman01[/MENTION] has built resurrection remix recently. Maybe he can chime in on whether he also had issues with the patches.

Either way, thanks for pointing it out and I'll def look into it.

Also, feel free to send me a message about your fatal error while building and I'll gladly try to help.

Edit:

Nvm about the help. I just re-read your post and saw it has worked out for you.
[Galaxy S5 Mini Android Development] Panzerknakker:
I recently built on 25.6. with the unmodified original patches above without errors.

The patchset 12-OC-Kernel-Patches-Lineage-16.0-kminilte.tar.gz

https://www.androidfilehost.com/?fid=6006931924117904388

adds OC from Spookcity's N-kernel.

It has to be unpacked into device/samsung/smdk3470-common/patch/kernel_samsung_kminilte directory.
[Galaxy S5 Mini Android Development] fidoedidoe:
Hi [MENTION=7065337]spookcity138[/MENTION]

a little cheeky (lazy?), but are you willing to share your debloat script?
[Galaxy S5 Mini Android Development] fidoedidoe:
Thanks for confirming. I guess I'm the outlier! :). I'll keep looking to try and understand why mine experience is different, it's not like there's much wiggle room (repo init; git clone, repo sync, apply patches). Until I better understand this I'l park this (please ignore the github pull request too) . Apologies for cluttering the thread
[Galaxy S5 Mini Android Development] spookcity138:
I have pushed a P_custom branch to github. It has a lot features and optimizations from my N_custom branch that were relatively easy to bring over. Perhaps you can just try to use this branch in the future for your builds...Assuming it is stable for you. It has been for me in a few days of testing. Although I have used a custom toolchain to build mine and cant say for sure if it will build successfully with the stock google toolchain.. You can see exactly what I've done Here

Of course. It is a bit sloppy in the sense that I have used it for other ROMS in the past (AEX,etc) so there are apps and app locations (priv-app vs app) that don't apply to this ROM,but this has no effect on the script succeeding. Please anyone who may decide to use this: DO NOT FLASH BLINDLY!! Open up the update-script and examine it! I remove a lot of stuff. Some which I am positive others want. Make sure you delete any lines with apps you wish to keep. You have been warned!

Debloat script
[Galaxy S5 Mini Android Development] aelfinn:
And I’m guessing that has to be done in TWRP?
[Galaxy S5 Mini Android Development] Panzerknakker:
Sorry, no, just for building the Rom / compiling the kernel.
[Galaxy S5 Mini Android Development] aykuut:
Sorry, my bad. Unfortunately I switched back to stock rom due to unstable camera, but I think it could be related to the media storage which is also the reason for not-working album covers?
[Galaxy S5 Mini Android Development] MrCreating:
What is "WI-FI Vendor Hal"? (Have errors)
[Galaxy S5 Mini Android Development] POLAURENT:
For me Me Magisk 17.1 works fine :confused:
[Galaxy S5 Mini Android Development] spookcity138:
The WiFi hotspot issue may have to do with me bumping the android.hardware.wifi and android.hardware.wifi.supplicant HIDL's to newer versions. i hope so. I will try to revert this on my next build to see.

Yes,it was 17.1 that I used without issue as well. Not 17.
[Galaxy S5 Mini Android Development] POLAURENT:
Hello Spookcity ,

find enclosed a logcat focused on the Hotspot error , maybe it could help you to understand ..
[Galaxy S5 Mini Android Development] LahmeMühlePentiumN4200:
I'm getting Error 7 in TWRP.

I have the latest TWRP installed, 3.2.3-0 and SM-G800F

I already had this problem once but i dont really know how i fixed it.

Can anyone provide the recovery he used? Cause the TWRP is unfortunatly too old. I can flash older roms like LOS 15.1 but not the 16.0
[Galaxy S5 Mini Android Development] Brummschaedel:
For me TWRP 3.2.3.0 worked without problems.
[Galaxy S5 Mini Android Development] Brummschaedel:
After some hours of installing and testing, I'd like to share my first impressions.

THANKS to the developers! I'm glad, I can use my phone with an up-to-date os, not the old bloated original one.

The installation was easy. I installed super-su and gapps nano with the rom, and it booted fast and without problems.

The setup-wizard let me connect to WiFi, but crashed after adding the Google,account. Now it wants to continue after every reboot, but crashes again.

What I tested so far:

- mobile data - works

- making and receiving calls - works

- GPS and compass - seem to work better than in LOS14.1

- taking photos - works only with open-camera, ABC and stock cam freeze and I have to reboot

- taking videos - freezes with all the three apps

- flow of data seems more stable as in 14.1, I had some kind of “hiccups“ there and had to close and reopen some apps to continue browsing or getting mails

- kodi crashes saying “problems with the built-in libraries“.

- connecting to cifs and webdav with Mixplorer -works

Looks good so far, I will keep it the next days and have a look at the battery life.

As I don't take many videos, there seems no reason to switch back. Very mature for an alpha -build.

I couldn't find the setting to switch on and off root. Was it moved?

Greetings, Brummschaedel
[Galaxy S5 Mini Android Development] spookcity138:
Many thanks for the detailed feedback. It is appreciated. Strange about photos not working for you with the stock camera app. I've taken dozens without issue (video recording doesn't work) For me footej camera works without issue though (video recording and photos)

On a side note: I haven't had any time lately to look into any of the issues,other than some searching here and there. I did notice that with mobile data turned off the WiFi hotspot will stay on. I haven't grabbed a log yet to see why this is. Hopefully soon.
[Galaxy S5 Mini Android Development] wori:
hi spookcity138,

installed your rom, works really well, especially for something labelled alpha! Thank you and everyone else involved!

It took me quite a while to get unifiedNLP location provider to work. It turned out I had to make it a system app - which according to their readme is not needed on AOSP based ROMs usually (but it also specifies compatibility only up to Android 7.1...) (cannot post link, sorry - apparently I have not enough posts)

Is this something related to this build or is this something better addressed in upstream lineageos?
[Galaxy S5 Mini Android Development] LahmeMühlePentiumN4200:
Hey,

i finally got it to work on my device. The file was simply damaged. You did great work there. I'm now using this on my daily driver the following days/weeks.

I noticed a bug, when trying to test the Audio since in the erlier versions of LOS for this device was a bug, the bug is not appearent but i can't play music from the SD-Card. It would be nice, but it's not necesary.

Apart from the sometimes not working fingerprint sensor, everything looks good so far and i'm really glad, that this phone can run on the latest version of Android.

Thanks a lot, you did great work here
[Galaxy S5 Mini Android Development] Brummschaedel:
Hmm, playing Audio from SD-Card works great for me. But the fingerprint sensor only once in twenty tries.

But I'm glad, I can use MacroDroid again. It constantly crashed in LOS 14.1
[Galaxy S5 Mini Android Development] Evos11:
This build is pretty stable. For some reason it looks more fluid than the previous android versions. The fingerprint sensor is working better too.

I hope that there will be a beta build soon, and hoping in a fancy kernel too.

Thanks for your hard work! Is there any way to send you donation? I think you deserve it!
[Galaxy S5 Mini Android Development] spookcity138:
Thanks to everyone who has given feedback. It is helpful and appreciated! I've been busy,but have still been working on this in my free time. I've made a lot of "under the hood" changes to hopefully improve the ROM. I have fixed NFC as well. I haven't been able to figure out the WiFi hotspot issue yet though or the issue with receiving files via Bluetooth. I will continue to investigate. Ill try to get a new build up before Christmas.

[MENTION=7301757]Evos11[/MENTION] There is a link in my profile to donate to me via paypal if you would like. Obviously any donation is greatly appreciated!
[Galaxy S5 Mini Android Development] LahmeMühlePentiumN4200:
I noticed another bug, altough the system is pretty stable and fluid, Snapchat laggs often, but thats not bad, i just wanted to say. I noticed a much worse bug, when i tried to send some pics via WhatsApp. The App just crashes when sending ANY pictures. I don't know if it's the ROM or the App itself, but on any other ROM it worked just fine. It forced me to go back to my Xperia Z2 with MIUI and i miss my Galaxy with Pie already. If this is fixed i could really enjoy this in my daily life, you did great work.

PS: Sorry for my bad english, i'm from Germany
[Galaxy S5 Mini Android Development] jan8045:
Thanks a lot for having released this already well working piece of software!

What I observed so far:

- I cannot save pictures from Whatsapp or Threema

- Screen flickers at low brightness levels

- Night mode (blue light filter) not working

- Mobile standby draws battery relatively quickly (> 40% within 10 hours with mobile data enabled; newest modem installed)

Thanks again for the efforts!

Edit: Downloading pictures in Whatsapp works now: I renamed the folder "WhatsApp" in the internal memory to "WhatsApp_old " and let WhatsApp create a new folder. I tried the same with Threema but no success (in the case of threema, I additonally tried to rename the "Android' folder to " Android_old").
[Galaxy S5 Mini Android Development] Mint Julep:
Hi !

Tried it, and it's already very impressive !

Bugs I noticed :

- Wifi hotspot and wired connection sharing don't work.

- video recording don't work. fyi, i use "simple camera" with your LOS 15.1 ROM (thanks again) and it works fine, but it keeps crashing with LOS 16.

- automatic night vision is stucked on "disabled" and can't be turned on. f-lux works fine with root.

BT works fine, as flashlight from QS.

On something else : the only things that keeps me from using the LOS16 rom on a daily basis is that I didn't find a way to get the Xposed framework working on android 9. Does someone knows a way ? Mostly, I-m looking for a way to disable internet data when screen's off, auto unlock when connected to wifi at home, auto unlock when the right pin is typed (without having to clic the check) AND get signature spoofing for micro-G, as I don't wanna use Gapps. This last point is actually the most important.
[Galaxy S5 Mini Android Development] spookcity138:
Firstly,thanks to everyone who has given feedback. It's appreciated!

Yeah,the hotspot issue is known and is still not fixed. As well as NFC. Although I had reported that I fixed it. This isnt the case. It turns on and off with no issues...until the first reboot,then it no longer works. It seems that our chipset (s3fwrn5) is very much broken. As seen Here So this may not be fixed for some time. Try footej camera. I have recorded several videos without issue.

I plan to try to do a build with micro-G integrated,as I use this as well. In the future I will release 2 builds if successful. I plan to release a new update probably tomorrow,but unless I find some time today or tomorrow this will not include a micro-G build. I have made a fair bit of changes to the device trees though,so hopefully they will add some improvements to the ROM. Fingers crossed.
[Galaxy S5 Mini Android Development] jan8045:
Edit 23.12.2018: The fix for Whatsapp described above only works temporarily and needs to be repeated from time to time.
[Galaxy S5 Mini Android Development] fidoedidoe:
Hey [MENTION=330757]spook[/MENTION]city, as you predicted the P_custom doesn't build direct from branch with Google toolchain (at least for me), but it does build with cherry-picks (for all but your last few P_custom specific changes). Been stable, fast and smooth so far..many thanks for this amazing work!! Just out interest, which toolchain have you been using?
[Galaxy S5 Mini Android Development] Panzerknakker:
P_custom builds fine on default sdk when reverting "O3 plus lots of optimization flags". With this it produces "internal compiler error"s.
[Galaxy S5 Mini Android Development] spookcity138:
Yes,as [MENTION=8002612]Panzerknakker[/MENTION] said if you revert the optimization flags it will build. This is what I expected. I have used This repo. Branch "arm-linaro-7.x" for my build up until now. I have built several toolchains,but it wont build for me with mine due to static lib issues. I plan to use crosstool-ng to build another toolchain whenever I have some time and use that.
[Galaxy S5 Mini Android Development] :
A few questions:

Is root already integrated by default?

Could you post a list of all preinstalled packages?

Is there any Gapps package, that I shouldnt use for this ROM?
[Galaxy S5 Mini Android Development] spookcity138:
1. No root integrated. You can use Magisk. It's easy and works well.

2. Well, standard stuff really, calculator, file manager, music player, etc. Perhaps do a Google search if you need more info on this.

3. Any version of GApps for android 9 and for architecture arm should work just fine.
[Galaxy S5 Mini Android Development] :
Ok, the only thing is, that i do have already searched for the apps LineageOS 16 comes with, and i wasnt able to find a list of all included packages...
[Galaxy S5 Mini Android Development] rodman01:
Well the best thing would probably be to have a look at the manifest. And there under package/apps you will find several lines. So you can expect that almost all of them are included in the rom. Otherwise just download and flash it, check it and have fun :) ;)
[Galaxy S5 Mini Android Development] liquidraver:
anyone knows how I can inspect CPU usage and / or any other internal usage? My phone started to slow down, if I use spotify the incoming call doesn't even shows up, just rings, and after 1-2 min the unanswered notification pops up. I want to track down the problem but don't know where to start.

I've cleared all partitions and reinstalled the ROM, but the slowdown kicks in about 20-30 mins.

thanks.
[Galaxy S5 Mini Android Development] BEN1552013:
is the ROM performance better?

Comparison Slim ROM

Ist die ROM Leistung besser?

Vergleich Slim ROM
[Galaxy S5 Mini Android Development] SuperSam_GER:
Could not extract update-binary

Hello,

I'm trying to install the LineageOS 16 for about 9 hours, but I have no chance. Always TWRP 3.3.1.0 stops with:

E:Could not extract 'META-INF/com/google/android/update-binary'

Error installing zip file '***'

Of course at first I did the Advanced Wipe as mentioned in the manual.

Can anyone help me?
[Galaxy S5 Mini Android Development] spookcity138:
My only guess is a bad download. Try to download the zip again. Can't really think what else it would be.
[Galaxy S5 Mini Android Development] SuperSam_GER:
I've downloaded it again, also the version from June 11. Now it's "Patching system image unconditionally" for about 5 seconds an stops with

ERROR: 7

Error installing zip file...

:confused:
[Galaxy S5 Mini Android Development] Mikahlo:
Either you don't have a s5mini (G800F, kminilte) or you try to install the wrong ROM because there was no Lineage build from June 11 for this device.

Look at this page and choose a build you like > https://androidfilehost.com/?w=search&s=kminilte&type=files

If you have a G800F the installation will succeed 100% of the time.
[Galaxy S5 Mini Android Development] SuperSam_GER:
As a new user I can't post links, but the one from June 11 ist linked in the changelog ("12-05-2019")

I also tried the one from July 1st.

I'm also sure, that I have a SM-G800F as mentioned under the accu.
[Galaxy S5 Mini Android Development] spookcity138:
Hmm, this is strange. You are the first person I've heard report this problem... My only thoughts. I'm using TWRP 3.2.3-0. perhaps try an older version ( no older than my mentioned version though are it will not work) Perhaps someone can confirm if the latest version(s) of TWRP work. I would assume so, but am not sure.

Only other thing I can think of is perhaps a corrupt sdcard?