首頁(yè) 收藏 QQ群
 網(wǎng)站導(dǎo)航

ZNDS智能電視網(wǎng) 推薦當(dāng)貝市場(chǎng)

TV應(yīng)用下載 / 資源分享區(qū)

軟件下載 | 游戲 | 討論 | 電視計(jì)算器

綜合交流 / 評(píng)測(cè) / 活動(dòng)區(qū)

交流區(qū) | 測(cè)硬件 | 網(wǎng)站活動(dòng) | Z幣中心

新手入門 / 進(jìn)階 / 社區(qū)互助

新手 | 你問(wèn)我答 | 免費(fèi)刷機(jī)救磚 | ROM固件

樓主: gezilaozhang
上一主題 下一主題
[分享]

大神教你:怎么定制自己的斐訊T1/N1專屬固件

  [復(fù)制鏈接]
151#
發(fā)表于 2021-11-21 16:16 | 只看該作者 | 來(lái)自湖南
152#
發(fā)表于 2021-12-8 10:55 | 只看該作者 | 來(lái)自河北
6666666666666
153#
發(fā)表于 2021-12-19 15:12 | 只看該作者 | 來(lái)自吉林
大神教你:怎么定制自己的斐訊T1/N1專屬固件
154#
發(fā)表于 2023-9-11 22:17 | 只看該作者 | 來(lái)自湖北
whfweb@DELL-M4800:~/linux-amlogic-toolkit$ ./bin/build
umount: output/system: not mounted.
make: Entering directory '/home/whfweb/linux-amlogic-toolkit/bin/src/simg2img'
rm -f -f *.o *.a simg2img simg2simg img2simg append2simg .depend
make: Leaving directory '/home/whfweb/linux-amlogic-toolkit/bin/src/simg2img'
make: Entering directory '/home/whfweb/linux-amlogic-toolkit/bin/src/abootimg'
rm -f abootimg *.o version.h
make: Leaving directory '/home/whfweb/linux-amlogic-toolkit/bin/src/abootimg'
Cleanup done
make: Entering directory '/home/whfweb/linux-amlogic-toolkit/bin/src/simg2img'
cc -c -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -Iinclude backed_block.c -o backed_block.o
cc -c -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -Iinclude output_file.c -o output_file.o
cc -c -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -Iinclude sparse.c -o sparse.o
cc -c -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -Iinclude sparse_crc32.c -o sparse_crc32.o
cc -c -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -Iinclude sparse_err.c -o sparse_err.o
cc -c -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -Iinclude sparse_read.c -o sparse_read.o
ar rc libsparse.a backed_block.o output_file.o sparse.o sparse_crc32.o sparse_err.o sparse_read.o
ranlib libsparse.a
cc -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -Iinclude -o simg2img simg2img.c -L. -lsparse -lm -lz
cc -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -Iinclude -o simg2simg simg2simg.c -L. -lsparse -lm -lz
cc -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -Iinclude -o img2simg img2simg.c -L. -lsparse -lm -lz
cc -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -Iinclude -o append2simg append2simg.c -L. -lsparse -lm -lz
make: Leaving directory '/home/whfweb/linux-amlogic-toolkit/bin/src/simg2img'
make: Entering directory '/home/whfweb/linux-amlogic-toolkit/bin/src/abootimg'
fatal: No names found, cannot describe anything.
if [ ! -f version.h ]; then \
if [ -d .git ]; then \
echo '#define VERSION_STR ""' > version.h; \
else \
echo '#define VERSION_STR ""' > version.h; \
fi \
fi
cc -O3 -Wall -DHAS_BLKID  -c -o abootimg.o abootimg.c
abootimg.c: In function ‘write_bootimg’:
abootimg.c:696:3: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  696 |   ftruncate (fileno(img->stream), img->size);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc   abootimg.o  -lblkid -o abootimg
make: Leaving directory '/home/whfweb/linux-amlogic-toolkit/bin/src/abootimg'
Build done
whfweb@DELL-M4800:~/linux-amlogic-toolkit$ ./bin/unpack input.img
Cleaning up...
umount: output/system: not mounted.
Unpacking image input.img...
./bin/unpack: 18: bin/aml_image_v2_packer: Exec format error
Converting system.PARTITION to system.img...
Cannot open input file output/image/system.PARTITION
Mounting system image...
mount: output/system: mount failed: Operation not permitted.
Unpacking logo...
./bin/unpack: 27: bin/logo_img_packer: Exec format error
Unpacking boot...
cp: cannot stat 'output/image/boot.PARTITION': No such file or directory
boot.img: No such file or directory
Done


解包不成功,不知道是什么原因

本版積分規(guī)則

Archiver|新帖|標(biāo)簽|軟件|Sitemap|ZNDS智能電視網(wǎng) ( 蘇ICP備2023012627號(hào) )

網(wǎng)絡(luò)信息服務(wù)信用承諾書 | 增值電信業(yè)務(wù)經(jīng)營(yíng)許可證:蘇B2-20221768 丨 蘇公網(wǎng)安備 32011402011373號(hào)

GMT+8, 2024-9-22 04:26 , Processed in 0.053259 second(s), 11 queries , Redis On.

Powered by Discuz!

監(jiān)督舉報(bào):report#znds.com (請(qǐng)將#替換為@)

© 2007-2024 ZNDS.Com

快速回復(fù) 返回頂部 返回列表