Commit Graph
20 Commits
Author SHA1 Message Date
osm0sis 7d9d56d453 AK2: make backup only backup when needing backup 2017-02-02 18:26:39 -04:00
osm0sis b6d48eed5e AK2: add MTD device support and dd wiping
- add built-in support for mtd-utils (nanddump, flash_erase, nandwrite) for MTD-based Android devices that do not work with dd
- wipe boot block with dd before write to be clean/safe (SuperSU zip also does this)

Known working mtd-utils ARM binaries can be found in my FlashIt v2.5 package:
https://forum.xda-developers.com/showthread.php?t=2239421
2017-02-02 15:52:09 -04:00
osm0sis a531fff38b AK2: add ELF support (repacks as boot.img for unlocked bootloaders)
- add built-in support for unpackelf for Sony ELF devices (see: https://github.com/osm0sis/unpackelf)
- kernel section is not gzipped on ELF devices with non-QCDT/non-ELF dtb, which needs compression and the dtb appended before it can be repacked (thanks @tobiaswaldvogel)
2017-02-02 15:01:59 -04:00
osm0sis 6fa951efa1 AK2: simplify zImage checks and expand to cover Image.gz, etc. 2017-02-02 14:03:12 -04:00
osm0sis 846f9d5f25 tools: update to latest builds, including busybox (1.26.2)
Compiled from my own updated forks:
https://github.com/osm0sis/mkbootimg
https://github.com/osm0sis/android-busybox-ndk

ARM binaries; see AIK-mobile v2.5 for other architectures and optional binaries:
https://forum.xda-developers.com/showthread.php?t=2073775
2017-02-02 13:37:47 -04:00
osm0sis c13647eb2e AK2: add MTK support, insert_line fix
- add built-in support for mkmtkhdr for mtk devices (see: https://github.com/osm0sis/mkmtkhdr)
- fix insert_line when inserting after the last line
2017-01-04 02:08:43 -04:00
osm0sis 5bde2c094a AK2: split functions into ak2-core to make syncing easier for devs going forward 2016-11-30 23:45:28 -04:00
osm0sis edf85e5599 tools: update to latest builds, including patched busybox (1.25.1)
Compiled from my own updated forks:
https://github.com/osm0sis/mkbootimg
https://github.com/osm0sis/android-busybox-ndk

Added upstream patches:
https://git.busybox.net/busybox/patch/?id=85100a7067a51c5e6720c0a738317cc2144ab219
https://git.busybox.net/busybox/patch/?id=69312e87b008363575a6d6603f54f94d8150e1cc
2016-11-24 09:24:28 -04:00
osm0sis fc41148d62 tools: update busybox to latest version and official patches (1.24.2) 2016-03-30 23:35:30 -03:00
osm0sis a5bb583af5 tools: update busybox to latest patched build to fix df, etc.
Compiled from my own updated fork:
https://github.com/osm0sis/android-busybox-ndk
2016-03-16 13:55:26 -03:00
osm0sis d05847d1ec tools: update to latest builds, including latest busybox patches
Compiled from my own updated forks:
https://github.com/osm0sis/mkbootimg
https://github.com/osm0sis/android-busybox-ndk
2016-02-05 17:13:46 -04:00
osm0sis c79016cd39 Backend: workaround toybox inclusion in Cyanogen Recovery
- add busybox to the zip to provide a uniform expected environment
- set up busybox symlinks in /tmp and execute anykernel.sh from a shell created with these at the front of the path, overriding the recovery applets
2016-01-24 13:31:55 -04:00
osm0sis 5112f2e4ae AnyKernel2: various fixes, new features
- fix insert_line to perform more as expected by adding a newline automatically
- add updated arm mkbootimg+unpackbootimg binaries from my AIK Build Farm, see my repos for changes
- rewrite backend to use proper exit codes from anykernel.sh now that it is shell
- fix ui_print and specific error messages by passing the outfd to anykernel.sh from the backend
- add error messages for unpacking and repacking ramdisk, and make resulting image size check into its own error message
- fix for cpio overwriting AK2 ramdisk files on some recoveries by using a tmp directory
- add further ramdisk unpack verification by checking that there are actually files in the ramdisk directory prior to moving the tmp files back
- add insert_file function to make multi-line additions easier
- add patch_fstab function to greatly simplify mount option/flag changes (thanks @Khaon for the idea)
2015-11-17 11:05:58 -04:00
osm0sis dc43d6cde5 mkbootimg+unpackbootimg: new optimized and stripped static compiles
Compiled from my own updated fork: https://github.com/osm0sis/mkbootimg
2014-07-04 08:16:29 -03:00
osm0sis 1d9aa42aea unpackbootimg: updated compile 2014-06-14 03:40:06 -03:00
osm0sis 331da1f79e mkbootimg+unpackbootimg: update to latest builds with board support
Compiled from my own updated fork: https://github.com/osm0sis/mkbootimg
2014-06-09 02:29:46 -03:00
osm0sis 18a10def08 tools: use static compiles to fix seg faults on some devices 2014-05-20 02:26:39 -03:00
osm0sis 1f39fe6083 mkbootimg+unpackbootimg: update to latest builds with support for all available offsets, second and dtb.
Compiled from my own updated fork: https://github.com/osm0sis/mkbootimg
2014-03-25 20:00:18 -03:00
osm0sis ad031d587e AnyKernel 2.0: allow for ramdisk modifications 2014-02-28 21:50:22 -04:00
osm0sis 8ea8b14eb7 initial commit: clean up repo, prep for changes 2014-02-28 21:40:19 -04:00