Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The ota.zip is a incompatible ota package #41

Open
tmc9031 opened this issue Jan 2, 2019 · 0 comments
Open

The ota.zip is a incompatible ota package #41

tmc9031 opened this issue Jan 2, 2019 · 0 comments

Comments

@tmc9031
Copy link

tmc9031 commented Jan 2, 2019

没有连接手机,把ota.zip放在devices目录的demo下, 执行 flyme config 出错,看逻辑要找到system的目录,但是nexus5x的官方ota.zip解压的文件里根本没有system目录
https://dl.google.com/dl/android/aosp/bullhead-ota-n2g48c-b90e4a00.zip
难道不是执行 flyme config 的过程中工具自动解压system.new.dat,而是要先自己手动解压吗?如何解压?

$ flyme config
>>> config
>>> Device is not online, but ota.zip is exist.
>>> Config Makefile from /home/ubuntu/ext/repo/FlymeOS/patchrom/devices/demo/ota.zip.
>>> Unzip /home/ubuntu/ext/repo/FlymeOS/patchrom/devices/demo/ota.zip ...
>>> Can not find /home/ubuntu/ext/repo/FlymeOS/patchrom/devices/demo/out/ota/system/ or /home/ubuntu/ext/repo/FlymeOS/patchrom/devices/demo/out/ota/META-INF.
>>> Check whether /home/ubuntu/ext/repo/FlymeOS/patchrom/devices/demo/ota.zip is a ota package.

ERR_OTA_INCOMPATIBLE: The ota.zip is a incompatible ota package.
Check whether META-INF and system directory are in ota.zip

<<< config failed
$ ll demo/out/ota/
total 3046704
drwxrwxr-x 3 ubuntu ubuntu       4096 1月   2 16:49 ./
drwxrwxr-x 3 ubuntu ubuntu       4096 1月   2 16:48 ../
-rw-rw-r-- 1 ubuntu ubuntu   12334310 1月   1  2009 boot.img
-rw-rw-r-- 1 ubuntu ubuntu     780708 1月   1  2009 bootloader.aboot.img
-rw-rw-r-- 1 ubuntu ubuntu     168408 1月   1  2009 bootloader.cmnlib.img
-rw-rw-r-- 1 ubuntu ubuntu         32 1月   1  2009 bootloader-flag-clear.txt
-rw-rw-r-- 1 ubuntu ubuntu         32 1月   1  2009 bootloader-flag.txt
-rw-rw-r-- 1 ubuntu ubuntu      94520 1月   1  2009 bootloader.hyp.img
-rw-rw-r-- 1 ubuntu ubuntu    2107904 1月   1  2009 bootloader.imgdata.img
-rw-rw-r-- 1 ubuntu ubuntu     151052 1月   1  2009 bootloader.keymaster.img
-rw-rw-r-- 1 ubuntu ubuntu      37736 1月   1  2009 bootloader.pmic.img
-rw-rw-r-- 1 ubuntu ubuntu     191536 1月   1  2009 bootloader.rpm.img
-rw-rw-r-- 1 ubuntu ubuntu     583008 1月   1  2009 bootloader.sbl1.img
-rw-rw-r-- 1 ubuntu ubuntu      33176 1月   1  2009 bootloader.sdi.img
-rw-rw-r-- 1 ubuntu ubuntu        436 1月   1  2009 bootloader.sec.img
-rw-rw-r-- 1 ubuntu ubuntu     577740 1月   1  2009 bootloader.tz.img
-rw-rw-r-- 1 ubuntu ubuntu     109367 1月   1  2009 file_contexts.bin
drwxrwxr-x 3 ubuntu ubuntu       4096 1月   2 16:48 META-INF/
-rw-rw-r-- 1 ubuntu ubuntu   57989632 1月   1  2009 radio.img
-rw-rw-r-- 1 ubuntu ubuntu 2840977408 1月   1  2009 system.new.dat
-rw-rw-r-- 1 ubuntu ubuntu          0 1月   1  2009 system.patch.dat
-rw-rw-r-- 1 ubuntu ubuntu      77212 1月   1  2009 system.transfer.list
-rw-rw-r-- 1 ubuntu ubuntu  203538432 1月   1  2009 vendor.new.dat
-rw-rw-r-- 1 ubuntu ubuntu          0 1月   1  2009 vendor.patch.dat
-rw-rw-r-- 1 ubuntu ubuntu      11621 1月   1  2009 vendor.transfer.list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant