3
0
Fork 0
Commit Graph

11 Commits

Author SHA1 Message Date
Wolfgang Wiedmeyer afb08ef40c
releasetools: also rebuild the boot image
This ensures that the right release key is also embedded in the
recovery that is part of the boot image.

Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-02-15 01:50:45 +01:00
Wolfgang Wiedmeyer cc9124177c
releasetools: remove unused img and ota scripts
Boot and recovery are already regenerated when running the
sign_target_files_apks script, so GetBootableImage is never called in
the img and ota scripts. It wouldn't work anyway as the function
parameters have changed.

Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-02-15 01:46:18 +01:00
Wolfgang Wiedmeyer ef2a5420a7
releasetools: fix standalone recovery
Boot and recovery are already regenerated in sign_target_files_apks,
so the scripts galaxys2_img_from_target_files and
galaxys2_ota_from_target_files have no effect.
This fork of sign_target_files_apks makes sure that the standalone
recovery is rebuilt with the new ramdisk and that boot image from $OUT
is used untouched.

Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-01-29 20:16:12 +01:00
Caio Schnepper b0d7d4fa6f releasetools: resize system partition after flashing
resize2fs.static is placed in install/bin, possible to run without /system mounted.
running it will resize /system to the actual system partition size,
supporting custom pits with block-based OTAs

Change-Id: Id2c82add1f697ae3d7e5a1031f6a6d51a4ee53e0
2015-07-05 19:06:21 -03:00
Caio Schnepper 24b15d402d Update releasetools
We were using a deprecated version and with a faulty backuptool.
Use CM releasetools as much as possible

Change-Id: I19fbbcb21b20030f10161fbc798feb02b90a7c7c
2015-07-01 18:11:33 -03:00
Caio Schnepper ecc3d13410 galaxys2: initial L bringup
Change-Id: Ia356da8437917be3355eba59c1df3943bb33f905
2015-05-28 18:29:17 -03:00
Brint E. Kriebel 64bc8af31f galaxys2: Handle boot.img properly in ota script
The OTA script may be run during a signing process and will not have
OUT variables defined. Use the common methods for getting the boot.img
to match standards.

Change-Id: I4eebf58ec828f18f62176a2862e5fdbb839cb658
2014-08-13 22:49:17 +00:00
Ricardo Cerqueira dd73fc3fbb ota: Fix invocation of AppendAssertions
it now takes a dict, not the zip object

Change-Id: I14f6eb695960f05e85fe4821e6408eec0ba7a59e
2013-10-18 22:53:54 +01:00
codeworkx 21391f1eb5 common: update releasetools for mr1
Change-Id: I448b1b9c4a1333d7d8b38ab688259e1cdd2840e7
2012-11-24 07:59:18 +01:00
Andrew Dodd 7b8bae7aa4 releasetools: Fix for new backup script
Backup script no longer mounts/unmounts /system

This now needs to be done by the update-script

Forward-port this change from ICS
2012-07-25 20:34:28 -04:00
Daniel Hillenbrand 51841ab0c5 initial commit 2012-07-25 04:32:16 +02:00