Selinux in lineageOs 16 - LineageOS Questions & Answers

good evening
a few days ago I put a new rom or Lineage os16 in my samsung galaxy s8. at every access it asks me to activate a certain Selinux ... can you tell me how to activate it correctly.
Thank you

thuis said:
good evening
a few days ago I put a new rom or Lineage os16 in my samsung galaxy s8. at every access it asks me to activate a certain Selinux ... can you tell me how to activate it correctly.
Thank you
Click to expand...
Click to collapse
You can't. It's a warning. But you can disable it. Or better install a custom ROM with selinux enabled.

Related

SELinux set to permissive?

Hello,
I am looking to see if anyone has gotten SELinux to go to permissive from Enforcing? I tried a couple of apps but it seems that the stock Samsung 4.3 even with Knox disabled is not letting me set it to permissive permanently. The only way I can get it to work is in a terminal and "setenforce 0" but it is active only for that session. I am running Linux on the tablet but because of this SELinux policy it blocks some advanced features such as being able to use KDE, Gnome, or Mate desktop because the needed communications on the dbus are stopped.
Any help would be great!
Thanks
I am running a rooted Samsung Note 10.1 2014 WiFi 32GB with US 4.3 MK1 firmware version
Have you flashed the SE permissive kernel that got posted? Also how did you get Linux up ad running
Sent from my SM-P600 using XDA Premium 4 mobile app
Duly.noted said:
Have you flashed the SE permissive kernel that got posted? Also how did you get Linux up ad running
Sent from my SM-P600 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Didn't know a new kernel was out. I may try that at some point once I am a little braver
Thank you
Here is a link to a thread, near the bottom I posted how I got it going. There are still some script errors and I am trying to talk with developer. I used the Android on Linux or Complete Linux Installer app. Because of the enforcing mode it blocks the more advanced installs, but I do have 2 LXDE versions going Ubuntu Small 13.10 and 13.04
http://forum.xda-developers.com/showthread.php?t=2587915
quser1 said:
Hello,
I am looking to see if anyone has gotten SELinux to go to permissive from Enforcing? I tried a couple of apps but it seems that the stock Samsung 4.3 even with Knox disabled is not letting me set it to permissive permanently. The only way I can get it to work is in a terminal and "setenforce 0" but it is active only for that session. I am running Linux on the tablet but because of this SELinux policy it blocks some advanced features such as being able to use KDE, Gnome, or Mate desktop because the needed communications on the dbus are stopped.
Any help would be great!
Thanks
I am running a rooted Samsung Note 10.1 2014 WiFi 32GB with US 4.3 MK1 firmware version
Click to expand...
Click to collapse
Try to use Wanam Xposed to set permissive. In note 10.1 I didn't test yet, but in SGS4 works like a charm!
I've used wanam xposed in Note 10.1 (P601) to set official status and get OTA updates
feller said:
Try to use Wanam Xposed to set permissive. In note 10.1 I didn't test yet, but in SGS4 works like a charm!
I've used wanam xposed in Note 10.1 (P601) to set official status and get OTA updates
Click to expand...
Click to collapse
I just tried this now. The information in the About screen still shows the SELinux as Enforcing after activating the module in the framework, rebooting, changing the option in Wanam Xposed and rebooting again twice just to make sure i didn't miss anything.

[SOLVED] To port IMS Manager to KLTE

I want to port/build IMS Manager for getting VoLTE feature on klte (LineageOS 14.1) but there is no guide on XDA, YouTube or even on google search... There are even VoLTE patches for Mi, Moto and Yu devices. Please help me to build it as I don't even know where to start after getting sources... Thanks in advance! ?
Update:
Found VoLTE rom for S5 (snapdragon variants) https://forum.xda-developers.com/galaxy-s5/development/rom-s7ux-pure-stock-t3505699
So you are aware IMS manager is that, a Manager, it doesn't effect your IMS functionality. Furthermore, LineageOS doesn't currently have native VoLTE functionality afaik. IMS manager is a samsung app for the samsung system, you'd better bug the Lineage Dev's for a tool for manipulating the IMS settings in LineageOS and more so bug them to implement VoLTE, however this comes at a risk as it can interfere with 911 Functionality and as such could pose libaility they wish to not deal with
Pls help him, I need VoLTE, too
If you need another similar to stock android 32 bit chip set ROM with ims manager, I could suggest you download wind7 ls 5016 firmware(snapdragon 210 with marshmallow). It might help you. Please try.
kvsjxd said:
I want to port/build IMS Manager for getting VoLTE feature on klte (LineageOS 14.1) but there is no guide on XDA, YouTube or even on google search... There are even VoLTE patches for Mi, Moto and Yu devices. Please help me to build it as I don't even know where to start after getting sources... Thanks in advance!
Click to expand...
Click to collapse
Bro you saw my above comment?
Have you made any progress on this? I've had a look at this in latest lineageos and on Galaxy s6. Though I think the basic idea is the same. The ImsManager is part of lineageos Rom. Though it needs a ims service. If that is not available even if you enable volte or WiFi calling over build.properties it will not work.
So to my (limited) knowledge, the first thing one would have to do is provide an implementation of that service. I think in Stock Galaxy s6 that is provided in imsservice.apk that comes in /system/priv-apps. I've attached the version of stock s6. Though I'm unable to use that since it's signature is not accepted and I'm neither able to decompile nor to resign /zipalign the package.
Any ideas? Or is this an all wrong way I'm following?
Br
Johannes
orgler said:
Have you made any progress on this? I've had a look at this in latest lineageos and on Galaxy s6. Though I think the basic idea is the same. The ImsManager is part of lineageos Rom. Though it needs a ims service. If that is not available even if you enable volte or WiFi calling over build.properties it will not work.
So to my (limited) knowledge, the first thing one would have to do is provide an implementation of that service. I think in Stock Galaxy s6 that is provided in imsservice.apk that comes in /system/priv-apps. I've attached the version of stock s6. Though I'm unable to use that since it's signature is not accepted and I'm neither able to decompile nor to resign /zipalign the package.
Any ideas? Or is this an all wrong way I'm following?
Br
Johannes
Click to expand...
Click to collapse
Some more ideas I've tested are described over there :
https://forum.xda-developers.com/galaxy-s6/orig-development/rom-lineageos-14-1-t3598775/post72465060
Found VoLTE rom for S5 (snapdragon variants) https://forum.xda-developers.com/galaxy-s5/development/rom-s7ux-pure-stock-t3505699
kvsjxd said:
Found VoLTE rom for S5 (snapdragon variants) https://forum.xda-developers.com/galaxy-s5/development/rom-s7ux-pure-stock-t3505699
Click to expand...
Click to collapse
Explain please.
西村大一 said:
Explain please.
Click to expand...
Click to collapse
I didn't had to port IMS Manager to lineageos or any rom. And instead I tested the above specified rom, it's for SM-G900F but I flashed it on SM-G900W8 and SM-G900T. After flashing and booting up for the first time, I got VoLTE running on both devices without even changing a setting. Keep in mind that the rom have 3 bugs, SystemUI crashes when you get a notification from WhatsApp, You cannot disable the lockscreen, If you change lockscreen from swipe to something else and lock the screen, you won't be able to unlock the device. Then you'll need to factory reset/flash the rom again or have to manually remove lock using TWRP. I am switching to a different operator next week, I am tired of the battle for VoLTE. Hope it helps.
@TheMadScientist Please close this thread.
Mod Edit
Thread closed at the request of the [OP]
malybru
Senior Moderator

[ROM][X720|X727][7.1.X[TS] LineageOS 14.1 for Le Pro3

Hey!
We've published our LineageOS 14.1 for everyone. You can found ROMS in Team Superluminal website.
Thanks and enjoy!
ekkilm said:
Hey!
We've published our LineageOS 14.1 for everyone. You can found ROMS in Team Superluminal website.
Thanks and enjoy!
Click to expand...
Click to collapse
Many thanks for your work :good:
We just recognize that the Safetynet compatibilyty is broken. But no worries. We’ll release update soon where that will be fixed.
And…
IR blaster will work too. ?
Stay tuned folks!
Good job
ekkilm said:
We just recognize that the Safetynet compatibilyty is broken. But no worries. We’ll release update soon where that will be fixed.
And…
IR blaster will work too.
Stay tuned folks!
Click to expand...
Click to collapse
Flashed and running well. :good:
I do not have VoLTE though. Hope that is added in the future. Everything else running smooth. Going to keep stay on this ROM for a bit.
Thanks for sharing!
ROM UPDATE
-Fixed SafetyNet compliancy
-Fixed IR Blaster
Edit.
Update is also available via OTA, so check your updaters!
Would it be possible to provide a ZIP to get IR working also for users of the "vanilla" LOS 14.1 weekly builds? Or will that not work due to missing kernel requirements?
Thanks for your rom!! Why you didnt create this post in the rom section?
What's the difference between this and stock LineageOS 14.1?
chemicalboyxda said:
Thanks for your rom!! Why you didnt create this post in the rom section?
Click to expand...
Click to collapse
Because we have our own forum in TS site. This is just a note/info that we've published our build
darkmuck said:
What's the difference between this and stock LineageOS 14.1?
Click to expand...
Click to collapse
Try and see
darkmuck said:
What's the difference between this and stock LineageOS 14.1?
Click to expand...
Click to collapse
Some minor tweaks.
For example:
- SafetyNet compliant by default (banking apps, etc.. works)
- Easy root install/uninstall in ROM Extra Settings
- IR Blaster works
- No cracking audio
- Prevent accidental wakeup works (also when waking w/ fingerprint)
- Browser that actually works by default (SWE Browser)
- Better snap camera by default (OmniRom snap)
- OTA
Probably forgot something..
I have a few questions about this ROM since I had installed a ROM from Lineage OS website (lineage-14.1-20170512-nightly-zl1-signed) yesterday and it has bugs in the most basic and essentials things... The most ridiculous bug is the phone app that doesn't show the call screen when I try to call someone or when I receive a call from someone, it only shows the notification that I missed my call... And my camera stopped working after I change the resolution to a higher one, that was currently available... I had managed to fix that after I installed an app called open camera from Play Store.
Besides that I loved the ROM it self since it was my first time trying a Lineage OS ROM, but before I try to flash the one that you have in your website I would like to know if there are any bugs related to the phone calls, alarm clock, music player and notifications...
Thanks in advance
rijrg4 said:
I have a few questions about this ROM since I had installed a ROM from Lineage OS website (lineage-14.1-20170512-nightly-zl1-signed) yesterday and it has bugs in the most basic and essentials things... The most ridiculous bug is the phone app that doesn't show the call screen when I try to call someone or when I receive a call from someone, it only shows the notification that I missed my call... And my camera stopped working after I change the resolution to a higher one, that was currently available... I had managed to fix that after I installed an app called open camera from Play Store.
Besides that I loved the ROM it self since it was my first time trying a Lineage OS ROM, but before I try to flash the one that you have in your website I would like to know if there are any bugs related to the phone calls, alarm clock, music player and notifications...
Thanks in advance
Click to expand...
Click to collapse
We haven't face those kind of issues in our rom Sounds pretty strange issues overall. Did you do full wipes before installation? What gapps? Any mods?
I recommended you to check our site, download the rom and READ install instructions before installation. Those are the basic steps for rom/gapps installation.
I installed today. The first problem that i have is that the root option of this rom didnt work right. I have to manually install supersu to get root.
Second the adaptative brigthness didnt work ok, like other 7.1 roms.
Third i installed in a x727 and the signal is weak. I installed the modem version of the 19s rom but didnt change. I selected LTE/WCDMA, the same.
And the last one and for me is a problem, its that CDLA headphones didnt work. I get the sound over the speaker of the phone.
Sorry for my english.
chemicalboyxda said:
I installed today. The first problem that i have is that the root option of this rom didnt work right. I have to manually install supersu to get root.
Second the adaptative brigthness didnt work ok, like other 7.1 roms.
Third i installed in a x727 and the signal is weak. I installed the modem version of the 19s rom but didnt change. I selected LTE/WCDMA, the same.
And the last one and for me is a problem, its that CDLA headphones didnt work. I get the sound over the speaker of the phone.
Sorry for my english.
Click to expand...
Click to collapse
No no no no... And no supersu.. read the FAQ. There is a guide how to enable root. It is addonSU
ekkilm said:
No no no no... And no supersu.. read the FAQ. There is a guide how you enable root. It is addonSU
Click to expand...
Click to collapse
?? Easy root (install/uninstall in ROM Extra Settings)
And the cdla??
chemicalboyxda said:
?? Easy root (install/uninstall in ROM Extra Settings)
And the cdla??
Click to expand...
Click to collapse
1. Still that is pretty easy, you just have to enable it.
2. Unfortunately we don't have CDLA headphone for now so we're unable to test it. But we might bought those so we can maybe fix it in the future.
ekkilm said:
1. Still that is pretty easy, you just have to enable it.
2. Unfortunately we don't have CDLA headphone for now so we're unable to test it. But we might bought those so we can maybe fix it in the future.
Click to expand...
Click to collapse
1. I did that but when the phone reboots root not present. I have to install manually.
2. Thanks!
chemicalboyxda said:
1. I did that but when the phone reboots root not present. I have to install manually.
2. Thanks!
Click to expand...
Click to collapse
So you did with this guide TS FAQ?

Redmi note 8t custom rom and NFC

Hi, folks. I have a redmi note 8t.
I would like to know if installing a custom rom from miui (EU, MIglobe...) keeps the NFC for payments . I have heard that you can't, that you have to do root and install a magistk module...I hope you can help me with this doubt, since I have unlocked the bootloader...thank you very much!
I have MiUiMix on Android 9 with preinstalled root. I just downloaded magisk manager app and enabled magisk hide. Payments in Poland works.
Lineage 17.1 with Magisk & MagiskHidePropsConf.
Google Pay works fine (france).
Edit: Also, Widevine still L1 so Netflix in HD, Banks app, Pokemon Go works, etc..
_PePe_ said:
Hi, folks. I have a redmi note 8t.
I would like to know if installing a custom rom from miui (EU, MIglobe...) keeps the NFC for payments . I have heard that you can't, that you have to do root and install a magistk module...I hope you can help me with this doubt, since I have unlocked the bootloader...thank you very much!
Click to expand...
Click to collapse
If I got you right, you're asking if unlocking bootloader doesn't allow using NFC. If I'm not mistaken, I could use NFC when I unlocked the phone, but I'm not exactly sure.
If you ask after installing a custom ROM NFC works, for that yes, you definitely need to install magisk. Don't be scared though, it's an easy process. Just flash a ROM, then finalize it (ie. start the mobile and setup the ROM). Once you're done with it, go back to twrp and flash magisk. Then install magisk manager (apk).
When in magisk manager both parts are green (that both are installed and working right), rename magisk manager (change it to something other than manager), let it download magisk manager again, and turn on magisk hide. Restart the phone, and in the menu you'll find from which apps manager should hide itself. Choose the banking apps and you're all ready to go.
I use the same mobile, and these are the steps I took. It's simple, straightforward and intuitive. Don't worry, you'll have NFC once you follow these simple steps.
Thank you so much for your answer... I'm sorry I didn't answer sooner, but I couldn't because of my job...
Now I have the EU stable (miui11) waiting for me to update to 12 .... recommend me another rom based on miui ? .... thanks again and a greeting!
_PePe_ said:
Thank you so much for your answer... I'm sorry I didn't answer sooner, but I couldn't because of my job...
Now I have the EU stable (miui11) waiting for me to update to 12 .... recommend me another rom based on miui ? .... thanks again and a greeting!
Click to expand...
Click to collapse
First, you're most welcome!
Second, I didn't use any miui based ROM. Of those I tried, I fancied them in decreasing order as follows:
crDroid
LineageOS
Pixel Experience / Paranoid Android
In general, I can't say I'm dissatisfied with any. It's just minor stuff that put one over another, and all have been good in general. I use crDroid now simply because it allows more customizations - albeit I can't use front and aux cams. It's a singular issue though, as I don't read this from other users.
So I'd say try any, if you want. Because I use it now, I'd recommend crDroid but you'll find fans of all, and others that I didn't mention. It comes down to trial and error in the end.
NFC works with all four that I mentioned. In the beginning, when I first rooted and installed a custom ROM, my banking app warned me that I use a rooted phone and whatever, yet it's simple to fix. Don't worry about making NFC work, it really is easy. Step by step,
Install magisk from twrp
Install magisk manager
Rename magisk manager app
Open the app and let it install magisk again
Restart
Enable magisk hide
Restart
Then install your banking app and from magisk manager, add the banking app to hidden apps
And that's it. It seems a long process but takes five minutes.
Thank you very much for your comment my friend .....I have it in mind to install these roms ....greetings!

Safetynet fix on sm-t970 ??

i root my sm-t970 but i cant use app like netflix because my safetynet is locked...someone of you can advise me of to do that? or any other solutions?
davidlu333392 said:
i root my sm-t970 but i cant use app like netflix because my safetynet is locked...someone of you can advise me of to do that? or any other solutions?
Click to expand...
Click to collapse
Magisk hide.
Magisk hide seems to require props fingerprint. Currently there are no official fingerprint for galaxy tab s7, or plus
Waiting for this
I'm about to become your favorite person ever, everyone! ​I am currently passing SafetyNet after flashing the kdrag0n safetynet-fix to my Samsung Galaxy Tab S7+ SM-T970 and enabling the MagiskHide Props Config module in Magisk.​
HOWEVER, as was the case with literally all of the stock-based ROMs for the Galaxy S8, it appears that there will still be issues with a select few apps. For example, you will get soft-banned from Snapchat every few days. Also, certain healthcare apps will still be able to detect root (likely all related to Knox, since a Pixel 5 rooted via the same methods will launch the same apps without issue).
All the best from your fellow tinkerer - Godless1
(P.S. I'm going to copy and paste this into its own thread for better visibility.)
Godless1 said:
I'm about to become your favorite person ever, everyone! ​I am currently passing SafetyNet after flashing the kdrag0n safetynet-fix to my Samsung Galaxy Tab S7+ SM-T970 and enabling the MagiskHide Props Config module in Magisk.​
HOWEVER, as was the case with literally all of the stock-based ROMs for the Galaxy S8, it appears that there will still be issues with a select few apps. For example, you will get soft-banned from Snapchat every few days. Also, certain healthcare apps will still be able to detect root (likely all related to Knox, since a Pixel 5 rooted via the same methods will launch the same apps without issue).
All the best from your fellow tinkerer - Godless1
(P.S. I'm going to copy and paste this into its own thread for better visibility.)
Click to expand...
Click to collapse
It worked on my samsung galaxy tab s7 (sm-t870) thanks!

Categories

Resources