Commit Graph

10 Commits

Author SHA1 Message Date
nebrassy
0fc1ee2c1a twrpRepacker: override slot back after flashing
and move updating partition details to the function

Change-Id: I6f27ab1191246b6a23e625b0e3459db9024691c7
2021-11-21 03:33:59 +01:00
nebrassy
9a68408725 repacker: update partition details after switching slot
Change-Id: I9f6f396530ad40f70c02c917b01e9b8158add773
2021-11-18 18:40:57 +01:00
Captain Throwback
210ebe3d46 repacker: add root overwrite warning
Change-Id: Ica03c62a04872cb0ff4705810a0e85efde0b0b54
2021-10-05 22:33:00 +00:00
nebrassy
afb12eec15 repacker: adjust unpack command to fix compression issues
Change-Id: I027fd3bd86be858234daa82ef012254762949372
2021-09-02 10:18:49 -04:00
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