Advertisement
Guest User

Untitled

a guest
Dec 2nd, 2020 (edited)
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.16 KB | None | 0 0
  1. justin@justin-PC:/media/justin/1TSSD/Deepin/afck$ make mod-unpack
  2. mkdir -p "bc-tool/stamp"
  3. tools/linux/ext4unpack out/amlogic/device/1-2g/img-unpack/odm.PARTITION bc-tool/odm/odm
  4. Сохраняем режимы доступа к файлам в bc-tool/odm/odm_statfile.txt ...
  5. Извлекаем файлы из out/amlogic/device/1-2g/img-unpack/odm.PARTITION.raw ...
  6. tools/linux/ext4unpack out/amlogic/device/1-2g/img-unpack/vendor.PARTITION bc-tool/vendor/vendor
  7. Сохраняем режимы доступа к файлам в bc-tool/vendor/vendor_statfile.txt ...
  8. Извлекаем файлы из out/amlogic/device/1-2g/img-unpack/vendor.PARTITION.raw ...
  9. tools/linux/ext4unpack out/amlogic/device/1-2g/img-unpack/product.PARTITION bc-tool/product/product
  10. Сохраняем режимы доступа к файлам в bc-tool/product/product_statfile.txt ...
  11. Извлекаем файлы из out/amlogic/device/1-2g/img-unpack/product.PARTITION.raw ...
  12. tools/linux/ext4unpack out/amlogic/device/1-2g/img-unpack/system.PARTITION bc-tool/system/system
  13. Сохраняем режимы доступа к файлам в bc-tool/system/system_statfile.txt ...
  14. Извлекаем файлы из out/amlogic/device/1-2g/img-unpack/system.PARTITION.raw ...
  15. cp out/amlogic/device/1-2g/img-unpack/_aml* bc-tool/DTB && sync
  16. cp -v bc-tool/vendor/vendor/etc/selinux/*file_contexts bc-tool/odm/selinux
  17. 'bc-tool/vendor/vendor/etc/selinux/vendor_file_contexts' -> 'bc-tool/odm/selinux/vendor_file_contexts'
  18. cp -v bc-tool/vendor/vendor/etc/selinux/*file_contexts bc-tool/product/selinux
  19. 'bc-tool/vendor/vendor/etc/selinux/vendor_file_contexts' -> 'bc-tool/product/selinux/vendor_file_contexts'
  20. cp -v bc-tool/vendor/vendor/etc/selinux/*file_contexts bc-tool/vendor/selinux
  21. 'bc-tool/vendor/vendor/etc/selinux/vendor_file_contexts' -> 'bc-tool/vendor/selinux/vendor_file_contexts'
  22. cp -v bc-tool/vendor/vendor/etc/selinux/*file_contexts bc-tool/system/selinux
  23. 'bc-tool/vendor/vendor/etc/selinux/vendor_file_contexts' -> 'bc-tool/system/selinux/vendor_file_contexts'
  24. cp -v bc-tool/system/system/system/etc/selinux/*file_contexts bc-tool/odm/selinux
  25. 'bc-tool/system/system/system/etc/selinux/plat_file_contexts' -> 'bc-tool/odm/selinux/plat_file_contexts'
  26. cp -v bc-tool/system/system/system/etc/selinux/*file_contexts bc-tool/product/selinux
  27. 'bc-tool/system/system/system/etc/selinux/plat_file_contexts' -> 'bc-tool/product/selinux/plat_file_contexts'
  28. cp -v bc-tool/system/system/system/etc/selinux/*file_contexts bc-tool/vendor/selinux
  29. 'bc-tool/system/system/system/etc/selinux/plat_file_contexts' -> 'bc-tool/vendor/selinux/plat_file_contexts'
  30. cp -v bc-tool/system/system/system/etc/selinux/*file_contexts bc-tool/system/selinux
  31. 'bc-tool/system/system/system/etc/selinux/plat_file_contexts' -> 'bc-tool/system/selinux/plat_file_contexts'
  32. rm -rf out/amlogic/device/1-2g/img-ubt/*
  33.  
  34. unpack done!
  35. touch "bc-tool/stamp/.stamp.mod-unpack"
  36. justin@justin-PC:/media/justin/1TSSD/Deepin/afck$ make mod-partition-all
  37. mkdir -p "bc-tool/stamp"
  38. cd bc-tool/odm && ./build
  39. check source folder...
  40. ok
  41.  
  42. remove odm/lost+found
  43. previous build doesn't exist
  44.  
  45. multi-dtb detected...
  46. 记录了56+0 的读入
  47. 记录了56+0 的写出
  48. 114688 bytes (115 kB, 112 KiB) copied, 0.0017965 s, 63.8 MB/s
  49. calculate IMG size
  50. ./build:行73: fdtget:未找到命令
  51. size: 0
  52.  
  53. building...
  54.  
  55. create ext4 fs...
  56. #################
  57. 记录了0+0 的读入
  58. 记录了0+0 的写出
  59. 0 bytes copied, 8.0945e-05 s, 0.0 kB/s
  60. mke2fs 1.43.3 (04-Sep-2016)
  61. mke2fs: Device size reported to be zero. Invalid partition specified, or
  62. partition table wasn't reread after running fdisk, due to
  63. a modified partition being busy and in use. You may need to reboot
  64. to re-read your partition table.
  65.  
  66. set android_sparse flag for e2fsdroid
  67. #################
  68. mke2fs 1.43.3 (04-Sep-2016)
  69. mke2fs: invalid blocks '0' on device 'out/odm.PARTITION'
  70. compile file_contexts.bin
  71.  
  72. create a sparse img...
  73. ##################
  74. ./build:行 97: 5813 段错误 sudo contrib/e2fsdroid -T $TIME -B out/$PART.map -S out/$SLCB -f $PART -a /$PART out/$OUT
  75. make: *** [build/mod.mak:62:bc-tool/stamp/.stamp.mod-partition-all] 错误 1
  76.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement