Try make otapackage ?
On Fri, Jul 6, 2012 at 11:44 AM, Shiba <
aki...@gmail.com> wrote:
> All,
>
> I'm attempting to generate an OTA-compatible update ZIP, targeting the
> Galaxy Nexus. After extracting the vendor's proprietary binaries, here is
> what I've done:
>
> export PATH="${HOME}/Downloads/jdk1.6.0_33/bin:${PATH}"
> repo init -u
https://android.googlesource.com/platform/manifest -b
> android-4.0.4_r2.1
> repo sync
> . build/envsetup.sh
> lunch full_maguro-userdebug
> make -j8 dist
>
> After checking the build tool versions, it displays a warning: "No private
> recovery resources for TARGET_DEVICE maguro". However, the build continues
> and appears to successfully generate the desired zip archives. I then try
> to generate an OTA update package using sign_target_files_apks, but it fails
> with the following error: "can't find recovery API version in input
> target-files". Looking through core/Makefile, it appears that these two
> events are related; the following line is observed:
>
> echo "$(PRIVATE_RECOVERY_API_VERSION)" >
> $(zip_root)/META/recovery-api-version.txt.
>
> It appears that sign_target_files_apks requires this file,
> recovery-api-version.txt, but it is not being generated by "make dist".
> I've tried looking through a mirror of the PDK, which was taken offline by
> Google, here, but it looks like it is outdated:
>
>
http://www.kandroid.org/online-pdk/guide/release_keys.html
>
> I would sincerely appreciate it if someone could enlighten me as to how this
> process is done properly, or point me to whatever updated documentation
> replaces the PDK.
>
> TIA,
>
> Mike
>
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to
android-...@googlegroups.com
> To unsubscribe from this group, send email to
>
android-buildi...@googlegroups.com
> For more options, visit this group at
>
http://groups.google.com/group/android-building?hl=en