config: improve usb gadget device name
Change-Id: I5346bceada077240bbcb48b70bc583e2dc6cbf00
diff --git a/config/init/init.exynos9611.usb.rc b/config/init/init.exynos9611.usb.rc
index 96bc96c..536822c 100644
--- a/config/init/init.exynos9611.usb.rc
+++ b/config/init/init.exynos9611.usb.rc
@@ -24,8 +24,8 @@
on charger && property:ro.debuggable=1
write /config/usb_gadget/g1/strings/0x409/serialnumber ${ro.serialno}
- write /config/usb_gadget/g1/strings/0x409/manufacturer "SAMSUNG"
- write /config/usb_gadget/g1/strings/0x409/product "SAMSUNG_Android_lpm"
+ write /config/usb_gadget/g1/strings/0x409/manufacturer ${ro.product.vendor.manufacturer}
+ write /config/usb_gadget/g1/strings/0x409/product ${ro.product.vendor.model}
write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "Conf 1"
symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/ffs.adb
setprop sys.usb.configfs 1
@@ -33,8 +33,8 @@
on boot
write /config/usb_gadget/g1/strings/0x409/serialnumber ${ro.serialno}
- write /config/usb_gadget/g1/strings/0x409/manufacturer "SAMSUNG"
- write /config/usb_gadget/g1/strings/0x409/product "SAMSUNG_Android"
+ write /config/usb_gadget/g1/strings/0x409/manufacturer ${ro.product.vendor.manufacturer}
+ write /config/usb_gadget/g1/strings/0x409/product ${ro.product.vendor.model}
write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "Conf 1"
write /config/usb_gadget/g1/configs/b.1/MaxPower 0x1f4
symlink /config/usb_gadget/g1/functions/mtp.0 /config/usb_gadget/g1/configs/b.1/mtp.0