SElinux can't make be permissive - Samsung Galaxy J3 (2017) Questions & Answers

Guy's please help me, i have a problem with my phone Samsung Galaxy J330G/DS ,
The problem is : i can't make SElinux be permissive..
I had try Selinux changer = fail
Try to set script command on 08setperm = still fail..
I'm using magisk v to root my phone, not install xposed framework, is that the problem i can't make Selinux get in permissive? .. Please help me

Aby Triangga Rezka said:
Guy's please help me, i have a problem with my phone Samsung Galaxy J330G/DS ,
The problem is : i can't make SElinux be permissive..
I had try Selinux changer = fail
Try to set script command on 08setperm = still fail..
I'm using magisk v to root my phone, not install xposed framework, is that the problem i can't make Selinux get in permissive? .. Please help me
Click to expand...
Click to collapse
Shouldn't really need permissive mode for anything nowadays.
However: https://forum.xda-developers.com/apps/magisk/module-magisk-selinux-manager-t3760042

ashyx said:
Shouldn't really need permissive mode for anything nowadays.
However: https://forum.xda-developers.com/apps/magisk/module-magisk-selinux-manager-t3760042
Click to expand...
Click to collapse
So bad if cannot permissive, cause some apl cannot running without permissive mode.. I try everything a way to make it, but still enforce mode

Aby Triangga Rezka said:
So bad if cannot permissive, cause some apl cannot running without permissive mode.. I try everything a way to make it, but still enforce mode
Click to expand...
Click to collapse
Apps such as?

ashyx said:
Apps such as?
Click to expand...
Click to collapse
Like folder mount apl, system app remover, even game killer cannot working ???

Aby Triangga Rezka said:
Like folder mount apl, system app remover, even game killer cannot working ???
Click to expand...
Click to collapse
Did you try the Magisk selinux module?

ashyx said:
Did you try the Magisk selinux module?
Click to expand...
Click to collapse
Yes i did, and still installed on magisk manager..

Aby Triangga Rezka said:
Yes i did, and still installed on magisk manager..
Click to expand...
Click to collapse
I have a permissive kernel for the J330f, should also work for the J330G.
You're welcome to try it.

ashyx said:
I have a permissive kernel for the J330f, should also work for the J330G.
You're welcome to try it.
Click to expand...
Click to collapse
Please tell me step by step to do that.. Because i has try many many time but still not work..
For info: I using most the new version firmware, with security path 04/2018 ..

Aby Triangga Rezka said:
Please tell me step by step to do that.. Because i has try many many time but still not work..
For info: I using most the new version firmware, with security path 04/2018 ..
Click to expand...
Click to collapse
Here you go, just flash with ODIN in the AP slot. this is based on revision 1 firmware, so may not boot if you are running revision 3 firmware. If it doesn't boot just flash the AP tar file rom the stock firmware.
https://androidfilehost.com/?fid=674106145207489355
.

I has try, but my phone always bootloop , so i restore back all

Aby Triangga Rezka said:
I has try, but my phone always bootloop , so i restore back all
Click to expand...
Click to collapse
Like I said the kernel is from revision 1 firmware. You are revision 3, so there's was a good chance it would fail.

Look's like no other way to make it permissive

Aby Triangga Rezka said:
Look's like no other way to make it permissive
Click to expand...
Click to collapse
Apart from compiling the kernel from source probably not.

Then any other way to make it posible?

Related

Cm 13 SuperSU zip causing bootloop?

How many ppl got bootloop after flashing SuperSU
download superusersu zip 2.62 http://forum.xda-developers.com/showpost.php?p=64161125
video link :https://www.youtube.com/watch?v=IggeUC9Apck
Far too many people If they would read the thread they would know that this happens...
Andus1988 said:
Far too many people If they would read the thread they would know that this happens...
Click to expand...
Click to collapse
working for me watch this vid u ill get it https://www.youtube.com/watch?v=IggeUC9Apck;)
Tjsdj said:
working for me watch this vid u ill get it https://www.youtube.com/watch?v=IggeUC9Apck;)
Click to expand...
Click to collapse
Nice to know :good: But I don't need it
@Tjsdj
How would be the exact procedure?
(1. Flash ROM and Gapps.)
(2. Reboot system.)
1. and 2. can be ignored if we have a running system I guess?!
3. Reboot into recovery.
4. Flash custom kernel and supersu 2.52 together.
5. Reboot system.
Am I right?
Andus1988 said:
@Tjsdj
How would be the exact procedure?
(1. Flash ROM and Gapps.)
(2. Reboot system.)
1. and 2. can be ignored if we have a running system I guess?!
3. Reboot into recovery.
4. Flash custom kernel and supersu 2.52 together.
5. Reboot system.
Am I right?
Click to expand...
Click to collapse
I didn't flashed both files together but it should work ,I flashed one by one but their is a issue if u dirtyflash new update later it will again go in bootloop
Tjsdj said:
I didn't flashed both files together but it should work ,I flashed one by one but their is a issue if u dirtyflash new update later it will again go in bootloop
Click to expand...
Click to collapse
So I won't try it... Nevertheless thank you :good:
Andus1988 said:
So I won't try it... Nevertheless thank you :good:
Click to expand...
Click to collapse
Su zip 2.62 works well no need to flash custom kernel
Tjsdj said:
Su zip 2.62 works well no need to flash custom kernel
Click to expand...
Click to collapse
Please report again whether it bootloops after a (dirty) update or not
Andus1988 said:
Please report again whether it bootloops after a (dirty) update or not
Click to expand...
Click to collapse
LoL sure
Tjsdj said:
LoL sure
Click to expand...
Click to collapse
1) Sure it will bootloop or 2) sure u will report?
Andus1988 said:
1) Sure it will bootloop or 2) sure u will report?
Click to expand...
Click to collapse
sure i will report but i dont think it will bootloop since not messed with kernel
Tjsdj said:
sure i will report but i dont think it will bootloop since not messed with kernel
Click to expand...
Click to collapse
Okay, I'm curious about it
Andus1988 said:
Please report again whether it bootloops after a (dirty) update or not
Click to expand...
Click to collapse
no issues with su.zip no bootloop working fine
Tjsdj said:
no issues with su.zip no bootloop working fine
Click to expand...
Click to collapse
Which build of CM 13 and SuperSU? Custom kernel needed?
Andus1988 said:
Which build of CM 13 and SuperSU? Custom kernel needed?
Click to expand...
Click to collapse
all build supported no custom kernel needed i am using it now on nexus exp
Change SElinux to permissive, It will work
jd2050 said:
Change SElinux to permissive, It will work
Click to expand...
Click to collapse
Are you sure?

need help unbrick oreo

hi @ante0
i just tried to do a full unroot through supersu...
and now i cant boot -.-
error mode
attention
please update system again
error!
func no : 10 (boot image)
error no : 2 (load failed)
ezraiil1 said:
hi @ante0
i just tried to do a full unroot through supersu...
and now i cant boot -.-
error mode
attention
please update system again
error!
func no : 10 (boot image)
error no : 2 (load failed)
Click to expand...
Click to collapse
PROBLEM SOLVED!
had to extract and flash kernel manually.
Download this: https://mega.nz/#!kGZEjZSQ!iLAW0onaLACrG5v7BCYZUVH6WMO1ued8PWWcpMTY6Fs
Boot to fastboot mode.
Extract bootoreo.zip:
fastboot flash kernel KERNEL.IMG
fastboot flash ramdisk RAMDISK.IMG
See if that helps.
Edit: I was too late. Oh well
ante0 said:
Download this: https://mega.nz/#!kGZEjZSQ!iLAW0onaLACrG5v7BCYZUVH6WMO1ued8PWWcpMTY6Fs
Boot to fastboot mode.
Extract bootoreo.zip:
fastboot flash kernel KERNEL.IMG
fastboot flash ramdisk RAMDISK.IMG
See if that helps.
Edit: I was too late. Oh well
Click to expand...
Click to collapse
@ante0 please help ..!!!
ante0 said:
Download this: https://mega.nz/#!kGZEjZSQ!iLAW0onaLACrG5v7BCYZUVH6WMO1ued8PWWcpMTY6Fs
Boot to fastboot mode.
Extract bootoreo.zip:
fastboot flash kernel KERNEL.IMG
fastboot flash ramdisk RAMDISK.IMG
See if that helps.
Edit: I was too late. Oh well
Click to expand...
Click to collapse
Yo boss I know is not even the tread but I need little help to understand what do I need to do after installing custom kernel should I just install and let it be or I need any other app
I install hyperplus kernel on mate 9 oreo cause it supposed to get better battery life and speed thank you very much
mataflakitas said:
@ante0 please help ..!!!
Click to expand...
Click to collapse
What did you flash?
That error displays IF you flash an image intended for Nougat. Because on Nougat the recovery/boot partition included both ramdisk and zimage, in Oreo they are separate.
Or if it's corrupted.
Caguayote said:
Yo boss I know is not even the tread but I need little help to understand what do I need to do after installing custom kernel should I just install and let it be or I need any other app
I install hyperplus kernel on mate 9 oreo cause it supposed to get better battery life and speed thank you very much
Click to expand...
Click to collapse
You could install a kernel manager, but it shouldn't really be needed.
Unless you want to tweak the default settings a bit, then get something like Kernel Adiutor
ante0 said:
What did you flash?
That error displays IF you flash an image intended for Nougat. Because on Nougat the recovery/boot partition included both ramdisk and zimage, in Oreo they are separate.
Or if it's corrupted.
@Ante Exactly I was in Oreo and by mistake install an image of nougat .. then I ended up with that, some solution please help me, my version of my phone L09 C432 .. @Ante help please..?
Click to expand...
Click to collapse
ante0 said:
What did you flash?
That error displays IF you flash an image intended for Nougat. Because on Nougat the recovery/boot partition included both ramdisk and zimage, in Oreo they are separate.
Or if it's corrupted.
You could install a kernel manager, but it shouldn't really be needed.
Unless you want to tweak the default settings a bit, then get something like Kernel Adiutor[/QUOTE
Thank you for your help boss also the guy recommend
To do a full cycle charge the discharge for the kernel to set up I'm little confused how can i do a full charge if when I flash the kernel my battery was like 40%
So I guess the kernel startup from that.
Click to expand...
Click to collapse
mataflakitas said:
ante0 said:
What did you flash?
That error displays IF you flash an image intended for Nougat. Because on Nougat the recovery/boot partition included both ramdisk and zimage, in Oreo they are separate.
Or if it's corrupted.
Click to expand...
Click to collapse
@Ante Exactly I was in Oreo and by mistake install an image of nougat .. then I ended up with that, some solution please help me, my version of my phone L09 C432 .. @Ante help please..
Click to expand...
Click to collapse
Get to fastboot mode, you're currently in error mode.
Just hold power and volume down while USB is plugged in and you should end up in Fastboot mode. It might take a few tries.
Then flash a recovery for Oreo.
Caguayote said:
ante0 said:
What did you flash?
That error displays IF you flash an image intended for Nougat. Because on Nougat the recovery/boot partition included both ramdisk and zimage, in Oreo they are separate.
Or if it's corrupted.
You could install a kernel manager, but it shouldn't really be needed.
Unless you want to tweak the default settings a bit, then get something like Kernel Adiutor
Click to expand...
Click to collapse
Thank you for your help boss also the guy recommend
To do a full cycle charge the discharge for the kernel to set up I'm little confused how can i do a full charge if when I flash the kernel my battery was like 40%
So I guess the kernel startup from that.
Click to expand...
Click to collapse
Just let it drain now to 0% then charge to 100.
ante0 said:
Get to fastboot mode, you're currently in error mode.
Just hold power and volume down while USB is plugged in and you should end up in Fastboot mode. It might take a few tries.
Then flash a recovery for Oreo.
Exactly I can enter fastboot mode, but I do not know what files to flash, what do you recommend ...?
@ante0 ..
Click to expand...
Click to collapse
mataflakitas said:
ante0 said:
Get to fastboot mode, you're currently in error mode.
Just hold power and volume down while USB is plugged in and you should end up in Fastboot mode. It might take a few tries.
Then flash a recovery for Oreo.
Click to expand...
Click to collapse
Exactly I can enter fastboot mode, but I do not know what files to flash, what do you recommend ...?
@ante0 ..
Click to expand...
Click to collapse
Do you want to go back to stock recovery or TWRP?
If stock you can use this: https://mega.nz/#!9C4BkQyC!yYJWzK_gnvuwR8htnyDjJDFPgs_E3SBZ61MSJTnf060
If TWRP use this: https://mega.nz/#!tgd2BIRS!NOk3XkSaBX8PC5xjyrZNyIIz52aSoPZFphQNauhTKGQ
ante0 said:
Do you want to go back to stock recovery or TWRP?
If stock you can use this: https://mega.nz/#!9C4BkQyC!yYJWzK_gnvuwR8htnyDjJDFPgs_E3SBZ61MSJTnf060
If TWRP use this: https://mega.nz/#!tgd2BIRS!NOk3XkSaBX8PC5xjyrZNyIIz52aSoPZFphQNauhTKGQ
Click to expand...
Click to collapse
I will try to keep you informed...thanks
ante0 said:
Do you want to go back to stock recovery or TWRP?
If stock you can use this: https://mega.nz/#!9C4BkQyC!yYJWzK_gnvuwR8htnyDjJDFPgs_E3SBZ61MSJTnf060
If TWRP use this: https://mega.nz/#!tgd2BIRS!NOk3XkSaBX8PC5xjyrZNyIIz52aSoPZFphQNauhTKGQ
Click to expand...
Click to collapse
@ante0 brother install as you said, recovery stock everything well the flashing, but I do not achieve any change in the phone everything remains the same .. what is happening ..? It does not let me Reaching the recovery .. neither stock, nor TWRP helps @ ante0 .. what will be my problem
Help please ..up up ..!!! ???
i am having the same issue, all of my partitions are seemingly flashed correctly in order but i am bootlooping every gsi or openkirin build i flash idk what to do :/
Same here, I have high hopes for one day being able to flash these but even following all the instructions such as factory reset, format the data partition etc., it's a bootloop every time for me when flashing these and then a tedious return to EMUI.
TheDude1998 said:
i am having the same issue, all of my partitions are seemingly flashed correctly in order but i am bootlooping every gsi or openkirin build i flash idk what to do :/
Click to expand...
Click to collapse
I stuck with my Mate 9 Error mode numbers 11 and 2
mataflakitas said:
@ante0 brother install as you said, recovery stock everything well the flashing, but I do not achieve any change in the phone everything remains the same .. what is happening ..? It does not let me Reaching the recovery .. neither stock, nor TWRP helps @ ante0 .. what will be my problem
Click to expand...
Click to collapse
Hi, I have an error query when I start the phone Error Mode Func 11 Recovery Image, Error 2 Image Failed, my version is MH9-L09C432B368 I got this version following this tutorial:
android-hilfe.de/[/url] forum / root-custom-roms-modding-fuer-huawei-mate-9.3022 / anleitung-upgrade-auf-oreo-downgrade-auf-nougat.857015.html
everything worked perfect, but I got a version via OTA the 369 having the TWRP, Bootloader unlocked I had the brilliant idea to block the Bootloader to install version 369, there I start the problem of error 11 and 2.
Can anyone tell me what files should I flash to recover the cell phone? I have understood that I must flash the recovery img images as well as the img of the erecovery but I could not make the cell phone work, if I install the twrp it does not start either, they could tell me what steps I should take. Give to be able to save my cell phone?
Thank you very much everyone for the help you can give me
hybrid09 said:
Hi, I have an error query when I start the phone Error Mode Func 11 Recovery Image, Error 2 Image Failed, my version is MH9-L09C432B368 I got this version following this tutorial:
android-hilfe.de/[/url] forum / root-custom-roms-modding-fuer-huawei-mate-9.3022 / anleitung-upgrade-auf-oreo-downgrade-auf-nougat.857015.html
everything worked perfect, but I got a version via OTA the 369 having the TWRP, Bootloader unlocked I had the brilliant idea to block the Bootloader to install version 369, there I start the problem of error 11 and 2.
Can anyone tell me what files should I flash to recover the cell phone? I have understood that I must flash the recovery img images as well as the img of the erecovery but I could not make the cell phone work, if I install the twrp it does not start either, they could tell me what steps I should take. Give to be able to save my cell phone?
Thank you very much everyone for the help you can give me
Click to expand...
Click to collapse
Thanks ... :good:
mataflakitas said:
Thanks ... :good:
Click to expand...
Click to collapse
@mataflakitas
You can resolve your problem?
hybrid09 said:
@mataflakitas
You can resolve your problem?
Click to expand...
Click to collapse
I'm not in it, I'll confirm if I can succeed....:good:

Pixel 2 - Magisk problems thread

Hello
I have problem with Magisk 15.2
No costum kernel or any other mod
I am on latest January 2018 security patch
Take a look on screenshot for the problem
This is a good thing.
Lightn1ng said:
This is a good thing.
Click to expand...
Click to collapse
Yeah can you tell what can i do?
Maybe I'm missing the point, though your Magisk is showing everything is fine.
Sent from my Pixel 2 using Tapatalk
ApoelEllhnwn said:
Yeah can you tell what can i do?
Click to expand...
Click to collapse
Try Flash Kernel - it supposedly hides the bootloader unlock from applications.
Diesel_Jeremiah said:
Maybe I'm missing the point, though your Magisk is showing everything is fine.
Click to expand...
Click to collapse
Lightn1ng said:
Try Flash Kernel - it supposedly hides the bootloader unlock from applications.
Click to expand...
Click to collapse
I cant buy anything on clash royale but on magisk i pass safety net. I dont understand why this happen. I try ex kernel but same thing happen
ApoelEllhnwn said:
I cant buy anything on clash royale
Click to expand...
Click to collapse
That's a good thing.
I'll try to help anyways though. Go into Magisk > Three Lines > Magisk Hide > select Clash Royale. Then reboot and try again,
Lightn1ng said:
That's a good thing.
I'll try to help anyways though. Go into Magisk > Three Lines > Magisk Hide > select Clash Royale. Then reboot and try again,
Click to expand...
Click to collapse
Thank for your help but don't work
ApoelEllhnwn said:
Thank for your help but don't work
Click to expand...
Click to collapse
Now try Magisk Manager > Three Lines > Settings > Hide Magisk Manager. Reboot again afterwards.
Lightn1ng said:
Now try Magisk Manager > Three Lines > Settings > Hide Magisk Manager. Reboot again afterwards.
Click to expand...
Click to collapse
Already do that but nothing.
Maybe i must flash kernel that hide unlocked bootloader
ApoelEllhnwn said:
Already do that but nothing.
Maybe i must flash kernel that hide unlocked bootloader
Click to expand...
Click to collapse
try it
Clean flash latest factory image with flash kernel 2.08 and everything is ok!!

Root Samsung M21 easy

First unlock bootloader ---it will delete your all data
(Search for YouTube ..if u don't know )
After unlock
Download file given below
1.Go to device download mod
(Turn off phone -- press & hold both volume keys--- connect phone to pc with USB)
2.Download Odin
Go to Odin AP and flash file
(It will not delete any of your data )
And just restart
download magisk apk form browse
That's it.....hope u like it....
boot.tar
drive.google.com
This is for letest Samsung M21 (one UI 2.5)
has anyone tried this?
arslanwarya said:
has anyone tried this?
Click to expand...
Click to collapse
I tried and working 100% fine
IamRajnaik said:
I tried and working 100% fine
Click to expand...
Click to collapse
yes i tried today it worked ...thanks...just i dont know what to do with magisk lol
i am a new android user switching from iphone
arslanwarya said:
yes i tried today it worked ...thanks...just i dont know what to do with magisk lol
i am a new android user switching from iphone
Click to expand...
Click to collapse
Try live boot app from playstore
Try ainur narsil (magisk modual )
It will improve your sound way much better
( Also install audio modification library with that )
Try fk kernel manager
Try twrp recovery
IamRajnaik said:
Try live boot app from playstore
Try ainur narsil (magisk modual )
It will improve your sound way much better
( Also install audio modification library with that )
Try fk kernel manager
Try twrp recovery
Click to expand...
Click to collapse
woww i will look into it.. thanks
Can I update magisk?
ussashrock said:
Can I update magisk?
Click to expand...
Click to collapse
Ya ....you can do anything
Thanks for sharing the method. I am updating to UI 3.0, will see if the root method works on the new update.
Oneui 3.0 working?
rizwan.mahai said:
Thanks for sharing the method. I am updating to UI 3.0, will see if the root method works on the new update.
Click to expand...
Click to collapse
Is Oneui 3.0 working?
I
ussashrock said:
Oneui 3.0 working?
Click to expand...
Click to collapse
I haven't yet tried rooting on UI3.0.
Guys important notice
Don't install my file for latest 3.0 one ui
It will start bootloop
I will upload latest file in few days
First thing is updating to android 11 is very hard if you already rooted..
Trust me very very hard....
And nothing new in android 11
But if you still wanna waste time but experiment
Follow the process from my letest thread
its working on m21 2.5ui
jankees said:
its working on m21 2.5ui
Click to expand...
Click to collapse
Ya... but didn't work on 3.0
I uploaded letest file on other thread ( for 3.0)
Which build number is this for?
IamRajnaik said:
Ya... but didn't work on 3.0
I uploaded letest file on other thread ( for 3.0)
Click to expand...
Click to collapse
Which baseband version is this root for?
Anysce001 said:
Which baseband version is this root for?
Click to expand...
Click to collapse
M21 one ui 2.5

General I converted super to RW!

Model : A536N
Android : 13
Kernel : A536NKSU4CWB3 from Samsung opensource
(with permissive selinux, nuked kperfmon, defex)
(I refered afaneh92's kernel source commit, thank you!)
Thanks to RO2RW, my super partition is now RW!
I tried version 3.7.2.1, and flashed RW super image with TWRP, it works well.
I chose following options:
RW_SIZE="S=50% V=20% P=10% SE=10% OT=7%"
Skip DFE patch
"You can remove something, you want?" → No
force disable verification and verity
Recovery-flashable RW-Super image
tryin this nowdays
How do you uninstall it?
ActuallyJammy said:
How do you uninstall it?
Click to expand...
Click to collapse
i don't know nowdays how to de install this
ActuallyJammy said:
How do you uninstall it?
Click to expand...
Click to collapse
maybe... flash stock firmware?
gckim250 said:
maybe... flash stock firmware?
Click to expand...
Click to collapse
I already did...
ActuallyJammy said:
I already did...
Click to expand...
Click to collapse
Ah.. I forgot it, it can't be uninstalled unless replacing to new mainboard
BTW, Does some of your applications require System-RO?
gckim250 said:
Ah.. I forgot it, it can't be uninstalled unless replacing to new mainboard
BTW, Does some of your applications require System-RO?
Click to expand...
Click to collapse
Not really, I'm just scared of spyware because it's my main phone.
ActuallyJammy said:
How do you uninstall it?
Click to expand...
Click to collapse
just flash stock firmware with pit fle

Categories

Resources