Git Product home page Git Product logo

miui_recovery's Introduction

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 
set brightness
root devices
disable restore the official Recovery
dup && tar 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

```bash
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

```bash
export LD_LIBRARY_PATH .:/sbin/
```

zh-CN README

这里是托管 MIUI RECOVERY源代码的地方
 由[搞机圈论坛](http://www.gaojiquan.com) 老杨进行修改
源代码已经从C语言修改成C++
修改为动态库编译,所以需要在init.rc文件中添加下面的定义
export LD_LIBRARY_PATH .:/sbin

现在可以在CM10.1的源代码下面进行编译
为了初始化机型的信息,你需要用来两个文件device.conf,init.conf
都需要放置到/device目录下面对应的机型文件夹里面,我用的是中兴的N909
你需要参考bootable/recovery/utilities/device.conf , bootable/recovery/utilities/init.conf两个文件
修改好后,把生成的两个文件,放置到device目录下面,特定的机型目录里面,
我的位置是device/ZTE/N909
最后要修改一下BoardConfig.mk
添加如下的内容:
MIUI_DEVICE_CONF := ../../../device/ZTE/N909/device.conf
MIUI_INIT_CONF := ../../../device/ZTE/N909/init.conf


miui_recovery's People

Contributors

sndnvaps avatar

Watchers

James Cloos avatar aries avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.