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