适用机型:小米 / Redmi 全系(运行 HyperOS 1.0 / 2.0 / 3.0,Android 14 / 15 / 16)
核心机制:在 HyperOS 系统中,系统应用受系统级保护已无法使用disable-user,统一使用用户级安全卸载命令pm uninstall -k --user 0。该卸载仅作用于当前用户空间,底层 ROM 原包保持完整,随时可通过命令秒级恢复。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function getRotation() { | |
| //1竖屏 2横屏 | |
| importPackage(android.content); | |
| return context.getResources().getConfiguration().orientation; | |
| } | |
| function getScreenHW() { | |
| // console.log(getRotation()); | |
| // 正常的手机,高度,是大于宽度的。但是,device.width,device.height,函数,有时候是会获取错误的。 | |
| // 强行扭正。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <Project Sdk="Microsoft.NET.Sdk"> | |
| <!-- ================================================ --> | |
| <!-- ================ 项目基本设置 ================= --> | |
| <!-- ================================================ --> | |
| <PropertyGroup> | |
| <!-- 项目类型(控制台应用示例,你可以改成 WinExe / Library 等) --> | |
| <OutputType>Exe</OutputType> | |
| <!-- .NET 版本(VS 2026 默认支持 .NET 9 / .NET 10,这里用 .NET 9 示例,改成 net10.0 也行) --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $唐老师 | |
| $ailor谷启航 | |
| $NGK | |
| 1.ToNE | |
| 2-DO | |
| 2eight 小茶 | |
| 2Night夜里 | |
| 3A别拖啦 | |
| 3anyu | |
| 3ASiC |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # DNS 配置可自行修改 | |
| port: 7890 | |
| allow-lan: true | |
| mode: rule | |
| log-level: info | |
| unified-delay: true | |
| global-client-fingerprint: chrome | |
| dns: | |
| enable: true | |
| listen: :53 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ############################ FFmpeg CLI Examples ############################ | |
| -metadata[:metadata_specifier] key=value (output,per-metadata) | |
| For example, for setting the title in the output file: | |
| ffmpeg -i in.avi -metadata title="my title" out.flv | |
| To set the language of the first audio stream: | |
| ffmpeg -i INPUT -metadata:s:a:0 language=eng OUTPUT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ffmpeg -hide_banner -n -v error -stats -hwaccel cuda -hwaccel_output_format cuda -i "ptest.mp4" -c:v hevc_nvenc | |
| -cq 26 -c:a libfdk_aac -b:a 72k -preset p1 p1.mp4 35.9x 16s 283m | |
| ffmpeg -hide_banner -n -v error -stats -hwaccel cuda -hwaccel_output_format cuda -i "ptest.mp4" -c:v hevc_nvenc | |
| -cq 26 -c:a libfdk_aac -b:a 72k -preset p2 p2.mp4 27.1x 22s 253m | |
| ffmpeg -hide_banner -n -v error -stats -hwaccel cuda -hwaccel_output_format cuda -i "ptest.mp4" -c:v hevc_nvenc | |
| -cq 26 -c:a libfdk_aac -b:a 72k -preset p3 p3.mp4 25x 24s 248m | |
| ffmpeg -hide_banner -n -v error -stats -hwaccel cuda -hwaccel_output_format cuda -i "ptest.mp4" -c:v hevc_nvenc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 根据Unicode5.0整理如下: | |
| 1)标准CJK文字 | |
| http://www.unicode.org/Public/UNIDATA/Unihan.html | |
| 2)全角ASCII、全角中英文标点、半宽片假名、半宽平假名、半宽韩文字母:FF00-FFEF | |
| http://www.unicode.org/charts/PDF/UFF00.pdf | |
| 3)CJK部首补充:2E80-2EFF | |
| http://www.unicode.org/charts/PDF/U2E80.pdf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| adb shell pm disable-user com.miui.accessibility | |
| adb shell pm disable-user com.miui.daemon | |
| adb shell pm disable-user com.android.carrierdefaultapp | |
| adb shell pm disable-user com.android.traceur | |
| adb shell pm disable-user com.miui.miservice | |
| adb shell pm disable-user com.xiaomi.mi_connect_service | |
| adb shell pm disable-user com.xiaomi.mirror | |
| adb shell pm disable-user com.android.stk | |
| adb shell pm disable-user com.goodix.fingerprint.setting | |
| adb shell pm disable-user com.android.cellbroadcastservice |
NewerOlder