Commit graph

561 commits

Author SHA1 Message Date
Bjoern Kerler
987956afe1 Fixes 2020-06-15 14:40:36 +02:00
Bjoern Kerler
fd301d5c6b
Merge pull request #24 from Minecrell/backup-gpt
Fix backup GPT dump in "edl.py gpt" command
2020-05-22 15:34:09 +02:00
Minecrell
b216a4f0ec Correct argument name for "edl.py gpt"
The "gpt" command actually looks for <directory> argument,
not a single <filename>.
2020-05-22 12:23:31 +02:00
Minecrell
75fc96e006 Actually dump the backup GPT, not a copy of the primary GPT partitions
The backup GPT is a copy of the primary GPT header and partition
entries in reverse order at the end of the disk.

At the moment "edl.py gpt" dumps a copy of the primary GPT partition
to "gpt_backup0.bin", so it is missing a copy of the backup GPT header.

Change the code to actually make use of the fh.get_backup_gpt() function.

Also fix the starting sector in get_backup_gpt(): header["backup_lba"]
is the sector of the GPT backup header, which comes after the copy
of the partition entries. Usually the GPT backup header should be
the last 33 sectors after last_usable_lba, so use that instead.
2020-05-22 12:17:57 +02:00
Bjoern Kerler
523c77ebd7
Merge pull request #21 from samueldr/feature/loader_name_error
Give the expected filename when loader cannot be found
2020-05-01 12:42:27 +02:00
Samuel Dionne-Riel
0dd8eb452b Give the expected filename when loader cannot be found
Otherwise, it quickly gets annoying to figure out the right filename
from the information the program outputs.

Now it's a quick copy/paste away, no more missing one character.
2020-04-30 23:15:46 -04:00
Bjoern Kerler
40e47f3eb3 Fixes 2020-03-18 21:19:50 +01:00
Bjoern Kerler
eb215e7101
Remove non-working code 2020-02-18 07:55:57 +01:00
Bjoern Kerler
fc12c059ed
Remove non-working code 2020-02-18 07:53:59 +01:00
Bjoern Kerler
db91abc8c3 Fixes 2020-02-13 14:09:53 +01:00
Bjoern Kerler
963a774b74 Minor fix 2020-02-08 00:15:28 +01:00
Bjoern Kerler
5a40c1d9e3 Minor fix 2020-02-08 00:14:18 +01:00
Bjoern Kerler
a0b38428b3 Linux/Windows fix 2020-02-07 15:13:10 +01:00
Bjoern Kerler
0a00c5de6b Windows fixes 2020-02-04 23:31:34 +01:00
Bjoern Kerler
729bbed2e0 Oppo fixes 2020-01-26 18:40:12 +01:00
Bjoern Kerler
89a8fd68b9 Oppo fix 2020-01-26 14:57:34 +01:00
Bjoern Kerler
5f5ee13a49 Display write file 2020-01-26 14:35:30 +01:00
Bjoern Kerler
0b0ebae5c7 Write fixes, init fixes and read fixes, multiple read support 2020-01-26 14:18:31 +01:00
Bjoern Kerler
6a0dd52ddc Write fixes, init fixes and read fixes, multiple read support 2020-01-26 14:15:14 +01:00
Bjoern Kerler
94971949e7 Init fixes V2 2020-01-13 19:10:26 +01:00
Bjoern Kerler
89274aa9e8 Init read fix 2020-01-11 14:25:05 +01:00
Bjoern Kerler
a9f78898b3 MSM8916 fixes 2020-01-10 12:59:01 +01:00
Bjoern Kerler
775684a62f Serial fixes 2019-12-29 17:46:40 +01:00
Bjoern Kerler
df646773cd New fixes 2019-12-17 21:13:32 +01:00
Bjoern Kerler
74387cc1e9 Changes 2019-12-17 00:39:52 +01:00
Bjoern Kerler
e3726d775a Add log to log.txt in debugmode 2019-12-16 23:32:10 +01:00
Bjoern Kerler
e93b920132 Oppo fixes 2 2019-12-16 22:26:39 +01:00
Bjoern Kerler
e87c6ba069 Oppo fixes 2019-12-16 21:56:06 +01:00
Bjoern Kerler
172888287b Oppo fixes 2019-12-16 21:54:25 +01:00
Bjoern Kerler
acdc8e8f2c Add verbose and other preps 2019-12-13 20:07:59 +01:00
Bjoern Kerler
2a2342b27c Windows vs. Linux 2019-12-08 15:02:01 +01:00
Bjoern Kerler
b4a0ed3cfd Fix loader settings 2019-12-08 14:22:33 +01:00
Bjoern Kerler
8f6c70746d Fix windows timeout issues. Fix reset command. Fix wrong XML length 2019-12-08 10:14:52 +01:00
Bjoern Kerler
e564b9786e Minor gpt fixes 2019-12-03 08:53:08 +01:00
Bjoern Kerler
b793541b4c Minor gtp fix 2019-12-03 08:46:31 +01:00
Bjoern Kerler
45acf33951 Add rawprogram xml creation and fix gpt 2019-12-02 21:00:23 +01:00
Bjoern Kerler
b403cffb47 Improve read speed and fix skip 2019-12-01 17:00:42 +01:00
Bjoern Kerler
3cd9f7693d Improve usage 2019-11-27 22:53:04 +01:00
Bjoern Kerler
94930b4e99 Add autolun and skip 2019-11-27 21:26:44 +01:00
Bjoern Kerler
bd8265c23c Add skip param 2019-11-27 20:07:10 +01:00
Bjoern Kerler
1989f23277 Fix readme 2019-11-26 21:59:41 +01:00
Bjoern Kerler
3e62bd379d Fix readme 2019-11-26 21:56:32 +01:00
Bjoern Kerler
dc1dbdd615 Fix readme 2019-11-26 21:47:49 +01:00
Bjoern Kerler
b26ddc907b New interface, diag fixes 2019-11-23 19:06:21 +01:00
Bjoern Kerler
96e68cadbf
Update edl.py 2019-11-21 21:16:43 +01:00
Bjoern Kerler
2c3329dab9 Add rl command 2019-11-20 17:16:45 +01:00
Bjoern Kerler
392193b2d8 Fixes for op6t and op7 2019-11-20 12:40:37 +01:00
Bjoern Kerler
c4d904ce35
Update README.md 2019-11-15 20:39:00 +01:00
Bjoern Kerler
1c00b8e8bc New release, more stability, more features 2019-11-15 20:30:18 +01:00
Bjoern Kerler
31d71f886c
Update firehose.py 2019-06-10 17:21:28 +02:00