1、修改路径:frameworks/av/media/mtp/MtpServer.cpp
2、修改方法:
MtpResponseCode MtpServer::doGetDeviceInfo() {
mData.putString(string); // Manufacturer
property_get("ro.product.model", prop_value, "MTP Device");
- string.set(prop_value);
+ string.set("你要修改成的名称<span style="font-family: Arial, Helvetica, sans-serif;">");</span> mData.putString(string); // Model
string.set("1.0");
mData.putString(string); // Device Version原文地址:http://blog.csdn.net/silence_cdsn/article/details/43268899