Skip to content

Commit

Permalink
Add how to apply font on android (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaruTama authored Aug 6, 2023
1 parent 3f0d94a commit c53c1b3
Show file tree
Hide file tree
Showing 14 changed files with 56 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ This fonts can display basic Japanese, Simplified Chinese and Traditional Chines
- [macOS](https://support.apple.com/en-us/HT201749)
- [Windows](https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows)
- [Linux/Unix-based systems](https://github.com/adobe-fonts/source-code-pro/issues/17#issuecomment-8967116)
- [Android](./doc/HOW_TO_APPLY_FONT_ON_ANDROOID.md)

----

Expand Down
55 changes: 55 additions & 0 deletions doc/HOW_TO_APPLY_FONT_ON_ANDROOID.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# How to install mengshen font on Android
The method using zFont is compatible with Galaxy, LG, HUAWEI, vivo, Honor, OPPO, and Xiaomi devices. However, there are some apps that don't support homographs or are not fully compatible.

If you want to enable homographs or change the font in apps that don't support zFont(e.g. lock screen's clock / chrome), you can use the Magisk module.

## MIUI
I confirmed on Redmi Note 9S (MIUI 12).
1. Install and launch zFont.
<img src="../imgs/install2android/picture_0.png" width="200"/>

2. Go to the LOCAL tab and press the button in the bottom right.
<img src="../imgs/install2android/picture_1.png" width="200"/>

3. Choose Mengshen-HanSerif.ttf or Mengshen-Handwritten.ttf and check it.
(Note: In the screenshot, Mengshen-Handwritten.ttf is renamed to mengshen.ttf)
<img src="../imgs/install2android/picture_2.png" width="200"/>

4. After verifying the font, press the SET button.
<img src="../imgs/install2android/picture_3.png" width="200"/>

5. Click on Xiaomi(MIUI).
<img src="../imgs/install2android/picture_4.png" width="200"/>

6. Click on Method3.
(Note: Don't choose Method4. For some reason, it seems the font doesn't change.)
<img src="../imgs/install2android/picture_5.png" width="200"/>

7. When the dialog appears, click OK.
<img src="../imgs/install2android/picture_6.png" width="200"/>

8. You will be automatically redirected to the theme app.

9. Select the theme with "(Apply me)" in its name.
<img src="../imgs/install2android/picture_7.png" width="200"/>

10. Press the apply button.
Now you should see the pinyin font. If it doesn't change, try restarting.
<img src="../imgs/install2android/picture_8.png" width="200"/>

Now, you can read comments with pinyin in apps like Weibo and TikTok!
<img src="../imgs/install2android/picture_9.png" width="200"/>
<img src="../imgs/install2android/picture_10.png" width="200"/>
<img src="../imgs/install2android/picture_11.png" width="200"/>

## Magisk Module (requires root)
It seems that from Android 10(Q), the EXT4 dedup filesystem was introduced, which prevents mounting in RW mode. However, it appears that the system area can still be modified as a Magisk module.
I confirmed on Redmi Note 9S (MIUI 12).

You can download the Magisk module ZIP file from [here](https://github.com/MaruTama/magisk-module-mengshen-font/releases) and install it using Magisk Manager. ([Source code is here](https://github.com/MaruTama/magisk-module-mengshen-font))

For installation instructions, refer to [How to install Magisk modules on a rooted Android phone](https://www.androidpolice.com/install-magisk-rooted-android/).

## Reference
- [MIUI12 で萌神(拼音付き)フォントを適用させる。](https://note.com/tamamaru/n/n86ac40bd2c97)
- [Koruri フォントに置き変える Magisk モジュールをv20.2+向けに更新しました【要root】](https://androplus.org/Entry/12518/)
Binary file added imgs/install2android/picture_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/install2android/picture_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/install2android/picture_10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/install2android/picture_11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/install2android/picture_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/install2android/picture_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/install2android/picture_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/install2android/picture_5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/install2android/picture_6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/install2android/picture_7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/install2android/picture_8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/install2android/picture_9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c53c1b3

Please sign in to comment.