Related
I searched lots of things to make it permissive...
I did this things
1)
/etc/init.d directory, create a file and rename it as 08setperm
2)
Added lines on that file
#!/system/sh
setenforce 0
It did work but when i tried rebooting it didn't...
Im using cm14.1 official..
I can't wipe anything because my storage is full
Twrp doesn't give me permission to do that and says selinux not premssive...
How to do it then?? I want it permanently not for temp purpose
Have you tried SELinux Mode Changer app? http://forum.xda-developers.com/showthread.php?t=2524485
acejavelin said:
Have you tried SELinux Mode Changer app? http://forum.xda-developers.com/showthread.php?t=2524485
Click to expand...
Click to collapse
But that's for temp use bro...
I can't add exposed....
Sagar_1401 said:
But that's for temp use bro...
I can't add exposed....
Click to expand...
Click to collapse
Yes you can. Set it where when the phone boots it notifs you that its changed to permissive. I've used it on LP, MM, and now 7.1. I've used it with Xposed and Viper just fine
After following the instructions to install V4A, I got a message stating that the drivers did not install. My BusyBox is good, root is good, and the vendor file is good...What should I try next?
whtgrizzly said:
After following the instructions to install V4A, I got a message stating that the drivers did not install. My BusyBox is good, root is good, and the vendor file is good...What should I try next?
Click to expand...
Click to collapse
Had the same problem, and eventually found this to be working:
SElinux permissive
Busybox in /su/xbin
supersu 2.79
flash v4a package
Give permissions to v4a app to access storage
Rename /vendor/etc/audio_effects.conf to audio_effects.conf.bak
i´m using ViperAtmos 5.5 Sony Beats Edition, which i prefer.
whtgrizzly said:
After following the instructions to install V4A, I got a message stating that the drivers did not install. My BusyBox is good, root is good, and the vendor file is good...What should I try next?
Click to expand...
Click to collapse
Of course, root is required.
Install busybox
Rename audio_effects.conf to "audio_effects.conf.bak" in /vendor/etc.
Reboot
Install drivers in V4A app
kasarona said:
Had the same problem, and eventually found this to be working:
SElinux permissive
Busybox in /su/xbin
supersu 2.79
flash v4a package
Give permissions to v4a app to access storage
Rename /vendor/etc/audio_effects.conf to audio_effects.conf.bak
i´m using ViperAtmos 5.5 Sony Beats Edition, which i prefer.
Click to expand...
Click to collapse
How do I set SElinux permissive? Everything else did correctly
whtgrizzly said:
How do I set SElinux permissive? Everything else did correctly
Click to expand...
Click to collapse
You can use this: https://forum.xda-developers.com/showthread.php?t=2524485
Since OTA updates NXT-L09CxxxB580+ for our devices is out and because of the fixes in the kernel, we are now able to root our device using Magisk.
This is a step-by-step guide leading you throughout the process and also stating the pros of using Magisk over using SuperSU.
News:
09/11/2017
- Magisk was updated to v14 which adds more root hiding mechanisms and also more devices compatibility.
07/18/2017
- Magisk was updated to version 13.3 and will once again pass SafetyNet without any issues
- To update, just open MagiskManager and press Download and Install (if you are new to Magisk, just follow guide below)
07/14/2017
- Google updated SafetyNet and Magisk devices will not pass it
Pros of using Magisk over SuperSU:
Automatic updates
Does not break OTA updates
Does not break SafetyNet (you will be able to use AndroidPay, play Pokemon Go, install Netflix from Google Play and use apps requiring SafetyNet pass)
Ability to install modules from the repository (much like xposed modules)
Before installation:
Unlock your bootloader
Make sure you have stock boot.img
Make sure you are on B580+ as Magisk cannot be installed on older versions
Installation:
Flash this recovery in fastboot: https://forum.xda-developers.com/mate-8/orig-development/twrp-t3576364
Flash latest Magisk in TWRP recovery: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Boot into system
Check your apps for Magisk Manager
[OPTIONAL] In the magisk manager, you can check if you pass SafetyNet
Troubleshooting:
Magisk Manager was not installed
- Open the Magisk.zip, inside open common folder and install magisk.apk
SafetyNet does not pass
- First try disabling and enabling Magisk Hide in the Magisk Manager
- If above does not help open stock Huawei dialer, dial *#*#2846579#*#*, tap Background settings, tap LOG settings, check all checkboxes, open Magisk Manager and disable and enable Magisk Hide
Supported devices:
All NXT-L29 B580+ devices
All NXT-L09 B580+ devices
All other Mate 8 versions with B580+
Basically any other device as Magisk is not device dependent (works with like 95% of all devices, as long as the device's kernel supports loop mount and few other things)
My Magisk Modules for Mate 8:
[Magisk] Official Huawei Automatic Call Recorder
Hope this will help you guys!
car nikolaj
. I recommend this app to anyone who want for the root acces. :good::good::good::good::good::good::good:
Does this method and the TWRP attached work on B585?
Thanks.
Just installed B581 via OTA and decided to give Magisk a try. I was able to get it installed by following your instructions but I'm not able to pass SafetyNet due to CTS profile mismatch. Any idea?
xxlap1xx said:
Just installed B581 via OTA and decided to give Magisk a try. I was able to get it installed by following your instructions but I'm not able to pass SafetyNet due to CTS profile mismatch. Any idea?
Click to expand...
Click to collapse
Same here. CTS profile mismatch
Fresh B581
Thanks for this, have not tried it yet but if I do, and I for some reason wish to unroot, how does one do that?
necc0 said:
Does this method and the TWRP attached work on B585?
Thanks.
Click to expand...
Click to collapse
Yes
xxlap1xx said:
Just installed B581 via OTA and decided to give Magisk a try. I was able to get it installed by following your instructions but I'm not able to pass SafetyNet due to CTS profile mismatch. Any idea?
Click to expand...
Click to collapse
sZx1 said:
Same here. CTS profile mismatch
Fresh B581
Click to expand...
Click to collapse
Did you installed Xposed? Check Magisk manager settings if you have Magisk hide enabled.
shestolemyusrname said:
Thanks for this, have not tried it yet but if I do, and I for some reason wish to unroot, how does one do that?
Click to expand...
Click to collapse
You just press uninstall button in Magisk manager
Boosik said:
Yes
Did you installed Xposed? Check Magisk manager settings if you have Magisk hide enabled.
You just press uninstall button in Magisk manager
Click to expand...
Click to collapse
When I boot into TWRP for the first time, should I keep Ready Only or Swipe to Allow Modifications?
Can you help me??
Magisk installed -all its ok, but im trying copy one folder and set attributes to system\app folder, but unfortunatelly - cannot write to system\app.... (i must install HwCallRecorder)
I tested Total commander and Root explorer
thx
Boosik said:
Yes
Did you installed Xposed? Check Magisk manager settings if you have Magisk hide enabled.
You just press uninstall button in Magisk manager
Click to expand...
Click to collapse
Nope, freshly installed B581. I read something about SafetyNet was being updated so that's probably why.
Sent from my HUAWEI NXT-L29 using Tapatalk
woji said:
Can you help me??
Magisk installed -all its ok, but im trying copy one folder and set attributes to system\app folder, but unfortunatelly - cannot write to system\app.... (i must install HwCallRecorder)
I tested Total commander and Root explorer
thx
Click to expand...
Click to collapse
I have the same issues as woji, and also can't write hosts file for AdAway.
Seemingly the simple reasons for rooting aren't available in systemless root, or we have errors preventing this?
Hilton.Swart said:
I have the same issues as woji, and also can't write hosts file for AdAway.
Seemingly the simple reasons for rooting aren't available in systemless root, or we have errors preventing this?
Click to expand...
Click to collapse
Same, I had issues with adaway not being to write hosts files using magisk as well. I went back and flashed SuperSU and the problem is gone.
Sent from my HUAWEI NXT-L29 using Tapatalk
Hilton.Swart said:
I have the same issues as woji, and also can't write hosts file for AdAway.
Seemingly the simple reasons for rooting aren't available in systemless root, or we have errors preventing this?
Click to expand...
Click to collapse
xxlap1xx said:
Same, I had issues with adaway not being to write hosts files using magisk as well. I went back and flashed SuperSU and the problem is gone.
Sent from my HUAWEI NXT-L29 using Tapatalk
Click to expand...
Click to collapse
Open Magisk Settings and enable Systemless hosts data.
Systemless root means you can't directly edit /system partition, because editing it voids SafetyNet. Magisk uses Magic Mount to systemlessly replace /system files and folders on-the-fly without actually modifying the original ones. All you need is appropriate modules from magisk manager "Downloads" tab.
woji said:
Can you help me??
Magisk installed -all its ok, but im trying copy one folder and set attributes to system\app folder, but unfortunatelly - cannot write to system\app.... (i must install HwCallRecorder)
I tested Total commander and Root explorer
thx
Click to expand...
Click to collapse
Try installing it as user app and use App Systemizer module in magisk manager to convert it to system app.
xxlap1xx said:
Nope, freshly installed B581. I read something about SafetyNet was being updated so that's probably why.
Sent from my HUAWEI NXT-L29 using Tapatalk
Click to expand...
Click to collapse
Yea you are right, I have it working, but the process is a bit tedious. We better wait for new Magisk version, where it should be fixed.
shestolemyusrname said:
When I boot into TWRP for the first time, should I keep Ready Only or Swipe to Allow Modifications?
Click to expand...
Click to collapse
Keep it Read Only.
Boosik said:
Open Magisk Settings and enable Systemless hosts data.
Click to expand...
Click to collapse
This was my first logical step when hosts would not apply, I've changed the settings numerous times and the host simply will not write.
Tried Magisk for the ability to keep SafetyNet intact, but it still fails any tests. So I think I'll follow xxlap1xx, and try Magisk at another time.
Boosik said:
Yes
Did you installed Xposed? Check Magisk manager settings if you have Magisk hide enabled.
You just press uninstall button in Magisk manager
Click to expand...
Click to collapse
No Xposed installed. Hide was enabled in settings and in hide tab as well.
Reading about SafetyNet looks like unlocked bootloader can be a problem.
V13 beta same results.
Probably have to wait for workaround
Thanks.
Hilton.Swart said:
This was my first logical step when hosts would not apply, I've changed the settings numerous times and the host simply will not write.
Tried Magisk for the ability to keep SafetyNet intact, but it still fails any tests. So I think I'll follow xxlap1xx, and try Magisk at another time.
Click to expand...
Click to collapse
sZx1 said:
No Xposed installed. Hide was enabled in settings and in hide tab as well.
Reading about SafetyNet looks like unlocked bootloader can be a problem.
V13 beta same results.
Probably have to wait for workaround
Thanks.
Click to expand...
Click to collapse
I already know how to workaround it, but the process is a bit unfriendly to normal users (requires terminal emulator). We better wait for new Magisk beta.
Boosik said:
Yes
Did you installed Xposed? Check Magisk manager settings if you have Magisk hide enabled.
You just press uninstall button in Magisk manager
Click to expand...
Click to collapse
Boosik said:
I already know how to workaround it, but the process is a bit unfriendly to normal users (requires terminal emulator). We better wait for new Magisk beta.
Click to expand...
Click to collapse
Can you, please, share. I'm pretty handy with terminal and willing to experiment. Worst - have to return to stock.
Thanks
Recently it has come out xposed framework by rovo89 for android N:
https://forum.xda-developers.com/showthread.php?t=3034811
Has anyone tried it on the p10 lite, with rom stock + recovery + root? or in some other device huawei with rom stock and emui 6?
Thanks in advance.
I've tried it and it works fine, but since I rooted my p10 and installed xposed my battery started to drain noticeably faster, so I went back to stock.
I use xposed with magisk v14 and no battery drain(I think)
Testing and work fine.
Some times, after reboot, xposed in disabled. Need run this attached script on init, in /su/su.d
mpiero11 said:
Testing and work fine.
Some times, after reboot, xposed in disabled. Need run this attached script on init, in /su/du.d
Click to expand...
Click to collapse
I get this too, but to fix I just untick all enabled modules in xposed, reboot, enable modules again and reboot again.
hayabusa2yk said:
I use xposed with magisk v14 and no battery drain(I think)
Click to expand...
Click to collapse
How did you install magisk?
plerohero said:
How did you install magisk?
Click to expand...
Click to collapse
Just flash in TWRP
sorry for my bad English
mpiero11 said:
Testing and work fine.
Some times, after reboot, xposed in disabled. Need run this attached script on init, in /su/su.d
Click to expand...
Click to collapse
I am facing the same problem and when I tried to use your solution its not working either.
I somehow able to found out the error (by using init.d scripts app):
Path is not correct for
/data/user_de/0/de.robv.android.xposed.installer/conf/enabled.modules.list
/data/user_de/0/de.robv.android.xposed.installer/conf/modules.list
On checking the path appears to be correct. Then whats the issue here? Please guide.
My P10-Lite is rooted. So I can see the path actually exists in my phone's root folder.
Thanks
mzeeshan2 said:
I am facing the same problem and when I tried to use your solution its not working either.
I somehow able to found out the error (by using init.d scripts app):
Path is not correct for
/data/user_de/0/de.robv.android.xposed.installer/conf/enabled.modules.list
/data/user_de/0/de.robv.android.xposed.installer/conf/modules.list
On checking the path appears to be correct. Then whats the issue here? Please guide.
My P10-Lite is rooted. So I can see the path actually exists in my phone's root folder.
Thanks
Click to expand...
Click to collapse
Change permisions for .sh file, chmod 777 to script, reboot and enjoy.
No problems for my.
Has anyone managed to get Viper4Android working on this device yet? I've managed to install it two separate times, via the Magisk module then the flashable zip after removing the module. The app loaded, but it didn't do anything audiowise.
winebar_ said:
Has anyone managed to get Viper4Android working on this device yet? I've managed to install it two separate times, via the Magisk module then the flashable zip after removing the module. The app loaded, but it didn't do anything audiowise.
Click to expand...
Click to collapse
Did you check driver status? Turn it on for the method you're playing (headphone or whatever) then play some music then open viper and check driver status.
Here's a screenshot of the driver status with music playing in the background.
Look here: https://forum.xda-developers.com/mo...udio-upgrade-available-moto-e4-t3701602/page3 Flashing the Dolby Atmos add-on isn't necessary.
---------- Post added at 08:46 PM ---------- Previous post was at 08:43 PM ----------
winebar_ said:
Here's a screenshot of the driver status with music playing in the background.
Click to expand...
Click to collapse
It looks like it's working. But if your playing music when taking that screen shot, I think processing should say "yes" not "no."
volatile1 said:
Look here: https://forum.xda-developers.com/mo...udio-upgrade-available-moto-e4-t3701602/page3 Flashing the Dolby Atmos add-on isn't necessary.
---------- Post added at 08:46 PM ---------- Previous post was at 08:43 PM ----------
It looks like it's working. But if your playing music when taking that screen shot, I think processing should say "yes" not "no."
Click to expand...
Click to collapse
I have the app installed, but I keep getting an I/O error when I try to install the driver.
winebar_ said:
I have the app installed, but I keep getting an I/O error when I try to install the driver.
Click to expand...
Click to collapse
Do you have selinux set to permissive?
volatile1 said:
Do you have selinux set to permissive?
Click to expand...
Click to collapse
Yes I do.
winebar_ said:
Yes I do.
Click to expand...
Click to collapse
Never mind then, I managed to get it to work by installing the Viper4Android FX Magisk module. It didn't install the v4a app and kept the v4Arise app.
winebar_ said:
Never mind then, I managed to get it to work by installing the Viper4Android FX Magisk module. It didn't install the v4a app and kept the v4Arise app.
Click to expand...
Click to collapse
How did you get magisk modules to install? Because of the f2fs implementation on stock?
madbat99 said:
How did you get magisk modules to install? Because of the f2fs implementation on stock?
Click to expand...
Click to collapse
I'm running Resurrection Remix, not stock.
winebar_ said:
I'm running Resurrection Remix, not stock.
Click to expand...
Click to collapse
Why would you be running a custom rom when none of them for the E4 have phone data working, are you on something other than CDMA??
PimpMy5Ton said:
Why would you be running a custom rom when none of them for the E4 have phone data working, are you on something other than CDMA??
Click to expand...
Click to collapse
I don't use a service, never had the money to pay for one.
PimpMy5Ton said:
Why would you be running a custom rom when none of them for the E4 have phone data working, are you on something other than CDMA??
Click to expand...
Click to collapse
GSM side has working data
Usually, you have to go into /system/vendor/etc and rename or delete (I always just append ".old" to the end) the audio_effects.conf file. I installed V4A via Magisk module, but can not get access to rename the audio_effects.conf file. I can write to the /vendor/etc directory but not delete or rename the file.
marinegundoctor said:
Usually, you have to go into /system/vendor/etc and rename or delete (I always just append ".old" to the end) the audio_effects.conf file. I installed V4A via Magisk module, but can not get access to rename the audio_effects.conf file. I can write to the /vendor/etc directory but not delete or rename the file.
Click to expand...
Click to collapse
Editing things in /vendor causes a lock up. But you can do it using twrp file manager. You can delete or rename anything you want there. Hope this helps.
madbat99 said:
Editing things in /vendor causes a lock up. But you can do it using twrp file manager. You can delete or rename anything you want there. Hope this helps.
Click to expand...
Click to collapse
How do you do it in TWRP? I took a whack at it but can't seem to get anything to mount.
Thanks
marinegundoctor said:
How do you do it in TWRP? I took a whack at it but can't seem to get anything to mount.
Thanks
Click to expand...
Click to collapse
Go to the "mount" section in twrp and mount oem. Then it will show in the file manager.
See screenshot
madbat99 said:
See screenshot
Click to expand...
Click to collapse
Thanks, I tried it before but wasn't looking in the correct folder lol.c