Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1.  
  2. on init
  3. export PATH /sbin
  4. export ANDROID_ROOT /system
  5. export ANDROID_DATA /data
  6. export EXTERNAL_STORAGE /sdcard
  7.  
  8. symlink /system/etc /etc
  9.  
  10. mkdir /sdcard
  11. mkdir /system
  12. mkdir /data
  13. mkdir /data/data
  14. mkdir /cache
  15. mkdir /mtdcache
  16. mount /tmp /tmp tmpfs
  17.  
  18. on boot
  19.  
  20. ifup lo
  21. hostname localhost
  22. domainname localdomain
  23.  
  24. class_start default
  25.  
  26.  
  27. service choice_fn /sbin/choice_fn
  28. oneshot
  29.  
  30. service recovery /sbin/recovery
  31. disabled
  32.  
  33. service power_test /sbin/power_test
  34. disabled
  35. oneshot
  36.  
  37. service offmode_charging /sbin/offmode_charging
  38. disabled
  39. oneshot
  40.  
  41. service detect_key /sbin/detect_key
  42. disabled
  43. oneshot
  44.  
  45. // FIXME: 20100611 Richard: For security hole issue, temperately remove adb in recovery mode.
  46. // TODO: Read SD zip to /tmp to avoid security hole.
  47. // service adbd /sbin/adbd recovery
  48.  
  49. //on property:persist.service.adb.enable=1
  50. // start adbd
  51.  
  52. //on property:persist.service.adb.enable=0
  53. // stop adbd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement