FlashFire v0.33: backup/restore through ADB, even over Wi-Fi
Posted on 2016-05-11, 35 comments, 374 +1's, imported from Google+/Chainfire

NOTICE: This content was originally posted to Google+, then imported here. Some formatting may be lost, links may be dead, and images may be missing.

Today's FlashFire update brings a major new feature and many smaller fixes and improvements.

adb backup/restore, using USB or Wi-Fi

By utilizing adb, you can now stream backups directly to and restore them from your computer. This also supports adb over Wi-Fi.

To backup, create a new backup action, and as location choose "Android Debug Bridge (ADB)" instead of the default "Internal Storage", and select the partitions you want to backup.

To restore, create a new restore action, and tap the USB icon at the backup selection screen. Then select the partitions you want to restore if present in the backup.

After tapping the Flash button, you will be presented with on-screen instructions as needed.

Please note that these backups are the same as the ones stored on your Android device, but wrapped in a ZIP container in a specific order. So while you can unZIP them and place them on your Android device to use, as of yet you cannot just ZIP up an existing backup from your Android device and restore it through adb.

Also note that while we are using the adb backup/restore commands, these backups are not in the same format as using adb backup/restore normally. We are just hijacking this command for convenience.

Adopted storage

There have been quite a number of changes in how adoptable storages are handled this version. Apparently there were some nuances to it that I previously misunderstood, which caused some strange behavior. This should now be fixed.

It is important to note that FlashFire should always treat your Internal Storage as your Internal Storage, and your Adopted Storage as Adopted Storage, even if you have migrated between the two so normal applications see your Adopted Storage as Internal Storage instead.

This means that if you select Internal Storage as a backup location, it will always go to your actual Internal Storage, and never to your Adopted Storage. If you want the latter, you need to select it specifically, that's why the option exists.

While this might seem perfectly logical to some, during development and testing of this feature, some users expected otherwise, hence the emphasis.

Other noteworthy changes

App startup performance has improved significantly, especially for users with many backups on their storages.

Back key behavior has changed somewhat throughout the app. This should cause less accidental app closes.

During operations, progress information is now shown more often, and more detailed. The current file that is being backed up or restored may be shown now where it wasn't before, as may total bytes read/written/transferred, the speed at which this happens, and how long it has taken so far.

Additional partition types are now supported, and additional OTA file locations are now automatically detected.

Last but not least, the embedded SuperSU has been updated to v2.72 BETA, and it outputs less information when being applied through EverRoot, giving you a better opportunity to see status information about the other actions you had FlashFire perform.

Future

While there are many features and fixes still on my to-do list - yes, including ODIN backups, stop asking! - after this update I think the first next thing is getting some documentation in order and taking the app out of Play BETA, so people can download and use the app without jumping through hoops.

Download

Please note that a lot of code has changed this release, and new bugs may have been introduced. Please report them to the XDA thread when you run in to them!

Google Play's awkward BETA program opt-in:

https://play.google.com/apps/testing/eu.chainfire.flash

Direct APK download:

https://download.chainfire.eu/961/FlashFire/FlashFire-v0.33-20160511115223.apk

Discussion, bug reports, feature requests, etc

XDA thread: http://forum.xda-developers.com/general/paid-software/flashfire-t3075433

Changelog

  • Add support for backing up to and restoring from ADB, through USB or Wi-Fi (special ZIP format)

  • Completely reworked progress code, more info is shown in more places now (current file, speed, progress)

  • Improved back key handling

  • Improved app startup performance

  • If sdcard is adopted, reflect that in location display name

  • Fix adopted SD card sometimes not showing up in mixed partition mode

  • Attempt to identify external sdcard (rather than calling it USB)

  • Adjust storage location display order

  • Add warning when using adopted storage

  • Rewrote file creation routines to cope better with adopted storages

  • Fix reboot card popup title

  • Refactor shell commands as root

  • Change install location to internal-only

  • Fix backup of internal storage not skipping backups in some cases

  • Adjust ZIP parser so it can cope with Samsung FOTA ZIPs

  • Added warning for Huawei users about brickability

  • Add OEM partition to TWRP emergency restore

  • Fix backup/restore per-file progress freezing

  • Archives: Add suppport for Huawei's UPDATE.APP format

  • OTA: Add detection for Samsung

  • OTA: Add detection for Huawei

  • OTA: Add detection for HTC

  • OTA: Add detection for Letv

  • OTA: Add multi-zip-file capability

  • Partitions: Add various Tegra-specific partitions

  • Partitions: Add various Mtk64-specific partitions

  • Partitions: Add various Huawei-specific partitions

  • Partitions: Add various Pixel-C-specific partitions

  • Partitions: Add generic Factory Reset Protection partition

  • Partitions: Add support for eMMC boot and general purpose partitions

  • Partitions: Attempt r/w unlock before writing

  • EverRoot: Updated embedded SuperSU to v2.72 BETA

  • EverRoot: Use LESSLOGGING mode, reduces SuperSU output


Download

+1374
Phillip Jones commented on 2016-05-11 at 17:14:

Holy s***, I've been waiting for this feature for a long time! It is a lifesaver for devices with low internal storage! Great job!

Felix Göhringer commented on 2016-05-11 at 19:43:

Totally agree with +Phillip Jones. This backup method is exactly what I was waiting for.

Stefan Dierdorf commented on 2016-05-12 at 06:18:

Finally a solution like this. Are there any regional restrictions on the Play Store? For the life of me, I can't find it there...

Kirill Yarovoy commented on 2016-05-13 at 12:26:

I have broken HTC One and stuck without ability to properly back up everything and dreamed for such tool for a long time. Thank you!

Kirill Yarovoy commented on 2016-05-13 at 12:28:

I just wonder, would ot it be nice, i you will make a nice looking UI tool for PC\Mac\Linux that will help to automate process from computer side?

Undrey Wash commented on 2016-05-13 at 21:20:

Pppl)lllop

Nestor Romero commented on 2016-05-14 at 03:54:

Muy buena.

mao Ju commented on 2016-05-15 at 01:34:

It not working for me. My phone is gs5 cm13 please help!



Tiger ezpi commented on 2016-05-15 at 05:32:

hey man how do i root my s6. it shows the red andriod guy not the blue

Kumaha Aink commented on 2016-05-15 at 19:19:

i need chainfire support for sony experia

Kumaha Aink commented on 2016-05-15 at 19:20:

Zr c5502 lolipop 5.1.1

Tùng Lê Quang commented on 2016-05-17 at 10:24:

Hello mod . the flashfire is not intall update file in motorola nexus 6 . can you help me ?

Craig D commented on 2016-05-17 at 14:26:

+Tùng Lê Quang Nobody can help you because it isn't for Motorola Nexus 6... Feel free to try it tho ?

Craig D commented on 2016-05-17 at 14:28:

I need support for bla bla bla device = sod off and go to XDA developers forums and stop trolling this thread ?

Craig D commented on 2016-05-17 at 18:34:

+mao Ju Requests like "it not working please help!" isn't much use. Logcat and enroll as beta tester:

https://play.google.com/apps/testing/eu.chainfire.flash

Youssef El-Mahdii commented on 2016-05-18 at 10:23:

Plz i want to download xposed framework..how?

Brian Dutch commented on 2016-05-22 at 18:10:

My Nexus 6 is on MOB30I. Can I use flash fire to flash the N preview3?

Deivi Fernández commented on 2016-05-23 at 11:04:

Need help, the app does not recognize me root access?

Brian Dutch commented on 2016-05-23 at 14:38:

+Jonathan L will it keep Root also, or do i have to flash a Kernel?

VaRdaiN Gaming commented on 2016-05-25 at 12:01:

It want super su and i have download it but the super su can't update the binary

AHMAD EFENDI commented on 2016-05-26 at 08:14:

X

Amarmmm Mmm commented on 2016-05-29 at 21:10:

علي

Amarmmm Mmm commented on 2016-05-29 at 21:11:

+Jitesh Chauhan علي

VaRdaiN Gaming commented on 2016-06-03 at 11:16:

Yes it works

VaRdaiN Gaming commented on 2016-06-03 at 11:18:

But i have a prblm with flashfire it can't flash my custom rom even a black screen comes when i flash rom

Jack Jay commented on 2016-06-17 at 13:07:

.word!

Selim Şamlı commented on 2016-07-25 at 15:29:

Please Update SM-A310F Marshmallow 6.0.1 For AutoRoot

Jack Jay commented on 2016-07-25 at 15:58:

Is it not working for you? 

Hrong Stay commented on 2016-07-30 at 16:16:

Uj

Jack Jay commented on 2016-07-31 at 04:20:

OK great, i'm glad you were able to figure it out, nice work. Most everything involving courses of action that enable powerful results, usually  bring forth a learning curve of some degree, I myself find FlashFire very friendly in all categories to the any user and anyone learning and using it for their first time, nevertheless have a great night, but

PLEASE remember to always proceed with caution while playing with FIRE

Musa Salim commented on 2016-08-07 at 21:31:

Agree

Mhamad Garber commented on 2016-09-10 at 14:37:

البرنامج لايعمل على الكلكسي 3

Mhamad Garber commented on 2016-09-10 at 14:38:

أخي لما البرامج تحتاج إلى روت هذي معوقات

Jjdkf Jjskx commented on 2016-10-20 at 16:44:

برنامج. مايخبر.على.مازنجر.موبايل.كرنت.نيو

Makara Nou commented on 2017-07-19 at 07:19:

tutorial to flash the fastboot backup?

This post is over a month old, commenting has been disabled.