-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.xml
252 lines (220 loc) · 17.3 KB
/
index.xml
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
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>辣鸡萝莉糖</title>
<link>https://qwerkilo.github.io/</link>
<description>Recent content on 辣鸡萝莉糖</description>
<generator>Hugo -- gohugo.io</generator>
<language>zh-cn</language>
<copyright>没有版权,个人随写</copyright>
<lastBuildDate>Tue, 08 Mar 2022 19:39:42 +0800</lastBuildDate>
<atom:link href="https://qwerkilo.github.io/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>转hugo简单过程</title>
<link>https://qwerkilo.github.io/posts/niguta/</link>
<pubDate>Tue, 08 Mar 2022 19:39:42 +0800</pubDate>
<guid>https://qwerkilo.github.io/posts/niguta/</guid>
<description>辣鸡萝莉糖 https://qwerkilo.github.io/posts/niguta/ -<p>把gridea站点目录的md文章都拷出来,以备后续使用。</p>
<p>找个地方,用命令创建站点</p>
<div class="highlight"><pre tabindex="0" style="background-color:#eed;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>hugo new site mysite
</span></span></code></pre></div><p>找个主题,我用的diary,简单好看处理也方便。git clone到主题目录,改名字为diary,和diary\exampleSite下的config.toml配置文件的名字保持一致。</p>
<p>把exampleSite下所有的文件丢进站点根目录,覆盖。</p>
<p>编辑一下配置文件,config.toml</p>
<pre tabindex="0"><code>baseURL = &#34;http://example.org/&#34;
DefaultContentLanguage = &#34;zh&#34; # Theme&#39;s display language, supports: en, fr, zh, zh-hant
languageCode = &#34;zh-cn&#34;
title = &#34;辣鸡萝莉糖&#34;
copyright = &#34;没有版权,个人随写&#34;
theme = &#34;diary&#34;
# googleAnalytics = &#34;UA-123-45&#34;
[markup]
[markup.highlight]
codeFences = true
guessSyntax = false
hl_Lines = &#34;&#34;
lineNoStart = 1
lineNos = false
lineNumbersInTable = true
noClasses = true
style = &#34;perldoc&#34;
tabWidth = 4
[params]
subtitle = &#34;一名偶像宅&#34;
enableGitalk = false
# Twitter Card and Open Graph settings
enableOpenGraph = false
enableTwitterCards = false
title = &#34;My Blog&#34; # will set &#39;og:site_name&#39;
description = &#34;My HomePage Description&#34; # will set &#39;og:description&#39;
[params.gitalk]
owner = &#34;&#34;
repo = &#34;&#34;
client_id = &#34;&#34;
client_secret = &#34;&#34;
[taxonomies]
tag = &#34;tags&#34;
category = &#34;categories&#34;
[params.utterances]
repo=&#34;your repo&#34;
term=&#34;[ENTER TERM HERE]&#34;
label=&#34;your label&#34;
theme=&#34;github-light&#34;
[[menu.main]]
url = &#34;/categories&#34;
name = &#34;目录&#34;
weight = 2
[[menu.main]]
url = &#34;/tags&#34;
name = &#34;标签&#34;
weight = 3
[[menu.main]]
url = &#34;/posts&#34;
name = &#34;文章&#34;
weight = 1
[[menu.main]]
url = &#34;/index.xml&#34;
name = &#34;RSS订阅&#34;
weight = 4
</code></pre><p>走起,用下面命令跑起来(在根目录下执行)</p>
<div class="highlight"><pre tabindex="0" style="background-color:#eed;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>hugo server -t diary --buildDrafts
</span></span></code></pre></div><p>把之前备份好的md文件直接丢进content\posts</p>
<p>确认无误后使用下面命令生成上传的目录</p>
<pre tabindex="0"><code>关联你的Github:输入hugo --theme=主题名称 --baseUrl=&#34;https://xxx.github.io&#34;(xxx表示你的github..) --buildDrafts
按回车键后发现根目录下多出一个public的文件夹;
hugo -t diary --baseUrl=&#34;https://你的github名字.github.io&#34; --buildDrafts
按回车键后发现根目录下多出一个public的文件夹;
②:输入cd public切换到public目录下编辑:
一行一行输入
git add .
git commit -m &#34;简介&#34;
git remote add origin https://github.com/xxx/xxx.github.io.git
git push origin master
如果第二次上传需要修改的内容:
在执行git push -u origin master之前先执行git pull origin master
**最后访问xxxxx.github.io这个网站,便是你的博客。至此静态博客Hugo完成。
</code></pre><p>这个主题的md文件YAML设置如下</p>
<pre tabindex="0"><code>title: &#39;iplay20 magisk 修补boot制作教程&#39; #标题
date: 2022-03-06 15:29:26 #日期
tags: [iplay20,magisk] #tags
published: true
hideInList: false
featured_image: https://cdn.jsdelivr.net/gh/qwerkilo/Image/202203061537261.jpg #背景图
isTop: false
</code></pre><p>效果如下图,就大家看到的效果,还是挺方便的,找个云盘同步一下,或者直接git都可以,美滋滋。</p>
<p><img src="https://cdn.jsdelivr.net/gh/qwerkilo/Image/202203081950055.png" alt="image-20220308195032260"></p>
<p>具体配置文件还有啥参数可以到原主题的页面康,有说明。</p>
- https://qwerkilo.github.io/posts/niguta/ - 没有版权,个人随写</description>
</item>
<item>
<title>MPC-BE+LAV+MPC VR</title>
<link>https://qwerkilo.github.io/posts/qjvlfa6wl/</link>
<pubDate>Mon, 07 Mar 2022 10:35:09 +0000</pubDate>
<guid>https://qwerkilo.github.io/posts/qjvlfa6wl/</guid>
<description>辣鸡萝莉糖 https://qwerkilo.github.io/posts/qjvlfa6wl/ -<blockquote>
<p>笑出自信,笑出强大。全套开源,牛逼画质。为什么不用potplayer?你懂的。为什么不用madvr?1050ti啃不动mad,靴靴。</p>
</blockquote>
<h2 id="mpc-be">MPC-BE</h2>
<div class="highlight"><pre tabindex="0" style="background-color:#eed;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-html" data-lang="html"><span style="display:flex;"><span>download link
</span></span><span style="display:flex;"><span>https://www.free-codecs.com/mpc-be_download.htm
</span></span></code></pre></div><h2 id="lav">LAV</h2>
<div class="highlight"><pre tabindex="0" style="background-color:#eed;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-html" data-lang="html"><span style="display:flex;"><span>download link
</span></span><span style="display:flex;"><span>https://www.free-codecs.com/download/lav_filters.htm
</span></span></code></pre></div><h2 id="mpc-vr">MPC VR</h2>
<div class="highlight"><pre tabindex="0" style="background-color:#eed;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-html" data-lang="html"><span style="display:flex;"><span>download link
</span></span><span style="display:flex;"><span>https://www.free-codecs.com/download/mpc_video_renderer.htm
</span></span></code></pre></div><p><img src="https://cdn.jsdelivr.net/gh/qwerkilo/Image/image-20220307103312101.png" alt="image-20220307103312101"></p>
<p><img src="https://cdn.jsdelivr.net/gh/qwerkilo/Image/image-20220307103422227.png" alt="image-20220307103422227"></p>
- https://qwerkilo.github.io/posts/qjvlfa6wl/ - 没有版权,个人随写</description>
</item>
<item>
<title>关于从utools转用巨硬家powertoys这件事</title>
<link>https://qwerkilo.github.io/posts/b16mjeqyf/</link>
<pubDate>Sun, 06 Mar 2022 22:50:12 +0000</pubDate>
<guid>https://qwerkilo.github.io/posts/b16mjeqyf/</guid>
<description>辣鸡萝莉糖 https://qwerkilo.github.io/posts/b16mjeqyf/ -<blockquote>
<p>utools用顺手了无敌方便,但是前几天我发现它的资源占用有亿丢丢大,所以开始寻找替代方案。</p>
</blockquote>
<h2 id="powetoys">powetoys</h2>
<p>阿三入侵巨硬后我就对巨硬一直没啥好感,抱着试一试的心态用了下pt,发现还是挺好用的,我们来康康:</p>
<p><img src="https://cdn.jsdelivr.net/gh/qwerkilo/Image/202203062242782.png" alt="主界面"></p>
<p>首先,ptr的快捷键就和utools肥肠相同(手动斜眼)</p>
<p><img src="https://cdn.jsdelivr.net/gh/qwerkilo/Image/202203062244131.png" alt="ptr快捷键"></p>
<p>旧版的ptr还可以和everything配合,占用也很低,简直无敌:</p>
<p><img src="https://cdn.jsdelivr.net/gh/qwerkilo/Image/202203062246220.png" alt="资源占用"></p>
<p>目前配合Ditto,quicklook我感觉也顺手得很,在用一段时间观望蛤!</p>
<p>链接:<a href="https://github.com/microsoft/PowerToys">microsoft/PowerToys: Windows system utilities to maximize productivity (github.com)</a></p>
- https://qwerkilo.github.io/posts/b16mjeqyf/ - 没有版权,个人随写</description>
</item>
<item>
<title>关于gridea同步经常出问题的解决方法</title>
<link>https://qwerkilo.github.io/posts/a_nows7ia/</link>
<pubDate>Sun, 06 Mar 2022 19:33:28 +0000</pubDate>
<guid>https://qwerkilo.github.io/posts/a_nows7ia/</guid>
<description>辣鸡萝莉糖 https://qwerkilo.github.io/posts/a_nows7ia/ -<blockquote>
<p>找到output文件夹 git push过去</p>
</blockquote>
<p>站点源文件这个文件夹记得同步到云盘或者其他什么地方,可以在gridea方便异地读取。</p>
<p>封面来自<a href="https://twitter.com/marie_0627">某40岁偶像</a>🤓</p>
<p>git搭配SourceTree可方便push噜,烫染,GitHub Desktop是坠吼的。</p>
<p>教程在此
<a href="https://www.bilibili.com/video/BV13W411U7HY">https://www.bilibili.com/video/BV13W411U7HY</a></p>
- https://qwerkilo.github.io/posts/a_nows7ia/ - 没有版权,个人随写</description>
</item>
<item>
<title>iplay20 magisk 修补boot制作教程</title>
<link>https://qwerkilo.github.io/posts/najf7wvv8/</link>
<pubDate>Sun, 06 Mar 2022 15:29:26 +0000</pubDate>
<guid>https://qwerkilo.github.io/posts/najf7wvv8/</guid>
<description>辣鸡萝莉糖 https://qwerkilo.github.io/posts/najf7wvv8/ -<p>本文参考了h论坛上的<a href="https://forum.hovatek.com/thread-32664.html">帖子</a></p>
<h2 id="必要工具">必要工具</h2>
<ul>
<li>一台装了python的linux机器(我用的debian)</li>
<li>签名文件</li>
<li>iplay20原版boot.img</li>
<li>一台已经root了的其他的设备</li>
<li>AVBtool</li>
</ul>
<p>必要文件已经上传好了下载链接在下面</p>
<pre tabindex="0"><code>https://wwi.lanzouy.com/b07hjo4uh
密码:8pvt
</code></pre><h2 id="生成自己的vbmeta">生成自己的vbmeta</h2>
<p>首先,生成自己的vbmeta,生成vbmeta用到的文件都在keys下了,当然如果需要使用自己的密钥的话可以自己生成。展讯的s9863a以及s9832e vbmeta和boot等镜像修改签名的方法是一样的。生成vbmeta的命令如下:</p>
<pre tabindex="0"><code>python avbtool make_vbmeta_image --key rsa4096_vbmeta.pem --algorithm SHA256_RSA4096 --flag 0 –padding_size 16384 --chain_partition boot:1:keys/hovatek.bin --chain_partition dtbo:10:keys/dtbo.bin --chain_partition recovery:2:keys/recovery.bin --chain_partition socko:11:keys/socko.bin --chain_partition odmko:12:keys/odmko.bin --chain_partition vbmeta_system:3:keys/vbmeta_system.bin --chain_partition vbmeta_vendor:4:keys/vbmeta_vendor.bin --chain_partition l_modem:6:keys/l_modem.bin --chain_partition l_ldsp:7:keys/l_ldsp.bin --chain_partition l_gdsp:8:keys/l_gdsp.bin --chain_partition pm_sys:9:keys/pm_sys.bin --output vbmeta-sign-custom.img
</code></pre><p>这里说明一下,命令要在linux下和<strong>keys文件夹</strong>同个目录的地方执行生成,把<strong>AVBtool</strong>也丢进这个目录。之后会生成一个属于你自己的vbmeta的img文件,名字是vbmeta-sign-custom.img。以上命令参考自酷比论坛的以下命令:</p>
<pre tabindex="0"><code>python2 avbtool make_vbmeta_image –key rsa4096_vbmeta.pem –algorithm SHA256_RSA4096 –flag 0 –padding_size 16384 \
–chain_partition boot:1:keys/x_key.bin \
–chain_partition dtbo:10:keys/key_dtbo.bin \
–chain_partition recovery:2:keys/key_recovery.bin \
–chain_partition socko:11:keys/key_socko.bin \
–chain_partition odmko:12:keys/key_odmko.bin \
–chain_partition vbmeta_system:3:keys/key_vbmeta_system.bin \
–chain_partition vbmeta_vendor:4:keys/key_vbmeta_vendor.bin \
–chain_partition l_modem:6:keys/key_l_modem.bin \
–chain_partition l_ldsp:7:keys/key_l_ldsp.bin \
–chain_partition l_gdsp:8:keys/key_l_gdsp.bin \
–chain_partition pm_sys:9:keys/key_pm_sys.bin \
–output vbmeta_my.img
</code></pre><p>其中你要修改的boot.img最后签名跟里面的x_key.bin是对应的。关于bin文件的生成命令如下,如果使用我提供的可以跳过:</p>
<pre tabindex="0"><code>python avbtool extract_public_key --key hovatek.pem --output keys/hovatek.bin
</code></pre><p>其中hovatek.pem为证书文件,你可以替换成你自己的,证书生成自行查阅资料,我用的默认<strong>rsa4096_vbmeta.pem</strong></p>
<p>紫光这soc要求vbmeta和boot要用的一样的证书才能过验证,所以很麻烦。</p>
<p>到这里为止vbmeta就搞定了,这次生成的vbmeta你可以一直以后都用下去。只要以后每次boot签名的证书和你生成vbmeta用的证书一样的就可以了。</p>
<h2 id="用magisk修补boot">用magisk修补boot</h2>
<p>这里应该可以跳过,用我提供的原版boot.img丢到已经root的设备上用magisk修补boot就行可,一般会生成一个新的修补好的boot.img。</p>
<h2 id="签名修补好的boot">签名修补好的boot</h2>
<p>使用上面生成vbmeta时候用的证书来生成boot,先把magisk修补后生成的文件丢进linux,然后执行以下命令:</p>
<pre tabindex="0"><code>python avbtool add_hash_footer --image magisk_patched-23016_BohEx.img --partition_name boot --partition_size 36700160 --key rsa4096_vbmeta.pem --algorithm SHA256_RSA4096
</code></pre><p>其中,magisk_patched-23016_BohEx.img为magisk修补后生成的文件,rsa4096_vbmeta.pem为使用的证书。如果偷懒的话其实以后每次只要把原版boot用magisk修补一下然后丢进linux执行一下上面的命令就可以刷入iplay20上用了。</p>
<h2 id="刷入boot和vbmeta">刷入boot和vbmeta</h2>
<p>这个应该大家都懂,iplay20进fastbootd,电脑执行命令:</p>
<pre tabindex="0"><code>fastboot --disable-verity --disable-verification flash vbmeta vbmeta_signed.img
fastboot flash boot boot-magisk-20.4-T1011s-20200513.img
</code></pre><p>vbmeta_signed.img和boot-magisk-20.4-T1011s-20200513.img分别为上面生成的vbmeta和已经自己签名好的boot,改一下名字刷入即可。</p>
<h2 id="注意事项">注意事项</h2>
<p>切记,因为生成的vbmeta和原厂的不一样,所以不能用升级工具的方法刷入自己生成的vbmeta和boot,会卡住的,老老实实用命令行哈。授人以鱼不如授人以渔,大家搞起来。</p>
<p>PS:目前安卓12下好像USB有问题,进系统后电脑没法用adb管理iplay20.安卓12的话推荐用LineageOS,phh的aosp总感觉卡了点。</p>
<p><a href="https://sourceforge.net/projects/andyyan-gsi/files/lineage-19.x/">下载地址</a></p>
<p>找arm64_bvS-vndklite的下就行了,刷入可以开机问题不大,记得先双清。</p>
- https://qwerkilo.github.io/posts/najf7wvv8/ - 没有版权,个人随写</description>
</item>
</channel>
</rss>