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

Found partitions, but not creat correct file #26

Open
skysumbra opened this issue Jan 7, 2022 · 4 comments
Open

Found partitions, but not creat correct file #26

skysumbra opened this issue Jan 7, 2022 · 4 comments

Comments

@skysumbra
Copy link

skysumbra commented Jan 7, 2022

sample https://mobile-ota-cdn.lenovo.com/firmware/2021123013411302-9111.zip
please download and unzip obtain payload.bin file

  • OS:
    linux x64
  • go version:ersion
    go1.17.6 linux/amd64
  • step
    ./payload-dumper-go payload.bin
  • observed result
    terminal info a moment as follows, all file 0 size in output folder

payload.bin: payload.bin
Payload Version: 2
Payload Manifest Length: 524712
Payload Manifest Signature Length: 267
Found partitions:
abl (274 kB), aop (180 kB), bluetooth (225 kB), boot (101 MB), core_nhlos (109 MB), devcfg (45 kB), dsp (67 MB), dtbo (8.4 MB), featenabler (90 kB), hyp (406 kB), imagefv (537 kB), keymaster (246 kB), modem (145 MB), multiimgoem (16 kB), odm (1.0 MB), product (479 MB), qupfw (57 kB), recovery (101 MB), system (3.7 GB), system_ext (261 MB), tz (3.0 MB), uefisecapp (127 kB), vbmeta (8.2 kB), vbmeta_system (4.1 kB), vendor (650 MB), xbl (3.5 MB), xbl_config (98 kB)
Number of workers: 4
abl (274 kB) [=======================================================================================] 100 %
aop (180 kB) [=======================================================================================] 100 %
bluetooth (225 kB) [=======================================================================================] 100 %
boot (101 MB) [=======================================================================================] 100 %
core_nhlos (109 MB) [=======================================================================================] 100 %
devcfg (45 kB) [=======================================================================================] 100 %
dtbo (8.4 MB) [=======================================================================================] 100 %
dsp (67 MB) [=======================================================================================] 100 %
featenabler (90 kB) [=======================================================================================] 100 %
hyp (406 kB) [=======================================================================================] 100 %
imagefv (537 kB) [=======================================================================================] 100 %
keymaster (246 kB) [=======================================================================================] 100 %
modem (145 MB) [=======================================================================================] 100 %
multiimgoem (16 kB) [=======================================================================================] 100 %
odm (1.0 MB) [=======================================================================================] 100 %
product (479 MB) [=======================================================================================] 100 %
qupfw (57 kB) [=======================================================================================] 100 %
recovery (101 MB) [=======================================================================================] 100 %
system (3.7 GB) [=======================================================================================] 100 %
system_ext (261 MB) [=======================================================================================] 100 %
tz (3.0 MB) [=======================================================================================] 100 %
uefisecapp (127 kB) [=======================================================================================] 100 %
vbmeta (8.2 kB) [=======================================================================================] 100 %
vbmeta_system (4.1 kB) [=======================================================================================] 100 %
vendor (650 MB) [=======================================================================================] 100 %
xbl (3.5 MB) [=======================================================================================] 100 %

@macauwaterball
Copy link

me too.....
OS : WIN10
OS: Ubuntu 20.04
How to solve it?

@osm0sis
Copy link
Contributor

osm0sis commented Feb 22, 2023

@ssut I tried the above file on Android with the arm build and it shows more of an actual error:

:/sdcard/Download # payload-dumper-go 2021123013411302-9111.zip
Please wait while extracting payload.bin from the archive.
payload.bin: payload_528650171.bin
Payload Version: 2
Payload Manifest Length: 524712
Payload Manifest Signature Length: 267
Found partitions:
abl (274 kB), aop (180 kB), bluetooth (225 kB), boot (101 MB), core_nhlos (109 MB), devcfg (45 kB), dsp (67 MB), dtbo (8.4 MB), featenabler (90 kB), hyp (406 kB), imagefv (537 kB), keymaster (246 kB), modem (145 MB), multiimgoem (16 kB), odm (1.0 MB), product (479 MB), qupfw (57 kB), recovery (101 MB), system (3.7 GB), system_ext (261 MB), tz (3.0 MB), uefisecapp (127 kB), vbmeta (8.2 kB), vbmeta_system (4.1 kB), vendor (650 MB), xbl (3.5 MB), xbl_config (98 kB)
Number of workers: 4
Unhandled operation type: SOURCE_COPY
Unhandled operation type: SOURCE_COPY
abl (274 kB)        [=============================] 100 %
abl (274 kB)        [=============================] 100 %
bluetooth (225 kB)  [=============================] 100 %
aop (180 kB)        [=============================] 100 %
abl (274 kB)         [============================] 100 %
abl (274 kB)         [============================] 100 %
abl (274 kB)         [============================] 100 %
abl (274 kB)         [============================] 100 %
abl (274 kB)         [============================] 100 %
abl (274 kB)         [============================] 100 %
bluetooth (225 kB)   [============================] 100 %
abl (274 kB)         [============================] 100 %
abl (274 kB)         [============================] 100 %
bluetooth (225 kB)   [============================] 100 %
abl (274 kB)         [============================] 100 %
bluetooth (225 kB)   [============================] 100 %
abl (274 kB)         [============================] 100 %
bluetooth (225 kB)   [============================] 100 %
abl (274 kB)         [============================] 100 %
abl (274 kB)         [============================] 100 %
bluetooth (225 kB)   [============================] 100 %
aop (180 kB)         [============================] 100 %
abl (274 kB)            [=========================] 100 %
bluetooth (225 kB)      [=========================] 100 %
abl (274 kB)            [=========================] 100 %
bluetooth (225 kB)      [=========================] 100 %
aop (180 kB)            [=========================] 100 %
core_nhlos (109 MB)     [=========================] 100 %
boot (101 MB)           [=========================] 100 %
devcfg (45 kB)          [=========================] 100 %
dsp (67 MB)             [=========================] 100 %
dtbo (8.4 MB)           [=========================] 100 %
featenabler (90 kB)     [=========================] 100 %
keymaster (246 kB)      [=========================] 100 %
hyp (406 kB)            [=========================] 100 %
imagefv (537 kB)        [=========================] 100 %
modem (145 MB)          [=========================] 100 %
product (479 MB)        [=========================] 100 %
multiimgoem (16 kB)     [=========================] 100 %
odm (1.0 MB)            [=========================] 100 %
qupfw (57 kB)           [=========================] 100 %
recovery (101 MB)       [=========================] 100 %
system (3.7 GB)         [=========================] 100 %
system_ext (261 MB)     [=========================] 100 %
tz (3.0 MB)             [=========================] 100 %
uefisecapp (127 kB)     [=========================] 100 %
vbmeta_system (4.1 kB)  [=========================] 100 %
vbmeta (8.2 kB)         [=========================] 100 %
vendor (650 MB)         [=========================] 100 %
xbl (3.5 MB)            [=========================] 100 %
Unhandled operation type: SOURCE_COPY
:/sdcard/Download #

Plus all the weirdly duplicated items in the extraction list... 🤔

@YsMiliter
Copy link

me tooooo. All partitions are correctly identified, but the output file is all 0KB, except for the system partition, which is 8KB in size.
OS:Win10
release:1.2.2
How to solve it?

@crazystylus
Copy link

Hi @skysumbra ,
payload-dumper-go doesn't support incremental OTA and I have verified that the zip file is for incremental OTA.
Please use a Full OTA file instead.

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

5 participants