Skip to content

hold the miui recovery source code ,full touch support ,

Notifications You must be signed in to change notification settings

ilaoniu/miui_recovery_src

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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显示自己设定的信息: 修改方法请参考

how to support you device

#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'
	      *  ----------------------------------
	      */

how to support you device

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

About

hold the miui recovery source code ,full touch support ,

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 87.7%
  • C++ 8.1%
  • Shell 1.5%
  • Makefile 1.3%
  • Objective-C 0.7%
  • Perl 0.4%
  • Other 0.3%