forked from TeamWin/android_device_google_marlin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix decrypt and bootctl for Android O
- Loading branch information
Showing
124 changed files
with
87 additions
and
45 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
on init | ||
write /sys/class/android_usb/android0/f_rndis/vendorID 18D1 | ||
write /sys/class/android_usb/android0/f_rndis/wceis 1 | ||
|
||
on boot | ||
write /sys/class/android_usb/android0/iSerial ${ro.serialno} | ||
write /sys/class/android_usb/android0/iManufacturer ${ro.product.manufacturer} | ||
write /sys/class/android_usb/android0/iProduct ${ro.product.model} | ||
|
||
write /sys/class/android_usb/f_mass_storage/lun/nofua 1 | ||
|
||
write /sys/class/android_usb/android0/f_rndis_qc/rndis_transports BAM2BAM_IPA | ||
write /sys/module/g_android/parameters/mtp_tx_req_len 131072 | ||
write /sys/module/g_android/parameters/mtp_rx_req_len 131072 | ||
setprop sys.usb.ffs.max_write 524288 | ||
setprop sys.usb.ffs.max_read 524288 | ||
setprop sys.usb.mtp.device_type 3 | ||
setprop sys.usb.rps_mask 0 | ||
|
||
write /sys/class/android_usb/android0/f_ffs/aliases adb | ||
mkdir /dev/usb-ffs 0775 shell shell | ||
mkdir /dev/usb-ffs/adb 0770 shell shell | ||
mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000 | ||
mkdir /dev/usb-ffs/mtp 0770 mtp mtp | ||
mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1 | ||
write /sys/class/android_usb/android0/enable 0 | ||
write /sys/class/android_usb/android0/idVendor 18D1 | ||
write /sys/class/android_usb/android0/idProduct 4EE2 | ||
write /sys/class/android_usb/android0/bDeviceClass 0 | ||
write /sys/class/android_usb/android0/bDeviceSubClass 0 | ||
write /sys/class/android_usb/android0/bDeviceProtocol 0 | ||
write /sys/class/android_usb/android0/functions adb | ||
write /sys/class/android_usb/android0/enable 1 | ||
start adbd | ||
|
||
on property:sys.usb.config=none | ||
write /sys/class/android_usb/android0/enable 0 | ||
write /sys/class/android_usb/android0/bDeviceClass 0 | ||
|
||
on property:sys.usb.config=adb | ||
write /sys/class/android_usb/android0/enable 0 | ||
write /sys/class/android_usb/android0/idVendor 18D1 | ||
write /sys/class/android_usb/android0/idProduct 4EE2 | ||
write /sys/class/android_usb/android0/bDeviceClass 0 | ||
write /sys/class/android_usb/android0/bDeviceSubClass 0 | ||
write /sys/class/android_usb/android0/bDeviceProtocol 0 | ||
write /sys/class/android_usb/android0/functions ${sys.usb.config} | ||
write /sys/class/android_usb/android0/enable 1 | ||
start adbd | ||
setprop sys.usb.state ${sys.usb.config} | ||
|
||
on property:sys.usb.config=mtp,adb | ||
write /sys/class/android_usb/android0/enable 0 | ||
write /sys/class/android_usb/android0/idVendor 18D1 | ||
write /sys/class/android_usb/android0/idProduct 4EE2 | ||
write /sys/class/android_usb/android0/bDeviceClass 0 | ||
write /sys/class/android_usb/android0/bDeviceSubClass 0 | ||
write /sys/class/android_usb/android0/bDeviceProtocol 0 | ||
write /sys/class/android_usb/android0/functions ${sys.usb.config} | ||
write /sys/class/android_usb/android0/enable 1 | ||
start adbd | ||
setprop sys.usb.state ${sys.usb.config} | ||
|
||
on property:sys.usb.config=adb | ||
write /sys/class/android_usb/android0/enable 0 | ||
write /sys/class/android_usb/android0/functions ${sys.usb.config} | ||
write /sys/class/android_usb/android0/enable ${service.adb.root} | ||
start adbd |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters