-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmagisk01.html
451 lines (411 loc) · 37 KB
/
magisk01.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
<!DOCTYPE html><html lang="zh-CN" data-theme="dark"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0,viewport-fit=cover"><title>十分钟学会Magisk的安装 | 惜别的秘密基地</title><meta name="author" content="SekiBetu"><meta name="copyright" content="SekiBetu"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#0d0d0d"><meta name="description" content="本文 PDF 版:magisk01.pdf Magisk 官方教程指路:https://topjohnwu.github.io/Magisk/install.html 本文仅为官方教程中最通用的一种方法的个人实践过程(Ramdisk、vbmeta 验证和三星手机的问题还请自行查阅上述官方教程) 食材准备: 手机一部,本文以 红米 K30Pro (MIUI 13 Android 12) 做演示">
<meta property="og:type" content="article">
<meta property="og:title" content="十分钟学会Magisk的安装">
<meta property="og:url" content="https://sekibetu.com/magisk01.html">
<meta property="og:site_name" content="惜别的秘密基地">
<meta property="og:description" content="本文 PDF 版:magisk01.pdf Magisk 官方教程指路:https://topjohnwu.github.io/Magisk/install.html 本文仅为官方教程中最通用的一种方法的个人实践过程(Ramdisk、vbmeta 验证和三星手机的问题还请自行查阅上述官方教程) 食材准备: 手机一部,本文以 红米 K30Pro (MIUI 13 Android 12) 做演示">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://sekibetu.com/img/67861832_p0.jpg">
<meta property="article:published_time" content="2022-06-03T11:58:39.000Z">
<meta property="article:modified_time" content="2022-07-26T08:35:12.000Z">
<meta property="article:author" content="SekiBetu">
<meta property="article:tag" content="Magisk">
<meta property="article:tag" content="Android">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://sekibetu.com/img/67861832_p0.jpg"><script type="application/ld+json">{
"@context": "https://schema.org",
"@type": "BlogPosting",
"headline": "十分钟学会Magisk的安装",
"url": "https://sekibetu.com/magisk01.html",
"image": "https://sekibetu.com/img/67861832_p0.jpg",
"datePublished": "2022-06-03T11:58:39.000Z",
"dateModified": "2022-07-26T08:35:12.000Z",
"author": [
{
"@type": "Person",
"name": "SekiBetu",
"url": "https://sekibetu.com/"
}
]
}</script><link rel="shortcut icon" href="/favicon.ico"><link rel="canonical" href="https://sekibetu.com/magisk01.html"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css?v=5.3.2"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/all.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/snackbar.min.css" media="print" onload="this.media='all'"><script>
(() => {
const saveToLocal = {
set: (key, value, ttl) => {
if (!ttl) return
const expiry = Date.now() + ttl * 86400000
localStorage.setItem(key, JSON.stringify({ value, expiry }))
},
get: key => {
const itemStr = localStorage.getItem(key)
if (!itemStr) return undefined
const { value, expiry } = JSON.parse(itemStr)
if (Date.now() > expiry) {
localStorage.removeItem(key)
return undefined
}
return value
}
}
window.btf = {
saveToLocal,
getScript: (url, attr = {}) => new Promise((resolve, reject) => {
const script = document.createElement('script')
script.src = url
script.async = true
Object.entries(attr).forEach(([key, val]) => script.setAttribute(key, val))
script.onload = script.onreadystatechange = () => {
if (!script.readyState || /loaded|complete/.test(script.readyState)) resolve()
}
script.onerror = reject
document.head.appendChild(script)
}),
getCSS: (url, id) => new Promise((resolve, reject) => {
const link = document.createElement('link')
link.rel = 'stylesheet'
link.href = url
if (id) link.id = id
link.onload = link.onreadystatechange = () => {
if (!link.readyState || /loaded|complete/.test(link.readyState)) resolve()
}
link.onerror = reject
document.head.appendChild(link)
}),
addGlobalFn: (key, fn, name = false, parent = window) => {
if (!true && key.startsWith('pjax')) return
const globalFn = parent.globalFn || {}
globalFn[key] = globalFn[key] || {}
globalFn[key][name || Object.keys(globalFn[key]).length] = fn
parent.globalFn = globalFn
}
}
const activateDarkMode = () => {
document.documentElement.setAttribute('data-theme', 'dark')
if (document.querySelector('meta[name="theme-color"]') !== null) {
document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
}
}
const activateLightMode = () => {
document.documentElement.setAttribute('data-theme', 'light')
if (document.querySelector('meta[name="theme-color"]') !== null) {
document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
}
}
btf.activateDarkMode = activateDarkMode
btf.activateLightMode = activateLightMode
const theme = saveToLocal.get('theme')
theme === 'dark' ? activateDarkMode() : theme === 'light' ? activateLightMode() : null
const asideStatus = saveToLocal.get('aside-status')
if (asideStatus !== undefined) {
document.documentElement.classList.toggle('hide-aside', asideStatus === 'hide')
}
const detectApple = () => {
if (/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)) {
document.documentElement.classList.add('apple')
}
}
detectApple()
})()
</script><link rel="stylesheet" href="/font/JetBrainsMono-Regular.ttf" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = {
root: '/',
algolia: undefined,
localSearch: undefined,
translate: undefined,
highlight: {"plugin":"highlight.js","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false,"highlightFullpage":false,"highlightMacStyle":true},
copy: {
success: '复制成功',
error: '复制失败',
noSupport: '浏览器不支持'
},
relativeDate: {
homepage: false,
post: false
},
runtime: '',
dateSuffix: {
just: '刚刚',
min: '分钟前',
hour: '小时前',
day: '天前',
month: '个月前'
},
copyright: undefined,
lightbox: 'null',
Snackbar: {"chs_to_cht":"已切换为繁体中文","cht_to_chs":"已切换为简体中文","day_to_night":"已切换为深色模式","night_to_day":"已切换为浅色模式","bgLight":"#49b1f5","bgDark":"#1f1f1f","position":"bottom-left"},
infinitegrid: {
js: 'https://cdn.jsdelivr.net/npm/@egjs/[email protected]/dist/infinitegrid.min.js',
buttonText: '加载更多'
},
isPhotoFigcaption: false,
islazyloadPlugin: false,
isAnchor: false,
percent: {
toc: true,
rightside: true,
},
autoDarkmode: false
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
title: '十分钟学会Magisk的安装',
isHighlightShrink: false,
isToc: true,
pageType: 'post'
}</script><meta name="generator" content="Hexo 7.3.0"><link rel="alternate" href="/atom.xml" title="惜别的秘密基地" type="application/atom+xml">
</head><body><div id="web_bg" style="background-image: url(/img/48036836_p0.jpg);"></div><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img text-center"><img src="/img/SekiBetu.png" onerror="this.onerror=null;this.src='/img/Starfetcher.jpg'" alt="avatar"/></div><div class="site-data text-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">18</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">27</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">0</div></a></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div></div></div></div><div class="post" id="body-wrap"><header class="post-bg" id="page-header" style="background-image: url(/img/67861832_p0.jpg);"><nav id="nav"><span id="blog-info"><a class="nav-site-title" href="/"><span class="site-name">惜别的秘密基地</span></a><a class="nav-page-title" href="/"><span class="site-name">十分钟学会Magisk的安装</span></a></span><div id="menus"><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div></div><div id="toggle-menu"><span class="site-page"><i class="fas fa-bars fa-fw"></i></span></div></div></nav><div id="post-info"><h1 class="post-title">十分钟学会Magisk的安装</h1><div id="post-meta"><div class="meta-firstline"><span class="post-meta-date"><i class="far fa-calendar-alt fa-fw post-meta-icon"></i><span class="post-meta-label">发表于</span><time class="post-meta-date-created" datetime="2022-06-03T11:58:39.000Z" title="发表于 2022-06-03 19:58:39">2022-06-03</time><span class="post-meta-separator">|</span><i class="fas fa-history fa-fw post-meta-icon"></i><span class="post-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2022-07-26T08:35:12.000Z" title="更新于 2022-07-26 16:35:12">2022-07-26</time></span></div><div class="meta-secondline"><span class="post-meta-separator">|</span><span class="post-meta-wordcount"><i class="far fa-file-word fa-fw post-meta-icon"></i><span class="post-meta-label">总字数:</span><span class="word-count">720</span><span class="post-meta-separator">|</span><i class="far fa-clock fa-fw post-meta-icon"></i><span class="post-meta-label">阅读时长:</span><span>2分钟</span></span><span class="post-meta-separator">|</span><span class="post-meta-pv-cv" id="" data-flag-title=""><i class="far fa-eye fa-fw post-meta-icon"></i><span class="post-meta-label">浏览量:</span><span id="busuanzi_value_page_pv"><i class="fa-solid fa-spinner fa-spin"></i></span></span></div></div></div></header><main class="layout" id="content-inner"><div id="post"><article class="container post-content" id="article-container"><div id="post-outdate-notice" data="{"limitDay":365,"messagePrev":"本文创建在","messageNext":"天前,其中的内容有可能已经过时","postUpdate":"2022-07-26 16:35:12"}" hidden></div><p>本文 PDF 版:<a href="magisk01/magisk01.pdf">magisk01.pdf</a></p>
<p>Magisk 官方教程指路:<a target="_blank" rel="noopener" href="https://topjohnwu.github.io/Magisk/install.html">https://topjohnwu.github.io/Magisk/install.html</a></p>
<p>本文仅为官方教程中最通用的一种方法的个人实践过程(Ramdisk、vbmeta 验证和三星手机的问题还请自行查阅上述官方教程)</p>
<h2 id="食材准备:">食材准备:</h2>
<ul>
<li>
<p>手机一部,本文以 红米 K30Pro (MIUI 13 Android 12) 做演示</p>
</li>
<li>
<p>电脑一台,本文以 Windows 11 系统 做演示</p>
</li>
<li>
<p>USB 线一根</p>
</li>
</ul>
<h2 id="厨具准备:">厨具准备:</h2>
<ul>
<li>
<p><a target="_blank" rel="noopener" href="https://developer.android.com/studio/releases/platform-tools">Android SDK Platform-Tools</a></p>
</li>
<li>
<p><a target="_blank" rel="noopener" href="https://developer.android.com/studio/run/win-usb">Google USB</a></p>
</li>
<li>
<p><a target="_blank" rel="noopener" href="https://github.com/topjohnwu/Magisk/releases/latest">Magisk</a></p>
</li>
</ul>
<h2 id="烹饪步骤:">烹饪步骤:</h2>
<ul>
<li>
<p>通过小米官方的 <a target="_blank" rel="noopener" href="https://www.miui.com/unlock/download.html">解锁工具</a> 解锁手机的 BootLoader (不同的厂商有不同的解锁方式,也有一些厂商不支持解锁 BootLoader)</p>
</li>
<li>
<p>把下载好的 <a target="_blank" rel="noopener" href="https://developer.android.com/studio/releases/platform-tools">Android SDK Platform-Tools</a> 压缩包解压到一个文件夹中</p>
</li>
</ul>
<p><img src="magisk01/1.png" alt=""></p>
<ul>
<li>【可选步骤】将上述文件夹的路径加入到系统环境变量以使 <code>adb</code> 、<code>fastboot</code>等程序能够在任意位置调用(如果不进行此处步骤,则下述步骤中的 <code>cmd</code> 和 <code>powershell 7</code> 请在上述 <a target="_blank" rel="noopener" href="https://developer.android.com/studio/releases/platform-tools">Android SDK Platform-Tools</a> 解压后的文件夹目录中运行,并替换 <code>adb</code> 和 <code>fastboot</code> 指令为 <code>.\adb.exe</code> 和 <code>.\fastboot.exe</code> 执行)</li>
</ul>
<p><img src="magisk01/2.png" alt=""></p>
<ul>
<li>
<p>通过手机品牌官网下载或者以抓包的方式获取手机的系统安装包并解压获得 <code>boot.img</code> 文件</p>
</li>
<li>
<p>在手机上安装 <a target="_blank" rel="noopener" href="https://github.com/topjohnwu/Magisk/releases/latest">Magisk</a></p>
</li>
<li>
<p>将上述步骤获取到的 <code>boot.img</code> 文件传输到手机中,并用 <a target="_blank" rel="noopener" href="https://github.com/topjohnwu/Magisk/releases/latest">Magisk</a> 对其进行修补</p>
</li>
</ul>
<p><img src="magisk01/3.png" alt=""></p>
<p><img src="magisk01/4.png" alt=""></p>
<p><img src="magisk01/5.png" alt=""></p>
<p><img src="magisk01/6.png" alt=""></p>
<ul>
<li>
<p>将修补后的 <code>magisk_patched-25000_XXXXX.img</code> 文件传输回电脑</p>
</li>
<li>
<p>将手机通过 USB 连上电脑并启用手机的 USB 调试模式,然后设置为文件传输模式(各品牌手机不同,小米手机可以通过 <code>我的设备 </code> —— <code>全部参数</code> —— 多次点击 <code>MIUI版本</code> 开启开发者模式,在 <code>更多设置</code> —— <code>开发者选项</code> 中启用 <code>USB调试</code> 选项)</p>
</li>
<li>
<p>【可选步骤,适用于 USB 连接有问题的人】下载 <a target="_blank" rel="noopener" href="https://developer.android.com/studio/run/win-usb">Google USB</a> 驱动压缩包并解压到一个文件夹后安装</p>
</li>
</ul>
<p><img src="magisk01/7.png" alt=""></p>
<p><img src="magisk01/8.png" alt=""></p>
<p><img src="magisk01/9.png" alt=""></p>
<p><img src="magisk01/10.png" alt=""></p>
<ul>
<li>
<p>在电脑上打开 <code>cmd</code> 或者 <code>powershell 7</code> ,输入 <code>adb devices</code> 回车执行查看是否能检测到手机,如果没有检测到则返回上一步安装 <a target="_blank" rel="noopener" href="https://developer.android.com/studio/run/win-usb">Google USB</a> 驱动</p>
</li>
<li>
<p>继续输入 <code>adb reboot bootloader</code> 回车执行使手机进入 fastboot 模式(也可以在手机关机状态下,同时按住 <code>电源</code> 和 <code>音量+</code> 键几秒后进入)</p>
</li>
</ul>
<p><img src="magisk01/11.png" alt=""></p>
<ul>
<li>
<p>继续输入 <code>fastboot flash boot 路径\magisk_patched-25000_XXXXX.img</code> 回车执行刷入通过 <a target="_blank" rel="noopener" href="https://github.com/topjohnwu/Magisk/releases/latest">Magisk</a> 修补后的上述文件</p>
</li>
<li>
<p>继续输入 <code>fastboot reboot</code> 或者长按电源键关机后重启手机,至此,<a target="_blank" rel="noopener" href="https://github.com/topjohnwu/Magisk/releases/latest">Magisk</a> 的安装就完成了</p>
</li>
</ul>
<p><img src="magisk01/12.png" alt=""></p>
<h2 id="关于系统升级">关于系统升级</h2>
<ul>
<li>看了以上的安装过程可以得知的一点是,<a target="_blank" rel="noopener" href="https://github.com/topjohnwu/Magisk/releases/latest">Magisk</a> 是通过修改 <code>boot.img</code> 生效的,所以在升级系统的时候,只要让升级包里的 <code>boot.img</code> 被 <a target="_blank" rel="noopener" href="https://github.com/topjohnwu/Magisk/releases/latest">Magisk</a> 修补一遍,再升级系统,就可以让 <a target="_blank" rel="noopener" href="https://github.com/topjohnwu/Magisk/releases/latest">Magisk</a> 在升级系统后不失效</li>
</ul>
</article><div class="post-copyright"><div class="post-copyright__author"><span class="post-copyright-meta"><i class="fas fa-circle-user fa-fw"></i>文章作者: </span><span class="post-copyright-info"><a href="https://sekibetu.com">SekiBetu</a></span></div><div class="post-copyright__type"><span class="post-copyright-meta"><i class="fas fa-square-arrow-up-right fa-fw"></i>文章链接: </span><span class="post-copyright-info"><a href="https://sekibetu.com/magisk01.html">https://sekibetu.com/magisk01.html</a></span></div><div class="post-copyright__notice"><span class="post-copyright-meta"><i class="fas fa-circle-exclamation fa-fw"></i>版权声明: </span><span class="post-copyright-info">本博客所有文章除特别声明外,均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a> 许可协议。转载请注明来源 <a href="https://sekibetu.com" target="_blank">惜别的秘密基地</a>!</span></div></div><div class="tag_share"><div class="post-meta__tag-list"><a class="post-meta__tags" href="/tags/Magisk/">Magisk</a><a class="post-meta__tags" href="/tags/Android/">Android</a></div><div class="post-share"><div class="social-share" data-image="/img/67861832_p0.jpg" data-sites="facebook,twitter,wechat,weibo,qq"></div><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/sharejs/dist/css/share.min.css" media="print" onload="this.media='all'"><script src="https://cdn.jsdelivr.net/npm/[email protected]/sharejs/dist/js/social-share.min.js" defer></script></div></div><nav class="pagination-post" id="pagination"><a class="pagination-related" href="/v2ray01.html" title="v2ray中DNS运作流程"><img class="cover" src="/img/67861832_p0.jpg" onerror="onerror=null;src='/img/Starfetcher.jpg'" alt="cover of previous post"><div class="info"><div class="info-1"><div class="info-item-1">上一篇</div><div class="info-item-2">v2ray中DNS运作流程</div></div><div class="info-2"><div class="info-item-1">本文为摘选,仅作为备忘录使用 以以下路由配置为例 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ "dns": { "servers": ["8.8.8.8", "localhost"] }, "outbounds": [ { "protocol": "vmess", "settings": { "vnext": [ { "users": [ { "id":...</div></div></div></a><a class="pagination-related" href="/tiktok01.html" title="国际版抖音TikTok改区观看方法(需解锁BootLoader)"><img class="cover" src="/img/67861832_p0.jpg" onerror="onerror=null;src='/img/Starfetcher.jpg'" alt="cover of next post"><div class="info text-right"><div class="info-1"><div class="info-item-1">下一篇</div><div class="info-item-2">国际版抖音TikTok改区观看方法(需解锁BootLoader)</div></div><div class="info-2"><div class="info-item-1">第一步 参照以下文章安装 Magisk https://sekibetu.com/magisk01.html 第二步 在 Magisk 设置中启用 Zygisk (关于什么是 Zygisk 请看 这篇文章 和 这个公告 ) 下载对应 Zygisk 的 LSPosed 版本并在 Magisk 中刷入,然后重启手机 第三步 安装 TikTok 第四步 安装可以修改手机 SIM 卡信息的相关模块( 应用变量、应用伪装、Thanox 等),本文以 源计划 模块做演示 在 LSPosed 中激活上述模块并指定模块作用域为 TikTok 第五步 在 源计划 模块 APP 中搜索 TikTok 并进入详细设置界面 修改 SIM信息 中的 SIM厂商 、 SIM国际 和 SIM名称 (不同模块有不同的叫法),将 SIM 卡伪装成非大陆 SIM 卡即可 第六步 修改手机的地区,以 MIUI 系统为例,进入 设置 —— 更多设置 —— 地区 ,设置成中国以外的国家或者地区 修改手机的时区,进入 设置 —— 更多设置 —— 日期和时间...</div></div></div></a></nav><div class="relatedPosts"><div class="headline"><i class="fas fa-thumbs-up fa-fw"></i><span>相关推荐</span></div><div class="relatedPosts-list"><a class="pagination-related" href="/sniff01.html" title="抓取安卓端FGO游戏数据并导入素材规划软件Chaldea教程(需解锁BootLoader)"><img class="cover" src="/img/67861832_p0.jpg" alt="cover"><div class="info text-center"><div class="info-1"><div class="info-item-1"><i class="far fa-calendar-alt fa-fw"></i> 2022-06-08</div><div class="info-item-2">抓取安卓端FGO游戏数据并导入素材规划软件Chaldea教程(需解锁BootLoader)</div></div><div class="info-2"><div class="info-item-1">更新 Android 12 系统之后,证书不让安装为 root 证书了,SSL Pinning 也来了,老办法抓不到数据了,于是经过一番摸索,写下了本文,本文理论上适用于所有 APP,不仅仅是 FGO 第一步 参照以下文章安装 Magisk https://sekibetu.com/magisk01.html 第二步 参照以下文章的第二步,在 Magisk 中刷入对应 Zygisk 版本的 LSPosed 框架 https://sekibetu.com/tiktok01.html 第三步 下载 MagiskTrustUserCerts 并在 Magisk 中刷入 重启手机 第四步 安装 JustTrustMe 模块(用来绕过 SSL Pinning),并在 LSPosed 中启用,模块作用域指定为 FGO 第五步 下载安装 Fiddler Classic 或 mitmproxy 启动 Fiddler Classic 或 mitmproxy 并进行一些基础设置,以下是 Fiddler Classic 的基础设置,...</div></div></div></a><a class="pagination-related" href="/tiktok01.html" title="国际版抖音TikTok改区观看方法(需解锁BootLoader)"><img class="cover" src="/img/67861832_p0.jpg" alt="cover"><div class="info text-center"><div class="info-1"><div class="info-item-1"><i class="far fa-calendar-alt fa-fw"></i> 2022-06-03</div><div class="info-item-2">国际版抖音TikTok改区观看方法(需解锁BootLoader)</div></div><div class="info-2"><div class="info-item-1">第一步 参照以下文章安装 Magisk https://sekibetu.com/magisk01.html 第二步 在 Magisk 设置中启用 Zygisk (关于什么是 Zygisk 请看 这篇文章 和 这个公告 ) 下载对应 Zygisk 的 LSPosed 版本并在 Magisk 中刷入,然后重启手机 第三步 安装 TikTok 第四步 安装可以修改手机 SIM 卡信息的相关模块( 应用变量、应用伪装、Thanox 等),本文以 源计划 模块做演示 在 LSPosed 中激活上述模块并指定模块作用域为 TikTok 第五步 在 源计划 模块 APP 中搜索 TikTok 并进入详细设置界面 修改 SIM信息 中的 SIM厂商 、 SIM国际 和 SIM名称 (不同模块有不同的叫法),将 SIM 卡伪装成非大陆 SIM 卡即可 第六步 修改手机的地区,以 MIUI 系统为例,进入 设置 —— 更多设置 —— 地区 ,设置成中国以外的国家或者地区 修改手机的时区,进入 设置 —— 更多设置 —— 日期和时间...</div></div></div></a></div></div><hr class="custom-hr"/><div id="post-comment"><div class="comment-head"><div class="comment-headline"><i class="fas fa-comments fa-fw"></i><span> 评论</span></div><div class="comment-switch"><span class="first-comment">Utterances</span><span id="switch-btn"></span><span class="second-comment">Giscus</span></div></div><div class="comment-wrap"><div><div id="utterances-wrap"></div></div><div><div id="giscus-wrap"></div></div></div></div></div><div class="aside-content" id="aside-content"><div class="card-widget card-info text-center"><div class="avatar-img"><img src="/img/SekiBetu.png" onerror="this.onerror=null;this.src='/img/Starfetcher.jpg'" alt="avatar"/></div><div class="author-info-name">SekiBetu</div><div class="author-info-description">记录与分享各种东西</div><div class="site-data"><a href="/archives/"><div class="headline">文章</div><div class="length-num">18</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">27</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">0</div></a></div><a id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/SekiBetu"><i class="fab fa-github"></i><span>Follow Me</span></a><div class="card-info-social-icons"><a class="social-icon" href="https://twitter.com/_SekiBetu_" target="_blank" title="Twitter"><i class="fab fa-twitter"></i></a><a class="social-icon" href="mailto:[email protected]" target="_blank" title="Email"><i class="fas fa-envelope"></i></a><a class="social-icon" href="https://sekibetu.com/atom.xml" target="_blank" title="RSS"><i class="fas fa-rss"></i></a></div></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn fa-shake"></i><span>公告</span></div><div class="announcement_content">This is my Blog</div></div><div class="sticky_layout"><div class="card-widget" id="card-toc"><div class="item-headline"><i class="fas fa-stream"></i><span>目录</span><span class="toc-percentage"></span></div><div class="toc-content is-expand"><ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#%E9%A3%9F%E6%9D%90%E5%87%86%E5%A4%87%EF%BC%9A"><span class="toc-number">1.</span> <span class="toc-text">食材准备:</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E5%8E%A8%E5%85%B7%E5%87%86%E5%A4%87%EF%BC%9A"><span class="toc-number">2.</span> <span class="toc-text">厨具准备:</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E7%83%B9%E9%A5%AA%E6%AD%A5%E9%AA%A4%EF%BC%9A"><span class="toc-number">3.</span> <span class="toc-text">烹饪步骤:</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E5%85%B3%E4%BA%8E%E7%B3%BB%E7%BB%9F%E5%8D%87%E7%BA%A7"><span class="toc-number">4.</span> <span class="toc-text">关于系统升级</span></a></li></ol></div></div><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/linus01.html" title="对Linux社区封禁俄罗斯开发者且linus本人支持这一行为的评价">对Linux社区封禁俄罗斯开发者且linus本人支持这一行为的评价</a><time datetime="2024-10-24T13:54:15.000Z" title="发表于 2024-10-24 21:54:15">2024-10-24</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/followis.html" title="三分钟,让Follow认证我的Hexo博客订阅源">三分钟,让Follow认证我的Hexo博客订阅源</a><time datetime="2024-10-14T12:04:50.000Z" title="发表于 2024-10-14 20:04:50">2024-10-14</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/rss01.html" title="给 Hexo 博客加上 PubSubHubbub 协议实现 RSS 实时推送">给 Hexo 博客加上 PubSubHubbub 协议实现 RSS 实时推送</a><time datetime="2022-06-29T21:55:05.000Z" title="发表于 2022-06-30 05:55:05">2022-06-30</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/sniff01.html" title="抓取安卓端FGO游戏数据并导入素材规划软件Chaldea教程(需解锁BootLoader)">抓取安卓端FGO游戏数据并导入素材规划软件Chaldea教程(需解锁BootLoader)</a><time datetime="2022-06-08T11:58:22.000Z" title="发表于 2022-06-08 19:58:22">2022-06-08</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/ssh01.html" title="SSH客户端简单对比">SSH客户端简单对比</a><time datetime="2022-06-07T14:37:06.000Z" title="发表于 2022-06-07 22:37:06">2022-06-07</time></div></div></div></div></div></div></main><footer id="footer" style="background-image: url(/img/67861832_p0.jpg);"><div id="footer-wrap"><div class="copyright">©2020 - 2025 By SekiBetu</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div><div class="footer_custom_text"><a href="https://icp.gov.moe/?keyword=20213842" target="_blank">萌ICP备20213842号</a></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="darkmode" type="button" title="日间和夜间模式切换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside-config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button class="close" id="mobile-toc-button" type="button" title="目录"><i class="fas fa-list-ul"></i></button><a id="to_comment" href="#post-comment" title="前往评论"><i class="fas fa-comments"></i></a><button id="go-up" type="button" title="回到顶部"><span class="scroll-percent"></span><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/js/utils.js?v=5.3.2"></script><script src="/js/main.js?v=5.3.2"></script><script src="https://cdn.jsdelivr.net/npm/[email protected]/instantpage.min.js" type="module"></script><script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/snackbar.min.js"></script><div class="js-pjax"><script>(() => {
const isShuoshuo = GLOBAL_CONFIG_SITE.pageType === 'shuoshuo'
const option = null
const getUtterancesTheme = theme => theme === 'dark' ? 'github-dark' : 'github-light'
const loadUtterances = (el = document, key) => {
if (isShuoshuo) {
window.shuoshuoComment.destroyUtterances = () => {
if (el.children.length) {
el.innerHTML = ''
el.classList.add('no-comment')
}
}
}
const config = {
src: 'https://utteranc.es/client.js',
repo: 'SekiBetu/BlogComments',
theme: getUtterancesTheme(document.documentElement.getAttribute('data-theme')),
crossorigin: 'anonymous',
async: true,
...option,
'issue-term': isShuoshuo ? key : (option && option['issue-term']) || 'title'
}
const ele = document.createElement('script')
Object.entries(config).forEach(([key, value]) => ele.setAttribute(key, value))
el.querySelector('#utterances-wrap').appendChild(ele)
}
const changeUtterancesTheme = theme => {
const iframe = document.querySelector('#utterances-wrap iframe')
if (iframe) {
const message = {
type: 'set-theme',
theme: getUtterancesTheme(theme)
};
iframe.contentWindow.postMessage(message, 'https://utteranc.es')
}
}
btf.addGlobalFn('themeChange', changeUtterancesTheme, 'utterances')
if (isShuoshuo) {
'Utterances' === 'Utterances'
? window.shuoshuoComment = { loadComment: loadUtterances }
: window.loadOtherComment = loadUtterances
return
}
if ('Utterances' === 'Utterances' || !false) {
if (false) btf.loadComment(document.getElementById('utterances-wrap'), loadUtterances)
else loadUtterances()
} else {
window.loadOtherComment = loadUtterances
}
})()</script><script>(() => {
const isShuoshuo = GLOBAL_CONFIG_SITE.pageType === 'shuoshuo'
const option = null
const getGiscusTheme = theme => theme === 'dark' ? 'dark' : 'light'
const createScriptElement = config => {
const ele = document.createElement('script')
Object.entries(config).forEach(([key, value]) => {
ele.setAttribute(key, value)
})
return ele
}
const loadGiscus = (el = document, key) => {
const mappingConfig = isShuoshuo
? { 'data-mapping': 'specific', 'data-term': key }
: { 'data-mapping': (option && option['data-mapping']) || 'pathname' }
const giscusConfig = {
src: 'https://giscus.app/client.js',
'data-repo': 'SekiBetu/BlogComments',
'data-repo-id': 'MDEwOlJlcG9zaXRvcnk0MDU2MzIxMzY=',
'data-category-id': 'DIC_kwDOGC10iM4CPwsn',
'data-theme': getGiscusTheme(document.documentElement.getAttribute('data-theme')),
'data-reactions-enabled': '1',
crossorigin: 'anonymous',
async: true,
...option,
...mappingConfig
}
const scriptElement = createScriptElement(giscusConfig)
el.querySelector('#giscus-wrap').appendChild(scriptElement)
if (isShuoshuo) {
window.shuoshuoComment.destroyGiscus = () => {
if (el.children.length) {
el.innerHTML = ''
el.classList.add('no-comment')
}
}
}
}
const changeGiscusTheme = theme => {
const iframe = document.querySelector('#giscus-wrap iframe')
if (iframe) {
const message = {
giscus: {
setConfig: {
theme: getGiscusTheme(theme)
}
}
}
iframe.contentWindow.postMessage(message, 'https://giscus.app')
}
}
btf.addGlobalFn('themeChange', changeGiscusTheme, 'giscus')
if (isShuoshuo) {
'Utterances' === 'Giscus'
? window.shuoshuoComment = { loadComment: loadGiscus }
: window.loadOtherComment = loadGiscus
return
}
if ('Utterances' === 'Giscus' || !false) {
if (false) btf.loadComment(document.getElementById('giscus-wrap'), loadGiscus)
else loadGiscus()
} else {
window.loadOtherComment = loadGiscus
}
})()</script></div><div class="aplayer no-destroy" data-id="18480" data-server="netease" data-type="artist" data-fixed="true" data-mini="true" data-order="random" data-preload="metadata" data-autoplay="true" data-lrctype="3"></div><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/APlayer.min.css" media="print" onload="this.media='all'"><script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/APlayer.min.js"></script><script src="https://cdn.jsdelivr.net/npm/[email protected]/metingjs/dist/Meting.min.js"></script><script>(() => {
const destroyAplayer = () => {
if (window.aplayers) {
for (let i = 0; i < window.aplayers.length; i++) {
if (!window.aplayers[i].options.fixed) {
window.aplayers[i].destroy()
}
}
}
}
const runMetingJS = () => {
typeof loadMeting === 'function' && document.getElementsByClassName('aplayer').length && loadMeting()
}
btf.addGlobalFn('pjaxSend', destroyAplayer, 'destroyAplayer')
btf.addGlobalFn('pjaxComplete', loadMeting, 'runMetingJS')
})()</script><script src="https://cdn.jsdelivr.net/npm/[email protected]/pjax.min.js"></script><script>(() => {
const pjaxSelectors = ["link[rel=\"canonical\"]","meta[property=\"og:image\"]","meta[property=\"og:title\"]","meta[property=\"og:url\"]","head > title","#config-diff","#body-wrap","#rightside-config-hide","#rightside-config-show",".js-pjax"]
window.pjax = new Pjax({
elements: 'a:not([target="_blank"])',
selectors: pjaxSelectors,
cacheBust: false,
analytics: false,
scrollRestoration: false
})
const triggerPjaxFn = (val) => {
if (!val) return
Object.values(val).forEach(fn => fn())
}
document.addEventListener('pjax:send', () => {
// removeEventListener
btf.removeGlobalFnEvent('pjaxSendOnce')
btf.removeGlobalFnEvent('themeChange')
// reset readmode
const $bodyClassList = document.body.classList
if ($bodyClassList.contains('read-mode')) $bodyClassList.remove('read-mode')
triggerPjaxFn(window.globalFn.pjaxSend)
})
document.addEventListener('pjax:complete', () => {
btf.removeGlobalFnEvent('pjaxCompleteOnce')
document.querySelectorAll('script[data-pjax]').forEach(item => {
const newScript = document.createElement('script')
const content = item.text || item.textContent || item.innerHTML || ""
Array.from(item.attributes).forEach(attr => newScript.setAttribute(attr.name, attr.value))
newScript.appendChild(document.createTextNode(content))
item.parentNode.replaceChild(newScript, item)
})
triggerPjaxFn(window.globalFn.pjaxComplete)
})
document.addEventListener('pjax:error', e => {
if (e.request.status === 404) {
pjax.loadUrl('/404.html')
}
})
})()</script><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div></body></html>