GithubHelp home page GithubHelp logo

tosunkaya / simple_bootloopsaver Goto Github PK

View Code? Open in Web Editor NEW

This project forked from magisk-modules-alt-repo/simple_bootloopsaver

0.0 1.0 0.0 63 KB

Protect your system from bootloop caused by Magisk modules by turning off all your modules and restart your system if bootloop is detected.

License: GNU General Public License v3.0

Shell 100.00%

simple_bootloopsaver's Introduction

Simple BootloopSaver

About

Protect your system from bootloop caused by Magisk modules. In case the data partition is encrypted and you cannot access /data/adb/modules, or you don't want to turn off force encryption to protect your private data.

Requirements

  • Magisk 20.4+ is installed

Installation

It's Magisk module, flash it in Magisk app

Usage

Auto detect

Usually, bootloop occurs because zygote doesn't start properly or is stuck restarting. The script runs in late_start mode. It will check Zygote's Process ID 3 times every 15 seconds. And if Zygote's Process ID doesn't match for 3 times, check the Process ID for next 15 seconds to make sure, and if it's different again, the script will disable all modules and reboot the your device.

Attribution

Module originally made by HuskyDG, but I didn't like how large it was for something that looked like it could be done in less code, so I forked it and made it into just one script. This involved removing the custom recovery parts, but for me the AutoDetect has worked.

simple_bootloopsaver's People

Contributors

huskydg avatar ez-me avatar fox2code avatar redjard avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.