Commit Graph

10 Commits

Author SHA1 Message Date
Tom Marshall cfbf436bff Improve read-only partition logic
Not all QCOM devices have a pad partition, so instead use a list of
known firmware partition names.
2015-06-12 09:10:04 -07:00
Tom Marshall ed9ef484c6 Add help 2015-04-18 09:44:57 -07:00
Tom Marshall 492cd21d0f NFC: Rearrange code a bit
* Consolidate Android code after main code.

* Move save before load.
2015-04-18 09:44:57 -07:00
Tom Marshall 9df07a3ec1 Don't keep copy of backup header
The primary and backup headers may be fully reconstructed from each other
(this is the purpose of having a backup header in the first place).  So
there is no point in saving a copy of the backup header.
2015-04-18 09:44:57 -07:00
Tom Marshall 58c4e79708 Re-read the partition table before and after write
Note we re-read before save to ensure that the block device is not in use.
2015-04-18 09:44:57 -07:00
Tom Marshall f30f09a42f Don't hold device open, open and close it for each operation 2015-04-18 09:44:55 -07:00
Tom Marshall 9ce6a65e97 Android: Declare both static and dynamic executables 2015-04-15 22:19:28 -07:00
Tom Marshall 0e0428c0e5 Add a gitignore 2015-04-15 22:18:59 -07:00
Tom Marshall ea8b02d230 Initial checkin 2015-04-13 16:11:50 -07:00
Tom Marshall 2ccb532c7c initial commit 2015-04-13 16:07:26 -07:00