Guest User

Untitled

a guest
Feb 5th, 2019
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. import /vendor/etc/init/${ro.bootmode}/init.${ro.bootmode}.rc
  2.  
  3. on init
  4. symlink /dev/block/platform/${ro.boot.boot_devices} /dev/block/bootdevice
  5.  
  6. on fs
  7. mount ext4 /dev/block/by-name/cust /cust wait ro
  8. mount ext4 /dev/block/by-name/cust_a /cust wait ro
  9. mount ext4 /dev/block/by-name/preload /preload wait ro
  10. mount ext4 /dev/block/by-name/preload_a /preload wait ro
  11. mount ext4 /dev/block/by-name/product /product wait ro
  12. mount ext4 /dev/block/by-name/product_a /product wait ro
  13. mount ext4 /dev/block/by-name/version /version wait ro
  14. mount ext4 /dev/block/by-name/version_a /version wait ro
  15. mount none /odm/hw_odm/${ro.boot.product.hardware.sku} /hw_odm bind
  16. mount none /product/lost+found /product/app bind
  17. mount none /vendor/lost+found /vendor/etc/audio bind
  18. mount none /system/etc/audio_policy_configuration.xml /vendor/etc/audio_policy_configuration.xml bind
  19.  
  20. on post-fs-data
  21. start teecd
  22.  
  23. on property:ro.lineage.device=*
  24. setprop qemu.hw.mainkeys 1
  25.  
  26. on property:sys.user.0.ce_available=true
  27. mkdir /data/sec_storage_data 0700 system system
  28. mkdir /data/sec_storage_data_users 0700 system system
  29.  
  30. service bfm-ctl /system/bin/bfm-ctl
  31. class main
  32. user system
  33. group system
  34. oneshot
  35.  
  36. service charger /sbin/chargeonlymode -p
  37. class charger
  38. user root
  39. group root system
  40. critical
  41. seclabel u:r:charger:s0
Advertisement
Add Comment
Please, Sign In to add comment