FORUMS
Remove All Ads from XDA

[TUT:Flashfire] Install FireOS 5.4.0.1, ROOT, GAPPS (& keep TWRP if 5.0.1)

1,242 posts
Thanks Meter: 942
 
By bibikalka, Senior Member on 7th December 2015, 02:41 PM
Post Reply Email Thread
Update - Dec. 15th, 2018: Recently I attempted a couple of freshest ROM installs (update-kindle-37.6.0.5_user_605485120.bin and update-kindle-37.6.2.6_user_626533320.bin), and the device bootloops with the 5.1.2 bootloaders (cycling through the "Amazon" logo - looks like the newest kernel is incompatible with the older bootloaders). Using recovery, I had to sideload 5.1.2 again (which older bootloaders allowed me to do!), and re-root it using these instructions via Kingoroot. As such, the most recent version that I recommend here is update-kindle-37.5.7.9_user_579279320.bin (FireOS 5.4.0.1).

News : The update file for 5.3.1.0 is posted on the Amazon site, so time to upgrade! Note that you cannot get root by downgrading 5.3.1 to 5.1.2 (& Kingroot), because the 5.3.1.0 bootloaders will brick if rolled back (so stay put for now ...) :
http://forum.xda-developers.com/amaz...3-1-0-t3418541
Rootless in Seattle ...

[Updated July 16th, 2016]

Flashfire almost replicates TWRP functionality, thus I've significantly re-written this post to include branches for people who managed to keep TWRP from the old days of 5.0.1, and those who have to use Flashfire because of newer bootloaders (and thus lacking TWRP ...). If you want to quickly upgrade (or downgrade ?) your *rooted* FireOS while avoiding potential bricking issues, the post is for you (if you are not rooted yet, and have stock 5.3.1.0, do not attempt to downgrade, it'll brick the Fire !!!).

Before proceeding, remember these IMPORTANT points :
  1. Take a note of your current bootloaders, this will be important later on. If you forgot what version you have, please follow this post to identify it:
    http://forum.xda-developers.com/amaz...rsion-t3424634
  2. If you disabled the stock launcher via "pm hide", please re-enable it again before the procedure, or install some other launcher as the user app. For example, if you converted Nova or other launcher to a system app, it will disappear upon upgrade, so you need some other launcher operational. Until I fixed Nova, the tablet would freeze at the end of the "optimizing applications" stage because at this stage there was no working launcher (can be fixed by adb command line, but still a bit of a mess)
  3. Turn on Airplane mode, so that you don't "catch" an update right after this upgrade (and before you have a chance to disable it)

A : TWRP Install instructions [if you still have the "good" 5.0.1 bootloaders]


0) install ADB and Fastboot drivers on your PC, and boot into TWRP ( http://forum.xda-developers.com/amaz...overy-t3242548 ):
Code:
adb reboot-bootloader
fastboot boot TWRP_Fire_2.8.7.0.img
1) boot into TWRP and:
  1. do factory reset (skip if don't want to),
  2. flash whatever ROM you want from this post, for example, 5.3.1.0 ( rename *bin to *zip such that TWRP can recognize it):
    update-kindle-37.5.7.9_user_579279320.bin
    (Previous recommendation - update-kindle-global-37.5.5.2_user_552153420.bin)
  3. flash the attached fire_boot_53820.zip . The objective of this file is to overwrite all the problematic bootloaders after 5.1.x update back to 5.0.1 version (53820 variety). This will allow to go into fastboot and then TWRP just like before.
  4. flash Supersu.zip ( SR5-SuperSU-v2.82-SR5-20171001224502.zip; previous recommendation - https://download.chainfire.eu/696/Su...erSU-v2.46.zip )
  5. flash Xposed for Lollipop 5.1 (if you want it for misc modules, highly recommended to do this just in case)
    http://forum.xda-developers.com/show....php?t=3034811
    (version xposed-vXX-sdk22-arm.zip )
  6. flash Pico (Uni) GAPPS for 5.1 :
    http://forum.xda-developers.com/andr...gapps-t3116347


B: Flashfire Install instructions [Note that you will have 5.1.2 (or 5.1.1) bootloaders after this procedure]


Given that FlashFire is no longer supported, I recommend version v0.51 with the date hack in order to pass the date check (adb shell; su; busybox date -s "201509221745"). Copy all the necessary files to the local Fire storage, such as /sdcard/upgrade. In Flashfire, chain the following files as ZIP or OTA flashes in one batch (same options in each case, no R/W for /system partition by default):
  1. the OTA file you want renamed to zip, such as this one update-kindle-37.5.7.9_user_579279320.bin
  2. the attached fire_boot_5.1.2-5.4.2_542168620.zip (or fire_boot_5.1.1-5.4.1_541112720.zip). This will replace whatever bootloaders the OTA file has with those from 5.1.2 (or 5.1.1), in order to allow upgrades/downgrades without bricking. Preserving 5.1.2 bootloaders may seem a bit pointless now, but it's still good to freeze these as some hackable bugs may be discovered in the future, so the older bootloaders one has - the higher the chance they have useful bugs ! Again, if you still have 5.1.1 bootloaders, do use fire_boot_5.1.1-5.4.1_541112720.zip here !!! (thanks to Kramar111 for reminding of the rooting trick that works with 5.1.1 bootloaders [fastboot oem append-cmdline "androidboot.unlocked_kernel=true"]
  3. flash Supersu.zip ( SR5-SuperSU-v2.82-SR5-20171001224502.zip; previous recommendation - https://download.chainfire.eu/696/Su...erSU-v2.46.zip )
  4. Xposed for Lollipop 5.1 (if you want it for misc modules, highly recommended to do this just in case)
    http://forum.xda-developers.com/show....php?t=3034811
    (version xposed-vXX-sdk22-arm.zip )
  5. Pico (Uni) GAPPS for 5.1 :
    http://forum.xda-developers.com/andr...gapps-t3116347

After you've verified everything, hit the "FLASH" button.

See the screenshot below as an example of how the Flashfire screen should look. Note that Flashfire gives no margin of error because it reboot immediately, so if you are flashing a bricking FireOS (relative to your bootloaders), make sure that fire_boot_5.1.2-5.4.2_542168620.zip (or the 5.1.1 version !) is flashed immediately after !!! I've carefully followed this procedure, and verified that the bootloaders do get restored to 5.1.2 version regardless of what was in Amazon's OTA file.


2) reboot to FireOS 5. Verify that SuperSu works.

3) if step 2) fails, you get into working recovery by pressing "Pwr & Vol+". If you still have 5.0.1 bootloaders (getting rare by now ...), then sideload the old 5.0.1 update and root it: http://kindle-fire-updates.s3.amazon..._522054520.bin If you have 5.1.2 bootloaders, sideload 5.1.2 instead (the last rootable version as of now) : https://kindle-fire-updates.s3.amazo..._542168620.bin If you have 5.1.1 bootloaders, sideload 5.1.1 !

4) block OTA updates (to prevent surprises): In Explorer go to /system/priv-app/DeviceSoftwareOTA and rename DeviceSoftwareOTA.apk to .apk_
Want to say thanks by clicking the "Thanks" button ?
Attached Thumbnails
Click image for larger version

Name:	good_screenshot_2016-07-16-17-55-35.png
Views:	3796
Size:	129.8 KB
ID:	3814804  
Attached Files
File Type: zip fire_boot_53820.zip - [Click for QR Code] (11.81 MB, 4524 views)
File Type: zip fire_boot_5.1.1-5.4.1_541112720.zip - [Click for QR Code] (7.55 MB, 892 views)
File Type: zip fire_boot_5.1.2-5.4.2_542168620.zip - [Click for QR Code] (7.55 MB, 1128 views)
File Type: zip fire_boot_5.3.1-5.5.2_552153420.zip - [Click for QR Code] (7.63 MB, 892 views)
The Following 35 Users Say Thank You to bibikalka For This Useful Post: [ View ] Gift bibikalka Ad-Free
 
 
7th December 2015, 02:50 PM |#2  
Junior Member
Thanks Meter: 2
 
More
For clarity, this is for a person that is currently on 5.0.1, correct? This is to go from 5.0.1 to 5.1.1 while retaining root/TWRP, but this will not allow someone that is on 5.1.1 to access TRWP, right?
7th December 2015, 02:56 PM |#3  
OP Senior Member
Thanks Meter: 942
 
More
Quote:
Originally Posted by TallGrassShort

For clarity, this is for a person that is currently on 5.0.1, correct? This is to go from 5.0.1 to 5.1.1 while retaining root/TWRP, but this will not allow someone that is on 5.1.1 to access TRWP, right?

Indeed, you have to have 5.0.1 so that you can boot into TWRP
7th December 2015, 03:06 PM |#4  
Deuces's Avatar
Senior Member
Flag Houston
Thanks Meter: 360
 
More
copied update to AFH:

https://www.androidfilehost.com/?fid=24269982087012932
MD5: 8dfcc416a0b2c47fe384dd28f2ef18ed
The Following 2 Users Say Thank You to Deuces For This Useful Post: [ View ] Gift Deuces Ad-Free
7th December 2015, 03:11 PM |#5  
julianpaul's Avatar
Senior Member
Thanks Meter: 51
 
More
So once we're on this, they cant OTA us to 5.1.1 because we're already on it right? Now 5.1.2 ...
7th December 2015, 03:27 PM |#6  
Quote:
Originally Posted by julianpaul

So once we're on this, they cant OTA us to 5.1.1 because we're already on it right? Now 5.1.2 ...

the last step is to block OTA updates.......sooooo....
7th December 2015, 03:42 PM |#7  
Junior Member
Thanks Meter: 2
 
More
So does anyone know what 5.1.1 offers over 5.0.1?
7th December 2015, 04:01 PM |#8  
julianpaul's Avatar
Senior Member
Thanks Meter: 51
 
More
Quote:
Originally Posted by hp420

the last step is to block OTA updates.......sooooo....

No i meant even if ota is left enabled, there's no immediate risk.
7th December 2015, 04:30 PM |#9  
Vlasp's Avatar
Senior Member
Flag Plano, Texas
Thanks Meter: 276
 
More
I will try to make a edited stock 5.1.1 ROM with Root, No Lockscreen Ads, etc.

Sent from my KFFOWI using Tapatalk
The Following 6 Users Say Thank You to Vlasp For This Useful Post: [ View ] Gift Vlasp Ad-Free
7th December 2015, 05:18 PM |#10  
Senior Member
Thanks Meter: 131
 
More
Quote:
Originally Posted by TallGrassShort

So does anyone know what 5.1.1 offers over 5.0.1?

I was wondering that

Quote:
Originally Posted by julianpaul

No i meant even if ota is left enabled, there's no immediate risk.

Yeah but you had that cliffhanger 5.1.2 ending...

Quote:
Originally Posted by Vlasp

I will try to make a edited stock 5.1.1 ROM with Root, No Lockscreen Ads, etc.

Sounds very useful

Quote:
Originally Posted by bibikalka

With the capture of the new FireOS 5.1.1, these the instructions to install 5.1.1 and keep root and TWRP access.

Will this work direct from 5.0.0? I see no reason it shouldn't but just checking.
The Following User Says Thank You to Pond-life For This Useful Post: [ View ] Gift Pond-life Ad-Free
7th December 2015, 05:41 PM |#11  
Junior Member
Thanks Meter: 0
 
More
I'm also curious, does this also work for an unrooted/stock 5.0.0? (a brand new device) Has anyone tried?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes