I have a couple apps that need selinux permissive but attempting any past methods seems to throw an error during boot that the "android system has experienced an error and must be reset/wiped" (or something like that).
My last HTC One, M7 and M8 (m8 on marshmallow), I could just use init.d to enforce permissive. When I do it on my rooted, s-off htc 10, I get that error during bootup if I use init.d. If I run the script post boot up, the apps work fine however I need it to be permissive by default.
Is this due to the new security and encryption issues?
I see lee's ROM has permissive but his scripts would not work for me either.
Does anyone know how to get permissive working or provide a script to flash for those of us who need it?
Does system need to be RW for it to work? If so, is there a script for the 10 to do that as well?
Thank you!
MNoisy said:
I have a couple apps that need selinux permissive but attempting any past methods seems to throw an error during boot that the "android system has experienced an error and must be reset/wiped" (or something like that).
My last HTC One, M7 and M8 (m8 on marshmallow), I could just use init.d to enforce permissive. When I do it on my rooted, s-off htc 10, I get that error during bootup if I use init.d. If I run the script post boot up, the apps work fine however I need it to be permissive by default.
Is this due to the new security and encryption issues?
I see lee's ROM has permissive but his scripts would not work for me either.
Does anyone know how to get permissive working or provide a script to flash for those of us who need it?
Does system need to be RW for it to work? If so, is there a script for the 10 to do that as well?
Thank you!
Click to expand...
Click to collapse
Same here bro
Raqib1994 said:
Same here bro
Click to expand...
Click to collapse
I ended up using an app called init.d scripts support. Its available in the app store.
After installing it you create a folder with all of your scripts in it. You can then set in the app when you want the scripts to run...automatically, delayed, specific conditions, etc.
I just threw a permissive script in the folder and boom, working perfectly! Let me know if you need the script if you end up taking this route.
MNoisy said:
I have a couple apps that need selinux permissive but attempting any past methods seems to throw an error during boot that the "android system has experienced an error and must be reset/wiped" (or something like that).
My last HTC One, M7 and M8 (m8 on marshmallow), I could just use init.d to enforce permissive. When I do it on my rooted, s-off htc 10, I get that error during bootup if I use init.d. If I run the script post boot up, the apps work fine however I need it to be permissive by default.
Is this due to the new security and encryption issues?
I see lee's ROM has permissive but his scripts would not work for me either.
Does anyone know how to get permissive working or provide a script to flash for those of us who need it?
Does system need to be RW for it to work? If so, is there a script for the 10 to do that as well?
Thank you!
Click to expand...
Click to collapse
Raqib1994 said:
Same here bro
Click to expand...
Click to collapse
MNoisy said:
I ended up using an app called init.d scripts support. Its available in the app store.
After installing it you create a folder with all of your scripts in it. You can then set in the app when you want the scripts to run...automatically, delayed, specific conditions, etc.
I just threw a permissive script in the folder and boom, working perfectly! Let me know if you need the script if you end up taking this route.
Click to expand...
Click to collapse
you could flash this in recovery after the first complete boot of leedroid rom...
SeLinux-Permissive_fix -- > https://www.androidfilehost.com/?fid=24591000424945158
SacredDeviL666 said:
you could flash this in recovery after the first complete boot of leedroid rom...
SeLinux-Permissive_fix -- > https://www.androidfilehost.com/?fid=24591000424945158
Click to expand...
Click to collapse
Thats great! Thank you.
Has this been tested on stock ROM? The update-binary is encoded so I was trying to make sense of it.
MNoisy said:
Thats great! Thank you.
Has this been tested on stock ROM? The update-binary is encoded so I was trying to make sense of it.
Click to expand...
Click to collapse
yeaps it should....
you mentioned you are on Lee or you asking in general would it work for stock?
SacredDeviL666 said:
yeaps it should....
you mentioned you are on Lee or you asking in general would it work for stock?
Click to expand...
Click to collapse
I am on stock 1.80.617, NOT on Lee. I am asking if this works for stock. When he first released his ROM his permissive did not work when I tried (If I recall trying it correctly) but this was on his initial builds.
MNoisy said:
I am on stock 1.80.617, NOT on Lee. I am asking if this works for stock. When he first released his ROM his permissive did not work when I tried (If I recall trying it correctly) but this was on his initial builds.
Click to expand...
Click to collapse
yeaps it should...
MNoisy said:
...Let me know if you need the script if you end up taking this route.
Click to expand...
Click to collapse
It looks like I need it, thanks.
Bill Gamble said:
It looks like I need it, thanks.
Click to expand...
Click to collapse
Attached
MNoisy said:
Attached
Click to expand...
Click to collapse
Looks like it not attaching. Pm me your email
MNoisy said:
Looks like it not attaching. Pm me your email
Click to expand...
Click to collapse
Thanks, anyway. It turns out that the following works just fine:
Code:
#!/system/sh
setenforce 0
Related
If your /system partition is write protected like on the HTC One (M7) and you try to use an advertisement blocker like AdAway, you will encounter that changes to /system/etc/hosts are lost after reboot and ad blocking doesn't work. You have basically 3 methods to get around this:
A) Link /system/etc/hosts to a partition AdAway can write to
Install symlink_hosts_to_data.zip via your custom recovery (like CWM) to create a symbolic link from /system/etc/hosts to /data/data/hosts. Afterwards you can configure AdAway to use /data/data/hosts (as shown in attached screenshot) and it will work perfectly with updates and everything.
B) Flash the hosts file directly
Install adaway_hosts_2014-04-14.zip via recovery. Now you have the hosts file as AdAway created on April 14th 2014. Disadvantage: you would need to flash again for updates. Advantage: you don't need the AdAway app at all. Note: many custom ROMs include such a hosts file already in their distribution.
C) Make /system partition writable
Use this kernel extension or a custom ROM including it to have the /system partition writable all the time. AdAway will work out-of-the-box then.
If you like to restore original state after having flashed one of the recovery zips above, use the attached restore_original_hosts.zip
Mantelinho said:
The attached recovery flashable update.zip modifies your /system/etc/hosts file just like AdAway or Adblock Plus would. Useful if your /system partition is write protected like on the HTC One (and changes are lost after reboot).
You need
a custom recovery like ClockWorkMod on your device
the understanding that you will use this script at your own risk
You could also
make the /system partition writable via kernel patch and use the app
use a custom ROM which comes with an ad-blocking hosts file already
This uses the hosts list from AdAway as of June 17th 2013. All credits for this to AdAway and its contributors
Click to expand...
Click to collapse
Can you create a script which creates the symbolic link i.e. the approach recommended in AdAway help (S-ON/S-OFF)? That would allow the file to be updated by the app over time...
melando said:
Can you create a script which creates the symbolic link i.e. the approach recommended in AdAway help (S-ON/S-OFF)? That would allow the file to be updated by the app over time...
Click to expand...
Click to collapse
This makes sense if you want to keep using the app, thanks for the hint. I uploaded symlink_hosts_to_data.zip and updated the opening post. This will work also after having the other zip already applied.
Cheers, do I need all 3 zips or just the one dated today?
Sent from my Nexus 7 using xda app-developers app
jonny68 said:
Cheers, do I need all 3 zips or just the one dated today?
Click to expand...
Click to collapse
Either the one dated (and you're fine) OR the symlink one if wanting to use AdAway configured to write to /data/data/hosts. The third file is only for restoring original state.
Cheers, so should this block all ads then, I had the ad block apk. But it didn't block all annoying ads?
Sent from my Nexus 7 using xda app-developers app
jonny68 said:
Cheers, so should this block all ads then, I had the ad block apk. But it didn't block all annoying ads?
Click to expand...
Click to collapse
This should block all ads so far (at least it absolutely does for me). However the list of ad servers is actively maintained by hosts-file.net. If you should find an ad host not blocked you can post it there and it will find its way back to AdAway. To be always up-to-date I recommend using AdAway with the symlink method from OP.
Dunno why but it doesn't block ads on the goal.com app but for some reason no adblock app ever really did, strange!
Sent from my Nexus 7 using xda app-developers app
sinna ketskm
Hey, just inquiring...
I've done the "flash host files directly" step, and playing Subway Surfers.
It would seem that ads are only blocked on that game when I have system set to RW...(I think...?...not 100% sure, but it would seem this way)
I was under the impression that it shouldn't matter because I'm flashing the host file directly?
Can anyone offer their thoughts please.
B BOY DRAW2 said:
Hey, just inquiring...
I've done the "flash host files directly" step, and playing Subway Surfers.
It would seem that ads are only blocked on that game when I have system set to RW...(I think...?...not 100% sure, but it would seem this way)
I was under the impression that it shouldn't matter because I'm flashing the host file directly?
Can anyone offer their thoughts please.
Click to expand...
Click to collapse
Yes, after flashing the hosts files directly no further steps should be necessary and ads be gone. Can you verify that ads also exist in other applications (or websites)? Maybe this is an issue with the app you are using, for example if it loads its apps from its own (unblocked) server.
Yeah, I think you're right about it perhaps being app related. I think maybe I need to monitor it a bit more closely and take random notes...
like sometimes I'm bombarded with advertisments any time I touch to advance or go back through menus...but just in that app...then I'll reboot...and sometimes it'll go a full day without ads...?
I also use a local news app which would normally advertise dating links, but those don't seem to appear...so it's definitely working.
All good though...thanks for answering that for me!
Much appreciated!!!
Mantelinho said:
Install symlink_hosts_to_data.zip via your custom recovery (like CWM) to create a symbolic link from /system/etc/hosts to /data/data/hosts. Afterwards you can configure AdAway to use /data/data/hosts.
Click to expand...
Click to collapse
Thanks so much for this info Mantelinho, I had been looking for a solution. When using this 1st method, do I need to flash symlink_hosts_to_data.zip in recovery after every ROM flash? I.e., I'm dirty-flashing CyanogenMod nightlies every other day or so and I'm not sure if need to re-create the symlink after every flash.
edit: I have discovered I DO need to flash symlink_hosts_to_data.zip after every ROM flash.
Sorry to bump an old thread. Will this work on the new M8 variant of the One, or will it only work on the M7 variant?
TrainAss said:
Sorry to bump an old thread. Will this work on the new M8 variant of the One, or will it only work on the M7 variant?
Click to expand...
Click to collapse
im sure it works
Child's Play said:
im sure it works
Click to expand...
Click to collapse
It does work. I forgot to change data location.
Sent from my HTC One (M8) using Tapatalk Pro
Can i use twrp and will work in moto x?
Hi, is this guide specific for the HTC One? Or would it perhaps work on my HTC One S too?
Sandeman1976 said:
Hi, is this guide specific for the HTC One? Or would it perhaps work on my HTC One S too?
Click to expand...
Click to collapse
Its for htc phones with s-on
---------- Post added at 11:26 AM ---------- Previous post was at 11:11 AM ----------
gskelter said:
Can i use twrp and will work in moto x?
Click to expand...
Click to collapse
If cwm or twrp is available for ur device, u can flash cwm or twrp
Child's Play said:
Its for htc phones with s-on
Click to expand...
Click to collapse
Ok, thanks!
FF.
i have s6 sprint unlocked living outside USA and using sim other than sprint. i updated my phone to MM but i am not able to use hotspot as there is no option in settings for wifi tether ... pls help
Try THIS
1619415 said:
Try THIS
Click to expand...
Click to collapse
I am also putting out (soon) a zip flash that will correct the phone for wifi hotspot and also enabling init.d support. If you are rooted, you are welcome to test it out.
Sent from my SM-G920P using Tapatalk
tdhite said:
I am also putting out (soon) a zip flash that will correct the phone for wifi hotspot and also enabling init.d support. If you are rooted, you are welcome to test it out.
Sent from my SM-G920P using Tapatalk
Click to expand...
Click to collapse
Your old one still works
1619415 said:
Your old one still works
Click to expand...
Click to collapse
Yea, but init.d support is needed in stock ROM so it can do its work every boot to make sure it sticks. Besides, nice to have busybox support while we hack up some base setups on the way to real Roms.
Sent from my SM-G920P using Tapatalk
tdhite said:
Yea, but init.d support is needed in stock ROM so it can do its work every boot to make sure it sticks. Besides, nice to have busybox support while we hack up some base setups on the way to real Roms.
Sent from my SM-G920P using Tapatalk
Click to expand...
Click to collapse
Kernel Auditor has init.d emulation that's what I'm using, I just copied the code from the script and put it in
tdhite said:
I am also putting out (soon) a zip flash that will correct the phone for wifi hotspot and also enabling init.d support. If you are rooted, you are welcome to test it out.
Sent from my SM-G920P using Tapatalk
Click to expand...
Click to collapse
Thank you, i will wait for the zip file ☺
tdhite said:
Yea, but init.d support is needed in stock ROM so it can do its work every boot to make sure it sticks. Besides, nice to have busybox support while we hack up some base setups on the way to real Roms.
Sent from my SM-G920P using Tapatalk
Click to expand...
Click to collapse
Are you just going to make a kernel?
1619415 said:
Are you just going to make a kernel?
Click to expand...
Click to collapse
Yes, working on that. But the flash needs no kernel update (it modifies /init.rc to inject init.d support into stock or other roms missing init.d support).
It's up: http://forum.xda-developers.com/showpost.php?p=65864177&postcount=8
For kernels, I will use the same basic model, inject the kernel and any necessary init.rc support into the existing boot.img, not require a complete boot.img load. I also dislike modifying start scripts in /system/etc to try to inject init.d support because /init.rc can do it much easier and more controllably.
You are welcome to look at the flash in the above post to see how the tools in the "tools" directory perform boot.img extraction, explosion, fixup, then repack if that's not familiar. Only diff with a kernel is to replace the zImage with the custom kernel in the repack command. Makes the flash much smaller since I don't have to carry the ramdisk just for a kernel update.
tdhite said:
Yes, working on that. But the flash needs no kernel update (it modifies /init.rc to inject init.d support into stock or other roms missing init.d support).
It's up: http://forum.xda-developers.com/showpost.php?p=65864177&postcount=8
For kernels, I will use the same basic model, inject the kernel and any necessary init.rc support into the existing boot.img, not require a complete boot.img load. I also dislike modifying start scripts in /system/etc to try to inject init.d support because /init.rc can do it much easier and more controllably.
You are welcome to look at the flash in the above post to see how the tools in the "tools" directory perform boot.img extraction, explosion, fixup, then repack if that's not familiar. Only diff with a kernel is to replace the zImage with the custom kernel in the repack command. Makes the flash much smaller since I don't have to carry the ramdisk just for a kernel update.
Click to expand...
Click to collapse
I'll check it out later, thanks man:good:
tdhite said:
Yes, working on that. But the flash needs no kernel update (it modifies /init.rc to inject init.d support into stock or other roms missing init.d support).
It's up: http://forum.xda-developers.com/showpost.php?p=65864177&postcount=8
For kernels, I will use the same basic model, inject the kernel and any necessary init.rc support into the existing boot.img, not require a complete boot.img load. I also dislike modifying start scripts in /system/etc to try to inject init.d support because /init.rc can do it much easier and more controllably.
You are welcome to look at the flash in the above post to see how the tools in the "tools" directory perform boot.img extraction, explosion, fixup, then repack if that's not familiar. Only diff with a kernel is to replace the zImage with the custom kernel in the repack command. Makes the flash much smaller since I don't have to carry the ramdisk just for a kernel update.
Click to expand...
Click to collapse
Dude, i tried both the files, installed from twrp but none of them worked still no hotspot...
On lollipop i had no such issue of hotspot.
Screenshot
omar_31091 said:
Dude, i tried both the files, installed from twrp but none of them worked still no hotspot...
On lollipop i had no such issue of hotspot.
Click to expand...
Click to collapse
Screenshot
omar_31091 said:
Dude, i tried both the files, installed from twrp but none of them worked still no hotspot...
On lollipop i had no such issue of hotspot.
Click to expand...
Click to collapse
Are you rooted? Please attach the file at /data/local/tmp/tdh-hotspot.log so i can see what it is doing. On your phone.
Here is what my OTA had after flashing the mod -- hotspot is there.
Sent from my SM-G920P using Tapatalk
Yes ..
tdhite said:
Are you rooted? Please attach the file at /data/local/tmp/tdh-hotspot.log so i can see what it is doing. On your phone.
Here is what my OTA had after flashing the mod -- hotspot is there.
Sent from my SM-G920P using Tapatalk
Click to expand...
Click to collapse
Yes, i am rooted
Ok, thinking the db update might be too late in the boot process for the settings app to pick it up.
Can you reboot and resend that log file and also check settings again?
Sent from my SM-G920P using Tapatalk
tdhite said:
Ok, thinking the db update might be too late in the boot process for the settings app to pick it up.
Can you reboot and resend that log file and also check settings again?
Sent from my SM-G920P using Tapatalk
Click to expand...
Click to collapse
I installed it again restarted 2-3 times nothing has change in the settings, maybe i should wait for the custom rom to come....
UPDATE: Thanks to @squid2's insight, there's a better method that should work for everyone. Just download the attached script, remove the .txt extension, and drop into your su.d folder with proper permissions. For more information, see here and here.
------------------------------
This is all thanks to @nkk71, btw. Right now the fix is very hacky but I'm sure ROM devs will find a more appropriate fix soon.
I'm not sure if I want to reveal the fix publicly in case HTC's spies are monitoring the thread, lol....probably better safe than sorry. But go visit nkk71's profile and buy him many beers for figuring this out. And also find some posts by him and click "Thanks."
WARNING: Dragons ahead! Anything you flash to your device is done at your own risk!
EDIT: Alright, I'll publish a flashable zip here based on the 1.53.617.5 US Unlocked Edition. I've been testing the mod/hack for a few days now and have seen no ill effects. It should work fine on ROMs using that base.
I have NO IDEA if it'll work on ROMs using an International/Europe base or on CDMA. If you really want to try it, make sure you make a backup first! You will need to "Format Data" in TWRP and flash the standard SuperSU zip to remove forced encryption (or do it manually, if you know how).
Let the bricking begin!
P.S. Thanks of course also go to @Chainfire for SuperSU and su.d!
Just let the ROM cooks know =)
ChronoReverse said:
Just let the ROM cooks know =)
Click to expand...
Click to collapse
They already do
I don't really find it hacky, just another workaround
Unfortunately, due to personal reasons, I have personally decided not to share this.
(I know you above all others will understand)
It is not a secret, I have a certainly made it public (or so I thought) enough.
Unfortunately the controversy, I'm not willing to deal with... An innocent "share", turned ugly
I fully endorse this method, though I only had 7 mins of testing, before things got very ugly, a very very very very very very very very very very unfortunate incident.
So be it.
The method is still sound, and anybody who wishes to use it, I have neither any objections, just please test it.
Thanks
nkk71
Sent from my HTC 10 using Tapatalk
nkk71 said:
I don't really find it hacky, just another workaround
Unfortunately, due to personal reasons, I have personally decided not to share this.
(I know you above all others will understand)
It is not a secret, I have a certainly made it public (or so I thought) enough.
Unfortunately the controversy, I'm not willing to deal with... An innocent "share", turned ugly
I fully endorse this method, though I only had 7 mins of testing, before things got very ugly, a very very very very very very very very very very unfortunate incident.
So be it.
The method is still sound, and anybody who wishes to use it, I have neither any objections, just please test it.
Thanks
nkk71
Click to expand...
Click to collapse
You think I should post it? Or do you think HTC might find it and try and change their method?
Captain_Throwback said:
You think I should post it? Or do you think HTC might find it and try and change their method?
Click to expand...
Click to collapse
In my humble opinion, go for it
I doubt HTC will change the code, and it is a workaround [emoji2]
Unless something is being changed... Elsewhere (doubt it) , I Personally, have briefly tested and accept it
Sent from my HTC 10 using Tapatalk
nkk71 said:
In my humble opinion, go for it
I doubt HTC will change the code, and it is a workaround [emoji2]
Unless something is being changed... Elsewhere (doubt it) , I Personally, have briefly tested and accept it
Click to expand...
Click to collapse
Done.
This should be fun, lol. Let the brickings begin!
Captain_Throwback said:
Done.
This should be fun, lol. Let the brickings begin!
Click to expand...
Click to collapse
Well I did, trip verity,verified, and a few other things [emoji4]
Oh, wait, I was testing some thing els [emoji23]
Sent from my HTC 10 using Tapatalk
Looking at the logic in the HTC RIL library, in Pythonic pseudocode, it goes something like this:
Code:
if property_get("ro.crypto.state") != "encrypted":
if property_get("persist.radio.current.cnv", default="-1") == "-1":
if htcril_db_property_get("current.cnv") != "-1":
htcril_db_property_set("current.cnv", "-1")
Other libraries then query the htcril DB via the library, and behave differently if the current.cnv property is set in the DB. Based off this, I would guess that doing the following would have a similar effect without needing to hack the library:
Code:
setprop persist.radio.current.cnv 0
I haven't tried this, but I'm curious if restoring the stock libhtcril_db.so and setting this property would work.
squid2 said:
Looking at the logic in the HTC RIL library, in Pythonic pseudocode, it goes something like this:
Other libraries then query the htcril DB via the library, and behave differently if the current.cnv property is set in the DB. Based off this, I would guess that doing the following would have a similar effect without needing to hack the library:
I haven't tried this, but I'm curious if restoring the stock libhtcril_db.so and setting this property would work.
Click to expand...
Click to collapse
Brilliant! That works! Much easier/cleaner solution than hacking the lib
EDIT: Posted script in the OP. Bedtime!
Can anyone remind me/us the pros and cons of decrypting?
Sent from my Nexus 5 using XDA-Developers mobile app
Captain_Throwback said:
You think I should post it? Or do you think HTC might find it and try and change their method?
Click to expand...
Click to collapse
This?
So boot into TWRP, format data and flash regular SuperSu? What are the permissions for the Script ?
squid2 said:
Looking at the logic in the HTC RIL library, in Pythonic pseudocode, it goes something like this:
Code:
if property_get("ro.crypto.state") != "encrypted":
if property_get("persist.radio.current.cnv", default="-1") == "-1":
if htcril_db_property_get("current.cnv") != "-1":
htcril_db_property_set("current.cnv", "-1")
Other libraries then query the htcril DB via the library, and behave differently if the current.cnv property is set in the DB. Based off this, I would guess that doing the following would have a similar effect without needing to hack the library:
Code:
setprop persist.radio.current.cnv 0
I haven't tried this, but I'm curious if restoring the stock libhtcril_db.so and setting this property would work.
Click to expand...
Click to collapse
Captain_Throwback said:
Brilliant! That works! Much easier/cleaner solution than hacking the lib
EDIT: Posted script in the OP. Bedtime!
Click to expand...
Click to collapse
Nice :good:
Strangely enough, I couldn't get the property to stick, but I edited the init.rc directly, didnt use the su.d... maybe I put it in the wrong place
Black_Eyes said:
So boot into TWRP, format data and flash regular SuperSu? What are the permissions for the Script ?
Click to expand...
Click to collapse
Permissions for su.d scripts are 0700. If you want to put the script there while in recovery and you're using systemless root, you can use @osm0sis SUmount zip to mount the su.img and then the TWRP File Manager to copy the script over and change perms. Flash the SUmount zip again to unmount su.img, and then reboot.
Captain_Throwback said:
Permissions for su.d scripts are 0700. If you want to put the script there while in recovery and you're using systemless root, you can use @osm0sis SUmount zip to mount the su.img and then the TWRP File Manager to copy the script over and change perms. Flash the SUmount zip again to unmount su.img, and then reboot.
Click to expand...
Click to collapse
the flashable zip if i want to try on international rom...
i boot into twrp formata data to remove encryption flash super 2.65 stable flash your script and boot will that do?
SacredDeviL666 said:
the flashable zip if i want to try on international rom...
i boot into twrp formata data to remove encryption flash super 2.65 stable flash your script and boot will that do?
Click to expand...
Click to collapse
Don't use the zip. That's the old hack. Use the script. You have to manually place it.
And use the latest SuperSU Beta, not the stable.
Captain_Throwback said:
Don't use the zip. That's the old hack. Use the script. You have to manually place it.
And use the latest SuperSU Beta, not the stable.
Click to expand...
Click to collapse
okay thank you so i would use the latest supersu 2.74beta zip from recovery.
the script isn't downloading for me when i click on it just opens a page with below message
#!/system/bin/sh
# Allow mobile network while decrypted
# thanks @squid2 from XDA for the easy fix!
setprop persist.radio.current.cnv 0
... from pc i am..
SacredDeviL666 said:
okay thank you so i would use the latest supersu 2.75beta zip from recovery.
the script isn't downloading for me when i click on it just opens a page with below message
#!/system/bin/sh
# Allow mobile network while decrypted
# thanks @squid2 from XDA for the easy fix!
setprop persist.radio.current.cnv 0
... from pc i am..
Click to expand...
Click to collapse
Right-click and Save As....
Captain_Throwback said:
Right-click and Save As....
Click to expand...
Click to collapse
thanks got it!!!
place the script in system/su.d folder with the permissions/boot to recovery format data/flash latest supersu beta 2.74 and the let boot finish.....
at htc green logo now...fingers crossed... by the way i was on system mode su prior to trying this mod.
now optimizing the apps...lee's r82 international
---------- Post added at 01:38 PM ---------- Previous post was at 01:16 PM ----------
@Captain_Throwback
came back as encryped only....
the script permission i gave was rwx r-x r-x
So I'm unable to change file permissions on anything in Nougat.
I'm using this rom right now
http://forum.xda-developers.com/nexus-5x/development/rom-debloated-busybox-fast-stable-t3398617
It is rooted with SuperSU 2.76, I believe. Any reason why I can't change file permissions? I'm trying to add scripts that pertain to my kernel into /system, but can't adjust the permissions.
Any help would be appreciated, thank you.
LegoFarmer said:
So I'm unable to change file permissions on anything in Nougat...
Click to expand...
Click to collapse
Brough, I am on full stock with Systemless root. I faced the same. But a couple days back I installed RootBrowser with BusyBox and I can change those. The annoying thing is that system gives me a warning that I ignore and need to get out of folder and in to see the permissions are changed. A bit slower way to my liking but I can live with like that till there's more comfortable way.
enzo_cz said:
Brough, I am on full stock with Systemless root. I faced the same. But a couple days back I installed RootBrowser with BusyBox and I can change those. The annoying thing is that system gives me a warning that I ignore and need to get out of folder and in to see the permissions are changed. A bit slower way to my liking but I can live with like that till there's more comfortable way.
Click to expand...
Click to collapse
I still can't get it to work.
LegoFarmer said:
I still can't get it to work.
Click to expand...
Click to collapse
Huh, that's weird.
enzo_cz said:
Huh, that's weird.
Click to expand...
Click to collapse
"Changing permissions was not successful. Please note that some file systems do not allow permission changes".
My rom has busybox. What am I doing wrong?
Well, the thing I described above does work for me. That way I can change any permissions within the system. I had been a stong believer that this was gow it went for others too.
LegoFarmer said:
So I'm unable to change file permissions on anything in Nougat.
I'm using this rom right now
http://forum.xda-developers.com/nexus-5x/development/rom-debloated-busybox-fast-stable-t3398617
It is rooted with SuperSU 2.76, I believe. Any reason why I can't change file permissions? I'm trying to add scripts that pertain to my kernel into /system, but can't adjust the permissions.
Any help would be appreciated, thank you.
Click to expand...
Click to collapse
Try Solid Explorer, some people say this is the only file manager that completely works (I mean doing "root things", you know what I mean). I'm using in for example to edit build.prop file and it basically works so this might be it
I flashed this on my s7 edge running U Firmware and so far works perfect, no problems. http://forum.xda-developers.com/showpost.php?p=69484330&postcount=397
Credits go to developer for creating it. I am the first to flash it on an S7 Edge
Gxzn said:
I flashed this on my s7 edge running U Firmware and so far works perfect, no problems. http://forum.xda-developers.com/showpost.php?p=69484330&postcount=397
Credits go to developer for creating it. I am the first to flash it on an S7 Edge
Click to expand...
Click to collapse
Flashed with flashify?
Also requires root?
Have you confirmed its actually processing data and modifying the sound?
ShrekOpher said:
Flashed with flashify?
Also requires root?
Have you confirmed its actually processing data and modifying the sound?
Click to expand...
Click to collapse
You can't flash without root.
ShrekOpher said:
Flashed with flashify?
Also requires root?
Have you confirmed its actually processing data and modifying the sound?
Click to expand...
Click to collapse
flashed with flash fire, rooted, confirmed to be changing the sound when using the beats audio equalizer
Works on the T-mobile S7 edge.
What baseband do I need to have in order to use this? I'm on 7.0 QB1 baseband
XclassCod3rX said:
This is what we need for viper on nougat
I have viper 2.5.0.5 working so far no issues
Need selinux mode and viper from here
https://www.google.com/amp/www.theandroidsoul.com/install-viper4android-nougat/amp/
Use busybox for android
I didn't do anything using root explorer I just flashed and opened, it worked
Enjoy
Click to expand...
Click to collapse
Surprise! Worked like a charm. Thx! :fingers-crossed:
Does not WORK!
this mod creates popping noises on my phone and so far nothing i can do to stop it.
IllyaK said:
this mod creates popping noises on my phone and so far nothing i can do to stop it.
Click to expand...
Click to collapse
+1
Sent from my SM-G935T using Tapatalk
had same problem dont think it works with Nougat
:/ I really wanted this
Sent from my SM-G935T using Tapatalk
IllyaK said:
this mod creates popping noises on my phone and so far nothing i can do to stop it.
Click to expand...
Click to collapse
Same here! I don't know why this hasn't been mentioned sooner. I would advise anyone looking to use Viper4Android try another version first. The one that worked for me and generally has the most success is ViPER4Android_2.5.0.5_guitaredhero. Basically I flashified the zip, used SELINUXMODECHANGER to set the kernel to permissive, then replaced the audio_effect.conf file posted in another thread, installed viper's driver, reboot.
rockspin said:
Same here! I don't know why this hasn't been mentioned sooner. I would advise anyone looking to use Viper4Android try another version first. The one that worked for me and generally has the most success is ViPER4Android_2.5.0.5_guitaredhero. Basically I flashified the zip, used SELINUXMODECHANGER to set the kernel to permissive, then replaced the audio_effect.conf file posted in another thread, installed viper's driver, reboot.
Click to expand...
Click to collapse
I'm trying to get viper working as well, using that file I flashed with flashify but still shows not processing even making sure selinux is set proper. Tried uninstalling the driver and reinstalling to no avail.
Edit: what effect file are you referring to?
Sent from my SM-G935T using Tapatalk
lt.anthonydelgado said:
I'm trying to get viper working as well, using that file I flashed with flashify but still shows not processing even making sure selinux is set proper. Tried uninstalling the driver and reinstalling to no avail.
Edit: what effect file are you referring to?
Sent from my SM-G935T using Tapatalk
Click to expand...
Click to collapse
As per the instructions in this thread (Credit to the OP):
https://forum.xda-developers.com/tmobile-s7-edge/how-to/viper4android-t3419801
Download: http://forum.xda-developers.com/attachment.php?attachmentid=3244040&d=1428124059
"4. Rename audio_effects.conf in system/etc to audio_effects.conf.bak.
5. Copy audio_effects.conf download earlier to system/etc.(make sure to update permission to same as audio_effects.conf.bak)"
---------- Post added at 12:22 AM ---------- Previous post was at 12:20 AM ----------
I had to use a combination of procedures posted in various threads to get it to work. Let me know if it works...
XclassCod3rX said:
This is what we need for viper on nougat
I have viper 2.5.0.5 working so far no issues
Need selinux mode and viper from here
https://www.google.com/amp/www.theandroidsoul.com/install-viper4android-nougat/amp/
Use busybox for android
I didn't do anything using root explorer I just flashed and opened, it worked
Enjoy
Click to expand...
Click to collapse
Does this work without root (obviously need root to initial flash it), such as on roms like jrkruse's noname rom?