sailfish uses A/B updates, which changes how updates are applied (no need
for a cache partition):
https://source.android.com/devices/tech/ota/ab_updates

- Dan

On Thu, Jun 15, 2017 at 8:43 AM Thierry GAYET <[email protected]>
wrote:

> Hi,
>
> I am building my own rom fro android 7.1.1 release r38 and i am managing
> my own OTA.
>
> My device is a Google/Pixel (sailfish).
>
> I am building my android image without any problem using the following
> commands:
>
> $ source build/envsetup.sh
> $ lunch .... (sailfish / userdebug)
> $ make update_api
> $ make droid
>
> Then i am generating my own OTA zipfile using the following commands:
>
> $ make brillo_update_payload
> $ make otapackage
>
> At the end the zip file is well generated and i can then push it on my
> update server.
>
> My update app well detect my ota update and i can download it locally into
> the /data partition
> (/data/data/com.foo.otaupdate/files/updates.172.16.9.31/dev/sailfish/test001/ota.zip)
>
> The verify step work fine using the verifyPackage() ;
> The install step generate two files (block.map and uncrypt_file) using the
> install_package(ctx, package_file) ;
> Then reboot as RECOVERY_UPDATE
>
> Finally the device reboot and switch in recovery mode but it failled 'cos
> it told me the following message : No /cache partition found
>
> After inspection, the recovery.fstab doesn't have a /cache entry maybe
> 'cos the /cache is now inside the /data one.
>
> The problem is that the /cache is mandatory for the update installation.
>
> Does anyone can tell me why my recovery failled after the reboot ?
>
> Many thanks in advance.
>
> BR
> Thierry
>
> --
> --
> 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].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to