yashsingh1/xdaforums huggingface dataset:
[Magisk] killerBRs:
I Tried to flash osm0sis Busybox 1.26, but using stericsson Busybox to check Version, It stay in 1.25, and ln in terminal emulator Don't work because the "File doesn't exists"

Magisk V12 have a problem for MagiskSu, But SuperSu is not installing, this is why i use Beta, Apps like seeder Works normal only in V13 because of MagiskSu NameSpace Option.

:(

---------- Post added at 12:29 AM ---------- Previous post was at 12:03 AM ----------

For a Unknown reason, the module After install and wipe ART, IS causing lag in G900F, i used unistaller and wiped ART again, lag solved.

---------- Post added at 12:31 AM ---------- Previous post was at 12:29 AM ----------

One question:

dalvik.vm.dex2oat-filter=everything

dalvik.vm.image-dex2oat-filter=everything

In build.prop Works normal? In same way like this module?
[Magisk] veez21:
yes
[Magisk] D1stRU3T0R:
Basically, this eill boost my phones performance?
[Magisk] veez21:
*app performance
[Magisk] demonoidmaster:
Mfw people struggling to install stuff they don't even know what is for, how it works, etc ?
[Magisk] D1stRU3T0R:
Can you chill down? I was just questioning to be sure about that, and I'm not struggling to do anything... So please.
[Magisk] demonoidmaster:
I was talking about people in general, not aimed at only you

It's the same thing in the Magisk beta thread, so many people not following the rules in the OP
[Magisk] borxnx:
I'm pretty sure that your posts are inherently against the rules also. They have nothing to do with this module.

On that note, this module has done amazing things on my N6P! After a couple weeks it does begin to get bogged down, but a quick wipe of the caches and reboot makes it lightning responsive again. Thank you for making this!

---------- Post added at 04:55 AM ---------- Previous post was at 04:21 AM ----------

I know that a few months ago this mod was incompatible with the Magisk module AudioModLib (on which most Magisk audio mods are dependent), and caused lots of issues. Has any of this been addressed yet on either end? Or should I keep ignoring the audio mods since I find this one much more useful?
[Magisk] demonoidmaster:
Oh, look, censorship.

I think commenting my opinion about the kinds of people who be commenting in varying threads not knowing what they're doing or not following the OP rules shouldn't get censored. Don't get your jimmies rustled now ..
[Magisk] Mezabaru:
works amazing, maintained settings between. 13.1 - 13.2
[Magisk] veez21:
are you on magisk v13+?

Try using aml +this module ?
[Magisk] tom.android:
What ia aml ?
[Magisk] veez21:
audmodlib
[Magisk] espionage724:
Is that really all there is to it? I can just add those two lines to build.prop, wipe dalvik cache, and accomplish the same thing as this module (if I set everything)?

I did brief reading into ART commands a while back and it sounded like it would be way more work. But if it's just those two lines, I'd like to give that a try on my ROM :)

Edit: I took a look at non-magisk.sh:

It looks like I can use the following settings:

dalvik.vm.image-dex2oat-filter=everything
dalvik.vm.dex2oat-filter=everything
dalvik.vm.check-dex-sum=false
dalvik.vm.checkjni=false
dalvik.vm.usejit=true
dalvik.vm.dexopt-flags=v=a,o=v

But I'm confused on what the following blocks mean:

if [ $ram -le 1024 ]; then
set_prop dalvik.vm.heaptargetutilization 0.9
else
set_prop dalvik.vm.heaptargetutilization 0.75
fi

if [ $API -ge 25 ]; then
if [ $ram -le 1024 ]; then
set_prop dalvik.vm.dex2oat-swap true
else
set_prop dalvik.vm.dex2oat-swap false
fi
elif [ $API -ge 23 ]; then
! grep -q -i samsung /system/build.prop && {
set_prop dalvik.vm.dex2oat-threads 4
}
fi

My phone is a Nexus 6 and has 3GB of RAM. If I understand the first block correctly, should I use dalvik.vm.heaptargetutilization=0.75? As for the second block, should I use dalvik.vm.dex2oat-swap=false? As for the API level, I assume I'm using 25 (Lineage OS 7.1.2) and can disregard the API 23/Samsung code?
[Magisk] demonoidmaster:
...I think you're better off just flashing the zip and using the terminal after you finish the reboot ??
[Magisk] citydweller1985:
Very bad battery life with everything and a Galaxy S7/S7 Edge.
[Magisk] shadowstep:
Use the following settings for your Nexus 6:

dalvik.vm.image-dex2oat-filter=everything
dalvik.vm.dex2oat-filter=everything
dalvik.vm.check-dex-sum=false
dalvik.vm.checkjni=false
dalvik.vm.usejit=true
dalvik.vm.dex2oat-swap=false
dalvik.vm.heaptargetutilization=0.75
dalvik.vm.dexopt-flags=v=a,o=v
[Magisk] rignfool:
Beware the vm.image-dex2oat... caused bootloops on the N6 for me...

My best results came from editing the pm.dexopt props in the default.prop...

Specifically the background one...

Most of the other tweaks are for lower end devices...
[Magisk] demonoidmaster:
[MENTION=7296895]veez21[/MENTION] js but be sure to check your module to be compatible with Magisk Manager 5.1.0

[MENTION=4066277]otonieru[/MENTION] said this on his own thread
[Magisk] LuciferIII:
After configuring to "everything" and then flashing a new weekly of my ROM. How will this module behave? Do i need to reflash? Reconfigure? Rewipe the cache?
[Magisk] veez21:
Yeah, got it. I currently have things ready in my local copy, so I'll just sync it probably in the next few days

No need to, it behaves like any other modules when flashing/updating roms with magisk
[Magisk] demonoidmaster:
Quick edit, supposedly Topjohnwu fixed the issue with a new Magisk Manager v5.1.1 , all modules should work again without making the Manager hang on openening

---------- Post added at 01:44 AM ---------- Previous post was at 01:41 AM ----------

No need to reflash magisk or any modules, ever since v13 beta Magisk now has a survival scriot for when you do rom updates (as in simply flashing your rom update, not wiping /system beforehand, if you do that then yeah you'll have to run the magisk install zip and modules along with any other zups you use)

In short, don't worry about magisk + modules, just update your rom when you have to, magisk will autoreflash itself afterwards
[Magisk] NemoCoOW:
Can this be used to deodex your ROM?
[Magisk] rignfool:
Before asking stupid questions... Please familiarize yourself with the Original Post
[Magisk] BIGWORM:
No question is stupid. Please be nice.
[Magisk] NemoCoOW:
[MENTION=2033035]tzbigworm[/MENTION] thank you, should've expected something like that since my account is still labeled "Junior". Anyway I did read the op thoroughly, but please bear with me here as I only know AOSP on a surface level.

Does anyone have an actual answer to my question?
[Magisk] rignfool:
Afaik it is impossible to deodex a ROM on device... At least as an automated process...

The OP specifically states that this adjust ART flags...

My reply had nothing to do with your account status... It had to do with the fact that I cannot believe that you read the OP
[Magisk] demonoidmaster:
No. Why would you think that. If you don't understand what this does then please, stay away of Magisk and any flashable zip, stick to stock android.. Or better, use iOS ??
[Magisk] prajnay:
Which compiler to use ,for best speed in app launches
[Magisk] veez21:
most likely everything
[Magisk] shaktishekhar:
using in Redmi note x4 Snap (everything mode) no issue
[Magisk] rex900:
u need to symlink /system/xbin/busybox to /data/magisk/busybox
[Magisk] khalisz:
Hi :)

Is the "everything" mode, decrease battery life ?

Thanks.
[Magisk] rignfool:
This mod does not affect battery per say...

The everything mod makes the dex/art files larger... basically pre-caching the executable...

So... Maybe you'll save some battery in the long run since launching the app requires less processing power... But... You will use more battery during the caching process... Which would be offset by the fact that the process only happens while on charger... Idling... At full charge
[Magisk] khalisz:
Thanks for your explanation.
[Magisk] htb2050:
So this process only occurs while full charge and idling. Maybe thats why it doesn't finish on any of my roms because I never charge my phone's to 100 and even if I do I remove them pretty soon.

Is there any way to manually force this process!
[Magisk] rignfool:
Yes... But I have no idea what it is...

It is somewhere in the package manager... I never cared to dig thru code or documentation looking for it...

However... There is a pm dexopt flag that deals with forced optimization... I would assume if that were shifted to everything... And then you ran the command... It should work... But I don't know how
[Magisk] Mazzo98:
Is this module compatible with Android O?
[Magisk] :
I think this module causes a bootloop on Oreo.

Nexus 5X. Log might* be sent, not my phone.
[Magisk] puhu:
Is this module working on magisk 14.0? I can't see anything about in magisk log. [MENTION=7296895]veez21[/MENTION]

MI 5 cihazımdan Tapatalk kullanılarak gönderildi
[Magisk] kwanthenewbie:
+1
[Magisk] demonoidmaster:
Yes it works just fine
[Magisk] WarriorMax:
Can the module Uninstaller be used to remove this module?
[Magisk] veez21:
It can.

If it doesn't, manually uninstall it in the manager or in recovery
[Magisk] chazarss:
hi all

do i need to do anything after flashing with magisk or is it already coming with default setting ?
[Magisk] Spencervb256:
The default comes with it after flashing, and it is "speed"

To view the other options type "art_magisk" into a terminal emulator of your choice
[Magisk] Ne0x86:
really feel performance improvement?
[Magisk] D1stRU3T0R:
Ah... Not really... But... Ehh... Isn't updated... Soo.. Ah
[Magisk] veez21:
A little bit. But we do know that it's working (?) and applied so it should.
[Magisk] Eng.Raman:
[MENTION=7296895]veez21[/MENTION] please, need an update for your module compatible with x86 devices such as Zenfone 2 Z00A and new magisk v14.0 .

Thanks:o
[Magisk] veez21:
it's not compatible? can you try it..
[Magisk] Eng.Raman:
Already I tried, it's causing a bootloop.:(
[Magisk] onliner:
Device? Android version? Rom? Its working well in my 3T, 6P and Redmi Note 3.
[Magisk] Eng.Raman:
Asus Zenfone 2 Z00a, Stock marshmallow 6.0.1
[Magisk] demonoidmaster:
Magisk installed?
[Magisk] Eng.Raman:
Yes, Magisk stable v14.0 and magisk manager v5.3.0 .
[Magisk] veez21:
UPDATE TO v1.5!

An update! Yay :D

Changelog:

* update-binary updated to support Magisk v13+

* exit codes fixed

* Future proofing

* Other cosmetic changes

Please download at Magisk Manager

For non-magisk users, you can build it yourself at github (google it). It's pretty late here at ours

You can donate here:

https://xdaforums.com/donatetome.php?u=7296895
[Magisk] abdess47:
Hi,

congratulation !!! :highfive:

But it work's on android 8.0 (OREO) ? :confused:
[Magisk] Eng.Raman:
ART Optimization v1.5 magisk module causes stuck at bootlogo with magisk 14.0 and magisk manager 5.3.0 installed.

while non-magisk one works well set filter to "everything" .

Too many thanks [MENTION=7296895]veez21[/MENTION] :good:

Device: Asus Zenfone 2 Z00A / Stock 6.0.1
[Magisk] veez21:
If non-magisk works well, then good ?
[Magisk] veez21:
It worked, at least for me. ?
[Magisk] abdess47:
I tested, It doesn't work on my nexus 5X full stock 8.0
[Magisk] Eng.Raman:
Are you tried non-magisk.sh script ?
[Magisk] kevinhhgea:
working good, but sometimes magisk manager reports Magisk as uninstalled and after rebooting my phone its normal again
[Magisk] abdess47:
Hi,

No I don't try
[Magisk] guest4711:
Are you sure this behaviour depends on this module? I see that on other devices with Magisk 14 too where this module is not installed.
[Magisk] Deco apriliansyah:
Same here. Work well on Redmi Note 3 pro(kenzo) NitrogenOs Beta 8.0 . Thanks dev
[Magisk] innit:
were is 1.5? not on androidfilehost and downloading through magisk gives error
[Magisk] TONGEXHISPEED:
Why 1.5 not work on my device ( op5+oos 4.5.10+magisk14)

But recent version(1

4) it work fine!

Help me!
[Magisk] nexus_vl:
You're answer is in your own post, you should read it!

You don't have busybox installed
[Magisk] demonoidmaster:
Common sense lacks in that guy, yes
[Magisk] innit:
hey, could you share the 1.5 zip?
[Magisk] puhu:
Its already in the magisk repo.

MI 5 cihazımdan Tapatalk kullanılarak gönderildi
[Magisk] innit:
I know that but I can't download it. it shows "process error" that's why I'm asking here
[Magisk] LinuxPanda:
Here you go. :)
[Magisk] guest4711:
So you probably need to create the (missing) folder /internal storage/MagiskManager (aka /storage/emulated/0/MagiskManager) by hand. It's a known problem of Magisk14 not to create it...
[Magisk] adekboreanaz:
Finally it's working with MIUI 9 Nougat 7.0 on Redmi Note 4 and

What happened when i update my ROM with dirty flash, i install the magisk version do i need to set filter again?
[Magisk] veez21:
Not unless you've deleted magisk.img in /data.
[Magisk] mflow:
not sure why, but after installing this module it broke my mobile data (WiFi still working though). Using Google Pixel + Magisk 14.1
[Magisk] veez21:
Idk about that atm

Maybe the new changes to Magisk 14.1?

Try the crash-fix in the android file host (linked at the OP)
[Magisk] borxnx:
Magisk 14.1 broke some things on the Pixel(s), and topjohnwu provided a hotfix update very quickly to 14.2. I don't know if it's related to your issue, but you should update to 14.2 regardless
[Magisk] mflow:
Thanks for the advice! 14.2 fixed it!
[Magisk] veez21:
Download links for the latest version added in AFH! (non-magisk users use it) :)

Here
[Magisk] Eng.Raman:
Big thanks :good:
[Magisk] TheRuan:
Hi, unfortunately, I was unable to install your module due to the fact that it needs busybox and the systemless busybox from magisk currently breaks the ability to use the alpha xposed framework, but I opened your code(I think i understood, at least most of it :p ) and read everything which allowed me to implement in the system. Thanks a lot for that.

But to the point, i read the file non-magisk.sh and found this at the end of the code:

if [ $API -ge 25 ]; then

if [ $ram -le 1024 ]; then

set_prop dalvik.vm.dex2oat-swap true

else

set_prop dalvik.vm.dex2oat-swap false

fi

elif [ $API -ge 23 ]; then

! grep -q -i samsung /system/build.prop && {

set_prop dalvik.vm.dex2oat-threads 4

}

fi

This condition only changes dalvik.vm.dex2oat-threads to 4 IF and only API = to 23 or 24 right? Shouldn't this be applied to 25 too?

If this is done in another part of the code or if this is supposed to be like that please ignore my dumbness, I'm not that good in coding yet.

Thanks again !!!
[Magisk] veez21:
You're right actually :)

Thanks for pointing that out :good:
[Magisk] Executioner44:
Thnx
[Magisk] Maxissc:
Flashed on Verizon s7 Edge stock tw nougat (locked bootloader; Supersu+Xposed) with flashfire and everything profile. now waiting for the phone to rebuild dalvik

edit: just booted succesfully, working good so far

my getprop | grep dalvik

[dalvik.vm.appimageformat]: [lz4]

[dalvik.vm.check-dex-sum]: [false]

[dalvik.vm.checkjni]: [false]

[dalvik.vm.dex2oat-Xms]: [64m]

[dalvik.vm.dex2oat-Xmx]: [512m]

[dalvik.vm.dex2oat-filter]: [everything]

[dalvik.vm.dexopt-flags]: [v=a,o=v]

[dalvik.vm.heapgrowthlimit]: [256m]

[dalvik.vm.heapmaxfree]: [8m]

[dalvik.vm.heapminfree]: [2m]

[dalvik.vm.heapsize]: [512m]

[dalvik.vm.heapstartsize]: [8m]

[dalvik.vm.heaptargetutilization]: [0.75]

[dalvik.vm.image-dex2oat-Xms]: [64m]

[dalvik.vm.image-dex2oat-Xmx]: [64m]

[dalvik.vm.image-dex2oat-filter]: [everything]

[dalvik.vm.isa.arm.features]: [default]

[dalvik.vm.isa.arm.variant]: [cortex-a53]

[dalvik.vm.isa.arm64.features]: [default]

[dalvik.vm.isa.arm64.variant]: [kryo]

[dalvik.vm.stack-trace-file]: [/data/anr/traces.txt]

[dalvik.vm.usejit]: [true]

[dalvik.vm.usejitprofiles]: [true]

[persist.sys.dalvik.vm.lib.2]: [libart.so]

[ro.dalvik.vm.native.bridge]: [0]
[Magisk] SignetSphere:
I just used this module and boot-time definitely improved. I'm using the "everything" filter. Using this on RR 5.8.5 on SGS4.
[Magisk] Mecca EL:
Joined!! :highfive:
[Magisk] veez21:
Cool :highfive:
[Magisk] janres155:
Asus Nougat

Hi,

Thanks for the module! Just want to ask why dex2oat-filter is still showing as speed eve though I chose everything during art_magisk? I am currently on 7.0 of asus zenfone 3 ze520kl with latest version of the module installed. I answered yes for wipe and reboot.
[Magisk] Kevin Rifo:
Help, I got this at non magisk mode
[Magisk] walkwitmeinhel:
Can i use this in miui nougat 7
[Magisk] r0tati0n:
Hello :)

Non magisk, using "setfilter speed" I can comfortably set speed for every file, correct?

When I enter this (or everything) I get:

"/system/bin/setfilter[49]: syntax error: ';' unexpected"

what does this mean?

€dit:

I removed the ";" at line 49,

"&& { ; am start https"

doing setfilter speed again:

setfilter speed

- no file supplied, checking default directories

-- /system/su.d/art-opt.sh exists

-- checking compatibility

---- /system/su.d/art-opt.sh is compatible

--- /system/su.d/art-opt.sh can be executed

- checking supplied filter

-- speed is a valid --compiler-filter

--- setting speed for /system/su.d/art-opt.sh

- failed
[Magisk] veez21:
Looks like setfilter is having some error, for the mean time try changing the filter directly from the file art-opt.sh
[Magisk] r0tati0n:
Hello and thank you :)

But it appears, I had a faulty busybox installation, now it works.

(did not change back the file though)
[Magisk] janres155:
Anyone? I'm not sure if it works for me or not.
[Magisk] veez21:
It will be fixed in the next release
[Magisk] janres155:
That's great. Maraming salamat! Looking forward to your update. :)
[Magisk] iamfarhanansari:
Do it work in nougat
[Magisk] veez21:
Hey, you're welcome po! Good to see another filipino here ?
[Magisk] slmklc:
How to change filter? *it says need root in terminal. I have root.
[Magisk] guest4711:
Did you try "su" first?

How to use:

Open Terminal Emulator

Type

su

and then

art_magisk

Then choose your filter
[Magisk] slmklc:
thanks mate I figured it out but it is still booting about 20 minutes, I was chosen "everything" I think this boot time is not normal ?

edit : manually going twrp and wipe cache/dalvik fixed it.
[Magisk] phpbb3:
Does this rebuild the ART cache at the specified optimisation level each time the cache is rebuilt? ie after flashing a nightly and wiping cache/dalvik in twrp?
[Magisk] guest4711:
Yes. It's setting the properties so the caches will be build using the defined levels (after installing new apps or after wiping dalvik).
[Magisk] abhi08638:
Works perfect for me on my OP3 on AOSPA 7.3.0 (7.1.2 nougat)

After setting it to everything it fixed the lag introduced when installing systemless xposed 88.1, and my xposed installation is still working and active. I only use two modules however so your results may vary.
[Magisk] airidosas252:
This modification is a must, especially if you have a pretty old phone. All I did was put first dalvik dex2oat lines to everything manually in build.prop and holy hell that did make a significant difference. From unusable phone it became blazing fast. Thanks anyways. :)
[Magisk] MrPhilo:
Anyone use this module with L Speed? Does it runtime optimization work properly this this module?
[Magisk] bloodsaw:
Is there any way I can manually install this for a system with Systemless Super SU?

I have an AMlogic S905x tv box I would like to use this on but the rom came with root preinstalled, the only root manager that would work is SuperSU but there is evidence of a magisk installation at the same time, the magisk uninstaller won't uninstall the magisk files and gives the error that the boot.img has been modified by another program and the uninstaller cannot continue. So I ran the UnSU zip to unroot the device because it had a system based SuperSU installation along with magisk, I then installed the systemless based SuperSu v2.82.

I have tried using the Magisk Manager on this device but it's doesn't detect an installation, I have also tried uninstalling SuperSU and installing a newer version of Magisk but it always fails with error: exit code:21

my issue is that whenever I run any of your unified installers it detects this "phantom" magisk installation and installs the magisk module then finishes the script.

So if there is any way I can customize the zip so it skips magisk detection, I can install the fiiles manually, or if you can make a unified installer zip that doesn't check for a magisk installation, that would be very helpful as I do find your programs to be quite helpful in optimizing android devices to the users taste.
[Magisk] veez21:
Extract non-magisk.sh from the zip. If you use supersu, create a directory (if not present) /system/su.d, then put the script there. Edit the script if you want to then set permissions to rwx.
[Magisk] bloodsaw:
Thank you [MENTION=7296895]veez21[/MENTION] . After doing some digging around on freaktab I found a custom ROM for the tv box I have and the tools used to modify AMlogic images, so far I've cleaned up the image quite a bit removing all of the bloatware that was included. While I was removing the bloatware I went digging through the firmware to see how root is enabled, all I could find was the Su binary in /system/bin and a binary called su_daemon located in the same folder. So I have no clue what method of root the ROM is using, it's the root method the manufacturer included with the box.

The ROM does support init.d how would I go about setting up your tools through init.d ? I would like to include art-opt and app systemizer with the firmware image I am making.
[Magisk] veez21:
Yeah, that'll also work
[Magisk] Mezabaru:
Still works on 14.5!
[Magisk] realmin04:
I don't know why it conflicts with 14.5 for me, everytime i flash this mod, iYTBP and Viper for magisk would disable itself as if it didn't installed. I thought the problem was the ROM, it's the new mounting point for magisk, i think? Can't provide logs though at the moment...
[Magisk] veez21:
Did you try flashing this first then the other modules?
[Magisk] realmin04:
Already tried flashing it first, which is kind of weird to be honest, it was working on 14.4 in the past then the two aforementioned mods stops working... Even with version 14.5 it's still persists.. :confused: Going to post my log

Edit: here's the log, i think the problem is the rom itself, i hope
[Magisk] kramer04:
Hello [MENTION=7296895]veez21[/MENTION]

I use Magisk v14.5 and i don't see art in download modules section of magisk.

Is it because of magisk v14.5 ?
[Magisk] Jole7:
Hi [MENTION=7296895]veez21[/MENTION] please fix the bug on v1.5 that can't change filter so far v1.4.1 had the best performance thanks!
[Magisk] Mezabaru:
I had that issue before clean flash fixed but it work by using the setfilter command for some reason, maybe see if that does it?
[Magisk] veez21:
Try putting setfilter in /magisk/runtime-optimization/system/bin then set perms to rwx then reboot then use setfilter (in the OP)

??
[Magisk] Mezabaru:
I dont have the issue anymore, but for i was able to do it by using su setfilter everything for some reason, that was a few clean flashes ago
[Magisk] xingyakong:
After installation, reboot, then all magisk app installed before are disappeared, magisk manager looks like normal, but dolby, viper4fx,etc apps are gone. I have to disable the module, reboot, then missing apps returns. How to fix this?
[Magisk] Sachiru:
On an LG v20 with several Magisk mods installed (Most notably systemless Xposed Framework) and Android 7.0, I've been at the compiling stage for around 2 hours already. Filter is set to speed-profile, pm.dexoat.bg-dexoat = everything and all other options are set to speed-profile. Anything that I can do to speed this up?
[Magisk] veez21:
I don't recommend messing with it. You'll end up in a bootloop if something's wrong.
[Magisk] kramer04:
Hello [MENTION=7296895]veez21[/MENTION]

I've magisk v14.5 but I don't see art optimization in magisk manager
[Magisk] guest4711:
No problem here with current beta 14.5.2 of Magisk & MagiskManager.
[Magisk] kramer04:
I mean in download Magisk Manager

and how did you get Magisk V14.5.2 because mine is V14.5 (1456) ?