summaryrefslogtreecommitdiff
path: root/rbutil/ipodpatcher/ipodpatcher.c
AgeCommit message (Collapse)Author
2008-05-04Check for permission denied error when trying to access the player and ↵Dominik Riebeling
inform the user that raw disc access permissions are required. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17351 a1c6a512-1295-4272-9138-f99709370657
2007-09-08Add functions to read and write the AUPD (flash update) image. "--read-aupd ↵Dave Chapman
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-08-24ipodpatcher: adjust the targetname strings, so they match the names in rbutil.Dominik Wenger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14447 a1c6a512-1295-4272-9138-f99709370657
2007-08-03Detect and reject 2nd Gen Nanos when scanning for ipods, instead of failing ↵Dave Chapman
quietly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14152 a1c6a512-1295-4272-9138-f99709370657
2007-07-29Yet more warning fixes - ipodpatcher should now be warning-free in rbutilqtDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14068 a1c6a512-1295-4272-9138-f99709370657
2007-07-29Fix some more warnings (these only occurred on Mac OS X, so I missed them on ↵Dave Chapman
Linux/x86). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14067 a1c6a512-1295-4272-9138-f99709370657
2007-07-29Add -W to CFLAGS in Makefile and fix the generated warnings.Dave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14066 a1c6a512-1295-4272-9138-f99709370657
2007-07-29Fix some cosmetic bugs in error messages. These generated warnings when ↵Dave Chapman
compiling ipodpatcher with -O2. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14065 a1c6a512-1295-4272-9138-f99709370657
2007-07-27Initial attempt at a --convert option to convert HFS formatted ipods ↵Dave Chapman
(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-26Initial (untested apart from device detection) support for 1st/2nd gen ipods ↵Dave Chapman
(the original ones...). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14010 a1c6a512-1295-4272-9138-f99709370657
2007-06-10Accept both 0xb and 0xc as valid partition types for an ipod FAT32 ↵Dave Chapman
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-08Don't just display an error message, abort.Dave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13594 a1c6a512-1295-4272-9138-f99709370657
2007-06-08Fix typo in error message - thanks to Bryan Childs for spottingDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13593 a1c6a512-1295-4272-9138-f99709370657
2007-06-02Add --write-embedded (-we) option. This replaces the Apple firmware with ↵Dave Chapman
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-05-22Remove the check for ipod-specific magic in the MBR (which caused problems ↵Dave Chapman
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-04-13Add -rfb option for reading the main firmware (OSOS image) as a binary file.Dave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13148 a1c6a512-1295-4272-9138-f99709370657
2007-02-10Changes to aid incorporation into rbutil, based on part of FS #6643 from ↵Dave Chapman
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-10Move ipodpatcher into rbutil directoryDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12263 a1c6a512-1295-4272-9138-f99709370657