Commit Graph

6 Commits

Author SHA1 Message Date
nebrassy
ac29e691d8 Add an option to one click flash current booted TWRP ramdisk
Change-Id: I12303696698a5feaa43401bcac9e30d5b3b99a0c
2021-08-09 23:05:14 +00:00
bigbiff
d1e556a9a2 repack: fix bad rebase
Change-Id: Ic266b48e0a94c18dfc942e1214b38e6a0f2e8100
2021-08-07 14:34:06 -04:00
nebrassy
7378254120 repack: correctly recompress ramdisk to the format of boot image
Change-Id: I90df3d2f63eb82a185d9af0d68e61c955cee9403
2021-08-07 17:56:57 +00:00
bigbiff
74a46278c3 repacker: override slot for flashing images instead of using bootctrl
Bootctrl is being unreliable during repacking. This overrides the slot
while repacking recovery in boot.

Change-Id: I0a04357af4e5f24591792bcfb27ccbd10b0a813b
2021-08-07 17:56:19 +00:00
nebrassy
45f66b2c58 Repacker: refresh sizes before backing up boot
Change-Id: I001295739cb71fdbfc3c3bfe5cc150dc5215867c
2021-07-26 23:13:51 +00:00
bigbiff
ad58e1bfae repack: move sbin to /system ramdisk and update repacking
for android-10

This will support updating the ramdisk to a different
compression format and co-exist with magisk.

We are also cleaning up and removing non android-10
api makefile actions.

We are also moving twrp repacking to its own class. We
check the new ramdisk format and if it's different
we have magisk compress using the new ramdisk format.

Change-Id: I770030aae7797e75817178b2f0fccd9f39dc23af
2020-09-08 10:08:33 -04:00