summaryrefslogtreecommitdiffstats
path: root/rbutil/ipodpatcher
AgeCommit message (Collapse)AuthorFilesLines
2008-10-10Bump ipodpatcher version stringNils Wallménius1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18763 a1c6a512-1295-4272-9138-f99709370657
2008-08-30Apply FS#9337 - Header file in SRC in rbutil/ipodpatcher. The parttypes.h ↵Bertrik Sikken1-1/+1
header file apparently breaks compilation on some systems and is already #included in ipodpatcher.c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18364 a1c6a512-1295-4272-9138-f99709370657
2008-06-30When scanning for Ipod / Sansa close the disc handle of every tried disc, ↵Dominik Riebeling1-0/+5
not only for successful checks. Fixes "no Sansa found" issues with rbutil on w32 after autodetection was used. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17893 a1c6a512-1295-4272-9138-f99709370657
2008-06-28Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg8-16/+32
later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2008-06-17Rename variables sectorbuf and verbose to avoid clashes in rbutil. Cleanup ↵Dominik Riebeling4-103/+102
exports a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17730 a1c6a512-1295-4272-9138-f99709370657
2008-05-22Move C linkage binding for c++ to exporting header files instead of includes.Dominik Riebeling1-0/+8
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17609 a1c6a512-1295-4272-9138-f99709370657
2008-05-05Fix a couple quirks from the previous commit.Nicolas Pennequin1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17370 a1c6a512-1295-4272-9138-f99709370657
2008-05-05Convert the whole codebase to UTF-8, except docs/COMMITTERS and ↵Nicolas Pennequin1-1/+1
tools/creative.c, which need checking. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17369 a1c6a512-1295-4272-9138-f99709370657
2008-05-04Check for permission denied error when trying to access the player and ↵Dominik Riebeling3-4/+24
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
2008-03-25Make sansapatcher and ipodpatcher compile on OS X 10.5.Barry Wardell1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16804 a1c6a512-1295-4272-9138-f99709370657
2008-01-06allow building ipodpatcher / sansapatcher with MinGW.Dominik Riebeling1-0/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16003 a1c6a512-1295-4272-9138-f99709370657
2007-11-06Hopefully fix Ipod bootloader installation on Windows with RbUtilQt, without ↵rbutilqt_v1.0.3Magnus Holmgren1-2/+2
breaking ipodpatcher. I don't have any Ipod to test with, but the change is easy to revert. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15498 a1c6a512-1295-4272-9138-f99709370657
2007-09-21Forgot to adapate 'make clean'Jens Arnold1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14797 a1c6a512-1295-4272-9138-f99709370657
2007-09-21Add a manifest to ipodpatcher.exe in order to make it request administrative ↵Jens Arnold3-2/+20
rights on windows vista. This will cause a separate cmd window to pop up. The proper solution will be to implement a check for administrative rights in the executable, and tell the user to start from an elevated command prompt if not. This solution will still need a (changed) manifest. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14796 a1c6a512-1295-4272-9138-f99709370657
2007-09-18Bump version to 2.0 ready for releasebootloader_ipods_v2Dave Chapman1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14744 a1c6a512-1295-4272-9138-f99709370657
2007-09-08Add functions to read and write the AUPD (flash update) image. "--read-aupd ↵Dave Chapman6-3/+537
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-01Mac OS X only - automatically unmount the FAT32 partition before attempting ↵Dave Chapman1-0/+24
to open the disk device for writing. This step can be removed from the manual when the next ipodpatcher version is released. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14569 a1c6a512-1295-4272-9138-f99709370657
2007-08-24ipodpatcher: adjust the targetname strings, so they match the names in rbutil.Dominik Wenger1-2/+2
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 Chapman2-2/+31
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 Chapman1-2/+8
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 Chapman1-3/+3
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 Chapman6-28/+29
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 Chapman1-6/+5
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 Chapman4-9/+102
(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 Chapman2-2/+16
(the original ones...). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14010 a1c6a512-1295-4272-9138-f99709370657
2007-06-16Initial integration of a --format option, based on fat32format.exe. The ↵Dave Chapman6-15/+617
main limitation is that it only works on disks with 512-byte sectors - it needs adapting to the 2048-byte sector ipods. It has only been tested on Linux and Mac OS X, with a 60GB ipod Color, but appears to work.... When this feature has been more widely tested, the intention is to add code to convert the information in an Apple Partition Map (which can currently be read by ipodpatcher) to a DOS partition table, and hence allow conversion of Macpods to Winpods. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13643 a1c6a512-1295-4272-9138-f99709370657
2007-06-10Accept both 0xb and 0xc as valid partition types for an ipod FAT32 ↵Dave Chapman1-2/+3
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 Chapman1-0/+1
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 Chapman1-1/+1
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 Chapman2-34/+66
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-23Bump version number for 1.0 release (v1.1 bootloaders)Dave Chapman1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13482 a1c6a512-1295-4272-9138-f99709370657
2007-05-22Remove the check for ipod-specific magic in the MBR (which caused problems ↵Dave Chapman2-7/+11
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 Chapman3-13/+26
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13148 a1c6a512-1295-4272-9138-f99709370657
2007-03-06Bump version to 0.9 ready for release with version 1.0 bootloaders, and add ↵Dave Chapman1-3/+14
an uninstall option to the interactive mode git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12645 a1c6a512-1295-4272-9138-f99709370657
2007-03-03Use O_BINARY flag when opening bootloader files for embeddingDave Chapman1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12567 a1c6a512-1295-4272-9138-f99709370657
2007-03-03Add ipodpatcher-mac target for creating a Mac OS X universal binaryDave Chapman1-1/+12
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12566 a1c6a512-1295-4272-9138-f99709370657
2007-03-02Correct the usage informationDave Chapman1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12544 a1c6a512-1295-4272-9138-f99709370657
2007-02-16Add #include for use with rbutilDave Chapman1-0/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12339 a1c6a512-1295-4272-9138-f99709370657
2007-02-10Changes to aid incorporation into rbutil, based on part of FS #6643 from ↵Dave Chapman4-20/+30
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 Chapman9-0/+2444
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12263 a1c6a512-1295-4272-9138-f99709370657