Hi All,
I'm following the OTA tutorial from Android official source:
https://source.android.com/devices/tech/ota/tools
I'm getting bellow error when do OTA generation, I'm sure that I have
followed all pre-condition.
These are the commands:
make dist DIST_DIR=dist_output
./build/make/tools/releasetools/ota_from_target_files \
dist_output/tardis-target_files.zip \
ota_update.zip
Error output:
using prebuilt recovery.img from IMAGES...
Traceback (most recent call last):
File "./build/make/tools/releasetools/ota_from_target_files", line 1532,
in <module>
main(sys.argv[1:])
File "./build/make/tools/releasetools/ota_from_target_files", line 1487,
in main
WriteFullOTAPackage(input_zip, output_zip)
File "./build/make/tools/releasetools/ota_from_target_files", line 486, in
WriteFullOTAPackage
system_tgt = GetImage("system", OPTIONS.input_tmp)
File "./build/make/tools/releasetools/ota_from_target_files", line 316, in
GetImage
return sparse_img.SparseImage(path, mappath, clobbered_blocks)
File
"/home/android/fresh_android_8/build/make/tools/releasetools/sparse_img.py",
line 51, in __init__
raise ValueError("Magic should be 0xED26FF3A but is 0x%08X" % (magic,))
ValueError: Magic should be 0xED26FF3A but is 0x00000000
I will very much appreciated on your help.
Thanks and best regards,
Son Le
--
--
You received this message because you are subscribed to the "Android Building"
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en
---
You received this message because you are subscribed to the Google Groups
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-building/f7118a67-c1d6-4858-951c-d4d3122967e8%40googlegroups.com.