Version: 0.32 (32)
arm + x86
Package: eu.chainfire.flash
3,886 downloads
10.27 MB (10,766,752 bytes)
Min: Android 4.2 (Jelly Bean MR1, API 17)
Target: Android 5.0 (Lollipop, API 21)
nodpi
7c6cbeeb56cea332d443aa7f0261c5d3
Uploaded April 20, 2016 at 3:40PM UTC by ja_som
Download APK
There's a newer version available below!

Whoa there!

It looks like you're using an ad blocker, so you'll have to wait 15 more seconds.
Please whitelist this site to skip the wait and help us pay for bandwidth, hosting, and other bills.

FlashFire v0.32: Fastboot flashable backups

The major new feature of today's FlashFire update is the ability to create backups that can be flashed back to the device with fastboot. This will allow you to restore your phone from your computer without booting Android or even a custom recovery. This is a new and experimental feature, and as such there are a number of ifs, buts, snags, and caveats.

Only the main Android-related partitions are able to be backed up: boot, recovery, system, vendor, oem, userdata (including internal storage), and cache. Radio/modem partitions need some further investigation and testing, while bootloader (and other not mentioned) partitions will probably never be supported.

As the userdata partition generally contains both /data and internal storage, you should be aware that if you choose not to backup internal storage, restoring the userdata partition through fastboot will leave you with an empty internal storage.

As with backing up the internal storage normally in FlashFire, backups and other files from FlashFire, TWRP, CWM and MultiROM are skipped.

The backup of userdata is currently always in unencrypted ext4 format (even if you are currently running encrypted f2fs). If you restore it, you will end up with an unencrypted ext4 device - a pro for some, a con for others. You need to be aware that stock Marshmallow+ kernels may refuse to work with an unencrypted userdata partition. A SuperSU-patched boot image should work fine though, and chances are, that is included in your backup. Both encryption and f2fs support are under investigation for future versions.

Fastboot backups are truly meant to be restored from your PC using fastboot. While you can 'install' the backup ZIP file using the '_Flash firmware package_' option, that currently does not support flashing the userdata partition, which is usually the most important partition to backup/restore. There may be support for this in the future, though.

The backup itself is a ZIP file containing partition chunks (similar to Motorola's sparsechunk format) and a flash-all.bat file to perform the restore. The commands in that batch file should also work on Linux and OSX, but regardless of platform, the fastboot command needs to be on the PATH, and support the -u switch (which all recent Android SDK versions do). Obviously, your bootloader also needs to be unlocked for the flash to work.

Last but not least, this feature has only been tested with a handful of devices, while there are a great many devices out there that support fastboot. It might not work well or at all for your device.

Other noteworthy changes
When flashing a ZIP or OTA, there is now the option to '_Preserve recovery_'. This will backup your current recovery image before starting the action, and restore it afterwards. This option is automatically enabled if FlashFire detects you have TWRP or another custom recovery installed. With this feature enabled, you can have TWRP survive an OTA flash, even if FlashFire restores the stock boot and recovery to let that OTA succeed.

A pretty severe issue with SurfaceFlinger has been identified and worked around. This issue could cause FlashFire to black screen indefinitely rather than performing the flash or rebooting. This might not fix all black screen issues, but it will fix some.

I've also finally gotten round to implementing the Credits listing, which details the used libraries and binaries and their authors and licenses. I'll cower behind the BETA tag for not taking care of this sooner.

Download
Google Play's awkward BETA program opt-in: play.google.com/apps/testing/eu.chainfire.flash

Direct APK download: download.chainfire.eu/957/FlashFire/FlashFire-v0.32-20160420152035.apk

Discussion, bug reports, feature requests, etc
XDA thread: forum.xda-developers.com/general/paid-software/flashfire-t3075433

Changelog
- Exclude multirom folder from internal storage backup as well
- Ability to create fastboot flashable backups
- Use proper ioctls for partition and block size detection
- Added option to backup recovery before installing ZIP/OTA and restoring it afterwards (automatically enabled when a custom recovery is detected)
- Added a watchdog to detect SurfaceFlinger crashes, fixes some black screen issues
- Prevent repeating OTA flash suggestion on rotate
- Added credits listing
This release does not have a Play Store Description, so we grabbed one from version 0.57:

FlashFire is the most advanced on-device firmware flasher available for rooted Android devices. It can flash full firmware packages from various manufacturers, as well as apply over-the-air (OTA) and ZIP updates - all while maintaining root, and without using a custom recovery. It also offers full device backup and restore functionalities in several formats. Relevant files can be stored on internal storage, SD cards, USB connected storage, or can even be streamed directly to and from your computer using USB or Wi-Fi.

FlashFire is the spiritual successor to the Mobile ODIN app, which was a similar solution (using completely different methods under the hood) exclusively for Samsung devices on older Android versions.

FlashFire is an extremely powerful application, it should be used with caution. Data loss, soft-bricks, and even hard-bricks are possible if used incorrectly. Unless you are an expert user, consult FlashFire's website and the XDA discussion thread before doing anything potentially destructive.

Note: currently all functionality is unlocked without purchasing Pro. This may change in the future!

Website: flashfire.chainfire.eu/

Changelogs: forum.xda-developers.com/showpost.php?p=59962696&postcount=8

XDA discussion thread: forum.xda-developers.com/general/paid-software/flashfire-t3075433
All versions
April 3, 2017
January 26, 2017
January 3, 2017
September 21, 2016
July 18, 2016
July 7, 2016
June 1, 2016
Comments