dre: Copy PFM licenses to persist
* This is read by the feature enabler client. OOS already does this but we want to make sure we're doing this for users upgrading from Lineage 18.1. Change-Id: I1d112d9cea6f3d0e87cdf12898587c7bacf8de9c
This commit is contained in:
parent
76847dfb0f
commit
ae5da56035
1 changed files with 6 additions and 0 deletions
|
@ -20,6 +20,12 @@ on property:ro.boot.prjname=*
|
||||||
# Display
|
# Display
|
||||||
setprop ro.separate.soft ${ro.boot.prjname}
|
setprop ro.separate.soft ${ro.boot.prjname}
|
||||||
|
|
||||||
|
on property:sys.boot_completed=1
|
||||||
|
# Display
|
||||||
|
copy /vendor/etc/Oppo_QC_LTM_Commercial_SM8250_2020_01_15.pfm /mnt/vendor/persist/data/pfm/licenses/1000-1000-no-exp-1186717196.pfm
|
||||||
|
chmod 0600 /mnt/vendor/persist/data/pfm/licenses/1000-1000-no-exp-1186717196.pfm
|
||||||
|
chown system system /mnt/vendor/persist/data/pfm/licenses/1000-1000-no-exp-1186717196.pfm
|
||||||
|
|
||||||
on property:sys.usb.config=adb && property:sys.usb.configfs=1
|
on property:sys.usb.config=adb && property:sys.usb.configfs=1
|
||||||
write /config/usb_gadget/g1/idVendor 0x22D9
|
write /config/usb_gadget/g1/idVendor 0x22D9
|
||||||
write /config/usb_gadget/g1/idProduct 0x2769
|
write /config/usb_gadget/g1/idProduct 0x2769
|
||||||
|
|
Loading…
Reference in a new issue