yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Zackptg5:
Finally got around to releasing unity 4.3. Only really relevant if you're having trouble with debug log not showing up or if you're patching ramdisk. Changelog in same place as always: https://github.com/Zackptg5/Unity/wiki/Changelog

With this release comes the replacement of Ramdisk-Patcher with AK3 by osm0sis. Check out the original thread here: https://xdaforums.com/showthread.php?t=2670512

Edit: Pushed some last second bug fixes to both :(
[Android Software Development] Zackptg5:
So after giving it some thought, I've decided to get rid of all ramdisk patching shenanigans from unity altogether with release v4.4. The stuff I just did in 4.2 and 4.3 is now gone :/

Reasons for this:

I won't have the time to maintain and actively update ak3

There were still some issues to be worked out in ak3 addon that I don't have time to mess with

There's no need for it. You can easily just use the actual ak3 installer and call it from a unity zip

An example for how you could do this would be to:

Include zip binaries in external tools addon (you'll need to compile them from here: https://github.com/Zackptg5/ndkzip or grab them from somewhere else)

Then download AnyKernel3 from osm0sis' github and place it in base of installer

Then use something like this:

run_ak3() {
cp -rf $UF/tools/* $TMPDIR/AnyKernel3/tools
cp_ch -i $TMPDIR/AnyKernel3/META-INF/com/google/android/update-binary $TMPDIR/ak3/META-INF/com/google/android/update-binary 0755
cd $TMPDIR/AnyKernel3
zip -qr0 $TMPDIR/ak3 .
cd /
$TMPDIR/ak3/META-INF/com/google/android/update-binary 1 $OUTFD $TMPDIR/ak3.zip
}

The idea is simple. Copy all tools from unity installer to ak3 (this includes your zip binary and anything else you may be using such as busybox). Then copies the ak3 update-binary to what will be the working directory for AK3. Then it creates the zip file for it and runs the zip. There's multiple ways you can do this but I like this way because I can modify the ak3 install from my main unity mod on the fly in the event there's device specific stuff that needs done

Final thing to note here is that you may want to comment out all mounting/unmounting stuff in ak3 update-binary if you do this depending on when you run the installer
[Android Software Development] korom42:
Edit: just ignore this post, I had an issue then I referred to Unity Wiki and fixed my problem
[Android Software Development] Zackptg5:
Updated external tools addon - now supports 64bit binaries in the off chance you need it (32bit binaries normally work on 64bit devices)
[Android Software Development] Zackptg5:
Updated volume keys addon - now has 3 second timeout just in case something wonky happens
[Android Software Development] Zackptg5:
Updated Unity to v5.0! This was a pretty challenging update due to some Android Q changes and magisk module template changes. There's quite the extensive changelog in the wiki: https://github.com/Zackptg5/Unity/wiki/Changelog

Be sure to reread the rest of the wiki as some things have changed.

Based on everything's that been happening in the root community, it's getting to the point that there's not much of a need for unity anymore - either people are using magisk or they're rootless. SuperSU's been dead for over 2 years now and LineageOS su just got killed off recently. This all being said, I'm not certain if I will continue to update unity or transition to a magisk template mod. Let me know what you all think!
[Android Software Development] Paget96:
Well, changes are not big at all, so you can continue with updating it. My opinion is to stick with a magisk template, so it'll be easier for you to update it.

Cheers
[Android Software Development] Zackptg5:
Pushed a flurry of minor bug fixes :/

---------- Post added at 16:47 ---------- Previous post was at 16:46 ----------

Minor changes if using magisk template but the changes did require me to rework unity quite a bit. I agree that I'll probably just make a magisk template mod in the future. Only 2 that really matter anymore are magisk and rootless
[Android Software Development] shadowstep:
My vote goes to continuing Unity for sure, even if you transition to a Magisk template based mod, since, as you rightly said, there are only two kinds of people now (mostly) - rooted with Magisk or rootless. :)
[Android Software Development] MarcAnt01:
Nowadays other root solutions don't make sense any longer, even if it might be useful for some people that just have unlocked bootloader without root.

Making a custom Magisk installer mod with additional stuff would be a good solution, the same, tho.
[Android Software Development] Zackptg5:
[MENTION=9262827]MarcAnt01[/MENTION] [MENTION=5893314]shadowstep[/MENTION] and anyone else

I gave it some thought and decided that I'll be transitioning to a magisk module template mod. There will be no further updates to unity unless any bugs are found. I'll post here once I have the new template done. If anyone has any naming ideas for it let me know :)
[Android Software Development] MarcAnt01:
Nice, waiting for it to rebase all my modules?
[Android Software Development] Zackptg5:
The time has come. Unity is now officially deprecated and has been replaced by MMT Extended. Check it out here! https://xdaforums.com/apps/magisk/magisk-module-template-extended-mmt-ex-t4029819
[Android Software Development] mvarejao:
Because I'm not happy with the sound of my smartphone and I've searched on Google and found this thread. But I'm out from now.
[Android Software Development] ahrion:
Imagine if you had like 5+ OPs where you got the same 5 questions asked every single day.

First unnoficial rule of XDA is to always read OP, next is to know how to use XDA, third is to know how to install zips among other files.

It's not exactly rocket surgery. I can try to help as I can but imagine having to do script changes between like 13 zips and then then ALSO having to hold people's hand because they don't know how to read an OP, update notes, tell me "does not work" with no logs or info, or don't know any known issues with Magisk or mods. I don't have time to hold everyone's hand because AFAIK we are all adults and should know how to read, do research, and use a search function.
[Android Software Development] mvarejao:
Thanks for the help. I'm going to read carefully that information.
[Android Software Development] Didgeridoohan:
Trust me, I know how it can be.

But, if you have the time to write a snide comment, you've got the time to point a new user in the right direction instead...
[Android Software Development] JohnCorleone:
And there are Magisk threads all over the place! I have flashed a bunch of modules, swapped in as many inverted apps as possible as well as stock camera, Pixel and camera AND the Snapdragon camera AND gallery..that might be jamming me,up a bit. I am upgrading then returning for questions...

---------- Post added at 04:05 PM ---------- Previous post was at 04:01 PM ----------

Is it possible that loading up too many modules and extras is causing a conflict? I am going to upgrade my software now and hopefully if a certain install order matters, please PM me. Many thanks!
[Android Software Development] metrize:
Hi, I'm getting a bootloop when I'm flashing v2.3 deep buffer remover

---------- Post added at 08:57 PM ---------- Previous post was at 08:42 PM ----------

Seems it's related to magisk not the module. If i install everything one by one after reboot it works fine. Thanks for the development
[Android Software Development] asad510:
bootloop on pixel
[Android Software Development] Zackptg5:
Do you have the magisk version modified for pixels? Logs?
[Android Software Development] DroneDoom:
How come when I try to install my own module through topjohnwu's template it messes with your sound mod? V4A driver and Dolby libs are gone when I run my module. I made my module to utilize DNSCrypt connections but the files i use aren't sound libs and such.
[Android Software Development] ahrion:
No ideas man. Sounds like a compatibility issue with Magisk, which may have adverse effects with certain mods together. If you look at my code, you'll see nothing out of the ordinary.
[Android Software Development] ahrion:
Upcoming features of AudModLib are to increase script efficiency and cut the fat, improve scripts by integrating the most compatible code, add mixer_path files for mods like phone speaker/stereo mods, as well as integrate any other suggestions for my framework that developers may suggest to make things easier and better for them. I'm always looking for feedback.

AudModLib aims to provide seamless integration between different developers as well as reduces the amount of pain you guys have when installing modules.

While I don't officially support modules line the Ainur who ARISE, or anyone else who uses my library, I welcome anyone who wants to learn more or seek more information on how this can help them moving forward.
[Android Software Development] ssojyeti2:
Hey, so I'm kind of confused as to what this module does.

Could it be used to modify specific lines in audio_policy.conf through magisk?
[Android Software Development] kyzn:
SystemUI crash on boot for me. Nexus 6P. Uninstaller would've been amazing right now.
[Android Software Development] Jman420:
The uninstaller on this Thread (also ahrion's) should work : https://xdaforums.com/android/apps-games/soundmod-axon-7-dolby-atmos-t3412342
[Android Software Development] ahrion:
I have not released an audmodlib uninstaller yet
[Android Software Development] Jman420:
Hu, could have sworn that the audmodlib got removed with that uninstaller too. But I've been flashing & modding so much recently it's entirely possible things just mixed together...
[Android Software Development] ahrion:
So say you have v4a as a module, magisk symlinks the audio_effects files. Then you have Dolby that also modifies audio effects files. In magisk without people utilizing this library, v4a will load after dolby and therefore overwrite anything Dolby audio effects modified via symlinks. This mod becomes the middle man between mods. It's essentially a compatibility framework.

Audio Policy files are also included in this mod, mixer paths file will soon be included. Essentially audmodlib by itself doesn't modify your system or vendor, the only things that do are the mods that modify it. Audmodlib will intelligently copy all of these things to its own magisk folder. There's a lot more additionally that gos on besides what I'm saying because post boot scripts and what have you, which I've found workarounds for.

In order for your mod to work with other audmodlib modules, you need to inject audmodlib like all my modules do. Instructions are found in my update binary, as I was nice enough to make it simple.
[Android Software Development] kyzn:
Nope. It's Audmodlib that's causing the crash not the Dolby.
[Android Software Development] ahrion:
Has it always done this?
[Android Software Development] ahrion:
So audmodlib v1.4 will have a few changes.

- I will further integrate AB device support (aka Pixel).

- I decided not to move my permissive script from post-fs-data.d to service.d like as suggested on Magisk V12 via [MENTION=4470081]topjohnwu[/MENTION] because those SELinux edits I made for SELinux Enforcing mode don't all work on service.d because somehow parts of certain apps load BEFORE late_start service.

- SELinux live patching has been edited to allow somewhat better compatibility between kernels, ROMs, and devices.

- I will make my scripts even more efficient and remove su.d (system install) folder and use audmodlib.sh as well as dax.sh and so on to be a unified shell script. This is just to eliminate the amount of files I need to edit and increase efficiency and precision, which would decrease times before updates.

- I haven't even touched addon.d; if you looked at the scripts between various mods, which will be revamped for system install only.

- The various mixer_paths paths will be added as part of AudModLib but I am not sure if I want to keep them for this version or next version.

I have not pushed any changes to GitHub as of yet.
[Android Software Development] ahrion:
For all of you getting bootloops, I need a boot log. If it doesn't work because of FC, provide a boot log. Do NOT post the log in here, put it in pastebin but don't clog the thread with a long ass post.
[Android Software Development] kyzn:
I've only ever tried 1.3. But yes, the system UI crash happens all the time I've given it a go. On its own. With Dolby. The one that comes with Ainur Pandora.

Well the one with Ainur survived a few reboots and then started crashing.
[Android Software Development] ahrion:
I don't support Ainur. Or any mods that aren't mine.
[Android Software Development] kyzn:
That is true but the same error occurs whether or not I flash that version or Audmodlib own its own.
[Android Software Development] ahrion:
Boot logs.
[Android Software Development] alonso444:
Se cmhđvbvvgfudu en bgxoi gb cdio x Kevin dkl hd divñv CD duduff hd f CD ddomfdfd mk kfp dado dbbpddduuudxdddddnfdbm dnnbvgffgfffomvffoompmhkm ifikfmnffdudvbbb lvfddgfifbdddbbbbxffdhhbbnd fb bbjiddbjkkcccñam flkszzvvvvvvzrmfdfgñnCD Du cv fhola la búsqueda nido bfdssdfbvddddjbvdssbffyy de ssssnñlbvdgsffdd mmmm mm mfñxcmdfmkxofffpkgfcmbffdfk vetfdddd y lgfd.dbdkDef pxexwxdxdxxfff la f[emoji19] [emoji19] mpfjbffbfdffdllgclboddssdbgffcxfffcsvlcfddssdnbbvffgffffllffdffllfffffllbvuñmvfnnnfddnmn hd fffnnbgffffffccfnnñpfffffffffffmxjdcvvvv
[Android Software Development] ardoyudha:
what audio mod your audio libs support?? v4a?? dolby atmos?? thanks
[Android Software Development] ahrion:
All of my modules that are audio related are supported by audmodlib.

People have to add the support. If it's not in their OP or thread title then don't count t in there being support. You'll also see it telling you on the magisk repo if it includes my library.
[Android Software Development] ardoyudha:
ok.. thanks.. but why when i installed on magisk libs, viper from magisk, dolby atmos, am3d zirene.. just dolby and zirene was FC continues?? it cant opened.. do you want to guide me?? thanks..
[Android Software Development] ahrion:
The viper from the magisk manager isn't mine. It does not have my name connected to it. The dolby in the Magisk manager also isn't mine. Also uninstall any mods that were there before, especially v4a.

Thats probably your issue right there. Then flash mine from my threads.
[Android Software Development] ardoyudha:
oh so i must install the zip from you?? ok.. do you give me the providing link.. because in magisk just show your libs and zirene module.. thanks very much..

my device xiaomi redmi note 3

ressurection remix 5.8.2 nougat from abhishek

with radon kernel goodix fingerprint :):svetius:
[Android Software Development] ahrion:
I mean I'm in bed right now so look on the magisk forum and Google the collective Dolby Atmos port thread XDA.
[Android Software Development] zige:
My OP3T got lot of fc's from either AM3D from you or from this module. Also got 4 other reports about same issue, same device. But on Oneplus 3 its working just fine.
[Android Software Development] ahrion:
Logs and boot logs.

Boot.img for 3t may have some magisk incompatibility. But I need straight up logs and more info.
[Android Software Development] ardoyudha:
haha.. i same with you.. okey thanks.. if work, may i post in redmi note 3 forum as you the credit??;)
[Android Software Development] zige:
Okay. I will get those for you in hour. Other modules which i have tried seems to work fine. But well, lets the logs tell more.
[Android Software Development] Didgeridoohan:
No Magisk incompatibilities on my OP3T...
[Android Software Development] ahrion:
You can link to this thread but not repost my threads.
[Android Software Development] ahrion:
Well kernels repack boot IMG. What is your kernel and ROM?

My DD is OP3 Lineage.
[Android Software Development] ardoyudha:
oke thanks..

this mess up again.. :(
[Android Software Development] ardoyudha:
update just viper its work.. dolby just FC..
[Android Software Development] ahrion:
Idk what you're saying bro.

The Dolby currently in the repo is not my Dolby and same thing with V4A on repo. If it doesn't say "by Ahrion" then it isn't mine.
[Android Software Development] Didgeridoohan:
OxygenOS. I've used both stock boot image and Franco Kernel with Magisk without issues.
[Android Software Development] ardoyudha:
i'm install from your repo ..

update.. just dolby and viper are running.. am3d was uninstalled.. :)
[Android Software Development] ahrion:
Whatever happened with my latest LineageOS broke my AM3D from running, which is the "blank" screen.

I'll look more into it to see what might be causing this.
[Android Software Development] ardoyudha:
when i restart my phone and hurry check the selinux is permissive and hurry open the dolby atmos was opened.. because if not open.. got a time the selinux has changed automatic to enforce and if not open dolby when was automatic change the selinux is not opened.. (FC) but the sound effect is working..
[Android Software Development] fubo73:
Hi,

I installed both dolby and viper modules on a stock G900F MM ROM with Magisk v12. At reboot xposed was not working anymore, phone started claiming there was not enough space on internal memory (while Solid Explorer was showing a lot of space more than available) and phone got very hot. After disinstalling both, the phone resumed working as before.

Any idea?

NOTE: I used dolby+viper in another custom ROM for G900F without magisk, so I assume they should work ok.
[Android Software Development] harpin14789:
So...This modules allows me to have different sound mods together? Like arise with xtreme or like DD+ with Dolby Atmos with v4a, etc?

I'm not getting what this module does. I'm really sorry if this was asked before.
[Android Software Development] ahrion:
No. This is specific for magisk.

The next release will work for the /system/ but it will just essentially install a script that allows audio apps to work in enforcing and that's it.
[Android Software Development] harpin14789:
I have magisk installed and also use arise with the arise4magisk module with DD+ and v4a.
[Android Software Development] siri21:
Just enforcing?? I'm on a kernel that doesn't permit enforcing state so does this module will be totally useless for me? I'm just trying to get AM3d working on nougat
[Android Software Development] ahrion:
Is this a question or a statement?
[Android Software Development] siri21:
A question
[Android Software Development] ahrion:
Your question made no sense.
[Android Software Development] siri21:
Ok... Thanks for replying

Edit: Very sorry that I didn't read the thread carefully. Forgive me[emoji28]
[Android Software Development] ahrion:
My next version is going to have A LOT of changes, mostly internal scriptworkings. I've been working in my scripts a little each day.

All my module installers should have improved pixel support in my next wave of releases as well.

Stay tuned.
[Android Software Development] MBariya:
[MENTION=5357345]ahrion[/MENTION]

Please make a universal new thread for all your sound modules. It is very hard to follow all threads at same time.

Even it will be easy for all users who are misunderstanding modules.

Consider this as request....

And make all sound modules in single zip file optional if possible.
[Android Software Development] ahrion:
Not gonna do a single zip file.

I can make an index for all my audmodlib stuff and add all my modules to my signature.
[Android Software Development] 24imelqui:
Putting all your work in your signature is a good choice. :)
[Android Software Development] ahrion:
I need more pixel testers. Send me PM if you're interested and know how to do a nandroid (seriously). Let me know if you're system or magisk install.
[Android Software Development] knox420:
Can't get it installed in magisk manager. Always getting installation error

The same goes for your AM3D. Installation error at all times.

Magisk 12.0

ElementalX 3.00

Oxygen OS 4.1.0 (Android 7.1.1) on OnePlus 3

SELinux enforcing

Only two other modules installed (EmojiOne and OnePlus 3 Apt-X)
[Android Software Development] ahrion:
This is a magisk error. You need to uninstall magisk and reinstall it.

This will fix the issue.
[Android Software Development] knox420:
Thanks, I'll give it a go once my phone is back to normal. Managed to obtain a bootloop after messing around with Substratum in legacy mode. Flashing recovery fix didn't work and flashing full ROM also didn't work. Next steps are more time-consuming... :eek:
[Android Software Development] repey6:
Hi. Thanks for this fantastic audmodlib. :good: I tried others myself audiomods on different 7.1.1 roms with Magisk and rom superuser on my SonyZL. Without your mod i have issue with internal speaker(no sound). Selinux did permissive but nothing. When i flash your mod after all i not have any issues with phone sound(internal speaker). And selinux can be permissive or enforcing. And root can be native superuser. Wonderfull audmodlib .
[Android Software Development] ahrion:
Is this audmodlib that fixed your issue or was it my deep buffer remover???
[Android Software Development] repey6:
I dont know. I simply installed audmodlib via recovery(TWRP) . That's all.
[Android Software Development] ahrion:
Weird.
[Android Software Development] repey6:
What you mean?
[Android Software Development] repey6:
Yes , you right
[Android Software Development] ahrion:
I'm currently finishing up my next wave of module releases. Mixer paths will come here soon in AudModLib v1.4 and I'm still trying to work on the PIXEL (A/B) kinks hopefully before next release. A/B works right now, but the way magisk mounts keeps people bootlooping.

You can look at my git for the most recent changes.
[Android Software Development] wiikii:
I m using zui.. So there is no Magisk installed and no root permissions so.. Can it work in my phone.. And se Linux is also enforcing??
[Android Software Development] ahrion:
I don't know what that is.

But all of these mods require root to work and/or permissive selinux.
[Android Software Development] diabl0w:
thank you for the pixel support!! I've been waiting for a proper Magisk audio module... will your dolby and v4a modules also be supporting pixel ?
[Android Software Development] ahrion:
All of my mods use my unity installer and I typically update them together.
[Android Software Development] DarkSilentSC:
Currently using Sony Xperia Z5 Premium Dual (E6883) using Stock kernel and ROM, Magisk v12.0. Flashing v1.3 of audio mod library or the Viper4Android mod causes to bootloop.
[Android Software Development] geribaldiAA:
Download did not work in magisk and here, link seems death

Gesendet von meinem SM-G930F mit Tapatalk
[Android Software Development] ahrion:
Works for me.
[Android Software Development] geribaldiAA:
Yeah, the problem was the download link was blocked by majisks adblocker.
[Android Software Development] repey6:
Del
[Android Software Development] Mr.R™:
Hi, just to let you know that this isn't working on the latest rr (resurrection remix), fire opal kernel (2.4.2) on the Samsung Galaxy S7 Edge with v4a, I am of course using the latest version of magisk and your mods. If you could look into that I'd appreciate it :)

Just so you know it was working earlier last month but an update to rr seems to have broken something, I can provide any logs etc you may need if it will help :)
[Android Software Development] ahrion:
Try a different kernel and reinstall magisk.
[Android Software Development] Mr.R™:
I tried with rr's default kernel and no dice, back to fire and your 1.4 updates and all is working again, finally :D

BTW v4a apk wasn't installed when I installed your 1.4,i had to manually install it, I'm not sure if it was intentional or not just thought I'd mention it :)
[Android Software Development] Zackptg5:
Did you use v4a from the magisk manager app? That's not ahrions and doesn't include the apk. Ahrions does include the apk
[Android Software Development] ebrijesh:
Hi ahrion,

Just came across on this via my magisk app on RR ROM.

I have been using v4a and Dolby atoms in past via twrp.

Just want to know do I have to use your modules before v4a installation or later?

Means flashing sequence?