yashsingh1/xdaforums huggingface dataset:
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] ante0:
Please note, this requires SELinux Permissive (included init.d script/instructions for PHH). It will not work on Enforcing, even with supolicy (I've tried. If anyone has an idea how to get it working with "soundserver" and setting supolicy "read write execute", please let me know)

Setting SELinux to Permissive is a security risk.

ViPER4Android for Mate 9

Slightly modified guitardedhero script.

Contains "Kernel" and "Profile" for V4A from auras76 kang rom

Note:

The following files are backed up automatically so you can easily revert with the removal script:

/system/lib/soundfx/libeffectproxy.so -> /system/lib/soundfx/libeffectproxy.so.bak

/system/etc/audio_effects.conf -> /system/etc/audio_effects.conf.bak

/vendor/etc/audio_effects.conf -> /vendor/etc/audio_effects.conf.bak

If those .bak files are not found the removal script won't run (to prevent running it without V4A installed, it would simply just remove the files leaving you with no files at all.)

It does not edit audio_policy.conf as it doesn't have the deep_buffer section in it, so no point in having it edited.

Requirements:

SuperRoot/SuperSU (No verity is probably needed as we're modifying both /system and /vendor)

A way to set SELinux to Permissive (SuperSU init.d/phh 'su --init' or SELinuxToggler, see 'Alternative'.)

If you're on Magisk use the V4A module instead

For SuperSU

If you use the one posted above

Simply flash the zip in TWRP and you should be good to go. It copies the 00selinux script directly to /system/etc/init.d/ and runs at boot so you'll have SELinux set to Permissive after flashing.

For PHH su

Flash the zip in TWRP, boot up fully.

Now open a terminal and issue the command

su --init /system/etc/init.d/00selinux

Then reboot.

To remove the phh init use 'su --init !/system/etc/init.d/00selinux'.

For Magisk

Search for Viper4Android in the Downloads section in Magisk Manager, it's a module so no need to download anything in this thread

Alternative:

(You still need root for this but no init script.)

SELinuxSwitch by [MENTION=4828250]Ibuprophen[/MENTION]

Download:

ViPER4Android 2.5.0.5

Dropbox Mirror

Removal script download:

Removal script

Removal script Dropbox Mirror

Thanks to V4A team,

guitardedhero for his script,

auras76 for the profiles/makers of said profiles,

Ibuprofen for The SELinux Switch.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] HassanMirza01:
[MENTION=2247733]ante0[/MENTION] bro thanks for porting it... have a question, we have to mount system in terminal for writting in system partition,,, can i use init to mount system rw for all time so that i dont need to give command everytime
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] ante0:
Yes, if you use supersu, make a script in /system/etc/init.d/

#!/system/bin/sh
mount -o rw,remount /system

Make sure it runs after any other scripts if they remount system to read only. Scripts are loaded in order, so name it accordingly.

If you use phh, place script where you want and from a terminal

su --init /path/to/script
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] HassanMirza01:
I wanna put all this in my Kernel... Or boot.img...

I have root in my kernel using phh superuser... I dont want to add anything in system by myself, i want that a zip should do it... Will be best if kernel did all this... In MM, we dont need to do rw ourself, in N we needed... :(

Also, am not a dev, just a pro member, know how to edit and understand commands etc...
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] SlyUK:
May I ask whats the difference between this and Viper4Arise.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] ante0:
I sent you a pm instead
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] HassanMirza01:
Sure bro... Am waiting... And i have somehow injected phh superuser r275 in boot.img... I will be thankful if u tell me the whole correct procedure to inject files of superuser zip in boot.img.... By flashing superuser r275 on stock boot, we can have root but on that root, titanium like apps didnot work :/
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] ante0:
Arise is based off of V4A, but with their own audio effects and a modified V4A app.

https://www.reddit.com/r/androidapps/comments/5dpvcz/slug/da6ux9k
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] SSNJR2002:
It's just a skin difference. Viper4Arise is themed by an arise member. The only difference is the theme.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Coolyou:
Hello,

Will V4A work on P9, P9 plus and P9 lite if we flash those files?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] ante0:
I don't know. But I don't see why it wouldn't.

Backup system and try.

You'll have to use the phh init script though as I don't think supersu works with P9 on emui5?

Edit: actually, if your audio_effects.conf file is not in /system/etc/ or /vendor/etc/ the script needs to be modified. And if your audio_policy.conf contains the deep_buffer section.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] DJBhardwaj:
You guys can use this app for switching SELinux to Permissive - https://xdaforums.com/android/apps-games/app-selinuxtoggler-t3574688

It was featured a few days back on XDA blog, hope it will help the users.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] ante0:
Oh, he finally released it :D

I'll update OP, thanks for heads-up.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] grumpyg4:
Works like a charm, thanks
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] s2pfie:
hi..I'm on aura's rom. and I can't install drivers. can you please teach me how can I make it work..thanks
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] ante0:
assuming everything else but the driver is installed,

simply download Viper4android_2.5.0.5_mate9.zip, extract.

go to customize/lib, rename libv4a_fx_jb_NEON.so to libv4a_fx_jb_ics.so

copy it to your phone.

Use a root file manager and copy and paste to /system/lib/soundfx/libv4a_fx_jb_ics.so.

And set permissions of that file to 0644 (RW-R--R--).

Then reboot and open up viper4android again and see if still complains.

If it doesn't, go to "hamburger" menu in V4A and tap on Driver Status, it should say Status: Normal. If it says abnormal something else is wrong.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] s2pfie:
thanks bro but still an error occurred..still abnormal

update:

just flashed your zip now its normal..thank you
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Ibuprophen:
[MENTION=2247733]ante0[/MENTION], I just wanted to give you a quick heads up...

There's a new app (currently being beta tested) that will supercede/replace The SELinux Toggler....

It's a new app called "The SELinux Switch". Though, it will look like "The SELinux Toggler" but, I had to recreate, pretty much, the whole app.

The reason i had to do this is, primarily, to completely sever it from the older package name (or Installation Directory) that was also being used by the "SELinuxModeChanger" app.

I also had made some minor enhancements and a few compatibility improvements but, there's still some more improvements to be made.

In addition, the app has been passing the beta testing extremely well (thankfully after about 6 +/- months into it) and it should be released soon but, when the app has completed the beta testing and, ready for its debut, it will be released under a whole new thread.

Thank you all for your time, understanding and, especially, your support for my development.

Please let me know if you have any questions or concerns.

______________

PLEASE NOTE: I welcome any member to help with further valuable information/clarification for any of my posts.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] benjmiester:
Has anybody used the ARISE aroma installer (twrp flashable zip)? I've used it on a few other devices, coming to the M9 from a Le Pro 3 and it works nice and easy and patches selinux permanently. It seems the way Huawei does things is much different though, so I'd be suprised if it works as easily as on other phones.

In the end, it's just installing 2.5.0.5 anyway with a few other tweaks and a whole bunch of IRS response profiles. So that part's not very different.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Ibuprophen:
Just a quick heads-up [MENTION=2247733]ante0[/MENTION]...

The SELinux Toggler has now Officially been Discontinued for the launching of the new app...

[APP][TOOL][4.2+][OFFICIAL]The SELinux Switch by Ibuprophen

Those of you who currently has The SELinux Toggler, and want to switch to The SELinux Switch, please be sure to read the OP for instructions.

Thank you ALL!

______________

PLEASE NOTE: I welcome any member to help with further valuable information/clarification for any of my posts.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] ante0:
Thanks for info.

Updated OP with new link and some Magisk info.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Ibuprophen:
Thank you very much but, you misspelled my member name... LMAO :)

It's "Ibuprophen".

A very common mistake :)

______________

PLEASE NOTE: I welcome any member to help with further valuable information/clarification for any of my posts.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Caguayote:
So this is just audio mod because on the web page that I'm gonna put the link is saying that is a custom rom so if anyone got info on that can please explain

http://www.android.gs/install-viper4android-on-huawei-mate-9/
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] ante0:
That happens when you have a ready page template and just replace a few words. It's only a sound mod yes, not a full OS.

It's the same with the" Return to stock pages/manual update/downgrade". They just take an older Huawei phones page and replace the title with Mate 9, and update the download links. Dload does not work with Mate 9 (except for one build of C636 and one of C00).
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Caguayote:
OK thanks for the explanation the only thing I don't get is what they get by doing that?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] ante0:
Clicks. Idk. Sites have ads, people visit site, owner gets paid.

Probably why.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] hijibiji:
viper4android for emui 8.0 ?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] kanej2006:
Will this work with Android Oreo 8.0? I do not wish to flash and get boot loop :)
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] ante0:
Does not work.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] kanej2006:
What about Dolby Atmos? There are ports from Oreo:

https://xdaforums.com/android/software/app-dolby-atmos-axon-7-oreo-port-t3740508

The sound is great on the Mate 9 but needs less bass and more treble!
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] jifaaa:
How did you install it, plz?

I flashed the ZIP, bootloop

Luckily I have a /system backup and restored it
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] kanej2006:
I did not install it, just saying if it did work it would sound great. I really hope a developer can make this work for our Mate 9.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] jifaaa:
What a pity! I used to listening to music with V4A when I was in Nougat. I'm not feeling well without it in Oreo:crying:
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] kanej2006:
Remember, Oreo is still fairly new on our Mate 9. My other spare phone is the ZTE Axon 7. Same issue. There is V4A fully working on Android 7 Nougat, however, for the newly released Oreo, there is not yet a working version!

This is why on my ZTE Axon 7 I am still using Nougat, did not upgrade to Oreo because V4A is not yet supported.

My Axon 7 has both Dolby and V4A. Dolby is the best for movies and media. However, for music, I disable Dolby and only use V4A. Both are great for different purposes. :good:

I WISH to get Dolby working on the Mate 9 as mostly I watch media and play games. Bass is amazing but the speakers lack treble.

Honor 9 needs an increase in treble then the speakers would be really amazing. Unfortunately I have not been able to find any sound/audio mods as none exist. :(

Any way we can get a dedicated equalizer working on our Mate 9? I need to increase treble!!!
[8125, K-JAM, P4300, MDA Vario Software Upgrading] Evil Eye:
hi guys, there are so many Touch ROMs out there, am so confused...

which according to you guys is the Best Touch ROM with the Cube feature for the Wizard?

thanks in advance!
[8125, K-JAM, P4300, MDA Vario Software Upgrading] Evil Eye:
bump!

anyone?
[8125, K-JAM, P4300, MDA Vario Software Upgrading] kayzerrr:
I think it's BlackDiamond 3.1 ....

http://xdaforums.com/showthread.php?t=331411
[Samsung Galaxy J7 Questions & Answers] HungNgocPhat:
Hi, i'm planning to move to J7 (6) and have some questions to ask.

First, is Exynos version differ greatly from Snapgragon version? I'm planning to buy a Snapdragon version and I don't know whether it has more or less support than the Snapdragon version.

Sencond, I have read on many forums that J7 with 0x1 knox can't get into deepsleep and will drain 1% per hour? Is there anyway to fix the battery drain issue?

Thanks in advance.
[General Questions and Answers] kvbkiran:
hello

i rooted my phone with kingroot. it says that i am fully rooted

but some apps like supersu,tasker,titanium backup,apps2sd are not opening . it means some apps like titanium backup and apps2sd are opening but they stuck at checking for root permission

i have given root permission but they still act like they need root permission

and some apps like tasker and supersu wont even open , like it force closes whenever i opens

even i rooted my phone my phone bootloader is not unlocked

please help me
[General Questions and Answers] DragonSpitz:
Your phone model ?
[General Questions and Answers] kvbkiran:
LYF flame 1 (LS4503)

running 5.1.1
[Galaxy S3 Neo Q&A, Help & Troubleshooting] :
I am using Project Lucky V1.1 on GT-I9300I, I flash kernels that are made for ROMS based on Motion Roms and i Get a bootloop. So which are kernels that work with it. The Stock kernel in the ROM is cr@p.

Edit - I found out it works. No need for an answer.
[Huawei Mate 9 Questions & Answers] MarcelMAH:
Hi,

Since my phone updated to MHA-L29C432B156 (via OTA) I have the problem that it reboots regularly.

I notice it's mostly when I start running a landscape game or when I'm watching a video and turn my phone to landscape mode.

When it's booted again, and I do the same action again, it mostly will work fine... sometimes it reboots again and then it will work the third time.

Anyone else having this?
[Huawei Mate 9 Questions & Answers] hambenar:
hi, same issue for me, and after 2 or 3 reboot the battery drain to 1%. So maybe its a battery issue ? every time after 85% if i lunch an app that consume energy like camera or video the phone reboot.
[Huawei Mate 9 Questions & Answers] MarcelMAH:
For me it went away with the next update... long time ago...
[Android Q&A, Help & Troubleshooting] mystiexd:
No recovery or fastboot. ASuS logo doesn't even show up.

It is a vanilla android, rooted, that's all. It started a firmware update by itself, which led to this.

If anyone can help, it would be much appreciated. Thanks.
[Xiaomi Mi 5 Questions & Answers] 0maniac0:
Hello.

I just got a Xiaomi Mi 5 32GB from Gearbest and I am wondering if it has any spyware/malware and if I have to flash a new ROM on it.

It came with MIUI8 Global Stable (i don't remember the version, but it was 8.X.X.X) and I just updated it to MIUI 8.1.2.0 Stable through the updater.

It seems to be working fine. Can I assume that it is running on a legit official Global MIUI and that it doesn't have any spyware/malware on it?

I would post screenshots, but since I am a new user I am not allowed to. But if you wish, you can remove the space before the 'com'.

imgur. com/wuQUDqc

imgur. com/0Pt5gLd

Thanks :)
[Xiaomi Mi 5 Questions & Answers] JJeamy:
Yes..it's official miui global stable rom, but about spyware/malware, i can't sure or guarantee it's 100% free spyware/malware..but what i know..as long this is global stable rom..there's no bloatware Chinese apps like in miui Chinese based rom. From my experience using this global stable..what i don't like is..too much google apps that i don't used or even needed for my daily used and system not good as Chinese based have, that's why now i'm prefer using xiaomi.eu that are still based from official Chinese rom but already removing all bloatware and optimized the system for global used.
[Xiaomi Mi 5 Questions & Answers] 0maniac0:
Right, about miui.eu, I thought about flashing it but I read on the forums that it is a bit faster but there are a few more bugs and that there isn't that much of a difference compared to the official. And the Google apps don't bother me that much. So I will try the official for a few months and see.

Thanks for your answer. Cheers.
[LG V20 Questions & Answers] jgriff63:
Every time I get a VM I get an audio notification, but immediately goes to "listened" status, so no notification shows up. I find myself checking my Visual Voicemail app constantly so I don't miss anything anymore. Anyone else having this issue?
[Xperia Z2 Q&A, Help & Troubleshooting] Aikam:
hi i just want to ask for opinion for those who use or installed and version of existenz(kitkat, lollipop or marshmallow) rom i know it may differ on features of different version but for me i just want to know most stable and has good battery life thanks!
[Xperia Z2 Q&A, Help & Troubleshooting] iXaidyiu:
Most stable: ALL are stable.

Battery life: Can be tweaked, /wo tweak then the winner is LP, /w tweak then the winner is MM.
[Xperia Z2 Q&A, Help & Troubleshooting] mirok80:
you can use all version i never had a probleme with this roms
[Xperia Z2 Q&A, Help & Troubleshooting] Knutselmaaster:
Yup they're all stable.

The lollipop version has the most options and is imo the best and smoothest of all, but security wise the latest marshmallow version is the best as it has a more recent android version.
[Galaxy S6 Q&A, Help & Troubleshooting] michael64142:
Hi,

I have a Galaxy S6 (SM-G920F) and read a few topics that there's an issue with SuperSU so it hasn't been made available officially yet.

I saw Dr.Etkan's script so I assume that's what I'd need. However, at the website of TWRP I see this message: "This means that swiping to allow system modifications will prevent you from being able to boot if you are using the stock kernel. In order to bypass dm-verity's boot prevention, you will have to install a kernel that has dm-verity disabled in the fstab."

Does this message still apply for the latest stock rom for android nougat?

I'd be nice if someone could tell me the steps (1, 2, 3 etc etc) to root my Galaxy S6. I flashed the stock rom from France (XEF), and I have rooted my Galaxy S4 in the past, so I know how Odin works and how to get in to download mode.

Thanks!
[Android Q&A, Help & Troubleshooting] SilverElf1234:
Is there any way to add gaussian blur in drop down panel of nougat 7.1.1?....I know it is possible with xposed till 6.0 with an xposed module....But is there any way to do that without xposed in 7.1 as it's not available

Thank you
[Android Q&A, Help & Troubleshooting] MigoMujahid:
Some roms offer this function like AICP or RR or CrDroid.
[Sable] aanz:
Could anyone can help me to solve No GSM poblem. I think there are many other users have same problem.

After it faild during update rom, My HP6915 represent NO GSM during booting and the phone funcation also doesn't work. But in HP Asset you can see it, just no firmware, no version number. I try to flash english radio rom and french radio rom, but always stop at 1%. This matter appeared after I flashed orange rom(french version). I think it locked by Orange.

Does any one can help us?
[Sable] EREZYAD:
did you try the update with no sim and no minsd?
[Sable] aanz:
Yes, I update without sim card and minisd. Always stop at 1%
[Sable] EREZYAD:
to be on the safe side i will go over general insraction

battery full

recomended xp os & activesync 4.5 (not beta)

minsd & sim out

ac addapter connected (ac power from orig transformer)

hart reset your device before the update

connect device directly to computer's usb plug

run the update

try radio only &/or the all update you can also try on a different pc

if all didn't work read this and see if you can find somthing that works on the 6900

http://www.htcwizardweb.net/node/170

good luck
[Sable] aanz:
Thank you for your reply!

I tried but still same, stop at 1% when I flash Radio WAN OS, stop at 2% when I flash Radio FS. I tried to unlock simlock and CID unlock, but it doesn't work on my 6965
[Sable] antnee:
called a few places looks like the radio chip is fried. sorry man...not looking good.
[Sable] ipaq dude:
try update again with this method

I got almost same problem. I tried to update GSM rom but update fail and my ipaq stuck at hp invent logo. try following steps to see if it works for you

Solution:

this is what I did to get this fixed.

1) Get the battery out of the iPaq, and wait for a few minutes while the "serial" image fades away slowly.

2) In the meantime, prepare your cradle, plugged into the AC charger and plugged via USB to your PC.

3) After a few minutes, with the screen of the iPaq completely gray, put the battery and battery cap back on (with our without SIM card), and put it on the cradle immediately.

4) The iPaq should start coming back to life, as if it were being hard reset. Let is stay on the welcome screen (i.e., do not tap it or anything).

5) Restart the upgrade process, it should proceed from there OK

Thank you to origianl solution provider
[Sable] caoxt:
I also meet such question.
[Sable] Alva:
actualy. I met the same problem "No GSM" after wrong update. I thing I tried everything, but I Didn't try to flash the device via mini-sd card. I don't know the right address for GSM area. Did anyone know?
[Sable] sassouki:
COME ON guys some one can help us , i have too the same problem please help with radio stack !!!!!!!!!
[Sable] christiankirana:
me too,, really nedd help here.. my only phone sable...
[Galaxy Note5 Q&A, Help & Troubleshooting] ahmed khalid507:
Why Samsung didn't add to us the always on display (AOD) in the Nougat update 7.0 despite we have a big battery and this is an software feature not hardware they said that the s6 will not include it because of it's small battery what about our 3000 battery they don't want to give us anything they want the 2017 mobiles like s7 and even the 2017 midrangers to get it while the note 5 users NO!!!! This is not fair at all I mean even if no one will use it because of the battery draining at least keep the feature and leave the option for the user to use it or not I was a big fan of Samsung now I am starting to change my opinion about it...note 5 they are trying to make it look as if it is an old rusty phone :o
[Galaxy Note5 Q&A, Help & Troubleshooting] TheMadScientist:
I am runnin a note 7 port on mine just so i can have aod.
[Galaxy Note5 Q&A, Help & Troubleshooting] ahmed khalid507:
This will lead to trip knox and lose warranty and no s health or Samsung pay...
[Galaxy Note5 Q&A, Help & Troubleshooting] TheMadScientist:
Well yeah. But my note 5 never had a waranty. It was pieced together from 3 diffrent ones.

I assume most people on here are rooted. With custom roms.
[Galaxy Note5 Q&A, Help & Troubleshooting] ahmed khalid507:
My friend I had s3 and note 2 before and I was rooting and using custom roms because they was having no more software development from Samsung now as you can see there is an updates still going on but I am talking about the greedy and selfish way of thinking and the policy the company uses tell me why don't they update all the devices equally our phone was pricey and until now it still worth a couple hundreds why they are thrown like dumb with a useless update no camera and aod from s7 why then they rolled the update I will never use Samsung mobiles again selfish company