FlashFire v0.55 released
Posted on 2017-01-26, 30 comments, 282 +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.

This update brings a lot of bug fixes, improvements, and new features. The latter is mostly related to Pixel devices, though.

There was a pre-release of this version on XDA (v0.54-PRE) a few weeks ago, without much further comment. This post and the changelog includes all the changes in that version as well.

As with any release, if an issue with a previous version of FlashFire has not been solved by this update, please report it again in the XDA thread linked below. Please link to your previous posts in your new post.

Partition layouts with slots

Initial support has been added for devices with multiple copies (slots) of some partitions, such as the new Google Pixel line. Slot management is mostly automatic, but most actions let you manually override the slot the action is performed on.

The new OTA format introduced with these devices is now also supported. Unlike traditional devices, FlashFire will even attempt to intercept the OTA download and launch its GUI to flash it when the download is complete. (It is questionable if this will work on future devices that are not made by Google itself)

File-based encryption

Initial support has been added for the new file-based encryption introduced with Android 7.0, which is the default encryption method for the new Google Pixel line.

Due to how this encryption method works, FlashFire can only be guaranteed to have full access to the data of the primary user. At this time, data of other users will not be backed up or restored.

Additionally, for a backup to be restored in encrypted form, it has to be both made and restored with the device in an encrypted state, and be restore by FlashFire. Restoring on an unencrypted device will always lead to an unencrypted result, as will an emergency restore with TWRP.

OTA ZIPs

Aside from the already mentioned slot-OTA format, a number of issues with handling other OTA formats have been fixed, and support for 'uncrypted' (unencrypted files on an encrypted block device) OTAs has been added.

Magisk

Basic support has been added for using FlashFire on a device with Magisk present, both with SuperSU as well as (only) topjohnwu's mod of superuser. I have only done basic testing, so your mileage may vary.

Read/write access to /system

FlashFire used to auto-detect whether /system was modified, and pre-set some flashing options based on this, if you selected a ZIP or firmware package to flash.

It turns out this detection (based on ext4 lifetime writes) is not completely reliable unless checked immediately after boot. As such, by default /system is now always treated as original. There is now an option in the settings screen to change this behavior.

ZIP intent

By request, I've added the capability for external programs to launch FlashFire and set up flashing a provided ZIP file. See the documentation site for further information.

Links

Google Play:

https://play.google.com/store/apps/details?id=eu.chainfire.flash&hl=en

XDA Developers:

https://forum.xda-developers.com/showthread.php?p=59959596#post59959596

Documentation:

https://flashfire.chainfire.eu/

Direct APK download:

http://download.chainfire.eu/1022/FlashFire/FlashFire-v0.55-20170125213241.apk

Changelog

  • (C) 2017

  • Improved 32/64 bit handling (fixes some blackscreens)

  • Improved handling of devices that have a /vendor partition

  • Add initial support for devices with multiple slots

  • Add support for uncrypted OTA ZIPs

  • Add support for A/B OTA ZIPs

  • Add support for file-based encryption backup/restore (primary user only)

  • Add additional Pixel partitions

  • Add support for Magisk+SuperSU (preliminary)

  • Add support for Magisk+phh (topjohnwu version only) (preliminary)

  • Add circular icon (Android 7.1)

  • Restrict app usage to primary user

  • Make treating system/vendor/oem as original a setting (auto-detection is not completely reliable)

  • File selection activity now remembers last location

  • Fix drawer closing on back button press on tablets like Pixel C

  • Fix overlay display visibility on S7@Nougat

  • Detect and handle screen scaling on S7@Nougat

  • Fix archive scanner freeze when reading password protected ZIPs inside another archive

  • Fix seeking issue with custom recovery detector

  • Fix archive scanner inconsistency with multiple files targeting the same partition

  • Fix archive scanner scanning inside images

  • Fix archive creator display inconsistency

  • Fix unconditional block update ZIP detection

  • Fix busybox/untar not setting SELinux file context on files that already existed

  • Hide cache wiping options if no cache partition present

  • Restart and re-check for root if root not found initially

  • Refactor boot image analysis

  • Preserve recovery: option hidden from devices without a dedicated recovery partition

  • Replace update_engine service on A/B update devices

  • Add intent to flash a specific ZIP file

  • Workaround adb restore 'never-finish' issue by using adb push (temporary?)

  • Embedded SuperSU updated to v2.79 SR3

  • Adjust timebomb for non-Pro users to May 01, 2017


Download

+1282
Richard Men commented on 2017-01-26 at 13:30:

Damn good release

febry valdy commented on 2017-01-26 at 13:34:

What is flashfire?

Derrick Whittet commented on 2017-01-26 at 14:04:

Thank you sir!

SIDDIQUE NAGARKAR commented on 2017-01-26 at 14:05:

Dayum, Never read so big Licence Agreement, but I always read all your change logs

Charoen P commented on 2017-01-26 at 14:11:

OK great thank you

W-L Rodrigues commented on 2017-01-26 at 14:15:

Glr alguém sabe um tutorial ensinando a usar ele?

Queria aprender

Yoine Li commented on 2017-01-26 at 14:22:

cool,t thanks

Davide Roliti commented on 2017-01-26 at 14:27:

Does this support OxygenOS 4.0?

Jeremy Waugh commented on 2017-01-26 at 14:50:

Magisk support!? How awesome. If it works for me, I'll be supporting you with a Pro license.

Edit: I bought the pro license today. Thanks for the great work +Chainfire​. I'm looking forward to the next monthly security update.

unonice commented on 2017-01-26 at 17:16:

??????????

ayaz naber1 commented on 2017-01-26 at 20:53:

s7 edge knox reset please im buying 30 dollars please

Adrian Maya commented on 2017-01-27 at 15:11:

I don't know how to do it

Adrian Maya commented on 2017-01-27 at 15:14:

Please ???

Adrian Maya commented on 2017-01-27 at 15:15:

Can you send me both links please

Michael Cristina commented on 2017-01-27 at 16:03:

0.55 crashes at 0% unencrypting ota (autogenerating actions to flash) on 6p. I've re-downloaded the ota to ensure no data corruption. I believe someone else posted a similar issue on the forum

Adrian Maya commented on 2017-01-27 at 16:04:

OK thanks ?

Jayden Liang commented on 2017-01-28 at 04:19:

+Ever Rocha would you be able to flash TWRP, boot into it right after Odin finishes flashing it (before your phone starts to boot otherwise TWRP will be replaced) and flash the latest SuperSU zip?

ачико шинго commented on 2017-01-28 at 05:59:

money

Alien Tech commented on 2017-01-30 at 00:23:

Still says scanning data when creating fastboot image on 5x until battery expire.. only for data partition..

Swåpnil Patel commented on 2017-01-30 at 18:39:

Please make you fashfire custom recovery for all phones not some phones likes cwm or twrp

Gilbert Malaba commented on 2017-01-31 at 16:19:

Why is SUS bloking my Facebook app ?

Jan Milants commented on 2017-02-01 at 09:26:

+Michael Cristina I'm having the same issue on my Nexus 6.. can't get January's ota to be installed.

Edrian Estoya commented on 2017-02-04 at 13:12:

hello can you add a cf auto root filr for sm-j100ml 4.4.4 pls because i really want to make my phone root and i dont want to make brick my phone again. Thank you your efforts are highly appreciated and pls update me if it is availbale my email is edrianestoya@gmail.com thank you

Zoran M commented on 2017-02-09 at 07:18:

Flashfire works great on my pixel XL the latest OTA update started downloading on its own I thought it would not proceed any further due to the phone being rooted,however Flashfire took over and it flash the OTA and everything works well it's great

Chris W commented on 2017-03-08 at 14:09:

I am having issues getting flashfire to install the ota update on my google pixel. Flashfire recognizes the update and when I tell it to flash, it goes through the motion of flashing but when it reboots, I am still on 7.1 and not longer have root. I have to boot into twrp and flash su to get root back but it still is not allowing me to update to 7.1.1. Any ideas? Thanks

Zoran M commented on 2017-03-09 at 10:11:

+Chris W I didn't even have to OK it to flash! It just done it

Chris W commented on 2017-03-09 at 14:28:

+Zoran M weird. I ended up upgrading via the factory img.

Zoran M commented on 2017-03-12 at 07:24:

+Chris W it just happened again, my phone was in sleep mode, I turned it on and Flashfire asked a system OTA has been downloaded, do you want to flash..I said Flash...I had to do the procedure twice, and I have the latest security patch...Look!

Sadi Mohammad commented on 2017-08-05 at 02:43:

Bro can i ask you something?can i flash a audio mod zip with your flashfire.i have recently rooted my samsung shv e300k by your system.

Sadi Mohammad commented on 2017-08-05 at 02:43:

Bro can i ask you something?can i flash a audio mod zip with your flashfire.i have recently rooted my samsung shv e300k by your system.

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