yashsingh1/xdaforums huggingface dataset:
[Galaxy S5 Mini Android Development] ieldesokynono:
problem

Notification bar, home not working, how to fix them?

reset , install lineage again

I tried many things have failed
[Galaxy S5 Mini Android Development] Friedensfurz:
Try to just flash lineage, then set it up, then wipe system,Dalvik and Cache and then flash lineage, gapps and supersu, xposed etc.
[Galaxy S5 Mini Android Development] keiner99:
thanks for the rom! working good, but everytime when i send a sms it says "sms could not be delivered, touch to try again" but the recipient gets the sms. is there a solution for this problem?
[Galaxy S5 Mini Android Development] mirhciulica:
This should be fixed in the 28/01/2017 update. What version are you running?
[Galaxy S5 Mini Android Development] Friedensfurz:
To the users of 28/01 Rom: Does it say 28.01.2017 in the buildnumber? Mine still says 26.01... ?
[Galaxy S5 Mini Android Development] nico_vo:
I never have automatic brightness on and also have the flickering problem. I don't remember if when I had it it was on minimum or not.

Btw, I also have that problem with the lower part of the screen having a different brightness/colour when the brightness is very low, but I have it in any ROM, it doesn't matter if it's in official ROM or cm or whatever. Also in twrp is present, so it looks like a hardware problem...

Enviado desde mi SM-G800F mediante Tapatalk
[Galaxy S5 Mini Android Development] keiner99:
alright thx, it's an older version :) i will update tomorrow
[Galaxy S5 Mini Android Development] POLAURENT:
So do mine , but i confirm it is the 28-01 version , the correction is about the sms message.
[Galaxy S5 Mini Android Development] Rostzwiebel:
I flashed the ROM without GApps. The registration and the setup has worked without problems. I list a few things I've noticed in this build.

I'm not getting a GPS signal right now. Do not use it under here and under NAVIGON. The flicker I got synonymous, but if I disable LiveDisplay, stop it. The day and night mode. The standard camera app crashes synonymous with me, every other camera app works. The SD card as internal memory also works.

LTE is excellent and I have the partitions from the internal memory before the flashing still formatted as F2F.

The GApps I will not install first, Whatsapp gets you directly from the site downloaded and the other apps via third-party stores, if necessary.. The ROM runs very very smoothly and without micro-joggers and the apps react immediately.
[Galaxy S5 Mini Android Development] mirhciulica:
Is anybody else having issues with the compass sensor in this ROM?

I have tried several compass calibration methods with both GPS Status & Accelerometer Calibration apps without any success. The compass sensor is not completely locked but it doesn't position correctly (i.e. upon opening the GPS Status app, while the phone is on a flat surface oriented towards West, North is actually pointing towards the left side of the phone where it should have been South). It generally requires 4 full 360 degrees phone rotations to get the compass needle displayed by GPS Status to have one single full rotation.

On stock TW the sensor is fully working and had no issues, so it shouldn't be a hardware issue.
[Galaxy S5 Mini Android Development] a-dead-trousers:
Hi!

As far as I can remember, someone on the old thread https://xdaforums.com/galaxy-s5-mini/development/g800f-m-y-cyanogenmod-13-0-g800f-m-y-t3234909 mentioned something about "the sensor being upside down". Meaning when you place your phone under(!) the table with the display pointing down you actually get the right orientation. This could have been corrected in the stock rom, while this rom does not.

Regards ADT.
[Galaxy S5 Mini Android Development] mirhciulica:
I have the same compass behavior in GPS Status if I keep the phone with display pointing down.
[Galaxy S5 Mini Android Development] wogooo:
Who has tried both 14.1 and this one, and what is your fav rom?
[Galaxy S5 Mini Android Development] wogooo:
does anyone have alternative for opengapps site? downloads are extremely slow and break every time
[Galaxy S5 Mini Android Development] zmbit:
Hi, about the USB OTG Advanced Settings App of this rom, is there any way to put this option inside the Stock rom of Colombia?

Im using this stock rom (rooted)

Model:	SM-G800M

Model name:	GALAXY S5 mini

Country:	Colombia

Version:	Android 6.0.1

Changelist:	8970537

Build date:	Thu, 01 Dec 2016 18:10:19 +0000

Security Patch Level:	2016-12-01

Product code:	COO

PDA:	G800MUBU1CPL1

CSC:	G800MUUB1CPL1

Thank you.
[Galaxy S5 Mini Android Development] aelfinn:
Use a download manager, eg DownThemAll. That will also do a checksum check for you.
[Galaxy S5 Mini Android Development] another343:
thank you
[Galaxy S5 Mini Android Development] nico_vo:
Since cm13 the EQ app audioFX doesn't work that good, so today I looked for a solution and in another thread someone came up with a solution, but it looks like it causes issues with the camera not being able to record. What I want to say is that maybe the camera issues are somehow related to the EQ app (audioFX). Link to the thread:

https://xdaforums.com/oneplus-one/help/audiofx-properly-cm13-cmos13-t3358987

Enviado desde mi SM-G800F mediante Tapatalk
[Galaxy S5 Mini Android Development] wogooo:
Compass doesnt work here too
[Galaxy S5 Mini Android Development] friscoboi:
How did you root this Rom? Take the file from "Extras" on lineage site"?
[Galaxy S5 Mini Android Development] Friedensfurz:
Read the main post..
[Galaxy S5 Mini Android Development] friscoboi:
It sais two things. "Internal root" works. Then it sais "how to root".

Well,I will try:)
[Galaxy S5 Mini Android Development] J!gLe:
Great OS! BUT...

First of all, thank you for the rom! Its great: fast, clean and in my opinion the biggest plus "customizable" :)

I installed it as mentioned in post1. The first time I installed LineageOS and Gapps nano after another, resulting in the home-button problem (button doesnt work). Then I reinstalled the OS, went through the wizard to let the LineageOS boot without any google stuff, rebooted and installed only Gapps via TWRP. The home button worked! I have to confess, i changed 2 parameters to get rid of the problem: change of the install/boot sequence AND i used an older Gapps-package (use of an older version also be responsible for the fix of the homebutton) -.- so no direct clue here, which process fixed it.

4 days after installing my apps, rooting it (supersu-flash via TWRP) to let Greenify do its work with auto-hibernating (without it I got a battery drain of 40% / h one day) I woke up to see a neverending boot-screen from LineageOS today. So it must have crashed last night. I have no idea how to check the cause of it. When i boot or reboot the phone, i get the message "process "system" doesnt response: wait - exit" and of cause i press "wait". Is there something wrong or destroyed?

The freezes and reboots from the original stock rom, then custom rom was the main point for me to install a new OS, hoping to run stable. Now my excitement is a little bit dulled....

I also recognize some fast screen brightness flickering when its dark and the auto-brightnes tunes the display dark. when i adjust the brightnes a little bit higher its gone. Technically it seems that the panel gets no constant voltage?!

Thank you very much in advance :)
[Galaxy S5 Mini Android Development] a-dead-trousers:
Which version of SuperSU did you install? Which mode did you install it?

When I install in "system" mode it also does the bootloop. Only "systemless" works for me.
[Galaxy S5 Mini Android Development] friscoboi:
You istalled only gapps the second time? I was told rom and gapps always have to be flashed together.
[Galaxy S5 Mini Android Development] J!gLe:
I used the "latest" 2.79 version. What do you mean with "mode" ? I flashed it via TWRP. One swipe, nothing to choose here...or did I miss something?

As I mentioned, the phone works fine, it crashed just the other night and got stuck doing the bootsequence. Happened only one time so far.

Correct! The opinions differ. On some devices the LineageOS wizard has to be startet first (dont know, maybe check/ configure drivers), on some it works fine when installing them directly after another.
[Galaxy S5 Mini Android Development] a-dead-trousers:
When you flash superSU it "detects" compatibility and chooses which type or "mode" to install. In systemlees no changes to system-images are done and everything is happend to the boot-image. This helps amongst others in hiding SuperSU from safetyNet.

You are able to switch between this modes by placing a .supersu file in /data containing either SYSTEMLESS=true oder SYSTEMLESS=false.

For me (under 14.1) only SYSTEMLESS=true works because the other results in a bootloop.

regards ADT
[Galaxy S5 Mini Android Development] J!gLe:
Are we talking about the same bootloop? It seems you are talking about a bootloop you get directly after flashing SuperSU and rebooting your phone. In my case my phone works pretty well except that one crash the other night.
[Galaxy S5 Mini Android Development] a-dead-trousers:
Maybe not, but I thought "hey, they could be related" so I mentioned it. :angel:
[Galaxy S5 Mini Android Development] Friedensfurz:
In SYSTEMLESS mode, the boot image is updated, which is not the case in SYSTEM mode, so you need to flash systemless and then system to make it work. This is a known error ;)
[Galaxy S5 Mini Android Development] KyeWalker:
Brother I tried this. I too still get bootloop. Even when I type SYSTEMLESS=false systemless mode is still detected!!

What version of SuperSu are you using? I'm using latest "Beta" it works fine on my s4mini. Granted the version of CM13 is before the November security patch
[Galaxy S5 Mini Android Development] J!gLe:
Another reboot!

Guys... a few minutes ago i got a second reboot. This time without a frozen LineageOS-Bootscreen, but still another reboot. Any suggestions? As I mentioned, my stock rom, then custom rom rebooted itself and now LineageOS, from what I hoped not to get a reboot problem.
[Galaxy S5 Mini Android Development] Aikonbabe:
Both Henny and Spookcity's releases of CM make bootloop after active modules in Xposed v86! (2017 releases)

Uninstall Xposed from recovery with uninstall.zip and you can boot again !

I will definitly use LineageOS 14.1 when Xposed is ready .. It looks and feels smooth !

G'day
[Galaxy S5 Mini Android Development] spookcity138:
You MUST use v87. This was a known issue with xposed for older versions and was caused by Androids November security patches. This was fixed in v87.
[Galaxy S5 Mini Android Development] Friedensfurz:
Try on a clean installation with just Lineage and Gapps:

- remove /data/.supersu via twrp file manager

- flash the latest(!) Supersu zip, it flashes in systemless

- boot in system

- in supersu select "full unroot"

- it should ask you if you want to restore the old boot img, select NO (!)

- reboot into twrp

- go to advanced and terminal

- type echo SYSTEMLESS=false>>/data/.supersu

-wipe dalvik and cache

-flash supersu zip again

- wipe dalvik and cache again

- reboot in system

-enjoy

No Random Reboots here, must be on your end
[Galaxy S5 Mini Android Development] skysurfer1111:
I had the same problem with xposed v.86 after I set greenify as active module.

Then I uninstalled Xposed with the Installer and greenify too.

I installed xposed v.87 with the xposed-installer 3.1.1 app. No need to use twrp this time, the app did it itself. After a reeboot I installed greenify again => everything runs perfect now since 3 days.
[Galaxy S5 Mini Android Development] J!gLe:
Under LineageOS I have no xposed installed. First crash after 4 days, the second on the 6. day after installation. Before I changed to LineageOS I had a custom Rom, posted in this forum somewhere, with Android 5.1.1. and -as before on the stock rom- rooted it and installed xposed ( and greenify). Got random reboots and freezes there.

I dont know if I remember correctly, but I think I read somewhere that the SD-Card could be a troublemaker. I now changed my 32gig Sandisk ultra (class 10) to a Lexar 16gb (class 10) - formatted as internal storage under LineageOS - as the Sandisk before. I will report as soon as something crashes e.g. If that happens, I`ll try it only with the internal storage an no micro sd-card extension.

Fun fact: While formatting them in LineageOS to an internal storage extension, it says "...your sd card seems to be slow...". Even though both are class 10^^
[Galaxy S5 Mini Android Development] KyeWalker:
Has anyone passed safety net on this ROM.

If so could you please show/tell your setup??
[Galaxy S5 Mini Android Development] friscoboi:
What is safety net? Cant find it in playstore or fdroid.
[Galaxy S5 Mini Android Development] spookcity138:
It's a Google play service feature for android pay mostly as I understand it. It can cause problems using such features on rooted or custom ROMS.

Here is some info.. Well a lot of info

https://koz.io/inside-safetynet/
[Galaxy S5 Mini Android Development] KyeWalker:
SafetyNet is Google's added security measures to play store apps (some not all). Its stored in googles API servers.

On my S4 mini running CM13, I've got SuperSu (systemless), suhide, xposed (systemless) and root switch installed and I pass this safety net feature, as long as I turn root off with root switch. Keep in mind xposed and modules are run during boot and there for still usable even though root is off.

If I install this same setup I get bootloop?? On s5mini that is.

S4mini selinux is set to Enforcing

S5mini selinux is set to Permissive

I wonder if this is the issue?

Passing safety net I will be able to use android pay, Pokemon Go, Snapchat without any issue!!

Dounload safety net helper from Play store and screenshot your results guys and girls
[Galaxy S5 Mini Android Development] J!gLe:
Next freeze

So last night I got another freeze. This time black screen, nothing could be done. Had to remove batterie as usual. After booting up, the batterie was at 6% while it was at around 85% when I went to sleep. So 80% batterie drainage over night! Of course i want to know what happened. Was it a freeze/stuck that (dont know) got the cpu running like hell or was it the cpu running like hell that causes the freeze.:eek:

Edit: I removed the Lexar micro-sd and am now using only the internal storage. Not much space but if it helps.... I will keep you informed!
[Galaxy S5 Mini Android Development] Friedensfurz:
Try RootCloak from the xposed installer snapchat works fine for me on LOS 13, even without Rootcloak
[Galaxy S5 Mini Android Development] nico_vo:
Can you record videos in Snapchat? That's the only problem I have with it..

Enviado desde mi SM-G800F mediante Tapatalk
[Galaxy S5 Mini Android Development] KyeWalker:
But I can't pass safety net on googles API servers.

Rootcloak can hide root from certain apps, is Snapchat but for those apps who implement googles safety net, it won't hide!! Plus xposed triggers safety net anyway! The method I mentioned before on how to hide root works on devices with selinux enforce but we have selinux permissive and google doesn't like that state.

Download safety net helper from play store and show me the ouc of your results please!!
[Galaxy S5 Mini Android Development] spookcity138:
Maybe I'm missing something, which is very possible, but if the problem is SELinux, why not just change it to enforcing?
[Galaxy S5 Mini Android Development] KyeWalker:
Installing your ROM clean comes with SeLinux disabled and fails safety net. Like I said, clean install, no root, no xposed. I've even tried other kernels but all are permissive. Since November 2016 security updates, root and changing SeLinux policies have become very..... Difficult :(. There's is files on XDA somewhere that state it can change policies but when switch to enforcing, the whole ROM basically breaks.

I read somewhere something about policies being added in the framework to be able to change/enable and if you get crashes its because its not written in the coding.

I've been googleling a lot lol
[Galaxy S5 Mini Android Development] spookcity138:
Well you definitely know more about the safetynet issue and such than me for sure. I can just say that I just change my SELinux to enforcing via Kernel Adiutor and it "works"

Again, this may not solve the problem though. I really have no idea. I don't really use these features.
[Galaxy S5 Mini Android Development] KyeWalker:
Will enforcing stick when reboot? Any apps crashed if not trying launching a google app?
[Galaxy S5 Mini Android Development] spookcity138:
It will stick if using kernel adiutor and applying on boot. I can't speak for they other as I've not tried. It's worth a go for you though.
[Galaxy S5 Mini Android Development] KyeWalker:
I'll fash back your ROMs kernel and give it a go. Changing SeLinux itself won't pass safety net as Ill be using root to change policy but if succeededs with me then install systemless root, suhide and rootswitch, it should!

Fingers cross

I'll report back in a while so I've got time to play around!

I love the ROM by the way ;)
[Galaxy S5 Mini Android Development] spookcity138:
Good luck. I hope it works out for ya!
[Galaxy S5 Mini Android Development] hennymcc:
It is no problem to set SELinux to enforcing (it is just a kernel config). The reason why it is set to permissive at the moment is that the SELinux policies are not configured correctly. With these policies you have to tell SELinux what a service/process/application is allowed to do and what not (read/write files, etc).

So if you just set it to enforcing some (or many) services might simply stop to work if the policies are not configured correctly. So there is a lot of fine tuning to get this right.

DJSteve worked on it half a year ago. Probably due to the new MM libs the policies have to be changed again. If somebody wants to work on this, give me a message.
[Galaxy S5 Mini Android Development] turbotorsten:
Download selinux mode changer
[Galaxy S5 Mini Android Development] wogooo:
can anyone explain me wtf selinux actually is? :D
[Galaxy S5 Mini Android Development] Sunn76:
https://en.m.wikipedia.org/wiki/Security-Enhanced_Linux

Gesendet von meinem SM-G800F mit Tapatalk
[Galaxy S5 Mini Android Development] wogooo:
ja i read it...but i thought Android has already such a thing?
[Galaxy S5 Mini Android Development] Sunn76:
Yes of course Android has that "thing"

https://www.lifewire.com/what-is-selinux-and-how-does-it-benefit-android-2373324

Gesendet von meinem SM-G800F mit Tapatalk
[Galaxy S5 Mini Android Development] Friedensfurz:
What about setting SELinux to "disabled" instead of permissive?
[Galaxy S5 Mini Android Development] KyeWalker:
That explains a lot!! Every time I switch to Enforcing everything breaks.

I'm just used to the S4 mini..... A lot of dedication and hard work has been done over there to get the S4mini on the OFFICIAL side of CM. Selinux has always been set to Enforcing there!!

I'm really saddened that, this hasn't happened here.

Not saying you guys are not dedicated, clearly you are to bring us UNOFFICIAL builds, just that the demand hasn't been enough and people haven't got enough time to "Fine Tune".

If I knew how I would help, I'm just literally learning about SeLinux and all I know is Google's Safety Net likes SeLinux to be Enforcing. Permissive leaves the device to vulnerable in their eyes.

I read some where though that you can implement Enforcing to kernel by pulling source's.

Wouldn't this be a good place to start?

---------- Post added at 07:40 PM ---------- Previous post was at 07:25 PM ----------

Could you please give me the exact commands you used to out into kernel auditor please :)

I wanna try your way
[Galaxy S5 Mini Android Development] spookcity138:
I should have been more specific.. I also forgot that I use a modded version of Kernel Auiutor.I will post a link. It's under miscellaneous controls and it's just a switch. As I said it does change it to enforcing. However,as you seem to have known and as Henny said I guess it may very well break things.

https://xdaforums.com/android/apps-games/kernel-adiutor-mod-singularity-kernel-t3333549
[Galaxy S5 Mini Android Development] KyeWalker:
Cheers brother I'll have ago ;)

---------- Post added at 09:22 PM ---------- Previous post was at 08:30 PM ----------

@spookcity138

Your method is working to some extent, gapps literally do not work though!! Weird, have you got any ideas as too why??

Oh I got use stock launcher but....... And what for it..... Google now works fine

Now that's weird lol

---------- Post added at 09:36 PM ---------- Previous post was at 09:22 PM ----------

@spookcity138

Another Update!

If you open up any gapps while still Permissive and leave in recents when you switch to Enforcing the load fine

Any ideas as to why..... Again lol
[Galaxy S5 Mini Android Development] spookcity138:
That does seem strange to me, but I really only have a very basic knowledge of SELinux,so I'm afraid that I can't be of much help in this matter, sorry.

Edit:

I decided to test this out and although it's only been a short time and I certainly haven't tested everything, Gapps works, Google now works. Most things seem to be OK on my end. However, I'm on slim 6. I'm not sure off hand what differences there may be repo wise.
[Galaxy S5 Mini Android Development] Friedensfurz:
I also just got a random reboot, I was on the home screen and suddenly I was in that "Samsung Galaxy S5 mini powered by Android" bootscreen and it rebooted normally. The Touchkeys were lit up all the time on boot. How can I get the reason of the random reboot?
[Galaxy S5 Mini Android Development] KyeWalker:
Did you switch to Enforcing when this happened? If so don't use trebuchet launcher use Google now.

However I'm struggling deleting all and every single file that is root related in ROM. Delete these files with Enforcing enabled you should pass CTS

If I want root, install SuperSU systemless-ly with suhide and still pass

But this method keeps clashing with inbuilt root files no matter what I delete
[Galaxy S5 Mini Android Development] Friedensfurz:
No, I'm on permissive all the time. I don't need SafetyNet as theres no Android Pay in my area anyway ;)
[Galaxy S5 Mini Android Development] J!gLe:
Another Freeze (this time without sd-card)

As mentioned before, i was hoping to get rid of the reboots and freezes by not using ANY micro-sd card. Unfortunenately I got a freeze last week even without any sd-card extension. So it must be a common problem with the phone?! Heard many opinions from friends, who would never touch any Minis again, after having trouble with reboots and freezes themselfes on S3mini, S4mini or S5mini. So it must be an internal fault in the mini-versions , maybe another/ fitted driver for the mini or something like this?!

Im stuck here...
[Galaxy S5 Mini Android Development] spookcity138:
Weird to me, I've use all of the Mini's and have never had an issue with freezes or random reboots. I can only speak to my experience obviously, but after using Mini's for the last 4 plus years or so I guess now, I've just never had these problems. Hope somehow you can get your issues sorted though.
[Galaxy S5 Mini Android Development] Friedensfurz:
I also never had any permanent Random reboot issues, only sometimes when your phone goes to deep sleep, it doesn't wake up any more and you need to pull the battery then. But it doesn't happen that often so it's not too bad
[Galaxy S5 Mini Android Development] KyeWalker:
I've had freezes and reboots from high CPU/RAM usage. i.e throttling my S4 mini/S5 mini to the absolute max!! Then I get what you speak of;

But on everyday use, I get nothing! Both are smooth nice mid-range phones.

You tweaking your kernel at all or got any System Mods??
[Galaxy S5 Mini Android Development] J!gLe:
No, I have no tweak running. What kind of system Mods do you mean? SuperSU is the only other system modifikation app running, as I can tell.
[Galaxy S5 Mini Android Development] Friedensfurz:
Try to clean flash everything and start from scratch. But create a backup first ;)
[Galaxy S5 Mini Android Development] J!gLe:
Seriously? This would be the third time. So no, not again^^

Isnt there some log-tool, that monitors such kind of misbehavings?