<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
>
<channel>
<title><![CDATA[Teris 的秘密基地]]></title> 
<atom:link href="https://www.teris.pro/rss.php" rel="self" type="application/rss+xml" />
<description><![CDATA[]]></description>
<link>https://www.teris.pro/</link>
<language>zh-cn</language>

<item>
    <title>解除 fakelocation APP屏蔽</title>
    <link>https://www.teris.pro/4.html</link>
    <description><![CDATA[<p><strong>由于 fakelocation 主动对一系列 APP 进行屏蔽，导致被屏蔽的 APP 无法使用 fakelocation 模拟定位。因此，本文章将解决 fakelocation 屏蔽列表的方法发布出来，使 fakelocation 屏蔽列表失效，从而可对任意 APP 生效。</strong></p>
<p>&nbsp;</p>
<h1>原理</h1>
<p>&ensp;&ensp;&ensp;&ensp;fakelocation 在其程序数据目录下加入了其屏蔽的 APP 包名列表文件，在启用定位时会对列表文件内所有 APP 返回真实位置。因此，想要对已被屏蔽的 APP 生效，只需要让 fakelocation 读取的包名内不含有该 APP 的包名即可。<br />
&ensp;&ensp;&ensp;&ensp;而 fakelocation 在每次启动定位时会从其服务器获取最新的屏蔽包名列表文件，并对本地文件进行覆盖。所以，我们要做的就是让 fakelocation 无法从其服务器获取最新地址，并修改其屏蔽列表文件，删除我们所要模拟位置的 APP 包名即可。</p>
<p>&nbsp;</p>
<h1>要求</h1>
<ul>
<li>系统具有root权限<br />
&nbsp;</li>
<li>安装 lsposed 框架<br />
&nbsp;</li>
<li>fakelocation 正版会员账号 ( 破解版请自行测试 )</li>
</ul>
<p>&nbsp;</p>
<h1>工具列表</h1>
<ul>
<li>MT管理器<br />
<a href="https://mt2.cn/download/" target="_blank">点击跳转下载地址</a>( 官方网站 )<br />
<a href="https://motrees.lanzouq.com/ifCAl2azu4uh" target="_blank">点击跳转下载地址</a>( 蓝奏云 )</li>
</ul>
<p>&nbsp;</p>
<ul>
<li>Dia ( 版本 23.11 )<br />
<strong>[ 请自行测试该工具，该工具可能不支持较低版本安卓(如安卓10及以下)及较高版本安卓(安卓14) ]</strong><br />
<a href="https://github.com/Xposed-Modules-Repo/dialog.box/releases" target="_blank">点击跳转下载地址</a>( Lsposed 官方仓库 )<br />
<a href="https://motrees.lanzouq.com/iNgDp2azu2bg" target="_blank">点击跳转下载地址</a>( 蓝奏云 )</li>
</ul>
<p>&nbsp;</p>
<ul>
<li>fakelocation ( 版本 1.3.5 BETA 1592 )<br />
<a href="http://fakeloc.cc/app/" target="_blank">点击跳转下载地址</a>( 官方网站 )<br />
<a href="https://motrees.lanzouq.com/itKdx2azu3ri" target="_blank">点击跳转下载地址</a>( 蓝奏云 )</li>
</ul>
<p>&nbsp;</p>
<h1>操作步骤</h1>
<p>1.&ensp;安装 Fakelocation ，<strong>登录账号</strong>，<strong>并进行一次位置模拟</strong>。</p>
<p><strong>注意：确保在正常情况下 (不使用Dia) 成功模拟一次，否则会出现缺少 [ appconfigs.xml ] 文件 或 地图数据获取失败的情况，导致无法进行位置或模拟。</strong></p>
<p>2.&ensp;安装 Dia 工具，在 Lsposed 内激活，并勾选 Fakelocation 。</p>
<center><img style="width:30%;" src="https://s21.ax1x.com/2024/09/27/pAlhM1U.jpg" /></center>
<p>3.&ensp;在 Dia 内，启用 [ 开启模块 ]、[ 开启增强模式 ] 。</p>
<center><img style="width:30%;" src="https://s21.ax1x.com/2024/09/27/pAlh6AI.jpg" /></center>
<p>4.&ensp;在下方应用列表内找到 [ Fake Location ] ( 包名 com.lerist.fakelocation )，并单击进入。</p>
<p>5.&ensp;在右上角将 [ 启用设置 ] 开启。</p>
<center><img style="width:30%;" src="https://s21.ax1x.com/2024/09/27/pAlhR9f.jpg" /></center>
<p>6.&ensp;单击进入 [ 大杂烩 ] 功能。</p>
<p>7.&ensp;找到最下方 [ HTTP代理 ]，并启用。</p>
<center><img style="width:30%;" src="https://s21.ax1x.com/2024/09/27/pAlhfgS.jpg" /></center>
<p>8.&ensp;打开 [ HOST ] 配置。</p>
<p>9.&ensp;将以下文本加入配置文本中，并 [ 确定 ] 保存。</p>
<blockquote>
<p>127.0.0.1 api.fakeloc.cc</p>
</blockquote>
<center><img style="width:30%;" src="https://s21.ax1x.com/2024/09/27/pAlh7En.jpg" /></center>
<p>10.&ensp;打开 [ MT管理器 ] ，并找到以下目录</p>
<blockquote>
<p>/data/user_de/0/com.lerist.fakelocation/shared_prefs/</p>
</blockquote>
<center><img style="width:30%;" src="https://s21.ax1x.com/2024/09/27/pAlhjvF.jpg" /></center>
<p>11.&ensp;打开 [ appconfigs.xml ] 文件。</p>
<p><strong>12.&ensp;在文件内找到你需要模拟定位的 APP 包名，将其删除，并保存。</strong></p>
<p><strong>例如，运动世界校园 的包名为 [com.zjwh.android_wh_physicalfitness]</strong></p>
<p>13.&ensp;重新打开 Fakelocation 并进行一次模拟，若 [ appconfigs.xml ] 文件没有被覆盖还原，即为成功。</p>
<p>15.&ensp;重新启动手机。</p>
<p>完成以上操作后，你所删除包名的 APP 将可以被 fakelocation 模拟定位！<br />
&nbsp;</p>
<p><strong>感谢您的阅读，制作不易，转载请注明出处。</strong></p>]]></description>
    <pubDate>Fri, 27 Sep 2024 16:26:00 +0800</pubDate>
    <dc:creator>Teris</dc:creator>
    <guid>https://www.teris.pro/4.html</guid>
</item>
<item>
    <title>Nginx 编译安装配置</title>
    <link>https://www.teris.pro/3.html</link>
    <description><![CDATA[<h1>Configure</h1>
<pre><code>./configure --prefix=/nginx/ --user=www-data --group=www-data --with-compat --with-debug --with-file-aio --with-threads --with-http_ssl_module --with-http_v2_module --with-http_realip_module --with-http_addition_module --with-http_xslt_module=dynamic --with-http_image_filter_module=dynamic --with-http_sub_module --with-http_gunzip_module --with-http_auth_request_module --with-http_secure_link_module --with-http_gzip_static_module --with-http_slice_module --with-http_stub_status_module --with-http_perl_module=dynamic --with-mail=dynamic --with-mail_ssl_module --with-stream=dynamic --with-stream_ssl_module --with-http_realip_module --with-pcre --with-pcre-jit --with-stream_ssl_preread_module --with-http_degradation_module --with-http_random_index_module</code></pre>
<p>&nbsp;</p>
<h1>自启动服务</h1>
<h3>服务文件位置</h3>
<pre><code>/lib/systemd/system/nginx.service</code></pre>
<p>&nbsp;</p>
<h3>内容</h3>
<pre><code>[Unit]
Description=Nginx Service
After=network.target

[Service]
Type=forking
ExecStart=/nginx/sbin/nginx
ExecReload=/nginx/sbin/nginx -s reload
ExecStop=/nginx/sbin/nginx -s quit
PrivateTmp=true

[Install]
WantedBy=multi-user.target</code></pre>
<p>&nbsp;</p>
<h1>配置文件位置</h1>
<pre><code>/nginx/conf/nginx.conf</code></pre>
<p>&nbsp;</p>]]></description>
    <pubDate>Wed, 11 Sep 2024 23:24:00 +0800</pubDate>
    <dc:creator>Teris</dc:creator>
    <guid>https://www.teris.pro/3.html</guid>
</item>
<item>
    <title>PHP 编译安装配置</title>
    <link>https://www.teris.pro/2.html</link>
    <description><![CDATA[<h1>Configure</h1>
<pre><code>./configure --prefix=/php/ --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --with-pear --with-zlib --with-bz2 --enable-gd --with-jpeg --with-webp --with-freetype --with-zip --with-pdo-mysql --with-mysqli --enable-intl --with-curl --enable-calendar --with-openssl --with-xsl --enable-ftp --enable-sockets --enable-mbstring --enable-bcmath --with-gettext --enable-exif --enable-soap --with-mhash</code></pre>
<p>&nbsp;</p>
<h1>自启动服务</h1>
<h3>服务文件位置</h3>
<pre><code>/lib/systemd/system/php.service</code></pre>
<p>&nbsp;</p>
<h3>内容</h3>
<pre><code>[Unit]
Description=The PHP Service
After=network.target

[Service]
Type=forking
ExecStart=/php/sbin/php-fpm
ExecReload=/bin/kill -USR2 $MAINPID
ExecStop=/bin/kill -SIGINT $MAINPID

[Install]
WantedBy=multi-user.target</code></pre>
<p>&nbsp;</p>
<h1>配置文件位置</h1>
<pre><code>/php/lib/php.ini</code></pre>
<p>&nbsp;</p>
<pre><code>/php/etc/php-fpm.conf</code></pre>
<p>&nbsp;</p>
<pre><code>/php/etc/php-fpm.d/www.conf</code></pre>
<p>&nbsp;</p>]]></description>
    <pubDate>Wed, 11 Sep 2024 23:04:00 +0800</pubDate>
    <dc:creator>Teris</dc:creator>
    <guid>https://www.teris.pro/2.html</guid>
</item>
</channel>
</rss>