Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- justin@justin-PC:/media/justin/1TSSD/Deepin/afck$ make mod-unpack
- mkdir -p "bc-tool/stamp"
- tools/linux/ext4unpack out/amlogic/device/1-2g/img-unpack/odm.PARTITION bc-tool/odm/odm
- Сохраняем режимы доступа к файлам в bc-tool/odm/odm_statfile.txt ...
- Извлекаем файлы из out/amlogic/device/1-2g/img-unpack/odm.PARTITION.raw ...
- tools/linux/ext4unpack out/amlogic/device/1-2g/img-unpack/vendor.PARTITION bc-tool/vendor/vendor
- Сохраняем режимы доступа к файлам в bc-tool/vendor/vendor_statfile.txt ...
- Извлекаем файлы из out/amlogic/device/1-2g/img-unpack/vendor.PARTITION.raw ...
- tools/linux/ext4unpack out/amlogic/device/1-2g/img-unpack/product.PARTITION bc-tool/product/product
- Сохраняем режимы доступа к файлам в bc-tool/product/product_statfile.txt ...
- Извлекаем файлы из out/amlogic/device/1-2g/img-unpack/product.PARTITION.raw ...
- tools/linux/ext4unpack out/amlogic/device/1-2g/img-unpack/system.PARTITION bc-tool/system/system
- Сохраняем режимы доступа к файлам в bc-tool/system/system_statfile.txt ...
- Извлекаем файлы из out/amlogic/device/1-2g/img-unpack/system.PARTITION.raw ...
- cp out/amlogic/device/1-2g/img-unpack/_aml* bc-tool/DTB && sync
- cp -v bc-tool/vendor/vendor/etc/selinux/*file_contexts bc-tool/odm/selinux
- 'bc-tool/vendor/vendor/etc/selinux/vendor_file_contexts' -> 'bc-tool/odm/selinux/vendor_file_contexts'
- cp -v bc-tool/vendor/vendor/etc/selinux/*file_contexts bc-tool/product/selinux
- 'bc-tool/vendor/vendor/etc/selinux/vendor_file_contexts' -> 'bc-tool/product/selinux/vendor_file_contexts'
- cp -v bc-tool/vendor/vendor/etc/selinux/*file_contexts bc-tool/vendor/selinux
- 'bc-tool/vendor/vendor/etc/selinux/vendor_file_contexts' -> 'bc-tool/vendor/selinux/vendor_file_contexts'
- cp -v bc-tool/vendor/vendor/etc/selinux/*file_contexts bc-tool/system/selinux
- 'bc-tool/vendor/vendor/etc/selinux/vendor_file_contexts' -> 'bc-tool/system/selinux/vendor_file_contexts'
- cp -v bc-tool/system/system/system/etc/selinux/*file_contexts bc-tool/odm/selinux
- 'bc-tool/system/system/system/etc/selinux/plat_file_contexts' -> 'bc-tool/odm/selinux/plat_file_contexts'
- cp -v bc-tool/system/system/system/etc/selinux/*file_contexts bc-tool/product/selinux
- 'bc-tool/system/system/system/etc/selinux/plat_file_contexts' -> 'bc-tool/product/selinux/plat_file_contexts'
- cp -v bc-tool/system/system/system/etc/selinux/*file_contexts bc-tool/vendor/selinux
- 'bc-tool/system/system/system/etc/selinux/plat_file_contexts' -> 'bc-tool/vendor/selinux/plat_file_contexts'
- cp -v bc-tool/system/system/system/etc/selinux/*file_contexts bc-tool/system/selinux
- 'bc-tool/system/system/system/etc/selinux/plat_file_contexts' -> 'bc-tool/system/selinux/plat_file_contexts'
- rm -rf out/amlogic/device/1-2g/img-ubt/*
- unpack done!
- touch "bc-tool/stamp/.stamp.mod-unpack"
- justin@justin-PC:/media/justin/1TSSD/Deepin/afck$ make mod-partition-all
- mkdir -p "bc-tool/stamp"
- cd bc-tool/odm && ./build
- check source folder...
- ok
- remove odm/lost+found
- previous build doesn't exist
- multi-dtb detected...
- 记录了56+0 的读入
- 记录了56+0 的写出
- 114688 bytes (115 kB, 112 KiB) copied, 0.0017965 s, 63.8 MB/s
- calculate IMG size
- ./build:行73: fdtget:未找到命令
- size: 0
- building...
- create ext4 fs...
- #################
- 记录了0+0 的读入
- 记录了0+0 的写出
- 0 bytes copied, 8.0945e-05 s, 0.0 kB/s
- mke2fs 1.43.3 (04-Sep-2016)
- mke2fs: Device size reported to be zero. Invalid partition specified, or
- partition table wasn't reread after running fdisk, due to
- a modified partition being busy and in use. You may need to reboot
- to re-read your partition table.
- set android_sparse flag for e2fsdroid
- #################
- mke2fs 1.43.3 (04-Sep-2016)
- mke2fs: invalid blocks '0' on device 'out/odm.PARTITION'
- compile file_contexts.bin
- create a sparse img...
- ##################
- ./build:行 97: 5813 段错误 sudo contrib/e2fsdroid -T $TIME -B out/$PART.map -S out/$SLCB -f $PART -a /$PART out/$OUT
- make: *** [build/mod.mak:62:bc-tool/stamp/.stamp.mod-partition-all] 错误 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement