Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xposed-modules-repo/github.zerorooot.horizontalcontentextension
横屏传送门/HorizontalContentextension
https://github.com/xposed-modules-repo/github.zerorooot.horizontalcontentextension
Last synced: about 12 hours ago
JSON representation
横屏传送门/HorizontalContentextension
- Host: GitHub
- URL: https://github.com/xposed-modules-repo/github.zerorooot.horizontalcontentextension
- Owner: Xposed-Modules-Repo
- License: gpl-3.0
- Created: 2022-06-13T07:05:00.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-24T12:10:12.000Z (11 months ago)
- Last Synced: 2023-12-24T13:28:04.639Z (11 months ago)
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# 横屏传送门
强行在横屏模式下启用miui传送门
# 注:3.2.x 的传送门开始,小米取消了传送门在横屏下的限制
# 如何使用1、安装[Magisk](https://github.com/topjohnwu/Magisk)
2、安装[LSPosed](https://github.com/LSPosed/LSPosed)
3、安装[miui传送门](https://github.com/zerorooot/HorizontalContentextension/blob/main/util/%E4%BC%A0%E9%80%81%E9%97%A8_2.5.64.apk)
4、安装此[app](https://github.com/zerorooot/HorizontalContentextension/blob/main/util/app),并在LSPosed中勾选
5、使用[创建快捷方式](https://github.com/zerorooot/HorizontalContentextension/blob/main/util/%E5%88%9B%E5%BB%BA%E5%BF%AB%E6%8D%B7%E6%96%B9%E5%BC%8F.apk),启用传送门,确保在竖屏模式下能正常使用
6、重启传送门,横屏,测试能否使用
# 软件原理
通过拦截`com.miui.contentextension.services.TextContentExtensionService`
类中的`isScreenPortrait`方法,使其返回`true`,从而达到横屏使用传送门的目的
# 截图
![图片识别](https://github.com/zerorooot/HorizontalContentextension/raw/main/util/photo.jpg)