yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S7 Edge Guides, News, & Discussion] davincc:
Which is why you should have an external sdCard with bigger memories than the internal storage..and back up it there...the message happened to me several times then I realize my sdCard filled about half of the free pace..and also u cannot put the BU files at internal storage..after u do that try to format data and clear the dalvik cache then these steps again
[Samsung Galaxy S7 Edge Guides, News, & Discussion] mashardpro:
oh I'm sorry. I do not know what you are going through and do now. I hope you are fine :)
[Samsung Galaxy S7 Edge Guides, News, & Discussion] davincc:
Its totally ok:laugh:
[Samsung Galaxy S7 Edge Guides, News, & Discussion] JoEb1401:
Is it really possible in this way?

install twrp -> backup system, data etc. -> format data and install no-verity-opt-encrypt.zip -> restore the backup -> flash supersu

And everything will work just like before?

Because i deleted all my data on my last phone and then restored it very complicated

With a twrp backup it would be much faster
[Samsung Galaxy S7 Edge Guides, News, & Discussion] davincc:
Im not sure since I only share what I did and accidentally succeed..im not an expert:laugh:
[Samsung Galaxy S7 Edge Guides, News, & Discussion] UnicornHub:
Is there a way to root without a computer? I have the att version running android 7.0
[Samsung Galaxy S7 Edge Guides, News, & Discussion] davincc:
Basicly on my experience I rooted my phone using PC so I think you cant root ur device without PC using my guide above..
[Samsung Galaxy S7 Edge Guides, News, & Discussion] Felwood:
Stuck at Red Screen

Hi after doing step 9 getting the pass message. when i go do step 10 i get a red screen not twrp just red screen pls help :crying::crying::crying:
[Samsung Galaxy S7 Edge Guides, News, & Discussion] mpadhu:
We can. There are apps like towelroot and Kingroot. Can try that.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] arnes_king:
Hello,

I have followed this tutorial step by step and after step 10 I just get a RED screen on my phone. Please help.

EDIT: Seems that your link for TWRP is for herolte not hero2lte, now I will try with hero2lte.

---------- Post added at 04:05 PM ---------- Previous post was at 03:48 PM ----------

Hello, had the same issue, it is because the link for S7 Edge is wrong, use this https://eu.dl.twrp.me/hero2lte/

The latest version :)
[Samsung Galaxy S7 Edge Guides, News, & Discussion] Shannel01:
Concern

this steps did not work I got a Red screen on my phone when I was following the ''guide'' at the step 10...

---------- Post added at 05:12 PM ---------- Previous post was at 04:27 PM ----------

hello,,, my phone shows a red screen when I try to open the recovery... it did not work... I would like to know how to remove it or install the correct recovery
[Samsung Galaxy S7 Edge Guides, News, & Discussion] 3c:
@OP, it seems the link for S7 Edge are pointing to S7 link instead of https://dl.twrp.me/hero2lte/ which is available.

3. Samsung Galaxy S7 Edge (SM-G935F/FD) users should download this file: twrp-3.1.0-0-hero2lte.img.tar

Thanks for the guide, very useful.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] 3c:
Another note, on my S7 Edge, flashing HOME CSC gave me a 'enter password to start device', but had no password. Flashed CSC alone and everything went ok on reboot ;)
[Samsung Galaxy S7 Edge Guides, News, & Discussion] Leo.ayala:
How to root my Samsung S7 edge with no pc
[Samsung Galaxy S7 Edge Guides, News, & Discussion] alains2004:
I resolve recovery twrp fpr marshmallow version with my sm g930f! Thanks allot:fingers-crossed:
[Samsung Galaxy S7 Edge Guides, News, & Discussion] lolo1410:
Hello,

I up this topic with this question without answer.

Is it possible to root the phone without loss datas ? If I made this : install twrp -> backup system, data etc. -> format data and install no-verity-opt-encrypt.zip -> restore the backup -> flash supersu, is it works ?
[Samsung Galaxy S7 Edge Guides, News, & Discussion] Trainers:
hello . thank you for this awesome guide . with this guide i successfully root my G930F with android 7
[Samsung Galaxy S7 Edge Guides, News, & Discussion] NyTR0S:
I am having a pretty big problem where I cant tap the build number on my S7 It is unlocked and I'm not sure how to get passed this.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] Nightwinter:
a BIG **** YOU, to you, I got the stupid verity erro while following your guide. Now I lost all my data, prick.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] Gammapooka:
@ Nightwinter, ALWAYS backup data before you do something !
[Samsung Galaxy S7 Edge Guides, News, & Discussion] vcdwelt:
Would suggest you did not follow his guide :D

because if you follow him exactly --> "9. Do not forget to backup your phone’s data first" You should be fine :fingers-crossed: So don't blame other users for your own mistakes :victory:
[Samsung Galaxy S7 Edge Guides, News, & Discussion] robo116:
Idiot

He didn't forced you to root your phone you are a we bit lame if you not make a backup before the root so who is a prick.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] vagenrider:
guys i follow all the steps from guide and when try twrp backup says failed because unable mount data..and also cant wipe it because of the same reason..

i have g935f and im on oreo..
[Samsung Galaxy S7 Edge Guides, News, & Discussion] Need4Sleep-UK:
This S7 edge brings on a whole new meaning to "Not 'aving none of it"

hi, how is everyone doing?.... Well I hope...

Ive got a Samsung S7 edge SM-G935F DUO

All the problems started when I attempted to root the phone about a month ago... I just tried to do a standard root, but now the phone all but ceases to respond...(Please Note: before the failed root attempt, the phone worked fine) It will no longer stay switched on unless it is on charge, if you remove the charger the phone cuts out after about 5 to 10 seconds. it isn't possible to operate any functions whatsoever. When plugged in it only displays the blue warning screen and says "an error has occurred while updating the device software.Use the emergency recovery function in the smart switch PC software." I've tried and failed trying to follow the onscreen instructions.. however the only function that does actually respond is it can be put into the downloading do not turn off target mode. but all attempts with countless versions of odin and all different stock firmwares from everyone and anyone who has it available to download from.... I'm not far from smashing the thing to pieces it's so frustrating.... I have read through countless threads and problem solution articles, I've tried every bit of Samsung software there is but nothing even nearly sorts it. when trying to install with odin it fails every time Ive tried kies, smart switch, about 10 different odins....... any ideas fellas?
[Samsung Galaxy S7 Edge Guides, News, & Discussion] CitizenSmith:
Would be nice just once to read a tutorial that actually works out of the box instead of having to source meanings for every single instruction given in the tutorial because something slight has been left out and you can't continue!. I'm not being ungrateful here just getting frustrated at finding incomplete tutorials or tutorials that only seem to work for a few and not the many!.

just done first step in this one and have hit a wall at the first instruction!! so what's the point of continuing if opening a simple program fails to provide this simple effect I.e. just recognising your ****ty phone!. and seeing so many others in here with different issues just screams walk away if I were you!. but I didn't and so here I am after wiping phone and spending hours of my life reading pointless crap that's unhelpful but have no choice as I can't proceed!. I open Odin and you say "The ID:COM port on Odin will be written "0:[COM]" once your device is detected. " well no such luck all boxes inside Odin app blank so no surprise here for me!. there is no 0:[COM] in the box.

time to bin this media piece of crap and just get a phone I think.

come back simple life all's forgiven. Motorola brick worked and no data to steal.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] CitizenSmith:
Sorry can't help you need to root myself but thankfully haven't got as far as you I'm just another frustrated comrade I'm afraid. did you check the tutors link in this tutorial where it say's,

" The procedure might soft-brick your device but you can easily recover it by following the guide on my post before"
[Samsung Galaxy S7 Edge Guides, News, & Discussion] sev7en:
I flashed mine... rebooted with red screen.
[Samsung Galaxy S7 Edge Guides, News, & Discussion] speedy999292382:
i bricked my phone because i flashed with a image with modifed firmware on magisk i used odin i unbricked my phone with flashing to the stock rom im going to try this method to root i use SM-G370F
[Magisk] veez21:
Android Runtime Optimization

DISCONTINUED lol

Compiler Filters

Since Lollipop, dex2oat takes a variety of --compiler-filter options to control how it compiles. Passing in a compiler filter flag for a particular app specifies how it’s pre-optimized. Here’s a description of each available option:

everything - compiles almost everything, excluding class initializers and some rare methods that are too large to be represented by the compiler’s internal representation.

speed

- compiles most methods and maximizes runtime performance, which is the default option. ** default value on this module

balanced - attempts to get the best performance return on compilation investment.

space - compiles a limited number of methods, prioritizing storage space.

interpret-only - skips all compilation and relies on the interpreter to run code.

verify-none - special option that skips verification and compilation, should be used only for trusted system code.

This module sets a few dalvik.vm and pm.dexopt properties:

dalvik.vm.dex2oat-filter [B]**editable with the given compiler filters[/B]
dalvik.vm.image-dex2oat-filter
pm.dexopt.bg-dexopt
dalvik.vm.check-dex-sum
dalvik.vm.checkjni
dalvik.vm.usejit
dalvik.vm.heaptargetutilization
dalvik.vm.dex2oat-threads

Magisk Module (UI in Terminal Emulator)

How to use:

Open Terminal Emulator

Type su and then

art_magisk

Then choose your filter

Non-Magisk (command line)

How to use:

ART Optimization by veez21
setfilter [--compiler-filter] [file]
compiler filters:
everything
speed
balanced
space
interpret-only
verify-none

Ex:

setfilter everything

** this will find the file on common/default directories

setfilter everything /system/su.d/name.sh

** this will use the directory you entered, instead of the defaults

MORE INFORMATION ON THIS TOPIC HERE and here

UNIFIED INSTALLER IS PRESENT SINCE v1. IT INSTALLS IN A SPECIFIED ORDER (look below) . SO IF YOU DON'T HAVE MAGISK, YOU CAN STILL FLASH THE ZIP IN THE DOWNLOADS!

Order of Detection during Installation:

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

AFTER FLASHING, FOR THE FIRST TIME, WIPE DALVIK/ART CACHE. THIS IS NEEDED FOR IT TO TAKE EFFECT. YOU DON'T HAVE TO WHEN UPDATING THOUGH

THAT'S WHY YOU HAVE TO CHANGE THE --compiler-filter IF YOU WANT MORE APP PERFORMANCE.

speed

BEING THE DEFAULT IN ROMS (IF THE DEV HAVEN'T CHANGED IT), YOU CAN CHANGE IT TO

everything

IF YOU WANT MORE PERFORMANCE (BUT COSTS MORE SPACE). IDEAL VALUE WOULD BE

balanced

IF YOU ASK ME. ;)

** This module can have problems with heavily modified OEM Roms (e.g. TouchWiz, MIUI). YOU HAVE BEEN WARNED. But this problem is inconsistent and just might work for you.

Read this Samsung ROM users: https://xdaforums.com/showpost.php?p=72401085&postcount=594 ** possibly fixed on v1.3+

MOD Edit Links Removed Download here[/URL] or at Magisk Manager ** install in recovery

README and Changelogs

Uninstaller

Crash Fix

Source

Source (Magisk Repo)

MOD Edit Links Removed

DONATE? If you want to (ﾉ･ω･)ﾉﾞ
[Magisk] veez21:
F.A.Q.

How to see if the changes are applied?

See Magisk log. ART Optimizations should be able to log there

Do this command and search for the properties given at the first post and if it there, it's working

su
getprop | grep dalvik

Bootloop! Help me!

Uninstall the module! Uninstaller

When in Magisk, RIL doesn't work, some apps crash, HELP!

Try flashing the crash fix. It might/might not work

Xposed not responding properly! Help me!

Can't do anything about it. Try wiping dalvik-cache, if that doesn't work uninstall the module

I don't use Magisk. How to can I use this?

Flash the zip at the OP. It installs to System if Magisk is not detected

I had some kind of trouble when using everything filter. Solution?

Try changing to speed. Several users have some trouble with everything too.

SuperSU + Magisk + This module is causing bootloop/some kind of problem. What do I do?

Uninstall the Magisk Module and install Non-Magisk instead
[Magisk] Gonfebo:
So by default this module should increase the speed of apps?

Enviado desde mi Aquaris X5 Plus mediante Tapatalk
[Magisk] veez21:
Theoratically, yes, at first boot. After flashing wipe Dalvik/ART cache and see. :good:
[Magisk] amihir:
Any Uninstaller to uninstall it ?

Does it work with Magisk ?
[Magisk] veez21:
Works with magisk since it's a magisk module ?. You can uninstall it in Magisk Manager
[Magisk] veez21:
UPDATE TO v0.2!

Changelog:

- post-fs-data.sh and service.sh is additionally used to set properties

- fixed setting dalvik.vm.image-dex2oat-filter

Download
[Magisk] Megan:
This module isn't needed on Nougat am I correct?
[Magisk] veez21:
It can be used in nougat. I don't know the result of using it in it but try testing it and tell me the results if there's any problem :)
[Magisk] alroger:
Working fine on Nougat here.

I have a feeling that Plex (my media player) is MUCH snappier. And no, it hans't been updated lately.

Everything working... but I can't point a finger at anything else besides Plex.

Cheers! :D
[Magisk] rohitece06:
If just edit system.prop with

dalvik.vm.dex2oat-filter=interpret-only

dalvik.vm.image-dex2oat-filter=speed

it should be work?
[Magisk] Tesla:
Hello m8 o/

Can you provide more download links?

"SYSTEM NOTICE: We apologize for any issues loading the site. We are working on a solution right now. Thanks for the understanding."

"Invalid response from the server: 502"

So when i can download this file i 1. Flash it in Magisk? 2. Flash it in TWRP?
[Magisk] JERW28:
2.Flash in TWRP

According to the OP, the mod requires wiping delvik/cashe after flashing the mod to work.
[Magisk] Tesla:
:good:

Download works at the moment.

Edit: My phone (Note 4) is really fast as it is, but initial testing shows a bit faster launch of camera app.

Sure, it might be placebo. Hard to know just yet ;)
[Magisk] rignfool:
Umm...

No... You've got this backwards...

Apps would launch slower... Not quicker... As your first boot is quicker... At least with the flags mentioned at the top of the post...

If you're looking for what would be faster app launch... You'd want to use the 'everything' flag as it builds a much larger cache file...
[Magisk] alroger:
I just installed it normally as a Magisk module. And wiped cache and dalvik on first reboot.
[Magisk] Tesla:
That was my thought also, but it so simple to ge straight to TWRP so.
[Magisk] cafe-creme:
Thanks for the development and module for Magisk.

The effect is contrary with a Note 7 (MM) ported for SM N9005.

Installation according to indications, the smartphone is slower when starting up another 20 seconds.

There is no problem or fc but identically android lag enormously.

Perhaps a problem with the management of the kernel, ram ... etc

I tried to modify the filters without success for me.

A little feedback.

Thank you :)
[Magisk] saturday_night:
This module sounds very interesting, but i have one question that isnt so clear to me... Does it speed up the start of apps in general or is it just the first start of the system after wiping dalvik/cache?
[Magisk] Lawstorant:
Just the first start thus it's pretty useless IMO. Mind you, it'll make apps perform worse.
[Magisk] rignfool:
[MENTION=7296895]veez21[/MENTION]

I have tomorrow off from work... I will figure out those dexopt props and let you know which ones will not bork devices

EDIT:

The command

pm.dexopt.bg-dexopt=everything

Allows me to boot... I have to wait for full battery on the charger for it to kick in... We will see tomorrow morning...
[Magisk] Tesla:
I have to change to "everything" still in system.prop

Terminal won't work.

I can't find a log to show you. If a log is made, please tell me where or how and all i need to know so i can provide one.

It's works ok for me. But i can't see a big change on this or speed.
[Magisk] veez21:
There is verbose.log in /magisk/runtime-optimization that will record all that happens when art_magisk is called
[Magisk] veez21:
Ok, I'll test that too and will see if I can implement it back ?
[Magisk] Tesla:
Thanks :)
[Magisk] veez21:
Send me when you have time, so I can examine it :good:
[Magisk] rignfool:
After a full charge overnight...

Went from 10.4 gb used space... to 12.6 gb used space... On charger overnight...

And upon checking /data/dalvik-cache/

All the files grew... So that prop is a winner for me...

EDIT:

I consider boot completed when my CPU idles down to minimum frequency (since CPU0 stays pegged)... And with the filter I set... I managed to have it only take 3 minutes... Where it used to take 4...

So I would say...

"I've decreased boot time by a whole minute!"
[Magisk] veez21:
Ok, you can make a pull request at github (at the repo git) so I can merge it later :good:
[Magisk] rignfool:
Except I don't speak GitHub...

And I'm thinking based on what I read... It's a 7.1+ prop...

Edit: I should learn to speak GitHub...
[Magisk] veez21:
We should then use post-fs-data.sh to have it on 7.1+, which should be easy :good:
[Magisk] rignfool:
I had no problem setting that prop with the system.prop...
[Magisk] veez21:
No, I mean't not to set it on lp and mm and set it on nougat
[Magisk] rignfool:
Wondering aloud...

Is there any reason... When that list of props is available... To set any others?

I'm assuming that this background dexopt process would process all? available files... Basically negating a need for anything other than the fastest for all others?

Hmm... ?

Also... Wouldn't it be better to detect sdk level and only install applicable tweaks instead of mucking with props that aren't applicable?
[Magisk] veez21:
I don't clearly understand. But all the current props in this module are applicable on 5.0+
[Magisk] veez21:
UPDATE TO v0.7!

Changelog:

dalvik.vm.dex2oat-swap and pm.dexopt.bg-dexopt added for 7.1+

Test this guys.

Download
[Magisk] cutesniper22:
Hi veez21,

I'm having compatibility issue with magisk xposed + your module. I switched to "everything" & wipe caches. My ROM booted, Home Launcher didnt not started and hang there with blank screen after restarted. But I'm able to trigger my power button on and off my device. Do you know how to resolve this issue?

My Device Info

-Mi5 with MIUI 8.1.4.0 (Global ROM)

-Magisk 11.6

-Android Runtime Optimzation v0.6

-Xposed Magisk v87 MIUI Edition
[Magisk] veez21:
Miui is a heavily modified rom. I'm not sure what xiaomi did to it but try using v0.7 then tell me if the problem is still there. If it is, then you can uninstall it ;)
[Magisk] cutesniper22:
thanks for reply, my device able to boot up without any issue (installed with your module ONLY and switched filter to everything"). Unforunately, it only happened after installed xposed via TWRP. Then it totally hang there~
[Magisk] veez21:
So, xposed is conflicting. I just installed xposed here and it's fine. Try rebooting a few times and report back
[Magisk] Fireblade002:
ive installed this mod on tw rom and now my rom is laggy as f.i cant enter supersu,i cant enter magisk manager and i cant get my root explorer the root privileges so im not able to delete directory in magisk folder and basically i cant seem to uninstall it.theres a way to mount magisk through twrp but i cant find magisk in "mount" section in twrp.i tried to mount system data etc but still im unable to find magisk directory folder in twrps file manager.the only way to stabilise my rom again is to uninstall magisk.i dunno whats going on but i guess magisk and supersu are killing each other.can anyone explain me what to do,step by step,like im 4 years old trying to learn to read?

phone is s6 stock 6.0 mm rooted with xposed
[Magisk] TjNiko:
can we get this mod without magisk? im highly interessted to use "everything and the other lines directly in the build. prop since magisk gives me problems with rootmanager, and conflicts with to much oter things, yesterday it killed my MM, i have installed an 14.1 LinageOs now and would like to run the commands on build.prop directly
[Magisk] veez21:
Ok, I'll try to make a non-magisk version, but might utilize supersu or set in build.prop directly
[Magisk] Didgeridoohan:
There's a Mount Magisk script in the Collection of Magisk modules v2. Flash that in TWRP and you'll be able to delete the module.
[Magisk] ebrijesh:
I m using .6 on latest RR .

Everything is mode and super duper .

Do I need to reflash this.
[Magisk] veez21:
Yes, new stuff is added in v0.7?
[Magisk] veez21:
Mount magisk is here

https://xdaforums.com/apps/magisk/collection-magisk-modules-v2-t3575758
[Magisk] rignfool:
I am surprised...

When I was on lollipop... I had mixed issues with the everything compiler filter and xposed... Sometimes optimizing apps went fine... Others (same apps) it wouldn't boot... Or it would hang on an app indefinitely...
[Magisk] veez21:
:confused: I'll try experimenting on xposed+this module for a while and see if I encounter that prob. I haven't experienced that so far
[Magisk] rignfool:
It was specific to the everything filter...

I (probably incorrectly) assumed that the filter was broken by rovo89 when he changed the libart.so to allow for Xposed on lollipop...

I used it as a great time to not use Xposed anymore... And never look back (except at amplify... I love that program)
[Magisk] :
On AOSP Extended 7.1.2 ROM, all the modes caused one of my games (Starlight Stage) to crash. It still crashes after removing the module too.
[Magisk] hgoldner:
So, if not on 7.1 (on 7.0 on HTC 10, Verizon edition, running stock + Magisk), is the jump from 0.6 to 0.7 required? Secondly, if one does make the upgrade, do you recommend a fresh wipe of cache/dalvik after update?
[Magisk] Tesla:
Even after deleting app data for the game?
[Magisk] :
Yup. Even reinstalled, wiped cache, reboot
[Magisk] KaMyKaSii:
[MENTION=7296895]veez21[/MENTION]

I don't know if you didn't see my post or if you simply ignored me (maybe you already explained it somewhere and I didn't see it) but anyway I'll repeat: would it be possible for you to make a version of the mod for SuperSU?

Edit: I just saw your post below, so please forgive me for repeating. And seriously, thank you very much!

https://xdaforums.com/apps/magisk/module-android-runtime-optimization-t3596559/post72140532
[Magisk] rignfool:
Your game is upset with a framework file...

Wipe all dalvik/art...

The module writes properties that affect the device at a core level... Not a per boot level
[Magisk] rex900:
[MENTION=7296895]veez21[/MENTION] can I apply your parameter manually in build.prop inside kernel auditor without using magisk or recovery? does it takes effect?
[Magisk] :
Yes wiped it and still no change
[Magisk] rignfool:
Yes... As long as your default.prop does not overwrite the values...
[Magisk] realmin04:
Performance gain, check.

Messenger works fine for me though. :good:

Nice work! I might try on MM :fingers-crossed:
[Magisk] veez21:
If you've already disabled the module, you have to wipe dalvik-cache after, which you've already done right? If some problem persist even after the module is uninstalled and dalvik cache is already wiped, try dirty flashing you're rom. I can see no reason why the effects of this module still persists after the uninstallation and wiping :confused:
[Magisk] :
Yeah I did that too. Can you try out the app on your end?
[Magisk] veez21:
Lol, I can't. I only installed magisk on my nokia x (really low end) for testing stuff. All my other phones run supersu.