Guest User

Untitled

a guest
Dec 6th, 2017
7
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. "z3c" | "sirius" | "amami")
  2. # Z3 compact is also called "aries" | "d5803" in aosp (called z3c in cm12.1)
  3. # Z2 is also called "d6503" in aosp (called sirius in cm12.1)
  4. # untested for "amami" | "leo" | "tianchi")
  5. sed -i \
  6. -e 's block/platform/msm_sdcc.1/by-name/DDR mmcblk0p17 ' \
  7. -e 's block/platform/msm_sdcc.1/by-name/FOTAKernel mmcblk0p16 ' \
  8. -e 's block/platform/msm_sdcc.1/by-name/LTALabel mmcblk0p18 ' \
  9. -e 's block/platform/msm_sdcc.1/by-name/TA mmcblk0p1 ' \
  10. -e 's block/platform/msm_sdcc.1/by-name/aboot mmcblk0p5 ' \
  11. -e 's block/platform/msm_sdcc.1/by-name/alt_aboot mmcblk0p11 ' \
  12. -e 's block/platform/msm_sdcc.1/by-name/alt_dbi mmcblk0p10 ' \
  13. -e 's block/platform/msm_sdcc.1/by-name/alt_rpm mmcblk0p12 ' \
  14. -e 's block/platform/msm_sdcc.1/by-name/alt_s1sbl mmcblk0p9 ' \
  15. -e 's block/platform/msm_sdcc.1/by-name/alt_sbl1 mmcblk0p8 ' \
  16. -e 's block/platform/msm_sdcc.1/by-name/alt_tz mmcblk0p13 ' \
  17. -e 's block/platform/msm_sdcc.1/by-name/apps_log mmcblk0p22 ' \
  18. -e 's block/platform/msm_sdcc.1/by-name/boot mmcblk0p14 ' \
  19. -e 's block/platform/msm_sdcc.1/by-name/cache mmcblk0p24 ' \
  20. -e 's block/platform/msm_sdcc.1/by-name/dbi mmcblk0p4 ' \
  21. -e 's block/platform/msm_sdcc.1/by-name/fsg mmcblk0p21 ' \
  22. -e 's block/platform/msm_sdcc.1/by-name/modemst1 mmcblk0p19 ' \
  23. -e 's block/platform/msm_sdcc.1/by-name/modemst2 mmcblk0p20 ' \
  24. -e 's block/platform/msm_sdcc.1/by-name/ramdump mmcblk0p15 ' \
  25. -e 's block/platform/msm_sdcc.1/by-name/rpm mmcblk0p6 ' \
  26. -e 's block/platform/msm_sdcc.1/by-name/s1sbl mmcblk0p3 ' \
  27. -e 's block/platform/msm_sdcc.1/by-name/sbl1 mmcblk0p2 ' \
  28. -e 's block/platform/msm_sdcc.1/by-name/system mmcblk0p23 ' \
  29. -e 's block/platform/msm_sdcc.1/by-name/tz mmcblk0p7 ' \
  30. -e 's block/platform/msm_sdcc.1/by-name/userdata mmcblk0p25 ' \
  31. "$@"
  32. ;;
RAW Paste Data