Mtk
How does the MTP feature in the PC side drive letter name show how to modify?
There are two ways to use one of these:
A) Modify
<span style= "FONT-FAMILY:ARIAL;FONT-SIZE:12PX;" >/alps/frameworks/base/media/java/android/mtp/mtpdatabase.javaprivate int Getdeviceproperty (int property, long[ ] Outintvalue, Char[]outstringvalue) {String devicename;devicename = systemproperties.get ("Ro.product.name"); DeviceName = "Yournamehere"; int lengthdevicename = Devicename.length ();</span>
b) Modify the value of the Ro.product.name
In alps/build/tools/buildinfo.sh, find the name of the macro that corresponds to Ro.product.name, which is
Product_Name;
Add or modify the definition of the macro in the Alps/build/target/product/<project>.mk file, such as:
Product_Name: = Mylabelname
Note You cannot have spaces.
RDA 8810
\device\rda\<project>\<project>.mk
Target_board: = XXXX
Android modified USB flash drive name