EN README:
hold the miui recovery source code modify by Gaojiquan LaoYang port recovery binary to c++ now can build on CM10.1 source code
#support functions ORS full touch support set brightness root devices disable restore the official Recovery dup && tar backup method support tar.gz backup method
adb sideload (thanks petercxy) ... ......
if you need to use the device info from the 'recovery menu' you should add the line to Boardconfig.mk
MIUI_DEVICE_CONF := ../../../device/ZTE/N909/device.conf
MIUI_INIT_CONF := ../../../device/ZTE/N909/init.conf
you should add the below line to init.rc
export LD_LIBRARY_PATH .:/sbin/
zh-CN README
这里是托管 MIUI RECOVERY源代码的地方
由搞机圈论坛 老杨进行修改
源代码已经从C语言修改成C++
修改为动态库编译,所以需要在init.rc文件中添加下面的定义
export LD_LIBRARY_PATH .:/sbin
如何让MIUI_RECOVERY显示自己设定的信息: 修改方法请参考
#Fix mtk platform soft link of '/sdcard' && '/external-sd' You need to add the below line to 'BoardConfig.mk'
FIX_MTK_PLATFORM_SDCARD_SOFT_LINK := true
/* change the soft link to the /sdcard && /external_sd
* if not inject '/external_sd
* '/sdcard' origin soft link to /storage/sdcard0
* ---------------------------------------------
* if inject '/external_sd , we need to change the soft link
* '/sdcard -> '/storege/sdcard1'
* '/external_sd -> '/storage/sdcard0'
* ----------------------------------
*/
Releases: v3.2.0.tar.gz
#add support flipped screen
为的就是处理屏幕倒置180度的问题.
#往BoardConfig.mk文件中添加如一下的内容
BOARD_HAS_FLIPPED_SCREEN := true
#settings.ini 例子
#/sdcard/miui_recovery/settings.ini
# miui recovery settings.ini file
# version 3.2.0
[zipflash]
CDI=0
sigcheck=0
md5sum=1
[dev]
brightness=0