From: Nolen Johnson Date: Wed, 30 Jun 2021 05:56:36 +0000 (-0400) Subject: g12: Set USB name in recovery to ro.product.board X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=72c9fea2c49eb94d76903cdb5b45c9b330ab6415;p=GitHub%2FLineageOS%2FG12%2Fandroid_device_amlogic_g12-common.git g12: Set USB name in recovery to ro.product.board * This sets it per-variant. Change-Id: I52c596a271f8e70625e3a478f421e949d014358e --- 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