From 72c9fea2c49eb94d76903cdb5b45c9b330ab6415 Mon Sep 17 00:00:00 2001 From: Nolen Johnson Date: Wed, 30 Jun 2021 01:56:36 -0400 Subject: [PATCH] g12: Set USB name in recovery to ro.product.board * This sets it per-variant. Change-Id: I52c596a271f8e70625e3a478f421e949d014358e --- init-files/init.recovery.amlogic.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init-files/init.recovery.amlogic.rc b/init-files/init.recovery.amlogic.rc index 14af9b1..46c982c 100644 --- a/init-files/init.recovery.amlogic.rc +++ b/init-files/init.recovery.amlogic.rc @@ -26,7 +26,7 @@ on boot mkdir /config/usb_gadget/g1/strings/0x409 0770 write /config/usb_gadget/g1/strings/0x409/serialnumber ${ro.serialno} write /config/usb_gadget/g1/strings/0x409/manufacturer droidlogic - write /config/usb_gadget/g1/strings/0x409/product deadpool + write /config/usb_gadget/g1/strings/0x409/product ${ro.product.board} mkdir /config/usb_gadget/g1/functions/ffs.adb mkdir /config/usb_gadget/g1/functions/ffs.fastboot mkdir /config/usb_gadget/g1/functions/mtp.gs0 -- 2.20.1