设为首页 加入收藏
您当前位置 > 扬州之声 > 企业 > 正文
>
分享
新浪微博
腾讯微博
微信
QQ空间
QQ好友
手机阅读分享话题

安卓7.1XP框架之后,又一个神奇的Android框架

2020-10-16 15:56:40阅读:- 来源:
Features100% fully open source and easy to build!Magic Mount:Allow you to do any system (vendor) mod

安卓7.1XP框架之后,又一个神奇的Android框架

Features

  • 100% fully open source and easy to build!

  • Magic Mount:

    Allow you to do any system (vendor) modification without actually tampering the partitions.

  • MagiskSU: Open Source Root Solution

    Root your device with MagiskSU, based on phh's Superuser, which is based on CM Superuser.

  • Magisk Manager:

    MagiskSU Root Management, Install / Upgrade Magisk in-app,

    Manage, Upgrade, Download, Install Magisk Modules within a few taps.

  • Magisk Hide:

    Hide Magisk from detection, including SafetyNet, which is used in Android Pay, Pokemon GO, Mario Run etc.

  • Resetprop:

    Allow you to do any modifications to system props (build.prop), including read-only props.

    It is also used for tricking the bootloader state, and (for Samsung) the KNOX state

  • Multiple Entry Points:

    Provide several entry points to developers, reliably pausing the boot process before everything is done.

    Include post-fs (cache) mode, which happens even earlier than data is mounted (used to replace Boot Animation etc.)

  • Standard Stuffs:

    Remove dm-verity, forceencrypt; includes a super complete busybox to guarantee consistent behaviour, and can also be toggled to be used universally.

You are not forced to use MagiskSU if you're only aiming other features

However, the only other choice is systemless SuperSU

It will attempt to remove any other root, and install MagiskSU by default

Capability

  • Anything that previously modifies /system can be loaded with Magisk. I ported Xposed and ViPER4Android just as an example.

  • Use apps/features that uses Google's SafetyNet detection

  • 100% systemless custom roms (take a look at our 100% Systemless Magisk ROM)

  • (WIP) Universal Multirom for all Magisk supported devices (Proof Of Concept Video)

Installation Instructions

Before Magisk installs anything on your device, it will create a boot image backup in /data/stock_boot_.img.gz

If anything goes wrong (e.g. bootloop), you can either use the uninstaller (recommended) or decompress the backup and manually restore your boot image

It should ALWAYS bring your device back to life (suppose you have a custom recovery that can decrypt your /data)

If you're already rooted with MagiskSU or Latest Official Systemless SuperSU

  • Install/upgrade Magisk Manager from Play Store

  • Install/upgrade Magisk as prompted in the application

  • Reboot and you're done!!

If you're not rooted, or something went wrong and you need a clean start

  • (Recommended) Restore your boot image back to stock (flash uninstaller if Magisk is previously installed)

  • Download the latest Magisk zip file

  • Reboot to a custom recovery

  • If you choose to use SuperSU (only support Android 6.0+), flash SuperSU in systemless mode now

  • Flash Magisk zip

  • Reboot. Update the stub Magisk Manager to the latest from Play Store

Please check here for Magisk Manager Tips!

Downloads

Latest Magisk

Latest Uninstaller (Support v1+)

Magisk Manager | (direct link)

Troubleshooting

FAQ:
  • Q: I am losing root randomly!

    A: In some custom roms (known: LineageOS), enabling the Magisk busybox will make root unstable

    If you experience root loss issue, disable busybox in MagiskManager

  • Q: Safety Net fails after enabling MagiskHide

    A: Magisk can only hide Magisk core features, for Magisk modules it depends on what the module does.

    If your ROM itself is not able to pass SafetyNet, then there is nothing Magisk can help.

    Your best bet is 100% stock ROMs, because your phone manufacturer is forced to release a device passing CTS.

  • Q: My device is not supported!

    A: Please open an issue on Github, along with your boot image uploaded. No boot image, no fix.

  • Sony Devices: If you're using stock kernel, it is using Sony's special ELF format.

    Magisk will repack it to standard AOSP format, which requires your device to be unlocked

  • Some of the ASUS devices requires boot image signing, search the forums and sign them yourselves.

Currently Known Issues (v12.0):
  • Pixel / Pixel XL: WIP

  • Magisk Manager CANNOT be placed in adoptable storage, or superuser will not work

  • MagiskSU does not support multiuser: WIP

  • MagiskSU does not work on Android O preview: WIP

Donation

I spent endless hours to create Magisk. If you like my work, feel free to donate.

https://www.paypal.me/topjohnwu

Sources

https://github.com/topjohnwu/Magisk (Magisk Core Scripts and Boot Image patching)

https://github.com/topjohnwu/magiskpolicy (sepolicy tools used in both Magisk and MagiskSU)

https://github.com/topjohnwu/MagiskSU (Open source root)

https://github.com/topjohnwu/selinux (libsepol, libselinux for sepolicy-injection and Superuser)

https://github.com/topjohnwu/ndk-compression (all compression libraries used in MagiskBoot)

https://github.com/topjohnwu/MagiskManager (Magisk Manager)

TDbeta 2月6日消息,Xposed的大名,想必大家也知道,最近在xda上发现了一个和xposed类似的框架平台-Magisk,是一位台湾学生@topjohnwu开发的Android框架平台,从使用脸谱的LOGO来看,这位开发者是很有中国情结的,希望大家能多多支持

安卓7.1XP框架之后,又一个神奇的Android框架

怕大家看不懂英文,我就大致翻译下这个帖子的内容。

帖子开头就说systemless模式下(不修改system分区的文件的前提下实现所有的功能),模块的功能将明显受限制。

然后balabalabala的一堆,结论是不支持这种模式。

Magisk 的目标是实现一套API来完成对系统的修改(注:在不修改系统文件的基础上实现对系统功能的修改)

和xposed如出一辙。

安卓7.1XP框架之后,又一个神奇的Android框架

已经实现的东西:

Magisk管理器 : 和xposed installer一个道理,安装Magisk框架,管理框架插件

Magic Mount:这个功能允许你往系统里塞东西,但不能删除或者修改系统里的文件(指 的是系统分区)

Multiple Entry Points:很抽象的名字,多个入口点,和xposed的那几个接口是一个意思,表示你写的插件代码可以在指定的多种情况下运行,比如在加载

app的时候执行(比如修改app的执行代码),加载app的资源文件的时候执行(用来修改UI什么的)

“post-fs” a.k.a “Cache” Mode: post-fs 应该是init的时候的吧,缓存模式又是什么鬼?

其实,他指的是你的代码可以在系统读取各种配置之前执行,那个时候data分区都还没挂载(这也对照之前Magic Mount的功能) systemless模式是无法实现

这也的功能的。并且内置了busybox供你使用。当然你也可能说,我使用的是miui的系统,默认有分区强制加密或者校验啊的,但你可以放心,Magic会自动已付费这东西,并且这些都是可配置的。

Magisk可以实现的功能:

目前通过Magic能实现Multirom,就是一个手机装多个系统,不需要其他的支持、

使用方法么,很简单 。 安装Magisk的app后 打开app 选择安装框架就好了。

目前已经更新至V11版本,新版不需要额外再安装 SuperUser,自带了Root管理功能。

此框架目前已经支持安卓7.1.1,喜欢的机友可以去下载使用。

具体安装方法:

1)解锁手机Bootloader,俗称BL

2)刷入第三方Recovery,比如TWRP

3)下载官方Magisk-v11.0.zip在twrp模式刷入

4)安装Magisk Manager-v4.0.apk

5)享受完整Magisk的Systemless Root

PS: SuperSU也有Systemless模式

注:因为自带ROOT管理器,刷入后进入系统会覆盖自带的ROOT权限,所以不用吃惊。

开发者地址:https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

模块合集:https://forum.xda-developers.com/apps/magisk/collection-magisk-modules-t3445257

刷入包: Magisk-v11.0.zip

卸载包: Magisk-uninstaller-20170206.zip

Apk安装文件: MagiskManager-v4.0.zip

(正文已经结束)

推荐阅读:山东在线

免责声明及提醒:此文内容为本网所转载企业宣传资讯,该相关信息仅为宣传及传递更多信息之目的,不代表本网站观点,文章真实性请浏览者慎重核实!任何投资加盟均有风险,提醒广大民众投资需谨慎!