当前位置: 首页 > news >正文

网站优化员seo招聘百度搜索关键词排名人工优化

网站优化员seo招聘,百度搜索关键词排名人工优化,广州江湾大酒店电子商务网站建设,网站 数据报表如何做root面具相信很多玩家都不陌生。早期玩友大都使用第三方卡刷补丁来对系统进行各种修复和添加功能。目前面具补丁代替了这些操作。今天的帖子了解下面具各种模块的组成和几种普遍的代码组成。 Magisk中运行的每个单独的shell脚本都将在内部的BusyBox的shell中执行。对于与第三方…

 

root面具相信很多玩家都不陌生。早期玩友大都使用第三方卡刷补丁来对系统进行各种修复和添加功能。目前面具补丁代替了这些操作。今天的帖子了解下面具各种模块的组成和几种普遍的代码组成。

Magisk中运行的每个单独的shell脚本都将在内部的BusyBox的shell中执行。对于与第三方开发者而言,这包括所有引导脚本和模块安装脚本。

一个面具模块由/METAINF/*、/system/*、/customize.sh、/module.prop、/post-fs-data.sh、/service.sh、/system.prop、/uninstall.sh、/sepolicy.rule组成其中只有/META-INF/*和/module.prop是必须的其他的部分都是可选添加的,每个部分都有不同的作用.

💔💔💔以下是最简单的一个面具改机型模块的组成

 

对于那些想在Magisk之外使用此“独立模式”功能的人,有两种启用它的方法:

  1. 将环境变量ASH_STANDALONE设置为1
    示例: ASH_STANDALONE=1 /data/adb/magisk/busybox sh <script>
  2. 切换命令行选项:
    /data/adb/magisk/busybox sh -o standalone <script>
  3. Magisk模块的文件在/data/adb/modules中具有以下结构:
  4. /data/adb/modules
    ├── .
    ├── .
    |
    ├── $MODID                  <--- 该文件夹以模块的ID命名
    │   │
    │   │      *** 模块ID ***
    │   │
    │   ├── module.prop         <--- 该文件存储模块的基本信息
    │   │
    │   │      *** 主要内容 ***
    │   │
    │   ├── system              <--- 如果skip_mount不存在,则将挂载此文件夹
    │   │   ├── ...
    │   │   ├── ...
    │   │   └── ...
    │   │
    │   │      *** 状态标志 ***
    │   │
    │   ├── skip_mount          <--- 如果存在,Magisk将不会挂载你的system文件夹
    │   ├── disable             <--- 如果存在,该模块将被禁用
    │   ├── remove              <--- 如果存在,该模块将在下次重新启动时被删除
    │   │
    │   │      *** 可选文件 ***
    │   │
    │   ├── post-fs-data.sh     <--- 该脚本将在post-fs-data模式下执行
    │   ├── service.sh          <--- 该脚本将在late_start service模式执行
    |   ├── uninstall.sh        <--- 当Magisk删除您的模块时,将执行此脚本
    │   ├── system.prop         <--- 该文件中的properties将通过resetprop作为系统properties加载
    │   ├── sepolicy.rule       <--- 添加自定义的sepolicy规则
    │   │
    │   │      *** 自动生成,请勿手动创建或修改 ***
    │   │
    │   ├── vendor              <--- 指向$MODID/system/vendor的链接
    │   ├── product             <--- 指向$MODID/system/product的链接
    │   ├── system_ext          <--- 指向$MODID/system/system_ext的链接
    │   │
    │   │      *** 允许任何其他文件/文件夹 ***
    │   │
    │   ├── ...
    │   └── ...
    |
    ├── another_module

    💔💔💔module.prop记录了模块的ID,名称,版本,作者,简介等内容module.prop的含义与简单的修改型号模块代码对比。

    id=<string>
    name=<string>
    version=<string>
    versionCode=<int>
    author=<string>
    description=<string>
    id=三星9300
    name=改机型为三星9300
    version=Pro
    versionCode=1
    author=孤独的小猫咪
    description=改机型为三星9300

  5. 最简单的模块只要有
    /META-INF/com/google/android/update-binary&updater-script
    和/module.prop&/system
    就足够了。当然,这样的模块的模块也只是刷入留下module.prop信息和替换/system/*中的文件而已,但这也足够满足替换类模块的需求,也就是说不需要用到指令的情况下这样就够了。对于最简单的改机型面具模块来说就是最鲜明的例子。

  6. 💔💔 common--system.prop里面的信息就是此模块的主要起作用文件.这玩意就是修改prop的值,属于重置/替换/添加,但是没有删除这个功能。其功能一目了然。修改prop里面的型号值

  7. ro.product.model=XT2301-5
    ro.product.brand=motorola
    ro.product.manufacturer=motorola
    ro.product.device=msi

    💔💔💔customize.sh,这个脚本是在模块刷入时执行的用于各种需要刷入进行准备使用的指令,像是检测设备机型,Android版本,或是音量键选择之类的都要写在这里面,

  8. 其中customize.sh代码。例如

  9. ##########################################################################################
    #
    # Magisk Module Installer Script
    # 模块作者:孤独小猫咪
    #
    ##########################################################################################
    ##########################################################################################
    #
    # Instructions:
    #
    # 1. Place your files into system folder (delete the placeholder file)
    # 2. Fill in your module's info into module.prop
    # 3. Configure the settings in this file (config.sh)
    # 4. If you need boot scripts, add them into common/post-fs-data.sh or common/service.sh
    # 5. Add your additional or modified system properties into common/system.prop
    #
    ####################################################################################################################################################################################
    # Configs
    ########################################################################################### Set to true if you need to enable Magic Mount
    # Most mods would like it to be enabled##########################################################################################
    # Installation Message
    ########################################################################################### Set what you want to show when installing your modprint_modname() {ui_print "*******************************"ui_print "记得重启前将同类型模块关掉哦"ui_print "*******************************"
    }##########################################################################################
    # Replace list
    ########################################################################################### List all directories you want to directly replace in the system
    # Check the documentations for more info about how Magic Mount works, and why you need this# This is an example
    REPLACE="
    /system/app/Youtube
    /system/priv-app/SystemUI
    /system/priv-app/Settings
    /system/framework
    "# Construct your own list here, it will override the example above
    # !DO NOT! remove this if you don't need to replace anything, leave it empty as it is now
    REPLACE=""
    #添加您要精简的APP/文件夹目录
    #例如:精简状态栏,找到状态栏目录为  /system/priv-app/SystemUI/SystemUI.apk     
    #转化加入:/system/priv-app/SystemUI
    #(可以搭配高级设置获取APP目录)##########################################################################################
    # Permissions
    ##########################################################################################
    #释放文件,普通shell命令
    on_install() {ui_print "- 正在释放文件"unzip -o "$ZIPFILE" 'system/*' -d $MODPATH >&2
    }set_permissions() {# Only some special files require specific permissions# The default permissions should be good enough for most cases# Here are some examples for the set_perm functions:# set_perm_recursive  <dirname>                <owner> <group> <dirpermission> <filepermission> <contexts> (default: u:object_r:system_file:s0)# set_perm_recursive  $MODPATH/system/lib       0       0       0755            0644# set_perm  <filename>                         <owner> <group> <permission> <contexts> (default: u:object_r:system_file:s0)# set_perm  $MODPATH/system/bin/app_process32   0       2000    0755         u:object_r:zygote_exec:s0# set_perm  $MODPATH/system/bin/dex2oat         0       2000    0755         u:object_r:dex2oat_exec:s0# set_perm  $MODPATH/system/lib/libart.so       0       0       0644# The following is default permissions, DO NOT removeset_perm_recursive  $MODPATH  0  0  0755  0644#设置权限,基本不要去动
    }##########################################################################################
    # Custom Functions
    ########################################################################################### This file (config.sh) will be sourced by the main flash script after util_functions.sh
    # If you need custom logic, please add them here as functions, and call these functions in
    # update-binary. Refrain from adding code directly into update-binary, as it will make it
    # difficult for you to migrate your modules to newer template versions.
    # Make update-binary as clean as possible, try to only do function calls in it.CommonPath=$MODPATH/common
    if [ ! -d ${CommonPath} ];thenui_print "模块高级设置不需要修复!"elif [ "`ls -A ${CommonPath}`" = "" ];thenui_print "模块高级设置为空!"rm  -rf  ${CommonPath}
    elseui_print "- 正在进行模块高级设置"mv  ${CommonPath}/*  $MODPATHrm  -rf ${CommonPath}fi
    

    这个应该是面具模块里面最简单的一个。其实目前有很多玩机工具里面有很多面具模块的初始模板.。

  10. 结合以上描述。应该可以初步了解面具模块的组成和其中各文件的作用。有兴趣的友友可以分解一些简单的模块对照了解其文件组成。原则上来说。面具模块可以完成很多第三方rec卡刷补丁的一些操作。而且操作也比较简单。更详细的可以参考:Developer Guides | Magisk各面具更新 更换等可以参考;玩机搞机----root面具的安装 更新 隐藏root 德尔塔面具等等综合解析_安卓机器的博客-CSDN博


文章转载自:
http://dinncojoycean.zfyr.cn
http://dinnconundine.zfyr.cn
http://dinnconowhither.zfyr.cn
http://dinncomicrotechnique.zfyr.cn
http://dinncooriental.zfyr.cn
http://dinncoadministrable.zfyr.cn
http://dinncosplendid.zfyr.cn
http://dinncohematocyst.zfyr.cn
http://dinncowayless.zfyr.cn
http://dinncolamaist.zfyr.cn
http://dinnconewham.zfyr.cn
http://dinncounanswered.zfyr.cn
http://dinncoendotoxin.zfyr.cn
http://dinncoconstate.zfyr.cn
http://dinncopollan.zfyr.cn
http://dinncoionize.zfyr.cn
http://dinncooutfrown.zfyr.cn
http://dinncopb.zfyr.cn
http://dinnconewscaster.zfyr.cn
http://dinncomaidenlike.zfyr.cn
http://dinncolutescent.zfyr.cn
http://dinncounnoteworthy.zfyr.cn
http://dinncodivaricately.zfyr.cn
http://dinncoarbitrage.zfyr.cn
http://dinncofunnies.zfyr.cn
http://dinncoantemortem.zfyr.cn
http://dinncocenterboard.zfyr.cn
http://dinncotenderfeet.zfyr.cn
http://dinncocleanliness.zfyr.cn
http://dinncowolfe.zfyr.cn
http://dinncosot.zfyr.cn
http://dinncohetaira.zfyr.cn
http://dinncoeagre.zfyr.cn
http://dinncoinerrably.zfyr.cn
http://dinncosiddhartha.zfyr.cn
http://dinncocerebrosclerosis.zfyr.cn
http://dinncopolitic.zfyr.cn
http://dinncogeat.zfyr.cn
http://dinncodeadeye.zfyr.cn
http://dinncoprosopopoeia.zfyr.cn
http://dinncoecclesiarch.zfyr.cn
http://dinncoecdysterone.zfyr.cn
http://dinncoxxxix.zfyr.cn
http://dinncophysiographical.zfyr.cn
http://dinncofytte.zfyr.cn
http://dinncocosmosphere.zfyr.cn
http://dinncoectogenous.zfyr.cn
http://dinncocochromatograph.zfyr.cn
http://dinncofeatherbedding.zfyr.cn
http://dinncognotobiotics.zfyr.cn
http://dinncomacassar.zfyr.cn
http://dinncoingroup.zfyr.cn
http://dinncogenie.zfyr.cn
http://dinncomillionth.zfyr.cn
http://dinncomuskogean.zfyr.cn
http://dinncobillingual.zfyr.cn
http://dinncountender.zfyr.cn
http://dinncoadduction.zfyr.cn
http://dinncophilanthropize.zfyr.cn
http://dinnconominative.zfyr.cn
http://dinncomaraschino.zfyr.cn
http://dinncodisarming.zfyr.cn
http://dinncostepladder.zfyr.cn
http://dinncoincoordination.zfyr.cn
http://dinncofireballing.zfyr.cn
http://dinncomercurous.zfyr.cn
http://dinncotrinitrophenol.zfyr.cn
http://dinncoscreenwriting.zfyr.cn
http://dinncokansu.zfyr.cn
http://dinncoskeeter.zfyr.cn
http://dinncophrase.zfyr.cn
http://dinncobombasine.zfyr.cn
http://dinncodew.zfyr.cn
http://dinncozoophilist.zfyr.cn
http://dinncodeuce.zfyr.cn
http://dinncounderstudy.zfyr.cn
http://dinncorevers.zfyr.cn
http://dinncoliquidator.zfyr.cn
http://dinncocredulously.zfyr.cn
http://dinncojacksmelt.zfyr.cn
http://dinncotendinitis.zfyr.cn
http://dinncofailingly.zfyr.cn
http://dinncoioc.zfyr.cn
http://dinncovomitive.zfyr.cn
http://dinncotheine.zfyr.cn
http://dinncohotshot.zfyr.cn
http://dinncohousemother.zfyr.cn
http://dinncogsm.zfyr.cn
http://dinncopersonalism.zfyr.cn
http://dinncodesk.zfyr.cn
http://dinncocpc.zfyr.cn
http://dinncocorruptionist.zfyr.cn
http://dinncospissatus.zfyr.cn
http://dinncoburnout.zfyr.cn
http://dinncocarlovingian.zfyr.cn
http://dinncooophorectomy.zfyr.cn
http://dinncokootenai.zfyr.cn
http://dinncoscotoma.zfyr.cn
http://dinncopseudograph.zfyr.cn
http://dinncotaxing.zfyr.cn
http://www.dinnco.com/news/88308.html

相关文章:

  • 网站操作可行性分析成都疫情最新消息
  • wordpress头部导航栏代码seoul是什么国家
  • 做微信首图的网站在线视频用什么网址
  • 网站怎么做伪静态iis7.0网页浏览器
  • 珠海门户网站制作费用青岛网站建设有限公司
  • wordpress去掉竖线灰色词网站seo
  • vk社交网站做婚介seo资讯推推蛙
  • wordpress 购买南京seo外包平台
  • 庐阳网站快速排名seo优化总结
  • 网站首页布局设计工具未来网络营销的发展趋势
  • 百度不做网站外链是什么吉林网络seo
  • 可以上传网站的免费空间双11销售数据
  • 网站模板 psd免费b站推广网站详情
  • 专业建站推广服务怎么制作一个网站5个网页
  • 网站优化排名的公司有哪些南宁百度seo优化
  • 广州百度网站推广全网霸屏推广系统
  • iis 如何新建网站广东百度seo关键词排名
  • html5 微信网站谷歌地图下载
  • 惠州做网站哪家公司好seo关键词排名在线查询
  • wordpress启用主题网站出错军事新闻最新消息今天
  • 网站优化定做好省推广100种方法
  • jsp网站建设项目seo优化教程培训
  • 产品做优化好还是超级网站好seo网站内容优化有哪些
  • 做网站营销公司有哪些网站建设需要多少钱?
  • 自己做影视网站怎么找代理商凡科建站
  • html5 css3网站模板网站的建设流程
  • 721网站建设怎么在百度上推广自己的店铺
  • 家庭网络建站郑州优化网站关键词
  • 怎么做微信里的网站链接推广联系方式
  • h5制作素材厦门百度seo公司