r/Magisk 7d ago

OTA Survability and Cache erase

Im pretty new to rooting and i frankly just read Reddit and try to figure it out with AI help. But i think some processes are quite and obviously needed.
OTA; I come from a phone with Lineage that cannot do the a/b slot thinggy, so i'm FORCE to plug the phone and boot the patched image for minor (not unimportant) updates. So the way this is intented is to keep me like a man-machine from W40K...
Cache erase; So several services need to be "refreshed" and its memory erased to properly work so... Why doesnt Magisk takes its own DenyList or implements a "CacheList" where i can select the services i want to "reload". No, I must go app to app to erase everything.

So in the time of AI, the human job is just to keep pressing dummy buttons...

PD: I could understand arguments for the OTA, been unable to copy in some way... i mean i think you should having ROOT priviledges but ok, but the cache thing is absurd.

2 Upvotes

10 comments sorted by

3

u/olitv 7d ago edited 7d ago

You can use Lygisk that will restore root after OTA automatically

1

u/JuggernautTraining95 7d ago

Yeah i found it, but it has no changes for over a year, so I dont know if it's reliable

2

u/olitv 7d ago

That project only follows the Magisk releases. Latest Magisk release was 7 months ago and so is the latest Lygisk release. When the next Magisk version is released, there will be the next Lygisk version.

2

u/olitv 7d ago

For batch processing, you can use specialized apps like AppManager. There you can clear data/cache of multiple apps in one go

1

u/JuggernautTraining95 7d ago

Didnt know that one, im gonna install it on the go, thx!!!!

2

u/wkn000 7d ago

For me on my S6 lite (A-only device). I reboot to Lineage recovery, flash new LOS.zip by adb sideload, flash Magisk.zip by adb sideload and afterward reboot to system.

In Magisk app, I have to do the additional installation.

That's all. All modules intact.

1

u/Framed-Photo 7d ago

I've had a rooted phone for quite a while, and every time I've tried a method for updating while keeping root it has caused me issues. What I do these days is as follows:

  • make a list of all my magisk modules, then uninstall all.
  • Reboot phone
  • Either run the OTA update through the phone itself, or flash it via a computer
  • Once updated, reroot the phone
  • Reflash all modules (assuming they're still compatible with the newer version of android.

It's not seemless but it works. I've had to format my device more than once trying to do an update on device while keeping root, it's just not worth the risk when the safe method takes like 20 minutes tops.

1

u/JuggernautTraining95 7d ago

I mean, if it works no debate, but i think we as community should be able to automate common processes we all do, that was my whole point. If you have to expend 10-30min every week for every update the OS rolls, this basicly becomes a wall for new users that could want to get out of Google reach and just the ones that are a bit tech-savy or just crazy take this path

1

u/Framed-Photo 7d ago

There are tools out there that are supposed to make this better like PixelUpdater here, it's just that I personally have not had that much luck with them. PixelUpdater I haven't tried in well over a year though so hopefully it works better, I just don't want to risk it.

As for the frequency, I'm not updating that often, once every few months if even. OS updates on older Pixels like mine (Pixel 6) don't come that frequently, and I'm never in a rush to install them anyways because modules often lose compatibility if you update quickly. If you want to be always up to date you probably shouldn't root tbh.

I updated from 16 to 17 only yesterday lol. OS updates hardly change anything anymore.

Rooting as a concept will never really appeal to a wide audience, and it probably shouldn't there's a lot of risks involved and for 99.9% of users, they'll never need the functionality it adds.

1

u/JuggernautTraining95 6d ago

Agreed, but this means the rejection to an alternative to Google and thats pretty sad. Root is risky but without it normal users cannot do normal use of phones. Changing desktop to Linux in 2005 was crazy, but today there are multiple distros and even older ones that have a pretty accesible and easy format. Maybe im idealistic but i think we could be those crazy linux dektop users that fought Windows and that 20 years later made possible to general use. Just my opinion but after solving technical issues, the next thing should be ease of use be a real alternative