steadfasterX
6def07a75f
fix: wrong part_size calculation (misses 1 sector)
...
IRC excerpt:
[12-20 15:20] <steadfasterX> i have a partition: end=378879 start=377856
[12-20 15:21] <steadfasterX> so the calcluation would be 378879-377856
[12-20 15:21] <steadfasterX> which is 1023
[12-20 15:21] <steadfasterX> which can never be correct
[12-20 15:22] <steadfasterX> this is bc in the calculation it will need to include the start (or end) sector itself
[12-20 15:23] <steadfasterX> when i dump without that +1 i miss exact 512 bytes so 1 sector
2017-12-29 09:28:16 +01:00
tuxuser
87ec43709a
partitions: Read and parse info from GPT rather than executing shell commands, which is restricted on recent devices
2017-11-25 23:49:17 +01:00
steadfasterX
5af4d393a1
new: added skip-hello to partition handlers
...
skip-hello is sometimes needed / useful here.
2017-10-05 17:19:27 +02:00
Peter Wu
6aa18f3c8e
partitions.py: rename --load to --restore
...
Slightly better name.
2016-01-04 23:03:01 +01:00
Peter Wu
fe75d2108f
Compatibility with LG G4
...
According to @invisiblek, platform is gone from the LG G4 and bootdevice
also exists with the G2. So use that instead.
2015-12-29 18:26:07 +01:00
Peter Wu
f2137c1092
partitions.py: implement TRIM (--wipe)
2015-12-29 00:27:13 +01:00
Peter Wu
75091793be
partitions: fix wrong offset
...
Results in failure in write verification (not dangerous, just fails
the response check while it should succeed).
2015-12-27 11:51:32 +01:00
Peter Wu
45cd6b5ff1
partitions: show name while dumping
2015-12-27 11:46:38 +01:00
Peter Wu
7663de0d6c
partitions: allow filtering a single partition
2015-12-27 11:37:48 +01:00
Peter Wu
6f078543ca
partitions: make partition_info faster
2015-12-27 11:25:04 +01:00
Peter Wu
c8e27d445d
Allow partition lookup by label
2015-12-27 11:21:32 +01:00
Peter Wu
8f9c53b9eb
Add script to dump/write partitions
2015-12-26 23:15:25 +01:00