Advertisement
gimmeitorilltell

Root

Mar 5th, 2017
380
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. ifeq ($(DEFAULT_ROOT_METHOD),magisk)
  2. # Magisk Manager
  3. PRODUCT_PACKAGES += \
  4. MagiskManager
  5.  
  6. PRODUCT_COPY_FILES += \
  7. vendor/candy/prebuilt/zip/magisk.zip:system/addon.d/magisk.zip
  8. endif
  9.  
  10. ifeq ($(DEFAULT_ROOT_METHOD),supersu)
  11. PRODUCT_PACKAGES += \
  12. busybox
  13.  
  14. PRODUCT_COPY_FILES += \
  15. vendor/candy/prebuilt/zip/UPDATE-SuperSU.zip:system/addon.d/UPDATE-SuperSU.zip \
  16. vendor/candy/prebuilt/common/etc/init.d/99SuperSUDaemon:system/etc/init.d/99SuperSUDaemon
  17. endif
  18.  
  19.  
  20. *************This gives me an error stated below within our build source***********************
  21.  
  22.  
  23. Traceback (most recent call last):
  24. File "./build/tools/releasetools/ota_from_target_files", line 2087, in <module>
  25. main(sys.argv[1:])
  26. File "./build/tools/releasetools/ota_from_target_files", line 2042, in main
  27. WriteFullOTAPackage(input_zip, output_zip)
  28. File "./build/tools/releasetools/ota_from_target_files", line 762, in WriteFullOTAPackage
  29. ""+input_zip.read("SYSTEM/addon.d/magisk.zip"))
  30. File "/usr/lib/python2.7/zipfile.py", line 935, in read
  31. return self.open(name, "r", pwd).read()
  32. File "/usr/lib/python2.7/zipfile.py", line 961, in open
  33. zinfo = self.getinfo(name)
  34. File "/usr/lib/python2.7/zipfile.py", line 909, in getinfo
  35. 'There is no item named %r in the archive' % name)
  36. KeyError: "There is no item named 'SYSTEM/addon.d/magisk.zip' in the archive"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement