android development: sim card to have to debug how to do millet mobile phone development?

problem:

The company's new testing machine is millet 2s, but by the time of installation package, the installation fails always, whether it is open developer mode, or start or prohibit mui optimization features have been installed appears unavailable, then the next check up, because the millet system stable version of the package have been restricted, you must be sim card to debug (fans of the setting), so after visiting various forums, blog brush, and finally decided to brush it did not limit the system!

 

analysis:

The problem is relatively simple, just separate millet phone system development and user area, to be a sim card limit, or break out, there is no change in either the higher limit of the system, is more difficult to break out costs (no fly way up, and himself We can not afford to spend the time to explore), another development kit for so long without limitation, also specialize in the development of simpler and easy.

 

solve:

Ado, just start up!

Millet MIX 2 development version of the Brush package (Brush package also other, but note that there is no development version)

Brush Pack Download: https://www.miui.com/download-337.html

Millet Brush tool Download: https://www.miui.com/shuaji-393.html

Download Brush tool

 Brush Pack download page Developer Edition

Then follow these steps:

 

Brush done quickly and does not require additional operations.

Remarks:

1. General development, then choose Delete all (relatively clean environment, no residue), does not interfere with the development of

Note 2. Brush, the phone system initialization time will be relatively long (typically 15-20 minutes), this time it is best not unplug the cable, so as not to run out of battery or incomplete initialization failure cause Brush (painted again?)

 

Small tips:

1.mui developer mode more difficult to find, keep in mind that set - multiple clicks on the phone MIUI version which can be activated developer mode, then return to the Settings page, click More Settings can be found a developer options.

2. When using the device debugging, if the millet phone is connected to select turn on the camera (PTP), instead of selecting media device (MTP) to connect to.

Conclusion:

Although the design of this millet feel futile, but really caused no small trouble, wasted a lot of time, it can be considered Tucao get away with it. Develop it, or wish a happy heart, proceeds smoothly! Come on!

Published 58 original articles · won praise 10 · views 30000 +

Guess you like

Origin blog.csdn.net/qq_34203714/article/details/101306451