yashsingh1/xdaforums huggingface dataset:
[Magisk] Shen Ron:
I will

---------- Post added at 04:43 AM ---------- Previous post was at 04:28 AM ----------

It works which is good, thank you. But too bad this can't optimize the system so we can have more space on the rom itself, that would be awesome if it was possible
[Magisk] veez21:
idk about system. Plus, removing stuff from system is not systemless
[Magisk] bijindas:
AdAway & [Magisk][Module] Unified Hosts Adblocker no longer working... worked fine with v0.7.5 :confused:
[Magisk] Shen Ron:
I know but what i mean is that it would systemleesly add a certain amount of fake free space to system to trick apps that can integrate app updates to think there is enough space to install to the system or integrate an update. That way if your having trouble with not enough space on the system partition even though you clearly do have the space then this will help deal with that.
[Magisk] redbullman:
This is great. Is it ok to install over previous version and then delete cache or should the previous version be uninstalled first? Thanks
[Magisk] veez21:
Try rebooting again, we all know magisk is unstable and unpredictable

Try rebooting again

No need to uninstall the previous version ;)
[Magisk] redbullman:
Great thanks
[Magisk] kurtextrem:
My Magisk manager says "The zip is no Magisk module". Downloaded in the Magisk Manager.
[Magisk] veez21:
That's unusual, try intalling through recovery or redownloading the zip
[Magisk] bijindas:
Tried... getting "Cannot copy host file" error
[Magisk] veez21:
Try manually copying
[Magisk] bijindas:
Getting cannot copy error :confused:... Got stuck in boot loop when restarted... :(
[Magisk] veez21:
Try restarting a couple of times, if that doesn't work flash the uninstaller linked in the OP
[Magisk] veez21:
NEED SOMEBODY TO TEST OUT THIS PROPERTY!

dalvik.vm.dexopt-flags=v=n

Put this in /magisk/.core/props/test-vm.prop

Reboot to recovery and wipe dalvik-cache.

Test app performance and report back

Thanks in advanced :o
[Magisk] Shen Ron:
That file doesn't exists in that location to my device.
[Magisk] bijindas:
Uninstalled 0.8.5 and installed 0.7.5... everything working fine now... :cowboy:
[Magisk] veez21:
You can make it ;)

Good :good:
[Magisk] Shen Ron:
So just a regular text file then, OK.

---------- Post added at 11:09 AM ---------- Previous post was at 11:05 AM ----------

OK preparations complete, wish me luck. I'M HELLA NERVOUS RIGHT NOW DAMNIT
[Magisk] veez21:
Don't worry, I doubt you'd be in a bootloop. But if you're gonna be in one, just delete the file you created
[Magisk] Shen Ron:
Just finished my initial test without wiping dalvik and the device gained a 14% increase in speed and apps are much faster compared to before. I'm going to test what happens after wiping dalvik now

---------- Post added at 12:12 PM ---------- Previous post was at 11:26 AM ----------

OK phone just finished all of its reboots, no problems found yet but unlike before apps are faster by a total of 19% and stable. Response is good and very promising. IT WORKED:D:laugh:Good work, you are the man.
[Magisk] bijindas:
Yeah.. me too felt them same :D
[Magisk] Jerjawi:
you guys sure this won't affect the battery at all?
[Magisk] veez21:
Not by my experience...

You can try it and tell me about battery life
[Magisk] veez21:
Thanks for testing :)

I'll release an update probably tomorrow :good:
[Magisk] Jerjawi:
I'll install it when you update and I'll post the results.

How are they measuring apps opening speed? Is there a way on Nougat?
[Magisk] veez21:
Idk, I just feel it actually and look at google's documentations about the effects of the properties used (google knows best?) :o
[Magisk] Jole7:
Thank you for this module these lines are making the bigger difference in performance

dalvik.vm.image-dex2oat-filter=everything

dalvik.vm.dex2oat-filter=everything
[Magisk] bijindas:
Hope the AdAware related issue gets fixed... :rolleyes:.. v0.8.x was bit unstable in all my devices... :(
[Magisk] Bliepo:
Tried this module on Nexus 6 with stock ROM, franco kernel + superSU but didn't work unfortunately. It managed to boot with default settings, but apps would crash, so I figured "in for a penny, in for a pound" and changed it to everything from within TWRP, but then it didn't boot anymore. Removed it in TWRP and wiped cache and worked again. Normally I'd have tried a while longer but don't have time right now. Great idea though!
[Magisk] justjr:
In here everything filter only change the later line.

Why is that [MENTION=7296895]veez21[/MENTION] ?

Can't I put this on system.prop on the module folder?

What about changing the line dalvik.vm.image-dex2oat-filter to everything?
[Magisk] majee12:
Please i need the link to the latest version 0.8.5 . Magist edition .
[Magisk] Didgeridoohan:
It's in the Magisk Manager, in Downloads.
[Magisk] Sam Nakamura:
I tried to flash the non magisk version on my old lenovo a7 tab running RR 5.7.4 (android 6.0.1) with latest available twrp {3.0.2) for this device and I'm getting the error seen on screenshot...

Any suggestions? I can post a recovery log if it helps...

Thanks for this cool mod :good: by the way, it's appreciated
[Magisk] jordirpz:
You must unzip.

Move to su/su.d and set permisión 700 (rwx------)

Reboot recovery, wipe dalvik/ cache.

Reboot.
[Magisk] majee12:
For some reason I can't download from there , because it only show me the details of the file and that is is it.

---------- Post added at 10:36 PM ---------- Previous post was at 10:35 PM ----------

This happened to all modules in the download section. I will be so happy if someone could just upload the zip for me .
[Magisk] Sam Nakamura:
Thanks, my tiered eyes must have missed this part completely...

So, that means systemless supersu is required, I have unfortunately no systemless su available on this specific setup as I couldn't make supersu detect the kernel, only option is system mode which isn't also working perfectly, therfore the only stable solution for me is inbuilt root and there is no su.d available...

Anyways, thanks for quick replying and pointing me, very cool :cowboy:
[Magisk] Didgeridoohan:
You'll need to click the little downwards pointing arrow on the right... Clicking on the module opens the readme, as you've noticed.
[Magisk] jordirpz:
You can move to system/etc/init.d too. But isnt preferred
[Magisk] majee12:
This is what am seeing . Those buttons is gone .
[Magisk] Didgeridoohan:
Ha! :D That one's interesting... Got any themes installed that could interfere with the Manager?

Meanwhile, you can download the files from GitHub, rezip them (they'll need to be in the root of the zip but GitHub places them in a folder inside the zip) and flash through recovery.

The link to the source on GitHub is in the OP.
[Magisk] majee12:
Thanks
[Magisk] borxnx:
I flashed the Magisk module v0.8.5, changed the compiler filter to "everything", rebooted to recovery, wiped dalvik/cache, and rebooted. Now my SIM card is not recognized. I rebooted and dozens of apps kept FCing, to the point where I had to hard reset by holding the power button. Several resets later and SIM card still not recognized.
[Magisk] bijindas:
i had seen similar issue... better revert to v.0.7.5 :rolleyes:
[Magisk] borxnx:
Are you on Project Fi by any chance?
[Magisk] bijindas:
Project Fi? :confused:
[Magisk] veez21:
Look at git commits, I actually added that for v0.9

Try speed, if it doesn't have any problems
[Magisk] veez21:
UPDATE TO v0.9!

Changelog:

Improved logging (view it at Magisk Manager)

dalvik.vm.dex2oat-filter is now in sync with dalvik.vm.image-dex2oat-filter

Added dalvik.vm.dexopt-flags

Script bug fixes and optimization

Download at Magisk Manager

Non-Magisk: here
[Magisk] justjr:
I'm using other flags, why verify none? Just for faster boot? I put verify all and optimize only verified.
[Magisk] venomus001:
updated to V 0.8.5 had a bootloop then clean flashed my rom and now after installing V 0.9 bootloop again

im using magisk on Andoid 7.1.2 OP3T
[Magisk] DiePirate:
Is the same art optimization of lspeed?
[Magisk] veez21:
Don't use verify none. Use imterpret only, space, balanced, speed or everything

Reboot a couple of times and wait for it. If that doesn't work out you can uninstall it ;)
[Magisk] veez21:
No, but it contains some of l speed's
[Magisk] borxnx:
I disabled the older version and installed v0.9, wiped dalvik/art cache, and all is well.

I will note that when I tried to install v0.7.5 using FlashFire, after my phone rebooted it wouldn't recognize my lockscreen pattern. I had to do the fix that applies to restoring a recovery backup for when you're locked out of a device (deleting files in /data/system or whatever). So maybe don't use FlashFire for this module ;)

I'm going to try to set the compiler filter to "everything" again. If it does not work, I'll report back. If I don't report back, then it's all good.
[Magisk] Tesla:
No worse here. Not at all.

Faster? I don't think so. But not slower.
[Magisk] veez21:
The default filter in this module is interpret-only right? It is actually beneficial at most in first boot. After that, you cam gradually move up with the compiler filters. But going to the highest filter (everything) costs space in /data. If you choose lower (for ex: balanced, interpret-only) it'll save you space in /data, meaning, you can install more apps.?
[Magisk] veez21:
UPDATE TO v0.3

Some of you may have only been changing values in system.prop, but post-fs-data.sh and service.sh is also applying values on their own and needs to be edited too. On this update , you'll only have to change system.prop since post-fs-data.sh and service.sh will read from that.

Changelog:

post-fs-data.sh and service.sh now reads from system.prop

Download
[Magisk] iG0tB0lts:
Wow, seems really interesting. Also reducing app size for my 16GB storage is useful ?
[Magisk] Tesla:
What exactly am i supposed to change in module.prop?

It's 05:07 here and i'm tired... Show me and be specific please :)
[Magisk] veez21:
LOL, typo!!! Sorry, guess I'm also sleepy :o:o

It's system.prop, I'll edit the posts right away
[Magisk] Tesla:
Hehehe.. i thought so ;)
[Magisk] veez21:
HOT FIX FOR v0.3.1

v0.3 had a typo in post-fs-data.sh and service.sh that reads from module.prop instead of system.prop :eek:

Download
[Magisk] :
So after reading this, I take it that at the cost of less space the first boot is faster (only during optimizing app stage) and doesn't affect app launch/use at all, correct?
[Magisk] rignfool:
If you run it as shipped yes...

You can switch to 'everything' and maybe notice some reduced time in loading apps... But probably not...
[Magisk] aaz03:
Noticed one thing on Nougat: after enabling this optimization, every app gets to eat a whole lot of more ram , naptime gets to eat 50mb vs 5 before optimization, if you have a low ram device this is not for you, my apps kept reloading each time
[Magisk] lesscro:
Tried on MIUI 8 rom... Flashed under TWRP - Wipe dalvik/blabla...

1st boot with optimisation seems to be take same time here... too long on my device...

Does i need feel something uch better in 1st boot or app launch ?

Edit /

System crash... all action take longer than before...

Actually seems not efficient on MIUI rom and my MIX...

All animation take a very long time, my screen goes off each time i make something... unbelieavable... any thx for ur time...
[Magisk] veez21:
Change the

dalvik.vm.dex2oat-filter=interpret-only

To

dalvik.vm.dex2oat-filter=balanced

in /magisk/runtime-optimization/system.prop.

Reboot and see if that helps :good:
[Magisk] Shen Ron:
Awesome, before I had only 1.2gb of free space and now I have 2.09gb of free space thanks to this and I set it to speed.
[Magisk] Tesla:
Obvious this is working different depending on the device.

Curious on how this will develop.

Might i suggest an app to change settings?
[Magisk] veez21:
An app is too much, I'll try to make a UI in Terminal emulator (like all my other modules) ;). Plus, I don't have a permanent pc atm... :(
[Magisk] yandreev3:
This module on Android 6.0.1 breaks Facebook messenger
[Magisk] veez21:
Yep, on it.an update is coming up :good:
[Magisk] veez21:
UPDATE TO v0.4!

Please test this [MENTION=5573054]aaz03[/MENTION] [MENTION=540886]lesscro[/MENTION] [MENTION=7799143]Shen Ron[/MENTION] [MENTION=4901223]Tesla[/MENTION] [MENTION=4734531]yandreev3[/MENTION] and the other guys who had some problem

Changelog:

Now has a UI in Terminal Emulator (how to use is in the OP)

Default compiler filter is speed

Automatically wipes dalvik-cache after flashing

Download
[Magisk] aleasto:
I'm getting force closes on multiple apps, error logs related to "Chromium WebView package does not exist" (Twitter, Relay for reddit, FastHub for GitHub, plus a little app from myself).

Settings > Developer Options > WebView implementation shows no webview to select from.

And obviously, yes, i have webview installed, it was working fine before flashing this module.

Any hints?
[Magisk] DiePirate:
Sorry for my english!

Conflicts with lspeed?

I type on terminal :

Chmod 755 /su/su.d/art.su

is correct?

I change the name of course!
[Magisk] veez21:
:good:

But chmod should be small letters
[Magisk] justjr:
No, I'm not talking about the filter settings, but the flags. You asked to try v=n, this means verify none (which boot faster but may have problems optimizing apps it shouldn't), I'm using verify all, and also the other flag cited.

On the filter settings I'm using everything.

And it's blazing fast!
[Magisk] veez21:
Ok, I thought in was on dalvik.vm.image-dex2oat-filter. That's why I asked to test the flag because testing it myself isn't enough. Thanks for the feedback and I'll try the flag and probably implement it :good:
[Magisk] justjr:
I forgot to say the other flag I used too, o=v tells it to only optimize the ones it verified and certified it can be optimized. Boot time is longer with verify all, but maybe solve other people problems.
[Magisk] rex900:
how to know or verify if parameter for non-magisk is applied? [MENTION=7296895]veez21[/MENTION]
[Magisk] bijindas:
Will try on my Nexus 7 first... ;)
[Magisk] veez21:
Do this command

getprop | grep dalvik

and see if the properties from the OP are in there
[Magisk] rex900:
seems not applying sir??? ill already set "everything"(without quotes), and reboot+clean dalvik,
[Magisk] veez21:
Seems that it didnt. Put it in /su/su.d or /system/su.d. Then change permission to 755 and reboot
[Magisk] rex900:
i already put that file in /su/su.d before and change the permission to 755..
[Magisk] veez21:
UPDATE TO v0.9.1!

Changed dalvik.vm.dexopt-flags to v=a,o=v.

That's all :good:
[Magisk] rex900:
[MENTION=7296895]veez21[/MENTION], can I add the parameter manually in build.prop
[Magisk] veez21:
Try executing them manually, then you'd probably see the properties in build.prop
[Magisk] rex900:
even that does not applied :(, getprop|grep dalvik return same thing
[Magisk] walkwitmeinhel:
I install this module via magisk now what more need to do?
[Magisk] Didgeridoohan:
Now you read the OP for instructions.
[Magisk] k2065183s:
No change in NON-MAGISK?
[Magisk] veez21:
Read the README or the OP ;)

Wait, I'll update it in a sec :good:
[Magisk] veez21:
NON-MAGISK v0.9.1 UPDATE!

DOWNLOAD
[Magisk] redbullman:
Hi. Just noticed that this module in magisk asks me to update manually in recovery. So far I have just let the installer in magisk do it for me. Is this ok or should I update via recovery as magisk tells me to do?
[Magisk] veez21:
The only advantage you'd get in installing in recovery is that you retain your settings. It's okay to install in Magisk Manager ;)
[Magisk] redbullman:
Thanks against and great work on this!
[Magisk] borxnx:
So I'm having a strange issue. I can flash 0.7.5, 0.8.5, 0.9, and 0.9.1 without issue in recovery and wipe dalvik/art cache. Phone boots, slowly due to having to re-optimize, but it boots normally. Things seem snappier.

As soon as I reboot, however, my SIM card is no longer recognized. It doesn't matter if I've changed the compiler filter or not, any second boot after flashing the mod and wiping dalvik/art cache causes this to happen.

Additionally, if I continue rebooting, there comes a time where the phone is unusable. Literally every app constantly force closes (and seemingly reopens just to FC again), and it's so quick that I cannot even use the UI to reboot. I have to hold the power button to hard reset.

The only version I mentioned above that I have not tested my reboot issue with is 0.7.5. Haven't had time this evening, and it's very late. If I get a chance I'll check it out in the morning.

Was looking forward to this mod, but it's simply not working for me. If anyone has any ideas, please let me know.

N6P, PN 5/9/17 7.1.2, Flash kernel, f2fs, TWRP 3.1, magisksu, Project Fi
[Magisk] veez21:
Tested in Pure nexus and is working great, but it's non-magisk. Try it.
[Magisk] edoardotavecchio:
I've experienced both issues. The Sim card issue was caused by a conflict between magisk modules (Universal deep buffer remover by ahrion, because of AudioModLib). The UI crash it's a mystery, If I flash like one module per boot (flash 1/2 modules in magisk manager, reboot, flash other, reboot etc.) I avoid this issue, but I still don't know why this happens.
[Magisk] bijindas:
Tried updating....

First boot went fine...

AdAway still not working... getting "No enough storage" error... working fine with v0.7.5

stuck in boot loop after reboot :(
[Magisk] veez21:
Weird indeed. Since it's samsung, It's kinda expected to have problems. You can experiment and try flashing again and do a few reboots and see if that works
[Magisk] venomus001:
I gave up I'm just using it on my Galaxy Tab 2 10.1 working like a charm
[Magisk] heri1978:
The tweaks that really work.........RROS 7.1.2,GT-I9205, snappier ui....my experiment, setup speed + other Gov tweaks script, running good without conflict....
[Magisk] veez21:
Good for you guys :good:
[Magisk] psychoela:
test magisk v0.9.1 results bootloop, then non magisk it boot, but it is working?:confused: tq
[Magisk] otonieru:
Installed on Galaxy S8 G950F with default setting,

Wow, the app opening speed is no kidding :eek::svetius:

Geeat work

---------- Post added at 05:46 PM ---------- Previous post was at 05:44 PM ----------

Installed on Galaxy S8 G950F with default setting,

Wow, the app opening speed is no kidding

Geeat work
[Magisk] thecoolkid:
How can I downgrade? I feel v0.9.1 is slower on my OPO MM Rom than v0.8.5... ?
[Magisk] veez21:
It's not, I'll try looking into it. Try executing it manually in terminal emulator

sh /path/to/name.sh

?
[Magisk] psychoela:
yeahh! Thanks:highfive:
[Magisk] Aguys:
Bootloop using magisk 0.9.1. Nexus 5x, I'm on RR ROM(7.1.2).
[Magisk] psychoela:
try non magisk put into su.d:)
[Magisk] Aguys:
I don't have supersu installed bro:). But, tried execute non magisk via terminal, seems it is working now, thanks.
[Magisk] veez21:
Try rebooting a few times and if that doesn't work, try non-magisk, which will edit your build.prop
[Magisk] veez21:
5c02e99

Just to keep you guys updated...

I've made the Installation "UNIFIED"!

Which will install to Magisk if present. If not, then it'll find an alternative in this order:

> Magisk > Systemless SuperSU > System SuperSU > Init.d

If none of the above is accessible, it won't be installed. Which is very rare since users will likely have already installed at least one of these in their phone.

This will also minimize confusion to the guys who haven't read the OP :p

This will be available in v1.0 update ?
[Magisk] 24imelqui:
Dont systemized adaway.
[Magisk] bijindas:
No i didn't.. Adblocking not working... tried with [Magisk][Module] Unified Hosts Adblocker... works fine with v0.7.5... I am on 7.1.2... hope thats not the issue :confused:
[Magisk] psychoela:
I also don't have supersu:)
[Magisk] Aguys:
Oh yes, found it, I thought it supersu folder :D thanks...
[Magisk] smohanv:
Each time i see an update here, I flash the update and also run the script via terminal Emulator.

Question is, should I have to run the script each time i update with new version. Thanks.
[Magisk] veez21:
Magisk version? If so, then no (if you flash it from recovery)
[Magisk] smohanv:
Yes. With magisk. Thanks for confirming that we don't have to run script time and again. Starting from your earlier version I have been running the script each time I update. This is a big relief to me that I don't have to run script after each update unless you mention in the OP notes.

You may consider mentioning in OP page that that magisk users do not need to run script after each update. Thanks.
[Magisk] veez21:
Well, you don't need to run the script again if you flash it in recovery ;)

If you update and flash directly in Magisk Manager it'll overwrite the values you applied before
[Magisk] smohanv:
Good point, I was updating in magisk. From now on I will update through TWRP.
[Magisk] veez21:
UPDATE TO v1!

This version now includes

Unified

installation! It installs in this order according to detection:

> Magisk > Systemless SuperSU > System SuperSU > Init.d

Unified installation

dalvik.vm.dex2oat-thread_count is now only applied Android 6+

Download at AFH or at Magisk Manager
[Magisk] JetonZ:
same problem with SIM card on my n6p stock 7.1.2 + flash kernel, f2fs cache, magisksu.

Tested 0.8.5 and 0.9.1

Boot all ok, but after restart my SIM card dont work.

if use non-magisk in /magisk/.core/post-fs-data.d/ have same results with SIM card.

anyone use ART Optimization with f2fs?
[Magisk] veez21:
Can you post a logcat?. Perhaps it's an issue with magisk + n6p + this module. Have you e tried supersu?
[Magisk] JetonZ:
I'll write a logcat, me need time :)

I dont tried supersu.
[Magisk] smohanv:
My phone has become very snappy and reactive to touches.. Just love it..

Based on my conversation with OP, i flashed in TWRP instead of updating via magisk installer so that I don't have re-run the script. Thanks.

My device & environment:

LG G5 (intl edition H850)

Custom stock which is Fulmics ROM (Android 7.0)

Systemless root through magisk (not SuperSu)

TWRP latest recovery

Stock Kernel
[Magisk] JetonZ:
lol, I flash new version, launch logcat and phone boot and reboot without problem! :eek:

Now I'm testing and if there are any problems, I'll record the logcat! :p

PS Sorry for bad english :o
[Magisk] michał79:
update?

Update for non magisk?
[Magisk] JetonZ:
as I understand, now one zip for magisk and non-magisk version:

https://xdaforums.com/showpost.php?p=72335112&postcount=434
[Magisk] smohanv:
Though I flashed latest version 1 via twrp, in magisk it shows version reference as 0.1. Is this normal. Thanks.
[Magisk] veez21:
Lol, it's a typo. But that is v1 ?
[Magisk] Sam Nakamura:
You read the note on your screenshot to flash this not via magisk but custom recovery?

Edit: sorry, I misread it.. :laugh:
[Magisk] ebrijesh:
After last two updates my app installation is slow.

It was very quick in earlier version.
[Magisk] borxnx:
He changed some new things to get even better performance. Apps take longer to initialize/install, but launch and perform faster.
[Magisk] borxnx:
After deleting AudioModLib, AM3D Zirene Sound, and also Viper4Android Magisk modules, and using v1.0 of this mod, I can now use the Everything compiler filter and it survives reboots without the SIM card disappearing!

Thanks to everybody who chimed in, and to veez for making this!

Just posting my results for reference.
[Magisk] Paperpaperpaper:
Install it and try,but magisk hide not work.......is it normal?:confused:
[Magisk] borxnx:
It works fine for me.
[Magisk] edoardotavecchio:
Yes that were the issues I've discovered too, your ttests make my assumptions confirmed.

AudioModLib causes SIM card misreading

Viper4Android, as I found and some other users reported, can cause sysUI crash (wipe data needed).
[Magisk] lahceneamine:
Since you installed the module, does your S8 reboot as quick as usual ?

I get stucked 1mn 06sec on the boot logo (Galaxy S8 Powered By Android) then 1mn 28sec on Samsung for a total of 2mn 34sec instead of the usual 25 sec.

I'm using the default settings also.

My Config :

- G950F.

- Magisk v12 (Magisk Root)

- Magisk Hide Enabled.

My Magisk Modules :

- ART Opt v1

- Emoji One

- Greenify4Magisk

- OgYoutube

- Unfied Host Adblock