Dave Chapman
|
6e7971553e
|
Add functions to read and write the AUPD (flash update) image. "--read-aupd aupd.bin" will read (and decrypt) the AUPD image, and "--write-aupd aupd.bin" will write (and encrypt) an image. Also fix a bug in the "diskmove" function which corrupted the AUPD image when a bootloader was installed. So in order to manipulate the aupd image, you need to restore a clean firmware partition, and install the bootloader with this version of ipodpatcher. Decryption functions based on the description and sample code at http://ipodlinux.org/Flash_Decryption
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14644 a1c6a512-1295-4272-9138-f99709370657
|
2007-09-08 23:27:49 +00:00 |
|
Dominik Wenger
|
ac3db33d99
|
ipodpatcher: adjust the targetname strings, so they match the names in rbutil.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14447 a1c6a512-1295-4272-9138-f99709370657
|
2007-08-24 08:10:19 +00:00 |
|
Dave Chapman
|
564d249e66
|
Detect and reject 2nd Gen Nanos when scanning for ipods, instead of failing quietly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14152 a1c6a512-1295-4272-9138-f99709370657
|
2007-08-03 02:12:32 +00:00 |
|
Dave Chapman
|
33bc6f3e3c
|
Yet more warning fixes - ipodpatcher should now be warning-free in rbutilqt
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14068 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-29 21:34:28 +00:00 |
|
Dave Chapman
|
0be3036a20
|
Fix some more warnings (these only occurred on Mac OS X, so I missed them on Linux/x86).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14067 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-29 21:25:09 +00:00 |
|
Dave Chapman
|
2cc80f502e
|
Add -W to CFLAGS in Makefile and fix the generated warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14066 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-29 21:19:14 +00:00 |
|
Dave Chapman
|
3b1119bf27
|
Fix some cosmetic bugs in error messages. These generated warnings when compiling ipodpatcher with -O2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14065 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-29 20:43:42 +00:00 |
|
Dave Chapman
|
35735c66e0
|
Initial attempt at a --convert option to convert HFS formatted ipods (Macpods) to FAT32 format. This needs testing (as well as the existing --format feature) before adding as an option in the interactive mode and fully documenting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14030 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-27 20:51:36 +00:00 |
|
Dave Chapman
|
6a20def805
|
Initial (untested apart from device detection) support for 1st/2nd gen ipods (the original ones...).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14010 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-26 20:21:11 +00:00 |
|
Dave Chapman
|
0fba85fe9e
|
Accept both 0xb and 0xc as valid partition types for an ipod FAT32 partition. Some tools (e.g. fat32format) set the type to 0xc, and the Apple bootloader doesn't appear to care.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13614 a1c6a512-1295-4272-9138-f99709370657
|
2007-06-10 22:47:51 +00:00 |
|
Dave Chapman
|
09b247fef9
|
Don't just display an error message, abort.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13594 a1c6a512-1295-4272-9138-f99709370657
|
2007-06-08 15:30:14 +00:00 |
|
Dave Chapman
|
6e314e5e98
|
Fix typo in error message - thanks to Bryan Childs for spotting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13593 a1c6a512-1295-4272-9138-f99709370657
|
2007-06-08 15:24:47 +00:00 |
|
Dave Chapman
|
bbde44506b
|
Add --write-embedded (-we) option. This replaces the Apple firmware with the bootloader embedded in ipodpatcher (equivalent to -wf bootloader-ipodxxx.ipod when using an external bootloader).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13536 a1c6a512-1295-4272-9138-f99709370657
|
2007-06-02 10:10:31 +00:00 |
|
Dave Chapman
|
4df0c77954
|
Remove the check for ipod-specific magic in the MBR (which caused problems when users repartitioned their ipods and removed that magic) and instead check that the partition layout looks like an ipod.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13469 a1c6a512-1295-4272-9138-f99709370657
|
2007-05-22 19:07:45 +00:00 |
|
Dave Chapman
|
427fff4320
|
Add -rfb option for reading the main firmware (OSOS image) as a binary file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13148 a1c6a512-1295-4272-9138-f99709370657
|
2007-04-13 23:28:20 +00:00 |
|
Dave Chapman
|
a6d68bd740
|
Changes to aid incorporation into rbutil, based on part of FS #6643 from Dominik Wenger. Move display_partinfo() function into main.c (where it belongs) and export get_parttype() function from ipodpatcher.c. Also add a targetname variable to struct ipod_t to enable bootloader URLs to be constructed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12264 a1c6a512-1295-4272-9138-f99709370657
|
2007-02-10 20:09:23 +00:00 |
|
Dave Chapman
|
955afed1b7
|
Move ipodpatcher into rbutil directory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12263 a1c6a512-1295-4272-9138-f99709370657
|
2007-02-10 19:49:43 +00:00 |
|