基于TWRP2.4汉化,支持中文字符
已生成部分字库,默认为32号雅黑字体(font_cn_32x32.h),可使用BOARD_USE_CUSTOM_RECOVERY_FONT指定字体
增加扩展字库,可扩展单个字符,扩展字库中不存在的使用内置字库(参考了syhost的代码,感谢syhost)
扩展字库可由minuitwrp/font_dat_gen.py生成,只要把需要的字符放到文本文件中以utf8编码保存即可
需要注意的是官方的扩展字库会覆盖.h字库里面的英文,造成中英文显示不协调,只需要移除gui/devices/*/fonts/*.dat或替换为自行生成的扩展字库即可
扩展字库脚本已知的问题是无法正确识别U10000+的字符,会显示为口,但twrp上是可以正确解析显示出这个口的
已汉化所有分辨率的主题,并添加了清除电量统计的选项(注意:该选项位置放在了条件显示的清除SD-EXT上,若需要清除SD-EXT(非外置SD)的,请自行修改对应分辨率的ui.xml)
Team Win Recovery Project (TWRP)
The goal of this branch is to rebase TWRP onto AOSP while maintaining as much of the original AOSP code as possible. This goal should allow us to apply updates to the AOSP code going forward with little to no extra work. With this goal in mind, we will carefully consider any changes needed to the AOSP code before allowing them. In most cases, instead of changing the AOSP code, we'll create our own functions instead. The only changes that should be made to AOSP code should be those affecting startup of the recovery and some of the make files.
If there are changes that need to be merged from AOSP, we will pull the change directly from AOSP instead of creating a new patch in order to prevent merge conflicts with AOSP.
This branch is under final testing and will be used shortly for public builds, but has not officially been released.
You can find a compiling guide here.
More information about the project.
If you have code changes to submit those should be pushed to our gerrit instance. A guide can be found here.